about summary refs log tree commit diff
path: root/chat.c (unfollow)
Commit message (Collapse)Author
2020-03-23Handle bracketed paste, including newlinesJune McEnroe
2020-03-23Allow commands to take multiline inputJune McEnroe
2020-03-23Bump edit buffer cap to 1024June McEnroe
With message splitting it's reasonable to allow this to be larger.
2020-03-23Assume worst case for unknown user and host in splitMessageJune McEnroe
The default USERLEN of 9 doesn't have a great source, the RFC only says that nicks are length 9, so my assumption is that usernames are not longer.
2020-03-22Implement message splittingJune McEnroe
2020-03-22Handle empty input directly in commandJune McEnroe
2020-03-22Track own host, handle CHGHOSTJune McEnroe
2020-03-22Add /sayJune McEnroe
2020-03-22Handle RPL_CHANNELMODEISJune McEnroe
2020-03-22Handle user mode changesJune McEnroe
2020-03-22Rewrite handleModeJune McEnroe
2020-03-18Handle RPL_UMODEISJune McEnroe
2020-03-17Send blank line after 10 minutes idleJune McEnroe
Without this, I was having catgirl "time out" from pounce's POV, but without catgirl noticing anything... I still don't understand this. Been using this fix for a couple weeks though and it stopped happening, and it's otherwise harmless, but yikes.
2020-03-09Ignore 422 ERR_NOMOTDJune McEnroe
pounce will start sending these because some silly clients don't think they're connected until some MOTD reply...
2020-03-08Set self.pos before handling the messageJune McEnroe
This intuitively feels wrong, but isn't. Most importantly, handleError immediately exits, but we still need to "consume" that message, otherwise pounce will keep sending it on reconnect. The same goes for any other handler that might cause an exit, such as a require parameter count failure.
2020-03-02Prevent entering commands in <debug> if restrictedJune McEnroe
Because the <debug> ID always exists, it's possible to create a window for it even while restricted with "/window <debug>" and try to enter commands there.
2020-02-29Implement the causal.agency/consumer capabilityJune McEnroe
2020-02-25Add raw modes to mode messageJune McEnroe
2020-02-25Handle changing setParamModes, paramModes and other channel modesJune McEnroe
2020-02-25Fix handling EXCEPTS and INVEX without valuesJune McEnroe
2020-02-25Add /mode, /except, /invex and handle lists repliesJune McEnroe
2020-02-23Accumulate mode changes into a buffer for one messageJune McEnroe
2020-02-20Handle ERR_CHANOPRIVSNEEDEDJune McEnroe
2020-02-20Handle MODE changing channel list modesJune McEnroe
2020-02-20Handle MODE setting channel prefix modesJune McEnroe
2020-02-20Just use "b" to query ban listJune McEnroe
2020-02-20Change ban list formattingJune McEnroe
2020-02-20Rearrange some handlersJune McEnroe
2020-02-20Handle RPL_INVITING when no invite-notifyJune McEnroe
2020-02-20Handle ERR_BANLISTFULLJune McEnroe
2020-02-20Add handlers for user-in-channel errorsJune McEnroe
2020-02-20Add generic error reply handlerJune McEnroe
This should have been in way earlier...
2020-02-19Add /ban, /unban and handle ban list repliesJune McEnroe
2020-02-19Format WHOIS signon date with %F %TJune McEnroe
2020-02-19Apply word wrapping to tabs before setting alignJune McEnroe
This fixes long URLs right after the initial \t being wrapped and line counted incorrectly.
2020-02-19Remove bad continues in styleParse loopsJune McEnroe
Since we're sometimes manually doing spaces that need the right styling.
2020-02-19Various small cleanup in ui.cJune McEnroe
2020-02-17Use the correct hostname in error messagemultiplexd
Previously, the remote host to which catgirl(1) is connecting was used in error reporting instead of the local bind address if the latter could not be resolved.
2020-02-17Increase buffer size to 1024June McEnroe
2020-02-17Accept Shift-M-0 through Shift-M-9 as wellJune McEnroe
This mostly just to accommodate my inverted keyboard layout.
2020-02-17Only scroll after reflow if necessaryJune McEnroe
If we've already filled up every line of the window, there is no need to scroll.
2020-02-17Scroll the window only once during reflowJune McEnroe
ncurses implements scrolling as a memmove of the array of lines pointers, which happens each time a line is added to the bottom of the window, causing a scroll. This would get noticeably slow if WindowLines were increased to just 1024. Should've used a ring buffer, I think.
2020-02-16Various small cleanupsJune McEnroe
Haven't really gone through ui.c yet.
2020-02-16Replace a lot of snprintf with a catf implementationJune McEnroe
2020-02-16Add 379 to WHOIS responsesJune McEnroe
2020-02-16Track EXCEPTS and INVEX modesJune McEnroe
2020-02-16Add RFC 1459 and modern.ircdocs.horse referencesJune McEnroe
It's ridiculous but I really am looking at all three.
2020-02-16Re-sort STANDARDS sectionJune McEnroe
Just do it by dumb alphabetic to make it easier to maintain.
2020-02-16Apply colorMentions to actionsJune McEnroe
The first-two-words branch works well for "/me verbs nick".
2020-02-15Set defaults for various types of modesJune McEnroe
These are actually from RFC 1459, since that seems to be the more likely lowest common denominator, so I should maybe it it to STANDARDS (along with ircdocs' section on ISUPPORT). RFC 2812 has a lot of stuff that isn't currently used.