- 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.
-
- Dec 02, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
Addresses Clang warnings about deprecation
-
- 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
-
- Jan 01, 2024
-
-
Rob Swindell authored
-
- Jun 09, 2023
-
-
Rob Swindell authored
So Clang-FreeBSD was warning (in compiles of scfg/scfg*.c by Deuce): result of comparison of constant 100000 with expression of type 'uint16_t' (aka 'unsigned short') is always true Why? Cause a uint16_t's max value is 65535 (less than 100000). Sure we could have just lowered the UIFC max number of config items to 65535, but that would have been too easy. And why are these compared-with values of type uint16_t to begin with? Because most ctrl/*.cnf lists (of configuration items) were limited to 65535 entries cause ... 16-bit DOS, historically. Now that *.cnf files aren't used, we could just increase these scfg_t.*_total type sizes from 16 to 32-bits, yeah? The result is this commit. I went to (signed) int so we could still keep -1 as the special illegal sub/dir num value (e.g. INVALID_SUB, which is sometimes used to indicate the email message base). Theoretically, 2 billion configuration items could be supported in these lists, but SCFG will limit you to 100000 anyway. So there's a whole lot of s/uint/int in this commit. I'd be very surprised if this doesn't result in some new GCC/Clang warnings, but at least the old "comparison of constant 100000" warnings are now gone!
-
- Mar 30, 2021
-
-
Deucе authored
Still needs updates in services_thread(), CGI stuff in websrvr.c, and sbbs_t::external()
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
- Aug 04, 2019
-
-
deuce authored
support to the JS API.
-
- Feb 20, 2018
- Aug 20, 2015
-
-
deuce authored
New Features: - Multiple bindings for each service Use comma-separated interfaces on Interface= lines in the ini file. Default is now "0.0.0.0,::" - IPv6 support - TLS support for the webserver and (non-static) services New TLS option in services.ini (ie: Options=TLS) - Decrease LEN_SCAN_CMD to 35 chars, increase the CID field to 45 chars, and rename the MAIL_CMD string to IPADDR. I think this frees up the note field for SysOp use.
-
- Jun 04, 2008
-
-
deuce authored
by properly const-ifying the appropriate functions and variables. Not yet tested on Win32
-
- Aug 25, 2007
-
-
rswindell authored
-
- Jul 10, 2007
- Oct 13, 2005
- Oct 24, 2003
-
-
rswindell authored
-
- Sep 10, 2003
-
-
rswindell authored
ftp_put() now immediately fails if the file doesn't exist. ftp_put() now uses a case-insensitive file existence check/case fix.
-
- May 08, 2003
-
-
rswindell authored
unused (passing NULL).
-
- May 07, 2003
-
-
rswindell authored
Makes the poll/yield loops unnecessary.
-
- Apr 30, 2003
-
-
rswindell authored
-
- Dec 10, 2002
-
-
rswindell authored
- fixes problem with detecting bad/blank DNS server IP address.
-
- Nov 09, 2002
- Aug 27, 2002
-
-
rswindell authored
that keeps proper track of the number of open socket descriptors.
-
- Nov 26, 2001
- Nov 14, 2001
-
-
rswindell authored
-
- Oct 25, 2001
-
-
rswindell authored
-
- Oct 09, 2001
-
-
rswindell authored
This should fix the problem in the QNET-FTP module timing-out waiting for the BBS to create the QWK packet.
-
- Jun 20, 2001
-
-
rswindell authored
-
- Jun 12, 2001
-
-
rswindell authored
-