Marc Laval
e7ef02722d
fix(ivy): local directives and pipes should be applied to TemplateRef ( #23312 )
...
PR Close #23312
2018-04-13 13:31:19 -07:00
Victor Berchet
d5e7f60f04
refactor(ivy): misc ( #23351 )
...
PR Close #23351
2018-04-13 13:19:17 -07:00
Rafael
639d52fe71
refactor: ensure all 'TODO's are consistent ( #23252 )
...
PR Close #23252
2018-04-13 13:11:01 -07:00
Marc Laval
2bb783824e
fix(ivy): support ViewContainerRef on nodes projected into an embedded view ( #23333 )
...
PR Close #23333
2018-04-13 00:20:32 -07:00
Kara Erickson
0d516f1658
fix(ivy): update compiler to generate separate creation mode and update mode blocks ( #23292 )
...
PR Close #23292
2018-04-11 15:30:39 -07:00
Kara Erickson
de3ca56769
fix(ivy): support separate creation mode and update mode execution in runtime ( #23292 )
...
PR Close #23292
2018-04-11 15:30:39 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Marc Laval
c973830d9a
refactor(ivy): clean projection support ( #23287 )
...
PR Close #23287
2018-04-10 13:16:01 -07:00
Miško Hevery
f1db789450
test(ivy): update todo app to http://todomvc.com ( #23168 )
...
PR Close #23168
2018-04-10 13:14:20 -07:00
Miško Hevery
50030f650b
docs(ivy): update STATUS.md with outstanding work ( #23168 )
...
PR Close #23168
2018-04-10 13:14:20 -07:00
Miško Hevery
9a2479d423
fix(ivy): named listener method for easier debugging. ( #23168 )
...
PR Close #23168
2018-04-10 13:14:20 -07:00
Marc Laval
bb3f0e5ed2
feat(ivy): support projection of ViewContainerRef ( #23272 )
...
PR Close #23272
2018-04-09 16:07:42 -07:00
paulmojicatech
60e8392722
docs(core): update directives documentation ( #23255 )
...
fix(release): wrong input names in bank-account component
Directive example has errors #22382
PR Close #23255
2018-04-09 15:19:10 -07:00
Marc Laval
f4c56f4931
feat(ivy): implement some of the ViewContainerRef API ( #23189 )
...
PR Close #23189
2018-04-09 15:17:19 -07:00
Kara Erickson
628303d2cb
fix(ivy): instantiate dirs in correct order ( #23178 )
...
PR Close #23178
2018-04-05 14:50:00 -07:00
Pawel Kozlowski
d80e9304c6
fix(ivy): properly find RNode ( #23193 )
...
As we no longer create native (RNode) comment nodes for containers,
we need to execute logic for finding a next sibiling node with RNode
when inserting a view.
The mentioned logic need to be updated for the case of dynamically
created containers (LContainerNode). Indeed, we need to be able to
descend into dynamically inserted views while looking for a RNode.
To achieve this we need to have a pointer from a host LNode to a
dynamically created LContainerNode).
PR Close #23193
2018-04-05 14:47:50 -07:00
Pawel Kozlowski
fc813f67f4
fix(ivy): fix issue with refreshing embedded views ( #23164 )
...
PR Close #23164
2018-04-05 10:14:02 -07:00
Victor Berchet
524e5d8ae7
refactor(ivy): adjust types ( #23167 )
...
PR Close #23167
2018-04-05 10:09:54 -07:00
Pete Bacon Darwin
8ea15b4f12
docs(core): remove unnecessary {@link Injector}
jsdoc tag ( #23185 )
...
Inline code blocks are automatically linked, if possible, to their API
page.
PR Close #23185
2018-04-05 09:26:24 -07:00
Pete Bacon Darwin
7dc150c1e8
docs(core): migrate @whatItDoes
tags to the description ( #23185 )
...
We get the overview for the doc by splitting off the first
paragraph.
PR Close #23185
2018-04-05 09:26:24 -07:00
Pete Bacon Darwin
5bb14a68d2
docs(core): migrate deprecated @howToUse
tags ( #23185 )
...
These have now become `@usageNotes` but later they might be
moved into a section of the description.
PR Close #23185
2018-04-05 09:26:24 -07:00
Victor Berchet
5c8340aae0
refactor(ivy): misc refactoring ( #23154 )
...
PR Close #23154
2018-04-04 09:04:41 -07:00
Victor Berchet
412b85ba89
docs: add a link to "Impact of polymorphism [...]" to the perf notes ( #23151 )
...
PR Close #23151
2018-04-04 08:22:28 -07:00
Aslan Vatsaev
cae48df25b
docs: Update PERF_NOTES.md ( #23050 )
...
PR Close #23050
2018-04-04 08:21:16 -07:00
Alex Rickabaugh
fab6b39c3d
fix(core): inject() should always work in an NgModule injection scope ( #23148 )
...
Currently the context for inject() is only set when the token is seen
for the first time. This has two issues:
* It should always be set when injecting from that injector, because
a constructor may wish to call inject() directly.
* If an NgModuleFactory is .create()'d twice, and an ngInjectableDef
token is requested from each of them, the second time will fail.
This is because the first injection adds the provider definition
and calls the factory, and the provider definitions are shared.
The second injector will see the provider definition and call the
factory to create an instance, but without setting the correct
context for inject().
Fixes angular/material2#10586.
PR Close #23148
2018-04-03 10:59:36 -07:00
Pawel Kozlowski
fa2c9a81dd
feat(ivy): ViewContainerRef basic scenarios support ( #23021 )
...
PR Close #23021
2018-04-03 09:35:14 -07:00
Miško Hevery
55c9fb298f
test(ivy): create todo app in ivy ( #22921 )
...
PR Close #22921
2018-04-02 15:49:48 -07:00
Miško Hevery
60065935be
refactor(ivy): align compiler with runtime ( #22921 )
...
Remove `containerRefreshStart` and `containerRefreshEnd` instruction
from the output.
Generate directives as a list in `componentDef` rather than inline into
instructions. This is consistent in making selector resolution runtime
so that translation of templates can follow locality.
PR Close #22921
2018-04-02 15:49:48 -07:00
Kara Erickson
85d3b591b6
refactor(ivy): generate pipe names instead of defs ( #23104 )
...
PR Close #23104
2018-04-02 09:42:44 -07:00
Kara Erickson
6e5fb99304
refactor(ivy): flatten css selectors ( #23074 )
...
PR Close #23074
2018-03-30 15:27:50 -07:00
Kara Erickson
e2e80ec61c
refactor(ivy): remove pipe references from the template ( #23032 )
...
PR Close #23032
2018-03-28 09:17:27 -07:00
Kara Erickson
5a86f7144f
fix(ivy): store local variables in data instead of calling loadDirective ( #23029 )
...
PR Close #23029
2018-03-28 09:17:05 -07:00
Alex Rickabaugh
884bf0ef09
fix: consistently rewrite Injector to INJECTOR ( #23008 )
...
In Ivy mode we rewrite references to Injector to INJECTOR in ngInjectableDef, to fix tree-shaking.
This changes the rewrite to happen always, even in non-Ivy mode, and makes Angular understand
INJECTOR across the board at runtime.
PR Close #23008
2018-03-28 09:14:32 -07:00
Veres Lajos
de90314304
style: typos fixed - https://github.com/vlajos/misspell-fixer ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Kara Erickson
f739f756ce
test(ivy): fix flaky tests ( #23010 )
...
PR Close #23010
2018-03-27 14:48:50 -04:00
Kara Erickson
910a16a1ff
refactor(ivy): remove directive references from template ( #22986 )
...
PR Close #22986
2018-03-26 22:33:23 -04:00
Alex Rickabaugh
6f0191744c
fix(core): don't override ngInjectableDef in the decorator if present on the type ( #22943 )
...
Previously, @Injectable() would generate an ngInjectableDef on the type it was
decorating, even if that type already had a compiled ngInjectableDef, overwriting
the compiled version.
PR Close #22943
2018-03-23 16:13:06 -04:00
Misko Hevery
b9cbe83104
docs(ivy): update STATUS.md with compiler work breakdown ( #22874 )
...
PR Close #22874
2018-03-23 15:04:55 -04:00
Kara Erickson
49396ca2ae
refactor(ivy): move directives into separate array ( #22918 )
...
PR Close #22918
2018-03-22 21:23:02 -04:00
Kara Erickson
e44f69c387
refactor(ivy): move dir flags to tnode ( #22901 )
...
PR Close #22901
2018-03-22 19:19:40 -04:00
Matias Niemelä
d77bb460b0
revert: docs(ivy): update STATUS.md with compiler work breakdown ( #22874 )
...
This reverts commit b524e4b142eb1e7dd52ce6b239ef1ee825e2b42c.
2018-03-22 18:09:45 -04:00
Misko Hevery
b524e4b142
docs(ivy): update STATUS.md with compiler work breakdown ( #22874 )
...
PR Close #22874
2018-03-22 18:01:38 -04:00
Miško Hevery
17fb9832f4
fix(ivy): fix type error in newer version of TS ( #22897 )
...
Newer version of TS is stricter about types and flags counter-variant
types in some situations. This change inlines the DirectiveDefArgs
into the arguments which:
1) removes the inheritance which caused the issue and
2) Makes it more friendly to IDEs since they will not report comments.
Closes #22877
Closes #22843
PR Close #22897
2018-03-20 15:49:45 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Misko Hevery
fc50c77bd3
test(ivy): switch HelloWorld to ivy compiler ( #22788 )
...
PR Close #22788
2018-03-19 16:00:38 -07:00
Igor Minar
0bede54b2d
style: fix formatting issues on the master branch ( #22854 )
...
PR Close #22854
2018-03-18 14:03:26 -07:00
Kara Erickson
e27cfd6236
refactor(ivy): split up directiveCreate for tree shaking ( #22838 )
...
PR Close #22838
2018-03-18 11:56:35 -07:00
Kara Erickson
1612985e48
refactor(ivy): allow tick and deps to be tree-shaken ( #22838 )
...
PR Close #22838
2018-03-18 11:47:44 -07:00
Kara Erickson
4f21d373b7
refactor(ivy): move hostBindings calls out of template ( #22833 )
...
PR Close #22833
2018-03-18 11:41:39 -07:00
Miško Hevery
f258ec67bf
docs(ivy): update status of ivy ( #22834 )
...
PR Close #22834
2018-03-16 22:20:21 -07:00