From 3d3c02ce35dcc68b5ebb34f21cb1fc507be9a66e Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sun, 7 Feb 2021 14:07:06 +0100 Subject: [PATCH] Version bump and updated readme. --- README.md | 23 ++++++++++++++--------- include/ghc/filesystem.hpp | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 25c3439..1bbb0fa 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Build Status](https://api.cirrus-ci.com/github/gulrak/filesystem.svg?branch=master)](https://cirrus-ci.com/github/gulrak/filesystem) [![Build Status](https://cloud.drone.io/api/badges/gulrak/filesystem/status.svg?ref=refs/heads/master)](https://cloud.drone.io/gulrak/filesystem) [![Coverage Status](https://coveralls.io/repos/github/gulrak/filesystem/badge.svg?branch=master)](https://coveralls.io/github/gulrak/filesystem?branch=master) -[![Latest Release Tag](https://img.shields.io/github/tag/gulrak/filesystem.svg)](https://github.com/gulrak/filesystem/tree/v1.4.0) +[![Latest Release Tag](https://img.shields.io/github/tag/gulrak/filesystem.svg)](https://github.com/gulrak/filesystem/tree/v1.5.0) # Filesystem @@ -115,10 +115,13 @@ in the standard, and there might be issues in these implementations too. ### Downloads -The latest release version is [v1.4.0](https://github.com/gulrak/filesystem/tree/v1.4.0) and +The latest release version is [v1.5.0](https://github.com/gulrak/filesystem/tree/v1.5.0) and +source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.5.0). + +The latest pre-native-backend version is [v1.4.0](https://github.com/gulrak/filesystem/tree/v1.4.0) and source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.4.0). -The latest pre-C++20 release version is [v1.3.10](https://github.com/gulrak/filesystem/tree/v1.3.10) and +The latest pre-C++20-support release version is [v1.3.10](https://github.com/gulrak/filesystem/tree/v1.3.10) and source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.3.10). @@ -453,11 +456,13 @@ Any additional observations are welcome! #### fs.path ([ref](https://en.cppreference.com/w/cpp/filesystem/path)) -As the complete inner mechanics of this implementation `fs::path` are working -on the generic format, it is the internal representation. So creating any mixed -slash `fs::path` object under Windows (e.g. with `"C:\foo/bar"`) will lead to a -unified path with `"C:\foo\bar"` via `native()` and `"C:/foo/bar"` via -`generic_string()` API. +Since v1.5.0 the complete inner mechanics of this implementations `fs::path` +where changed to the _native_ format as the internal representation. +Creating any mixed slash `fs::path` object under Windows (e.g. with `"C:\foo/bar"`) +will lead clean path with `"C:\foo\bar"` via `native()` and `"C:/foo/bar"` via +`generic_string()` API. On all platforms redundant additional separators are +removed, even if this is not enforced by the standard and other implementations +mostly not do this. Additionally this implementation follows the standards suggestion to handle posix paths of the form `"//host/path"` and USC path on windows also as having @@ -504,7 +509,7 @@ to the expected behavior. ## Release Notes -### v1.5.0 (WIP) +### [v1.5.0](https://github.com/gulrak/filesystem/releases/tag/v1.5.0) * Fix for [#91](https://github.com/gulrak/filesystem/issues/91), the way the CMake build options `GHC_FILESYSTEM_BUILD_TESTING`, `GHC_FILESYSTEM_BUILD_EXAMPLES` diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index edfc932..913c36d 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -245,7 +245,7 @@ //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch) -#define GHC_FILESYSTEM_VERSION 10499L +#define GHC_FILESYSTEM_VERSION 10500L #if !defined(GHC_WITH_EXCEPTIONS) && (defined(__EXCEPTIONS) || defined(__cpp_exceptions) || defined(_CPPUNWIND)) #define GHC_WITH_EXCEPTIONS