Commit Graph
113 Commits
Author SHA1 Message Date
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 3551238000 Remove redundant calls to String.Format. 2020-01-25 17:07:02 -08: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
BlueBlock 2586a17e2b add missing reference 2019-09-12 17:38:26 -04:00
BlueBlock 6a9f605e43 Merge remote-tracking branch 'upstream/master' into gpg-update 2019-08-31 19:01:57 -04:00
BlueBlock 159a634aea incldue SharpAESCrypt.exe it is needed for release builds
The dll is used by the app and the exe is used by the build script
2019-08-01 05:39:52 -04:00
BlueBlock 815e30b63b update csproj toolverion and nuget packages 2019-07-31 13:20:03 -04:00
BlueBlock 812418c7ea change migrated Encryption project to also use packages.config 2019-07-30 12:18:33 -04:00
BlueBlock 5133eed763 restore Encryption project as .net 4.6.2
revert attempt to make 1 library standard20, but more build rlated changes would be needed for mono
2019-07-30 09:32:33 -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
BlueBlock 689e9fad4d Fix codacy issues 2019-07-25 11:29:17 -04:00
BlueBlock 2aad1ca558 Refactored code for getting gpg path 2019-07-25 11:14:45 -04:00
BlueBlock 098da7a07b Make method public for use by GnupgSigningTool 2019-07-20 15:04:56 -04:00
BlueBlock 4884fda0c6 Add ability for gpg encryption to use the Windows gpg4win installed gpg.exe if it exists 2019-07-20 15:04:07 -04:00
verhoek 1efad4902b Added error logging in case GPG cannot be executed correctly. 2018-11-19 16:32:32 +01:00
verhoek 6bacda7943 Compactified gpg options. 2018-11-19 09:40:33 +01:00
Kenneth Hsu d4692e2d35 Use built-in method to expand environment variables.
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables.  We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
verhoek ce6e27b1b8 Clean up. 2018-06-12 09:26:52 +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
Kenneth Hsu 1c7391399d Remove XML documentation for unmatched parameters. 2017-12-09 18:30:01 -08:00
Kenneth Hsu 3d51e9153b Avoid signing assemblies.
Using strong-named assemblies can cause difficulties with the GNU LGPL
license, which allows for one to recombine or relink their application
with modified versions of the code.  While one solution is to share the
private key so that people can sign the assemblies themselves, this
would break the trust that is expected from signed assemblies.  For now,
the easiest fix is to simply not sign the assemblies.  Note that by
doing so, we prevent the code from being referenced from other signed
assemblies.

This also fixes an issue introduced in revision ba94d36a80 ("Added
auto-update for WindowsService and Service."), where the WindowsService
project (signed) referenced the AutoUpdater project (not signed).

We also removed instances of <SignAssembly>false</SignAssembly> to be
consistent with newly created .csproj files that do not contain the
SignAssembly element.

This was motivated by the discussion in issue #2814.
2017-10-15 22:00:23 -07: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
agrajaghh ac169e2257 fix source string 2017-03-14 19:22:10 +01:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
Kenneth Skovhede b27aa3fe63 Updated SharpAESCrypt to 1.3.2 targeting .Net 4.5.
This fixes #1887
2016-08-31 10:05:27 +02:00
Kenneth Skovhede d45f07f10f Updated some package versions and removed duplicate files 2016-06-27 15:37:52 +02:00
Kenneth Skovhede bde606ae60 Updated packages 2016-06-27 15:30:25 +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 eea33a7649 Enabled streaming and multithreading in encryption by default 2016-03-19 22:27:46 +01:00
Kenneth Skovhede 4e2a415c01 Bumped SharpAESCrypt to newest 2016-03-13 23:01:11 +01:00
Kenneth Skovhede 2542824361 Merge branch 'master' into nuget_setup
# Conflicts:
#	thirdparty/SharpAESCrypt/SharpAESCrypt.exe
2016-03-13 22:20:57 +01:00
FootStark 79db704f8e Updated commandline option def 2016-03-03 11:24:55 +01:00
FootStark c3bf75dde3 Options to set AES threadlevel 2016-03-03 09:24:29 +01:00
Kenneth Skovhede 9ddcb9756b Removed an optimization as it had almost no effect and caused issues with parallel encryption tasks. 2016-02-25 19:17:58 +01:00
Kenneth Skovhede 33d8f69370 Improved performance of the AES encryption module by caching the fixed-size overhead.
Added some comments to the AES encryption module.
2016-02-25 19:17:23 +01: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 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
Kenneth Skovhede 60bd9693d0 Imporved handling of the ~ character in paths 2015-09-05 09:14:21 +02:00
Kenneth Skovhede b68290b95a Follow up to the latest pull request, changed all references to HexaD to "Duplicati Team" 2015-05-17 11:06:07 +02:00
Fabian Trampusch 55a853463d update year to 2015 2015-05-16 21:15:39 +02:00
Kenneth Skovhede 0d7cf7203b Updated to .Net framework version 4.5 2015-01-26 11:22:52 +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 86abc7565a Added locally allocated buffers for copystream to reduce pressure on allocator 2014-11-10 18:38:18 +01:00
Kenneth Skovhede daf4630d15 Removed SharpAESCrypt file, and now using the pre-built binary instead 2014-08-25 15:16:06 +02:00
Kenneth Skovhede b5de1b56ce Updated copyright year on all assemblies.
Also removed the copyright microsoft statement that was erroneously applied to some assemblies.
This fixes issue #1083.
2014-08-12 13:31:30 +02:00