summary refs log tree commit diff
AgeCommit message (Collapse)Author
2018-08-07Implement cycling tab completeCurtis McEnroe
Not properly hooked up to the UI yet.
2018-08-07Mark log when scrolling upCurtis McEnroe
2018-08-07Remove extraneous slash from unrecognized commandCurtis McEnroe
2018-08-07Highlight and beep pingsCurtis McEnroe
2018-08-07Factor out allocating conversion between wcs and mbsCurtis McEnroe
2018-08-07Match commands case-insensitivelyCurtis McEnroe
Also include the slash in their names so that they can be added to tab-complete later.
2018-08-07Convert input to multibyte before handlingCurtis McEnroe
2018-08-07Populate tab-complete listCurtis McEnroe
2018-08-07Fix /me formatting side-effectsCurtis McEnroe
NEVER pass side-effects to a macro.
2018-08-07Define ui.c BUF_LEN with enumCurtis McEnroe
2018-08-07Hack clang into checking uiFmt format stringsCurtis McEnroe
2018-08-07Handle PART and QUIT without messagesCurtis McEnroe
2018-08-07Make safe filling the who bufferCurtis McEnroe
2018-08-07Add reverse and reset IRC formatting codesCurtis McEnroe
2018-08-06Rewrite line editing again, add formattingCurtis McEnroe
2018-08-06Fix allocation size in vaswprintfCurtis 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-06Implement word wrappingCurtis McEnroe
2018-08-06Use wchar_t strings for all of UICurtis McEnroe
vaswprintf is a nightmare.
2018-08-06Rename line editing functionsCurtis McEnroe
2018-08-05Initialize all possible color pairsCurtis McEnroe
This is actually possible with use_default_colors!
2018-08-05Refactor color initializationCurtis McEnroe
2018-08-05Add ^L redrawCurtis McEnroe
2018-08-05Use 16 colors if availableCurtis McEnroe
Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack.
2018-08-05Limit parsed colors to number of mIRC colorsCurtis McEnroe
Oh boy that's embarrassing.
2018-08-04Show source link on exitCurtis McEnroe
2018-08-04Implement line editing, scrollingCurtis McEnroe
Don't really have a way to implement the M-* keys, and currently missing C-w.
2018-08-04Handle /topicCurtis McEnroe
2018-08-04Add READMECurtis McEnroe
2018-08-04Rename ui chat to logCurtis McEnroe
2018-08-04Rename client to ircCurtis McEnroe
2018-08-04Fix chat draw boundariesCurtis McEnroe
2018-08-04Factor out mIRC color parsingCurtis McEnroe
2018-08-04Scroll the input padCurtis McEnroe
2018-08-04Copy /usr/share/locale into chrootCurtis McEnroe
Otherwise only ASCII can be entered.
2018-08-04Handle terminal resizingCurtis McEnroe
2018-08-04Handle /names and /whoCurtis McEnroe
2018-08-04Add libedit to chrootCurtis McEnroe
Needed by sh.
2018-08-04Define A_ITALIC if not definedCurtis McEnroe
System ncurses on macOS doesn't define it. At least not in El Capitan.
2018-08-04Do not free const string portCurtis McEnroe
2018-08-04Split source into several filesCurtis McEnroe
Can't believe I have to do this.
2018-08-04Exit on zero readCurtis McEnroe
2018-08-04Handle nick errorsCurtis McEnroe
2018-08-04Handle /nick and /quitCurtis McEnroe
/quit doesn't actually... quit, right now. The only way to know that the connection is closed is tls_read returning zero, it seems.
2018-08-04Track own nickCurtis McEnroe
2018-08-04Word all status messages in presentCurtis McEnroe
2018-08-03Handle inputCurtis McEnroe
This turned out a lot better than expected. Still a long way to go in terms of line-editing, but at least backspace works!
2018-08-03Track own usernameCurtis McEnroe
So that we can colour our own messages correctly.
2018-08-03Use a wide pad for the topicCurtis McEnroe
2018-08-03Ignore NOTICEs not sent to the channelCurtis McEnroe
2018-08-03Handle KICK and NICKCurtis McEnroe