AmendHub

jcs

/

wallops

/

amendments

Amendments on September 16, 2024

chatter: Implement tab completion of nicks

jcs made amendment 109 2 months ago

irc: Update query nicks when they change

jcs made amendment 108 2 months ago

chatter: Use need_downscroll for resizing background tabs

s/INT_MAX/SHRT_MAX/
jcs made amendment 107 2 months ago

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 2 months ago

irc: Handle our own nick change outside of a channel

jcs made amendment 104 2 months ago

Amendments on September 13, 2024

irc: Define a max msg size

jcs made amendment 102 2 months ago

chatter: Add a static input buffer

jcs made amendment 101 2 months 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 2 months 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 2 months ago

focusable: Assign an id to each window

jcs made amendment 98 2 months ago

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

jcs made amendment 97 2 months ago

chatter: Minor bugfixes

jcs made amendment 96 2 months 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 2 months ago

irc: How can we be Wallops without supporting WALLOPS

jcs made amendment 94 2 months ago

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

jcs made amendment 93 2 months ago

util: Disable MALLOC_DEBUG for release

jcs made amendment 92 2 months 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 2 months ago