aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* DatabasePlugin: add interface DatabaseListenerMax Kellermann2014-01-111-1/+1
| | | | Allow database plugins to announce that they have been modified.
* configure.ac: add option "--disable-glib"Max Kellermann2013-12-151-1/+7
| | | | | Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
* Main: use standard directory APIDenis Krjuchkov2013-12-081-7/+4
|
* PcmConvert: add pcm_convert_global_init()Max Kellermann2013-11-291-2/+2
| | | | | Wrapper for pcm_resample_global_init(), just in case other PCM libraries need initialization, too.
* include cleanup using iwyuMax Kellermann2013-11-281-3/+0
|
* Main.cxx: initialize winsock before creating IO threadDenis Krjuchkov2013-11-261-1/+1
| | | | Otherwise sockets can't be created during IO thread initialization.
* Volume, Output: use new class PeriodClock instead of GTimerMax Kellermann2013-11-251-1/+0
|
* Stats: use monotonic clock instead of GTimerMax Kellermann2013-11-241-1/+0
| | | | Reduce GLib usage.
* Log: add level "DEFAULT"Max Kellermann2013-11-041-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 MBMax Kellermann2013-10-301-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() resultMax Kellermann2013-10-301-4/+7
| | | | Fixes crash.
* Main: convert anonymous enum to constexprMax Kellermann2013-10-201-4/+2
|
* *Commands: move to src/command/Max Kellermann2013-10-201-1/+1
|
* *: use references instead of pointersMax Kellermann2013-10-191-1/+1
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-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.cxxMax Kellermann2013-10-171-1/+2
|
* UpdateGlue: never pass null to update_enqueue()Max Kellermann2013-10-171-1/+1
|
* Main: use ThreadId instead of GThread*Max Kellermann2013-10-171-2/+3
|
* ConfigData: use std::string for config_param::valueMax Kellermann2013-10-151-5/+6
|
* replay_gain_*.h: rename to *.hxxMax Kellermann2013-10-021-1/+1
|
* Stats: rename stats.h to Stats.hxxMax Kellermann2013-10-021-4/+1
|
* Log: new logging library APIMax Kellermann2013-10-021-20/+24
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* PlayerThread: use {decoder,player}_control referencesMax Kellermann2013-09-261-1/+1
|
* Main: fix crash if no database was configuredMax Kellermann2013-09-261-0/+3
| | | | Add nullptr check, and return early from glue_db_init_and_load().
* Main: use nullptr instead of NULLMax Kellermann2013-09-261-11/+11
|
* Path: add FromUTF8() overload that returns an ErrorMax Kellermann2013-09-121-2/+6
|
* Tag: compile-time initialisation of ignore_tag_itemsMax Kellermann2013-09-051-2/+0
| | | | Move to TagSettings.c and use C99 initializers.
* Tag: move configuration code to TagConfig.cxxMax Kellermann2013-09-051-0/+2
| | | | Allow using the Tag.cxx library without the Config library.
* Tag, ...: move to libtag.aMax Kellermann2013-09-051-1/+1
|
* conf.h: remove obsolete headerMax Kellermann2013-09-051-1/+3
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* conf.h: move constants to ConfigDefaults.hxxMax Kellermann2013-09-051-0/+1
|
* util/Error: new error passing libraryMax Kellermann2013-09-041-70/+37
| | | | Replaces GLib's GError.
* IOThread: use FatalError() on g_thread_create() errorMax Kellermann2013-09-031-5/+1
| | | | New GLib versions don't fail.
* ConfigPath: return a Path objectMax Kellermann2013-08-071-30/+16
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* event/DeferredMonitor: use EventLoop::AddIdle()Max Kellermann2013-08-071-1/+1
|
* SignalHandlers: move code to new class SignalMonitorMax Kellermann2013-08-071-1/+8
|
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* FatalError: new library to replace mpd_error.hMax Kellermann2013-08-071-21/+19
|
* daemon: convert to C++Max Kellermann2013-08-071-1/+1
|
* DatabasePlugin: pass config_param referenceMax Kellermann2013-08-041-1/+1
|
* tag: convert to C++Max Kellermann2013-07-301-1/+1
|
* Main: fix crash without state fileMax Kellermann2013-07-301-1/+2
| | | | If no state file is configured, don't chek for state changes.
* pcm_resample: convert to C++Max Kellermann2013-07-301-1/+1
|
* Main: move global variables to struct InstanceMax Kellermann2013-04-171-16/+19
| | | | More preparations for multi-player support.
* don't use g_thread_init() with GLib 2.32Max Kellermann2013-04-171-0/+2
| | | | Deprecated.
* pcm_*: move to src/pcm/Max Kellermann2013-04-091-1/+1
|
* StateFile: schedule timer only after a changeMax Kellermann2013-04-081-0/+3
| | | | | | 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.
* StateFile: use file system API, log in UTF-8Denis Krjuchkov2013-02-021-3/+4
|
* ConfigData: move functions into the classMax Kellermann2013-01-301-2/+1
|