drwtsn32x
942d8b820d
removed getter
2019-11-26 19:27:46 -08:00
drwtsn32x
77a1e3b88a
disable attribute masking
2019-11-22 08:00:58 -08:00
Kenneth Hsu
6c36a4bc93
Avoid possible invalid DateTimeOffset values.
...
When creating a new backup, a value of DateTime.MinValue can be provided
to the NormalizeDateTimeToEpochSeconds method. If DateTimeOffset is
used, it will convert the provided DateTime to the UTC equivalent, which
may result in a value outside of the allowable bounds.
This reverts the changes from pull request #3919 .
This fixes issue #3955 .
2019-10-23 19:49:36 -07:00
Kenneth Skovhede and GitHub
99d0cb3c57
Merge pull request #3953 from warwickmm/make_fields_readonly
...
Mark fields that don't need to be reassigned as readonly
2019-10-21 08:36:17 +02:00
Kenneth Hsu
2aa76881a5
Mark fields that don't need to be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
Kenneth Hsu
9e465c602d
Fix invalid regex pattern.
...
This was introduced as part of revision b8199ad1c4 ("Fixed handling of
multi-byte characters in both HttpServer and Duplicati") to resolve
issues #1063 and #1085 . However, the regex pattern was invalid. This
reverts the pattern to the previous value, which seems more appropriate
since most non-standard encodings are of the form %uxxxx where xxxx is a
4 byte hex string representing a UTF-16 code.
This fixes issue #3737 .
2019-09-28 10:05:34 -07:00
Kyle Stanfield
7dffbaf800
Changed NormalizeDateTimeToEpochSeconds to use ToUnixTimeSeconds
2019-09-20 19:08:26 -07:00
Kenneth Skovhede and GitHub
d5b77ebb61
Fixed incorrect escaping of pipe characters
2019-09-19 22:09:50 +02:00
Kenneth Skovhede and GitHub
5664686cc2
Merge pull request #3830 from BlueBlock/gpg-update
...
Update GPG library and path method
2019-09-17 09:53:46 +02:00
Kenneth Hsu
e64d6a6216
Remove unused output parameter.
...
This will avoid potential confusion as the provided byte[] array is
itself being modified.
2019-09-14 18:46:06 -07:00
BlueBlock
7e8c6b22ba
Merge remote-tracking branch 'upstream/master' into gpg-update
2019-09-11 12:03:44 -04:00
Kenneth Skovhede and GitHub
bb6c8cc558
Merge pull request #3880 from warwickmm/refactor/consolidate_datetime_methods
...
Consolidate duplicated DateTime utility methods
2019-09-03 22:57:10 +02:00
BlueBlock
4b6f7a906f
upgrade missing references
2019-09-03 13:52:55 -04:00
BlueBlock
eff5b79fd8
Merge remote-tracking branch 'upstream/master' into gpg-update
2019-09-02 09:04:07 -04:00
Kenneth Hsu
53befa36fc
Fix XML documentation.
2019-09-01 12:38:23 -07:00
Kenneth Hsu
0a390bd31a
Move NormalizeDateTimeToEpochSeconds method to Utility class.
2019-09-01 12:38:23 -07:00
Kenneth Hsu
40cae529e6
Move NormalizeDateTime method to Utility class.
2019-09-01 12:38:23 -07:00
BlueBlock
6a9f605e43
Merge remote-tracking branch 'upstream/master' into gpg-update
2019-08-31 19:01:57 -04:00
BlueBlock
b3ef2eaa08
Merge remote-tracking branch 'upstream/master' into fix-tempfile-deletion
2019-08-31 18:56:27 -04:00
warwickmm and GitHub
d88d1b6800
Merge pull request #3877 from BlueBlock/fix-tempfile-deletion-inrelease
...
Fix tempfile date comparison to use UTC
2019-08-31 15:24:40 -07:00
BlueBlock
002eda0c40
Merge remote-tracking branch 'upstream/master' into gpg-update
2019-08-31 14:13:36 -04:00
BlueBlock
e110f6c64c
Merge remote-tracking branch 'upstream/master' into update-framework-to-462
2019-08-31 14:11:32 -04:00
BlueBlock
15991b022b
Merge remote-tracking branch 'upstream/master' into fix-tempfile-deletion-inrelease
2019-08-31 14:11:05 -04:00
BlueBlock
890162f5ad
Merge remote-tracking branch 'upstream/master' into fix-tempfile-deletion
2019-08-31 14:10:24 -04:00
BlueBlock
26a22dd3f8
when debug, find temp file names of "Duplicati*" with min age 3 hours
...
temp files older than 3 hours will be deleted
2019-08-31 13:24:21 -04:00
BlueBlock
fecd7a580f
fix date comparison so both use UTC
...
otherwise it is hours off
2019-08-31 13:20:52 -04:00
BlueBlock
428b568bd3
add braces, simplify delegate call
2019-08-31 12:39:09 -04:00
BlueBlock
53aafebfd3
fix date compare so both use UTC
...
othewise it is currently a number of hours off
2019-08-31 12:38:16 -04:00
BlueBlock
06d1cfb62f
remove unused method
2019-08-31 12:36:26 -04:00
BlueBlock
33b63cfc53
Update ReadLimitLengthStream.cs
...
use empty method for flush
2019-08-29 06:26:57 -04:00
BlueBlock
42342f30be
move new stream to Utility
2019-08-27 23:48:07 -04:00
BlueBlock
815e30b63b
update csproj toolverion and nuget packages
2019-07-31 13:20:03 -04:00
BlueBlock
7ebaf77ef8
improve logic for finding gog in registry
2019-07-26 16:13:32 -04:00
BlueBlock
c4af9af5eb
fix redundent code
2019-07-26 09:32:39 -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
Kenneth Hsu
f1ece62ab7
Fix documentation for ThrottledStream.Read method.
2019-07-07 17:16:58 -07:00
Kenneth Hsu
6f902773c6
Fix documentation for ThrottledStream.Write method.
2019-07-07 17:16:58 -07:00
Kenneth Hsu
5d087791d0
Fix bug in ThrottledStream.Write method.
...
Prior to revision 0190a9994e ("Rewrote the throttling implementation to
be more effecient"), the DelayIfRequired method would increment the
offset variable to advance through the buffer. When we modified the
implementation in revision 0190a9994e , we may have forgotten to modify
the offset accordingly.
2019-07-07 17:16:58 -07:00
ts678 and GitHub
018f7f1db5
Fix ThrottledStream Read buffer overwrite
...
Adjust buffer offset by amount read so far in the internal Read loop,
so newly read data goes after old data instead of going on top of it.
This fixes issue #3787 read buffer corruptions when throttle is used.
2019-06-23 21:07:21 -04:00
Daniel Gehriger
a394eefe6c
Checking for empty filter expression
2019-05-10 11:11:22 +02:00
Kenneth Hsu
457254d9e1
Remove unused local variables.
2019-04-17 20:10:53 -07:00
Francois Lafleur
f51a3e07d5
Cache Files filter group doesn't exclude Chrome files on Mac/Linux #3633
2019-04-03 23:08:28 -04:00
Sean Templeton
b1c6e9798d
Update Amazon Cloud Drive backend for async Put
2019-03-05 21:08:14 -06:00
Kenneth Hsu
b5d9451b33
Remove redundant casts.
2019-01-21 19:30:52 -08:00
Kenneth Hsu
9c7f71a63d
Remove unnecessary newline.
2019-01-02 15:45:53 -08:00
Kenneth Hsu
16da136a6a
Avoid redundant addition of trailing slashes to folder names.
...
The trailing slash is added when the folder name is pushed onto the
stack.
2019-01-02 15:45:53 -08:00
Kenneth Skovhede and GitHub
f8cbd206e0
Merge pull request #3568 from warwickmm/default_excludes_performance
...
Improve performance of default excludes filters
2018-12-29 09:11:45 +01:00