Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | ||||||
* | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 2013-10-14 | 1 | -2/+2 | |
| | | | | Micro-optimization. | |||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 5 | -36/+350 | |
| | | | | Replaces GLib's GError. | |||||
* | *: remove remaining __cplusplus checks | Max Kellermann | 2013-08-07 | 1 | -23/+1 | |
| | ||||||
* | encoder/lame: use ReusableBuffer instead of AllocatedArray | Max Kellermann | 2013-08-07 | 1 | -189/+0 | |
| | ||||||
* | PcmBuffer: move code to new class ReusableBuffer | Max Kellermann | 2013-08-07 | 1 | -0/+88 | |
| | | | | ReusableBuffer is more generic. | |||||
* | util/Manual: add missing include <utility> | Max Kellermann | 2013-08-06 | 1 | -0/+1 | |
| | ||||||
* | encoder/lame: dynamic output buffer | Max Kellermann | 2013-08-06 | 1 | -0/+189 | |
| | ||||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 1 | -1/+1 | |
| | ||||||
* | include cleanup | Max Kellermann | 2013-07-30 | 1 | -1/+0 | |
| | ||||||
* | util/Manual: work around strict-aliasing warning | Max Kellermann | 2013-04-11 | 1 | -0/+9 | |
| | ||||||
* | string_util: convert to C++ | Max Kellermann | 2013-04-09 | 3 | -1/+127 | |
| | ||||||
* | tokenizer: convert to C++ | Max Kellermann | 2013-04-08 | 2 | -0/+301 | |
| | ||||||
* | uri: convert to C++ | Max Kellermann | 2013-04-08 | 2 | -0/+171 | |
| | ||||||
* | util/Manual: new template class | Max Kellermann | 2013-01-30 | 1 | -0/+111 | |
| | ||||||
* | refcount: convert to C++ | Max Kellermann | 2013-01-29 | 1 | -0/+59 | |
| | ||||||
* | Client: move output buffer code to new class PeakBuffer | Max Kellermann | 2013-01-15 | 2 | -0/+209 | |
| | ||||||
* | util/fifo_buffer: add method _init() | Max Kellermann | 2013-01-15 | 2 | -0/+11 | |
| | ||||||
* | fifo_buffer: move to util/ | Max Kellermann | 2013-01-15 | 4 | -0/+534 | |
| | ||||||
* | util/list: don't use GLib | Max Kellermann | 2013-01-08 | 1 | -3/+1 | |
| | ||||||
* | util/LazyRandomEngine: lazy wrapper for std::mt19937 | Max Kellermann | 2013-01-07 | 2 | -0/+98 | |
| | ||||||
* | MusicBuffer: return memory to kernel when stopping playback | Max Kellermann | 2013-01-04 | 1 | -4/+23 | |
| | | | | | Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned. | |||||
* | HugeAllocator: new memory allocator | Max Kellermann | 2013-01-04 | 2 | -0/+169 | |
| | ||||||
* | SliceBuffer: lazy initialization | Max Kellermann | 2013-01-04 | 1 | -13/+21 | |
| | | | | | Avoid page faults on MPD startup. This saves a lot of memory for an idle MPD. | |||||
* | MusicBuffer: move code to template class SliceBuffer | Max Kellermann | 2013-01-04 | 1 | -0/+134 | |
| | ||||||
* | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 2012-08-02 | 1 | -2/+3 | |
| | | | | Remove GLib dependency from some headers. | |||||
* | util/list: make safe for C++ | Max Kellermann | 2012-08-01 | 1 | -24/+25 | |
| | ||||||
* | pcm_byteswap: move code to libutil | Max Kellermann | 2012-03-21 | 2 | -0/+178 | |
| | ||||||
* | dsd2pcm: move the bit reversing code to a generic library | Max Kellermann | 2012-03-21 | 2 | -0/+66 | |
| | | | | Instead of doing run-time initialisation, use a constant lookup table. |