aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | util/CharUtil: make IsWhitespace*() "constexpr"Max Kellermann2014-08-071-0/+2
| |
* | util/CharUtil: fix indentMax Kellermann2014-08-071-16/+16
| |
* | util/ForeignFifoBuffer: add method Swap()Max Kellermann2014-08-071-0/+7
| |
* | util/ForeignFifoBuffer: add method MoveFrom()Max Kellermann2014-08-071-0/+16
| |
* | util/ForeignFifoBuffer: add method GetAvailable()Max Kellermann2014-08-062-1/+6
| |
* | util/DynamicFifoBuffer: move code to new base class ForeignFifoBufferMax Kellermann2014-08-062-119/+247
| |
* | util/FifoBuffer: rename to StaticFifoBufferMax Kellermann2014-08-061-5/+5
| |
* | util/Error: add method FormatLastError()Max Kellermann2014-07-302-0/+32
| |
* | util/Error: add SetLastError() overload with "DWORD code" parameterMax Kellermann2014-07-302-2/+8
| |
* | util/Error: add "printf" attributesMax Kellermann2014-07-301-0/+5
| |
* | util/DynamicFifoBuffer: fix typo in API documentationMax Kellermann2014-07-301-1/+1
| |
* | util/Cast: add "const" overloadMax Kellermann2014-07-141-0/+13
| |
* | util/Cast: add missing includeMax Kellermann2014-07-141-0/+2
| |
* | util/Cast: fix indentMax Kellermann2014-07-141-3/+3
| |
* | util/Cast: reimplement as template without macroMax Kellermann2014-07-141-4/+24
| |
* | util/Cast: add const overloadsMax Kellermann2014-07-141-0/+16
| |
* | util/Cast: suppress "unused function" warning by using "inline"Max Kellermann2014-07-141-2/+2
| |