aboutsummaryrefslogtreecommitdiffstats
path: root/src/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* conf.h: remove obsolete headerMax Kellermann2013-09-052-2/+2
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* util/Error: new error passing libraryMax Kellermann2013-09-043-136/+113
| | | | Replaces GLib's GError.
* db_error: convert to C++Max Kellermann2013-08-102-5/+2
|
* ConfigPath: return a Path objectMax Kellermann2013-08-071-12/+3
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-042-4/+4
|
* DatabasePlugin: pass config_param referenceMax Kellermann2013-08-043-11/+11
|
* 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-283-21/+21
|
* SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov2013-02-022-25/+24
|
* db/Proxy: explicitly request first element of arrayMax Kellermann2013-01-281-2/+2
| | | | Works around gcc 4.6 bug.
* Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov2013-01-281-0/+6
| | | | required
* Path: move to fs subdirectoryDenis Krjuchkov2013-01-221-1/+1
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-182-4/+8
|
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-072-5/+1
|
* TextFile: convert to a classMax Kellermann2013-01-031-7/+4
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-033-12/+11
|
* Directory: turn functions to methodsMax Kellermann2013-01-022-16/+14
|
* Directory: make the header C++ onlyMax Kellermann2013-01-022-4/+2
|
* PlaylistInfo: rename class, use std::stringMax Kellermann2013-01-021-7/+3
|
* db_lock: convert to C++Max Kellermann2013-01-021-2/+2
|
* don't include stdbool.h in C++ sourcesMax Kellermann2013-01-021-1/+0
| | | | The "bool" type is built-in.
* playlist_vector: convert to C++Max Kellermann2013-01-021-1/+1
|
* db_save, state_file: convert to C++Max Kellermann2013-01-021-1/+1
|
* db/SimpleDatabasePlugin: fix memory leak in Visit()Max Kellermann2012-09-051-7/+11
| | | | | | | When visiting a song, GetSong() was called, but this object was never returned by calling ReturnSong(). This patch locks the database only once in Visit() and passes the original song object to the visitor, avoiding the copy.
* db_lock: add C++ helper class ScopeDatabaseLockMax Kellermann2012-09-051-11/+6
|
* SongFilter: convert to a C++ classMax Kellermann2012-08-291-1/+1
|
* DatabaseSelection: add method Match()Max Kellermann2012-08-291-2/+1
|
* locate: rename to SongFilter.cxxMax Kellermann2012-08-291-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-163-0/+38
| | | | 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-153-0/+37
| | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
* DatabasePlugin: add method VisitUniqueTags()Max Kellermann2012-08-153-0/+68
| | | | | 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-152-4/+0
|
* ProxyDatabasePlugin: obey the "recursive" flagMax Kellermann2012-08-081-2/+3
|
* ProxyDatabasePlugin: use an artificial "root" directoryMax Kellermann2012-08-081-2/+9
| | | | Fixes assertion failures in the Directory library.
* ProxyDatabasePlugin: new database plugin using libmpdclientMax Kellermann2012-08-082-0/+372
| | | | | Implementation incomplete, but sort-of-works. DumpDatabase works, but MPD is still hard-coded on the "simple" plugin.
* DatabaseSelection: add "match" attributeMax Kellermann2012-08-081-2/+5
| | | | Let the database plugin do the match.
* db_selection: rename to DatabaseSelectionMax Kellermann2012-08-072-3/+3
|
* Database{Plugin,Visitor}: pass referencesMax Kellermann2012-08-072-8/+8
|
* DatabasePlugin: make Visit() constMax Kellermann2012-08-022-4/+4
|
* gcc.h: re-add gcc_const and gcc_pureMax Kellermann2012-08-021-5/+4
| | | | Remove GLib dependency from some headers.
* db_plugin: convert to C++Max Kellermann2012-08-013-184/+184
|
* require GLib 2.16Max Kellermann2012-07-101-1/+0
| | | | | GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
* directory: require the caller to lock the db_mutexMax Kellermann2012-02-021-2/+11
| | | | | Reduce the number of lock/unlock cycles, and make database handling safer.