Commit Graph

492 Commits (7783d89448293030aae4cc678e567a70e130c054)

Author SHA1 Message Date
Curtis McEnroe 908b834c1a
Strip timestamps from log replay
Also fix string length. %.*s does not behave as one might expect when
writing wchar_t.
2018-11-29 18:52:03 -05:00
Curtis McEnroe d7659376d1
Add basic log replay 2018-11-29 18:20:24 -05:00
Curtis McEnroe 5881a97c33
Show unread count in term title
Also render status line with just spaces. Looks much cleaner this way.
2018-11-29 13:29:20 -05:00
Curtis McEnroe 139036dd5a
Handle no such nick error 2018-11-29 05:52:27 -05:00
Curtis McEnroe e4eb97e512
Add /whois 2018-11-29 05:40:26 -05:00
Curtis McEnroe 3b3b0d65c3
Set LIBRESSL_PREFIX in Darwin.mk
I think this is still the right path for Homebrew, which is the most
popular...
2018-11-29 03:56:54 -05:00
Curtis McEnroe 5f740e68c9
Add NetBSD.mk 2018-11-28 23:29:19 -05:00
Curtis McEnroe d4abb6a766
Make use of config.mk and add Darwin.mk 2018-11-28 16:42:28 -05:00
Curtis McEnroe 85ea911b79
Rename project catgirl
This simplifies things.
2018-11-27 19:13:27 -05:00
Curtis McEnroe d9c47aa94b
Add M-m key to insert a blank line
For manually marking the log.
2018-11-27 16:18:03 -05:00
Curtis McEnroe 2eaa36a309
Add notification with notify-send 2018-10-28 02:44:09 -04:00
Curtis McEnroe 36ec6cf258
Use const char *argv[] signatures
C is really weird about this stuff, but this makes more sense to me.
2018-10-28 02:14:22 -04:00
Curtis McEnroe 9bc200bfe5
Fix verbose view name in man page 2018-10-23 02:53:27 -04:00
Curtis McEnroe 1164db0ba8
Add more URL schemes 2018-10-22 16:32:02 -04:00
Curtis McEnroe 35fdcbc285
Rework status line 2018-10-22 16:09:40 -04:00
Curtis McEnroe 40f87ae909
Rename status and verbose tags 2018-10-22 01:43:57 -04:00
Curtis McEnroe 75203b2e54
Revert "Race parallel connects"
This reverts commit e3e2b36ecf.

Apparently racing *all* of the connections is not something you should
do, and I can't be bothered with all the extra logic to do this
"correctly" according to RFC 8305. Provide an API, you cowards.

What I did want to do was give IPv6 any chance at all of being used, but
I'm just going to leave that up to the order getaddrinfo returns. It's
someone else's fault.
2018-09-16 13:25:31 -04:00
Curtis McEnroe e3e2b36ecf
Race parallel connects 2018-09-16 13:00:49 -04:00
Curtis McEnroe 6aecd7a712
Call tls_error when tls_connect_socket fails 2018-09-15 23:19:01 -04:00
Curtis McEnroe cca4b3fa10
Try successive getaddrinfo results 2018-09-15 23:07:41 -04:00
Curtis McEnroe f1cae5194c
Render README from chatte.7 2018-09-15 22:22:51 -04:00
Curtis McEnroe 3e2a9c2056
Factor out uiPrompt to call on nick change 2018-09-14 23:37:09 -04:00
Curtis McEnroe 835d3a452a
Run test binaries with set -e and semicolons
BSD make behaves oddly when trying to replace with &.
2018-09-14 20:57:50 -04:00
Curtis McEnroe 235dbc64e3
Fail target when any test binary fails 2018-09-14 20:37:43 -04:00
Curtis McEnroe e4f7568477
Run tests in default target 2018-09-14 19:45:50 -04:00
Curtis McEnroe b7bac21263
Add termEvent tests 2018-09-14 19:41:48 -04:00
Curtis McEnroe 714a703935
Check width of entire next word including codes
This results in a tiny bit of premature wrapping for color codes, but
that isn't a problem.
2018-09-14 18:54:18 -04:00
Curtis McEnroe 6aa42b852b
Remove word handling from formatParse 2018-09-14 18:48:03 -04:00
Curtis McEnroe b22e008d68
Apply consecutive formatting codes at once
Fixes the failing splits test.
2018-09-14 15:31:16 -04:00
Curtis McEnroe 3cf064a531
Add tests for formatParse
With one currently failing so you know they're worth it.
2018-09-14 14:57:32 -04:00
Curtis McEnroe 326bc5163d
Preview with nick in input window 2018-09-13 23:44:55 -04:00
Curtis McEnroe ede343431f
Never send PRIVMSG to TagStatus or TagVerbose 2018-09-13 22:10:14 -04:00
Curtis McEnroe 0d7854c0d4
Move color selection to format.c 2018-09-13 16:16:11 -04:00
Curtis McEnroe 117e6ac9d6
Fix len for format->split at end of string 2018-09-13 16:15:16 -04:00
Curtis McEnroe 9ca6814933
Avoid uninitialized x in uiRead 2018-09-13 15:39:40 -04:00
Curtis McEnroe 9a69869d39
Add IRCDefault to colors enum 2018-09-13 15:17:41 -04:00
Curtis McEnroe 311795bf41
Return a format->split even at the end of the string 2018-09-13 15:11:05 -04:00
Curtis McEnroe 8a8eab89ff
Fix weird tab-complete after comma
I have no idea why I did this.
2018-09-13 01:50:46 -04:00
Curtis McEnroe 4c4d91b449
Rewrite UI again
The persistent topic is gone and the status line is now at the top. The
status formatting still needs to be reworked. I also want to try showing
the nick in the input window so it really looks like your next message.
2018-09-13 01:03:47 -04:00
Curtis McEnroe cd41c2a1ce
Add note about C-o
Why are there so few well usable ctrl key bindings?
2018-09-12 22:56:11 -04:00
Curtis McEnroe b36a134702
Use formatParse split to position input cursor 2018-09-12 22:55:02 -04:00
Curtis McEnroe 872608e5c4
Factor out IRC formatting parsing 2018-09-12 20:23:45 -04:00
Curtis McEnroe 3d9f808a60
Add /help equivalent to /man 2018-09-11 16:10:49 -04:00
Curtis McEnroe 2c65f663bf
Don't render every PM as a ping 2018-09-11 14:45:39 -04:00
Curtis McEnroe 068cff107e
Add urlOpenMatch 2018-09-11 14:36:30 -04:00
Curtis McEnroe a0ff0d5c46
Depend on man.sh for chroot.tar target 2018-09-10 19:47:11 -04:00
Curtis McEnroe 77d522d033
Set LESSSECURE=1 in man.sh
Ridiculous.
2018-09-10 19:46:07 -04:00
Curtis McEnroe 86e80edfcd
Add /man command 2018-09-10 19:18:26 -04:00
Curtis McEnroe c9968aadb9
Install man page in chroot 2018-09-10 17:44:23 -04:00
Curtis McEnroe 45132a555c
Install man page 2018-09-10 16:18:36 -04:00