Граф коммитов

549 Коммитов

Автор SHA1 Сообщение Дата
Jérôme Laban b0709b9468 Update readme, wasm bootstrap version 2018-09-24 09:46:06 -04:00
Jérôme Laban 4d6cc14070 Fixed bind statements, added unit tests. 2018-09-24 08:42:40 -04:00
Jérôme Laban 9c6302b7da [WIP] Add WebAssembly support. 2018-09-21 22:52:01 -04:00
Frank A. Krueger b6a2febef0
Bump SQLitePCLRaw to 1.1.11 in sqlcipher 2018-09-10 12:57:24 -07:00
Frank A. Krueger 51c2876bf9
Make SQLiteCommands inheritable
Fixes #718
2018-09-10 12:50:18 -07:00
Frank A. Krueger 3cff559d74
Bump SQLitePCLRaw to 1.1.11 2018-09-10 12:34:51 -07:00
Frank A. Krueger 864f5a7c22
Fix nuget output dir 2018-09-10 11:40:12 -07:00
Frank A. Krueger c360ae602d
Require encryption keys to be passed to constructors
This is to prevent the error of turning on WAL (new default)
before the key has been set.

This also prevents the user from not calling the old SetKey functions
at the wrong time.

Working on #597
2018-09-10 11:23:30 -07:00
Frank A. Krueger 65fe57311f
Add nuget badges 2018-09-10 10:44:51 -07:00
Frank A. Krueger a594109580
Add sqlcipher nuspce to sln 2018-09-10 10:37:08 -07:00
Frank A. Krueger 38233f327f
Fix build badge 2018-09-10 10:37:08 -07:00
Frank A. Krueger 3f96368b34
Fix brace placement 2018-09-10 10:37:08 -07:00
Frank A. Krueger 5603ee0c66 Merge pull request #618 from kicsiede/master
allow comparison with nullable parameter
2017-08-24 12:01:02 -07:00
Frank A. Krueger de7afe9528 Merge pull request #617 from FatJohn/master
use default parameter to Task.Factory.StartNew to do the same as Task.Run
2017-08-24 11:58:21 -07:00
kicsiede 405faf17e2 allow comparison with nullable parameter
allow queries like

var nullableInt = default(int?);
connection
  .Table<Test>()
  .Where(x => x.Int < nullableInt);

which is equivalent to
connection
  .Query<Test>("SELECT * FROM [Test] WHERE [Int] < ?", nullableInt);
2017-08-20 19:23:58 +02:00
JohnShu 32ef5e69cc according to this article : https://blogs.msdn.microsoft.com/pfxteam/2011/10/24/task-run-vs-task-factory-startnew/
add default Task.Factory.StartNew parameter to do the same with Task.Run
2017-08-17 15:49:56 +08:00
Frank A. Krueger 786f9409e1 Add test to make sure async transaction failures rollback
Fixes #329
2017-08-16 00:27:06 -07:00
Frank A. Krueger 62c620fd31 Rollback transactions if the commit/release fails
These methods can fail with BUSY without terminating the transaction.
This caused problems with maintaining the transaction depth and also
put a burdern on the user to try committing again, or rolling back.

To simplify things, an automatic rollback as been added.
Now when transactions fail with BUSY, they also rollback and terminate.

Fixes #604
2017-08-16 00:19:35 -07:00
Frank A. Krueger d9fae5b9d8 Remove debug info from nuget release builds
VS2015 can't handle the portable PDB format used by mono.

Fixes #614
2017-08-15 21:31:13 -07:00
Frank A. Krueger 33a5b685df Merge pull request #612 from xperiandri/modern_gitignore
Updated .gitignore to modern set
2017-08-15 12:21:11 -07:00
Андрій Чебукін 19ff613528 Updated .gitignore to modern set 2017-08-15 14:54:45 +03:00
Frank A. Krueger 153052e266 Merge pull request #611 from xperiandri/uri_support
Added Uri, UriBuilder and StringBuilder support as column types
2017-08-14 12:34:27 -07:00
Андрій Чебукін 49a42b192d Added Uri, UriBuilder and StringBuilder support 2017-08-14 10:14:21 +03:00
Frank A. Krueger c7837ce07a Merge pull request #505 from Clancey/master
Now when in full mutex mode (serialized), reading can happen  without locking.
2017-08-12 21:24:40 -07:00
Frank A. Krueger 5a9fbeb306 Log errors when stress test fails 2017-08-12 21:10:17 -07:00
James Clancey 75926dbf0d Changed naming around the mutex connection. 2017-08-12 19:59:19 -08:00
Frank A. Krueger dbe79d66e7 Add SetKey to connection to support SQLCipher
The key quoting is not perfect - need to improve it in the future.

