summary refs log tree commit diff
AgeCommit message (Collapse)Author
2020-09-02Render one main window from buffersC. McEnroe
Still missing: split scrolling and preserving a blank on reflow either from resize or ignore toggling. Anecdata: on one of my instances of catgirl, RAM usage of the previous release was ~30M, RAM usage of this commit was ~12M.
2020-09-01Implement buffer line wrappingC. McEnroe
Not yet rendered in the UI! Just done in parallel.
2020-09-01Invert meaning of unreadHard/unreadSoft to match new buffer codeC. McEnroe
Not sure why I had named them this way. Hard means hard-wrapped.
2020-09-01Factor buffer out of uiC. McEnroe
In preparation for doing line wrapping outside of ncurses.
2020-09-01Move styleParse out of uiC. McEnroe
2020-08-21Use a static buffer for base directory pathsC. McEnroe
2020-08-20Document how cert/priv are searched forC. McEnroe
This has always been how it works, but it was previously undocumented.
2020-08-20Use configPath to load TLS cert/privC. McEnroe
2020-08-20Refactor base dir functions to iterate over pathsC. McEnroe
2020-08-18Match mentions case-sensitivelyC. 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-completeC. 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 missingC. 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.1p1C. McEnroe
2020-08-05Say for instead of withC. McEnroe
2020-08-04Mention LibreTLS in install instructionsC. McEnroe
2020-08-04Say "OpenSSL" in additional permission noticesC. McEnroe
LibreSSL is "a modified version of that library".
2020-08-03Fix --mandir rendering in READMEC. McEnroe
Fl Fl renders correctly in text but leaves a space between the hyphens in HTML output.
2020-08-02Add \banhammer macroC. McEnroe
From the Textual extras command /banhammer.
2020-08-01Check return value of asprintfC. McEnroe
On the awful operating system GNU, asprintf leaves the destination pointer UNDEFINED on failure.
2020-07-31Use ldd to automatically copy libs into chrootC. McEnroe
2020-07-31Fix path of cert.pem in chrootC. McEnroe
2020-07-31Fix chroot-man pathC. McEnroe
2020-07-30Replace catf with something that tracks lenC. McEnroe
Also the old catf would be broken with -DNDEBUG oops!
2020-07-30Remove dependency on libcrypto for compatC. McEnroe
2020-07-30Define explicit_bzero using memset_s on macOSC. McEnroe
2020-07-30Remove use of strlcatC. McEnroe
catf is not better though and should really be replaced.
2020-07-25Bump .so versions in chrootC. McEnroe
2020-07-23Support --prefix and --mandir in configure script 1.1C. McEnroe
2020-07-23Rewrite configure script for all platformsC. McEnroe
2020-07-23Remove tls_close error handlingC. 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, numWarmC. 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 editedC. McEnroe
2020-07-12Keep scrolled up windows in status lineC. McEnroe
2020-07-09Don't scan ignored messages for URLsC. McEnroe
2020-07-08Add link to "IRC Suite" post in READMEC. McEnroe
2020-07-06Avoid copying message to match if no ignores are setC. McEnroe
2020-07-06Add message to ignore patternsC. McEnroe
2020-06-25Use DisableForwarding in sshd_configC. McEnroe
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-16Color mentions up to first ": " rather than just ":"C. McEnroe
Avoids coloring everything up to a ":)".
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-12Document /quote needing /debug for outputC. McEnroe
2020-06-11Add OpenBSD to READMEC. McEnroe
2020-06-11Add warning to configure scriptC. McEnroe
2020-06-11Call static_assert by _Static_assertC. 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 LibreSSLC. McEnroe
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
2020-05-27Inherit PREFIX and MANDIR from env 1.0C. McEnroe
Oops.
2020-05-26Don't send zero-width characters to ncursesC. McEnroe
2020-05-25Define constants for window geometryC. 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 formattingC. McEnroe