123 Commits

Author SHA1 Message Date
Steffen Schümann
38f91bd470 last_write_time() now consistently follows symlinks and respects timestamps (#207) 2026-07-12 12:02:18 +02:00
Steffen Schümann
9a98ce0d2b Add GHC_FILESYSTEM_FWD_TEST check in filesystem tests 2026-07-12 11:23:18 +02:00
Steffen Schümann
442d95aa41 Handle Windows unknown error codes safely in systemErrorText (#206) 2026-07-12 10:47:39 +02:00
Steffen Schümann
998d93cdf4 copy_file() handls non-regular sources with error reporting (#205) 2026-07-12 10:06:11 +02:00
Steffen Schümann
831d54a21d Squashed commit of the following:
commit a6aab92fb26c569d8fcf417d903601a3b3d4ce6f
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Jul 11 23:04:57 2026 +0200

    Refine `weakly_canonical` test to validate error codes and handle invalid paths more robustly.

commit 21b931bd977608fcdcb1ae79aaf4383ffdae517c
Merge: 48a868a 134f5e6
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Jul 11 22:11:16 2026 +0200

    Merge branch 'master' into feature-204-weakly-canonical-ignores-errors

commit 48a868a11a69ac174f9ec2eacc5ac78bd72b6ef3
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Jul 11 21:48:57 2026 +0200

    Propagate `weakly_canonical()` component lookup errors and improve error handling in filesystem tests (#204)
2026-07-12 00:00:06 +02:00
Steffen Schümann
58c373188b Add support for device UNC paths in canonical() (#171) 2026-07-11 20:40:28 +02:00
Steffen Schümann
730589f53e Squashed commit of the following:
commit 333fc89c7d3f8962d7bc1025565c27e046f28e28
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Jul 11 18:37:05 2026 +0200

    Removed extra tests that were added but unrelated to the fix.

commit 542f355853fcae25e788c4514fe57494200797ce
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Jul 11 18:29:40 2026 +0200

    lexically_normal() preserves IPv6 components in device UNC paths (#170)
2026-07-11 20:18:58 +02:00
Steffen Schümann
4d2f630892 Fix appending to host-only UNC paths by inserting missing separator (#191) 2026-07-11 16:09:44 +02:00
Steffen Schümann
87157acd6c Fix lexically_normal() to correctly preserve unresolved parent components in relative paths 2026-07-11 09:58:07 +02:00
Steffen Schümann
79ce44f0a6 Define CATCH_CONFIG_NO_COUNTER across tests to disable Catch2's counter feature for broader compiler support. 2026-07-10 17:19:17 +02: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
Steffen Schuemann
e5ae1bd3e3 refs #166, ".." does not have extension ." 2023-05-17 07:18:52 +02: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
7da9be91c9 test for permission copying 2023-03-03 23:42:44 +01:00
Steffen Schuemann
efc077f553 refs #156: Windows path handling artifact bled into POSIX 2023-03-02 08:20:18 +01:00
Steffen Schuemann
91e71f7f54 refs #142, solaris support for tests
Took 51 minutes
2022-04-02 13:47:16 +02:00
Владислав Щапов
1f3943b1c4 Fix ghc::filesystem::remove_all behavior if argument is symlink 2021-09-23 00:55:09 +05:00
Steffen Schümann
15e814e820 refs #125, fix broken windows long path test and broken create_directories with prefixed long paths 2021-06-10 01:21:07 +02:00
Steffen Schuemann
e402bad9b8 Merge branch 'master' of github.com:gulrak/filesystem 2021-05-23 16:31:57 +02:00
Steffen Schümann
51d62f88bb Fix for merge error and failing impl_test compile. 2021-05-23 16:27:54 +02:00
Steffen Schuemann
231b64fec0 Merge branch 'feature-122-recursive-iterator-follows-dead-symlinks'
# Conflicts:
#	README.md
2021-05-23 16:21:08 +02:00
Steffen Schümann
a697b05dd7 refs #121, allow fs::remove on read-only entries in windows too 2021-05-23 10:53:58 +02:00
Steffen Schümann
7e009bcf6f refs #122: added test that iterates over dead symlinks 2021-05-22 06:37:52 +02:00
Steffen Schuemann
37442cc5ea refs #119, add additional tests and missing character literal types support 2021-05-02 01:46:08 +02:00
gulrak
134dffdcbd
Merge pull request #117 from phprus/gcc-libstdcxx-version
libstdc++ version check.
2021-04-26 18:43:57 +02:00
Владислав Щапов
22d1133ea5 Disable some tests if running on root. 2021-04-24 01:41:07 +05:00
Владислав Щапов
b9faee7f5d libstdc++ version check. 2021-04-24 01:08:48 +05:00
Steffen Schuemann
494e751709 refs #113, removed square brackets from test names to fix ctest/catch2 issue 2021-03-27 14:26:55 +01:00
Steffen Schuemann
76c3966df4 refs #113, switched to tag based comments and test names instead of C++17 paragraph numbers to become more standard version agnostic 2021-03-27 09:22:04 +01:00
Владислав Щапов
f98478c33b Enabled wchar_t path Source on UNIX 2021-02-21 21:57:27 +05:00
Владислав Щапов
b78b0239a3 Improved string_view support 2021-02-17 18:41:26 +05:00
Steffen Schuemann
31ea91b7bd refs #97, signed/unsigned warning in test 2021-02-13 05:47:37 +01:00
Steffen Schuemann
57f3186ee2 refs #97, on posix backend hard links tests are now validated against lstat result to support results from btrfs 2021-02-13 05:08:24 +01:00
Steffen Schuemann
967c563d07 Merge remote-tracking branch 'origin/feature-90-native-format-backend' 2021-02-07 11:57:55 +01:00
Steffen Schuemann
05f0aa8ae1 refs #89, fixing some test code issues 2021-02-07 09:59:06 +01:00
Steffen Schuemann
4944a87e18 refs #90, additional compile issue fixes 2021-01-31 13:04:14 +01:00
Steffen Schümann
c96b0059c3 refs #90, native path backend - stage two, prefix handling repaired and configurable, all tests working on Windows (wchar_t backend will be stage 3) 2021-01-31 11:39:48 +01:00
Steffen Schuemann
973abff4b9 refs #89, added operator==() to fs::file_status 2021-01-21 19:01:42 +01:00
Steffen Schümann
06433ccb3c refs #71, fixing windows u8 literal test issue 2020-12-30 11:33:15 +01:00
Steffen Schuemann
45d36a8e19 refs #71, work on compilation issues on Windows 2020-12-28 01:07:16 +01:00
Steffen Schuemann
b3451220ca refs #71, work on c++20 api changes 2020-12-27 02:20:55 +01:00
Steffen Schuemann
d2100b431f refs #71, restarted wip on C++20 support 2020-12-27 00:03:57 +01:00
Steffen Schuemann
0962f46650 refs #81, remove usage of string_view literal due to vs2017 issue 2020-12-26 16:57:13 +01:00
Steffen Schuemann
eef2c2ba55 refs #81, work on incomplete string_view support when using c++17 2020-12-26 15:14:32 +01:00
Steffen Schuemann
10e0da40bc refs #79, constexpr on non-assigning bitmask operations 2020-11-17 07:57:25 +01:00
Steffen Schümann
b3f9635581 refs #75, fix for shadow warning in test 2020-11-09 09:09:43 +01:00
Steffen Schümann
b6dd2cd0f1 refs #75, more testing of windows path variants 2020-11-08 18:27:52 +01:00
Steffen Schümann
3fd3482559 refs #75, fix for windows path filtering on namespaces 2020-11-08 11:12:07 +01:00