Commit Graph

680 Commits (9bd10d768d75afb2451ea35d6856a30bff474a13)

Author SHA1 Message Date
C. McEnroe 9bd10d768d Add \banhammer macro
From the Textual extras command /banhammer.
2020-08-02 18:08:08 -04:00
C. McEnroe bd8997ef09 Check return value of asprintf
On the awful operating system GNU, asprintf leaves the destination
pointer UNDEFINED on failure.
2020-08-01 22:18:58 -04:00
C. McEnroe 387f2c1fa3 Use ldd to automatically copy libs into chroot 2020-07-31 13:04:48 -04:00
C. McEnroe 27866c5657 Fix path of cert.pem in chroot 2020-07-31 13:04:33 -04:00
C. McEnroe 444d4bda9a Fix chroot-man path 2020-07-31 12:49:54 -04:00
C. McEnroe 4c1b1fc6a3 Replace catf with something that tracks len
Also the old catf would be broken with -DNDEBUG oops!
2020-07-30 14:37:46 -04:00
C. McEnroe 09e6b14794 Remove dependency on libcrypto for compat 2020-07-30 13:37:54 -04:00
C. McEnroe a142ebcf43 Define explicit_bzero using memset_s on macOS 2020-07-30 13:36:17 -04:00
C. McEnroe 5a3b63e444 Remove use of strlcat
catf is not better though and should really be replaced.
2020-07-30 13:05:24 -04:00
C. McEnroe 6bb933c651 Bump .so versions in chroot 2020-07-25 19:03:52 -04:00
C. McEnroe 1b8d589112 Support --prefix and --mandir in configure script 2020-07-23 16:40:46 -04:00
C. McEnroe f37ad399fe Rewrite configure script for all platforms 2020-07-23 16:28:38 -04:00
C. McEnroe 5873d8b5a7 Remove tls_close error handling
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-23 14:20:29 -04:00
C. McEnroe ed7d5c0f34 Initialize numHot, numWarm
For some reason gcc thinks that numWarm might be used uninitialized.
It's fine with numHot though, strangely.
2020-07-23 00:22:36 -04:00
C. McEnroe 3e03b7502b Add current topic to tab-complete so it can edited 2020-07-13 10:22:33 -04:00
C. McEnroe 787771bebb Keep scrolled up windows in status line 2020-07-12 09:38:52 -04:00
C. McEnroe e6db22d2bb Don't scan ignored messages for URLs 2020-07-09 22:43:35 -04:00
C. McEnroe e1717e8fdd Add link to "IRC Suite" post in README 2020-07-08 16:59:51 -04:00
C. McEnroe d74ec7e0f3 Avoid copying message to match if no ignores are set 2020-07-06 22:51:15 -04:00
C. McEnroe cb84983dd1 Add message to ignore patterns 2020-07-06 22:41:22 -04:00
C. McEnroe 529028fe4a Use DisableForwarding in sshd_config 2020-06-25 00:40:00 -04:00
C. McEnroe 94fb9798c5 Bump ParamCap to 254
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-24 13:36:24 -04:00
C. McEnroe 4fb94a1a22 Color mentions up to first ": " rather than just ":"
Avoids coloring everything up to a ":)".
2020-06-16 23:14:07 -04:00
C. McEnroe 82acea5dfa Add null terminator to modes in channelListMode
Otherwise passing more than 13 parameters reads past the end of the
array.
2020-06-15 20:34:28 -04:00
C. McEnroe cabe285427 Document /quote needing /debug for output 2020-06-12 15:42:39 -04:00
C. McEnroe e43d44b08c Add OpenBSD to README 2020-06-11 17:49:45 -04:00
C. McEnroe 29064fb3f6 Add warning to configure script 2020-06-11 16:06:01 -04:00
C. McEnroe e8f1b928b7 Call static_assert by _Static_assert
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-11 15:33:59 -04:00
C. McEnroe 721c3a9ee6 Add additional permission for linking with LibreSSL
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs
2020-06-08 17:48:07 -04:00
C. McEnroe 287cd3c63c Inherit PREFIX and MANDIR from env
Oops.
2020-05-27 12:01:49 -04:00
C. McEnroe 88e2197a8f Don't send zero-width characters to ncurses 2020-05-26 15:18:55 -04:00
C. McEnroe b352f5965b Define constants for window geometry
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-25 13:51:09 -04:00
C. McEnroe 53f206f7e0 Tweak status line formatting 2020-05-24 12:34:23 -04:00
C. McEnroe fd679bbca8 Don't compress man page or use configure on FreeBSD
Also use DESTDIR in install.
2020-05-23 19:14:47 -04:00
C. McEnroe 4282574c18 Revert "Send blank line after 10 minutes idle"
This reverts commit 1d5c4a5e34.

This is fixed instead by pounce using TCP keepalive.
2020-05-18 14:48:22 -04:00
C. McEnroe d8ef021506 Fix page scrolling distance for SplitLines 2020-05-14 16:56:07 -04:00
C. McEnroe 4fea54637b Do not stop when files in XDG dirs are inaccessible
> When attempting to read a file, if for any reason a file in a certain
> directory is unaccessible, e.g. because the directory is non-existant,
> the file is non-existant or the user is not authorized to open the file,
> then the processing of the file in that directory should be skipped. If
> due to this a required file could not be found at all, the application
> may chose to present an error message to the user.
2020-05-12 12:44:38 -04:00
Michael Forney bde0f47a70 Mark global variables in chat.h as extern
This fixes the build with gcc 10, which enables -fno-common by
default.
2020-05-07 20:00:33 -04:00
C. McEnroe f36b0dbd81 Update email addresses 2020-05-05 17:55:29 -04:00
C. McEnroe 88263cc1d7 Separate completeID state from complete state
I think this is what causes QUITs to sometimes not appear, because
wherever the complete match is skips over some IDs.
2020-04-23 20:22:15 -04:00
C. McEnroe a632ee741b Don't clobber windows.swap in else of showAuto 2020-04-20 16:12:02 -04:00
C. McEnroe 2f5ff45db0 Save last user-selected window to switch back to from M-a 2020-04-19 21:13:02 -04:00
C. McEnroe 98cbb44c0d Add M-= to mute windows 2020-04-15 16:18:09 -04:00
C. McEnroe 470dee97c3 Add status indicator for showing ignored messages 2020-04-15 15:54:55 -04:00
C. McEnroe 9bc52d7238 Add M-< and M-> for scroll to top and bottom
Mirrored by S-Home and S-End but I guess I'm not documenting those...
2020-04-07 14:09:29 -04:00
C. McEnroe 7d62762609 Revert "Add C-o as alias of M-/"
This reverts commit 3a156540b8.

Decided I don't like having two keys do the same thing (other than
"special" keys).
2020-04-07 13:59:54 -04:00
C. McEnroe 73bda18110 Check ignores against id
Otherwise they do not work correctly for QUIT and NICK. This also lets
you ignore private messages only by putting the nick in the third field.
2020-04-07 13:18:42 -04:00
C. McEnroe 83a2fb0d34 Reset unreadSoft only on first unreadHard
Also rename unread{,Lines} to be maybe more clear and disambiguate with
buffer lines.
2020-04-07 11:06:29 -04:00
C. McEnroe e3f7362241 Add M-q to collapse whitespace 2020-04-07 10:48:44 -04:00
C. McEnroe 0bf49817f6 Add split scrolling to README 2020-04-06 16:45:20 -04:00