Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-01-05 | Partition: new class, container for Playlist and PlayerControl | Max Kellermann | 1 | -16/+18 | |
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process. | |||||
2013-01-05 | filter/ReplayGain: add method _set_mode() | Max Kellermann | 1 | -0/+2 | |
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode(). | |||||
2013-01-04 | Playlist: pass max_length to playlist_init() | Max Kellermann | 1 | -1/+2 | |
Move the configuration lookup to Main.cxx. | |||||
2013-01-04 | PlayerControl: add constructor and destructor | Max Kellermann | 1 | -2/+3 | |
2013-01-04 | player_control.h: convert header to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-04 | playlist: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-04 | buffer, pipe: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | cmdline: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | client: convert to C++ | Max Kellermann | 1 | -3/+3 | |
2013-01-03 | listen: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | Permission: use std::map instead of GHashTable | Max Kellermann | 1 | -1/+0 | |
2013-01-03 | permission: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | database.h: rename to DatabaseSimple.hxx | Max Kellermann | 1 | -1/+1 | |
2013-01-03 | database.h: move prototypes to DatabaseGlue.hxx | Max Kellermann | 1 | -3/+4 | |
2013-01-02 | mapper: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | sticker: convert to C++ | Max Kellermann | 1 | -4/+2 | |
2013-01-02 | {decoder,player}_thread: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | db_save, state_file: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-02 | update: convert to C++ | Max Kellermann | 1 | -5/+5 | |
2012-09-28 | main: use C++ compiler | Max Kellermann | 1 | -4/+12 | |
2012-09-28 | stored_playlist, playlist_save: use C++ compiler | Max Kellermann | 1 | -1/+1 | |
2012-09-25 | command.h: move function prototypes to AllCommands.h | Max Kellermann | 1 | -1/+1 | |
2012-08-14 | log: store duplicated path string | Max Kellermann | 1 | -1/+1 | |
Don't free the string right after calling log_init_file(). Add a new function log_deinit() that frees the string on shutdown. This fixes cycling the log file after SIGHUP (Mantis ticket 0003524). | |||||
2012-08-14 | input_stream, main: remove obsolete GLib version checks | Max Kellermann | 1 | -2/+0 | |
MPD requires GLib 2.16. | |||||
2012-08-08 | tag_pool: use GStaticMutex | Max Kellermann | 1 | -3/+0 | |
Eliminates explicit global initialisation. | |||||
2012-08-08 | conf: add a "database" block | Max Kellermann | 1 | -6/+18 | |
The new block overrides the "db_file" setting, and allows configuring any database plugin. | |||||
2012-08-08 | DatabaseGlue: pass block to db_init() | Max Kellermann | 1 | -1/+6 | |
Let the caller take care for legacy conversion. | |||||
2012-08-08 | main: don't call db_init() without database | Max Kellermann | 1 | -1/+0 | |
Useless call. | |||||
2012-08-07 | dbUtils.h: move to DatabaseQueue.hxx, DatabasePlaylist.hxx | Max Kellermann | 1 | -1/+0 | |
2012-03-26 | Fix processing of sticker database path | Dan McGee | 1 | -2/+1 | |
After a previous refactor, the current code fails on paths that need expansion (e.g, '~/.mpd/sticker.db'), because we are not passing the correct path to the sticker database code. Pass the expanded (and previously unused) string instead of the original string. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2012-02-15 | main: handle negative strtol return value | Jonathan Neuschäfer | 1 | -2/+3 | |
size_t is unsigned most of the time, so we can't really use it to check for negative values. Also handle strtol overflow. | |||||
2012-01-21 | db_lock: new unified lock for songvec and dirvec | Max Kellermann | 1 | -6/+0 | |
2011-10-10 | audio: rename audio.[ch] to audio_config.[ch] | Max Kellermann | 1 | -1/+1 | |
2011-10-08 | pcm_resample: one-time global initialization | Max Kellermann | 1 | -0/+8 | |
Load the samplerate_converter on MPD startup. Fail if the converter name is invalid. | |||||
2011-09-10 | db_plugin: introducing a plugin API for the song database | Max Kellermann | 1 | -22/+9 | |
First draft, not really pluggable currently - hard-coded to use the "simple" plugin, and calls several of its internal functions. The API is very simple currently, all searches are still performed over the root "directory" object. Future changes to the API will move those search implementations into the plugin, to allow more efficient implementations, or implementations that don't have the whole tree in memory all the time. | |||||
2011-09-09 | database: return GError on failure | Max Kellermann | 1 | -2/+3 | |
2011-09-09 | conf: turn config_get_path() into config_dup_path() | Max Kellermann | 1 | -23/+78 | |
config_get_path() was somewhat flawed, because it pretended to be a function, when it really had a side effect. The second flaw was that it did not return the parser error, instead it aborted the whole process, which is bad style. The new function returns a duplicated (modified) string that must be freed by the caller, and returns a GError on failure. | |||||
2011-09-09 | log: return GError on initialization failure | Max Kellermann | 1 | -1/+6 | |
2011-08-24 | io_thread: new thread for non-blocking background I/O | Max Kellermann | 1 | -0/+9 | |
Try to eliminate the remaining blocking I/O. | |||||
2011-01-29 | client_idle: add header client_idle.h | Max Kellermann | 1 | -0/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 1 | -8/+11 | |
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-09-25 | eliminate g_error() usage | Thomas Jansen | 1 | -12/+13 | |
Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007. | |||||
2010-09-23 | main: Add Windows Service support | Denis Krjuchkov | 1 | -1/+27 | |
I've added PIPE_EVENT_SHUTDOWN because calling g_main_loop_quit() do not work when called from another thread. Main thread was sleeping in g_poll() so I needed some way to wake it up. By some strange reason call close(event_pipe[0]) in event_pipe_deinit() hangs. In current implementation that code never reached so that was not a problem :-) I've added a conditional to leave event_pipe[0] open on Win32. | |||||
2010-04-13 | inotify: added setting "auto_update_depth" | Max Kellermann | 1 | -1/+2 | |
Limits the depth of the watched directories. This is useful to keep resource usage down and speed up MPD startup. | |||||
2010-01-04 | replay_gain: moved code to replay_gain_config.c | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-25 | output_init: use the normalize filter plugin | Max Kellermann | 1 | -3/+0 | |
Use the plugin instead of the glue code in normalize.c. This is used wrapped inside a "autoconv" filter, to enable normalization for all input file formats. | |||||
2009-12-14 | input_plugin: method init() returns errors with GError | Max Kellermann | 1 | -1/+7 | |
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it. | |||||
2009-12-14 | input_stream: moved input_stream_global_init() to input_init.c | Max Kellermann | 1 | -1/+1 | |