Přemysl Eric Janouch
a2a979ea2e
Make it possible to route messages to syslog
2014-07-15 22:23:53 +02:00
Přemysl Eric Janouch
18cb2941f3
Resolve paths relative to XDG config. paths
...
This should make the programs an awful lot less painful to set up.
2014-07-14 22:15:56 +02:00
Přemysl Eric Janouch
b0cf09fb4c
Rename `struct connection' to `struct client'
...
It is shorter and makes more sense. Also replaced "conn" with "c"
to keep it even more concise, and thus clearer.
2014-07-14 22:15:56 +02:00
Přemysl Eric Janouch
cc4ca46cc3
Add a utility to extract a message catalogs
2014-07-14 22:15:56 +02:00
Přemysl Eric Janouch
b58ee27362
Implement client registration
...
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).
2014-07-14 02:38:56 +02:00
Přemysl Eric Janouch
c7cd0c40e0
Add support for custom str_map key comp. fun.
...
That wasn't hard.
2014-07-14 02:06:02 +02:00
Přemysl Eric Janouch
3206c86430
Don't forget that channels have users
2014-07-14 00:36:16 +02:00
Přemysl Eric Janouch
d40d34b4ca
Miscellaneous little things
2014-07-14 00:14:37 +02:00
Přemysl Eric Janouch
586ccd4e87
Put a prolog at the top of configuration files
...
Later I'm going to put in there some more information about the format etc.
2014-07-13 23:50:44 +02:00
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