Victor Berchet
5a14e2238f
refactor(ivy): split the memory
instruction into store
and load
( #22268 )
...
PR Close #22268
2018-02-18 18:48:41 -08:00
Victor Berchet
c30d329faa
fix(ivy): fix merge errors (master is broken) ( #22291 )
...
PR Close #22291
2018-02-18 15:03:39 -08:00
Kara Erickson
49082d7ab2
feat(ivy): support host attributes ( #22213 )
...
PR Close #22213
2018-02-18 13:22:38 -08:00
Kara Erickson
6b627f67db
test(ivy): add missing host listener and host attribute binding tests ( #22213 )
...
PR Close #22213
2018-02-18 13:22:38 -08:00
Kara Erickson
5c320b4c2a
test(ivy): add missing host binding and query tests ( #22213 )
...
PR Close #22213
2018-02-18 13:22:34 -08:00
Misko Hevery
ac2b04a5ab
test(ivy): Add small_app spec for sprint #3 ( #22018 )
...
PR Close #22018
2018-02-18 13:18:54 -08:00
Misko Hevery
a63b764b54
test(ivy): move compiler canonical specs into a single directory ( #22018 )
...
PR Close #22018
2018-02-18 13:18:54 -08:00
Kara Erickson
f693be3996
feat(ivy): add pureFunction0 instruction ( #22214 )
...
PR Close #22214
2018-02-16 18:03:55 -08:00
Kara Erickson
a73d5308e0
refactor(ivy): rename objectLiteral to pureFn to prep for pipes ( #22214 )
...
PR Close #22214
2018-02-16 18:03:55 -08:00
Marc Laval
dfa2fb95d5
test(ivy): clean the imported renderer2 ( #22255 )
...
PR Close #22255
2018-02-16 15:11:23 -08:00
Victor Berchet
5dd2b5135d
refactor(ivy): rename bindX()
functions to interpolationX()
( #22229 )
...
rationale: remove the confusion with `bind()` and `bind0()`
PR Close #22229
2018-02-15 14:20:53 -08:00
Kara Erickson
a589ca0adb
test(ivy): clean up canonical spec ( #22188 )
...
PR Close #22188
2018-02-13 13:04:43 -08:00
Kara
5e4af7c550
fix(ivy): o2+ should work with multiple template instances ( #22075 )
...
Closes #22075
2018-02-13 10:24:41 -08:00
Kara Erickson
d9ae70c699
test(ivy): normalize template names in canonical spec ( #21815 )
...
PR Close #21815
2018-02-08 08:55:40 -08:00
Victor Berchet
3f5a3d6ea1
refactor(ivy): add internal isProceduralRenderer()
( #22055 )
...
PR Close #22055
2018-02-07 17:03:25 -08:00
Victor Berchet
10a014d89e
refactor(ivy): prefix viewStart & viewEnd with embedded ( #22055 )
...
PR Close #22055
2018-02-07 17:03:25 -08:00
Victor Berchet
8feb8e5408
refactor(ivy): use long instruction format in tests ( #22055 )
...
PR Close #22055
2018-02-07 17:03:25 -08:00
Kara Erickson
b58c3527e9
test(ivy): add canonical spec for object literals ( #22045 )
...
PR Close #22045
2018-02-07 12:10:16 -08:00
Miško Hevery
efc67ee5ef
fix(ivy): make pipe invocation locality neutral ( #22030 )
...
PR Close #22030
2018-02-07 12:09:56 -08:00
Kara Erickson
4d62be69c5
feat(ivy): memoize array literals in render3 ( #21973 )
...
PR Close #21973
2018-02-06 08:01:52 -08:00
Misko Hevery
743d8bc845
feat(ivy): add canonical example of a pipe. ( #21834 )
...
PR Close #21834
2018-02-02 07:51:23 -08:00
Chuck Jazdzewski
65cf1add97
fix(ivy): remove unnecessary parameter of NgOnChangesFeature ( #21879 )
...
PR Close #21879
2018-02-01 08:33:36 -08:00
Pawel Kozlowski
1aa2947f70
feat(ivy): add support for attributes on ng-content nodes ( #21935 )
...
By adding attributes on the <ng-content> element template authors
can decide how content should be re-projected (or, in other words:
which selectors should match re-projected content).
PR Close #21935
2018-02-01 08:30:26 -08:00
Kara Erickson
81306c1f61
feat(ivy): add support for content query ( #21912 )
...
PR Close #21912
2018-01-31 10:19:15 -08:00
Kara Erickson
0365592119
test(ivy): add canonical view query example ( #21912 )
...
PR Close #21912
2018-01-31 10:19:15 -08:00
Pawel Kozlowski
285dd6be34
feat(ivy): observable QueryList ( #21859 )
...
PR Close #21859
2018-01-30 11:43:38 -08:00
Chuck Jazdzewski
d364117aa8
fix(ivy): correct errors in template variable specification ( #21759 )
...
PR Close #21759
2018-01-27 10:49:30 -08:00
Pawel Kozlowski
6245637e81
fix(ivy): correct query read logic after merges ( #21749 )
...
PR Close #21749
2018-01-27 10:49:09 -08:00
David-Emmanuel Divernois
1278cca883
perf(ivy): removes generation of comments ( #21638 )
...
PR Close #21638
2018-01-27 10:48:39 -08:00
Kara Erickson
dcca799dbb
fix(ivy): call onChanges before onInit ( #21793 )
...
PR Close #21793
2018-01-26 14:57:03 -08:00
Kara Erickson
d3d3f7191a
test(ivy): add canonical lifecycle example ( #21793 )
...
PR Close #21793
2018-01-26 14:57:03 -08:00
Pawel Kozlowski
f9381e42de
feat(ivy): implement QueryList array-related methods ( #21778 )
...
PR Close #21778
2018-01-25 22:19:43 -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
3e03dbe576
refactor(ivy): flatten hooks and collapse LView hook properties ( #21650 )
...
PR Close #21650
2018-01-24 22:14:33 -08:00
Kara Erickson
33b338120c
refactor(ivy): move onDestroys out of cleanup ( #21650 )
...
PR Close #21650
2018-01-24 22:14:33 -08:00
Kara Erickson
811679a583
refactor(ivy): remove unnecessary Comp.r function ( #21650 )
...
PR Close #21650
2018-01-24 22:14:33 -08:00
Kara Erickson
2c33d17609
refactor(ivy): move content and view hooks into TView ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Kara Erickson
9c99e6a838
refactor(ivy): move init hooks into TView ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Kara Erickson
98174758ad
refactor(ivy): add type and hooks to directive def ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Kara Erickson
97b928053d
fix(ivy): correct onDestroy order for projected components ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Kara Erickson
1fe55e252c
feat(ivy): add afterContentInit and afterContentChecked to render3 ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Kara Erickson
53ed4b4648
test(ivy): add missing lifecycle tests for projected components ( #21650 )
...
PR Close #21650
2018-01-24 22:14:32 -08:00
Miško Hevery
1e9cd95f5c
test(ivy): content projection canonical example ( #21674 )
...
PR Close #21674
2018-01-23 16:42:07 -08:00
Chuck Jazdzewski
c65634215b
feat(ivy): update specification to include template variables ( #21677 )
...
PR Close #21677
2018-01-23 13:32:57 -08:00
Alex Rickabaugh
0ad02de47e
feat(ivy): support for the ngForOf directive, with tests ( #21430 )
...
Implement NgOnChangesFeature, ViewContainerRef, TemplateRef,
and the renderEmbeddedTemplate instruction, and wire together the
pieces required for the ngForOf directive to work.
PR Close #21430
2018-01-23 12:54:39 -08:00
Alex Rickabaugh
6472661ae8
refactor(ivy): avoid circular dep with query/di/instructions ( #21430 )
...
To prepare for pending ngForOf work, the dep from instructions -> query
should be broken. This will enable a dep from di -> instructions while
avoiding a di -> instructions -> query -> di cycle.
Analyzing this cycle also uncovered another problem: the implementation
of query() breaks tree-shaking through a hard dependency on DI concepts
of TemplateRef, ElementRef, ViewContainerRef. This is fundamentally due
to how query() can query for those values without any configuration.
Instead, this fix introduces the concept by employing the strategy
pattern, and redefining QueryReadType to pass a function which will
return one of the above values. This strategy is then used for 'read'
instead of an enum in cases where special values should be read from
the DI system.
PR Close #21430
2018-01-23 12:54:39 -08:00
Kara Erickson
e18f1de003
refactor(ivy): remove unnecessary D instruction ( #21484 )
...
PR Close #21484
2018-01-19 15:23:17 -08:00
Chuck Jazdzewski
21e37e47c6
fix(ivy): update the compiler specification ( #21656 )
...
Also make a minor fix for directive definitions
PR Close #21656
2018-01-19 13:23:54 -08:00
Alex Eagle
a1492a73ce
build: Remove angular_src nested workspace ( #21096 )
...
PR Close #21096
2018-01-19 10:17:37 -08:00
Kara Erickson
efe545a878
refactor(ivy): add TView and TContainer ( #21463 )
...
PR Close #21463
2018-01-16 10:51:55 -08:00