Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | TagFile: convert suffix to UTF-8 | Max Kellermann | 2015-03-05 | 1 | -2/+4 | |
| | | ||||||
* | | fs/File{System,Info}: fix regular file check | Max Kellermann | 2015-03-05 | 2 | -2/+4 | |
| | | | | | | | | | | | | Don't use FILE_ATTRIBUTE_NORMAL, it's a "magic" value for something else. To check if a file is a regular file, we need to check if it's NOT a directory (or a device). | |||||
* | | fs/Path: use the "const_pointer" typedef | Max Kellermann | 2015-03-05 | 2 | -2/+2 | |
| | | ||||||
* | | event/ServerSocket: #ifdef out local socket support on Windows | Max Kellermann | 2015-03-05 | 1 | -0/+8 | |
| | | ||||||
* | | util/StringUtil: add wchar_t overloads | Max Kellermann | 2015-03-05 | 4 | -0/+106 | |
| | | ||||||
* | | util/StringAPI: add wchar_t overloads | Max Kellermann | 2015-03-05 | 3 | -0/+139 | |
| | | ||||||
* | | fs/Traits: use TCHAR on Windows | Max Kellermann | 2015-03-05 | 2 | -0/+21 | |
| | | ||||||
* | | fs/Traits: add macro PATH_LITERAL() | Max Kellermann | 2015-03-05 | 9 | -14/+18 | |
| | | ||||||
* | | fs/Traits: use string.h API wrappers | Max Kellermann | 2015-03-05 | 3 | -16/+138 | |
| | | ||||||
* | | input/Open: convert UTF-8 to filesystem charset for OpenLocalInputStream() | Max Kellermann | 2015-03-05 | 1 | -3/+8 | |
| | | ||||||
* | | input/Open: use PathTraitsUTF8 to check UTF-8 path | Max Kellermann | 2015-03-05 | 1 | -1/+1 | |
| | | ||||||
* | | db/Configured: convert path to UTF-8 before injecting into configuration | Max Kellermann | 2015-03-05 | 1 | -1/+4 | |
| | | ||||||
* | | 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. | |||||
* | | unix/PidFile: use the UTF-8 path for error message | Max Kellermann | 2015-03-05 | 1 | -1/+1 | |
| | | ||||||
* | | util/StringUtil: reorder functions | Max Kellermann | 2015-03-04 | 2 | -73/+73 | |
| | | ||||||
* | | util/ASCII: strip include guard | Max Kellermann | 2015-03-04 | 1 | -2/+2 | |
| | | ||||||
* | | output/winmm: use StringStartsWith() instead of strstr() | Max Kellermann | 2015-03-04 | 1 | -1/+2 | |
| | | ||||||
* | | fs/io/FileOutputStream: use class FileDescriptor | Max Kellermann | 2015-03-03 | 2 | -19/+20 | |
| | | ||||||
* | | system/FileDescriptor: Close() returns bool | Max Kellermann | 2015-03-03 | 1 | -2/+2 | |
| | | ||||||
* | | system/FileDescriptor: add "mode" parameter to Open() | Max Kellermann | 2015-03-03 | 2 | -3/+3 | |
| | | ||||||
* | | system/FileDescriptor: move O_NOCTTY|O_CLOEXEC to Open() | Max Kellermann | 2015-03-03 | 1 | -3/+3 | |
| | | ||||||
* | | input/file: use class FileReader | Max Kellermann | 2015-03-03 | 2 | -30/+23 | |
| | | ||||||
* | | system/FileDescriptor: remove bogus assertions | Max Kellermann | 2015-03-03 | 1 | -4/+0 | |
| | | ||||||
* | | fs/io/FileReader: add method GetFileInfo() | Max Kellermann | 2015-03-03 | 3 | -1/+26 | |
| | | ||||||
* | | fs/io/FileReader: add move constructor | Max Kellermann | 2015-03-03 | 1 | -0/+14 | |
| | | ||||||
* | | input/file: pass UTF-8 URI to InputStream ctor | Max Kellermann | 2015-03-03 | 1 | -1/+3 | |
| | | ||||||
* | | input/file: add missing fcntl.h include for posix_fadvise() | Max Kellermann | 2015-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | *: change C-style prototypes, drop "(void)" | Max Kellermann | 2015-03-03 | 28 | -53/+74 | |
| | | ||||||
* | | system/FileDescriptor: fix WIN32 checks | Max Kellermann | 2015-03-03 | 2 | -5/+5 | |
| | | ||||||
* | | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 2015-03-03 | 14 | -124/+443 | |
| | | ||||||
* | | system/fd_util: remove unused functions | Max Kellermann | 2015-03-03 | 2 | -154/+0 | |
| | | ||||||
* | | fs/io/FileReader: add method Seek() | Max Kellermann | 2015-03-03 | 2 | -0/+28 | |
| | | ||||||
* | | db/update/Container: convert vtrack name to FS charset | Max Kellermann | 2015-03-03 | 1 | -1/+4 | |
| | | ||||||
* | | storage/local: convert mangled URI to FS charset | Max Kellermann | 2015-03-03 | 1 | -1/+5 | |
| | | ||||||
* | | storage/local: use PathTraitsFS typedefs | Max Kellermann | 2015-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | fs/Traits: add Find() | Max Kellermann | 2015-03-03 | 2 | -1/+21 | |
| | | ||||||
* | | FileCommands: use Path::HasNewline() | Max Kellermann | 2015-03-03 | 1 | -3/+3 | |
| | | ||||||
* | | fs/Traits: use std::char_traits | Max Kellermann | 2015-03-03 | 1 | -4/+6 | |
| | | ||||||
* | | util/StringUtil: add FindStringSuffix() | Max Kellermann | 2015-03-03 | 3 | -8/+27 | |
| | | ||||||
* | | Util/StringUtil: use std::copy_n() | Max Kellermann | 2015-03-02 | 1 | -1/+1 | |
| | | ||||||
* | | PlaylistFile: limit variable scope | Max Kellermann | 2015-03-02 | 1 | -2/+2 | |
| | | ||||||
* | | PlaylistFile: move memchr() call to class Path | Max Kellermann | 2015-03-02 | 2 | -2/+14 | |
| | | ||||||
* | | PlaylistFile: use PathTraitsFS typedefs | Max Kellermann | 2015-03-02 | 1 | -5/+6 | |
| | | ||||||
* | | StorageCommands: use PathTraitsUTF8 for protocol argument | Max Kellermann | 2015-03-02 | 1 | -1/+1 | |
| | | ||||||
* | | fs/Path: add method GetSuffix() | Max Kellermann | 2015-03-01 | 5 | -4/+14 | |
| | | | | | | | | Type-safe wrapper for uri_get_suffix(). | |||||
* | | SongUpdate: use OpenArchiveInputStream() to open archive file | Max Kellermann | 2015-03-01 | 4 | -1/+90 | |
| | | | | | | | | | | Don't pass Path::c_str() to tag_stream_scan() which requires a UTF-8 string. | |||||
* | | db/simple: eliminate UpdateFileInArchive() if archive API is disabled | Max Kellermann | 2015-03-01 | 2 | -2/+14 | |
| | | | | | | | | Reduce some unnecessary overhead. | |||||
* | | Mapper: use Path::IsAbsolute() | Max Kellermann | 2015-02-28 | 1 | -7/+7 | |
| | | ||||||
* | | fs/Path: pass Path to Relative() | Max Kellermann | 2015-02-28 | 3 | -5/+5 | |
| | |