aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-04playlist: convert to C++Max Kellermann23-61/+66
2013-01-04DecoderThread: move code to destructorMax Kellermann3-14/+26
2013-01-04DecoderInternal: initialize replay_gain_serialMax Kellermann1-1/+2
2013-01-04DecoderInternal: move initializers to constructorMax Kellermann2-13/+10
2013-01-04MusicChunk: move functions to methodsMax Kellermann8-104/+89
2013-01-04Mutex: new wrapper for std::mutex, replaces GMutexMax Kellermann4-43/+134
2013-01-04MusicPipe: allocate with new/deleteMax Kellermann1-17/+18
2013-01-04mpd_error.h: add missing glib.h includeMax Kellermann1-0/+1
2013-01-04MusicBuffer: return memory to kernel when stopping playbackMax Kellermann2-5/+28
Use the new HugeAllocator as backend for SliceBuffer and call HugeDiscard() when the last chunk was returned.
2013-01-04HugeAllocator: new memory allocatorMax Kellermann2-0/+169
2013-01-04SliceBuffer: lazy initializationMax Kellermann1-13/+21
Avoid page faults on MPD startup. This saves a lot of memory for an idle MPD.
2013-01-04MusicBuffer: move code to template class SliceBufferMax Kellermann2-60/+146
2013-01-04MusicBuffer: allocate with new/deleteMax Kellermann1-30/+30
2013-01-04MusicBuffer: disable memory poisoningMax Kellermann1-4/+0
This is harmful for memory usage, because it forces the kernel to allocate physical memory, even before playback has started. No bug has been found in a few years with this, so it's safe to assume that this code is not necessary.
2013-01-04Client, Inotify: use std::list instead of std::dequeMax Kellermann2-4/+4
Random access is not necessary here.
2013-01-04crossfade: convert to C++Max Kellermann3-6/+6
2013-01-04buffer, pipe: convert to C++Max Kellermann14-45/+36
2013-01-04output_*: convert to C++Max Kellermann15-56/+79
2013-01-04decoder_*: convert to C++Max Kellermann8-35/+44
2013-01-04pcm_convert: make C++ safeMax Kellermann1-1/+7
2013-01-04CommandListBuilder: use std::list instead of GSListMax Kellermann3-24/+16
2013-01-04CommandListBuilder: rename attributesMax Kellermann2-22/+35
2013-01-04Client: move code to class CommandListBuilderMax Kellermann5-41/+159
2013-01-04PlaylistFile: reuse classes PlaylistInfo and PlaylistVectorMax Kellermann6-16/+15
.. instead of rolling own classes.
2013-01-04PlaylistInfo: remove the obsolete list_head attributeMax Kellermann1-3/+0
2013-01-03ClientNew: initialise the "idle" attributesMax Kellermann1-1/+2
Make valgrind happy.
2013-01-03Client: add constructor and destructorMax Kellermann2-52/+55
Move code from client_new() and client_close().
2013-01-03PlaylistFile: fix memory leakMax Kellermann1-0/+1
2013-01-03cue_parser: fix CUE files with only one trackMax Kellermann1-7/+47
Track whether _finish() has been called, and deliver all partial results then. Fixes Mantis ticket 0003621.
2013-01-03cue_parser: add code commentsMax Kellermann1-2/+21
2013-01-03cue_parser: fix memory leakMax Kellermann1-0/+3
2013-01-03cmdline: bunch of fixes related to config file selectionDenis Krjuchkov1-4/+4
- fix potential memory leak of system_path 'Potential' because currently g_get_system_config_dirs() returns single entry on Windows, but that might change. - remove incorrect g_free() call It's not required at all because g_get_system_config_dirs() returns GLib owned memory. - remove extra semicolon
2013-01-03Client: use std::deque for messagesMax Kellermann5-41/+10
2013-01-03ClientMessage: turn into a classMax Kellermann5-110/+35
2013-01-03ClientInternal: use std::set for subscriptionsMax Kellermann4-34/+21
2013-01-03ClientNew: allocate/dispose client objects with new/deleteMax Kellermann1-3/+2
Prepare for adding non-trivial attributes.
2013-01-03Client: rename the struct client to class ClientMax Kellermann63-372/+394
2013-01-03ls.h: rename to ls.hxxMax Kellermann7-9/+9
2013-01-03cmdline: convert to C++Max Kellermann3-10/+12
2013-01-03client: convert to C++Max Kellermann47-166/+139
2013-01-03decoder_print: convert to C++Max Kellermann3-6/+9
2013-01-03listen: convert to C++Max Kellermann5-9/+12
2013-01-03ls: convert to C++Max Kellermann1-1/+4
2013-01-03output_print: convert to C++Max Kellermann3-7/+10
2013-01-03TextFile: convert to a classMax Kellermann17-98/+97
2013-01-03text_file: convert to C++Max Kellermann10-16/+13
2013-01-03ExcludeList: convert to a classMax Kellermann3-47/+61
2013-01-03exclude: convert to C++Max Kellermann3-6/+7
2013-01-03exclude: make variables more localMax Kellermann1-5/+3
2013-01-03InotifyQueue: use std::deque instead of GSListMax Kellermann3-37/+19