Skip to content

Releases: gulrak/filesystem

ghc::filesystem v1.3.8

15 Nov 21:55
Compare
Choose a tag to compare

Changes:

  • Refactoring for #78, the dynamic switching helper includes are now using __MAC_OS_X_VERSION_MIN_REQUIRED to ensure that std::filesystem is only selected on macOS if the deployment target is at least Catalina.
  • Bugfix for #77, the directory_iterator and the recursive_directory_iterator had an issue with the skip_permission_denied option, that leads to the inability to skip SIP protected folders on macOS.
  • Enhancement for #76, _MSVC_LANG is now used when available, additionally to __cplusplus, in the helping headers to allow them to work even when /Zc:__cplusplus is not used.
  • Bugfix for #75, NTFS reparse points to mapped volumes where handled incorrect, leading to false on fs::exists or not-found-errors on fs::status. Namespaced paths are not filtered anymore.

ghc::filesystem v1.3.6

10 Oct 07:40
Compare
Choose a tag to compare

Changes

  • Pull request #74, on Windows symlink evaluation used the wrong reparse struct information and was not handling the case of relative paths well, thanks for the contribution.
  • Refactoring for #73, enhanced performance in path handling. the changes lead to much fewer path/string creations or copies, speeding up large directory iteration or operations on many path instances.
  • Bugfix for #72, the TestAllocator in filesystem_test.cpp was completed to fulfill the requirements to build on CentOS 7 with devtoolset-9. CentOS 7 and CentOS 8 are now part of the CI builds.
  • Bugfix for #70, root names are now case insensitive on Windows. This fix also adds the new behaviour switch LWG_2936_BEHAVIOUR that allows to enable post C++17 fs::path::compare behaviour, where the comparison is as if it was an element wise path comparison as described in LWG 2936 and C++20 [fs.path.compare]. It is default off in v1.3.6 and will be default starting from v1.4.0 as it changes ordering.

ghc::filesystem v1.3.4

30 Aug 08:00
Compare
Choose a tag to compare
  • Pull request #69, use wchar_t versions of std::fstream from ghc::filesystem::fstream wrappers on Windows if using GCC with libc++.
  • Bugfix for #68, better handling of permission issues for directory iterators when using fs::directory_options::skip_permission_denied and initial support for compilation with emscripten.
  • Refactoring for #66, unneeded shared_ptr guards where removed and the file handles closed where needed to avoid unnecessary allocations.
  • Bugfix for #63, fixed issues on Windows with clang++ and C++17.
  • Pull request #62, various fixes for better Android support, thanks for the PR
  • Pull request #61, ghc::filesystem now supports use in projects with disabled exceptions. API signatures using exceptions for error handling are not available in this mode, thanks for the PR (this resolves #60 and #43)

ghc::filesystem Release v1.3.2

30 Mar 22:04
Compare
Choose a tag to compare
  • Bugfix for #58, on MinGW the compilation could fail with an error about an undefined ERROR_FILE_TOO_LARGE constant.
  • Bugfix for #56, fs::lexically_relative didn't ignore trailing slash on the base parameter, thanks for PR #57.
  • Bugfix for #55, fs::create_directories returned true when nothing needed to be created, because the directory already existed.
  • Bugfix for #54, error_code was not reset, if cached result was returned.
  • Pull request #53, fix for wrong handling of leading whitespace when reading fs::path from a stream.
  • Pull request #52, an ARM Linux target is now part of the CI infrastructure with the service of Drone CI.
  • Pull request #51, FreeBSD is now part of the CI infrastucture with the service of Cirrus CI.
  • Pull request #50, adaptive cast to timespec fields to avoid warnings.
  • Pull Request #49, additional GHC_OS_* target defines for BSD and SYS5R4 systems.
  • Pull request #48, typo fix.

New License Release v1.3.0

08 Feb 18:30
Compare
Choose a tag to compare
  • Important: ghc::filesystem is re-licensed from BSD-3-Clause to MIT license. (see #47)
  • Pull request #46, suppresses unused parameter warning on Android.
  • Bugfix for #44, fixes for warnings from newer Xcode versions.

Bugfix Release v1.2.10

24 Nov 16:01
Compare
Choose a tag to compare
  • The Visual Studio 2019 compiler, GCC 9.2 and Clang 9.0 where added to the CI configuration.
  • Bugfix for #39, fs::rename on Windows didn't replace an axisting regular file as required by the standard, but gave an error. New tests and a fix as provided in the issue was implemented.
  • Bugfix for #39, for the forwarding use via fs_fwd.hpp or fs_std_fwd.hpp der was a use of DWORD in the forwarding part leading to an error if Windows.h was not
    included before the header. The tests were changed to give an error in that case too and the useage of DWORD was removed.
  • Bugfix for #38, casting the return value of GetProcAddress gave a warning with -Wcast-function-type on MSYS2 and MinGW GCC 9 builds.

Bugfix Release v1.2.8

15 Nov 08:06
Compare
Choose a tag to compare
  • Pull request #30, the CMakeLists.txt will automatically exclude building examples and tests when used as submodule, the configuration options now use a prefixed name to
    reduce risk of conflicts.
  • Pull request #24, install target now creates a ghcFilesystemConfig.cmake in ${CMAKE_INSTALL_LIBDIR}/cmake/ghcFilesystem for find_package that
    exports a target as ghcFilesystem::ghc_filesystem.
  • Pull request #31, fixes error: redundant redeclaration of 'constexpr' static data member deprecation warning in C++17 mode.
  • Pull request #32, fixes old-style-cast warnings.
  • Pull request #34, fixes TOCTOU situation on fs::create_directories, thanks for the PR!
  • Feature #35, new CMake option to add an install target GHC_FILESYSTEM_WITH_INSTALL that is defaulted to OFF if ghc::filesystem is used via add_subdirectory.
  • Bugfix for #33, fixes an issue with fs::path::lexically_normal() that leaves a trailing separator in case of a resulting path ending with .. as last element.
  • Bugfix for #36, warings on Xcode 11.2 due to unhelpfull references in path element iteration.

ghc::filesystem Release v1.2.6

21 Sep 15:45
Compare
Choose a tag to compare
  • Pull request #23, tests and examples can now be disabled in CMake via setting BUILD_TESTING and BUILD_EXAMPLES to NO, OFF or FALSE.
  • Pull request #25, missing specialization for construction from std::string_view when available was added.
  • Additional test case when std::string_view is available.
  • Bugfix for #27, the fs::path::preferred_seperator declaration was not compiling on pre C++17 compilers and no test accessed it, to show the problem. Fixed it to an construction C++11 compiler should accept and added a test that is successful on all combinations tested.
  • Bugfix for #29, stricter warning settings where chosen and resulting warnings where fixed.

ghc::filesystem Release v1.2.4

11 Aug 08:18
Compare
Choose a tag to compare
  • Enabled stronger warning switches and resulting fixed issues on GCC and MinGW
  • Bugfix for #22, the fs::copy_options where not forwarded from fs::copy to fs::copy_file in one of the cases.

ghc::filesystem Release v1.2.2

23 Jun 14:47
Compare
Choose a tag to compare
  • Fix for (#21), when compiling on Alpine Linux with musl instead of glibc, the wrong strerror_r signature was expected. The complex preprocessor define mix was dropped in favor of the usual dispatch by overloading a unifying wrapper.