aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-28util/Manual: use GCC_CHECK_VERSIONMax Kellermann1-1/+1
2014-11-27util/Alloc: remove bogus "unused" attributeMax Kellermann1-1/+1
2014-11-02util/UriUtil: add uri_get_suffix() overload that ignores query stringMax Kellermann2-0/+28
2014-11-01util/UriUtil: add uri_get_suffix() overload that ignores query stringMax Kellermann2-0/+28
2014-10-25Util/Alloc: add xstrcatdup(), replacing g_strconcat()Max Kellermann2-0/+82
2014-10-19util/StaticFifoBuffer: make Shift() publicMax Kellermann1-2/+0
2014-10-11util/DynamicFifoBuffer: make the "Range" type publicMax Kellermann1-0/+1
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 Kellermann2-0/+36
2014-10-10util/UTF8: add SequenceLengthUTF8()Max Kellermann2-0/+96
2014-10-10util/UTF8: new libraryMax Kellermann2-0/+339
2014-08-16util: Fix header for strcasecmpFrançois Revol1-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
2014-08-11util/HugeAllocator: implement on WindowsMax Kellermann1-0/+22
2014-08-11util/CharUtil: add ToLowerASCII()Max Kellermann1-0/+13
2014-08-07input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxxMax Kellermann1-0/+52
2014-08-07util/DynamicFifoBuffer: make GetCapacity() and Clear() publicMax Kellermann1-1/+2
2014-08-07util/{Static,Foreign}FifoBuffer: lazy shiftMax Kellermann2-2/+10
Reduce the number of unnecessary memmove() calls.
2014-08-07util/StaticFifoBuffer: fix indentMax Kellermann1-68/+68
2014-08-07util/StringUtil: add StripRight() overload with "end" argumentMax Kellermann2-0/+40
2014-08-07util/StringUtil: use IsWhitespaceOrNull() in StripRight()Max Kellermann1-1/+1
The null byte is whitespace, too.
2014-08-07util/StringUtil: move code to StripRight()Max Kellermann2-6/+31
2014-08-07util/StringUtil: rename strchug_fast() to StripLeft()Max Kellermann3-11/+8
2014-08-07util/CharUtil: add IsWhitespaceFast()Max Kellermann2-3/+16
2014-08-07util/CharUtil: make IsWhitespace*() "constexpr"Max Kellermann1-0/+2
2014-08-07util/CharUtil: fix indentMax Kellermann1-16/+16
2014-08-07util/ForeignFifoBuffer: add method Swap()Max Kellermann1-0/+7
2014-08-07util/ForeignFifoBuffer: add method MoveFrom()Max Kellermann1-0/+16
2014-08-06util/ForeignFifoBuffer: add method GetAvailable()Max Kellermann2-1/+6
2014-08-06util/DynamicFifoBuffer: move code to new base class ForeignFifoBufferMax Kellermann2-119/+247
2014-08-06util/FifoBuffer: rename to StaticFifoBufferMax Kellermann1-5/+5
2014-07-30util/Error: add method FormatLastError()Max Kellermann2-0/+32
2014-07-30util/Error: add SetLastError() overload with "DWORD code" parameterMax Kellermann2-2/+8
2014-07-30util/Error: add "printf" attributesMax Kellermann1-0/+5
2014-07-30util/DynamicFifoBuffer: fix typo in API documentationMax Kellermann1-1/+1
2014-07-14util/Cast: add "const" overloadMax Kellermann1-0/+13
2014-07-14util/Cast: add missing includeMax Kellermann1-0/+2
2014-07-14util/Cast: fix indentMax Kellermann1-3/+3
2014-07-14util/Cast: reimplement as template without macroMax Kellermann1-4/+24
2014-07-14util/Cast: add const overloadsMax Kellermann1-0/+16
2014-07-14util/Cast: suppress "unused function" warning by using "inline"Max Kellermann1-2/+2
2014-07-14util/Cast: fix indentMax Kellermann1-4/+4
2014-06-26util/ConstBuffer: add method skip_front()Max Kellermann1-0/+9
2014-06-26util/ConstBuffer: wrap assert() in NDEBUG checkMax Kellermann1-0/+4
Fixes build failure because assert.h was not included.
2014-06-23util/ConstBuffer: add method Contains()Max Kellermann1-0/+10
2014-06-16db/simple: use class boost::intrusive::listMax Kellermann3-802/+0
Remove the C list_head library and use type-safe C++ instead.
2014-04-24util/{Const,Writable}Buffer: add front(), back(), pop_{front,back}(), shift()Max Kellermann2-0/+118
2014-04-24util/{Const,Writable}Buffer: add typedef reference_typeMax Kellermann2-4/+8
2014-03-18util/ConstBuffer: add FromVoid(), ToVoid() to "void" specializationMax Kellermann1-0/+8
Provide the full API.
2014-03-16util/CircularBuffer: add method GetSpace()Max Kellermann1-0/+12
2014-03-16util/CircularBuffer: add method GetSize()Max Kellermann1-0/+9
2014-03-15util/CircularBuffer: rename GetSize() to GetCapacity()Max Kellermann1-22/+22