Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs/Path: rename RelativeFS() to Relative() | Max Kellermann | 2015-02-28 | 1 | -1/+1 |
| | |||||
* | Mapper: use class Path | Max Kellermann | 2015-02-28 | 1 | -1/+3 |
| | |||||
* | Copyright year 2015 | Max Kellermann | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | Mapper: obtain music directory from Storage | Max Kellermann | 2014-02-07 | 1 | -29/+17 |
| | | | | Eliminate duplicate variable. | ||||
* | Main: check the music directory | Max Kellermann | 2014-02-07 | 1 | -2/+0 |
| | | | | Move call from Mapper.cxx. | ||||
* | Mapper: move check_directory() to the filesystem library | Max Kellermann | 2014-02-07 | 1 | -44/+3 |
| | |||||
* | Main: chop separators from music directory | Max Kellermann | 2014-02-07 | 1 | -1/+0 |
| | | | | Move call from Mapper.cxx. | ||||
* | Mapper: remove unused functions | Max Kellermann | 2014-02-07 | 1 | -31/+1 |
| | |||||
* | StoragePlugin: add method MapToRelativeUTF8() | Max Kellermann | 2014-02-07 | 1 | -15/+0 |
| | | | | Replaces map_to_relative_path() from Mapper.cxx. | ||||
* | Mapper: remove unused function map_song_fs() | Max Kellermann | 2014-02-07 | 1 | -67/+0 |
| | |||||
* | Mapper: move map_song_detach() to db/DatabaseSong.cxx | Max Kellermann | 2014-02-07 | 1 | -15/+0 |
| | | | | Use Storage::MapUTF8() internally, don't use global variables. | ||||
* | Mapper: convert IsInDatabase() check to assertion in map_song_detach() | Max Kellermann | 2014-02-07 | 1 | -1/+2 |
| | |||||
* | LocalStorage: new API abstracting filesystem walk | Max Kellermann | 2014-02-05 | 1 | -2/+11 |
| | | | | | Prepare to make this a new plugin API, for example to use a SMB share for the music_directory. | ||||
* | Mapper: assert that Song::parent is not nullptr | Max Kellermann | 2014-01-31 | 1 | -18/+3 |
| | |||||
* | db: add compile-time option to disable database | Max Kellermann | 2014-01-30 | 1 | -1/+34 |
| | |||||
* | Database*: move to db/ | Max Kellermann | 2014-01-24 | 1 | -3/+3 |
| | |||||
* | LightSong: add attribute "real_uri" | Max Kellermann | 2014-01-21 | 1 | -1/+1 |
| | | | | | The UPnP database plugin can now show relative song URIs for remote songs. | ||||
* | DetachedSong: add attribute "real_uri" | Max Kellermann | 2014-01-21 | 1 | -2/+11 |
| | | | | Prepare for UPnP songs that retain there database identity. | ||||
* | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 2014-01-19 | 1 | -1/+1 |
| | | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread. | ||||
* | Mapper: add function map_song_detach() | Max Kellermann | 2014-01-17 | 1 | -0/+6 |
| | | | | | | Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon. | ||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | DetachedSong: fork of struct Song | Max Kellermann | 2014-01-09 | 1 | -6/+11 |
| | | | | | | From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead. | ||||
* | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 2013-12-05 | 1 | -2/+2 |
| | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -2/+0 |
| | |||||
* | Mapper: _get_music_directory_utf8() may return nullptr | Max Kellermann | 2013-11-22 | 1 | -1/+3 |
| | | | | | | If no music_directory is configured, return nullptr instead of an empty string. This fixes a crash when db_file is configured without music_directory. | ||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-28 | 1 | -2/+2 |
| | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -11/+11 |
| | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -34/+35 |
| | | | | | | | 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. | ||||
* | fs/Path: move definitions to struct PathTraits | Max Kellermann | 2013-10-17 | 1 | -2/+3 |
| | |||||
* | fs/Path: move configuration code to Config.cxx | Max Kellermann | 2013-10-17 | 1 | -1/+2 |
| | |||||
* | Mapper: use std::string | Max Kellermann | 2013-10-17 | 1 | -16/+11 |
| | |||||
* | Mapper: remove obsolete variable music_dir_fs_length | Max Kellermann | 2013-10-15 | 1 | -2/+0 |
| | |||||
* | fs/Path: add separator constants/functions | Max Kellermann | 2013-10-14 | 1 | -17/+4 |
| | |||||
* | fs/Path: add method RelativeFS() | Max Kellermann | 2013-10-14 | 1 | -11/+5 |
| | | | | Move code from map_fs_to_utf8(). | ||||
* | Mapper, ...: use memcmp() instead of strncmp() where appropriate | Max Kellermann | 2013-10-14 | 1 | -1/+1 |
| | | | | Micro-optimization. | ||||
* | Mapper: map_fs_to_utf8() returns std::string | Max Kellermann | 2013-10-14 | 1 | -6/+2 |
| | | | | Avoid the conversion to an allocated char*, let the caller decide. | ||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -12/+14 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | Daemon, Mapper: move-assign the Path objects | Max Kellermann | 2013-10-01 | 1 | -2/+2 |
| | |||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -32/+20 |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | ||||
* | song: convert header to C++ | Max Kellermann | 2013-07-28 | 1 | -5/+5 |
| | |||||
* | DirectoryReader: rename Failed() to HasFailed() for consistency with TextFile | Denis Krjuchkov | 2013-05-05 | 1 | -1/+1 |
| | |||||
* | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 2013-01-28 | 1 | -9/+36 |
| | | | | required | ||||
* | Path: convert fs_charset_to_utf8() to static method Path::ToUTF8() | Denis Krjuchkov | 2013-01-28 | 1 | -1/+5 |
| | |||||
* | Mapper: improve usage of Path class | Denis Krjuchkov | 2013-01-26 | 1 | -31/+28 |
| | |||||
* | Path: move to fs subdirectory | Denis Krjuchkov | 2013-01-22 | 1 | -1/+1 |
| | |||||
* | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 2013-01-18 | 1 | -51/+31 |
| | |||||
* | path: convert to C++ | Max Kellermann | 2013-01-17 | 1 | -4/+1 |
| | |||||
* | Directory: rename struct directory to Directory | Max Kellermann | 2013-01-03 | 1 | -2/+2 |
| | |||||
* | Directory: turn functions to methods | Max Kellermann | 2013-01-02 | 1 | -2/+2 |
| | |||||
* | Directory: make the header C++ only | Max Kellermann | 2013-01-02 | 1 | -1/+1 |
| |