aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/ProxyDatabasePlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db/proxy: forward "idle" eventsMax Kellermann2014-01-111-4/+115
| | | | | Send "idle" to the other MPD whenever there's nothing else to do and forward incoming "idle database" events to all our MPD clients.
* DatabasePlugin: add interface DatabaseListenerMax Kellermann2014-01-111-2/+5
| | | | Allow database plugins to announce that they have been modified.
* db/proxy: move code to Disconnect()Max Kellermann2014-01-111-6/+15
|
* Directory: remove method Free()Max Kellermann2014-01-091-1/+1
|
* db/proxy: allocate Directory instance on the stackMax Kellermann2014-01-091-7/+3
|
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-13/+12
| | | | | | 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.
* tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann2014-01-081-1/+1
|
* include cleanup using iwyuMax Kellermann2013-11-281-1/+0
|
* db/proxy: implement method GetUpdateStamp()Max Kellermann2013-11-221-2/+7
|
* DatabasePlugin: add method GetUpdateStamp()Max Kellermann2013-11-221-0/+5
| | | | | | Refactor SimpleDatabase::GetLastModified() to be generic for all plugins. Remove the SimpleDatabase assumption from db_stats_print(), allowing it to be implemented by all database plugins.
* *: update copyright year to 2013Max Kellermann2013-10-301-1/+1
|
* db/proxy: remove obsolete #undefsMax Kellermann2013-10-301-2/+0
|
* db/proxy: auto-reconnectMax Kellermann2013-10-301-14/+64
|
* db/proxy: return server errors using "enum ack"Max Kellermann2013-10-301-2/+13
|
* db/proxy: pass search/find to remote MPDMax Kellermann2013-10-301-1/+38
|
* db/proxy: pass SongFilter to the remote MPD in VisitUniqueTags()Max Kellermann2013-10-301-2/+72
|
* db/proxy: add missing nullptr checkMax Kellermann2013-10-301-1/+2
|
* db/proxy: enable song matchingJean-Francois Dockes2013-10-291-9/+23
|
* DatabaseSelection: use std::stringMax Kellermann2013-10-291-1/+1
|
* *: use nullptr instead of NULLMax Kellermann2013-10-281-5/+5
|
* TagType: rename enum tag_type to TagTypeMax Kellermann2013-10-201-5/+5
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* db/proxy: use class TagBuilderMax Kellermann2013-09-051-8/+6
|
* Tag, ...: move to libtag.aMax Kellermann2013-09-051-1/+1
|
* conf.h: remove obsolete headerMax Kellermann2013-09-051-1/+1
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* util/Error: new error passing libraryMax Kellermann2013-09-041-56/+50
| | | | Replaces GLib's GError.
* db_error: convert to C++Max Kellermann2013-08-101-4/+1
|
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-041-2/+2
|
* DatabasePlugin: pass config_param referenceMax Kellermann2013-08-041-6/+6
|
* tag: convert to C++Max Kellermann2013-07-301-7/+7
|
* tag: move enum tag_type to TagType.hMax Kellermann2013-07-301-0/+1
|
* song: convert header to C++Max Kellermann2013-07-281-15/+15
|
* db/Proxy: explicitly request first element of arrayMax Kellermann2013-01-281-2/+2
| | | | Works around gcc 4.6 bug.
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-071-2/+1
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-031-4/+3
|
* Directory: turn functions to methodsMax Kellermann2013-01-021-4/+4
|
* Directory: make the header C++ onlyMax Kellermann2013-01-021-2/+1
|
* PlaylistInfo: rename class, use std::stringMax Kellermann2013-01-021-7/+3
|
* playlist_vector: convert to C++Max Kellermann2013-01-021-1/+1
|
* ProxyDatabase: implement GetSong()Max Kellermann2012-08-161-3/+26
|
* ProxyDatabase: clear libmpdclient errors in CheckError()Max Kellermann2012-08-161-1/+2
| | | | Auto-recover from soft errors.
* DatabasePlugin: add method ReturnSong()Max Kellermann2012-08-161-0/+12
| | | | Allow the plugin to allocate the GetSong() return value.
* ProxyDatabase: pass "detached" objects to visitorsMax Kellermann2012-08-151-39/+34
| | | | Fixes wrong object URIs with duplicate base names.
* DatabasePlugin: add method GetStats()Max Kellermann2012-08-151-0/+25
| | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
* DatabasePlugin: add method VisitUniqueTags()Max Kellermann2012-08-151-0/+52
| | | | | Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
* ProxyDatabase: obey visitor return valuesMax Kellermann2012-08-151-8/+11
|
* ProxyDatabasePlugin: add OO wrapper for mpd_entityMax Kellermann2012-08-151-11/+32
| | | | Let the C++ compiler take care for freeing the objects safely.
* ProxyDatabasePlugin: move tag table to the global name spaceMax Kellermann2012-08-151-25/+25
|
* db_visitor: delete obsolete headerMax Kellermann2012-08-151-3/+0
|
* ProxyDatabasePlugin: obey the "recursive" flagMax Kellermann2012-08-081-2/+3
|