Commit Graph

1414 Commits

Author SHA1 Message Date
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
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
794a99390f filesystem: Remove universal-character-name from source; was causing failure with Intel/Windows and required warning suppression on VC++
[SVN r78009]
2012-04-16 14:06:50 +00:00
Beman Dawes
9bba5a53fb filesystem: remove unused function to quiet Intel/Windows compiler warning.
[SVN r78008]
2012-04-16 13:44:58 +00:00
Beman Dawes
b8bb495787 filesystem: change imbue test to avoid reliance on L string literal encoding, thus allow test to pass on Intel compiler for Windows
[SVN r78007]
2012-04-16 13:41:17 +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
d99c7f051a Add a test case for 6690
[SVN r78005]
2012-04-16 13:01:30 +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
62d3e98a46 Correct ".." description (thanks Ivan Le Lann). Add path iterator overview sentence.
[SVN r77656]
2012-03-30 21:25:35 +00:00
Beman Dawes
073cb27538 Add statically linked tests in addition to the shared tests since filesystem has a history of tests that fail only in one of the linking modes
[SVN r77603]
2012-03-28 12:36:52 +00:00
Beman Dawes
4910fe6e64 Fix #3737, Boost.Filesystem does not compile on Windows Mobile
[SVN r77585]
2012-03-27 14:40:56 +00:00
Beman Dawes
494b34027e Fix #5118, replace_extension doesn't work as specified in documentation
[SVN r77571]
2012-03-26 21:19:36 +00:00
Beman Dawes
e32bdb46a4 Filesystem no longer provides a VC++ Solution for VC++ 9
[SVN r77560]
2012-03-26 14:05:40 +00:00
Beman Dawes
2c27b0597d Correct path to source file
[SVN r77559]
2012-03-26 13:58:29 +00:00
Beman Dawes
dec6c711f0 Add missing files
[SVN r77558]
2012-03-26 13:21:35 +00:00
Beman Dawes
008d2c5be2 Suppress inspect as snippets cause false failure reports
[SVN r77557]
2012-03-26 13:16:59 +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
74ce4cffc0 Documentation updates
[SVN r76853]
2012-02-03 15:06:51 +00:00
Beman Dawes
d2e62a5d15 Add issue 7, How should class path inserter and extractor be specified?
[SVN r76796]
2012-01-30 20:43:34 +00:00
Beman Dawes
61fe412591 Merge filesystem bug fixes
[SVN r76742]
2012-01-28 14:40:16 +00:00
Beman Dawes
259a50432d Update release history
[SVN r76679]
2012-01-25 02:38: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
6388f52a91 Some distributions of mingw as early as GLIBCXX__ 20110325 have _stricmp, but the offical 4.6.2 release with __GLIBCXX__ 20111026 doesn't. Play it safe for now, and only use _stricmp if _MSC_VER is defined.
[SVN r76650]
2012-01-23 12:12:17 +00:00
Beman Dawes
0e52a5f387 Fix a bug in director_iterator construction with error_code argument that caused increment to be called without the ec argument being passed. Reported by anonymous as ticket #5900 comment 3.
[SVN r76632]
2012-01-22 02:18:37 +00:00
Beman Dawes
c3f97a9f83 Fix directory_iterator access violation on Windows if error is thrown (#5900). Thanks to Andreas Eckleder for the patch.
[SVN r76629]
2012-01-21 21:34:51 +00:00
Beman Dawes
4013cbe7ce Correct test to match spec; path iteration yields generic format. Does will be clarified to explain why #5989 is NAD.
[SVN r76591]
2012-01-20 10:55:53 +00:00
Beman Dawes
e59f22f698 Ticket 5989 exposed flaws in path_test.cpp due to semantic changes between V2 and V3. This changeset goes a long way to clearing those test flaws by more carefully distinguishing tests on Windows that should look for path lexical equality rather than just equivalence. The actual 5989 fix will be a separate commit, as that bug is orthogonal to the test problem.
[SVN r76584]
2012-01-18 21:36:41 +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
03c1beb6e0 Merge from trunk
[SVN r76528]
2012-01-15 19:22:27 +00:00
Beman Dawes
9cbb36714e Change from CP_THREAD_ACP to CP_ACP. Resolves #5592
[SVN r76500]
2012-01-14 22:42:50 +00:00
Beman Dawes
3c8ddd3eea As of N3335
[SVN r76474]
2012-01-13 21:43:18 +00:00
K. Noel Belcourt
54ca23d767 Various sundry PGI fixes to get Boost.config working.
[SVN r76464]
2012-01-13 19:16:02 +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
a2f8e77ec3 Refine source.html and tr2_snippets.html, including the application of noexcept in more, but not all, of the applicable cases. Update do-list.
[SVN r76416]
2012-01-11 22:28:30 +00:00
Beman Dawes
0bf91dbc2b Docs source work-in-progress
[SVN r76410]
2012-01-11 17:03:43 +00:00
Beman Dawes
b5bc39f378 Initial commit of files enabling build of filesystem reference.html and the filesystem TR2 proposal from the same source file. This commit represents work-in-progress, and is not yet ready for prime time. See README for more information.
[SVN r76404]
2012-01-11 01:34:38 +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
eac29790ca Fix #4889, #6320, Locale codecvt_facet not thread safe on Windows. Move Windows, Mac OS X, locale and codecvt facet back to namespace scope. POSIX except OS X uses local static initialization (IE lazy) to ensure exceptions are catchable if environmental variables are misconfigured and to avoid use of locale("") if not actually used.
[SVN r76303]
2012-01-04 14:53:46 +00:00
Beman Dawes
8c3d0ec1c1 Clarify implementation requirements, provide examples
[SVN r75190]
2011-10-31 13:28:20 +00:00
Beman Dawes
c75e04495c Reorganize, clarify, class path docs for conversions
[SVN r75187]
2011-10-31 12:09:06 +00:00