Commit message (Collapse) | Author | ||
---|---|---|---|
2018-08-11 | Leave room for topic when creating view | June McEnroe | |
2018-08-11 | Rework UI code for multi-channel | June McEnroe | |
Tags are now permanently assigned (and I'm betting on never needing more than 256 of them) and the UI maps tags to a linked list of views for easy reordering and removal. Currently, views can only be added. Views don't have a topic window until they need one. All UI code wants to be functional reactive. Beeping is temporarily removed until message priorities (status, message, ping) can be added to the UI. At that point spawning notify-send should also be possible. Priorities will also help with unnecessary markers, which will not appear for status messages. The tab system is now used to send QUIT and NICK messages to all the relevant tags. Verbose output now goes to its own tag, and sending to it sends raw IRC. IRC colors are now listed in chat.h and handler functions for numeric replies have real names. The color algorithm now uses a real hash function for hopefully better results. QUIT, PART and KICK messages are scanned for URLs. | |||
2018-08-11 | Add term.c for extra terminal features | June McEnroe | |
Look at the cute little state machine! | |||
2018-08-11 | Fix isSelf user checking | June McEnroe | |
Other users with the same username are not self. The fun effect of this was that I could tab-complete "june_" but not "june". | |||
2018-08-11 | Fix commented out error handling | June McEnroe | |
Oops. Had commented it out so I could attach a debugger without exiting on EINTR. | |||
2018-08-11 | Fix removing entries during tab complete | June McEnroe | |
Since tabNext starts on match->next, if match gets removed, it should be set to match->prev so that tabNext will start in the same spot. | |||
2018-08-10 | Become multi-channel | June McEnroe | |
There's a lot of UI missing for it, but it technically works. | |||
2018-08-10 | Move process spawning onto the event loop | June McEnroe | |
Child processes weren't being reaped before, either. I wanted to have a function called readEmAndReap but the reaping should actually happen in a signal handler. | |||
2018-08-10 | Remove unnecessary va_end | June McEnroe | |
va_end must be called before the function returns, but errx is noreturn. | |||
2018-08-10 | Rename chan to join | June McEnroe | |
In preparation for multi-channel? | |||
2018-08-09 | Add -u option for setting user | June McEnroe | |
2018-08-09 | Color brackets around nicks | June McEnroe | |
Also switch self-brackets to () since [] can appear in nicks. | |||
2018-08-09 | Fix 432 handler params | June McEnroe | |
2018-08-09 | Add M-b, M-f, M-DEL, M-d, C-w | June McEnroe | |
2018-08-09 | Add PASS option | June McEnroe | |
WEBIRC is now -W. | |||
2018-08-09 | Ignore trailing space on slash commands | June McEnroe | |
2018-08-09 | Replace shift with a great variadic function | June McEnroe | |
I am disappointed in the lack of compiler attributes for type-checking variadic functions. | |||
2018-08-09 | Only tabTouch nick if not self | June McEnroe | |
2018-08-09 | Add URL detection, listing and opening | June McEnroe | |
Might also add /copy, like /open. | |||
2018-08-08 | Add commands to tab complete | June McEnroe | |
2018-08-08 | Use blank line as unread marker | June McEnroe | |
2018-08-08 | Add Homebrew LibreSSL paths to Makefile | June McEnroe | |
2018-08-08 | Distinguish self with square brackets | June McEnroe | |
2018-08-08 | Add markers as lines to the log | June McEnroe | |
2018-08-08 | Factor out line editing to edit.c | June McEnroe | |
2018-08-08 | Set log marker on FocusOut event | June McEnroe | |
All of this needs refactoring, probably separating the line editing out from the actual input handling. | |||
2018-08-08 | Color own messages 15 | June McEnroe | |
My own settings have "white" slightly darker than the default color, so this helps to distinguish my own messages. | |||
2018-08-08 | Use BLACK LEFT-POINTING TRIANGLE for marker | June McEnroe | |
2018-08-07 | Reset attrs after addIRC | June McEnroe | |
Otherwise the marker inherits whatever was left on. | |||
2018-08-07 | Add tab complete UI | June McEnroe | |
This definitely needs refactoring. | |||
2018-08-07 | Implement cycling tab complete | June McEnroe | |
Not properly hooked up to the UI yet. | |||
2018-08-07 | Mark log when scrolling up | June McEnroe | |
2018-08-07 | Remove extraneous slash from unrecognized command | June McEnroe | |
2018-08-07 | Highlight and beep pings | June McEnroe | |
2018-08-07 | Factor out allocating conversion between wcs and mbs | June McEnroe | |
2018-08-07 | Match commands case-insensitively | June McEnroe | |
Also include the slash in their names so that they can be added to tab-complete later. | |||
2018-08-07 | Convert input to multibyte before handling | June McEnroe | |
2018-08-07 | Populate tab-complete list | June McEnroe | |
2018-08-07 | Fix /me formatting side-effects | June McEnroe | |
NEVER pass side-effects to a macro. | |||
2018-08-07 | Define ui.c BUF_LEN with enum | June McEnroe | |
2018-08-07 | Hack clang into checking uiFmt format strings | June McEnroe | |
2018-08-07 | Handle PART and QUIT without messages | June McEnroe | |
2018-08-07 | Make safe filling the who buffer | June McEnroe | |
2018-08-07 | Add reverse and reset IRC formatting codes | June McEnroe | |
2018-08-06 | Rewrite line editing again, add formatting | June McEnroe | |
2018-08-06 | Fix allocation size in vaswprintf | June McEnroe | |
This is so embarrassing. It only started crashing once it had strings that were long enough, and then it took me so long to notice this mistake. I was worried I was still doing va_list wrong somehow. | |||
2018-08-06 | Implement word wrapping | June McEnroe | |
2018-08-06 | Use wchar_t strings for all of UI | June McEnroe | |
vaswprintf is a nightmare. | |||
2018-08-06 | Rename line editing functions | June McEnroe | |
2018-08-05 | Initialize all possible color pairs | June McEnroe | |
This is actually possible with use_default_colors! |