Commit Graph

1414 Commits

Author SHA1 Message Date
Beman
f4644ef881 Define BOOST_FILESYSTEM_NO_CXX11_DEFAULTED_RVALUE_REFS for GCC <= 4; GCC 4.8.5 was failing on FreeBSD although not on other platforms. Since move semantics is an optimization, it doesn't break anything to be conservative. 2015-09-15 07:38:28 -04:00
Marcel Raad
53c502cb47 Remove unused deprecated include
The comment in boost/iterator.hpp mentions that the file is obsolete and will be deprecated, and it is not used anyway.
2015-09-13 21:40:29 +02:00
Beman
9befbd2448 Fix bug in file_status and recursive_directory_iterator: C++ turns an explicit constructor with all arguments except first defaulted into non-explicit single argument constructor. 2015-09-12 09:27:39 -04:00
Beman
2d4035269b Add GCC 4.4 to compilers that did not support defaulted rvalue refs. 2015-09-11 15:11:46 -04:00
Beman
4f0afc361f Add #11062 to list of resolved tickets. 2015-09-10 15:48:07 -04:00
Beman
320423af98 Added size() function to class path. Resolves #6874, Path should have a size() member function. 2015-09-08 16:46:05 -04:00
Beman
461118d68c Remove debug stmts that should have been removed by prior commit. 2015-09-08 16:21:01 -04:00
Beman
40526c67f2 Clean up some minor cygwin test problems. 2015-09-08 15:40:25 -04:00
Beman
9d5415d579 Add move constructor, move assignment, where called for in Filesystem TS. 2015-09-06 21:18:01 -04:00
Beman
353851e144 First pass of applying BOOST_NOEXCEPT. For recursive_directory_iterator only, began process of supporting both old and new names for functions whose name changed in the Filesystem TS. Planning started for adding move constructors and move assignments per the TS. 2015-09-06 08:30:58 -04:00
Beman
1c82e5d39e Apply BOOST_NOEXCEPT, and a few other drive by corrections. 2015-09-05 17:55:14 -04:00
Beman
b5eba804c1 Add some links. 2015-09-05 16:02:00 -04:00
Beman
9910eccc13 Documentation for functions lexically_normal, lexically_relative, relative, and weakly_canonical. 2015-09-05 12:02:31 -04:00
Beman
8ad0258405 Tweak configuration. 2015-09-04 15:28:11 -04:00
Beman
5610f974be Merge branch 'feature/relative2' into develop 2015-09-04 15:24:22 -04:00
Beman
a6900bf517 Update release history and add tests. 2015-09-04 13:41:20 -04:00
Beman
8cd5522161 Initial implementation and docs for path::reverse_iterator. 2015-09-04 11:25:22 -04:00
Beman
2af843f782 Add list of closed tickets. 2015-09-04 10:25:18 -04:00
Beman
e6d10cf716 Fix #10766, parent_path() with redundant separator returns wrong value, by adding examples and notes to the reference documentation to show why the returned value is in fact correct, and to provide rationale for that behavior. See [path.itr], and [path.decompose] parent_path() and filename() sections of the reference docs. 2015-09-03 10:44:20 -04:00
Beman
0c68ce8962 Use same style sheet as the rest of the documentation. Tweak tab font size. Fix excessively long lines in tables, synopsis 2015-09-03 09:11:21 -04:00
Beman
011522bd42 Fix #7258, create_directories returns false if the path ends with a slash. Also fix related issues if path contains dot or dot-dot elements, and add test cases to the test suite. 2015-09-02 08:24:41 -04:00
Beman
a2d4f99cc8 Resolve #11166 by mitigating (i.e. reducing the likelihood of) a possible external file system race in remove(), using a slight refinement of the patch supplied by Jeff Epler. Made no attempt to fix or mitigate the thread data race in the test program provided. 2015-09-01 11:34:24 -04:00
Beman
b2774a00a5 Fix #11175, out-of-date documentation causing users to incorrectly expect that the library could be used with exceptions disabled. 2015-08-31 14:37:36 -04:00
Beman
f6aa067256 Minor code and comment tweaks. 2015-08-31 10:23:41 -04:00
Beman
2b019a8483 Fix #11288 A patch to avoid redundant string allocations 2015-08-30 16:44:27 -04:00
Beman
810f40becf Add a quote from the standard 2015-08-30 16:33:39 -04:00
Beman
efe50fad52 Work issue, but no fix yet 2015-08-30 16:32:44 -04:00
Beman
90517e4596 Fix #11447, __OpenBSD__ macro name misspelled, by applying a patch submitted by Jasper Lievisse Adriaanse. 2015-08-29 10:13:36 -04:00
Beman
0ab46a3315 Fix #9454, Boost Filesystem [library build] not compiling when BOOST_FILESYSTEM_NO_DEPRECATED is defined, by applying a patch submitted by Makesim 2015-08-29 09:57:09 -04:00
Beman
5e5b529dc2 Fix #10591, boost::filesystem does not build on iOS 8, by applying a patch submitted by Daniel Seither. 2015-08-28 16:41:13 -04:00
Beman
d80e67f4b6 Start release history for 1.60.0 2015-08-28 10:11:35 -04:00
Beman Dawes
1c90f5de58 Merge pull request #15 from CornedBee/develop
Fix a race condition in unique_path.
2015-08-28 09:30:38 -04:00
Sebastian Redl
26b24ed329 Fix a race condition in unique_path.
If two threads call unique_path at the same time for the first time in the program run,
both initial calls to CryptAcquireContext can fail. Both threads will then call the function
with CRYPT_NEWKEYSET, but only one of these threads can succeed. The other will
fail with NTE_EXISTS.

