Commit Graph

86 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 649ea0baf7 Refactor config schema initialization
Now the configuration module seems to be fit for inclusion in liberty.
2015-12-11 02:27:29 +01:00
Přemysl Eric Janouch de942e40ac Cleanup 2015-12-11 02:27:29 +01:00
Přemysl Eric Janouch 620418fa3b degesch: add a test for configuration 2015-12-10 21:26:17 +01:00
Přemysl Eric Janouch 36c59ff375 Enable TCP_NODELAY 2015-11-22 02:12:52 +01:00
Přemysl Eric Janouch d4cbc576e2 degesch: typos, cleanups 2015-11-21 19:00:56 +01:00
Přemysl Eric Janouch 5ee210a5b7 degesch: stubplement plugins 2015-11-21 14:09:33 +01:00
Přemysl Eric Janouch 9b22d72fd1 Extend split_str() for multiple split chars 2015-11-15 15:56:10 +01:00
Přemysl Eric Janouch 1613e75a48 mv 'struct config_item'{_,}
Finally we can get rid of the trailing underscore.
2015-08-17 00:13:05 +02:00
Přemysl Eric Janouch abd892cbd7 Bump liberty 2015-08-17 00:13:05 +02:00
Přemysl Eric Janouch c8890953b3 SOCKS: make use of the str_pack_* API
I forgot I had it.
2015-08-06 21:32:01 +02:00
Přemysl Eric Janouch 67b67cb171 Fix immediate connects
Apparently FreeBSD can do this while Linux can not.
2015-07-23 10:17:28 +02:00
Přemysl Eric Janouch 4b86fb2d9d SOCKS: add socks_protocol_to_string() 2015-07-23 04:26:59 +02:00
Přemysl Eric Janouch 9686e55215 SOCKS: fix "on_connecting" callback 2015-07-23 04:26:59 +02:00
Přemysl Eric Janouch 4a89572089 SOCKS: various fixes to API and code 2015-07-23 04:26:59 +02:00
Přemysl Eric Janouch c34bb483ca SOCKS: finishing touches
Making sure that I handle all corner cases appropriately.
2015-07-22 00:53:44 +02:00
Přemysl Eric Janouch 7d9b05eb9a SOCKS: shorten code with SOCKS_GO 2015-07-22 00:11:20 +02:00
Přemysl Eric Janouch 0fc8ea6a66 SOCKS: refactor 2015-07-21 23:56:05 +02:00
Přemysl Eric Janouch e4af470639 SOCKS: simplify code 2015-07-21 23:12:58 +02:00
Přemysl Eric Janouch 13872a3a3e Fix SOCKS5 nopass authentication 2015-07-21 00:57:16 +02:00
Přemysl Eric Janouch 22d9e20b4a Get at least SOCKS4A working 2015-07-21 00:31:19 +02:00
Přemysl Eric Janouch 318b7400d1 Rewrite socks to async
Not quite working yet, however it's a massive and important change.
2015-07-20 23:56:31 +02:00
Přemysl Eric Janouch b750590f18 degesch: allow unterminated CTCP messages 2015-07-19 23:58:34 +02:00
Přemysl Eric Janouch d6a4ca1434 Bump liberty, fix map iterators 2015-07-14 22:25:30 +02:00
Přemysl Eric Janouch 955552f4fa degesch: implement /server rename 2015-07-14 21:16:35 +02:00
Přemysl Eric Janouch 0c4b727961 Bump liberty 2015-07-11 17:54:38 +02:00
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