Pawel Kozlowski
c09bd67aee
fix(ivy): fix views manipulation logic ( #22656 )
...
This commit fixes a bug that would result in views insert / remove
even if a view needed only refresh operation.
The crux of the bug was that we were looking for a view to update
only in the LContainer.nextIndex position. This is incorrect as a
view with a given block id could be present later in the views
array (this happens if we about to remove a view in the middle of
the views array).
The code in this fix searches for a view to update in the views array and
can remove views in the middle of the views collection. Previously we
would remove views at the end of the collection only.
PR Close #22656
2018-03-14 12:07:15 -07:00
Marc Laval
b3ffeaa22b
fix(ivy): OnDestroy hook should not be called twice for a directive on an element ( #22350 )
...
PR Close #22350
2018-02-22 13:35:17 -08:00
Victor Berchet
3f5a3d6ea1
refactor(ivy): add internal isProceduralRenderer()
( #22055 )
...
PR Close #22055
2018-02-07 17:03:25 -08:00
Victor Berchet
16dada28f5
docs(ivy): Simplify & dedup API docs for canInsertNativeNode ( #22055 )
...
PR Close #22055
2018-02-07 17:03:25 -08:00
Victor Berchet
5df626bbe1
refactor(ivy): misc refactoring ( #22001 )
...
PR Close #22001
2018-02-05 12:59:34 -08:00
Kara Erickson
9dca5f2743
refactor(ivy): save check methods separately ( #21795 ) ( #21905 )
...
PR Close #21795
PR Close #21905
2018-01-31 10:19:34 -08:00
Pawel Kozlowski
7305e8b45e
refactor(ivy): rename LQuery to LQueries and associated renames ( #21857 )
...
PR Close #21857
2018-01-30 11:52:32 -08:00
Jason Aden
02483a01ad
Revert: "refactor(ivy): save check methods separately"
...
This reverts commit 278889c7b420e530834c457f82a54e33a846a828.
2018-01-29 21:42:37 -08:00
Kara Erickson
8dff9d84ed
refactor(ivy): save check methods separately ( #21795 )
...
PR Close #21795
2018-01-29 16:12:02 -08:00
David-Emmanuel Divernois
ab69f12e2c
refactor(ivy): code review changes ( #21638 )
...
PR Close #21638
2018-01-27 10:48:39 -08:00
David-Emmanuel Divernois
1278cca883
perf(ivy): removes generation of comments ( #21638 )
...
PR Close #21638
2018-01-27 10:48:39 -08:00
Pawel Kozlowski
5269ce287e
feat(ivy): support deep queries through view boundaries ( #21700 )
...
PR Close #21700
2018-01-24 22:18:38 -08:00
Kara Erickson
33b338120c
refactor(ivy): move onDestroys out of cleanup ( #21650 )
...
PR Close #21650
2018-01-24 22:14:33 -08:00
Alex Eagle
6af3672185
fix(ivy): Add workaround for AJD in google3 ( #21488 )
...
PR Close #21488
2018-01-11 13:57:55 -08:00
Kara Erickson
6be9c0466c
refactor(core): split up interface files in render3 ( #21433 )
...
PR Close #21433
2018-01-10 16:13:44 -08:00
Kara Erickson
fc3e7e0381
refactor(core): create consistent naming scheme across classes ( #21403 )
...
PR Close #21403
2018-01-10 11:15:48 -08:00
Miško Hevery
5a7bf36723
build: fix circular dep between interface and l_node by merging ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
1f5049f30c
style: fix formatting errors ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
6cc8f2298e
docs(core): add docs to instructions, minor renames ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
b462f49ce7
refactor(core): renamed and split out interfaces ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
1a9064ba2b
docs(core): add more comments to di and fix formatting ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
f3d38ce053
docs(core): add comments to node_manipulation functions ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
93b00cceb6
refactor(core): store locals in main array in rederer3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
0fa818b318
feat(core): Moving Renderer3 into @angular/core ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00