Commit Graph

933 Commits

Author SHA1 Message Date
Peter Dimov
c6a977c99f Avoid clang warning by removing the extra parentheses 2018-01-29 19:18:05 +02:00
Peter Dimov
e3976fb3d3 Merge pull request #62 from boostorg/pr/fix-icmp-init-issues
Use ad-hoc extension comparison to avoid initialization issues
2018-01-04 05:29:18 +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
399dd6e1d6 Use ad-hoc extension comparison to avoid initialization issues 2017-11-22 19:20:16 +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
Peter Dimov
93cab09a6b Add .travis.yml, appveyor.yml 2017-11-22 03:13:45 +02:00
Beman
44ce5b8e4f Merge branch 'develop' boost-1.66.0 2017-10-30 08:48:11 -04: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
8a0ab2fdd9 Merge branch 'develop' boost-1.64.0 boost-1.65.1 boost-1.65.0 2017-04-06 07:10:42 -04:00
Beman
23b79b9459 Clear two -Wconversion warnings 2017-04-03 09:47:32 -04:00
Beman
7fd4214912 is_empty()overload with error_code parameter should not throw on error. Thanks to ldqrk for pull request #42 2017-04-03 09:36:43 -04:00
Beman
9144a8ebd7 Update release history. 2017-04-03 08:29:00 -04:00
Beman
12bcf2e6ea Merge branch 'Dani-Hub-develop' into develop 2017-04-02 16:44:25 -04:00
drgler
0e831d5c2d Extended patch for ticket #10731 and ticket #9480: Replace expensive call of RtlInitUnicodeString by wcslen and get rid of CompareStringOrdinal completely, because it has no longer any advantages. Also, replace Windows TEXT macro by selecting GetModuleHandleW with wide character argument to prevent any additional conversions. 2017-03-19 16:21:46 +01:00
drgler
14935c4c6d Extended patch for ticket #10731 and ticket #9480: Replace usage of non-portable _wcsicmp by appropriate Windows functions to realize a locale invariant case-insensitive binary Unicode comparison that match the underlying file name comparison. 2017-03-18 22:28:29 +01:00
drgler
755766a053 Patch for ticket #10731 and ticket #9480: Evaluate path.extension only once, perform (case-insensitive) string comparisons using the wchar_t variants from the CRT to prevent code conversions via path.string() calls. 2017-03-14 21:46:12 +01:00
Beman Dawes
7abef6488f Merge pull request #39 from cmuellner/for-develop
Fix errno propagation in space(p, ec).
2017-01-09 17:37:43 -05: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
0840598bb1 Merge branch 'develop' 2017-01-08 06:48:01 -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
Christoph Müllner
7f1a6992e3 Fix errno propagation in space(p, ec).
The space(p, ec) implementation assigned a wrong
error value to the given error_code object.
Instead of getting the error value from errno,
the code used the value '-1!=0'.

Signed-off-by: Christoph Müllner <christophm30@gmail.com>
2016-12-12 00:42:54 +01: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
559188c951 Merge branch 'develop' boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.63.0 2016-11-26 14:55:02 -05:00
Beman
93429f24a1 Update release_history.html for pull request #31. 2016-11-26 14:27:33 -05:00
Beman Dawes
fca046d0c4 Merge pull request #31 from faithandbrave/patch-1
fix docs for signature stem(), extension() member functions
2016-11-26 14:18:26 -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
4e4374336c Fix #7307, remove_all(dirname,ec) throws on write protected directories. This is a tough one to test. There are three internal function calls where errors might arise, and it would take too much time to write tests for each of those cases. Someday we will have Titus Winter's mock installable file system, but for now are relying on code inspection rather than testing. 2016-11-23 12:02:09 -05:00
Beman
e34b838041 Document a couple of pull requests. 2016-11-23 10:51:47 -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 Dawes
51e51fc735 Merge pull request #34 from tbeu/tbeu-patch-1
Fix link text in reference.
2016-11-23 10:39:57 -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
a3c1014b21 Tweak release history. 2016-11-23 05:33:53 -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
Rene Rivera
aec6f91ad4 Add, and update, documentation build targets. 2016-10-10 11:39:49 -05:00
Rene Rivera
c8f1b16989 Add, and update, documentation build targets. 2016-10-07 23:07:33 -05:00
tbeu
ce0be4bfe7 Fix link text 2016-09-13 14:01:19 +02:00
Akira Takahashi
0027b3ef53 fix signature stem(), extension() member functions
`stem()` and `extension()` member functions doesn't have parameter.
2016-07-07 15:55:34 +09: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
Thomas Trummer
3c2c9812f0 Fix warning for GCC under Cygwin 2016-07-04 14:14:11 +02:00
Beman Dawes
65a27cc520 Merge pull request #27 from fxb/cppcx_generic_keyword
Rename generic() to generic_path(), since generic is a keyword in C++/CX
2016-04-27 09:20:39 -04: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
de527c6862 Refactor push_directory() logic so it is easier to reason about. 2016-04-18 10:41:07 -04:00