about summary refs log tree commit diff
path: root/irc.c (unfollow)
Commit message (Collapse)Author
2020-09-02Give blank lines timestampsJune McEnroe
Otherwise the zero timestamps totally break save data loading! Bad!
2020-09-02Hide ignored messages at the soft -> hard buffer layerJune McEnroe
This restores normal scrolling behaviour.
2020-09-02Don't call completeTouch for ignored messagesJune McEnroe
2020-09-02Preserve style after alignmentJune McEnroe
This makes wrapping text with background colour look much better.
2020-09-02Still add ignored lines to unreadHardJune McEnroe
Scrolling is still affected by hidden lines (which I'm not sure yet is good or not), so for M-u to work it needs to count ignored lines.
2020-09-02Actually insert blank lines in the soft bufferJune McEnroe
So they can be preserved forever!
2020-09-02Reimplement split scrollingJune McEnroe
2020-09-02Fix inserting blank lines BEFORE the new messageJune McEnroe
2020-09-02Only call windowUpdate when the shown window needs updatingJune McEnroe
2020-09-02Don't consider the alignment tab a wrapping pointJune McEnroe
2020-09-02Call wclear on resizeJune 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 waysJune 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 buffersJune 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 wrappingJune McEnroe
Not yet rendered in the UI! Just done in parallel.
2020-09-01Invert meaning of unreadHard/unreadSoft to match new buffer codeJune McEnroe
Not sure why I had named them this way. Hard means hard-wrapped.
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