about summary refs log tree commit diff
path: root/buffer.c (unfollow)
Commit message (Collapse)Author
2020-09-01Factor buffer out of uiJune McEnroe
In preparation for doing line wrapping outside of ncurses.
2020-09-01Move styleParse out of uiJune McEnroe
2020-08-21Use a static buffer for base directory pathsJune McEnroe
2020-08-20Document how cert/priv are searched forJune McEnroe
This has always been how it works, but it was previously undocumented.
2020-08-20Use configPath to load TLS cert/privJune McEnroe
2020-08-20Refactor base dir functions to iterate over pathsJune McEnroe
2020-08-18Match mentions case-sensitivelyJune McEnroe
The mention coloring code already matches case-sensitively, and any proper ping should be using tab-complete anyway so there's no reason for differing case. And the month of June should not ping me.
2020-08-18Preserve colon from previous tab-completeJune McEnroe
This fixes the case when pinging multiple nicks and one of them needs to be cycled through.
2020-08-16Set origin fields to "*" if missingJune McEnroe
Also determine if a message is from the server by if the host field has been copied from the nick field. EFNet sends NOTICEs with no origin during registration. RFC 1459 has this to say: > If the prefix is missing from the message, it is assumed to have > originated from the connection from which it was received. I suppose a more correct implementation would be to set the origin to the hostname of the server, but we don't store that globally, so this is good enough.
2020-08-06Set OPENSSL_BIN to /usr/bin/openssl on FreeBSD 1.1p1June McEnroe
2020-08-05Say for instead of withJune McEnroe
2020-08-04Mention LibreTLS in install instructionsJune McEnroe
2020-08-04Say "OpenSSL" in additional permission noticesJune McEnroe
LibreSSL is "a modified version of that library".
2020-08-03Fix --mandir rendering in READMEJune McEnroe
Fl Fl renders correctly in text but leaves a space between the hyphens in HTML output.
2020-08-02Add \banhammer macroJune McEnroe
From the Textual extras command /banhammer.
2020-08-01Check return value of asprintfJune McEnroe
On the awful operating system GNU, asprintf leaves the destination pointer UNDEFINED on failure.
2020-07-31Use ldd to automatically copy libs into chrootJune McEnroe
2020-07-31Fix path of cert.pem in chrootJune McEnroe
2020-07-31Fix chroot-man pathJune McEnroe
2020-07-30Replace catf with something that tracks lenJune McEnroe
Also the old catf would be broken with -DNDEBUG oops!
2020-07-30Remove dependency on libcrypto for compatJune McEnroe
2020-07-30Define explicit_bzero using memset_s on macOSJune McEnroe
2020-07-30Remove use of strlcatJune McEnroe
catf is not better though and should really be replaced.
2020-07-25Bump .so versions in chrootJune McEnroe
2020-07-23Support --prefix and --mandir in configure script 1.1June McEnroe
2020-07-23Rewrite configure script for all platformsJune McEnroe
2020-07-23Remove tls_close error handlingJune McEnroe
It seems that sometimes tls_close returns non-zero but tls_error returns a null string... We're exiting anyway, so just ignore it.
2020-07-23Initialize numHot, numWarmJune McEnroe
For some reason gcc thinks that numWarm might be used uninitialized. It's fine with numHot though, strangely.
2020-07-13Add current topic to tab-complete so it can editedJune McEnroe
2020-07-12Keep scrolled up windows in status lineJune McEnroe
2020-07-09Don't scan ignored messages for URLsJune McEnroe
2020-07-08Add link to "IRC Suite" post in READMEJune McEnroe
2020-07-06Avoid copying message to match if no ignores are setJune McEnroe
2020-07-06Add message to ignore patternsJune McEnroe
2020-06-25Use DisableForwarding in sshd_configJune McEnroe
2020-06-24Bump ParamCap to 254June 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-16Color mentions up to first ": " rather than just ":"June McEnroe
Avoids coloring everything up to a ":)".
2020-06-15Add null terminator to modes in channelListModeJune McEnroe
Otherwise passing more than 13 parameters reads past the end of the array.
2020-06-12Document /quote needing /debug for outputJune McEnroe
2020-06-11Add OpenBSD to READMEJune McEnroe
2020-06-11Add warning to configure scriptJune McEnroe
2020-06-11Call static_assert by _Static_assertJune McEnroe
OpenBSD assert.h does not #define static_assert, and this is the only thing that prevents catgirl from compiling without any issues there.
2020-06-08Add additional permission for linking with LibreSSLJune McEnroe
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
2020-05-27Inherit PREFIX and MANDIR from env 1.0June McEnroe
Oops.
2020-05-26Don't send zero-width characters to ncursesJune McEnroe
2020-05-25Define constants for window geometryJune McEnroe
Also fixes uiDraw so that the split lines and marker don't overlap the main window, although that wasn't causing any real problems.
2020-05-24Tweak status line formattingJune McEnroe
2020-05-23Don't compress man page or use configure on FreeBSDJune McEnroe
Also use DESTDIR in install.
2020-05-18Revert "Send blank line after 10 minutes idle"June McEnroe
This reverts commit 1d5c4a5e346f0a295818441eb37697be283130ec. This is fixed instead by pounce using TCP keepalive.
2020-05-14Fix page scrolling distance for SplitLinesJune McEnroe