aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongLoader.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* LocateUri: new library to classify URIs in a standard wayMax Kellermann2015-10-221-34/+32
|
* SongLoader: move code to LoadFromDatabase()Max Kellermann2015-10-221-10/+17
| | | | Avoids the recursion in LoadFile().
* DetachedSong: move code from Update() to LoadFile()Max Kellermann2015-10-201-8/+6
| | | | Avoid duplicate AllocatedPath::FromUTF8() invocations in two callers.
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann2014-12-261-0/+3
| | | | New in clang 3.6.
* StoragePlugin: add method MapToRelativeUTF8()Max Kellermann2014-02-071-9/+8
| | | | Replaces map_to_relative_path() from Mapper.cxx.
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-2/+4
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* Instance: add Database attributeMax Kellermann2014-02-041-0/+7
| | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* db/DatabasePlaylist: pass Database reference aroundMax Kellermann2014-02-041-3/+4
| | | | Reduce global variable usage, move to frontend code.
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-031-0/+102
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.