Tobias Bosch
4e7752a12a
feat(compiler): integrate compiler with view engine ( #14487 )
...
Aspects: di, query, content projection
Included refactoring:
- use a number as query id
- use a bloom filter for aggregating matched queries of nested elements
- separate static vs dynamic queries
Part of #14013
2017-02-15 08:36:49 -08:00
Tobias Bosch
e4e9dbe33d
feat(compiler): integrate compiler with view engine - change detection tests work ( #14412 )
...
Included refactoring:
- make ViewData.parentIndex point to component provider index
- split NodeType.Provider into Provider / Directive / Pipe
- make purePipe take the real pipe as argument to detect changes
- order change detection:
1) directive props
2) renderer props
Part of #14013
PR Close #14412
2017-02-13 17:02:00 -06:00
Dzmitry Shylovich
e5a144d902
fix(compiler): improve error msg for unknown properties on ( #14373 )
...
ng-container/ng-content
Closes #14070
PR Close #14373
2017-02-10 15:03:05 -06:00
Dzmitry Shylovich
2c6dab970b
fix(compiler): improve error message for unknown elements ( #14373 )
2017-02-10 15:03:05 -06:00
Tobias Bosch
baa654a234
feat(compiler): integrate compiler with view engine - main integration tests work ( #14284 )
...
Part of #14013
PR Close #14284
2017-02-10 14:10:03 -06:00
Miško Hevery
c33fda2607
perf: Don’t subclass Error; resulting in smaller binary ( #14160 )
...
Subclassing errors is problematic since Error returns a
new instance. All of the patching which we do than prevent
proper application of source maps.
PR Close #14160
2017-02-07 19:18:26 -06:00
Victor Berchet
e5c6bb4286
fix(Compiler): fix template binding parsing (*directive="-...")
...
fixes #13800
2017-01-09 15:00:40 -05:00
Victor Berchet
881eb894bc
fix(Compiler): allow "." in attribute selectors ( #13653 )
...
fixes #13645
2016-12-27 15:23:49 -08:00
Bowen Ni
f0e092515c
refactor(compiler): don't print stack trace on template parse errors ( #13390 )
2016-12-15 13:07:12 -08:00
Chuck Jazdzewski
2b90cd532f
fix(compiler): narrow the span reported for invalid pipes
...
fixes #13326
closes #13411
2016-12-13 11:23:47 -08:00
Victor Berchet
3bee521aa4
fix(compiler): support dotted property binding
...
fixes angular/flex-layout#34
2016-12-09 15:37:41 -08:00
Misko Hevery
213c713409
fix: Better error when directive not listed in NgModule.declarations
2016-12-09 11:16:28 -08:00
Tobias Bosch
3e73bea3e7
refactor(compiler): convert metadata classes used in summaries into interfaces ( #13123 )
...
Part of #12787
2016-11-30 10:52:51 -08:00
Tobias Bosch
2f7492c986
refactor(compiler): remove unneeded fields from metadata
...
Removes `CompileIdentifierMetadata.name` / `.moduleUrl`,
as well as `CompileTypeMetadata.name / moduleUrl` and
`CompileFactoryMetadata.name / moduleUrl`.
2016-11-28 15:19:23 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Tobias Bosch
fcb4e66493
refactor(compiler): introduce summaries for metadata ( #12799 )
...
This does not yet introduce loading / serialization of summaries.
Part of #12787
2016-11-10 16:27:53 -08:00
Chuck Jazdzewski
c3c0e2e2a2
refactor(compiler): add span to TemplateBinding ( #12792 )
...
fix(compiler): corrected error location for implicit templates expressions
2016-11-10 13:15:09 -08:00
Victor Berchet
778e6ad3b4
refactor: cleanup ICU message syntax
2016-11-08 15:44:18 -08:00
Victor Berchet
55dc0e4a5f
fix(compiler): use the other case by default in ICU messages
2016-11-08 15:44:18 -08:00
Zaven Muradyan
e9fd8645ed
fix(core): improve error when multiple components match the same element
...
Closes #7067
2016-10-31 11:28:03 -07:00
Tobias Bosch
178fb79b5c
refactor(compiler): move host properties into DirectiveWrapper
...
Part of #11683
2016-10-26 14:32:24 -07:00
Victor Berchet
df1718d624
fix(compiler): allow WS as <ng-content> content ( #12225 )
2016-10-12 07:58:06 -07:00
Chuck Jazdzewski
7275e1beb3
refactor(compiler): add optional visit() to TemplateAstVisitor ( #12209 )
2016-10-11 15:46:11 -07:00
Victor Berchet
bdcf46f82e
refactor(compiler): improve types, misc
2016-10-10 09:20:58 -07:00
Chuck Jazdzewski
e1faca6386
refactor(compiler): template element ast has endSourceSpan ( #12138 )
2016-10-10 09:12:05 -07:00
Alex Eagle
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
Marc Laval
61129fa12d
fix(compiler): move detection of unsafe properties for binding to ElementSchemaRegistry ( #11378 )
2016-09-27 17:10:02 -07:00
Matias Niemelä
f1b6c6efa1
refactor(animations): ensure animation input/outputs are managed within the template parser ( #11782 )
...
Closes #11782
Closes #11601
Related #11707
2016-09-24 05:37:04 +09:00
Brandon
2300c23332
fix(docs): Fixed wording for NgModule schemas ( #11620 )
2016-09-18 16:03:43 -07:00
Victor Berchet
1df69cb4d2
fix(DomSchemaRegistry): detect invalid elements
2016-08-30 21:32:03 -07:00