aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Walk.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* storage/FileInfo: rename to StorageFileInfoMax Kellermann2015-02-281-10/+10
|
* Merge branch 'v0.19.x'Max Kellermann2015-01-291-1/+1
|\
| * db/update/Walk: use std::unique_ptr instead of std::auto_ptrMax Kellermann2015-01-291-1/+1
| | | | | | | | | | std::auto_ptr is deprecated, and std::unique_ptr is much better anyway.
* | config/Option: convert to strictly-typed enumMax Kellermann2015-01-211-2/+2
| |
* | Copyright year 2015Max Kellermann2015-01-011-1/+1
|/
* Directory: eliminate attribute "have_stat"Max Kellermann2014-06-161-2/+1
| | | | Check for 0 in "device" and "inode" instead.
* db/simple: use class boost::intrusive::listMax Kellermann2014-06-161-32/+29
| | | | Remove the C list_head library and use type-safe C++ instead.
* db/simple: mount pointsMax Kellermann2014-02-271-1/+5
| | | | | | | | A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
* db/update/Service: allocate UpdateWalk dynamicallyMax Kellermann2014-02-271-1/+2
|
* db/update: cancel the update on shutdownMax Kellermann2014-02-271-1/+1
|
* db/simple: create dedicated directoryMax Kellermann2014-02-261-2/+2
|
* db/update/Walk: disable FindAncestorLoop() if device/inode==0Max Kellermann2014-02-091-0/+5
|
* db/update/Walk: document FindAncestorLoop()Max Kellermann2014-02-091-0/+6
|
* db/update/Walk: rename find_inode_ancestor() to FindAncestorLoop()Max Kellermann2014-02-091-4/+4
|
* StoragePlugin: add method MapToRelativeUTF8()Max Kellermann2014-02-071-3/+8
| | | | Replaces map_to_relative_path() from Mapper.cxx.
* fixed leaked LocalDirectoryReader *const reader in UpdateWalk::UpdateDirectorygeneticdrift2014-02-061-3/+3
|
* storage: add abstract interfaceMax Kellermann2014-02-051-5/+5
| | | | Prepare for the plugin interface.
* db/UpdateWalk: move LocalStorage to InstanceMax Kellermann2014-02-051-3/+4
| | | | Keep only a reference.
* LocalStorage: new API abstracting filesystem walkMax Kellermann2014-02-051-79/+100
| | | | | Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.
* db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann2014-02-041-2/+2
| | | | Decouples db/update/Remove.cpp from global variables.
* db/update/Walk: add Directory reference parameterMax Kellermann2014-02-041-10/+8
| | | | Remove dependency on the DatabaseSimple library.
* db/update/Editor: add locking method variantsMax Kellermann2014-01-311-11/+4
|
* update/Walk: declare std::string at assignmentMax Kellermann2014-01-301-4/+2
| | | | Reduce overhead.
* db/update: convert to OO APIMax Kellermann2014-01-301-0/+463
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.