aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/ProxyDatabasePlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db/proxy: fix for libmpdclient < 2.9Max Kellermann2014-01-221-0/+4
|
* db/proxy: copy "Last-Modified" from remote directoriesMax Kellermann2014-01-221-1/+2
|
* LightDirectory: new struct replacing Directory in the DB APIMax Kellermann2014-01-221-15/+12
|
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-60/+69
| | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* db/proxy: simplify error handling in GetSong()Max Kellermann2014-01-191-11/+9
| | | | | Check mpd_response_finish() before using mpd_song. Don't skip this check even if the mpd_song is non-nullptr.
* Song: embed the Tag object statically into class SongMax Kellermann2014-01-191-1/+1
| | | | | Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* 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.