Max Kellermann
|
8f1ec1dfdf
|
util/NumberParser: utilities for parsing numbers from ASCII strings
|
2013-10-21 09:48:31 +02:00 |
|
Max Kellermann
|
222dc8a239
|
Util/ASCII: add StringEqualsCaseASCII() overload with length
Replaces GLib's g_ascii_strncasecmp().
|
2013-10-21 08:42:55 +02:00 |
|
Max Kellermann
|
0e4d2e7277
|
Util/ASCII: add function StringEqualsCaseASCII()
Replaces GLib's g_ascii_strcasecmp().
|
2013-10-20 23:09:51 +02:00 |
|
Max Kellermann
|
5dc4cbdf82
|
util/FormatString: new library to replace g_strdup_printf()
|
2013-10-19 17:24:21 +02:00 |
|
Max Kellermann
|
b39ab76118
|
Util/CharUtil: new library replacing g_ascii_isX()
|
2013-10-19 15:36:47 +02:00 |
|
Max Kellermann
|
58fe352fda
|
util/StringUtil: rename strchug_fast_c() to strchug_fast()
Overload the name.
|
2013-10-18 12:24:47 +02:00 |
|
Max Kellermann
|
f6d74012b7
|
util/Error: add method SetLastError()
|
2013-10-17 19:29:38 +02:00 |
|
Max Kellermann
|
5e26e2ab1d
|
system/ByteOrder: new library for byte ordering / endianess
Replacing GLib macros.
|
2013-10-16 22:09:44 +02:00 |
|
Max Kellermann
|
08eca827b6
|
util/ByteReverse: use C99 "restrict"
Micro-optimization.
|
2013-10-16 22:07:59 +02:00 |
|
Max Kellermann
|
6b2b5af344
|
util/byte_reverse: convert to C++
|
2013-10-16 22:07:52 +02:00 |
|
Max Kellermann
|
509f8dab89
|
Util/Macros: replacement for GLib's G_N_ELEMENTS()
|
2013-10-15 22:47:39 +02:00 |
|
Max Kellermann
|
84d20d9e43
|
util/FifoBuffer: C++ version of the fifo_buffer library
|
2013-10-15 10:28:52 +02:00 |
|
Max Kellermann
|
be2951b45f
|
gcc.h: rename to Compiler.h
|
2013-10-15 09:21:59 +02:00 |
|
Max Kellermann
|
6fd481df97
|
Mapper, ...: use memcmp() instead of strncmp() where appropriate
Micro-optimization.
|
2013-10-14 22:00:21 +02:00 |
|
Max Kellermann
|
29030b54c9
|
util/Error: new error passing library
Replaces GLib's GError.
|
2013-09-04 18:14:22 +02:00 |
|
Max Kellermann
|
abe090ec1f
|
*: remove remaining __cplusplus checks
|
2013-08-07 19:58:52 +02:00 |
|
Max Kellermann
|
953e3190ca
|
encoder/lame: use ReusableBuffer instead of AllocatedArray
|
2013-08-07 18:53:24 +02:00 |
|
Max Kellermann
|
44a0e21795
|
PcmBuffer: move code to new class ReusableBuffer
ReusableBuffer is more generic.
|
2013-08-07 18:51:21 +02:00 |
|
Max Kellermann
|
66f678023f
|
util/Manual: add missing include <utility>
|
2013-08-06 22:34:20 +02:00 |
|
Max Kellermann
|
3f04a4d635
|
encoder/lame: dynamic output buffer
|
2013-08-06 09:13:28 +02:00 |
|
Max Kellermann
|
85b77b81ca
|
*: use gcc.h macros instead of GLib
|
2013-08-04 23:48:01 +02:00 |
|
Max Kellermann
|
28030d7edb
|
include cleanup
|
2013-07-30 08:39:21 +02:00 |
|
Max Kellermann
|
d300e6bf21
|
util/Manual: work around strict-aliasing warning
|
2013-04-11 00:01:08 +02:00 |
|
Max Kellermann
|
0921180b90
|
string_util: convert to C++
|
2013-04-09 01:08:20 +02:00 |
|
Max Kellermann
|
450c26c471
|
tokenizer: convert to C++
|
2013-04-08 23:51:39 +02:00 |
|
Max Kellermann
|
7ec1121cc8
|
uri: convert to C++
|
2013-04-08 23:45:31 +02:00 |
|
Max Kellermann
|
762c91b7f1
|
util/Manual: new template class
|
2013-01-30 23:48:34 +01:00 |
|
Max Kellermann
|
ba51045d9e
|
refcount: convert to C++
|
2013-01-29 23:20:19 +01:00 |
|
Max Kellermann
|
3e03527930
|
Client: move output buffer code to new class PeakBuffer
|
2013-01-15 10:59:28 +01:00 |
|
Max Kellermann
|
4fa724461e
|
util/fifo_buffer: add method _init()
|
2013-01-15 10:59:28 +01:00 |
|
Max Kellermann
|
f9fc3a42cc
|
fifo_buffer: move to util/
|
2013-01-15 01:02:13 +01:00 |
|
Max Kellermann
|
0308ec564e
|
util/list: don't use GLib
|
2013-01-08 16:41:36 +01:00 |
|
Max Kellermann
|
5b8b7d1412
|
util/LazyRandomEngine: lazy wrapper for std::mt19937
|
2013-01-07 21:27:51 +01:00 |
|
Max Kellermann
|
223b90d0d4
|
MusicBuffer: return memory to kernel when stopping playback
Use the new HugeAllocator as backend for SliceBuffer and call
HugeDiscard() when the last chunk was returned.
|
2013-01-04 20:48:28 +01:00 |
|
Max Kellermann
|
692b2cfb79
|
HugeAllocator: new memory allocator
|
2013-01-04 20:38:06 +01:00 |
|
Max Kellermann
|
447a86c922
|
SliceBuffer: lazy initialization
Avoid page faults on MPD startup. This saves a lot of memory for an
idle MPD.
|
2013-01-04 20:29:47 +01:00 |
|
Max Kellermann
|
e3a2bd3a1e
|
MusicBuffer: move code to template class SliceBuffer
|
2013-01-04 17:12:21 +01:00 |
|
Max Kellermann
|
8e331cfc65
|
gcc.h: re-add gcc_const and gcc_pure
Remove GLib dependency from some headers.
|
2012-08-02 19:12:18 +02:00 |
|
Max Kellermann
|
123ae985d5
|
util/list: make safe for C++
|
2012-08-01 09:59:12 +02:00 |
|
Max Kellermann
|
95d9bb6dfc
|
pcm_byteswap: move code to libutil
|
2012-03-21 18:58:19 +01:00 |
|
Max Kellermann
|
c1d0a8b5ce
|
dsd2pcm: move the bit reversing code to a generic library
Instead of doing run-time initialisation, use a constant lookup table.
|
2012-03-21 08:44:43 +01:00 |
|
Max Kellermann
|
69d3c611aa
|
util/list: allow typeof() with clang
|
2012-03-19 20:37:25 +01:00 |
|
Max Kellermann
|
a989140a07
|
util/list.h: import the Linux kernel's linked list library
|
2012-01-24 20:49:52 +01:00 |
|