• src/sbbs3/js_console.cpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 15:13:57 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/7ab28ccf30b43d78343ab4c1
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Remove logically dead code

    CID 174335

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jun 11 14:30:02 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/22f3aa787318183e0a3f5a11
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Add console.progress() method

    This exposes the Synchronet internal sbbs_t::progress() method used to
    display a progress indication bar, e.g. "[ Scanning 10.0% ]" with the bar backfill effect (when supported by the terminal).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Jun 14 22:30:42 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/938b9c91a281d84e10fcde90
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Remove unused variable introduced recently

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Dec 29 10:06:57 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/515ae400a7e0c5a96a9dfbe8
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Add console.flush() method.

    Seems to work a treat.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 29 12:48:49 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/fb5ac79c8a032bccf7a0e2fc
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix console.flush() jsdocs details (version, arguments)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Mar 27 17:59:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/06a32813d99432bc9657d850
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix typos/wording of a couple of property JSDOCS

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Sat Sep 16 23:34:48 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f28c4bc94a89a0ea117481f8
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    If console.uselect() is called just with the number argument, use as default

    This allows the calling script to control what the default item is (when the user just hits enter), and not always the first item.

    Fixes issue #637

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Aug 6 18:11:10 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/049c18c41a02cf6a6934ecd5
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix potential null object pointer passed to JS_GetProperty in js_gotoxy()

    I'm not sure under what script conditions this could happen, but apparently Nelgin was able to produce this null pointer deref (and segfault) using DDMsgReader. This should fix issue #769

    ---
    ■ 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 Tue Aug 6 18:27:43 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a2d6dc86b0b09664a1782cb6
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Better invalid argument reporting (null object) from js_gotoxy()

    The calling script will still terminate if it does this, but at least the caller will get a useful JS exception.

    Related to fix for issue #769

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