summaryrefslogtreecommitdiff
path: root/src/basic/escape.c
Commit message (Expand)AuthorAgeFilesLines
* escape: add missing non-NULL parameter assertionsmsizanoen12023-03-021-0/+2
* escape: Ensure that output is always valid UTF-8msizanoen12023-03-021-7/+18
* escape: fix wrong octescape of bad characterYu Watanabe2022-12-061-15/+14
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-1/+0
* escape: return unused memory in quote_command_line()Lennart Poettering2021-11-111-1/+1
* escape: add flags argument to quote_command_line()Lennart Poettering2021-11-111-2/+2
* Merge pull request #20186 from keszybz/coverity-fixesLuca Boccassi2021-07-091-15/+15
|\
| * core: drop unnecessary initializationZbigniew Jędrzejewski-Szmek2021-07-091-0/+1
| * tree-wide: make cunescape*() functions return ssize_tZbigniew Jędrzejewski-Szmek2021-07-091-1/+1
| * basic/escape: use _cleanup_ in one more placeZbigniew Jędrzejewski-Szmek2021-07-091-14/+13
* | basic/escape: add helper for quoting command linesZbigniew Jędrzejewski-Szmek2021-07-091-0/+21
|/
* basic/escape: allow truncation mode where "…" is always appendedZbigniew Jędrzejewski-Szmek2021-05-051-4/+12
* basic/escape: flagsify xescape_full()Zbigniew Jędrzejewski-Szmek2021-05-051-7/+8
* basic/escape: escape control characters, but not utf-8, in shell quotingZbigniew Jędrzejewski-Szmek2021-05-051-27/+20
* basic/escape: always escape newlines in shell_escape()Zbigniew Jędrzejewski-Szmek2021-05-051-5/+4
* basic/escape: add mode where empty arguments are still shown as ""Zbigniew Jędrzejewski-Szmek2021-05-051-0/+3
* Flagsify EscapeStyle and make ESCAPE_BACKSLASH_ONELINE implicitZbigniew Jędrzejewski-Szmek2021-04-011-20/+11
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-5/+5
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* basic/escape: use consistent location for "*" in function declarationsZbigniew Jędrzejewski-Szmek2020-08-311-7/+7
* shared/escape: add new escape style with \n\t escapedZbigniew Jędrzejewski-Szmek2020-04-091-6/+12
* escape: introduce UNESCAPE_ACCEPT_NUL flagYu Watanabe2020-01-271-6/+6
* escape: make cunescape() and cunescape_length() inlineYu Watanabe2020-01-271-8/+0
* Add 8bit-version of get_process_cmdline() and use in cgroup-show.cZbigniew Jędrzejewski-Szmek2019-05-221-0/+7
* basic/escape: add truncation to xescape tooZbigniew Jędrzejewski-Szmek2019-05-221-13/+51
* basic: remove an assertion from cunescape_oneEvgeny Vereshchagin2018-11-161-1/+0
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* escape: add an explanatory comment about buffer sizesLennart Poettering2018-06-011-0/+2
* basic/journal-importer: do not write non-unicode char to logZbigniew Jędrzejewski-Szmek2018-05-311-2/+2
* tree-wide: be more careful with the type of array sizesLennart Poettering2018-04-271-2/+2
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* tree-wide: use IN_SET macro (#6977)Yu Watanabe2017-10-041-1/+1
* string-util: add strlen_ptr() helperLennart Poettering2017-07-311-1/+1
* Use "dollar-single-quotes" to escape shell-sensitive stringsZbigniew Jędrzejewski-Szmek2017-06-191-9/+29
* tree-wide: remove consecutive duplicate words in commentsStefan Schweter2016-10-041-1/+1
* Merge pull request #2589 from keszybz/resolve-tool-2Lennart Poettering2016-02-131-0/+28
|\
| * resolve: parse CAA recordsZbigniew Jędrzejewski-Szmek2016-02-121-0/+28
* | tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
|/
* utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, int16_tShawn Landden2016-01-271-4/+4
* basic/escape: merge utf8 and non-utf8 paths in cunescape_oneZbigniew Jędrzejewski-Szmek2016-01-181-33/+18
* basic: include only what we useThomas Hindoe Paaboel Andersen2015-11-301-2/+5
* escape: add cescape_length() call as generalization of cescape()Lennart Poettering2015-11-231-5/+11
* util-lib: move character class definitions to string-util.hLennart Poettering2015-11-031-0/+1
* Revert "utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t"revert-1740-masterLennart Poettering2015-11-021-6/+6
* utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_tShawn Landden2015-10-311-6/+6
* util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering2015-10-271-0/+1
* util-lib: split out hex/dec/oct encoding/decoding into its own fileLennart Poettering2015-10-271-2/+2
* util: split out escaping code into escape.[ch]Lennart Poettering2015-10-241-0/+480