- Apr 06, 2020
-
-
deuce authored
Fix "CSI ["
-
deuce authored
-
rswindell authored
yesno() and noyes() methods: We need to check the argument count before using the second (optional) argument or else it has some garbage/left-over value from some previous JS function call. And no, just increasing the argument count in the method table isn't enough. :-( Reported by echicken and DaiTengu, thanks!
-
deuce authored
Still no modkey support though... cioapi doesn't currently support getting this information.
-
deuce authored
-
deuce authored
-
deuce authored
XTerm. This is what the FreeBSD console supports as well, so there's a chance this works in curses mode too. Curses is the least likely since IIRC, the curses mouse thing is insane.
-
rswindell authored
Moved some dbprintf() lines around a bit.
-
rswindell authored
It would create 3 0-byte files (*.shd, *.sdt, *.sid), but more is actually needed for a message base to be "created" (i.e. a call to smb_create()). So, MsgBase.open() now uses smb_open_sub() rather than smb_open() to initialize theSMB status fields with the proper default values (based on the sysop configuration) and calls smb_crate() if the header file is empty. Yes, normally, SCFG creates message bases, but it shouldn't have to (e.g. a fresh install on *nix, doesn't actually start with any files in data/subs) and now that we have JavaScript-based message lister/readers, we really needed this support.
-
rswindell authored
-
rswindell authored
- incomplete, it didn't account for the CLEAR @-code which is only handled here - caused side-effects in that any Baja PRINT function call with a single line that contained any ^A or @-codes would reset the console abort indication flag (SS_ABORT). Observed: hitting Ctrl-C at while executing the yesnobar.bin or noyesbar.bin would leave "Yes Yes No" on the console, for example. Solution: use the tos (top-of-screen) state before/after the call to ctrl_a() or show_atcode() to determine if the reset-abort hack should be applied.
-
rswindell authored
"No" in yesno() and noyes(), unless the P_SAVEATR mode flag was specified (which may be used for the old behavior).
-
- Apr 05, 2020
-
-
deuce authored
a body. Broken by HSTS enhancement. There's a (small) possibility that the HSTS enhancement is now broken.
-
deuce authored
-
deuce authored
While the FastCGI read_wait_timeout function should never return CGI_*_READY with CGI_PROCESS_TERMINATED, it looks like somehow on some systems, there's an additional select() happening after the process is done. Explicitly track this, and try to prevent it.
-
rswindell authored
now required.
-
deuce authored
Should fix the POST/GET hangs on the wiki once DigitalMan updates.
-
deuce authored
-
deuce authored
-
deuce authored
-
rswindell authored
-
- Apr 04, 2020
-
-
rswindell authored
-
rswindell authored
-
rswindell authored
(SMTPREVERSEPATH a.k.a. "reverse_path") if it didn't already have one. That's because smb_getmsghdr() will point the msg.reverse_path convenience pointer to the from_net_addr if there was no explicit reverse-path (e.g. RFC822's "return-path" header field). This could manifest itself in *any* change to a message header via JS failing with an "illegal header length increase" error if the added header field just happen to put the total header length over the allocation threshold of the pre-existing msg header. Fix: only model a msg header "reverse_path" property if the header field actually existed (not based on the SMBLIB convenience pointer). When the expand_fields option is used, the old behavior remains but expanded headers cannot be written back to the base, so no harm there. Reported by Coz in #synchronet from failed runs of scrubmsgs.js. Thanks!
-
rswindell authored
Apparently some USENET articles are >= 1MB these days. Thanks Coz.
-
deuce authored
-
deuce authored
-
rswindell authored
Treat \n the same as \r (next msg cmd)when reading msgs.
-
- Apr 03, 2020
-
-
rswindell authored
- don't indent keys - separate sections with a blank line (to improve readability without idents) A nice tip from Ragnarok (DOCKSUD)!
-
rswindell authored
-
rswindell authored
- msg() now returns an int (e.g. 0 for OK, non-zero otherwise) - add msgf() a printf-style version of msg() - add confirm() a printf-stle yes/no dialog (returns TRUE on "Yes"/default) - add deny() a printf-style no/yes dialog (returns TRUE on "No"/default) - add yesNoOpts to allow application to over-ride "Yes"/"No" strings.
-
rswindell authored
files were external to the executable (to conserve that precious 640KB of RAM!) Some more use of SAFEPRINTF for good mesaure.
-
rswindell authored
-
rswindell authored
Use the COPYRIGHT_NOTICE macro rather than the build year.
-
rswindell authored
-
rswindell authored
with iniReadFile() has one or more !include directives. !include directives must be followed by a space now so we don't false-match !includenotrightnowthankyouverymuch
-
deuce authored
Win32 can no longer exit() and WinExec() itself with impunity.
-
deuce authored
-
rswindell authored
White-space fix-ups in header file.
-
deuce authored
-