• exec/load/recordfile.js

    From Deucе@VERT to Git commit to main/sbbs/master on Mon Mar 1 22:05:06 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/f689af6f9f61c2a0efd6deb7
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Add put() and reInit() support for object/object array types.

    Apparently, I've never needed this before.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Mar 2 16:22:52 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e49448b3f25aad3dd6606fff
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Add a close method.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Mar 3 22:01:09 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/7d9d878edebc528424256cf4
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Looks like a vbuf size of a record is broken. :(

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Mar 3 23:40:43 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6ca58cf825da2af075306842
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Revert back to using vbuf for write buffering.

    While it would be nice to serialize it and do a single write, there's
    no native functions to create binary values from numbers in the
    Synchronet JS object model at this time.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Mar 24 07:36:13 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f8ec728d863dd327ba0374e3
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Returning null from a constuctor is silly

    Throw an error instead. This should help DigitalMan debug his issue.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Mar 24 14:36:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/64a6a0d5057d56d3337f2889
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Add more detail to the file open failure exception

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Apr 10 21:07:44 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/2752173e9d62b724caf2a5d0
    Modified Files:
    exec/load/recordfile.js
    Log Message:
    Fix recordfile.js toSource() calls for SM128 compatibility

    toSource() is removed in SpiderMonkey 128. In put(), the default
    value is only read so no copy is needed. In reInit(), use JSON.parse(JSON.stringify()) for deep-copying object/array defaults.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net