• src/uifc/uifc32.c

    From deuce@VERT to CVS commit on Friday, March 06, 2020 17:21:01
    src/uifc uifc32.c 1.249 1.250
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv15394

    Modified Files:
    uifc32.c
    Log Message:
    Update the clock if the minute changes as well as if sixty seconds have
    passed.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, March 08, 2020 12:25:59
    src/uifc uifc32.c 1.250 1.251
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv14574

    Modified Files:
    uifc32.c
    Log Message:
    Resolve warning C4013: 'localtime_r' undefined; assuming extern returning int



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Monday, March 30, 2020 23:19:46
    src/uifc uifc32.c 1.251 1.252
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv4934

    Modified Files:
    uifc32.c
    Log Message:
    Turn off hold_update when updating the clock.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Wednesday, April 08, 2020 22:00:07
    src/uifc uifc32.c 1.253 1.254
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv7930

    Modified Files:
    uifc32.c
    Log Message:
    Show mouse on an error... it's almost certain nobody has ever seen this.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thursday, April 09, 2020 21:09:13
    src/uifc uifc32.c 1.254 1.255
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv6348

    Modified Files:
    uifc32.c
    Log Message:
    Add CTRL-F to find in a list.

    Requested by: DigitalMan.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thursday, April 09, 2020 21:14:27
    src/uifc uifc32.c 1.255 1.256
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv7224

    Modified Files:
    uifc32.c
    Log Message:
    Retain search string between CTRL-F presses.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thursday, April 09, 2020 21:16:32
    src/uifc uifc32.c 1.256 1.257
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv7535

    Modified Files:
    uifc32.c
    Log Message:
    Add CTRL-G to repeat the last search.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 10, 2020 00:40:30
    src/uifc uifc32.c 1.257 1.258
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv4518

    Modified Files:
    uifc32.c
    Log Message:
    Fix MSVC compile error.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 10, 2020 00:47:24
    src/uifc uifc32.c 1.258 1.259
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv5481

    Modified Files:
    uifc32.c
    Log Message:
    Fix one crash in the new Ctrl-Find feature (option lists can, unfortunately, be terminated with a 0-length option string).
    There still another crash I'm investigating that occurs if you type a string that isn't found. It appears to deref past the end of the option array.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 10, 2020 00:57:49
    src/uifc uifc32.c 1.259 1.260
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv6915

    Modified Files:
    uifc32.c
    Log Message:
    Fix the crash I just mentioned in the previous commit - don't deref past the length of option[].


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sunday, April 12, 2020 23:21:23
    src/uifc uifc32.c 1.261 1.262
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv14861

    Modified Files:
    uifc32.c
    Log Message:
    Actually, this commit fixes the crash... I wasn't high enough up in the
    tree to commit both at once.

    There was a crash when wrapping at the end of a search. Now there isn't. You're welcome.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Thursday, April 16, 2020 08:55:44
    src/uifc uifc32.c 1.262 1.263
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv8771/uifc

    Modified Files:
    uifc32.c
    Log Message:
    Give each font a codepage.
    getcliptext() and copytext() (ie: copy/paste) now work on UTF-8 strings.
    Not tested on Win32 yet.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Monday, May 04, 2020 11:05:11
    src/uifc uifc32.c 1.263 1.264
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv11939

    Modified Files:
    uifc32.c
    Log Message:
    Do some crappy scroll-wheel stuff.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Friday, June 26, 2020 16:04:54
    src/uifc uifc32.c 1.266 1.267
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv26277/uifc

    Modified Files:
    uifc32.c
    Log Message:
    Initial RIP and SkyPix support. Very rough many bugs. So alpha.

    There are a number of conio changes in here too... too many to list. Check
    the diffs if you actually want to know what changed.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, November 03, 2024 11:14:25
    https://gitlab.synchro.net/main/sbbs/-/commit/32fb9b77db11ec82231e4cee
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    More malloc() return checks

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, November 13, 2024 22:38:06
    https://gitlab.synchro.net/main/sbbs/-/commit/056304ed9e73c847a08102bb
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix bug reported by DigitalMan

    It looks like this has been a long-standing UIFC bug (pre-3.0)

    If a uifc list that can scroll is showing the bottom-most line,
    and an option that is not the last is deleted, and both *cur and
    *bar are left untouched, *bar would be adjusted to be too high,
    resulting in various highlight bar corruption issues.

    This commit just rewrites that logic to be comprehensible, and
    ensures that if bar is set such that the list would end before the
    bottom of the window, it gets moved up. This makes delete do the
    right thing (didn't test with insert, that may do weird things).

    Also, since I figured out a good definition of what bar actually
    represtens, add a comment to that effect.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, November 13, 2024 23:26:48
    https://gitlab.synchro.net/main/sbbs/-/commit/2e47ac987d5f1f1add45e5f7
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Just overhaul this who chunk of code.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 21:51:35
    https://gitlab.synchro.net/main/sbbs/-/commit/d63dd43c9b9a1cc24b268829
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Prevent dereferencing NULL bar or cur with WIN_DYN

    This would be an API violation, but we shouldn't crash about it.

    ---
    þ 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 Thursday, January 09, 2025 18:53:52
    https://gitlab.synchro.net/main/sbbs/-/commit/935afe75ac88dd8094e58e71
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix buffer overflow when upop() is called with a string > 73 chars

    result in segfault (e.g. adding long filenames using fileman.js)

    ---
    þ 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 Thursday, January 09, 2025 20:22:12
    https://gitlab.synchro.net/main/sbbs/-/commit/d55686a5ef0d1f9706d17b18
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    A more complete fix for the upop() issue with long strings

    Completely remove the 80 column screen width assumption/limit.

    ---
    þ 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 Tuesday, January 14, 2025 17:42:18
    https://gitlab.synchro.net/main/sbbs/-/commit/ad84aa032681df2b5a7eb06d
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Resolve MSVC warning

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, February 10, 2025 14:43:09
    https://gitlab.synchro.net/main/sbbs/-/commit/f55039de28c9dfc30450fec8
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Only base drag-select highlight on the legacy attribute.

    The fg/bg values all have multiple representations, and some bits
    have extra meanings, so inequality there doesn't mean they're not
    the same colour.

    This fixes an issue where the *second* drag select on a screen
    would not highlight blue backgrounds correctly. The background
    colour gets the "pixels set" bit flown because of how
    restorescreen() works, which caused this to "know" it's not blue
    and use a blue background.

    A (good) argument could be made that savescreen()/restorescreen()
    shouldn't result in any changes, but since uifc32 doesn't directly
    use colours that aren't represented by legacy attributes, there's
    no need for it to get tricky here.

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