Commit Graph
564 Commits
Author SHA1 Message Date
warwickmmandGitHub 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
Max 66eee70d1e fixed some codacy findings
fix CallContext
2019-08-03 00:34:26 +02:00
BlueBlock 815e30b63b update csproj toolverion and nuget packages 2019-07-31 13:20:03 -04:00
Max 7aea21ef35 upstream 2019-07-28 12:44:20 +02: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
ts678andGitHub 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
Michal Naiman cff004df76 fixes for AlphaFS long path 2019-04-28 23:32:30 +02:00
Michal Naiman 1bc1e58737 upstream 2019-04-28 13:45:26 +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 SkovhedeandGitHub f8cbd206e0 Merge pull request #3568 from warwickmm/default_excludes_performance
Improve performance of default excludes filters
2018-12-29 09:11:45 +01:00
Kenneth Hsu 7a106df094 Improve performance of default excludes filters.
Previously, the FilterExpression.Expand method would forward the filter
group name to the FilterEntry constructor, which would combine the
group's patterns into one large regex filter.  This would result in a
significant decrease in performance, as the regex filters are much
slower than the wildcard filters.

Instead, we can first expand the filter group into its constituent
patterns before presenting them to the FilterEntry constructor.  This
preserves their wildcard nature and allows us to take advantage of
faster filtering matching algorithms.

This addresses issue #3395.
2018-12-28 22:07:59 -08:00
Kenneth Hsu 139420a664 Improve performance of wildcard filters.
The mono profiler indicated that a large percentage of the time was
spent allocating the inputPosStack and patternPosStack arrays.  By
replacing these with Stacks, we can avoid this unnecessary overhead.
2018-12-28 17:33:46 -08:00
Kenneth Hsu faf2b0df47 Remove helper method that creates regex filter.
This will discourage the creation of default regex filters, which
exhibit poor performance.
2018-12-20 19:37:36 -08:00
Kenneth Hsu 340d7803cb Convert regex pattern to wildcard in default excludes group.
This provides a workaround for the poor performance of the default
excludes group exhibited by regex filters.  While this wildcard pattern
will potentially exclude more files than the previous regex pattern, in
practice this should not often be the case.

This does not resolve the performance issue of the regex filters.
However, I think in general we should try to avoid expensive
application-specific filters since these will affect the performance for
all users that use the default excludes group, whether the application
is present or not.

This concerns issue #3395.
2018-12-17 18:14:43 -08:00
Kenneth Hsu 8dd3aeaf26 Use invariant culture in calls to ToLower and ToUpper. 2018-12-11 21:21:07 -08:00
Kenneth Hsu 308410650b Remove write-only LinkedSubStream.Position implementation.
The LinkedSubStream class is abstract, and all derived classes implement
a getter and a setter.
2018-12-09 21:42:40 -08:00
Kenneth Hsu b363be1db9 Remove unnecessary newline. 2018-11-18 17:04:41 -08:00
Kenneth Hsu e88b83bf92 Remove unnecessary method overload. 2018-11-18 17:00:46 -08:00
Kenneth Hsu daa8ed7d0f Remove unnecessary lambda expression.
Since the filter is always empty, every folder should be inspected when
enumerating the filesystem entries.
2018-11-18 16:58:46 -08:00
Kenneth Hsu fb7ddf59f2 Remove unnecessary method overload. 2018-11-18 16:54:30 -08:00
Kenneth Hsu 94202ba038 Remove unnecessary method overload. 2018-11-18 16:53:07 -08:00
Kenneth Hsu e03ba7c5d8 Remove unnecessary method overload. 2018-11-18 16:49:38 -08:00
Kenneth Hsu d4584b8443 Remove unnecessary method overload. 2018-11-18 16:48:53 -08:00
Kenneth Hsu 722ff0cca5 Remove unused method parameter. 2018-11-18 16:47:59 -08:00
Kenneth Skovhede 1efaf23042 Updated build tools to use the new Common library 2018-11-13 09:44:27 +01:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00