12927 Commits

Author SHA1 Message Date
Zhicheng WANG
e6c232349f fix: 合并错误 #366 2019-01-02 17:43:56 +08:00
Zhicheng WANG
5fd5fd0e45 fix: 修正用词 2019-01-02 15:18:38 +08:00
Zhicheng WANG
aea2cab619 fix: 改用子目录作为工作目录,/tmp 目录在 mac 下是大小写不敏感的 2019-01-02 13:17:29 +08:00
Zhicheng WANG
2403946833 fix: typo 2019-01-02 12:50:02 +08:00
Zhicheng WANG
4d0cbe2c7e fix: update to @awesome-fe/translate@0.0.12 2019-01-02 12:42:23 +08:00
Zhicheng WANG
992afae2a7 fix: 修改构建脚本,避免重复克隆 2019-01-01 22:45:58 +08:00
Zhicheng WANG
864cd988e1 fix: 升级到 @awesome-fe/translate 新版,它改正了表格合并问题 2019-01-01 22:27:07 +08:00
Zhicheng WANG
49fd2eb76d fix: 移除纯粹由空格组成的行,它会导致错误的 markdown 编译 2019-01-01 22:17:43 +08:00
Zhicheng WANG
b15f53133f fix: invalid table translation 2019-01-01 22:14:09 +08:00
Zhicheng WANG
d33259520b fix: don't swap when loading 2019-01-01 21:53:07 +08:00
Zhicheng WANG
1d65a38dcf Revert "fix: move mark code to post-process-html step"
This reverts commit 0cb8d723
2019-01-01 19:16:14 +08:00
Zhicheng WANG
0cb8d723ac fix: move mark code to post-process-html step 2019-01-01 16:16:02 +08:00
Zhicheng WANG
b64124f0c8 fix: unclosed " 2019-01-01 16:16:02 +08:00
Zhicheng WANG
73072a8f72 refactor: align table to new format 2019-01-01 16:16:02 +08:00
Zhicheng WANG
b018382e7d refactor: use standalone library instead of translator.js 2019-01-01 16:16:02 +08:00
loyayz
968f6a2337 fix: 翻译错误 2019-01-01 10:39:31 +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
Zhicheng WANG
8d96c43e45 fix: 解决英文没有隐藏的问题 2018-12-26 10:17:37 +08:00
Zhicheng WANG
8c76f3a45e fix: 解决英文没有隐藏的问题 2018-12-26 10:05:53 +08:00
Zhicheng WANG
3e7ce34e85 fix: 解决英文没有隐藏的问题 2018-12-26 10:05:19 +08:00
Zhicheng WANG
760570c8ef fix: 尝试解决英文没有隐藏的问题 2018-12-26 09:53:54 +08:00
Zhicheng WANG
57afc8bf19 feat: 增加日志 2018-12-26 09:51:33 +08:00
Zhicheng WANG
a1b74f25fa fix: CLI 问题 2018-12-26 09:35:48 +08:00
Zhicheng WANG
06ec809923 fix: 修复一个文本 2018-12-26 08:45:13 +08:00
Zhicheng WANG
6f186e5e4e chore: 使用本机版本的 node 2018-12-25 23:17:44 +08:00
Echo Chan
f33e46ee20 docs: 修改一个翻译错误 2018-12-25 20:45:47 +08:00
Zhicheng WANG
65b26efa2e fix: 修正 angular console 地址 2018-12-25 14:02:34 +08:00
Zhicheng WANG
a23ff904d8 chore: 退回 event-stream@3.3.6 2018-12-25 13:59:39 +08:00
Zhicheng WANG
b8a85eba89 fix: 尝试解决没能正确隐藏原文的问题 2018-12-25 13:59:39 +08:00
loyayz
a43cbee553 错别字:又 → 有 2018-12-24 23:23:37 +08:00
GuoYuFei
4b91f13228 fix:修正路由与导航章节的一个翻译错误 2018-12-24 20:52:21 +08:00
GuoYuFei
a0060abc70 fix: 修复路由与导航章节中的一个锚点跳转地址错误 2018-12-23 12:29:21 +08:00
GuoYuFei
2398b43e88 fix: 修复一句语意混乱的翻译错误 2018-12-23 12:28:51 +08:00
GuoYuFei
7758da5c1d fix: 修复路由与导航章节中的一个参数名称错误 2018-12-23 12:28:51 +08:00
Matias Niemelä
13eb57a59f fix(ivy): merge static style rendering across elements, directives and components (#27661)
PR Close #27661
2018-12-21 18:14:44 -05:00
Paul Gschwendtner
0b3ae3d70c build: update to latest karma version (#27735)
Updates to the latest Karma version that includes karma-runner/karma@cc2eff2 and should be able to properly restart disconnected browsers. This was a long-term Karma bug and affected CI flakiness significantly.

PR Close #27735
2018-12-21 17:02:50 -05:00
Andrew Kushnir
4b67b0af3e fix(ivy): adding TestBed.overrideProvider support (#27693)
Prior to this change, provider overrides defined via TestBed.overrideProvider were not applied to Components/Directives. Now providers are taken into account while compiling Components/Directives (metadata is updated accordingly before being passed to compilation).

PR Close #27693
2018-12-21 16:39:34 -05:00
jnizet
bba5e2632e docs(forms): clarify the pattern validator behavior (#27560)
PR Close #27560
2018-12-21 15:12:31 -05:00
Preetham Viswanathan
c5ce4e62c6 docs: fix code example to ensure consistency in file (#26577)
PR Close #26577
2018-12-21 15:12:05 -05:00
Andrew Kushnir
509aa61619 fix(ivy): apply all overrides from TestBed, not the last one only (#27734)
In some cases in our tests we can define multiple overrides for a given class. As a result, only the last override is actually applied due to the fact that we store overrides in a Type<->Override map. This update changes the logic to keep all overrides defined in a given test for a Type (i.e. Type<->Override[] map) and applies them one by one at resolution phase. This behavior is more inline with the previous TestBed.

PR Close #27734
2018-12-21 15:09:00 -05:00
Pawel Kozlowski
cdd737e28b test(ivy): mark tests using getDebugContext as obsolete in ivy (#27790)
PR Close #27790
2018-12-21 15:07:31 -05:00
Marc Laval
5da55d6246 test(ivy): add root cause analysis for failing router tests (#27792)
PR Close #27792
2018-12-21 15:06:56 -05:00
George Kalpakas
50a91ba28c docs(upgrade): add gotchas/tips/example for multiple downgraded modules (#27217)
PR Close #27217
2018-12-20 16:20:41 -05:00
George Kalpakas
077a5fb04b test(upgrade): test injector tree traversal for downgraded components (#27217)
This commit adds tests that verify the current behavior wrt injector
tree traversal for downgraded components, so that it is easier to
contrast with changed behavior is future commits (should we decide
to actually change it).

PR Close #27217
2018-12-20 16:20:41 -05:00
George Kalpakas
bc0ee01d09 fix(upgrade): allow nesting components from different downgraded modules (#27217)
PR Close #27217
2018-12-20 16:20:41 -05:00
George Kalpakas
326b464d20 fix(upgrade): correctly handle nested downgraded components with downgradeModule() (#27217)
Previously, nested downgraded components would not be created/destroyed
inside the Angular zone (as they should) and they would not be wired up
correctly for change detection.

This commit ensures that ngUpgrade correctly detects whether this is an
ngUpgradeLite app (i.e. one using `downgradeModule()` instead of
`UpgradeModule`) and appropriately handles components, even if they are
nested inside other downgraded components.

Fixes #22581
Closes #22869
Closes #27083

PR Close #27217
2018-12-20 16:20:41 -05:00
George Kalpakas
8a7498e0ef refactor(upgrade): simplify special handling of ngUpgradeLite in downgradeComponent() (#27217)
PR Close #27217
2018-12-20 16:20:41 -05:00
Jason Aden
07ada7f3d9 fix(router): ensure URL is updated after second redirect with UrlUpdateStrategy="eager" (#27523)
Navigating to a route such as `/users`, you may get redirected to `/login`. Previously, if you go then route to `/users` again the URL will end up showing `/users` after the second redirect. This only happened in `UrlUpdateStrategy="eager"`. This is now fixed so after the second redirect, the URL shows the correct page.

Fixes #27116

PR Close #27523
2018-12-20 16:18:52 -05:00
Matias Niemelä
880e8a5cfc refactor: fix broken formatting 2018-12-20 09:16:09 -08:00
Pawel Kozlowski
a0585c9a9a fix(ivy): correct content projection with nested templates (#27755)
Previously ivy code generation was emmiting the projectionDef instruction in
a template where the <ng-content> tag was found. This code generation logic was
incorrect since the ivy runtime expects the projectionDef instruction to be present
in the main template only.

This PR ammends the code generation logic so that the projectionDef instruction is
emmitedin the main template only.

PR Close #27755
2018-12-20 12:01:20 -05:00