Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07: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
Sean Templeton
b02b19e683
Change Put method name to PutAsync
2019-03-17 18:28:45 -05:00
Sean Templeton
c05f304fd7
Update S3, Sharepoint, Tahoe, and WEBDAV backends for async Put
2019-03-05 21:25:35 -06:00
Sean Templeton
0c122ff550
Change IBackend and IStreamingBackend to return Task for Put()
2019-03-03 21:43:10 -06: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
d4d1945faf
Use utility method to append trailing slash.
...
This removes some duplicated code.
2018-09-22 10:19:45 -07: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 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
bd863016fa
Added support for returning multiple DNS names for cache invalidation.
...
Updated most backends to return the actual DNS names for cache invalidation.
2018-02-26 11:37:10 +01:00
Rune Henriksen
fc77b476fc
changed from NYI to null returns. Added check to skip DNS check if no DNSName is provided
2018-02-21 22:38:01 +01:00
Rune Henriksen
00292953c3
added DNSName getter on Backend interface and added NotImplementedException methods on each backend class
2018-02-18 00:18:44 +01:00
Kenneth Skovhede and GitHub
36aadc4ad1
Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
...
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu
5fb1958ceb
Remove redundant calls to ToString.
2017-11-26 15:44:34 -08:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Tyler Gill
38883285ee
Change IBackend.List() to return IEnumerable instead of List
...
By changing to IEnumerable, it is possible to iterate only a portion of the list, which is useful when not all entries are needed (e.g., when testing a connection).
All existing backends have been updated, and any which were able to be changed to yield return results in a straightforward way now do.
Many backends had a try/catch in the List() method. Due to the fact that yield returns can't be placed within a try/catch block, these have been refactored to either scope the try/catch to the parts that (should) be the only places throwing exceptions, so that exceptions are still caught and handled.
Note that lazy evaluation may cause some changes in behavior - exceptions that were previously thrown at the point of invokation of List() may now be thrown while it is being enumerated.
I believe this will not be problematic though, as the only well-known exception seems to be FolderMissingException, which should be thrown by Test(), but TestList() attempts to enumerate the list to force this exception.
Any places that require the legacy behavior can get it by simply converting the lazy enumerable to a List()
2017-09-25 23:17:45 -06:00
Kenneth Skovhede
a06f38442a
Updated all Newtonsoft.Json packages
2017-09-23 00:25:50 +02:00
Kenneth Skovhede
046b522a8d
Updated NewtonSoft.Json
2017-05-17 11:08:51 +02:00
koo5
f692b76650
tahoe_lafs_uri_message_fix
2017-03-17 10:55:37 +01:00
Kenneth Skovhede
c5d483c821
More disabling of assembly signing
2017-01-13 00:10:00 +01:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
Kenneth Skovhede
9dc44f4841
Removed unused files from TahoeLAFS project
2016-12-29 23:11:51 +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
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
d0711011a2
Rewrote all WebRequest code to use AsyncHttpRequest, and normalized usage such that WebResponse objects are always correctly disposed.
2016-04-16 11:12:28 +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
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
738c111397
Added detection for throwing FileMissingException to all backends
2014-11-15 15:00:12 +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
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
Kenneth Skovhede
5869581573
Updated TahoeLAFS to work with NewtonSoft JSON and removed LitJSON dependency.
2014-07-15 23:30:31 +02:00
Kenneth Skovhede
f935af9968
Reworked the ReadWriteTimeout usage to avoid premature timeouts on Mono
2014-07-11 01:07:48 +02:00
Kenneth Skovhede
69bd080aa5
Updated the version number in all projects to 2.0.0.7
2014-06-13 15:08:51 +02:00
Kenneth Skovhede
e70ba0a477
Updated product-number in the project files
2014-06-13 15:00:12 +02:00
Kenneth Skovhede
ff4c411032
Changed the display names of the backends to be more user-friendly
2014-02-26 15:40:35 +01:00
Kenneth Skovhede
d3f4058057
Fixed various minor issues with backends
2013-05-06 20:36:26 +02:00
Kenneth Skovhede
e5b3f0ea93
Rewrote all backends to use the new Uri parser.
...
Updated the regex to be a little more forgiving.
Does not handle paths with @, like "ftp://server/@folder"
2013-05-05 23:46:00 +02:00
Kenneth Skovhede
62c75d9af9
Removed all informs code (no more 1.3.x UI)
2013-05-05 17:07:24 +02:00
Kenneth Skovhede
0014b69ccf
Removed unused x86 configurations and fixes som build refrences
2013-05-05 13:45:02 +02:00