summaryrefslogtreecommitdiff
path: root/src/util
AgeCommit message (Collapse)Author
2015-01-01Copyright year 2015Max Kellermann
2014-12-26Merge branch 'v0.19.x'Max Kellermann
2014-12-26Merge branch 'v0.18.x' into v0.19.xMax Kellermann
2014-12-26util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann
New in clang 3.6.
2014-12-26util/ASCII: fix indentMax Kellermann
2014-12-26Compiler.h: add macro GCC_OLDER_THAN()Max Kellermann
2014-12-17Merge tag 'v0.19.7'Max Kellermann
2014-12-17util/HugeAllocator: enable MEM_COMMIT on WindowsMax Kellermann
Without MEM_COMMIT, the reserved address space is not accessible, and MPD crashes.
2014-12-12util/HugeAllocator: disable MEM_LARGE_PAGES on WindowsMax Kellermann
MEM_LARGE_PAGES does not appear to work. Instead, MEM_RESERVE appears to be necessary. Until I figure this out, this large pages are disabled.
2014-12-12Merge branch 'v0.19.x'Max Kellermann
2014-12-09Util/Manual: cast via void* to avoid alignment warningsMax Kellermann
2014-12-09Util/Manual: use Get() in Destruct()Max Kellermann
2014-12-09Util/Manual: add assertion to Get()Max Kellermann
2014-12-09Util/Manual: add method Get()Max Kellermann
May be more clear than operators.
2014-12-09util/Manual: use gcc_alignas()Max Kellermann
2014-12-05util/Error: use FormatMessage() instead of g_win32_error_message()Max Kellermann
2014-12-04util/DivideString: add option "strip"Max Kellermann
2014-12-04util/StringUtil: add ToUpperASCII()Max Kellermann
Replaces g_ascii_strup() and allows building the Vorbis encoder without GLib.
2014-12-04util/SplitString: new utility classMax Kellermann
Replaces GLib's g_strsplit().
2014-12-03util/SplitString: rename to DivideStringMax Kellermann
2014-11-28util/Alloc: add fallback for gcc 4.6Max Kellermann
2014-11-28Compiler.h: add macro CLANG_OR_GCC_VERSION()Max Kellermann
2014-11-28Compiler.h: add macro GCC_OLDER_THAN()Max Kellermann
2014-11-28util/Manual: use GCC_CHECK_VERSIONMax Kellermann
2014-11-27util/Alloc: remove bogus "unused" attributeMax Kellermann
2014-11-02Merge tag 'v0.19.2'Max Kellermann
2014-11-02util/UriUtil: add uri_get_suffix() overload that ignores query stringMax Kellermann
2014-11-01util/UriUtil: add uri_get_suffix() overload that ignores query stringMax Kellermann
2014-10-25Util/Alloc: add xstrcatdup(), replacing g_strconcat()Max Kellermann
2014-10-19util/StaticFifoBuffer: make Shift() publicMax Kellermann
2014-10-11util/DynamicFifoBuffer: make the "Range" type publicMax Kellermann
Export it from the protected base class. This fixes a build failure on Mac OS X.
2014-10-10db/upnp/Util: move caturl() to util/UriUtil.cxxMax Kellermann
2014-10-10util/UTF8: add SequenceLengthUTF8()Max Kellermann
2014-10-10util/UTF8: new libraryMax Kellermann
2014-08-16Merge branch 'v0.18.x'Max Kellermann
2014-08-16util: Fix header for strcasecmpFrançois Revol
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
2014-08-11util/HugeAllocator: implement on WindowsMax Kellermann
2014-08-11util/CharUtil: add ToLowerASCII()Max Kellermann
2014-08-07input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxxMax Kellermann
2014-08-07util/DynamicFifoBuffer: make GetCapacity() and Clear() publicMax Kellermann
2014-08-07util/{Static,Foreign}FifoBuffer: lazy shiftMax Kellermann
Reduce the number of unnecessary memmove() calls.
2014-08-07util/StaticFifoBuffer: fix indentMax Kellermann
2014-08-07util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann
2014-08-07util/StringUtil: use IsWhitespaceOrNull() in StripRight()Max Kellermann
The null byte is whitespace, too.
2014-08-07util/StringUtil: move code to StripRight()Max Kellermann
2014-08-07util/StringUtil: rename strchug_fast() to StripLeft()Max Kellermann
2014-08-07util/CharUtil: add IsWhitespaceFast()Max Kellermann
2014-08-07util/CharUtil: make IsWhitespace*() "constexpr"Max Kellermann
2014-08-07util/CharUtil: fix indentMax Kellermann
2014-08-07util/ForeignFifoBuffer: add method Swap()Max Kellermann