Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | playlist: convert to C++ | Max Kellermann | 2013-01-04 | 27 | -75/+77 |
| | |||||
* | DecoderThread: move code to destructor | Max Kellermann | 2013-01-04 | 3 | -14/+26 |
| | |||||
* | DecoderInternal: initialize replay_gain_serial | Max Kellermann | 2013-01-04 | 1 | -1/+2 |
| | |||||
* | DecoderInternal: move initializers to constructor | Max Kellermann | 2013-01-04 | 2 | -13/+10 |
| | |||||
* | MusicChunk: move functions to methods | Max Kellermann | 2013-01-04 | 8 | -104/+89 |
| | |||||
* | Mutex: new wrapper for std::mutex, replaces GMutex | Max Kellermann | 2013-01-04 | 5 | -43/+136 |
| | |||||
* | MusicPipe: allocate with new/delete | Max Kellermann | 2013-01-04 | 1 | -17/+18 |
| | |||||
* | mpd_error.h: add missing glib.h include | Max Kellermann | 2013-01-04 | 1 | -0/+1 |
| | |||||
* | MusicBuffer: return memory to kernel when stopping playback | Max Kellermann | 2013-01-04 | 2 | -5/+28 |
| | | | | | 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 | 3 | -0/+170 |
| | |||||
* | 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 | 3 | -60/+147 |
| | |||||
* | MusicBuffer: allocate with new/delete | Max Kellermann | 2013-01-04 | 1 | -30/+30 |
| | |||||
* | MusicBuffer: disable memory poisoning | Max Kellermann | 2013-01-04 | 1 | -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::deque | Max Kellermann | 2013-01-04 | 2 | -4/+4 |
| | | | | Random access is not necessary here. | ||||
* | crossfade: convert to C++ | Max Kellermann | 2013-01-04 | 4 | -8/+7 |
| | |||||
* | buffer, pipe: convert to C++ | Max Kellermann | 2013-01-04 | 15 | -51/+39 |
| | |||||
* | output_*: convert to C++ | Max Kellermann | 2013-01-04 | 17 | -76/+99 |
| | |||||
* | decoder_*: convert to C++ | Max Kellermann | 2013-01-04 | 9 | -41/+48 |
| | |||||
* | pcm_convert: make C++ safe | Max Kellermann | 2013-01-04 | 1 | -1/+7 |
| | |||||
* | CommandListBuilder: use std::list instead of GSList | Max Kellermann | 2013-01-04 | 3 | -24/+16 |
| | |||||
* | CommandListBuilder: rename attributes | Max Kellermann | 2013-01-04 | 2 | -22/+35 |
| | |||||
* | Client: move code to class CommandListBuilder | Max Kellermann | 2013-01-04 | 6 | -41/+160 |
| | |||||
* | PlaylistFile: reuse classes PlaylistInfo and PlaylistVector | Max Kellermann | 2013-01-04 | 6 | -16/+15 |
| | | | | .. instead of rolling own classes. | ||||
* | PlaylistInfo: remove the obsolete list_head attribute | Max Kellermann | 2013-01-04 | 1 | -3/+0 |
| | |||||
* | ClientNew: initialise the "idle" attributes | Max Kellermann | 2013-01-03 | 1 | -1/+2 |
| | | | | Make valgrind happy. | ||||
* | Client: add constructor and destructor | Max Kellermann | 2013-01-03 | 2 | -52/+55 |
| | | | | Move code from client_new() and client_close(). | ||||
* | PlaylistFile: fix memory leak | Max Kellermann | 2013-01-03 | 1 | -0/+1 |
| | |||||
* | valgrind.suppressions: add more suppressions | Max Kellermann | 2013-01-03 | 1 | -0/+23 |
| | |||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2013-01-03 | 6 | -15/+85 |
|\ | |||||
| * | cue_parser: fix CUE files with only one track | Max Kellermann | 2013-01-03 | 2 | -7/+48 |
| | | | | | | | | | | Track whether _finish() has been called, and deliver all partial results then. Fixes Mantis ticket 0003621. | ||||
| * | cue_parser: add code comments | Max Kellermann | 2013-01-03 | 1 | -2/+21 |
| | | |||||
| * | .gitignore: add more debug programs | Max Kellermann | 2013-01-03 | 1 | -0/+4 |
| | | |||||
| * | cue_parser: fix memory leak | Max Kellermann | 2013-01-03 | 2 | -0/+5 |
| | | |||||
| * | mpd_auto.m4: Pass libraries to AC_CHECK_LIB in MPD_AUTO_PKG_LIB | Denis Krjuchkov | 2013-01-03 | 1 | -1/+2 |
| | | | | | | | | | | Rationale: vanilla libid3tag does not have any pkg-config stuff and fails to detect because symbols from libz are not found. | ||||
| * | cmdline: bunch of fixes related to config file selection | Denis Krjuchkov | 2013-01-03 | 1 | -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 | ||||
| * | mpd.service: depend on network.target | John | 2012-11-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Since some configurations use the "bind_to_address" option in their /etc/mpd.conf, the systemd service file must wait for the network.target or else mpd will start before it and thus fail due to no iface. | ||||
* | | Client: use std::deque for messages | Max Kellermann | 2013-01-03 | 5 | -41/+10 |
| | | |||||
* | | ClientMessage: turn into a class | Max Kellermann | 2013-01-03 | 5 | -110/+35 |
| | | |||||
* | | ClientInternal: use std::set for subscriptions | Max Kellermann | 2013-01-03 | 4 | -34/+21 |
| | | |||||
* | | ClientNew: allocate/dispose client objects with new/delete | Max Kellermann | 2013-01-03 | 1 | -3/+2 |
| | | | | | | | | Prepare for adding non-trivial attributes. | ||||
* | | Client: rename the struct client to class Client | Max Kellermann | 2013-01-03 | 63 | -372/+394 |
| | | |||||
* | | ls.h: rename to ls.hxx | Max Kellermann | 2013-01-03 | 7 | -9/+9 |
| | | |||||
* | | cmdline: convert to C++ | Max Kellermann | 2013-01-03 | 4 | -12/+13 |
| | | |||||
* | | client: convert to C++ | Max Kellermann | 2013-01-03 | 48 | -186/+155 |
| | | |||||
* | | decoder_print: convert to C++ | Max Kellermann | 2013-01-03 | 4 | -8/+10 |
| | | |||||
* | | listen: convert to C++ | Max Kellermann | 2013-01-03 | 6 | -11/+13 |
| | | |||||
* | | ls: convert to C++ | Max Kellermann | 2013-01-03 | 2 | -2/+5 |
| | | |||||
* | | output_print: convert to C++ | Max Kellermann | 2013-01-03 | 4 | -9/+11 |
| | | |||||
* | | TextFile: convert to a class | Max Kellermann | 2013-01-03 | 17 | -98/+97 |
| | |