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