• src/xpdev/gen_defs.h

    From Deuc¿@VERT to Git commit to main/sbbs/m on Tuesday, September 30, 2025 10:03:00
    https://gitlab.synchro.net/main/sbbs/-/commit/59a695825a13d6898fb804a0
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    Don't rely on locale for isspace()

    With truncsp() and SKIP_WHITESPACE() dominating runtime for INI
    parsing now, the locale lookups needed for every isspace() call
    have become significant. Since we likely don't actually want isspace()
    to use the local, expand the C locale whitespace table directly.

    This provides a 20% performance boost to INI parsing when using
    the FastParse calls (much smaller using other parsing functions)
    and is likely to improve various other whitespace-heavy things.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Thursday, October 09, 2025 16:02:00
    https://gitlab.synchro.net/main/sbbs/-/commit/a4a69d20760f5f5608658fe5
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    inttypes.h and stdint.h are part of C99 and C++17

    So we can assume the exist if we're using a C99 or newer compiler.
    stdint.h is in C++11 (though inttypes.h isn't)

    This has been the most painful bit of xpdev for a while now.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Friday, October 10, 2025 12:45:00
    https://gitlab.synchro.net/main/sbbs/-/commit/a136e0d08cd0da404a519b01
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    Both inttypes.h and stdint.h were in C++11

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Tuesday, January 13, 2026 22:16:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3d7d3472419f9be65f6d7e29
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    Suppress a Coverity issue with typecast

    CID 640989: (CONSTANT_EXPRESSION_RESULT)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Wednesday, January 14, 2026 15:28:00
    https://gitlab.synchro.net/main/sbbs/-/commit/cec1342f9738b7d2eae4ce02
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    Forgot the extra parens needed in macros

    Resolve a bunch of Coverity issues, e.g.
    CID 641215: (CONSTANT_EXPRESSION_RESULT)
    CID 641216: Integer handling issues (CONSTANT_EXPRESSION_RESULT)
    CID 641217: (CONSTANT_EXPRESSION_RESULT)
    CID 641218: (CONSTANT_EXPRESSION_RESULT)
    CID 641219: Integer handling issues

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