- Dec 04, 2024
-
-
Rob Swindell authored
DDMsgReader: New user option & behavior: In a message list, when selecting/toggling a message, it can now optionally move the cursor to the next message See merge request !479
-
Eric Oulashin authored
DDMsgReader: New user option & behavior: In a message list, when selecting/toggling a message, it can now optionally move the cursor to the next message
-
Rob Swindell authored
This happened to work before commit d49134e6 since iniReadFile() didn't return false upon any read error, so File.iniSetAllObjects() didn't realize that the read of (any) existing file contents had failed (because the file was open write-only). This explains why the *.avatars.ini files were pretty much blank as of late and no networked message posters were having their avatars displayed. Reported by Codefenix (thank you). Add a print/log line to tell us how many avatars were parsed, just for extra traceability of this script and any potential failure cause.
-
Deucе authored
-
- Dec 03, 2024
-
-
Deucе authored
The plan is to hide non-standard stuff in here. Currently, just has [[maybe-unused]] from C23.
-
Deucе authored
-
Deucе authored
The intent is that this will be a library implementation of SSH which allows simple extension of the base protocol, and exposes all defined features of the protocol (including ones nobody uses). This will support both client and server, with initial focus on the client implementation for use in SyncTERM. The goal of the core library is to only support the most secure standard methods. When there are multiple methods that are not clearly of differing levels of security, the most common two will be implemented (ie: RSA and Ed25519). Additionally, care will be taken during development to allow for the OpenSSH Encrypt-then-MAC MAC modes in the expectation that someone will standardize an ETM mode at some point, and I expect to write an extension to support it soon after DeuceSSH is complete. Finally, if I cannot mitigate Terrapin without non-standard extensions, the OpenSSH "strict KEX" extension will be supported until there's a standard defined that solves the issue.
-
Rob Swindell authored
Even though we use O_EXCL, networked file systems still sometimes allow the secondary open() to succeed. We use record locking in xpdev's sopen() implementation for *nix, so this lock will insure such opens (and locks) will now fail. This is an attempt to address occassional error on Vertrauen: ERROR 2 (No such file or directory) renaming *.rep to *.bad
-
Rob Swindell authored
-
Rob Swindell authored
Return correct error value upon seek failure.
-
Rob Swindell authored
When OFD locks are available, that's what we should be using. Otherwise, we suffer the horrible behavior of POSIX file/region locks and a subsequent open/close of the file releases any/all locks on it. This is currently in an !BSD block, which appears to include macOS, but macOS *does* support OFD locks, so I'll be fixing that here shortly.
-
- Dec 02, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
"performing custom action" Normally, the sysop would set the NodeActionCustom text.dat string to override this.
-
Rob Swindell authored
-
Rob Swindell authored
This is to be used (e.g. instead of NODE_BXFR) for sysop-custom node actions.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
so that if multiple entities call these functions at the same time, they don't retry at exactly the same times.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Add/use SOCKET_STRERROR which gets the description of the *last* socket error. We should start using socket_errno(true) in place of ERROR_VALUE (horribly named macro) for comparing last socket error nubers against values/macros from errno.h. Eliminate get_socket_errno(), unused and redundant with socket_errno().
-
Rob Swindell authored
Really need to make the option order (arity) neutral
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
Addresses Clang warnings about deprecation
-
Rob Swindell authored
This fixes all the "argument unused during compliation" warnings
-
Deucе authored
This breaks armv7 FreeBSD builds. Presumably it breaks anything else where va_list isn't a pointer too... and there's no real reason to expect a va_list to be a pointer except "it's a pointer on the platform I looked at".
-
- Dec 01, 2024
-
-
Rob Swindell authored
These functions now return a common set of non-zero error values (where appropriate), defined in userdat.h Don't return errno.
-
Rob Swindell authored
getnodedat() now performs a non-locked read by default. Perform more checks of getnodedat() return value before calling putnodedat() to avoid unintentionally zeroing out node.dab records. Add/use unlocknodedat() method for unlocking a node.dab record without writing. Note: The userdat.c getnodedat() and putnodedat() still return int (i.e. 0 on success), so that can be confusing.
-
Rob Swindell authored
Since this script already sets an on_exit() handler to call uifc.bail() it doesn't have to call it again (technically, before) in the "Done" block. This results in "UIFC is unitialized" error displayed, as reported by Fernando Toledo. Fixing issue #830 Set WIN_ESC (remains active, but greyed when ESC key pressed) mode flag on main menu while we're here. That looks better.
-
Rob Swindell authored
-
Rob Swindell authored
There's no need to be unnecessarily redundant in the From header, e.g. From: "scan-admin@coverity.com" <scan-admin@coverity.com>
-
Rob Swindell authored
This fixes the display of gitlab pushes from Deucе in conforming news readers.
-
Rob Swindell authored
It's possible now for clients to easily exceed the configured max concurrent connections limit, even though they just get an error 429 page. Let's at least track and log when a new highwater mark is reached.
-
Rob Swindell authored
Some of the NNTP commands (e.g. LIST) aren't supposed to change the "currently selected newsgroup". Had to use a different variable name (e.g. mb versus msgbase) since these message base variables share the function scope). GROUP and LISTGROUP commands are supposed to set the "current article number" to the first article in the group. We weren't doing this. The HEAD, BODY, STAT, and ARTICLE commands aren't *required* to have arguments and yet, we required they had at least one argument (an article number). Now fixed. Enabled "strict mode" even though that didn't catch the colliding 'msgbase' variable definitions. Incremented the revision to 1.2
-
Rob Swindell authored
DDLightbarMenu: When clearing the remainder of the screen after drawing the menu, ensure the console attributes are reset. Also, refactored that section of code. See merge request !478
-
DDLightbarMenu: When clearing the remainder of the screen after drawing the menu, ensure the console attributes are reset. Also, refactored that section of code.
-