Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | configure.ac: require GLib 2.32 (if enabled) | Max Kellermann | 2014-12-05 | 1 | -5/+0 |
| | | | | | | Since version 2.32, g_thread_init() is deprecated and a no-op. Let's upgrade that (optional) dependency so we can remove all those g_thread_init() calls. | ||||
* | fs/Charset: add DeinitFSCharset() | Max Kellermann | 2014-11-29 | 1 | -0/+2 |
| | |||||
* | fs/Charset: return Error on SetFSCharset() failure | Max Kellermann | 2014-11-29 | 1 | -1/+4 |
| | | | | Don't abort the process, let the caller decide instead. | ||||
* | configure.ac: add option "--disable-daemon" | Max Kellermann | 2014-11-20 | 1 | -6/+17 |
| | |||||
* | Main: fix compilation on OS X using non-Apple compilers | Misty De Meo | 2014-11-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Commit d42c0f1dc5063d50a62817b63a1c2a4507c46071 added an OS X-specific method of calling mpd_main_after_fork(), which uses Grand Central Dispatch. Since this uses a block literal, it breaks compilation on compilers which don't support the block extension, e.g. non-Apple compilers. This affects users on older OS X releases with GCD (which depend on older Clang releases, or Apple GCCs, which don't support the C++11 features MPD needs); or which don't support GCD at all (10.5 and lower). This patch changes the #ifdef so that the non-GCD code is used as it was on OS X before this patch if blocks aren't available, via checking __BLOCKS__ macro. | ||||
* | Main: run the OS X native event loop after forking | NanoTech | 2014-10-31 | 1 | -0/+27 |
| | |||||
* | Revert "Main: run the OS X native event loop" | NanoTech | 2014-10-31 | 1 | -2/+0 |
| | | | | | | | | This reverts commit f0be48ff90503d9ffa5b295fd4454eec753950ee (except for the NEWS entry). If libdispatch (GCD) is used before forking, it can't safely be used again after forking. | ||||
* | Main: run the OS X native event loop | nanotech | 2014-10-10 | 1 | -0/+2 |
| | |||||
* | StoragePlugin: pass EventLoop to constructor | Max Kellermann | 2014-10-09 | 1 | -1/+1 |
| | |||||
* | android/Bridge: add shutdown() | Thomas Guillem | 2014-09-16 | 1 | -0/+9 |
| | | | | Break the mainloop and terminate run call. | ||||
* | StateFile: configurable interval | Max Kellermann | 2014-08-24 | 1 | -1/+4 |
| | |||||
* | PlayerThread: rename player_create() to StartPlayerThread() | Max Kellermann | 2014-08-16 | 1 | -1/+1 |
| | |||||
* | Main: don't require mpd.conf on Android | Max Kellermann | 2014-07-30 | 1 | -1/+3 |
| | | | | | Don't fail to start if mpd.conf does not exist; just use default values. | ||||
* | Main: delete the Storage instance on shutdown | Max Kellermann | 2014-06-10 | 1 | -0/+2 |
| | |||||
* | lib/icu: add IcuInit(), IcuFinish() | Max Kellermann | 2014-06-10 | 1 | -3/+3 |
| | |||||
* | Main: auto-configure state file on Android | Max Kellermann | 2014-03-02 | 1 | -2/+15 |
| | |||||
* | Main: use getExternalStorageDirectory() for locating mpd.conf | Max Kellermann | 2014-03-02 | 1 | -2/+11 |
| | |||||
* | db/Configured: store database file in cache directory | Max Kellermann | 2014-03-01 | 1 | -1/+9 |
| | | | | | Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir(). | ||||
* | Main: inline mpd_main() on Android | Max Kellermann | 2014-03-01 | 1 | -0/+3 |
| | |||||
* | Android: obtain music directory from ↵ | Max Kellermann | 2014-03-01 | 1 | -0/+4 |
| | | | | Environment.getExternalStoragePublicDirectory() | ||||
* | java: new helper library for the Android port | Max Kellermann | 2014-03-01 | 1 | -1/+6 |
| | |||||
* | Main: load mpd.conf from /sdcard/ on Android | Max Kellermann | 2014-03-01 | 1 | -0/+3 |
| | | | | Hard-coded path. Will be replaced soon. | ||||
* | db/simple: mount points | Max Kellermann | 2014-02-27 | 1 | -1/+1 |
| | | | | | | | | A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option. | ||||
* | db/update: cancel the update on shutdown | Max Kellermann | 2014-02-27 | 1 | -0/+3 |
| | |||||
* | db/simple: create dedicated directory | Max Kellermann | 2014-02-26 | 1 | -1/+1 |
| | |||||
* | SongSort, ...: use libicu instead of GLib's g_utf8_*() | Max Kellermann | 2014-02-24 | 1 | -0/+8 |
| | |||||
* | Main: use INT_MAX instead of G_MAXUINT | Max Kellermann | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | first Android release | Max Kellermann | 2014-02-22 | 1 | -0/+19 |
| | | | | | Finally, MPD runs on Android. For some small value of "runs". Very much work left, too much to describe. | ||||
* | Main: disable command-line parser and signal handlers on Android | Max Kellermann | 2014-02-22 | 1 | -0/+19 |
| | |||||
* | Main: initialize Partition before Listener | Max Kellermann | 2014-02-20 | 1 | -1/+2 |
| | | | | Fixes nullptr dereference (regression by commit df5f9f4a). | ||||
* | Listen: add Partition reference | Max Kellermann | 2014-02-19 | 1 | -1/+2 |
| | |||||
* | DatabasePlugin: add FLAG_REQUIRE_STORAGE | Max Kellermann | 2014-02-19 | 1 | -9/+17 |
| | | | | | Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin. | ||||
* | db/Interface: add attribute "plugin" | Max Kellermann | 2014-02-19 | 1 | -3/+2 |
| | | | | The new method IsPlugin() replaces the "is_simple" flag. | ||||
* | Mixer: add class MixerListener | Max Kellermann | 2014-02-19 | 1 | -2/+0 |
| | | | | Use a listener interface instead of GlobalEvents. | ||||
* | Main: disable inotify check without database | Max Kellermann | 2014-02-18 | 1 | -5/+6 |
| | | | | Fix build failure. | ||||
* | Main: initialize Database before Storage | Max Kellermann | 2014-02-17 | 1 | -5/+12 |
| | |||||
* | Main: move code to InitDatabaseAndStorage() | Max Kellermann | 2014-02-17 | 1 | -6/+12 |
| | |||||
* | Main: move code to db/Configured.cxx | Max Kellermann | 2014-02-17 | 1 | -39/+11 |
| | |||||
* | Main: check if database exists before attempting to close it | Max Kellermann | 2014-02-17 | 1 | -2/+5 |
| | | | | Fixes nullptr dereference. | ||||
* | db/DatabaseSimple: remove obsolete header | Max Kellermann | 2014-02-17 | 1 | -1/+0 |
| | |||||
* | Main: wrap the Storage instance in CompositeStorage | Max Kellermann | 2014-02-09 | 1 | -2/+11 |
| | |||||
* | Main: move code to storage/Configured.cxx | Max Kellermann | 2014-02-09 | 1 | -29/+3 |
| | |||||
* | Main: support arbitrary storage plugins | Max Kellermann | 2014-02-08 | 1 | -0/+12 |
| | |||||
* | storage/local: remove utf8 path from constructor | Max Kellermann | 2014-02-07 | 1 | -4/+1 |
| | | | | Build the UTF-8 version of the path automatically in the constructor. | ||||
* | Main: move storage initialization to InitStorage() | Max Kellermann | 2014-02-07 | 1 | -20/+27 |
| | |||||
* | Mapper: obtain music directory from Storage | Max Kellermann | 2014-02-07 | 1 | -1/+1 |
| | | | | Eliminate duplicate variable. | ||||
* | Main: check the music directory | Max Kellermann | 2014-02-07 | 1 | -1/+4 |
| | | | | Move call from Mapper.cxx. | ||||
* | Main: chop separators from music directory | Max Kellermann | 2014-02-07 | 1 | -0/+3 |
| | | | | Move call from Mapper.cxx. | ||||
* | Main: create Storage instance in glue_mapper_init() | Max Kellermann | 2014-02-07 | 1 | -5/+12 |
| | | | | Don't use the obsolete Mapper library to create it. | ||||
* | Main: allow playlist directory without music directory | Max Kellermann | 2014-02-07 | 1 | -4/+1 |
| |