Jason Aden
5ba1cf1063
fix(router): fix wildcard route with lazy loaded module (again) ( #18139 )
...
Closes #13848
Description:
We doesn't handle children of wildcard route properly link. It's always an empty array.
Created from #13851
PR Close #18139
2017-12-22 09:20:11 -08:00
Olivier Combe
07b81ae741
fix(common): handle JS floating point errors in percent pipe ( #20329 )
...
Fixes #20136
PR Close #20329
2017-12-22 09:02:49 -08:00
Miško Hevery
5a7bf36723
build: fix circular dep between interface and l_node by merging ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
66528a21f6
build: fix benchmarks for render3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
a77757277b
build: yarn buildifier ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Pawel Kozlowski
4f05d022c1
feat(core): support 'read' option for ngIvy queries ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
5df343169e
docs(core): add missing docs to component and fix formatting ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Marc Laval
764fea1344
test(core): animation renderer factory in render3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Pawel Kozlowski
bbdea96a66
refactor: remove import circular dependencies ( #20855 )
...
This PR fixes a circular dependency among those files in Renderer3:
`query` -> `di` -> `instructions` -> `query` -> ...
Looking at the above dependencies the `di` -> `instructions` import is
a problematic one. Previously `di` had an import from `instructions`
since we can known about "current node" only in `instructions`
(and we need "current node" to create node injector instances).
This commit refactors the code in the way that functions in the
`di` file don't depend on any info stored module-global variables
in `instructions`.
PR Close #20855
2017-12-21 21:40:58 -08:00
Marc Laval
d1de587ce0
feat(core): add renderer factory in render3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Pawel Kozlowski
147aec43bd
feat: support queries for elements with local names ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
1f5049f30c
style: fix formatting errors ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Marc Laval
09e3839994
perf: use style.setProperty instead of setAttribute in render3 and iv benchmarks ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
19eeba2281
refactor(core): rename instructions for consistency ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
6cc8f2298e
docs(core): add docs to instructions, minor renames ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
83b27bac17
style: fix formatting errors ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
b462f49ce7
refactor(core): renamed and split out interfaces ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
1a9064ba2b
docs(core): add more comments to di and fix formatting ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
5bc869cb24
docs(core): document di and minor renames ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
8fdb1e09c1
refactor(core): store directive defs in static data ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
f3d38ce053
docs(core): add comments to node_manipulation functions ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Kara Erickson
05953b3b83
docs(core): add comments to assert functions ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Marc Laval
f75296e04e
perf: add benchmarks for IV and render3 with functions (tree) ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Marc Laval
0867e85163
perf: add large table and deep tree benchmarks for render3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
93b00cceb6
refactor(core): store locals in main array in rederer3 ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Miško Hevery
0fa818b318
feat(core): Moving Renderer3 into @angular/core ( #20855 )
...
PR Close #20855
2017-12-21 21:40:58 -08:00
Dmitry Fisenko
bc66d27938
docs(service-worker): fix word wrap ( #21114 )
...
The fix removes space between 'c' and 'aches' in docs
PR Close #21114
2017-12-21 20:12:18 -08:00
Igor Minar
6a5818454f
build: make umd.min.js source map paths relative ( #21147 )
...
I'm not quite sure how to test this since we don't have any infrastructure for these kinds of tests.
I did verify the fix manually though.
Fixes #15740
PR Close #21147
2017-12-21 20:11:20 -08:00
Alex Eagle
27fc458ef6
build: fix pullapprove ( #21140 )
...
Currently it gives a green status if I edit a file I'm an owner of,
even without anyone else's approval.
PR Close #21140
2017-12-21 14:04:20 -08:00
Alex Eagle
0487a9f140
build: update pullapprove: ( #21117 )
...
- remove ex-team members
- allow author to approve their own change
- move more bazel files under the bazel group
PR Close #21117
2017-12-21 13:17:00 -08:00
Martin Probst
871ece6123
fix(animations): renaming issue with DOMAnimation. ( #21125 )
...
Closure Compiler renames all properties that are "internal" to the
program. `DOMAnimation` however is external, it is a browser API, so its
fields must not be renamed.
This change marks `DOMAnimation` as external using `declare interface`,
which will cause Closure Compiler to back off and prevent renaming of
any of its fields.
PR Close #21125
2017-12-21 09:44:37 -08:00
Alex Rickabaugh
abca7c0243
docs: add changelog for 5.2.0-beta.1
2017-12-20 13:42:24 -08:00
Alex Rickabaugh
1f5256e745
release: cut the 5.1.0-beta.1 release
2017-12-20 13:39:58 -08:00
Alex Rickabaugh
6990354047
docs: add changelog for 5.1.2
2017-12-20 13:39:37 -08:00
Alex Rickabaugh
135ead6c97
ci(router): update the public API guard for the router
...
This fixes a badly applied revert earlier.
2017-12-20 11:54:22 -08:00
Chuck Jazdzewski
33c0ee3441
fix(compiler): report an error for recursive module references
...
Modules that directly or indirectly export or imported themselves
reports an error instead of generating a stack fault.
Fixes : #19979
2017-12-20 10:54:45 -08:00
Zaven Muradyan
5efea2f6a0
feat(router): add "paramsInheritanceStrategy" router configuration option
...
Previously, the router would merge path and matrix params, as well as
data/resolve, with special rules (only merging down when the route has
an empty path, or is component-less). This change adds an extra option
"paramsInheritanceStrategy" which, when set to 'always', makes child
routes unconditionally inherit params from parent routes.
Closes #20572 .
2017-12-20 10:06:24 -08:00
Chuck Jazdzewski
5f23a1223f
fix(compiler-cli): do not force type checking on .js files
...
The compiler host would force any file that is in node_modules
into the list of files that needed to be type checked which
captures .js files if `allowJs` is set to `true`. This should
have only forced .d.ts files into the project to enable
generation of factories.
Fixes : #19757
2017-12-20 10:01:10 -08:00
Chuck Jazdzewski
30208759cd
fix(compiler-cli): do not emit invalid .metadata.json files
...
If no metadata is collected the `ngc` would generate file
that contained `[null]` instead of eliding the `.metadata.json`
file.
Fixes : #20479
2017-12-20 09:58:36 -08:00
Alex Rickabaugh
e4c53f8529
Revert "feat(router): add a function set up router sync when used with downgradeModule"
...
This reverts commit f5bb99931989357c4a053c93c82b92c2740e7d5e. The commit
does not include proper tests.
2017-12-20 09:15:15 -08:00
Alex Rickabaugh
b61e3e9d20
Revert "fix(router): replaceURL when reacting to a change coming from angularjs"
...
This reverts commit 0b2d636b75d69e17bff2eb875181a2a6242e1abb. The commit
does not include proper tests.
2017-12-20 09:14:27 -08:00
chembu
f593552cfe
docs(aio): Rename service worker files, update examples, move service worker under Techniques
2017-12-19 11:07:57 -08:00
Dmytro Yarmak
8458647232
docs(aio): fix inconsistency in lifecycle hooks table
2017-12-19 10:48:29 -08:00
Jason Aden
a693c5614c
ci: add router/testing to public API guard
2017-12-19 10:45:33 -08:00
George Kalpakas
8ceffd8b48
fix(aio): improve transitions between pages
...
- Avoid unnecessary animations, style transitions, repositioning on
initial rendering.
- Better handle transitioning from/to Home page (which is the only page
with transparent top-menu).
- Better coordinate sidenav and hamburger animations with page
transitions.
- Improve fade-in/out animations.
Fixes #20996
2017-12-19 10:45:19 -08:00
George Kalpakas
2986e25abb
refactor(aio): clean up top-menu CSS
...
- Clean-up and re-organize top-menu styles.
- Clean-up and merge hamburger styles into top-menu styles.
2017-12-19 10:45:19 -08:00
George Kalpakas
f8fe53aeb0
feat(aio): support disabling DocViewer
animations via class
2017-12-19 10:45:19 -08:00
Jesus Rodriguez
74e3115686
build(aio): make zipper work correctly with CLI projects
2017-12-19 10:44:56 -08:00
George Kalpakas
3846f19f22
docs(core): move core examples into examples/core/
directory
...
This allows examples to be found during aio's `yarn serve-and-sync`, which only
looks for examples in `packages/examples/<packageName>/**/*`, where
`packageName` is the name of the package that the modified file belonged to;
e.g. `core`, `common`, etc.).
2017-12-18 12:10:29 -08:00
vsavkin
057513536b
fix(upgrade): replaces get/setAngularLib with get/setAngularJSGlobal
...
The current names are confusing because Angular should refer to the latest version of the framework.
2017-12-18 12:10:01 -08:00