Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | db/update/Walk: use std::unique_ptr instead of std::auto_ptr | Max Kellermann | 2015-01-29 | 1 | -1/+1 |
| | | | | | std::auto_ptr is deprecated, and std::unique_ptr is much better anyway. | ||||
* | Directory: eliminate attribute "have_stat" | Max Kellermann | 2014-06-16 | 1 | -2/+1 |
| | | | | Check for 0 in "device" and "inode" instead. | ||||
* | db/simple: use class boost::intrusive::list | Max Kellermann | 2014-06-16 | 1 | -32/+29 |
| | | | | Remove the C list_head library and use type-safe C++ instead. | ||||
* | db/simple: mount points | Max Kellermann | 2014-02-27 | 1 | -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 dynamically | Max Kellermann | 2014-02-27 | 1 | -1/+2 |
| | |||||
* | db/update: cancel the update on shutdown | Max Kellermann | 2014-02-27 | 1 | -1/+1 |
| | |||||
* | db/simple: create dedicated directory | Max Kellermann | 2014-02-26 | 1 | -2/+2 |
| | |||||
* | db/update/Walk: disable FindAncestorLoop() if device/inode==0 | Max Kellermann | 2014-02-09 | 1 | -0/+5 |
| | |||||
* | db/update/Walk: document FindAncestorLoop() | Max Kellermann | 2014-02-09 | 1 | -0/+6 |
| | |||||
* | db/update/Walk: rename find_inode_ancestor() to FindAncestorLoop() | Max Kellermann | 2014-02-09 | 1 | -4/+4 |
| | |||||
* | StoragePlugin: add method MapToRelativeUTF8() | Max Kellermann | 2014-02-07 | 1 | -3/+8 |
| | | | | Replaces map_to_relative_path() from Mapper.cxx. | ||||
* | fixed leaked LocalDirectoryReader *const reader in UpdateWalk::UpdateDirectory | geneticdrift | 2014-02-06 | 1 | -3/+3 |
| | |||||
* | storage: add abstract interface | Max Kellermann | 2014-02-05 | 1 | -5/+5 |
| | | | | Prepare for the plugin interface. | ||||
* | db/UpdateWalk: move LocalStorage to Instance | Max Kellermann | 2014-02-05 | 1 | -3/+4 |
| | | | | Keep only a reference. | ||||
* | LocalStorage: new API abstracting filesystem walk | Max Kellermann | 2014-02-05 | 1 | -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 Kellermann | 2014-02-04 | 1 | -2/+2 |
| | | | | Decouples db/update/Remove.cpp from global variables. | ||||
* | db/update/Walk: add Directory reference parameter | Max Kellermann | 2014-02-04 | 1 | -10/+8 |
| | | | | Remove dependency on the DatabaseSimple library. | ||||
* | db/update/Editor: add locking method variants | Max Kellermann | 2014-01-31 | 1 | -11/+4 |
| | |||||
* | update/Walk: declare std::string at assignment | Max Kellermann | 2014-01-30 | 1 | -4/+2 |
| | | | | Reduce overhead. | ||||
* | db/update: convert to OO API | Max Kellermann | 2014-01-30 | 1 | -0/+463 |
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day. |