91 Commits

Author SHA1 Message Date
Владислав Щапов
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
Steffen Schümann
2fe72421c5 Merge branch 'feature-70-path-comparison' of https://github.com/gulrak/filesystem into feature-70-path-comparison
# Conflicts:
#	include/ghc/filesystem.hpp
2020-10-06 21:23:13 +02:00
Steffen Schümann
3cd5bc6873 refs #70, fix for non LWG2936 mode and updated readme 2020-10-06 21:17:15 +02:00
Steffen Schuemann
f15dea9695 refs #70, fix for missed issue and mingw errors 2020-10-05 21:59:29 +02:00
Steffen Schümann
56b5e7a174 refs #70, compare windows root names case insensitive, work on LWG 2936 option 2020-10-05 21:24:05 +02:00
Steffen Schuemann
f31b5baac4 refs #72, filesystem_test issues with TestAllocator 2020-09-22 00:31:24 +02:00
Steffen Schuemann
a9302df045 refs #72, ci tesing for centos 2020-09-22 00:09:36 +02:00
Steffen Schuemann
f6e886f999 refs #68, updated readme, fix for failing CI on VS2019. 2020-08-29 20:34:59 +02:00
Steffen Schuemann
a47a874bee refs #68, disabled fs::space test for error case as web environment returns space for the virtual fs even for unexisting paths 2020-08-22 18:16:01 +02:00
Steffen Schuemann
1d41167941 refs #68, experimental support for emscripten 2020-08-20 22:26:56 +02:00
Steffen Schuemann
3f1c185ab4 fixes #63, Squashed commit of the following:
commit fdcb3ce89ba676d3e06b30c18c04e926a775366c
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Thu Apr 9 12:59:13 2020 +0200

    refs #63, fix typo

commit a5cadd2e5060da75315f79971dae56a0e91a8023
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Thu Apr 9 11:45:36 2020 +0200

    refs #63, work on issues with wchar and clang in windows.
2020-04-10 11:26:04 +02:00
Michael M
e3201da883 lexically_relative: ignore trailing slash on base
Previously,

    fs::path("a/b").lexically_relative("a/")

would incorrectly return "../b". Now it returns "b".
2020-03-22 16:26:59 -07:00
Steffen Schuemann
d93ccea812 refs #55, fs::create_directories reported true if it didn't need to create anything. 2020-03-05 06:48:54 +01:00
Steffen Schuemann
0989fd1ca1 Version Bump to v1.3.0, switch to MIT license 2020-02-08 18:22:37 +01:00
Steffen Schuemann
f5bfb98aea minor refactorings and work on ci integration 2019-12-08 13:49:15 +01:00
Steffen Schümann
c37d756a7f refs #41, fs::rename now overwrites existing files on windows, extended tests 2019-11-22 18:48:10 +01:00
Steffen Schümann
5a933d5c52 refs #39, remove DWORD dependency in forwarding mode and change test to trigger an error if there is a dependency to windows.h 2019-11-22 18:46:21 +01:00
gulrak
059b2fab78 Small test cleanup to help ctest. 2019-11-15 08:29:05 +01:00
Steffen Schuemann
cf5188899b refs #33, added test for trailing preferred seperator on last '..' for path::lexically_normal 2019-10-23 22:21:10 +02:00
Steffen Schuemann
fbdee68f21 refs #27, Squashed commit of the following:
commit aabbf8f3d880dcd0aeaa97f014d91d54dfa24ed4
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Sep 21 16:22:25 2019 +0200

    refs #27, ghc::filesystem::path::preferred_seperator fix for VS2015

commit 03b437cefb39746127b34ce6c9d47df7209a27c7
Merge: cbe0c61 589219b
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Fri Sep 20 13:42:31 2019 +0200

    Merge branch 'master' into feature-27-mingw-preferred_separator

commit cbe0c61492f3a6817f03343bb16d73211625a9cb
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Sat Aug 24 22:20:10 2019 +0200

    Test for workaround of static constexpr issue
2019-09-21 16:46:00 +02:00
Steffen Schuemann
79fb211570 Added std::string_view test checks when __cpp_lib_string_view is defined 2019-08-15 14:47:13 +02:00
Steffen Schuemann
8906e8ce91 refs #22, copy_options now forwarded to copy_file, added test. 2019-08-09 16:37:15 +02:00
Steffen Schuemann
3c14bd1af2 Fix for shadow issue in tests. 2019-07-04 08:54:56 +02:00
Steffen Schuemann
361af7e51d Fix against clock conversion precision issues in tests. 2019-07-04 08:35:20 +02:00
Steffen Schuemann
8dee4d7731 Fix for -Wshadow warning, and some issues when compiling tests against std::filesystem on GCC 9.1 2019-07-04 08:00:35 +02:00
Steffen Schuemann
98dad7f0a1 refs #18, unicode error raise can now be enabled with define GHC_RAISE_UNICODE_ERRORS 2019-06-02 11:52:07 +02:00
Steffen Schuemann
e4e6246eaa refs #17, fix for wrong use of fs::ofstream 2019-06-02 09:33:19 +02:00
Steffen Schuemann
3fcb3f51e1 optional Windows wchar_t/wstring support
Squashed commit of the following:

commit f4a85d2070bb62bdca644f81faa953ba5fb5e491
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sun May 19 10:02:22 2019 +0200

    refs #17, refs #18, Missing use of alloc in fromUtf8 (fixed on master) and initialization order issue.

commit aa1cb7081630393659204641792bc7641f0c72aa
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sun May 19 09:46:02 2019 +0200

    refs #18, fighting VS2015 sfinae issues

commit 15788d8eb9972965ec4562c6e672a8a460e5b655
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat May 18 10:35:25 2019 +0200

    refs #17, work on wchar_t/wstring support on Windows.
2019-05-31 07:08:48 +02:00
Steffen Schuemann
235a594240 Squashed commit of the following:
commit 9cc8cbf731375fbedac9e76f883664a27814bff0
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Mon May 27 09:36:09 2019 +0200

    Workaround for bug in clangs libc++ std::filesystem::path::format.

commit 72285d01f2a269247084dddb8fe8d9da66f082a1
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Mon May 27 09:17:49 2019 +0200

    Test coverage.

commit f3ab2af99fda2dad26334d2a4884faa7463f7edb
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Sun May 26 12:35:39 2019 +0200

    Fixed std builds, removed non-standard conforming swap in directory_iterator/recursive_directory_iterator.

commit 3ae76b29a0745319d2a64e34bdbcb35264ad3e99
Author: gulrak <s.schuemann@pobox.com>
Date:   Sun May 26 11:08:52 2019 +0200

    Additional tests.

commit af4bbe14e192b464d3fece68c5dbcf3bf1c4e214
Author: gulrak <s.schuemann@pobox.com>
Date:   Fri May 24 21:52:15 2019 +0200

    Added more tests.
2019-05-31 00:46:29 +02:00
Steffen Schümann
96ea0dd12e Activated an aditional unit test on windows. 2019-05-24 00:29:17 +02:00
Steffen Schuemann
b970da3128 Disabled bad check that is not dependend of root name support. 2019-05-23 09:19:49 +02:00
Steffen Schuemann
22de93ac45 Fix for error handling issue in utf8 converter and additional tests for enhanced coverage. 2019-05-23 08:39:04 +02:00
Steffen Schuemann
91e02dc2c4 Work on CI support for MingW, fixing some MingW issues 2019-05-14 08:42:29 +02:00