Commit Graph

69 Commits

Author SHA1 Message Date
Simon Binder 927fbf561b
Begin architecture of a new type resolver in sqlparser 2019-12-26 21:55:02 +01:00
Simon Binder d41097d8e5
Benchmark for serial inserts for comparison 2019-12-23 20:47:03 +01:00
Simon Binder 60f55c9224
Refactor benchmarks, add one for inserts 2019-12-23 20:22:17 +01:00
Simon Binder 8e144c69e0
Start writing some low-level benchmarks 2019-12-23 20:00:48 +01:00
Simon Binder 76ac7c7ab3
Support batches in transactions (#271) 2019-12-16 15:50:12 +01:00
Simon Binder ae91b5d526
Expose plugin debug server as cli command 2019-12-15 21:38:46 +01:00
Simon Binder da9ca61e0c
Don't remap tables from sql -> moor -> sql 2019-12-12 18:06:56 +01:00
Simon Binder 7ab71f7558
Adapt tests for new equals methods 2019-12-12 18:00:29 +01:00
Simon Binder 8ee3029ed0
Save database after opening (fixes #273) 2019-12-11 11:18:59 +01:00
Simon Binder 2c97373bdd
Support implicit-dynamic: false
Closes #268
2019-12-10 20:38:08 +01:00
Simon Binder 54f4fd73e8
Revert analyzer workaround, a fixed version is out 2019-12-09 12:16:18 +01:00
Simon Binder 2257561c65
Also apply analyzer workaround in the vm tests package 2019-12-07 19:03:26 +01:00
Simon Binder 3c74a20f56
Enable more recent lints and enforce them 2019-12-04 21:45:09 +01:00
Simon Binder 29a6475c85
Include sqlite sources in moor_ffi project
This allows us to drop the download step from the build
2019-11-27 12:28:06 +01:00
Simon Binder 598fef750e
RELEASE
- moor 2.1.0
- moor_generator 2.1.0
- sqlparser 0.4.0
- moor_ffi 0.2.0
2019-11-16 11:23:11 +01:00
Simon Binder c0aa88f4d0
Warn when a database class isn't used as a singleton 2019-11-15 09:52:38 +01:00
Simon Binder 623f3212a1
Use builtin coverage collection from test package 2019-11-08 22:51:53 +01:00
Simon Binder 77cc6b2d88
Use extensions methods for Dart query api (#195) 2019-11-06 12:16:55 +01:00
Simon Binder 98470109cf
Remove built_value(_generator) dependency from generator 2019-11-04 17:09:21 +01:00
Simon Binder b189a2bcb2
Better errors on QueryExecutor misuse, fix beforeOpen 2019-11-02 11:48:11 +01:00
Simon Binder fb85ac80cb
Run builder on integration tests, support analyzer 0.38 2019-10-10 17:30:22 +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 7cae79d76b
Document how to debug the plugin, prepare 2.0 release 2019-10-01 17:58:17 +02:00
Simon Binder a6cfc5fdd8
Better types for nested expressions, more 2.0 docs 2019-09-26 22:46:19 +02:00
Simon Binder e292a7cff8
Re-comment plugin in analysis options 2019-09-24 22:50:59 +02:00
Simon Binder ba21a594af
Fix autocomplete and suggestions in the analyzer plugin 2019-09-24 20:50:23 +02:00
Simon Binder 22dee72680
Bump sqflite dependency, integration test for array args 2019-09-21 13:20:19 +02:00
Simon Binder 161f7c0203
Optionally override hashCode and equals in result sets 2019-09-20 19:31:36 +02:00
Simon Binder 7121bac866
More work on the analyzer plugin
- finish migration to refactored generator
- document how to use the analysis plugin
- better error reporting without redundant messages
2019-09-18 20:48:44 +02:00
Simon Binder 9f8ccd08d0
Actually make the ffi package work on Android 2019-09-15 17:08:22 +02:00
Simon Binder ae8ed3aedf
Also run the ffi integration tests on android 2019-09-14 21:30:38 +02:00
Simon Binder 30e44ecbac
Write more notes on how to use moor_ffi 2019-09-14 21:20:42 +02:00
Simon Binder ec0e82eae4
Allow users to override library opening behavior 2019-09-14 21:07:27 +02:00
Simon Binder 9e498fb575
Merge branch 'ffi' into develop
# Conflicts:
#	moor/lib/src/runtime/executor/helpers/engines.dart
2019-09-14 19:23:37 +02:00
Simon Binder e89f9227ab
Don't write ResultSet classes for single-column queries
Fixes #148
2019-09-14 19:03:52 +02:00
Simon Binder c8ae99b52e
Breaking changes for the upcoming version
1. Removes transaction parameter in callbacks, custom queries
2. Removes MigrationStrategy.onFinished
2019-09-13 21:04:15 +02:00
Simon Binder 1b7721a98f
Plugin: Import assists for column nullability 2019-09-08 21:36:26 +02:00
Simon Binder 7354b56712
Merge branch 'develop' into analyzer-plugin
# Conflicts:
#	moor_generator/lib/src/analyzer/moor/parser.dart
#	sqlparser/lib/src/engine/sql_engine.dart
2019-09-07 23:05:36 +02:00
Simon Binder 8268867369
Fix analyzer errors, re-run build_runner 2019-09-07 20:01:33 +02:00
Simon Binder b550afd68f
Merge branch 'develop' into analyzer-plugin
# Conflicts:
#	moor_generator/lib/src/parser/moor/moor_analyzer.dart
2019-09-07 11:31:34 +02:00
Simon Binder b87a606fb8
Merge branch 'master' into develop 2019-09-05 10:35:07 +02:00
Simon Binder 3c56e0ad6e
Fix race condition in database opening 2019-09-04 18:38:55 +02:00
Simon Binder b1e215b8d3
Merge branch 'develop' into ffi 2019-08-28 15:36:10 +02:00
Simon Binder 0860b6645a
Generate selectable for custom queries
This makes is easier to use getSingle() and watchSingle()
on them.
Fixes #120
2019-08-27 18:44:34 +02:00
Simon Binder fc6c9857bb
Add example project to play around with the AS plugin 2019-08-26 21:11:50 +02:00
Simon Binder a3f6f1e326
Merge branch 'develop' into analyzer-plugin
# Conflicts:
#	moor_generator/pubspec.yaml
2019-08-26 15:32:28 +02:00
Simon Binder e38719a194
Write changelogs, prepare release 1.7 2019-08-22 12:27:39 +02:00
Simon Binder d0e71d8bcd
Remove unused files from vm integration test 2019-08-20 15:38:30 +02:00
Simon Binder ae47867c06
Write meta description tag in documentation 2019-08-18 11:35:08 +02:00
Simon Binder 8ea7404133
Update encrypted db to match moor_flutter features 2019-08-18 09:58:04 +02:00