aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/StringCompare.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-06util/StringCompare: use StringView to simplify inline implementationsMax Kellermann1-26/+0
2015-11-06util/StringCompare: use strncmp() instead of memcmp() in StringStartsWith()Max Kellermann1-2/+2
Some optimized implementations of memcmp() may not start from the beginning of the string, and may thus segfault.
2015-11-06util/StringUtil: move comparison functions to StringCompare.cxxMax Kellermann1-30/+40
2015-03-04util/ASCII: strip include guardMax Kellermann1-2/+2
2014-12-26util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann1-0/+6
New in clang 3.6.
2014-12-26util/ASCII: fix indentMax Kellermann1-10/+10
2014-08-16util: Fix header for strcasecmpFrançois Revol1-1/+1
According to POSIX and both OSX and Linux manpages, strcasecmp comes from strings.h, not string.h. Most OSes also have them available in string.h, but we just fixed the headers on Haiku and it now only provides them in strings.h. We might want to fall back to string.h for other OSes though... cf. http://pubs.opengroup.org/onlinepubs/009695399/functions/strcasecmp.html http://linux.die.net/man/3/strcasecmp https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/strcasecmp.3.html
2013-10-21Util/ASCII: add StringEqualsCaseASCII() overload with lengthMax Kellermann1-0/+12
Replaces GLib's g_ascii_strncasecmp().
2013-10-20Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann1-26/+21
Replaces GLib's g_ascii_strcasecmp().
2013-01-29refcount: convert to C++Max Kellermann1-26/+18
2012-01-24refcount: add missing stdbool.h includeMax Kellermann1-0/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-31refcount: library for reference countingMax Kellermann1-0/+66