Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
BlueBlock
8ccfe1d5ea
correct spelling in comment and some spacing
2019-09-09 17:34:58 -04:00
Kenneth Hsu
f12858e6a5
Mark fields that shouldn't be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
verhoek
30cd41585b
Corrected spelling function name.
2018-05-16 20:08:40 +02:00
Kenneth Hsu
10e127b2a9
Properly encode ampersand in XML content.
2018-03-17 13:56:19 -07:00
Kenneth Skovhede
842fd96543
Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
...
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
vnau
62a7901aca
Compression modules refactored to work with streams instead of filenames;
...
Added unit test to check compression reversibility
2017-12-25 04:12:19 +07:00
Kenneth Skovhede
a3270e4323
Merge pull request #2762 from warwickmm/improve_argument_exceptions
...
Improve construction of ArgumentExceptions
2017-09-26 15:42:07 +02:00
Kenneth Skovhede
a955daca3f
Changed the reported zip compression methods to reflect what is actually supported by SharpCompress
2017-09-26 14:06:11 +02:00
Kenneth Hsu
b84e7bd34d
Avoid hard-coded parameter names.
...
This makes it easier to rename the parameter in the future as we don't
have to search for the parameter name within strings.
2017-09-25 19:54:54 -07:00
Kenneth Hsu
97681a704b
Add clearer exception message.
2017-09-25 19:54:54 -07:00
Kenneth Skovhede
392d833b90
Fixed wrong option name for zip-compression-zip64.
2017-07-05 10:20:22 +02:00
Kenneth Skovhede
d09868e993
Added zip64 support to the ZipCompressionModule
2017-06-29 14:50:48 +02:00
Kenneth Skovhede
aecb7a74a2
Added extra support code to the failover zip reader.
...
This should remove the errors in issue #1877 and #1869 .
The real fix for not making the broken archives once the size is over 4GiB is pending an update to SharpCompress.
2017-03-12 12:36:24 +01:00
Kenneth Skovhede
b6f51a5380
Added tested fail-over support for reading broken zip files, which includes warnings in the log if the fail-over is activated.
2017-03-10 11:09:18 +01:00
Kenneth Skovhede
82ef3ed230
Tested the fail-over, and changed it so it works regardless of how the list method is called.
2017-03-09 09:21:03 +01:00
Kenneth Skovhede
df72124a30
Untested way of recovering from the "Unknown header" issue with zip files.
...
This should revert from using the "Archive" interface, which uses the central header, to using the "Reader" interface which scans the zip file looking for streams.
It is not tested as I do not have a zip file that exhibits the error yet.
2017-03-07 23:12:01 +01:00
Kenneth Skovhede
680ee82189
Updated SharpCompress to the latest version
2017-02-27 22:21:01 +01:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
326562dcac
Updated SharpCompress to a newer version
2016-01-21 23:42:42 +01:00
Kenneth Skovhede
b650838180
Updated the Zip writer to actually use the compression hints, so the excluded compression extensions are effective.
...
This fixes #1075 .
2015-03-05 21:06:56 +01:00
Kenneth Skovhede
3149064cde
Merge branch 'no_more_resx'
2015-01-20 21:45:54 +01:00
Kenneth Skovhede
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
16c791f0b5
Removed all resx files, now using Duplicati.Library.Localization exclusively
2015-01-20 21:07:24 +01:00
Kenneth Skovhede
fd5a9b6f7c
Improved access speed to zip-based archives
2013-04-08 22:20:21 +02:00
Kenneth Skovhede
aca4ed95cc
More work on the block hash.
...
Rewrote the backup and restore to work within a transaction as that speeds things up a lot.
Rewrote the backup procedure to generate the file list from the database, instead of on-the-fly as that is more efficient.
Re-arranged the database to use less storage on large sets of unchanged files.
2013-03-08 22:24:54 +01:00
kenneth@hexad.dk
e170d781f0
Resynced trunk into ForestHash
...
git-svn-id: https://duplicati.googlecode.com/svn/sandboxes/Kenneth/ForestHash@1536 59da171f-624f-0410-aa54-27559c288bec
2013-02-27 20:57:58 +00:00
kenneth@hexad.dk
a0521da54d
Initial version of the new block-based storage format.
...
Still needs a work over in terms of error handling, progress reporting, warning output, refactoring etc.
Also misses the volume reuse/reclaim algorithms.
But it passes the unit tests now, with and without a local database.
git-svn-id: https://duplicati.googlecode.com/svn/sandboxes/Kenneth/ForestHash@1526 59da171f-624f-0410-aa54-27559c288bec
2013-02-12 21:43:14 +00:00