Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Describe syntax of advanced configuration w/ PEG | Přemysl Janouch | 2018-04-19 | 1 | -0/+26 |
| | |||||
* | Improve simple_config_update_from_file() | Přemysl Janouch | 2017-06-22 | 1 | -45/+18 |
| | | | | | | | | | | - considerably shorter - catch file read errors as we should - better error messages, now including the filename - disallow empty keys as they are never used - allow whitespace before start of comment NUL characters stop processing now, though. If anyone cares. | ||||
* | _init() -> _make() where possible | Přemysl Janouch | 2017-06-22 | 1 | -193/+153 |
| | |||||
* | Make config_item_clone() static | Přemysl Janouch | 2017-06-12 | 1 | -1/+1 |
| | |||||
* | Improve read_line() | Přemysl Janouch | 2017-06-12 | 1 | -13/+9 |
| | | | | One less useless boolean variable. | ||||
* | Make socket_io_try_*() actually use read/write | Přemysl Janouch | 2017-05-07 | 1 | -5/+5 |
| | | | | So that they can be used with pipes. | ||||
* | Add a warning comment to "poller_fd::closed" | Přemysl Janouch | 2017-05-06 | 1 | -0/+3 |
| | |||||
* | Fix broken toupper_ascii() | Přemysl Janouch | 2017-05-06 | 1 | -1/+1 |
| | | | | Update copyright years. | ||||
* | Fix and update LICENSE | Přemysl Janouch | 2017-02-03 | 1 | -1/+0 |
| | |||||
* | Fixes to the previous batch of commits | Přemysl Janouch | 2017-01-23 | 1 | -4/+4 |
| | |||||
* | Rename strv_add*() to strv_append*() | Přemysl Janouch | 2017-01-23 | 1 | -12/+12 |
| | | | | Consistency. | ||||
* | Rename str_ensure_space() to str_reserve() | Přemysl Janouch | 2017-01-23 | 1 | -4/+4 |
| | | | | Let's not invent our own terminology. | ||||
* | join_strv() -> strv_join(), take a string argument | Přemysl Janouch | 2017-01-23 | 1 | -2/+2 |
| | |||||
* | Rename "struct str_vector" to "struct strv" | Přemysl Janouch | 2017-01-23 | 1 | -36/+36 |
| | | | | Short names for things used often. | ||||
* | Add ARRAY convenience macros | Přemysl Janouch | 2017-01-23 | 1 | -0/+17 |
| | | | | Because dynamically allocated arrays in C are a pain. | ||||
* | Add some consts to function arguments | Přemysl Janouch | 2016-10-23 | 1 | -9/+9 |
| | |||||
* | Make error_set() return NULL for convenience | Přemysl Janouch | 2016-10-10 | 1 | -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 Janouch | 2016-10-09 | 1 | -20/+7 |
| | |||||
* | Add some constness to str_map methods | Přemysl Janouch | 2016-10-05 | 1 | -3/+3 |
| | |||||
* | Fix a comment | Přemysl Janouch | 2016-10-04 | 1 | -1/+1 |
| | |||||
* | Use CLOCK_MONOTONIC_RAW for timers if available | Přemysl Janouch | 2016-10-04 | 1 | -1/+4 |
| | | | | Should make timers work more precisely on Linux. | ||||
* | Add config_read_from_file() | Přemysl Janouch | 2016-10-01 | 1 | -0/+21 |
| | |||||
* | Add socket_io_*() functions | Přemysl Janouch | 2016-10-01 | 1 | -0/+71 |
| | |||||
* | Simplify resolve_relative_filename_generic() | Přemysl Janouch | 2016-10-01 | 1 | -14/+6 |
| | |||||
* | Add poller_post_fork() for *BSD kqueue | Přemysl Janouch | 2016-03-13 | 1 | -2/+16 |
| | |||||
* | Fix config schema application | Přemysl Janouch | 2016-02-01 | 1 | -2/+3 |
| | |||||
* | Allow fsync() to fail on special files | Přemysl Janouch | 2016-01-26 | 1 | -1/+2 |
| | |||||
* | Silence warning | Přemysl Janouch | 2016-01-26 | 1 | -1/+3 |
| | |||||
* | Add lock_pid_file() | Přemysl Janouch | 2016-01-17 | 1 | -0/+47 |
| | |||||
* | Get rid of struct typedefs | Přemysl Janouch | 2016-01-17 | 1 | -9/+6 |
| | |||||
* | Cleanup | Přemysl Janouch | 2016-01-16 | 1 | -13/+6 |
| | |||||
* | Shuffle code | Přemysl Janouch | 2016-01-16 | 1 | -90/+88 |
| | |||||
* | Don't crash when new threads can't be created | Přemysl Janouch | 2016-01-16 | 1 | -5/+59 |
| | |||||
* | Use a more generic API in write_file{,_safe}() | Přemysl Janouch | 2016-01-15 | 1 | -5/+7 |
| | |||||
* | Make writing files a bit safer | Přemysl Janouch | 2016-01-13 | 1 | -3/+19 |
| | | | | Especially configuration files. | ||||
* | Allow arbitrary configuration keys | Přemysl Janouch | 2016-01-09 | 1 | -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_from | Přemysl Janouch | 2016-01-09 | 1 | -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 connector | Přemysl Janouch | 2016-01-04 | 1 | -1/+2 |
| | |||||
* | Fix the kqueue poller backend | Přemysl Janouch | 2016-01-04 | 1 | -3/+3 |
| | |||||
* | Update copyright years | Přemysl Janouch | 2016-01-03 | 1 | -1/+1 |
| | |||||
* | Add a CONTAINER_OF macro | Přemysl Janouch | 2016-01-03 | 1 | -0/+3 |
| | |||||
* | Rewrite connector to use asynchronous getaddrinfo | Přemysl Janouch | 2016-01-03 | 1 | -50/+89 |
| | |||||
* | Add asynchronous getnameinfo() | Přemysl Janouch | 2016-01-02 | 1 | -0/+64 |
| | |||||
* | Add asynchronous getaddrinfo() | Přemysl Janouch | 2016-01-02 | 1 | -0/+71 |
| | |||||
* | Add an async job manager to the poller | Přemysl Janouch | 2016-01-02 | 1 | -34/+86 |
| | |||||
* | Add a framework for asynchronous jobs | Přemysl Janouch | 2016-01-02 | 1 | -0/+191 |
| | |||||
* | Pass hostname in connector's success callback | Přemysl Janouch | 2016-01-01 | 1 | -15/+17 |
| | |||||
* | Stylistic, equivalent change | Přemysl Janouch | 2015-12-28 | 1 | -4/+2 |
| | |||||
* | Make config_schema_initialize_item more useful | Přemysl Janouch | 2015-12-28 | 1 | -11/+15 |
| | | | | By also allowing it to set the user_data member. | ||||
* | Constify str_map_iter | Přemysl Janouch | 2015-12-28 | 1 | -6/+9 |
| |