Commit Graph
13579 Commits
Author SHA1 Message Date
Carl Johnsen 5b52eae0bc Made Windows handle unaligned read and write 2026-03-11 15:10:38 +01:00
Carl Johnsen dac373a03f Made Mac handle unaligned read and write buffers as well 2026-03-11 15:09:22 +01:00
Carl Johnsen cdc1b49f42 Linux should use the same call to GetPInvokeErrorMessage() as Mac 2026-03-11 15:08:38 +01:00
Carl Johnsen c1b22f491f Handled Windows paths 2026-03-11 15:02:23 +01:00
Carl Johnsen ba702b4d5f Fixed Windows file locking failing tests 2026-03-11 14:52:53 +01:00
Carl Johnsen 2a2381d298 Added tests to increase code coverage of the DiskImage feature 2026-03-11 13:37:58 +00:00
Carl Johnsen ef636e4bdb Fixed test error with undeterministic gap bytes 2026-03-11 13:37:30 +00:00
Carl Johnsen 8c29c958bd Added some final edge case tests to the disk image unit tests 2026-03-11 12:41:34 +00:00
Carl Johnsen fe673ea1c0 Added disk image restore provider tests 2026-03-11 12:31:27 +00:00
Carl Johnsen 027c849b63 Added PooledBuffer tests 2026-03-11 12:18:35 +00:00
Carl Johnsen 8e0593c0ad Added Unknown file system stream tests 2026-03-11 12:02:45 +00:00
Carl Johnsen e01a55c252 Added UnknownFilesystem tests 2026-03-11 11:48:24 +00:00
Carl Johnsen ac02a3a475 Added GeometryMetadata serialization tests 2026-03-11 11:39:01 +00:00
Carl Johnsen 35946d4888 Added partition table synthesizer tests 2026-03-11 11:29:55 +00:00
Carl Johnsen 1eadfa5b00 Added PartitionWriteStream tests 2026-03-11 11:21:04 +00:00
Carl Johnsen 06fc4614c4 Trying to reduce the amount of times that disks are created / deleted to speed up tests. 2026-03-11 10:58:55 +00:00
Carl Johnsen c2515e1ddd Added partition table parsing tests 2026-03-11 09:37:05 +00:00
Carl Johnsen 93f483d2d5 Added PartitionTableFactory tests 2026-03-11 09:26:24 +00:00
Carl Johnsen 745d2084ac Added tests for unaligned write 2026-03-11 09:15:09 +00:00
Carl Johnsen fabff9828a Properly handled unaligned read/write in Linux disk accesses 2026-03-11 09:06:02 +00:00
Carl Johnsen 4d649d82a2 Added tests for unaligned reads 2026-03-11 08:53:41 +00:00
Carl Johnsen ec3d1b2d42 Made internals of DiskImage visible to the disk image unit tests 2026-03-11 08:21:07 +00:00
Carl Johnsen a53c93a076 Changed from nullable types as the Setup methods will initialize them prior to running a test 2026-03-11 08:17:45 +00:00
Carl Johnsen a40eba4ca4 Added sector aligned disk image unit tests 2026-03-11 08:17:02 +00:00
Carl Johnsen 62c2244faf Reordered interface definitions for a more structured order 2026-03-11 08:16:29 +00:00
Carl Johnsen 9595a927d0 Added setup and teardown for disk image unit tests 2026-03-11 07:30:03 +00:00
Carl Johnsen b17fd033a1 Made the DiskImage integration tests follow the right namespace naming scheme 2026-03-11 07:28:22 +00:00
Carl Johnsen 5e4a447f7a Started working on disk image unit tests 2026-03-11 07:27:37 +00:00
Carl Johnsen 623a6b1cf5 Updated the Linux disk interface to match the new interface 2026-03-10 08:59:49 +00:00
Carl Johnsen f64ee59111 Merge branch 'master' into feature/full-disk-linux 2026-03-10 08:28:41 +00:00
Kenneth SkovhedeandGitHub 3c7dda8432 Merge pull request #6793 from duplicati/feature/fix-tests-for-https
Added fixes to failing tests for https support
2026-03-06 14:57:41 +01:00
Kenneth SkovhedeandGitHub c6f32b8ba2 Merge pull request #6784 from carljohnsen/feature/full-disk-mac
Feature/Disk Image basic Mac support
2026-03-06 14:21:52 +01:00
Kenneth SkovhedeandGitHub 3e40980063 Merge pull request #6792 from duplicati/dependabot/nuget/Duplicati/Library/Modules/Builtin/nuget-a992533934
Bump the nuget group with 1 update
2026-03-06 14:21:32 +01:00
Kenneth Skovhede f76bc59710 Fixed one more failing test 2026-03-06 14:20:52 +01:00
Kenneth Skovhede c47c000579 Fixed more failing tests 2026-03-06 13:28:38 +01:00
Kenneth Skovhede 15c7c1c3de Added fixes to failing tests for https support 2026-03-06 11:11:01 +01:00
dependabot[bot]andGitHub f4f30447c7 Bump the nuget group with 1 update
Bumps MimeKit from 4.12.0 to 4.15.1

