Simon Binder
|
44a2319bba
|
Improve variable tokenization for easier parsing logic
|
2019-09-13 22:48:55 +02:00 |
Simon Binder
|
f7ade2b7b6
|
Explain why we have more than one primaryKey override
|
2019-09-13 21:25:14 +02:00 |
Simon Binder
|
456392333d
|
Remove InsertStatement.insertOrReplace
|
2019-09-13 21:12:51 +02:00 |
Simon Binder
|
e9225cf759
|
Always generate private watch methods
|
2019-09-13 21:11:17 +02:00 |
Simon Binder
|
138652fdc4
|
Remove DiffUtil and MoorAnimatedList
|
2019-09-13 21:06:11 +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
|
3097bb0591
|
Don't write get/watch methods for queries declared in moor
|
2019-09-13 20:23:48 +02:00 |
Simon Binder
|
8ff5a7625e
|
Write another integration test with cyclic queries
|
2019-09-13 20:15:55 +02:00 |
Simon Binder
|
e50e7b3f21
|
Write integration test for tables feature
|
2019-09-13 20:01:09 +02:00 |
Simon Binder
|
156ef1ceb5
|
Support queries declared in .moor files
|
2019-09-12 21:08:30 +02:00 |
Simon Binder
|
6a0716daaf
|
Handle import statements and declared queries in .moor
|
2019-09-12 19:51:15 +02:00 |
Simon Binder
|
f3db52717f
|
Extract steps into multiple files
|
2019-09-12 19:09:56 +02:00 |
Simon Binder
|
b8cca3dcc2
|
Migrate AS plugin and build backend to new task api
|
2019-09-12 16:01:28 +02:00 |
Simon Binder
|
e394292978
|
Refactor the backend (again)
We now have a two-pass parsing and analyzing model that
supports (zyklic) imports between Dart and moor files.
|
2019-09-11 23:00:46 +02:00 |
Simon Binder
|
28f13abfc3
|
Fix type converters loosing generic information
Fixes #144
|
2019-09-11 21:30:42 +02:00 |
Simon Binder
|
a5cecd3ba6
|
Support moor file AST in the plugin
|
2019-09-09 20:34:14 +02:00 |
Simon Binder
|
1b7721a98f
|
Plugin: Import assists for column nullability
|
2019-09-08 21:36:26 +02:00 |
Simon Binder
|
d79b04193c
|
Report syntax errors in moor files from the plugin
|
2019-09-08 11:22:36 +02:00 |
Simon Binder
|
e807822f3f
|
Make plugin operate on the new MoorFile AST node
|
2019-09-08 10:29:59 +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
|
a62c076c4c
|
Suggest CREATE TABLE statements in moor files
|
2019-09-07 22:49:23 +02:00 |
Simon Binder
|
ee9b413e5d
|
Start experimenting with auto-completion features
|
2019-09-07 22:18:45 +02:00 |
Simon Binder
|
35e5bdb317
|
Introduce new top-level ast node for moor files
|
2019-09-07 21:33:56 +02:00 |
Simon Binder
|
1ed1e3ba94
|
Parse declared statements in moor files
|
2019-09-07 20:26:51 +02:00 |
Simon Binder
|
8268867369
|
Fix analyzer errors, re-run build_runner
|
2019-09-07 20:01:33 +02:00 |
Simon Binder
|
1fcc6facee
|
Implement basic functionality of the analyzer plugin
|
2019-09-07 18:49:11 +02:00 |
Simon Binder
|
10dca6a8a9
|
Migrate analysis plugin to refactored generator
|
2019-09-07 15:19:40 +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
|
1130101f1f
|
Support writing string literals from Constant<String>
Fixes #137
|
2019-09-06 22:37:15 +02:00 |
Simon Binder
|
71d1bfdc9c
|
Scaffold api to support type converters in moor files
I still don't know how to parse expressions though :(
|
2019-09-06 22:23:44 +02:00 |
Simon Binder
|
6ccaad866b
|
Parse import statements in moor files
|
2019-09-05 10:52:33 +02:00 |
Simon Binder
|
b87a606fb8
|
Merge branch 'master' into develop
|
2019-09-05 10:35:07 +02:00 |
Simon Binder
|
6993b26532
|
Release 1.7.2 of moor
Fixed a bug where databases where not opened properly.
|
2019-09-04 22:19:20 +02:00 |
Simon Binder
|
81986d2010
|
Remove debug logs used to fix the opening problem
|
2019-09-04 22:11:48 +02:00 |
Simon Binder
|
a17ad13542
|
Report more errors when database is opened
|
2019-09-04 21:20:09 +02:00 |
Simon Binder
|
3c56e0ad6e
|
Fix race condition in database opening
|
2019-09-04 18:38:55 +02:00 |
Simon Binder
|
1bbc26767e
|
Assert that the database is not opened multiple times.
|
2019-09-04 16:13:37 +02:00 |
Simon Binder
|
ba772ef07f
|
Better error handling when parsing multiple sql statements
|
2019-09-03 21:24:59 +02:00 |
Simon Binder
|
867f953107
|
Merge branch 'develop' into refactor-generator
# Conflicts:
# moor_generator/lib/src/analyzer/sql_queries/lints/linter.dart
|
2019-09-03 19:35:23 +02:00 |
Simon Binder
|
35fcdb2c0f
|
Implement error handling in the refactored builder
|
2019-09-03 19:30:05 +02:00 |
Simon Binder
|
74dc2e5404
|
Finish refactoring of moor_generator
|
2019-09-02 20:28:57 +02:00 |
Simon Binder
|
ad8bdba4b8
|
Start migration of writer code
|
2019-09-02 17:26:30 +02:00 |
Simon Binder
|
6e89a319ad
|
Refactored parser can now parse Dart tables
|
2019-08-31 12:22:25 +02:00 |
Simon Binder
|
23fca61961
|
Start with some refactoring in the generator
The idea is that we have a setup that let's us use multiple backends (build, analyzer plugin, standalone) with maximum code sharing.
|
2019-08-30 23:09:22 +02:00 |
Simon Binder
|
fcdbc309b7
|
Fix resolver not finding window expressions
|
2019-08-30 19:36:23 +02:00 |
Simon Binder
|
4af370f0cb
|
Tests: Verify that an executor is open when used.
|
2019-08-30 19:32:44 +02:00 |
Simon Binder
|
0ef56d6163
|
Use doWhenOpened for custom updates and inserts
|
2019-08-30 09:16:55 +02:00 |
Simon Binder
|
876db0671e
|
Provide lints on insert statements that will fail
|
2019-08-29 21:09:20 +02:00 |
Simon Binder
|
3cb00a4b31
|
Remove unnecessary "this." in insert companion constructor
|
2019-08-29 16:33:15 +02:00 |
Simon Binder
|
241baed0c3
|
Generate query implementations for insert statements
|
2019-08-29 16:27:55 +02:00 |