- Nov 18, 2020
-
-
Deon George authored
-
Deon George authored
-
- Nov 17, 2020
-
-
Deon George authored
-
- Nov 09, 2020
-
-
Deon George authored
Bring master update to date with upstream
-
Deon George authored
-
- Nov 08, 2020
-
-
Rob Swindell authored
This allows us to ignore markup codes in a string like: "/sbbs/ctrl/*cnf*"
-
Rob Swindell authored
Addresses false-positive matches in URLs (e.g. https://minftn.net/) where the second slash was being interpreted as a the beginning of an italic markup.
-
Michael Long authored
-
- Nov 07, 2020
-
-
Deon George authored
Bringing sbbs/sbbs:master into sync
-
Rob Swindell authored
-
Rob Swindell authored
In preparation for node-spy applications that can support multiple terminal sizes/types (none exist yet). The file is updated whenever there is new/updated information about the client's terminal. Exposed as JS method: console.term_updated().
-
Rob Swindell authored
The "MAIL FROM" command argument must always be enclosed in angle-brackets. Some mail servers (e.g. gmail, aol) would reject messages not delivered in this manner, e.g.: mx-aol.mail.gm0.yahoodns.net replied with: "501 Syntax error in parameters or arguments tnmpmscs" instead of the expected reply: "250 ..." gmail-smtp-in.l.google.com replied with: "555 5.5.2 Syntax error. o6si11103060plk.317 - gsmtp" instead of the expected reply: "250 ..."
-
- 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.
-
Rob Swindell authored
It kinda sorta works, but needs more love.
-
- Nov 05, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
The "insert key into keybuf" log line could contain garbage. Apparently in a release build, the nested scope stack variable is actually invalid after the end of the scope. Weird.
-
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.
-
Rob Swindell authored
This reverts commit 9fd06985.
-
Rob Swindell authored
ERROR 2 (No such file or directory) in logout.cpp line 189 (backout) opening "/sbbs/node1/backout.dab"
-
Rob Swindell authored
format '%ld' expects argument of type 'long int', but argument 7 has type '__off64_t'
-
Rob Swindell authored
'%lu' expects argument of type 'long unsigned int', but argument 5 has type 'off_t
-
Rob Swindell authored
For non-authenticated SMTP clients, if the "From:" header field contains a "name" which appears to be an email address (i.e. it has an '@' in it), and that address does not match the *actual* address in the "From:" field, reject the mail with an error message about the forged/mismatched address.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
So use check for the USE_XPDEV definition instead of CTRL_A.
-
Rob Swindell authored
This reverts commit 8223b075
-
Rob Swindell authored
This reverts commit 1e7b6626
-
- Nov 04, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
I noticed that when executing an external JS with the new "Use Shell / New Context" option set to "Yes", that any expressions (strings) installed via js.on_exit() were not being executed upon exit from the script. These on-exit strings are important for restoring global state information (e.g. control key pass-through, console mode) to the original state before the JS mod made any changes. I'm not sure why the special treatment of "scope == NULL" is through-out this function. Going back to v3.16, it appears this was special treatment for JS mods invoked via global hot key event (when scope != NULL). When invoking an xtrn JS mod with the new Context option, the scope argument is not NULL, so this check was defeating the parsing of the "exit_code" and the evaluation of any js.on_exit() installed expressions for no apparent reason. I can't think why global hot key events should be excluded from this logic either.
-
Rob Swindell authored
These are defined in xpdev/gen_defs.h, but not all xsdk doors #include that (e.g. SBJ).
-
Rob Swindell authored
Originally, the "pause on exit" was implemented in the C++ version of sbbs_t::xtrn_sec() and not sbbs_t::exec_xtrn(). This meant that the pause option was only implemented when the prgoram was invoked from the menu and not when invoked directly (e.g. via Baja or JS exec_xtrn function). When sbbs_t::xtrn_sec() was ported to JS, that functionality was also moved to JS. But it really should have been implemented in exec_xtrn() to begin with so that regardless of how the program is invoked, that SCFG setting takes effect. Thanks to Michael Long for pointing this out.
-
Rob Swindell authored
Added an "All Servers" option. Fixed the "Telnet server" (now "Terminal Server") to set the correct/modern semaphore file. Simplified the implementation of this function.
-
- Nov 03, 2020
-
-
Rob Swindell authored
Using the xtrn program section internal code protects against renumbering upon configuration changes (inserting/removing program sections). At Nelgin's suggestion/request.
-
- Nov 02, 2020
-
-
Michael Long authored
-
Deon George authored
Use \n\r instead of \x0a\x0d. Change to memcpy instead of strcmp for v2 protocol validation Change read_socket error logging to WARNING, since the resulting error is diagnosed after the call.
-
Rob Swindell authored
Error objects are much easier to trace back to the offending line of code. This was a pretty automated search/replace, so in some cases, it's a commented-out instance that was changed. I did not convert *all* the load/*.js files.
-
Rob Swindell authored
-
Rob Swindell authored
So you can do stuff (*like this*). Also, we don't need to heavily scrutinize the closing tag when we come upon it because we already determined it was valid before we accepted the opening tag/character.
-
Rob Swindell authored
-