Darryl Pogue
f08e8b0064
Check macros are defined before use
...
This resolves warnings when compiling with -wundef (and errors when
combined with -werror).
2025-01-04 21:45:29 -08:00
Steffen Schuemann
b1982f06c8
work on ci scripts
2024-04-27 12:20:18 +02:00
Steffen Schuemann
fbc5d213fc
work on ci scripts
2024-04-27 12:07:57 +02:00
Steffen Schuemann
72a03b3c6d
work on ci scripts
2024-04-27 12:00:20 +02:00
Steffen Schuemann
9fe68b91c7
work on ci scripts
2024-04-27 10:41:56 +02:00
Steffen Schuemann
56776c92f7
work on ci scripts
2024-04-27 09:58:19 +02:00
gulrak
42ea4fc615
Merge pull request #179 from vgeorgiev/lexically_relative_fix
...
Fix lexically_relative return when base path evaluates to *this
2024-02-29 07:55:33 +01:00
vgeorgiev
eeed314237
Fix handling of trailing slash
2024-02-21 17:55:00 -06:00
vgeorgiev
768b5cb11b
Fix lexically_relative return when base path evaluates to *this
2024-02-21 11:07:19 -06:00
gulrak
2fc4b46375
Merge pull request #177 from noexcept/master
...
fix infinite loop when errno is EINTR
2024-01-01 21:48:11 +01:00
noexcept
fc19b58459
fix infinite loop when errno is EINTR
2023-12-20 11:56:57 +00:00
gulrak
f19cbbbd31
Merge pull request #176 from cpsauer/patch-1
...
Add reference to Bazel rules
2023-11-16 18:08:10 +01:00
Chris Sauer
0ef214a7a0
Add reference to Bazel rules
2023-11-15 14:18:03 -08:00
gulrak
fcea331ebb
Merge pull request #174 from bugdea1er/remove-debug-info
...
Removed debug information from CMakeLists.txt
2023-09-16 10:11:14 +02:00
gulrak
1ab54e53cc
Merge pull request #172 from rikyoz/glibcxx_wchar_streams
...
Allow wchar_t constructors of fstreams on Windows when using libstdc++
2023-09-16 10:09:38 +02:00
bugdea1er
58e983167c
Removed debug information from CMakeLists.txt
2023-09-11 14:54:59 +03:00
Oz
c4683aa4a1
Allow wchar_t constructors of iostreams on Windows when using libstdc++
2023-09-05 09:00:51 +02:00
gulrak
144954ff4e
Merge pull request #167 from cpsauer/dynamic-selection-more-apple-platforms
2023-07-30 19:40:45 +02:00
Chris Sauer
48d46cccef
Improve apple conditionals in filesystem.hpp
...
Two changes:
- (minor) Rename GHC_OS_MACOS -> GHC_OS_APPLE, since it is defined all apple platforms (iOS, watchOS, etc.), not just macOS.
- Changed the preprocessor conditional in last_write_time to align with its presumed intent. Previously, it would always have been true, which can't be intentional, because the *_OS_VERSION_MIN_REQUIRED is undefined and thus zero for platforms besides the current one, and therefore less than the constants--except for on very old SDKs where, e.g., MAC_OS_X_VERSION_10_13 and others would be undefined and therefore 0 and therefore making the clause false when it needed to be true. Therefore, I changed the conditions to be parallel to those in the dynamic selection headers, checking for the undefined, zero case and hardcoding the version values to support old SDKs.
2023-07-26 23:07:09 -07:00
Chris Sauer
23710d3b56
Remove conditional inclusion snippet in filesystem.hpp
...
Reduces duplication and tendency to get out of sync.
As evidence of the problem, the snippet had previously (before this PR) started to diverge. It seemed more prudent to delete than to fix, given the usage instructions seem to be centralized in the readme and the dynamic selection headers should probably be recommended anyway.
2023-07-26 21:56:08 -07:00
Chris Sauer
64f9c5a61a
Switch internal includes to quoted relative
...
This makes project integration more flexible, allowing the drag-contents-of-directory project integration contemplated in the readme and allowing use via -iquote
2023-07-26 21:40:38 -07:00
Chris Sauer
a55c96a2ba
Minor: seperated typo
2023-07-26 21:28:52 -07:00
Chris Sauer
aaaf381d9d
Improvements to preprocessor conditions for falling back to std::filesystem
...
- Supports more Apple platforms, including future ones, which will always support std::filesystem, like with visionOS
- Simplifies cases. Undefined preprocessor values are guaranteed to default evaluate to 0
- Moves <Availability.h> include inside conditional, avoiding the include where not needed.
- Removes reference to wchar for std headers on windows, which seemed to be out of date, since the define it might have been referring to was commented
- (And some other small things.)
2023-07-26 21:26:33 -07:00
Steffen Schuemann
72a76d774e
head version bumped to wip version
2023-05-18 10:39:25 +02:00
Steffen Schuemann
e5ae1bd3e3
refs #166 , ".." does not have extension ."
2023-05-17 07:18:52 +02:00
Steffen Schuemann
8a2edd6d92
Version bump to v1.5.14
v1.5.14
2023-03-05 13:06:50 +01:00
gulrak
e9e32f8830
Merge pull request #161 from stilllman/cmake-alias-target
...
[cmake] Define alias ghcFilesystem::ghc_filesystem unconditionally
2023-03-05 12:22:04 +01:00
gulrak
9f61ee0eb5
Merge branch 'master' into cmake-alias-target
2023-03-05 11:17:55 +01:00
Steffen Schuemann
d1f0d79054
updated README.md
2023-03-04 16:42:22 +01:00
Steffen Schuemann
61176cd82a
Merge branch 'feature-146-added-EINTR-handling'
2023-03-04 16:39:33 +01:00
Steffen Schuemann
78b746d901
update README.md
2023-03-04 15:19:18 +01:00
Steffen Schuemann
9df22d5396
refs #157 , suppress unavoidable warning at cast for GetProcAddress on MSVC
2023-03-04 15:17:13 +01:00
Steffen Schuemann
9ffca3839f
Updated README.md
2023-03-04 12:52:41 +01:00
Steffen Schuemann
2a81c2c355
refs #160 , only enable install target by default if not subproject as documented
2023-03-04 12:43:22 +01:00
Steffen Schuemann
e3341b2f64
refs #146 , fix mingw build issue
2023-03-04 12:03:12 +01:00
Steffen Schuemann
6a94e84da4
refs #151 , stop throwing on fs: 🇩🇪 :refresh for broken symlinks, and added test
2023-03-04 09:59:16 +01:00
Steffen Schuemann
a7a6d930fb
Updated README.md
2023-03-03 23:43:08 +01:00
Steffen Schuemann
7da9be91c9
test for permission copying
2023-03-03 23:42:44 +01:00
gulrak
e6b34e29bf
Merge pull request #149 from dvzrv/declare_version
...
Declare and export version from CMake
2023-03-03 17:49:35 +01:00
gulrak
b1ff2ce95e
Changed version to in-between releases version 1.5.13
...
As the master version is on that number it avoids confusion.
2023-03-03 17:48:35 +01:00
gulrak
3afbd9c315
Merge pull request #144 from actboy168/patch-2
...
copy_file also copies permissions
2023-03-03 17:35:47 +01:00
gulrak
de64decd91
Merge pull request #143 from actboy168/patch-1
...
Fixes skip_existing on fs::copy
2023-03-03 17:31:15 +01:00
gulrak
f3c1058928
Update CMakeLists.txt
...
The projects compatibility rule is that minor changes can be api changes, so I changed it to SameMinorVersion.
2023-03-03 06:53:13 +01:00
Steffen Schuemann
f3033c29fb
refs #146 , added EINTR handling to directory iteration and file copying
2023-03-03 06:44:58 +01:00
Steffen Schuemann
4041174f96
Disabled the defunct drone build.
2023-03-02 19:46:12 +01:00
Steffen Schuemann
c8113e14b1
Updated readme, bumped to wip version as preparation of upcoming release.
2023-03-02 19:19:22 +01:00
Steffen Schuemann
b6d302f5b9
Merge branch 'feature-156-posix-issue-stem-filename-extension'
2023-03-02 19:01:15 +01:00
Steffen Schuemann
efc077f553
refs #156 : Windows path handling artifact bled into POSIX
2023-03-02 08:20:18 +01:00
gulrak
bc05cc59f4
Merge pull request #163 from Begasus/haiku
...
filesystem.hpp, add support for Haiku
2023-02-20 07:35:34 +01:00
begasus
a9c18e0880
Fix Haiku build
2023-02-19 14:17:05 +01:00