summary refs log tree commit diff
path: root/chat.h
AgeCommit message (Collapse)Author
2020-07-30Remove use of strlcatC. McEnroe
catf is not better though and should really be replaced.
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-08Add additional permission for linking with LibreSSLC. McEnroe
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
2020-05-07Mark global variables in chat.h as externMichael Forney
This fixes the build with gcc 10, which enables -fno-common by default.
2020-04-07Check ignores against idC. McEnroe
Otherwise they do not work correctly for QUIT and NICK. This also lets you ignore private messages only by putting the nick in the third field.
2020-04-07Add M-q to collapse whitespaceC. McEnroe
2020-03-31Add /ignore message filtering patternsC. McEnroe
2020-03-30Add text macrosC. McEnroe
2020-03-25Add logging functionsC. McEnroe
The mkdir dance is a bit awkward...
2020-03-23Track MODE in repliesC. 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-22Track own host, handle CHGHOSTC. McEnroe
2020-02-29Implement the causal.agency/consumer capabilityC. McEnroe
2020-02-25Add /mode, /except, /invex and handle lists repliesC. 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-16Replace a lot of snprintf with a catf implementationC. McEnroe
2020-02-16Track EXCEPTS and INVEX modesC. McEnroe
2020-02-15Replace small integers in size_t with uintC. McEnroe
2020-02-15Track PREFIX modes and CHANMODESC. McEnroe
2020-02-15Enable multi-prefixC. McEnroe
2020-02-15Separate network info from selfC. 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-13Explicitly close the TLS connectionC. McEnroe
Just to be nice.
2020-02-12Add -N flag for notificationsC. McEnroe
2020-02-13Implement source address selectionmultiplexd
This commit adds a '-S' command line option and a "bind" configuration file option to specify the source address to bind to when connecting to the IRC server.
2020-02-12Add /listC. McEnroe
2020-02-12Add C-t transposeC. McEnroe
Also in emacs, weechat.
2020-02-12Allow for arguments to open/copy utilitiesC. McEnroe
2020-02-11Add -R restricted flagC. McEnroe
2020-02-11Define ColorCap instead of hardcoding 100C. McEnroe
2020-02-11Move hash to top of chat.hC. McEnroe
2020-02-11Move base64 out of chat.hC. McEnroe
2020-02-11Move XDG_SUBDIR out of chat.hC. McEnroe
2020-02-11Declare strlcatC. McEnroe
2020-02-10Only automatically switch to expected joinsC. McEnroe
2020-02-10Factor out XDG base directory codeC. McEnroe
And add warnings to configOpen, since that's the only way to be accurate if a weird error occurs.
2020-02-10Add -s to save and load buffersC. McEnroe
2020-02-10Eliminate array in hashC. McEnroe
I expected to have to remove some arbitrary colors, but it seems like just the range 2-75 works fine.
2020-02-10Add -HC. McEnroe
2020-02-10Hash to colors in the range 2-75C. McEnroe
Colors 76-87 seem too light, some almost appearing white. Colors 88-98 are shades of gray.
2020-02-09Add /whoisC. McEnroe
2020-02-09Add C-yC. McEnroe
This is weechat's binding for it.
2020-02-09Add C-w and M-dC. McEnroe
2020-02-09Rename kill opsC. McEnroe
2020-02-09Add M-b and M-fC. McEnroe