11004 Commits

Author SHA1 Message Date
Dario Braun
397530ab24 docs: remove code in universal hero detail component ()
This reverts commit e9cc3dad8f39bc8dfabfb708a825f90fcd2ab697.

PR Close 
2018-08-06 13:39:23 -07:00
Daniel Ruf
a9881bb18e docs: replace npm with yarn in lockfile readme ()
PR Close 
2018-08-06 13:38:13 -07:00
Jessy Cormier
c1587029db docs: add missing word in outputs description. ()
PR Close 
2018-08-06 13:36:49 -07:00
Lukáš Matta
2b906f652f docs: fix typo ()
PR Close 
2018-08-06 13:36:09 -07:00
Trotyl
c67f1bb38e docs: several fixes for NPM package guide ()
PR Close 
2018-08-06 11:32:30 -07:00
Bartosz Wyporkiewicz
637ae135c5 docs(http): fixed example unit test for error catching ()
The example unit test should test the service when the backend
application is not available, by providing a mock error response.
Although, the test will
fail as the mock response from the server is valid (it does not simulate
a
error response, but valid response with an error status 404).
This merge request fix this issue by replacing MockResponse with
MockError

This PR resolves 19499 issue

PR Close 
2018-08-06 11:31:57 -07:00
Alex Eagle
4eb8ac6de9 build: update Bazel to 0.16 ()
PR Close 
2018-08-06 11:30:24 -07:00
Anthony Humes
ba1e25f53f fix(router): take base uri into account in setUpLocationSync() ()
Normalize the full URL (including the base uri) before passing it to
`router.navigateByUrl()`.

Fixes 

PR Close 
2018-08-06 11:11:07 -07:00
Lalith Polepeddi
97b5cb2e3b docs(aio): add Made with Angular ()
PR Close 
2018-08-06 09:50:14 -07:00
Victor Berchet
795e1e8a38 test(ivy): improve error message for the compiler compliance test ()
before:

```
Expected to find features 'import * as i0 from "@angular/core";
import { Directive, Input } from '@angular/core';

```

after:

```
Failed to find "template" after "...Component_Factory() { return new
MyComponent(); }," in:
'import * as i0 from "@angular/core";
import { Directive, Input } from '@angular/core';```

```

PR Close 
2018-08-05 15:31:19 -07:00
Victor Berchet
aea8832243 refactor(ivy): misc cleanup ()
PR Close 
2018-08-05 15:31:19 -07:00
Victor Berchet
1e7ca22078 refactor(ivy): make all directives public by default ()
To match the View Engine behavior.

We should make this configurable so that the node injector is tree shaken when
directives do not need to be published.

PR Close 
2018-08-05 15:31:19 -07:00
Alex Eagle
26a15cc534 build: skip ivy builds when not publishing ()
PR Close 
2018-08-04 14:17:00 -07:00
Fabian Wiles
b0d86c1c2f refactor(bazel): dont rely on language target to downlevel for loop ()
PR Close 
2018-08-03 15:55:18 -07:00
George Kalpakas
dc0715142f test(docs-infra): log docs examples e2e spec paths to aid debugging ()
It seems that occasionally the sharding of docs examples e2e tests gets
messed up resulting in some tests not being run. This can cause CI to be
green on a PR, when they shouldn't (because the failing tests didn't run
at all).

It is unclear under what circumstances this happens, so printing the
paths of found e2e specs will help debug the issue when it comes up
again.

PR Close 
2018-08-03 15:30:31 -07:00
JoostK
4e264781ee refactor(ivy): do not mention LViewData in public documentation ()
PR Close 
2018-08-03 14:48:11 -07:00
Kara Erickson
79a9c71422 test(ivy): remove unnecessary common import ()
PR Close 
2018-08-03 14:34:02 -07:00
Pete Bacon Darwin
15cc85c54a style(common): fix short param names ()
PR Close 
2018-08-03 14:09:27 -07:00
Pete Bacon Darwin
725bae1921 docs(common): fix content errors ()
PR Close 
2018-08-03 14:09:27 -07:00
Alex Rickabaugh
eb999300d9 test(ivy): run compiler compliance tests without rebuilding core,common ()
Previously the compiler compliance tests ran and built test code with
real dependencies on @angular/core and @angular/common. This meant that
any changes to the compiler would result in long rebuild processes
for tests to rerun.

This change removes those dependencies and causes test code to be built
against the fake_core stub of @angular/core that the ngtsc tests use.
This change also removes the dependency on @angular/common entirely, as
locality means it's possible to reference *ngIf without needing to link
to an implementation.

PR Close 
2018-08-03 13:08:51 -07:00
Victor Berchet
afa6b9e794 fix(ivy): execute the optional begin and end methods of the rendererFactory ()
This is required to i.e. flush animations when using a Renderer2.
`rf.begin()` and `rf.end()` around the change detection.

PR Close 
2018-08-03 10:17:13 -07:00
Alex Rickabaugh
0822dc70f2 feat(ivy): generate .ngfactory stubs if requested ()
Existing bootstrap code in the wild depends on the existence of
.ngfactory files, which Ivy does not need. This commit adds the
capability in ngtsc to generate .ngfactory files which bridge
existing bootstrap code with Ivy.

This is an initial step. Remaining work includes complying with
the compiler option to specify a generated file directory, as well
as presumably testing in g3.

PR Close 
2018-08-03 09:42:06 -07:00
Victor Berchet
728d98d3a9 fix(ivy): add bound proerties name to template ()
Before this change bound properties would not be used when matching directives
at runtime.

That is `<ng-template [ngIf]=cond>...</ng-template>` would not trigger the
`ngIf` directive.

PR Close 
2018-08-02 22:59:04 -07:00
Victor Berchet
2f4abbf5a1 fix(ivy): fix inline template bindings parsing ()
PR Close 
2018-08-02 22:59:04 -07:00
Victor Berchet
1000fb8406 test(ivy): add tests for attributes and bound attributes to the tpl transform ()
PR Close 
2018-08-02 22:59:04 -07:00
Victor Berchet
b38931b484 fix(ivy): use devModeEqual in no change mode ()
To avoid the unfamous error `Expression has changed after it was checked.`

PR Close 
2018-08-02 22:57:28 -07:00
Kara Erickson
1fb7111da1 fix(ivy): content query results should be available in content hooks ()
PR Close 
2018-08-02 19:32:09 -07:00
Pawel Kozlowski
c2c12e52fe feat(ivy): support ng-container as a child of an already inserted view ()
PR Close 
2018-08-02 18:50:03 -07:00
Pawel Kozlowski
28c7a4efbc feat(ivy): add basic support for ng-container ()
This commit adds basic support for <ng-container> - most of the
functionality should work as long as <ng-container> is a child of
a regular element.

PR Close 
2018-08-02 18:50:03 -07:00
Igor Minar
4f741e74e1 docs: release notes for the v6.1.1 release 2018-08-02 14:23:36 -07:00
Igor Minar
6bacd32fbd release: cut the v7.0.0-beta.0 release 2018-08-02 11:42:10 -07:00
Aldo Roman Nureña
183757daa2 fix(core): fix tests for uninitialized @Output error ()
PR Close 
2018-08-02 09:37:21 -07:00
Aldo Roman
adf510f986 fix(core): throw error message when @Output not initialized ()
Closes 

PR Close 
2018-08-02 09:37:21 -07:00
Brandon Roberts
74bce18190 Revert "docs: refactor http module import for style guide app.module ()" ()
This reverts commit 88da8f3d52045aa12f6b6a499da070310ae157c6.

PR Close 
2018-08-02 09:20:12 -07:00
Alan
3ba5220839 refactor(forms): ngForm element selector has been deprecated in favor of ng-form ()
This has been deprecated to keep selector consistent with other core Angular selectors.  As element selectors are in kebab-case.

 Now deprecated:
 ```
 <ngForm #myForm="ngForm">
 ```

 After:
 ```
 <ng-form #myForm="ngForm">
 ```

You can also choose to supress this warnings by providing a config for `FormsModule` during import:

```ts
imports: [
 FormsModule.withConfig({warnOnDeprecatedNgFormSelector: 'never'});
]

