10870 Commits

Author SHA1 Message Date
Greg Magolan
161ff5c79d feat(bazel): protractor_web_test_suite for release ()
PR Close 
2018-07-12 16:34:45 -04:00
mrmeku
71e0df039c feat(bazel): Initial commit of protractor_web_test_suite ()
Co-authored-by: Andrew Z Allen <me@andrewzallen.com>

PR Close 
2018-07-12 16:34:45 -04:00
Pawel Kozlowski
0399c6972a refactor(ivy): remove content query creation from directive factories ()
PR Close 
2018-07-12 16:32:33 -04:00
Jason Aden
328971ffcc feat(router): add urlUpdateStrategy allow updating the browser URL at the beginning of navigation ()
Fixes 

PR Close 
2018-07-12 14:40:08 -04:00
Rado Kirov
4d8b8ad372 build(bazel): Undo temporary dependency on unleased TS bazel rules ()
Point to a proper new release version 0.15.1.

PR Close 
2018-07-12 14:38:14 -04:00
Arun Kumar
0d6b74dd87 docs: fix typo in component architecture guide ()
Change the sentence from 'this tells Angular how provide ...' to 'this tells Angular how to provide ...'. The current sentence does not make grammatical sense.

PR Close 
2018-07-12 14:31:27 -04:00
Miško Hevery
52d11f63cf release: cut the v6.0.9 release 2018-07-12 09:10:44 -07:00
Miško Hevery
a14f25c338 release: cut the v6.1.0-rc.0 release 2018-07-12 09:08:20 -07:00
Victor Berchet
0b4d85e9f1 fix(common): format fractional seconds ()
fix a bug introduced in 

PR Close 
2018-07-11 14:32:32 -07:00
Miško Hevery
b9e095aa31 release: cut the v6.0.8 release 2018-07-11 14:01:40 -07:00
Brandon Roberts
05e3e4d71e docs(forms): update API reference for form validators ()
PR Close 
2018-07-10 18:52:40 -07:00
Tyler Akins
81a9db2b0a docs(forms): added missing backtick ()
Fixed trivial markdown problem with a missing backtick.

PR Close 
2018-07-10 18:51:08 -07:00
Daniel Sogl
b7823e7087 docs: unified string chaining ()
PR Close 
2018-07-10 18:50:44 -07:00
Daniel Sogl
3f8ab80583 docs(aio): unified string chaining ()
PR Close 
2018-07-10 18:50:44 -07:00
Jamie Krug
ffb9dc6cf9 docs: fix incorrect forms selector references ()
PR Close 
2018-07-10 18:50:17 -07:00
sergeome
86d254d386 fix(router): add ability to recover from malformed url ()
Fixes 

PR Close 
2018-07-10 18:48:52 -07:00
Jamie Krug
505b54b86b docs: fix typos referencing inline component styles ()
PR Close 
2018-07-10 18:48:29 -07:00
Victor Berchet
a527c695aa fix(common): do not round factional seconds ()
fixes 

PR Close 
2018-07-10 18:48:05 -07:00
Alex Eagle
80576641a8 build: update to latest nodejs bazel rules ()
PR Close 
2018-07-10 18:47:39 -07:00
Judy Bogart
50fbed8e5f docs: correct project definition ()
PR Close 
2018-07-10 18:47:19 -07:00
vikerman
7d27ecc319
fix(platform-browser): workaround wrong import path generated by ngc for DOCUMENT () 2018-07-10 17:09:29 -07:00
George Kalpakas
03616bcb43 docs: fix typo in Universal guide ()
PR Close 
2018-07-10 11:12:45 -07:00
Kara Erickson
3a19f70d1c refactor(ivy): replace pNextOrParent with TNode props ()
PR Close 
2018-07-10 11:12:27 -07:00
Kara Erickson
dc1f1295ee fix(ivy): support projecting into dynamic views ()
PR Close 
2018-07-10 11:12:27 -07:00
Judy Bogart
49df4ef454 docs: add tree-shakable providers ()
PR Close 
2018-07-10 11:12:07 -07:00
Judy Bogart
e1146f3d06 docs: clarify wording in architecture overview ()
Closes 
Closes 

PR Close 
2018-07-10 11:12:07 -07:00
Jeff Burn
0d5f2d3c7e fix(compiler-cli): Use typescript to resolve modules for metadata ()
The current module resolution simply attaches .ts to the import/export path, which does
not work if the path is using Node / CommonJS behavior to resolve to an index.ts file.
This patch uses typescript's module resolution logic, and will attempt to load the original
typescript file if this resolution returns a .js or .d.ts file

PR Close 
2018-07-10 11:11:48 -07:00
Daniel Sogl
a167bca927 docs: unified console.log single string style ()
PR Close 
2018-07-10 11:11:29 -07:00
Daniel Sogl
e3709f5d48 docs(aio): unified console.log single string style ()
PR Close 
2018-07-10 11:11:29 -07:00
Vikram Subramanian
197387d05e fix(platform-browser): mark Meta and Title services as tree shakable providers ()
This lets services that use Meta and Title services to be tree shakable and provided in root.

