jcs
/wallops
/amendments
/irc.c
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
128
9 months 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.
Amendments on September 18, 2024
jcs made amendment
121
9 months ago
irc: When using /msg, don't trigger activity in server window
We just sent the message, we don't need to be notified.
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.
Amendments on September 16, 2024
jcs made amendment
111
9 months ago
jcs made amendment
108
9 months ago
jcs made amendment
104
9 months ago
Amendments on September 12, 2024
jcs made amendment
97
9 months ago
jcs made amendment
94
9 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.
Amendments on September 11, 2024
jcs made amendment
88
9 months ago
irc: Cope with input buffer getting full of non-lines
This should only happen on a rogue server, but we shouldn't fall
over ourselves dealing with it.
irc: Try to detect channel name at start of commands, various fixes
If the user types "/topic #channel blah", detect "#channel" and use
that as the channel name rather than the current tab channel.
Also fix up some things around channel mode handling, especially when
using +k since there's a space in it between the mode and key.
*: Implement selective ignoring of certain events like joins and quits
On a small screen in a busy channel, having a screenful of nothing
but joins and quits is pretty annoying, so make it easy to turn them
off and on globally.
Amendments on September 10, 2024
jcs made amendment
79
9 months ago
jcs made amendment
76
9 months ago
jcs made amendment
75
9 months ago
Amendments on September 9, 2024
irc: Pass count of nicks in batch to irc_add_nick_to_channel
This lets it do a malloc of the full count of the line, rather than
having to realloc it 5 at a time.
Also implement 333 and 475 and show non-server notices properly.