aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/ProxyDatabasePlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-11db/proxy: forward "idle" eventsMax Kellermann1-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.
2014-01-11DatabasePlugin: add interface DatabaseListenerMax Kellermann1-2/+5
Allow database plugins to announce that they have been modified.
2014-01-11db/proxy: move code to Disconnect()Max Kellermann1-6/+15
2014-01-09Directory: remove method Free()Max Kellermann1-1/+1
2014-01-09db/proxy: allocate Directory instance on the stackMax Kellermann1-7/+3
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-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.
2014-01-08tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-22db/proxy: implement method GetUpdateStamp()Max Kellermann1-2/+7
2013-11-22DatabasePlugin: add method GetUpdateStamp()Max Kellermann1-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.
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-30db/proxy: remove obsolete #undefsMax Kellermann1-2/+0
2013-10-30db/proxy: auto-reconnectMax Kellermann1-14/+64
2013-10-30db/proxy: return server errors using "enum ack"Max Kellermann1-2/+13
2013-10-30db/proxy: pass search/find to remote MPDMax Kellermann1-1/+38
2013-10-30db/proxy: pass SongFilter to the remote MPD in VisitUniqueTags()Max Kellermann1-2/+72
2013-10-30db/proxy: add missing nullptr checkMax Kellermann1-1/+2
2013-10-29db/proxy: enable song matchingJean-Francois Dockes1-9/+23
2013-10-29DatabaseSelection: use std::stringMax Kellermann1-1/+1
2013-10-28*: use nullptr instead of NULLMax Kellermann1-5/+5
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann1-5/+5
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-09-05db/proxy: use class TagBuilderMax Kellermann1-8/+6
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+1
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann1-56/+50
Replaces GLib's GError.
2013-08-10db_error: convert to C++Max Kellermann1-4/+1
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-2/+2
2013-08-04DatabasePlugin: pass config_param referenceMax Kellermann1-6/+6
2013-07-30tag: convert to C++Max Kellermann1-7/+7
2013-07-30tag: move enum tag_type to TagType.hMax Kellermann1-0/+1
2013-07-28song: convert header to C++Max Kellermann1-15/+15
2013-01-28db/Proxy: explicitly request first element of arrayMax Kellermann1-2/+2
Works around gcc 4.6 bug.
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-2/+1
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-4/+3
2013-01-02Directory: turn functions to methodsMax Kellermann1-4/+4
2013-01-02Directory: make the header C++ onlyMax Kellermann1-2/+1
2013-01-02PlaylistInfo: rename class, use std::stringMax Kellermann1-7/+3
2013-01-02playlist_vector: convert to C++Max Kellermann1-1/+1
2012-08-16ProxyDatabase: implement GetSong()Max Kellermann1-3/+26
2012-08-16ProxyDatabase: clear libmpdclient errors in CheckError()Max Kellermann1-1/+2
Auto-recover from soft errors.
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann1-0/+12
Allow the plugin to allocate the GetSong() return value.
2012-08-15ProxyDatabase: pass "detached" objects to visitorsMax Kellermann1-39/+34
Fixes wrong object URIs with duplicate base names.
2012-08-15DatabasePlugin: add method GetStats()Max Kellermann1-0/+25
Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
2012-08-15DatabasePlugin: add method VisitUniqueTags()Max Kellermann1-0/+52
Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
2012-08-15ProxyDatabase: obey visitor return valuesMax Kellermann1-8/+11
2012-08-15ProxyDatabasePlugin: add OO wrapper for mpd_entityMax Kellermann1-11/+32
Let the C++ compiler take care for freeing the objects safely.
2012-08-15ProxyDatabasePlugin: move tag table to the global name spaceMax Kellermann1-25/+25
2012-08-15db_visitor: delete obsolete headerMax Kellermann1-3/+0