5
5
[ ![ Build Status] ( https://api.cirrus-ci.com/github/gulrak/filesystem.svg?branch=master )] ( https://cirrus-ci.com/github/gulrak/filesystem )
6
6
[ ![ Build Status] ( https://cloud.drone.io/api/badges/gulrak/filesystem/status.svg?ref=refs/heads/master )] ( https://cloud.drone.io/gulrak/filesystem )
7
7
[ ![ Coverage Status] ( https://coveralls.io/repos/github/gulrak/filesystem/badge.svg?branch=master )] ( https://coveralls.io/github/gulrak/filesystem?branch=master )
8
- [ ![ Latest Release Tag] ( https://img.shields.io/github/tag/gulrak/filesystem.svg )] ( https://github.com/gulrak/filesystem/tree/v1.5.10 )
8
+ [ ![ Latest Release Tag] ( https://img.shields.io/github/tag/gulrak/filesystem.svg )] ( https://github.com/gulrak/filesystem/tree/v1.5.12 )
9
9
10
10
- [ Filesystem] ( #filesystem )
11
11
- [ Motivation] ( #motivation )
39
39
This is a header-only single-file ` std::filesystem ` compatible helper library,
40
40
based on the C++17 and C++20 specs, but implemented for C++11, C++14, C++17 or C++20
41
41
(tightly following the C++17 standard with very few documented exceptions). It is currently tested on
42
- macOS 10.12/10.14/10.15/11.6, Windows 10, Ubuntu 18.04, Ubuntu 20.04, CentOS 7, CentOS 8, FreeBSD 12
43
- and Alpine ARM/ARM64 Linux but should work on other systems too, as long as you have
42
+ macOS 10.12/10.14/10.15/11.6, Windows 10, Ubuntu 18.04, Ubuntu 20.04, CentOS 7, CentOS 8, FreeBSD 12,
43
+ Alpine ARM/ARM64 Linux and Solaris 10 but should work on other systems too, as long as you have
44
44
at least a C++11 compatible compiler. It should work with Android NDK, Emscripten and I even
45
45
had reports of it being used on iOS (within sandboxing constraints) and with v1.5.6 there
46
46
is experimental support for QNX. The support of Android NDK, Emscripten and QNX is not
@@ -87,15 +87,15 @@ to do with Haskell**, sorry for the name clash).
87
87
## Platforms
88
88
89
89
` ghc::filesystem ` is developed on macOS but CI tested on macOS, Windows,
90
- various Linux Distributions and FreeBSD. It should work on any of these with a C++11-capable
91
- compiler. Also there are some checks to hopefully better work on Android, but
92
- as I currently don't test with the Android NDK, I wouldn 't call it a
93
- supported platform yet, same is valid for using it with Emscripten. It is now
94
- part of the detected platforms, I fixed the obvious issues and ran some tests with
95
- it, so it should be fine. All in all, I don't see it replacing ` std::filesystem `
96
- where full C++17 or C++20 is available, it doesn't try to be a "better"
97
- ` std::filesystem ` , just an almost drop-in if you can't use it (with the exception
98
- of the UTF-8 preference).
90
+ various Linux Distributions, FreeBSD and starting with v1.5.12 on Solaris.
91
+ It should work on any of these with a C++11-capable compiler. Also there are some
92
+ checks to hopefully better work on Android, but as I currently don 't test with the
93
+ Android NDK, I wouldn't call it a supported platform yet, same is valid for using
94
+ it with Emscripten. It is now part of the detected platforms, I fixed the obvious
95
+ issues and ran some tests with it, so it should be fine. All in all, I don't see it
96
+ replacing ` std::filesystem ` where full C++17 or C++20 is available, it doesn't try
97
+ to be a "better" ` std::filesystem ` , just an almost drop-in if you can't use it
98
+ (with the exception of the UTF-8 preference).
99
99
100
100
:information_source : ** Important:** _ This implementation is following the [ "UTF-8 Everywhere" philosophy] ( https://utf8everywhere.org/ ) in that all
101
101
` std::string ` instances will be interpreted the same as ` std::u8string ` encoding
@@ -109,6 +109,7 @@ Unit tests are currently run with:
109
109
* Linux (Ubuntu): GCC (5.5, 6.5, 7.4, 8.3, 9.2), Clang (5.0, 6.0, 7.1, 8.0, 9.0)
110
110
* Linux (Alpine ARM/ARM64): GCC 9.2.0
111
111
* FreeBSD: Clang 8.0
112
+ * Solaris: GCC 5.5
112
113
113
114
114
115
## Tests
@@ -148,8 +149,8 @@ in the standard, and there might be issues in these implementations too.
148
149
149
150
### Downloads
150
151
151
- The latest release version is [ v1.5.10 ] ( https://github.com/gulrak/filesystem/tree/v1.5.10 ) and
152
- source archives can be found [ here] ( https://github.com/gulrak/filesystem/releases/tag/v1.5.10 ) .
152
+ The latest release version is [ v1.5.12 ] ( https://github.com/gulrak/filesystem/tree/v1.5.12 ) and
153
+ source archives can be found [ here] ( https://github.com/gulrak/filesystem/releases/tag/v1.5.12 ) .
153
154
154
155
The latest pre-native-backend version is [ v1.4.0] ( https://github.com/gulrak/filesystem/tree/v1.4.0 ) and
155
156
source archives can be found [ here] ( https://github.com/gulrak/filesystem/releases/tag/v1.4.0 ) .
@@ -583,11 +584,13 @@ to the expected behavior.
583
584
584
585
## Release Notes
585
586
586
- ### v1.5.11 (WIP )
587
+ ### [ v1.5.12](https://github.com/gulrak/filesystem/releases/tag/v1.5.12 )
587
588
588
589
* Fix for [#142](https://github.com/gulrak/filesystem/issues/142), removed need
589
590
for `GHC_NO_DIRENT_D_TYPE` on systems that don't support `dirent::d_type` and
590
591
fixed build configuration and tests to support Solaris as new platform.
592
+ * Pull request [#138](https://github.com/gulrak/filesystem/pull/138), if the
593
+ platform uses the POSIX backend and has no `PATH_MAX`, one is defined.
591
594
* Pull request [#137](https://github.com/gulrak/filesystem/pull/137), update
592
595
of Catch2 to version v2.13.7
593
596
* Added macOS 11 to the automatically tested platforms.
0 commit comments