Commit Graph

831 Commits

Author SHA1 Message Date
Simon Binder 8a8b811643
Fix more sqlparser crashes in the resolver 2019-10-20 11:28:05 +02:00
Simon Binder a69f469444
Support sqlite_master, sqlite_sequence tables (#197) 2019-10-19 16:56:36 +02:00
Simon Binder fd27c878d4
Fix errors in sqlparser that were swallowed before 2019-10-19 16:41:30 +02:00
Simon Binder d8226aeb23
Handle aliases references to rowid (#197) 2019-10-19 16:09:44 +02:00
Simon Binder 0c2362a625
Scaffold layout for multi-isolate implementation 2019-10-19 14:27:15 +02:00
Simon Binder 263004fe7b
Option to use the column name as json key in moor files
Closes #176
2019-10-17 21:44:20 +02:00
Simon Binder aabf565479
Migrate moor_ffi to Dart 2.6 2019-10-17 19:00:51 +02:00
Simon Binder 95f37575f8
Optionally use data class name for companions
Closes #185
2019-10-16 21:33:13 +02:00
Simon Binder d00336a1d2
Don't use Pointer.allocate and Pointer.free
Both methods will be removed in Dart 2.6
2019-10-15 19:23:04 +02:00
Simon Binder 4c090af98c
Ability to override json keys in moor files (#176) 2019-10-14 19:59:52 +02:00
Simon Binder 438f979ed1
Use a mixin for auto increment columns in test file 2019-10-11 22:12:28 +02:00
Simon Binder ff7d587339
Add real-world example for table inheritance to test 2019-10-11 22:03:32 +02:00
Simon Binder 0b9d4c897b
Properly handle overridden elements when parsing columns 2019-10-11 18:00:17 +02:00
Simon Binder 337e260667
Support inheritance in table definitions (#169) 2019-10-11 17:43:48 +02:00
Simon Binder 77fcf7a7ba
Release moor and moor_generator 2.0.1, sqlparser 0.3.0+1 2019-10-11 17:24:04 +02:00
Simon Binder 24c4e5c7d4
Don't run analyzer tests on the CI 2019-10-11 16:42:08 +02:00
Simon Binder 5ae3d7c2af
Prepare pubspec and changelog for 2.0.1 release 2019-10-11 13:17:50 +02:00
Simon Binder fb85ac80cb
Run builder on integration tests, support analyzer 0.38 2019-10-10 17:30:22 +02:00
Simon Binder e66eaa6127
Merge pull request #181 from minia68/master
Make transaction return a value
2019-10-10 17:06:05 +02:00
Ryzhkov Sergey c0d75f1654 make transaction return value 2019-10-10 16:52:09 +03:00
Simon Binder 47f8dbb90d
Make streams emit cached data for multiple listeners
Fixes #178
2019-10-09 22:39:19 +02:00
Simon Binder 720ca43cc4
Re-run build on flutter example app 2019-10-09 21:28:36 +02:00
Simon Binder aef8e15d61
Merge remote-tracking branch 'origin/master' into develop
# Conflicts:
#	moor_generator/CHANGELOG.md
2019-10-09 20:32:25 +02:00
Simon Binder 5510a90583
Fix warnings (2.6-dev SDK), escape \r, constant workaround 2019-10-09 19:48:52 +02:00
Simon Binder c329c409d6
Merge pull request #177 from michaelspiss/patch-1
Fix version solving fail for extras/encryption
2019-10-07 22:39:53 +02:00
Michael Spiss d96887b4e9
Fix version solving fail for extras/encryption
Version solving fails with the newest release of moor (2.0.0). This only updates the moor version in pubspec.yaml as the mirrored moor_flutter.dart has not changed except for the removal of functionality that was not supported by encrypted_moor.dart.
2019-10-07 22:16:31 +02:00
Simon Binder 6e32e37dd7
Remove unnecessary type parameter on createCompanion 2019-10-05 22:41:23 +02:00
Simon Binder 718af051ff
Optionally disable verification code (#173) 2019-10-05 21:41:20 +02:00
Simon Binder ed03bff4c2
Recognize boolean and datetime column in moor 2019-10-05 21:24:41 +02:00
Simon Binder fb7c3c2a9a
Dart API for between expressions (closes #159) 2019-10-05 13:38:34 +02:00
Simon Binder ef1dd8d2c5
Scan \r as whitespace (#170) 2019-10-04 22:21:17 +02:00
Simon Binder 6b1ebac16b
Document all public moor apis, enable appropriate lint 2019-10-04 22:19:41 +02:00
Simon Binder 364e3f0c1a
Release moor 2.0 2019-10-03 15:39:32 +02:00
Simon Binder ab12380ec1
Merge branch 'develop' into beta 2019-10-03 13:58:05 +02:00
Simon Binder b0d69f346f
Make StartWithValueTransformer subscribe in same microtask 2019-10-03 11:39:12 +02:00
Simon Binder c2845cb248
Invalidate cached stream data on update (#166) 2019-10-03 11:28:44 +02:00
Simon Binder a74cc3b624
Create tables sequentially, manually create migrators
(#165)
2019-10-02 22:49:34 +02:00
Simon Binder 20cac9fefd
Merge branch 'develop' into beta 2019-10-01 20:39:44 +02:00
Simon Binder 7cae79d76b
Document how to debug the plugin, prepare 2.0 release 2019-10-01 17:58:17 +02:00
Simon Binder 742cec4d0e
More guides for moor 2.0 2019-10-01 12:07:25 +02:00
Simon Binder 869aaada90
Unit tests for row.read* 2019-09-29 16:33:09 +02:00
Simon Binder 4137f6cffa
Write unit tests for DelegateDatabase 2019-09-29 16:21:09 +02:00
Simon Binder 308167dc12
Support mapping BLOBs to literals 2019-09-29 15:18:11 +02:00
Simon Binder 059fc69893
Fix lcov formatting 2019-09-29 14:39:20 +02:00
Simon Binder 5a0c0d9212
Use package:test_coverage for moor subproject 2019-09-29 11:27:35 +02:00
Simon Binder 234a96cd5e
Re-enable coverage for everything but moor_generator 2019-09-29 10:51:16 +02:00
Simon Binder 1ba687696f
Plugin: Navigation support for table references 2019-09-28 23:15:23 +02:00
Simon Binder d91c69493f
Plugin: Navigation for column references in queries 2019-09-28 22:24:40 +02:00
Simon Binder b9f934c1d4
Report information about where a column was declared 2019-09-28 22:01:28 +02:00
Simon Binder 12a6c45a42
Plugin: Fix deadlock when analyzing Dart imports in .moor 2019-09-28 19:21:03 +02:00