Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Main: glue_mapper_init() returns true if GetUserMusicDir() fails | Max Kellermann | 2014-01-22 | 1 | -1/+1 |
| | | | | Not a fatal error. Fixes assertion failure. | ||||
* | Daemon: fork as early as possible | Max Kellermann | 2014-01-18 | 1 | -1/+2 |
| | | | | | | | Keep the parent process around until MPD has finished initializing. This is important for libraries that are allergic to fork(), such as libupnp. | ||||
* | Main: make variables more local | Max Kellermann | 2014-01-18 | 1 | -13/+9 |
| | |||||
* | Main: eliminate variable "success" | Max Kellermann | 2014-01-18 | 1 | -10/+7 |
| | |||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 2014-01-11 | 1 | -1/+1 |
| | | | | Allow database plugins to announce that they have been modified. | ||||
* | configure.ac: add option "--disable-glib" | Max Kellermann | 2013-12-15 | 1 | -1/+7 |
| | | | | | Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core. | ||||
* | Main: use standard directory API | Denis Krjuchkov | 2013-12-08 | 1 | -7/+4 |
| | |||||
* | PcmConvert: add pcm_convert_global_init() | Max Kellermann | 2013-11-29 | 1 | -2/+2 |
| | | | | | Wrapper for pcm_resample_global_init(), just in case other PCM libraries need initialization, too. | ||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -3/+0 |
| | |||||
* | Main.cxx: initialize winsock before creating IO thread | Denis Krjuchkov | 2013-11-26 | 1 | -1/+1 |
| | | | | Otherwise sockets can't be created during IO thread initialization. | ||||
* | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 2013-11-25 | 1 | -1/+0 |
| | |||||
* | Stats: use monotonic clock instead of GTimer | Max Kellermann | 2013-11-24 | 1 | -1/+0 |
| | | | | Reduce GLib usage. | ||||
* | Log: add level "DEFAULT" | Max Kellermann | 2013-11-04 | 1 | -8/+8 |
| | | | | | | Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure". | ||||
* | increase default buffer size to 4 MB | Max Kellermann | 2013-10-30 | 1 | -1/+1 |
| | | | | | | 2 MB was too small for cross-fading a 24 bit file. Increasing to 4 MB is still not too large for weak machines, but is enough for cross-fading. | ||||
* | Main: check the g_get_user_special_dir() result | Max Kellermann | 2013-10-30 | 1 | -4/+7 |
| | | | | Fixes crash. | ||||
* | Main: convert anonymous enum to constexpr | Max Kellermann | 2013-10-20 | 1 | -4/+2 |
| | |||||
* | *Commands: move to src/command/ | Max Kellermann | 2013-10-20 | 1 | -1/+1 |
| | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -10/+13 |
| | | | | | | | 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. | ||||
* | fs/Path: move configuration code to Config.cxx | Max Kellermann | 2013-10-17 | 1 | -1/+2 |
| | |||||
* | UpdateGlue: never pass null to update_enqueue() | Max Kellermann | 2013-10-17 | 1 | -1/+1 |
| | |||||
* | Main: use ThreadId instead of GThread* | Max Kellermann | 2013-10-17 | 1 | -2/+3 |
| | |||||
* | ConfigData: use std::string for config_param::value | Max Kellermann | 2013-10-15 | 1 | -5/+6 |
| | |||||
* | replay_gain_*.h: rename to *.hxx | Max Kellermann | 2013-10-02 | 1 | -1/+1 |
| | |||||
* | Stats: rename stats.h to Stats.hxx | Max Kellermann | 2013-10-02 | 1 | -4/+1 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -20/+24 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | PlayerThread: use {decoder,player}_control references | Max Kellermann | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | Main: fix crash if no database was configured | Max Kellermann | 2013-09-26 | 1 | -0/+3 |
| | | | | Add nullptr check, and return early from glue_db_init_and_load(). | ||||
* | Main: use nullptr instead of NULL | Max Kellermann | 2013-09-26 | 1 | -11/+11 |
| | |||||
* | Path: add FromUTF8() overload that returns an Error | Max Kellermann | 2013-09-12 | 1 | -2/+6 |
| | |||||
* | Tag: compile-time initialisation of ignore_tag_items | Max Kellermann | 2013-09-05 | 1 | -2/+0 |
| | | | | Move to TagSettings.c and use C99 initializers. | ||||
* | Tag: move configuration code to TagConfig.cxx | Max Kellermann | 2013-09-05 | 1 | -0/+2 |
| | | | | Allow using the Tag.cxx library without the Config library. | ||||
* | Tag, ...: move to libtag.a | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+3 |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | conf.h: move constants to ConfigDefaults.hxx | Max Kellermann | 2013-09-05 | 1 | -0/+1 |
| | |||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -70/+37 |
| | | | | Replaces GLib's GError. | ||||
* | IOThread: use FatalError() on g_thread_create() error | Max Kellermann | 2013-09-03 | 1 | -5/+1 |
| | | | | New GLib versions don't fail. | ||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -30/+16 |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | ||||
* | event/DeferredMonitor: use EventLoop::AddIdle() | Max Kellermann | 2013-08-07 | 1 | -1/+1 |
| | |||||
* | SignalHandlers: move code to new class SignalMonitor | Max Kellermann | 2013-08-07 | 1 | -1/+8 |
| | |||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 1 | -1/+1 |
| | |||||
* | FatalError: new library to replace mpd_error.h | Max Kellermann | 2013-08-07 | 1 | -21/+19 |
| | |||||
* | daemon: convert to C++ | Max Kellermann | 2013-08-07 | 1 | -1/+1 |
| | |||||
* | DatabasePlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 1 | -1/+1 |
| | |||||
* | tag: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -1/+1 |
| | |||||
* | Main: fix crash without state file | Max Kellermann | 2013-07-30 | 1 | -1/+2 |
| | | | | If no state file is configured, don't chek for state changes. | ||||
* | pcm_resample: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -1/+1 |
| | |||||
* | Main: move global variables to struct Instance | Max Kellermann | 2013-04-17 | 1 | -16/+19 |
| | | | | More preparations for multi-player support. | ||||
* | don't use g_thread_init() with GLib 2.32 | Max Kellermann | 2013-04-17 | 1 | -0/+2 |
| | | | | Deprecated. |