Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-06 | util/StringCompare: add StringIsEmpty() | Max Kellermann | 1 | -1/+1 | |
2015-11-06 | util/StringUtil: move comparison functions to StringCompare.cxx | Max Kellermann | 1 | -1/+1 | |
2015-03-24 | Playlist*: use the BufferedOutputStream API instead of FILE* | Max Kellermann | 1 | -20/+19 | |
2015-03-24 | PlaylistFile: export spl_map_to_fs() and TranslatePlaylistError() | Max Kellermann | 1 | -2/+2 | |
2015-03-24 | PlaylistFile: eliminate redundant spl_map() calls | Max Kellermann | 1 | -15/+0 | |
2015-03-05 | fs/Traits: enable _UNICODE on Windows | Max Kellermann | 1 | -0/+10 | |
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems. | |||||
2015-03-05 | fs/Traits: add macro PATH_LITERAL() | Max Kellermann | 1 | -1/+2 | |
2015-03-05 | PlaylistFile: use Path::ToUTF8() instead of PathToUTF8() | Max Kellermann | 1 | -1/+1 | |
2015-03-05 | PlaylistFile: don't insert "file://" before absolute paths | Max Kellermann | 1 | -2/+0 | |
This prefix is deprecated. | |||||
2015-03-03 | util/StringUtil: add FindStringSuffix() | Max Kellermann | 1 | -8/+4 | |
2015-03-02 | PlaylistFile: limit variable scope | Max Kellermann | 1 | -2/+2 | |
2015-03-02 | PlaylistFile: move memchr() call to class Path | Max Kellermann | 1 | -2/+4 | |
2015-03-02 | PlaylistFile: use PathTraitsFS typedefs | Max Kellermann | 1 | -5/+6 | |
2015-02-28 | Mapper: use class Path | Max Kellermann | 1 | -3/+5 | |
2015-02-28 | fs/FileInfo: new library providing GetFileInfo() | Max Kellermann | 1 | -3/+4 | |
Replaces StatFile(), with a portable data object. | |||||
2015-01-21 | config/Option: convert to strictly-typed enum | Max Kellermann | 1 | -3/+4 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-11-02 | PlaylistFile: don't allow empty playlist name | Max Kellermann | 1 | -0/+4 | |
2014-10-31 | PlaylistFile: don't allow empty playlist name | Max Kellermann | 1 | -0/+4 | |
2014-08-07 | fs/io/BufferedReader: new class to replace class TextFile | Max Kellermann | 1 | -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-07 | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 1 | -1/+1 | |
2014-02-18 | util/StringUtil: add StringEndsWith() | Max Kellermann | 1 | -3/+2 | |
Replaces g_str_has_suffix(). | |||||
2014-02-03 | PlaylistFile: use class SongLoader | Max Kellermann | 1 | -17/+10 | |
2014-02-03 | PlaylistFile: switch spl_append_uri() arguments | Max Kellermann | 1 | -1/+1 | |
Playlist file name first, to be consistent with the other functions in this library. | |||||
2014-01-30 | PlaylistFile: narrow LoadPlaylistFileInfo() API to accept Path | Max Kellermann | 1 | -2/+2 | |
2014-01-30 | db: add compile-time option to disable database | Max Kellermann | 1 | -0/+8 | |
2014-01-27 | Playlist{Info,Vector}: move to db/ | Max Kellermann | 1 | -2/+2 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -1/+1 | |
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -3/+3 | |
2014-01-17 | DatabaseSong: new library merging duplicate code | Max Kellermann | 1 | -12/+6 | |
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2014-01-09 | DetachedSong: fork of struct Song | Max Kellermann | 1 | -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-08 | TextFile: move to fs subsystem | Denis Krjuchkov | 1 | -1/+1 | |
2013-12-05 | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 1 | -1/+1 | |
2013-12-04 | PlaylistFile: use std::string for temporary string allocation | Max Kellermann | 1 | -4/+3 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -3/+0 | |
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-20 | PlaylistError: convert playlist_result to a strictly-typed enum | Max Kellermann | 1 | -9/+9 | |
2013-10-19 | *: use references instead of pointers | Max Kellermann | 1 | -3/+3 | |
2013-10-17 | fs/Path: rename to AllocatedPath | Max Kellermann | 1 | -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-17 | fs/Path: move definitions to struct PathTraits | Max Kellermann | 1 | -1/+2 | |
2013-10-17 | fs/Path: move configuration code to Config.cxx | Max Kellermann | 1 | -3/+4 | |
2013-10-17 | fs/Limits: convert macro to "constexpr" | Max Kellermann | 1 | -1/+1 | |
2013-10-17 | fs/Path: move MPD_PATH_MAX to Limits.hxx | Max Kellermann | 1 | -0/+1 | |
2013-10-14 | fs/Path: add method IsAbsolute() | Max Kellermann | 1 | -1/+1 | |
2013-10-14 | PlaylistFile: always check for absolute paths within music_directory | Max Kellermann | 1 | -9/+11 | |
Try map_fs_to_utf8() first, and fall back to Path::ToUTF8() for absolute paths. | |||||
2013-10-14 | PlaylistFile: fix memory leak | Max Kellermann | 1 | -12/+10 | |
Consistently use std::string in LoadPlaylistFile(). | |||||
2013-10-14 | Mapper: map_fs_to_utf8() returns std::string | Max Kellermann | 1 | -5/+3 | |
Avoid the conversion to an allocated char*, let the caller decide. | |||||
2013-10-02 | Playlist*: use nullptr instead of NULL | Max Kellermann | 1 | -10/+10 | |
2013-10-02 | Listen, ...: add missing includes | Max Kellermann | 1 | -0/+2 | |