summary refs log tree commit diff
path: root/command.c
AgeCommit message (Collapse)Author
2020-08-04Say "OpenSSL" in additional permission noticesC. McEnroe
LibreSSL is "a modified version of that library".
2020-06-24Bump ParamCap to 254C. McEnroe
Apparently IRCds have decided that the 15-parameter limit doesn't matter anymore. 254 is the maximum number of single-byte parameters (following a single-byte command) which fit in a 512-byte CR-LF-terminated line. When everyone decides that the 512-byte line length limit doesn't matter either, I will delete my software and people can use some JavaScript garbage instead. This makes struct Message 2080 bytes, but there's only ever one or two of them around at once. Avoid passing it by value to handle.
2020-06-15Add null terminator to modes in channelListModeC. McEnroe
Otherwise passing more than 13 parameters reads past the end of the array.
2020-06-08Add additional permission for linking with LibreSSLC. McEnroe
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
2020-04-06Voice, devoice self on /voice, /devoice with no paramsC. McEnroe
2020-04-06Op, deop self on /op, /deop without paramsC. McEnroe
2020-04-03Use gnu-case-range and gnu-conditional-omitted-operand extensionsC. McEnroe
I'm sad to do this but I just can't stand writing (foo ? foo : bar) anymore.
2020-04-03Only treat /open param as count if single digitC. McEnroe
2020-03-31Add /ignore message filtering patternsC. McEnroe
2020-03-30Add text macrosC. McEnroe
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-23Track MODE in repliesC. McEnroe
2020-03-23Fix non-multiline command newline handlingC. McEnroe
2020-03-23Allow commands to take multiline inputC. McEnroe
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-22Add /sayC. McEnroe
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-25Add /mode, /except, /invex and handle lists repliesC. McEnroe
2020-02-20Just use "b" to query ban listC. McEnroe
2020-02-19Add /ban, /unban and handle ban list repliesC. McEnroe
2020-02-16Various small cleanupsC. McEnroe
Haven't really gone through ui.c yet.
2020-02-15Replace small integers in size_t with uintC. McEnroe
2020-02-15Add /ns and /csC. McEnroe
2020-02-14Add /kickC. McEnroe
2020-02-14Add /inviteC. McEnroe
2020-02-14Add /awayC. McEnroe
2020-02-13Add /execC. McEnroe
2020-02-13Rename procPipe to utilPipeC. McEnroe
2020-02-13Refactor windows into array and add /moveC. McEnroe
Oof.
2020-02-12Add /listC. McEnroe
2020-02-11Add -R restricted flagC. McEnroe
2020-02-10Only automatically switch to expected joinsC. McEnroe
2020-02-10Delegate to commandPrivmsg from commandMsgC. McEnroe
2020-02-09Add /whoisC. McEnroe
2020-02-09Add /msgC. McEnroe
Services tend to tell you to use /msg so it definitely needs to exist.
2020-02-09Add /helpC. McEnroe
Now with automatic search! Also had to fix the SIGCHLD handling...
2020-02-08Trim whitespace from both ends of command paramsC. McEnroe
2020-02-08Add /copyC. McEnroe
2020-02-08Scan messages for URLsC. McEnroe
2020-02-08Add /topicC. McEnroe
2020-02-08Add /namesC. McEnroe
2020-02-08Only show expected topic/names repliesC. McEnroe
2020-02-08Add /debugC. McEnroe
2020-02-08Add /closeC. McEnroe
2020-02-08Add /queryC. McEnroe
2020-02-08Add /partC. McEnroe
2020-02-08Add /nickC. McEnroe