AmendHub

jcs

/

subtext

/

amendments

/

logger.c

Amendments on February 13, 2024

logger: Add RFC3164 (BSD) syslog support

Log everything at system.notice for now
jcs made amendment 585 2 months ago

Amendments on November 8, 2023

logger: Fix text selection and copying

jcs made amendment 529 5 months ago

Amendments on May 4, 2023

session: Allow guest/signup/new logins to be mixed-case

Also use GUEST_USERNAME everywhere instead of a hard-coded "guest"
string
jcs made amendment 508 11 months ago

Amendments on April 10, 2023

logger: Shorten 'No one connected' to '0 connected'

jcs made amendment 475 about 1 year ago

Amendments on March 8, 2023

logger: Use %lu for unsigned longs

jcs made amendment 376 about 1 year ago

Amendments on March 2, 2023

logger: Handle malloc failure

jcs made amendment 341 about 1 year ago

Amendments on February 22, 2023

logger: If we have to truncate a message, indicate that

jcs made amendment 304 about 1 year ago

Amendments on February 5, 2023

*: Minor fixes found by cppcheck and scan-build

Mostly unused variables
jcs made amendment 300 about 1 year ago

Amendments on November 18, 2022

logger: Add support for resizing window

This was the hard way of fixing the problem of clicking the scrollbar
down arrow and it not generating a mouse down event because it was
where the grow control is expected to be.
jcs made amendment 288 about 1 year ago

Amendments on October 4, 2022

logger: Don't enable goAway in window

jcs made amendment 263 about 1 year ago

Amendments on October 1, 2022

logger: There will only be one, stop passing object around

This also helps at shutdown to know when we can no longer log.
jcs made amendment 261 about 1 year ago

Amendments on September 23, 2022

logger: Better TE overflow calculation, don't allow closing

jcs made amendment 256 about 1 year ago

Amendments on September 16, 2022

logger: Zero first byte of buffered_logs since strlcat needs it

jcs made amendment 254 about 1 year ago

Amendments on September 8, 2022

logger: Fix newline stripping

jcs made amendment 247 about 1 year ago

util: Sync with upstream

jcs made amendment 246 about 1 year ago

Amendments on August 14, 2022

logger: Add buffered logging, support logging without updating window

During telnet negotiation, many lines are logged in quick succession
which means we spend a lot of time updating the log TextEdit. Just
buffer these logs and spit them out all at once upon login or
disconnection, so the user's login prompt is immediately responsive.
Rename session_log to session_logf while I'm in here, to reflect that
it's a format-string function.
jcs made amendment 245 about 1 year ago

Amendments on August 11, 2022

logger: Include free heap size in titlebar

jcs made amendment 238 about 1 year ago

Amendments on July 31, 2022

*: Add malloc annotations

jcs made amendment 226 about 1 year ago

Amendments on June 24, 2022

logger: Keep title updated with some call information

jcs made amendment 174 about 1 year ago