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-01-15 | util/PeakBuffer: fix nullptr dereference when peak_size==0 | Max Kellermann | 1 | -2/+3 | |
2013-12-29 | util/UriUtil: uri_get_suffix() fails if name begins with dot | Max Kellermann | 1 | -1/+2 | |
A file called ".jpg" is not a JPEG file with an empty name; it is merely a hidden file. | |||||
2013-12-19 | util/Error: add missing <algorithm> include | Max Kellermann | 1 | -0/+1 | |
For std::move(). | |||||
2013-11-11 | util/RefCount: no "constexpr" with libc++ | Max Kellermann | 1 | -1/+6 | |
Not supported by libc++. | |||||
2013-11-11 | util/LazyRandomEngine: make min()/max() static+constexpr | Max Kellermann | 1 | -4/+4 | |
Required for building with libc++. | |||||
2013-10-29 | util/UriUtil: add uri_is_child_or_same() | Max Kellermann | 2 | -0/+31 | |
2013-10-26 | util/NumberParser: add ParseFloat() | Max Kellermann | 1 | -0/+6 | |
2013-10-26 | util/NumberParser: indent | Max Kellermann | 1 | -10/+10 | |
2013-10-23 | UriUtil: uri_remove_auth() returns std::string | Max Kellermann | 2 | -15/+12 | |
2013-10-21 | util/NumberParser: utilities for parsing numbers from ASCII strings | Max Kellermann | 1 | -0/+78 | |
2013-10-21 | Util/ASCII: add StringEqualsCaseASCII() overload with length | Max Kellermann | 1 | -0/+12 | |
Replaces GLib's g_ascii_strncasecmp(). | |||||
2013-10-20 | Util/ASCII: add function StringEqualsCaseASCII() | Max Kellermann | 2 | -3/+56 | |
Replaces GLib's g_ascii_strcasecmp(). | |||||
2013-10-19 | util/FormatString: new library to replace g_strdup_printf() | Max Kellermann | 2 | -0/+111 | |
2013-10-19 | Util/CharUtil: new library replacing g_ascii_isX() | Max Kellermann | 3 | -6/+122 | |
2013-10-18 | util/StringUtil: rename strchug_fast_c() to strchug_fast() | Max Kellermann | 2 | -6/+3 | |
Overload the name. | |||||
2013-10-17 | util/Error: add method SetLastError() | Max Kellermann | 2 | -0/+25 | |
2013-10-16 | system/ByteOrder: new library for byte ordering / endianess | Max Kellermann | 1 | -4/+4 | |
Replacing GLib macros. | |||||
2013-10-16 | util/ByteReverse: use C99 "restrict" | Max Kellermann | 1 | -7/+13 | |
Micro-optimization. | |||||
2013-10-16 | util/byte_reverse: convert to C++ | Max Kellermann | 2 | -15/+15 | |
2013-10-15 | Util/Macros: replacement for GLib's G_N_ELEMENTS() | Max Kellermann | 2 | -3/+38 | |
2013-10-15 | util/FifoBuffer: C++ version of the fifo_buffer library | Max Kellermann | 2 | -0/+219 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 9 | -9/+9 | |
2013-10-14 | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 1 | -2/+2 | |
Micro-optimization. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 5 | -36/+350 | |
Replaces GLib's GError. | |||||
2013-08-07 | *: remove remaining __cplusplus checks | Max Kellermann | 1 | -23/+1 | |
2013-08-07 | encoder/lame: use ReusableBuffer instead of AllocatedArray | Max Kellermann | 1 | -189/+0 | |
2013-08-07 | PcmBuffer: move code to new class ReusableBuffer | Max Kellermann | 1 | -0/+88 | |
ReusableBuffer is more generic. | |||||
2013-08-06 | util/Manual: add missing include <utility> | Max Kellermann | 1 | -0/+1 | |
2013-08-06 | encoder/lame: dynamic output buffer | Max Kellermann | 1 | -0/+189 | |
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -1/+1 | |
2013-07-30 | include cleanup | Max Kellermann | 1 | -1/+0 | |
2013-04-11 | util/Manual: work around strict-aliasing warning | Max Kellermann | 1 | -0/+9 | |
2013-04-09 | string_util: convert to C++ | Max Kellermann | 3 | -1/+127 | |
2013-04-08 | tokenizer: convert to C++ | Max Kellermann | 2 | -0/+301 | |
2013-04-08 | uri: convert to C++ | Max Kellermann | 2 | -0/+171 | |
2013-01-30 | util/Manual: new template class | Max Kellermann | 1 | -0/+111 | |
2013-01-29 | refcount: convert to C++ | Max Kellermann | 1 | -0/+59 | |
2013-01-15 | Client: move output buffer code to new class PeakBuffer | Max Kellermann | 2 | -0/+209 | |
2013-01-15 | util/fifo_buffer: add method _init() | Max Kellermann | 2 | -0/+11 | |
2013-01-15 | fifo_buffer: move to util/ | Max Kellermann | 4 | -0/+534 | |
2013-01-08 | util/list: don't use GLib | Max Kellermann | 1 | -3/+1 | |
2013-01-07 | util/LazyRandomEngine: lazy wrapper for std::mt19937 | Max Kellermann | 2 | -0/+98 | |
2013-01-04 | MusicBuffer: return memory to kernel when stopping playback | Max Kellermann | 1 | -4/+23 | |
Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned. | |||||
2013-01-04 | HugeAllocator: new memory allocator | Max Kellermann | 2 | -0/+169 | |
2013-01-04 | SliceBuffer: lazy initialization | Max Kellermann | 1 | -13/+21 | |
Avoid page faults on MPD startup. This saves a lot of memory for an idle MPD. | |||||
2013-01-04 | MusicBuffer: move code to template class SliceBuffer | Max Kellermann | 1 | -0/+134 | |
2012-08-02 | gcc.h: re-add gcc_const and gcc_pure | Max Kellermann | 1 | -2/+3 | |
Remove GLib dependency from some headers. | |||||
2012-08-01 | util/list: make safe for C++ | Max Kellermann | 1 | -24/+25 | |
2012-03-21 | pcm_byteswap: move code to libutil | Max Kellermann | 2 | -0/+178 | |