- Sep 06, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
This is a "forever bug". I guess at one time I stored each file's extended description in a separate file? I don't know, but this remove() call is clearly wrong.
-
- Sep 05, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
So we can display ¯\_(ツ)_/¯ in ASCII. It's really important.
-
Rob Swindell authored
Also optimization of spinning cursor: don't call strlen() for each spin
-
- Sep 04, 2020
-
-
Stephen Hurd authored
-
Rob Swindell authored
-
Rob Swindell authored
Inspired by the cool progress cursor displayed by 'git-size', the spinning cursors in the Synchronet terminal server are now configurable via text.dat strings (SpinningCursor0 - 9), no maximum length. Increased the cursor "spin" rate from 4 to 5 times per second. The first character of the spin pattern is chosen at random between 0 and 4 but the direction of increment is also from left to right.
-
Rob Swindell authored
-
Rob Swindell authored
- as requested (and insured) by Nelgin
-
- Aug 30, 2020
-
-
Rob Swindell authored
One can't have too many semicolons.
-
Rob Swindell authored
Rather than introduce yet-another-external-program/config flag to enable the "new JS run-time/context" per invocation of any particular JS command, I'm using the XTRN/EX_SH ("Use Shell") option as it had no function for JavaScript command-lines and the concept is similar. So if you want to invoke a JS external program/timed-event in its own "sandbox", enable the "Use Shell / New Context" option for that program/command in SCFG. There may be performance penalties when running JS mods in this way, but you get the benefit of isolating one JS module from all others, if/when necessary.
-
Rob Swindell authored
So revert the order back to the way it was in aa2bcd61 (don't you love these git references?). Also, the previous fix for js_execfile() calls for global hot-key events also fixed the EX_JS_CX feature I was working on (js_execmodule)!
-
Rob Swindell authored
Add another "get cryptlib error string" (at least, that's what I assume GCES stands for) that allows the log level to be specified, rather than derived from Cryptlib thinks the log level should be. Do this rather than adding one (lowering the severity) of every cryptlib log message as I did in the previous commit to this file.
-
Rob Swindell authored
As reported by Ragnarok and The Lizard Master, invoking a JS global hot-key handler (e.g. hitting Ctrl-U or Ctrl-P with the privatemsg or nodelist modules installed as handlers) would lead to the global object being cleared/corrupted so other scripts would then fail to run correctly (e.g. Error: can't open sbbsdefs.js: No such file or directory) This probably explains the JS_GC/JS_ENDREQUEST change needed when the hotkey-specific JS runtime/context/scope was introduced last year. Should revisit that too.
-
- Aug 29, 2020
-
-
Rob Swindell authored
(e.g. errors become warnings) - I'm tired of seeing this in my error.log every day: SEND/TLS ... ERROR 'Received TLS alert message: Handshake failure' (-15) setting session active
-
Rob Swindell authored
Fix problem introduced in b1ecd9b6 (August 8, 2019) When sbbs_t::printfile() is used to display a file that is < 2MB in size and the P_OPENCLOSE mode flag was not specified, the file is read and displayed one line at a time. This allows for the quick display of very large files. This was accomlished by calling sbbs_t::putmsg() for each line. Unfortunately, putmsg() would save and restore console mode flags like the auto-screen pause control flags stored in sbbs_t::sys_misc so this would render some features like the POFF @-code, inoperable. This problem was reported by WitNik with files displayed from Bulleeye! Bulletins. Other issues were discovered with the WORDWRAP/WRAPOFF @-codes. Fixed with the addition of sbbs_t::putmsgfrag() which is used by printfile() to display a message fragment (one line) without saving/restoring console state flags.
-
- Aug 26, 2020
-
-
Rob Swindell authored
And fix Debug build error (/ZI) and warning (/Gm)
-
- Aug 24, 2020
-
- Aug 23, 2020
-
-
Rob Swindell authored
Also replaced some unsafe str function calls with safe(r) ones.
-
Rob Swindell authored
gtkmonitor.c:156:79: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] sprintf(str,"%-2d SL: %-2d F1: %s",i,cfg.val_level[i],ltoaf(cfg.val_flags1[i],flags)); ~~~~~~~~~~~~~~^~~ gtkmonitor.c:151:2: note: within this loop for(i=1; i<=10; i++) { ^~~
-
Rob Swindell authored
-
Rob Swindell authored
-
- Aug 22, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
- Aug 18, 2020
-
-
Curses mode does not allow you to control the mode. This should fix mysterious and hard-to-pin-down UIFC MONO mode.
-
Deucе authored
This allows get_cterm_size() to return a likely correct value even if there actually is no cterm instance to get the size of.
-
Rob Swindell authored
-
Deucе authored
Curses mode does not allow you to control the mode. This should fix mysterious and hard-to-pin-down UIFC MONO mode.
-
- Aug 17, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
-
- Aug 16, 2020
-
-
Rob Swindell authored
If jsexec is used for a CGI script and the SBBSCTRL env var was not set, a warning would be printed (to stderr), even if the -c option was used to specify the path to the ctrl dir. get_ctrl_dir() now accepts a boolean argument to specify whether to print a warning when the default value ("/sbbs/ctrl") is used. Pass FALSE for jsexec, TRUE for other callers (currently).
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
-