aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* kike: don't disclose secret channels in LUSERSPřemysl Janouch2014-08-031-1/+17
|
* kike: implement LISTPřemysl Janouch2014-08-032-3/+56
|
* kike: implement USERHOSTPřemysl Janouch2014-08-021-13/+47
|
* kike: update the poller properlyPřemysl Janouch2014-08-021-19/+24
| | | | Now we can send PRIVMSG's between users and all that jazz.
* kike: implement PRIVMSG to userPřemysl Janouch2014-08-021-0/+32
|
* kike: implement clean shutdownPřemysl Janouch2014-08-021-8/+25
|
* coin: wrap an if statementPřemysl Janouch2014-08-021-1/+5
|
* kike: implement connection limitPřemysl Janouch2014-08-021-21/+36
| | | | Somehow I'm not sure whether this thing is useful in any sense.
* kike: implement the ping-pong and QUITPřemysl Janouch2014-08-022-10/+144
|
* kike: add a `ping_interval' config. valuePřemysl Janouch2014-08-021-3/+25
|
* Don't forward messages while !irc_readyPřemysl Janouch2014-08-011-12/+21
|
* Fix plugin autoloadPřemysl Janouch2014-08-011-5/+13
| | | | | I was trying to be too smart about holding up IRC messages coming from plugins while the bot is disconnected.
* ZyklonB: fix the `print' plugin commandPřemysl Janouch2014-07-311-1/+1
|
* script: fix parse_word()Přemysl Janouch2014-07-311-3/+6
| | | | With the `c > ' '` requirement we can't have an assertion for length in there.
* script: improvementsPřemysl Janouch2014-07-311-118/+285
| | | | | | | - fixed cons - added missing arithmetic operators - added min/max/xor/all?/any?/nip/curry/reverse/over - added a few functional tests
* script: add lengthPřemysl Janouch2014-07-311-2/+33
|
* script: add uncons/first/rest/>/>=/<=/!=/joinPřemysl Janouch2014-07-311-7/+64
|
* script: fix call/dip, add fold/each/unit/cons/catPřemysl Janouch2014-07-311-17/+120
|
* Fix the `youtube' pluginPřemysl Janouch2014-07-301-1/+1
| | | | I hadn't read the docs throughly.
* Add an experimental `script' pluginPřemysl Janouch2014-07-301-0/+1819
| | | | | | Basically reimplemented the macro language from libxntd. Lots of work to be done yet, even if we keep it as a stand-alone TCC plugin.
* Didn't intend to commit the API key, tooPřemysl Janouch2014-07-251-2/+0
|
* Added a `youtube' pluginPřemysl Janouch2014-07-251-0/+96
| | | | Written for Python 3, it just shows info about random YouTube links.
* Some fixes for the `coin' pluginPřemysl Janouch2014-07-241-9/+9
| | | | Hey, I'm pretty new to Tcl, leave me alone.
* Port the `coin' plugin from VitaminAPřemysl Janouch2014-07-242-3/+127
|
* Update the READMEkikePřemysl Janouch2014-07-211-2/+30
|
* Fix two Clang static analyzer issuesPřemysl Janouch2014-07-192-1/+3
| | | | Overflowing memory allocations should crash or exit anyway.
* Fix some compiler warningsPřemysl Janouch2014-07-195-19/+25
| | | | | | `-Weverything' seems to have found a few problems. Also enabled clang sanitizers by default.
* Add a LIST_HEADER macroPřemysl Janouch2014-07-183-11/+7
| | | | | | To save us from specifying the `next' and `prev' pointers all the time. It's not perfect, just a tiny bit better.
* CleanupPřemysl Janouch2014-07-181-9/+1
|
* Implement TIME, VERSION, MOTD, LUSERSPřemysl Janouch2014-07-172-6/+73
|
* Fix the ERR_NOTREGISTERED messagePřemysl Janouch2014-07-171-1/+1
|
* Send LUSERS output upon registrationPřemysl Janouch2014-07-171-1/+45
|
* Fix handling of multiple NICK's before a USERPřemysl Janouch2014-07-171-5/+5
| | | | | We have to release the old nickname _first_, so that we can register the same one again (albeit with a slight race condition).
* Send the user's mode after registrationPřemysl Janouch2014-07-171-2/+30
|
* Return `struct error' from irc_initialize_ssl()Přemysl Janouch2014-07-171-14/+12
|
* Implement daemonizationPřemysl Janouch2014-07-161-5/+36
| | | | Now we're a real daemon, yay.
* Revise usage of print_{error,fatal}()Přemysl Janouch2014-07-163-50/+28
| | | | | | Let's limit print_fatal() to unexpected conditions. Also added exit_fatal() to save a few lines of code.
* Only print the first OpenSSL errorPřemysl Janouch2014-07-161-4/+6
| | | | Otherwise TLS autodetection and TLS communication itself seem to work, yay!
* str_map::key_cmp -> str_map::key_xfrmPřemysl Janouch2014-07-162-13/+45
| | | | | | It seemed to be almost too easy to be true, and it actually was. Now it should work.
* First bugfixesPřemysl Janouch2014-07-162-9/+14
| | | | Now we can at least successfully register.
* CleanupPřemysl Janouch2014-07-162-22/+11
| | | | No functional changes.
* Rip out error codesPřemysl Janouch2014-07-163-123/+35
| | | | | | | | | | | | | | | As it turns out, they're rather annoying to maintain, and we don't even need them. They also clutter the code unnecessarily in their current form. If it ever comes to having to have them, let's make another version of error_set(), maybe error_set_with_code(), that makes it possible to also set an integer within `struct error'. The only problem with the above solution is when we aggregate errors from multiple functions (be it by calling one after another, or through nesting of functions that may return an error). But let's care about that when the time comes for it.
* Make it possible to route messages to syslogPřemysl Janouch2014-07-152-13/+44
|
* Resolve paths relative to XDG config. pathsPřemysl Janouch2014-07-143-100/+131
| | | | This should make the programs an awful lot less painful to set up.
* Rename `struct connection' to `struct client'Přemysl Janouch2014-07-141-148/+144
| | | | | It is shorter and makes more sense. Also replaced "conn" with "c" to keep it even more concise, and thus clearer.
* Add a utility to extract a message catalogsPřemysl Janouch2014-07-143-2/+23
|
* Implement client registrationPřemysl Janouch2014-07-141-80/+381
| | | | | And shuffle around some functions so that they form logical blocks (at least I've tried; it's not that easy when you try to avoid forward declarations).
* Add support for custom str_map key comp. fun.Přemysl Janouch2014-07-141-2/+6
| | | | That wasn't hard.
* Don't forget that channels have usersPřemysl Janouch2014-07-141-3/+28
|
* Miscellaneous little thingsPřemysl Janouch2014-07-141-10/+11
|