/
/
/
settings.c
Amendments on January 24, 2024
jcs made amendment
580
3 months ago
Amendments on November 28, 2023
Remove half-baked view editor and cache file contents in memory.
Add a sysop menu option to reload them.
When opening the database, if the command key is held down, prevent
opening the last-opened database and prompt for a different one.
jcs made amendment
566
4 months ago
Amendments on November 17, 2023
jcs made amendment
551
5 months ago
Amendments on August 28, 2023
When hanging up the connection in the settings struct editor without
giving a response, session_menu returns 0, which we then returned
from struct_editor while setting new_config to NULL. Then we wrote
that NULL dereference as the new db config which trashed it :(
When the sesson is ending, make struct_editor return -1 and add an
explicit check in sysop_edit_settings to make sure the new config
isn't NULL.
jcs made amendment
523
8 months ago
Amendments on June 16, 2023
jcs made amendment
517
10 months ago
Amendments on March 25, 2023
jcs made amendment
444
about 1 year ago
Amendments on March 17, 2023
jcs made amendment
438
about 1 year ago
Amendments on March 14, 2023
jcs made amendment
415
about 1 year ago
Amendments on March 10, 2023
Take args for menu additions, and use numbers for struct members
instead of letters
jcs made amendment
387
about 1 year ago
Amendments on March 7, 2023
jcs made amendment
362
about 1 year ago
Amendments on March 2, 2023
jcs made amendment
345
about 1 year ago
Amendments on February 28, 2023
In session_field_input, if we have a mask character, print the
initial string with it
jcs made amendment
325
about 1 year ago
Amendments on February 5, 2023
Mostly unused variables
jcs made amendment
300
about 1 year ago
Amendments on November 18, 2022
jcs made amendment
287
about 1 year ago
Amendments on November 11, 2022
The list of action->key pairs can be edited from the console menu,
and doubles as a list of each key->label that we can print for the
default main menu shown to the user when no custom menu is defined.
jcs made amendment
281
about 1 year ago
Amendments on September 8, 2022
jcs made amendment
246
about 1 year ago
Amendments on July 31, 2022
jcs made amendment
226
about 1 year ago
Amendments on July 29, 2022
jcs made amendment
223
about 1 year ago
Amendments on July 21, 2022
Instead of free(ptr), use xfree(&ptr) and after it calls
DisposePtr(ptr), it will update ptr to point at NULL to catch
use-after-frees.
When MALLOC_DEBUG is defined, each allocation is added to a
list, and removed when freed. If it's not in the list at free
time, it's a double-free. Also, instead of pointing pointers at
NULL, point them to a pre-defined block of zeroes and in the
idle loop, periodically check that this block is still zero. This
will also catch use-after-frees in a more reliable (but costly)
way.
jcs made amendment
220
about 1 year ago
Amendments on July 19, 2022
All remaining uses of session_output_template can use session_printf
which still does {{B}} and {{/B}} parsing.
Change session_output_view to session_output_view_or_printf to make it
easier to print a view and fallback to a string, rather than having to
check the result of session_output_view everywhere.
jcs made amendment
218
about 1 year ago