• src/sbbs3/js_global.c

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Fri Jul 7 18:39:53 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/947f1a785d06f1ce6ebce9e4
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Update JSDOCS for resolve_ip and resolve_host: returns null on failure

    ---
    þ 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 Wed Nov 22 15:30:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/9544742b6578711d4fdb15b9
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Elaborate in JSDOC string for html_decode()

    Add comment/question about the use of JS_SetReservedSlot(), for Deuce

    ---
    þ 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 Sun Jan 21 15:02:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/bcf5220dc1dbd5b504ac68a0
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Clarify JSDOC kibibytes versus kilobytes

    ---
    þ 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 Thu Feb 15 21:37:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2aa805d5e8f34dbc0caeadcc
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Log the problem codepoint when reporting error in utf8_encode()

    ---
    þ 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 Mon Feb 26 22:41:59 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e7738fa44ef19b502e9e0cf4
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Fix commit 78dc9470 - wasn't complete

    For some reason, I committed test code that commented-out the actual call
    to js_IsTerminated() which avoided the unnecessary error log message. I guess
    I was testing to confirm the change actually worked. <shrug>

    ---
    þ 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 Thu Aug 8 21:12:19 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d5516d0fdfa0683f399a977b
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Global JS exit() function now sets 'exit_code' to 0 by default

    Calling exit() causes JS_ExecuteScript() to return false (same return value
    as if there's a syntax error) - so if we always set exit_code in exit()
    (even when not passed a parameter) and then use that exit code if the property is defined, then we get the -1 return value from js_execfile() if the script
    is terminated prematurely without using exit().

    This fixes the issue introduced in the previous commit where scripts that
    call exit() - without any parameters, were causing errors to be logged about scripts (e.g. timed events) returning -1.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Oct 3 14:20:31 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0f00cbea87ded29aa84e6847
    Modified Files:
    src/sbbs3/js_global.c
    Log Message:
    Fix multi-array version of socket_select() when using poll()

    Previously, when multiple lists were passed, the "write" parameter
    (which can't be changed) was applied to all sockets. This means
    they would always all be poll()ed for read, then checked for the
    appropriate flag (read/write/priority)... which effectively meant
    that only the first (read) array would work.

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