summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.cxx
AgeCommit message (Collapse)Author
2020-05-30use std chr functionsRosen Penev
The ones in std have overloads for const char/char. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
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
2019-03-17PlaylistFile: ignore empty playlist namesMax Kellermann
Closes https://github.com/MusicPlayerDaemon/MPD/issues/465 and https://github.com/MusicPlayerDaemon/MPD/pull/466
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
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