Přemysl Eric Janouch
b987b2cc64
degesch: add config_item_string_from_cstr()
2015-07-11 03:29:52 +02:00
Přemysl Eric Janouch
d39ffe440f
degesch: fix display of empty objects in /set
2015-07-10 01:24:06 +02:00
Přemysl Eric Janouch
2b2da0beab
degesch: support CASEMAPPING=rfc1459-strict
2015-07-09 01:48:34 +02:00
Přemysl Eric Janouch
f907f1e3dc
Add str_cut_until()
2015-07-09 00:10:06 +02:00
Přemysl Eric Janouch
d3b1754e14
degesch: introduce transform_str()
2015-07-08 23:15:48 +02:00
Přemysl Eric Janouch
3a922c3c1a
degesch: start using "on_change" notifications
...
Terminal attributes can be changed on the fly now.
2015-07-05 15:57:53 +02:00
Přemysl Eric Janouch
34c1df5171
mv config_schema_{fix_value,initialize_item}()
2015-07-05 02:16:43 +02:00
Přemysl Eric Janouch
b1dd34a7ba
degesch: set "user_data" while loading config
...
It'd be quite wrong to call "on_change" on them without this.
2015-07-05 02:16:43 +02:00
Přemysl Eric Janouch
9b41256ebf
degesch: create servers from configuration
...
This means that as of now, the only way of creating a server is
to edit the configuration file by hand and add (at least) an empty
object under the server's name.
2015-07-05 02:16:43 +02:00
Přemysl Eric Janouch
2e20ec0ef6
degesch: get real with the CTCP
2015-07-04 01:11:27 +02:00
Přemysl Eric Janouch
b486965277
kike: resolve the path to PID files better
2015-07-02 01:05:56 +02:00
Přemysl Eric Janouch
51bf132c6b
Bump liberty
2015-07-01 23:28:30 +02:00
Přemysl Eric Janouch
b56245cf5b
degesch: implement /buffer move
2015-06-21 19:35:35 +02:00
Přemysl Eric Janouch
8eb31ad2e1
degesch: fix /invite
2015-06-18 22:35:14 +02:00
Přemysl Eric Janouch
897bb00af1
degesch: add & use strncasecmp_ascii()
2015-06-02 21:28:41 +02:00
Přemysl Eric Janouch
5a0af0364f
common: fix connector failure
2015-05-12 05:04:17 +02:00
Přemysl Eric Janouch
2eda3110b3
degesch: asynchronous connecting etc.
...
I'm sorry, couldn't keep the diff small.
All the ZyklonB heritage code is shit anyway.
2015-05-09 22:14:02 +02:00
Přemysl Eric Janouch
1b2fabe4cc
Move code within common.c
2015-05-08 23:29:09 +02:00
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