aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* copyright year 2014Max Kellermann2014-01-1328-28/+28
|
* Merge branch 'v0.18.x'Max Kellermann2014-01-081-1/+2
|\
| * util/UriUtil: uri_get_suffix() fails if name begins with dotMax Kellermann2013-12-291-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> includeMax Kellermann2013-12-191-0/+1
| | | | | | | | For std::move().
* | util/Alloc: new library replacing GLib's g_malloc()Max Kellermann2014-01-073-4/+146
| |
* | Directory: make some code generic, move to VarSize.hxxMax Kellermann2014-01-071-0/+84
| |
* | util/Cast: new utility libraryMax Kellermann2014-01-061-0/+58
| |
* | util/Clamp: generic Clamp() functionMax Kellermann2013-12-221-0/+49
| |
* | util/fifo_buffer: remove obsolete libraryMax Kellermann2013-12-192-382/+0
| |
* | util/PeakBuffer: use IsEmpty() instead of IsNull()Max Kellermann2013-12-191-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-clauseMax Kellermann2013-12-163-43/+73
| |
* | util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann2013-12-152-47/+36
| | | | | | | | Switch to the C++ version.
* | util/PeakBuffer: return ConstBuffer<void>Max Kellermann2013-12-152-7/+13
| |
* | util/WritableBuffer: add cast methodsMax Kellermann2013-12-151-1/+30
| |
* | util/WritableBuffer: fix indentMax Kellermann2013-12-151-31/+31
| |
* | util/DynamicFifoBuffer: make constructor "explicit"Max Kellermann2013-12-151-1/+1
| |
* | util/Tokenizer, ...: include cleanupMax Kellermann2013-12-151-2/+0
| |
* | system/SocketError, ...: use strerror() instead of g_strerror()Max Kellermann2013-12-151-2/+5
| | | | | | | | Avoid GLib.
* | UriUtil: add function uri_get_scheme()Max Kellermann2013-12-152-0/+17
| | | | | | | | Replaces g_uri_parse_scheme().
* | util/SplitString: new utility classMax Kellermann2013-12-142-0/+108
| | | | | | | | To replace g_strdup().
* | util/DynamicFifoBuffer: new class replacing growing_fifoMax Kellermann2013-12-053-163/+199
| |
* | util/ConstBuffer: new utility classMax Kellermann2013-11-291-0/+118
| |
* | Util/StringUtil: add StringStartsWith()Max Kellermann2013-11-282-0/+12
| | | | | | | | Replaces GLib's g_str_has_prefix().
* | include cleanup using iwyuMax Kellermann2013-11-283-4/+5
| |
* | CommandLine: new command line parserDenis Krjuchkov2013-11-243-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 Kellermann2013-11-111-1/+6
| | | | Not supported by libc++.
* util/LazyRandomEngine: make min()/max() static+constexprMax Kellermann2013-11-111-4/+4
| | | | Required for building with libc++.
* util/UriUtil: add uri_is_child_or_same()Max Kellermann2013-10-292-0/+31
|
* util/NumberParser: add ParseFloat()Max Kellermann2013-10-261-0/+6
|
* util/NumberParser: indentMax Kellermann2013-10-261-10/+10
|
* UriUtil: uri_remove_auth() returns std::stringMax Kellermann2013-10-232-15/+12
|
* util/NumberParser: utilities for parsing numbers from ASCII stringsMax Kellermann2013-10-211-0/+78
|
* Util/ASCII: add StringEqualsCaseASCII() overload with lengthMax Kellermann2013-10-211-0/+12
| | | | Replaces GLib's g_ascii_strncasecmp().
* Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann2013-10-202-3/+56
| | | | Replaces GLib's g_ascii_strcasecmp().
* util/FormatString: new library to replace g_strdup_printf()Max Kellermann2013-10-192-0/+111
|
* Util/CharUtil: new library replacing g_ascii_isX()Max Kellermann2013-10-193-6/+122
|
* util/StringUtil: rename strchug_fast_c() to strchug_fast()Max Kellermann2013-10-182-6/+3
| | | | Overload the name.
* util/Error: add method SetLastError()Max Kellermann2013-10-172-0/+25
|
* system/ByteOrder: new library for byte ordering / endianessMax Kellermann2013-10-161-4/+4
| | | | Replacing GLib macros.
* util/ByteReverse: use C99 "restrict"Max Kellermann2013-10-161-7/+13
| | | | Micro-optimization.
* util/byte_reverse: convert to C++Max Kellermann2013-10-162-15/+15
|
* Util/Macros: replacement for GLib's G_N_ELEMENTS()Max Kellermann2013-10-152-3/+38
|
* util/FifoBuffer: C++ version of the fifo_buffer libraryMax Kellermann2013-10-152-0/+219
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-159-9/+9
|
* Mapper, ...: use memcmp() instead of strncmp() where appropriateMax Kellermann2013-10-141-2/+2
| | | | Micro-optimization.
* util/Error: new error passing libraryMax Kellermann2013-09-045-36/+350
| | | | Replaces GLib's GError.
* *: remove remaining __cplusplus checksMax Kellermann2013-08-071-23/+1
|
* encoder/lame: use ReusableBuffer instead of AllocatedArrayMax Kellermann2013-08-071-189/+0
|
* PcmBuffer: move code to new class ReusableBufferMax Kellermann2013-08-071-0/+88
| | | | ReusableBuffer is more generic.
* util/Manual: add missing include <utility>Max Kellermann2013-08-061-0/+1
|