Tyler Gill
83a1dcfb64
Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
...
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.
For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Dan Stahr
377aef5fe1
Corrected path to the new files.
2017-06-08 23:21:25 +01:00
Dan Stahr
8c3d83f9af
...and add the files to the project as well
2017-06-08 16:24:06 +01:00
Dan Stahr
d0f8fffc25
Added support for executing non-SQL code when performing a database update.
...
Some of the database migrations I'm planning to perform are very slow if using SQL only
or entirely impossible using the standard SQLite toolchain. I added a simple interface
with "before SQL" and "after SQL" hooks so that a database upgrade can perform custom
code operations as well.
2017-06-08 15:50:03 +01:00
Kenneth Skovhede
f223c38ad7
Updating the SQLite library on Windows to 1.0.104.0.
...
The Linux version use Mono.Data.SQLite if possible, and otherwise attempts to wrap the system sqlite.so.
This fixes #2144
2017-03-01 11:10:01 +01:00
Kenneth Skovhede
c79eaad6a8
Pedantic fix: use single quotes as described in the documentation
2017-01-16 10:28:38 +01:00
Kenneth Skovhede
3b4cd3c9c2
Experiment to set the SQLite temp folder, both through the environment variable and the deprecated pragma statement
2017-01-15 23:09:47 +01:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
Kenneth Skovhede
785c4d325f
Reverted changes to solution file so it again forces Windows linefeeds.
...
This also moved stuff around in some project files.
2016-04-13 00:36:22 +02:00
Kenneth Skovhede
742eab0913
Fixed multiple cases where connections and command instances were not disposed.
...
This should fix all cases of "File is locked" on windows.
2016-04-06 20:40:34 +02:00
Kenneth Skovhede
3397e42e0b
Merge pull request #1620 from FootStark/DeleteVolumeQuickFix
...
Mitigate slow volume deletion
2016-03-16 15:38:54 +01:00
FootStark
8e9a080697
Do preparsing before command splitting
2016-03-16 14:30:44 +01:00
FootStark
7656e891ce
Prepocessor for schema, Optimized RemoveRemoteVolume
...
Added a preprocessor for schema supporting sqlite_version-dependent
Statements
RemoveRemoteVolume deletes volumes in batch.
2016-03-16 00:49:28 +01:00
Kenneth Skovhede
97af9be53f
Spelling fix
2016-03-13 17:00:51 +01:00
Kenneth Skovhede
9ae7ea233a
Possible fix for PR #1456 and issue #1449
2015-09-08 16:41:16 +02:00
Kenneth Skovhede
ca5e503680
Fixed loading SQLite with Mono 4.0 and newer
2015-05-04 10:43:24 +02:00
Kenneth Skovhede
0d7cf7203b
Updated to .Net framework version 4.5
2015-01-26 11:22:52 +01:00
Kenneth Skovhede
3149064cde
Merge branch 'no_more_resx'
2015-01-20 21:45:54 +01:00
Kenneth Skovhede
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
16c791f0b5
Removed all resx files, now using Duplicati.Library.Localization exclusively
2015-01-20 21:07:24 +01:00
Kenneth Skovhede
968785ce32
Fixed a spelling error
2014-06-18 13:28:12 +02:00
Kenneth Skovhede
69bd080aa5
Updated the version number in all projects to 2.0.0.7
2014-06-13 15:08:51 +02:00
Kenneth Skovhede
e70ba0a477
Updated product-number in the project files
2014-06-13 15:00:12 +02:00
Kenneth Skovhede
4414c2f0dd
Moved SQLite related items into a separate project to avoid pulling in the extra content files when using the utility library for mini projects
2014-04-07 11:59:33 +02:00