jcs
/wallops
/amendments
Amendments on February 10, 2022
jcs made amendment
30
over 2 years ago
jcs made amendment
29
over 2 years ago
focusable: Let each dictate the minimum sleep time for WaitNextEvent
When a window is hiding in the background, we can sleep up to a whole
second
irc: Print dying gasps in irc_recv, catch nick list trailing space
An Unreal3.2.10.2 server returned a trailing space at the end of
nick lists when joining a channel, causing an infinite loop in
sorting.
jcs made amendment
26
over 2 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 2 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 2 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 2 years ago
jcs made amendment
17
over 2 years ago
jcs made amendment
16
over 2 years ago
Amendments on February 7, 2022
jcs made amendment
15
over 2 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 2 years ago
jcs made amendment
11
over 2 years ago