Commit Graph

84 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 733de7bae2 Add asynchronous getnameinfo() 2016-01-02 04:36:17 +01:00
Přemysl Eric Janouch 13d04e7a35 Add asynchronous getaddrinfo() 2016-01-02 04:36:17 +01:00
Přemysl Eric Janouch 455f2cec82 Add an async job manager to the poller 2016-01-02 04:36:17 +01:00
Přemysl Eric Janouch ee40af0031 Add a framework for asynchronous jobs 2016-01-02 04:36:17 +01:00
Přemysl Eric Janouch 80815519b3 Pass hostname in connector's success callback 2016-01-01 20:14:16 +01:00
Přemysl Eric Janouch f6d74544f8 Stylistic, equivalent change 2015-12-28 04:03:34 +01:00
Přemysl Eric Janouch 2d8a8e0b1b Make config_schema_initialize_item more useful
By also allowing it to set the user_data member.
2015-12-28 04:03:34 +01:00
Přemysl Eric Janouch a4313ee4b9 Constify str_map_iter 2015-12-28 04:03:34 +01:00
Přemysl Eric Janouch 8b2e41ed8f Add read_file() and write_file()
And refactor the simple configuration module a bit.
2015-12-13 22:12:38 +01:00
Přemysl Eric Janouch 91fca5cb05 Import configuration module from uirc3
It seems to be mature enough, and it's just a bit too useful.
2015-12-11 02:52:13 +01:00
Přemysl Eric Janouch 51663d5ee3 Run tests in different processes
So that one broken test doesn't cause the rest to be effectively skipped.
2015-12-10 23:04:37 +01:00
Přemysl Eric Janouch 75d063e363 Fix a nasty bug in utf8_next()
Uppercase ASCII was read incorrectly.
2015-12-10 19:54:45 +01:00
Přemysl Eric Janouch 0adcaf67c2 Path searching changes
- fixed XDG config file search (didn't include /etc/xdg)
 - added XDG data file search
 - added a generic function to build custom resolvers
 - code reshuffled
2015-11-19 13:27:12 +01:00
Přemysl Eric Janouch bb3d669c3b Fix epoll with no FDs to watch over 2015-08-22 20:59:35 +02:00
Přemysl Eric Janouch ee2457df7c Fix an embarrassing bug in msg_unpacker 2015-08-17 01:53:49 +02:00
Přemysl Eric Janouch 649c351560 Import the connector from uirc3 2015-08-17 00:01:08 +02:00
Přemysl Eric Janouch 792b074e3d Rename configuration to simple_config_*
So that it doesn't conflict with the enhanced one in uirc3.
2015-08-16 23:49:57 +02:00
Přemysl Eric Janouch bb2de1fd48 Make an assertion give more information 2015-08-16 21:56:47 +02:00
Přemysl Eric Janouch 1a305a1c6b Add kqueue support
Successfully tested on OpenBSD with ponymap.
2015-08-06 19:00:13 +02:00
Přemysl Eric Janouch 02708608a9 Don't return ugly error strings from OpenSSL 2015-07-15 00:35:35 +02:00
Přemysl Eric Janouch 246bd92648 Allow str_map siphash key randomization 2015-07-14 23:39:40 +02:00
Přemysl Eric Janouch 0058c1f457 Add str_map_steal() 2015-07-14 22:17:27 +02:00
Přemysl Eric Janouch fb50290341 Add "str_map_unset_iter" 2015-07-14 22:17:01 +02:00
Přemysl Eric Janouch 7fa873fb96 Import stuff from uirc3 2015-07-11 17:44:37 +02:00
Přemysl Eric Janouch 34569e2b62 Do tilde expansion in resolve_config_filename() 2015-07-01 23:24:42 +02:00
Přemysl Eric Janouch 439bc3acd3 Add str_vector_steal() 2015-06-26 22:20:37 +02:00
Přemysl Eric Janouch 99b92fdd6e Extend UTF-8 code a bit 2015-05-07 08:34:10 +02:00
Přemysl Eric Janouch 70f12a8a7d Don't print out full path in assertions 2015-05-07 08:33:15 +02:00
Přemysl Eric Janouch 37005cc443 Fix isspace_ascii(), add new _ascii() functions 2015-05-02 22:33:49 +02:00
Přemysl Eric Janouch c8238a5764 Fix str_pack_u16() argument 2015-05-02 22:33:10 +02:00
Přemysl Eric Janouch 8c6d18757d Factor out str_map_clear() 2015-03-29 03:04:55 +02:00
Přemysl Eric Janouch f20218e73e Add more stuff
And break the API.  All in the name of progress!
2015-03-29 01:55:10 +01:00
Přemysl Eric Janouch 2b3bc18269 Fix formatting 2015-03-29 00:38:45 +01:00
Přemysl Eric Janouch 087645848b Initial commit 2015-02-28 19:53:23 +01:00