aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-06util/StringCompare: add StringIsEmpty()Max Kellermann1-1/+1
2015-11-06util/StringUtil: move comparison functions to StringCompare.cxxMax Kellermann1-1/+1
2015-03-24Playlist*: use the BufferedOutputStream API instead of FILE*Max Kellermann1-20/+19
2015-03-24PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError()Max Kellermann1-2/+2
2015-03-24PlaylistFile: eliminate redundant spl_map() callsMax Kellermann1-15/+0
2015-03-05fs/Traits: enable _UNICODE on WindowsMax Kellermann1-0/+10
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
2015-03-05fs/Traits: add macro PATH_LITERAL()Max Kellermann1-1/+2
2015-03-05PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()Max Kellermann1-1/+1
2015-03-05PlaylistFile: don't insert "file://" before absolute pathsMax Kellermann1-2/+0
This prefix is deprecated.
2015-03-03util/StringUtil: add FindStringSuffix()Max Kellermann1-8/+4
2015-03-02PlaylistFile: limit variable scopeMax Kellermann1-2/+2
2015-03-02PlaylistFile: move memchr() call to class PathMax Kellermann1-2/+4
2015-03-02PlaylistFile: use PathTraitsFS typedefsMax Kellermann1-5/+6
2015-02-28Mapper: use class PathMax Kellermann1-3/+5
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann1-3/+4
Replaces StatFile(), with a portable data object.
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-3/+4
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-11-02PlaylistFile: don't allow empty playlist nameMax Kellermann1-0/+4
2014-10-31PlaylistFile: don't allow empty playlist nameMax Kellermann1-0/+4
2014-08-07fs/io/BufferedReader: new class to replace class TextFileMax Kellermann1-2/+25
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 Kellermann1-1/+1
2014-02-18util/StringUtil: add StringEndsWith()Max Kellermann1-3/+2
Replaces g_str_has_suffix().
2014-02-03PlaylistFile: use class SongLoaderMax Kellermann1-17/+10
2014-02-03PlaylistFile: switch spl_append_uri() argumentsMax Kellermann1-1/+1
Playlist file name first, to be consistent with the other functions in this library.
2014-01-30PlaylistFile: narrow LoadPlaylistFileInfo() API to accept PathMax Kellermann1-2/+2
2014-01-30db: add compile-time option to disable databaseMax Kellermann1-0/+8
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann1-2/+2
2014-01-24Database*: move to db/Max Kellermann1-1/+1
2014-01-24Config*: move to config/Max Kellermann1-3/+3
2014-01-17DatabaseSong: new library merging duplicate codeMax Kellermann1-12/+6
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-11/+10
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 Krjuchkov1-1/+1
2013-12-05fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov1-1/+1
2013-12-04PlaylistFile: use std::string for temporary string allocationMax Kellermann1-4/+3
2013-11-28include cleanup using iwyuMax Kellermann1-3/+0
2013-10-30*: update copyright year to 2013Max Kellermann1-1/+1
2013-10-20PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann1-9/+9
2013-10-19*: use references instead of pointersMax Kellermann1-3/+3
2013-10-17fs/Path: rename to AllocatedPathMax Kellermann1-18/+19
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-17fs/Path: move configuration code to Config.cxxMax Kellermann1-3/+4
2013-10-17fs/Limits: convert macro to "constexpr"Max Kellermann1-1/+1
2013-10-17fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann1-0/+1
2013-10-14fs/Path: add method IsAbsolute()Max Kellermann1-1/+1
2013-10-14PlaylistFile: always check for absolute paths within music_directoryMax Kellermann1-9/+11
Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths.
2013-10-14PlaylistFile: fix memory leakMax Kellermann1-12/+10
Consistently use std::string in LoadPlaylistFile().
2013-10-14Mapper: map_fs_to_utf8() returns std::stringMax Kellermann1-5/+3
Avoid the conversion to an allocated char*, let the caller decide.
2013-10-02Playlist*: use nullptr instead of NULLMax Kellermann1-10/+10
2013-10-02Listen, ...: add missing includesMax Kellermann1-0/+2