summary refs log tree commit diff
path: root/tag.c
AgeCommit message (Collapse)Author
2018-09-02Use PascalCase for constantsCurtis McEnroe
Begone underscores.
2018-08-12Factor out input param and add tagFindCurtis McEnroe
So that /view can't just invent tags.
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.