Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | util/Clamp: generic Clamp() function | Max Kellermann | 2013-12-22 | 1 | -0/+49 |
| | | |||||
* | | util/fifo_buffer: remove obsolete library | Max Kellermann | 2013-12-19 | 2 | -382/+0 |
| | | |||||
* | | util/PeakBuffer: use IsEmpty() instead of IsNull() | Max Kellermann | 2013-12-19 | 1 | -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. | ||||
* | | util/{Domain,Error}: relicense to BSD 2-clause | Max Kellermann | 2013-12-16 | 3 | -43/+73 |
| | | |||||
* | | util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_buffer | Max Kellermann | 2013-12-15 | 2 | -47/+36 |
| | | | | | | | | Switch to the C++ version. | ||||
* | | util/PeakBuffer: return ConstBuffer<void> | Max Kellermann | 2013-12-15 | 2 | -7/+13 |
| | | |||||
* | | util/WritableBuffer: add cast methods | Max Kellermann | 2013-12-15 | 1 | -1/+30 |
| | | |||||
* | | util/WritableBuffer: fix indent | Max Kellermann | 2013-12-15 | 1 | -31/+31 |
| | | |||||
* | | util/DynamicFifoBuffer: make constructor "explicit" | Max Kellermann | 2013-12-15 | 1 | -1/+1 |
| | | |||||
* | | util/Tokenizer, ...: include cleanup | Max Kellermann | 2013-12-15 | 1 | -2/+0 |
| | | |||||
* | | system/SocketError, ...: use strerror() instead of g_strerror() | Max Kellermann | 2013-12-15 | 1 | -2/+5 |
| | | | | | | | | Avoid GLib. | ||||
* | | UriUtil: add function uri_get_scheme() | Max Kellermann | 2013-12-15 | 2 | -0/+17 |
| | | | | | | | | Replaces g_uri_parse_scheme(). | ||||
* | | util/SplitString: new utility class | Max Kellermann | 2013-12-14 | 2 | -0/+108 |
| | | | | | | | | To replace g_strdup(). | ||||
* | | util/DynamicFifoBuffer: new class replacing growing_fifo | Max Kellermann | 2013-12-05 | 3 | -163/+199 |
| | | |||||
* | | util/ConstBuffer: new utility class | Max Kellermann | 2013-11-29 | 1 | -0/+118 |
| | | |||||
* | | Util/StringUtil: add StringStartsWith() | Max Kellermann | 2013-11-28 | 2 | -0/+12 |
| | | | | | | | | Replaces GLib's g_str_has_prefix(). | ||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 3 | -4/+5 |
| | | |||||
* | | CommandLine: new command line parser | Denis Krjuchkov | 2013-11-24 | 3 | -0/+210 |
|/ | | | | | | | | This implementation behaves mostly identical to old parser. Few observable differences: - There are no option groups (single group is used for all options) - Option --stdout is hidden (it has been obsolete for a long time) - MPD executable name (mpd) is hardcoded for simplicity | ||||
* | util/RefCount: no "constexpr" with libc++ | Max Kellermann | 2013-11-11 | 1 | -1/+6 |
| | | | | Not supported by libc++. | ||||
* | util/LazyRandomEngine: make min()/max() static+constexpr | Max Kellermann | 2013-11-11 | 1 | -4/+4 |
| | | | | Required for building with libc++. | ||||
* | util/UriUtil: add uri_is_child_or_same() | Max Kellermann | 2013-10-29 | 2 | -0/+31 |
| | |||||
* | util/NumberParser: add ParseFloat() | Max Kellermann | 2013-10-26 | 1 | -0/+6 |
| | |||||
* | util/NumberParser: indent | Max Kellermann | 2013-10-26 | 1 | -10/+10 |
| | |||||
* | UriUtil: uri_remove_auth() returns std::string | Max Kellermann | 2013-10-23 | 2 | -15/+12 |
| | |||||
* | util/NumberParser: utilities for parsing numbers from ASCII strings | Max Kellermann | 2013-10-21 | 1 | -0/+78 |
| | |||||
* | Util/ASCII: add StringEqualsCaseASCII() overload with length | Max Kellermann | 2013-10-21 | 1 | -0/+12 |
| | | | | Replaces GLib's g_ascii_strncasecmp(). | ||||
* | Util/ASCII: add function StringEqualsCaseASCII() | Max Kellermann | 2013-10-20 | 2 | -3/+56 |
| | | | | Replaces GLib's g_ascii_strcasecmp(). | ||||
* | util/FormatString: new library to replace g_strdup_printf() | Max Kellermann | 2013-10-19 | 2 | -0/+111 |
| | |||||
* | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 2013-10-19 | 3 | -6/+122 |
| | |||||
* | util/StringUtil: rename strchug_fast_c() to strchug_fast() | Max Kellermann | 2013-10-18 | 2 | -6/+3 |
| | | | | Overload the name. | ||||
* | util/Error: add method SetLastError() | Max Kellermann | 2013-10-17 | 2 | -0/+25 |
| | |||||
* | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 2013-10-16 | 1 | -4/+4 |
| | | | | Replacing GLib macros. | ||||
* | util/ByteReverse: use C99 "restrict" | Max Kellermann | 2013-10-16 | 1 | -7/+13 |
| | | | | Micro-optimization. | ||||
* | util/byte_reverse: convert to C++ | Max Kellermann | 2013-10-16 | 2 | -15/+15 |
| | |||||
* | Util/Macros: replacement for GLib's G_N_ELEMENTS() | Max Kellermann | 2013-10-15 | 2 | -3/+38 |
| | |||||
* | util/FifoBuffer: C++ version of the fifo_buffer library | Max Kellermann | 2013-10-15 | 2 | -0/+219 |
| | |||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 9 | -9/+9 |
| |