Commit Graph
232 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 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
BlueBlock 1dc345eada Merge remote-tracking branch 'upstream/master' into fix-stop-after-current-file 2019-08-31 18:57:16 -04:00
BlueBlock 9c7accf5f7 add braces for codacy 2019-08-23 10:54:15 -04:00
BlueBlock e52cef304b codacy fixes applied 2 2019-08-02 13:54:30 -04:00
BlueBlock 4407d24f5d codacy fixes applied 2019-08-02 13:48:50 -04: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
BlueBlock 14e6068a5f Also stop the file enum process when the user has cancelled
The file enumeration process should also stop when the user has cancelled the operation.
2019-07-24 15:58:44 -04:00
Kenneth Hsu ca6bbdc37a Remove unnecessary line breaks. 2019-01-02 15:45:53 -08:00
Kenneth Hsu 7dc240d447 Avoid redundant addition of trailing slashes to folder names.
The Utility.EnumerateFilesAndFolders method will append the trailing
slash as needed.
2019-01-02 15:45:53 -08:00
Kenneth Hsu 8dd3aeaf26 Use invariant culture in calls to ToLower and ToUpper. 2018-12-11 21:21:07 -08:00
Kenneth Hsu f20afd6106 Use ordinal string comparison. 2018-11-21 21:08:13 -08:00
verhoek 2051e0b272 Added null check for writers to include in vss (issue 3494).
Improved exception logging.
2018-11-13 21:04:34 +01:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00
verhoek 72b1f6b6f8 Updated project files. 2018-11-02 22:45:07 +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 84edc2c91e We hide IsPathTooLong from higher levels.
Respect the apparent previous approach to first try to fall back on System.IO
in case a path is too long or starts with a long UNC.
2018-10-31 13:08:14 +01:00
verhoek 0aa62975b7 Simplified ListFolders similarly to ListFiles. 2018-10-31 13:07:04 +01:00
verhoek 30b6e075e9 AlphaFS does not require adding long UNC. 2018-10-31 12:33:22 +01:00
verhoek bd3bb04f86 Restructed ListFiles to be more understandable. 2018-10-31 12:32:35 +01:00
verhoek 8954679b7a Reverted snapshot base to use standard system.io . Only overriden methods use Library.IO wrappers. 2018-10-31 12:32:07 +01:00
verhoek dd74245b75 Handled GetFiles calls at risky spots in combination with PathTooLongExceptions. 2018-10-30 17:16:13 +01:00
verhoek a90f577624 Redirected GetDirectories calls to Library.IO's version. 2018-10-30 13:38:25 +01:00
verhoek 4d8155fa43 Merge remote-tracking branch 'origin/master' into issue/3311 2018-10-29 12:13:25 +01:00
verhoek c398dec768 Fixed relevant code issues brought up by codacity. 2018-10-29 12:11:56 +01:00
Max123456 ec02dbca28 added parentheses 2018-10-29 08:33:53 +01:00
verhoek 52916b935b Replaced System.IO.Path with wrapper call to Alphaleonis. 2018-10-28 12:08:09 +01:00
verhoek 87c158f8cc Clean ups. 2018-10-27 21:40:58 +02:00
verhoek ef71e989e7 Use helper methods in IO.Util. 2018-10-27 12:30:02 +02:00
verhoek 1bf1daa189 Moved alphaleonis stuff to VSS wrapper objects in Libary.IO. 2018-10-27 12:29:39 +02:00
verhoek 181a1b0a1a Use moved helpers in IO.Util . 2018-10-27 12:27:41 +02:00
verhoek 8510f146de Adjusted hyperv VSS functionality to use VSS wrappers. 2018-10-27 12:27:08 +02:00
verhoek 541dd46b4d Adjusted MSSQL to use new VSS wrapper. 2018-10-27 12:25:49 +02:00
verhoek 7d38997b91 Moved DosDevice to Library.IO. 2018-10-27 12:17:31 +02:00
verhoek bc053df294 Moved basic IO helper functions to Library.IO. 2018-10-27 12:17:07 +02:00
verhoek 73f80a99ed Moved unused WinNativeMethods and commented out. 2018-10-27 12:09:05 +02:00
MaxandGitHub 0f5fe3ab0f Merge pull request #47 from duplicati/master
upstream
2018-10-27 00:14:17 +02:00
Max123456 8139514366 Improve detection Win10 & Win2019Server 2018-10-26 10:06:53 +02:00
verhoek 40dc6da81d Created separate package for io wrapper. 2018-10-25 20:01:55 +02:00
verhoek a3cc49566d Added additional wrappers for alphaFS implementations. 2018-10-25 17:02:35 +02:00
verhoek 7872018bbd Moved vss to SystemIOWindows. Added GetDirectories to ISystemIO. 2018-10-25 16:42:53 +02:00
verhoek 2e0fb275ea Moved GetPathRoot to SystemIOWindows instead of using AlphaFS directly. 2018-10-25 10:23:50 +02:00
verhoek 69243e8378 Use AlphaFS instead of System.IO to prevent PathTooLongException. 2018-10-24 15:48:19 +02:00
verhoek 0f0523dbaa Converted eol's to project's new line policy. 2018-10-24 15:39:54 +02:00
Rune HenriksenandGitHub 6c662a0d8b Merge pull request #3412 from mnaiman/normalize_path
all drives letter uppercase
2018-10-07 19:07:52 +02:00
Max123456 73d7aaffdc Invariant Upper 2018-10-07 11:47:48 +02:00