aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-06util/StringUtil: move comparison functions to StringCompare.cxxMax Kellermann2-1/+2
2015-10-19fs/Traits: use StringAfterPrefix() in Relative()Max Kellermann1-3/+3
2015-06-26lib/icu/Converter: remove GLib implementationMax Kellermann1-1/+1
We don't need this anymore: Win32 doesn't use this library at all, and everything else has either iconv() or libicu.
2015-06-26lib/icu/Converter: add iconv() implementationMax Kellermann1-1/+1
2015-06-26config/Global: allow calling config_get_string() with one argumentMax Kellermann1-3/+1
default_value defaults to nullptr.
2015-06-26fs/Glob: remove GLib implementationMax Kellermann1-19/+0
I suppose there is no non-WIN32 operating system that doesn't have fnmatch(). So let's remove the GLib implementation.
2015-06-25lib/icu/{Converter,Collate}: return AllocatedStringMax Kellermann1-2/+10
2015-06-23fs/NarrowPath: use the WideCharToMultiByte() wrapperMax Kellermann1-14/+16
2015-06-23lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar()Max Kellermann1-28/+8
2015-06-23fs/Path: include cleanupMax Kellermann1-1/+0
2015-06-23fs/Path: use base class StringPointerMax Kellermann2-12/+10
2015-06-23fs/Path: use method c_str() internallyMax Kellermann1-5/+5
2015-06-22fs/Config: remove charset auto-detection via GLibMax Kellermann1-14/+0
The default is always UTF-8.
2015-06-22fs/Charset: hard-code Windows to ACPMax Kellermann3-15/+5
Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP" instead of "UTF-8". Ignore the configuration setting, which had no effect anyway.
2015-06-22fs/Glob: use PathMatchSpec() on WindowsMax Kellermann1-2/+8
2015-06-22fs/Glob: use fnmatch() if availableMax Kellermann1-1/+21
2015-06-22fs/Glob: make constructor "explicit"Max Kellermann1-1/+1
2015-06-22db/update/ExcludeList: move class Pattern to fs/Glob.hxxMax Kellermann1-0/+61
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