• src/uifc/uifc32.c

    From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Thu Jan 28 21:55:39 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d8804c19b38e6b9618179129
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    fix display issue at noon

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Thu Jan 28 22:00:07 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1c13b8af9c94865338cf721a
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    fix typo

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Jan 29 01:16:04 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/6db9ad0ddeb49dcf85e09a24
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Splat.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Jan 29 01:26:50 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/1bddfdab40303e57122aa93d
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    i, of course, needs to be adjusted too.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Jan 29 01:36:12 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2da95710623d330a22af766d
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Change bar fix...

    Instead of setting bar to zero when possible, set it to the number
    of displayed options, putting the lightbar at the bottom of the
    displayed list instead of at the top.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Feb 11 18:53:22 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/076d6f052ee56937c51915c0
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix initial bar calculation.

    After calculating i (offset in list to top of window), if it's less
    than zero, apply it to bar and set i = 0.

    Fixes #218

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Feb 14 23:17:15 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5aafe28ce1abd688dcd77b2d
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Re-work the string constant usage of utimestr()

    To make Coverity and my adult-self happy.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue Mar 16 21:36:19 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/54a63ad8a9a3b70a69f77276
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Allow showbuf buffers to be placed up against the status line.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Mar 17 06:52:58 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/295ae39399693c75e0c8823c
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Small fixes for ugetstr()

    - Backtab also exits with K_TABEXIT when the string is selected
    - Backspace scrolls the text to the left of the cursor to the right
    if the left of the input is not the start of the string.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Mar 31 13:57:15 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/a84bb2cfb52bd33e185b3bb3
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix glitch in showbuf window with odd-numbered width

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Mar 31 23:05:25 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/7bbe3f0235a3293433e2bf3a
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Have showbuf() clamp width the same way as height...

    Basically, assume left is correct, and calculate the correct width
    to fill the screen to the esge.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Apr 17 14:38:39 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e0a055f18ab797025d83fb54
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Support WIN_ORG and WIN_BOT modes in uifc.input

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed May 19 18:27:56 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/adebb6393f05710e115daf0a
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Draw the shadow if the API bgcolor is blue

    WIN_INACT was not getting a border because it changes the value
    of bclr which is explicitly compared with BLUE to detect if a
    shadow should be drawn.

    Instead, draw a shadow any time it would normally be drawn.

    ---
    þ 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:14:59 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/4f28970f7ab92d55e38161f5
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Finish consitfying showbuf()

    ---
    þ 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:23:52 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/af7b3efba80be0ded1250334
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Actually constify showbuf()

    Geeze, this is ugly.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Mar 3 11:29:28 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/5051ad349706be4e0254a0f2
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Left for showbuf() is zero-based, calculate width appropriately.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Jul 13 23:34:44 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/7d08ae36ec447a4a1f9054a0
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Don't print the up arrow if the list is empty

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Dec 23 18:22:34 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/6b9e7707aba205242f84cd1a
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Store curp/barp in showbuf allowing dynamic windows to work

    Before this change, dynamic parent windows wouldn't be redrawn as
    active after showbuf() returns.

    ---
    þ 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 Tue Feb 14 23:07:07 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/61448e1506360d651b98ad7c
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix list() width when WIN_NOBRDR is used

    The title isn't displayed in this mode, so the title length is 0.

    Why is title being strdup()'d here? Something to look into.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Thu Feb 16 18:56:31 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/3d0618d041c62f9720dc9d51
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix centering of the showbuf (e.g. help screen) title

    I'm not sure what was going on with this addition of 6 when mouse is enabled (and didn't check for WIN_DYN flag set!), but is wrong. And we need to add 4 to the title_len when figuring out the centered-offset.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Feb 17 23:16:37 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6875b617f34cde674c39c9f7
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    input() method was off-by-one on the string input x-coordinate w/ WIN_NOBRDR

    ---
    þ 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 Wed Apr 12 20:18:09 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a59d7d36daf250b47795d3cb
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Make the '?' key pull up the online help too

    Sometimes F1 doesn't work, Ctrl-Z isn't documented, but there is a '?' displayed
    when help is available, so it's reasonable to assume someone might try/use it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Apr 28 21:10:46 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0e335a02a996b1b6120490e5
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Avoid delay waiting for key in WIN_DYN mode

    When running Windows 11 in a VirtualBox VM, Sleep(1) appears to take
    much more than 1ms to return. This causes large delays drawing menus
    using WIN_DYN (as SyncTERM does).

    If WIN_DYN is set, just use kbhit() with no delay. Leave the delay
    there for !WIN_DYN though.

    This should generally speed up SyncTERM menu navigation as there
    was a 50ms delay for each menu on the screen.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Apr 29 10:52:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/91114aaf678cf583d3d7fdbf
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix warning.

    While we're here, eliminate some explicit int64_t usage.

    (not sure why uifc_winmode_t is signed since it's a bitfield, but
    that's above my pay grade).

    ---
    þ 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 11:30:11 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/dc6b7f83882e372ab9199fb7
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    In screen widths < 80 columns, auto-suppress the date/time display

    The the date/time display would overwrite parts of the application
    title in narrower screen modes, so let's not do that.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wed Dec 27 12:01:02 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/efc1b44e84544103f3911495ãModified Files:ã src/uifc/uifc32.cãLog Message:ãDon't clear exit_flags.ããThis should ensure that once quit is used, everything exits, butãapparently, this never worked.ã---ã þ 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 Sun Dec 31 20:04:23 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/289c3e5cd646300240eff1f5
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Fix dynamically calcluated list height bug when in T2B mode and top val given

    In T2B (top to bottom centering) mode, the 'top' parametr value isn't actually for the top of the window position (later), so just zero it here in case it
    was specified (and non-zero) to correct the calcutation on the next lines:
    ```
    if(top+height>s_bottom)
    height=(s_bottom)-top;
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Mar 12 13:10:16 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/f605e394a59794596b94216e
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Remove non-ASCII char comments.

    These were originally non-ASCII char literals.

    ---
    ï¿­ 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/f7caa6722d4d5b3132b0050e
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Expand tabs and ignore form-feeds in showbuf/help text

    ---
    þ 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/89dda20e134e5d0443196a90
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    Truncate long titles in showbuf() the corrupt the screen and the heap

    Don't actually truncate the string, just the display length

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Mar 6 18:21:01 2020
    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 Sun Mar 8 13:25:59 2020
    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 Tue Mar 31 00:19:46 2020
    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 Wed Apr 8 23:00:07 2020
    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 Thu Apr 9 22:09:13 2020
    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 Thu Apr 9 22:14:27 2020
    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 Thu Apr 9 22:16:32 2020
    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 Fri Apr 10 01:40:30 2020
    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 Fri Apr 10 01:47:24 2020
    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 Fri Apr 10 01:57:49 2020
    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 Mon Apr 13 00:21:23 2020
    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 Thu Apr 16 09:55:44 2020
    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 Mon May 4 12:05:11 2020
    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 Thu May 7 13:27:25 2020
    src/uifc uifc32.c 1.264 1.265
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv19414

    Modified Files:
    uifc32.c
    Log Message:
    Use CIOLIB_MOUSEPTR_BAR in uifc mode.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Mon May 18 07:52:41 2020
    src/uifc uifc32.c 1.265 1.266
    Update of /cvsroot/sbbs/src/uifc
    In directory cvs:/tmp/cvs-serv3058

    Modified Files:
    uifc32.c
    Log Message:
    Add some paranoia around paste buffers.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Jun 26 17:04:54 2020
    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 Rob Swindell@VERT to Git commit to sbbs/master on Sun Nov 22 22:45:36 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/3e4b05f2cfc033770763bb23
    Modified Files:
    src/uifc/uifc32.c
    Log Message:
    If both WIN_ORG and WIN_SAV modes are specified, don't clear save buffers.

    umonitor uses these mode flags together (or soon will) and bad things happen
    if you always clear the buffers that you're trying to save/restore.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sun Nov 3 11:14:25 2024
    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 Wed Nov 13 22:38:06 2024
    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 Wed Nov 13 23:26:48 2024
    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