This patch makes it so that if a call fails with that error, it will try to call without the
flag one more time, in case another thread created the key set in the meantime.

This also applies the patch from trac report #7506. Using these additional flags
is the right thing to do.
2015-08-27 11:42:56 +02:00
Beman
23759ba8ec Add lexically_proximate and proximate functions. 2015-08-25 15:05:17 -04:00
Beman
27f8e5fd6a Minor tweaks. 2015-08-25 11:04:21 -04:00
Beman
732609a2da Change member normal() and relative() to non-member lexically_normal() and lexically_relative(). See doc/relative_proposal.html#Add-lexical-functions-as-non-members for rationale. 2015-08-23 09:33:21 -04:00
Beman
ac3fe66c4d Improve standardese of weakly_canonical() by replacing C++ code with prose specification. 2015-08-22 09:51:07 -04:00
Beman
c739cee694 Apply normal() to weakly_canonical results, but only when know to be needed or it is not known if it may be needed. 2015-08-19 08:43:36 -04:00
Beman
24c6434228 Supply "Overview:" sections for proposed wording. 2015-08-19 08:38:03 -04:00
Beman
7f890543f8 Finalize Draft 1 of proposal 2015-08-17 11:00:46 -04:00
Beman
1bba3591dd Save work-in-progress. 2015-08-17 08:48:54 -04:00
Beman
6980d25a1b Save work-in-progress 2015-08-15 09:20:26 -04:00
Beman
b54092e66f Simplify expressions and remove accumulated cruft. 2015-08-13 09:01:59 -04:00
Beman
cb11081a7d Finish initial proposed wording section of relative_proposal.html. Drive-by tweaks to other stuff. Add example/directory_symlink_parent_resolution.cpp, include/boost/filesystem/string_file.hpp, and related infrastructure. 2015-08-12 17:26:03 -04:00
Beman
074a5a157a Initial commit. 2015-08-11 15:29:54 -04:00
Beman
fe71dc8729 Fix test where Windows and POSIX results differ 2015-08-10 08:34:22 -04:00
Beman
f5da08da74 Initial commit. 2015-08-10 08:15:24 -04:00
Beman
a7ac4c088f Add relative_test to Jamfile, fix Cygwin/GCC C++03 enum constant usage error. 2015-08-10 08:09:48 -04:00
Beman
7d6429554a Bring operational functions weakly_canonical() and relative() up to production quality: move implementations to operations.cpp, add error handling, replace tail recursion with iteration, rename weak_canonical to weakly_canonical. The weak_canonical name grated on me every type I used it. 2015-08-10 07:10:59 -04:00
Beman
2101376680 Replace tail recursion with iteration. 2015-08-09 09:53:05 -04:00