Commit Graph

  • 9ed5b9e31d Fix test to better tolerate parallel execution feature/readdir_r Peter Dimov 2018-09-06 07:00:41 +03:00
  • cdbf5a0be1 Merge pull request #44 from DanielaE/fix/narrowing Peter Dimov 2018-09-06 05:57:57 +03:00
  • e560896924 Merge pull request #49 from dkolsen-pgi/pgi-compiler-support Peter Dimov 2018-09-06 05:15:43 +03:00
  • 0f6e3f0686 Merge branch 'remove_readdir_r' of https://github.com/Lastique/filesystem into feature/readdir_r Peter Dimov 2018-09-06 04:28:31 +03:00
  • 8dc8861b2a Merge branch 'feature/ubsan-enum-range-2' into feature/70-71-copy feature/ubsan feature/70-71-copy Peter Dimov 2018-09-06 03:33:12 +03:00
  • c0528ab880 Extend bitmask enum types to 32 bits to placate ubsan feature/ubsan-enum-range-2 Peter Dimov 2018-09-06 02:22:58 +03:00
  • b478ec6ee2 Disable -fsanitize=enum feature/ubsan-enum-range Peter Dimov 2018-09-06 01:28:33 +03:00
  • 62217174c6 Merge branch 'patch-2' of https://github.com/rcombs/filesystem into feature/70-71-copy Peter Dimov 2018-09-05 23:26:21 +03:00
  • a183553454 Add a test for the fs::copy issue in PR #70/#71 Peter Dimov 2018-09-05 22:24:09 +03:00
  • ad406ba3c8 Merge branch 'mac/bug30973' of https://github.com/mikecrowe/filesystem into feature/ubsan Peter Dimov 2018-09-05 20:39:35 +03:00
  • 88250119ab Use -fuse-ld=gold for g++-8/ubsan Peter Dimov 2018-09-05 20:03:53 +03:00
  • 880d430dcf Add -fsanitize=undefined configurations to Travis Peter Dimov 2018-09-05 18:30:38 +03:00
  • 606bfa58bf Add clang 3.3, 3.4 to Travis feature/more-travis Peter Dimov 2018-09-05 16:38:30 +03:00
  • fbf4d92955 Add g++ 4.4, 4.6, 8; clang 6 to Travis Peter Dimov 2018-09-05 16:36:46 +03:00
  • d32190fab7 Remove dependency on Range feature/foreach Peter Dimov 2018-09-05 08:14:32 +03:00
  • f13aa18a93 Fix BOOST_FOREACH support; add test Peter Dimov 2018-09-05 07:59:20 +03:00
  • d88945564a fix compiler warnings about narrowing conversions Daniela Engert 2015-01-09 17:32:21 +01:00
  • c155593fe2 path.hpp: Fix a few cases of trying to dereference (w)string::end() datadiode 2018-07-14 09:20:13 +02:00
  • b8d259fb88 directory_iterator_construct: Avoid provoking undefined behaviour Mike Crowe 2018-06-29 14:43:16 +01:00
  • 5a93351bfd Merge pull request #51 from hammond/sysconf-errno boost-1.68.0 Peter Dimov 2018-06-05 13:11:02 +03:00
  • 37b324ceab Install libstdc++-4.9 on clang-4.0, 5.0 Peter Dimov 2018-05-09 20:09:23 +03:00
  • 6f31d4e07c Merge pull request #69 from alexeikh/pr/fix-file-offset-bits-64 Peter Dimov 2018-05-09 18:14:24 +03:00
  • f710a2fc9a Disable readdir_r on Android. Andrey Semashev 2018-04-10 19:16:30 +03:00
  • cd6fead714 Upgrade MSVC Platform Toolset to 141. Beman 2018-04-10 07:56:37 -04:00
  • 4bd92f00bb Initial commit of Beman's Windows b2 test script Beman 2018-04-10 07:52:04 -04:00
  • 6fb9281d2a Fix undefined behavior in detail::copy Rodger Combs 2018-04-06 03:24:37 -05:00
  • 3d3d504b25 Do not define _FILE_OFFSET_BITS for Android APIs < 24. Alexei Khlebnikov 2018-03-06 23:53:03 +01:00
  • f721c56ea6 Improved comment about why _FILE_OFFSET_BITS should be defined for most systems. Alexei Khlebnikov 2018-03-04 16:56:59 +01:00
  • 716567aa9e Added a check for whether the size argument to resize_file exceeds off_t limit. Andrey Semashev 2018-03-02 17:35:23 +03:00
  • b37e83640a Do not define _FILE_OFFSET_BITS for Android APIs < 21. Alexei Khlebnikov 2018-03-03 17:35:28 +01:00
  • 7717db0b3e Deduplicated and cleaned up _FILE_OFFSET_BITS #if-ery. Alexei Khlebnikov 2018-03-03 16:50:57 +01:00
  • 18c7f93440 Replaced for-internal-use macro __USE_FILE_OFFSET64 by for-public-use macro _FILE_OFFSET_BITS. Alexei Khlebnikov 2018-03-03 16:47:54 +01:00
  • aea71c5864 Transformed _FILE_OFFSET_BITS #if-ery even more for better understanding. Alexei Khlebnikov 2018-03-03 16:43:34 +01:00
  • e5b3740440 Transformed _FILE_OFFSET_BITS #if-ery for better understanding. Alexei Khlebnikov 2018-03-03 16:39:18 +01:00
  • 48b8d753dd Don't use readdir_r on Linux. Andrey Semashev 2018-03-02 02:29:58 +03:00
  • d8a6730d6e Do not return a reference to NULL in poison_category(), to make the test pass on clang with variant=release boost-1.67.0 Peter Dimov 2018-01-29 19:29:53 +02:00
  • c6a977c99f Avoid clang warning by removing the extra parentheses Peter Dimov 2018-01-29 19:18:05 +02:00
  • e3976fb3d3 Merge pull request #62 from boostorg/pr/fix-icmp-init-issues Peter Dimov 2018-01-04 05:29:18 +02:00
  • 9a9bf767fb Fix tests to better tolerate parallel execution Peter Dimov 2017-12-19 02:44:43 +02:00
  • 589bfb0436 Add quick test target (for CI) Peter Dimov 2017-12-02 17:59:21 +02:00
  • 1290dfa1dc Add #include <boost/next_prior.hpp>; no longer in utility.hpp Peter Dimov 2017-12-02 03:59:46 +02:00
  • d69f55854d Do not use throwing new in noexcept constructors pr/fix-issue-58 Peter Dimov 2017-11-22 20:34:01 +02:00
  • 399dd6e1d6 Use ad-hoc extension comparison to avoid initialization issues pr/fix-icmp-init-issues Peter Dimov 2017-11-22 19:20:16 +02:00
  • 669d35d8db Merge branch 'feature/fix-op-unit-test' into feature/fix-cygwin-op-test feature/fix-cygwin-op-test Peter Dimov 2017-11-22 17:34:13 +02:00
  • 03eb5df380 Use SetEnvironmentVariableW on Cygwin too Peter Dimov 2017-11-22 16:15:26 +02:00
  • 1dc51988bb Make operations_unit_test take a current directory argument; pass one in test/Jamfile feature/fix-op-unit-test Peter Dimov 2017-11-22 05:05:43 +02:00
  • 93cab09a6b Add .travis.yml, appveyor.yml Peter Dimov 2017-11-22 03:13:45 +02:00
  • 44ce5b8e4f Merge branch 'develop' boost-1.66.0 Beman 2017-10-30 08:48:11 -04:00
  • 60d51ab0b9 Clear some warnings. Looking good on GCC and MSVC for Windows. v4 Beman 2017-10-07 15:19:35 -04:00
  • 253105caeb Quiet GCC warning "boost::filesystem::path::filename() const' redeclared without dllimport attribute after being referenced with dll linkage inline path path::filename() const" Beman 2017-10-06 20:53:46 -04:00
  • 817d05f79c Fix bug detected by tests from Nico; root-names on Windows need to be treated specially by path::compare() because leading directory-separators may be either preferred-separator or fallback-separator. Add path_test.cpp test cases to detect this problem. Beman 2017-10-06 10:37:32 -04:00
  • 68bccdeb8e Add comment to indicate relative_path() has been checked against c++17. Beman 2017-10-05 11:30:34 -04:00
  • 9950b03ec1 Fix a bug in create_directories() caused by change in C++17 parent_path() spec when there is no parent path. Update a couple of test cases that changed for C++17. Beman 2017-10-04 15:42:19 -04:00
  • 87a97600c0 Bring deprecated_test.cpp behavior into C++17 compliance. Beman 2017-10-03 15:08:53 -04:00
  • 88d7785f63 Change lexically_proximate() imp to more closely follow the standard. Move all remaining lexically_normal and lexically_relative tests from path_test.cpp to path_generation_test.cpp. Beman 2017-10-03 11:48:17 -04:00
  • 78ee622f9c Bring expected results into compliance with C++17. Beman 2017-10-03 11:32:55 -04:00
  • 4544f7e4d4 Rename relative_test to path_generation_test. The old name didn't misidentified what is being tested due to function name changes during standardization. Beman 2017-10-03 11:11:05 -04:00
  • a655451b29 Fix lexically_relative implementation. Correct relative_test expected results to match C++17. Beman 2017-10-03 08:05:38 -04:00
  • a0c3833b95 Rewrite path::lexically_normal implementation to make the code easier to reason about and thus debug. Update path_test.cpp lexically_normal test cases to meet the C++17 standard library specification. path_test.cpp passing on Visual C++ 2017 / Windows, some other tests still failing. Beman 2017-10-01 13:12:03 -04:00
  • bc599d27f1 Re-implement lexically_relative per C++17 standard. Beman 2017-09-29 18:59:39 -04:00
  • 06d124ea1b Add decomposition.html, with clearer path decomposition semantics. Bring all path decomposition functions into compliance with those clearer semantics. Update tests accordingly. Beman 2017-09-29 12:27:35 -04:00
  • 41ae265aad At to_generic template in hopes of cleaning up generic strings eventually. Fix bug in path::remove_filename. Continue to expand table driven tests in path_test.cpp. Beman 2017-09-23 17:12:56 -04:00
  • 20fda66e63 Refactor relative_path and parent_path. Note: these can be made much simpler if generic_string were implemented with a range-based API; added to TODO list. After a couple of corrections, all path_test.cpp table-driven decomposition tests now passing. Beman 2017-09-21 08:04:25 -04:00
  • 4005870f9c Commit work-in-progress prior to merging into branch v4. (It is clear the class path refactoring is resulting in a cleaner, more correct implementation. So merge now even though the work is currently incomplete.) v4-refactor-path Beman 2017-09-20 09:27:06 -04:00
  • e39b71be1d Refactor path::being() implementation. Beman 2017-09-19 08:11:18 -04:00
  • bd4bb0fc0c Bring path::filename implementation into conformance with the standard. Fix bug in m_root_name_size(). Beman 2017-09-17 17:22:23 -04:00
  • 3a19d97b5e Bring parent_path() into std compliance. Fix decomp_table boo boos. All decomposition_table_tests() now passing. Beman 2017-09-17 11:37:09 -04:00
  • 1750152680 path.hpp: refactor path::has_root_name(), has_root_directory(), and has relative_path(). path.cpp: refactor path::root_name(), root_directory(), and root_path(). path_test.cpp: bring decomposition_table into compliance with C++ Std WP. The decomposition tests for parent_path() are now failing, indicating that code needs to be brought into std compliance. There are many traditional tests failing, but these will be reviewed later. Beman 2017-09-17 11:24:55 -04:00
  • 080c99c425 Unstable work-in-progress. Commit before creating path-refactor branch. Beman 2017-09-16 17:08:48 -04:00
  • 02914c8a14 Fix path "//" being incorrectly seen as a root-name rather than a root-directory. Tests not adjusted yet. Beman 2017-09-14 17:32:29 -04:00
  • d767a3e947 Add a table driven decomposition test. The plan is to migrate a lot of the handwritten decomposition and query tests to the table driven test. Beman 2017-09-14 17:27:22 -04:00
  • 5652949497 Add Visual Studio project for example/path_info Beman 2017-09-14 14:57:59 -04:00
  • 21d390354d Remove p.make_preferred(); it was skewing other results. Beman 2017-09-12 13:44:16 -04:00
  • e13d60104f Bring lexically_normal() into sync with C++ WP, N4687. Commit and push as backup in advance of hurricane Irma. Beman 2017-09-10 10:56:27 -04:00
  • ef74d32ef8 Initial commit. Extracted from N4687. Beman 2017-09-09 12:51:17 -04:00
  • d0910d003c Merge branch 'develop' into v4 after resolving a couple of minor conflicts and retesting. Beman 2017-09-03 11:54:36 -04:00
  • 5229425643 reformat excessively long lines Beman 2017-09-03 11:13:42 -04:00
  • 07619fb370 Add Beman's local test results to aid tracking changes over time. Beman 2017-08-24 08:00:38 -04:00
  • bf2f23efc5 C++17 20.4.2.1.4 [bitmask.types] complete and passing all tests. Beman 2017-08-23 21:41:11 -04:00
  • 1e8de36542 Reset 'errno' after 'sysconf()' hammond 2017-08-23 17:01:16 +02:00
  • a019f35df1 Unstable work-in-progress. operations.hpp updated to reflect C++17 fs.enum (with class enum's rather than workarounds). Next step is to fix the fallout from those changes. Beman 2017-08-20 11:44:13 -04:00
  • be6f4d5248 Initial commit Beman 2017-08-19 08:54:04 -04:00
  • be85855eb3 Rename doc/v4_plans.html to doc/v4-plans.html Beman 2017-08-19 08:42:35 -04:00
  • 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. Beman 2017-08-07 20:01:08 -04:00
  • e1463acb06 Update PGI C++ compiler support David Olsen 2017-07-26 10:44:07 -07:00
  • 9f926b83d9 fix ISO9660 Joliet name Jacob Lifshay 2017-06-26 21:10:06 -07:00
  • e7d2e325f9 remove extraneous character in #name_check_functions Jacob Lifshay 2017-06-26 21:01:49 -07:00
  • 8a0ab2fdd9 Merge branch 'develop' boost-1.65.1 boost-1.65.0 boost-1.64.0 Beman 2017-04-06 07:10:42 -04:00
  • 23b79b9459 Clear two -Wconversion warnings Beman 2017-04-03 09:47:32 -04:00
  • 7fd4214912 is_empty()overload with error_code parameter should not throw on error. Thanks to ldqrk for pull request #42 Beman 2017-04-03 09:36:43 -04:00
  • 9144a8ebd7 Update release history. Beman 2017-04-03 08:29:00 -04:00
  • 12bcf2e6ea Merge branch 'Dani-Hub-develop' into develop Beman 2017-04-02 16:44:25 -04:00
  • 355e57f706 Upgrade to Visual Studio 2017 Beman 2017-04-02 08:00:04 -04:00
  • 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. drgler 2017-03-19 16:21:46 +01:00
  • 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. drgler 2017-03-18 22:28:29 +01:00
  • 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. drgler 2017-03-14 21:46:12 +01:00
  • 3a8554803f Add lexically_normal cases Nico suggested we concentrate on to resolve questions about invariants Beman 2017-03-09 14:46:34 -05:00
  • 65cc9b6aec Add the filename_tests() examples from the C++17 standard. Beman 2017-02-16 09:21:46 -05:00
  • a2b6af6191 Tweak lexically_normal comments. Beman 2017-02-07 07:42:09 -05:00
  • e5c8e732aa Reorder and number the lexically_normal tests so that they correspond to P0492R1. Beman 2017-02-07 07:21:25 -05:00