aboutsummaryrefslogtreecommitdiffstats
path: root/src/string_utils.h
AgeCommit message (Collapse)AuthorFilesLines
2024-06-25Replace questionable switch statements with shorter conditionalsDavid Robillard1-11/+1
2024-06-25Fix overly permissive parsing of syntax names on the command lineDavid Robillard1-6/+10
2023-05-08Avoid use of strtoul()David Robillard1-0/+6
This function is overkill for the simple cases actually needed here, and pretty slow anyway.
2023-04-05Shrink UTF-8 utility codeDavid Robillard1-36/+5
I've found that the negative cache impact of the 32-byte lookup table here can be worse than the simple conditional code in real-world scenarios (even though it's faster in micro-benchmarks). So, go with the simple (and conveniently more terse) thing.
2023-04-05Use distinct include guards for internal headersDavid Robillard1-4/+4
2023-02-05Fix inconsistent comment styleDavid Robillard1-2/+2
2022-10-23Use uppercase integer literal suffixesDavid Robillard1-36/+36
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2022-07-16Use a lookup table to determine UTF-8 encoding lengthDavid Robillard1-20/+38
2021-05-31Fix some conversion warningsDavid Robillard1-4/+4
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-50/+59
2020-12-31Avoid "else" after "break" and "return"David Robillard1-3/+10
2020-12-15Clean up includesDavid Robillard1-1/+0
2020-11-13Remove use of C character class functions that may use localeDavid Robillard1-2/+13
Some of these cause warnings, and should never have been used in the first place since they depend on locale.
2020-08-14Clean up and separate internal headersDavid Robillard1-0/+147