82 Commits

Author SHA1 Message Date
Beman
d774842f39 Initial directory junction support. See release_history.html 2014-07-25 11:00:54 -04:00
Beman
b5dd289799 Remove test that fails if Windows Explorer with TortoiseGit plug-in is running. Suspect TGitCache process is briefly delaying some effects of file deletion. 2014-07-23 09:52:36 -04:00
beman
5b0beaa91f Fix test code that failed on dangling symlink left by prior test 2014-07-20 18:17:35 -04:00
Beman
040be88815 Rework the recursive_directory_iterator::increment function to always make progress, even when errors occur. 2014-07-20 16:44:28 -04:00
Beman
514f8d33e2 Tweak spacing for test reporting. 2014-07-16 08:59:44 -04:00
Beman
6ed4c4f6f7 Apply Christian Hammerl's fix for tickets 9683 and 10187. Supply test cases that should work for both POSIX and Windows. Tested with fix commented out to verify test cases do detect the problem. 2014-07-16 08:48:44 -04:00
Beman Dawes
1170b12166 Generate unique name for operation_test directory. This prevents tests failures if static and shared tests happen to run in parallel.
[SVN r79756]
2012-07-26 12:54:58 +00:00
Beman Dawes
999ab2ff4b Fix a Linux fchmodat problem affecting symlink permissions reported during discussion of 6659. Patch supplied by Duncan Exon Smith. Does not fix the original problem.
[SVN r79481]
2012-07-13 19:43:33 +00:00
Beman Dawes
ede84eefd7 Filesystem: Further fixes for #6932. Clarify docs. Add test cases.
[SVN r78747]
2012-05-29 15:53:02 +00:00
Beman Dawes
c0b7979013 Filesystem: fix #6932, create_directories throws exception even if error_code is specified.
[SVN r78721]
2012-05-28 15:47:59 +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
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
fa515c07f5 Move files into new v2 + v3 directory structure
[SVN r62653]
2010-06-09 13:00:15 +00:00
Beman Dawes
91715967a5 Upgrade system and filesystem to conform system_category and generic_category interface to N3090, the current C++0x working paper, section 19.5, System error support.
Refactor API macros into a new header, boost/system/api_config.hpp.

Prohibit user definition of API macros. Rationale: ensure all translation units use same definitions, cut number of environments that need to be tested.

