summary refs log tree commit diff
AgeCommit message (Collapse)Author
2020-09-07Add blank line to unread if there are already unreadC. McEnroe
This fixes the inconsistent M-u behaviour when catgirl is restarting and reconnecting to pounce, for example.
2020-09-07Call uiWrite to insert blank linesC. McEnroe
It only used to use different code to avoid adding the blank line to the soft buffer.
2020-09-07Let wrapped lines use the last columnC. McEnroe
2020-09-06Handle non-alignment tabs in line wrappingC. McEnroe
2020-09-06Add C-r, C-s for basic scrollback searchC. McEnroe
2020-09-03Add M-n, M-p to jump to highlightsC. McEnroe
2020-09-03Fix M-u behaviour difference before and after reflowC. McEnroe
2020-09-02Recalculate unreadHard on reflowC. McEnroe
2020-09-02Give blank lines timestampsC. McEnroe
Otherwise the zero timestamps totally break save data loading! Bad!
2020-09-02Hide ignored messages at the soft -> hard buffer layerC. McEnroe
This restores normal scrolling behaviour.
2020-09-02Don't call completeTouch for ignored messagesC. McEnroe
2020-09-02Preserve style after alignmentC. McEnroe
This makes wrapping text with background colour look much better.
2020-09-02Still add ignored lines to unreadHardC. 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 bufferC. McEnroe
So they can be preserved forever!
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.