Commit Graph

657 Commits (82acea5dfa260fa7b4f6257f4502b9a9a2eeabaa)

Author SHA1 Message Date
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
Curtis McEnroe 24b1d1f3d5
Split keys into subsections and document colors 2018-09-10 15:27:25 -04:00
Curtis McEnroe b78a0720ae
Add "blank" lines to chatte.1 2018-09-10 14:52:59 -04:00
Curtis McEnroe e6716d2661
Document key bindings in chatte.1 2018-09-10 02:01:30 -04:00
Curtis McEnroe f6b14038d8
Document slash commands in chatte.1 2018-09-08 23:26:44 -04:00
Curtis McEnroe 239622018a
Document command line options in chatte.1 2018-09-08 22:16:17 -04:00
Curtis McEnroe 089647b6cd
Fix reverse iteration in urlOpen 2018-09-08 00:14:15 -04:00
Curtis McEnroe bd48cb5e7d
Move event loop to event.c 2018-09-06 00:41:06 -04:00
Curtis McEnroe 0cf067315d
Preserve scroll position when new lines appear 2018-09-05 17:10:26 -04:00
Curtis McEnroe 240f9ebf84
Use PascalCase for constants
Begone underscores.
2018-09-02 16:13:00 -04:00
Curtis McEnroe ccb54d36d9
Add status indicators 2018-09-02 14:04:05 -04:00
Curtis McEnroe c58baa84ee
Write terminating null in allocating wcs/mbs conversions
Turns out wcsnrtombs doesn't.
2018-09-02 13:45:00 -04:00
Curtis McEnroe 9a63155b2d
Treat all direct messages as pings 2018-09-02 01:12:41 -04:00
Curtis McEnroe e5663d45df
Add aswprintf
The format string won't get checked but I'm not sure I can reasonably
use the same hack.
2018-09-02 01:03:12 -04:00
Curtis McEnroe 140f6e896d
Mark views when they are created 2018-09-02 01:01:41 -04:00
Curtis McEnroe 359b08b335
Simplify invalid nick messages 2018-09-02 00:13:27 -04:00
Curtis McEnroe e5f0c63e7f
Include time.h for time_t in chat.h 2018-09-02 00:09:36 -04:00
Curtis McEnroe 20e5126fdc
Remove FIXME for tracking tags in WHO handling
I don't think it'll ever be a problem.
2018-08-20 19:30:57 -04:00
Curtis McEnroe b4ca3a5dfc
Don't clobber tab order on /who 2018-08-20 19:11:44 -04:00
Curtis McEnroe 3e66bcf50a
Remove unnecessary include 2018-08-20 18:51:11 -04:00
Curtis McEnroe 4e4eb0de0f
Add wcsnchr, wcsnrchr, awcsntombs
This eliminates calls to editHead and editTail inside edit.c.

Oh god I'm sorry for following libc naming conventions for this stuff.
2018-08-20 18:43:16 -04:00
Curtis McEnroe afae851319
Set errno in vaswprintf in case vswprintf does not
As is the case on GNU.
2018-08-20 17:28:42 -04:00
Curtis McEnroe 133ff4e651
Avoid unportable iswascii(3) 2018-08-20 17:20:44 -04:00
Curtis McEnroe 431dd32cf1
Fix missing stdint.h include 2018-08-20 16:29:31 -04:00
Curtis McEnroe ab950b3044
Add uninstall target 2018-08-20 16:26:35 -04:00
Curtis McEnroe c0c0ef4644
Add sample sshd_config 2018-08-20 16:22:33 -04:00
Curtis McEnroe 1efb62190a
Add install target 2018-08-20 15:44:57 -04:00
Curtis McEnroe e049d5a2d7
Name project chatte 2018-08-20 15:35:00 -04:00
Curtis McEnroe e3a344854f
Accept unique prefixes of commands 2018-08-18 20:17:08 -04:00
Curtis McEnroe c1e0128803
Fix /query error handling
Evidence this should be factored somehow else so the extra check is
unnecessary.
2018-08-18 20:14:05 -04:00
Curtis McEnroe e29f67dde5
Alias /n to /view n where n is a number 2018-08-18 18:31:51 -04:00
Curtis McEnroe 6ec3c3011e
Do not set log files executable
Oops.
2018-08-18 00:02:38 -04:00
Curtis McEnroe 9469db993c
Add logging
The reason logFmt takes a timestamp as a parameter is to support IRCv3
server-time in the future to accurately log the znc buffer. Hopefully.
2018-08-17 21:50:45 -04:00
Curtis McEnroe 38fc42f03d
Add UI "heat" for status/messages/pings
Bring back the beeps! Allow pings from notices. Also factor out
dequoting of part/quit messages.
2018-08-17 14:00:08 -04:00
Curtis McEnroe a38738c938
Don't treat input as command if word contains extra slash 2018-08-16 22:19:23 -04:00
Curtis McEnroe 7082820299
Detect pings in ACTIONs 2018-08-14 21:26:27 -04:00