46 Commits

Author SHA1 Message Date
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
Steffen Schuemann
7e975a8f7f Updated readme, more tests, some typos in comments. 2019-05-11 15:33:08 +02:00
Steffen Schuemann
bc1abfa01e Fix file_time_type handling when building against MSVC C++17 std::filesystem, additional test fixes. 2019-05-07 20:33:56 +02:00
Steffen Schuemann
dc37276a9a Squashed commit of the following:
commit 8d9f245e379d373942c0f49be19dacc9293cdcf0
Merge: 3ceb4b0 857a355
Author: gulrak <s.schuemann@pobox.com>
Date:   Fri May 3 23:52:57 2019 +0200

    Merge branch 'development-v1.1' of https://github.com/gulrak/filesystem into development-v1.1

commit 3ceb4b0e4fe90be46b1fdbdfb7e2b3f160cccf3c
Author: gulrak <s.schuemann@pobox.com>
Date:   Fri May 3 23:51:48 2019 +0200

    Less noisy interoperability testing on weakly_canonial()

commit 38f82a90ef5f4ec1fa341ce3ab34f3836a6bd9ea
Author: gulrak <s.schuemann@pobox.com>
Date:   Fri May 3 23:50:43 2019 +0200

    Additional fix for recursive_directory_iterator

commit 857a3558fb13e8fae76e29b5b91cb76b5e98ea20
Merge: 9da5784 b557b5b
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Fri May 3 23:47:20 2019 +0200

    Merge branch 'development-v1.1' of github.com:gulrak/filesystem into development-v1.1

    # Conflicts:
    #	test/filesystem_test.cpp

commit 9da57846ac4de06c4b0521ab69ea42816fd6a029
Merge: 96e89ae 43e75c3
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Fri May 3 23:42:31 2019 +0200

    Merge remote-tracking branch 'origin/master' into development-v1.1

commit 96e89ae7f9e983cb3d0977d9ba77f421a0c06b0f
Merge: 9d71161 882c60b
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Fri May 3 23:40:18 2019 +0200

    Merge remote-tracking branch 'origin/master' into development-v1.1

commit b557b5b476c085183bd3da72cc9f511df3b52272
Merge: 263a2d2 9d71161
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Fri May 3 22:44:25 2019 +0200

    Merge branch 'development-v1.1' of https://github.com/gulrak/filesystem into development-v1.1

commit 263a2d2c5b9f25631513271a6e26a9cb66e8f9da
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Fri May 3 22:44:01 2019 +0200

    Work on Windows tests.

commit 9d71161323f22e994b51fda73ebc19af9e67d6e6
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Fri May 3 08:30:40 2019 +0200

    Fix for issues with recursive_directory_iterator not behaving like an input iterator and regarding pop()/depth().

commit 2ac1352b4a37fdb247b56fb63c1e2c3f56761649
Author: gulrak <s.schuemann@pobox.com>
Date:   Thu May 2 09:12:42 2019 +0200

    Refactored builds with std::fs to a CMake macro, added du example, added behaviour switch

commit 624a6f63e5639504c2b554ba89985ef9c01c6fa9
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Thu May 2 09:01:15 2019 +0200

    Add path parameters to filesystem_error::what
2019-05-05 08:51:53 +02:00
Steffen Schümann
da215a8c96 refs #12, fixed small issue with new recursive_directory_iterator tests on Windows due to not comparing generic format. 2019-05-04 09:16:36 +02:00
gulrak
e8ced30a84 Fixed merge error leading to compile error. 2019-05-04 08:59:21 +02:00
Steffen Schuemann
dac42f89aa Merge branch 'master' of github.com:gulrak/filesystem 2019-05-04 08:52:15 +02:00
Steffen Schuemann
5ea334899a refs #12, added more tests to recursive directory iterator, fixed additional issue with pop(). 2019-05-04 08:47:41 +02:00
Steffen Schümann
547ecfb28f Test helper for file_time_type got additional error checking 2019-05-04 08:08:04 +02:00
Steffen Schümann
43e75c3869 refs #11, added more tests 2019-05-03 23:14:05 +02:00
Steffen Schuemann
882c60baf2 refs #11, successive ".." sequences handeld wrong in lexically_normal() 2019-05-03 22:34:08 +02:00
Steffen Schuemann
c75a663ec9 Squashed commit of the following:
commit 742d51b24cce19915e10f0d1f97cf49ff408b66d
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date:   Sat Apr 27 10:17:15 2019 +0200

    Fixed ctest call.

commit f96b65562d42cc6801ba3855dc603117e4ce864a
Author: Steffen Schümann <s.schuemann@pobox.com>
Date:   Sat Apr 27 09:42:20 2019 +0200

    Fix in canonical root path handling.

