aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSave.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* PlaylistSave: use DetachedSong::GetRealURI() in playlist_print_song()Max Kellermann2014-02-071-12/+7
| | | | | The DetachedSong instance already knows its own absolute path, and there is no need to ask the mapper again.
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-1/+1
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-031-10/+4
| | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* PlaylistSave: remove redundant backslash conversionMax Kellermann2014-02-031-16/+3
| | | | | This is already being done by FixSeparators(), called from PathToUTF8().
* db: add compile-time option to disable databaseMax Kellermann2014-01-301-2/+6
|
* DetachedSong: add attribute "real_uri"Max Kellermann2014-01-211-1/+2
| | | | Prepare for UPnP songs that retain there database identity.
* Merge branch 'v0.18.x'Max Kellermann2014-01-201-1/+1
|\
| * Queue: rename struct queue to QueueMax Kellermann2014-01-201-1/+1
| | | | | | | | | | Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway.
* | LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-1/+0
| | | | | | | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* | copyright year 2014Max Kellermann2014-01-131-1/+1
| |
* | DetachedSong: fork of struct SongMax Kellermann2014-01-091-2/+3
| | | | | | | | | | | | 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.
* | util/Alloc: new library replacing GLib's g_malloc()Max Kellermann2014-01-071-4/+3
| |
* | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-051-1/+1
|/
* player_control: rename to PlayerControlMax Kellermann2013-10-281-1/+1
|
* PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann2013-10-201-11/+11
|
* *: use references instead of pointersMax Kellermann2013-10-191-12/+12
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-6/+6
| | | | | | | 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 PathTraitsMax Kellermann2013-10-171-1/+2
|
* PlaylistSave: eliminate the last g_warning() callMax Kellermann2013-10-171-1/+2
|
* Song: GetURI() returns std::stringMax Kellermann2013-10-171-3/+2
|
* fs/Path: add method IsAbsolute()Max Kellermann2013-10-141-1/+1
|
* Merge tag 'release-0.17.6'Max Kellermann2013-10-141-0/+10
|
* Log: new logging library APIMax Kellermann2013-10-021-1/+4
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* Playlist*: use nullptr instead of NULLMax Kellermann2013-10-021-1/+1
|
* util/Error: new error passing libraryMax Kellermann2013-09-041-6/+4
| | | | Replaces GLib's GError.
* song: convert header to C++Max Kellermann2013-07-281-4/+4
|
* uri: convert to C++Max Kellermann2013-04-081-4/+1
|
* PlaylistSave.cxx: use FOpenDenis Krjuchkov2013-02-021-1/+1
|
* require GLib 2.24Max Kellermann2013-01-291-2/+0
|
* ConfigFile, CommandLine: use the Path classMax Kellermann2013-01-291-1/+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-1/+1
|
* Path: move to fs subdirectoryDenis Krjuchkov2013-01-221-1/+1
|
* Path: new class "Path" wraps filesystem path stringsMax Kellermann2013-01-181-31/+16
|
* path: convert to C++Max Kellermann2013-01-171-1/+1
|
* idle: convert to C++Max Kellermann2013-01-091-1/+1
|
* Playlist: convert functions to methodsMax Kellermann2013-01-071-4/+4
|
* queue: convert all functions to methodsMax Kellermann2013-01-061-2/+2
|
* playlist: convert to C++Max Kellermann2013-01-041-2/+2
|
* mapper: convert to C++Max Kellermann2013-01-021-1/+1
|
* main: use C++ compilerMax Kellermann2012-09-281-1/+1
|
* PlaylistFile: use std::list instead of GPtrArrayMax Kellermann2012-09-281-11/+13
|
* stored_playlist, playlist_save: use C++ compilerMax Kellermann2012-09-281-0/+151