aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-12-19util/fifo_buffer: remove obsolete libraryMax Kellermann2-382/+0
2013-12-19util/Error: add missing <algorithm> includeMax Kellermann1-0/+1
For std::move().
2013-12-19util/PeakBuffer: use IsEmpty() instead of IsNull()Max Kellermann1-3/+3
The DynamicFifoBuffer methods never return nullptr when the buffer is empty or full; instead, they return an empty buffer. This bug caused an endless loop.
2013-12-16util/{Domain,Error}: relicense to BSD 2-clauseMax Kellermann3-43/+73
2013-12-15util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann2-47/+36
Switch to the C++ version.
2013-12-15util/PeakBuffer: return ConstBuffer<void>Max Kellermann2-7/+13
2013-12-15util/WritableBuffer: add cast methodsMax Kellermann1-1/+30
2013-12-15util/WritableBuffer: fix indentMax Kellermann1-31/+31
2013-12-15util/DynamicFifoBuffer: make constructor "explicit"Max Kellermann1-1/+1
2013-12-15util/Tokenizer, ...: include cleanupMax Kellermann1-2/+0
2013-12-15system/SocketError, ...: use strerror() instead of g_strerror()Max Kellermann1-2/+5
Avoid GLib.
2013-12-15UriUtil: add function uri_get_scheme()Max Kellermann2-0/+17
Replaces g_uri_parse_scheme().
2013-12-14util/SplitString: new utility classMax Kellermann2-0/+108
To replace g_strdup().
2013-12-05util/DynamicFifoBuffer: new class replacing growing_fifoMax Kellermann3-163/+199
2013-11-29util/ConstBuffer: new utility classMax Kellermann1-0/+118