Max Kellermann
|
31ae50b137
|
fs/io/BufferedReader: add method ReadFull()
|
2016-08-16 08:46:44 +02:00 |
|
Max Kellermann
|
07e58ae64f
|
fs/io/FileReader: add missing include
|
2016-08-16 07:58:44 +02:00 |
|
Max Kellermann
|
a88d18148c
|
fs/io/FileOutputStream: change #if to #ifdef
|
2016-08-16 07:49:30 +02:00 |
|
Max Kellermann
|
1cf43a9dc9
|
fs/io/FileOutputStream: add missing include
|
2016-08-16 07:49:01 +02:00 |
|
Max Kellermann
|
196ce8426b
|
fs/io/FileOutputStream: decouple from the FileSystem library
|
2016-08-15 22:42:44 +02:00 |
|
Max Kellermann
|
6a95c34a81
|
fs/io/FileOutputStream: use C++11 initializers
|
2016-08-15 22:34:53 +02:00 |
|
Max Kellermann
|
ea0e6d9824
|
fs/FileSystem: RemoveFile() throws exception on error
|
2016-08-15 22:25:15 +02:00 |
|
Max Kellermann
|
14d3da0e18
|
fs/FileSystem: remove unused FOpenModes
|
2016-08-15 22:21:34 +02:00 |
|
Max Kellermann
|
2bca3cd247
|
fs/FileSystem: add TruncateFile()
|
2016-08-15 22:13:38 +02:00 |
|
Max Kellermann
|
fc3e0dfcd1
|
fs/AllocatedPath: add method FromUTF8Throw()
|
2016-04-21 14:27:32 +02:00 |
|
Max Kellermann
|
6513ff92a7
|
fs/Charset: throw exception on error
|
2016-04-21 14:23:55 +02:00 |
|
Max Kellermann
|
7530770842
|
fs/AllocatedPath: add FromFS() with pointer range
|
2016-04-21 14:21:24 +02:00 |
|
Max Kellermann
|
11ea72e240
|
fs/AllocatedPath: make constructor "explicit"
|
2016-04-21 14:20:56 +02:00 |
|
Max Kellermann
|
bec6fa4ad7
|
lib/icu/Converter: throw exception on error
|
2016-04-21 14:03:27 +02:00 |
|
Max Kellermann
|
b9f535cd49
|
lib/icu/Win32: throw exception on error
|
2016-04-21 10:15:40 +02:00 |
|
Max Kellermann
|
01b68db30e
|
lib/icu/Converter: Create() throws exception on error
|
2016-04-13 10:04:19 +02:00 |
|
Max Kellermann
|
9b85446808
|
util/StringPointer: rename typedef pointer to pointer_type
|
2016-04-12 22:53:06 +02:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
98bd4dfe04
|
fs/io/FileReader: add method Skip()
|
2016-02-19 18:18:25 +01:00 |
|
Max Kellermann
|
f3503e0026
|
fs/DirectoryReader: use C++ exceptions instead of class Error
|
2015-12-29 12:56:26 +01:00 |
|
Max Kellermann
|
826a654c95
|
fs/DirectoryReader: use C++11 initializer
|
2015-12-29 12:56:26 +01:00 |
|
Max Kellermann
|
e6e7d6dbd6
|
fs/io/Reader: use C++ exceptions instead of class Error
|
2015-12-18 01:08:16 +01:00 |
|
Max Kellermann
|
e4a06da14e
|
fs/io/OutputStream: use C++ exceptions in Write()
|
2015-12-16 10:24:43 +01:00 |
|
Max Kellermann
|
36d6ead65c
|
fs/io/GzipOutputStream: use C++ exceptions in constructor
|
2015-12-16 10:14:56 +01:00 |
|
Max Kellermann
|
7eae3bc8c5
|
fs/io/FileOutputStream: use C++ exceptions in Commit()
|
2015-12-16 00:33:33 +01:00 |
|
Max Kellermann
|
24b2198668
|
fs/io/FileOutputStream: use C++ exceptions in constructor
|
2015-12-16 00:33:30 +01:00 |
|
Max Kellermann
|
733989a284
|
util/StringUtil: move comparison functions to StringCompare.cxx
|
2015-11-06 09:20:18 +01:00 |
|
Max Kellermann
|
38e86af75c
|
fs/Traits: use StringAfterPrefix() in Relative()
|
2015-10-19 10:56:13 +02:00 |
|
Max Kellermann
|
3fa4dad418
|
lib/icu/Converter: remove GLib implementation
We don't need this anymore: Win32 doesn't use this library at all, and
everything else has either iconv() or libicu.
|
2015-06-26 16:51:18 +02:00 |
|
Max Kellermann
|
0756607e32
|
lib/icu/Converter: add iconv() implementation
|
2015-06-26 16:49:25 +02:00 |
|
Max Kellermann
|
58996b841a
|
config/Global: allow calling config_get_string() with one argument
default_value defaults to nullptr.
|
2015-06-26 08:06:40 +02:00 |
|
Max Kellermann
|
2a086d20c6
|
fs/Glob: remove GLib implementation
I suppose there is no non-WIN32 operating system that doesn't have
fnmatch(). So let's remove the GLib implementation.
|
2015-06-26 07:56:34 +02:00 |
|
Max Kellermann
|
8d11577ff2
|
lib/icu/{Converter,Collate}: return AllocatedString
|
2015-06-25 23:44:16 +02:00 |
|
Max Kellermann
|
d551d40886
|
fs/NarrowPath: use the WideCharToMultiByte() wrapper
|
2015-06-23 13:20:11 +02:00 |
|
Max Kellermann
|
aecfcaa8a2
|
lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar()
|
2015-06-23 13:20:11 +02:00 |
|
Max Kellermann
|
d814a01f2a
|
fs/Path: include cleanup
|
2015-06-23 12:35:13 +02:00 |
|
Max Kellermann
|
4c0916df79
|
fs/Path: use base class StringPointer
|
2015-06-23 12:34:45 +02:00 |
|
Max Kellermann
|
60aa8c527b
|
fs/Path: use method c_str() internally
|
2015-06-23 12:34:43 +02:00 |
|
Max Kellermann
|
9f7c3b8ea6
|
fs/Config: remove charset auto-detection via GLib
The default is always UTF-8.
|
2015-06-22 22:35:54 +02:00 |
|
Max Kellermann
|
73bd6af0f9
|
fs/Charset: hard-code Windows to ACP
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-22 22:20:10 +02:00 |
|
Max Kellermann
|
2aa54c5365
|
fs/Glob: use PathMatchSpec() on Windows
|
2015-06-22 22:12:08 +02:00 |
|
Max Kellermann
|
bc8542503d
|
fs/Glob: use fnmatch() if available
|
2015-06-22 22:12:08 +02:00 |
|
Max Kellermann
|
a6aea4ba58
|
fs/Glob: make constructor "explicit"
|
2015-06-22 22:12:08 +02:00 |
|
Max Kellermann
|
50eac9b49e
|
db/update/ExcludeList: move class Pattern to fs/Glob.hxx
|
2015-06-22 22:12:08 +02:00 |
|
Max Kellermann
|
cfd26f53f0
|
fs/io/FileOutputStream: fix wrong #ifdef WIN32
|
2015-03-25 17:28:27 +01:00 |
|
Max Kellermann
|
7f3518333d
|
Mapper: don't use C-style prototypes
|
2015-03-24 22:03:17 +01:00 |
|
Max Kellermann
|
f1f871f103
|
fs/io/FileOutputStream: add method Tell()
|
2015-03-24 22:00:10 +01:00 |
|
Max Kellermann
|
6387b52896
|
fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctor
|
2015-03-24 21:59:34 +01:00 |
|
Max Kellermann
|
7f6e1fbc8d
|
fs/io/FileOutputStream: add class AppendFileOutputStream
|
2015-03-23 22:51:33 +01:00 |
|