Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-08-16 | util: Fix header for strcasecmp | François Revol | 1 | -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-11 | util/HugeAllocator: implement on Windows | Max Kellermann | 1 | -0/+22 | |
2014-08-11 | util/CharUtil: add ToLowerASCII() | Max Kellermann | 1 | -0/+13 | |
2014-08-07 | input/TextInputStream: move ReadBufferedLine() to util/TextFile.hxx | Max Kellermann | 1 | -0/+52 | |
2014-08-07 | util/DynamicFifoBuffer: make GetCapacity() and Clear() public | Max Kellermann | 1 | -1/+2 | |
2014-08-07 | util/{Static,Foreign}FifoBuffer: lazy shift | Max Kellermann | 2 | -2/+10 | |
Reduce the number of unnecessary memmove() calls. | |||||
2014-08-07 | util/StaticFifoBuffer: fix indent | Max Kellermann | 1 | -68/+68 | |
2014-08-07 | util/StringUtil: add StripRight() overload with "end" argument | Max Kellermann | 2 | -0/+40 | |
2014-08-07 | util/StringUtil: use IsWhitespaceOrNull() in StripRight() | Max Kellermann | 1 | -1/+1 | |
The null byte is whitespace, too. | |||||
2014-08-07 | util/StringUtil: move code to StripRight() | Max Kellermann | 2 | -6/+31 | |
2014-08-07 | util/StringUtil: rename strchug_fast() to StripLeft() | Max Kellermann | 3 | -11/+8 | |
2014-08-07 | util/CharUtil: add IsWhitespaceFast() | Max Kellermann | 2 | -3/+16 | |
2014-08-07 | util/CharUtil: make IsWhitespace*() "constexpr" | Max Kellermann | 1 | -0/+2 | |
2014-08-07 | util/CharUtil: fix indent | Max Kellermann | 1 | -16/+16 | |
2014-08-07 | util/ForeignFifoBuffer: add method Swap() | Max Kellermann | 1 | -0/+7 | |
2014-08-07 | util/ForeignFifoBuffer: add method MoveFrom() | Max Kellermann | 1 | -0/+16 | |
2014-08-06 | util/ForeignFifoBuffer: add method GetAvailable() | Max Kellermann | 2 | -1/+6 | |
2014-08-06 | util/DynamicFifoBuffer: move code to new base class ForeignFifoBuffer | Max Kellermann | 2 | -119/+247 | |
2014-08-06 | util/FifoBuffer: rename to StaticFifoBuffer | Max Kellermann | 1 | -5/+5 | |
2014-07-30 | util/Error: add method FormatLastError() | Max Kellermann | 2 | -0/+32 | |
2014-07-30 | util/Error: add SetLastError() overload with "DWORD code" parameter | Max Kellermann | 2 | -2/+8 | |
2014-07-30 | util/Error: add "printf" attributes | Max Kellermann | 1 | -0/+5 | |
2014-07-30 | util/DynamicFifoBuffer: fix typo in API documentation | Max Kellermann | 1 | -1/+1 | |
2014-07-14 | util/Cast: add "const" overload | Max Kellermann | 1 | -0/+13 | |
2014-07-14 | util/Cast: add missing include | Max Kellermann | 1 | -0/+2 | |
2014-07-14 | util/Cast: fix indent | Max Kellermann | 1 | -3/+3 | |
2014-07-14 | util/Cast: reimplement as template without macro | Max Kellermann | 1 | -4/+24 | |
2014-07-14 | util/Cast: add const overloads | Max Kellermann | 1 | -0/+16 | |
2014-07-14 | util/Cast: suppress "unused function" warning by using "inline" | Max Kellermann | 1 | -2/+2 | |
2014-07-14 | util/Cast: fix indent | Max Kellermann | 1 | -4/+4 | |
2014-06-26 | util/ConstBuffer: add method skip_front() | Max Kellermann | 1 | -0/+9 | |
2014-06-26 | util/ConstBuffer: wrap assert() in NDEBUG check | Max Kellermann | 1 | -0/+4 | |
Fixes build failure because assert.h was not included. | |||||
2014-06-23 | util/ConstBuffer: add method Contains() | Max Kellermann | 1 | -0/+10 | |
2014-06-16 | db/simple: use class boost::intrusive::list | Max Kellermann | 3 | -802/+0 | |
Remove the C list_head library and use type-safe C++ instead. | |||||
2014-04-24 | util/{Const,Writable}Buffer: add front(), back(), pop_{front,back}(), shift() | Max Kellermann | 2 | -0/+118 | |
2014-04-24 | util/{Const,Writable}Buffer: add typedef reference_type | Max Kellermann | 2 | -4/+8 | |
2014-03-18 | util/ConstBuffer: add FromVoid(), ToVoid() to "void" specialization | Max Kellermann | 1 | -0/+8 | |
Provide the full API. | |||||
2014-03-16 | util/CircularBuffer: add method GetSpace() | Max Kellermann | 1 | -0/+12 | |
2014-03-16 | util/CircularBuffer: add method GetSize() | Max Kellermann | 1 | -0/+9 | |
2014-03-15 | util/CircularBuffer: rename GetSize() to GetCapacity() | Max Kellermann | 1 | -22/+22 | |
2014-03-15 | util/CircularBuffer: new buffer class | Max Kellermann | 1 | -0/+165 | |
2014-03-01 | java: new helper library for the Android port | Max Kellermann | 2 | -0/+28 | |
2014-03-01 | util/{Const,Writable}Buffer: add operator[] | Max Kellermann | 2 | -0/+22 | |
2014-03-01 | util/{Const,Writable}Buffer: add template specialization for "void" | Max Kellermann | 2 | -0/+68 | |
Omit a few methods that are not applicable. | |||||
2014-03-01 | util/ConstBuffer: remove cast operator ConstBuffer<void> | Max Kellermann | 1 | -4/+0 | |
This was bugged, because it did not scale the "size". | |||||
2014-02-24 | UriUtil: support ftp:// URLs in uri_remove_auth() | Max Kellermann | 1 | -0/+2 | |
2014-02-19 | util/Tokenizer: relicense to BSD-2 | Max Kellermann | 2 | -28/+48 | |
2014-02-18 | util/StringUtil: add StringEndsWith() | Max Kellermann | 2 | -0/+15 | |
Replaces g_str_has_suffix(). | |||||
2014-02-17 | util/StringUtil: add function Strip() | Max Kellermann | 2 | -0/+21 | |
Replaces g_strstrip(). | |||||
2014-02-10 | util/HugeAllocator: relicense to BSD-2 | Max Kellermann | 2 | -28/+48 | |