• src/sbbs3/atcodes.cpp

    From rswindell@VERT to CVS commit on Wednesday, April 10, 2019 15:41:09
    src/sbbs3 atcodes.cpp 1.86 1.87
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    atcodes.cpp
    Log Message:
    Remove never-used msg network-attribute definitions.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, April 11, 2019 01:59:38
    src/sbbs3 atcodes.cpp 1.88 1.89
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13930/sbbs3

    Modified Files:
    atcodes.cpp
    Log Message:
    Redefine the unused MSG_TRUNCFILE msg auxattr flag to MSG_MIMEATTACH, used to indicate that a message's body text contains one or more MIME-encoded/embedded attachments - so that entities won't have to parse the message headers/body
    to determine whether or not a message has MIME-attachments.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, April 25, 2019 15:33:57
    src/sbbs3 atcodes.cpp 1.89 1.90
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23805

    Modified Files:
    atcodes.cpp
    Log Message:
    Added support for PCBoard @ macros:
    - DELAY:nn (delay nn 10ths of a second)
    - POS:nn (move cursor to position nn, not sure if nn is 0 or 1-based)
    - CLREOL (same as CLR2EOL)
    - YESCHAR (the character/key for "Yes", from text.dat YNQP string)
    - NOCHAR (the character/key for "No', from text.dat YNQP string)

    and for good measure:
    - QUITCHAR (the character/key for "Quit") - not supported by PCBoard



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, April 25, 2019 16:39:35
    src/sbbs3 atcodes.cpp 1.90 1.91
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv32246

    Modified Files:
    atcodes.cpp
    Log Message:
    PCBoard @POS:nn is 1-based according to Ozz Nixon.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 09, 2019 16:14:43
    src/sbbs3 atcodes.cpp 1.93 1.94
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv29390

    Modified Files:
    atcodes.cpp
    Log Message:
    New @-code: @checkmark@, sends the Unicode CHECKMARK or the CP437
    square root symbol (or PETSCII check mark), as appropriate.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 09, 2019 16:52:47
    src/sbbs3 atcodes.cpp 1.94 1.95
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3534

    Modified Files:
    atcodes.cpp
    Log Message:
    New @-code: DATEFMT which expands to either MM/DD/YY or DD/MM/YY
    (currently).
    Created for use with the EnterYourBirthday text.dat string, so the CHECKMARK @-code can be used as well. @-codes can't be used in strings with printf-specifiers (e.g. %s).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 09, 2019 19:54:46
    src/sbbs3 atcodes.cpp 1.96 1.97
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv15780

    Modified Files:
    atcodes.cpp
    Log Message:
    Use slash rather pipe to separate Unicode code point from fallback char.
    The pipe char is problematic to discuss in msg bases and on the Wiki. <shrug>



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 09, 2019 20:59:02
    src/sbbs3 atcodes.cpp 1.97 1.98
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27634

    Modified Files:
    atcodes.cpp
    Log Message:
    New @-code format modifier: -D
    When appended to an @-code, displays it double-wide using "fullwidth" Unicode code points if possible, spaces between the characters otherwise.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 09, 2019 21:51:09
    src/sbbs3 atcodes.cpp 1.98 1.99
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1394

    Modified Files:
    atcodes.cpp
    Log Message:
    The parsing of format modifiers could truncate/corrupt @-code arguments
    (e.g. "@code:BIG-RED@", the argument would get chopped to just "BIG")
    so don't support format modifiers when a ':' is present in the @-code.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, July 10, 2019 12:41:27
    src/sbbs3 atcodes.cpp 1.100 1.101
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31154

    Modified Files:
    atcodes.cpp
    Log Message:
    <waffle>
    I like the -W @-code format modifier better for "WIDE" than for "WRAP" (no
    body is using -W yet, right?) - so, change wrap to "->" and double-wide to "-W".


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 11, 2019 11:33:48
    src/sbbs3 atcodes.cpp 1.101 1.102
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv15994

    Modified Files:
    atcodes.cpp
    Log Message:
    More UNICODE fun w/@-codes:
    U+ code now supports <code-hex>:<text> syntax so that multiple chars (a string) may be specified as a fallback for non-UTF-8 terminals.
    The U+<code>/<char> syntax was changed to U+<code>,<char>
    New symbolic @-codes that send the right Unicode code point to UTF-8 terminals or a string to others:
    - ELLIPSIS
    - COPYRIGHT
    - SOUNDCOPY
    - TRADEMARK
    - DEGREE_C
    - DEGREE_F


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 11, 2019 12:25:21
    src/sbbs3 atcodes.cpp 1.102 1.103
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23346

    Modified Files:
    atcodes.cpp
    Log Message:
    COPYRIGHT @-code already exists, use COPY instead.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 11, 2019 12:37:47
    src/sbbs3 atcodes.cpp 1.103 1.104
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv24974

    Modified Files:
    atcodes.cpp
    Log Message:
    Add REGISTERED @-code.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 11, 2019 12:44:33
    src/sbbs3 atcodes.cpp 1.104 1.105
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    atcodes.cpp
    Log Message:
    Fix GCC warnings:
    hex escape sequence out of range



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, July 15, 2019 19:31:03
    src/sbbs3 atcodes.cpp 1.105 1.106
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19634

    Modified Files:
    atcodes.cpp
    Log Message:
    Create aliases for the MAILW:<num>, MAILP:<num>, and SPAMW:<num> @-codes:
    MAILW#<num>, MAILP#<num>, SPAMW#<num>

    These codes, unlike the colon-variants, can be combined with format modifiers (e.g. -L, etc.).



    ---
    ■ 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 Friday, December 01, 2023 19:43:53
    https://gitlab.synchro.net/main/sbbs/-/commit/d6b3ad8ea5b09f8160a94cc0
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix potential buffer overflow and NULL pointer deref in expand_atcodes()

    ---
    ■ 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, December 10, 2023 13:48:08
    https://gitlab.synchro.net/main/sbbs/-/commit/40a47c302d2011b79b6875a6
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add new @-codes: MSG_TO_FIRST and MSG_FROM_FIRST

    The first word of the message recipient or author's name.

    For Accession.

    ---
    ■ 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 Friday, January 12, 2024 22:33:58
    https://gitlab.synchro.net/main/sbbs/-/commit/01401754b857bf11b3eebf29
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code NODE_USER which will expand to UNKNOWN_USER if node is anonymous

    Needed for exactly reproducing built-in node status string formatting using @-codes (only).

    ---
    ■ 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 14, 2024 20:12:02
    https://gitlab.synchro.net/main/sbbs/-/commit/ad12b9b21236615ae51b0112
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix the recently-added NODE_USER @-code

    Since "NODE*" is a match for a node number status (ugh), and this comparison happened before the comparison for "NODE_USER", we'd never hit that condition. Thought I tested this before original commit, but I guess I did not. Oops.

    ---
    ■ 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, January 15, 2024 21:14:44
    https://gitlab.synchro.net/main/sbbs/-/commit/cca3e63334314ddee890c2d2
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix hungry-matching of "NODEx" @-code

    The 5th character must be a digit.

    Prevent future stupidity such as happened with recently added and then
    fixed NODE_USER @-code.

    ---
    ■ 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 Wednesday, January 24, 2024 20:41:28
    https://gitlab.synchro.net/main/sbbs/-/commit/68e4967280d16a009b822c34
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix 4-digit bug in separat_thousand() used for 'T' @-code format modifier

    I noticed while testing the previous commit that 4 digit values weren't thousands-separated, while larger values were. I'm not sure why this
    non-zero index check was in this loop, but appears to be a bug.

    ---
    ■ 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, January 25, 2024 14:03:43
    https://gitlab.synchro.net/main/sbbs/-/commit/47f34aaefd7982374764231b
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Make parse() a member function of struct atcode_format

    Silly me, this is C++, do the C++ thing

    No functional change.

    ---
    ■ 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, January 25, 2024 20:57:05
    https://gitlab.synchro.net/main/sbbs/-/commit/0787d5d334c80f9271b4419e
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    struct declarations don't need the 'struct' keyword in C++

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc┬┐@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 11:53:18
    https://gitlab.synchro.net/main/sbbs/-/commit/338252ce6a9c10ce3c1d0e32
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    More format specifier correction.

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