Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-02-04 | Instance: add Database attribute | Max Kellermann | 1 | -2/+6 | |
Move from db/DatabaseGlue.cxx, eliminating global variable. | |||||
2014-02-04 | StateFile: pass Database to SongLoader | Max Kellermann | 1 | -1/+2 | |
Fixes loading database songs from state file (regression by commit 29072797c). | |||||
2014-02-03 | QueueSave: use class SongLoader | Max Kellermann | 1 | -2/+5 | |
2014-01-28 | OutputAll: convert to class, move instance to class Partition | Max Kellermann | 1 | -3/+3 | |
Another big chunk of code for multi-player support. | |||||
2014-01-24 | Mixer*: move to mixer/ | Max Kellermann | 1 | -1/+1 | |
2014-01-23 | output/*: move to output/plugins/ | Max Kellermann | 1 | -1/+1 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-08 | TextFile: move to fs subsystem | Denis Krjuchkov | 1 | -1/+1 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+1 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -7/+7 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -1/+1 | |
The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | |||||
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -13/+14 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-10-02 | Listen, ...: add missing includes | Max Kellermann | 1 | -1/+2 | |
2013-08-07 | ConfigPath: return a Path object | Max Kellermann | 1 | -3/+4 | |
Migrate all callers to use Path directly, instead of doing the conversion in each caller. | |||||
2013-04-08 | event/TimeoutMonitor: eliminate support for periodic events | Max Kellermann | 1 | -2/+1 | |
No caller needs this. Fixes use-after-free after returning from Client::OnTimeout(). | |||||
2013-04-08 | StateFile: schedule timer only after a change | Max Kellermann | 1 | -15/+6 | |
Save the state file 2 minutes after the last change. This reduces the disruptions by an idle MPD, and MPD can be paged out permanently until it is used. | |||||
2013-04-08 | StateFile: move code to RememberVersions(), IsModified() | Max Kellermann | 1 | -12/+21 | |
2013-02-02 | StateFile: use file system API, log in UTF-8 | Denis Krjuchkov | 1 | -7/+9 | |
2013-01-18 | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 1 | -3/+3 | |
2013-01-14 | event/TimeoutMonitor: wrapper for g_timeout_source_new() | Max Kellermann | 1 | -13/+5 | |
2013-01-14 | StateFile: convert to a class | Max Kellermann | 1 | -64/+34 | |
2013-01-14 | Main, IOThread: move GMainLoop setup code to class EventLoop | Max Kellermann | 1 | -3/+5 | |
2013-01-07 | volume: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-05 | Partition: new class, container for Playlist and PlayerControl | Max Kellermann | 1 | -15/+19 | |
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process. | |||||
2013-01-04 | playlist: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | TextFile: convert to a class | Max Kellermann | 1 | -12/+4 | |
2013-01-03 | text_file: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | db_save, state_file: convert to C++ | Max Kellermann | 1 | -5/+8 | |
2012-07-10 | require GLib 2.16 | Max Kellermann | 1 | -1/+0 | |
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it. | |||||
2012-03-06 | use g_strerror() instead of strerror() | Max Kellermann | 1 | -2/+2 | |
Make sure we get a UTF-8 encoded string. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -14/+17 | |
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. | |||||
2010-07-25 | state_file: use the text_file library | Max Kellermann | 1 | -5/+8 | |
Don't use a large stack buffer. | |||||
2010-07-25 | database, ...: remove EINTR checks after stdio calls | Max Kellermann | 1 | -2/+2 | |
MPD doesn't have child processes anymore, and thus we're not expecting to receive SIGCHLD very often. Since hard disk access isn't interrupted by signals anyway, we don't need those excessive checks. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-11-10 | configure.ac: require GLib 2.12 | Max Kellermann | 1 | -0/+1 | |
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h. | |||||
2009-10-13 | state_file: use g_timeout_add_seconds() | Max Kellermann | 1 | -2/+3 | |
2009-10-08 | state_file: save only if something has changed | Max Kellermann | 1 | -0/+22 | |
If nothing has changed since the last save, don't save the state file. Saving will spin up the hard drive, which is undesirable on hosts where MPD is idling in background. | |||||
2009-10-06 | output_state: no CamelCase | Max Kellermann | 1 | -2/+2 | |
2009-07-15 | state_file: don't rewind the stream while reading the state file | Max Kellermann | 1 | -5/+11 | |
Parse the state file line by line, let each subsystem probe a line. Only the playlist_state code gets the FILE pointer to read the following lines. | |||||
2009-07-15 | state_file: simplified state_file_finish() | Max Kellermann | 1 | -4/+6 | |
Return early from the destructor function when there is no configured state file. Don't check the timer, don't call g_free(NULL). | |||||
2009-07-15 | state_file: fixed debug messages | Max Kellermann | 1 | -1/+3 | |
Print "Loading" instead of "Saving" in state_file_read(). Added debug message to state_file_write(). | |||||
2009-07-14 | playlist: removed {save,read}PlaylistState() | Max Kellermann | 1 | -2/+3 | |
Those were only wrappers for playlist_state_{save,restore}(). Since sf_callbacks has been removed, we can call the latter functions directly. | |||||
2009-07-14 | state_file: eliminated the sf_callbacks array | Max Kellermann | 1 | -17/+9 | |
There are very few callbacks, and they are not meant to be pluggable. Let's eliminate the array and call the load/save functions manually. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-02-10 | audio: moved state file code to output_state.c | Max Kellermann | 1 | -1/+1 | |
2009-01-18 | main: moved the save_state timer to state_file.c | Max Kellermann | 1 | -2/+26 | |
The state_file library should manage its own regular saves. | |||||
2009-01-18 | state_file: added state_file_init() and state_file_finish() | Max Kellermann | 1 | -21/+31 | |
The constructor/destructor interface should hide the functions read_state_file() and write_state_file(). | |||||
2009-01-18 | state_file: include cleanup | Max Kellermann | 1 | -1/+0 | |