AmendHub

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 129 9 months ago

irc: Fix formatting of unknown CTCP messages

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.
jcs made amendment 127 9 months ago

Amendments on September 18, 2024

*: Cleanup panic messages

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.
jcs made amendment 117 9 months 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 9 months ago

Amendments on September 16, 2024

irc: Add support for /say

jcs made amendment 111 9 months ago

irc: Update query nicks when they change

jcs made amendment 108 9 months ago

irc: Handle our own nick change outside of a channel

jcs made amendment 104 9 months ago

Amendments on September 12, 2024

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

jcs made amendment 97 9 months ago

irc: How can we be Wallops without supporting WALLOPS

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.
jcs made amendment 91 9 months ago

Amendments on September 11, 2024

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

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.
jcs made amendment 84 9 months ago

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.
jcs made amendment 81 9 months ago

*: 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.
jcs made amendment 80 9 months ago

Amendments on September 10, 2024

irc: Implement /mode and /umode

jcs made amendment 79 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.
jcs made amendment 73 9 months ago