Commit Graph

393 Commits

Author SHA1 Message Date
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
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
0d6af9221d Initial commit
[SVN r72920]
2011-07-05 14:26:37 +00:00
Beman Dawes
7faca8cd27 <test-info>always_show_run_output for V3 operations_test
[SVN r68622]
2011-02-03 13:04:35 +00:00
Beman Dawes
7922c919d8 V2 tests added. All tests passing on at least one compiler, none passing on all compilers
[SVN r62759]
2010-06-10 20:02:39 +00:00
Beman Dawes
98d00b2e88 Add Build and Test support. Build is working, a few tests are working.
[SVN r62662]
2010-06-09 15:07:03 +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
ec32b60c7a Fix #3927
[SVN r59673]
2010-02-13 17:08:39 +00:00
Beman Dawes
fc6d222bc4 Set warning level to -W4
[SVN r58192]
2009-12-06 16:53:20 +00:00
Vladimir Prus
121ad129f0 Fix Boost.Filesystem->Boost.System dependency for windows/shared.
[SVN r58028]
2009-11-29 10:03:34 +00:00
Troy D. Straszheim
6656351d2e rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Beman Dawes
f0a2284419 Fix #3385, add test cases
[SVN r56139]
2009-09-10 17:25:20 +00:00
Troy D. Straszheim
d46ec2ea1c Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Beman Dawes
594e0c5d8e Filesystem: add basic_path::clear() to fix #3186, clear() missing
[SVN r54055]
2009-06-18 15:48:19 +00:00
Beman Dawes
0aaa65e768 Fix Filesystem #2925, copy_file atomiticity
[SVN r53073]
2009-05-17 15:55:46 +00:00
Beman Dawes
7bc9e5db73 Filesystem: fix #3008, improving namespace discipline to avoid naming conflicts with the C++0x std library.
[SVN r52922]
2009-05-11 19:51:44 +00:00
Beman Dawes
39a9f8a82b filesystem tweaks
[SVN r52921]
2009-05-11 19:27:13 +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
dff8252505 Filesystem: path operator==, !=; use string comparison rather than !(lhs < rhs) && !(rhs < lhs) because the result is the same yet the direct string compare is much more efficient than operator<, which uses lexicographical_compare.
[SVN r50674]
2009-01-19 18:38:28 +00:00
Beman Dawes
0bd0323239 Filesystem: fix #1840, including adding test cases and updating docs
[SVN r50543]
2009-01-11 16:50:06 +00:00
Michael A. Jackson
7e43b381e4 Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
5cde8da587 Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +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
0a93531186 Add include <cwchar> in two place to fix ticket #2382
[SVN r49208]
2008-10-09 14:53:47 +00:00
Beman Dawes
f46a5d59c0 Remove redundant Jamfile <define>s
[SVN r49080]
2008-10-01 14:14:58 +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
42107efd12 Add deprecated_test to detect failures to provide legacy deprecated names
[SVN r48193]
2008-08-18 13:28:25 +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
c2f643bd6a Rename boost_filesystem_msvc to msvc
[SVN r46842]
2008-06-29 10:52:58 +00:00
Beman Dawes
ba2d721a51 Rename vc++.boost.filesystem.sln to boost_filesystem.sln
[SVN r46841]
2008-06-29 10:35:48 +00:00
Beman Dawes
a9cfb5a5d6 rename vc++.boost.filesystem to boost_filesystem_msvc
[SVN r46831]
2008-06-28 21:39:04 +00:00
Beman Dawes
ccae58a2d6 Add VC++ 8.0 solution and projects to ease development work
[SVN r46750]
2008-06-26 22:04:49 +00:00
Beman Dawes
812d41ebcd Add #includes to fix ticket #1589
[SVN r46482]
2008-06-18 16:02:51 +00:00
Beman Dawes
c27865d779 Boost.Exception now requires derivation from std::exception
[SVN r45834]
2008-05-27 20:46:13 +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
Marshall Clow
dcbe9649c2 Replaced all occurrences of non-ASCII copyright symbol with '(c)' for people using non-ASCII code pages
[SVN r43992]
2008-04-02 01:42:32 +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
6a4f0b8dbb Get rid of <runtime-link>static. Appears to cause problems on Sun and perhaps other Unix boxes.
[SVN r39561]
2007-09-27 00:22:16 +00:00
Beman Dawes
184a2518c5 Clear compiler warnings
[SVN r39520]
2007-09-25 13:45:52 +00:00
Beman Dawes
073c9dd27d Eliminate Concept library use to reduce dependencies
[SVN r39465]
2007-09-21 20:57:44 +00:00
Beman Dawes
24d5955d88 Remove files after tests
[SVN r39365]
2007-09-18 15:37:36 +00:00
Beman Dawes
8486480555 Ha! Finally figured out how to shut off msvc exception switch warning.
[SVN r39187]
2007-09-11 02:05:58 +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
Vladimir Prus
c1840ee23f Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
Beman Dawes
e7b1456dee v1 and v2 Jamfiles now present and working
[SVN r35890]
2006-11-07 02:20:47 +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
e9a59fcd78 Reactivate the 4.1 test. The correct fix was to fix underlying fstream .hpp narrow_path code, not disable the test.
[SVN r33215]
2006-03-03 16:28:36 +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
9f2f72b451 no test 4.1 on older Dinkumware since it asserts on empty path, causing logic to fail
[SVN r33160]
2006-02-27 21:50:14 +00:00
Beman Dawes
a29b14302a add test for path op= fix from Mark Bartosik
[SVN r33096]
2006-02-23 21:31:43 +00:00
Beman Dawes
04ec0fa26f file name misspelled
[SVN r33044]
2006-02-20 21:35:18 +00:00
Beman Dawes
579ff6dbad add test case that user claims failed in prior version
[SVN r33043]
2006-02-20 21:34:32 +00:00
Beman Dawes
f3e7d6a8f0 Make mismatched errno a warning not a failure
[SVN r33042]
2006-02-20 21:33:15 +00:00
Beman Dawes
7bd0367847 Added test case for case of no directory
[SVN r33041]
2006-02-20 21:32:21 +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
Vladimir Prus
007f66f3f2 Update Jamfile.v2
[SVN r32308]
2006-01-13 07:55:06 +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
43024b73a5 add forgotten native in new test cases
[SVN r31841]
2005-11-30 22:48:01 +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
2cbb1cf8a2 Remove separate link testing. All testing now done in main test jamfile.
[SVN r30149]
2005-07-17 20:55:23 +00:00
Beman Dawes
5c487d9379 Add path_test_dll and operations_test_dll. Also clean up a bit.
[SVN r30147]
2005-07-17 20:51:52 +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
Beman Dawes
05df06a5c9 STLPort is allergic to std::system, so don't use runtime platform test
[SVN r29672]
2005-06-18 12:20:13 +00:00
Beman Dawes
9ff5970b2c Add POSIX symlink remove tests
[SVN r29634]
2005-06-16 22:14:53 +00:00
Beman Dawes
629c3a308e Add copy_file test log messages to aid loop/hang diagnosis
[SVN r28819]
2005-05-11 13:16:50 +00:00
Beman Dawes
a8374fb32a Relax write_time constraints so tests more reliably pass on FAT and other low time precision file systems
[SVN r28814]
2005-05-11 11:49:09 +00:00
Vladimir Prus
22906e412a Sync with V1
[SVN r28245]
2005-04-14 13:10:56 +00:00
Beman Dawes
4a4bc5320b Add native test case for c++, which someone claimed was failing (but apparently isn't)
[SVN r27420]
2005-02-19 02:18:39 +00:00
Stefan Slapeta
4c75d616cf Replaced BOOST_TEST
[SVN r27048]
2005-02-03 10:54:24 +00:00
Beman Dawes
53b3c9404c add tests to detect interference between directory iterators, in response to reported Mac OS X problems with readdir.
[SVN r26780]
2005-01-21 14:24:06 +00:00
Beman Dawes
29f06fe6d2 Add ERROR_BAD_NETPATH to exists() checks (Martin Slater)
[SVN r26432]
2004-12-05 22:45:44 +00:00
Beman Dawes
393bc1e753 Add pgm to aid equivalent() testing
[SVN r26316]
2004-11-26 19:33:19 +00:00
Beman Dawes
7a0018fd9b fix 2 cases where on Windows a backslash was not equivalent to a forward slash
[SVN r26184]
2004-11-11 16:38:21 +00:00
Beman Dawes
bc41d3735d last_write_time() fix
[SVN r25637]
2004-10-09 20:25:30 +00:00
Beman Dawes
30b78770ef Add test case from Angus Leeming, fix bug spotted while adding test
[SVN r25122]
2004-09-15 15:59:27 +00:00
Beman Dawes
c0e987af46 add newline at eof to quiet compiler warnings
[SVN r25021]
2004-09-12 12:55:45 +00:00
Beman Dawes
86a674a57a add possible_large_file_size_support and associated test
[SVN r25010]
2004-09-10 13:53:02 +00:00
Beman Dawes
44694971a6 Add fs::exceptionj member tests
[SVN r24930]
2004-09-05 21:33:12 +00:00
Dave Abrahams
84dabd7b75 Full qualification for vc6/7 (no ADL).
[SVN r23543]
2004-07-14 13:46:42 +00:00
Dave Abrahams
332ead1f74 Repair postfix increment proxies for input iterators
[SVN r23508]
2004-07-13 17:23:53 +00:00
Rene Rivera
0a1da00836 Prevent use of auto-linking for regression testing as it causes failures when the auto-linked libraries are not found on some compilers.
[SVN r23428]
2004-07-10 16:46:06 +00:00
Beman Dawes
c7a9bf6593 expand rename() test cases, correct docs, tie test cases to docs
[SVN r22537]
2004-03-21 20:32:20 +00:00
Beman Dawes
3e74ac39e8 Add equivalent()
[SVN r22531]
2004-03-20 18:24:48 +00:00
Beman Dawes
44c08bc4eb add relational operators
[SVN r22498]
2004-03-14 17:53:45 +00:00
Beman Dawes
446f23446c create_directory() and create_directories() now return bool
[SVN r22481]
2004-03-11 16:08:16 +00:00
Beman Dawes
6fc50d0866 allow macros to override BOOST_PLATFORM
[SVN r22361]
2004-02-22 14:44:37 +00:00
Beman Dawes
9c86292c6d add file_size() support
[SVN r22156]
2004-02-03 16:00:10 +00:00
Beman Dawes
3bd38bc469 Borland last_write_time note
[SVN r21237]
2003-12-12 14:59:09 +00:00
Beman Dawes
fe44b73ba4 Add symbolic_link_exists
[SVN r21214]
2003-12-10 19:45:59 +00:00
Beman Dawes
6e5203dbd9 Separate canonic and normal form, add path::normalize()
[SVN r21190]
2003-12-09 18:10:50 +00:00
Beman Dawes
3e5d183de7 remove tabs
[SVN r20965]
2003-11-26 18:13:24 +00:00
Beman Dawes
8f91eb8b7a add abi, dll, auto_link
[SVN r20948]
2003-11-25 18:37:32 +00:00
Beman Dawes
8c8ea6e75b Update copyright and license info
[SVN r20243]
2003-10-02 15:17:36 +00:00
Vladimir Prus
f166ac68c2 Add V2 Jamfile
[SVN r20210]
2003-09-29 16:09:15 +00:00
Beman Dawes
3ca5d3daab Change license message to reference Boost Software License
[SVN r20038]
2003-09-12 17:09:29 +00:00
Dave Abrahams
608bd0b31e Use the import rule
[SVN r19968]
2003-09-08 17:38:49 +00:00
Beman Dawes
007b0f300c Initial commit
[SVN r19856]
2003-08-29 12:18:31 +00:00
Beman Dawes
1fa3fd646d add new name_check mechanism
[SVN r19808]
2003-08-27 14:50:05 +00:00
Beman Dawes
bba5bad57d add test for std::string auto convert with operator /
[SVN r19723]
2003-08-21 18:34:05 +00:00
Beman Dawes
6b9e01ab27 Add 2 arg last_write_time()
[SVN r19480]
2003-08-06 19:28:53 +00:00
Beman Dawes
3c0d481444 change to iterator_facade
[SVN r19090]
2003-07-12 17:48:25 +00:00
Beman Dawes
20cf6a6b81 add directory-placeholder syntax
[SVN r18783]
2003-06-11 18:03:22 +00:00
Beman Dawes
7f5db66f15 Add copyright
[SVN r18593]
2003-05-28 21:09:52 +00:00
Beman Dawes
b466cdb12d BOOST_NO_STDC_NAMESPACE workaround
[SVN r18513]
2003-05-23 14:50:23 +00:00
Beman Dawes
f6a9b8dbb7 Add last_write_time function
[SVN r18383]
2003-05-11 13:56:56 +00:00
Dave Abrahams
2d756c6eb1 restore from disk crash
[SVN r18353]
2003-05-08 02:19:10 +00:00
Beman Dawes
85fb67d273 change lib name to boost_filesystem
[SVN r17959]
2003-03-17 15:33:04 +00:00
Beman Dawes
88dfb58fd0 fix windows if drive not c:
[SVN r17818]
2003-03-11 19:14:09 +00:00
Beman Dawes
eae1b85c98 VC++ 7.1 build 2292 workaround
[SVN r17584]
2003-02-21 22:23:18 +00:00
Beman Dawes
450ff4e30c refine POSIX tests
[SVN r16872]
2003-01-11 14:06:48 +00:00
Beman Dawes
54602f1d55 now ready for subinclude from status/Jamfile
[SVN r16772]
2003-01-06 21:29:41 +00:00
Beman Dawes
3f64ac195b Platform detection fixes
[SVN r16749]
2003-01-04 15:07:09 +00:00
Beman Dawes
63f8c34b7f filesystem_error redesign
[SVN r16723]
2002-12-30 19:16:31 +00:00
Beman Dawes
54b5cc7146 add convenience_test
[SVN r16652]
2002-12-18 17:10:54 +00:00
Beman Dawes
6ea7dee986 initial commit
[SVN r16649]
2002-12-18 17:09:08 +00:00
Beman Dawes
fadc0fc63e fs_review branch merged
[SVN r16593]
2002-12-11 19:47:00 +00:00
Beman Dawes
da5281c632 remove until link issues resoved - see fs_review branch for unofficial version
[SVN r16592]
2002-12-11 19:40:32 +00:00
Beman Dawes
f8ddbc2761 comment out recurse itr test until problems resolved
[SVN r16099]
2002-11-04 17:47:25 +00:00
Beman Dawes
543669496a initial commit - review comments not yet applied
[SVN r15831]
2002-10-09 19:49:35 +00:00