aboutsummaryrefslogtreecommitdiffstats
path: root/src/db (follow)
Commit message (Collapse)AuthorAgeFilesLines
* db/proxy: fall back to recursive walk on old libmpdclient/MPDMax Kellermann2014-06-231-1/+21
| | | | | Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained.
* db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3Max Kellermann2014-06-231-0/+5
|
* db/proxy: implement method GetUpdateStamp()Max Kellermann2013-11-221-2/+7
|
* DatabasePlugin: add method GetUpdateStamp()Max Kellermann2013-11-222-7/+9
| | | | | | 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 2013Max Kellermann2013-10-304-4/+4
|
* db/proxy: remove obsolete #undefsMax Kellermann2013-10-301-2/+0
|
* db/proxy: auto-reconnectMax Kellermann2013-10-301-14/+64
|
* db/proxy: return server errors using "enum ack"Max Kellermann2013-10-301-2/+13
|
* db/proxy: pass search/find to remote MPDMax Kellermann2013-10-301-1/+38
|
* db/proxy: pass SongFilter to the remote MPD in VisitUniqueTags()Max Kellermann2013-10-301-2/+72
|
* db/proxy: add missing nullptr checkMax Kellermann2013-10-301-1/+2
|
* db/proxy: enable song matchingJean-Francois Dockes2013-10-291-9/+23
|
* DatabaseSelection: use std::stringMax Kellermann2013-10-292-3/+3
|
* *: use nullptr instead of NULLMax Kellermann2013-10-281-5/+5
|
* TagType: rename enum tag_type to TagTypeMax Kellermann2013-10-203-7/+7
|
* *: 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-172-4/+4
| | | | | | | 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
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-152-2/+2
|
* 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
|
* db/proxy: use class TagBuilderMax Kellermann2013-09-051-8/+6
|
* Tag, ...: move to libtag.aMax Kellermann2013-09-051-1/+1
|
* 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.