bf3beb5959
fix(ivy): set ng-version
attribute on root component ( #27175 )
...
PR Close #27175
2018-11-20 10:43:51 -08:00
20729b3378
fix(ivy): deduplicate imported modules in r3_injector ( #27102 )
...
PR Close #27102
2018-11-19 09:20:39 -08:00
20ea5b5634
refactor(ivy): ensure directive host bindings use the styling algorithm ( #27145 )
...
PR Close #27145
2018-11-17 10:12:47 -08:00
4222b63639
Revert "refactor(ivy): ensure directive host bindings use the styling algorithm ( #27134 )"
...
This reverts commit b5dbf5154e
.
2018-11-16 17:55:41 -08:00
b5dbf5154e
refactor(ivy): ensure directive host bindings use the styling algorithm ( #27134 )
...
PR Close #27134
2018-11-16 16:10:45 -08:00
92e80af875
feat(ivy): ICU support for Ivy ( #26794 )
...
PR Close #26794
2018-11-16 16:09:30 -08:00
60800da6c1
fix(ivy): export elementContainerStart/End instructions ( #27053 )
...
PR Close #27053
2018-11-16 12:19:18 -08:00
848f4148c0
fix(ivy): DI should work when no element injector on starting node ( #27133 )
...
PR Close #27133
2018-11-16 09:26:29 -08:00
ee12e725c0
fix(ivy): component ref injector should support change detector ref ( #27107 )
...
PR Close #27107
2018-11-15 21:18:24 -08:00
e22a302cad
feat(ivy): support for i18n & ICU expressions ( #27101 )
...
PR Close #27101
2018-11-14 16:22:01 -08:00
ce5242462b
fix(ivy): implement rootNodes getter on ViewRef ( #27095 )
...
PR Close #27095
2018-11-14 12:28:03 -08:00
1c9e526a83
fix(ivy): use the root view injector when resolving dependencies ( #27090 )
...
PR Close #27090
2018-11-14 12:26:36 -08:00
f8f1168fa6
Revert "feat(ivy): support for i18n & ICU expressions ( #26275 )"
...
This reverts commit a63fd2d0f5
.
2018-11-14 10:23:21 -08:00
f0c4f31771
fix(ivy): should export lifecycle hooks feature ( #27082 )
...
PR Close #27082
2018-11-13 16:17:30 -08:00
a63fd2d0f5
feat(ivy): support for i18n & ICU expressions ( #26275 )
...
PR Close #26275
2018-11-13 14:50:30 -08:00
e6e590479e
fix(ivy): support forward refs in @Inject annotations ( #27069 )
...
PR Close #27069
2018-11-13 12:17:18 -08:00
9741f5b8cf
docs: new doc for core directives ( #26923 )
...
PR Close #26923
2018-11-13 10:57:56 -08:00
8b9249a670
fix(ivy): host bindings should support content children and content hooks ( #27065 )
...
PR Close #27065
2018-11-12 14:26:06 -08:00
552836ebf0
fix(ivy): merged host bindings functions should take superclass hostVars into account ( #27013 )
...
PR Close #27013
2018-11-09 09:55:47 -08:00
2f36a9591d
fix(ivy): providers should not be inherited ( #27013 )
...
PR Close #27013
2018-11-09 09:55:47 -08:00
499e303ea3
test(ivy): add global utils to the public_api_guard test ( #27008 )
...
This API is part of our public api surface and needs to be monitored by the public_api_guard.
I also had to go back and mark all of the exported functions with @publicApi jsdoc tag.
PR Close #27008
2018-11-08 15:37:11 -08:00
e618032d53
feat(ivy): introduce getPlayers()
to global utils ( #27008 )
...
PR Close #27008
2018-11-08 15:37:11 -08:00
3567e81175
fix(ivy): restore missing match operation in View and Content Queries ( #26847 )
...
PR Close #26847
2018-11-07 16:29:19 -08:00
53e4e0c1a3
fix(ivy): Enable AoT tests to run on CI; disable failing tests ( #26975 )
...
PR Close #26975
2018-11-07 10:35:20 -08:00
5e769d9a25
fix(ivy): add nocollapse
to ngInjectableDef for closure compatibility ( #26975 )
...
PR Close #26975
2018-11-07 10:35:20 -08:00
931a363612
fix(ivy): use window.ng
instead of window.ngDev
for debug tooling ( #26951 )
...
PR Close #26951
2018-11-06 17:08:37 -08:00
297c54ebb3
fix(ivy): support env where requestAnimationFrame is not available ( #26779 )
...
PR Close #26779
2018-11-06 11:49:32 -08:00
dc2464eaaa
fix(ivy): jit should handle undefined type in constructor deps ( #26956 )
...
PR Close #26956
2018-11-06 11:22:14 -08:00
ea0a99610d
fix(ivy): init hooks should be called before host bindings ( #26802 )
...
PR Close #26802
2018-11-01 14:49:01 -07:00
3b9bc73db4
fix(ivy): host bindings after dirs without host bindings should work ( #26801 )
...
PR Close #26801
2018-11-01 14:18:57 -07:00
a64859b4bc
fix(core): ensure that ɵdefineNgModule
is available in flat-file formats ( #26403 )
...
When compiling the flat-file version of the `@angular/core` we need to be aware
that we cannot rely upon imported names to access the ivy definition functions.
The compiler is already clever enough to use local function calls rather than
trying to add a namespaced import, but there is a problem if the local name of the
function is different to the exported name. This is the case for functions that
are not part of the public API, and so are exported under a barred-O private alias.
In `@angular/core` the only decorations in use are `@NgModule` and `@Injectable`.
There are no directives, components, pipes, etc.
Since `defineInjectable` is part of the public API of `@angular/core`, the compiler
is able to generate code that references the original non-barred-O version of the
function.
But the `defineNgModule` is not part of the public API and so the compiler must
generate code that refers to it by the private barred-O version of the function.
This commit imports and then re-exports this barred-O version of `defineModule` to
ensure that the symbol is available in the local scope of the flat-file versions of
the `@angular/core` library.
PR Close #26403
2018-11-01 14:13:26 -07:00
683d53db4b
docs: add Function Inlining
rules to PERF_NOTES.md
( #26876 )
...
PR Close #26876
2018-11-01 13:47:34 -07:00
a2929dfd57
fix(ivy): dynamically created components should run init hooks ( #26864 )
...
PR Close #26864
2018-11-01 13:44:10 -07:00
911bfef04c
fix(ivy): bindings should be checked in components created dynamically by root component' ( #26864 )
...
PR Close #26864
2018-11-01 13:44:10 -07:00
aadbc8a9d3
fix(ivy): sync exported r3 symbol with compiler generated symbol ( #26877 )
...
PR Close #26877
2018-11-01 13:32:35 -07:00
ca1e538752
feat(ivy): setClassMetadata() for assigning decorator metadata ( #26860 )
...
This commit introduces the setClassMetadata() private function, which
adds metadata to a type in a way that can be accessed via Angular's
ReflectionCapabilities. Currently, it writes to static fields as if
the metadata being added was downleveled from decorators by tsickle.
The plan is for ngtsc to emit code which calls this function, passing
metadata on to the runtime for testing purposes. Calls to this function
would then be tree-shaken away for production bundles.
Testing strategy: proper operation of this function will be an integral
part of TestBed metadata overriding. Angular core tests will fail if this
is broken.
PR Close #26860
2018-10-31 19:52:36 -04:00
d042c4afe0
fix(core): Remove static dependency from @angular/core to @angular/compiler ( #26734 )
...
PR Close #26734
2018-10-31 14:15:06 -04:00
5d740785a9
docs: fix aot typo
2018-10-30 17:37:20 -07:00
68b2211e64
fix(ivy): ensure falsy styling is not applied during creation mode ( #26793 )
...
PR Close #26793
2018-10-30 19:41:56 -04:00
95743e3a64
fix(core): support computed base class in metadata inheritance ( #24014 )
...
PR Close #24014
2018-10-30 13:48:22 -04:00
ede65dbede
fix(ivy): allow root components to inject ViewContainerRef ( #26682 )
...
PR Close #26682
2018-10-29 18:47:14 -04:00
578e4c7642
fix(ivy): compile queries in JIT mode ( #26816 )
...
PR Close #26816
2018-10-29 18:46:44 -04:00
96770e5c6b
fix(ivy): optional dependencies should not throw with module injector ( #26763 )
...
PR Close #26763
2018-10-29 14:12:36 -04:00
1130e48541
fix(ivy): host injection flag should not throw for embedded views ( #26795 )
...
PR Close #26795
2018-10-29 14:12:11 -04:00
d52d82d744
fix(ivy): injecting optional TemplateRef on element should not throw ( #26664 )
...
PR Close #26664
2018-10-26 18:11:27 -04:00
19fcfc3d00
fix(compiler): generate inputs with aliases properly ( #26774 )
...
PR Close #26774
2018-10-26 17:23:45 -04:00
8171a2ab94
fix(ivy): ensure pipe declarations are populated lazily when a forward ref is detected ( #26765 )
...
PR Close #26765
2018-10-26 15:57:10 -04:00
2fd4c372d5
fix(ivy): resolve forward refs in providers ( #26766 )
...
PR Close #26766
2018-10-26 15:50:11 -04:00
f76ce84ae1
fix(ivy): host bindings should work on nodes with providers ( #26771 )
...
PR Close #26771
2018-10-26 15:49:30 -04:00
95f852e856
build: fix comment formatting to make closure happy ( #26769 )
...
PR Close #26769
2018-10-25 19:40:36 -04:00