Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/DynamicFifoBuffer: adjust include guard | Max Kellermann | 2015-02-16 | 1 | -3/+3 |
| | |||||
* | Merge branch 'v0.19.x' | Max Kellermann | 2015-01-26 | 1 | -5/+6 |
|\ | |||||
| * | Test the existence of strndup(3) before using it. | PHO | 2015-01-26 | 1 | -5/+6 |
| | | | | | | | | This can eliminate the ad-hoc "#ifdef WIN32" and can also support other platforms lacking it as well (including Darwin 9). | ||||
* | | util/format: allow upper case, digits and underscore in names | Max Kellermann | 2015-01-22 | 1 | -1/+2 |
| | | |||||
* | | util/format: move code to is_name_char() | Max Kellermann | 2015-01-22 | 1 | -1/+7 |
| | | |||||
* | | util/CharUtil: minor API documentation fix | Max Kellermann | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | output/recorder: dynamic file name | Max Kellermann | 2015-01-14 | 2 | -0/+303 |
| | | |||||
* | | Copyright year 2015 | Max Kellermann | 2015-01-01 | 25 | -25/+25 |
| | | |||||
* | | Merge branch 'v0.19.x' | Max Kellermann | 2014-12-26 | 2 | -10/+19 |
|\| | |||||
| * | Merge branch 'v0.18.x' into v0.19.x | Max Kellermann | 2014-12-26 | 3 | -12/+21 |
| |\ | |||||
| | * | util/{ASCII,UriUtil}, ...: work around -Wtautological-pointer-compare | Max Kellermann | 2014-12-26 | 2 | -0/+9 |
| | | | | | | | | | | | | New in clang 3.6. | ||||
| | * | util/ASCII: fix indent | Max Kellermann | 2014-12-26 | 1 | -10/+10 |
| | | | |||||
| | * | Compiler.h: add macro GCC_OLDER_THAN() | Max Kellermann | 2014-12-26 | 1 | -2/+2 |
| | | | |||||
| | * | util/UriUtil: add uri_get_suffix() overload that ignores query string | Max Kellermann | 2014-11-02 | 2 | -0/+28 |
| | | | |||||
* | | | Merge tag 'v0.19.7' | Max Kellermann | 2014-12-17 | 1 | -1/+3 |
|\| | | |||||
| * | | util/HugeAllocator: enable MEM_COMMIT on Windows | Max Kellermann | 2014-12-17 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | Without MEM_COMMIT, the reserved address space is not accessible, and MPD crashes. | ||||
* | | | Merge branch 'v0.19.x' | Max Kellermann | 2014-12-12 | 1 | -1/+2 |
|\| | | |||||
| * | | util/HugeAllocator: disable MEM_LARGE_PAGES on Windows | Max Kellermann | 2014-12-12 | 1 | -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 warnings | Max Kellermann | 2014-12-09 | 1 | -2/+4 |
| | | | |||||
* | | | Util/Manual: use Get() in Destruct() | Max Kellermann | 2014-12-09 | 1 | -2/+2 |
| | | | |||||
* | | | Util/Manual: add assertion to Get() | Max Kellermann | 2014-12-09 | 1 | -0/+4 |
| | | | |||||
* | | | Util/Manual: add method Get() | Max Kellermann | 2014-12-09 | 1 | -4/+12 |
| | | | | | | | | | | | | May be more clear than operators. | ||||
* | | | util/Manual: use gcc_alignas() | Max Kellermann | 2014-12-09 | 1 | -6/+1 |
| | | | |||||
* | | | util/Error: use FormatMessage() instead of g_win32_error_message() | Max Kellermann | 2014-12-05 | 1 | -2/+6 |
| | | | |||||
* | | | util/DivideString: add option "strip" | Max Kellermann | 2014-12-04 | 2 | -2/+17 |
| | | | |||||
* | | | util/StringUtil: add ToUpperASCII() | Max Kellermann | 2014-12-04 | 2 | -0/+28 |
| | | | | | | | | | | | | | | | Replaces g_ascii_strup() and allows building the Vorbis encoder without GLib. | ||||
* | | | util/SplitString: new utility class | Max Kellermann | 2014-12-04 | 2 | -0/+98 |
| | | | | | | | | | | | | Replaces GLib's g_strsplit(). | ||||
* | | | util/SplitString: rename to DivideString | Max Kellermann | 2014-12-03 | 2 | -7/+7 |
| | | | |||||
* | | | util/Alloc: add fallback for gcc 4.6 | Max Kellermann | 2014-11-28 | 1 | -0/+21 |
| | | | |||||
* | | | Compiler.h: add macro CLANG_OR_GCC_VERSION() | Max Kellermann | 2014-11-28 | 2 | -4/+4 |
| | | | |||||
* | | | Compiler.h: add macro GCC_OLDER_THAN() | Max Kellermann | 2014-11-28 | 1 | -2/+2 |
| | | | |||||
* | | | util/Manual: use GCC_CHECK_VERSION | Max Kellermann | 2014-11-28 | 1 | -1/+1 |
| | | | |||||
* | | | util/Alloc: remove bogus "unused" attribute | Max Kellermann | 2014-11-27 | 1 | -1/+1 |
| | | | |||||
* | | | Merge tag 'v0.19.2' | Max Kellermann | 2014-11-02 | 2 | -0/+28 |
|\| | | |||||
| * | | util/UriUtil: add uri_get_suffix() overload that ignores query string | Max Kellermann | 2014-11-01 | 2 | -0/+28 |
| | | | |||||
* | | | Util/Alloc: add xstrcatdup(), replacing g_strconcat() | Max Kellermann | 2014-10-25 | 2 | -0/+82 |
|/ / | |||||
* | | util/StaticFifoBuffer: make Shift() public | Max Kellermann | 2014-10-19 | 1 | -2/+0 |
| | | |||||
* | | util/DynamicFifoBuffer: make the "Range" type public | Max Kellermann | 2014-10-11 | 1 | -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.cxx | Max Kellermann | 2014-10-10 | 2 | -0/+36 |
| | | |||||
* | | util/UTF8: add SequenceLengthUTF8() | Max Kellermann | 2014-10-10 | 2 | -0/+96 |
| | | |||||
* | | util/UTF8: new library | Max Kellermann | 2014-10-10 | 2 | -0/+339 |
| | | |||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2014-08-16 | 1 | -1/+1 |
|\| | |||||
| * | util: Fix header for strcasecmp | François Revol | 2014-08-16 | 1 | -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==0 | Max Kellermann | 2014-01-15 | 1 | -2/+3 |
| | | |||||
* | | util/HugeAllocator: implement on Windows | Max Kellermann | 2014-08-11 | 1 | -0/+22 |
| | | |||||
* | | util/CharUtil: add ToLowerASCII() | Max Kellermann | 2014-08-11 | 1 | -0/+13 |
| | | |||||
* | | input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxx | Max Kellermann | 2014-08-07 | 1 | -0/+52 |
| | | |||||
* | | util/DynamicFifoBuffer: make GetCapacity() and Clear() public | Max Kellermann | 2014-08-07 | 1 | -1/+2 |
| | | |||||
* | | util/{Static,Foreign}FifoBuffer: lazy shift | Max Kellermann | 2014-08-07 | 2 | -2/+10 |
| | | | | | | | | Reduce the number of unnecessary memmove() calls. | ||||
* | | util/StaticFifoBuffer: fix indent | Max Kellermann | 2014-08-07 | 1 | -68/+68 |
| | |