5ee2bb4189
Filesystem: Add path::operator+= and concat functions to tack on things like suffixes or numbers. Suggested by Ed Smith-Rowland and others.
Beman Dawes
2012-04-18 14:46:15 +00:00
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.
Beman Dawes
2012-04-18 01:31:53 +00:00
794a99390f
filesystem: Remove universal-character-name from source; was causing failure with Intel/Windows and required warning suppression on VC++
Beman Dawes
2012-04-16 14:06:50 +00:00
9bba5a53fb
filesystem: remove unused function to quiet Intel/Windows compiler warning.
Beman Dawes
2012-04-16 13:44:58 +00:00
b8bb495787
filesystem: change imbue test to avoid reliance on L string literal encoding, thus allow test to pass on Intel compiler for Windows
Beman Dawes
2012-04-16 13:41:17 +00:00
1207aac116
filesystem: Move compare() implementation to path.cpp, thus clearing gcc warning about header implementation of class with dll interface.
Beman Dawes
2012-04-16 13:36:28 +00:00
d99c7f051a
Add a test case for 6690
Beman Dawes
2012-04-16 13:01:30 +00:00
da4f223c5bFix#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.
Beman Dawes
2012-04-15 20:34:19 +00:00
43c13a59d6
Make BOOST_x_DYN_LINK tbe default
Beman Dawes
2012-04-15 20:16:18 +00:00
03195bfb17
Tighten config.hpp and Jamfile logic before attaching static build problems.
Beman Dawes
2012-04-15 19:16:49 +00:00
82c5b7533bFix#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.
Beman Dawes
2012-03-31 15:53:24 +00:00
62d3e98a46
Correct ".." description (thanks Ivan Le Lann). Add path iterator overview sentence.
Beman Dawes
2012-03-30 21:25:35 +00:00
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
Beman Dawes
2012-03-28 12:36:52 +00:00
4910fe6e64Fix#3737, Boost.Filesystem does not compile on Windows Mobile
Beman Dawes
2012-03-27 14:40:56 +00:00
494b34027eFix#5118, replace_extension doesn't work as specified in documentation
Beman Dawes
2012-03-26 21:19:36 +00:00
e32bdb46a4
Filesystem no longer provides a VC++ Solution for VC++ 9
Beman Dawes
2012-03-26 14:05:40 +00:00
259a50432d
Update release history
Beman Dawes
2012-01-25 02:38:25 +00:00
21a1d5b384Fix#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.
Beman Dawes
2012-01-24 19:43:11 +00:00
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.
Beman Dawes
2012-01-23 12:12:17 +00:00
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.
Beman Dawes
2012-01-22 02:18:37 +00:00
c3f97a9f83
Fix directory_iterator access violation on Windows if error is thrown (#5900). Thanks to Andreas Eckleder for the patch.
Beman Dawes
2012-01-21 21:34:51 +00:00
4013cbe7ce
Correct test to match spec; path iteration yields generic format. Does will be clarified to explain why #5989 is NAD.
Beman Dawes
2012-01-20 10:55:53 +00:00
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.
Beman Dawes
2012-01-18 21:36:41 +00:00
ce92bed563
Apply recursive_directory_iterator patch contributed by Daniel Aarno, fixing #5652 for cyclic symlinks
Beman Dawes
2012-01-17 16:00:22 +00:00
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
Beman Dawes
2012-01-16 15:59:27 +00:00
03c1beb6e0
Merge from trunk
Beman Dawes
2012-01-15 19:22:27 +00:00
9cbb36714e
Change from CP_THREAD_ACP to CP_ACP. Resolves#5592
Beman Dawes
2012-01-14 22:42:50 +00:00
3c8ddd3eea
As of N3335
Beman Dawes
2012-01-13 21:43:18 +00:00
54ca23d767
Various sundry PGI fixes to get Boost.config working.
K. Noel Belcourt
2012-01-13 19:16:02 +00:00
ca788b18fd
Remove spurious semicolon causing problem for gcc in pedantic mode.
Beman Dawes
2012-01-12 00:22:45 +00:00
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.
Beman Dawes
2012-01-11 22:28:30 +00:00
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.
Beman Dawes
2012-01-11 01:34:38 +00:00
cc24bc84f1
Relax permissions test to reflect reality, particularly on the Sandia test platforms
Beman Dawes
2012-01-05 13:52:11 +00:00
eac29790caFix#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.
Beman Dawes
2012-01-04 14:53:46 +00:00
c75e04495c
Reorganize, clarify, class path docs for conversions
Beman Dawes
2011-10-31 12:09:06 +00:00
f446ccf831
Change permissions() implementation to work correctly on MinGW and on Windows variants without _wchmod
Beman Dawes
2011-10-28 20:07:33 +00:00
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.
Beman Dawes
2011-10-27 15:37:11 +00:00
3bbd026002
First pass for permissions documentation complete.
Beman Dawes
2011-10-16 14:21:41 +00:00
b163480ba5
Docs work in progress
Beman Dawes
2011-10-16 00:39:26 +00:00
67c7b055e3
Add support for permissions. Docs to follow.
Beman Dawes
2011-10-15 16:02:20 +00:00
12ad700ee1
Merge trunk, including hash and canonical support
Beman Dawes
2011-10-09 13:54:09 +00:00
6879715abc
Eliminate default_format from header. This eliminates initialization issues at the cost of some additional overloads. Docs to follow. Suggested by Rob. This change was made simpler by combining and reorganizing so there are now only two source files.
Beman Dawes
2011-10-06 20:50:47 +00:00
827a2416ea
Add canonical() use note.
Beman Dawes
2011-10-06 12:55:29 +00:00
9d28593943
Added operational function canonical(), suggested by David Svoboda, who also provided pseudo-code.
Beman Dawes
2011-10-04 01:10:17 +00:00
57d50f3f99
Remove some unnecessary checks in path equality.
Daniel James
2011-09-22 23:56:12 +00:00
4306a32bc2
Document hash_value for paths.
Daniel James
2011-09-22 23:55:40 +00:00
2e6cc63e65
Filesystem: add hash_value.
Daniel James
2011-08-16 22:15:55 +00:00
94420d4b61Fix#5764 - add template qualified; reported to be required on QNX6.3.2 host (gcc-3.3.5)
Beman Dawes
2011-08-15 19:29:26 +00:00
74270abd20
Merge from trunk, including local_info.cpp and changeset 73402 fixes for #7534, missing POSIX close()
Beman Dawes
2011-07-29 19:51:24 +00:00
03fac52dcbFix#7534 both v2 and v3 - copy_file failing to close file after stat error
Beman Dawes
2011-07-27 18:39:29 +00:00
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.
Beman Dawes
2011-07-02 14:43:18 +00:00
4315309221
Merge portions of changesets 72278, 72306, 72309, 72521 missed by prior merge due to SVN snafu. Authorized by Daniel (1st 3), Eric (last 1).
Beman Dawes
2011-06-28 19:37:28 +00:00
3ba005df4f
Merge changesets 72278, 72306, 72309, 72521. Authorized by Daniel (1st 3), Eric (last 1).
Beman Dawes
2011-06-28 19:24:09 +00:00
456eda4e05Fix#5048, for HP-UX
Beman Dawes
2011-06-09 19:43:44 +00:00
4d4f5c2c6e
Add exists(path) information
Beman Dawes
2011-05-31 15:14:26 +00:00
f380e2b8d8
Add example file_status.cpp
Beman Dawes
2011-05-31 13:44:26 +00:00
9cd9367b91Fix#5355, QNX large file issues. Thanks to Niklas Angare for investigating, patch, and testing.
Beman Dawes
2011-05-30 12:33:14 +00:00
bad343a65b
Change BOOST_ASSERT to BOOST_ASSERT_MSG when there was a && "..."
Beman Dawes
2011-04-19 02:05:55 +00:00
9820ee3679
Add comment to docs on Windows extended-length prefix paths. Add test program for experimenting with extended-length prefix paths.
Beman Dawes
2011-04-12 14:34:16 +00:00
4d4b6bfb39Fix#5405. Note that this is only a partial fix. The issue is much larger; see ticket 5448 for details.
Beman Dawes
2011-04-10 02:00:35 +00:00
b440ecd547Fix#5404 and #5434. Add make_preferred_tests. Add comment cautioning for Windows class path relational operators when difference between slash and backslash is significant.
Beman Dawes
2011-04-07 14:34:33 +00:00
0853dd535f
Merge trunk, including reparse point bug fix
Beman Dawes
2011-02-15 15:18:19 +00:00
063dcbe36fFix#5188 to clear gcc warning
Beman Dawes
2011-02-14 15:02:47 +00:00
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.
Beman Dawes
2011-02-13 15:02:27 +00:00
7faca8cd27
<test-info>always_show_run_output for V3 operations_test
Beman Dawes
2011-02-03 13:04:35 +00:00