Commit Graph

  • 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
  • d466406388 Update path.cpp to meet lexically_normal c++17 specs. Add test cases, including some from Nico. Add lexically_normal output to example/path_info.cpp Beman 2017-01-29 08:35:14 -05:00
  • 2a367711aa Fix a couple of POSIX invalid code problems. Beman 2017-01-26 09:31:20 -05:00
  • 66fe8f657b Same fix for symlink_status_helper Beman 2017-01-25 17:17:41 -05:00
  • ceed3cea0a Oops! Function status_helper is a Windows-only component, but was also being compiled on POSIX. Beman 2017-01-25 17:10:52 -05:00
  • cc94b12f2f Move recursive_directory_iterator tests to operations_test.cpp to avoid the file system race conditions (duh!) that were causing apparently random failures when IDEs or build systems were running many tests in parallel. Beman 2017-01-25 10:54:04 -05:00
  • 0878728d8e Remove tests that were failing due to file system races when other tests may be removing test directories from the directory being iterated over. Beman 2017-01-25 07:42:30 -05:00
  • de05529917 Change path::create_directories() to deal with trailing directory-separator now encoded as empty path. Add test cases. Beman 2017-01-25 07:10:36 -05:00
  • 61d4f04eda Reflect V4 spec changes in deprecated_test.cpp. Clean up long_path_test.cpp. Add a few more query and decomposition test cases to path_test.cpp. Beman 2017-01-25 05:43:51 -05:00
  • 6dbbc24e90 Replace deprecated detail/lightweight_test.hpp with core/lightweight_main.hpp. Beman 2017-01-23 07:15:30 -05:00
  • cf3cb4b372 Fix some path_test.cpp tests to conform to desired specs. Fix some path.cpp thinkos path::lexically_normal. All path_test.cpp tests now passing! Beman 2017-01-22 18:00:13 -05:00
  • f9ffba8c41 Updated path_test.cpp cases where v4 spec has changed, and added new filename_tests() function to make sure path::filename() works correctly with the spec changes affecting root-name and root-directory elements. Fixed a line in path.cpp that had been commented out during development. Beman 2017-01-22 12:35:30 -05:00
  • e0f05e471f Change path::filename() and has_filename() to conform to P0492. Beman 2017-01-13 17:10:14 -05:00
  • 7abef6488f Merge pull request #39 from cmuellner/for-develop Beman Dawes 2017-01-09 17:37:43 -05:00
  • 602133fc92 Change path::stem() and path::extension() to conform with P0492 comment US-61 proposed wording. Add stem() and extension() test cases presented to LEWG by Nico in Issaquah. All tests passing, including treating ".profile" as a stem with no extension. Beman 2017-01-09 16:33:19 -05:00
  • edc8627838 Merge branch 'develop' into v4 Beman 2017-01-09 10:20:36 -05:00
  • 170f483655 Add test/config_info.cpp to increase macro state reporting in hopes of easing debugging on remote machines. Beman 2017-01-08 15:23:42 -05:00
  • 0840598bb1 Merge branch 'develop' Beman 2017-01-08 06:48:01 -05:00
  • 4ccb6c38f2 Start release history for 1.64 Beman 2016-12-30 14:52:52 -05:00
  • 2550f407f4 MinGW defines __MINGW32__ rather than _MSC_VER, so also test for __MINGW32__ to see if setenv/unsetenv workaround needed. Beman 2016-12-30 10:09:31 -05:00
  • 7f1a6992e3 Fix errno propagation in space(p, ec). Christoph Müllner 2016-12-12 00:42:54 +01:00
  • 97cb638138 Fix typos in documentation. Jakub Wilk 2016-12-07 12:49:16 +01:00
  • 163631cc7d ticket #12574 was just user confusion, but are the tests are worth keeping. Beman 2016-11-28 08:29:08 -05:00
  • 559188c951 Merge branch 'develop' boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.63.0 Beman 2016-11-26 14:55:02 -05:00
  • 93429f24a1 Update release_history.html for pull request #31. Beman 2016-11-26 14:27:33 -05:00
  • fca046d0c4 Merge pull request #31 from faithandbrave/patch-1 Beman Dawes 2016-11-26 14:18:26 -05:00
  • 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. Beman 2016-11-24 14:34:00 -05:00
  • 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. Beman 2016-11-23 12:02:09 -05:00
  • e34b838041 Document a couple of pull requests. Beman 2016-11-23 10:51:47 -05:00
  • cbefb2b9f0 Merge pull request #30 from thtrummer/develop Beman Dawes 2016-11-23 10:46:37 -05:00
  • 51e51fc735 Merge pull request #34 from tbeu/tbeu-patch-1 Beman Dawes 2016-11-23 10:39:57 -05:00
  • 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. Beman 2016-11-23 09:58:43 -05:00
  • 5004d7b177 Fix #12578 - Bug in directory_iterator, recursive_directory_iterator, equality testing of copied iterator also at end. Beman 2016-11-23 09:21:32 -05:00
  • a3c1014b21 Tweak release history. Beman 2016-11-23 05:33:53 -05:00
  • 48faf2b1ee Add deprecated path::generic() Beman 2016-11-22 16:51:45 -05:00
  • 2f4b634c0c Add some stem() and extension() test cases Beman 2016-11-02 17:03:03 -04:00
  • aec6f91ad4 Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:33 -05:00
  • c8f1b16989 Add, and update, documentation build targets. Rene Rivera 2016-10-07 23:07:33 -05:00
  • c67ba1ae5c Working proof-of-concept. feature/fold-op-ec-signatures Beman 2016-09-29 20:07:41 -04:00
  • ce0be4bfe7 Fix link text tbeu 2016-09-13 14:01:19 +02:00
  • 0ac84c4d4a Add missing is_block_file(), is_character_file(), is_fifo(), and is_socket() operational functions, three overloads for each, with tests. Beman 2016-07-28 11:55:13 -04:00
  • ec46b843b7 The comment for the prior commit was wrong. There is no replace_filename bug and there are test cases in operations_test.cpp that would have detected such a bug. The confusion was caused when resolving merge conflicts failed to remove an obsolete comment. Beman 2016-07-28 10:19:56 -04:00
  • aa6014f3bb Merge branch 'feature/directory-entry-cache-refresh' into v4. Unstable due to replace_filename bug in operations.cpp directory_iterator_increment (and lack of test case that detects the bug), lack of POSIX directory_entry caching, and missing directory_entry query functions. Beman 2016-07-28 08:36:46 -04:00
  • aaf8136856 Add the P0317 feature/directory-entry-cache-refresh Beman 2016-07-28 06:56:59 -04:00
  • 1cd06e340b Implement much of R0317R1, Directory Entry Caching for Filesystem (R1), including full refresh() for Windows. Still missing most of the status query functions. Beman 2016-07-27 10:12:56 -04:00
  • 5dd8b918db Provide typedef file_time_type. copy_file() effects updated to support all applicable copy_options effects: none, skip_existing, overwrite_existing, and update_existing. Test cases added accordingly. enums Beman 2016-07-24 16:03:08 -04:00
  • 72fedeaaf5 Update class enum copy_options to conform with std library. Beman 2016-07-22 08:21:27 -04:00
  • 4eb98912e5 Add deprecated static const file_type constants for the old enum file_type names to avoid breaking V3 code. Beman 2016-07-21 08:02:28 -04:00
  • d4d6fe7365 Use scoped_enum emulation for file_type, since it is used for other class enums. Beman 2016-07-21 06:22:57 -04:00
  • 9e5e9d6aa3 Replaced deprecated forms of scoped enum emulation with non-deprecated forms. Beman 2016-07-21 05:39:35 -04:00
  • 1a2d1b2510 Change enum file_type to class enum file_type Beman 2016-07-20 16:26:25 -04:00
  • de27bdda53 Get config ready for V4 Beman 2016-07-20 10:41:35 -04:00
  • c4ddb16ca3 Compiler tweaks. Beman 2016-07-20 09:04:00 -04:00
  • db69217ac8 Initial commit Beman 2016-07-10 13:21:06 -04:00
  • 0027b3ef53 fix signature stem(), extension() member functions Akira Takahashi 2016-07-07 15:55:34 +09:00
  • e4d01fc006 Fix build error when using C++11 under Cygwin Thomas Trummer 2016-07-05 11:33:12 +02:00
  • 3c2c9812f0 Fix warning for GCC under Cygwin Thomas Trummer 2016-07-04 14:14:11 +02:00
  • 65a27cc520 Merge pull request #27 from fxb/cppcx_generic_keyword Beman Dawes 2016-04-27 09:20:39 -04:00
  • fcb98ee37e Rename generic() to generic_path(), since generic is a keyword in C++/CX. Felix Bruns 2016-04-27 14:05:45 +02:00
  • 513c90dcae All operations_unit_test.cpp and operations_test.cpp tests passing. Beman 2016-04-21 10:37:36 -04:00
  • 1151b7f1ff Refactor Windows attribute processing into new functions status_helper() and symlink_status_helper() to eliminate duplication of code and, more importantly, to ensure that attributes processed identically regardless of context. Add test cases to operations_unit_test.cpp. Beman 2016-04-20 06:47:01 -04:00
  • c0019b61d5 Merge branch 'develop' into feature/directory-entry-cache-refresh Beman 2016-04-18 19:28:52 -04:00
  • de527c6862 Refactor push_directory() logic so it is easier to reason about. Beman 2016-04-18 10:41:07 -04:00
  • d0ac39369b Clarify error message Beman 2016-04-18 06:54:03 -04:00
  • b8208871ff Change open_directory, read_dirctory, to return filename, allowing more of the existing code to be retained. Fix missing & in two places. operations_unit_test.cpp through directory_iterator_test now passing. Beman 2016-04-17 20:40:38 -04:00
  • 5226da223d Add error_code versions of observer functions. Add friend struct detail::deacc to provide directory iteration with access to directory_entry private parts. Restore dispatch functions mistakenly removed from operations.cpp by prior commit. operations_unit_test.cpp now running partially. Beman 2016-04-17 11:40:45 -04:00
  • af7b247782 Initial pass through directory_entry applying the new refresh() based interface changes. Beman 2016-04-17 07:59:27 -04:00
  • 8488643253 Initial refresh() implementation. Activate more tests. feature/new-directory-entry-cache Beman 2016-04-17 05:53:39 -04:00
  • 76e4a2be51 Add status query overloads. Add tests. Beman 2016-04-16 09:34:55 -04:00
  • 8e45877b72 Drive-by fix: add comment as header for space_info Beman 2016-02-21 05:56:32 -05:00
  • 86b99b7a2d First signs of life, albeit with many tests disabled. Beman 2016-02-20 17:00:06 -05:00
  • d395d79c93 Work-in-progress: code compiles, but with many TODO's. Some tests pass. Beman 2016-02-19 09:57:12 -05:00
  • f6e46d78ef Add directory_entry cache test Beman 2016-02-18 11:52:00 -05:00
  • db3f812620 Initial commit for this branch. A prior attempt (branch new_directory-entry) got bogged down by trying to do too much at once. So start this branch off by simply adding a file_size(const directory_entry&) overload that forwards to file_size(const path&). If that doesn't work, the premise that implementation details of directory_iterator caching can be hidden by overloading operational functions is flawed, so test the overloading before getting into the cache implementation. Beman 2016-02-18 10:41:10 -05:00
  • 6720c02a6a Very unstable work in progress. new-directory_entry Beman 2016-02-18 10:08:05 -05:00
  • 17c63252ce More preliminaries, aiming toward getting the new caching working for Windows last_write_time. Once that works, other cached values should just fall into place. Famous last words! Beman 2016-01-29 20:27:41 -05:00
  • 413240cc09 WinCE has no current directory Giel van Schijndel 2015-10-29 18:24:38 +01:00
  • dfc3442843 Merge branch 'develop' into new-directory_entry Beman 2015-12-01 11:11:26 -05:00
  • a682eaa476 Remove two constants that are no longer used. Quiets warnings. Beman 2015-12-01 11:01:11 -05:00
  • 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(). Beman 2015-12-01 10:17:45 -05:00
  • 4791ade16a Initial work-in-progress on an experimental branch to remove visible directory_entry cache access by permitting operational function overloads on directory_entry whose implementations will access private directory_entry cached data via friendship. Beman 2015-11-25 08:33:39 -05:00
  • 7b31aa0259 Fix typo in issue # and link (Daniel Krügler) Beman 2015-11-21 08:06:49 -05:00
  • 26540a5338 Merge remote-tracking branch 'remotes/origin/develop' boost-1.62.0 boost-1.61.0 boost-1.60.0 Beman 2015-10-27 17:26:25 -04:00
  • 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. Beman 2015-10-25 13:28:49 -04:00
  • b0091c2eeb Revert to lexical functions 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. Beman 2015-10-25 08:23:40 -04:00
  • 8c179bf1df Add 1.58.0 BOOST_SCOPED_ENUM fix history Beman 2015-10-25 05:47:45 -04:00
  • 7e3e5ef60c Fix #11733, Missing unistd.h include in boost/libs/filesystem/src/unique_path.cpp by apply a patch from Idar Tollefsen. Beman 2015-10-16 16:03:45 -04:00
  • 06968ee032 Fix pull request 17, 'some_function() noexcept = default;' from Antony Polukhin, by never relying on "= default". Antony's pull request would have fixed the problem interaction with noexcept by eliminating the noexcept. I preferred to retain the noexcept rather than the "= default", as applying "= default" has been exceedingly troublesome for both VC++ and GCC due to interactions between the two C++11 features. GCC interactions varied not just for the version, but also for the platform. Beman 2015-10-08 07:19:55 -04:00
  • 74c5f5fe3e Fix a forward declaration that was missed in a prior pull request. This clears a GCC warning. Beman 2015-10-08 07:04:13 -04:00
  • fb365908ad Clear GCC warnings. Beman 2015-10-08 05:03:51 -04:00
  • 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. Beman 2015-10-07 10:11:18 -04:00
  • c3f9a2ec92 Correct some file names Beman 2015-09-18 10:39:38 -04:00
  • 865102a87a Initial commit Beman 2015-09-18 07:49:00 -04:00
  • a05b6eb215 Merge remote-tracking branch 'remotes/origin/develop' Beman 2015-09-17 08:04:10 -04:00
  • a5ecdd44d2 Acknowledge minor fixes. Beman 2015-09-17 07:50:28 -04:00
  • 5d31852813 Fix typo; thanks to Jonathan Wakely. Beman 2015-09-16 15:32:57 -04:00
  • c8d7530f22 Merge pull request #5 from jwakely/patch-1 Beman Dawes 2015-09-16 15:31:21 -04:00
  • 719fc1f18d Merge pull request #16 from MarcelRaad/patch-1 Beman Dawes 2015-09-16 15:28:00 -04:00
  • f4644ef881 Define BOOST_FILESYSTEM_NO_CXX11_DEFAULTED_RVALUE_REFS for GCC <= 4; GCC 4.8.5 was failing on FreeBSD although not on other platforms. Since move semantics is an optimization, it doesn't break anything to be conservative. Beman 2015-09-15 07:38:28 -04:00