summary refs log tree commit diff
AgeCommit message (Collapse)Author
2018-09-02Add status indicatorsCurtis McEnroe
2018-09-02Write terminating null in allocating wcs/mbs conversionsCurtis McEnroe
Turns out wcsnrtombs doesn't.
2018-09-02Treat all direct messages as pingsCurtis McEnroe
2018-09-02Add aswprintfCurtis McEnroe
The format string won't get checked but I'm not sure I can reasonably use the same hack.
2018-09-02Mark views when they are createdCurtis McEnroe
2018-09-02Simplify invalid nick messagesCurtis McEnroe
2018-09-02Include time.h for time_t in chat.hCurtis McEnroe
2018-08-20Remove FIXME for tracking tags in WHO handlingCurtis McEnroe
I don't think it'll ever be a problem.
2018-08-20Don't clobber tab order on /whoCurtis McEnroe
2018-08-20Remove unnecessary includeCurtis McEnroe
2018-08-20Add wcsnchr, wcsnrchr, awcsntombsCurtis McEnroe
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-20Set errno in vaswprintf in case vswprintf does notCurtis McEnroe
As is the case on GNU.
2018-08-20Avoid unportable iswascii(3)Curtis McEnroe
2018-08-20Fix missing stdint.h includeCurtis McEnroe
2018-08-20Add uninstall targetCurtis McEnroe
2018-08-20Add sample sshd_configCurtis McEnroe
2018-08-20Add install targetCurtis McEnroe
2018-08-20Name project chatteCurtis McEnroe
2018-08-18Accept unique prefixes of commandsCurtis McEnroe
2018-08-18Fix /query error handlingCurtis McEnroe
Evidence this should be factored somehow else so the extra check is unnecessary.
2018-08-18Alias /n to /view n where n is a numberCurtis McEnroe
2018-08-18Do not set log files executableCurtis McEnroe
Oops.
2018-08-17Add loggingCurtis McEnroe
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-17Add UI "heat" for status/messages/pingsCurtis McEnroe
Bring back the beeps! Allow pings from notices. Also factor out dequoting of part/quit messages.
2018-08-16Don't treat input as command if word contains extra slashCurtis McEnroe
2018-08-14Detect pings in ACTIONsCurtis McEnroe
2018-08-14Clean up termEvent state machineCurtis McEnroe
2018-08-14Keep hashing '\0' until color is not blackCurtis McEnroe
Actually uses the rest of the hash state this way.
2018-08-13Set title to tag nameCurtis McEnroe
2018-08-13Add termTitleCurtis McEnroe
2018-08-13Don't ping selfCurtis McEnroe
2018-08-13Improve configuration of MakefileCurtis McEnroe
2018-08-13Detect pings anywhere in messageCurtis McEnroe
2018-08-13Add /query, /part and /closeCurtis McEnroe
Closing a channel before parting it is a bit weird, but if I send a PART on /close, it would get reopened again to show the part message.
2018-08-12Factor out input param and add tagFindCurtis McEnroe
So that /view can't just invent tags.
2018-08-12Fix /open ranges by passing all URLs to open(1)Curtis McEnroe
This is going to be incompatible with xdg-open since it takes only one URL at a time. Write a wrapper script.
2018-08-12Avoid setting mark if switching to the same viewCurtis McEnroe
2018-08-12Disable focus tracking in uiHideCurtis McEnroe
Most significantly so that the sequences don't end up on screen during a /url.
2018-08-11Add shift-{left,right} for single-line scrollingCurtis McEnroe
2018-08-11Leave room for topic when creating viewCurtis McEnroe
2018-08-11Rework UI code for multi-channelCurtis 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-11Add term.c for extra terminal featuresCurtis McEnroe
Look at the cute little state machine!
2018-08-11Fix isSelf user checkingCurtis 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-11Fix commented out error handlingCurtis McEnroe
Oops. Had commented it out so I could attach a debugger without exiting on EINTR.
2018-08-11Fix removing entries during tab completeCurtis 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-10Become multi-channelCurtis McEnroe
There's a lot of UI missing for it, but it technically works.
2018-08-10Move process spawning onto the event loopCurtis 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-10Remove unnecessary va_endCurtis McEnroe
va_end must be called before the function returns, but errx is noreturn.
2018-08-10Rename chan to joinCurtis McEnroe
In preparation for multi-channel?
2018-08-09Add -u option for setting userCurtis McEnroe