aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Put a prolog at the top of configuration filesPřemysl Janouch2014-07-133-26/+47
| | | | Later I'm going to put in there some more information about the format etc.
* Load X/Open message catalogsPřemysl Janouch2014-07-131-1/+26
| | | | | | | This is going to enable making changes to ERR and RPL messages without modifying the source code. Localized messages could be interesting. :)
* Load an MOTD on startPřemysl Janouch2014-07-132-0/+43
|
* Add a strtoul() wrapperPřemysl Janouch2014-07-132-4/+11
|
* Apparently it's the "realname"Přemysl Janouch2014-07-132-6/+6
|
* Initialize the server namePřemysl Janouch2014-07-131-0/+45
|
* Only compile regex's oncePřemysl Janouch2014-07-133-70/+126
|
* Add a few token validation functionsPřemysl Janouch2014-07-131-0/+87
|
* Implement irc_try_write()Přemysl Janouch2014-07-121-1/+21
|
* Rename connection_abort() to connection_kill()Přemysl Janouch2014-07-121-8/+8
|
* Implement irc_try_read()Přemysl Janouch2014-07-121-2/+31
|
* Fix connection abortionPřemysl Janouch2014-07-121-7/+8
|
* Move `SSL_CTX *' into `struct server_context'Přemysl Janouch2014-07-121-52/+85
| | | | | It didn't make much sense to parse the configuration values and load the SSL keys on each connection.
* Implement an iterator for `struct str_map'Přemysl Janouch2014-07-121-0/+33
|
* Implement parsing of IRC 3.2 message tagsPřemysl Janouch2014-07-121-3/+43
| | | | | It's still in the making and we don't use it, but let's not fail on it if e.g. a plugin decides to enable it.
* Add .gitignorePřemysl Janouch2014-07-121-0/+6
|
* WIP: add a stub IRC daemon named `kike'Přemysl Janouch2014-07-125-1609/+2654
| | | | | | | | | | | | | | As it is going to share a great lot of functionality with ZyklonB, I have decided to extract the common parts into `common.c' and make the two subprojects include this file. The Single Compile Unit concept has proven valuable (sub-second compile times, dead code warnings, almost no need for function declarations, whole-program optimizations), and the sources aren't that long so far anyway. I am probably going to add CMake support later but so far it's not a priority. This project is meant to be portable and freely relocatable (ie. no hardcoded paths if I can avoid it).
* Initial commitPřemysl Janouch2014-07-056-0/+3766