jcs
/wallops
/amendments
Amendments on February 10, 2022
jcs made amendment
26
over 4 years ago
irc: Copy msg to arg[0] if it's blank
Some servers like InspIRCd-3 send a JOIN like "JOIN :#channel" instead
of "JOIN #channel" (which seems to go against RFC2812, but whatever).
chatter+irc: Rewrite nick list handling
Use a linked list to sort the array of nicks to avoid having to
shuffle around struct members on every re-sort. This also lets us
process JOINs and PARTs/QUITs on an individual nick level to just
do one corresponding list add or remove and avoid re-sorting or
reloading the entire list.
This makes it possible to join channels with many hundreds of people
in them and keep running smoothly. The initial load still takes a
while, but it works.
jcs made amendment
23
over 4 years ago
Amendments on February 8, 2022
main: Fix a logic bug in show_focusable when nfocusables=1
This may be the cause of sending a bogus focusable object after
resume.
irc: Yet another protocol rewrite, add /whois command and parsing
Instead of trying to map protocol message parts to specific things
like dest/channel/msg, just map them all to arg[0]-arg[5] and let
each command-specific printer use the args it cares about.
jcs made amendment
20
over 4 years ago
chatter: Check for TE overflow, shift out old lines
We can overflow in a few different ways, so check for all of them.
If we're about to overflow, shift out a handful of old lines before
adding new ones, but do it with a blank clipping rect so we don't get
a flashing update.
jcs made amendment
18
over 4 years ago
jcs made amendment
17
over 4 years ago
jcs made amendment
16
over 4 years ago
Amendments on February 7, 2022
jcs made amendment
15
over 4 years ago
irc: Handle /me and CTCP VERSION, move vers resource handling to util
Also try to properly send a QUIT message when we cmd+q
irc: Support IRC server passwords for automatic NickServ identification
This was much harder than it needed to be because there is no
way to have password fields in a dialog box. We are now faking it by
intercepting keystrokes on such fields and manipulating a char array
behind the scenes while just passing • characters to the TextEdit
control.
Amendments on February 6, 2022
jcs made amendment
12
over 4 years ago
jcs made amendment
11
over 4 years ago
jcs made amendment
10
over 4 years ago
chatter: Minor tweaks
Also fix about box and use WaitNextEvent since that's not the slow
point in MOTD processing
jcs made amendment
8
over 4 years ago
Amendments on February 4, 2022
chatter: Use TESelView and a wide dest rect on input box
"the Dialog Manager makes the destination rectangle extend twice as
far on the right as the view rectangle, so that horizontal scrolling
can be used in normal dialog boxes"