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
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
Vani
c3fadadaa9
docs: update HttpHeader documentation ( #26233 )
...
PR Close #26233
2019-02-07 16:42:13 -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
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
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
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
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
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
Pete Bacon Darwin
0918adf39d
docs: common with @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Judy Bogart
f543d71cc3
docs: add package doc files ( #26047 )
...
PR Close #26047
2018-10-05 15:42:14 -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
Zhicheng Wang
d9a50a8452
docs(API): 翻译完了 HttpResponse
2018-09-04 16:37:03 +08:00
Zhicheng Wang
3819d7de3b
docs(API): 翻译完了 common/http
2018-09-04 15:04:47 +08:00
Zhicheng Wang
06368682ef
docs(API): 翻译完了 HttpRequest
2018-09-04 13:55:45 +08:00
Zhicheng Wang
785aecb6dd
docs(API): 翻译完了 HttpInterceptor
2018-09-04 13:33:50 +08:00
Zhicheng Wang
d1985fc7d1
docs(API): 翻译完了 HttpParams
2018-09-04 11:05:45 +08:00
Zhicheng Wang
6312e38a63
docs(API): 翻译完了 HttpHeaders
2018-09-02 19:31:59 +08:00
Zhicheng Wang
59425a1e5e
docs(API): 翻译完了 HttpClientModule
2018-09-01 21:44:38 +08:00
Zhicheng Wang
2cd125f40c
docs(API): 改进标题行翻译方式
...
docs(API): 翻译了 directive.ts 中的所有 tsdoc
2018-08-31 09:01:12 +08:00
Zhicheng Wang
2dacd7f813
docs(API): 尝试对部分高频 API 进行翻译 - HttpClient
2018-08-30 12:22:02 +08:00
Alan Agius
5653fada32
feat: add TypeScript 3 support ( #25275 )
...
PR Close #25275
2018-08-27 21:07:53 -04:00
Pete Bacon Darwin
15cc85c54a
style(common): fix short param names ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
Drummond Dawson
5982425436
test(common): TokenExtractor should extend HttpXsrfTokenExtractor in xsrf spec ( #24649 )
...
PR Close #24649
2018-08-02 08:34:15 -07:00
Drummond Dawson
140248ade0
test(common): remove unused import in xsrf spec ( #24649 )
...
PR Close #24649
2018-08-02 08:34:14 -07:00
Alex Rickabaugh
d05d28629d
test(common): run common/http tests with Bazel ( #24738 )
...
@angular/common/http had tests which were not executed in Bazel. This
commit adds a BUILD.bazel file and ensures the tests pass.
PR Close #24738
2018-07-12 16:36:35 -04:00
George Kalpakas
e01b539ee5
refactor: infer type for it()
assertion functions ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00
riren
5fe1e74dd3
docs(common): fix in the documentation of PUT ( #24528 )
...
PR Close #24528
2018-07-06 10:13:20 -07:00
Rafael
8fe8b8fcff
docs: fix typos in 'Httpclient' docs ( #19127 )
...
PR Close #19127
2018-07-06 10:09:40 -07:00
Judy Bogart
7d318743c1
docs: test doc for decorator templates ( #23902 ) ( #23902 )
...
PR Close #23902
PR Close #23902
2018-06-25 10:49:31 -07:00
Rado Kirov
c95437f15d
build(bazel): Turning on strictPropertyInitialization for Angular. ( #24572 )
...
All errors for existing fields have been detected and suppressed with a
`!` assertion.
Issue/24571 is tracking proper clean up of those instances.
One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.
PR Close #24572
2018-06-25 07:57:13 -07:00
Vikram Subramanian
60aa943e2d
fix(platform-server): avoid dependency cycle when using http interceptor ( #24229 )
...
Fixes #23023 .
When a HTTP Interceptor injects HttpClient it causes a DI cycle. This fix is to use Injector to lazily inject HTTP_INTERCEPTORS while setting up the HttpHandler on the server so as to break the cycle.
PR Close #24229
2018-06-01 08:33:45 -07:00
swseverance
fe3679a356
style: remove empty comments ( #23404 )
...
PR Close #23404
2018-05-10 15:48:13 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Matias Niemelä
bf6a416bce
revert: docs(common): add HttpParamsOptions
to the public API ( #20332 )
...
This reverts commit 7b7757dd3d38a95ed20a6dd2d6db44f269eec087.
2018-03-26 16:29:46 -04:00
George Kalpakas
7b7757dd3d
docs(common): add HttpParamsOptions
to the public API ( #20332 )
...
Fixes #20276
PR Close #20332
2018-03-23 16:31:10 -04:00
Igor Minar
7d095b96cd
fix: correct several esm2015 entry-points in package.jsons ( #22892 )
...
PR Close #22892
2018-03-20 13:30:08 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
ce63dc6f95
feat: update the package output of build.sh to APF v6 ( #22808 )
...
PR Close #22808
2018-03-18 09:33:51 -07:00
Igor Minar
44de10e2db
feat: mark angular packages as side-effect free ( #22785 )
...
This flag is picked up by webpack v4 and used for more agressive optimizations.
Our code is already side-effect free, because that's what we needed for build-optimizer to work.
PR Close #22785
2018-03-15 14:52:40 -07:00
Alex Eagle
88b3198c80
feat(bazel): change ng_package rule to APF v6 ( #22782 )
...
Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.
Adds some missing files like package.json to make packages closer to
what we publish today.
Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.
PR Close #22782
2018-03-15 11:38:31 -07:00
Ricardo M
9e6268ba59
docs(http): fix a typo in code comment ( #22327 )
...
PR Close #22327
2018-02-21 11:06:06 -08:00