AmendHub

jcs

/

wallops

/

amendments

Amendments on September 16, 2024

chatter: Fix background window updates

For some reason doing TEPinScroll in a TE of a background window, in
a background tab, does not honor the clip region and draws where it's
not supposed to. Handle this by setting a flag so when we switch to
that window and tab, we'll scroll it down before updating it.
 
Also ditch the tab bar shadow and just use the per-window shadow to
do all drawing. Add a reference counter to it so all callers don't
need to figure out if they're down the chain from an update that has
already called use_shadow.
jcs made amendment 105 over 2 years ago

irc: Handle our own nick change outside of a channel

jcs made amendment 104 over 2 years ago

Amendments on September 13, 2024

main: Ensure notification is canceled on MultiFinder resume

jcs made amendment 103 over 2 years ago

irc: Define a max msg size

jcs made amendment 102 over 2 years ago

chatter: Add a static input buffer

jcs made amendment 101 over 2 years ago

chatter: Fix some annoying quirks with redrawing and input handling

If long text is typed in input_te and it starts scrolling
horizontally, when the TE is cleared and scrolled back to 0, 0, it
starts with the TE seemingly scrolled slightly over so the cursor
isn't visible. Fix this by reducing the inset margin to 0 and just
making the TE thinner.
 
Also fix the TE not getting reactivated on MultiFinder activation.
 
And finally, use the new static input buffer rather than malloc'ing
a small buffer every time.
jcs made amendment 100 over 2 years ago

Amendments on September 12, 2024

*: Add Window menu, move Hide/Show to it, add each chatter

This allows Cmd+1, Cmd+2, etc. to switch between chatter windows.
jcs made amendment 99 over 2 years ago

focusable: Assign an id to each window

jcs made amendment 98 over 2 years ago

irc: Tweak panic message, we're allocating /for/ nicks

jcs made amendment 97 over 2 years ago

chatter: Minor bugfixes

jcs made amendment 96 over 2 years ago

settings+focusable: ShowWindow and then SelectWindow

Not sure why this is suddenly needed but without it, production build
crashes trying to access the window before it's visible.
jcs made amendment 95 over 2 years ago

irc: How can we be Wallops without supporting WALLOPS

jcs made amendment 94 over 2 years ago

README: Add /{de,}{op,voice}

jcs made amendment 93 over 2 years ago

util: Disable MALLOC_DEBUG for release

jcs made amendment 92 over 2 years ago

irc: Speed up nick sorting

strcasecmp is good enough and strnatcasecmp is slow. On joining a
channel with 750 nicks, this change (plus the open slot optimization)
cuts down sync time from 62 seconds to 33 seconds. Still slow, but
channels that large aren't that common.
 
Also fix an off-by-one in detecting line capacity, and when checking
TCPStatus, also check connectionState since it won't return an
error.
jcs made amendment 91 over 2 years ago

main: Hide/Show should always be enabled

jcs made amendment 90 over 2 years ago

chatter: Pull conn out of tab during destruction

jcs made amendment 89 over 2 years ago

Amendments on September 11, 2024

irc: Implement /op, /deop, /voice, and /devoice

jcs made amendment 88 over 2 years ago

chatter: Change order of operations in close_tab

jcs made amendment 87 over 2 years ago