Nikita Kniazev
a5c4b21988
operations_test: Enable locale query on MinGW/Cygwin
...
The `GetUserDefaultUILanguage` is available for a quite long time already (about 19 years for Cygwin, and 7-12 years for MinGW).
2019-04-02 15:29:13 +03:00
Andrey Semashev
27256f9d55
Removed asynch-exceptions=on for MSVC.
2019-01-14 20:46:59 +03:00
Andrey Semashev
c0c93a0c58
Removed linking with Boost.System from docs and examples.
2019-01-14 20:40:06 +03:00
Andrey Semashev
2c1fa1a4a0
Removed linking with Boost.System.
...
Since Boost.System is now header-only, no need to depend on its library.
Fixes https://github.com/boostorg/filesystem/issues/98 .
2019-01-14 20:08:41 +03:00
Andrey Semashev
a5dce21b60
Removed test log.
2018-12-09 01:30:50 +03:00
Andrey Semashev
8de281773f
Added definitions for path static constants.
...
This fixes compilation if user's code attempts to ODR-use the constants.
Fixes https://svn.boost.org/trac10/ticket/12759 .
Closes https://github.com/boostorg/filesystem/pull/40 .
2018-11-24 20:34:44 +03:00
Andrey Semashev
5a70ced692
Reverted the previous change regarding warnings aboit slicing exceptions.
...
Apparently, slicing was intentional, and the test verified that it worked.
This commit restores the previous behavior and disables the gcc warning
instead.
2018-11-24 18:59:08 +03:00
Andrey Semashev
e268f557df
Trim trailing spaces in the tests.
2018-11-24 15:23:43 +03:00
Andrey Semashev
d710f5d9d9
Fixed warnings about slicing exceptions and ignoring std::system result.
2018-11-24 15:21:19 +03:00
Peter Dimov
3ae9ac8e27
Add global visibility to libboost_filesystem as well
2018-09-26 08:29:28 +03:00
Peter Dimov
7ba4bfb949
Simplify test/Jamfile
2018-09-26 06:05:17 +03:00
Peter Dimov
68909064bd
Disable hidden visibility under UBSan for the codecvt-using tests
2018-09-26 05:58:36 +03:00
Peter Dimov
0837d92982
poison_category() was undefined behavior, use a normal one
2018-09-26 01:34:19 +03:00
Peter Dimov
9ed5b9e31d
Fix test to better tolerate parallel execution
2018-09-06 07:00:41 +03:00
Peter Dimov
a183553454
Add a test for the fs::copy issue in PR #70/#71
2018-09-05 22:24:09 +03:00
Peter Dimov
f13aa18a93
Fix BOOST_FOREACH support; add test
2018-09-05 07:59:20 +03:00
Beman
cd6fead714
Upgrade MSVC Platform Toolset to 141.
2018-04-10 07:56:37 -04:00
Beman
4bd92f00bb
Initial commit of Beman's Windows b2 test script
2018-04-10 07:52:04 -04:00
Peter Dimov
d8a6730d6e
Do not return a reference to NULL in poison_category(), to make the test pass on clang with variant=release
2018-01-29 19:29:53 +02:00
Peter Dimov
9a9bf767fb
Fix tests to better tolerate parallel execution
2017-12-19 02:44:43 +02:00
Peter Dimov
589bfb0436
Add quick test target (for CI)
2017-12-02 17:59:21 +02:00
Peter Dimov
1290dfa1dc
Add #include <boost/next_prior.hpp>; no longer in utility.hpp
2017-12-02 03:59:46 +02:00
Peter Dimov
669d35d8db
Merge branch 'feature/fix-op-unit-test' into feature/fix-cygwin-op-test
2017-11-22 17:34:13 +02:00
Peter Dimov
03eb5df380
Use SetEnvironmentVariableW on Cygwin too
2017-11-22 16:15:26 +02:00
Peter Dimov
1dc51988bb
Make operations_unit_test take a current directory argument; pass one in test/Jamfile
2017-11-22 05:05:43 +02:00
Beman
07619fb370
Add Beman's local test results to aid tracking changes over time.
2017-08-24 08:00:38 -04:00
Beman
49218481e5
Clean up some tutorial example code and fix the wording for it in the tutorial. Thanks to Anmol-Singh-Jaggi for pull request #11 .
2017-08-07 20:01:08 -04:00
Beman
170f483655
Add test/config_info.cpp to increase macro state reporting in hopes of easing debugging on remote machines.
2017-01-08 15:23:42 -05:00
Beman
4ccb6c38f2
Start release history for 1.64
2016-12-30 14:52:52 -05:00
Beman
2550f407f4
MinGW defines __MINGW32__ rather than _MSC_VER, so also test for __MINGW32__ to see if setenv/unsetenv workaround needed.
2016-12-30 10:09:31 -05:00
Beman
163631cc7d
ticket #12574 was just user confusion, but are the tests are worth keeping.
2016-11-28 08:29:08 -05:00
Beman
15c7706111
Fix create directory testing boo boo; Turns out " " is a valid file and directory name on Linux (and I'm guessing other POSIX-like systems). Add a POSIX-only test; "/foo" was reported to cause a crash on an earlier version. Don't test this on Windows since a user may well have sufficient permissions to create a directory in root.
2016-11-24 14:34:00 -05:00
Beman Dawes
cbefb2b9f0
Merge pull request #30 from thtrummer/develop
...
Fix warning, build error, for GCC under Cygwin
2016-11-23 10:46:37 -05:00
Beman
216720de55
Fix #12495 , create_directories() crashes when passed empty string as path, from Samantha Ritter. Also affected create_directory(). Charles Olivi submitted a pull request with some particularly helpful test cases.
2016-11-23 09:58:43 -05:00
Beman
5004d7b177
Fix #12578 - Bug in directory_iterator, recursive_directory_iterator, equality testing of copied iterator also at end.
2016-11-23 09:21:32 -05:00
Beman
48faf2b1ee
Add deprecated path::generic()
2016-11-22 16:51:45 -05:00
Beman
2f4b634c0c
Add some stem() and extension() test cases
2016-11-02 17:03:03 -04:00
Thomas Trummer
e4d01fc006
Fix build error when using C++11 under Cygwin
...
http://www.boost.org/development/tests/develop/developer/output/timber-cygwin-boost-bin-v2-libs-filesystem-test-operations_test-test-gcc-5-4-0-debug.html
(Assuming the #ifdef is a copy & paste error)
2016-07-05 11:33:12 +02:00
Felix Bruns
fcb98ee37e
Rename generic() to generic_path(), since generic is a keyword in C++/CX.
...
When using Boost.Filesystem from a project compiled as C++/CX code,
compilation fails with a syntax error, because generic is a keyword.
error C2059: syntax error: 'generic'
See section "Generic interfaces" in C++/CX here:
https://msdn.microsoft.com/en-us/library/hh755792.aspx
2016-04-27 14:11:08 +02:00
Beman
2f6391b931
Add class path constexpr constants separator and dot of the type appropriate for the platform, and add class path member query functions filename_is_dot() and filename_is_dot_dot(). These add convenience and the implementations may be more efficient that user coded equivalent functions. Also add detail functions is_directory_separator() and is_element_separator(), and replace all uses of local is_separator() in path.cpp with detail::is_directory_separator().
2015-12-01 10:17:45 -05:00
Beman
3c344a5f0b
Revert to lexical functions back to being members of class path. This is not the time to redesign the library's lexical vs operational conventions. It would break existing users mental model of lexical vs operational.
...
See doc/relative_proposal.html#Add-lexical-functions for additional rationale.
2015-10-25 13:28:49 -04:00
Beman
fb365908ad
Clear GCC warnings.
2015-10-08 05:03:51 -04:00
Beman
c026d612f2
String file feature cleanup: Add string_file.hpp to filesystem.hpp. Change string_file.hpp to use boost/filesystem/fstream.hpp for I/O. Add string_file_tests function to operations_unit_test.cpp.
2015-10-07 10:11:18 -04:00
Beman
320423af98
Added size() function to class path. Resolves #6874 , Path should have a size() member function.
2015-09-08 16:46:05 -04:00
Beman
461118d68c
Remove debug stmts that should have been removed by prior commit.
2015-09-08 16:21:01 -04:00
Beman
40526c67f2
Clean up some minor cygwin test problems.
2015-09-08 15:40:25 -04:00
Beman
9d5415d579
Add move constructor, move assignment, where called for in Filesystem TS.
2015-09-06 21:18:01 -04:00
Beman
8ad0258405
Tweak configuration.
2015-09-04 15:28:11 -04:00
Beman
5610f974be
Merge branch 'feature/relative2' into develop
2015-09-04 15:24:22 -04:00
Beman
a6900bf517
Update release history and add tests.
2015-09-04 13:41:20 -04:00