Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Experimental support for building as C++origin/c++ | Přemysl Eric Janouch | 2020-10-22 | 1 | -78/+129 |
| | | | | | | | | | | | So far with the following caveats: - Triggers -Wc99-designator - Compound literals are non-standard. - The setjmp/longjmp in the configuration parser might be an issue. - Perhaps others. It does not seem to be a good idea to use this library for C++ at all. Much of what it does is directly replaced by the STL. | ||||
* | Split out utf8_validate_cp(), adhere to RFC 3629 | Přemysl Eric Janouch | 2020-10-21 | 1 | -1/+8 |
| | |||||
* | Reject overlong UTF-8 sequences | Přemysl Eric Janouch | 2020-10-21 | 1 | -0/+5 |
| | |||||
* | Fix optional arguments in --help output | Přemysl Eric Janouch | 2020-10-13 | 1 | -1/+1 |
| | | | | An equals sign is necessary. | ||||
* | Improve the UTF-8 API | Přemysl Eric Janouch | 2020-10-12 | 1 | -29/+25 |
| | | | | We need to be able to detect partial sequences. | ||||
* | Fix crashes in the config parser | Přemysl Eric Janouch | 2020-10-12 | 1 | -6/+9 |
| | | | | | It had a duality between not requiring null-terminated input and relying on it, depending on where you looked. | ||||
* | Import xwrite(), cstr_set(), resolve_..._template() | Přemysl Eric Janouch | 2020-10-10 | 1 | -9/+58 |
| | | | | From degesch and json-rpc-shell. | ||||
* | Rename cstr_transform() argument | Přemysl Eric Janouch | 2020-10-10 | 1 | -2/+2 |
| | | | | It does not always have to be tolower(). | ||||
* | Mark some issues | Přemysl Eric Janouch | 2020-10-10 | 1 | -0/+2 |
| | |||||
* | Bump copyright years | Přemysl Eric Janouch | 2020-10-02 | 1 | -1/+1 |
| | |||||
* | Add iscntrl_ascii() | Přemysl Eric Janouch | 2020-10-02 | 1 | -0/+6 |
| | | | | It's too easy to miss the DEL character. | ||||
* | Add a slogan of sorts | Přemysl Eric Janouch | 2020-08-01 | 1 | -0/+3 |
| | |||||
* | Name change | Přemysl Eric Janouch | 2020-08-01 | 1 | -1/+1 |
| | |||||
* | Improve setjmp safety in config parser | Přemysl Janouch | 2020-04-19 | 1 | -5/+7 |
| | |||||
* | Allow aborting the FastCGI protocol parser | Přemysl Janouch | 2018-10-18 | 1 | -1/+1 |
| | |||||
* | Add missing include for "struct iovec" | Přemysl Janouch | 2018-06-24 | 1 | -0/+1 |
| | |||||
* | Relicense to 0BSD, update mail address | Přemysl Janouch | 2018-06-21 | 1 | -3/+2 |
| | | | | | | | | | I've come to the conclusion that copyright mostly just stands in the way of software development. In my jurisdiction I cannot give up my own copyright and 0BSD seems to be the closest thing to public domain. The updated mail address, also used in my author/committer lines, is shorter and looks nicer. People rarely interact anyway. | ||||
* | 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 |
| |