aboutsummaryrefslogtreecommitdiffstats
path: root/src/Mapper.hxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: change C-style prototypes, drop "(void)"Max Kellermann2015-03-031-2/+3
|
* Mapper: use class PathMax Kellermann2015-02-281-1/+2
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* Mapper: obtain music directory from StorageMax Kellermann2014-02-071-1/+1
| | | | Eliminate duplicate variable.
* Mapper: remove unused functionsMax Kellermann2014-02-071-34/+0
|
* StoragePlugin: add method MapToRelativeUTF8()Max Kellermann2014-02-071-9/+0
| | | | Replaces map_to_relative_path() from Mapper.cxx.
* Mapper: remove unused function map_song_fs()Max Kellermann2014-02-071-19/+0
|
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-8/+0
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* LocalStorage: new API abstracting filesystem walkMax Kellermann2014-02-051-22/+0
| | | | | Prepare to make this a new plugin API, for example to use a SMB share for the music_directory.
* db: add compile-time option to disable databaseMax Kellermann2014-01-301-0/+12
|
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-1/+2
| | | | | 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 Kellermann2014-01-171-0/+8
| | | | | | Make the DetachedSong(Song) conversion constructor private. Everybody should use map_song_detach() which will take over more responsibilities soon.
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-0/+5
| | | | | | 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.
* Mapper: update API documentationMax Kellermann2013-12-041-2/+1
|
* include cleanup using iwyuMax Kellermann2013-11-281-1/+0
|
* Mapper: _get_music_directory_utf8() may return nullptrMax Kellermann2013-11-221-1/+2
| | | | | | 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 references instead of pointersMax Kellermann2013-10-191-3/+3
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-8/+9
| | | | | | | 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.
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* Mapper: map_fs_to_utf8() returns std::stringMax Kellermann2013-10-141-3/+6
| | | | Avoid the conversion to an allocated char*, let the caller decide.
* util/Error: new error passing libraryMax Kellermann2013-09-041-1/+0
| | | | Replaces GLib's GError.
* ConfigPath: return a Path objectMax Kellermann2013-08-071-2/+2
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* song: convert header to C++Max Kellermann2013-07-281-2/+2
|
* Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov2013-01-281-1/+2
| | | | required
* Mapper: improve usage of Path classDenis Krjuchkov2013-01-261-2/+2
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-9/+10
|
* Directory: rename struct directory to DirectoryMax Kellermann2013-01-031-3/+3
|
* mapper: convert to C++Max Kellermann2013-01-021-0/+144