Commit Graph

625 Commits (1969c9125fbde0d420c22cebc7578b4473a7aac0)

Author SHA1 Message Date
Curtis McEnroe 38b4a53d57
Move base64 to string.c 2018-12-16 16:21:58 -05:00
Curtis McEnroe a2a6ce99c0
Underline own nick 2018-12-15 01:09:56 -05:00
Curtis McEnroe a7681579fa
Treat EOF as expected if self.quit
znc doesn't seem to respond to QUIT with ERROR like an IRCd would.
2018-12-14 16:48:16 -05:00
Curtis McEnroe e84c36a0bd
Factor out ircQuit 2018-12-14 16:43:49 -05:00
Curtis McEnroe 14c60a15bc
Add uint typedef 2018-12-08 13:18:13 -05:00
Curtis McEnroe 9d7e0726c2
Add /raw command 2018-12-05 15:04:34 -05:00
Curtis McEnroe 0d165fadfa
Send input errors to the current tag 2018-12-05 14:53:16 -05:00
Curtis McEnroe 2797ac8abf
Rename verbose to raw
And change the format of the sticky tag names again.
2018-12-05 14:46:34 -05:00
Curtis McEnroe a23f587be8
Add standards needed for SASL to catgirl.1 2018-12-05 13:06:34 -05:00
Curtis McEnroe 776ce58648
Implement SASL PLAIN authentication 2018-12-04 22:13:44 -05:00
Curtis McEnroe 638be4e775
Show error if disconnected unintentionally 2018-12-04 15:56:10 -05:00
Curtis McEnroe b1427dd169
Send only SIGHUP in sandman 2018-12-04 15:38:22 -05:00
Curtis McEnroe e01b03c963
Revert half-working reconnecting stuff 2018-12-04 14:58:14 -05:00
Curtis McEnroe 9106bd61fa
Add -a auth option for unimplemented SASL 2018-12-04 10:39:38 -05:00
Curtis McEnroe a8c30b898c
Implement base64 encoding
Will be used for SASL authentication.
2018-12-03 23:05:01 -05:00
Curtis McEnroe 7ea54828a6
Call uiShow at init so that TermFocus gets set 2018-12-03 15:52:04 -05:00
Curtis McEnroe 7dab1c01f6
Check nick to determine if is self
I forgot that usernames aren't unique for a minute there.
2018-12-03 10:33:04 -05:00
Curtis McEnroe 26db6e6c10
Ignore ~ username prefixes
This simplifies a lot.
2018-12-03 00:08:24 -05:00
Curtis McEnroe 452aeb5ecf
Move host, port, pass, webp to self 2018-12-02 23:22:18 -05:00
Curtis McEnroe 0e1297e068
Add -r option for realname 2018-12-02 23:08:49 -05:00
Curtis McEnroe 99c8a9fec0
Send automated messages to TagStatus with UICold 2018-12-02 22:56:33 -05:00
Curtis McEnroe 7965214d28
Various man page tweaks and edits 2018-12-02 18:12:45 -05:00
Curtis McEnroe 2222744192
Fix UI resume on /url 2018-12-02 17:42:04 -05:00
Curtis McEnroe 3cf20eb67a
Add sandman.m to README 2018-12-02 01:01:56 -05:00
Curtis McEnroe 5c17393d2b
Crudely handle reconnecting after suspend 2018-12-01 22:05:37 -05:00
Curtis McEnroe e3cff14e03
Fix sandman hang
It was hanging after sending SIGTSTP to its child, then receiving a
SIGCHLD to indicate the child had stopped.
2018-12-01 21:55:32 -05:00
Curtis McEnroe e708b795b5
Use sigaction in sandman 2018-12-01 10:28:00 -05:00
Curtis McEnroe 414f928ac5
Handle signals consistently in the event loop 2018-11-30 19:45:34 -05:00
Curtis McEnroe 9d769111ae
Separate ircConnect and ircDisconnect 2018-11-30 18:06:43 -05:00
Curtis McEnroe 3d9906b00f
Measure length of log timestamp more consistently 2018-11-30 17:17:34 -05:00
Curtis McEnroe 70386c93f2
Reformat sandman Objective-C code 2018-11-30 17:16:59 -05:00
Curtis McEnroe af2a4ef1f8
Ignore sandman
Oops.
2018-11-30 15:43:19 -05:00
Curtis McEnroe deec27410a
Add sandman 2018-11-30 15:41:21 -05:00
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