Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Database*: move to db/ | Max Kellermann | 2014-01-24 | 1 | -782/+0 |
| | |||||
* | Config*: move to config/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 |
| | |||||
* | db/proxy: fix for libmpdclient < 2.9 | Max Kellermann | 2014-01-22 | 1 | -0/+4 |
| | |||||
* | db/proxy: copy "Last-Modified" from remote directories | Max Kellermann | 2014-01-22 | 1 | -1/+2 |
| | |||||
* | LightDirectory: new struct replacing Directory in the DB API | Max Kellermann | 2014-01-22 | 1 | -15/+12 |
| | |||||
* | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 2014-01-19 | 1 | -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 Kellermann | 2014-01-19 | 1 | -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 Song | Max Kellermann | 2014-01-19 | 1 | -1/+1 |
| | | | | | Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%. | ||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | db/proxy: forward "idle" events | Max Kellermann | 2014-01-11 | 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. | ||||
* | DatabasePlugin: add interface DatabaseListener | Max Kellermann | 2014-01-11 | 1 | -2/+5 |
| | | | | Allow database plugins to announce that they have been modified. | ||||
* | db/proxy: move code to Disconnect() | Max Kellermann | 2014-01-11 | 1 | -6/+15 |
| | |||||
* | Directory: remove method Free() | Max Kellermann | 2014-01-09 | 1 | -1/+1 |
| | |||||
* | db/proxy: allocate Directory instance on the stack | Max Kellermann | 2014-01-09 | 1 | -7/+3 |
| | |||||
* | DetachedSong: fork of struct Song | Max Kellermann | 2014-01-09 | 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. | ||||
* | tag/TagBuilder: rename Commit() to CommitNew() | Max Kellermann | 2014-01-08 | 1 | -1/+1 |
| | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -1/+0 |
| | |||||
* | db/proxy: implement method GetUpdateStamp() | Max Kellermann | 2013-11-22 | 1 | -2/+7 |
| | |||||
* | DatabasePlugin: add method GetUpdateStamp() | Max Kellermann | 2013-11-22 | 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. | ||||
* | *: update copyright year to 2013 | Max Kellermann | 2013-10-30 | 1 | -1/+1 |
| | |||||
* | db/proxy: remove obsolete #undefs | Max Kellermann | 2013-10-30 | 1 | -2/+0 |
| | |||||
* | db/proxy: auto-reconnect | Max Kellermann | 2013-10-30 | 1 | -14/+64 |
| | |||||
* | db/proxy: return server errors using "enum ack" | Max Kellermann | 2013-10-30 | 1 | -2/+13 |
| | |||||
* | db/proxy: pass search/find to remote MPD | Max Kellermann | 2013-10-30 | 1 | -1/+38 |
| | |||||
* | db/proxy: pass SongFilter to the remote MPD in VisitUniqueTags() | Max Kellermann | 2013-10-30 | 1 | -2/+72 |
| | |||||
* | db/proxy: add missing nullptr check | Max Kellermann | 2013-10-30 | 1 | -1/+2 |
| | |||||
* | db/proxy: enable song matching | Jean-Francois Dockes | 2013-10-29 | 1 | -9/+23 |
| | |||||
* | DatabaseSelection: use std::string | Max Kellermann | 2013-10-29 | 1 | -1/+1 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 1 | -5/+5 |
| | |||||
* | TagType: rename enum tag_type to TagType | Max Kellermann | 2013-10-20 | 1 | -5/+5 |
| | |||||
* | gcc.h: rename to Compiler.h | Max Kellermann | 2013-10-15 | 1 | -1/+1 |
| | |||||
* | db/proxy: use class TagBuilder | Max Kellermann | 2013-09-05 | 1 | -8/+6 |
| | |||||
* | Tag, ...: move to libtag.a | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | conf.h: remove obsolete header | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies. | ||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -56/+50 |
| | | | | Replaces GLib's GError. | ||||
* | db_error: convert to C++ | Max Kellermann | 2013-08-10 | 1 | -4/+1 |
| | |||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 1 | -2/+2 |
| | |||||
* | DatabasePlugin: pass config_param reference | Max Kellermann | 2013-08-04 | 1 | -6/+6 |
| | |||||
* | tag: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -7/+7 |
| | |||||
* | tag: move enum tag_type to TagType.h | Max Kellermann | 2013-07-30 | 1 | -0/+1 |
| | |||||
* | song: convert header to C++ | Max Kellermann | 2013-07-28 | 1 | -15/+15 |
| | |||||
* | db/Proxy: explicitly request first element of array | Max Kellermann | 2013-01-28 | 1 | -2/+2 |
| | | | | Works around gcc 4.6 bug. | ||||
* | decoder_api.h, ...: add "extern C" | Max Kellermann | 2013-01-07 | 1 | -2/+1 |
| | |||||
* | Directory: rename struct directory to Directory | Max Kellermann | 2013-01-03 | 1 | -4/+3 |
| | |||||
* | Directory: turn functions to methods | Max Kellermann | 2013-01-02 | 1 | -4/+4 |
| | |||||
* | Directory: make the header C++ only | Max Kellermann | 2013-01-02 | 1 | -2/+1 |
| | |||||
* | PlaylistInfo: rename class, use std::string | Max Kellermann | 2013-01-02 | 1 | -7/+3 |
| | |||||
* | playlist_vector: convert to C++ | Max Kellermann | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | ProxyDatabase: implement GetSong() | Max Kellermann | 2012-08-16 | 1 | -3/+26 |
| | |||||
* | ProxyDatabase: clear libmpdclient errors in CheckError() | Max Kellermann | 2012-08-16 | 1 | -1/+2 |
| | | | | Auto-recover from soft errors. |