- Nov 02, 2023
-
-
Rob Swindell authored
DD Msg Reader: Mark personal email as read if the user is just reading personal email See merge request !357
-
- Nov 01, 2023
-
-
Eric Oulashin authored
-
Rob Swindell authored
Fixes issue #670
-
Rob Swindell authored
-
Rob Swindell authored
The get_lang_count(), get_lang_list(), and get_lang_desc_list() functions are more or less ported from load_cfg.c. If we ever need these in any other JS files, they should be moved to a load-lib. Re-synchronized this code with sbbs_t::maindflts(): - Don't accept keys for settings we didn't display - Remove support for Auto-Login by IP address (chopping block feature) - This is even a tad better as a translated (to another language) UserDefaultsHdr string (if/when there is one) would be displayed immediately upon a new language file being selected Fixed a bug where the user online's command shell was used as the default rather than the selected user's command shell (thisuser). Fixed a bug where 'None' was hard-coded rather than use the text.dat string. No longer needs/loads text.js (use the hard-coded string IDs in sbbs v3.20) for a little speed boost.
-
Rob Swindell authored
New method: bbs.load_user_text() to load/reload user's language file. The user's select language file (if there is one) is automatically loaded upon logon to the terminal server, but if the user changes their language (e.g. via user_settings.js), we needed a way to force re-load of the language text. This is the way. bbs.text() now accepts an optional second (bool) argument that if true, will return a string from the default language strings (in text.dat), and not a string from any alternate language files (ctrl/text.*.ini) that might've been loaded. This allows user_settings.js to always get the name of the default language string (LANG), e.g. "English".
-
Randy Sommerfeld authored
-
Rob Swindell authored
-
Rob Swindell authored
Enter key does nothing on this example menu (but usually is treated the same as INSert). Change help text to multi-line example. Happy Halloween!
-
- Oct 30, 2023
-
-
Randy Sommerfeld authored
-
Rob Swindell authored
The CTX constructor arguments weren't documented Some blind beautification via HTML tags
-
Rob Swindell authored
-
- Oct 29, 2023
-
-
Rob Swindell authored
-
Rob Swindell authored
Also clarify (or try to clarify) that the maxlen argument is required if you want to specify any kmode flags.
-
- Oct 28, 2023
-
-
Rob Swindell authored
Longer messages would cause the "Preview lines" separator line to wrap. Chasing 40 column issues is a bit of a rabbit hole, so I think I'll pause for now.
-
Rob Swindell authored
In terminals < 80 cols in width, only the message # and "from" field are shown in listings, so don't show column headings for fields that aren't shown. Display a '-' in the flag column for deleted messages (that aren't flagged). Shorten the prompt when listing msgs for terminals narrower than 64 cols (for phigz). I don't know of any systems/terminals that use 64 cols however.
-
Rob Swindell authored
dd_lightbar_menu.js: Length off-by-1 fix in substrWithAttrCodes() See merge request !354
-
-
Rob Swindell authored
DDMsgReader: Fix in reader mode for refreshing the message area after closing another window See merge request !355
-
-
Rob Swindell authored
DD Message area chooser: Lightbar mode name collapsing: Ensure the intermediate subgroup is selected See merge request !356
-
DD Message area chooser: Lightbar mode name collapsing: Ensure the intermediate subgroup is selected
-
Randy Sommerfeld authored
-
Randy Sommerfeld authored
-
- Oct 27, 2023
-
-
Rob Swindell authored
though the DEL key is still supported
-
Rob Swindell authored
For terminals that can't easily send a DEL (0x7F) character. As requested by phigz in IRC.
-
- Oct 26, 2023
-
-
Rob Swindell authored
Ragnarok (DOCKSUD) would like to use lang_COUNTRY for their language files as "I use es_AR and is exactly not same to es_ES" It's trivial to extend the length more if there's a desire to do that. That's a nice thing about the new (in v3.20) user.tab file format.
-
Rob Swindell authored
Fix issue #667 I'm not sure why these warnings just started popping up (maybe the inclusion of string in sbbs.h), but it only seems to happen in debug builds and the possible truncation is intentional.
-
Rob Swindell authored
-
Rob Swindell authored
Really, these should just be loadable modules (not loaded via text.dat @exec and global variable magic), and merged into a single module, but for now, this will do. The old yesnobar.src/bin and noyesbar mods aren't used when these .js files are in place, unless you have a copy yesnobar/noyesbar.bin in your mods dir.
-
Rob Swindell authored
And added the other new strings.
-
Rob Swindell authored
C++ Builder6 doesn't have unordered_map, so only #include those std C++ headers if/where we actually need them.
-
Rob Swindell authored
Though, with v3.20, this file isn't strictly needed, at least for new scripts, you can use bbs.text.[string_id] to get the number associated with a text.dat string, so bbs.text(bbs.text.Yes) == "Yes" (by default, for English).
-
Rob Swindell authored
-
Rob Swindell authored
Whoohoo, I'm a reel STL programmerz n0w!
-
Rob Swindell authored
DDMsgReader: Personal emails addressed to 'sysop' (or starting with 'sysop') now marked as read properly See merge request !353
-
DDMsgReader: Personal emails addressed to 'sysop' (or starting with 'sysop') now marked as read properly
-
Rob Swindell authored
error: ISO C++ forbids comparison between pointer and integer
-
Rob Swindell authored
Uses the new ctrl/text.??.ini files (just a few words translated so far). Adds the new "lang" user property (to user.tab and JS User class). The language code is the 2-3 char (e.g. ISO 639-1) abbreviation of a language. A "blank" language property value (the default), just means to use the ctrl/text.dat contents. User-selected alternate language file is loaded upon logon and in the built-in/hard-coded user default settings menu. More on the user default settings menu: - AutoLogin via IP option ('I') to make room for new (I) Language option. - The cold-keys menu option was removed to make room for Language option (via text.dat change to UserDefaultsHotKey) - Any options disabled via blank text.dat strings will no longer result in supported command keys (that could accidentally be struck with hidden consequences/effect) - The user_settings.js will need similar treatment text/menu/<lang>/* is where alternate language menu files should be stored New UserDefaultsLanguage text.dat string (inserted before new PasswordChar string).
-
Rob Swindell authored
This fixes the issue with the ContinueQ setting in ctrl/text.??.ini when attempting to use one of them to replace text.dat strings with localized text.
-