aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Archive.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-26db/simple: create dedicated directoryMax Kellermann1-2/+2
2014-02-08ArchivePlugin: pass Path to open()Max Kellermann1-1/+1
2014-02-08ArchivePlugin: rename struct archive_plugin to ArchivePluginMax Kellermann1-3/+2
2014-02-06SongUpdate: use the Storage interface, support remote filesMax Kellermann1-1/+1
This commit finally allows the database update to scan remote files, e.g. using the smbclient storage plugin. However, it is not yet possible to configure that, therefore the feature is not accessible yet.
2014-02-05db/update: include StorageInterface.hxx instead of LocalStorage.hxxMax Kellermann1-1/+1
2014-02-05db/UpdateWalk: move LocalStorage to InstanceMax Kellermann1-0/+1
Keep only a reference.
2014-02-05LocalStorage: new API abstracting filesystem walkMax Kellermann1-7/+11
Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.
2014-01-31db/update/Archive: delete archive from database on errorMax Kellermann1-0/+2
2014-01-30db/update: convert to OO APIMax Kellermann1-38/+30
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
2014-01-24Database*: move to db/Max Kellermann1-3/+3
2014-01-24Update*: move to update/Max Kellermann1-0/+0
2014-01-24archive/*: move to archive/plugins/Max Kellermann1-4/+4
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-04Log: add level "DEFAULT"Max Kellermann1-2/+2
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
2013-10-19*: use references instead of pointersMax Kellermann1-11/+11
2013-10-19*: use nullptr instead of NULLMax Kellermann1-6/+6
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-2/+2
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-15UpdateArchive: use std::string for temporary stringMax Kellermann1-4/+3
2013-10-02Log: new logging library APIMax Kellermann1-7/+12
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-4/+4
Replaces GLib's GError.
2013-07-28song: convert header to C++Max Kellermann1-3/+3
2013-01-30ArchivePlugin: move instance methods to class ArchiveFileMax Kellermann1-3/+3
2013-01-29ArchiveFile: convert to a classMax Kellermann1-2/+1
2013-01-29ArchivePlugin: replace scan_reset(), scan_next() with visit()Max Kellermann1-7/+15
Add the interface ArchiveVisitor.
2013-01-29ArchivePlugin: scan_next() returns const stringMax Kellermann1-5/+7
2013-01-24archive/*: convert to C++Max Kellermann1-5/+2
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-5/+5
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-5/+5
2013-01-02Directory: turn functions to methodsMax Kellermann1-6/+6
2013-01-02Directory: make the header C++ onlyMax Kellermann1-1/+1
2013-01-02mapper: convert to C++Max Kellermann1-1/+1
2013-01-02db_lock: convert to C++Max Kellermann1-1/+1
2013-01-02update: convert to C++Max Kellermann1-3/+6
2012-07-10require GLib 2.16Max Kellermann1-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.
2012-06-13update_walk: move code to update_archive.cMax Kellermann1-0/+157