Commit Graph

23 Commits

Author SHA1 Message Date
Beman
1cd06e340b Implement much of R0317R1, Directory Entry Caching for Filesystem (R1), including full refresh() for Windows. Still missing most of the status query functions. 2016-07-27 10:12:56 -04:00
Beman
513c90dcae All operations_unit_test.cpp and operations_test.cpp tests passing. 2016-04-21 10:37:36 -04:00
Beman
1151b7f1ff Refactor Windows attribute processing into new functions status_helper() and symlink_status_helper() to eliminate duplication of code and, more importantly, to ensure that attributes processed identically regardless of context. Add test cases to operations_unit_test.cpp.
All tests passing, except cases where cache is not reporting file_not_found for dangling symlinks.
2016-04-20 06:47:01 -04:00
Beman
d0ac39369b Clarify error message 2016-04-18 06:54:03 -04:00
Beman
b8208871ff Change open_directory, read_dirctory, to return filename, allowing more of the existing code to be retained. Fix missing & in two places. operations_unit_test.cpp through directory_iterator_test now passing. 2016-04-17 20:40:38 -04:00
Beman
5226da223d Add error_code versions of observer functions. Add friend struct detail::deacc to provide directory iteration with access to directory_entry private parts. Restore dispatch functions mistakenly removed from operations.cpp by prior commit. operations_unit_test.cpp now running partially. 2016-04-17 11:40:45 -04:00
Beman
fb365908ad Clear GCC warnings. 2015-10-08 05:03:51 -04:00
Beman
c026d612f2 String file feature cleanup: Add string_file.hpp to filesystem.hpp. Change string_file.hpp to use boost/filesystem/fstream.hpp for I/O. Add string_file_tests function to operations_unit_test.cpp. 2015-10-07 10:11:18 -04:00
Beman
bb5a0ff09d Clear warnings, including new warnings from VC++ 2015 preview. 2015-01-05 10:34:24 -05:00
Beman
bf1339e282 Remove use of <boost/test/prg_exec_monitor.hpp>. It has caused trouble for years, and I'm tired of fighting with it. The last straw was adding a Cygwin gcc toolset, only to have <boost/test/prg_exec_monitor.hpp> fail to link. Change to always use <boost/detail/lightweight_main.hpp>, which is trouble-free. 2014-08-06 12:16:06 -04:00
Beman
750a82e20d Revert "Merge branch 'develop' of github.com:boostorg/filesystem into develop"
This reverts commit 4610afc49e, reversing
changes made to 6623bde4fe.
2014-08-05 09:16:57 -04:00
Beman
cc99cc6ceb Merge branch 'develop' into ts-develop 2014-07-31 17:24:34 -04:00
Beman
91c4517a8c Add a useless initialization to quiet the Clang static analyzer, closing ticket #8954. 2014-07-28 16:47:25 -04:00
Beman
4635e93d02 Add move semantics to file_status per DTS. Fix incorrect synonym in perms. Add file_status constructor test cases. 2014-07-24 15:38:48 -04:00
Beman
f0ce9bd649 Missed a few perms value changes that were on next DTS page. 2014-07-23 15:58:04 -04:00
Beman
038bce7e2d DTS: enum perms changed to enum class perms. Constant names have changed; synonyms provided. 2014-07-23 15:35:44 -04:00
Beman
044b98373c All char16_t/char32_t dependencies #ifdef'ed out. All test/msvc/filesystem.sln tests pass. 2014-07-10 14:43:22 -04:00
Beman
e59aecbcbe Update the tests. Unstable. 2014-07-09 08:57:45 -04:00
Beman Dawes
bb0fe7585c Add BOOST_FOREACH support. Correct C++11 range-based for statement enabler signatures. Improve test coverage. Clears feature requests #5896 and #6521.
[SVN r79451]
2012-07-12 13:53:17 +00:00
Beman Dawes
af67382a81 Add directory_iterator and recursive_directory_iterator free functions begin and end so that these iterators can be used with range-based for statements.
[SVN r79409]
2012-07-10 21:17:20 +00:00
Beman Dawes
21ec949654 filesystem testing change: use <boost/test/prg_exec_monitor.hpp> by default, define BOOST_LIGHTWEIGHT_MAIN to use <boost/detail/lightweight_main.hpp>. This gives us the better exception reporting of <boost/test/prg_exec_monitor.hpp> but provides easy fallback to <boost/detail/lightweight_main.hpp> if desired.
[SVN r78057]
2012-04-18 01:31:53 +00:00
Beman Dawes
7941871477 Filesystem - Delete v3 directories no longer needed. Cleanup links, namespaces, and other residue from dual v2/v3 support.
[SVN r77555]
2012-03-26 12:44:24 +00:00
Beman Dawes
16099b4c7d Filesystem - Move V3 files and directories into place
[SVN r77554]
2012-03-26 12:31:06 +00:00