summaryrefslogtreecommitdiff
path: root/src/PlaylistSave.cxx
AgeCommit message (Collapse)Author
2021-01-01copyright year 2021Max Kellermann
2020-01-18copyright year 2020Max Kellermann
2019-08-09util/UriUtil: splitMax Kellermann
2019-07-05include cleanups (powered by iwyu)Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2018-10-31*: copyright year 2018Max Kellermann
2018-08-02DetachedSong, db/LightSong, SongFilter: move to src/song/Max Kellermann
2018-07-18fs/Path: add method ToUTF8Throw()Max Kellermann
2017-12-19Main, ...: catch any exception, not just std::runtime_errorMax Kellermann
2017-10-18Playlist{File,Save}: always use UTF-8 in playlists on WindowsMax Kellermann
Turns out that using CP_ACP is a lousy idea, because only very few Unicode characters can be represented by it. Instead, switch to UTF-8 (which every sane person on other operating system already uses). Closes #102
2017-10-18PlaylistSave: move code to playlist_print_path()Max Kellermann
2017-01-03update copyright yearMax Kellermann
2016-04-21fs/AllocatedPath: add method FromUTF8Throw()Max Kellermann
2016-04-21lib/icu/Win32: throw exception on errorMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-12-28PlaylistFile: throw exception on spl_map_to_fs() failureMax Kellermann
2015-12-16fs/io/OutputStream: use C++ exceptions in Write()Max Kellermann
2015-12-16fs/io/FileOutputStream: use C++ exceptions in Commit()Max Kellermann
2015-12-16fs/io/FileOutputStream: use C++ exceptions in constructorMax Kellermann
2015-03-24Playlist*: use the BufferedOutputStream API instead of FILE*Max Kellermann
2015-03-24PlaylistSave: return bool/Error instead of PlaylistResultMax Kellermann
2015-03-05fs/NarrowPath: new utility classMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-05-10PlaylistCommands: remove redundant playlist_load_spl() callMax Kellermann
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 Kellermann
2014-02-27Playlist*: move to queue/Max Kellermann
2014-02-07PlaylistSave: use DetachedSong::GetRealURI() in playlist_print_song()Max Kellermann
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 Kellermann
Use Storage::MapUTF8() internally, don't use global variables.
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann
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 Kellermann
This is already being done by FixSeparators(), called from PathToUTF8().
2014-01-30db: add compile-time option to disable databaseMax Kellermann
2014-01-21DetachedSong: add attribute "real_uri"Max Kellermann
Prepare for UPnP songs that retain there database identity.
2014-01-20Merge branch 'v0.18.x'Max Kellermann
2014-01-20Queue: rename struct queue to QueueMax Kellermann
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 Kellermann
Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
2014-01-13copyright year 2014Max Kellermann
2014-01-09DetachedSong: fork of struct SongMax Kellermann
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 Kellermann
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov
2013-10-28player_control: rename to PlayerControlMax Kellermann
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann
2013-10-19*: use references instead of pointersMax Kellermann
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann
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 Kellermann
2013-10-17PlaylistSave: eliminate the last g_warning() callMax Kellermann
2013-10-17Song: GetURI() returns std::stringMax Kellermann
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann
2013-10-14Merge tag 'release-0.17.6'Max Kellermann
2013-10-02Log: new logging library APIMax Kellermann
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.