summary refs log tree commit diff
path: root/input.c
AgeCommit message (Collapse)Author
2018-10-28Use const char *argv[] signaturesCurtis McEnroe
C is really weird about this stuff, but this makes more sense to me.
2018-09-13Never send PRIVMSG to TagStatus or TagVerboseCurtis McEnroe
2018-09-11Add /help equivalent to /manCurtis McEnroe
2018-09-11Add urlOpenMatchCurtis McEnroe
2018-09-10Add /man commandCurtis McEnroe
2018-09-02Use PascalCase for constantsCurtis McEnroe
Begone underscores.
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-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-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-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-10Become multi-channelCurtis McEnroe
There's a lot of UI missing for it, but it technically works.
2018-08-10Rename chan to joinCurtis McEnroe
In preparation for multi-channel?
2018-08-09Ignore trailing space on slash commandsCurtis McEnroe
2018-08-09Add URL detection, listing and openingCurtis McEnroe
Might also add /copy, like /open.
2018-08-08Add commands to tab completeCurtis McEnroe
2018-08-07Remove extraneous slash from unrecognized commandCurtis 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-07Hack clang into checking uiFmt format stringsCurtis McEnroe
2018-08-06Use wchar_t strings for all of UICurtis McEnroe
vaswprintf is a nightmare.
2018-08-04Handle /topicCurtis McEnroe
2018-08-04Rename ui chat to logCurtis McEnroe
2018-08-04Rename client to ircCurtis McEnroe
2018-08-04Handle /names and /whoCurtis McEnroe
2018-08-04Split source into several filesCurtis McEnroe
Can't believe I have to do this.