summary refs log tree commit diff
path: root/handle.c
AgeCommit message (Collapse)Author
2020-02-19Format WHOIS signon date with %F %TC. McEnroe
2020-02-16Replace a lot of snprintf with a catf implementationC. McEnroe
2020-02-16Add 379 to WHOIS responsesC. McEnroe
2020-02-16Track EXCEPTS and INVEX modesC. McEnroe
2020-02-16Apply colorMentions to actionsC. McEnroe
The first-two-words branch works well for "/me verbs nick".
2020-02-15Replace small integers in size_t with uintC. McEnroe
2020-02-15Still add nick without prefixes to completeC. McEnroe
2020-02-15Track PREFIX modes and CHANMODESC. McEnroe
2020-02-15Show prefixes in NAMES and WHOIS repliesC. McEnroe
2020-02-15Separate network info from selfC. McEnroe
2020-02-14Add /inviteC. McEnroe
2020-02-14Add /awayC. McEnroe
2020-02-12Only exit on errorneous nick during registrationC. McEnroe
2020-02-12Add 378 to list of WHOIS responsesC. McEnroe
It's the one (from freenode anyway) that tells you where you're connecting from.
2020-02-12Add /listC. McEnroe
2020-02-12Handle RPL_AWAYC. McEnroe
2020-02-11Rename query ID on nick changeC. McEnroe
2020-02-11Don't insert color codes for non-mentionsC. McEnroe
2020-02-11Take first two words in colorMentionsC. McEnroe
This lets phrases like "hi june" get colored, but still doesn't get carried away.
2020-02-11Set self.nick to * initiallyC. McEnroe
Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions.
2020-02-11Move base64 out of chat.hC. McEnroe
2020-02-11Fix whois idle unit calculationC. McEnroe
Rookie mistake.
2020-02-10Split on <> in colorMentionsC. McEnroe
This allows it to color the nick in the common case of pasting "<nick> something they said" into the chat. Technically it should color the brackets too but that would be too much work.
2020-02-10Only automatically switch to expected joinsC. McEnroe
2020-02-10Avoid coloring mentions if there are control codesC. McEnroe
This was breaking leading color codes.
2020-02-10Update prompt when own nick changesC. McEnroe
2020-02-09Add /whoisC. McEnroe
2020-02-09Add self.nick to completion in Network, not NoneC. McEnroe
2020-02-09Show realname on JOIN if it is different from nickC. McEnroe
2020-02-08Use fmemopen to build colored mentions stringC. McEnroe
2020-02-08Use unexpected NAMES replies to populate completeC. McEnroe
2020-02-08Color mentionsC. McEnroe
Sort of like Textual does, but only in the first part of the messaage, either before a colon or before a space. Hopefully this makes it less costly than it would be, and prevents false positives on people with common nouns for nicks.
2020-02-08Scan messages for URLsC. McEnroe
2020-02-08Only show expected topic/names repliesC. McEnroe
2020-02-08Handle KICKC. McEnroe
See I knew the color cache in complete would be useful in at least one place!
2020-02-08Handle QUITC. McEnroe
2020-02-08Handle NAMES replyC. McEnroe
2020-02-08Handle NICKC. McEnroe
2020-02-07Clear completion for ID on self-partC. McEnroe
2020-02-07Update completion on join, part, privmsgC. McEnroe
2020-02-06Color notices LightGray by defaultC. McEnroe
2020-02-06Render actions in italicC. McEnroe
Also render italic as normal if it's unsupported, as that is what would happen anyway if curses has A_ITALIC but the terminal has no sitm. That format string is kinda bad.
2020-02-06Never consider notices hotC. McEnroe
2020-02-06Handle mentionsC. McEnroe
2020-02-06Route own query messages correctlyC. McEnroe
2020-02-06Send CAP END if CAP LS doesn't list anything goodC. McEnroe
2020-02-06Handle TOPIC and repliesC. McEnroe
2020-02-06Handle PARTC. McEnroe
2020-02-06Send self.join without colonC. McEnroe
If someone is weird enough to use channel keys, they can -j '#foo key'.
2020-02-05Handle ERRORC. McEnroe