Commit Graph

147 Commits

Author SHA1 Message Date
Beman Dawes
61fe412591 Merge filesystem bug fixes
[SVN r76742]
2012-01-28 14:40:16 +00:00
Beman Dawes
ca788b18fd Remove spurious semicolon causing problem for gcc in pedantic mode.
[SVN r76423]
2012-01-12 00:22:45 +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
Daniel James
57d50f3f99 Remove some unnecessary checks in path equality.
[SVN r74530]
2011-09-22 23:56:12 +00:00
Daniel James
2e6cc63e65 Filesystem: add hash_value.
[SVN r73827]
2011-08-16 22:15:55 +00:00
Beman Dawes
94420d4b61 Fix #5764 - add template qualified; reported to be required on QNX6.3.2 host (gcc-3.3.5)
[SVN r73795]
2011-08-15 19:29:26 +00:00
Beman Dawes
56f9f0ce5f Clarify codecvt comment
[SVN r73213]
2011-07-18 11:28:38 +00:00
Beman Dawes
33f638feee Fix problem of locale("") exception being thrown before main() starts on misconfigured (e.g. LANG="bad name") POSIX systems. Resolves the most serious aspect of tickets 4688, 5100, 5289.
[SVN r72855]
2011-07-02 14:43:18 +00:00
Beman Dawes
bad343a65b Change BOOST_ASSERT to BOOST_ASSERT_MSG when there was a && "..."
[SVN r71376]
2011-04-19 02:05:55 +00:00
Beman Dawes
0d1143710d Fix for STLPort (#5217)
[SVN r69220]
2011-02-23 20:16:41 +00:00
Beman Dawes
d4dce24d77 Cleanup code (pointed out by Denis Shevchenko)
[SVN r69076]
2011-02-20 13:35:53 +00:00
Beman Dawes
063dcbe36f Fix #5188 to clear gcc warning
[SVN r68863]
2011-02-14 15:02:47 +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
880c8ae8ec fix status() to report non-symlink reparse point correctly.
[SVN r67599]
2011-01-02 22:06:26 +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
fa169c3af8 Fix #4891, again, clearing problem if BOOST_FILESYSTEM_VERSION defined in <boost/config/user.hpp>
[SVN r67066]
2010-12-06 13:17:45 +00:00
Beman Dawes
81a9ee92bd Verify, clarify, document, that <boost/config/user.hpp> can be used to specify BOOST_FILESYSTEM_VERSION. Fixes #4891.
[SVN r66996]
2010-12-04 00:39:20 +00:00
Beman Dawes
96e3b893b0 Make V3 the default. Change docs accordingly. Partial fix for ticket #4897
[SVN r66987]
2010-12-03 18:17:01 +00:00
Beman Dawes
563adf1424 Fix #4912
[SVN r66945]
2010-12-01 14:30:39 +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
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
09e36404c6 Fix #4712
[SVN r65818]
2010-10-07 21:45:04 +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
b9b832760a Fix #4487 V2 create_hard_link problem with old Windows SDK
[SVN r65371]
2010-09-10 12:51:00 +00:00
Beman Dawes
6bf14c6a44 Add path_traits::is_pathable and use it to prevent several path member templates from being considered for overload resolution of non-pathable types. Fixes problem reported by Adam Badura.
[SVN r64986]
2010-08-24 18:35:41 +00:00
Beman Dawes
147e18b93c Remove path array optimization; problematic when array contains a string shorter than the array length. Reported by Adam Badura.
[SVN r64928]
2010-08-19 17:03:38 +00:00
Beman Dawes
e8a6a7bd82 include <cwchar> for mbstate_t
[SVN r64884]
2010-08-18 11:47:14 +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
Daniel James
480dab0416 Inline some deprecated filesystem methods, so that they can be included in more than one compile unit.
[SVN r64246]
2010-07-22 07:49:05 +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
440841e5c7 Use "funny" codecvt facet instead of UTF-8 to detect failures on systems that default to UTF-8. Fix generic_string bug with codecvt argument.
[SVN r63400]
2010-06-27 20:41:08 +00:00
Beman Dawes
4564459e77 Document path::codecvt_type arguments
[SVN r63285]
2010-06-24 15:02:30 +00:00
Beman Dawes
42c23163cd Provide const codecvt& arguments for all applicable class path functions
[SVN r63283]
2010-06-24 11:10:37 +00:00
Beman Dawes
8ab8021270 Workaround for IBM, old GCC, and other non-conforming compilers.
[SVN r63226]
2010-06-22 10:56:51 +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
998233d767 Use boost::io::quoted I/O manipulator as a better solution to embedded spaces. See #3863
[SVN r63136]
2010-06-20 13:41:26 +00:00
Beman Dawes
77b673eba7 Add missing #include <locale>
[SVN r63025]
2010-06-16 20:13:00 +00:00
Beman Dawes
6e69563ab7 Reorder code to workaround clang problem (Chris Jefferson)
[SVN r62976]
2010-06-15 15:40:04 +00:00
Beman Dawes
9234a778cd Fix #3863, stream I/O with space in named failed to roundtrip
[SVN r62919]
2010-06-13 17:33:39 +00:00
Beman Dawes
ad2cbcc987 Fix symbol visibility problem causing Linux/GCC test failures
[SVN r62890]
2010-06-13 01:38:46 +00:00
Beman Dawes
9d1cd71b5a Fix #3241
[SVN r62876]
2010-06-12 20:44:23 +00:00
Beman Dawes
a24b21a169 All tests passing on Windows, gcc + msvc. Changed convenience_test to eliminate chance of test directory name race condition when multiple tests run together.
[SVN r62767]
2010-06-10 21:02:31 +00:00
Beman Dawes
7922c919d8 V2 tests added. All tests passing on at least one compiler, none passing on all compilers
[SVN r62759]
2010-06-10 20:02:39 +00:00