Working on #597
2017-08-12 20:19:22 -07:00
Frank A. Krueger bb5eee35fb Test enums defined as bytes
Fixes #33
2017-08-12 18:34:37 -07:00
Frank A. Krueger 24c0ce1b1d Add sqlite-net-sqlcipher nuget package and project
This commit is going in so I can work on the CI side.

Still need to add support for the `key` pragma.

Working on #597
2017-08-12 18:02:11 -07:00
Frank A. Krueger 5c9a41fe09 Make DeferredQuery docs clearer
Fixes #340
2017-08-12 16:52:46 -07:00
Frank A. Krueger a3b906b996 Merge pull request #608 from MKuckert/fix/595
#595: Implements specifying WithoutRowId on the TableAttribute to cre…
2017-08-12 15:19:26 -07:00
Frank A. Krueger 5b2084cc1b Merge pull request #607 from MKuckert/fix/492
Fixes #492: Create temporary on-disk database by specificing empty st…
2017-08-12 15:17:25 -07:00
Frank A. Krueger e8849bf201 Support enums with repeated values
Fixes #598
2017-08-12 14:33:58 -07:00
Martin Kuckert c471c42d87 #595: Implements specifying WithoutRowId on the TableAttribute to create the table accordingly 2017-08-12 23:33:22 +02:00
Martin Kuckert 320f16b8a7 Fixes #492: Create temporary on-disk database by specificing empty string as database path 2017-08-12 22:43:37 +02:00
Frank A. Krueger 689ee77408 Add String.Replace handling in linq queries
Fixes #460
2017-08-12 13:20:35 -07:00
Frank A. Krueger 44f2c5feb8 Rename iOS Test so that Instruments works 2017-08-12 12:43:45 -07:00
Frank A. Krueger 8c72783cad Switch to versioning in the CI
This is work for #601
2017-08-12 11:17:09 -07:00
Frank A. Krueger a206cf8472 Fix preserving ColumnInfo on iOS and Android with linker
Fixes #435
2017-08-12 10:42:23 -07:00
Frank A. Krueger 4fabb223e4 Fix identifier escaping used in the query example
Fixes #363
2017-08-12 10:30:40 -07:00
Frank A. Krueger d1fa883ea4 Switch to using custom ToList in First impls 2017-08-12 01:02:01 -07:00
Frank A. Krueger 280d4ba3d5 Share table mappings and make thread safe
This fixes #423 by guarding access to the mappings.
It also fixes #379 by making them static.
2017-08-12 00:33:37 -07:00
Frank A. Krueger d2b144cfce Move prepared inserts out of mapping
This was the wrong place for them because they are tied to
connections and could accidentally get shared between connections.

Also remove NO_CONCURRENT as it's dangerous
2017-08-11 23:15:18 -07:00
James Clancey ccd849c89e Removed blocking CreateTables from async 2017-08-11 12:26:46 -08:00
James Clancey 5476d98013 Made the ReadAsync, non locking instead of Write 2017-08-11 12:18:54 -08:00
James Clancey 841427aab1 Added WAL Support 2017-08-11 11:37:52 -08:00
James Clancey fb9e72a8ed Added locking Table Creation 2017-08-11 11:35:45 -08:00
James Clancey 6451a525f3 When in full mutex, Writing reading lo longer locks, Default to full mutex 2017-08-11 11:33:04 -08:00
Frank A. Krueger 5356727a0a Use absolute paths in README Examples
Demonstrates the correct use of the ctors.

Fixes #602
2017-08-11 11:59:52 -07:00
Frank A. Krueger c969adec13 Change Close() to be CloseAsync()
Fixes #101
2017-08-04 19:43:31 -07:00