aboutsummaryrefslogtreecommitdiffstats
path: root/src/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* encoder/lame: dynamic output bufferMax Kellermann2013-08-061-0/+189
|
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-041-1/+1
|
* include cleanupMax Kellermann2013-07-301-1/+0
|
* util/Manual: work around strict-aliasing warningMax Kellermann2013-04-111-0/+9
|
* string_util: convert to C++Max Kellermann2013-04-093-1/+127
|
* tokenizer: convert to C++Max Kellermann2013-04-082-0/+301
|
* uri: convert to C++Max Kellermann2013-04-082-0/+171
|
* util/Manual: new template classMax Kellermann2013-01-301-0/+111
|
* refcount: convert to C++Max Kellermann2013-01-291-0/+59
|
* Client: move output buffer code to new class PeakBufferMax Kellermann2013-01-152-0/+209
|
* util/fifo_buffer: add method _init()Max Kellermann2013-01-152-0/+11
|
* fifo_buffer: move to util/Max Kellermann2013-01-154-0/+534
|
* util/list: don't use GLibMax Kellermann2013-01-081-3/+1
|
* util/LazyRandomEngine: lazy wrapper for std::mt19937Max Kellermann2013-01-072-0/+98
|
* MusicBuffer: return memory to kernel when stopping playbackMax Kellermann2013-01-041-4/+23
| | | | | Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned.
* HugeAllocator: new memory allocatorMax Kellermann2013-01-042-0/+169
|
* SliceBuffer: lazy initializationMax Kellermann2013-01-041-13/+21
| | | | | Avoid page faults on MPD startup. This saves a lot of memory for an idle MPD.
* MusicBuffer: move code to template class SliceBufferMax Kellermann2013-01-041-0/+134
|
* gcc.h: re-add gcc_const and gcc_pureMax Kellermann2012-08-021-2/+3
| | | | Remove GLib dependency from some headers.
* util/list: make safe for C++Max Kellermann2012-08-011-24/+25
|