aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+2
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-05conf.h: move constants to ConfigDefaults.hxxMax Kellermann1-0/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-83/+68
Replaces GLib's GError.
2013-07-28song: convert header to C++Max Kellermann1-5/+5
2013-05-06PlaylistFile: use DirectoryReader and file system APIDenis Krjuchkov1-27/+24
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-02-02PlaylistFile.cxx: use file system APIDenis Krjuchkov1-6/+5
2013-01-29require GLib 2.24Max Kellermann1-2/+0
2013-01-29ConfigFile, CommandLine: use the Path classMax Kellermann1-2/+3
2013-01-28Path: convert fs_charset_to_utf8() to static method Path::ToUTF8()Denis Krjuchkov1-4/+3
2013-01-26Mapper: improve usage of Path classDenis Krjuchkov1-3/+3
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-42/+27
2013-01-17path: convert to C++Max Kellermann1-1/+1
2013-01-09idle: convert to C++Max Kellermann1-1/+1
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+1
2013-01-04PlaylistFile: reuse classes PlaylistInfo and PlaylistVectorMax Kellermann1-4/+6
.. instead of rolling own classes.
2013-01-03PlaylistFile: fix memory leakMax Kellermann1-0/+1
2013-01-03TextFile: convert to a classMax Kellermann1-6/+3
2013-01-03text_file: convert to C++Max Kellermann1-1/+1
2013-01-03database.h: eliminate db_*_song()Max Kellermann1-8/+9
Use the C++ API.