Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | pcm_*: move to src/pcm/ | Max Kellermann | 2013-04-09 | 1 | -1/+1 |
| | |||||
* | StateFile: schedule timer only after a change | Max Kellermann | 2013-04-08 | 1 | -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-8 | Denis Krjuchkov | 2013-02-02 | 1 | -3/+4 |
| | |||||
* | ConfigData: move functions into the class | Max Kellermann | 2013-01-30 | 1 | -2/+1 |
| | |||||
* | ConfigData: add constructors/destructors | Max Kellermann | 2013-01-30 | 1 | -3/+2 |
| | |||||
* | audio_{parser,config}: convert to C++ | Max Kellermann | 2013-01-30 | 1 | -1/+1 |
| | |||||
* | ConfigFile: add enum ConfigOption | Max Kellermann | 2013-01-30 | 1 | -6/+5 |
| | | | | | Look up top-level config options by enum (= integer), not by name string. | ||||
* | decoder_list: convert to C++ | Max Kellermann | 2013-01-30 | 1 | -1/+1 |
| | |||||
* | Main: delete the EventLoop after everything else | Max Kellermann | 2013-01-30 | 1 | -2/+1 |
| | | | | | Fixes crash when another object attempts to access the EventLoop during destruction. | ||||
* | ZeroconfBonjour: use SocketMonitor instead of GIOChannel | Max Kellermann | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | zeroconf: convert to C++ | Max Kellermann | 2013-01-27 | 1 | -3/+3 |
| | |||||
* | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 2013-01-28 | 1 | -3/+20 |
| | | | | required |