- Feb 14, 2024
-
-
Rob Swindell authored
Commit 75c5c9e5 was initially to address server termination (sisue #236), but expanded in scope to include server recycling (e.g. due to semaphore/config file touch) and that turns out to not be what most sysops want. If you want an immediate/ungraceful recycle, do a restart (shutdown/stop and then start) instead. Immediate/ungraceful server shutdown/termination is still in effect however. No change to the "server pause" feature either, so combining pause with recycle would be effective to prevent *new* client connections while waiting for existing clients to disconnect and allow a recycle to happen.
-
Rob Swindell authored
Commit d1182efc
-
Rob Swindell authored
-
Rob Swindell authored
(or terminating) the server. This will allow background JS threads to terminate when recycling, so the server doesn't just hang indefinitelyi when recycling. Add more logging in cleanup() when waiting for children threads to terminate. Also, eliminate the global 'terminate' variable, answering the question: Can this be changed to a if(ws_set!=NULL) check instead? Yes, yes it can.
-
Rob Swindell authored
e.g. month and day reversed
-
Rob Swindell authored
Updated help text for "Support UTF-8 Encoding" for external editors.
-
Rob Swindell authored
1. Add an 8th line to MSGINF (for SlyEdit): the character set expected (either "CP437", the default, or "UTF-8") based on the SCFG configuration 2. Don't apply "Soft-CR" (0x8D) stripping/expansion for UTF-8 editors
-
Rob Swindell authored
*This* is the way. Oops.
-
Rob Swindell authored
This is the way.
-
Rob Swindell authored
-
Rob Swindell authored
This was the auto/default mode before commit 2ca1e4a0 If you really want the VGA aspect ratio, use the '-v41' option.
-
- Feb 13, 2024
-
-
Deucе authored
dirty = true propogates up, dirty = false propogates down.
-
Rob Swindell authored
-
Deucе authored
Since we're modifying cryptlib anyway, we can't just dlopen any old cryptlib library. Require linking with the lib. This will break the MSVC build, so disable that for now.
-
Deucе authored
-
Deucе authored
than err_len containing garbage. Handle the error and mention we didn't get the message. While we're here, check the return value of malloc().
-
Deucе authored
Given how patched up cryptlib is at this point, this is all likely to go away and just use the static lib in the nearish future.
-
Deucе authored
-
Rob Swindell authored
If call to GetAttributeString() fails, err_len can contain garbage.
-
- Feb 12, 2024
-
-
Deucе authored
-
Deucе authored
-
Deucе authored
that we're setting all the values anymore. :(
-
Deucе authored
wrong, do c_cc the stupid (but POSIXly correct) way with a billion supporting.
-
Deucе authored
-
Rob Swindell authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
Monster.
-
Rob Swindell authored
This bug caused crashes in the Windows build of sbbs when using the ;spy sysop command with MQTT enabled. Memory that is allocated in one DLL (e.g. sbbs.dll) must be freed in that same DLL (e.g. sbbs.dll, not mosquitto.dll). mosquitto_message_free() here frees the msg pointer, but we didn't allocate it in mosquitto.dll in the first place, so that's wrong. The proper mosquitto function to use in this case is mosquitto_message_free_contents().
-
- Feb 11, 2024
-
-
Rob Swindell authored
Debug project was already set this way.
-
Deucе authored
cast all the const buffers before passing them in and rely on runtime crashes to find bugs rather than compile-time errors. Thanks Microsoft. :D
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
The alternative is to explicitly copy/paste the type everywhere forcing the compiler to do the only thing it could possibly do, and making it painful to change a type later. Honestly, in my opinion, these warnings should just be disabled completely everywhere.
-
Deucе authored
-
Deucе authored
-
Deucе authored
-
Deucе authored
Found by MSVC
-