AmendHub

jcs

/

wallops

/

amendments

/

irc.c

Amendments on December 17, 2025

irc: Minor nits

jcs made amendment 143 3 months ago

Amendments on January 14, 2025

irc: If no hint is passed to irc_add_nick_to_channel, add 10

Also show a watch cursor while we sort nicks, it'll be helpful on
big channels when it looks like we're stuck.
jcs made amendment 139 about 1 year ago

irc: Avoid checking NULL-1

jcs made amendment 138 about 1 year ago

Amendments on October 4, 2024

irc: Buffer nicks on initial join, then parse all at once

This allows us to do a single big malloc of nicks with some headroom
rather than getting nicks in chunks and having to realloc for each
batch.
jcs made amendment 137 about 1 year ago

Amendments on September 26, 2024

irc: nnicks is a long, fix format in panic

jcs made amendment 134 about 1 year ago

irc: Fix bug in reconnection

We need to move each channel to the new connection and reset its
channel_list before deallocating it, since the existing tabs are
tied to those and will be reused when we rejoin.
jcs made amendment 132 about 1 year ago

Amendments on September 24, 2024

*: Add support for Pushover notifications when screen saver is running

The API options are input in a new settings window that will
eventually add more general options.
jcs made amendment 131 about 1 year ago

Amendments on September 22, 2024

*: Support /monitor and its numerics, do better server reconnecting

Monitor commands are sent as-is to the server, but we now parse each
numeric response.
When reconnecting to a new server, don't send the initial autojoin
channels, build a list of channels based on what we're currently
joined to and then autojoin those, to reactivate each tab.
jcs made amendment 129 about 1 year ago

irc: Fix formatting of unknown CTCP messages

jcs made amendment 128 about 1 year ago

Amendments on September 20, 2024

irc: Do more comprehensive nick-highlight checking

Highlight if our nick is later in a line, but only if it has a word
boundary with a leading space and a trailing punctuation, space, or
end-of-line. Also avoid having to strlen our nick every time and do
this at connection time and nick change time.
Handle printing unknown CTCP messages.
Also do better malloc failure checking.
jcs made amendment 127 about 1 year ago

Amendments on September 18, 2024

*: Cleanup panic messages

jcs made amendment 121 about 1 year ago

irc: When using /msg, don't trigger activity in server window

We just sent the message, we don't need to be notified.
jcs made amendment 117 about 1 year ago

Amendments on September 17, 2024

chatter+irc: Support switching servers or reconnecting

Do registration after connecting so we can get the connection result
before logging in. If we fail to connect to a new server, keep the
connection to the old one.
Remove duplicate conn NULL checking.
jcs made amendment 115 about 1 year ago

Amendments on September 16, 2024

irc: Add support for /say

jcs made amendment 111 about 1 year ago

irc: Update query nicks when they change

jcs made amendment 108 about 1 year ago

irc: Handle our own nick change outside of a channel

jcs made amendment 104 about 1 year ago

Amendments on September 12, 2024

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

jcs made amendment 97 about 1 year ago

irc: How can we be Wallops without supporting WALLOPS

jcs made amendment 94 about 1 year 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 about 1 year ago

Amendments on September 11, 2024

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

jcs made amendment 88 about 1 year ago