Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests: add tests for strv_extendf | Ronny Chevalier | 2014-06-19 |
| | |||
* | strv: multiple cleanups | Simon Peeters | 2014-01-05 |
| | | | | | | | | | | - turn strv_merge into strv_extend_strv. appending strv b to the end of strv a instead of creating a new strv - strv_append: remove in favor of strv_extend and strv_push. - strv_remove: write slightly more elegant - strv_remove_prefix: remove unused function - strv_overlap: use strv_contains - strv_printf: STRV_FOREACH handles NULL correctly | ||
* | scan-build: silence some warnings | Thomas Hindoe Paaboel Andersen | 2013-12-12 |
| | | | | | | | | | test-fileio/test-strv: Use the streq_ptr to make build-scan not worry about passing in a null to a nonnull function. test-dhcp-option: Prevent a theoretical null pointer dereference | ||
* | util: fix handling of trailing whitespace in split_quoted() | Lennart Poettering | 2013-11-28 |
| | | | | Inspired by a patch by Lukas Nykryn. | ||
* | test-strv: add strv_split, strv_split_newline, strv_remove_prefix | Daniel Buch | 2013-11-07 |
| | |||
* | strv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string ↵ | Lennart Poettering | 2013-10-29 |
| | | | | arrays nicely on the fly | ||
* | strv: introduce new strv_from_stdarg_alloca() macro to generate a string ↵ | Lennart Poettering | 2013-10-29 |
| | | | | | | | array from stdarg function parameters This allows us to turn lists of strings passed in easily into string arrays without having to allocate memory. | ||
* | test-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDS | Daniel Buch | 2013-10-27 |
| | |||
* | tmpfiles: support simple specifier expansion for specified paths | Lennart Poettering | 2013-09-17 |
| | |||
* | specifier: rework specifier calls to return proper error message | Lennart Poettering | 2013-09-17 |
| | | | | | | Previously the specifier calls could only indicate OOM by returning NULL. With this change they will return negative errno-style error codes like everything else. | ||
* | systemd-run: properly escape arguments | Zbigniew Jędrzejewski-Szmek | 2013-09-09 |
| | | | | | | | Spaces, quotes, and such, were not properly escaped. We should write them like we read them. https://bugs.freedesktop.org/show_bug.cgi?id=67971 | ||
* | test-strv: do not declare table to be sorted const | Zbigniew Jędrzejewski-Szmek | 2013-04-05 |
| | | | | Segmentation fault under clang. | ||
* | test-strv.c: test STRV_FOREACH_PAIR macro | Daniel Buch | 2013-03-18 |
| | |||
* | test-strv.c: ported test_specifier_printf() to _cleanup_free_ + assert_se + ↵ | Daniel Buch | 2013-02-18 |
| | | | | cleanup | ||
* | test-strv.c: added OOM check for current tests | Daniel Buch | 2013-02-18 |
| | | | | | | New OOM check patch: I do assert_se() before variable is used to do correct check. | ||
* | test-strv.c: added strv_split_nulstr() test | Daniel Buch | 2013-02-18 |
| | |||
* | test-strv.c: Changed assert() to assert_se() | Daniel Buch | 2013-02-13 |
| | | | | test-strv.c: Indent fix | ||
* | test-strv.c: added strv_append test | Daniel Buch | 2013-02-13 |
| | |||
* | test-strv.c: added strv_merge_concat test | Daniel Buch | 2013-02-13 |
| | |||
* | test-strv.c: added strv_merge test | Daniel Buch | 2013-02-13 |
| | |||
* | tests: move strv_parse_nulstr to test-strv, and actually test it | Thomas Hindoe Paaboel Andersen | 2013-02-07 |
| | | | | | The test was originally added with this commit message: "ask-password: supported plymouth cached passwords" | ||
* | test: add a few tests and tidy up | Thomas Hindoe Paaboel Andersen | 2013-02-06 |
| | | | | | | | | | | | | | | adds test of: strv_find strv_find_prefix strv_overlap strv_sort streq_ptr first_word Splits tests of util.c into own file to avoid clutter as we add more. Removed a few prints and uses _cleanup_free_ to make the tests more focused. | ||
* | test-strv.c: test strv_join added | Daniel Buch | 2013-01-30 |
| | |||
* | test-strv.c: Split tests into seperate functions | Daniel Buch | 2013-01-30 |
| | | | | test-strv.c: Leaves main clean for additional tests | ||
* | test: test tools should still be in the src/ directory | Lennart Poettering | 2012-04-12 |