aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* MusicPipe: allocate with new/deleteMax Kellermann2013-01-041-17/+18
|
* mpd_error.h: add missing glib.h includeMax Kellermann2013-01-041-0/+1
|
* MusicBuffer: return memory to kernel when stopping playbackMax Kellermann2013-01-042-5/+28
| | | | | 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-042-60/+146
|
* MusicBuffer: allocate with new/deleteMax Kellermann2013-01-041-30/+30
|
* MusicBuffer: disable memory poisoningMax Kellermann2013-01-041-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.
* Client, Inotify: use std::list instead of std::dequeMax Kellermann2013-01-042-4/+4
| | | | Random access is not necessary here.
* crossfade: convert to C++Max Kellermann2013-01-043-6/+6
|
* buffer, pipe: convert to C++Max Kellermann2013-01-0414-45/+36
|
* output_*: convert to C++Max Kellermann2013-01-0415-56/+79
|
* decoder_*: convert to C++Max Kellermann2013-01-048-35/+44
|
* pcm_convert: make C++ safeMax Kellermann2013-01-041-1/+7
|
* CommandListBuilder: use std::list instead of GSListMax Kellermann2013-01-043-24/+16
|
* CommandListBuilder: rename attributesMax Kellermann2013-01-042-22/+35
|
* Client: move code to class CommandListBuilderMax Kellermann2013-01-045-41/+159
|
* PlaylistFile: reuse classes PlaylistInfo and PlaylistVectorMax Kellermann2013-01-046-16/+15
| | | | .. instead of rolling own classes.
* PlaylistInfo: remove the obsolete list_head attributeMax Kellermann2013-01-041-3/+0
|
* ClientNew: initialise the "idle" attributesMax Kellermann2013-01-031-1/+2
| | | | Make valgrind happy.
* Client: add constructor and destructorMax Kellermann2013-01-032-52/+55
| | | | Move code from client_new() and client_close().
* PlaylistFile: fix memory leakMax Kellermann2013-01-031-0/+1
|
* Merge branch 'v0.17.x'Max Kellermann2013-01-032-13/+75
|\
| * cue_parser: fix CUE files with only one trackMax Kellermann2013-01-031-7/+47
| | | | | | | | | | Track whether _finish() has been called, and deliver all partial results then. Fixes Mantis ticket 0003621.
| * cue_parser: add code commentsMax Kellermann2013-01-031-2/+21
| |
| * cue_parser: fix memory leakMax Kellermann2013-01-031-0/+3
| |
| * cmdline: bunch of fixes related to config file selectionDenis Krjuchkov2013-01-031-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
* | Client: use std::deque for messagesMax Kellermann2013-01-035-41/+10
| |
* | ClientMessage: turn into a classMax Kellermann2013-01-035-110/+35
| |
* | ClientInternal: use std::set for subscriptionsMax Kellermann2013-01-034-34/+21
| |
* | ClientNew: allocate/dispose client objects with new/deleteMax Kellermann2013-01-031-3/+2
| | | | | | | | Prepare for adding non-trivial attributes.
* | Client: rename the struct client to class ClientMax Kellermann2013-01-0363-372/+394
| |
* | ls.h: rename to ls.hxxMax Kellermann2013-01-037-9/+9
| |
* | cmdline: convert to C++Max Kellermann2013-01-033-10/+12
| |
* | client: convert to C++Max Kellermann2013-01-0347-166/+139
| |
* | decoder_print: convert to C++Max Kellermann2013-01-033-6/+9
| |
* | listen: convert to C++Max Kellermann2013-01-035-9/+12
| |
* | ls: convert to C++Max Kellermann2013-01-031-1/+4
| |
* | output_print: convert to C++Max Kellermann2013-01-033-7/+10
| |
* | TextFile: convert to a classMax Kellermann2013-01-0317-98/+97
| |
* | text_file: convert to C++Max Kellermann2013-01-0310-16/+13
| |
* | ExcludeList: convert to a classMax Kellermann2013-01-033-47/+61
| |
* | exclude: convert to C++Max Kellermann2013-01-033-6/+7
| |
* | exclude: make variables more localMax Kellermann2013-01-031-5/+3
| |
* | InotifyQueue: use std::deque instead of GSListMax Kellermann2013-01-033-37/+19
| |
* | Permission: use std::map instead of GHashTableMax Kellermann2013-01-033-22/+9
| |
* | permission: convert to C++Max Kellermann2013-01-036-10/+13
| |
* | client_new: convert to C++Max Kellermann2013-01-031-3/+7
| |
* | MessageCommands: use std::set instead of GHashTableMax Kellermann2013-01-031-26/+8
| |
* | StickerDatabase: use std::map instead of GHashTableMax Kellermann2013-01-031-52/+23
| |