- 24 Mar, 2022 1 commit
-
-
Rob Swindell authored
Credits and daily free credits are accurate to the byte up to (a maximum) of 18446744073709551615 (that's 18 Exbibytes - 1). User's upload and download byte stats are now similarly extended in maximum range, but the accuracy is only "to the byte" for values less than 10,000,000,000. Beyond that value, the accuracy declines, but is generally pretty damn accurate (to 4 decimal places beyond the nearest multiple of a power of 1024), so I don't expect that to be an issue. This method of storing upload/download byte stats allowed me to use the same 10-character user record fields in the user.dat file. As a side-effect of this enhancements: * User and file credit values are now expressed in multiples of powers of 1024 (e.g. 4.0G rather than 4,294,967,296). * Free credits per day per security level has now been extended from 32 to 64-bits (to accommodate values >= 4GB). * adjustuserrec() now longer takes the record length since we can easily determine that automatically and don't need more "sources of truth" that can be out-of-sync (e.g. the U_CDT field length going from 10 to 20 chars with this change). * setting the stage for locale-dependent thousands-separators (e.g. space instead of comma) - currently still hard-coded to comma * more/better support for files > 4GB in size (e.g. in the batch download queue) * user_t ulong fields changed to either uint32_t or uint64_t - I didn't realize how many long/ulong's remained in the code (which are sometmies 32-bit, sometimes 64-bit) - ugh * Steve's ultoac() function renamed to u32toac() and created a C++ wrapper that still uses the old name, for homage
-
- 18 Nov, 2021 1 commit
-
-
Rob Swindell authored
The internal line editor's quoting feature add some hard-coded strings ("Done" and "All") and the (L)ist key was hard-coded. Use the text.dat string (new and pre-existing) for these now. Also, use the new sbbs_t *_key() methods for referencing the configured key bindings (via text.dat) for these common key-stroke commands. Convert the text.dat strings for keys (e.g. YNQP) to uppercase always as well.
-
- 04 Apr, 2021 1 commit
-
-
Rob Swindell authored
This won't impact Synchronet as it has a separate signal handling thread, but we still need to behave properly for processes that don't. I'm also saying that ENOMEM does not indicate a disconnection, though it may be better to pretend it was disconnected...
-
- 25 Nov, 2020 2 commits
-
-
Rob Swindell authored
Testing my commit hook more than anything.
-
Rob Swindell authored
... when running DOS programs on Linux with a DOSEMU-enabled build.
-
- 05 Nov, 2020 1 commit
-
-
Rob Swindell authored
As reported by WitNik, on 32-bit rPi builds, the loop would not terminate and display transfer count down values after hitting 'H' to hang-up.
-
- 16 Aug, 2020 1 commit
-
-
Rob Swindell authored
-
- 31 Aug, 2019 1 commit
-
-
rswindell authored
-
- 02 Aug, 2019 1 commit
-
-
rswindell authored
(defauls to enabled, for backward compatibility). Added new autohang args to bbs.send_file() and bbs.receive_file() (default:true) Added support for "description" argument to bbs.send_file() as well.
-
- 10 Apr, 2019 1 commit
-
-
rswindell authored
sendfile() no longer logs "attachment" when a file description is provided.
-
- 28 Jan, 2019 1 commit
-
-
rswindell authored
(excessively long fspec/%s value).
-
- 30 Oct, 2018 1 commit
-
-
rswindell authored
now have their output translated to PETSCII equivalents for PETSCII terminals (but input is not yet translated). .seq files are now sent untranslated via printfile() and putmsg() to PETSCII terminals (using the new P_PETSCII putmsg mode flag). .seq files (and P_PETSCII mode text printed via putmsg) is now converted (poorly) from PETSCII to CP437 - this is still a work-in-progress. Remove the remants of WIP and HTMLterm support from putmsg() and printfile().
-
- 03 Aug, 2018 1 commit
-
-
rswindell authored
sbbs::lputs() will log the current user alias already, logline()->lputs() would create log messages with the user alias twice.
-
- 18 Jun, 2018 1 commit
-
-
rswindell authored
"Conditional jump or move depends on uninitialised value(s)" Thanks, Nelgin.
-
- 20 Feb, 2018 1 commit
-
-
rswindell authored
-
- 12 Jan, 2018 1 commit
-
-
rswindell authored
check the protocol.log (e.g. DSZ.LOG) for successful transfer even when the protocol was so-configured in SCFG. Fixed. Additionally, while sendfile() would return a proper boolean result based on the errorlevel returned by the protocol driver process, the log and console output would report success and statistics adjusted as though the xfer was successful, regardless.
-
- 26 Nov, 2017 3 commits
-
-
rswindell authored
-
rswindell authored
- adjusts stats (not credits) for the current logon and user - logs the download - accepts an optional "description" argument
-
rswindell authored
char, don't try to match it with a transfer protocol. When a user doesn't have a default transfer protocol selected, their "prot" property may be a space.
-
- 28 Apr, 2015 1 commit
-
-
rswindell authored
was never used. This was intended to be a method for internationalization, letting the sysop change which key is used as the uiniversal "quit" key. This commit replaces most of the uses of the hard-coded 'Q' for quit wtih the 3rd charcter in the text.dat YNQP string. Some hard-coded menus still have the 'Q' key hard-coded and will need to be addressed later. The text.h YN index macro was changed to YNQP and the JS text index variable name will change as well.
-
- 19 Oct, 2011 1 commit
-
-
rswindell authored
all exported functions and data types using a 32-bit time_t (time32_t).
-
- 21 Sep, 2011 1 commit
-
-
rswindell authored
longer (use lprintf(LOG_ERR,...) instead, which does). Added sbbs_t::hacklog() for convenience.
-
- 21 Jul, 2011 1 commit
-
-
rswindell authored
That is, if any of the following text.dat entries are set to a blank/emtpy string (by editing ctrl/text.dat or via run-time script modification), the question will not be asked of the user allowing greater sysop-customization of hard-coded processes (e.g. new user application): ClearUploadQueueQ ClearDownloadQueueQ HangUpAfterXferQ ChatWithGuruInsteadQ ForwardMailQ DownloadBatchQ LogOffQ DeleteErrorLogQ ClearErrCounter DeleteGuruLogQ AutoTerminalQ AnsiTerminalQ ColorTerminalQ ExAsciiTerminalQ CallingFromNorthAmericaQ ReadYourMailNowQ NScanAllGrpsQ SScanAllGrpsQ NewPasswordQ ContinueQ EnterYourPhoneNumber UserInfoCorrectQ UseExternalEditorQ DownloadAttachedFileQ AddSubToNewScanQ (new) RemoveFromNewScanQ DisplaySubjectsOnlyQ Post SearchExtendedQ ViewSysInfoFileQ ViewLogonMsgQ WithLineNumbersQ
-
- 12 Mar, 2010 1 commit
-
-
deuce authored
-
- 06 Mar, 2010 1 commit
-
-
rswindell authored
inserting (long) typedefs to prevent warnings, but in the case of the JS File() class, actually supporting file lengths > 32-bit.
-
- 09 Nov, 2009 1 commit
-
-
rswindell authored
-
- 11 Jun, 2009 1 commit
-
-
rswindell authored
file) case-insensitively.
-
- 20 Mar, 2009 1 commit
-
-
rswindell authored
Added HOST and IP keywords to allow restricted access/privileges to/for specific remote hostnames or IP addresses (wildcards allowed). All string-argument type ARS keywords (e.g. SHELL, PROT, etc.) now support .can style wildcards. The current remote client is now used for protocol, host, and IP ARS checking, when available, so this requires passing the client pointer around (which explains why so many files are touched by this change) and takes care of a long standing to-do item (the user's 'modem' value was used for the PROT value checking, which was not always correct).
-
- 04 Jun, 2008 1 commit
-
-
deuce authored
by properly const-ifying the appropriate functions and variables. Not yet tested on Win32
-
- 18 Jun, 2006 1 commit
-
-
rswindell authored
pointing this out).
-
- 06 Jun, 2006 1 commit
-
-
rswindell authored
equivalent of Baja SEND_FILE_VIA and RECEIVE_FILE_VIA.
-
- 28 Feb, 2006 1 commit
-
-
rswindell authored
and receive_file() - so str_cmds.js may now support ;GET and ;PUT.
-
- 31 Jan, 2006 1 commit
-
-
rswindell authored
credits, and minutes - basically wrappers for adjustuserrec().
-
- 26 Jan, 2006 1 commit
-
-
deuce authored
setting currently has no effect on Win32.
-
- 14 May, 2005 1 commit
-
-
rswindell authored
filenames with spaces in them. <sigh>
-
- 15 Jan, 2005 1 commit
-
-
rswindell authored
-
- 06 Nov, 2004 1 commit
-
-
rswindell authored
-
- 14 Oct, 2004 2 commits
-
-
rswindell authored
tracks state of local *and* remote option modes to prevent redundant requests and responses, etc. Should be very robust now.
-
rswindell authored
requests to allow differentiation between received responses (ACK/NAK) and remote option requests. This solves the problem with Kermit-95 waiting forever for a response (ACK or NAK) to its initial option requests (i.e. "Negotiate About Window Size" and "New Environment Option").
-
- 22 Aug, 2003 1 commit
-
-
rswindell authored
etc).
-