Commit Graph

238 Commits

Author SHA1 Message Date
Beman
348d144d2b For test/Jamfile.v2, run several critical tests for both V3 and V4. In build/Jamfile.v2, fix bug - utf8_codecvt_facet neeeds v3 and v4 builds. Fix typo in codecvt_error_category.cpp. Tests now passing for msvc and cygwin/gcc compilers. 2014-08-31 17:35:41 -04:00
Beman
3d42c2fefb Define BOOST_FILESYSTEM_NAMESPACE as "filesystemN" where N is the version number, and replace uses of "namespace filesystem" with "namespace BOOST_FILESYSTEM_NAMESPACE". 2014-08-31 08:30:10 -04:00
Beman
ba687fa2e0 The changeover occurs after version 3, so make the #if's relative to 3. 2014-08-30 08:43:26 -04:00
Beman
7b0c3936db Streamline the versioning macros and bring them into sync with the numbering used by V2 and V4, to preserve existing code that still defines BOOST_FILESYSTEM_VERSION as 3. 2014-08-29 21:20:43 -04:00
Beman
370843641a Add BOOST_FILESYSTEM_OPERATIONS_TEST_TEMP macro to work around problem of TGitCache holding filesystem/test open for too long, and thus preventing operations_test from deleting its test files at end-of-job. TODO: experiment to see if running operations_test in a "test/temp" sub-directory, and having a .gitignore entry for it would be a cleaner way to solve the problem. 2014-08-29 16:27:26 -04:00
Beman
d953e4cc21 Finish config_info.hpp and apply to critical tests. Clean up Jamfile by making <test-info>always_show_run_output a project-wide requirement. 2014-08-28 11:47:14 -04:00
Beman
995929cad8 Preliminary work on being able to set version via environmental variable, and adding config_info.hpp. 2014-08-28 10:00:42 -04:00
Beman
cc01642997 Switch to using BOOST_FILESYSTEM_DETAIL_V3 to determine which version being built. That more clearly indicates which code blocks need to be removed when V3 support is removed. 2014-08-27 11:05:46 -04:00
Beman
197c565d64 Add msvc header_inclusion project so actual headers are found by "find in files". 2014-08-27 09:59:14 -04:00
Beman
f45006348b Add BOOST_FILESYSTEM_LOG_DETAIL_APPENDS machinery so logging is under macro control. 2014-08-26 12:27:18 -04:00
Beman
e0caa7c269 Add <test-info>always_show_run_output 2014-08-26 11:32:59 -04:00
Beman
dda62766ed Display "BOOST_FILESYSTEM_TS is [not] defined" 2014-08-26 11:30:33 -04:00
Beman
93b8254152 Add tests to ensure that various Boost types work as expected (Antony Polukhin). 2014-08-25 16:11:53 -04:00
Beman
bfbc1752c4 Uncomment path_unit_test.cpp lines previously commented out to speed testing. 2014-08-25 15:47:03 -04:00
Beman
ac9bfed3d8 Implement TS path appends. 2014-08-24 08:10:28 -04:00
Beman
5dffd5368b Implement TS op=() and assign(). 2014-08-24 07:32:26 -04:00
Beman
19b868be19 Restore failing test that was disabled while testing the "explicit with defaulted args" gotcha. 2014-08-22 21:47:42 -04:00
Beman
4328709bf2 Refactoring so that GCC compiles OK. Still have not found problem causing operations_unit_test to fail directory_entry relational operations. 2014-08-22 17:18:53 -04:00
Beman
661d5d705e Add hello_filesystem_static msvc project. 2014-08-22 11:36:31 -04:00
Beman
9a0ec24b4c Implement append() overload cases requiring type and encoding conversion. 2014-08-22 08:52:33 -04:00
Beman
a2e7416c4a Dispatch on both iterator/container and convert/no-convert working, although detail::append overloads actually do anything yet. 2014-08-21 11:37:31 -04:00
Beman
b5cfe95696 is_iterator dispatch working. Unstable work-in-progress. 2014-08-20 16:12:10 -04:00
Beman
35096ca056 Add 9219.cpp plus infrastructure and path.cpp logging 2014-08-17 10:55:01 -04:00
Beman
4d64f34c01 Add non-const overloads for the value_type and string_type to avoid calling codecvt(). Fixes ticket #9219. 2014-08-17 09:22:32 -04:00
Beman
0e16e5bdff Replace more <boost/test/prg_exec_monitor.hpp> usage with <boost/detail/lightweight_main.hpp>. 2014-08-06 12:19:29 -04:00
Beman
bf1339e282 Remove use of <boost/test/prg_exec_monitor.hpp>. It has caused trouble for years, and I'm tired of fighting with it. The last straw was adding a Cygwin gcc toolset, only to have <boost/test/prg_exec_monitor.hpp> fail to link. Change to always use <boost/detail/lightweight_main.hpp>, which is trouble-free. 2014-08-06 12:16:06 -04:00
Beman
63ad0348aa Add hello_filesystem.cpp and related infrastructure so we have a handy starting point for building quick tests. 2014-08-05 15:14:04 -04:00
Beman
750a82e20d Revert "Merge branch 'develop' of github.com:boostorg/filesystem into develop"
This reverts commit 4610afc49e, reversing
changes made to 6623bde4fe.
2014-08-05 09:16:57 -04:00
Beman
4610afc49e Merge branch 'develop' of github.com:boostorg/filesystem into develop 2014-08-04 20:25:07 -04:00
Beman
6623bde4fe Fix Jamfile boo boo 2014-08-04 20:21:45 -04:00
Beman
96d7c10731 Initial commit and update Jamfile 2014-08-04 16:56:14 -04:00
Beman
cc99cc6ceb Merge branch 'develop' into ts-develop 2014-07-31 17:24:34 -04:00
Beman
91c4517a8c Add a useless initialization to quiet the Clang static analyzer, closing ticket #8954. 2014-07-28 16:47:25 -04:00
Beman
02b5767bf1 Shorten name of operations_test temp directory to shorten console commands when debugging. 2014-07-28 08:30:24 -04:00
Beman
e8c90f7f15 Add test for ODR violations such as forgetting to inline a function in a header. Thanks to STL for pointing out this testing technique. 2014-07-25 17:58:15 -04:00
Beman
69d16ad72b Correct some tests. 2014-07-25 15:26:33 -04:00
Beman
d774842f39 Initial directory junction support. See release_history.html 2014-07-25 11:00:54 -04:00
Beman
4635e93d02 Add move semantics to file_status per DTS. Fix incorrect synonym in perms. Add file_status constructor test cases. 2014-07-24 15:38:48 -04:00
Beman
f0ce9bd649 Missed a few perms value changes that were on next DTS page. 2014-07-23 15:58:04 -04:00
Beman
038bce7e2d DTS: enum perms changed to enum class perms. Constant names have changed; synonyms provided. 2014-07-23 15:35:44 -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
98b29a72e5 Fix-up of prior merge conflict resolution from develop. 2014-07-23 09:39:26 -04:00
Beman
99a94662b2 Merge branch 'develop' into ts-develop
Conflicts:
	include/boost/filesystem/operations.hpp
	test/operations_test.cpp
2014-07-22 20:55:58 -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
0a692332f3 test/issues/Jamfile.v2 initial commit. 2014-07-20 17:15:39 -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
ff1eef7670 Update test to reflect the recursive_directory_iterator::increment invariant to be added that progress is always made, allowing loops to terminate even if errors occur. 2014-07-20 09:01:53 -04:00
Beman
23d2fcb9e0 recurse_dir_iter_5403.cpp initial commit. 2014-07-19 14:39:45 -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