Judy Bogart
f543d71cc3
docs: add package doc files ( #26047 )
...
PR Close #26047
2018-10-05 15:42:14 -07:00
JoostK
9953fe7c00
fix(ivy): reexport compileNgModuleFactory__POST_NGCC__ to prevent DCE in FESM ( #26071 )
...
While creating FESM files, rollup usually drops all unused symbols.
All *__POST_NGCC__ are unused unless ngcc rewires stuff. To prevent this DCE
we reexport them as private symbols. If ngcc is not used, these symbols will
be dropped when we optimize an application bundle.
PR Close #26071
2018-10-05 13:45:55 -07:00
Kara Erickson
8f25321787
refactor(ivy): update context discovery to prep for dir merge ( #26262 )
...
PR Close #26262
2018-10-05 13:39:30 -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
Pawel Kozlowski
fdaf573073
feat(ivy): expose node injector as part of debug context ( #26210 )
...
PR Close #26210
2018-10-04 10:12:02 -07:00
Alex Rickabaugh
36d6e6076e
feat(ivy): support template type check narrowing for *ngFor and *ngIf ( #26203 )
...
This commit adds an ngTemplateGuard_ngIf static method to the NgIf
directive and an ngTemplateContextGuard static method to NgFor. The
function of these two static methods is to enable type narrowing
within generated type checking code for consumers of the directives.
PR Close #26203
2018-10-04 10:11:17 -07:00
Alex Rickabaugh
79466baef8
fix(ivy): remove metadata from *Def and introduce *DefWithMeta types ( #26203 )
...
Previously in Ivy, metadata for directives/components/modules/etc was
carried in .d.ts files inside type information encoded on the
DirectiveDef, ComponentDef, NgModuleDef, etc types of Ivy definition
fields. This works well, but has the side effect of complicating Ivy's
runtime code as these extra generic type parameters had to be specified
as <any> throughout the codebase. *DefInternal types were introduced
previously to mitigate this issue, but that's the wrong way to solve
the problem.
This commit returns *Def types to their original form, with no metadata
attached. Instead, new *DefWithMeta types are introduced that alias the
plain definition types and add extra generic parameters. This way the
only code that needs to deal with the extra metadata parameters is the
compiler code that reads and writes them - the existence of this metadata
is transparent to the runtime, as it should be.
PR Close #26203
2018-10-04 10:11:17 -07:00
Kara Erickson
730679964f
refactor(ivy): flatten LInjector into LViewData ( #26220 )
...
PR Close #26220
2018-10-03 15:27:57 -07:00
Andrew Kushnir
cb59d87489
feat(ivy): compiler support to generate QUERY_READ_FROM_NODE calls ( #26171 )
...
PR Close #26171
2018-10-03 12:28:23 -07:00
Matias Niemelä
ab379ab72a
refactor(ivy): always use styling helper methods when comparing values ( #26149 )
...
PR Close #26149
2018-10-01 09:35:22 -07:00
Matias Niemelä
32e479ffec
refactor(ivy): reorganize styling and player files ( #26149 )
...
PR Close #26149
2018-10-01 09:35:22 -07:00
Matias Niemelä
391c708d7e
fix(ivy): ensure [style]/[class] bindings identity check the previous value ( #26149 )
...
PR Close #26149
2018-10-01 09:35:22 -07:00
Matias Niemelä
c51331689f
refactor(ivy): rename stylingProp => styleProp ( #26149 )
...
PR Close #26149
2018-10-01 09:35:22 -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
Igor Minar
9993c72335
feat: add support for TypeScript 3.1 ( #26151 )
...
PR Close #26151
2018-09-28 09:34:51 -07:00
Matias Niemelä
63b795ae4a
refactor(ivy): make sure that test bed symbols are imported from ivy_switch ( #26121 )
...
PR Close #26121
2018-09-27 12:06:34 -07:00
Pawel Kozlowski
5f6900ecc0
feat(ivy): add ability to inspect local refs through context discovery ( #26117 )
...
PR Close #26117
2018-09-27 12:00:53 -07:00
Misko Hevery
325e8010e9
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Misko Hevery
632b19d5c2
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
add1198b88
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
0ed2df2a36
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
bc1f2d6411
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
d7326d81ba
fixup! feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -07:00
Andrew Kushnir
b286abeabe
feat(ivy): adding support for ngNonBindable attribute
2018-09-27 11:52:07 -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
15a2b8f622
fix(ivy): wrapper fns arent necessary anymore ( #26108 )
...
PR Close #26108
2018-09-26 00:03:16 -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ä
0c344715e5
feat(ivy): expose a series of helpful application inspection tools ( #25919 )
...
PR Close #25919
2018-09-25 09:46:12 -07:00
Pete Bacon Darwin
206ae7a233
docs(core): remove usage notes from ReflexiveInjector.parent property ( #26039 )
...
Properties are not allowed usage notes, and in this case the example
is so simple it didn't warrant moving it to the overall class documentation.
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
79b6256789
docs(core): move headings to `@usageNotes` ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -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
Alan Agius
549de1e21a
fix(core): add missing `peerDependency ` to `@angular/compiler` ( #26033 )
...
In 919f42fea1 (diff-58563046c4439699f2e6a89187099a54)
a dependency to the compiler was added. However the peerDependency was not added.
PR Close #26033
2018-09-20 10:53:25 -07:00
Adam Plumer
3fb0da2de5
feat(platform-server): update domino to v2.1.0 ( #25564 )
...
PR Close #25564
2018-09-19 16:07:36 -07:00
Judy Bogart
d0e710d472
docs: copy edit ( #25582 )
...
PR Close #25582
2018-09-19 10:43:06 -07:00
Judy Bogart
bc7f962039
docs: clean up formats, add detail ( #25582 )
...
PR Close #25582
2018-09-19 10:43:06 -07:00
Judy Bogart
78d42a9503
docs: update view-related api doc ( #25582 )
...
PR Close #25582
2018-09-19 10:43:06 -07:00
Judy Bogart
dd5e35ee67
docs: add ngmodule api doc ( #25618 )
...
PR Close #25618
2018-09-19 10:40:58 -07:00
Alex Eagle
cbbad1b791
refactor(ivy): pre-factor: set explicit type parameters for ModuleWithProviders ( #25970 )
...
Ivy depends on having the generic type token later when reading the ModuleWithProviders from a .d.ts file.
PR Close #25970
2018-09-18 13:28:44 -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
Kara Erickson
47f4412650
refactor(ivy): LContainers should store views not nodes ( #25933 )
...
PR Close #25933
2018-09-13 15:56:04 -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
cexbrayat
21009b06a1
fix(ivy): use proper sanitizer names ( #25817 )
...
Fixes #25816
PR Close #25817
2018-09-11 16:22:38 -07:00
Misko Hevery
86a3be8610
docs(ivy): add explanation of LViewData ( #25779 )
...
PR Close #25779
2018-09-11 07:10:15 -07: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
Alex Rickabaugh
13ccdfd89d
feat(ivy): support bootstrap in ngModuleDef ( #25775 )
...
The bootstrap property of @NgModule was not previously compiled by
the compiler in AOT or JIT modes (in Ivy). This commit adds support
for bootstrap.
PR Close #25775
2018-09-11 06:53:21 -07:00