Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-03-25 | fs/io/FileOutputStream: fix wrong #ifdef WIN32 | Max Kellermann | 1 | -23/+3 | |
2015-03-24 | Mapper: don't use C-style prototypes | Max Kellermann | 1 | -1/+2 | |
2015-03-24 | fs/io/FileOutputStream: add method Tell() | Max Kellermann | 2 | -0/+20 | |
2015-03-24 | fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctor | Max Kellermann | 2 | -0/+12 | |
2015-03-23 | fs/io/FileOutputStream: add class AppendFileOutputStream | Max Kellermann | 2 | -0/+67 | |
2015-03-23 | fs/io/FileOutputStream: move code to new class BaseFileOutputStream | Max Kellermann | 2 | -49/+101 | |
2015-03-23 | fs/io/FileOutputStream: make "path" const | Max Kellermann | 1 | -1/+1 | |
2015-03-23 | fs/io/BufferedOutputStream: add code comments | Max Kellermann | 2 | -0/+23 | |
2015-03-17 | *: doxygen fixups | Max Kellermann | 1 | -1/+0 | |
2015-03-05 | fs/Traits: enable _UNICODE on Windows | Max Kellermann | 4 | -2/+68 | |
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems. | |||||
2015-03-05 | fs/NarrowPath: new utility class | Max Kellermann | 1 | -0/+49 | |
2015-03-05 | fs/Path: reimplement GetSuffix() using GetBase() and StringFindLast() | Max Kellermann | 1 | -1/+7 | |
2015-03-05 | fs/File{System,Info}: fix regular file check | Max Kellermann | 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). | |||||
2015-03-05 | fs/Path: use the "const_pointer" typedef | Max Kellermann | 2 | -2/+2 | |
2015-03-05 | fs/Traits: use TCHAR on Windows | Max Kellermann | 2 | -0/+21 | |
2015-03-05 | fs/Traits: add macro PATH_LITERAL() | Max Kellermann | 2 | -3/+5 | |
2015-03-05 | fs/Traits: use string.h API wrappers | Max Kellermann | 1 | -16/+6 | |
2015-03-03 | fs/io/FileOutputStream: use class FileDescriptor | Max Kellermann | 2 | -19/+20 | |
2015-03-03 | input/file: use class FileReader | Max Kellermann | 1 | -0/+6 | |
2015-03-03 | fs/io/FileReader: add method GetFileInfo() | Max Kellermann | 3 | -1/+26 | |
2015-03-03 | fs/io/FileReader: add move constructor | Max Kellermann | 1 | -0/+14 | |
2015-03-03 | system/FileDescriptor: new wrapper class for a file descriptor | Max Kellermann | 2 | -15/+12 | |
2015-03-03 | fs/io/FileReader: add method Seek() | Max Kellermann | 2 | -0/+28 | |
2015-03-03 | fs/Traits: add Find() | Max Kellermann | 2 | -1/+21 | |
2015-03-03 | fs/Traits: use std::char_traits | Max Kellermann | 1 | -4/+6 | |
2015-03-02 | PlaylistFile: move memchr() call to class Path | Max Kellermann | 1 | -0/+10 | |
2015-03-01 | fs/Path: add method GetSuffix() | Max Kellermann | 2 | -0/+10 | |
Type-safe wrapper for uri_get_suffix(). | |||||
2015-02-28 | fs/Path: pass Path to Relative() | Max Kellermann | 2 | -4/+4 | |
2015-02-28 | fs/AllocatedPath: use PathTraitsFS::Relative() | Max Kellermann | 2 | -23/+3 | |
Eliminate duplicate code. | |||||
2015-02-28 | fs/Path: rename RelativeFS() to Relative() | Max Kellermann | 3 | -3/+3 | |
2015-02-28 | fs/Traits: add missing dereference in RelativePathImpl() | Max Kellermann | 1 | -1/+1 | |
2015-02-28 | fs/CheckFile: convert path to UTF-8 for error message | Max Kellermann | 1 | -6/+11 | |
2015-02-28 | fs/FileInfo: use GetFileAttributesEx() on WIN32 | Max Kellermann | 1 | -1/+49 | |
2015-02-28 | fs/FileSystem: remove unused WIN32 port of StatFile() | Max Kellermann | 1 | -5/+4 | |
2015-02-28 | fs/FileInfo: new library providing GetFileInfo() | Max Kellermann | 2 | -8/+114 | |
Replaces StatFile(), with a portable data object. | |||||
2015-02-28 | fs/Path: make IsAbsolute() const | Max Kellermann | 2 | -2/+2 | |
2015-02-27 | fs/FileSystem: use GetFileAttributes() on WIN32 if possible | Max Kellermann | 1 | -2/+20 | |
2015-02-27 | fs/FileSystem: merge CheckAccess() into PathExists() | Max Kellermann | 1 | -16/+6 | |
PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies. | |||||
2015-02-26 | fs/DirectoryReader: use FindFirstFile(), FindNextFile() on WIN32 | Max Kellermann | 1 | -0/+85 | |
2015-02-25 | fs/Traits: add constant CURRENT_DIRECTORY | Max Kellermann | 3 | -2/+7 | |
2015-02-25 | fs/AllocatedPath: add nullptr_t constructor | Max Kellermann | 1 | -1/+3 | |
2015-02-25 | fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs | Max Kellermann | 6 | -21/+19 | |
2015-02-25 | fs/FileSystem: remove unused FOpenModes | Max Kellermann | 1 | -20/+0 | |
2015-02-25 | fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error message | Max Kellermann | 2 | -7/+18 | |
2015-02-10 | fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTING | Max Kellermann | 1 | -1/+1 | |
Fixes yet another breakage of creating the database+state file on Windows. | |||||
2015-02-09 | fs/Charset: convert #ifdef to regular "if" | Max Kellermann | 1 | -3/+5 | |
2015-02-08 | fs/Charset: change FixSeparators() API to use std::string&& | Max Kellermann | 1 | -11/+6 | |
2015-02-06 | fs/io/FileOutputStream: don't auto-delete file on WIN32 | Max Kellermann | 1 | -0/+2 | |
The file handle is never reset to INVALID_HANDLE_VALUE, and thus the destructor will assume the operation shall be cancelled and will delete the temporary file. This was a major breakage for saving the database file and the state file. | |||||
2015-01-21 | fs/io/BufferedReader: count line numbers | Max Kellermann | 2 | -2/+12 | |
Replaces the dirty code in config/ConfigFile.cxx. | |||||
2015-01-21 | config/Option: convert to strictly-typed enum | Max Kellermann | 1 | -1/+1 | |