aboutsummaryrefslogtreecommitdiffstats
path: root/src/db (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-23db/proxy: fall back to recursive walk on old libmpdclient/MPDMax Kellermann1-1/+21
Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained.
2014-06-23db/proxy: use mpd_song_get_{start,end}() only with libmpdclient >= 2.3Max Kellermann1-0/+5
2013-11-22db/proxy: implement method GetUpdateStamp()Max Kellermann1-2/+7
2013-11-22DatabasePlugin: add method GetUpdateStamp()Max Kellermann2-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.
2013-10-30*: update copyright year to 2013Max Kellermann4-4/+4
2013-10-30db/proxy: remove obsolete #undefsMax Kellermann1-2/+0
2013-10-30db/proxy: auto-reconnectMax Kellermann1-14/+64
2013-10-30db/proxy: return server errors using "enum ack"Max Kellermann1-2/+13
2013-10-30db/proxy: pass search/find to remote MPDMax Kellermann1-1/+38
2013-10-30db/proxy: pass SongFilter to the remote MPD in VisitUniqueTags()Max Kellermann1-2/+72
2013-10-30db/proxy: add missing nullptr checkMax Kellermann1-1/+2
2013-10-29db/proxy: enable song matchingJean-Francois Dockes1-9/+23
2013-10-29DatabaseSelection: use std::stringMax Kellermann2-3/+3
2013-10-28*: use nullptr instead of NULLMax Kellermann1-5/+5
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann3-7/+7
2013-10-19*: use references instead of pointersMax Kellermann1-2/+2
2013-10-19*: use nullptr instead of NULLMax Kellermann1-8/+8
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann2-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.
2013-10-15Client, ...: remove unnecessary glib.h includeMax Kellermann1-2/+0
2013-10-15gcc.h: rename to Compiler.hMax Kellermann2-2/+2
2013-10-02Log: new logging library APIMax Kellermann1-4/+5
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02filesystem/Path: use std::stringMax Kellermann1-2/+1
2013-10-02Listen, ...: add missing includesMax Kellermann1-0/+2
2013-09-05db/proxy: use class TagBuilderMax Kellermann1-8/+6
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-05conf.h: remove obsolete headerMax Kellermann2-2/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann3-136/+113
Replaces GLib's GError.
2013-08-10db_error: convert to C++Max Kellermann2-5/+2
2013-08-07ConfigPath: return a Path objectMax Kellermann1-12/+3
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 Kellermann2-4/+4
2013-08-04DatabasePlugin: pass config_param referenceMax Kellermann3-11/+11
2013-07-30tag: convert to C++Max Kellermann1-7/+7
2013-07-30tag: move enum tag_type to TagType.hMax Kellermann1-0/+1
2013-07-28song: convert header to C++Max Kellermann3-21/+21
2013-02-02SimpleDatabasePlugin: use file system API, log in UTF-8Denis Krjuchkov2-25/+24
2013-01-28db/Proxy: explicitly request first element of arrayMax Kellermann1-2/+2
Works around gcc 4.6 bug.
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov1-0/+6
required
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann2-4/+8
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann2-5/+1
2013-01-03TextFile: convert to a classMax Kellermann1-7/+4
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann3-12/+11
2013-01-02Directory: turn functions to methodsMax Kellermann2-16/+14
2013-01-02Directory: make the header C++ onlyMax Kellermann2-4/+2
2013-01-02PlaylistInfo: rename class, use std::stringMax Kellermann1-7/+3
2013-01-02db_lock: convert to C++Max Kellermann1-2/+2
2013-01-02don't include stdbool.h in C++ sourcesMax Kellermann1-1/+0
The "bool" type is built-in.
2013-01-02playlist_vector: convert to C++Max Kellermann1-1/+1
2013-01-02db_save, state_file: convert to C++Max Kellermann1-1/+1
2012-09-05db/SimpleDatabasePlugin: fix memory leak in Visit()Max Kellermann1-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.