Closes: 

PR Close 
2018-08-02 08:34:43 -07:00
Drummond Dawson
5982425436 test(common): TokenExtractor should extend HttpXsrfTokenExtractor in xsrf spec ()
PR Close 
2018-08-02 08:34:15 -07:00
Drummond Dawson
140248ade0 test(common): remove unused import in xsrf spec ()
PR Close 
2018-08-02 08:34:14 -07:00
Frederik Schlemmer
e60737f63c docs(docs-infra): adds note according to Symlink problem ()
docs: adds note according to Symlink problem

Closes 
docs(docs-infra): adds section "Developing on Windows"


Merge remote-tracking branch 'origin/aioREADME' into aioREADME


docs(docs-infra): adds information about admin rights


docs(docs-infra): adds hint


docs(docs-infra): Change to link


PR Close 
2018-08-02 08:33:24 -07:00
George Kalpakas
7b89711402 docs(elements): add section about custom element typings in elements guide ()
PR Close 
2018-08-02 08:32:59 -07:00
George Kalpakas
f1223628a6 docs(elements): add link to full example in elements guide ()
PR Close 
2018-08-02 08:32:59 -07:00
George Kalpakas
1b4269ad85 docs(elements): remove unnecessary whitespace in elements guide ()
PR Close 
2018-08-02 08:32:59 -07:00
Pete Bacon Darwin
a224df43af feat(docs-infra): support sending Google Analytics events ()
PR Close 
2018-08-01 17:04:19 -07:00
Victor Berchet
d46a961509 docs(ivy): API doc tweaks ()
PR Close 
2018-08-01 16:19:54 -07:00
kristinavavrova
20b453008f docs: update reactiveconf 2018 in events ()
PR Close 
2018-08-01 16:15:18 -07:00
Sámal Rasmussen
06a1974a48 docs: Update the link to the Jasmine docs ()
Solves .

Also update the http part of the link to to https.

PR Close 
2018-08-01 16:12:43 -07:00
Igor Minar
3d7f555044 ci: update pullapprove groups and add docs ()
With this update to permissions the docs team can easily identify the technical reviewer for a particular doc, which should streamline the reviews.

I also added Jennifer into all groups that contain docs, so that she can approve changes that contain only editorial changes.

Closes 

PR Close 
2018-08-01 15:53:41 -07:00
George Kalpakas
06af7943a4 test(upgrade): run tests against AngularJS v1.7.x as well ()
PR Close 
2018-08-01 14:10:21 -07:00
Paul Gschwendtner
fa70a2a650 build(bazel): entry point file couldn't be resolved [ts-api-guardian] ()
* When using `ts-api-guardian` on Windows, the input file can't be found due to wrong normalized path delimiters.

PR Close 
2018-08-01 13:29:27 -07:00
Greg Magolan
bde4402675 build: update hello_world__closure to google-closure-compiler 20180716.0.0 ()
PR Close 
2018-08-01 13:23:35 -07:00
Greg Magolan
7d6b258778 build: revert yarn.lock rxjs version to 6.0.0 ()
PR Close 
2018-08-01 13:23:35 -07:00