Commit Graph

28 Commits

Author SHA1 Message Date
Beman Dawes
21a1d5b384 Fix #5653, recursive_directory_iterator(error_code) can still throw filesystem_error.
Fix a second bug, discovered while testing 5653; recursive_directory_iterator::increment with error_code argument was not reporting the end iterator.

[SVN r76667]
2012-01-24 19:43:11 +00:00
Beman Dawes
cc24bc84f1 Relax permissions test to reflect reality, particularly on the Sandia test platforms
[SVN r76320]
2012-01-05 13:52:11 +00:00
Beman Dawes
60e042752e Fix for old Sun compilers __SUNPRO_CC <= 0x5100 that don't fully support fchmodat. Fix test failure on some POSIX systems that grant write permission to group and others.
[SVN r75133]
2011-10-27 15:37:11 +00:00
Beman Dawes
67c7b055e3 Add support for permissions. Docs to follow.
[SVN r74950]
2011-10-15 16:02:20 +00:00
Beman Dawes
9d28593943 Added operational function canonical(), suggested by David Svoboda, who also provided pseudo-code.
[SVN r74683]
2011-10-04 01:10:17 +00:00
Beman Dawes
d41fac567c Attempt fix for SunOS compile failure
[SVN r71198]
2011-04-12 10:45:24 +00:00
Beman Dawes
d8b4772da8 Distinguish between v2 and v3 test directory names to allow parallel testing without race conditions
[SVN r71121]
2011-04-08 18:20:30 +00:00
Beman Dawes
5e72f795c6 Merge changes from https://github.com/Beman/filesystem. Important changes include fix for serious Windows reparse point bug, code cleanup, reference doc fixes and addition of missing functions, and the addition of symlink_option for recursive_directory_iterator.
[SVN r68837]
2011-02-13 15:02:27 +00:00
Beman Dawes
d65642912c Clear several GCC 4.6 warnings. Change V2 code to use BOOST_THROW_EXCEPTION.
[SVN r67577]
2011-01-02 16:49:28 +00:00
Beman Dawes
cc697684a1 Undeprecate unique_path(). Instead, add a note mentioning the workaround for lack of thread safety and possible change to cwd. unique_path() is just too convenient to deprecate!
[SVN r67571]
2011-01-02 14:59:04 +00:00
Beman Dawes
8f617d3de7 Clean up tabs, replace C-style assert with BOOST_ASSERT
[SVN r67497]
2010-12-30 02:05:34 +00:00
Beman Dawes
cb884cd6e1 Fix #4930, add V3 test case to detect any future regression
[SVN r67067]
2010-12-06 14:03:23 +00:00
Beman Dawes
f2f699eb78 Use <boost/detail/lightweight_main.hpp> to improve regression test error reporting on remote systems
[SVN r66896]
2010-11-30 15:07:43 +00:00
Beman Dawes
f1283aa604 For POSIX temp_directory_path, if none of environmental variables are found, try "/tmp".
[SVN r66038]
2010-10-17 12:54:26 +00:00
Beman Dawes
bdc335d937 Add temp_directory_path function, contributed by Jeff Flinn. Many thanks to Jeff for the complete implementation, with tests and documentation!
[SVN r66028]
2010-10-16 21:03:43 +00:00
Beman Dawes
d65da711fc Rewrite directory_iterator tests to be totally insensitive to ordering, fixing test failures on several platforms.
[SVN r65983]
2010-10-15 17:25:19 +00:00
Beman Dawes
dffd55a868 Fix #4663, filesystem objects falsely identified as symlinks. operations_test.cpp refactored and various symlink related tests added. Fixes to bugs found as a result, in addition to the 4663 bug.
[SVN r65916]
2010-10-11 20:22:02 +00:00
Beman Dawes
47c7ac4699 Fix #4799. The same bug occurred in three places. One of these may have been the source of reported problems with remove_all. Several other problems in documentation and tests were also found and will be addressed separately.
[SVN r65765]
2010-10-05 16:55:19 +00:00
Beman Dawes
91b24db22c Fixes for libraries not supporting wide character strings: correct existing V2 workarounds (thanks to John Maddock), V3 library components null compile if no support, #error earlier and in more files if using V3 with unsupported library.
[SVN r64623]
2010-08-05 21:27:55 +00:00
Beman Dawes
57d282b1d5 Network paths have root names even on POSIX
[SVN r63529]
2010-07-02 19:30:49 +00:00
Beman Dawes
419cf13dd2 Revert to absolute() being an operations free function, and provide semantics for the Windows case where the base argument was not absolute.
[SVN r63524]
2010-07-02 17:04:20 +00:00
Beman Dawes
c5a8d1eef9 Deprecate initial_path as too error prone without C++ runtime support.
[SVN r63500]
2010-07-01 18:55:41 +00:00
Beman Dawes
c469a8c430 Reverse logic so that standard library file I/O is assumed *not* to have wide character path extension, thus defaulting to the safer choice.
[SVN r63452]
2010-06-30 15:20:21 +00:00
Beman Dawes
a20f1ed674 Fix old Dinkumware without file stream wchar_t overloads
[SVN r63406]
2010-06-28 14:40:40 +00:00
Beman Dawes
152886d0f8 Fix #4248 W.R.T. BOOST_FILESYSTEM_NO_DEPRECATED and BOOST_SYSTEM_NO_DEPRECATED
[SVN r63185]
2010-06-21 13:13:20 +00:00
Beman Dawes
2e312c936c Remove duplicate macro displays
[SVN r62906]
2010-06-13 14:15:02 +00:00
Beman Dawes
98d00b2e88 Add Build and Test support. Build is working, a few tests are working.
[SVN r62662]
2010-06-09 15:07:03 +00:00
Beman Dawes
fa515c07f5 Move files into new v2 + v3 directory structure
[SVN r62653]
2010-06-09 13:00:15 +00:00