• src/sbbs3/js_console.cpp

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Saturday, June 11, 2022 14:30:02
    https://gitlab.synchro.net/main/sbbs/-/commit/22f3aa787318183e0a3f5a11
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Add console.progress() methodThis exposes the Synchronet internal sbbs_t::progress() method used todisplay a progress indication bar, e.g. "[ Scanning 10.0% ]" with the barbackfill effect (when supported by the terminal).
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Tuesday, June 14, 2022 22:30:42
    https://gitlab.synchro.net/main/sbbs/-/commit/938b9c91a281d84e10fcde90
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Remove unused variable introduced recently
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thursday, December 29, 2022 10:06:57
    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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Thursday, December 29, 2022 12:48:49
    https://gitlab.synchro.net/main/sbbs/-/commit/fb5ac79c8a032bccf7a0e2fc
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix console.flush() jsdocs details (version, arguments)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Monday, March 27, 2023 17:59:21
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Saturday, September 16, 2023 23:34:48
    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 defaultThis allows the calling script to control what the default item is (when theuser just hits enter), and not always the first item.Fixes issue #637
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sunday, November 12, 2023 16:47:50
    https://gitlab.synchro.net/main/sbbs/-/commit/7073d7201a654627af28ba67
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Rename console.crlf() to console.newline(), leaving crlf() as an alias

    Also use sbbs_t::newline() as the underlying implementation of console.newline() rather than a hard-coded CR/LF output loop.

    Added new console methods:
    cond_newline() - equivalent of Ctrl-A/
    cond_blankline() - equivlaent of Ctrl-A?
    cond_contline() - equivalent of Ctrl-A\

    ... so a JS script author doesn't have to output Ctrl-A codes to invoke those functions.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Monday, November 13, 2023 16:58:05
    https://gitlab.synchro.net/main/sbbs/-/commit/e8a97640db8c29acc9f89f65
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix g++ warnings in newly added functions
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Friday, February 16, 2024 18:17:02
    https://gitlab.synchro.net/main/sbbs/-/commit/862753d6c8fca2a71d1d000a
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    New console property: unicode_zerowidth (either 0 or 1)

    The column-width of UNICODE 'zero-width' character is now autodetected. This property allows one to use/change this autodetected width (normally 0 or 1). --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Saturday, March 23, 2024 17:11:55
    https://gitlab.synchro.net/main/sbbs/-/commit/35666fb0ec7116fd0580da76
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fix CID 479078: Resource leak (RESOURCE_LEAK)

    Passing an unparseable integer to console.editfile() could leak heap memory
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)