aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Use kqueue on Darwin as wellPřemysl Eric Janouch2021-09-291-4/+3
| | | | | | | | | | Since poll() is implemented in terms of kqueue() there, it doesn't seem like this could have improved anything. Besides man 3 ev, libevent code, and [1], I haven't managed to find much relevant information. [1] https://daniel.haxx.se/blog/2016/10/11/poll-on-mac-10-12-is-broken/
* Ignore empty XDG_*_DIRS env. variablesPřemysl Eric Janouch2021-09-261-2/+2
| | | | | | | | As the specification says we should. GLib does this as well. It is still possible to achieve an empty set by using ":", which are two non-absolute paths that should be ignored. GLib doesn't implement this. Thus, we're now better than GLib.
* Escape DEL character in config_item_write_string()Přemysl Eric Janouch2020-10-311-7/+9
|
* CMakeLists.txt: omit end{if,foreach} expressionsPřemysl Eric Janouch2020-10-291-5/+5
| | | | Their usefulness was almost negative.
* CMakeLists.txt: clean up OpenBSD supportPřemysl Eric Janouch2020-10-291-2/+0
| | | | A few things might have changed.
* Don't suppress -Wimplicit-fallthroughPřemysl Eric Janouch2020-10-261-1/+1
| | | | Might have already been resolved by: 9494e8e da75b6f
* Fix validation of overlong UTF-8Přemysl Eric Janouch2020-10-242-8/+6
| | | | | It was too strict and Egyptian dicks didn't want to pass, so we'll do it half-arsedly for a subset.
* Fix config PEG grammar to match strtoll()Přemysl Eric Janouch2020-10-241-1/+1
|
* 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
|