• src/sbbs3/sbbs.h

    From deuce@VERT to CVS commit on Wed Feb 6 16:27:17 2013
    src/sbbs3 sbbs.h 1.393 1.394
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25654

    Modified Files:
    sbbs.h
    Log Message:
    Add *_TO_MSTRING() macros to return malloc()ed strings instead of the current alloca()ed ones.



    ---

  • From deuce@VERT to CVS commit on Wed Feb 6 17:04:47 2013
    src/sbbs3 sbbs.h 1.394 1.395
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25993

    Modified Files:
    sbbs.h
    Log Message:
    Report an exception if the malloc() fails.
    The calling code must check JS_IsExceptionPending(cx) and return JS_FALSE



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Wed Feb 6 21:55:00 2013
    src/sbbs3 sbbs.h 1.395 1.396
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28996

    Modified Files:
    sbbs.h
    Log Message:
    Add *_TO_STRBUF() which copies a JSString into a buffer truncating if necessary and always NULL terminating. This macro will handle embedded NULLs.

    Also, add a HANDLE_PENDING(cx) to return JS_FALSE if an exception is pending



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Wed Feb 6 22:03:20 2013
    src/sbbs3 sbbs.h 1.396 1.397
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv32037

    Modified Files:
    sbbs.h
    Log Message:
    Add *_TO_ASTRING() which uses alloca() but takes a max buf size argument
    and trucates there.



    ---
    þ
  • From deuce@VERT to CVS commit on Thu Feb 7 19:09:22 2013
    src/sbbs3 sbbs.h 1.397 1.398
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23091

    Modified Files:
    sbbs.h
    Log Message:
    Add _TO_RASTRING() which ralloc()s if needed.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet
  • From deuce@VERT to CVS commit on Thu Feb 7 19:11:48 2013
    src/sbbs3 sbbs.h 1.398 1.399
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23112

    Modified Files:
    sbbs.h
    Log Message:
    fix last commit - do not reset ret to NULL.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet:/
  • From deuce@VERT to CVS commit on Thu Feb 7 19:13:03 2013
    src/sbbs3 sbbs.h 1.399 1.400
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23126

    Modified Files:
    sbbs.h
    Log Message:
    Truncate ret when str is NULL.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro
  • From deuce@VERT to CVS commit on Sun Feb 10 13:15:19 2013
    src/sbbs3 sbbs.h 1.400 1.401
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14305

    Modified Files:
    sbbs.h
    Log Message:
    Remove *_TO_STRING() macro definitions. They could be considered harmful.



    ---
    þ Synchronet þ Vertra
  • From deuce@VERT to CVS commit on Mon Apr 29 08:42:37 2013
    src/sbbs3 sbbs.h 1.401 1.402
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv7082

    Modified Files:
    sbbs.h
    Log Message:
    Parenthesize the use if macro parameters in the macro body. Fixes super-strangeness with the previously unfucked matchuser().


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Mon Sep 1 00:06:08 2014
    src/sbbs3 sbbs.h 1.406 1.407
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14117

    Modified Files:
    sbbs.h
    Log Message:
    input_thread_mutex protection (don't destroy unless successfully created). (part of previous commit of main.cpp)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sat Jul 4 16:44:19 2015
    src/sbbs3 sbbs.h 1.411 1.412
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv10354

    Modified Files:
    sbbs.h
    Log Message:
    Create a 7-line MSGINF file which includes the full path to the tag file,
    in scenarios where the tagfile may be used (e.g. not editing extended file descriptions). This should allow SlyEdit and other extenal message editors
    to detect the support for the editor.tag file dynamically rather than by
    using the Synchronet version number. If the 7th line is blank or non-existent, then the external editor tag file is not supported.
    Overhauled editor_inf() to use a file stream/fprintf.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Fri Nov 24 15:39:24 2017
    src/sbbs3 sbbs.h 1.456 1.457
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    sbbs.h
    Log Message:
    Wrap the GCC pramgas in ifdefs


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Nov 26 17:59:55 2017
    src/sbbs3 sbbs.h 1.458 1.459
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2637

    Modified Files:
    sbbs.h
    Log Message:
    Fixed gcc v5 warning: unknown option after ‘#pragma GCC diagnostic’


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Feb 17 18:57:46 2018
    src/sbbs3 sbbs.h 1.467 1.468
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31937

    Modified Files:
    sbbs.h
    Log Message:
    Fixed JSexec build warning with MSVC2013:
    undeclared JS_CreateCommonObjects():
    ... since we're building JSexec without USE_CRYPTLIB defined.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jul 24 20:43:08 2018
    src/sbbs3 sbbs.h 1.484 1.485
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    sbbs.h
    Log Message:
    Resolve warning: ISO C++ forbids converting a string constant to ‘char*’


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Aug 2 23:24:43 2018
    src/sbbs3 sbbs.h 1.486 1.487
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    sbbs.h
    Log Message:
    delfattch() returns BOOL now.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri May 3 22:42:00 2019
    src/sbbs3 sbbs.h 1.517 1.518
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv24567

    Modified Files:
    sbbs.h
    Log Message:
    Make K_UPPER the default mode for sbbs_t.getkeys() for real. Oops.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jul 9 22:00:02 2019
    src/sbbs3 sbbs.h 1.527 1.528
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    sbbs.h
    Log Message:
    Add #include "unicode_defs.h" - whoops.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Aug 31 15:37:40 2019
    src/sbbs3 sbbs.h 1.549 1.550
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3909

    Modified Files:
    sbbs.h
    Log Message:
    Restore the ssh_session definition USE_CRYPTLIB guard.
    Elminate unused member variable: inputfile


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 30 11:25:10 2020
    src/sbbs3 sbbs.h 1.563 1.564
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31440

    Modified Files:
    sbbs.h
    Log Message:
    Make the entire sbbs_t class definition dependant on JAVASCRIPT #define as ctrl/*.cpp includes this file and does not use/include libjs.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri May 8 16:30:18 2020
    src/sbbs3 sbbs.h 1.568 1.569
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14653

    Modified Files:
    sbbs.h
    Log Message:
    2 more uses of the "HOT" @-code:
    - "HOT" by itself will set the hot-spot attribute to the *current* attribute
    (just colorize the @-code in your editor the same as you do your cmd keys
    no need to memorize color-code mnemonics)
    - "HOT:OFF" will turn off the hot-spot attribute through the end of the text or util re-enabled
    - Use a more greedy/liberal hot-spot matching algoirthm so that hot spots can overlap and the "best" one will be chosen. No way to opt-out of this algorithm (e.g. to use a conservative matching algo) currently.
    - Earlier parse of @~ codes to keep text prestine (no parsing of |* or -*)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jul 14 23:16:22 2020
    src/sbbs3 sbbs.h 1.577 1.578
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    sbbs.h
    Log Message:
    Move nearst_sysfaddr() prototype.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Dec 2 00:09:17 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/cfc6b9249dfc534de9a6c872
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Comment clean-up and remove invalid function prototype.

    I don't think the function xtrn_access() *ever* existed, but this prototype seems to have been around forever.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 04:10:36 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/789a254311484098ea0062e4
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Specify default kmode values for getkey() and inkey()
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Feb 23 23:25:45 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/969a1ef45774f758c234cf20
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Initialize a bunch of class members to resolve Coverity issues

    CID 319034
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 2 13:25:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/1692de5e804102a4cae8ea98
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Initialize more sbbs_t members in class declaration

    CID 319034
    ---
    þ 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 Jun 26 12:23:25 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/461682fbbc3196ae2a2d5fc3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Thread-safe wrappers for std/socket errno description getters for sbbs_t

    These should only be used in the sbbs_t methods called by node_thread or event_thread. Any other thread-shared sbbs_t instances should not use these methods since they share a single error description string buffer.
    ---
    þ 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 Wed Oct 25 21:19:54 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/492a8506b3389c25d8d80823
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Need explicit include of string header here for G++, wasn't needed for MSVC
    ---
    þ 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 Oct 26 01:16:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/329f740f9eb51f7d598454d6
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Don't try to include modern C++ headers when building C++ Builder

    C++ Builder6 doesn't have unordered_map, so only #include those std C++
    headers if/where we actually need them.
    ---
    þ 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/6025299141fa32141265201b
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Fix CID 469129 and 469141 using std::atomic<>

    Unlikely, but valid thread-safety concerns by Coverity
    ---
    þ 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 Wed Nov 22 15:53:05 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e0cef49cc0c560a43da814b3
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Fix gcc/clang build error

    std::atomic's need to be brace-initialized, or else we fail with
    "use of deleted function" errors

    Odd that MSVC built it just fine.
    ---
    þ 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 Thu Feb 15 23:02:56 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/174875d641601dd475b00280
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Use the do/while(0) trick to eliminate warnings w/use of SAEFCOPY_UTF8
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Feb 20 16:35:40 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1791c0b26db64308633520bb
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Unhack mingw32 hack for mingw32-w64
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Feb 27 14:43:25 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7e505d6f3e00a839a4937f35
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    Name structs to attempt to silence warnings from GCC.

    It seems that GCC is concerned that we can't create a sftp_dirdescriptor_t
    or sftp_filedescriptor_t?
    ---
    ï¿­ 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 Nov 14 22:43:20 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3e82eb94c86e2d87c8570e77
    Modified Files:
    src/sbbs3/sbbs.h
    Log Message:
    sbbs_t::fremove() will now, by default, ignore (not log) ENOENT errors

    ENOENT = "No such file or directory"

    Passing 'true' for the optional 'log_all_errors' parameter overrides this
    (logs all errors, including ENOENT).
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net