• src/uifc/uifc.h uifc32.c

    From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Tue Feb 21 20:30:27 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/3a2c90b237cdc5e7d9b4937f
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add input K_TRIM and K_NOSPACE mode flags

    K_TRIM causes leading and trailing whitespace to be trimmed.
    K_NOSPACE disallows any whitespace characters to be added to the string.

    Previously, trailing whitespace was always trimmed. Now, only do that
    if/when K_TRIM is specified.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Tue Feb 21 20:30:27 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/d8dfa611ae0c009ea16fa9d8
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add uifcapi_t.kmode that can be used to set global key-input mode flags

    e.g. this a way to set the K_TRIM mode globally for all keyboard input

    ---
    ■ 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 May 25 18:54:06 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/016a382b3800d13d9b2528a6
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Support narrower (e.g. < 80 column) screen modes better

    Maximize screen realestate for options/settings display:
    - Don't place a margin around windows when in a narrow screen mode.
    - Don't display shadows on windows when in a narrow screen mode.

    This commit also fixes a bug in uinput() when left was non-zero and the total width (left + width) would be too wide for the screen. This bug was apparent in SCFG->Message Areas in 50 column mode (no Message Group window would be displayed when a message group was selected).

    ---
    ■ 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 May 25 18:54:06 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/877deacbf061991269507494
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Change win_t.buf to a void* (avoid a lot of typecasting)

    ---
    ■ 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 Mon Jun 17 20:38:51 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/de7b2c60c257a8b9298f1a0d
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add suport for option/item tagging using the WIN_TAG ulist() mode flag

    For use with fileman.js:

    The space bar can be used by the user to "tag" items, or Ctrl-A to toggle
    tag status for *all* items. Returns MSK_TAG|with the option tagged/untagged
    or MSG_TAGALL when all tags are being toggled (via ^A).

    Also, fix bug where ^Find command would not restore the status bar after ulist() would overwrite it with the string-input/edit hot-keys available.

    ---
    ■ 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 Fri Jun 21 00:26:42 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1c85a913ca99a8897a164f7d
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Introduce a restore() uifc_api method for restoring a saved window buffer

    This allows for menu options on an "active" list (with both WIN_SAVE and WIN_ACT mode flags) to close the window and restore the most recently saved window.

    Also, for the range check on the save buffer count in ulist(), if we've
    hit the bounds, don't *just* beep (though, that was useful), but turn off the WIN_SAV mode flag so we don't overflow the sav[] array and corrupt the heap!

    ---
    ■ 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 Sep 26 14:49:54 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1cc56f5e6c1f2e4fd9286a62
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add uifcapi_t.reverse_cursor (BOOL), default is FALSE

    Setting this to TRUE reverses the type of cursor used to indicate insert
    versus overwrite mode (solid/block cursor veruss underline/normal cursor). Deuce probably wants to set this to TRUE for SyncTERM.

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