aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fs/Traits: enable _UNICODE on WindowsMax Kellermann2015-03-051-0/+10
| | | | | Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
* fs/Traits: add macro PATH_LITERAL()Max Kellermann2015-03-051-1/+2
|
* PlaylistFile: use Path::ToUTF8() instead of PathToUTF8()Max Kellermann2015-03-051-1/+1
|
* PlaylistFile: don't insert "file://" before absolute pathsMax Kellermann2015-03-051-2/+0
| | | | This prefix is deprecated.
* util/StringUtil: add FindStringSuffix()Max Kellermann2015-03-031-8/+4
|
* PlaylistFile: limit variable scopeMax Kellermann2015-03-021-2/+2
|
* PlaylistFile: move memchr() call to class PathMax Kellermann2015-03-021-2/+4
|
* PlaylistFile: use PathTraitsFS typedefsMax Kellermann2015-03-021-5/+6
|
* Mapper: use class PathMax Kellermann2015-02-281-3/+5
|
* fs/FileInfo: new library providing GetFileInfo()Max Kellermann2015-02-281-3/+4
| | | | Replaces StatFile(), with a portable data object.
* config/Option: convert to strictly-typed enumMax Kellermann2015-01-211-3/+4
|
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* PlaylistFile: don't allow empty playlist nameMax Kellermann2014-10-311-0/+4
|
* fs/io/BufferedReader: new class to replace class TextFileMax Kellermann2014-08-071-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.
* fs/output, fs/TextFile: move to fs/io/Max Kellermann2014-08-071-1/+1
|
* util/StringUtil: add StringEndsWith()Max Kellermann2014-02-181-3/+2
| | | Replaces g_str_has_suffix().
* PlaylistFile: use class SongLoaderMax Kellermann2014-02-031-17/+10
|
* PlaylistFile: switch spl_append_uri() argumentsMax Kellermann2014-02-031-1/+1
| | | | | Playlist file name first, to be consistent with the other functions in this library.
* PlaylistFile: narrow LoadPlaylistFileInfo() API to accept PathMax Kellermann2014-01-301-2/+2
|
* db: add compile-time option to disable databaseMax Kellermann2014-01-301-0/+8
|
* Playlist{Info,Vector}: move to db/Max Kellermann2014-01-271-2/+2
|
* Database*: move to db/Max Kellermann2014-01-241-1/+1
|
* Config*: move to config/Max Kellermann2014-01-241-3/+3
|
* DatabaseSong: new library merging duplicate codeMax Kellermann2014-01-171-12/+6
|
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* DetachedSong: fork of struct SongMax Kellermann2014-01-091-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.
* TextFile: move to fs subsystemDenis Krjuchkov2013-12-081-1/+1
|
* fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-051-1/+1
|
* PlaylistFile: use std::string for temporary string allocationMax Kellermann2013-12-041-4/+3
|
* include cleanup using iwyuMax Kellermann2013-11-281-3/+0
|
* *: update copyright year to 2013Max Kellermann2013-10-301-1/+1
|
* PlaylistError: convert playlist_result to a strictly-typed enumMax Kellermann2013-10-201-9/+9
|
* *: use references instead of pointersMax Kellermann2013-10-191-3/+3
|
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-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.
* fs/Path: move definitions to struct PathTraitsMax Kellermann2013-10-171-1/+2
|
* fs/Path: move configuration code to Config.cxxMax Kellermann2013-10-171-3/+4
|
* fs/Limits: convert macro to "constexpr"Max Kellermann2013-10-171-1/+1
|
* fs/Path: move MPD_PATH_MAX to Limits.hxxMax Kellermann2013-10-171-0/+1
|
* fs/Path: add method IsAbsolute()Max Kellermann2013-10-141-1/+1
|
* PlaylistFile: always check for absolute paths within music_directoryMax Kellermann2013-10-141-9/+11
| | | | | Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths.
* PlaylistFile: fix memory leakMax Kellermann2013-10-141-12/+10
| | | | Consistently use std::string in LoadPlaylistFile().
* Mapper: map_fs_to_utf8() returns std::stringMax Kellermann2013-10-141-5/+3
| | | | Avoid the conversion to an allocated char*, let the caller decide.
* Merge tag 'release-0.17.6'Max Kellermann2013-10-141-3/+14
|
* Playlist*: use nullptr instead of NULLMax Kellermann2013-10-021-10/+10
|
* Listen, ...: add missing includesMax Kellermann2013-10-021-0/+2
|
* conf.h: remove obsolete headerMax Kellermann2013-09-051-1/+2
| | | | | Use only ConfigData.hxx in plugin sources to reduce header dependencies.
* conf.h: move constants to ConfigDefaults.hxxMax Kellermann2013-09-051-0/+1
|
* util/Error: new error passing libraryMax Kellermann2013-09-041-83/+68
| | | | Replaces GLib's GError.
* song: convert header to C++Max Kellermann2013-07-281-5/+5
|
* PlaylistFile: use DirectoryReader and file system APIDenis Krjuchkov2013-05-061-27/+24
|