Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-11 | Rework UI code for multi-channel | Curtis 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 | Curtis McEnroe | |
Look at the cute little state machine! | |||
2018-08-11 | Fix isSelf user checking | Curtis 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 | Curtis 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 | Curtis 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 | Curtis McEnroe | |
There's a lot of UI missing for it, but it technically works. | |||
2018-08-10 | Move process spawning onto the event loop | Curtis 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 | Curtis McEnroe | |
va_end must be called before the function returns, but errx is noreturn. | |||
2018-08-10 | Rename chan to join | Curtis McEnroe | |
In preparation for multi-channel? | |||
2018-08-09 | Add -u option for setting user | Curtis McEnroe | |
2018-08-09 | Color brackets around nicks | Curtis McEnroe | |
Also switch self-brackets to () since [] can appear in nicks. | |||
2018-08-09 | Fix 432 handler params | Curtis McEnroe | |
2018-08-09 | Add M-b, M-f, M-DEL, M-d, C-w | Curtis McEnroe | |
2018-08-09 | Add PASS option | Curtis McEnroe | |
WEBIRC is now -W. | |||
2018-08-09 | Ignore trailing space on slash commands | Curtis McEnroe | |
2018-08-09 | Replace shift with a great variadic function | Curtis McEnroe | |
I am disappointed in the lack of compiler attributes for type-checking variadic functions. | |||
2018-08-09 | Only tabTouch nick if not self | Curtis McEnroe | |
2018-08-09 | Add URL detection, listing and opening | Curtis McEnroe | |
Might also add /copy, like /open. | |||
2018-08-08 | Add commands to tab complete | Curtis McEnroe | |
2018-08-08 | Use blank line as unread marker | Curtis McEnroe | |
2018-08-08 | Add Homebrew LibreSSL paths to Makefile | Curtis McEnroe | |
2018-08-08 | Distinguish self with square brackets | Curtis McEnroe | |
2018-08-08 | Add markers as lines to the log | Curtis McEnroe | |
2018-08-08 | Factor out line editing to edit.c | Curtis McEnroe | |
2018-08-08 | Set log marker on FocusOut event | Curtis McEnroe | |
All of this needs refactoring, probably separating the line editing out from the actual input handling. | |||
2018-08-08 | Color own messages 15 | Curtis 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 | Curtis McEnroe | |
2018-08-07 | Reset attrs after addIRC | Curtis McEnroe | |
Otherwise the marker inherits whatever was left on. | |||
2018-08-07 | Add tab complete UI | Curtis McEnroe | |
This definitely needs refactoring. | |||
2018-08-07 | Implement cycling tab complete | Curtis McEnroe | |
Not properly hooked up to the UI yet. | |||
2018-08-07 | Mark log when scrolling up | Curtis McEnroe | |
2018-08-07 | Remove extraneous slash from unrecognized command | Curtis McEnroe | |
2018-08-07 | Highlight and beep pings | Curtis McEnroe | |
2018-08-07 | Factor out allocating conversion between wcs and mbs | Curtis McEnroe | |
2018-08-07 | Match commands case-insensitively | Curtis 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 | Curtis McEnroe | |
2018-08-07 | Populate tab-complete list | Curtis McEnroe | |
2018-08-07 | Fix /me formatting side-effects | Curtis McEnroe | |
NEVER pass side-effects to a macro. | |||
2018-08-07 | Define ui.c BUF_LEN with enum | Curtis McEnroe | |
2018-08-07 | Hack clang into checking uiFmt format strings | Curtis McEnroe | |
2018-08-07 | Handle PART and QUIT without messages | Curtis McEnroe | |
2018-08-07 | Make safe filling the who buffer | Curtis McEnroe | |
2018-08-07 | Add reverse and reset IRC formatting codes | Curtis McEnroe | |
2018-08-06 | Rewrite line editing again, add formatting | Curtis McEnroe | |
2018-08-06 | Fix allocation size in vaswprintf | Curtis 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 | Curtis McEnroe | |
2018-08-06 | Use wchar_t strings for all of UI | Curtis McEnroe | |
vaswprintf is a nightmare. | |||
2018-08-06 | Rename line editing functions | Curtis McEnroe | |
2018-08-05 | Initialize all possible color pairs | Curtis McEnroe | |
This is actually possible with use_default_colors! | |||
2018-08-05 | Refactor color initialization | Curtis McEnroe | |