• src/sbbs3/js_cryptcert.c jsdoor.c main.cpp sbbs.h

    From Stephen Hurd to Git commit to sbbs/master on Wednesday, November 18, 2020 15:04:37
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c779ea21062074cfc556c5f3
    Modified Files:
    src/sbbs3/js_cryptcert.c jsdoor.c main.cpp sbbs.h
    Log Message:
    Allow more than 256 pre-defined properties in a built-in JS object.

    Previously, properties were only supported via the TinyID mechanism
    in the JS API. This limited the properties to have a unique signed
    8-bit integer ID, which prevented more than 256 properties from
    existing in a built-in object.

    The id value can be a name however, a TinyID is not required. For
    property descriptions with an ID outside the range of 8 bits, define
    them using just the name. When this is done, the getter and setter
    functions will need to convert the names to an ID themself.

    This isn't ideal... ideally, each would have a unique getter and
    setter, but doing it this way puts of requiring an internal JS API
    refactor and allows the CryptCert class to have all the defined
    properties.

    As implied... CryptCert now supports all properties, and JS Docs
    will be created for them. This section is yuge!