aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* util/CharUtil: minor API documentation fixMax Kellermann2015-01-151-1/+1
|
* output/recorder: dynamic file nameMax Kellermann2015-01-142-0/+303
|
* Copyright year 2015Max Kellermann2015-01-0125-25/+25
|
* Merge branch 'v0.19.x'Max Kellermann2014-12-262-10/+19
|\
| * Merge branch 'v0.18.x' into v0.19.xMax Kellermann2014-12-263-12/+21
| |\
| | * util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-262-0/+9
| | | | | | | | | | | | New in clang 3.6.
| | * util/ASCII: fix indentMax Kellermann2014-12-261-10/+10
| | |
| | * Compiler.h: add macro GCC_OLDER_THAN()Max Kellermann2014-12-261-2/+2
| | |
| | * util/UriUtil: add uri_get_suffix() overload that ignores query stringMax Kellermann2014-11-022-0/+28
| | |
* | | Merge tag 'v0.19.7'Max Kellermann2014-12-171-1/+3
|\| |
| * | util/HugeAllocator: enable MEM_COMMIT on WindowsMax Kellermann2014-12-171-1/+3
| | | | | | | | | | | | | | | Without MEM_COMMIT, the reserved address space is not accessible, and MPD crashes.
* | | Merge branch 'v0.19.x'Max Kellermann2014-12-121-1/+2
|\| |
| * | util/HugeAllocator: disable MEM_LARGE_PAGES on WindowsMax Kellermann2014-12-121-1/+2
| | | | | | | | | | | | | | | | | | 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.
* | | Util/Manual: cast via void* to avoid alignment warningsMax Kellermann2014-12-091-2/+4
| | |
* | | Util/Manual: use Get() in Destruct()Max Kellermann2014-12-091-2/+2
| | |
* | | Util/Manual: add assertion to Get()Max Kellermann2014-12-091-0/+4
| | |
* | | Util/Manual: add method Get()Max Kellermann2014-12-091-4/+12
| | | | | | | | | | | | May be more clear than operators.
* | | util/Manual: use gcc_alignas()Max Kellermann2014-12-091-6/+1
| | |
* | | util/Error: use FormatMessage() instead of g_win32_error_message()Max Kellermann2014-12-051-2/+6
| | |
* | | util/DivideString: add option "strip"Max Kellermann2014-12-042-2/+17
| | |
* | | util/StringUtil: add ToUpperASCII()Max Kellermann2014-12-042-0/+28
| | | | | | | | | | | | | | | Replaces g_ascii_strup() and allows building the Vorbis encoder without GLib.
* | | util/SplitString: new utility classMax Kellermann2014-12-042-0/+98
| | | | | | | | | | | | Replaces GLib's g_strsplit().
* | | util/SplitString: rename to DivideStringMax Kellermann2014-12-032-7/+7
| | |
* | | util/Alloc: add fallback for gcc 4.6Max Kellermann2014-11-281-0/+21
| | |
* | | Compiler.h: add macro CLANG_OR_GCC_VERSION()Max Kellermann2014-11-282-4/+4
| | |
* | | Compiler.h: add macro GCC_OLDER_THAN()Max Kellermann2014-11-281-2/+2
| | |
* | | util/Manual: use GCC_CHECK_VERSIONMax Kellermann2014-11-281-1/+1
| | |
* | | util/Alloc: remove bogus "unused" attributeMax Kellermann2014-11-271-1/+1
| | |
* | | Merge tag 'v0.19.2'Max Kellermann2014-11-022-0/+28
|\| |
| * | util/UriUtil: add uri_get_suffix() overload that ignores query stringMax Kellermann2014-11-012-0/+28
| | |
* | | Util/Alloc: add xstrcatdup(), replacing g_strconcat()Max Kellermann2014-10-252-0/+82
|/ /
* | util/StaticFifoBuffer: make Shift() publicMax Kellermann2014-10-191-2/+0
| |
* | util/DynamicFifoBuffer: make the "Range" type publicMax Kellermann2014-10-111-0/+1
| | | | | | | | | | Export it from the protected base class. This fixes a build failure on Mac OS X.
* | db/upnp/Util: move caturl() to util/UriUtil.cxxMax Kellermann2014-10-102-0/+36
| |
* | util/UTF8: add SequenceLengthUTF8()Max Kellermann2014-10-102-0/+96
| |
* | util/UTF8: new libraryMax Kellermann2014-10-102-0/+339
| |
* | Merge branch 'v0.18.x'Max Kellermann2014-08-161-1/+1
|\|
| * util: Fix header for strcasecmpFrançois Revol2014-08-161-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
| * util/PeakBuffer: fix nullptr dereference when peak_size==0Max Kellermann2014-01-151-2/+3
| |
* | util/HugeAllocator: implement on WindowsMax Kellermann2014-08-111-0/+22
| |
* | util/CharUtil: add ToLowerASCII()Max Kellermann2014-08-111-0/+13
| |
* | input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxxMax Kellermann2014-08-071-0/+52
| |
* | util/DynamicFifoBuffer: make GetCapacity() and Clear() publicMax Kellermann2014-08-071-1/+2
| |
* | util/{Static,Foreign}FifoBuffer: lazy shiftMax Kellermann2014-08-072-2/+10
| | | | | | | | Reduce the number of unnecessary memmove() calls.
* | util/StaticFifoBuffer: fix indentMax Kellermann2014-08-071-68/+68
| |
* | util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann2014-08-072-0/+40
| |
* | util/StringUtil: use IsWhitespaceOrNull() in StripRight()Max Kellermann2014-08-071-1/+1
| | | | | | | | The null byte is whitespace, too.
* | util/StringUtil: move code to StripRight()Max Kellermann2014-08-072-6/+31
| |
* | util/StringUtil: rename strchug_fast() to StripLeft()Max Kellermann2014-08-073-11/+8
| |
* | util/CharUtil: add IsWhitespaceFast()Max Kellermann2014-08-072-3/+16
| |