- Jan 14, 2025
-
-
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 10, 2025
-
-
Rob Swindell authored
like datestr() does.
-
- Jan 09, 2025
-
-
Rob Swindell authored
datestr() will return this string when passed a time_t value of 0.
-
Rob Swindell authored
-
- Nov 17, 2024
-
-
Rob Swindell authored
-
- Nov 15, 2024
-
-
Rob Swindell authored
Vertrauen's FTP server gets abused by QWKnet logins sometimes and handling the race conditions around QWK packet creation attempts is silly - there's no legit reason why a QWKnet account needs to be logged-in multiple times concurrently to the hub's FTP server, so reject the subsequent logins even when they're on different hosts (as is the case with Vertrauen). As part of this change: - fmutex() now takes an new time_t* argument to (optionally) store the time of the mutex file for helping logging (locked since when?). - time_as_hhmm() created to format a string as either HH:MM or HH:MM[a|p] (depending on system configuration for 12 or 24 hour time formatting). - renamed the old hhmmtostr ()to tm_as_hhmm() (since it takes a struct tm arg) and have it return a non-padded string (useful in more situations without requiring truncation) when the sysop prefers 24-hour time.
-
- Nov 01, 2024
-
-
Rob Swindell authored
For cases where we want to the verbal short date output, regardless of sysop preference/configuration.
-
- Oct 31, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
This allows us to use dstrtounix() for MM/DD/YY dates regardless of the system configuration (sysop/locale preference). This fixes issue with QWK route.dat file and door.sys (expiration date) parsing where the date is/has-to-be in MM/DD/YY format, always.
-
- Oct 30, 2024
-
-
Rob Swindell authored
"01/00/00" would get parsed/converted back to Jan-1-2000 (usually), which is usually not what we want.
-
- Oct 29, 2024
-
-
Rob Swindell authored
-
Rob Swindell authored
Although we've added (in SBBS v3.20) configurable numeric date input/display formats for the system, the output was still ambiguous for users (e.g. NN/NN/NN which could be interpretted a number of ways), so I've added an option to choose "verbal" short date formats to be displayed where possible instead. The same value separate from the numeric format (whatever the sysop chose) is used in the verbal date output, but since month name abbreviations are 3 characters, only one separator is used (to keep the output length fixed at 8 characters). The new "Verbal" short date display format is choosable in the SCFG wizard and via SCFG->System->Short Date Format.
-
- Dec 31, 2023
-
-
Rob Swindell authored
To complete the request from: Max (WESTLINE) Is it possible to do a new dateformat in scfg In sweden we using YYYY-MM-DD format as standard. The default will be '/'. Technically, any separator is possible by editing the "date_sep" value in the global section of main.ini. SCFG allows the most popular separators: /.- and space.
-
Rob Swindell authored
... and YYYY/MM/DD for birthdate input/display. Now set in SCFG->System (not toggle options) and stored in the "date_fmt" key (new) in main.ini. The old sys_misc SM_EURODATE flag is deprecated (but used to determine the default value of date_fmt when not present). As requested from: Max (WESTLINE) Is it possible to do a new dateformat in scfg In sweden we using YYYY-MM-DD format as standard.
-
- Dec 23, 2023
-
-
Rob Swindell authored
-
- Mar 29, 2022
-
-
Rob Swindell authored
Generates a "Dd Hh Mm" string from a specified number of minutes.
-
- 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
-
- 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.
-
- Nov 06, 2020
-
-
Rob Swindell authored
I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values. This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service). The new macros names are bit more descriptive as well.
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
- May 27, 2016
-
-
rswindell authored
- Never ban the server's own address - Log the login attempt and last name attempted - Use a compressed version of the HH:MM:SS "time remaining" portion of the log message
-
- Oct 25, 2011
-
-
deuce authored
-
- Oct 19, 2011
-
-
rswindell authored
all exported functions and data types using a 32-bit time_t (time32_t).
-
- Mar 20, 2009
-
-
rswindell authored
-
- Aug 14, 2007
-
-
deuce authored
Remove time32str()
-
- Jul 11, 2007
- Apr 05, 2006
-
-
rswindell authored
time-stamps.
-
- Sep 08, 2004
-
-
rswindell authored
-
- Aug 27, 2004
-
-
rswindell authored
-
- Aug 30, 2003
-
-
rswindell authored
file (msgdate) so that modules that use date_str.c will not require smblib too.
-
- Aug 28, 2003
-
-
rswindell authored
the '+' char (e.g. +0700). Fix for rfc822date(): now correctly parses (theoretical) negative timezone offsets that have a non-zero minutes field (e.g. -0430). Fix for msgdate(): all RFC822 timezones are now represented in numeric offset format (per RFC1123).
-
- Apr 18, 2003
- Nov 13, 2002
-
-
rswindell authored
variants (gmtime_r, localtime_r, and ctime_r) for thread-safe operation on Unix
-
- Sep 04, 2002
-
-
rswindell authored
-
- Apr 26, 2002
-
-
rswindell authored
-
- Apr 12, 2002
-
-
rswindell authored
Moved getfname from misc.c to dirwrap.c.
-
- Mar 13, 2002
-
-
rswindell authored
GMT/UTC.
-