aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSave.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-24Playlist*: use the BufferedOutputStream API instead of FILE*Max Kellermann1-11/+14
2015-03-24PlaylistSave: return bool/Error instead of PlaylistResultMax Kellermann1-18/+19
2015-03-05fs/NarrowPath: new utility classMax Kellermann1-2/+3
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-05-10PlaylistCommands: remove redundant playlist_load_spl() callMax Kellermann1-29/+0
This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway.
2014-02-27Playlist: use the Error library to return errorsMax Kellermann1-3/+6
2014-02-27Playlist*: move to queue/Max Kellermann1-1/+1
2014-02-07PlaylistSave: use DetachedSong::GetRealURI() in playlist_print_song()Max Kellermann1-12/+7
The DetachedSong instance already knows its own absolute path, and there is no need to ask the mapper again.
2014-02-07Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann1-1/+1
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann1-10/+4
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
2014-02-03PlaylistSave: remove redundant backslash conversionMax Kellermann1-16/+3
This is already being done by FixSeparators(), called from PathToUTF8().
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-2/+6
2014-01-21DetachedSong: add attribute "real_uri"Max Kellermann1-1/+2
Prepare for UPnP songs that retain there database identity.
2014-01-20Queue: rename struct queue to QueueMax Kellermann1-1/+1
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway.
2014-01-19LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann1-1/+0
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-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.
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann1-4/+3
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-1/+1
2013-10-28player_control: rename to PlayerControlMax Kellermann1-1/+1
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann1-11/+11
2013-10-19*: use references instead of pointersMax Kellermann1-12/+12
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-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.
2013-10-17fs/Path: move definitions to struct PathTraitsMax Kellermann1-1/+2
2013-10-17PlaylistSave: eliminate the last g_warning() callMax Kellermann1-1/+2
2013-10-17Song: GetURI() returns std::stringMax Kellermann1-3/+2
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann1-1/+1
2013-10-02Log: new logging library APIMax Kellermann1-1/+4
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-10-02Playlist*: use nullptr instead of NULLMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-6/+4
Replaces GLib's GError.
2013-07-28song: convert header to C++Max Kellermann1-4/+4
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-02-02PlaylistSave.cxx: use FOpenDenis Krjuchkov1-1/+1
2013-01-29require GLib 2.24Max Kellermann1-2/+0
2013-01-29ConfigFile, CommandLine: use the Path classMax Kellermann1-1/+2
2013-01-28Path::FromUTF8() returns nulled instance on error, add error handling where ↵Denis Krjuchkov1-1/+2
required
2013-01-26Mapper: improve usage of Path classDenis Krjuchkov1-1/+1
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-31/+16
2013-01-17path: convert to C++Max Kellermann1-1/+1
2013-01-09idle: convert to C++Max Kellermann1-1/+1
2013-01-07Playlist: convert functions to methodsMax Kellermann1-4/+4
2013-01-06queue: convert all functions to methodsMax Kellermann1-2/+2
2013-01-04playlist: convert to C++Max Kellermann1-2/+2
2013-01-02mapper: convert to C++Max Kellermann1-1/+1
2012-09-28main: use C++ compilerMax Kellermann1-1/+1
2012-09-28PlaylistFile: use std::list instead of GPtrArrayMax Kellermann1-11/+13
2012-09-28stored_playlist, playlist_save: use C++ compilerMax Kellermann1-7/+9
2012-06-12Work around incorrect g_file_test() behavior on Win32Denis Krjuchkov1-0/+1
g_file_test is redefined to be g_file_test_utf8 and thus can't handle non-ASCII characters. This fix adds simple wrapper (taken from glib) that fixes encoding and calls g_file_test_utf8. All required inclusions of glib_compat.h are added as well.
2012-02-09playlist_save: add start/end_index parametersMax Kellermann1-2/+7