---
updated-dependencies:
- dependency-name: MimeKit
  dependency-version: 4.15.1
  dependency-type: direct:production
  dependency-group: nuget
- dependency-name: MimeKit
  dependency-version: 4.15.1
  dependency-type: direct:production
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 23:29:17 +00:00
Carl Johnsen c679e77f95 Merge branch 'master' into feature/full-disk-mac 2026-03-05 19:21:57 +01:00
Carl Johnsen b627ea87c9 Changed from PInvoke call to get error messages to the Marshal library call that does the same 2026-03-05 18:11:53 +01:00
Carl Johnsen 298f916e8d Shift to plist for all diskutil commands to alleviate localization and other human-readable-related parsing errors 2026-03-05 17:42:24 +01:00
Carl Johnsen 222ec0433a Using constants rather than copied hardcoded strings 2026-03-05 16:08:32 +01:00
Carl Johnsen ca1fb3ac9b Restructured the DiskImage project to lift the OS specific disk listings to the disk interface and to centralize the functionality for running external processes 2026-03-05 15:30:36 +01:00
Carl Johnsen 5fd62b0fc2 Made the Mac system library wrapper a precompiled file that is copied alongside referencing projects output folder 2026-03-05 13:28:54 +01:00
Carl Johnsen afbecbc7f0 Do not catch abort exceptions 2026-03-05 12:20:54 +01:00
Kenneth SkovhedeandGitHub 512db4f4f1 Merge pull request #6786 from duplicati/feature/automatic-https-support
Add support for managed TLS
2026-03-05 10:17:02 +01:00
Kenneth SkovhedeandGitHub 45db3a3536 Merge pull request #6790 from duplicati/feature/restore-flow-polish
Minor polish to the new restore flow
2026-03-05 10:16:42 +01:00
Kenneth SkovhedeandGitHub 24245a0ae1 Merge pull request #6788 from duplicati/feature/improve-link-resolve-method
Improve link detection on Windows
2026-03-04 14:46:36 +01:00
Kenneth SkovhedeandGitHub 22aa3fdc39 Merge pull request #6789 from duplicati/feature/fix-issue-6688
Add tests for issue #6688
2026-03-04 14:44:49 +01:00
Kenneth Skovhede 9bd4d228f3 Minor polish to the new restore flow
This PR adds explicit validation to the size parameters so we ensure that we throw a meaningful error message instead of fail on some later step.

This also fixes an error in an exception message. Should the error scenario ever trigger, it would previously show incorrect data or cause out-of-bounds error instead of the intended error message.
2026-03-04 14:44:09 +01:00
Kenneth Skovhede 6abc4aea00 Add tests for issue #6688
Issue #6688 was already fixed by work on related issues #6552 and #6553.

This adds a test that specifically reproduces the scenario mentioned in #6688.

This fixes #6688
2026-03-03 15:50:59 +01:00