aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | util/Cast: fix indentMax Kellermann2014-07-141-4/+4
| |
* | util/ConstBuffer: add method skip_front()Max Kellermann2014-06-261-0/+9
| |
* | util/ConstBuffer: wrap assert() in NDEBUG checkMax Kellermann2014-06-261-0/+4
| | | | | | | | Fixes build failure because assert.h was not included.
* | util/ConstBuffer: add method Contains()Max Kellermann2014-06-231-0/+10
| |
* | db/simple: use class boost::intrusive::listMax Kellermann2014-06-163-802/+0
| | | | | | | | Remove the C list_head library and use type-safe C++ instead.
* | util/{Const,Writable}Buffer: add front(), back(), pop_{front,back}(), shift()Max Kellermann2014-04-242-0/+118
| |
* | util/{Const,Writable}Buffer: add typedef reference_typeMax Kellermann2014-04-242-4/+8
| |
* | util/ConstBuffer: add FromVoid(), ToVoid() to "void" specializationMax Kellermann2014-03-181-0/+8
| | | | | | | | Provide the full API.
* | util/CircularBuffer: add method GetSpace()Max Kellermann2014-03-161-0/+12
| |
* | util/CircularBuffer: add method GetSize()Max Kellermann2014-03-161-0/+9
| |
* | util/CircularBuffer: rename GetSize() to GetCapacity()Max Kellermann2014-03-151-22/+22
| |