about summary refs log tree commit diff
path: root/chat.c (follow)
Commit message (Collapse)AuthorAge
...
* Use configPath to load TLS cert/privJune McEnroe2020-08-20
|
* Say "OpenSSL" in additional permission noticesJune McEnroe2020-08-04
| | | | LibreSSL is "a modified version of that library".
* Bump ParamCap to 254June McEnroe2020-06-24
| | | | | | | | | | | | 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.
* Add additional permission for linking with LibreSSLJune McEnroe2020-06-08
| | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
* Revert "Send blank line after 10 minutes idle"June McEnroe2020-05-18
| | | | | | This reverts commit 1d5c4a5e346f0a295818441eb37697be283130ec. This is fixed instead by pounce using TCP keepalive.
* Use a for loop for getoptJune McEnroe2020-04-02
|
* Generate short option string with a loopJune McEnroe2020-04-02
| | | | | Also change the way option structs are initialized so that the array sorts the same way as the switch statement.
* Add /ignore message filtering patternsJune McEnroe2020-03-31
|
* Replace some declaration; while loops with for loopsJune McEnroe2020-03-30
| | | | | 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.
* Add text macrosJune McEnroe2020-03-30
|
* Add logging functionsJune McEnroe2020-03-25
| | | | The mkdir dance is a bit awkward...
* Assume worst case for unknown user and host in splitMessageJune McEnroe2020-03-23
| | | | | | 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.
* Send blank line after 10 minutes idleJune McEnroe2020-03-17
| | | | | | | 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.
* Various small cleanupsJune McEnroe2020-02-16
| | | | Haven't really gone through ui.c yet.
* Set defaults for various types of modesJune McEnroe2020-02-15
| | | | | | | 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.
* Replace small integers in size_t with uintJune McEnroe2020-02-15
|
* Separate network info from selfJune McEnroe2020-02-15
|
* Add /execJune McEnroe2020-02-13
|
* Rename procPipe to utilPipeJune McEnroe2020-02-13
|
* Add -g for generating certificatesJune McEnroe2020-02-13
| | | | Copied from pounce.
* Explicitly close the TLS connectionJune McEnroe2020-02-13
| | | | Just to be nice.
* Add -N flag for notificationsJune McEnroe2020-02-12
|
* Implement source address selectionmultiplexd2020-02-13
| | | | | | 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.
* Allow for arguments to open/copy utilitiesJune McEnroe2020-02-12
|
* Add -R restricted flagJune McEnroe2020-02-11
|
* Add startup GPLv3 note and URLJune McEnroe2020-02-11
| | | | I am a degenerate.
* Set self.nick to * initiallyJune McEnroe2020-02-11
| | | | | | | Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions.
* Synthesize a QUIT message to handle on exitJune McEnroe2020-02-10
| | | | So that the end of a saved buffer contains the self quit.
* Factor out XDG base directory codeJune McEnroe2020-02-10
| | | | | And add warnings to configOpen, since that's the only way to be accurate if a weird error occurs.
* Add -s to save and load buffersJune McEnroe2020-02-10
|
* Add -HJune McEnroe2020-02-10
|
* Add /helpJune McEnroe2020-02-09
| | | | Now with automatic search! Also had to fix the SIGCHLD handling...
* Add /copyJune McEnroe2020-02-08
|
* Allow overriding the /open utilityJune McEnroe2020-02-08
|
* Set FDs CLOEXECJune McEnroe2020-02-08
|
* Add procPipe for subprocessesJune McEnroe2020-02-08
|
* Handle SIGCHLDJune McEnroe2020-02-08
|
* Check signals after file descriptorsJune McEnroe2020-02-08
| | | | | If a signal happens while processing an FD, it should be handled immediately, rather than waiting for another poll return.
* Populate completion with commandsJune McEnroe2020-02-07
|
* Search for cert and priv in config dirsJune McEnroe2020-02-06
|
* Handle errors from getoptJune McEnroe2020-02-05
|
* Use getopt_config to load optionsJune McEnroe2020-02-05
| | | | I'm really getting a lot of use out of this config.c huh.
* Add /quitJune McEnroe2020-02-05
|
* Fix SIGWINCH handlingJune McEnroe2020-02-05
| | | | curses is dumb.
* Reflow text on window resizeJune McEnroe2020-02-05
|
* Split showing style codes and word wrappingJune McEnroe2020-02-04
|
* Only check revents if nfds > 0June McEnroe2020-02-04
| | | | If an error occurs, poll leaves the array unmodified.
* Handle signals in poll loopJune McEnroe2020-02-04
|
* Add beginnings of input handlingJune McEnroe2020-02-04
|
* Save NETWORK, CHANTYPES, PREFIX from ISUPPORTJune McEnroe2020-02-02
|