summary refs log tree commit diff
path: root/handle.c
AgeCommit message (Collapse)Author
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
2020-02-05Save own username for message echoingC. McEnroe
2020-02-05Align MOTD after -C. McEnroe
2020-02-04Align join messages after nickC. McEnroe
2020-02-04Set self.colorC. McEnroe
2020-02-04Align word wrapping with tab characterC. McEnroe
Also fixes handling whitespace directly after control codes.
2020-02-03Use time_t rather than struct tmC. McEnroe
2020-02-02Remove services TODOC. McEnroe
Two goals: 1. Messages should always be routed to the same place. 2. You should be able to see your messages to *Serv and its responses together.
2020-02-02Check queries against chanTypesC. McEnroe
2020-02-02Save NETWORK, CHANTYPES, PREFIX from ISUPPORTC. McEnroe
2020-02-02Handle notices and actionsC. McEnroe
2020-02-02Add extremely basid handlePrivmsgC. McEnroe
2020-02-02Remove style string macrosC. McEnroe
2020-02-02Add idColorsC. McEnroe
2020-02-02Implement window switching and status lineC. McEnroe
2020-02-02Handle nickname errorsC. McEnroe
2020-02-02Parse time tagC. McEnroe
2020-02-01Implement the beginnings of UIC. McEnroe
It takes so much code to do anything in curses...