- May 04, 2019
-
-
echicken authored
Should rework how this filtering stuff is organized at some point.
-
echicken authored
Put new messages at actual bottom of frame, not just visible area when scrolling, but don't scroll down if in scrollback mode. Re-fix problem with non-string values from inputline.
-
rswindell authored
JS's console.getkeys(). If no mode value is specified, K_UPPER is the default behavior (same as before). *.getkeys() currently only recognizes the following mode flags: - K_UPPER - K_NOECHO - K_NOCRLF K_NONE (0) is also a valid value.
-
echicken authored
-
rswindell authored
declaration
-
rswindell authored
MSVC had no problem with this. <sigh>
-
rswindell authored
Use this in place of JS_GetPrivate() in native class methods that need the class instance's private data pointer and will do bad things if that pointer points to something other than what is expected. mcmlxxix (matt) discovered that using Object.apply(), you can invoke class methods where the 'this' instance is a different class. This would result in "Internal Error: No Private Data." or a crash. So now, gracefully detect this condition and report a meaningful error: "'<class-name>' instance: No Private Data or Class Mismatch" Also, important to note: if the method uses JS_THIS_OBJECT to get the JSObject* to pass to JS_Get*Private, then it must do this *before* it calls JS_SET_RVAL. From jsapi.h: * NB: there is an anti-dependency between JS_CALLEE and JS_SET_RVAL: native * methods that may inspect their callee must defer setting their return value * until after any such possible inspection. Otherwise the return value will be * inspected instead of the callee function object. The js_crypt*.c files still need this treatment.
-
- May 03, 2019
-
-
rswindell authored
the 'keys' argument is optional. If no keys are specified (or NULL), then any/ all non-numeric keys are considered valid input and may be returned by this function/method.
-
rswindell authored
as well as the auxattr "Attach" when either FILEATTACH or MIMEATTACH is set (requires an updated MsgAttr line in text.dat).
-
rswindell authored
I know... this list of %s's was a bad idea to begin with, but oh well.
-
rswindell authored
after sending via POP3 (the MSG_READ attribute flag is already indicating that).
-
rswindell authored
purpose
-
rswindell authored
-
rswindell authored
- votes - priority - delivery_attempts
-
rswindell authored
headers). Don't reference the (currently unused) times_downloaded and last_downloaded msghdr_t elements/properties. Set the current node action value *before* calling the scanposts_mod ("Scan Msgs module") in sbbs_t::scanposts().
-
rswindell authored
the (never used) SMB_PRIORITY 32-bit hfield (0 = default/highest priority), to a new fixed message header field (8-bit) following the X-Priority header field numbering scheme: 1 = highest, 3 = normal, 5 = lowest and 0 = unspecified.
-
- May 02, 2019
-
-
rswindell authored
or copy/pasted definitions (e.g. USER_ANSI)
-
rswindell authored
-
rswindell authored
or copy/pasted definitions (e.g. RFC822HEADER).
-
rswindell authored
This file should always be require()'d and not load()'d to avoid constant redefinition errors. Also added missing definitions: - FIDOCTRL - FIDOSEENBY - FIDOPATH - RFC822HEADER - SMTPRECEIVED
-
rswindell authored
userdefs.js and require() it from sbbsdefs.js, so no existing scripts that use these constants should need to change. This allows: 1. use of const over var for proper JS constant definition via require() 2. more optimal load()ing of only what you need for your script to execute
-
rswindell authored
-
echicken authored
"Nope" is not an acceptable description of available support channels.
-
rswindell authored
!JavaScript /sbbs/exec/newslink.js line 936: Error: Error -110 adding RECIPIENTADDR field to message header This is likely because we're trying to auto-detect the network-address type and failing, so just force it to NET_INTERNET here.
-
rswindell authored
-
rswindell authored
-
rswindell authored
other relevant "To" field value exists in the header. Include the X-FTN-SEEN-BY and X-FTN-PATH header fields, if present.
-
rswindell authored
-
rswindell authored
-
rswindell authored
Expanded codes will not *not* go beyond the terminal column width (minus 1). If you need the old/wrap behavior, add a "-W" modifier to your @-code. If a length value is specified with -W, it is ignored. - MSG_TO, MSG_FROM, MSG_SUBJECT now reflect the header values passed to sbbs_t::show_msghdr(), JS bbs.show_msg_header() and not necessarily the actual stored (e.g. MIME-encoded) header values. New codes: - MSG_CC - reflect a message's CC list, if it has one - DATETIMEZONE - combines DATETIME and TIMEZONE in one string
-
rswindell authored
used to display a CC list, when applicable.
-
rswindell authored
"read mail" module is executed, so that the node action is correct more often.
-
rswindell authored
-
rswindell authored
show_msghdr(), over-riding the values from the passed smbmsg_t. This is useful for, say, displaying MIME-decoded values rather than the MIME-encoded versions of the header fields that you often find in email today.
-
rswindell authored
Copy the upvotes, downvotes, and total_votes to the smbmsg_t, replicating what is done in sbbs_t::scanposts() - these are used by sbbs_t::show_msghdr() so we need to copy them if we're going to be replicating that functionality (showing up/down votes and score) in message headers shown with bbs.show_msg() and bbs.show_msg_header().
-
rswindell authored
"Upper case should be used" Compared with RFC0245 Quoted-Printable encoding: "Uppercase letters must be used" <sigh> Really.. these specs were written by the same (MIME) working-group?
-
- May 01, 2019
-
-
rswindell authored
output. Added a "include_offset" option to the generate() method.
-
rswindell authored
-
rswindell authored
converted to spaces. Stripping control chars from decoded header values too: we don't want someone getting cute w/embedded Ctrl-A codes or ANSI escape sequences.
-
rswindell authored
-