10955 Commits

Author SHA1 Message Date
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
Greg Magolan
1e74ea9e60 build(bazel): update to rule_nodejs 0.10.0 ()
PR Close 
2018-07-06 10:17:36 -07:00
cexbrayat
f62876bbcb fix(ivy): pipes are pure by default ()
PR Close 
2018-07-06 10:17:17 -07:00
cexbrayat
fddd2af4fc test: integration test for TS 2.9.x ()
PR Close 
2018-07-06 10:16:58 -07:00
Max Ivanov
d5a9396017 docs(changelog): correct inaccuracies ()
PR Close 
2018-07-06 10:16:37 -07:00
Judy Bogart
3e6a722ddb docs: add workspace and related cli terms ()
PR Close 
2018-07-06 10:13:39 -07:00
riren
5fe1e74dd3 docs(common): fix in the documentation of PUT ()
PR Close 
2018-07-06 10:13:20 -07:00
Sergej
f974c48885 docs: describe rounding behaviour of 'DecimalPipe' ()
PR Close 
2018-07-06 10:13:00 -07:00
Will
568612349f docs(aio): added a link to Angular Zero online course (Traditional Chinese) ()
PR Close 
2018-07-06 10:11:01 -07:00
Kapunahele Wong
b719905f9b docs: clarify faqs about services ()
PR Close 
2018-07-06 10:10:41 -07:00
ampGular
56a8533cf3 docs: add app.module to changed documents ()
PR Close 
2018-07-06 10:10:20 -07:00
Sarun Intaralawan
b72dbc843f docs(router): add paramsInheritanceStrategy documentation ()
PR Close 
2018-07-06 10:10:01 -07:00
Rafael
8fe8b8fcff docs: fix typos in 'Httpclient' docs ()
PR Close 
2018-07-06 10:09:40 -07:00
Alex Rickabaugh
b6af8700ce feat(ivy): AOT support for compilation of @Pipes ()
This commit adds support to ngtsc for compilation of the @Pipe
annotation, including support for pipes in @NgModule scopes.

PR Close 
2018-07-03 18:36:02 -04:00
Alex Rickabaugh
3d52174bf1 feat(ivy): JIT support for compilation of @Pipes ()
Adds support for compiling @Pipe in JIT mode, along with tests
to verify that certain aspects of compilation are correct.

PR Close 
2018-07-03 18:36:02 -04:00
Alex Rickabaugh
dbdcfed2bd feat(ivy): support pipe compilation from local metadata ()
This updates the r3_pipe_compiler to not depend on global analysis,
and to produce ngPipeDef instructions in the same way that the other
compilers do. It's a precursor to JIT and AOT implementations of
@Pipe compilation.

PR Close 
2018-07-03 18:36:02 -04:00