std::filesystem Implementation Corner Cases, part 2

2020-02-08 23:30
A [question on StackOverflow](https://stackoverflow.com/questions/60130796/return-value-of-stdfilesystemcreate-directories-on-paths-with-trailing-sla) was pointing at another corner case where the current implementations of std::filesystem differ, it is about the handling of a trailing directory seperator when calling `std::filesystem::create_directories()`. Read more...

ghc::filesystem Release v1.3.0

2020-02-08 19:30
Today I released [v1.3.0](https://github.com/gulrak/filesystem/releases/tag/v1.3.0) of [`ghc::filesystem`](https://github.com/gulrak/filesystem), my implementation of C++17 [`std::filesystem`](https://en.cppreference.com/w/cpp/filesystem) for C++11, C++14 and C++17.

The main reasong for this release is the switch from BSD-3-Clause license to the MIT license.

I originally decided on BSD because of the detailed clauses it features, to make things clear, but it was not an easy decision at that time, but I had to pick one.

About a week ago I was asked if it would be possible to use MIT license and at first I was against a change, but I thought about it and decided a even ore liberal license would give more projects the chance to use it, so my only concern left was, if I would be able to reach all contributors and if they would agree to the license change.

I was amazed to see, all anserwed in just a few days and all agreed so they made the decision an easy one for me.

Read more...

std::filesystem Implementation Corner Cases

2019-12-22 13:24
On this years [Meeting C++](https://meetingcpp.com/2019/) I had the chance to talk with a lot of people and it was very inspirational. With some I talked about [ghc::filesystem](https://github.com/gulrak/filesystem), my implementation of a C++17 `std::filesystem` compatible library. Part of this discussions was about some corner cases I found during my tests, and I was trying to remember the details when I was having the chance to talk to [@NicoJosuttis](https://twitter.com/NicoJosuttis). He among others was interested in these issues, as they might be rooted in unclear passages of the standard. Read more...

ghc::filesystem Release v1.2.10

2019-11-24 16:42
Today I released the bugfix release [v1.2.10](https://github.com/gulrak/filesystem/releases/tag/v1.2.10) of [`ghc::filesystem`](https://github.com/gulrak/filesystem), my implementation of C++17 [`std::filesystem`](https://en.cppreference.com/w/cpp/filesystem) for C++11, C++14 and C++17. There were some issues, all on the Windows part, so it was time to fix them with a release.

While at it, I updated the CI configuration files to add newer compilers and the set used for CI and tests is now:

  • macOS 10.12: Xcode 9.2 (clang-900.0.39.2), GCC 9.2, Clang 9.0, macOS 10.13: Xcode 10.1, macOS 10.14: Xcode 11.2
  • Windows: Visual Studio 2017, Visual Studio 2015, Visual Studio 2019, MinGW GCC 6.3 (Win32), GCC 7.2 (Win64)
  • Linux (Ubuntu): GCC (5.5, 6.5, 7.4, 8.3, 9.2), Clang (5.0, 6.0, 7.1, 8.0, 9.0)
Read more...

ghc::filesystem Release v1.2.8

2019-11-15 09:10
During these days I'm on the [Meeting C++ 2019](https://meetingcpp.com/2019/) and so far it is a great event. This morning before leaving my hotel, I used the inspirational spirit and released v1.2.8 of [`ghc::filesystem`](https://github.com/gulrak/filesystem). This is mostly a bugfix release, but there is a new CMake option to select wether or not an install target should be added to the build files.

Additionally, five pull requests found their way into this release, and I want to thank the supporters for their work.

Read more...