PR Close 
2018-07-10 11:11:09 -07:00
Vikram Subramanian
1089261717 fix(core): mark NgModule as not the root if APP_ROOT is set to false ()
Tree shakable providers use the APP_ROOT token to determine where to attach themselves. APP_ROOT gets set on NgModule with BrowserModule irrespective of whether it is actually the root(Ex. in case of SSR app where the shell app is first bootstrapped without BrowserModule being the root module).

This change allows a NgModule with BrowserModule to explicitly mark itself as not the root by setting APP_ROOT token to false. This allows tree shakable providers to be attached to the right rott module.

PR Close 
2018-07-10 11:09:36 -07:00
George Kalpakas
ddb792da28 build: remove unnecessary internal-angular karma reporter ()
The reporter was added in 87d56acda, with the purpose of fixing
source-map paths (which was apparently needed back then). Things have
moved around a lot since then and the custom reporter doesn't seem to be
necessary any more. By removing the reporter, we have one less thing to
worry about while upgrading karma; plus we get improvements in built-in
reporters for free.

Output with the custom reporter:
```
at someMethod (packages/core/.../some-file.ts:13:37)
```

Output with the built-in reporter:
```
at someMethod (packages/core/.../some-file.ts:13.37 <- dist/all/@angular/core/.../some-file.js:1:337)
```

PR Close 
2018-07-09 15:10:49 -07:00
George Kalpakas
89203c96ad build: make internal-angular karma reporter compatible with latest karma ()
Due to changes in karma@1.0.0, `internal-angular` karma reporter stopped
showing browser logs (such as `console.log()` etc.).
Related to d571a5173.

PR Close 
2018-07-09 15:10:49 -07:00
George Kalpakas
3d20c50156 fix(ivy): correctly resolve Array property access ()
PR Close 
2018-07-09 15:10:29 -07:00
Olivier Combe
dcabb05102 fix(common): use correct currency format for locale de-AT ()
Fixes 
PR Close 
2018-07-09 15:10:06 -07:00
George Kalpakas
68814040e3 fix(language-service): do not overwrite native Reflect ()
Fixes 

PR Close 
2018-07-09 15:09:16 -07:00
Matias Niemelä
3980640d53 feat(ivy): properly apply style="", [style], [style.foo] and [attr.style] bindings ()
PR Close 
2018-07-06 13:51:00 -07:00
George Kalpakas
52d43a99ef fix(service-worker): avoid network requests when looking up hashed resources in cache ()
PR Close 
2018-07-06 13:50:37 -07:00
George Kalpakas
45feb10c46 refactor(service-worker): avoid unnecessary operations and remove unused code ()
PR Close 
2018-07-06 13:50:37 -07:00
George Kalpakas
250527ca68 feat(service-worker): add support for ? in SW config globbing ()
The globbing is used in the following sections:
- `assetGroups` > `resources` > `files`/`versionedFiles`
- `assetGroups` > `resources` > `urls`
- `dataGroups` > `urls`
- `navigationUrls`

Query params are ignored for `files`/`versionedFiles` and
`navigationUrls`, but they are still taken into account for
`assetGroups`/`dataGroups` `urls`. To avoid a breaking change, `?` is
matched literally for these patterns.

PR Close 
2018-07-06 13:50:17 -07:00
Paul Spears
94076c934c docs: update Angular Boot Camp description ()
PR Close 
2018-07-06 13:49:56 -07:00
Daniel
f936b8cbd2 docs: refactored ng-container code ()
PR Close 
2018-07-06 13:49:35 -07:00
George Kalpakas
d571a51739 build: upgrade karma and related dependencies ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
86b1cc7313 build: upgrade jasmine to 3.1.0 ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
787c54736c test: run unit tests in random order ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
19544060d3 refactor: re-organize and "modernize" cjs-jasmine scripts ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
c0e2dba07b build: upgrade jasmine to 2.99.x and fix tests ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
e01b539ee5 refactor: infer type for it() assertion functions ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
809e8f742e test: make NgMatchers type-aware ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
00c110b055 build: upgrade jasmine (and related typings) to latest version ()
With these changes, the types are a little stricter now and also not
compatible with Protractor's jasmine-like syntax. So, we have to also
use `@types/jasminewd2` for e2e tests (but not for non-e2e tests).

I also had to "augment" `@types/jasminewd2`, because the latest
typings from [DefinitelyTyped][1] do not reflect the fact that the
`jasminewd2` version (v2.1.0) currently used by Protractor supports
passing a `done` callback to a spec.

[1]: 566e039485/types/jasminewd2/index.d.ts (L9-L15)

Fixes 
Closes 

PR Close 
2018-07-06 13:48:02 -07:00