Zhicheng WANG
b035e68480
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# .travis.yml
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/build.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/file-structure.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/pipes.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/singleton-services.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/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/layout/footer/footer.component.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/yarn.lock
# integration/cli-hello-world-ivy-minimal/src/polyfills.ts
# modules/benchmarks/e2e_test/largetable_perf.ts
# modules/benchmarks/e2e_test/largetable_spec.ts
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/di/injectable.ts
# packages/core/src/interface/lifecycle_hooks.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/router/src/config.ts
# packages/router/src/directives/router_link.ts
2019-02-17 00:00:16 +08:00
Zhicheng WANG
d79fb401e7
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Vani
8accc98d28
docs: incorporate review feedback ( #26827 )
...
PR Close #26827
2019-02-14 19:33:14 +00:00
Vani
aa8d0809d3
docs: update HttpInterceptor API docs ( #26827 )
...
PR Close #26827
2019-02-14 19:33:14 +00:00
Paul Gschwendtner
7cbc36fdac
build: remove unused rollup.config.js files ( #28646 )
...
Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.
PR Close #28646
2019-02-14 19:28:08 +00:00
Judy Bogart
644e7a28d8
docs: add di-related api doc ( #27731 )
...
PR Close #27731
2019-02-13 11:57:37 -08:00
Vani
c3fadadaa9
docs: update HttpHeader documentation ( #26233 )
...
PR Close #26233
2019-02-07 16:42:13 -08:00
Paul Gschwendtner
40d64b6b58
build: run offline_compiler_test using bazel ( #28191 )
...
PR Close #28191
2019-01-28 20:07:22 -08:00
Ben Lesh
a95e81978b
refactor(ivy): Add newer, smaller NgOnChangesFeature ( #28187 )
...
PR Close #28187
2019-01-23 10:59:34 -08:00
Ben Lesh
5552661fd7
refactor(ivy): revert onChanges change back to a feature ( #28187 )
...
- adds fixmeIvy annotation to tests that should remain updated so we can resolve those issues in the subsequent commits
PR Close #28187
2019-01-23 10:59:33 -08:00
Judy Bogart
589dd479e2
docs: add input docs ( #27376 )
...
PR Close #27376
2019-01-22 12:19:28 -08:00
Judy Bogart
661a98aeda
docs: add api doc for ngif ( #27376 )
...
PR Close #27376
2019-01-22 12:19:28 -08:00
Judy Bogart
988243437a
docs: add method doc ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
3b9553bb17
docs: expand input descriptions ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
b6819fe9bb
docs: add inpur vars doc ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
6c3b57a968
docs: add api doc for ngfor ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
37f8263430
docs: correct array to map ( #27379 )
...
PR Close #27379
2019-01-22 12:16:45 -08:00
Judy Bogart
a84a9ba705
docs: add input doc ( #27379 )
...
PR Close #27379
2019-01-22 12:16:45 -08:00
Judy Bogart
d73734dcb7
docs: add api doc for ng_style directive ( #27379 )
...
PR Close #27379
2019-01-22 12:16:45 -08:00
Alex Eagle
38343a2388
build: set a default module_name for ts_library rules ( #28051 )
...
PR Close #28051
2019-01-18 10:16:39 -08:00
Judy Bogart
850b86749c
docs: add api doc for switch directives ( #27378 )
...
PR Close #27378
2019-01-15 10:53:03 -08:00
Misko Hevery
6a9a48b0ac
test: improve symbol-extractor test by ignoring $1 suffix ( #28098 )
...
PR Close #28098
2019-01-14 09:55:30 -08:00
Ben Lesh
8ebdb437dc
fix(ivy): ngOnChanges only runs for binding updates ( #27965 )
...
PR Close #27965
2019-01-11 14:28:35 -08:00
Alan Agius
b61dafaeac
refactor: remove redundant error in catch ( #25478 )
...
PR Close #25478
2019-01-04 15:42:19 -08:00
Zhicheng WANG
8744f17f5d
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/cli/index.md
# aio/content/file-not-found.md
# aio/content/guide/architecture-modules.md
# aio/content/guide/architecture-services.md
# aio/content/guide/build.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/feature-modules.md
# aio/content/guide/file-structure.md
# aio/content/guide/forms-overview.md
# aio/content/guide/glossary.md
# aio/content/guide/i18n.md
# aio/content/guide/npm-packages.md
# aio/content/guide/releases.md
# aio/content/guide/router.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/service-worker-intro.md
# aio/content/guide/testing.md
# aio/content/guide/upgrade-performance.md
# aio/content/navigation.json
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/custom-elements/api/api-list.component.ts
# aio/src/app/documents/document.service.ts
# aio/src/app/layout/top-menu/top-menu.component.ts
# aio/src/index.html
# aio/src/styles/2-modules/_api-pages.scss
# aio/tools/transforms/templates/api/base.template.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/tools/transforms/templates/cli/cli-container.template.html
# aio/tools/transforms/templates/lib/githubLinks.html
# aio/yarn.lock
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/backend.ts
# packages/common/http/src/client.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/http/src/module.ts
# packages/common/http/src/params.ts
# packages/common/http/src/request.ts
# packages/common/http/src/response.ts
# packages/common/src/common_module.ts
# packages/common/src/directives/ng_class.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/common/src/i18n/format_date.ts
# packages/common/src/pipes/number_pipe.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/change_detection/pipe_transform.ts
# packages/core/src/di/injectable.ts
# packages/core/src/linker/element_ref.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/lifecycle_hooks.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_builder.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/forms/src/validators.ts
# packages/platform-browser/src/browser.ts
# packages/platform-browser/src/security/dom_sanitization_service.ts
# packages/router/src/config.ts
# packages/router/src/events.ts
# packages/router/src/router.ts
# packages/router/src/router_module.ts
# packages/router/src/shared.ts
2018-12-29 16:04:37 +08:00
Judy Bogart
c4f7727408
docs: add api doc for viewport scroller ( #27381 )
...
PR Close #27381
2018-12-26 11:47:16 -08:00
Kara Erickson
a20b2f72f2
fix(ivy): process creation mode deeply before running update mode ( #27744 )
...
Prior to this commit, we had two different modes for change detection
execution for Ivy, depending on whether you called `bootstrap()` or
`renderComponent()`. In the former case, we would complete creation
mode for all components in the tree before beginning update mode for
any component. In the latter case, we would run creation mode and
update mode together for each component individually.
Maintaining code to support these two different execution orders was
unnecessarily complex, so this commit aligns the two bootstrapping
mechanisms to execute in the same order. Now creation mode always
runs for all components before update mode begins.
This change also simplifies our rendering logic so that we use
`LView` flags as the source of truth for rendering mode instead of
`rf` function arguments. This fixed some related bugs (e.g. calling
`ViewRef.detectChanges` synchronously after the view's creation
would create view nodes twice, view queries would execute twice, etc).
PR Close #27744
2018-12-19 15:10:16 -05:00
Pawel Kozlowski
ea10a3abe5
test(ivy): enable all test for @angular/common ( #27700 )
...
PR Close #27700
2018-12-17 09:32:09 -08:00
Ruslan Dzhabbarov
7dab458884
docs(common): fix documentation for getLocaleCurrencyName ( #27087 )
...
PR Close #27087
2018-12-14 15:27:03 -08:00
Ingo Bürk
b39efdd9d6
fix(common): KeyValuePipe should return empty array for empty objects ( #27258 )
...
This lets KeyValuePipe return an empty array (rather than undefined)
when the input is empty.
PR Close #27258
2018-12-14 15:19:13 -08:00
Christopher Dahm
d0d351cccb
docs(common): update currencyPipe default digitsInfo values ( #27417 )
...
Change the docs to reflect the actual default values
Fixes #27414
PR Close #27417
2018-12-14 10:26:56 -08:00
cooljeffro
7fae9114c8
docs(common): Fix typo in KeyValuePipe docs ( #27580 )
...
PR Close #27580
2018-12-14 10:21:47 -08:00
Alex Eagle
d32939d51a
build: restrict visibility of npm_package targets ( #27611 )
...
dependencies on these cause very long rebuilds which have to re-package angular.
Such tests belong in the integration/ folder
PR Close #27611
2018-12-14 10:20:40 -08:00
Igor Minar
4f81a7c590
test(common): run @angular/common/http/testing tests under bazel ( #27386 )
...
PR Close #27386
2018-12-05 20:55:31 -08:00
Misko Hevery
f52600e261
test(ivy): add ability to find already passing tests ( #27449 )
...
PR Close #27449
2018-12-05 09:34:52 -08:00
Christopher Dahm
d84705121a
test(common): add PercentPipe round and trim tests ( #27365 )
...
Add tests to cover the percent's decimal to be rounded and trimmed.
PR Close #27365
2018-12-03 08:22:25 -08:00
Christopher Dahm
f3f2ef4a2a
docs(common): update PercentPipe default maxFractionDigits value ( #27365 )
...
Change the docs to reflect the actual default value
Fixes #27079
PR Close #27365
2018-12-03 08:22:25 -08:00
Pawel Kozlowski
3074f0e436
test(ivy): update root causes for @angular/common TestBed failures ( #27322 )
...
PR Close #27322
2018-11-28 11:39:14 -08:00
Misko Hevery
39e426cde3
fix(ivy): TestBed.get(Compiler) throws "Error: Runtime compiler is not loaded" ( #27223 )
...
BREAKING CHANGE:
The public API for `DebugNode` was accidentally too broad. This change removes
1. Public constructor. Since `DebugNode` is a way for Angular to communicate information
on to the developer there is no reason why the developer should ever need to
Instantiate the `DebugNode`
2. We are also removing `removeChild`, `addChild`, `insertBefore`, and `insertChildAfter`.
All of these methods are used by Angular to constructor the correct `DebugNode` tree.
There is no reason why the developer should ever be constructing a `DebugNode` tree
And these methods should have never been made public.
3. All properties have been change to `readonly` since `DebugNode` is used by Angular
to communicate to developer and there is no reason why these APIs should be writable.
While technically breaking change we don’t expect anyone to be effected by this change.
PR Close #27223
2018-11-27 13:42:23 -08:00
Trotyl Yu
1db53da0d3
fix(common): expose request url in network error ( #27143 )
...
closes #27029
PR Close #27143
2018-11-27 10:16:22 -08:00
Pawel Kozlowski
a43998c089
test(ivy): add JIRA references for root-casuse TestBed failrues ( #27188 )
...
PR Close #27188
2018-11-20 10:43:11 -08:00
Kara Erickson
3ec7c5081d
test(ivy): fix paths for http tests to work with ivy ( #27121 )
...
PR Close #27121
2018-11-15 21:18:00 -08:00
Pawel Kozlowski
ce5242462b
fix(ivy): implement rootNodes getter on ViewRef ( #27095 )
...
PR Close #27095
2018-11-14 12:28:03 -08:00
Pawel Kozlowski
8a626288a6
test(ivy): run more common tests with ivy on ci ( #27089 )
...
With https://github.com/angular/angular/pull/27068 merged we can activate
more ivy tests on CI.
PR Close #27089
2018-11-14 12:25:35 -08:00
Pawel Kozlowski
7695dbd0bd
test(ivy): run common tests with ivy on ci ( #27071 )
...
PR Close #27071
2018-11-13 10:59:55 -08:00
Misko Hevery
7d2a746090
build: remove ivy JIT mode ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
Igor Minar
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Igor Minar
4237c34c78
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ( #26471 )
...
We are close enough to blacklist a few test targets, rather than whitelist targets to run...
Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.
This is the updated overview of ivy related bazel tags:
- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local
PR Close #26471
2018-10-23 08:57:42 -07:00
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