Pete Bacon Darwin
eb9d431487
docs: common with @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:55 -07:00
Pete Bacon Darwin
9060fb7031
docs: update animations with @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:55 -07:00
Pete Bacon Darwin
7fbe547f78
docs: update platform-browser with @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:54 -07:00
Pete Bacon Darwin
a8430db45d
docs: convert all @experimental
tags to @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:54 -07:00
Pawel Kozlowski
c2ce832f65
fix(ivy): stub TestBed.compileComponents implementation ( #26506 )
...
PR Close #26506
2018-10-18 13:28:45 -07:00
Andrew Kushnir
c4b7862e1b
feat(ivy): i18n compiler support for i18nStart and i18nEnd instructions ( #26442 )
...
PR Close #26442
2018-10-18 13:28:45 -07:00
Andrew Kushnir
39472e102b
feat(ivy): i18n compiler support for element attributes ( #26442 )
...
PR Close #26442
2018-10-18 13:28:45 -07:00
Matias Niemelä
1fafc5ca18
feat(ivy): enhance [style] and [class] bindings to be animation aware ( #26096 )
...
PR Close #26096
2018-10-18 13:28:45 -07:00
Matias Niemelä
07a26647ac
refactor(ivy): move styling files around ( #26096 )
...
PR Close #26096
2018-10-18 13:28:44 -07:00
Miško Hevery
817821e553
fix(ivy): make defineComponent tree shakable by Closure Compiler ( #26425 )
...
PR Close #26425
2018-10-18 13:28:44 -07:00
Igor Minar
398db3e9f0
test(ivy): enable unit tests for @angular/animations ( #26470 )
...
PR Close #26470
2018-10-18 13:28:44 -07:00
Jason Aden
d5fa4dc146
feat(router): add prioritizedGuardValue operator optimization and allowing UrlTree return from guard ( #26478 )
...
* If all guards return `true`, operator returns `true`
* `false` and `UrlTree` are now both valid returns from a guard
* Both these values wait for higher priority guards to resolve
* Highest priority `false` or `UrlTree` value will be returned
PR Close #26478
2018-10-18 13:28:44 -07:00
Matias Niemelä
0ae3518fa9
refactor(ivy): handle animation metadata normalization in the compiler ( #26481 )
...
PR Close #26481
2018-10-18 13:28:44 -07:00
Miško Hevery
ecada17ad4
docs(ivy): i18n design ( #26091 )
...
PR Close #26091
2018-10-18 13:28:44 -07:00
George Kalpakas
00b5c7b49b
fix(service-worker): clean up caches from old SW versions ( #26319 )
...
Since the SW immediately takes over all clients, it is safe to delete
caches used by older (e.g. beta) `@angular/service-worker` versions to
avoid running into browser storage quota limitations.
PR Close #26319
2018-10-16 14:12:08 -07:00
Jason Aden
1c9b06504b
fix(router): fix regression where navigateByUrl promise didn't resolve on CanLoad failure ( #26455 )
...
Fixes #26284
PR Close #26455
2018-10-15 16:53:25 -07:00
Kara Erickson
e76a570908
refactor(ivy): remove LNode ( #26426 )
...
PR Close #26426
2018-10-15 11:20:32 -07:00
Kara Erickson
931e603f80
refactor(ivy): revert LNode.data into LViewData[HOST] ( #26424 )
...
PR Close #26424
2018-10-15 10:17:12 -07:00
Pawel Kozlowski
45732e5b91
fix(ivy): fix reference to pipeBind instruction with 2 args ( #26451 )
...
PR Close #26451
2018-10-15 10:14:25 -07:00
George Kalpakas
9e32dc7c95
build: upgrade @types/jasminewd2
to 2.0.4 ( #26139 )
...
This commit also removes the extra jasminewd2 typings, since the changes
have been merged in the official typings with
DefinitelyTyped/DefinitelyTyped#28957.
PR Close #26139
2018-10-12 14:11:11 -07:00
Manduro
ff15043e48
fix(core): allow null value for renderer setElement(…) ( #17065 )
...
Using Renderer’s setElementAttribute or setElementStyle with a null or undefined value removes the
corresponding attribute or style. The argument type should allow this when using strictNullChecks.
Closes #13686
PR Close #17065
2018-10-12 09:17:59 -07:00
Miško Hevery
9ebb4c02a2
docs(ivy): update status.md ( #26382 )
...
PR Close #26382
2018-10-12 09:01:41 -07:00
Jason Bedard
071934e92a
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-11 21:07:48 -07:00
Kara Erickson
735dfd3b1a
refactor(ivy): replace LNode.dynamicLContainerNode with flat LContainers ( #26407 )
...
PR Close #26407
2018-10-11 21:07:21 -07:00
Kara Erickson
70cd112872
refactor(ivy): remove TNode.dynamicContainerNode ( #26407 )
...
PR Close #26407
2018-10-11 21:07:21 -07:00
krzysztof-grzybek
0a3f8173f0
refactor(platform-browser): remove type assertion on console.profileEnd ( #26303 )
...
Since typescript v3.1 type definition for console.profileEnd is fixed and type assertion 'any' is
not needed any more
PR Close #26303
2018-10-11 14:12:23 -07:00
Pawel Kozlowski
6a64ac4151
fix(ivy): Renderer2 should not use a special injection fn ( #26369 )
...
PR Close #26369
2018-10-11 14:12:03 -07:00
Pawel Kozlowski
4b494f23f5
fix(ivy): fix generated code for style bindings with units ( #26397 )
...
PR Close #26397
2018-10-11 14:11:15 -07:00
Pete Bacon Darwin
1e69d601fb
fix(ivy): ensure that ɵNgModuleDefWithMeta
is exported ( #26082 )
...
This is needed to build an app with `ngtsc` once `ngcc` has compiled
`@angular/core`.
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
34b6d5fff9
refactor(ivy): ngcc - Transformer
delegates to Analyzer
s and Renderer
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
632f66a461
refactor(ivy): ngcc - Renderer
now manages d.ts transformation ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
f7b17a4784
refactor(ivy): ngcc - DecorationAnalyzer
acts on whole program ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
9562324ea4
refactor(ivy): implement ngcc SwitchMarkerAnalyzer
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
880c0add56
refactor(ivy): move and rename Analyzer
to DecorationAnalyzer
( #26082 )
...
This is in preparation for adding in other kinds of Analyzer.
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
64c96186da
refactor(ivy): move ngcc rootDirs
computation into a function ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
26209fca49
refactor(ivy): remove ngcc Parser
and use NgccReflectionHost
instead ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
7f03528dbc
refactor(ivy): implement NgccReflectionHost.findDecoratedFiles
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
d17602f31d
refactor(ivy): rename and move ngcc Parsed...
to Decorated...
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pawel Kozlowski
053bf27fb3
refactor(ivy): use context discovery in TestBed implementation ( #26211 )
...
PR Close #26211
2018-10-11 13:01:28 -07:00
Andrew Kushnir
39f42bad1c
feat(ivy): i18n compiler support for element attributes ( #26280 )
...
PR Close #26280
2018-10-11 13:00:19 -07:00
Pawel Kozlowski
3f8ac238f1
refactor(ivy): remove unused directives field from TView ( #26364 )
...
It was removed in #26316
PR Close #26364
2018-10-11 12:59:02 -07:00
Jason Aden
7466a99dda
Revert "fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )"
...
This reverts commit 912f3d186f4ce5c4a97268775509cfb6285916c2. Revert is needed due to compilation failures due to this PR inside Google.
2018-10-10 14:44:52 -07:00
Jason Bedard
912f3d186f
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-10 14:19:00 -07:00
Andrew Kushnir
be4edf15ee
fix(core): resolving merge conflicts in query.ts ( #26324 )
...
PR Close #26324
2018-10-09 17:34:08 -07:00
Andrew Kushnir
d5e9405d4f
fix(ivy): local refs in View and Content Queries should be pulled out into consts in generated code ( #26240 )
...
PR Close #26240
2018-10-09 17:20:36 -07:00
Andrew Kushnir
e5644204dc
fix(ivy): removing unnecessary assert in getOrCreateNodeInjector function ( #26305 )
...
PR Close #26305
2018-10-09 16:52:00 -07:00
Andrew Kushnir
69b9758ab8
fix(ivy): removing no longer needed QueryReadType ( #26314 ) ( #26314 )
...
PR Close #26314
PR Close #26314
2018-10-09 16:50:34 -07:00
Kara Erickson
7ea5161d4d
refactor(ivy): merge directives into LViewData ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
Kara Erickson
b0879046b7
test(ivy): add testing utility to replace loadDirective ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
Alex Rickabaugh
456f23f76a
fix(ivy): reflect animations field directly into the output definition ( #26322 )
...
The 'animations' field of @Component metadata should be copied directly
into the ngComponentDef for that component and should not pass through
static resolution.
Previously the animations array was statically resolved and then the
values were translated back when generating ngComponentDef.
PR Close #26322
2018-10-09 16:45:31 -07:00