• src/uifc/uifc.h uifc32.c

    From deuce@VERT to CVS commit on Sun Feb 8 19:43:40 2015
    src/uifc uifc.h 1.82 1.83 uifc32.c 1.205 1.206
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv29839

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Put all drawing characters into a redefinable structure to allow overriding (for example, when other fonts are used).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Mon Feb 16 23:28:33 2015
    src/uifc uifc.h 1.83 1.84 uifc32.c 1.211 1.212
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv21444

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Add the new exit_flags member to the API structure. Currently, UIFC_XF_QUIT
    is the only defined flag. Set when the UIFC function exits because a CIO_KEY_QUIT was read.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Tue Oct 10 11:20:34 2017
    src/uifc uifc.h 1.84 1.85 uifc32.c 1.219 1.220
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv15072

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Added new uifc.list() mode flag: WIN_PUTXTR - allow put/paste into extra (blank) item. Replaces the previously unused WIN_EDITACT mode flag.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Oct 10 15:45:00 2017
    src/uifc uifc.h 1.85 1.86 uifc32.c 1.220 1.221
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv24580

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Added support for "Cut" operations in uifc.list() - must be called with WIN_GET - returns index with MSK_CUT in upper nibble
    - Cut is initiated with Ctrl-X or Shif-Delete
    - Same as Get/Copy (F6/Ctrl-V) except the source item is removed

    * Ctrl-Insert is now supported for Copy (in addition to Ctrl-C and F5)
    * Shift-Insert is now supported for Paste (in addition to Ctrl-V and F6)

    * Fixed a couple of potential NULL savbuf dereferences (one sighted when using mouse).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Oct 10 17:12:37 2017
    src/uifc uifc.h 1.86 1.87 uifc32.c 1.221 1.222
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv28504

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Treat Shift-Insert as "Paste Insert" (new item inserted above selected item) different from Ctrl-V or F6 which is "Paste Over" (overwriting selected item)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Oct 11 12:30:45 2017
    src/uifc uifc.h 1.87 1.88 uifc32.c 1.222 1.223
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv7515

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Introduced UIFC API mode: UIFC_NOMOUSE to disable mouse detection/use
    i.e. for new scfg/echocfg -k (keyboard only) option.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Nov 11 02:17:40 2017
    src/uifc uifc.h 1.91 1.92 uifc32.c 1.229 1.230
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv12013

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Make insert/over-write mode (for string input via uifc.input) persistant among calls to uifc.input() - don't default to overwrite mode for every call.
    This also allows external/app control of the insert/over-write mode via new uifcapi_t element: insert_mode (default is FALSE).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 10 02:09:01 2020
    src/uifc uifc.h 1.95 1.96 uifc32.c 1.260 1.261
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv8639

    Modified Files:
    uifc.h uifc32.c
    Log Message:
    Don't set the API "changes" flag when just searching for text and editing
    the find-text string.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Feb 10 15:36:35 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/12e02add68d3cc3a547158dd
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Consitfy showbuf too
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Feb 10 16:50:51 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a035db22322ea2dd94b5948d
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    More constifying of showbuf()

    Oddly enough the hbuf wasn't actually modified.
    ---
    ï¿­ 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/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
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Jan 7 00:48:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/4b16eedde4886f7277fba7bf
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add new WIN_ATEXIT to disable UIFC_XF_QUIT effect
    ---
    ï¿­ 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 Jan 31 12:25:25 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/ee965f2133c9b34d1c251946
    Modified Files:
    src/uifc/uifc.h uifc32.c
    Log Message:
    Add K_CHANGED mode flag for uifc.input()

    Used in combination with K_EDIT, if the string isn't actually changed, return -1 (same as abort/ESC).

    This allows the elimination of some save/compare/copy code in SCFG where we only care to even look at the string if it was changed from its existing
    value.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net