Brandon Roberts
8c9edb8484
docs: more form overview edits ( #25663 )
...
PR Close #25663
2018-09-25 18:48:22 -07:00
Brandon Roberts
c7567b65f2
docs(forms): add package overview for forms ( #25663 )
...
PR Close #25663
2018-09-25 18:48:22 -07:00
George Kalpakas
a169743324
fix(service-worker): do not blow up when caches are unwritable ( #26042 )
...
In some cases, example when the user clears the caches in DevTools but
the SW remains active on another tab and keeps references to the deleted
caches, trying to write to the cache throws errors (e.g.
`Entry was not found`).
When this happens, the SW can no longer work correctly and should enter
a degraded mode allowing requests to be served from the network.
Possibly related:
- https://github.com/GoogleChrome/workbox/issues/792
- https://bugs.chromium.org/p/chromium/issues/detail?id=639034
This commits remedies this situation, by ensuring the SW can enter the
degraded `EXISTING_CLIENTS_ONLY` mode and forward requests to the
network.
PR Close #26042
2018-09-24 09:53:41 -07:00
Frederik Schlemmer
cea7fbe93f
docs: Fixes typo in FormArray ( #26031 )
...
PR Close #26031
2018-09-24 09:14:08 -07:00
Pete Bacon Darwin
7f7bc64186
docs(core): remove usage notes from ReflexiveInjector.parent property ( #26039 )
...
Properties are not allowed usage notes, and in this case the example
is so simple it didn't warrant moving it to the overall class documentation.
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
33af76929f
docs(core): move headings to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
edbf3d2fe3
docs(common): move KeyValuePipe example to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
a39445fe09
docs(forms): move extended text to @usageNotes ( #26039 )
...
Headings are not allowed in the basic description block.
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
0b05448a7d
docs(http): move examples to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
852a73ef82
docs(platform-browser): move examples to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
b8bfc03875
docs(router): move examples to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
c4887ab10a
docs(upgrade): move examples etc into @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
1abd3977be
docs(common): move KeyValuePipe example to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Pete Bacon Darwin
3f89d3094b
docs(common): remove legacy @whatItDoes tag ( #26039 )
...
PR Close #26039
2018-09-24 09:11:05 -07:00
Kara Erickson
f0d70545e8
fix(forms): remove forms file from patch ( #26025 )
...
PR Close #26025
2018-09-19 17:18:31 -07:00
Pete Bacon Darwin
26341c7fd4
docs: add missing @ngModule tags ( #25734 )
...
PR Close #25734
2018-09-19 16:23:04 -07:00
Brandon Roberts
c7a6adc771
docs(forms): update form apis based on review feedback ( #25724 )
...
PR Close #25724
2018-09-19 16:09:03 -07:00
Brandon Roberts
8fb2b473ca
docs(forms): update API reference for forms interfaces and abstract classes ( #25724 )
...
PR Close #25724
2018-09-19 16:09:03 -07:00
Judy Bogart
5099b79545
docs: copy edit ( #25582 )
...
PR Close #25582
2018-09-19 10:43:07 -07:00
Judy Bogart
038d06d2e9
docs: clean up formats, add detail ( #25582 )
...
PR Close #25582
2018-09-19 10:43:07 -07:00
Judy Bogart
9e1aff9fe6
docs: update view-related api doc ( #25582 )
...
PR Close #25582
2018-09-19 10:43:07 -07:00
Judy Bogart
a41f331cb4
docs: add ngmodule api doc ( #25618 )
...
PR Close #25618
2018-09-19 10:40:59 -07:00
Greg Magolan
66f5d27e50
build(bazel): fix typos in comments ( #25172 )
...
PR Close #25172
2018-09-18 15:05:29 -07:00
Ben Lesh
91dd160b21
fix(bazel): correct type concatenated to devmode_js ( #25467 )
...
PR Close #25467
2018-09-18 15:04:40 -07:00
Alex Rickabaugh
1c44b71fd2
feat(ivy): enable .ngfactory.js generation in g3 only ( #25392 )
...
This turns on generation of ngfactory.js files when compiling in Ivy
mode in g3. They're not turned on for Bazel users as there appears to
be a strange interaction with the way our tests run in Bazel mode.
PR Close #25392
2018-09-18 15:04:31 -07:00
Alex Eagle
a5e0ae501d
docs(bazel): add skydoc generation ( #23544 )
...
PR Close #23544
2018-09-18 15:04:26 -07:00
Alex Rickabaugh
2d0e642dbe
fix(bazel): allow compile_strategy to be (privately) imported ( #25080 )
...
compile_strategy() is used to decide whether to build Angular code
using ngc (legacy) or ngtsc (local). In order for g3 BUILD rules
to switch properly and allow testing of Ivy in g3, they need to
import this function.
This commit removes the _ prefix which allows the function to be
imported.
PR Close #25080
2018-09-18 15:00:32 -07:00
Miško Hevery
b7be4f55be
build: add support for running builds outside of sandbox on Mac. ( #25870 )
...
Add following to your `~/.bazelrc`. This will run the build faster locally
(outside of sandbox), but continue running the builds with sandboxing
on CI.
```
build --spawn_strategy=standalone --strategy=ESM5=sandboxed
```
PR Close #25870
2018-09-18 14:43:39 -07:00
Alex Eagle
e7c72ab556
style: reformat bzl files on patch branch to match master
2018-09-18 14:43:05 -07:00
Alex Eagle
a77f567403
ci: update to bazel 0.17 ( #25967 )
...
this includes support for @ character in labels, which we need for fine-grained deps
PR Close #25967
2018-09-18 14:32:34 -07:00
George Wilde
6c8791ee32
docs(forms): change documentation of the FormGroup patchValue method ( #25901 )
...
Improve the grammar of the description to make it more readable.
PR Close #25901
2018-09-18 13:08:06 -07:00
Greg Magolan
274dc1e972
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25977 )
...
PR Close #25977
2018-09-18 13:03:37 -07:00
Daniel Wiehl
e117b1ffd2
fix(router): mount correct component if router outlet was not instantiated and if using a route reuse strategy ( #25313 ) ( #25314 )
...
This unsets 'attachRef' on outlet context if no route is to be reused in route activation.
Closes #25313
PR Close #25314
2018-09-11 16:26:42 -07:00
vincecampanale
8d7fbb614b
docs(router): change description of parameter usage for navigation functions ( #21840 )
...
PR Close #21840
2018-09-11 16:24:23 -07:00
Matt Keller
a31cfc521c
fix(compiler): Fix look up of entryComponents in AOT Summaries ( #24892 )
...
Previously, when you attempted to bootstrap a component that had a
router-outlet using ngsummaries, it would complain that the component
was not provided by any module even if it was. This commit fixes a
mistake (AFAICT) which caused the lookup of the component in the AOT
summaries to fail.
I believe this change is safe. I've run the affected tests within Google
and there were no breakages caused by this change.
PR Close #24892
2018-09-11 16:23:17 -07:00
Alex Eagle
f707f545aa
build: update to Node 10 ( #25822 )
...
PR Close #25822
2018-09-06 14:58:30 -07:00
Greg Magolan
e244b5180e
build(bazel): update bazel integration to build angular from source ( #25774 )
...
PR Close #25774
2018-09-06 14:56:53 -07:00
Greg Magolan
f85d3d7857
build(bazel): make resolveTypeReferenceDirectives override work with both ts 2.9 & ts 3.0 ( #25774 )
...
PR Close #25774
2018-09-06 14:56:53 -07:00
Greg Magolan
b404d47b16
build(bazel): fix bazel types reference directive resolves ( #25774 )
...
PR Close #25774
2018-09-06 14:56:53 -07:00
George Kalpakas
3a0b7355e5
build: upgrade Chromium and ChromeDriver to latest versions ( #25602 ) ( #25669 )
...
PR Close #25602
PR Close #25669
2018-09-05 11:40:30 -07:00
George Kalpakas
82e06766b8
fix(upgrade): trigger $destroy event on upgraded component element ( #25357 )
...
Fixes #25334
PR Close #25357
2018-09-05 11:35:15 -07:00
George Kalpakas
eea1600a38
refactor(upgrade): share code for destroying upgraded components between dynamic and static ( #25357 )
...
PR Close #25357
2018-09-05 11:35:14 -07:00
Trotyl
23a96dca2d
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
Brandon Roberts
a4405d7c6f
docs(forms): update API reference for reactive and template-driven forms modules ( #25687 )
...
PR Close #25687
2018-08-31 13:39:24 -07:00
Miško Hevery
ebcf762132
fix(core): size regression with closure compiler ( #25531 )
...
By pulling in `compiler` into `core` the `compiler` was not
100% tree-shakable and about 8KB of code was retained
when tree-shaken with closure.
PR Close #25531
2018-08-30 21:32:10 -07:00
Alex Eagle
ed6b68babf
fix(bazel): protractor rule should include *.e2e-spec.js ( #25701 )
...
PR Close #25701
2018-08-30 21:21:28 -07:00
Alex Eagle
3e690e0062
fix(bazel): Cache fileNameToModuleName lookups ( #25731 )
...
This saves expensive re-parsing of the file when not run as a Bazel worker
PR Close #25731
2018-08-29 17:39:22 -04:00
Alex Eagle
7aff3641a1
fix(bazel): only lookup amd module-name tags in .d.ts files ( #25710 )
...
PR Close #25710
2018-08-28 21:07:15 -04:00
Greg Magolan
59cfc8a729
build(bazel): use value of /// <amd-module name=“”> directive to convert fileNameToModuleName in ngc-wrapped ( #25650 )
...
PR Close #25650
2018-08-27 12:21:19 -04:00
Greg Magolan
72ed2e90d0
build(bazel): esm5_outputs_aspect to work with targets such as ts_proto_library with no replay_params attribute ( #25648 )
...
PR Close #25648
2018-08-24 11:48:04 -04:00