Přemysl Eric Janouch
879ece1516
config: update comments
2015-05-08 23:26:42 +02:00
Přemysl Eric Janouch
62c55858d0
config: shut up GCC
2015-05-07 19:00:08 +02:00
Přemysl Eric Janouch
c9a02141f9
degesch: move some code to common.c
2015-05-04 02:17:55 +02:00
Přemysl Eric Janouch
bdad4dce42
config: fix config_item_set_from()
2015-05-03 19:26:39 +02:00
Přemysl Eric Janouch
134a627130
degesch: finish /set
...
One bug remaining to make it work.
2015-05-03 19:26:39 +02:00
Přemysl Eric Janouch
4eca3fb4db
config: a tiny bit better messages
2015-05-03 17:00:58 +02:00
Přemysl Eric Janouch
3b8e8cc97f
config: fix string parsing
2015-05-02 22:49:51 +02:00
Přemysl Eric Janouch
1b891ab01b
Bump liberty
2015-05-02 22:36:26 +02:00
Přemysl Eric Janouch
cb2cbc9100
config: fixes
2015-05-02 22:35:14 +02:00
Přemysl Eric Janouch
cfc77159d8
config: on_changed -> on_change
2015-05-02 21:19:12 +02:00
Přemysl Eric Janouch
f7c08fdace
config: simplify and mostly finish
...
What still sucks:
- "on_change" callbacks have little information;
maybe we could add a user-defined field to the schema;
also config_schema_apply_to_object() might assign "user_data"
- no idea how to generate the default configuration file
2015-05-02 21:10:39 +02:00
Přemysl Eric Janouch
5a6b12245b
config: implement config_schema_apply_to_object()
2015-05-02 20:43:01 +02:00
Přemysl Eric Janouch
7cffbc1b2e
config: implement config_load()
2015-05-02 15:07:14 +02:00
Přemysl Eric Janouch
409a13ac7f
config: assert that strings are valid UTF-8
2015-05-02 15:06:31 +02:00
Přemysl Eric Janouch
c4ea0e28fd
config: implement string tokenizing
2015-05-02 04:59:55 +02:00
Přemysl Eric Janouch
83e159d945
config: finish config_item_write() implementation
2015-05-02 04:02:23 +02:00
Přemysl Eric Janouch
fddcef24f9
config: implement a few more methods
2015-05-02 03:45:23 +02:00
Přemysl Eric Janouch
e5b38e9312
config: get rid of "is_nullable"
...
If it doesn't have a default, it just is.
2015-05-02 03:44:31 +02:00
Přemysl Eric Janouch
852c2ac158
Move some macros to common.c
2015-05-02 03:43:29 +02:00
Přemysl Eric Janouch
57f052a2be
Get rid of "All rights reserved"
2015-05-01 23:41:22 +02:00
Přemysl Eric Janouch
ebc3f7fd7d
Implement config_item_get()
2015-05-01 23:26:30 +02:00
Přemysl Eric Janouch
b4dab3489d
Implement config_item_set_from()
2015-05-01 21:48:43 +02:00
Přemysl Eric Janouch
d4deb31a17
Allow extra newlines before right brace in config
2015-05-01 20:59:09 +02:00
Přemysl Eric Janouch
f5f3dd1a29
Halfplement configuration writing
2015-05-01 20:58:46 +02:00
Přemysl Eric Janouch
9285974bff
Fix error reporting in configuration parsing
2015-05-01 18:39:38 +02:00
Přemysl Eric Janouch
6bf57d3450
Start writing a new configuration system
...
For degesch but in the long term for the rest as well.
2015-05-01 17:33:10 +02:00
Přemysl Eric Janouch
245ff38498
Prepare for a custom logger in degesch
2015-04-11 21:12:56 +02:00
Přemysl Eric Janouch
4d4bdc1e6a
Move the SOCKS code to common.c
2015-04-11 21:09:06 +02:00
Přemysl Eric Janouch
012930675e
Bump liberty
2015-03-29 03:46:13 +02:00
Přemysl Eric Janouch
9681ad0021
Move to liberty
2015-02-28 20:09:51 +01:00
Přemysl Eric Janouch
ccf6b1427f
Add a useful assertion to the poller
2015-02-21 12:32:51 +01:00
Přemysl Eric Janouch
6a9a707a9c
Avoid null pointer dereference
...
In irc_listen_resolve() with NULL `host'.
2015-02-14 07:22:28 +01:00
Přemysl Eric Janouch
e8fe0dad81
Import optimized event loop from ponymap
2015-02-12 02:04:39 +01:00
Přemysl Eric Janouch
cd1a55a0d1
Import option handler from ponymap
2015-02-11 02:07:52 +01:00
Přemysl Eric Janouch
89e9f13e12
Fixes
2014-09-27 00:55:13 +02:00
Přemysl Eric Janouch
a1c9018847
Fix timers
2014-09-20 02:08:30 +02:00
Přemysl Eric Janouch
d4c60dc105
s/_func/_fn/
2014-09-19 01:08:18 +02:00
Přemysl Eric Janouch
21e75ebd55
Fix removal from dispatch in timer callbacks
2014-09-19 01:06:42 +02:00
Přemysl Eric Janouch
0484f7e995
Another fix for the legacy poller
2014-08-18 23:22:48 +02:00
Přemysl Eric Janouch
2c150b5399
Fix infinite loop in the legacy poller
2014-08-18 23:07:55 +02:00
Přemysl Eric Janouch
371cd5ea21
Bump _XOPEN_SOURCE to 600
...
Otherwise it's not going to compile on FreeBSD,
because of e.g. missing v/snprintf() and va_copy().
2014-08-18 22:52:01 +02:00
Přemysl Eric Janouch
3afd81df9b
Deal better with displaying IPv6 addresses
2014-08-17 16:59:59 +02:00
Přemysl Eric Janouch
bd68e28b60
Remove the `src' directory
...
There are not that many files, and aren't going to be.
2014-08-10 00:01:38 +02:00