about summary refs log tree commit diff
path: root/command.c (unfollow)
Commit message (Collapse)Author
2020-03-31Replace int opt; while with for loop in sandmanJune McEnroe
2020-03-30Replace some declaration; while loops with for loopsJune McEnroe
I should have been using this for getopt loops already but the call here is slightly too long to fit on one line as a for loop.
2020-03-30Add text macrosJune McEnroe
2020-03-30Tab complete from last iswspaceJune McEnroe
2020-03-30Add /o alias for /openJune McEnroe
I can't live without it.
2020-03-29Add /op, /deop, /voice, /devoiceJune 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 logJune McEnroe
Going back to one line per mode change again because it's easier.
2020-03-25Log chat eventsJune McEnroe
Still missing is logging MODE changes, which will be hell, unless it just logs the raw stuff.
2020-03-25Add logging functionsJune McEnroe
The mkdir dance is a bit awkward...
2020-03-23Track MODE in repliesJune McEnroe
2020-03-23Fix non-multiline command newline handlingJune McEnroe
2020-03-23Add M-Enter to insert a newlineJune McEnroe
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.