AmendHub

jcs

/

subtext

/

amendments

Amendments on May 15, 2022

*: Lots of little cleanup

Remove unused variables and fix some returns
Found by compiling with Clang
jcs made amendment 101 about 1 year ago

Amendments on May 18, 2022

bile: Let negative size of marshalled field be a multiplier

Instead of just using -1, multiply the size taken from the other field
by the negative value of this size, like -4 for an array of longs with
the number of longs stored in the other field
jcs made amendment 102 about 1 year ago

Amendments on May 20, 2022

session_field_input: Add multiline support

Remove session_multiline_input since session_field_input just gets a
multiline flag. Also support backspacing at the beginning of a line
to jump back up to the end of the previous line.
jcs made amendment 103 about 1 year ago

bile: Fix function name in panic

I wish THINK C supported __func__
jcs made amendment 104 about 1 year ago

Amendments on May 23, 2022

strcasecmp: Add from OpenBSD

This could probably go in util, but keep it separate for now
jcs made amendment 105 about 1 year ago

bile: Correct size calculation in bile_unmarshall_object

The full size has already been written into the data being
unmarshalled, no need to multiply it by the field size
jcs made amendment 106 about 1 year ago

*: Lots of deck chair rearranging

Move things from db files to their respective areas
Make username map contain normal username, just do strcasecmp check
during user_find_by_username.
jcs made amendment 107 about 1 year ago

Amendments on May 24, 2022

db: Add timezone field to config

This is just for printing in timestamps and doesn't affect any
date/time calculation
jcs made amendment 108 about 1 year ago

mail: Rewrite, yet again

Implement pagination, move message actions to a sub-menu when viewing
a message by its index on the current page
jcs made amendment 110 about 1 year ago

Amendments on June 1, 2022

bile: Allow shallow unmarshalling

When quickly iterating over a bunch of objects, it's useful to be
able to avoid all the malloc/free of unmarshalling objects that have
dynamic-length strings
jcs made amendment 111 about 1 year ago

util: Pre-alloc alert ditl handle, get rid of xmallocarray

calloc does what this did, who knew?
Avoid dynamic allocation in vwarn() so errors about OOM conditions
can succeed
jcs made amendment 112 about 1 year ago

db: Try to recover databases on open failure

jcs made amendment 113 about 1 year ago

Amendments on June 2, 2022

*: Minor bug fixes, better NULL checks

jcs made amendment 114 about 1 year ago

Amendments on June 3, 2022

bile: Sync with other projects, drop bubble sort in bile_alloc

jcs made amendment 115 about 1 year ago

board: Add message boards!

jcs made amendment 116 about 1 year ago

mail: Check for session ending in menu loops

jcs made amendment 118 about 1 year ago

user_settings: Support changing usernames

jcs made amendment 119 about 1 year ago

Amendments on June 6, 2022

bile: Sync with upstream, support in-place updates

jcs made amendment 120 about 1 year ago