Commit Graph

13674 Commits

Author SHA1 Message Date
Zhicheng WANG f45063a9c8 fix: 增加 flutter 链接 2019-03-10 22:59:35 +08:00
Zhicheng WANG 43aadf1873 fix: 修改菜单 2019-02-22 05:09:21 +08:00
Zhicheng WANG baddb2eec9 fix: 翻译完了工作区配置 2019-02-22 05:04:06 +08:00
Zhicheng WANG 7c81861676 fix: 文字微调:工作空间 ==> 工作区 2019-02-22 03:52:36 +08:00
Zhicheng WANG 2b4662edeb fix: "使用已发布的库" 翻译完毕 2019-02-22 03:30:55 +08:00
Zhicheng WANG 71005dbb37 fix: 文字细修:复本 ==> 副本 2019-02-22 02:49:52 +08:00
Zhicheng WANG a820a61928 fix: 翻译完了 libraries overview 2019-02-22 02:49:17 +08:00
Zhicheng WANG 7e124bc7c3 fix: 翻译完了 creating-libraries 2019-02-22 00:47:58 +08:00
Zhicheng WANG bed7a6ca91 fix: 把《调查问卷》的填写链接在单独窗口打开 2019-02-17 22:05:10 +08:00
Zhicheng WANG 8714181b74 fix: 翻译《调查问卷》的填写链接 2019-02-17 22:01:51 +08:00
Zhicheng WANG 9057e36df5 fix: 同步翻译 #382 2019-02-17 21:16:39 +08:00
Zhicheng WANG 5be0566951 fix: 修复合并错误和遗漏的翻译 2019-02-17 09:47:12 +08:00
Zhicheng WANG 73d7c58d5e fix: 手动调整 navigation 合并,以消除编译错误 2019-02-17 01:06:44 +08:00
Zhicheng WANG 2407cc4753 fix: yarn 升级到 1.13 2019-02-17 00:46:49 +08:00
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
Miško Hevery 6fcf286344 release: cut the v8.0.0-beta.4 release 2019-02-15 14:28:11 -08:00
Miško Hevery fcc8c5690f docs: release notes for the v7.2.5 release 2019-02-15 14:23:09 -08:00
Zhicheng WANG a4fc5f8e37 fix: 并行渲染,提高效率 2019-02-15 07:12:41 +08:00
Zhicheng WANG 54c67e6294 fix: 改用 puppeteer 进行 prerender,放弃 `prerender` 库 2019-02-15 07:12:41 +08:00
Zhicheng WANG f3e5f65fe1 fix: 精修翻译 2019-02-15 07:12:41 +08:00
Zhicheng WANG 9ccc6de90f fix: 移除字典 2019-02-15 07:12:41 +08:00
Zhicheng WANG 9ec21f77fd fix: 精修翻译 2019-02-15 07:12:41 +08:00
Zhicheng WANG f50ff4ba43 fix: 精修翻译 2019-02-15 07:12:41 +08:00
Zhicheng WANG 0d11c7d06b fix: 精修翻译 2019-02-15 07:12:40 +08:00
Zhicheng WANG 56a017a977 fix: 精修翻译 2019-02-15 07:12:40 +08:00
Zhicheng WANG 5aa7fbfe64 fix: 不再处理 span 和 a 2019-02-15 07:12:40 +08:00
Zhicheng WANG 421fc1a846 fix: 精修翻译
恢复一些过度省略的 "Angular"
Angular 模块恢复为 NgModule
2019-02-15 07:12:40 +08:00
Zhicheng WANG b6e28828a7 fix: 为标题生成了错误的 ID 2019-02-15 07:12:40 +08:00
Zhicheng WANG d79fb401e7 fix: 修复一些翻译错误 2019-02-15 07:12:39 +08:00
Zhicheng WANG c63a778e26 fix: 修复一些翻译错误 2019-02-15 07:12:39 +08:00
Zhicheng WANG 1d6c1396fd fix: 修复一些翻译错误 2019-02-15 07:12:39 +08:00
Zhicheng WANG 893161f7ab fix: 升级翻译引擎,解决链接检查出错的问题 2019-02-15 07:12:39 +08:00
Zhicheng WANG 5a000c4204 fix: 升级翻译引擎,解决一些行内元素错配的问题 2019-02-15 07:12:39 +08:00
Zhicheng WANG a9ccdd5b40 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
Kristiyan Kostadinov 80a5934af6 fix(ivy): support schemas at runtime (#28637)
Accounts for schemas in when validating properties in Ivy.

This PR resolves FW-819.

A couple of notes:
* I had to rework the test slightly, in order to have it fail when we expect it to. The one in master is passing since Ivy's validation runs during the update phase, rather than creation.
* I had to deviate from the design in FW-819 and not add an `enableSchema` instruction, because the schema is part of the `NgModule` scope, however the scope is only assigned to a component once all of the module's declarations have been resolved and some of them can be async. Instead, I opted to have the `schemas` on the component definition.

PR Close #28637
2019-02-14 19:31:51 +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
Kristiyan Kostadinov 63e5d2787b fix(ivy): rethrow event handler errors in tests (#28707)
Currently errors thrown inside event handler in Ivy are caught and forwarded to the `ErrorHandler`, however this means that if they happen during a unit test, the test won't fail. These changes add a test-specific `ErrorHandler` that throws the error rather than logging it out.

PR Close #28707
2019-02-14 19:26:56 +00:00
Jeremy Elbourn 83fd66d1d0 fix(ivy): DebugNode should read styles from StylingContext (#28709)
Previously `DebugNode.classes` and `DebugNode.styles` mistakenly used an
object that is only *sometimes* a `StylingContext`. Also fixes a mistake
in `debug_node_spec.ts` where a test component was not declared in the
testing module.

There is still a bug here where `DebugNode` is not exposing *static*
values. This will need to be fixed in a follow up.

PR Close #28709
2019-02-14 19:24:17 +00:00
Matias Niemelä 627cecdfe2 fix(ivy): ensure host bindings and host styling works on a root component (#28664)
Prior to this fix if a root component was instantiated it create host
bindings, but never render them once update mode ran unless one or more
slot-allocated bindings were issued. Since styling in Ivy does not make
use of LView slots, the host bindings function never ran on the root
component.

This fix ensures that the `hostBindings` function does run for a root
component and also renders the schedlued styling instructions when
executed.

Jira Issue: FW-1062

PR Close #28664
2019-02-14 19:23:25 +00:00
George Kalpakas b41da03f00 build(docs-infra): upgrade cli command docs sources to 1631f7d62 (#28727)
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).
Relevant changes in [commit range](ba5120d18...1631f7d62):

**Modified**
- help/build.json

PR Close #28727
2019-02-14 19:22:53 +00:00
Keen Yee Liau 65c2deacbb refactor(bazel): Fix warning about overridden tsconfig options (#28674)
Under Bazel, some compilerOptions in tsconfig.json are controlled by
downstream rules. The default tsconfig.json causes Bazel to print out
warnings about overriden settings.

This commit makes a backup of the original tsconfig.json and removes
tsconfig settings that are controlled by Bazel.

As part of this fix, JsonAst utils are refactored into separate package
and unit tests are added.

PR closes https://github.com/angular/angular/issues/28034

PR Close #28674
2019-02-13 21:24:19 -08:00
Greg Magolan 841a1d32e1 build(bazel): rollback to chromium 69 (latest version that still works on OSX) (#28698)
PR Close #28698
2019-02-13 19:18:27 -08:00
Greg Magolan 362c41de89 build(bazel): pin chromium to 72.0.3636 and chrome-driver to 2.46 on all platforms (#28698)
PR Close #28698
2019-02-13 19:18:27 -08:00
Greg Magolan cf848c6ea0 build(bazel): pin chrome driver to 2.45 and use newer chrome in linux to fix test in CI (#28698)
PR Close #28698
2019-02-13 19:18:27 -08:00
Greg Magolan 47574fef11 build(bazel): temporarily pin browser versions while upstream is fixed as work-around for #28681 (#28698)
PR Close #28698
2019-02-13 19:18:27 -08:00
Pawel Kozlowski b0afc4c638 refactor(ivy): remove unused constructor argument (#28677)
PR Close #28677
2019-02-13 19:18:02 -08:00
Artem Lanovyy 1df3aefb81 fix(forms): mark form as pristine before emitting value and status change events (#28395)
BREAKING CHANGE

Previous to this change, when a control was reset, value and status change
events would be emitted before the control was reset to pristine. As a
result, if one were to check a control's pristine state in a valueChange
listener, it would appear that the control was still dirty after reset.

This change delays emission of value and status change events until after
controls have been marked pristine. This means the pristine state will be
reset as expected if one checks in a listener.

Theoretically, there could be applications depending on checking whether a
control *used to be dirty*, so this is marked as breaking. In these cases,
apps should cache the state on the app side before calling reset.

Fixes #28130

PR Close #28395
2019-02-13 19:17:35 -08:00
Alex Eagle 8cec4b3ff7 build: make api-extractor work in google3 (#28588)
PR Close #28588
2019-02-13 19:16:29 -08:00