- Jan 14, 2025
-
-
Rob Swindell authored
uncrustify nl_split_if_one_liner setting
-
Rob Swindell authored
... using uncrustify mod_paren_on_return config
-
Rob Swindell authored
White-space changes only, exception being the rare insertion of NL before closing brace (couldn't find the option to disable that behavior). I excluded some header files (e.g. sbbs.h) since uncrustify seemed to be doing more harm than good there. I might just end up applying different set of rules to .h files.
-
- Jan 20, 2024
-
-
Rob Swindell authored
Still using BOOL where we need Win32 API compatibility. Using JSBool instead of BOOL or bool where it matters. Changed most relevant TRUE/FALSE to true/false too (though it's not as critical). You shouldn't need to #include <stdbool.h> anywhere now - gen_defs.h should do that automatically/correctly based on the language/version/tool. In C23, stdbool.h isn't even needed for bool/true/false definitions (they're keywords), so we don't bother including stdbool.h in that case. Microsoft didn't define __STDC_VERSION__ in their older tool chains (even though they were C99 compatible and had stdbool.h), so we use a _MSC_VER check to know that there's a stdbool.h we should use in that case. For other/old compilers (e.g. Borland C) we #define bool/true/false following the pattern of stdbool.h (doesn't use a typedef). I didn't convert UIFC yet. This addresses issue #698
-
- Apr 17, 2021
-
-
Rob Swindell authored
-
- Apr 04, 2021
-
-
Rob Swindell authored
This macro has expanded to nothing for a while now and even before, the usage was misguided and unnecessary as explained in this video: https://www.youtube.com/watch?v=cjotPqQxxAY
-
- Mar 04, 2021
-
-
Rob Swindell authored
There were 2 bug identified by issue #230: - the "Fwd:" prefix being added to the message subject was being treated as a filename. I first thought to just remove this subject tag, but then thought it best to just ignore obviously invalid filenames in the subject in the first place. - when forwarding files to a netmail address, the 'to' extension (user number) is 0, so the file will be in the data/file/####.out directory of the sender instead. We have 4 places (at least) where the message subjects are parsed and only one of those places currently supports quoted filenames (e.g. with spaces in them) and some of the others (e.g. QWK) don't support multiple filenames at all. That should be fixed.
-
- Dec 09, 2020
-
-
Rob Swindell authored
New JS User.stats properties: - read_mail_waiting - unread_mail_waiting - spam_waiting New @-codes: - MAILR (read mail waiting) - MAILU (unread mail waiting) And the corresponding MAILR# and MAILU# codes (for non-current user's stats). Addresses feature request #191.
-
- Nov 23, 2020
-
-
Rob Swindell authored
The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down. I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit. There is no functional change in behavior in this comment.
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
- Dec 30, 2018
-
-
rswindell authored
normal (chronological) order of the returned mail indexes.
-
- Dec 15, 2018
-
-
rswindell authored
timeout) when opening the mail base for statistics purposes. This should solve the problem of long delays during logon or sbbsctrl shutdown while mail base maintenance is being performed.
-
- Aug 03, 2018
-
-
rswindell authored
removed.
-
- Jun 10, 2018
-
-
rswindell authored
-
- Mar 10, 2018
-
-
rswindell authored
conditions) - e.g. if a malloc or realloc failed, then some other allocated memory would be leaked.
-
- Nov 15, 2017
-
-
rswindell authored
server log) using the new magic sbbs_t::lputs(). No more SSH errors if an SSH client's IP is blocked in ip.can (trying to send the block msg). New SSHConnectTimeout cfg value (in sbbs.ini [BBS]), defaults to 10 seconds. Previously, fails SSH connections could block the bbs_thread for 30 seconds (the Cryptlib default network connection timeout). Overhauled a lot of the SSH-related log output to make it less chatty and more meaningful. getmail() is now more flexibility with regards to filtering by attribute flags (not just SPAM). Allow SPAM header attribute to be toggled with sysop 'C' command.
-
- Nov 13, 2017
-
-
rswindell authored
Server via the new 'V' command from the Reading Mail prompt allows you to toggle between all mail (including SPAM, the default), SPAM only, or HAM only. Also added a new '/' (search text) command from the reading mail prompts. Mail imported before the mailsrvr added support (recently) for the MSG_SPAM attribute flag will not be counted/filtered as SPAM. SBBSecho will have a commit (next) to support the new loadmail() usage, it will not compile until then.
-
- Aug 26, 2015
-
-
rswindell authored
since that is the only file we're reading in this function. For some unkonwn reason, opening mail.sdt can sometimes take as long as 2-3 seconds when the file is on a SMB/CIFS share. This could cause calls to getmail() to stall noticeably (e.g. sbbsctrl, with the Statistics windows visible) and logging into the terminal server or viewing user statistics. This is a new problem, perhaps only with Vertrauen, but this optimization helps to eliviate the most obvious performance problems triggered by it. Better/safer string modification (e.g. use of SAFEPRINTF).
-
- Oct 24, 2012
-
-
deuce authored
I've likely broken something though, so if you see weird behaviour with extended ASCII, let me know please.
-
- Sep 10, 2011
-
-
rswindell authored
-
- Mar 06, 2010
-
-
rswindell authored
inserting (long) typedefs to prevent warnings, but in the case of the JS File() class, actually supporting file lengths > 32-bit.
-
- Mar 20, 2009
-
-
rswindell authored
-
- Jul 10, 2007
-
-
deuce authored
getlasgmsg() needs a uin32_t* as the second arg. loadmail() needs an int32_t* as the second argument. loadposts() needs an int32_t as the first argument.
-
- Mar 16, 2006
-
-
rswindell authored
-
- Sep 29, 2005
-
-
rswindell authored
-
- Sep 20, 2005
-
-
deuce authored
-
- Jan 05, 2005
-
-
rswindell authored
loadmail() change which had a trickle-up effect to the higher level functions that use loadmail().
-
- May 30, 2004
-
-
deuce authored
-
- Dec 04, 2003
-
-
rswindell authored
smb_read() will now retry the read operation if the read fails with an errno of DEADLOCK (occurs on Unix if a Win32 system has the bytes already locked).
-
- May 18, 2003
-
-
rswindell authored
-