Dean Ferreyra
fd186712b4
Support problematic Windows paths
...
Change "Duplicati.CommandLine.RecoveryTool restore" to support
restoring long paths, and files and directories that end in a dot or a
space when run on Windows.
2020-07-19 06:43:30 -07:00
thomas.friedel and Kenneth Hsu
8848ad4a74
use SortedDict to sort index in memory
2020-01-23 20:07:29 -08:00
Kenneth Hsu
25d7cea6c7
Dispose of HashLookupHelper after use.
...
The HashLookupHelper contains an open FileStream that needs to be
closed.
2020-01-18 14:44:05 -08:00
Kenneth Hsu
457254d9e1
Remove unused local variables.
2019-04-17 20:10:53 -07:00
verhoek
ab12be6bbd
Renamed IsClientLinux to IsClientPosix .
2018-11-03 09:26:04 +01:00
verhoek
8bb406cd15
Migrated to use the platform class.
2018-11-02 22:17:16 +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
9fb38ebe9a
Continuation of Util.DirectorySeparatorString replacements.
2018-11-02 17:48:17 +01:00
verhoek
bc053df294
Moved basic IO helper functions to Library.IO.
2018-10-27 12:17:07 +02:00
Kenneth Hsu
1605dc8ede
Use utility method to read from stream.
2018-06-06 19:54:45 -07:00
Kenneth Hsu
e2b671bf9e
Provide missing values to format items.
2018-06-02 12:05:57 -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
vnau
e78c3f8650
Removed throw expressions to avoid Microsoft compiler bug.
2017-12-25 22:59:17 +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
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
Kenneth Skovhede
6d401fbd8d
Changed all hash algorithms to use the Cng version.
...
This fixes #2621
2017-09-20 09:58:43 +02:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Max123456
aaadd31e0c
fix for 1170
2016-05-29 00:56:25 +02:00
Kenneth Skovhede
49dfcb2651
Fixed handling of relative paths in recovery tool.
...
This fixes #1454 .
2015-09-05 09:38:52 +02:00
Kenneth Skovhede
8018545cff
Added a simple restore tool for recovering data from a broken backup.
...
This fixes #1439 .
2015-08-21 21:59:12 +02:00