Commit Graph

1417 Commits

Author SHA1 Message Date
Přemysl Eric Janouch f52fab9448 Load X/Open message catalogs
This is going to enable making changes to ERR and RPL messages without
modifying the source code.

Localized messages could be interesting. :)
2014-07-13 23:47:29 +02:00
Přemysl Eric Janouch aaedbf93f1 Load an MOTD on start 2014-07-13 21:27:38 +02:00
Přemysl Eric Janouch 03ec980f26 Add a strtoul() wrapper 2014-07-13 05:56:30 +02:00
Přemysl Eric Janouch 51909edc76 Apparently it's the "realname" 2014-07-13 05:38:05 +02:00
Přemysl Eric Janouch ab651284a2 Initialize the server name 2014-07-13 05:05:01 +02:00
Přemysl Eric Janouch 475c83618a Only compile regex's once 2014-07-13 04:30:23 +02:00
Přemysl Eric Janouch 4904128c98 Add a few token validation functions 2014-07-13 03:26:33 +02:00
Přemysl Eric Janouch ccb2e4006d Implement irc_try_write() 2014-07-12 23:17:38 +02:00
Přemysl Eric Janouch 5ad2781681 Rename connection_abort() to connection_kill() 2014-07-12 23:17:38 +02:00
Přemysl Eric Janouch 93450332fe Implement irc_try_read() 2014-07-12 23:17:38 +02:00
Přemysl Eric Janouch 13d3299816 Fix connection abortion 2014-07-12 22:54:35 +02:00
Přemysl Eric Janouch cdaab8fdf0 Move `SSL_CTX *' into `struct server_context'
It didn't make much sense to parse the configuration values and load the SSL
keys on each connection.
2014-07-12 22:00:54 +02:00
Přemysl Eric Janouch 0cb51320d6 Implement an iterator for `struct str_map' 2014-07-12 21:19:44 +02:00
Přemysl Eric Janouch 1edcbc5f3d Implement parsing of IRC 3.2 message tags
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.
2014-07-12 21:17:22 +02:00
Přemysl Eric Janouch 651d49ca9b Add .gitignore 2014-07-12 21:17:22 +02:00
Přemysl Eric Janouch 705c0e943e WIP: add a stub IRC daemon named `kike'
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).
2014-07-12 21:09:50 +02:00
Přemysl Eric Janouch 165a19da21 Initial commit 2014-07-05 01:28:16 +02:00