Zhicheng Wang
9a0d3e9633
docs: 手动解决冲突
2018-10-22 18:16:47 +08:00
Zhicheng Wang
a9ac90d3df
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture-components.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-next-steps.md
# aio/content/guide/architecture-services.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/comparing-observables.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection-pattern.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/i18n.md
# aio/content/guide/lazy-loading-ngmodules.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule-vs-jsmodule.md
# aio/content/guide/ngmodules.md
# aio/content/guide/npm-packages.md
# aio/content/guide/observables-in-angular.md
# aio/content/guide/observables.md
# aio/content/guide/pipes.md
# aio/content/guide/practical-observable-usage.md
# aio/content/guide/providers.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/security.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-getting-started.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/singleton-services.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/guide/updating.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/marketing/docs.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/ngsw-manifest.json
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.html
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/index.html
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/class.template.html
# aio/tools/transforms/templates/api/directive.template.html
# aio/tools/transforms/templates/api/enum.template.html
# aio/tools/transforms/templates/api/includes/class-overview.html
# aio/tools/transforms/templates/api/includes/deprecation.html
# aio/tools/transforms/templates/api/includes/export-as.html
# aio/tools/transforms/templates/api/includes/info-bar.html
# aio/tools/transforms/templates/api/includes/interface-overview.html
# aio/tools/transforms/templates/api/includes/selectors.html
# aio/tools/transforms/templates/api/lib/directiveHelpers.html
# aio/tools/transforms/templates/api/lib/githubLinks.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/api/package.template.html
# aio/yarn.lock
# packages/common/http/src/module.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_template_outlet.ts
# packages/common/src/location/location.ts
# packages/common/src/pipes/async_pipe.ts
# packages/common/src/pipes/json_pipe.ts
# packages/common/src/pipes/number_pipe.ts
# packages/common/src/pipes/slice_pipe.ts
# packages/core/src/change_detection/change_detector_ref.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/linker/view_container_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/directives/form_interface.ts
# packages/forms/src/directives/ng_form.ts
# packages/forms/src/directives/ng_model.ts
# packages/forms/src/directives/reactive_directives/form_control_name.ts
# packages/forms/src/directives/select_control_value_accessor.ts
# packages/forms/src/directives/validators.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/router/src/config.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/router_state.ts
2018-10-21 17:43:29 +08:00
Pawel Kozlowski
f8195e5e3d
fix(ivy): stub TestBed.compileComponents implementation ( #26506 )
...
PR Close #26506
2018-10-17 13:08:14 -07:00
Andrew Kushnir
8a3fd58cad
feat(ivy): i18n compiler support for i18nStart and i18nEnd instructions ( #26442 )
...
PR Close #26442
2018-10-17 11:03:52 -07:00
Andrew Kushnir
8024857d4c
feat(ivy): i18n compiler support for element attributes ( #26442 )
...
PR Close #26442
2018-10-17 11:03:52 -07:00
Matias Niemelä
fa8e633be5
feat(ivy): enhance [style] and [class] bindings to be animation aware ( #26096 )
...
PR Close #26096
2018-10-16 20:39:19 -07:00
Matias Niemelä
be337a2e52
refactor(ivy): move styling files around ( #26096 )
...
PR Close #26096
2018-10-16 20:39:18 -07:00
Miško Hevery
4d164b6ca4
fix(ivy): make defineComponent tree shakable by Closure Compiler ( #26425 )
...
PR Close #26425
2018-10-16 20:37:35 -07:00
Igor Minar
371ffef4ce
test(ivy): enable unit tests for @angular/animations ( #26470 )
...
PR Close #26470
2018-10-16 20:31:56 -07:00
Jason Aden
fdfedceeec
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-16 20:31:32 -07:00
Matias Niemelä
9e5d440a0b
refactor(ivy): handle animation metadata normalization in the compiler ( #26481 )
...
PR Close #26481
2018-10-16 20:31:04 -07:00
George Kalpakas
2326b9c294
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:07 -07:00
Miško Hevery
7d82053117
docs(ivy): i18n design ( #26091 )
...
PR Close #26091
2018-10-16 14:08:01 -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 Analyzers 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