• src/sbbs3/sbbs.h str.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, January 20, 2024 02:10:46
    https://gitlab.synchro.net/main/sbbs/-/commit/d54599775d3447c20b704f63
    Modified Files:
    src/sbbs3/sbbs.h str.cpp
    Log Message:
    Can't use enum as last arg before varargs apparently

    This should fix the Clang warning that Deuce reported:
    str.cpp:131:18: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior

    ---
    þ 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, October 27, 2024 22:54:11
    https://gitlab.synchro.net/main/sbbs/-/commit/60d953c907288ff5b0240c4f
    Modified Files:
    src/sbbs3/sbbs.h str.cpp
    Log Message:
    sbbs_t::xfer_prot_menu() can now return the list of command keys

    for use by JS bbs.xtrn_prot_menu() immediately, elsewhere soon.

    ---
    þ 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, October 28, 2024 01:38:17
    https://gitlab.synchro.net/main/sbbs/-/commit/b2b0d6223403a9dfa3807048
    Modified Files:
    src/sbbs3/sbbs.h str.cpp
    Log Message:
    sbbs_t::protnum() and protname() now accept the transfer type as argument

    It's possible to have multiple transfer protocols with the same mmemonic, but with different transfer types supports (which would be weird, but possible). This allows us to use protnum() to replace a lot of copy/pasted prot looping and comparing logic throughout sbbs.

    Also added a variant of sbbs_t::quit_key() that takes and returns a string
    (for easy concatenation to strings of key chars).

    ---
    þ 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 Tuesday, October 29, 2024 20:20:16
    https://gitlab.synchro.net/main/sbbs/-/commit/b5caa2917f6b0f58d234af33
    Modified Files:
    src/sbbs3/sbbs.h str.cpp
    Log Message:
    Create a C++ wrapper for unixtodstr()

    No need to use time32_t for this.

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