• src/sbbs3/js_global.c

    From rswindell@VERT to CVS commit on Monday, April 22, 2019 20:32:43
    src/sbbs3 js_global.c 1.377 1.378
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25955

    Modified Files:
    js_global.c
    Log Message:
    Add missing comma to JSDOC line



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, May 05, 2019 16:58:56
    src/sbbs3 js_global.c 1.380 1.381
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv20279

    Modified Files:
    js_global.c
    Log Message:
    html_decode() - add support for the following HTML 4 entities:
    - "lsaquo" and "rsaquo" (angled versions of "lsquo" and "rsquo")
    - "zwj" and "znnj" (zero-width joiner / non-joiner)


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, May 09, 2019 12:01:05
    src/sbbs3 js_global.c 1.381 1.382
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    js_global.c
    Log Message:
    Added todo comment about require() behavior which is unexpected when the passesd filename is not found - function reports the symbol was not
    defined rather than file not found or something similar.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, May 19, 2019 21:59:56
    src/sbbs3 js_global.c 1.382 1.383
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    js_global.c
    Log Message:
    Fix require(): if load() fails with exception, don't report a "symbol
    not defined" exception, just report the load() exception - whatever it was (e.g. could not open load-file).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, July 13, 2019 23:18:32
    src/sbbs3 js_global.c 1.384 1.385
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv9081

    Modified Files:
    js_global.c
    Log Message:
    New JS global method: file_chmod(), changes a file's mode value ala *nix chmod. Really only useful on *nix since Windows only allows the setting/clearing of
    a single mode flag: user-writeable, 0x80, 0200.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 17:53:42
    src/sbbs3 js_global.c 1.385 1.386
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26683

    Modified Files:
    js_global.c
    Log Message:
    New global JS function: file_mode()

    This function behaves the same as file_attrib() on *nix, but on Windows, file_mode() returns a *nix/stat style st_mode value (compatible with file_chmod) while file_attrib() returns the struct _finddata_t 'attrib' value, which is a quite different value (e.g. indicates Windows/DOS centric file attributes like "archive", "hidden", etc.) and is *incompatible* with file_chmod(). So if you're going to modify a file's permissions (mode), use file_mode() to read them and file_chmod() to save them.

    file_attrib() should really only be used on Windows and only for checking for attributes like "hidden", "archive", etc. (which don't exist on *nix).




    ---
    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 Sunday, January 21, 2024 15:02:04
    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 Thursday, February 15, 2024 21:37:00
    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 Monday, February 26, 2024 22:41:59
    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