[SVN r62313]
2010-05-30 15:38:32 +00:00
Beman Dawes
0aaa65e768 Fix Filesystem #2925, copy_file atomiticity
[SVN r53073]
2009-05-17 15:55:46 +00:00
Beman Dawes
0645bc1347 System, Filesystem: remove boost/detail/test_framework.hpp; use boost/detail/lightweight_test.hpp instead (Thanks to Peter Dimov for pointing this out)
[SVN r51966]
2009-03-25 12:11:47 +00:00
Beman Dawes
ae30e53a68 Filesystem: remove dependency on Boost.Test
[SVN r51959]
2009-03-24 15:33:31 +00:00
Beman Dawes
b917a12625 Fix #2725
[SVN r51931]
2009-03-23 11:30:54 +00:00
Beman Dawes
46b5d1377b Add more error reporting at the create_directory() failure point that seems to be the first sign of test setup problems.
[SVN r49329]
2008-10-14 16:31:24 +00:00
Beman Dawes
55ba98b7b7 Filesystem: apply #2395 operations_test regression test fails on MSVC with STDCXX
[SVN r49275]
2008-10-11 12:28:21 +00:00
Beman Dawes
e22eb55f69 Boost.Filesystem: change tests to define BOOST_FILESYSTEM_NO_DEPRECATED. Expand deprecated_test.
[SVN r48463]
2008-08-29 20:10:08 +00:00
Beman Dawes
01108afd29 Revert 'remove' changes inadvertently committed by 47006. Fully apply ticket #1972 'remove' fixes.
[SVN r48377]
2008-08-25 15:35:34 +00:00
Beman Dawes
fb65347b54 After extensive discussion on the list with Dave Abrahams, Vladimir Prus, and others, rename basic_path::leaf() -> filename, branch_path -> parent_path, replace_leaf -> replace_filename. Add basic_path member functions stem, extension, replace_extension.
[SVN r47181]
2008-07-07 12:20:04 +00:00
Beman Dawes
001c15dd32 Rename is_regular() to is_regular_file
[SVN r47131]
2008-07-06 12:10:42 +00:00
Beman Dawes
3ee73a0df7 Partial resolution of ticket #1972; remove() issues for POSIX are cleared. Added regression test cases covering self-reference and cyclic symlinks.
[SVN r47006]
2008-07-02 21:05:54 +00:00
Beman Dawes
85509b2357 Fix ticket #1609
[SVN r45829]
2008-05-27 19:59:10 +00:00
John Maddock
d6a16ca075 Fix msvc warnings using new warning suppression header.
[SVN r44688]
2008-04-21 08:47:04 +00:00
Beman Dawes
1a13f5612a GetUserDefaultUILanguage isn't present for Cygwin, so disable use
[SVN r41106]
2007-11-15 14:36:40 +00:00
Beman Dawes
571fd79144 Add tests for, and fix, current_path overloading.
[SVN r41052]
2007-11-13 02:54:32 +00:00
Beman Dawes
d5a3d3449a Mingw doesn't support GetUserDefaultUILanguage so set it to US English.
[SVN r40646]
2007-11-01 16:35:45 +00:00
Beman Dawes
95a689611b Suppress message tests on Windows unless the language is US English
[SVN r40051]
2007-10-15 14:50:59 +00:00
Beman Dawes
3d66631267 Remove dependency on boost::bind so that tests will still work on broken compilers where bind fails.
[SVN r39652]
2007-10-02 16:30:04 +00:00
Beman Dawes
073c9dd27d Eliminate Concept library use to reduce dependencies
[SVN r39465]
2007-09-21 20:57:44 +00:00
Beman Dawes
49f6e3cfd7 Merge system and filesystem branches, bringing them in sync with N2415. Several filesystem bugs fixed, and current_path setter added.
[SVN r39173]
2007-09-09 14:59:10 +00:00
Beman Dawes
2045be22d6 Bring into compliance with N2066, TR2 Diagnostics Enhancements. Tests passing on Win32, Linux, on most modern compilers.
[SVN r35823]
2006-11-03 16:57:30 +00:00
Beman Dawes
c4a2f640a1 Use non-member what() for exception display on -t option
[SVN r33276]
2006-03-09 03:26:45 +00:00
Beman Dawes
cca612bfbc fix directory_iterator test for directories that do not sort entries
[SVN r33162]
2006-02-27 22:11:34 +00:00
Beman Dawes
f3e7d6a8f0 Make mismatched errno a warning not a failure
[SVN r33042]
2006-02-20 21:33:15 +00:00
Rene Rivera
b66f0c8c97 Adjust Boost.Jam references to new root/tools/jam location.
[SVN r32873]
2006-02-12 23:18:46 +00:00
Beman Dawes
349f708f01 Add UNC test cases, comment to status code
[SVN r32745]
2006-02-08 17:31:20 +00:00
Beman Dawes
040c9372b3 Bring into sync with WG21/D1934=06-0004
[SVN r32532]
2006-02-03 20:59:04 +00:00
Beman Dawes
96cb571b6a Add two exists() cases thanks to John Maddock
[SVN r32267]
2006-01-09 14:20:15 +00:00
Beman Dawes
54a65f2ec0 fix symlink predicate tests
[SVN r32208]
2006-01-03 02:53:41 +00:00
Beman Dawes
aac5f49666 is_file, file_flag -> is_regular, regular_flag per TR2 proposal
[SVN r32201]
2006-01-02 02:30:53 +00:00
Beman Dawes
5793738346 Add predicate function overloads on status_flags (Suggested by Martin Adrian)
[SVN r32195]
2006-01-01 14:14:13 +00:00
Beman Dawes
48d4335bfc merge from i18n branch - at last!
[SVN r32079]
2005-12-16 16:40:35 +00:00
Beman Dawes
31b3d70c7d add fixes and tests for c:foo directory iteration bug 1259176
[SVN r31821]
2005-11-29 15:35:23 +00:00
Beman Dawes
f4c1f5a70d add test to detect SF tracker [ 937606 ] bug reported in comment by V.
[SVN r31806]
2005-11-28 19:28:39 +00:00
Beman Dawes
dd64e21a83 Fix typo in test case that has gone undetected for years because most systems order directory entries such that the other logic path got tested
[SVN r30146]
2005-07-17 20:50:06 +00:00