Chuck Jazdzewski
5e9d3dba3a
fix(compiler): avoid evaluating arguments to unknown decorators
...
Fixes #13605
2017-01-09 18:06:11 -05:00
Victor Berchet
7dc12b93fe
fix(Compiler): fix template binding parsing (*directive="-...")
...
fixes #13800
2017-01-09 16:50:14 -05:00
Victor Berchet
f47a71689c
refactor: remove unused imports
2017-01-06 11:00:11 -08:00
Victor Berchet
29ffdfdffe
fix(Compiler): allow "." in attribute selectors ( #13653 )
...
fixes #13645
2017-01-05 21:14:54 -08:00
Victor Berchet
dab15c79dd
chore(tslint): update tslint to 4.x ( #13603 )
2017-01-05 21:14:28 -08:00
Matias Niemelä
6a5e46cedd
fix(animations): always quote string map key values in AOT code ( #13602 )
2016-12-21 09:49:03 -08:00
Dzmitry Shylovich
6316e5df71
fix(compiler): ignore @import in comments ( #13368 )
...
* refactor(compiler): clean up style url resolver
* fix(compiler): ignore @import in css comments
Closes #12196
2016-12-21 09:49:03 -08:00
Victor Berchet
9b87bb6d7f
fix(compiler): do not lex }} when interpolation is disabled ( #13531 )
...
* doc(compiler): fix the ICU expander API docs
* test(compiler): add lexer and parser specs
* fix(compiler): do not lex `}}` when interpolation is disabled
fix #13525
2016-12-19 17:09:40 -08:00
Victor Berchet
3f178410c3
fix(i18n): add a default example to xmb placeholders ( #13507 )
...
Otherwise the TC would not be able to load the message
2016-12-19 17:09:40 -08:00
Bowen Ni
f277303ca3
refactor(compiler): don't print stack trace on template parse errors ( #13390 )
2016-12-19 17:09:39 -08:00
Tobias Bosch
1f0f429f2a
refactor(compiler): store metadata of top level symbols also in summaries ( #13289 )
...
This allows a build using summaries to not need .metadata.json files at all
any more.
Part of #12787
2016-12-19 17:09:39 -08:00
Chuck Jazdzewski
b9b557cdb0
fix(compiler): update to metadata version 3 ( #13464 )
...
This change retracts support for metadata version 2.
The collector used to produce version 2 metadata was incomplete
and can cause the AOT compiler to fail to resolve symbols or
produce other spurious errors.
All libraries compiled and published with 2.3.0 ngc will need
to be recompiled and updated with this change.
2016-12-14 18:08:48 -08:00
Victor Berchet
a72a002a8d
refactor: format & lint
2016-12-14 18:08:43 -08:00
Victor Berchet
1c279b3264
fix(compiler): fix simplify a reference without a name
...
closes #13470
2016-12-14 18:08:32 -08:00
Alex Rickabaugh
6aeaca3fb4
fix(compiler): resolver should merge host bindings and listeners ( #13474 )
...
fixes #13327
2016-12-14 18:07:41 -08:00
Chuck Jazdzewski
ecfad467a1
fix(compiler): emit quoted object literal keys if the source is quoted
...
feat(tsc-wrapped): recored when to quote a object literal key
Collecting quoted literals is off by default as it introduces
a breaking change in the .metadata.json file. A follow-up commit
will address this.
Fixes #13249
Closes #13356
2016-12-14 17:55:22 -08:00
Victor Berchet
5918133784
Revert "fix(compiler): xmb <ph> tags should not self close ( #13413 )"
...
This reverts commit 4b3d135193 .
closes #13463
2016-12-14 17:55:18 -08:00
Victor Berchet
700bce9ec1
Revert "test(i18n): fix a typo in the reference xmb ( #13441 )"
...
This reverts commit a8d237581d .
2016-12-14 17:55:14 -08:00
Victor Berchet
a58e5efd09
test(i18n): fix a typo in the reference xmb ( #13441 )
2016-12-14 17:50:12 -08:00
Chuck Jazdzewski
307d305b2d
fix(compiler): narrow the span reported for invalid pipes
...
fixes #13326
closes #13411
2016-12-14 17:49:05 -08:00
Victor Berchet
4544b1d7a6
fix(compiler): xmb <ph> tags should not self close ( #13413 )
2016-12-14 17:39:51 -08:00
Victor Berchet
8db184d349
fix(compiler): support dotted property binding
...
fixes angular/flex-layout#34
2016-12-14 17:31:08 -08:00
Victor Berchet
c18eb298eb
test(Selector): add a test for dotted attribute names
2016-12-14 17:31:00 -08:00
Misko Hevery
b0cd514709
fix: Better error when directive not listed in NgModule.declarations
2016-12-14 17:22:58 -08:00
Dzmitry Shylovich
392c9ac214
fix(selector): SelectorMatcher match elements with :not selector ( #12977 )
2016-12-14 17:21:34 -08:00
Tobias Bosch
5614c4ff0f
fix(compiler): serialize any StaticSymbol correctly, not matter in which context.
2016-12-05 14:20:01 -08:00
Tobias Bosch
75d1617b63
fix(compiler): include the summaries of reexported modules / directives / pipes ( #13196 )
...
Only if these are not part of the sources.
2016-12-02 10:08:46 -08:00
Tobias Bosch
614a35d539
feat(compiler): read and write .ngsummary.json files
...
When compiling libraries, this feature extracts the minimal information
from the directives/pipes/modules of the library into `.ngsummary.json` files,
so that applications that use this library only need to be recompiled
if one of the summary files change, but not on every change
of the libraries (e.g. one of the templates).
Only works if individual codegen for libraries is enabled,
see the `generateCodeForLibraries: false` option.
Closes #12787
2016-12-01 14:49:52 -08:00
Tobias Bosch
9ab401f4d3
refactor(compiler): simplify NgModuleSymmaryMetadata
...
- merge `NgModuleInjectorSummary` and `NgModuleDirectiveSummary`
- remove `directiveLoaders` from the summary
2016-12-01 14:49:52 -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