• src/sbbs3/js_console.cpp

    From rswindell@VERT to CVS commit on Sunday, July 29, 2018 04:57:00
    src/sbbs3 js_console.cpp 1.117 1.118
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8781

    Modified Files:
    js_console.cpp
    Log Message:
    Document (in jsdocs) the new history argument to console.getstr()



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, October 26, 2018 03:23:00
    src/sbbs3 js_console.cpp 1.120 1.121
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv18542

    Modified Files:
    js_console.cpp
    Log Message:
    console.printfile() and printtail() now return Boolean.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 15, 2019 06:54:00
    src/sbbs3 js_console.cpp 1.122 1.123
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13251

    Modified Files:
    js_console.cpp
    Log Message:
    Fixed typo in JSDOCS description of console.putbyte().



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, July 27, 2019 00:28:49
    src/sbbs3 js_console.cpp 1.132 1.133
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8545

    Modified Files:
    js_console.cpp
    Log Message:
    Added support to console.print() for an optional P_* mode argument. Must
    be called as console.print(string, number), the number will be interpretted
    as the P_* mode flags value. Otherwise, all arguments are converted to strings and printed (as before).
    If anyone was calling console.print(string, number), they will get different behavior now. I couldn't find any evidence of anyone using this syntax for console.print(), so I think this should be okay.
    Only a limited set of P_* flags are supported (e.g. P_PETSCII, P_UTF8) - far fewer than console.putmsg(), but console.putmsg() is much more heavy weight
    and supports a lot more "features" likely to interfere with the expected user output. In general, try to use console.putmsg() only when printing multi-line text strings or when @-code expansion is needed. Otherwise, console.print()
    is usually better.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, August 03, 2019 21:27:03
    src/sbbs3 js_console.cpp 1.133 1.134
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31910

    Modified Files:
    js_console.cpp
    Log Message:
    Don't use angle-brackets in JSDOCS to avoid HTML issues.
    I plan to convert all these to wiki-syntax eventually anyway.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, September 13, 2020 19:37:10
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/ac3d31739f4048706ec50148
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Fixes to printfile and printtail methods

    Throw an exception if no filename is specified (rather than just abort the script by returning JS_FALSE).

    The return value is supposed to be a bool, not an int (JS_TRUE != JSVAL_TRUE).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Saturday, November 07, 2020 04:02:11
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/43953c2d8ce1b2c984b60edd
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    Address warning: unused variable `argv'

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