summaryrefslogtreecommitdiff
path: root/src/db
AgeCommit message (Collapse)Author
2013-09-05Tag, ...: move to libtag.aMax Kellermann
2013-09-05conf.h: remove obsolete headerMax Kellermann
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann
Replaces GLib's GError.
2013-08-10db_error: convert to C++Max Kellermann
2013-08-07ConfigPath: return a Path objectMax Kellermann
Migrate all callers to use Path directly, instead of doing the conversion in each caller.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann
2013-08-04DatabasePlugin: pass config_param referenceMax Kellermann
2013-07-30tag: convert to C++Max Kellermann
2013-07-30tag: move enum tag_type to TagType.hMax Kellermann
2013-07-28song: convert header to C++Max Kellermann
2013-02-02SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov
2013-01-28db/Proxy: explicitly request first element of arrayMax Kellermann
Works around gcc 4.6 bug.
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov
required
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann
2013-01-03TextFile: convert to a classMax Kellermann
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann
2013-01-02Directory: turn functions to methodsMax Kellermann
2013-01-02Directory: make the header C++ onlyMax Kellermann
2013-01-02PlaylistInfo: rename class, use std::stringMax Kellermann
2013-01-02db_lock: convert to C++Max Kellermann
2013-01-02don't include stdbool.h in C++ sourcesMax Kellermann
The "bool" type is built-in.
2013-01-02playlist_vector: convert to C++Max Kellermann
2013-01-02db_save, state_file: convert to C++Max Kellermann
2012-09-05db/SimpleDatabasePlugin: fix memory leak in Visit()Max Kellermann
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.
2012-09-05db_lock: add C++ helper class ScopeDatabaseLockMax Kellermann
2012-08-29SongFilter: convert to a C++ classMax Kellermann
2012-08-29DatabaseSelection: add method Match()Max Kellermann
2012-08-29locate: rename to SongFilter.cxxMax Kellermann
2012-08-16ProxyDatabase: implement GetSong()Max Kellermann
2012-08-16ProxyDatabase: clear libmpdclient errors in CheckError()Max Kellermann
Auto-recover from soft errors.
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann
Allow the plugin to allocate the GetSong() return value.
2012-08-15ProxyDatabase: pass "detached" objects to visitorsMax Kellermann
Fixes wrong object URIs with duplicate base names.
2012-08-15DatabasePlugin: add method GetStats()Max Kellermann
Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
2012-08-15DatabasePlugin: add method VisitUniqueTags()Max Kellermann
Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
2012-08-15ProxyDatabase: obey visitor return valuesMax Kellermann
2012-08-15ProxyDatabasePlugin: add OO wrapper for mpd_entityMax Kellermann
Let the C++ compiler take care for freeing the objects safely.
2012-08-15ProxyDatabasePlugin: move tag table to the global name spaceMax Kellermann
2012-08-15db_visitor: delete obsolete headerMax Kellermann
2012-08-08ProxyDatabasePlugin: obey the "recursive" flagMax Kellermann
2012-08-08ProxyDatabasePlugin: use an artificial "root" directoryMax Kellermann
Fixes assertion failures in the Directory library.
2012-08-08ProxyDatabasePlugin: new database plugin using libmpdclientMax Kellermann
Implementation incomplete, but sort-of-works. DumpDatabase works, but MPD is still hard-coded on the "simple" plugin.
2012-08-08DatabaseSelection: add "match" attributeMax Kellermann
Let the database plugin do the match.
2012-08-07db_selection: rename to DatabaseSelectionMax Kellermann
2012-08-07Database{Plugin,Visitor}: pass referencesMax Kellermann
2012-08-02DatabasePlugin: make Visit() constMax Kellermann
2012-08-02gcc.h: re-add gcc_const and gcc_pureMax Kellermann
Remove GLib dependency from some headers.
2012-08-01db_plugin: convert to C++Max Kellermann
2012-07-10require GLib 2.16Max Kellermann
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.