Beman
b1b1cea3c4
Rename relative to lexically_relative. Add semi_canonical() and relative().
2014-05-29 15:42:11 -04:00
Beman
7cfff1821e
initial implementation of relative().
2014-05-05 11:54:27 -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
d1a72fd781
Revert to BOOST_FILESYSTEM_STATIC_LINK as the default if no linkage macros supplied. See http://www.boost.org/doc/libs/1_49_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code
...
Add test to verify correct default.
[SVN r78273]
2012-04-30 15:00:21 +00:00
Beman Dawes
6115c31640
Filesystem: Fix #6819 ; A path operand with a source that was a one character array was treated as empty, even if it wasn't empty. Such arrays can occur and be non-empty in unions or in code using C variable length array idioms.
...
[SVN r78136]
2012-04-22 15:07:08 +00:00
Beman Dawes
5ee2bb4189
Filesystem: Add path::operator+= and concat functions to tack on things like suffixes or numbers. Suggested by Ed Smith-Rowland and others.
...
[SVN r78065]
2012-04-18 14:46:15 +00:00
Beman Dawes
1207aac116
filesystem: Move compare() implementation to path.cpp, thus clearing gcc warning about header implementation of class with dll interface.
...
[SVN r78006]
2012-04-16 13:36:28 +00:00
Beman Dawes
da4f223c5b
Fix #6690 and #6737 , resolving static linking related problems with VC++ 8 through 11. Note that this fix may reintroduce codecvt thread safety problems #4889 , #6320 , for these compilers if static linking is used.
...
[SVN r78000]
2012-04-15 20:34:19 +00:00
Beman Dawes
43c13a59d6
Make BOOST_x_DYN_LINK tbe default
...
[SVN r77999]
2012-04-15 20:16:18 +00:00
Beman Dawes
03195bfb17
Tighten config.hpp and Jamfile logic before attaching static build problems.
...
[SVN r77997]
2012-04-15 19:16:49 +00:00
Beman Dawes
82c5b7533b
Fix #4065 , Boost Filesystem lexicographic path comparison inconsistent. The fix included adding path::compare functions, and cleanup and refactoring of the path relational operators code. Some of the code fixed is used by other functions, so some unrelated bugs may also have been fixed.
...
[SVN r77669]
2012-03-31 15:53:24 +00:00
Beman Dawes
e946c54f07
Fix missing file
...
[SVN r77556]
2012-03-26 13:11:43 +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
Beman Dawes
883ba9b788
Filesystem - delete v2 directories, forwarding files.
...
[SVN r77553]
2012-03-26 12:27:17 +00:00
Beman Dawes
052300e0fb
Revert changes made to trunk by mistake.
...
[SVN r77496]
2012-03-23 12:01:07 +00:00
Beman Dawes
91f1359280
Delete boost/filesystem/*.hpp
...
[SVN r77495]
2012-03-23 11:52:58 +00:00
Beman Dawes
4558bd2cb7
Add class path preferred_separator
...
[SVN r77357]
2012-03-17 12:53:25 +00:00
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
ce92bed563
Apply recursive_directory_iterator patch contributed by Daniel Aarno, fixing #5652 for cyclic symlinks
...
[SVN r76556]
2012-01-17 16:00:22 +00:00
Beman Dawes
19fba833e1
Add test cases and fixes for class path errors when assignment or appends used self or portion of self as source. Fixes ticket #3714
...
[SVN r76541]
2012-01-16 15:59:27 +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