Martchus
293b18b607
Mark destructor of NativeFileStream as override
2020-12-18 21:09:35 +01:00
Martchus
5bed21c9d2
Improve NativeFileStream
...
* Expose native file descriptor/handle to be able to
use native APIs like POSIX sendfile()
* Fix using Boost.Iostreams under Windows
* Make it compile
* Workaround issue with append flag
2019-08-13 00:28:25 +02:00
Martchus
b48b2f5c06
Have everything in one top-level namespace
2019-06-10 21:56:46 +02:00
Marius Kittler
132f936c57
Remove workaround for GCC Bug 66145
2019-04-13 20:33:39 +02:00
Marius Kittler
07a74d5fa8
Rename openFromFileDescriptor() to open()
2019-04-13 20:33:39 +02:00
Marius Kittler
4449198711
Remove file handle from NativeFileStream
2019-04-13 20:33:39 +02:00
Martchus
da0cf4ff29
Fix build under Android platform >= 24
...
This alters the ABI but it is ok since with that config
a build was previously impossible anyways.
2019-02-04 00:40:50 +01:00
Martchus
7b04bd8ef5
Fix building NativeFileStream with libc++
...
Note: std::iostream has no default c'tor according to
the standard (although a protected default c'tor is
provided by libstdc++).
2018-10-07 19:13:57 +02:00
Martchus
749eea2ab6
Support NativeFileStream via Boost.Iostreams
...
So it can also be enabled when not using libstdc++.
2018-09-30 13:55:30 +02:00
Martchus
2186ce15d9
Use using instead of typedef
2018-09-16 00:25:16 +02:00
Martchus
5c9a834236
Implement NativeFileStream under Unix/Linux/Android as well
...
* Like the Windows implementation this is disabled by default and
can be enabled via compile-time switch which will affect the ABI.
* Add support for opening a file from a file descriptor.
2018-09-05 00:21:40 +02:00
Martchus
df7a3ee93c
Apply clang-format from LLVM 6
2018-03-24 17:00:30 +01:00
Martchus
db46948f2f
Apply clang-format
2017-05-04 22:44:15 +02:00
Martchus
59e20b1043
Apply clang-format
2017-05-01 03:13:11 +02:00
Martchus
06af1c4a73
Use std::make_unique provided by C++14
2017-02-05 21:00:52 +01:00
Martchus
9d91cfca07
Add NativeFileStream to support unicode filenames under Windows
2016-12-21 00:29:57 +01:00