Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | util/StringUtil: use IsWhitespaceOrNull() in StripRight() | Max Kellermann | 2014-08-07 | 1 | -1/+1 | |
| | | | | | | | | The null byte is whitespace, too. | |||||
* | | util/StringUtil: move code to StripRight() | Max Kellermann | 2014-08-07 | 2 | -6/+31 | |
| | | ||||||
* | | util/StringUtil: rename strchug_fast() to StripLeft() | Max Kellermann | 2014-08-07 | 3 | -11/+8 | |
| | | ||||||
* | | util/CharUtil: add IsWhitespaceFast() | Max Kellermann | 2014-08-07 | 2 | -3/+16 | |
| | | ||||||
* | | util/CharUtil: make IsWhitespace*() "constexpr" | Max Kellermann | 2014-08-07 | 1 | -0/+2 | |
| | | ||||||
* | | util/CharUtil: fix indent | Max Kellermann | 2014-08-07 | 1 | -16/+16 | |
| | | ||||||
* | | util/ForeignFifoBuffer: add method Swap() | Max Kellermann | 2014-08-07 | 1 | -0/+7 | |
| | | ||||||
* | | util/ForeignFifoBuffer: add method MoveFrom() | Max Kellermann | 2014-08-07 | 1 | -0/+16 | |
| | | ||||||
* | | util/ForeignFifoBuffer: add method GetAvailable() | Max Kellermann | 2014-08-06 | 2 | -1/+6 | |
| | | ||||||
* | | util/DynamicFifoBuffer: move code to new base class ForeignFifoBuffer | Max Kellermann | 2014-08-06 | 2 | -119/+247 | |
| | | ||||||
* | | util/FifoBuffer: rename to StaticFifoBuffer | Max Kellermann | 2014-08-06 | 1 | -5/+5 | |
| | | ||||||
* | | util/Error: add method FormatLastError() | Max Kellermann | 2014-07-30 | 2 | -0/+32 | |
| | | ||||||
* | | util/Error: add SetLastError() overload with "DWORD code" parameter | Max Kellermann | 2014-07-30 | 2 | -2/+8 | |
| | | ||||||
* | | util/Error: add "printf" attributes | Max Kellermann | 2014-07-30 | 1 | -0/+5 | |
| | | ||||||
* | | util/DynamicFifoBuffer: fix typo in API documentation | Max Kellermann | 2014-07-30 | 1 | -1/+1 | |
| | | ||||||
* | | util/Cast: add "const" overload | Max Kellermann | 2014-07-14 | 1 | -0/+13 | |
| | | ||||||
* | | util/Cast: add missing include | Max Kellermann | 2014-07-14 | 1 | -0/+2 | |
| | | ||||||
* | | util/Cast: fix indent | Max Kellermann | 2014-07-14 | 1 | -3/+3 | |
| | | ||||||
* | | util/Cast: reimplement as template without macro | Max Kellermann | 2014-07-14 | 1 | -4/+24 | |
| | | ||||||
* | | util/Cast: add const overloads | Max Kellermann | 2014-07-14 | 1 | -0/+16 | |
| | | ||||||
* | | util/Cast: suppress "unused function" warning by using "inline" | Max Kellermann | 2014-07-14 | 1 | -2/+2 | |
| | | ||||||
* | | util/Cast: fix indent | Max Kellermann | 2014-07-14 | 1 | -4/+4 | |
| | | ||||||
* | | util/ConstBuffer: add method skip_front() | Max Kellermann | 2014-06-26 | 1 | -0/+9 | |
| | | ||||||
* | | util/ConstBuffer: wrap assert() in NDEBUG check | Max Kellermann | 2014-06-26 | 1 | -0/+4 | |
| | | | | | | | | Fixes build failure because assert.h was not included. | |||||
* | | util/ConstBuffer: add method Contains() | Max Kellermann | 2014-06-23 | 1 | -0/+10 | |
| | | ||||||
* | | db/simple: use class boost::intrusive::list | Max Kellermann | 2014-06-16 | 3 | -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 Kellermann | 2014-04-24 | 2 | -0/+118 | |
| | | ||||||
* | | util/{Const,Writable}Buffer: add typedef reference_type | Max Kellermann | 2014-04-24 | 2 | -4/+8 | |
| | | ||||||
* | | util/ConstBuffer: add FromVoid(), ToVoid() to "void" specialization | Max Kellermann | 2014-03-18 | 1 | -0/+8 | |
| | | | | | | | | Provide the full API. | |||||
* | | util/CircularBuffer: add method GetSpace() | Max Kellermann | 2014-03-16 | 1 | -0/+12 | |
| | | ||||||
* | | util/CircularBuffer: add method GetSize() | Max Kellermann | 2014-03-16 | 1 | -0/+9 | |
| | | ||||||
* | | util/CircularBuffer: rename GetSize() to GetCapacity() | Max Kellermann | 2014-03-15 | 1 | -22/+22 | |
| | | ||||||
* | | util/CircularBuffer: new buffer class | Max Kellermann | 2014-03-15 | 1 | -0/+165 | |
| | | ||||||
* | | java: new helper library for the Android port | Max Kellermann | 2014-03-01 | 2 | -0/+28 | |
| | | ||||||
* | | util/{Const,Writable}Buffer: add operator[] | Max Kellermann | 2014-03-01 | 2 | -0/+22 | |
| | | ||||||
* | | util/{Const,Writable}Buffer: add template specialization for "void" | Max Kellermann | 2014-03-01 | 2 | -0/+68 | |
| | | | | | | | | Omit a few methods that are not applicable. | |||||
* | | util/ConstBuffer: remove cast operator ConstBuffer<void> | Max Kellermann | 2014-03-01 | 1 | -4/+0 | |
| | | | | | | | | This was bugged, because it did not scale the "size". | |||||
* | | UriUtil: support ftp:// URLs in uri_remove_auth() | Max Kellermann | 2014-02-24 | 1 | -0/+2 | |
| | | ||||||
* | | util/Tokenizer: relicense to BSD-2 | Max Kellermann | 2014-02-19 | 2 | -28/+48 | |
| | | ||||||
* | | util/StringUtil: add StringEndsWith() | Max Kellermann | 2014-02-18 | 2 | -0/+15 | |
| | | | | | | Replaces g_str_has_suffix(). | |||||
* | | util/StringUtil: add function Strip() | Max Kellermann | 2014-02-17 | 2 | -0/+21 | |
| | | | | | | Replaces g_strstrip(). | |||||
* | | util/HugeAllocator: relicense to BSD-2 | Max Kellermann | 2014-02-10 | 2 | -28/+48 | |
| | | ||||||
* | | util/PeakBuffer: fix nullptr dereference when peak_size==0 | Max Kellermann | 2014-01-14 | 1 | -2/+3 | |
| | | ||||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 28 | -28/+28 | |
| | | ||||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2014-01-08 | 1 | -1/+2 | |
|\| | ||||||
| * | util/UriUtil: uri_get_suffix() fails if name begins with dot | Max Kellermann | 2013-12-29 | 1 | -1/+2 | |
| | | | | | | | | | | A file called ".jpg" is not a JPEG file with an empty name; it is merely a hidden file. | |||||
| * | util/Error: add missing <algorithm> include | Max Kellermann | 2013-12-19 | 1 | -0/+1 | |
| | | | | | | | | For std::move(). | |||||
* | | util/Alloc: new library replacing GLib's g_malloc() | Max Kellermann | 2014-01-07 | 3 | -4/+146 | |
| | | ||||||
* | | Directory: make some code generic, move to VarSize.hxx | Max Kellermann | 2014-01-07 | 1 | -0/+84 | |
| | | ||||||
* | | util/Cast: new utility library | Max Kellermann | 2014-01-06 | 1 | -0/+58 | |
| | |