• src/sbbs3/sbbs.h str.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Jan 19 23:10:46 2024
    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 Sun Oct 27 22:54:11 2024
    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 Mon Oct 28 01:38:17 2024
    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 Tue Oct 29 20:20:16 2024
    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