Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-08-28 | db/LightSong: use std::chrono::duration for start_ms and end_ms | Max Kellermann | 1 | -3/+3 | |
2014-07-29 | db/proxy: implement Update() | Max Kellermann | 1 | -0/+19 | |
2014-06-23 | db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3 | Max Kellermann | 1 | -0/+5 | |
2014-06-21 | db/proxy: initialize LightSong::real_uri | Max Kellermann | 1 | -0/+1 | |
Fixes potential crash. | |||||
2014-04-24 | DatabaseCommands: "list" allows grouping | Max Kellermann | 1 | -4/+9 | |
2014-03-06 | db/proxy: check connect error before initializing SocketMonitor | Max Kellermann | 1 | -7/+7 | |
Fixes crash bug because mpd_connection_get_async() was called without a connection. | |||||
2014-02-19 | DatabasePlugin: add FLAG_REQUIRE_STORAGE | Max Kellermann | 1 | -1/+1 | |
Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin. | |||||
2014-02-19 | DatabasePlugin: add attribute "flags" | Max Kellermann | 1 | -0/+1 | |
2014-02-19 | db/Interface: add attribute "plugin" | Max Kellermann | 1 | -1/+2 | |
The new method IsPlugin() replaces the "is_simple" flag. | |||||
2014-02-19 | DatabasePlugin: split header | Max Kellermann | 1 | -0/+2 | |
2014-02-04 | db/proxy: include cleanup | Max Kellermann | 1 | -1/+0 | |
2014-01-27 | Playlist{Info,Vector}: move to db/ | Max Kellermann | 1 | -1/+1 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -6/+6 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -1/+1 | |
2014-01-22 | db/proxy: fix for libmpdclient < 2.9 | Max Kellermann | 1 | -0/+4 | |
2014-01-22 | db/proxy: copy "Last-Modified" from remote directories | Max Kellermann | 1 | -1/+2 | |
2014-01-22 | LightDirectory: new struct replacing Directory in the DB API | Max Kellermann | 1 | -15/+12 | |
2014-01-19 | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 1 | -60/+69 | |
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. | |||||
2014-01-19 | db/proxy: simplify error handling in GetSong() | Max Kellermann | 1 | -11/+9 | |
Check mpd_response_finish() before using mpd_song. Don't skip this check even if the mpd_song is non-nullptr. | |||||
2014-01-19 | Song: embed the Tag object statically into class Song | Max Kellermann | 1 | -1/+1 | |
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-11 | db/proxy: forward "idle" events | Max Kellermann | 1 | -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-11 | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 1 | -2/+5 | |
Allow database plugins to announce that they have been modified. | |||||
2014-01-11 | db/proxy: move code to Disconnect() | Max Kellermann | 1 | -6/+15 | |
2014-01-09 | Directory: remove method Free() | Max Kellermann | 1 | -1/+1 | |
2014-01-09 | db/proxy: allocate Directory instance on the stack | Max Kellermann | 1 | -7/+3 | |
2014-01-09 | DetachedSong: fork of struct Song | Max Kellermann | 1 | -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-08 | tag/TagBuilder: rename Commit() to CommitNew() | Max Kellermann | 1 | -1/+1 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -1/+0 | |
2013-11-22 | db/proxy: implement method GetUpdateStamp() | Max Kellermann | 1 | -2/+7 | |
2013-11-22 | DatabasePlugin: add method GetUpdateStamp() | Max Kellermann | 1 | -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 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-30 | db/proxy: remove obsolete #undefs | Max Kellermann | 1 | -2/+0 | |
2013-10-30 | db/proxy: auto-reconnect | Max Kellermann | 1 | -14/+64 | |
2013-10-30 | db/proxy: return server errors using "enum ack" | Max Kellermann | 1 | -2/+13 | |
2013-10-30 | db/proxy: pass search/find to remote MPD | Max Kellermann | 1 | -1/+38 | |
2013-10-30 | db/proxy: pass SongFilter to the remote MPD in VisitUniqueTags() | Max Kellermann | 1 | -2/+72 | |
2013-10-30 | db/proxy: add missing nullptr check | Max Kellermann | 1 | -1/+2 | |
2013-10-29 | db/proxy: enable song matching | Jean-Francois Dockes | 1 | -9/+23 | |
2013-10-29 | DatabaseSelection: use std::string | Max Kellermann | 1 | -1/+1 | |
2013-10-28 | *: use nullptr instead of NULL | Max Kellermann | 1 | -5/+5 | |
2013-10-20 | TagType: rename enum tag_type to TagType | Max Kellermann | 1 | -5/+5 | |
2013-10-15 | gcc.h: rename to Compiler.h | Max Kellermann | 1 | -1/+1 | |
2013-09-05 | db/proxy: use class TagBuilder | Max Kellermann | 1 | -8/+6 | |
2013-09-05 | Tag, ...: move to libtag.a | Max Kellermann | 1 | -1/+1 | |
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+1 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -56/+50 | |
Replaces GLib's GError. | |||||
2013-08-10 | db_error: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -2/+2 | |
2013-08-04 | DatabasePlugin: pass config_param reference | Max Kellermann | 1 | -6/+6 | |