Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util/StringUtil: move comparison functions to StringCompare.cxx | Max Kellermann | 2015-11-06 | 2 | -1/+2 |
| | |||||
* | fs/Traits: use StringAfterPrefix() in Relative() | Max Kellermann | 2015-10-19 | 1 | -3/+3 |
| | |||||
* | lib/icu/Converter: remove GLib implementation | Max Kellermann | 2015-06-26 | 1 | -1/+1 |
| | | | | | We don't need this anymore: Win32 doesn't use this library at all, and everything else has either iconv() or libicu. | ||||
* | lib/icu/Converter: add iconv() implementation | Max Kellermann | 2015-06-26 | 1 | -1/+1 |
| | |||||
* | config/Global: allow calling config_get_string() with one argument | Max Kellermann | 2015-06-26 | 1 | -3/+1 |
| | | | | default_value defaults to nullptr. | ||||
* | fs/Glob: remove GLib implementation | Max Kellermann | 2015-06-26 | 1 | -19/+0 |
| | | | | | I suppose there is no non-WIN32 operating system that doesn't have fnmatch(). So let's remove the GLib implementation. | ||||
* | lib/icu/{Converter,Collate}: return AllocatedString | Max Kellermann | 2015-06-25 | 1 | -2/+10 |
| | |||||
* | fs/NarrowPath: use the WideCharToMultiByte() wrapper | Max Kellermann | 2015-06-23 | 1 | -14/+16 |
| | |||||
* | lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar() | Max Kellermann | 2015-06-23 | 1 | -28/+8 |
| | |||||
* | fs/Path: include cleanup | Max Kellermann | 2015-06-23 | 1 | -1/+0 |
| | |||||
* | fs/Path: use base class StringPointer | Max Kellermann | 2015-06-23 | 2 | -12/+10 |
| | |||||
* | fs/Path: use method c_str() internally | Max Kellermann | 2015-06-23 | 1 | -5/+5 |
| | |||||
* | fs/Config: remove charset auto-detection via GLib | Max Kellermann | 2015-06-22 | 1 | -14/+0 |
| | | | | The default is always UTF-8. | ||||
* | fs/Charset: hard-code Windows to ACP | Max Kellermann | 2015-06-22 | 3 | -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. | ||||
* | 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 |
| |