Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *: change C-style prototypes, drop "(void)" | Max Kellermann | 2015-03-03 | 1 | -2/+3 |
| | |||||
* | Mapper: use class Path | Max Kellermann | 2015-02-28 | 1 | -1/+2 |
| | |||||
* | Copyright year 2015 | Max Kellermann | 2015-01-01 | 1 | -1/+1 |
| | |||||
* | Mapper: obtain music directory from Storage | Max Kellermann | 2014-02-07 | 1 | -1/+1 |
| | | | | Eliminate duplicate variable. | ||||
* | Mapper: remove unused functions | Max Kellermann | 2014-02-07 | 1 | -34/+0 |
| | |||||
* | StoragePlugin: add method MapToRelativeUTF8() | Max Kellermann | 2014-02-07 | 1 | -9/+0 |
| | | | | Replaces map_to_relative_path() from Mapper.cxx. | ||||
* | Mapper: remove unused function map_song_fs() | Max Kellermann | 2014-02-07 | 1 | -19/+0 |
| | |||||
* | Mapper: move map_song_detach() to db/DatabaseSong.cxx | Max Kellermann | 2014-02-07 | 1 | -8/+0 |
| | | | | Use Storage::MapUTF8() internally, don't use global variables. | ||||
* | LocalStorage: new API abstracting filesystem walk | Max Kellermann | 2014-02-05 | 1 | -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 database | Max Kellermann | 2014-01-30 | 1 | -0/+12 |
| | |||||
* | LightSong: new class to be used by DatabasePlugin callbacks | Max Kellermann | 2014-01-19 | 1 | -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 Kellermann | 2014-01-17 | 1 | -0/+8 |
| | | | | | | 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 | -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 documentation | Max Kellermann | 2013-12-04 | 1 | -2/+1 |
| | |||||
* | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -1/+0 |
| | |||||
* | Mapper: _get_music_directory_utf8() may return nullptr | Max Kellermann | 2013-11-22 | 1 | -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 pointers | Max Kellermann | 2013-10-19 | 1 | -3/+3 |
| | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -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.h | Max Kellermann | 2013-10-15 | 1 | -1/+1 |
| | |||||
* | Mapper: map_fs_to_utf8() returns std::string | Max Kellermann | 2013-10-14 | 1 | -3/+6 |
| | | | | Avoid the conversion to an allocated char*, let the caller decide. | ||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -1/+0 |
| | | | | Replaces GLib's GError. | ||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -2/+2 |
| | | | | | 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 | -2/+2 |
| | |||||
* | Path::FromUTF8() returns nulled instance on error, add error handling where ↵ | Denis Krjuchkov | 2013-01-28 | 1 | -1/+2 |
| | | | | required | ||||
* | Mapper: improve usage of Path class | Denis Krjuchkov | 2013-01-26 | 1 | -2/+2 |
| | |||||
* | Path: new class "Path" wraps filesystem path strings | Max Kellermann | 2013-01-18 | 1 | -9/+10 |
| | |||||
* | Directory: rename struct directory to Directory | Max Kellermann | 2013-01-03 | 1 | -3/+3 |
| | |||||
* | mapper: convert to C++ | Max Kellermann | 2013-01-02 | 1 | -0/+144 |