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
Kara Erickson
730679964f
refactor(ivy): flatten LInjector into LViewData ( #26220 )
...
PR Close #26220
2018-10-03 15:27:57 -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
Ben Lesh
ffc6e199bf
build: RxJS updated to 6.3 ( #26087 )
...
PR Close #26087
2018-09-26 17:01:15 -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ä
82a14dc107
feat(ivy): provide groundwork for animations in core ( #25234 )
...
PR Close #25234
2018-09-21 14:51:24 -07:00
Kara Erickson
d5f47d6b71
refactor(ivy): special injection tokens should not be cached ( #26048 )
...
PR Close #26048
2018-09-20 18:02:08 -07:00
Greg Magolan
b99d7ed5bf
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25920 )
...
PR Close #25920
2018-09-18 13:05:38 -07:00
Kara Erickson
f47f2628e1
refactor(ivy): remove LNode.view ( #25988 )
...
PR Close #25988
2018-09-18 13:04:23 -07:00
Kara Erickson
5653874683
fix(ivy): events should not mark views dirty by default ( #25969 )
...
PR Close #25969
2018-09-17 13:02:39 -07:00
Kara Erickson
aedebaf025
refactor(ivy): remove LNode.tNode ( #25958 )
...
PR Close #25958
2018-09-14 16:16:28 -07:00
Matias Niemelä
10a656fc38
refactor(ivy): ensure hello world doesn't pull in context discovery creation code ( #25895 )
...
PR Close #25895
2018-09-12 13:25:12 -04:00
Miško Hevery
d5bd86ae5d
fix(ivy): don't accidently read the inherited definition ( #25736 )
...
Create getter methods `getXXXDef` for each definition which
uses `hasOwnProperty` to verify that we don't accidently read form the
parent class.
Fixes : #24011
Fixes : #25026
PR Close #25736
2018-09-11 07:09:38 -07:00
Alex Rickabaugh
a9099e8f70
fix(ivy): ensure Ivy *Ref classes derive from view engine equivalents ( #25775 )
...
Various user code uses 'instanceof' to check whether a particular instance
is a TemplateRef, ElementRef, etc. Ivy needs to work with these checks.
PR Close #25775
2018-09-11 06:53:22 -07:00
Kara Erickson
91d79939be
refactor(ivy): traverse tNode tree directly ( #25872 )
...
PR Close #25872
2018-09-10 09:59:17 -07:00
Matias Niemelä
62be8c2e2f
feat(ivy): allow combined context discovery for components, directives and elements ( #25754 )
...
PR Close #25754
2018-09-07 14:14:56 -07:00
Marc Laval
00f13110be
feat(ivy): support injecting Renderer2 ( #25523 )
...
PR Close #25523
2018-08-31 09:42:36 -07:00
Kara Erickson
b06f1c0087
refactor(ivy): remove duplicate global ( #25756 )
...
PR Close #25756
2018-08-30 21:20:15 -07:00
Matias Niemelä
0024d68add
feat(ivy): add support for resolving view data from a DOM node ( #25627 )
...
PR Close #25627
2018-08-27 21:15:29 -04:00
Pawel Kozlowski
6a0f78fabf
fix(ivy): match directives on bindings and element outputs ( #25614 )
...
Closes #23560
PR Close #25614
2018-08-27 18:17:25 -04:00
Matias Niemelä
a37bcc3bfe
feat(ivy): bridge component styles into the component renderer ( #25255 )
...
PR Close #25255
2018-08-23 16:51:15 -04:00
Kara Erickson
d5b70e0c66
fix(ivy): create LViewData from blueprint ( #25587 )
...
PR Close #25587
2018-08-22 15:58:42 -04:00
Kara Erickson
831e71ea3c
fix(ivy): host bindings should support array/object literals ( #25583 )
...
PR Close #25583
2018-08-21 10:48:42 -07:00
Kara Erickson
f2aa9c6a7f
refactor(ivy): use generated consts value to set binding index ( #25533 )
...
PR Close #25533
2018-08-17 14:32:55 -07:00
Pawel Kozlowski
31f0f5b3c3
feat(ivy): add support for local refs on ng-template ( #25482 )
...
PR Close #25482
2018-08-17 09:58:07 -07:00
Misko Hevery
503905c807
feat(ivy): add `ngcc` ivy switch ( #25238 )
...
Provides a runtime and compile time switch for ivy including
`ApplicationRef.bootstrapModule`.
This is done by naming the symbols such that `ngcc` (angular
Compatibility compiler) can rename symbols in such a way that running
`ngcc` command will switch the `@angular/core` module from `legacy` to
`ivy` mode.
This is done as follows:
```
const someToken__PRE_NGCC__ = ‘legacy mode’;
const someToken__POST_NGCC__ = ‘ivy mode’;
export someSymbol = someToken__PRE_NGCC__;
```
The `ngcc` will search for any token which ends with `__PRE_NGCC__`
and replace it with `__POST_NGCC__`. This allows the `@angular/core`
package to be rewritten to ivy mode post `ngcc` execution.
PR Close #25238
2018-08-16 13:51:42 -07:00
Kara Erickson
6482f6f0fe
refactor(ivy): separate container into 2 instructions ( #25509 )
...
PR Close #25509
2018-08-16 13:47:14 -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
2b128a47b9
refactor(ivy): queries should not rely on LNode ( #25415 )
...
PR Close #25415
2018-08-10 09:13:16 -07:00
Alex Rickabaugh
33fd7e0784
fix(ivy): export NgModuleFactory via r3_symbols for core factories ( #25392 )
...
When @angular/core is compiled by ngtsc, a factory file is generated
for ApplicationModule, that is currently invalid because r3_symbols
does not export NgModuleFactory. This change fixes that issue and
ensures the generated ngfactory file for @angular/core is valid.
PR Close #25392
2018-08-09 09:58:13 -07:00
Pawel Kozlowski
3355502f2f
fix(ivy): support ng-container at the root of a view with delayed insertion ( #25329 )
...
PR Close #25329
2018-08-06 13:47:44 -07:00
Victor Berchet
1e7ca22078
refactor(ivy): make all directives public by default ( #25291 )
...
To match the View Engine behavior.
We should make this configurable so that the node injector is tree shaken when
directives do not need to be published.
PR Close #25291
2018-08-05 15:31:19 -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
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
Kara Erickson
c8a4fb1faf
fix(ivy): walk declaration views in listener ( #25228 )
...
PR Close #25228
2018-07-31 16:35:20 -07:00
Miško Hevery
6e2a1877ab
refactor(core): remove withBody from public testing API ( #25171 )
...
PR Close #25171
2018-07-31 15:09:32 -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
Victor Berchet
8e65891985
build(ivy): fix ci failures ( #25166 )
...
PR Close #25166
2018-07-27 18:47:13 -04:00
Greg Magolan
1d051c5841
build(bazel): use bazel managed node_modules for downstream angular from source build support ( #24663 )
...
PR Close #24663
2018-07-26 17:02:21 -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
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
Ben Lesh
9803cb011e
feat(ivy): Add InheritanceDefinitionFeature to support directive inheritance ( #24570 )
...
- Adds InheritanceDefinitionFeature to ivy
- Ensures that lifecycle hooks are inherited from super classes whether they are defined as directives or not
- Directives cannot inherit from Components
- Components can inherit from Directives or Components
- Ensures that Inputs, Outputs, and Host Bindings are inherited
- Ensures that super class Features are run
PR Close #24570
2018-06-29 06:42:40 -07:00