aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Experimental support for building as C++origin/c++Přemysl Eric Janouch2020-10-222-93/+147
| | | | | | | | | | | 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 3629Přemysl Eric Janouch2020-10-211-1/+8
|
* Reject overlong UTF-8 sequencesPřemysl Eric Janouch2020-10-212-4/+11
|
* Fix optional arguments in --help outputPřemysl Eric Janouch2020-10-131-1/+1
| | | | An equals sign is necessary.
* Improve the UTF-8 APIPřemysl Eric Janouch2020-10-122-29/+30
| | | | We need to be able to detect partial sequences.
* Fix a memory leak in mpd_client_parse_line()Přemysl Eric Janouch2020-10-121-4/+3
|
* Import configuration test from degeschPřemysl Eric Janouch2020-10-121-0/+73
|
* Fix crashes in the config parserPřemysl Eric Janouch2020-10-121-6/+9
| | | | | It had a duality between not requiring null-terminated input and relying on it, depending on where you looked.
* Add remaining fuzzing entry pointsPřemysl Eric Janouch2020-10-122-7/+94
| | | | Closes #1
* Add a basic fuzzing framework using libFuzzerPřemysl Eric Janouch2020-10-113-2/+232
| | | | Updates #1
* Import xwrite(), cstr_set(), resolve_..._template()Přemysl Eric Janouch2020-10-101-9/+58
| | | | From degesch and json-rpc-shell.
* Rename cstr_transform() argumentPřemysl Eric Janouch2020-10-101-2/+2
| | | | It does not always have to be tolower().
* Mark some issuesPřemysl Eric Janouch2020-10-101-0/+2
|
* Get rid of CMake dev warningsPřemysl Eric Janouch2020-10-022-14/+14
|
* Bump copyright yearsPřemysl Eric Janouch2020-10-022-2/+2
|
* Add iscntrl_ascii()Přemysl Eric Janouch2020-10-021-0/+6
| | | | It's too easy to miss the DEL character.
* Add a slogan of sortsPřemysl Eric Janouch2020-08-011-0/+3
|
* Name changePřemysl Eric Janouch2020-08-016-6/+6
|
* Improve setjmp safety in config parserPřemysl Janouch2020-04-191-5/+7
|
* Fix the SCGI parser and testsPřemysl Janouch2018-10-182-9/+27
|
* Allow aborting the FastCGI protocol parserPřemysl Janouch2018-10-182-7/+9
|
* Add some commentsPřemysl Janouch2018-10-111-0/+5
|
* Add missing include for "struct iovec"Přemysl Janouch2018-06-241-0/+1
|
* Remove .travis.ymlPřemysl Janouch2018-06-211-24/+0
| | | | | | We don't depend on any proprietary services no longer. I'll have to make my own replacements with blackjack and hookers. Until then, the file stays in the commit log as an example.
* Update READMEPřemysl Janouch2018-06-211-4/+4
|
* Relicense to 0BSD, update mail addressPřemysl Janouch2018-06-217-25/+14
| | | | | | | | | 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/ PEGPřemysl Janouch2018-04-191-0/+26
|
* siphash: silence fall-through warningsPřemysl Janouch2017-09-261-7/+7
|
* Little improvementsPřemysl Janouch2017-07-242-3/+3
|
* MPD client: +mpd_client_send_command_raw()Přemysl Janouch2017-06-261-13/+19
|
* Improve simple_config_update_from_file()Přemysl Janouch2017-06-221-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 possiblePřemysl Janouch2017-06-226-312/+239
|
* CleanupPřemysl Janouch2017-06-142-8/+1
|
* Make config_item_clone() staticPřemysl Janouch2017-06-121-1/+1
|
* Add VIM syntax highlight for "config"Přemysl Janouch2017-06-121-0/+26
|
* Improve read_line()Přemysl Janouch2017-06-121-13/+9
| | | | One less useless boolean variable.
* MPD client: abort pending tasksPřemysl Janouch2017-06-041-22/+22
|
* Update READMEPřemysl Janouch2017-06-041-0/+2
|
* Make socket_io_try_*() actually use read/writePřemysl Janouch2017-05-071-5/+5
| | | | So that they can be used with pipes.
* Add a warning comment to "poller_fd::closed"Přemysl Janouch2017-05-062-0/+4
|
* Fix broken toupper_ascii()Přemysl Janouch2017-05-062-2/+2
| | | | Update copyright years.
* Add packaging scripts for MesonPřemysl Janouch2017-04-304-0/+69
| | | | | It probably doesn't belong here but I don't feel like creating another repository for this either yet.
* Fix the WebSocket frame parserPřemysl Janouch2017-02-061-3/+2
|
* Fix and update LICENSEPřemysl Janouch2017-02-036-17/+11
|
* Travis CI: brevify notificationsPřemysl Janouch2017-02-031-0/+6
|
* Fixes to the previous batch of commitsPřemysl Janouch2017-01-232-7/+5
|
* Rename strv_add*() to strv_append*()Přemysl Janouch2017-01-233-24/+24
| | | | Consistency.
* Rename str_ensure_space() to str_reserve()Přemysl Janouch2017-01-232-5/+5
| | | | Let's not invent our own terminology.
* join_strv() -> strv_join(), take a string argumentPřemysl Janouch2017-01-231-2/+2
|
* Rename "struct str_vector" to "struct strv"Přemysl Janouch2017-01-234-80/+80
| | | | Short names for things used often.