summaryrefslogtreecommitdiffstats
path: root/src/basic/utf8.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* various: move ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-3/+3
* utf8: export utf8_char_console_width()Lennart Poettering2024-06-171-1/+1
* basic/utf8: modernize ascii_is_valid_n, make ascii_is_valid static inlineMike Yuan2024-06-161-18/+5
* basic/utf8: modernize utf8_is_valid_n a bitMike Yuan2024-06-161-6/+6
* utf8: let utf8_console_width() handle NULL strings somewhat reasonablyLennart Poettering2024-06-151-1/+4
* utf8: assume tabs are 8 characters wide when written to consoleLennart Poettering2024-06-141-0/+3
* tree-wide: drop several remaining license headersYu Watanabe2024-04-081-19/+3
* utf8: automatically determine length of string if SIZE_MAX is specifiedLennart Poettering2023-08-241-1/+22
* basic/utf8: make utf8_encoded_to_unichar() return length of the codepointZbigniew Jędrzejewski-Szmek2023-06-241-6/+4
* basic/utf8: add function to convert to ASCIIZbigniew Jędrzejewski-Szmek2021-11-161-0/+31
* basic/utf8: inline some iterator variablesZbigniew Jędrzejewski-Szmek2021-11-121-6/+2
* basic/escape: allow truncation mode where "…" is always appendedZbigniew Jędrzejewski-Szmek2021-05-051-4/+8
* basic/string-util: simplify how str_realloc() is usedZbigniew Jędrzejewski-Szmek2021-05-051-4/+2
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-041-10/+10
* treewide: tighten variable scope in loops (#18372)Susant Sahani2021-01-271-9/+6
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* shared/utf8: add utf8_is_valid_n()Zbigniew Jędrzejewski-Szmek2020-09-011-7/+11
* basic/utf8: rename parameterZbigniew Jędrzejewski-Szmek2020-08-171-2/+2
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-031-1/+0
* basic/utf8: reduce memory usageZbigniew Jędrzejewski-Szmek2019-05-221-1/+3
* util-lib: add truncation based on printable width to utf8_escape_non_printable()Zbigniew Jędrzejewski-Szmek2019-05-221-13/+59
* basic/utf8: do not read past end of string when looking for a multi-byte char...Zbigniew Jędrzejewski-Szmek2019-02-261-9/+16
* basic/utf8: change type of function to emphasize that it only looks at one ch...Zbigniew Jędrzejewski-Szmek2019-02-261-9/+4
* utf8: add utf8_to_utf16() helperLennart Poettering2018-09-251-0/+73
* utf8: let's update utf16_to_utf8() a bitLennart Poettering2018-09-251-8/+15
* utf8: change return type of utf8_encoded_expected_len() to size_tLennart Poettering2018-09-251-7/+9
* utf8: update utf8_is_valid() a bitLennart Poettering2018-09-251-5/+6
* tree-wide: drop copyright headers from frequent contributorsZbigniew Jędrzejewski-Szmek2018-06-201-3/+0
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-1/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* basic/utf8: add ascii_is_valid_n()Zbigniew Jędrzejewski-Szmek2018-06-091-0/+18
* utf8: add helper call for counting display width of stringsLennart Poettering2018-04-181-0/+21
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* utf8: add utf8_n_codepoints() for counting complete utf8 codepoints in a stringLennart Poettering2018-02-141-0/+19
* 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
* tree-wide: make ++/-- usage consistent WRT spacingVito Caputo2016-02-231-1/+1
* 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-20/+28
* basic: include only what we useThomas Hindoe Paaboel Andersen2015-11-301-2/+1
* tree-wide: sort includesThomas Hindoe Paaboel Andersen2015-11-161-2/+2
* Revert "utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_t"Lennart Poettering2015-11-021-19/+16
* utf8.[ch]: use char32_t and char16_t instead of int, int32_t, int16_tShawn Landden2015-11-011-16/+19
* 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-0/+1
* build-sys: split internal basic/ library from shared/Kay Sievers2015-06-111-0/+402