Age | Commit message (Collapse) | Author |
|
Begone underscores.
|
|
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.
|
|
Bring back the beeps! Allow pings from notices. Also factor out
dequoting of part/quit messages.
|
|
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.
|
|
Oops. Had commented it out so I could attach a debugger without exiting
on EINTR.
|
|
There's a lot of UI missing for it, but it technically works.
|
|
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.
|
|
In preparation for multi-channel?
|
|
|
|
WEBIRC is now -W.
|
|
Might also add /copy, like /open.
|
|
|
|
|
|
vaswprintf is a nightmare.
|
|
|
|
|
|
|
|
|
|
|
|
Can't believe I have to do this.
|
|
|
|
|
|
/quit doesn't actually... quit, right now. The only way to know that the
connection is closed is tls_read returning zero, it seems.
|
|
|
|
|
|
This turned out a lot better than expected. Still a long way to go in
terms of line-editing, but at least backspace works!
|
|
So that we can colour our own messages correctly.
|
|
|
|
|
|
|
|
Resizing the terminal causes it.
|
|
|
|
I might be coming around to octal.
|
|
Other than this slight hack, I think coloring by username rather than
nick is a much better idea.
|
|
|
|
|
|
|
|
Forgive me.
|
|
irc.mozilla.org, using GnuTLS, doesn't support *any* of the "secure"
ciphers!
|
|
Seems like handling input is going to be the worst thing ever.
|
|
It dumps lines from the server onto the curses window.
|