- Jul 18, 2019
- Jul 17, 2019
-
-
rswindell authored
-
- Jul 16, 2019
-
-
rswindell authored
-
deuce authored
-
deuce authored
- Coverity.
-
deuce authored
-
deuce authored
Found by Coverity.
-
deuce authored
bitmap_init_mode().
-
rswindell authored
JS_ValueToUint32() for converting to integers where we may need the full 32 bits.
-
rswindell authored
error (e.g. can't convert 2147745800 to an integer), so use JS_ValueToECMAUint32() rather than JS_ValueToInt32() where we possibly need a full 32-bit value.
-
rswindell authored
certain Australian timezones.
-
rswindell authored
need that internal for SSH and RLogin support of fast-logons. So, now, even if logging in via SSH or Rlogin, the sys_status SS_FASTLOGON flag will be set when the user specifies "!username-or-number" during logon and then the logon.js can use that to determine what to display (or not) to the user, during logon. The QWK logon support ("*username-or-number") is also handled in this new sbbs_t method: parse_login(). This means the fast_logon_char is no longer configurable (hard-coded to '!') and the modopts.ini options are going to be parsed by logon.js from the [logon] section (not the [login] section). You still must set fast_logon=true in the [logon] section of modopts.ini to enable the fast-logon option for users.
-
rswindell authored
MAILW#<num>, MAILP#<num>, SPAMW#<num> These codes, unlike the colon-variants, can be combined with format modifiers (e.g. -L, etc.).
-
- Jul 15, 2019
-
-
deuce authored
size that's being protected in this case, it doesn't *really* matter, but it's a technical flaw.
-
deuce authored
-
rswindell authored
Setting user.security.flags[1-4], exemptions, or restrictions to a string value would result in unexpected modified values: 1. The exiting flags were all based on the current value of flags1 (copy/paste error it appears) 2. The set/removed/added flags were all "off-by-one" because str_to_bits() treats 'A' as bit-1, not bit-0. emailval.js is now using this feature and PSI-Jack reported the "interesting" behavior. :-)
-
rswindell authored
was based on _finddata_t.attrib value while the value *written* was based on struct stat.st_mode, and totally incompatible. Just use the stat/chmod compatible value for both read and write (for all OSes). If you need the old Windows-centric attribute values (e.g. to determine "hidden" or "archive" attributes), use file_attrib() instead.
-
rswindell authored
(totally differnet bit values). So create getfmode() which is a thin wrapper for stat() and can be used to read a chmod()-comopatible value on all supported OSes.
-
rswindell authored
This function behaves the same as file_attrib() on *nix, but on Windows, file_mode() returns a *nix/stat style st_mode value (compatible with file_chmod) while file_attrib() returns the struct _finddata_t 'attrib' value, which is a quite different value (e.g. indicates Windows/DOS centric file attributes like "archive", "hidden", etc.) and is *incompatible* with file_chmod(). So if you're going to modify a file's permissions (mode), use file_mode() to read them and file_chmod() to save them. file_attrib() should really only be used on Windows and only for checking for attributes like "hidden", "archive", etc. (which don't exist on *nix).
-
rswindell authored
-
rswindell authored
"dirs" sub-dir to a sysop-defined directory-specific data directory.
-
- Jul 14, 2019
-
-
deuce authored
This fixes screen corruption with CTRL-E in 40-column modes.
-
deuce authored
change the font to CP437. This prevents weirdness since when changing *to* those modes, the font and status line setting are silently updated.
-
rswindell authored
-
rswindell authored
-
rswindell authored
write_file_cfg(). I'm pretty sure this fixes the bug introduced in r1.75 (Mar-7-2018) where it would use the directory's custom "data dir" as the parent of the sub-directory even if it was blank. So if you're like Mark Lewis and you're getting a bunch of sub-directories created in your "ctrl" directory when you save changes in SCFG, this is likely the cause. Only happened if you had both the library's "Parent Directory" and the "File Transfer Path" of the directory, blank.
-
rswindell authored
-
rswindell authored
Really only useful on *nix since Windows only allows the setting/clearing of a single mode flag: user-writeable, 0x80, 0200.
-
rswindell authored
directory's file transfer path, the array index usage here could cause a crash or just garbage to be displayed.
-
- Jul 13, 2019
- Jul 12, 2019