Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fs/Glob: use PathMatchSpec() on Windows | Max Kellermann | 2015-06-22 | 1 | -2/+8 |
| | |||||
* | fs/Glob: use fnmatch() if available | Max Kellermann | 2015-06-22 | 1 | -1/+21 |
| | |||||
* | fs/Glob: make constructor "explicit" | Max Kellermann | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | db/update/ExcludeList: move class Pattern to fs/Glob.hxx | Max Kellermann | 2015-06-22 | 1 | -0/+61 |
| | |||||
* | fs/io/FileOutputStream: fix wrong #ifdef WIN32 | Max Kellermann | 2015-03-25 | 1 | -23/+3 |
| | |||||
* | Mapper: don't use C-style prototypes | Max Kellermann | 2015-03-24 | 1 | -1/+2 |
| | |||||
* | fs/io/FileOutputStream: add method Tell() | Max Kellermann | 2015-03-24 | 2 | -0/+20 |
| | |||||
* | fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctor | Max Kellermann | 2015-03-24 | 2 | -0/+12 |
| | |||||
* | fs/io/FileOutputStream: add class AppendFileOutputStream | Max Kellermann | 2015-03-23 | 2 | -0/+67 |
| | |||||
* | fs/io/FileOutputStream: move code to new class BaseFileOutputStream | Max Kellermann | 2015-03-23 | 2 | -49/+101 |
| | |||||
* | fs/io/FileOutputStream: make "path" const | Max Kellermann | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | fs/io/BufferedOutputStream: add code comments | Max Kellermann | 2015-03-23 | 2 | -0/+23 |
| | |||||
* | *: doxygen fixups | Max Kellermann | 2015-03-17 | 1 | -1/+0 |
| | |||||
* | fs/Traits: enable _UNICODE on Windows | Max Kellermann | 2015-03-05 | 4 | -2/+68 |
| | | | | | Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems. | ||||
* | fs/NarrowPath: new utility class | Max Kellermann | 2015-03-05 | 1 | -0/+49 |
| | |||||
* | fs/Path: reimplement GetSuffix() using GetBase() and StringFindLast() | Max Kellermann | 2015-03-05 | 1 | -1/+7 |
| | |||||
* | 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 |
| | |||||
* | 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 | 2 | -3/+5 |
| | |||||
* | fs/Traits: use string.h API wrappers | Max Kellermann | 2015-03-05 | 1 | -16/+6 |
| | |||||
* | fs/io/FileOutputStream: use class FileDescriptor | Max Kellermann | 2015-03-03 | 2 | -19/+20 |
| | |||||
* | input/file: use class FileReader | Max Kellermann | 2015-03-03 | 1 | -0/+6 |
| | |||||
* | 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 |
| | |||||
* | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 2015-03-03 | 2 | -15/+12 |
| | |||||
* | fs/io/FileReader: add method Seek() | Max Kellermann | 2015-03-03 | 2 | -0/+28 |
| | |||||
* | fs/Traits: add Find() | Max Kellermann | 2015-03-03 | 2 | -1/+21 |
| | |||||
* | fs/Traits: use std::char_traits | Max Kellermann | 2015-03-03 | 1 | -4/+6 |
| | |||||
* | PlaylistFile: move memchr() call to class Path | Max Kellermann | 2015-03-02 | 1 | -0/+10 |
| | |||||
* | fs/Path: add method GetSuffix() | Max Kellermann | 2015-03-01 | 2 | -0/+10 |
| | | | | Type-safe wrapper for uri_get_suffix(). | ||||
* | fs/Path: pass Path to Relative() | Max Kellermann | 2015-02-28 | 2 | -4/+4 |
| | |||||
* | fs/AllocatedPath: use PathTraitsFS::Relative() | Max Kellermann | 2015-02-28 | 2 | -23/+3 |
| | | | | Eliminate duplicate code. | ||||
* | fs/Path: rename RelativeFS() to Relative() | Max Kellermann | 2015-02-28 | 3 | -3/+3 |
| | |||||
* | fs/Traits: add missing dereference in RelativePathImpl() | Max Kellermann | 2015-02-28 | 1 | -1/+1 |
| | |||||
* | fs/CheckFile: convert path to UTF-8 for error message | Max Kellermann | 2015-02-28 | 1 | -6/+11 |
| | |||||
* | fs/FileInfo: use GetFileAttributesEx() on WIN32 | Max Kellermann | 2015-02-28 | 1 | -1/+49 |
| | |||||
* | fs/FileSystem: remove unused WIN32 port of StatFile() | Max Kellermann | 2015-02-28 | 1 | -5/+4 |
| | |||||
* | fs/FileInfo: new library providing GetFileInfo() | Max Kellermann | 2015-02-28 | 2 | -8/+114 |
| | | | | Replaces StatFile(), with a portable data object. | ||||
* | fs/Path: make IsAbsolute() const | Max Kellermann | 2015-02-28 | 2 | -2/+2 |
| | |||||
* | fs/FileSystem: use GetFileAttributes() on WIN32 if possible | Max Kellermann | 2015-02-27 | 1 | -2/+20 |
| | |||||
* | fs/FileSystem: merge CheckAccess() into PathExists() | Max Kellermann | 2015-02-27 | 1 | -16/+6 |
| | | | | | PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies. | ||||
* | fs/DirectoryReader: use FindFirstFile(), FindNextFile() on WIN32 | Max Kellermann | 2015-02-26 | 1 | -0/+85 |
| | |||||
* | fs/Traits: add constant CURRENT_DIRECTORY | Max Kellermann | 2015-02-25 | 3 | -2/+7 |
| | |||||
* | fs/AllocatedPath: add nullptr_t constructor | Max Kellermann | 2015-02-25 | 1 | -1/+3 |
| | |||||
* | fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs | Max Kellermann | 2015-02-25 | 6 | -21/+19 |
| | |||||
* | fs/FileSystem: remove unused FOpenModes | Max Kellermann | 2015-02-25 | 1 | -20/+0 |
| | |||||
* | fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error message | Max Kellermann | 2015-02-25 | 2 | -7/+18 |
| | |||||
* | fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTING | Max Kellermann | 2015-02-10 | 1 | -1/+1 |
| | | | | | Fixes yet another breakage of creating the database+state file on Windows. | ||||
* | fs/Charset: convert #ifdef to regular "if" | Max Kellermann | 2015-02-09 | 1 | -3/+5 |
| |