aboutsummaryrefslogtreecommitdiff
path: root/liberty.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename "struct str_vector" to "struct strv"Přemysl Janouch2017-01-231-36/+36
| | | | Short names for things used often.
* Add ARRAY convenience macrosPřemysl Janouch2017-01-231-0/+17
| | | | Because dynamically allocated arrays in C are a pain.
* Add some consts to function argumentsPřemysl Janouch2016-10-231-9/+9
|
* Make error_set() return NULL for conveniencePřemysl Janouch2016-10-101-19/+12
| | | | This often eliminates the need for a block where one line is enough.
* Merge cstr_split() and cstr_split_ignore_empty()Přemysl Janouch2016-10-091-20/+7
|
* Add some constness to str_map methodsPřemysl Janouch2016-10-051-3/+3
|
* Fix a commentPřemysl Janouch2016-10-041-1/+1
|
* Use CLOCK_MONOTONIC_RAW for timers if availablePřemysl Janouch2016-10-041-1/+4
| | | | Should make timers work more precisely on Linux.
* Add config_read_from_file()Přemysl Janouch2016-10-011-0/+21
|
* Add socket_io_*() functionsPřemysl Janouch2016-10-011-0/+71
|
* Simplify resolve_relative_filename_generic()Přemysl Janouch2016-10-011-14/+6
|
* Add poller_post_fork() for *BSD kqueuePřemysl Janouch2016-03-131-2/+16
|
* Fix config schema applicationPřemysl Janouch2016-02-011-2/+3
|
* Allow fsync() to fail on special filesPřemysl Janouch2016-01-261-1/+2
|
* Silence warningPřemysl Janouch2016-01-261-1/+3
|
* Add lock_pid_file()Přemysl Janouch2016-01-171-0/+47
|
* Get rid of struct typedefsPřemysl Janouch2016-01-171-9/+6
|
* CleanupPřemysl Janouch2016-01-161-13/+6
|
* Shuffle codePřemysl Janouch2016-01-161-90/+88
|
* Don't crash when new threads can't be createdPřemysl Janouch2016-01-161-5/+59
|
* Use a more generic API in write_file{,_safe}()Přemysl Janouch2016-01-151-5/+7
|
* Make writing files a bit saferPřemysl Janouch2016-01-131-3/+19
| | | | Especially configuration files.
* Allow arbitrary configuration keysPřemysl Janouch2016-01-091-2/+22
| | | | | So that if the application decides to use them, neither writing nor loading of the configuration doesn't brutally fail.
* Copy user_data in config_item_set_fromPřemysl Janouch2016-01-091-0/+1
| | | | | | So that the validation callback can make use of it. This is analogous to the change in schema application.
* Fix usage of freeaddrinfo() in connectorPřemysl Janouch2016-01-041-1/+2
|
* Fix the kqueue poller backendPřemysl Janouch2016-01-041-3/+3
|
* Update copyright yearsPřemysl Janouch2016-01-031-1/+1
|
* Add a CONTAINER_OF macroPřemysl Janouch2016-01-031-0/+3
|
* Rewrite connector to use asynchronous getaddrinfoPřemysl Janouch2016-01-031-50/+89
|
* Add asynchronous getnameinfo()Přemysl Janouch2016-01-021-0/+64
|
* Add asynchronous getaddrinfo()Přemysl Janouch2016-01-021-0/+71
|
* Add an async job manager to the pollerPřemysl Janouch2016-01-021-34/+86
|
* Add a framework for asynchronous jobsPřemysl Janouch2016-01-021-0/+191
|
* Pass hostname in connector's success callbackPřemysl Janouch2016-01-011-15/+17
|
* Stylistic, equivalent changePřemysl Janouch2015-12-281-4/+2
|
* Make config_schema_initialize_item more usefulPřemysl Janouch2015-12-281-11/+15
| | | | By also allowing it to set the user_data member.
* Constify str_map_iterPřemysl Janouch2015-12-281-6/+9
|
* Add read_file() and write_file()Přemysl Janouch2015-12-131-46/+89
| | | | And refactor the simple configuration module a bit.
* Import configuration module from uirc3Přemysl Janouch2015-12-111-0/+1118
| | | | It seems to be mature enough, and it's just a bit too useful.
* Run tests in different processesPřemysl Janouch2015-12-101-20/+74
| | | | So that one broken test doesn't cause the rest to be effectively skipped.
* Fix a nasty bug in utf8_next()Přemysl Janouch2015-12-101-11/+9
| | | | Uppercase ASCII was read incorrectly.
* Path searching changesPřemysl Janouch2015-11-191-53/+88
| | | | | | | - 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
* Fix epoll with no FDs to watch overPřemysl Janouch2015-08-221-1/+1
|
* Fix an embarrassing bug in msg_unpackerPřemysl Janouch2015-08-171-1/+1
|
* Import the connector from uirc3Přemysl Janouch2015-08-171-0/+244
|
* Rename configuration to simple_config_*Přemysl Janouch2015-08-161-9/+11
| | | | So that it doesn't conflict with the enhanced one in uirc3.
* Make an assertion give more informationPřemysl Janouch2015-08-161-1/+2
|
* Add kqueue supportpremysl2015-08-061-2/+245
| | | | Successfully tested on OpenBSD with ponymap.
* Don't return ugly error strings from OpenSSLPřemysl Janouch2015-07-151-3/+3
|
* Allow str_map siphash key randomizationPřemysl Janouch2015-07-141-41/+76
|