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