Matias Niemelä
a082f6484a
fix(ivy): fix style prop instructions to account for zero-based values ( #27270 )
...
PR Close #27270
2018-12-03 08:23:23 -08:00
Andrew Kushnir
a088b8c203
feat(ivy): introduce "allocHostVars" instruction as a replacement for "hostVars" field (FW-692) ( #27299 )
...
PR Close #27299
2018-11-30 14:03:12 -08:00
Misko Hevery
816ec0b1c3
refactor(ivy): treate LView as the primary global state ( #27282 )
...
- rename `LViewData` to `LView` (to be consistent with `TView`)
- Remove `getRenderer`, `getRendererFactory`, `getTview`, `getCurrentQueries`,
PR Close #27282
2018-11-29 21:26:15 -08:00
Misko Hevery
39e426cde3
fix(ivy): TestBed.get(Compiler) throws "Error: Runtime compiler is not loaded" ( #27223 )
...
BREAKING CHANGE:
The public API for `DebugNode` was accidentally too broad. This change removes
1. Public constructor. Since `DebugNode` is a way for Angular to communicate information
on to the developer there is no reason why the developer should ever need to
Instantiate the `DebugNode`
2. We are also removing `removeChild`, `addChild`, `insertBefore`, and `insertChildAfter`.
All of these methods are used by Angular to constructor the correct `DebugNode` tree.
There is no reason why the developer should ever be constructing a `DebugNode` tree
And these methods should have never been made public.
3. All properties have been change to `readonly` since `DebugNode` is used by Angular
to communicate to developer and there is no reason why these APIs should be writable.
While technically breaking change we don’t expect anyone to be effected by this change.
PR Close #27223
2018-11-27 13:42:23 -08:00
Kara Erickson
d0e8020506
fix(ivy): blueprints should be synced whenever they are off ( #27281 )
...
PR Close #27281
2018-11-27 10:22:03 -08:00
Kara Erickson
a7ba05ad82
fix(ivy): fix directive instantiation at slots above 2^12 ( #27280 )
...
PR Close #27280
2018-11-27 10:20:02 -08:00
Olivier Combe
2fce701ced
feat(ivy): enable ng-reflect debug attributes ( #27268 )
...
PR Close #27268
2018-11-27 10:18:51 -08:00
Pawel Kozlowski
3c9ad1d231
fix(ivy): inject null for missing attributes ( #27237 )
...
PR Close #27237
2018-11-26 09:23:56 -08:00
Andrew Kushnir
dc300c5c41
feat(ivy): render flags support in host bindings function (FW-649) ( #27204 )
...
PR Close #27204
2018-11-21 15:33:47 -08:00
Misko Hevery
e56c8bf8d1
fix(ivy): align discovery methods for consistency ( #27117 )
...
PR Close #27117
2018-11-20 11:44:14 -08:00
Miško Hevery
ca40565f9a
fix(ivy): hack implementation of host styles ( #27180 )
...
PR Close #27180
2018-11-20 11:43:29 -08:00
Matias Niemelä
20ea5b5634
refactor(ivy): ensure directive host bindings use the styling algorithm ( #27145 )
...
PR Close #27145
2018-11-17 10:12:47 -08:00
Misko Hevery
4222b63639
Revert "refactor(ivy): ensure directive host bindings use the styling algorithm ( #27134 )"
...
This reverts commit b5dbf5154e19088aa3fde143cf72892d43170f71.
2018-11-16 17:55:41 -08:00
Matias Niemelä
b5dbf5154e
refactor(ivy): ensure directive host bindings use the styling algorithm ( #27134 )
...
PR Close #27134
2018-11-16 16:10:45 -08:00
Kara Erickson
ee12e725c0
fix(ivy): component ref injector should support change detector ref ( #27107 )
...
PR Close #27107
2018-11-15 21:18:24 -08:00
Olivier Combe
e22a302cad
feat(ivy): support for i18n & ICU expressions ( #27101 )
...
PR Close #27101
2018-11-14 16:22:01 -08:00
Miško Hevery
f8f1168fa6
Revert "feat(ivy): support for i18n & ICU expressions ( #26275 )"
...
This reverts commit a63fd2d0f5f867ee17bf991a72ccbe6d6fa76566.
2018-11-14 10:23:21 -08:00
Olivier Combe
a63fd2d0f5
feat(ivy): support for i18n & ICU expressions ( #26275 )
...
PR Close #26275
2018-11-13 14:50:30 -08:00
Kara Erickson
e6e590479e
fix(ivy): support forward refs in @Inject annotations ( #27069 )
...
PR Close #27069
2018-11-13 12:17:18 -08:00
Kara Erickson
8b9249a670
fix(ivy): host bindings should support content children and content hooks ( #27065 )
...
PR Close #27065
2018-11-12 14:26:06 -08:00
Marc Laval
297c54ebb3
fix(ivy): support env where requestAnimationFrame is not available ( #26779 )
...
PR Close #26779
2018-11-06 11:49:32 -08:00
Kara Erickson
ea0a99610d
fix(ivy): init hooks should be called before host bindings ( #26802 )
...
PR Close #26802
2018-11-01 14:49:01 -07:00
Kara Erickson
3b9bc73db4
fix(ivy): host bindings after dirs without host bindings should work ( #26801 )
...
PR Close #26801
2018-11-01 14:18:57 -07:00
Kara Erickson
a2929dfd57
fix(ivy): dynamically created components should run init hooks ( #26864 )
...
PR Close #26864
2018-11-01 13:44:10 -07:00
Kara Erickson
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
Matias Niemelä
68b2211e64
fix(ivy): ensure falsy styling is not applied during creation mode ( #26793 )
...
PR Close #26793
2018-10-30 19:41:56 -04:00
Kara Erickson
f76ce84ae1
fix(ivy): host bindings should work on nodes with providers ( #26771 )
...
PR Close #26771
2018-10-26 15:49:30 -04:00
Kara Erickson
2c7386c961
feat(ivy): support injecting the injector ( #26699 )
...
PR Close #26699
2018-10-25 18:47:56 -04:00
Marc Laval
b0476f308b
feat(ivy): support providers and viewProviders ( #25803 )
...
PR Close #25803
2018-10-25 12:58:40 -04:00
Matias Niemelä
297dc2bc02
fix(ivy): ensure ngClass
works with [class] bindings ( #26559 )
...
PR Close #26559
2018-10-24 20:27:12 -04:00
Matias Niemelä
fa8e633be5
feat(ivy): enhance [style] and [class] bindings to be animation aware ( #26096 )
...
PR Close #26096
2018-10-16 20:39:19 -07:00
Kara Erickson
e76a570908
refactor(ivy): remove LNode ( #26426 )
...
PR Close #26426
2018-10-15 11:20:32 -07:00
Kara Erickson
931e603f80
refactor(ivy): revert LNode.data into LViewData[HOST] ( #26424 )
...
PR Close #26424
2018-10-15 10:17:12 -07:00
Kara Erickson
735dfd3b1a
refactor(ivy): replace LNode.dynamicLContainerNode with flat LContainers ( #26407 )
...
PR Close #26407
2018-10-11 21:07:21 -07:00
Kara Erickson
70cd112872
refactor(ivy): remove TNode.dynamicContainerNode ( #26407 )
...
PR Close #26407
2018-10-11 21:07:21 -07:00
Pawel Kozlowski
4b494f23f5
fix(ivy): fix generated code for style bindings with units ( #26397 )
...
PR Close #26397
2018-10-11 14:11:15 -07:00
Pawel Kozlowski
3f8ac238f1
refactor(ivy): remove unused directives field from TView ( #26364 )
...
It was removed in #26316
PR Close #26364
2018-10-11 12:59:02 -07:00
Kara Erickson
7ea5161d4d
refactor(ivy): merge directives into LViewData ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
Kara Erickson
51dfdd5dd1
fix(ivy): sync view with blueprint when necessary ( #26263 )
...
PR Close #26263
2018-10-05 13:39:03 -07:00
Pawel Kozlowski
fdaf573073
feat(ivy): expose node injector as part of debug context ( #26210 )
...
PR Close #26210
2018-10-04 10:12:02 -07:00
Alex Rickabaugh
79466baef8
fix(ivy): remove metadata from *Def and introduce *DefWithMeta types ( #26203 )
...
Previously in Ivy, metadata for directives/components/modules/etc was
carried in .d.ts files inside type information encoded on the
DirectiveDef, ComponentDef, NgModuleDef, etc types of Ivy definition
fields. This works well, but has the side effect of complicating Ivy's
runtime code as these extra generic type parameters had to be specified
as <any> throughout the codebase. *DefInternal types were introduced
previously to mitigate this issue, but that's the wrong way to solve
the problem.
This commit returns *Def types to their original form, with no metadata
attached. Instead, new *DefWithMeta types are introduced that alias the
plain definition types and add extra generic parameters. This way the
only code that needs to deal with the extra metadata parameters is the
compiler code that reads and writes them - the existence of this metadata
is transparent to the runtime, as it should be.
PR Close #26203
2018-10-04 10:11:17 -07:00
Kara Erickson
730679964f
refactor(ivy): flatten LInjector into LViewData ( #26220 )
...
PR Close #26220
2018-10-03 15:27:57 -07:00
Matias Niemelä
32e479ffec
refactor(ivy): reorganize styling and player files ( #26149 )
...
PR Close #26149
2018-10-01 09:35:22 -07:00
Kara Erickson
68fadd9b97
refactor(ivy): replace LNode.nodeInjector with TNode.injectorIndex ( #26177 )
...
PR Close #26177
2018-10-01 09:34:52 -07:00
Misko Hevery
325e8010e9
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Misko Hevery
632b19d5c2
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
b286abeabe
feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Kara Erickson
6a62ed2245
fix(ivy): objects like ElementRef should not use a special injection fn ( #26064 )
...
PR Close #26064
2018-09-25 12:51:29 -07:00
Matias Niemelä
0c344715e5
feat(ivy): expose a series of helpful application inspection tools ( #25919 )
...
PR Close #25919
2018-09-25 09:46:12 -07:00
Matias Niemelä
82a14dc107
feat(ivy): provide groundwork for animations in core ( #25234 )
...
PR Close #25234
2018-09-21 14:51:24 -07:00