| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
| |
Otherwise artefects can appear when resizing to smaller width with wide
characters at the right edge of the window.
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Not yet rendered in the UI! Just done in parallel.
|
|
|
|
| |
Not sure why I had named them this way. Hard means hard-wrapped.
|
|
|
|
| |
In preparation for doing line wrapping outside of ncurses.
|
| |
|
| |
|
|
|
|
| |
This has always been how it works, but it was previously undocumented.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This fixes the case when pinging multiple nicks and one of them needs to
be cycled through.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
LibreSSL is "a modified version of that library".
|
|
|
|
|
| |
Fl Fl renders correctly in text but leaves a space between the hyphens
in HTML output.
|
|
|
|
| |
From the Textual extras command /banhammer.
|
|
|
|
|
| |
On the awful operating system GNU, asprintf leaves the destination
pointer UNDEFINED on failure.
|
| |
|
| |
|
| |
|
|
|
|
| |
Also the old catf would be broken with -DNDEBUG oops!
|
| |
|
| |
|
|
|
|
| |
catf is not better though and should really be replaced.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It seems that sometimes tls_close returns non-zero but tls_error returns
a null string... We're exiting anyway, so just ignore it.
|
|
|
|
|
| |
For some reason gcc thinks that numWarm might be used uninitialized.
It's fine with numHot though, strangely.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Avoids coloring everything up to a ":)".
|
|
|
|
|
| |
Otherwise passing more than 13 parameters reads past the end of the
array.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
OpenBSD assert.h does not #define static_assert, and this is the only
thing that prevents catgirl from compiling without any issues there.
|
|
|
|
| |
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
|
|
|
|
| |
Oops.
|