aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-25fs/io/FileOutputStream: fix wrong #ifdef WIN32Max Kellermann1-23/+3
2015-03-24Mapper: don't use C-style prototypesMax Kellermann1-1/+2
2015-03-24fs/io/FileOutputStream: add method Tell()Max Kellermann2-0/+20
2015-03-24fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctorMax Kellermann2-0/+12
2015-03-23fs/io/FileOutputStream: add class AppendFileOutputStreamMax Kellermann2-0/+67
2015-03-23fs/io/FileOutputStream: move code to new class BaseFileOutputStreamMax Kellermann2-49/+101
2015-03-23fs/io/FileOutputStream: make "path" constMax Kellermann1-1/+1
2015-03-23fs/io/BufferedOutputStream: add code commentsMax Kellermann2-0/+23
2015-03-17*: doxygen fixupsMax Kellermann1-1/+0
2015-03-05fs/Traits: enable _UNICODE on WindowsMax Kellermann4-2/+68
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
2015-03-05fs/NarrowPath: new utility classMax Kellermann1-0/+49
2015-03-05fs/Path: reimplement GetSuffix() using GetBase() and StringFindLast()Max Kellermann1-1/+7
2015-03-05fs/File{System,Info}: fix regular file checkMax Kellermann2-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-05fs/Path: use the "const_pointer" typedefMax Kellermann2-2/+2
2015-03-05fs/Traits: use TCHAR on WindowsMax Kellermann2-0/+21
2015-03-05fs/Traits: add macro PATH_LITERAL()Max Kellermann2-3/+5
2015-03-05fs/Traits: use string.h API wrappersMax Kellermann1-16/+6
2015-03-03fs/io/FileOutputStream: use class FileDescriptorMax Kellermann2-19/+20
2015-03-03input/file: use class FileReaderMax Kellermann1-0/+6
2015-03-03fs/io/FileReader: add method GetFileInfo()Max Kellermann3-1/+26
2015-03-03fs/io/FileReader: add move constructorMax Kellermann1-0/+14
2015-03-03system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann2-15/+12
2015-03-03fs/io/FileReader: add method Seek()Max Kellermann2-0/+28
2015-03-03fs/Traits: add Find()Max Kellermann2-1/+21
2015-03-03fs/Traits: use std::char_traitsMax Kellermann1-4/+6
2015-03-02PlaylistFile: move memchr() call to class PathMax Kellermann1-0/+10
2015-03-01fs/Path: add method GetSuffix()Max Kellermann2-0/+10
Type-safe wrapper for uri_get_suffix().
2015-02-28fs/Path: pass Path to Relative()Max Kellermann2-4/+4
2015-02-28fs/AllocatedPath: use PathTraitsFS::Relative()Max Kellermann2-23/+3
Eliminate duplicate code.
2015-02-28fs/Path: rename RelativeFS() to Relative()Max Kellermann3-3/+3
2015-02-28fs/Traits: add missing dereference in RelativePathImpl()Max Kellermann1-1/+1
2015-02-28fs/CheckFile: convert path to UTF-8 for error messageMax Kellermann1-6/+11
2015-02-28fs/FileInfo: use GetFileAttributesEx() on WIN32Max Kellermann1-1/+49
2015-02-28fs/FileSystem: remove unused WIN32 port of StatFile()Max Kellermann1-5/+4
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann2-8/+114
Replaces StatFile(), with a portable data object.
2015-02-28fs/Path: make IsAbsolute() constMax Kellermann2-2/+2
2015-02-27fs/FileSystem: use GetFileAttributes() on WIN32 if possibleMax Kellermann1-2/+20
2015-02-27fs/FileSystem: merge CheckAccess() into PathExists()Max Kellermann1-16/+6
PathExists() should better do what CheckAccess() does, and CheckAccess() doesn't do what its name implies.
2015-02-26fs/DirectoryReader: use FindFirstFile(), FindNextFile() on WIN32Max Kellermann1-0/+85
2015-02-25fs/Traits: add constant CURRENT_DIRECTORYMax Kellermann3-2/+7
2015-02-25fs/AllocatedPath: add nullptr_t constructorMax Kellermann1-1/+3
2015-02-25fs/{Allocated,}Path,Charset: use PathTraitsFS typedefsMax Kellermann6-21/+19
2015-02-25fs/FileSystem: remove unused FOpenModesMax Kellermann1-20/+0
2015-02-25fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error messageMax Kellermann2-7/+18
2015-02-10fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTINGMax Kellermann1-1/+1
Fixes yet another breakage of creating the database+state file on Windows.
2015-02-09fs/Charset: convert #ifdef to regular "if"Max Kellermann1-3/+5
2015-02-08fs/Charset: change FixSeparators() API to use std::string&&Max Kellermann1-11/+6
2015-02-06fs/io/FileOutputStream: don't auto-delete file on WIN32Max Kellermann1-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-21fs/io/BufferedReader: count line numbersMax Kellermann2-2/+12
Replaces the dirty code in config/ConfigFile.cxx.
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann1-1/+1