- Jun 07, 2023
-
-
Deucе authored
-
- Jun 06, 2023
-
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Rob Swindell authored
C allows char* p = '\0' (which is clearly wrong) C++ does not.
-
Rob Swindell authored
format specifies type 'unsigned short' but the argument has type 'unsigned int'
-
Rob Swindell authored
-
Rob Swindell authored
"unary minus operator applied to unsigned type, result still unsigned" Even though this same code compiled and worked as expected with GCC.
-
Rob Swindell authored
SANITIZE is not fully supported (or recommended) yet. FORTIFY will include some performance hits, but those might be offset by -O1 (which is apparently required for _FORTIFY_SOURCE to have any effect). Prevviosly, DEBUG builds used (implicit -O0). I'm building and running sbbs on Vertrauen (git.synchro.net) now with FORTIFY. Set FORTIFY=1 in your localdefs.mk if you wish to have this build option enabled persistently.
-
Deucе authored
-
Deucе authored
I'm doing builds for my jail (which doesn't have libmosquitto) on my system that does have it now, so I need to disable it manually.
-
- Jun 05, 2023
-
-
Rob Swindell authored
Mostly (all?) about unchecked return values. Unexpected failures to read or write some files could've definitely led to some weird bugs.
-
Rob Swindell authored
Don't null-deref h_addr_list. Return in_addr_t instead of u_long.
-
Rob Swindell authored
warning: ‘maxval’ may be used uninitialized warning: ‘inch’ may be used uninitialized
-
Rob Swindell authored
-
Rob Swindell authored
Don't deref a null pointer and return an in_addr_t instead of ulong.
-
Deucе authored
-
Deucе authored
Was wrong and therefore causing flickering.
-
Deucе authored
Was not using struts, and was scaling to window size, not aspect ratio size.
-
Deucе authored
Also, reset struts when not in fullscreen mode.
-
Deucе authored
GDI and X11 still can't be *started* in fullscreen mode though.
-
Deucе authored
Win32GDI currently requires two rects to be available.
-
Deucе authored
-
Deucе authored
-
Deucе authored
- Ensure last is cleared even if we manage external scaling without Xrender - Free the bitmap rectangle in the same situation - Make a copy of x_internal_scaling so it's used consistently (not mutex protected, and accessed from multiple threads)
-
Deucе authored
If there's already an outstanding rectangle when the blinker thread wants to send another one, skip it. This keeps the interface responsive at the cost of some skipped frames.
-
Deucе authored
ChromeOS (as of Jun 2023) effectivly makes PRIMARY useless. Just do the wrong thing and use CLIPBOARD instead. This makes it much more likely that SyncTERM selections will clobber CLIPBOARD unintentionally, but we have no choice... DigitalMan doesn't use X11 mode solely because ChromeOS sucks at X11.
-
Deucе authored
While we're hacking on that, make a first attempt at a generic Atom access framework. The only actual visible change that should occur here is that the window will not resize larger than will fit on the current desktop between various WM widgets (panels and menus). I've been considering this change for a while, but now that fullscreen support is present, it doesn't really take anything away.
-
- Jun 04, 2023
-
-
Deucе authored
Just use _NET_WM_STATE protocol for fullscreen... messing around with the methods is pretty painful. Because we're not messing with other stuff, we can likely remove all the code I added to prepare for this. :D Testing this really highlighted other broken bits, so a bunch of that has been fixed as well... including the bug that Ragnorok hadn't reported yet as of last time I looked (corrupted screen when maximixed).
-
Rob Swindell authored
Or even weirder, u_long? And dereffing a ulong/u_long pointer where you expect to find an IPv4 address? Yet even weirder still. Fix that spit: It appears in_addr_t is defined on all platforms (?), so use that type instead.
-
Rob Swindell authored
No known sightings of these sites actually being the location of a segfault, but as we learned from the segfaults in rblchk(), the first entry in the h_addr_list can be NULL in some cases.
-
Rob Swindell authored
-
Rob Swindell authored
I'm not sure why this one only started popping up now, but h_addr_list is a NULL-terminated list and it makes perfect sense that the first entry could be the NULL-terminator. gethostbyname is obsolete/deprecated and we should address that in a separate commit.
-
Deucе authored
-
Rob Swindell authored
-
Rob Swindell authored
A bunch of possible (but often, not really) use of undefined values. Some ignored return values (e.g. of chsize/ftruncate, read, write, fgets). Other than some added diagnostics upon some of these unexpected syscall failures, there should be no change in behavior from this commit.
-
Deucе authored
This is the last feature that SDL mode provides that X11 mode is lacking. I rarely use it myself, but it should be there.
-