Commit Graph

40 Commits

Author SHA1 Message Date
b3f5b4932c configure.ac: add macro MPD_ENABLE_AUTO_PKG
Simplify the definition of many build options.
2014-11-21 22:19:57 +01:00
6cf1acfb48 test/DumpDatabase, ...: no g_thread_init() calls when GLib is disabled 2014-10-24 18:30:30 +02:00
ae594ad92c DatabasePlugin: split header 2014-02-19 22:54:52 +01:00
ff665b37cb db/DatabaseListener: add method OnDatabaseSongRemoved()
Decouples db/update/Remove.cpp from global variables.
2014-02-04 19:53:37 +01:00
f548a966f5 Playlist{Info,Vector}: move to db/ 2014-01-27 11:05:21 +01:00
9d34fc394c Database*: move to db/ 2014-01-24 16:38:44 +01:00
f8bfea8bae Input*: move to input/ 2014-01-24 16:33:33 +01:00
197b503f3e Config*: move to config/ 2014-01-24 00:20:01 +01:00
a42f9e4ee3 LightDirectory: new struct replacing Directory in the DB API 2014-01-22 23:01:32 +01:00
f5ae1ce00b LightSong: new class to be used by DatabasePlugin callbacks
Detach the Song class completely from the public API, only to be used
by SimpleDatabase and the update thread.
2014-01-19 17:04:51 +01:00
4f83c60296 copyright year 2014 2014-01-13 22:31:55 +01:00
114df1f137 DatabasePlugin: add interface DatabaseListener
Allow database plugins to announce that they have been modified.
2014-01-11 01:01:54 +01:00
406452f019 UPnP database plugin
[mk: renamed source files, applied coding style, reduced bloat, using
MPD's threading library, using MPD's error reporting and logging
library and refactoring, fixed lots of bugs]
2014-01-09 20:56:00 +01:00
322b061632 DetachedSong: fork of struct Song
From now on, struct Song will be used by the database only, and
DetachedSong will be used by everybody else.  DetachedSong is easier
to use, but Song has lower overhead.
2014-01-09 09:05:58 +01:00
43847f2244 test/DumpDatabase: fix nullptr dereference 2014-01-09 09:05:58 +01:00
8064bbbc3f test/*: remove GLib logging setup
Obsolete, our logging library doesn't ues GLib anymore.
2013-12-24 14:13:03 +01:00
7de96275dd ConfigData: use std::string for config_param::value 2013-10-15 22:49:01 +02:00
c2d3ed2acc Listen, ...: add missing includes 2013-10-02 08:56:27 +02:00
5d5f21bfc5 Tag: compile-time initialisation of ignore_tag_items
Move to TagSettings.c and use C99 initializers.
2013-09-05 18:34:12 +02:00
2b676dc5fc Tag: move configuration code to TagConfig.cxx
Allow using the Tag.cxx library without the Config library.
2013-09-05 18:27:08 +02:00
3f267b1795 Tag, ...: move to libtag.a 2013-09-05 18:26:56 +02:00
26d92c80ed conf.h: remove obsolete header
Use only ConfigData.hxx in plugin sources to reduce header
dependencies.
2013-09-05 08:47:10 +02:00
29030b54c9 util/Error: new error passing library
Replaces GLib's GError.
2013-09-04 18:14:22 +02:00
85b77b81ca *: use gcc.h macros instead of GLib 2013-08-04 23:48:01 +02:00
65842cd99e DatabasePlugin: pass config_param reference 2013-08-04 14:07:50 +02:00
06f898cc12 tag: convert to C++ 2013-07-30 20:19:53 +02:00
ba161ec572 song: convert header to C++ 2013-07-28 13:25:12 +02:00
4a800b311f don't use g_thread_init() with GLib 2.32
Deprecated.
2013-04-17 01:54:14 +02:00
6e47e79790 ConfigData: move functions into the class 2013-01-30 22:25:17 +01:00
d9ea3082fb ConfigData: add constructors/destructors 2013-01-30 22:20:14 +01:00
feb8d5b82f ConfigFile, CommandLine: use the Path class 2013-01-29 18:09:39 +01:00
975370c084 decoder_api.h, ...: add "extern C" 2013-01-07 10:07:40 +01:00
3e8047e583 Directory: rename struct directory to Directory 2013-01-03 01:10:47 +01:00
0c245bc271 Directory: make the header C++ only 2013-01-02 22:52:08 +01:00
8331de424a PlaylistInfo: rename class, use std::string 2013-01-02 22:16:05 +01:00
0023dffd0b playlist_vector: convert to C++ 2013-01-02 20:25:20 +01:00
c1f90a99f4 tag_pool: use GStaticMutex
Eliminates explicit global initialisation.
2012-08-08 21:01:25 +02:00
ff58207034 db_selection: rename to DatabaseSelection 2012-08-07 23:12:26 +02:00
1a75abffa5 Database{Plugin,Visitor}: pass references 2012-08-07 21:32:08 +02:00
c6a0f5d3f9 test/DumpDatabase: new debug program 2012-08-07 20:21:10 +02:00