Alex Eagle
03f93b3772
Revert "build: update to Bazel 0.14.0 ( #24296 )" ( #24492 )
...
This reverts commit 0d07d273dc
.
Fixes #24484
PR Close #24492
2018-06-13 16:47:18 -07:00
Judy Bogart
a577c9e1f4
docs: edit api doc comments for new template and style ( #23682 )
...
PR Close #23682
2018-06-13 13:31:10 -07:00
Fabian Wiles
2b49bf77af
feat(common): introduce KeyValuePipe ( #24319 )
...
PR Close #24319
2018-06-13 13:30:49 -07:00
Fabian Wiles
92b278c097
feat(core): export defaultKeyValueDiffers to private api ( #24319 )
...
PR Close #24319
2018-06-13 13:30:49 -07:00
Brandon Roberts
513f645894
docs(aio): remove links to outdated live examples from the API documenation ( #23966 )
...
Closes #21525
PR Close #23966
2018-06-13 13:29:12 -07:00
Ben Lesh
82c5313740
feat(ivy): namespaced attributes added to output instructions ( #24386 )
...
NOTE: This does NOT add parsing of namespaced attributes
- Adds AttributeMarker for namespaced attributes
- Adds test for namespaced attributes
- Updates AttributeMarker enum to use CamelCase, and not UPPER_CASE names
PR Close #24386
2018-06-13 13:28:16 -07:00
Marc Laval
e3c54e4465
refactor(ivy): use comment nodes to mark view containers ( #24346 )
...
PR Close #24346
2018-06-13 11:23:21 -07:00
Jason Aden
5731d0741a
fix(router): fix lazy loading of aux routes ( #23459 )
...
Fixes #10981
PR Close #23459
2018-06-13 11:20:20 -07:00
Misko Hevery
70ef061fa6
fix(ivy): remove debugger statement ( #24480 )
...
PR Close #24480
2018-06-13 10:30:08 -07:00
Alex Eagle
c2b5ebfa24
build: update buildifier to latest ( #24296 )
...
this matches the version in ngcontainer:0.3.1
PR Close #24296
2018-06-12 11:42:35 -07:00
Alex Eagle
0d07d273dc
build: update to Bazel 0.14.0 ( #24296 )
...
Also update usage of the ctx.actions.args to a newer preferred API
PR Close #24296
2018-06-12 11:42:35 -07:00
Alex Eagle
282d3510cf
fix(bazel): Allow ng_module to depend on targets w no deps ( #24446 )
...
PR Close #24446
2018-06-12 11:35:52 -07:00
George Kalpakas
3ed2d75336
fix(service-worker): fix `SwPush.unsubscribe()` ( #24162 )
...
Fixes #24095
PR Close #24162
2018-06-11 14:04:30 -04:00
George Kalpakas
4d55dfd9d9
test(service-worker): allow `SwPush` tests to run on Node.js ( #24162 )
...
PR Close #24162
2018-06-11 14:04:30 -04:00
George Kalpakas
86bf5f3912
test(service-worker): add tests for `SwPush` ( #24162 )
...
PR Close #24162
2018-06-11 14:04:30 -04:00
George Kalpakas
dbfb6b9d45
refactor(service-worker): minor mocks refactoring ( #24162 )
...
PR Close #24162
2018-06-11 14:04:30 -04:00
Ben Lesh
8dd99ac550
refactor(ivy): add element instruction, reducing output size ( #24379 )
...
- Adds an element instruction
- Reduces size of compiled output slightly
PR Close #24379
2018-06-11 14:02:48 -04:00
Pawel Kozlowski
014949f74c
fix(ivy): correctly handle queries with embedded views ( #24418 )
...
This PR takes care of all the remaining cases where embedded view definition
and insertion points are different.
PR Close #24418
2018-06-11 14:01:01 -04:00
Kara Erickson
29eb24b142
refactor(ivy): combine LView with data ( #24382 )
...
PR Close #24382
2018-06-08 21:41:01 -07:00
Matias Niemelä
dc4a3d00d0
fix(animations): always render end-state styles for orphaned DOM nodes ( #24236 )
...
This patch ensures that any destination animation styling (state values)
are always applied even if the DOM node is not apart of the DOM.
PR Close #24236
2018-06-08 16:35:26 -07:00
Victor Savkin
49c5234c68
feat(router): implement scrolling restoration service ( #20030 )
...
For documentation, see `RouterModule.scrollPositionRestoration`
Fixes #13636 #10929 #7791 #6595
PR Close #20030
2018-06-08 15:30:52 -07:00
Matias Niemelä
1b253e14ff
fix(ivy): special case [style] and [class] bindings for future use ( #23232 )
...
PR Close #23232
2018-06-08 15:27:58 -07:00
Ben Lesh
8c1ac28275
feat(ivy): now supports SVG and MathML elements ( #24377 )
...
- Adds support for ivy creating SVG and MathML elements properly using
createElementNS
PR Close #24377
2018-06-08 15:27:35 -07:00
Victor Berchet
5ef7a07c4b
docs(ivy): add `<ng-container>` to the remaining work items ( #24381 )
...
PR Close #24381
2018-06-08 15:27:16 -07:00
Alex Rickabaugh
113556357a
fix(ivy): compute transitive scopes from NgModuleDef only ( #24334 )
...
Previously, the transitive scopes of an NgModuleDef were computed
during execution of the @NgModule decorator. This meant that JIT-
compiled modules could only import other JIT-compiled modules, as
the import mechanism relied on the calculation of transitive scopes
to already have happened for the imported module.
This change moves computation of transitive scopes to a function
`transitiveScopesFor` (and makes it lazy). This opens the door for
AOT -> JIT or JIT -> AOT imports, as transitive scopes for AOT
modules can be calculated when needed by JIT, and AOT modules can
also write expressions that call `transitiveScopesFor` when
importing a JIT-compiled module.
PR Close #24334
2018-06-08 13:37:10 -07:00
Alex Rickabaugh
7983f0a69b
ci(ivy): configure CI environments for Ivy JIT and AOT ( #24309 )
...
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot.
Both run a subset of the tests that have been marked with Bazel tags as
being appropriate for that environment.
Once all the tests pass, builds are published to the *-builds repo both
for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot.
PR Close #24309
2018-06-08 13:34:27 -07:00
Pawel Kozlowski
d4c66d5edb
docs(ivy): update status of impl progress ( #24323 )
...
Updating runtime implementation progress after merge of #23991
PR Close #24323
2018-06-07 18:47:36 -04:00
Greg Magolan
a6e797b8f5
build(bazel): fix ng_package rollup root dir for fesm2015 output ( #24298 )
...
PR Close #24298
2018-06-07 17:56:09 -04:00
Alex Rickabaugh
ca79e11bfa
feat(ivy): a generic visitor which allows prefixing nodes for ngtsc ( #24230 )
...
This adds ngtsc/util/src/visitor, a utility for visiting TS ASTs that
can add synthetic nodes immediately prior to certain types of nodes (e.g.
class declarations). It's useful to lift definitions that need to be
referenced repeatedly in generated code outside of the class that defines
them.
PR Close #24230
2018-06-07 17:55:14 -04:00
Kara Erickson
f781f741ea
refactor(ivy): remove need for LContainer.template ( #24335 )
...
PR Close #24335
2018-06-07 16:40:21 -04:00
Alex Rickabaugh
bd02b27ee1
feat(core): expose a Compiler API for accessing module ids from NgModule types ( #24258 )
...
This will allow RouterTestingModule to better support lazy loading of modules
when using summaries, since it can detect whether a module is already loaded
if it can access the id.
PR Close #24258
2018-06-07 16:19:08 -04:00
Jason Aden
e3759f7a73
feat(ivy): add support of ApplicationRef.bootstrapModuleFactory ( #23811 )
...
PR Close #23811
2018-06-07 16:15:26 -04:00
Victor Berchet
7de2ba0e22
Revert "feat(ivy): add namespace instructions for SVG and others ( #23899 )"
...
This reverts commit 81e4b2a4bf
.
2018-06-06 13:38:21 -07:00
Victor Berchet
07b4c8be42
Revert "feat(ivy): added namespaced attributes ( #23899 )"
...
This reverts commit d6989c80d3
.
2018-06-06 13:38:20 -07:00
Victor Berchet
3128b26e5c
Revert "feat(ivy): add element instruction ( #23899 )"
...
This reverts commit b415010222
.
2018-06-06 13:38:19 -07:00
Victor Berchet
4f5b01a98a
Revert "refactor(ivy): Use AttributeMarker instead of NS ( #23899 )"
...
This reverts commit 1208a35373
.
2018-06-06 13:38:18 -07:00
Victor Berchet
c151f9cdc8
Revert "refactor(ivy): rename setNS, setHtmlNS and friends to namespace, namespaceHTML, etc ( #23899 )"
...
This reverts commit 0d06c866c6
.
2018-06-06 13:38:17 -07:00
Victor Berchet
24ab0a7db0
Revert "refactor(ivy): clean up ( #23899 )"
...
This reverts commit 856ee73464
.
2018-06-06 13:38:13 -07:00
Victor Berchet
31988a6ff9
Revert "test(ivy): add testing for namespaced attributes ( #23899 )"
...
This reverts commit e994b11105
.
2018-06-06 13:38:12 -07:00
Victor Berchet
8ac74da016
Revert "docs(ivy): update SVG status ( #23899 )"
...
This reverts commit 1915e47d11
.
2018-06-06 13:38:12 -07:00
Victor Berchet
355e0b0587
Revert "test(ivy): update test that is flaky in IE ( #23899 )"
...
This reverts commit 51e9e64c5a
.
2018-06-06 13:38:11 -07:00
Victor Berchet
d96ae123b2
Revert "feat(ivy): SVG now handled by ivy compiler ( #23899 )"
...
This reverts commit 1007d1ad27
.
2018-06-06 13:38:10 -07:00
Victor Berchet
7e73287676
Revert "feat(ivy): added new namespace and element instructions to JIT environment ( #23899 )"
...
This reverts commit acf270d724
.
2018-06-06 13:38:00 -07:00
Ben Lesh
acf270d724
feat(ivy): added new namespace and element instructions to JIT environment ( #23899 )
...
PR Close #23899
2018-06-06 10:22:28 -07:00
Ben Lesh
1007d1ad27
feat(ivy): SVG now handled by ivy compiler ( #23899 )
...
PR Close #23899
2018-06-06 10:22:28 -07:00
Ben Lesh
51e9e64c5a
test(ivy): update test that is flaky in IE ( #23899 )
...
PR Close #23899
2018-06-06 10:22:27 -07:00
Ben Lesh
1915e47d11
docs(ivy): update SVG status ( #23899 )
...
PR Close #23899
2018-06-06 10:22:27 -07:00
Ben Lesh
e994b11105
test(ivy): add testing for namespaced attributes ( #23899 )
...
PR Close #23899
2018-06-06 10:22:27 -07:00
Ben Lesh
856ee73464
refactor(ivy): clean up ( #23899 )
...
- remove unnecessary debugger statement
- rename `isSelfClosingElement` to `isEmptyElement`
- remove unnecessary template anchor in test
PR Close #23899
2018-06-06 10:22:27 -07:00
Ben Lesh
0d06c866c6
refactor(ivy): rename setNS, setHtmlNS and friends to namespace, namespaceHTML, etc ( #23899 )
...
- Renames functions
- Adds documentation
PR Close #23899
2018-06-06 10:22:27 -07:00