Beman
011522bd42
Fix #7258 , create_directories returns false if the path ends with a slash. Also fix related issues if path contains dot or dot-dot elements, and add test cases to the test suite.
2015-09-02 08:24:41 -04:00
Beman
706cf988a9
Revise get_temp_directory() test cases. Drive-by warning removal and partial fix for TortoiseGit-related test harness crashes.
2015-02-03 12:11:44 -05:00
Beman
a89b7af83a
Comment out test case until fix is applied. Drive by fix of two curly brace errors that happened to cancel each other out.
2015-01-31 08:56:07 -05:00
Beman
bb5a0ff09d
Clear warnings, including new warnings from VC++ 2015 preview.
2015-01-05 10:34:24 -05:00
Beman
9fd93a2008
Fix ticket #7018 , operations_test.cpp does not correctly use setenv, including the suggested setenv* void fix. Added comment explaining choice of void fix rather than _putenv fix.
2014-12-30 11:59:53 -05: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
750a82e20d
Revert "Merge branch 'develop' of github.com:boostorg/filesystem into develop"
...
This reverts commit 4610afc49e9c94bdc084cb13cceeec5912326dc6, reversing
changes made to 6623bde4fe501258a54746273ac337e3d55a6710.
2014-08-05 09:16:57 -04:00
Beman
cc99cc6ceb
Merge branch 'develop' into ts-develop
2014-07-31 17:24:34 -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
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
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
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
044b98373c
All char16_t/char32_t dependencies #ifdef'ed out. All test/msvc/filesystem.sln tests pass.
2014-07-10 14:43:22 -04:00
Beman
e59aecbcbe
Update the tests. Unstable.
2014-07-09 08:57:45 -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