Commit Graph

  • e260f134d4 Removed const qualification from return types of path methods. Andrey Semashev 2020-09-23 19:56:30 +03:00
  • d855c2d377 Enabled C++20 testing for FreeBSD. Andrey Semashev 2020-08-21 15:12:21 +03:00
  • fe2a4fea13 Code cleanup to clear clang warnings and remove obsolete code. Andrey Semashev 2020-08-21 14:58:21 +03:00
  • ec64afc0f5 Ported most of the operations to Linux statx system call. Andrey Semashev 2020-08-19 20:31:52 +03:00
  • 8d6eaeb5af Changed returned value of last_write_time in case of error to min std::time_t. Andrey Semashev 2020-08-19 19:58:04 +03:00
  • 8db5f4edb6 Switch the more recent compiler jobs in Travis CI to Ubuntu Focal. Andrey Semashev 2020-08-19 22:25:50 +03:00
  • a031e4ffa9 Added creation_time operation. Andrey Semashev 2020-08-19 19:36:38 +03:00
  • 4748f6e39d Added O_CLOEXEC to open calls in unique_path implementation. boost-1.74.0 Andrey Semashev 2020-07-29 12:33:15 +03:00
  • 96ff4a1fe6 Corrected comments. Andrey Semashev 2020-07-28 15:01:45 +03:00
  • db390391bb Restored auto-linking and Windows CE support. Andrey Semashev 2020-07-28 14:28:39 +03:00
  • 9ea8bfa108 Corrected a typo in release history. Andrey Semashev 2020-07-16 13:02:42 +03:00
  • e7c05beebc Added a release note about improving support for Embarcadero compilers. Andrey Semashev 2020-07-15 00:30:01 +03:00
  • 7e300b986b Corrected system_complete description in the docs. boost-1.74.0.beta1 Andrey Semashev 2020-07-08 17:54:02 +03:00
  • 700a611850 Corrected console output in copy_test. Andrey Semashev 2020-07-07 17:28:28 +03:00
  • a5fd89add9 Added a test for copy(ec) operation. Andrey Semashev 2020-07-07 15:58:59 +03:00
  • 7c4fe07112 Fix copy(ec) operation not copying anything if the target does not exist. Andrey Semashev 2020-07-07 15:43:27 +03:00
  • d0a7a23a1a Marked windows_file_codecvt as visible instead of dllexport. Andrey Semashev 2020-07-02 13:40:21 +03:00
  • 1104092053 Extracted platform defines to a separate header and include it everywhere. Andrey Semashev 2020-07-02 13:32:00 +03:00
  • 917f46f9f3 Avoid integer overflow and narrowing conversion in NTSTATUS error codes. Andrey Semashev 2020-06-09 14:42:13 +03:00
  • 43dfdc6ac9 Marked bcrypt and advapi32 libs explicit. Andrey Semashev 2020-06-08 00:35:30 +03:00
  • a3e517365a Corrected BCrypt API detection check in CMakeLists.txt. Andrey Semashev 2020-06-05 18:41:23 +03:00
  • 31aacd5dfd Added CMake self-test jobs to CI. Andrey Semashev 2020-06-05 15:24:10 +03:00
  • 2bfb8c91e1 Corrected configure check for BCrypt API. Andrey Semashev 2020-06-05 14:17:09 +03:00
  • e3f29433d9 Updated CMakeLists.txt with configure-time checks required by recent code changes. Andrey Semashev 2020-06-05 13:54:48 +03:00
  • 49f12dd890 Moved Windows SDK library declarations out of the crypro API selection rule. Andrey Semashev 2020-06-05 13:07:20 +03:00
  • 427697ffcd Check for Cygwin when including Boost.WinAPI. Andrey Semashev 2020-06-05 12:10:19 +03:00
  • e75b455a0f Select Windows crypto API on Cygwin as well. Andrey Semashev 2020-06-05 12:06:15 +03:00
  • 5d1b14df51 Moved Windows lib linking to the Jamfile and added a config check for BCrypt. Andrey Semashev 2020-06-05 11:58:17 +03:00
  • 5dff490d18 Fixed incorrect pointer adjustment. Andrey Semashev 2020-06-05 11:22:13 +03:00
  • 7487e33da9 Added unique_path implementation based on BCrypt API on Windows. Andrey Semashev 2020-06-05 03:17:24 +03:00
  • 5a2568af89 Ported unique_path wincrypt implementation to Boost.WinAPI. Andrey Semashev 2020-06-05 02:11:48 +03:00
  • eab0e77f24 Added implementation of unique_path based on arc4random. Andrey Semashev 2020-06-05 01:40:52 +03:00
  • e2e4b85ee0 Added unique_path based on Linux getrandom system call. Andrey Semashev 2020-06-05 01:22:55 +03:00
  • 432f4da6ed Code cleanup in unique_path implementation. Andrey Semashev 2020-06-05 00:27:09 +03:00
  • 0b50e1b527 Converted some uses of size() to empty(). Andrey Semashev 2020-06-05 00:24:59 +03:00
  • a6eb102f3d Added missing status inspection functions for directory_entry and error_code. Andrey Semashev 2020-06-04 23:42:32 +03:00
  • 362696738f Added a release note about fixing is_symlink(directory_entry). Andrey Semashev 2020-06-04 23:28:55 +03:00
  • 45a9d3160a Merge pull request #148 from kanje/develop Andrey Semashev 2020-06-04 23:24:28 +03:00
  • 5e54f77425 is_symlink(directory_entry) should use symlink_status(). Antons Jeļkins 2020-06-04 21:59:00 +02:00
  • b52afd7c29 Added a FreeBSD job in Travis CI. Andrey Semashev 2020-05-31 17:59:55 +03:00
  • bad98ad954 Added a release note about improving support for WASI platform. Andrey Semashev 2020-05-23 17:25:22 +03:00
  • 6146fdf161 Use emit_error to unconditionally indicate BOOST_ERROR_NOT_SUPPORTED errors. Andrey Semashev 2020-05-23 17:22:23 +03:00
  • b6c3a70689 Merge pull request #144 from whitequark/wasi Andrey Semashev 2020-05-23 17:17:32 +03:00
  • c34025d5a4 Add WASI platform support. whitequark 2020-05-23 10:59:22 +00:00
  • 079d372c7c Added gcc 10 build jobs to Travis CI. Andrey Semashev 2020-05-22 18:48:43 +03:00
  • c653976208 Fixed mklink availability check in operations_test. Andrey Semashev 2020-05-18 16:03:26 +03:00
  • 9252269160 Added configuration steps to detect modification time representation in stat. Andrey Semashev 2020-05-12 14:56:24 +03:00
  • 16dcdbfa8f Fixed copy_test failures on Windows caused by incorrect symlink target. Andrey Semashev 2020-05-12 02:32:36 +03:00
  • d81944eec4 Added exception handling to copy_test. Andrey Semashev 2020-05-12 02:08:52 +03:00
  • cded8ec40c Silence warnings about signed/unsigned mismatch in asserts. Andrey Semashev 2020-05-11 21:59:13 +03:00
  • 559b0c291a In copy, support symlink creation when target directory is not current. Andrey Semashev 2020-05-11 15:10:23 +03:00
  • 448c145b54 Added copyright. Andrey Semashev 2020-05-11 00:28:24 +03:00
  • 80709a9411 Reworked copy operation. Added create_directory with two paths. Andrey Semashev 2020-05-10 03:02:32 +03:00
  • 4e6317e4b0 Make copy_file return bool, indicating whether file has been copied. Andrey Semashev 2020-05-09 19:38:50 +03:00
  • ac02dbed2e Added support for copy_options::update_existing to copy_file. Andrey Semashev 2020-05-09 19:19:33 +03:00
  • 8c3ae354a0 Require at most one copy option to be specified in copy_file. Andrey Semashev 2020-05-08 22:54:19 +03:00
  • 5d3082b4d4 Use a better highlight for the new feature in release notes. Andrey Semashev 2020-05-08 19:12:02 +03:00
  • dea37d899e Added support for copy_options::skip_existing. Andrey Semashev 2020-05-08 19:09:39 +03:00
  • ba864a1727 Removed trailing comma in enum. Andrey Semashev 2020-05-06 15:39:41 +03:00
  • a916a41602 Merge pull request #102 from stima/develop Andrey Semashev 2020-05-06 14:59:59 +03:00
  • d3e3f46ce6 Correct handling of status() for reparse point when it is not a symlink. Roman Savchenko 2018-06-08 19:23:54 +03:00
  • ed9e019b01 Add test for reparse point that is not symlink Roman Savchenko 2019-02-06 18:25:20 +02:00
  • 4dbea275e4 Use 20 instead of 2a to refer to C++20 in Travis CI. Andrey Semashev 2020-05-05 23:08:09 +03:00
  • 9182b4caa3 Added copy_file implementations based on sendfile and copy_file_range on Linux. Andrey Semashev 2020-05-05 20:31:41 +03:00
  • 87ca86f823 Fixed potential errno clobber on close in copy_file. Andrey Semashev 2020-05-05 18:57:07 +03:00
  • 611c585cf5 Added clang-10 CI build jobs. Andrey Semashev 2020-05-05 18:47:33 +03:00
  • f199152b7d Refactored copy_file, added copy_options, deprecated copy_option. Andrey Semashev 2020-05-05 18:25:30 +03:00
  • 4f3d762a31 Added BOOST_OVERRIDE markup for virtual methods. Andrey Semashev 2020-05-05 14:54:06 +03:00
  • 6be120a079 Fixed space test failure for files. Andrey Semashev 2020-05-05 14:35:41 +03:00
  • fcbdae1581 Added temp_directory_path implementation for Windows CE. Refactor POSIX version. Andrey Semashev 2020-05-05 01:54:35 +03:00
  • a26ead7402 Updated space() behavior to match C++20. Add support for file paths on Windows. Andrey Semashev 2020-05-05 01:14:00 +03:00
  • ee6604657d Fix 99_canonical_with_junction_point test not removing temp directory. Andrey Semashev 2020-05-04 23:04:11 +03:00
  • 689e00d238 Dynamically allocate REPARSE_DATA_BUFFER in all operations. Andrey Semashev 2020-05-04 22:42:52 +03:00
  • ddb864a455 Don't request read ext. attrs access when testing if reparse point is a symlink. Andrey Semashev 2020-05-04 21:02:28 +03:00
  • 89b5152e86 Fixed check for mklink on Windows. Andrey Semashev 2020-05-04 20:00:40 +03:00
  • ef819fe699 Avoid requesting read access for the reparse point in read_symlink on Windows. Andrey Semashev 2020-05-03 21:29:24 +03:00
  • 726d2bfa35 Specify file sharing flags in read_symlink on Windows. Andrey Semashev 2020-05-03 20:29:19 +03:00
  • eedaa1f565 Set S_IWUSR perm on the file created by copy_file and copy source perms on completion. Andrey Semashev 2020-05-03 19:43:55 +03:00
  • 1f06d4f064 Added release notes for the fixes in canonical, read_symlink and equivalent. Andrey Semashev 2020-05-02 21:41:15 +03:00
  • 70915432ee Merge pull request #100 from Flamefire/junction_points Andrey Semashev 2020-05-02 20:06:00 +03:00
  • 37dd08caa5 Address review comments Alexander Grund 2020-05-02 18:39:21 +02:00
  • 389de86331 Moved missing macro definitions earlier in the code. Andrey Semashev 2020-05-01 22:07:31 +03:00
  • a5fc1faf28 Add source and target file checks to copy_file, simplify file equivalence checks Andrey Semashev 2020-05-01 19:56:32 +03:00
  • 79e8d844f5 Added a release note about removing compile-time checks for symlinks and hardlinks on Windows. Andrey Semashev 2020-05-01 19:50:12 +03:00
  • 1638dd366d More descriptive error on failure Alexander Grund 2019-02-04 13:42:18 +01:00
  • decaa9db39 Don't resolve the root_name for symlinks in canonical Flamefire 2019-02-03 13:25:10 +01:00
  • 595ca0d7b6 Fix read_symlink for junction points Flamefire 2019-02-03 13:24:20 +01:00
  • ccb22fc517 Add test to trigger bug #99 Flamefire 2019-02-03 12:56:33 +01:00
  • ccf3411b44 Merge pull request #130 from eldiener/develop Andrey Semashev 2020-05-01 17:40:40 +03:00
  • 4642ac8e03 Nonessential code formatting cleanup. Andrey Semashev 2020-05-01 17:22:31 +03:00
  • 1dc3225920 Merge pull request #142 from Flamefire/symlink_runtime_checks Andrey Semashev 2020-05-01 17:20:42 +03:00
  • f05c428d70 Consistently use MAXIMUM_REPARSE_DATA_BUFFER_SIZE for the reparse buffer size Alexander Grund 2020-04-25 17:18:28 +02:00
  • 1dd143e37d Test for mklink existance before running junction tests Alexander Grund 2020-04-24 18:53:55 +02:00
  • b760094234 Define SYMBOLIC_LINK_FLAG_DIRECTORY if not defined Alexander Grund 2020-04-24 15:45:38 +02:00
  • cee149e338 Remove API level checks in symlink functions in favor of runtime checks Alexander Grund 2019-02-05 13:06:13 +01:00
  • d75baa987f Enable read_symlink for all Windows API levels Alexander Grund 2019-02-04 16:22:37 +01:00
  • a33b7ad41f Fixed error handling on POSIX equivalent(). Andrey Semashev 2020-04-24 20:03:27 +03:00
  • 8b138a9955 Merge pull request #131 from boostorg/feature/fix_link boost-1.73.0 Andrey Semashev 2020-04-09 15:30:10 +03:00
  • aaf54ada48 Fix link to use Boost ML archive instead of GMANE Glen Fernandes 2020-04-09 08:23:40 -04:00
  • b454be058b Directory of utime.h is the same in the Embarcadero clang-based compilers as it is in the legacy compiler. Edward Diener 2020-04-02 12:53:24 -04:00