summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.cxx
AgeCommit message (Collapse)Author
2018-08-02DetachedSong, db/LightSong, SongFilter: move to src/song/Max Kellermann
2018-07-18fs/Path: add method ToUTF8Throw()Max Kellermann
2018-07-17PlaylistFile: use struct ConfigDataMax Kellermann
2018-07-17fs/Path: add operator/(Path,Path)Max Kellermann
Modeled after std::filesystem::operator/() from C++17.
2018-07-16config/Config*: rename files, drop "Config" prefixMax Kellermann
2017-10-18Merge tag 'v0.20.11'Max Kellermann
release v0.20.11
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-08-11db/PlaylistInfo: use std::chrono::system_clock::time_pointMax Kellermann
2017-02-10fs/FileInfo: use std::chrono::system_clockMax Kellermann
2017-02-08SongLoader: return instance, not pointerMax Kellermann
2017-01-16PlaylistFile: "playlistadd" creates new playlist if it does not exist, as ↵Max Kellermann
documented
2017-01-03update copyright yearMax Kellermann
2016-12-04PlaylistFile: remove redundant existence checkMax Kellermann
2016-12-04fs/FileSystem: RenameFile() throws exception on errorMax Kellermann
2016-10-27LocateUri: migrate from class Error to C++ exceptionsMax Kellermann
2016-09-04fs/io/FileOutputStream: merge all classes into one, add enum ModeMax Kellermann
Prepare to add more modes.
2016-08-15fs/FileSystem: RemoveFile() throws exception on errorMax Kellermann
2016-08-15PlaylistFile: use TruncateFile()Max Kellermann
As a side effect, "playlistclear" no longer creates a new playlist if the given one doesn't yet exist.
2016-04-21PlaylistFile: use the new AllocatedPath::FromFS() range overloadMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-12-29fs/DirectoryReader: use C++ exceptions instead of class ErrorMax Kellermann
2015-12-28PlaylistFile: convert more APIs from Error to std::exceptionMax Kellermann
2015-12-28PlaylistFile: throw exception on spl_map_to_fs() failureMax Kellermann
2015-12-28PlaylistFile: remove obsolete function TranslatePlaylistError()Max Kellermann
2015-12-28PlaylistFile: convert system_error::ENOENT to PlaylistResult::NO_SUCH_LISTMax Kellermann
2015-12-18fs/io/Reader: use C++ exceptions instead of class ErrorMax 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-11-06util/StringCompare: add StringIsEmpty()Max Kellermann
2015-11-06util/StringUtil: move comparison functions to StringCompare.cxxMax Kellermann
2015-03-24Playlist*: use the BufferedOutputStream API instead of FILE*Max Kellermann
2015-03-24PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError()Max Kellermann
2015-03-24PlaylistFile: eliminate redundant spl_map() callsMax Kellermann
2015-03-05fs/Traits: enable _UNICODE on WindowsMax Kellermann
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
2015-03-05fs/Traits: add macro PATH_LITERAL()Max Kellermann
2015-03-05PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()Max Kellermann
2015-03-05PlaylistFile: don't insert "file://" before absolute pathsMax Kellermann
This prefix is deprecated.
2015-03-03util/StringUtil: add FindStringSuffix()Max Kellermann
2015-03-02PlaylistFile: limit variable scopeMax Kellermann
2015-03-02PlaylistFile: move memchr() call to class PathMax Kellermann
2015-03-02PlaylistFile: use PathTraitsFS typedefsMax Kellermann
2015-02-28Mapper: use class PathMax Kellermann
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann
Replaces StatFile(), with a portable data object.
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-10-31PlaylistFile: don't allow empty playlist nameMax Kellermann
2014-08-07fs/io/BufferedReader: new class to replace class TextFileMax Kellermann
The new class is pluggable, to prepare for gzipped database files. For now, the TextFile class remains, and will be refactored away later.
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann