aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Walk.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-06-16Directory: eliminate attribute "have_stat"Max Kellermann1-2/+1
Check for 0 in "device" and "inode" instead.
2014-06-16db/simple: use class boost::intrusive::listMax Kellermann1-32/+29
Remove the C list_head library and use type-safe C++ instead.
2014-02-27db/simple: mount pointsMax Kellermann1-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.
2014-02-27db/update/Service: allocate UpdateWalk dynamicallyMax Kellermann1-1/+2
2014-02-27db/update: cancel the update on shutdownMax Kellermann1-1/+1
2014-02-26db/simple: create dedicated directoryMax Kellermann1-2/+2
2014-02-09db/update/Walk: disable FindAncestorLoop() if device/inode==0Max Kellermann1-0/+5
2014-02-09db/update/Walk: document FindAncestorLoop()Max Kellermann1-0/+6
2014-02-09db/update/Walk: rename find_inode_ancestor() to FindAncestorLoop()Max Kellermann1-4/+4
2014-02-07StoragePlugin: add method MapToRelativeUTF8()Max Kellermann1-3/+8
Replaces map_to_relative_path() from Mapper.cxx.
2014-02-06fixed leaked LocalDirectoryReader *const reader in UpdateWalk::UpdateDirectorygeneticdrift1-3/+3
2014-02-05storage: add abstract interfaceMax Kellermann1-5/+5
Prepare for the plugin interface.
2014-02-05db/UpdateWalk: move LocalStorage to InstanceMax Kellermann1-3/+4
Keep only a reference.
2014-02-05LocalStorage: new API abstracting filesystem walkMax Kellermann1-79/+100
Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.
2014-02-04db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann1-2/+2
Decouples db/update/Remove.cpp from global variables.
2014-02-04db/update/Walk: add Directory reference parameterMax Kellermann1-10/+8
Remove dependency on the DatabaseSimple library.
2014-01-31db/update/Editor: add locking method variantsMax Kellermann1-11/+4
2014-01-30update/Walk: declare std::string at assignmentMax Kellermann1-4/+2
Reduce overhead.
2014-01-30db/update: convert to OO APIMax Kellermann1-79/+57
Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
2014-01-29db/Directory: move isRootDirectory() to Uri.hxxMax Kellermann1-0/+1
Decouple command/OtherCommands.cxx from the "simple" database plugin.
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann1-1/+1
2014-01-24Database*: move to db/Max Kellermann1-4/+4
2014-01-24Update*: move to update/Max Kellermann1-0/+0
2014-01-24Config*: move to config/Max Kellermann1-2/+2
2014-01-23playlist/*: move to playlist/plugins/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann1-4/+4
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-4/+4
2013-11-28include cleanup using iwyuMax Kellermann1-4/+0
2013-10-21GetBaseUTF8Max Kellermann1-3/+1
2013-10-20UpdateWalk: convert anonymous enum to constexprMax Kellermann1-4/+2
2013-10-19*: use references instead of pointersMax Kellermann1-40/+41
2013-10-19*: use nullptr instead of NULLMax Kellermann1-11/+11
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-10/+10
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-17fs/Path: move definitions to struct PathTraitsMax Kellermann1-3/+4
2013-10-15*: use WIN32 instead of G_OS_WIN32Max Kellermann1-2/+2
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann1-1/+1
2013-10-14fs/Path: add separator constants/functionsMax Kellermann1-2/+2
2013-10-02Log: new logging library APIMax Kellermann1-7/+8
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-2/+2
2013-07-28song: convert header to C++Max Kellermann1-4/+4
2013-05-06UpdateWalk, ExcludeList: use Path, file system API, DirectoryReader, log in UTF8Denis Krjuchkov1-27/+23
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-02-02UpdateWalk.cxx: use FileExistsDenis Krjuchkov1-3/+2
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov1-2/+2
required
2013-01-28Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov1-11/+8
2013-01-26playlist/*: convert to C++Max Kellermann1-1/+1
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-27/+15