summaryrefslogtreecommitdiff
path: root/src/PlaylistFile.cxx
AgeCommit message (Collapse)Author
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
2014-02-18util/StringUtil: add StringEndsWith()Max Kellermann
Replaces g_str_has_suffix().
2014-02-03PlaylistFile: use class SongLoaderMax Kellermann
2014-02-03PlaylistFile: switch spl_append_uri() argumentsMax Kellermann
Playlist file name first, to be consistent with the other functions in this library.
2014-01-30PlaylistFile: narrow LoadPlaylistFileInfo() API to accept PathMax Kellermann
2014-01-30db: add compile-time option to disable databaseMax Kellermann
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann
2014-01-24Database*: move to db/Max Kellermann
2014-01-24Config*: move to config/Max Kellermann
2014-01-17DatabaseSong: new library merging duplicate codeMax Kellermann
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.
2013-12-08TextFile: move to fs subsystemDenis Krjuchkov
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov
2013-12-04PlaylistFile: use std::string for temporary string allocationMax Kellermann
2013-11-28include cleanup using iwyuMax Kellermann
2013-10-30*: update copyright year to 2013Max 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-17fs/Path: move configuration code to Config.cxxMax Kellermann
2013-10-17fs/Limits: convert macro to "constexpr"Max Kellermann
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann
2013-10-14PlaylistFile: always check for absolute paths within music_directoryMax Kellermann
Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths.
2013-10-14PlaylistFile: fix memory leakMax Kellermann
Consistently use std::string in LoadPlaylistFile().
2013-10-14Mapper: map_fs_to_utf8() returns std::stringMax Kellermann
Avoid the conversion to an allocated char*, let the caller decide.
2013-10-14Merge tag 'release-0.17.6'Max Kellermann
2013-10-02Playlist*: use nullptr instead of NULLMax Kellermann
2013-10-02Listen, ...: add missing includesMax Kellermann
2013-09-05conf.h: remove obsolete headerMax Kellermann
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-05conf.h: move constants to ConfigDefaults.hxxMax Kellermann