- Sep 28, 2023
-
-
Rob Swindell authored
For waveOutOpen and friend functions
-
Rob Swindell authored
.. so it can be loaded in the same solution as the conio project
-
Rob Swindell authored
to differentiate it from the non-SDL version of the conio property sheet
-
- Aug 03, 2023
-
-
Deucе authored
This allows directly setting bright foreground and background colours rather than using bold and blink to indirectly modify them. These do not have an effect if the desired mode is not possible (ie: no bright background, no bright foreground).
-
- Jul 30, 2023
- Jul 29, 2023
-
-
Deucе authored
There's a few ASCII control codes that need to be translated, so add a new mapping function that tries the map first, then returns ASCII on failure to map.
-
Deucе authored
Fixes inability to use ATASCII in curses mode.
-
Deucе authored
Previously, both the shift key, and the "implied shift" from CAPS were treated as a higher priority than the CTRL modifier. With this change, only the explicit shift key has priority, and the implicit one is only checked after CTRL is checked. Fixes SourceForge bug 117
-
Deucе authored
-
- Jul 04, 2023
-
-
Deucе authored
I don't believe them, but I'll fix it anyway.
-
Deucе authored
Should fix ASan "crash".
-
Rob Swindell authored
Check size of X11 property before dereferencing as an Atom. This fixes: ==10203==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000065970 at pc 0x5c5834fb8812 bp 0x7819c717c220 sp 0x7819c717c218 READ of size 8 at 0x602000065970 thread T2 (X11 Events) #0 0x5c5834fb8811 in net_wm_state_is_cb ../conio/x_events.c:1541 But I'm not clear when nitems_return (nir) might represent > 8-bit items or how to detect that, so perhaps there's a *better* fix?
-
- Jun 28, 2023
-
-
Deucе authored
The commit just the zero-length behaviour from uninitialized use with possible undefined behaviour to guaranteed undefined behaviour.
-
- Jun 27, 2023
-
-
Deucе authored
It's unlikely this is what Digitalman reported from ASan and UBSan
-
Rob Swindell authored
Fix multiple warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
-
Rob Swindell authored
This was really just a test to make sure I had Geany successfully reconfigured to no longer auto-strip trailing whitespace. Spoiler: It wasn't.
-
- Jun 18, 2023
-
-
Rob Swindell authored
left shift of 255 by 24 places cannot be represented in type 'int'
-
- Jun 16, 2023
-
- Jun 15, 2023
-
-
Deucе authored
It appears that XDG_ENVIRONMENT_TYPE will always equal "wayland" when XWayland is in use, so when we see that, switch to CLIPBOARD instead of PRIMARY. This should fix WSL and ChromeOS, and be irritating on GNOME, so it's a win all around.
-
- Jun 13, 2023
-
-
Deucе authored
Still be sure to check the return value of write() though.
-
Deucе authored
-
Deucе authored
-
Rob Swindell authored
The return value of x11_event() isn't actually checked anywhere currently, but still Deuce might want to adjust the new return value here (__LINE__ or -1?). Some indicental trailing whitespace was auto-cleaned up part of this commit. Unexpected as I thought this code had been uncrustified already.
-
- Jun 12, 2023
-
-
Deucе authored
Fixes recent regression with scfg
-
- Jun 11, 2023
-
-
Deucе authored
-
- Jun 09, 2023
-
-
Deucе authored
Because bitmap_get_scaled_win_size() was being clamped to maxsize, no matter how much mult was incremented, w and h would never be larger than maxwidth/maxheight and only under exceptional circumstances would the be equal, which would result in an infinite loop. While we're here, set the integer scaling value so we're not chasing ulps all over the place with floating point math/scaling when we don't need to.
-
Deucе authored
None of these were even theoretically possible on any platform, but I took the opportunity to add bounds checking to bitmap_puttext(), so that's good I guess.
-
Deucе authored
-
Deucе authored
Add some malloc() return checks, comment fall-throughs, and resolve a sleep while holding lock. None of these should actually matter, so hopefully I didn't add a new bug.
-
Deucе authored
-
Deucе authored
-
Deucе authored
- Support LCF (Last Column Flag) mode per DEC STD-070 (Despite years of protest that it's stupid) - "Properly" support CSI 7 m and CSI 27 m Now, when in "Negative Image" mode, changes to the foreground change how the background is drawn and vice-versa. Perviously this command just swapped the two values and called it good.
-
- Jun 08, 2023
-
-
Deucе authored
Fix bad and poor unicode mappings, add support for sending Insert and Pipe.
-
Deucе authored
-
Deucе authored
-
Deucе authored
Save the window position and size when we enter fullscreen, and restore when we leave... this was a bigger box of worms than expected since we can get ConfigureNotify events that tell is "Something" changed, but not be able to know the current window position. Just remove the x_get_window_info() and anything else that cares about the window position and derive it from the ALT-Enter keypress instead. At the same time, try to remove as much special-casing for fullscreen as possible. Tested under marco and xfwm4... will test under Sommelier "soon"
-