Victor Berchet
14ac7ad6b4
feat(ivy): implement TestBed ( #25369 )
...
PR Close #25369
2018-08-14 11:58:47 -07:00
Miško Hevery
2016afdbff
fix(ivy): remove ivy dependency on ViewEngine's resolveRendererType2 ( #25396 )
...
PR Close #25396
2018-08-10 13:32:04 -07:00
Kara Erickson
409860a4da
fix(ivy): queries should be restored when view changes ( #25415 )
...
PR Close #25415
2018-08-10 09:13:16 -07:00
Kara Erickson
2b128a47b9
refactor(ivy): queries should not rely on LNode ( #25415 )
...
PR Close #25415
2018-08-10 09:13:16 -07:00
JoostK
4e264781ee
refactor(ivy): do not mention LViewData in public documentation ( #25292 )
...
PR Close #25292
2018-08-03 14:48:11 -07:00
Victor Berchet
afa6b9e794
fix(ivy): execute the optional begin and end methods of the rendererFactory ( #25273 )
...
This is required to i.e. flush animations when using a Renderer2.
`rf.begin()` and `rf.end()` around the change detection.
PR Close #25273
2018-08-03 10:17:13 -07:00
Victor Berchet
b38931b484
fix(ivy): use devModeEqual in no change mode ( #25252 )
...
To avoid the unfamous error `Expression has changed after it was checked.`
PR Close #25252
2018-08-02 22:57:28 -07:00
Kara Erickson
1fb7111da1
fix(ivy): content query results should be available in content hooks ( #25271 )
...
PR Close #25271
2018-08-02 19:32:09 -07:00
Pawel Kozlowski
c2c12e52fe
feat(ivy): support ng-container as a child of an already inserted view ( #25227 )
...
PR Close #25227
2018-08-02 18:50:03 -07:00
Pawel Kozlowski
28c7a4efbc
feat(ivy): add basic support for ng-container ( #25227 )
...
This commit adds basic support for <ng-container> - most of the
functionality should work as long as <ng-container> is a child of
a regular element.
PR Close #25227
2018-08-02 18:50:03 -07:00
Kara Erickson
c8a4fb1faf
fix(ivy): walk declaration views in listener ( #25228 )
...
PR Close #25228
2018-07-31 16:35:20 -07:00
Marc Laval
e3834b7001
feat(ivy): support change detection on the root view ( #25085 )
...
PR Close #25085
2018-07-30 21:50:54 -07:00
Victor Berchet
36648293a8
refactor(ivy): misc ( #25174 )
...
PR Close #25174
2018-07-30 16:59:48 -07:00
Marc Laval
cd89eb8404
feat(ivy): implement the getters of ViewContainerRef ( #25174 )
...
BREAKING CHANGE: ViewContainerRef.parentInjector is deprecated without replacement
PR Close #25174
2018-07-30 16:59:48 -07:00
Kara Erickson
2ef777b0b2
fix(ivy): convert context code into a tree-shakable instruction ( #24943 )
...
PR Close #24943
2018-07-30 15:54:11 -07:00
Kara Erickson
fe14f180a6
fix(compiler): update compiler to flatten nested template fns ( #24943 )
...
PR Close #24943
2018-07-30 15:54:11 -07:00
Kara Erickson
87419097da
fix(ivy): flatten template fns for nested views ( #24943 )
...
PR Close #24943
2018-07-30 15:54:11 -07:00
Victor Berchet
6a797d5401
refactor(ivy): element
and ElementStart
retuns void
( #25173 )
...
use `loadElement` to load an element when needed in specs
PR Close #25173
2018-07-27 17:22:18 -07:00
Victor Berchet
89e8b6fc0e
refactor(ivy): update specs to make use of the element()
instruction ( #25173 )
...
PR Close #25173
2018-07-27 17:22:18 -07:00
Olivier Combe
22731a7588
refactor(ivy): split i18nInterpolation into 8 functions ( #24805 )
...
PR Close #24805
2018-07-24 16:41:05 -07:00
Marc Laval
445b9a5627
feat(ivy): support ViewContainerRef.createComponent() ( #24997 )
...
PR Close #24997
2018-07-24 08:23:23 -07:00
Matias Niemelä
169e9dd2c8
feat(ivy): bridge compile instructions to include sanitization helpers ( #24938 )
...
PR Close #24938
2018-07-23 08:49:52 -07:00
Pawel Kozlowski
56b3f1703e
fix(ivy): invoke lifecycle hooks of directives placed on ng-template ( #24899 )
...
PR Close #24899
2018-07-20 10:45:51 -07:00
Matias Niemelä
ba3eb8b654
feat(ivy): properly apply class="", [class], [class.foo] and [attr.class] bindings ( #24822 )
...
PR Close #24822
2018-07-17 16:33:25 -04:00
Pawel Kozlowski
0399c6972a
refactor(ivy): remove content query creation from directive factories ( #24811 )
...
PR Close #24811
2018-07-12 16:32:33 -04:00
Kara Erickson
3a19f70d1c
refactor(ivy): replace pNextOrParent with TNode props ( #24752 )
...
PR Close #24752
2018-07-10 11:12:27 -07:00
Kara Erickson
dc1f1295ee
fix(ivy): support projecting into dynamic views ( #24752 )
...
PR Close #24752
2018-07-10 11:12:27 -07:00
Matias Niemelä
3980640d53
feat(ivy): properly apply style="", [style], [style.foo] and [attr.style] bindings ( #24602 )
...
PR Close #24602
2018-07-06 13:51:00 -07:00
Igor Minar
e3064d5432
feat: typescript 2.9 support ( #24652 )
...
PR Close #24652
2018-07-03 13:32:06 -07:00
Kara Erickson
a294e0dd79
fix(ivy): correct position for re-projected containers ( #24721 )
...
PR Close #24721
2018-07-02 14:38:12 -07:00
Kara Erickson
d243baf48a
refactor(ivy): remove pChild from LNode ( #24705 )
...
PR Close #24705
2018-06-29 06:44:08 -07:00
Kara Erickson
99bdd257a6
fix(ivy): support projecting containers into containers ( #24695 )
...
PR Close #24695
2018-06-28 15:01:42 -07:00
Pawel Kozlowski
50fb13fb09
fix(ivy): report results to appropriate content queries ( #24673 )
...
PR Close #24673
2018-06-27 14:20:34 -07:00
Kara Erickson
fe8fcc834c
refactor(ivy): remove dynamicParent from LNode ( #24678 )
...
PR Close #24678
2018-06-27 14:14:46 -07:00
Marc Laval
f229449c67
refactor(ivy): insert embedded views immediately ( #24629 )
...
PR Close #24629
2018-06-25 07:58:33 -07:00
Pawel Kozlowski
1e139d4339
refactor(ivy): rename, limit usage of global vars ( #24604 )
...
PR Close #24604
2018-06-25 07:57:52 -07:00
Olivier Combe
84272e2227
feat(ivy): runtime i18n ( #24037 )
...
PR Close #24037
2018-06-21 13:13:30 -07:00
Pawel Kozlowski
3e1a3b2e32
fix(ivy): support queries for views inserted in lifecycle hooks ( #24587 )
...
Closes #23707
PR Close #24587
2018-06-20 16:51:14 -07:00
Marc Laval
8b8168262d
fix(ivy): nested ngFor should be supported ( #24564 )
...
PR Close #24564
2018-06-20 16:50:37 -07:00
Alex Rickabaugh
27bc7dcb43
feat(ivy): ngtsc compiles @Component, @Directive, @NgModule ( #24427 )
...
This change supports compilation of components, directives, and modules
within ngtsc. Support is not complete, but is enough to compile and test
//packages/core/test/bundling/todo in full AOT mode. Code size benefits
are not yet achieved as //packages/core itself does not get compiled, and
some decorators (e.g. @Input) are not stripped, leading to unwanted code
being retained by the tree-shaker. This will be improved in future commits.
PR Close #24427
2018-06-14 14:36:45 -07:00
Pawel Kozlowski
6d246d6c72
fix(ivy): allow view and content queries to match the same element ( #24507 )
...
When creating content queries from a directive on an element we need to take into account
existing view queries. The same element can be reported to both content and view queries
so freshly created content queries must be combined with pre-existing view queries.
PR Close #24507
2018-06-14 14:15:38 -07:00
Ben Lesh
82c5313740
feat(ivy): namespaced attributes added to output instructions ( #24386 )
...
NOTE: This does NOT add parsing of namespaced attributes
- Adds AttributeMarker for namespaced attributes
- Adds test for namespaced attributes
- Updates AttributeMarker enum to use CamelCase, and not UPPER_CASE names
PR Close #24386
2018-06-13 13:28:16 -07:00
Marc Laval
e3c54e4465
refactor(ivy): use comment nodes to mark view containers ( #24346 )
...
PR Close #24346
2018-06-13 11:23:21 -07:00
Ben Lesh
8dd99ac550
refactor(ivy): add element instruction, reducing output size ( #24379 )
...
- Adds an element instruction
- Reduces size of compiled output slightly
PR Close #24379
2018-06-11 14:02:48 -04:00
Kara Erickson
29eb24b142
refactor(ivy): combine LView with data ( #24382 )
...
PR Close #24382
2018-06-08 21:41:01 -07:00
Ben Lesh
8c1ac28275
feat(ivy): now supports SVG and MathML elements ( #24377 )
...
- Adds support for ivy creating SVG and MathML elements properly using
createElementNS
PR Close #24377
2018-06-08 15:27:35 -07:00
Kara Erickson
f781f741ea
refactor(ivy): remove need for LContainer.template ( #24335 )
...
PR Close #24335
2018-06-07 16:40:21 -04:00
Jason Aden
e3759f7a73
feat(ivy): add support of ApplicationRef.bootstrapModuleFactory ( #23811 )
...
PR Close #23811
2018-06-07 16:15:26 -04:00
Victor Berchet
7de2ba0e22
Revert "feat(ivy): add namespace instructions for SVG and others ( #23899 )"
...
This reverts commit 81e4b2a4bf21d8b6ab7d33053f4e020c09021e1f.
2018-06-06 13:38:21 -07:00
Victor Berchet
07b4c8be42
Revert "feat(ivy): added namespaced attributes ( #23899 )"
...
This reverts commit d6989c80d3f23397790bded613c7922e9ef61865.
2018-06-06 13:38:20 -07:00