aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/SimpleDatabasePlugin.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* TagType: rename enum tag_type to TagTypeMax Kellermann2013-10-201-1/+1
|
* *: use references instead of pointersMax Kellermann2013-10-191-2/+2
|
* *: use nullptr instead of NULLMax Kellermann2013-10-191-8/+8
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-1/+1
| | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
* Client, ...: remove unnecessary glib.h includeMax Kellermann2013-10-151-2/+0
|
* Log: new logging library APIMax Kellermann2013-10-021-4/+5
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* filesystem/Path: use std::stringMax Kellermann2013-10-021-2/+1
|
* Listen, ...: add missing includesMax Kellermann2013-10-021-0/+2
|
* 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-70/+53
| | | | Replaces GLib's GError.
* db_error: convert to C++Max Kellermann2013-08-101-1/+1
|
* 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-041-2/+2
|
* DatabasePlugin: pass config_param referenceMax Kellermann2013-08-041-3/+3
|
* song: convert header to C++Max Kellermann2013-07-281-4/+4
|
* SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov2013-02-021-25/+23
|
* Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov2013-01-281-0/+6
| | | | required
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-2/+3
|
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-071-3/+0
|
* TextFile: convert to a classMax Kellermann2013-01-031-7/+4
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-031-4/+4
|
* Directory: turn functions to methodsMax Kellermann2013-01-021-12/+10
|
* Directory: make the header C++ onlyMax Kellermann2013-01-021-2/+1
|
* db_lock: convert to C++Max Kellermann2013-01-021-2/+2
|
* 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
|
* DatabasePlugin: add method ReturnSong()Max Kellermann2012-08-161-0/+20
| | | | Allow the plugin to allocate the GetSong() return value.
* DatabasePlugin: add method GetStats()Max Kellermann2012-08-151-0/+7
| | | | | Optimize the ProxyDatabase by invoking "stats" on the peer, instead of visiting all songs.
* DatabasePlugin: add method VisitUniqueTags()Max Kellermann2012-08-151-0/+11
| | | | | Optimize the ProxyDatabase by invoking "list" on the peer, instead of visiting all songs.
* db_visitor: delete obsolete headerMax Kellermann2012-08-151-1/+0
|
* DatabaseSelection: add "match" attributeMax Kellermann2012-08-081-2/+5
| | | | Let the database plugin do the match.
* db_selection: rename to DatabaseSelectionMax Kellermann2012-08-071-2/+2
|
* Database{Plugin,Visitor}: pass referencesMax Kellermann2012-08-071-7/+7
|
* DatabasePlugin: make Visit() constMax Kellermann2012-08-021-2/+2
|
* db_plugin: convert to C++Max Kellermann2012-08-011-0/+315