summary refs log tree commit diff
AgeCommit message (Collapse)Author
2020-09-02Reimplement split scrollingC. McEnroe
2020-09-02Fix inserting blank lines BEFORE the new messageC. McEnroe
2020-09-02Only call windowUpdate when the shown window needs updatingC. McEnroe
2020-09-02Don't consider the alignment tab a wrapping pointC. McEnroe
2020-09-02Call wclear on resizeC. McEnroe
Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window.
2020-09-02Fix line wrapping in various waysC. McEnroe
Never split a codepoint, don't set wrapping point unless we're not already wrapping, wrap on any unicode whitespace, only clear rest of line if still on the same line...
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