summary refs log tree commit diff
AgeCommit message (Collapse)Author
2020-03-30Add /o alias for /openC. McEnroe
I can't live without it.
2020-03-29Add /op, /deop, /voice, /devoiceC. McEnroe
This collides with using /o for /open which I'm sad about, but I think these commands should exist...
2020-03-28Rewrite mode formatting again and write to logC. McEnroe
Going back to one line per mode change again because it's easier.
2020-03-25Log chat eventsC. McEnroe
Still missing is logging MODE changes, which will be hell, unless it just logs the raw stuff.
2020-03-25Add logging functionsC. McEnroe
The mkdir dance is a bit awkward...
2020-03-23Track MODE in repliesC. McEnroe
2020-03-23Fix non-multiline command newline handlingC. McEnroe
2020-03-23Add M-Enter to insert a newlineC. McEnroe
2020-03-23Handle bracketed paste, including newlinesC. McEnroe
2020-03-23Allow commands to take multiline inputC. McEnroe
2020-03-23Bump edit buffer cap to 1024C. McEnroe
With message splitting it's reasonable to allow this to be larger.
2020-03-23Assume worst case for unknown user and host in splitMessageC. 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 splittingC. McEnroe
2020-03-22Handle empty input directly in commandC. McEnroe
2020-03-22Track own host, handle CHGHOSTC. McEnroe
2020-03-22Add /sayC. McEnroe
2020-03-22Handle RPL_CHANNELMODEISC. McEnroe
2020-03-22Handle user mode changesC. McEnroe
2020-03-22Rewrite handleModeC. McEnroe
2020-03-18Handle RPL_UMODEISC. McEnroe
2020-03-17Send blank line after 10 minutes idleC. 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_NOMOTDC. 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 messageC. 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 restrictedC. 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 capabilityC. McEnroe
2020-02-25Add raw modes to mode messageC. McEnroe
2020-02-25Handle changing setParamModes, paramModes and other channel modesC. McEnroe
2020-02-25Fix handling EXCEPTS and INVEX without valuesC. McEnroe
2020-02-25Add /mode, /except, /invex and handle lists repliesC. McEnroe
2020-02-23Accumulate mode changes into a buffer for one messageC. McEnroe
2020-02-20Handle ERR_CHANOPRIVSNEEDEDC. McEnroe
2020-02-20Handle MODE changing channel list modesC. McEnroe
2020-02-20Handle MODE setting channel prefix modesC. McEnroe
2020-02-20Just use "b" to query ban listC. McEnroe
2020-02-20Change ban list formattingC. McEnroe
2020-02-20Rearrange some handlersC. McEnroe
2020-02-20Handle RPL_INVITING when no invite-notifyC. McEnroe
2020-02-20Handle ERR_BANLISTFULLC. McEnroe
2020-02-20Add handlers for user-in-channel errorsC. McEnroe
2020-02-20Add generic error reply handlerC. McEnroe
This should have been in way earlier...
2020-02-19Add /ban, /unban and handle ban list repliesC. McEnroe
2020-02-19Format WHOIS signon date with %F %TC. McEnroe
2020-02-19Apply word wrapping to tabs before setting alignC. McEnroe
This fixes long URLs right after the initial \t being wrapped and line counted incorrectly.
2020-02-19Remove bad continues in styleParse loopsC. McEnroe
Since we're sometimes manually doing spaces that need the right styling.
2020-02-19Various small cleanup in ui.cC. 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 1024C. McEnroe
2020-02-17Accept Shift-M-0 through Shift-M-9 as wellC. McEnroe
This mostly just to accommodate my inverted keyboard layout.
2020-02-17Only scroll after reflow if necessaryC. 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 reflowC. 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.