- Feb 23, 2023
-
-
Rob Swindell authored
-
- Feb 22, 2023
-
-
Rob Swindell authored
e.g. this a way to set the K_TRIM mode globally for all keyboard input
-
Rob Swindell authored
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.
-
- Feb 18, 2023
-
-
Rob Swindell authored
-
- Feb 16, 2023
-
-
Rob Swindell authored
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.
-
- Feb 15, 2023
-
-
Rob Swindell authored
... but not for GCC or Clang interestingly enough.
-
Rob Swindell authored
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.
-
Rob Swindell authored
-
- Dec 24, 2022
- Jul 14, 2022
-
-
Rob Swindell authored
-
- Mar 11, 2022
-
-
Rob Swindell authored
Passing either WIN_LEFTKEY or WIN_RIGHTKEY in the window "mode" argument enables this new indicator in the upper right of "list" windows. These indicator arrows are mouse-clickable too (translate to the left and right arrow keys). We had defined uses for all 32 available WIN_* mode bits, so I extended the win mode type from 32 to 64 bits (should this now be called uifc64.c?) :-) Anyway, it'll be easier to add more WIN_* mode flags as needed later, but I do wonder about JavaScript support (not so great for > 31-bit integers).
-
- Mar 03, 2022
-
-
Deucе authored
-
- Feb 11, 2022
- Feb 10, 2022
- May 20, 2021
- Apr 17, 2021
-
-
Rob Swindell authored
-
- Apr 05, 2021
-
-
Rob Swindell authored
-
- Apr 01, 2021
-
-
Deucе authored
Basically, assume left is correct, and calculate the correct width to fill the screen to the esge.
-
- Mar 31, 2021
-
-
Deucе authored
-
- Mar 17, 2021
- Mar 13, 2021
-
-
Deucе authored
Just rename ESCDELAY member to escdelay.
-
- Feb 15, 2021
-
-
Rob Swindell authored
To make Coverity and my adult-self happy.
-
- Feb 12, 2021
-
- Jan 29, 2021
-
-
Deucе authored
Now the default bar is INT_MAX, so it always gets corrected when left as default. This is good.
-
Deucе authored
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.
-
Deucе authored
-
Deucе authored
-
Deucе authored
So here's what we're doing now... we set bar so that the first item shown in the menu is the lowest index possible that still shows cur. bar is therefore calculated as the displayed item count minus the distance from cur to the end of the list. Yeah, that's the easiest way to explain it.
-
-
-
- Nov 23, 2020
-
-
Rob Swindell authored
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.
-
- Nov 20, 2020
-
-
Deucе authored
This requires anything that includes sbbs.h to have cryptlib and mozjs already built/isntalled... to track this, I've added the new extdeps.mk file. This is pretty terrible though... not sure how important that dependency really is.
-
- Sep 15, 2020
-
-
Rob Swindell authored
This fixes the stat() issue on Windows XP/2K3 by allowing sbbs to benefit from the run-time library updates that Microsoft releases periodically (like https://www.microsoft.com/en-us/download/details.aspx?id=53840). For more info on the stat() issue which caused all kinds of sbbs errors (e.g. creating directories initially, but a lot more): https://stackoverflow.com/questions/32452777/visual-c-2015-express-stat-not-working-on-windows-xp Since we are using cryptlib which requires the MSVC runtime DLL anyway (it is the default build behavior of MSVC), we weren't really gaining anything from statically linking the CRTL (LIBCMT.LIB). And for some reason, an up-to-date MSVC2019 still has (links-in) a LIBCMT.LIB file that includes this stat bug. All the online help resources I found just to seem to suggest updating the CRTL DLLs (on the target system), with no mention of any fixes available for the static CRTLs on the build system. But with the no gain from static linking anyway, I figured it was time to switch to DLL CRTLs. The debug builds are still statically linking the CRTL for no particular reason.
-