Commit Graph

671 Commits

Author SHA1 Message Date
Simon Binder e0fc4a3af6
Support background isolate in moor_ffi 2019-09-25 10:36:43 +02:00
Simon Binder 75f432c5f4
Merge branch 'develop' into beta 2019-09-24 22:51:09 +02:00
Simon Binder e292a7cff8
Re-comment plugin in analysis options 2019-09-24 22:50:59 +02:00
Simon Binder 8ff0ece29a
Make the ffi test run via `pub run test` 2019-09-24 22:47:32 +02:00
Simon Binder bf6d60b170
Fix column parser not accepting columns without type 2019-09-24 22:45:18 +02:00
Simon Binder 7c4f807907
Prepare moor_ffi package for release 2019-09-24 22:36:09 +02:00
Simon Binder 3e286e27af
Improve performance of blob reading/writing with ffi 2019-09-24 21:53:14 +02:00
Simon Binder ba21a594af
Fix autocomplete and suggestions in the analyzer plugin 2019-09-24 20:50:23 +02:00
Simon Binder cef3fd0bbe
Merge branch 'develop' into beta 2019-09-23 23:12:29 +02:00
Simon Binder 3ef0d0f61a Fix ffi version on iOS and MacOS 2019-09-23 16:51:58 +02:00
Simon Binder 18639a364c
Merge branch 'develop' into beta 2019-09-22 21:45:51 +02:00
Simon Binder b99bc820da
Add more tests in moor_ffi subproject 2019-09-22 16:26:17 +02:00
Simon Binder 0d56594933
FFI: Custom open behavior, isolate API, docs 2019-09-22 14:21:45 +02:00
Simon Binder d6913af380
FFI: Ability to override loading behavior, async api 2019-09-22 11:10:32 +02:00
Simon Binder 22dee72680
Bump sqflite dependency, integration test for array args 2019-09-21 13:20:19 +02:00
Simon Binder b62ed05a87
Make the lazy executor pass on the GeneratedDatabase 2019-09-20 20:46:54 +02:00
Simon Binder 87c50de1e1
Add LazyDatabase wrapper to create a database async 2019-09-20 20:23:35 +02:00
Simon Binder 7d962a1f01
Fix typo in new override flag 2019-09-20 19:36:09 +02:00
Simon Binder 161f7c0203
Optionally override hashCode and equals in result sets 2019-09-20 19:31:36 +02:00
Simon Binder 448ff10823
Start documenting moor 2.0 features 2019-09-20 19:29:26 +02:00
Simon Binder a38e883282 Ability to use moor_ffi on iOS 2019-09-20 10:55:06 +02:00
Simon Binder 4e166f189c
Colorize errors in moor files again 2019-09-18 21:40:19 +02:00
Simon Binder 1bdfa0289b
Make the parser set a span on each AST node. 2019-09-18 21:36:25 +02:00
Simon Binder 1bd856e9c5
Fix scanner crashing when the last line contains a comment 2019-09-18 20:53:49 +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 00b2956b35
Allow data class names to be overridden in sql
Closes #147
2019-09-17 15:23:24 +02:00
Simon Binder 746b8401ec
Scan comments in sql 2019-09-16 22:33:36 +02:00
Simon Binder 2bf42a6157
Resolve table references declared by foreign key clause 2019-09-16 19:36:56 +02:00
Simon Binder 5f2d5d3258
Parse <expression> IN (<select-stmt>) again 2019-09-15 21:41:32 +02:00
Simon Binder 9f8ccd08d0
Actually make the ffi package work on Android 2019-09-15 17:08:22 +02:00
Simon Binder 25ceda3505
Report lints about invalid Dart Templates in SQL 2019-09-15 11:59:47 +02:00
Simon Binder 3abfbd5963
Don't parse tuples as expressions 2019-09-15 11:19:32 +02:00
Simon Binder 5b6bd1db37
Fix some queries with Dart templates not compiling 2019-09-15 10:51:35 +02:00
Simon Binder c95a3badb2
Infer types for dart placeholder expressions
Also, infer where clauses to have a bool type
2019-09-14 22:44:20 +02:00
Simon Binder 082de160bc
Start to write changelog for the next version 2019-09-14 21:54:16 +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 928c9832b5
Move ffi bindings into new moor_ffi package 2019-09-14 20:54:13 +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 54c3dbc4b8
Write variables created in a dart template 2019-09-14 17:48:17 +02:00
Simon Binder 29c0cdaf3f
Write integration test for Dart templates 2019-09-14 16:48:51 +02:00
Simon Binder 349b245089
Write implementation for Dart placeholders 2019-09-14 16:42:24 +02:00
Simon Binder bf7c9feddf
Write parameter declarations for Dart placeholders 2019-09-14 12:26:58 +02:00
Simon Binder f171098789
Parse Dart placeholders based on their context 2019-09-14 11:44:15 +02:00
Simon Binder 1d7b4d01fe
Add documentation on Dart expressions 2019-09-14 10:15:09 +02:00
Simon Binder 7a8191fe7e
Fix moor queries not expanding array vars properly 2019-09-14 09:27:36 +02:00
Simon Binder 4c250c8f40
Parse dart template expressions and limit clauses 2019-09-13 23:08:29 +02:00
Simon Binder 44a2319bba
Improve variable tokenization for easier parsing logic 2019-09-13 22:48:55 +02:00