aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2014-03-15util/CircularBuffer: new buffer classMax Kellermann1-0/+165
2014-03-01java: new helper library for the Android portMax Kellermann2-0/+28
2014-03-01util/{Const,Writable}Buffer: add operator[]Max Kellermann2-0/+22
2014-03-01util/{Const,Writable}Buffer: add template specialization for "void"Max Kellermann2-0/+68
Omit a few methods that are not applicable.
2014-03-01util/ConstBuffer: remove cast operator ConstBuffer<void>Max Kellermann1-4/+0
This was bugged, because it did not scale the "size".
2014-02-24UriUtil: support ftp:// URLs in uri_remove_auth()Max Kellermann1-0/+2
2014-02-19util/Tokenizer: relicense to BSD-2Max Kellermann2-28/+48
2014-02-18util/StringUtil: add StringEndsWith()Max Kellermann2-0/+15
Replaces g_str_has_suffix().
2014-02-17util/StringUtil: add function Strip()Max Kellermann2-0/+21
Replaces g_strstrip().
2014-02-10util/HugeAllocator: relicense to BSD-2Max Kellermann2-28/+48
2014-01-15util/PeakBuffer: fix nullptr dereference when peak_size==0Max Kellermann1-2/+3
2014-01-14util/PeakBuffer: fix nullptr dereference when peak_size==0Max Kellermann1-2/+3
2014-01-13copyright year 2014Max Kellermann28-28/+28
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann3-4/+146
2014-01-07Directory: make some code generic, move to VarSize.hxxMax Kellermann1-0/+84
2014-01-06util/Cast: new utility libraryMax Kellermann1-0/+58
2013-12-29util/UriUtil: uri_get_suffix() fails if name begins with dotMax Kellermann1-1/+2
A file called ".jpg" is not a JPEG file with an empty name; it is merely a hidden file.
2013-12-22util/Clamp: generic Clamp() functionMax Kellermann1-0/+49