Kenneth Skovhede
1f3b00d7ff
Fixed a using directive that was caught in the license region
2024-02-28 15:57:06 +01:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Kenneth Hsu
e964072690
Target .NET Framework 4.7.1.
...
This updates all projects to target .NET Framework 4.7.1. The
TencentCOS and Tardigrade backends depend on .NET Standard 2.0. When a
.NET Framework prior to 4.7.1 is targeted, the system cannot be sure
that all the dependencies exist, so it copies all dependent assemblies
to the output directory. This causes many assemblies from the System
namespace to become bundled in the release.
https://stackoverflow.com/a/48875007
We had previously attempted to make individual projects target 4.7.1
(see pull request #4242 ), but this can cause compatibility issues when
4.6.2 projects depend on 4.7.1. projects.
This will require Mono 5.10.0 or greater (previously, we required 5.0.0
or greater).
https://www.mono-project.com/docs/about-mono/releases/5.10.0/#class-libraries
This fixes issue #4234 .
2020-07-26 19:46:01 -07:00
Kenneth Hsu
83ac03843d
Fix spelling errors in comments.
...
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
BlueBlock
47d1a4db5a
remove unused using
2019-09-10 12:54:05 -04:00
BlueBlock
8ccfe1d5ea
correct spelling in comment and some spacing
2019-09-09 17:34:58 -04:00
BlueBlock
28074a4d4e
update nuget packages
...
includes update to FluentFTP
2019-08-31 16:42:12 -04:00
BlueBlock
815e30b63b
update csproj toolverion and nuget packages
2019-07-31 13:20:03 -04:00
BlueBlock
08a1e9998a
initial upgrade to framework 4.6.2
...
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
Kenneth Hsu
722ff0cca5
Remove unused method parameter.
2018-11-18 16:47:59 -08:00
verhoek
72b1f6b6f8
Updated project files.
2018-11-02 22:45:07 +01:00
verhoek
b2cc18426c
Renamed Library.IO to Library.Common.IO.
...
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek
bc053df294
Moved basic IO helper functions to Library.IO.
2018-10-27 12:17:07 +02: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
Kenneth Skovhede
fe7f9cf67a
Added warnings to discourage people from using 7z in the current state
2018-02-22 17:11:07 +01:00
vnau
4812382aaf
SharpCompress rolled back to version 0.18.2
2017-12-25 04:19:10 +07: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 and GitHub
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
5f4aef8bbf
Update sharpcompress
2017-09-23 00:28:25 +02:00
Kenneth Skovhede
a5df2001ec
Attempting to fix a build error on Travis
2017-08-04 14:12:18 +02:00
Kenneth Skovhede
b4f9d8223e
Updated SharpCompress to the latest version
2017-08-04 14:03:37 +02: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
ced3caa219
Changed back to SharpCompress as it is now updated with support for zip64
2017-06-01 10:49:34 +02:00
Kenneth Skovhede
360a90b2ce
Updated SharpCompress to a build from master to include the zip64 fixes
2017-04-04 17:11:01 +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
1424be05f9
Fixed a bunch of typos.
...
This fixes #2278 .
2017-01-23 22:12:24 +01:00
agrajaghh
f0c0e9ffd5
Revert "Update Strings.cs"
...
This reverts commit 4266ed9d4a .
2017-01-09 20:54:18 +01:00
Kenneth Skovhede and GitHub
bc0f500830
Merge pull request #2218 from sfahrenholz/spelling_mistakes
...
Typo fixes
2016-12-30 00:10:06 +01:00
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
sfahrenholz and GitHub
4712f116a4
Update Strings.cs
2016-12-28 19:21:57 +01:00
sfahrenholz and GitHub
4266ed9d4a
Update Strings.cs
...
Spelling mistake
2016-12-28 19:16:50 +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
3005594b38
Merge branch 'master' into nuget_setup
...
# Conflicts:
# Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
# Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj
# Duplicati/Library/Backend/S3/S3Wrapper.cs
# thirdparty/CoCoL/CoCoL.dll
# thirdparty/SSH.NET/Renci.SshNet.dll
2016-06-27 15:25:52 +02:00
Kenneth Skovhede
785c4d325f
Reverted changes to solution file so it again forces Windows linefeeds.
...
This also moved stuff around in some project files.
2016-04-13 00:36:22 +02:00
Kenneth Skovhede
59cc0005a3
Removed unused references and updated most libraries to come from NuGet sources instead of being provided in the thirdparty library
2016-01-29 10:47:39 +01:00
Kenneth Skovhede
326562dcac
Updated SharpCompress to a newer version
2016-01-21 23:42:42 +01:00
Kenneth Skovhede
df733acc7a
Updates to the project files
2015-12-05 11:28:01 +01:00
Kenneth Skovhede
8ff8be8905
Bugfix for build issues with AutoUpdateBuilder.
2015-12-01 13:23:36 +01:00