Commit Graph

831 Commits

Author SHA1 Message Date
Simon Binder 2c57a80771
Revert using mapFromRow() for matched tables in queries 2019-12-21 14:51:22 +01:00
Simon Binder 9c81cb5c41
Revert using mapFromRow() for matched tables in queries 2019-12-20 18:23:30 +01:00
Simon Binder c9071f2f7d
Explain that most work happens on develop 2019-12-20 18:15:52 +01:00
Simon Binder 8f15356357
Merge branch 'master' into develop
# Conflicts:
#	moor/CHANGELOG.md
#	moor/test/data/tables/custom_tables.g.dart
#	moor/test/data/tables/tables.moor
#	moor_generator/lib/src/analyzer/runner/task.dart
#	moor_generator/lib/src/backends/build/moor_builder.dart
#	moor_generator/test/analyzer/moor/cfe_test.dart
2019-12-18 22:04:50 +01:00
Simon Binder 4803e81944
Set correct version in moor_ffi package 2019-12-18 21:59:28 +01:00
Simon Binder 875d08f8a1
Prepare changelog and pubspec for moor_ffi release 2019-12-18 20:41:28 +01:00
Simon Binder 0d4cf13001
Factories for easier ordering terms (#284) 2019-12-18 15:59:28 +01:00
Simon Binder 3eaa5b5352
Simplify moor_ffi android build script 2019-12-18 15:54:49 +01:00
Simon Binder cb38590ee4
Parse special `@`-queries (not analyzed yet), #280 2019-12-17 22:03:59 +01:00
Simon Binder 0335e2482b
Scan @-variable tokens (not used yet) 2019-12-17 20:48:18 +01:00
Simon Binder 496f23d7d1
Clarify when imports are needed 2019-12-17 20:24:55 +01:00
Simon Binder a8aa65e4c1
Improve some docs, abstract base plugin class 2019-12-17 12:05:09 +01:00
Simon Binder d2864d6859
Support reading MoorOptions in CLI analyzer 2019-12-16 21:50:21 +01:00
Simon Binder 587e8fd1a9
Don't crash when reading part of files 2019-12-16 19:34:26 +01:00
Simon Binder 76ac7c7ab3
Support batches in transactions (#271) 2019-12-16 15:50:12 +01:00
Simon Binder ffe4bb8c82
Don't crash when trying to resolve variables 2019-12-16 13:24:29 +01:00
Simon Binder ae91b5d526
Expose plugin debug server as cli command 2019-12-15 21:38:46 +01:00
Simon Binder 49a1e8253e
Initial, rough implementation of a standalone runner 2019-12-15 21:14:03 +01:00
Simon Binder 9f9361cfd7
Replace plugin backend with more general common backend 2019-12-15 11:29:50 +01:00
Simon Binder e4fed775de
Basic tests for the file tracker, even found a bug 2019-12-14 22:30:35 +01:00
Simon Binder ebd94cad82
Extract common moor drivers 2019-12-14 22:03:16 +01:00
Simon Binder c69b7cb283
Move builders and analyzer plugin into subfolder 2019-12-14 21:49:51 +01:00
Simon Binder 8661e0a28a
Refactoring on the model classes in moor_generator 2019-12-14 21:43:04 +01:00
Simon Binder 6b776d47d7
Documentation for the json1 and fts5 extensions 2019-12-14 12:39:39 +01:00
Simon Binder 0e2ad81ac1
Attempt to use Dart 2.7 in CI 2019-12-13 23:27:09 +01:00
Simon Binder 2d1d899c71
Use nullptr.cast() instead of nullptr
This can speed up performance when binding strings
2019-12-13 23:15:16 +01:00
Simon Binder 1672eacb69
Print Dart version on CI builds 2019-12-13 22:35:02 +01:00
Simon Binder f30f6f6b9b
Ignore warning for analyzer src import 2019-12-13 22:31:24 +01:00
Simon Binder c9f29fab5b
Support detailed analysis for fts5 functions 2019-12-13 22:30:36 +01:00
Simon Binder 94634bd48b
Support custom fts5 queries 2019-12-12 18:56:37 +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 e983e4da63
Publish moor version 2.1.1 2019-12-12 09:54:34 +01:00
Simon Binder 41b32b1684
Fix crash when database is closed with asserts disabled 2019-12-12 09:23:54 +01:00
Simon Binder cf607f0108
Escape column names during insert 2019-12-12 09:23:41 +01:00
Simon Binder bef1b98152
Docs: Recommend disabling analysis for .g.dart files 2019-12-12 09:23:07 +01:00
Simon Binder f876929ba3
Save database after opening (fixes #273) 2019-12-12 09:21:43 +01:00
Simon Binder a23ff772fa
Improve syntax highlighting in the sql IDE 2019-12-11 21:14:33 +01:00
Simon Binder 8ee3029ed0
Save database after opening (fixes #273) 2019-12-11 11:18:59 +01:00
Simon Binder bdea374fa2
Generator: Extract writer into a top-level library 2019-12-11 10:44:28 +01:00
Simon Binder 99cf31bb61
Don't attempt to type unresolved references 2019-12-11 10:12:30 +01:00
Simon Binder 2c97373bdd
Support implicit-dynamic: false
Closes #268
2019-12-10 20:38:08 +01:00
Simon Binder 74ebb8a9ab
Ability to create fts5 tables in moor files (#196) 2019-12-10 20:24:08 +01:00
Simon Binder e982593643
dsl: Throw an exception instead of returning null 2019-12-09 19:35:25 +01:00
Simon Binder 54f4fd73e8
Revert analyzer workaround, a fixed version is out 2019-12-09 12:16:18 +01:00
Simon Binder fb3eb4ee6b
Merge pull request #270 from Elvis5566/store_db_after_custom_statement
Fix table not found exception.
2019-12-07 21:18:07 +01:00
Simon Binder 2257561c65
Also apply analyzer workaround in the vm tests package 2019-12-07 19:03:26 +01:00
Simon Binder 67c3715768
Fix another test regarding Dart components in sql 2019-12-07 18:06:42 +01:00
Simon Binder 40eaf17a7d
Generator tests: Always provide task and file for a step 2019-12-07 17:53:53 +01:00
Simon Binder 4ee228d5a6
Write table name for columns in components (#269) 2019-12-07 13:38:33 +01:00