Commit Graph

12120 Commits

Author SHA1 Message Date
George Kalpakas 694b8ae779 build(docs-infra): ensure any stale generated content is deleted (#25841)
Since `aio/src/generated/` is git-ignored, it is easy for stale content
(e.g. removed images, examples, zips, etc.) to remain there on local
clones and then get copied into the `dist/` directory.

This commit ensures `aio/src/generated/` is cleaned up before generating
the new content.

PR Close #25841
2018-09-06 14:59:29 -07:00
George Kalpakas 152de20774 fix(docs-infra): re-enable SW offline mode (#25826)
This basically reverts #25692, since Firebase has fixed the issue with
`/index.html` redirection on their side.

PR Close #25826
2018-09-06 14:59:08 -07:00
Alex Eagle 34ec9244a6 build: update to Node 10 (#25822)
PR Close #25822
2018-09-06 14:58:30 -07:00
Misko Hevery 268e9772d5 release: cut the v7.0.0-beta.5 release 2018-09-05 21:22:46 -07:00
Misko Hevery e2c67ba155 docs: release notes for the v6.1.7 release 2018-09-05 21:18:53 -07:00
Zhicheng Wang 739d61dbfa docs(API): 修正编译错误 2018-09-06 08:23:07 +08:00
Zhicheng Wang b72d3c5083 docs(API): 翻译完了动画部分 2018-09-06 08:17:12 +08:00
Filipe Silva dcad0544d7 build: update ngcontainer to node 10.9.0 (#25812)
PR Close #25812
2018-09-05 11:37:26 -07:00
Frederik Schlemmer 1bc6f64eb5 docs: update event page (#25799)
docs: change reactiveconf event location
PR Close #25799
2018-09-05 11:37:02 -07:00
Maicon Wagner 397b047eff docs: fix showcase address truly-ui (#25757)
PR Close #25757
2018-09-05 11:36:39 -07:00
Pete Bacon Darwin d96e962da3 test(ivy): mock the filesystem in ngcc main() integration tests (#25557)
Bazel does not like the filesystem being modified.
This commit a temporary mock filesystem that can be modified as needed.

PR Close #25557
2018-09-05 11:35:47 -07:00
Pete Bacon Darwin b0cb134815 feat(ivy): implement ngcc build marker (#25557)
`ngcc` adds marker files to each folder that has been
compiled, containing the version of the ngcc used.

When compiling, it will ignore folders that contain these
marker files, as long as the version matches.

PR Close #25557
2018-09-05 11:35:47 -07:00
George Kalpakas 2a672a97ab fix(upgrade): trigger `$destroy` event on upgraded component element (#25357)
Fixes #25334

PR Close #25357
2018-09-05 11:35:14 -07:00
George Kalpakas 71007ef9b2 refactor(upgrade): share code for destroying upgraded components between `dynamic` and `static` (#25357)
PR Close #25357
2018-09-05 11:35:14 -07:00
Rob Wormald 51c26b8afb test: remove deprecated Buffer usage in sourcemap test (#25805)
PR Close #25805
2018-09-05 09:38:48 -07:00
Greg Magolan 1e7a873cf4 build(bazel): remove unused angular.tsconfig.json integration/bazel test (#25778)
PR Close #25778
2018-09-05 09:38:19 -07:00
George Kalpakas 13b8399d0c test(docs-infra): fix double-slash in URL of `aio_monitoring` test (#25641)
As part of the tests run in the CircleCI `aio_monitoring` job, we need
to retrieve `sitemap.xml` from the site under test. Previously, the URL
used to retrieve that contained a double-slash (`//`). At some point,
Firebase (which is used for hosting the site) stopped normalizing
double-slashes to a single slash, causing the test to fail.

This commit fixes the problem by ensuring that the constructed URLs do
not contain double-slashes.

PR Close #25641
2018-09-05 09:37:55 -07:00
Trotyl 010e35d995 feat(router): warn if navigation triggered outside Angular zone (#24959)
closes #15770, closes #15946, closes #24728

PR Close #24959
2018-09-05 09:35:14 -07:00
Pete Bacon Darwin 234661b3d6 feat(docs-infra): disable "status" selector in API list when displaying only packages (#25718)
Closes #25708

PR Close #25718
2018-09-05 09:28:28 -07:00
Pete Bacon Darwin 4a04ab8823 build(docs-infra): do not render internals in package API pages (#25723)
Closes #24493

PR Close #25723
2018-09-05 09:28:05 -07:00
Alex Rickabaugh a417b2b419 fix(ivy): detect frozen flyweight objects in definitions and unfreeze (#25755)
defineComponent() and friends can return a flyweight EMPTY object for
specific fields when they contain no data. InheritDefinitionFeature
was attempting to write into these flyweight objects, which have been
protected with Object.freeze().

This commit adds detection to InheritDefinitionFeature to identify the
frozen objects.

PR Close #25755
2018-09-05 09:27:41 -07:00
Tomáš Livora 2c66523222 docs(changelog): fix version 6.1.5 typo (#25760)
PR Close #25760
2018-09-05 09:27:15 -07:00
Rob Wormald 25c1f331d6 refactor(docs-infra): bump polyfills payload limit (#25806)
PR Close #25806
2018-09-05 09:23:10 -07:00
Rob Wormald 59aab14394 refactor(docs-infra): simplify custom-element polyfill setup (#25806)
PR Close #25806
2018-09-05 09:23:10 -07:00
Pete Bacon Darwin c1ae3c16e8 build(docs-infra): ensure root node_modules exists (#25811)
Now that the doc-gen parses the imports of TS source
files we need to ensure that the root node_modules
exists. Otherwise running `yarn docs` produces an
obscure error:

```
Error: No SourceFile found with path node_modules/@types/jasmine/index.d.ts
```

Closes #25759

PR Close #25811
2018-09-05 09:22:46 -07:00
Zhicheng Wang 8aba1f3d84 docs(API): 更新翻译状态 2018-09-05 10:48:55 +08:00
Zhicheng Wang cf01a7f5d4 docs(API): 翻译完了 Renderer2 2018-09-05 10:48:08 +08:00
Zhicheng Wang d589eef668 docs(API): 翻译完了 test/async 2018-09-05 10:10:50 +08:00
Zhicheng Wang 9e40bf8e63 docs(API): 翻译完了 ValidatorFn 2018-09-05 10:08:10 +08:00
Zhicheng Wang badf927f37 docs(API): 翻译完了 NgSelectOption 2018-09-05 09:46:21 +08:00
Zhicheng Wang 7b2226516a docs(API): 翻译完了 SimpleChange 2018-09-05 09:22:22 +08:00
Zhicheng Wang 7c7733c3af docs(API): 翻译完了 PipeTransform 2018-09-05 09:15:35 +08:00
Igor Minar 51c0d9cae9 style(ivy): remove unused ivy code (#25780)
PR Close #25780
2018-09-04 12:12:04 -07:00
Igor Minar 08dfbc5475 fix(ivy): reexport __POST_NGCC__ symbols as private to prevent DCE in FESM (#25780)
While creating FESM files, rollup usually drops all unused symbols.
All *__POST_NGCC__ are unused unless ngcc rewires stuff. To prevent this DCE
we reexport them as private symbols. If ngcc is not used, these symbols will
be dropped when we optimize an application bundle.

We don't have an infrastructure to test this fix, so I just manually inspected
the bundles before and after to verify that the fix works.

PR Close #25780
2018-09-04 12:12:04 -07:00
Stephen Fluin 2f1bc1aa1a docs: add pwa keyword to service worker page (#25725)
PR Close #25725
2018-09-04 12:09:54 -07:00
Alex Rickabaugh cc29b9cf93 fix(ivy): use globally unique names for i18n constants (#25689)
Closure compiler requires that the i18n message constants of the form

const MSG_XYZ = goog.getMessage('...');

have names that are unique across an entire compilation, even if the
variables themselves are local to a given module. This means that in
practice these names must be unique in a codebase.

The best way to guarantee this requirement is met is to encode the
relative file name of the file into which the constant is being written
into the constant name itself. This commit implements that solution.

PR Close #25689
2018-09-04 12:09:29 -07:00
Jonathan Pool bd0eb0d1d4 docs: correct misspellings and add missing punctuation in tutorial (#25676)
PR Close #25676
2018-09-04 12:08:52 -07:00
Pete Bacon Darwin e84da1981d ci: ensure build-packages-dist works on OS/X bash (#25591)
PR Close #25591
2018-09-04 12:08:24 -07:00
Zhicheng Wang 84f95e5864 docs(API): 翻译完了 DomSanitizer 2018-09-04 17:20:54 +08:00
Zhicheng Wang 7e8b60ce31 docs(API): 更新已翻译的状态 2018-09-04 16:51:07 +08:00
Zhicheng Wang 8e6ce058ae docs(API): 翻译完了 ParamMap 2018-09-04 16:49:14 +08:00
Zhicheng Wang ee075b2bbd docs(API): 翻译完了 QueryList 2018-09-04 16:42:02 +08:00
Zhicheng Wang d9a50a8452 docs(API): 翻译完了 HttpResponse 2018-09-04 16:37:03 +08:00
Zhicheng Wang 2a1fbec879 docs(API): 翻译完了 forms/Form 2018-09-04 16:00:05 +08:00
Zhicheng Wang 0d7690251b docs(API): 翻译完了 ComponentFactory 2018-09-04 15:56:04 +08:00
Zhicheng Wang 8dbe7ff025 docs(API): 翻译完了 formatDate 2018-09-04 15:48:34 +08:00
Zhicheng Wang 284e6a7319 docs(API): 翻译完了 ChangeDetectorRef 2018-09-04 15:32:26 +08:00
Zhicheng Wang 3819d7de3b docs(API): 翻译完了 common/http 2018-09-04 15:04:47 +08:00
Zhicheng Wang 719650b41f docs(API): 翻译完了 CommonModule 2018-09-04 14:56:11 +08:00
Zhicheng Wang a510ed5312 docs(API): 翻译完了 JsonPipe 2018-09-04 14:54:23 +08:00