Commit Graph
84 Commits
Author SHA1 Message Date
Kenneth Skovhede 4dafb85ec9 Exposed the url encode/decode functions 2014-03-12 01:42:16 +01:00
Kenneth Skovhede f82f2b3b0e Updated URI regexp to be even more flexible 2014-02-28 14:02:51 +01:00
Kenneth Skovhede add5534c50 Don't depend on System.Web because it is broken on Mono
Update issue #940
Status: Fixed

I took another approach and now manually parse and encode these strings.
This is done to avoid using System.Uri.EscapeUriString because it has some subtle issues:
http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx
2014-02-10 14:35:02 +01:00
Kenneth Skovhede 47bc010b3c Added test-filters command 2013-12-07 15:22:51 +01:00
Kenneth Skovhede d14ec9432f Rewrote the storage of backup setups 2013-11-23 14:26:36 +01:00
Kenneth Skovhede 740d8c4fbf Added uname -a command to utility for better diagnosis 2013-09-25 23:31:18 +02:00
Kenneth Skovhede 4e1c188342 Fixed parsing Mono version number 2013-09-25 23:31:00 +02:00
Kenneth Skovhede 95c694dce7 Added application prefix to temp files, so we can see what files Duplicati spams the system with 2013-09-10 20:44:24 +02:00
Kenneth Skovhede c64fce2d18 Added a new wildcard matcher that is much faster at matching wildcards than the generic regex fallback.
Code from:
http://www.c-sharpcorner.com/uploadfile/b81385/efficient-string-matching-algorithm-with-use-of-wildcard-characters/
2013-08-31 22:59:00 +02:00
Kenneth Skovhede 9f4e5b4589 Update to collapse multiple regex filters into a single regex, as that is way faster 2013-08-31 22:57:21 +02:00
Kenneth Skovhede efc17dbd1b Rewrote the strategy for enumerating folders/files to use depth first instead of breadth first, as this seems to consume less memory.
Also updated so the callback is invoked before the item is put into the list, as this also reduces the number of items in the list.
2013-08-30 22:10:43 +02:00
Kenneth Skovhede f3c8cb6cca Possible fix for a crash 2013-08-25 19:26:12 +02:00
Kenneth Skovhede 6f639b02fd Changed how the hashes are re-used, so it is hopefully more compatible with Windows crypto API. 2013-08-21 22:24:36 +02:00
Kenneth Skovhede 25541d9d18 Implemented a new progress reporting system that relies polling for sending progress updates that occur with a high frequency. 2013-08-20 22:16:30 +02:00
Kenneth Skovhede 1e70f32ed3 Added guard against changing passphrase on existing backup 2013-08-17 22:05:40 +02:00
Kenneth Skovhede 84284dc46e Re-format stuff 2013-08-17 22:03:19 +02:00
Kenneth Skovhede e858ef1cf5 Rewrote FileBackedList to use virtual functions instead of functors, because the lambda functors are no longer instance methods in the new Mono compiler 2013-08-17 13:38:10 +02:00
Kenneth Skovhede 2dae70ba87 Fixed EPOCH to be UTC 2013-07-17 13:31:17 +02:00
Kenneth Skovhede b86005f373 Added correct usage of temporary files for disposing without having a using directive 2013-07-10 14:51:25 +02:00
Kenneth Skovhede 8e7806db00 Robustness fix 2013-07-10 14:33:02 +02:00
Kenneth Skovhede 98aa8c9537 Rewrote the file-backed list to use a buffer, and fixed some bugs when falling over to a file 2013-07-09 13:55:31 +02:00
Kenneth Skovhede b69cdcb136 Fixed filters to include everything if empty.
Will now include by default if there are only exclude filters.
If there are any include filters, the files are excluded by default.
2013-06-30 12:42:13 +02:00
Kenneth Skovhede a9ca999962 Updated to allow files as input arguments to backup 2013-06-29 12:17:52 +02:00
Kenneth Skovhede 2bf912a0af Rewrote the filter system to distinguish between match and result, which allows filter combinations 2013-06-29 12:16:30 +02:00
Kenneth Skovhede 8f69fc85c2 Removed a bunch of warnings 2013-06-26 21:29:03 +02:00
Kenneth Skovhede b9114e0125 Removed unused files 2013-06-01 14:59:39 +02:00
Kenneth Skovhede 6dc2864b7c Stray binary cleanup 2013-05-25 22:08:04 +02:00
Kenneth Skovhede d696670598 Reworked the result reporting to support type safe values 2013-05-25 16:40:15 +02:00
Kenneth Skovhede 687e60b847 Added generic version of a file-backed list, to accommodate large datasets without exhausting memory 2013-05-22 21:31:46 +02:00
Kenneth Skovhede 21f8b14da2 Fixed some whitespace issues.
Adde method to serialize an object for printing
2013-05-22 21:19:38 +02:00
Kenneth Skovhede 47a362df1a Fixed including the SQLite binaries with the build 2013-05-20 15:09:47 +02:00
Kenneth Skovhede c3ae36b4cd Fixed parsing urls with no path information 2013-05-20 14:05:28 +02:00
Kenneth Skovhede 48a675b0da Fixed bugs after rewriting filesystem enumerators to use filters and IEnumerable<string> 2013-05-15 21:50:16 +02:00
Kenneth Skovhede c29d9d00b9 Implemented the backup command.
Rewrote filter handling across the entire project.
2013-05-13 22:32:05 +02:00
Kenneth Skovhede c596434cab Removed unused options and dropped the fh- prefix for forest hash options 2013-05-08 19:57:13 +02:00
Kenneth Skovhede 12b52d8d84 Merge branch 'master' into sandboxes/Kenneth/ForestHash 2013-05-06 20:36:56 +02:00
Kenneth Skovhede d3f4058057 Fixed various minor issues with backends 2013-05-06 20:36:26 +02:00
Kenneth Skovhede 866dfbcb98 Merge branch 'master' into sandboxes/Kenneth/ForestHash 2013-05-06 09:11:17 +02:00
Kenneth Skovhede 07adaa53c9 Added url encode/decode for the username and password to allow all kinds of username/password setups 2013-05-06 09:10:41 +02:00
Kenneth Skovhede c6dfc79ab4 Merge branch 'master' into sandboxes/Kenneth/ForestHash 2013-05-06 09:01:08 +02:00
Kenneth Skovhede 68bf7109f7 Bugfix to the Uri parser 2013-05-06 09:00:29 +02:00
Kenneth Skovhede b78f7ab8a3 Merge branch 'master' into sandboxes/Kenneth/ForestHash
Conflicts:
	Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
