Miško Hevery
83c1383701
build: upgrade circle/build into large class (more ram) ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Miško Hevery
c66283ad66
build: add istruction for running and debugging tests to `BAZEL.md` ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Miško Hevery
ae97920fe2
build: move _testing_init into tools; limit web_test concurrency ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
533a010b28
build(platform-browser): exclude node incompatible tests from :test target. ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
6b81d1c9b9
build(compiler-cli): exclude command line scripts from compilation ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
fefc081e1b
build(service-worker): enable karma bazel test for service-worker ( #21053 )
...
Corrected the environment detection code which was incorretly throwing exception in the browser if `require` function was found.
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
bdee1f4a25
build(upgrade): enable bazel tests for upgrade ( #21053 )
...
Added missing angular-mocks dependency.
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
40dfe39e64
build(router): enable bazel tests for router ( #21053 )
...
Bazel runs on newer version of RxJs than is installed in Yarn. The never version subclasses `EmptyError` in a different way which fails the `instanceof` check. This change makes the `instanceof` check more robust with respect to `EmptyError`.
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
3d50fd7cac
build: add bazel test rules for remainder of packages ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
cc1058f6e1
build: add bazel test rules for more packages ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
47e251a80a
build: remove `main()` from specs ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
47bcb5bc35
build(core): add bazel test targets for core ( #21053 )
...
- Add tests target for `test`, `test_node_only` and `test_web` in `core` package.
- Created a `_testing_init` pseudo package where bootstrap code for tests is kept.
- Moved `source_map_util` from `test` to `testing` so to prevent circular dependency.
- Removed `visibility:public` for testing `BUILD` packages.
PR Close #21053
2017-12-22 13:10:51 -08:00
Miško Hevery
f3fc74ab67
build(core): remove `main()` from specs ( #21053 )
...
`main()` function used to be needed to support dart, since dart
Does not allow top level statements. Since we no longer use dart
The need for `main()` has been removed.
In preparation for `Basel` and standardized way of running tests
we are removing `main()`
PR Close #21053
2017-12-22 13:10:51 -08:00
Matias Niemelä
86a36eaadd
fix(animations): avoid infinite loop with multiple blocked sub triggers ( #21119 )
...
This patch fixes animations so that if multiple sub @triggers are used
and are blocked by a parent animation then the engine will not lead
itself into an infinite loop.
PR Close #21119
2017-12-22 09:23:28 -08:00
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