commit 1cd346d23e87b274d32b9d56a8b6327e36be4147
Author: gulrak <s.schuemann@pobox.com>
Date:   Sat Apr 27 06:22:13 2019 +0200

    Work on MingW issues and additional tests.
2019-04-27 10:36:00 +02:00
Steffen Schuemann
c63d9d7481 Updated readme and comments. 2019-04-27 07:30:58 +02:00
Steffen Schuemann
9085725056 Work on CI integration. 2019-04-19 14:16:46 +02:00
Steffen Schuemann
8b222fc06f Work on CI integration. 2019-04-19 14:08:28 +02:00
Steffen Schuemann
2e9cf2940f Added info on unicode test failing with std::filesystem from GCC 8.2.0 on macOS 10.12. 2019-04-18 13:06:19 +02:00
Steffen Schümann
e8b2bee859 Some changes to make the forwarding/implementation way work on MSVC. 2019-03-24 12:46:19 +01:00
gulrak
03f849d23f Added support for forwarding/implementation includes to enhance compile time and hide system headers. 2019-03-24 01:53:44 -07:00
gulrak
72e8d2e950 Restructured include directories and enhanced CMake support. 2019-03-24 01:32:13 -07:00
Steffen Schümann
4e98fbf315 Fix compile error on Windows test. 2019-03-22 22:42:23 +01:00
Steffen Schuemann
1b7d9457c0 Fix for compiler errors on allocator variant test for generic_string() on GCC8 std::filesystem. 2019-03-22 22:30:01 +01:00
gulrak
78ddb7aed7 Renamed filesystem.h to filesystem.hpp 2019-03-22 14:11:41 -07:00
gulrak
ede29b0495 refs #9, additional checks for generic_string() 2019-03-22 13:44:20 -07:00
Steffen Schuemann
036cf96bb6 additions to changes for #6, don't count removal of non-existing files 2019-03-06 07:05:10 +01:00
Steffen Schuemann
b98a74ab1d directory_iterator on Windows should free resources when reaching end(), #8 2019-03-06 06:53:17 +01:00
Steffen Schuemann
1349d3d5a5 Fix for remove_all handling when calling for non-existent or regular file. (#6) 2019-03-06 00:05:49 +01:00
Steffen Schuemann
a4303f9207 #4: Added test code, fixed missing error_code propagation, and error handling in fs::copy and fs::remove_all. 2019-01-02 19:59:27 +01:00
Steffen Schuemann
abb4ea8ab9 Fixed additional warnings and typos in readme. 2018-11-06 00:18:19 +01:00
gulrak
89cc3782a0 Warning fixes for -Wall -Wextra -Werror builds. 2018-11-05 20:40:53 +01:00
Steffen Schuemann
6c0f261262 Removed workaround in test. 2018-11-04 11:24:17 +01:00
Steffen Schuemann
9e4eb59e9c Some cleanup, and warning fixes and test code issues on clang 7. 2018-11-03 11:15:18 +01:00
Steffen Schümann
a70b1c2941 Changed permission test to also work with MS std::filesystem. 2018-09-23 21:19:30 +02:00
Steffen Schuemann
5595cfe848 Support for test against clang 7.0.0 std::filesystem and fixing some recursive_directory_iterator test cases 2018-09-23 14:15:54 +02:00
Steffen Schuemann
d097c9535a [Closes #1] fs::canonical now errors on empty path and fs::weakly_canonical doesn't call canonical with empty path anymore 2018-09-23 14:12:42 +02:00
Steffen Schuemann
4fbc6e18e2 [#2] remove_all now counts directories too 2018-09-23 14:07:03 +02:00
Steffen Schuemann
90bab0edee Updated readme with some fallback use-case help and adapted the tests to reflect parts of it. 2018-09-22 13:37:04 +02:00
Steffen Schümann
8d21eb4722 Modifications for first tests against std::fs in VS 15.8 2018-09-22 13:11:50 +02:00
Steffen Schuemann
196aa9fa2d Merge branch 'master' of github.com:gulrak/filesystem 2018-09-22 09:44:43 +02:00
Steffen Schuemann
25687685e4 Removed exceptions from utf-8 code, fixed warning in tests from windows build. 2018-09-22 09:44:29 +02:00
Steffen Schümann
3216b6498c Removed test for path::iterator BidirectionalIterator constraints as 30.10.8.5 clearly states that they are an exception. 2018-09-18 15:29:31 +02:00
Steffen Schuemann
755413efc7 Fix for compilation error of tests against std::fs from early gcc-8 versions, and some small corrections. 2018-09-03 21:35:07 +02:00
Steffen Schuemann
055ec8aea0 Initial public release. 2018-09-02 22:01:52 +02:00