2013-05-05 23:52:01 +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 86b52d364d Added a custom URL parser 2013-05-05 21:18:00 +02:00
Kenneth Skovhede c7836ce403 Removed support for the old file format 2013-05-05 17:54:59 +02:00
Kenneth Skovhede 1dd3410a74 Auto-gen stuff 2013-05-05 13:55:34 +02:00
Kenneth Skovhede 9c5183f794 Merge branch 'master' into sandboxes/Kenneth/ForestHash
Conflicts:
	Duplicati.sln
	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
	Duplicati/CommandLine/Decrypter/Duplicati.CommandLine.Decrypter.csproj
	Duplicati/CommandLine/Duplicati.CommandLine.csproj
	Duplicati/GUI/Datamodel/Datamodel.csproj
	Duplicati/GUI/Duplicati.GUI.MacTrayIcon/Duplicati.GUI.MacTrayIcon.csproj
	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
	Duplicati/GUI/Duplicati.csproj
	Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj
	Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj
	Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj
	Duplicati/Library/Backend/GoogleDocs/Duplicati.Library.Backend.GoogleDocs.csproj
	Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj
	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
	Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj
	Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj
	Duplicati/Library/Compression/Duplicati.Library.Compression.csproj
	Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj
	Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj
	Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
	Duplicati/Library/Logging/Duplicati.Library.Logging.csproj
	Duplicati/Library/Main/Duplicati.Library.Main.csproj
	Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
	Duplicati/Library/SharpRSync/Duplicati.Library.SharpRSync.csproj
	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
	Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
	Duplicati/License/Duplicati.License.csproj
	Duplicati/Server/Duplicati.Server.Serialization/Duplicati.Server.Serialization.csproj
	Duplicati/Server/Duplicati.Server.csproj
	Duplicati/Winforms/Controls/Duplicati.Winforms.Controls.csproj
	WizardForm/WizardForm.csproj
2013-05-05 13:55:18 +02:00
Kenneth Skovhede 0014b69ccf Removed unused x86 configurations and fixes som build refrences 2013-05-05 13:45:02 +02:00
Kenneth Skovhede 37a60c10df Auto-gen stuff 2013-05-04 14:25:07 +02:00
Kenneth Skovhede f40c6275aa Cleanup that fixes leftover temporary files 2013-04-16 22:36:19 +02:00