Jason Aden
20c463e97c
feat(router): add navigation execution context info to activation hooks ( #24204 )
...
This change adds to internal API hooks (undocumented API) for
`before/afterPreactivation`. The immediate need for this API is to
allow applications to build support for marshalling navigation between
a web worker and the main application.
Fixes #24202
PR Close #24204
2018-06-05 15:15:54 -07:00
Kara Erickson
57eacf4b5a
refactor(ivy): move LView.template and component templates to TView ( #24300 )
...
PR Close #24300
2018-06-05 15:13:36 -07:00
Greg Magolan
d814eaad95
build(bazel): ran format ( #24279 )
...
PR Close #24279
2018-06-05 13:36:27 -07:00
Greg Magolan
678fd32406
build(bazel): ran buildifier ( #24279 )
...
PR Close #24279
2018-06-05 13:36:27 -07:00
Greg Magolan
3e938279d0
build(bazel): fix //packages/platform-browser/test:test_web ( #24279 )
...
PR Close #24279
2018-06-05 13:36:27 -07:00
Greg Magolan
d700a409da
build(bazel): enable manual ts_web_test_suite tests that require static_files ( #24279 )
...
PR Close #24279
2018-06-05 13:36:27 -07:00
Marc Laval
b750919ce0
feat(ivy): implement ViewContainerRef.remove ( #24221 )
...
PR Close #24221
2018-06-05 13:33:40 -07:00
Victor Berchet
9c403753e2
refactor(ivy): misc minor fixes in the JIT compiler ( #24308 )
...
PR Close #24308
2018-06-05 11:33:54 -07:00
Victor Berchet
83a06863f9
docs: rename the "aio" component to "docs-infra" ( #24295 )
...
The legacy "aio" is still active for currently pending PRs,
The GH label has been renamed as well
PR Close #24295
2018-06-04 17:25:13 -07:00
Miško Hevery
08a18b82de
refactor(common): Remove ngOnChanges from NgForOf ( #23378 )
...
`NgForOf` used to implement `OnChanges` and than use
`ngOnChanges` callback to detect when `ngForOf` binding
changed to update the differ. We now do the checking
manually which puts less pressure on the runtime to do
the bookkeeping and should result in minor perf improvement.
PR Close #23378
2018-06-04 13:24:43 -07:00
George Kalpakas
255463ed48
fix(aio): remove unnecessary scrollbar in `code-tabs` ( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
George Kalpakas
b4bbdb4ce2
fix(aio): add right-margin to `.home` link ( #24207 )
...
PR Close #24207
2018-06-04 12:07:25 -07:00
Alan Agius
7623d74607
docs(aio): clean up frequent ng-modules ( #24025 )
...
Closes #24017
PR Close #24025
2018-06-04 10:13:18 -07:00
Nathan Phillip Brink
ccaa199366
docs(aio): remove an extraneous apostrophe ( #24293 )
...
PR Close #24293
2018-06-04 10:11:28 -07:00
Alan Agius
069062236c
docs(common): improve deprecation notices to be parsed by tslint
...
Closes : #24237
Closes : #24249
2018-06-04 09:34:44 -07:00
Kara Erickson
5794506c64
refactor(ivy): move id to TView ( #24264 )
...
PR Close #24264
2018-06-03 20:46:12 -07:00
Kara Erickson
cb65724761
refactor(ivy): combine lifecycleStage with LViewFlags ( #24263 )
...
PR Close #24263
2018-06-02 19:34:16 -07:00
Kara Erickson
44856bfc2f
refactor(ivy): move bindingStartIndex to TView ( #24262 )
...
PR Close #24262
2018-06-02 19:33:57 -07:00
Kara Erickson
5db4f1a5ba
refactor(ivy): convert TNode.index to number, general cleanup ( #24260 )
...
PR Close #24260
2018-06-02 19:33:27 -07:00
Pawel Kozlowski
0561b66a2b
fix(ivy): query nodes from different TemplateRefs inserted into one ViewContainerRef ( #24254 )
...
PR Close #24254
2018-06-02 10:34:52 -07:00
Greg Magolan
5cbcb5680b
build(bazel): update bazel integration test to test secondary angular imports such as @angular/common/http ( #24170 )
...
PR Close #24170
2018-06-01 13:40:47 -07:00
Greg Magolan
6948ef125c
build(bazel): fix bazel built es5 ngfactory with secondary entry-point angular imports ( #24170 )
...
PR Close #24170
2018-06-01 13:40:47 -07:00
Vikram Subramanian
08f943a1f3
test(platform-server): add a test for 'hidden' property ( #24239 )
...
Add a test to verify that the hidden property is reflected properly to the hidden attribute.
PR Close #24239
2018-06-01 10:04:44 -07:00
Alan Agius
f69ac670ee
feat(compiler-cli): update `tsickle` to `0.29.x` ( #24233 )
...
PR Close #24233
2018-06-01 08:35:14 -07:00
Vikram Subramanian
60aa943e2d
fix(platform-server): avoid dependency cycle when using http interceptor ( #24229 )
...
Fixes #23023 .
When a HTTP Interceptor injects HttpClient it causes a DI cycle. This fix is to use Injector to lazily inject HTTP_INTERCEPTORS while setting up the HttpHandler on the server so as to break the cycle.
PR Close #24229
2018-06-01 08:33:45 -07:00
Greg Magolan
68a799e950
build(bazel): re-enable packages/upgrade/test:test_web test with static_files in ts_web_test_suite ( #24214 )
...
PR Close #24214
2018-05-31 16:13:06 -07:00
Victor Berchet
5f178f3a5a
fix(ivy): do not eagerly JIT compile modules ( #24234 )
...
PR Close #24234
2018-05-31 16:03:49 -07:00
Victor Berchet
81c13e2f86
refactor(ivy): remove references to Ivy ( #24234 )
...
PR Close #24234
2018-05-31 16:03:49 -07:00
JoostK
2d9111bfb6
fix(ivy): account for multiple changes between change detection runs ( #24152 )
...
PR Close #24152
2018-05-31 14:08:23 -07:00
JoostK
a5c47d0045
fix(ivy): determine value of SimpleChange.firstChange per property ( #24152 )
...
PR Close #24152
2018-05-31 14:08:23 -07:00
Kara Erickson
7e3f8f77a9
refactor(ivy): replace LView.child with TView.childIndex lookup ( #24211 )
...
PR Close #24211
2018-05-31 12:10:49 -07:00
Vikram Subramanian
6a663a4073
fix(platform-server): don't reflect innerHTML property to attibute ( #24213 )
...
Fixes #19278 .
innerHTML is conservatively marked as an attribute for security purpose so that it's sanitized when set. However this same mapping is used by the server renderer to decide whether the `innerHTML` property needs to be reflected to the `innerhtml` attribute. The fix is to just skip the property to attribute reflection for `innerHTML`.
PR Close #24213
2018-05-31 10:08:28 -07:00
Greg Magolan
ec57133b61
build: update to rules_nodejs 0.9.1 and rules_typescript 0.15.0 ( #24212 )
...
PR Close #24212
2018-05-31 10:08:07 -07:00
Alex Eagle
3647cb7f3b
build: sync g3 exclude list from copybara to ngbot ( #24224 )
...
PR Close #24224
2018-05-31 10:07:45 -07:00
Kim Maida
49d5de68f6
docs(aio): Add GDE Kim Maida to contributors
2018-05-30 17:33:33 -07:00
Alan Agius
4ab70fb93d
style(compiler-cli): fix typo error ( #23897 )
...
PR Close #23897
2018-05-30 17:29:04 -07:00
alberto
5d6074eaff
docs: fix typo ( #24210 )
...
closes #24191
PR Close #24210
2018-05-30 17:06:12 -07:00
Johnson Lin
b86d4dee4d
docs(forms): fix API doc ( #24210 )
...
closes #24090
PR Close #24210
2018-05-30 17:06:12 -07:00
Aditya Bhardwaj
9add50129d
docs: fix typo ( #24210 )
...
closes #23891
PR Close #24210
2018-05-30 17:06:12 -07:00
Adam
9d364203a6
refactor(animations): fix typo ( #24210 )
...
closes #22459
PR Close #24210
2018-05-30 17:06:12 -07:00
Vani
4247176b6e
docs: fix typo if FAQ section ( #24210 )
...
closes #22360
PR Close #24210
2018-05-30 17:06:12 -07:00
seklyza
3b9c5c849c
docs: fix WebStorm name ( #24210 )
...
closes #21900
PR Close #24210
2018-05-30 17:06:12 -07:00
Alec
e79b845a45
docs(ivy): fix typo in STATUS.md
2018-05-30 16:48:40 -07:00
Vikram Subramanian
b492b9e12b
fix(animations): Fix browser detection logic ( #24188 )
...
Element type is being polyfilled on the server now and cannot be used to detect browser environment.
PR Close #24188
2018-05-30 16:39:09 -07:00
JoostK
b99ef2b80a
refactor(ivy): simplify bind instruction to reuse bindingUpdated logic ( #23881 )
...
Added runtime and compiler testcases for interpolated bindings, which verify
that NO_CHANGE is properly handled in `bind`.
PR Close #23881
2018-05-30 16:38:46 -07:00
Victor Berchet
27d811a7ce
Revert "docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )"
...
This reverts commit 3ed7fc6686
.
2018-05-30 16:12:49 -07:00
Victor Berchet
accda00190
test(platform-server): update the symbol lists ( #24209 )
...
PR Close #24209
2018-05-30 15:51:17 -07:00
Judy Bogart
c25e6142d2
docs: remove unfinished observables file ( #23801 )
...
PR Close #23801
2018-05-30 14:44:28 -07:00
Vikram Subramanian
b96a3c8def
fix(platform-server): avoid clash between server and client style encapsulation attributes ( #24158 )
...
Previously the style encapsulation attributes(_nghost-* and _ngcontent-*) created on the server could overlap with the attributes and styles created by the client side app when it botstraps. In case the client is bootstrapping a lazy route, the client side styles are added before the server-side styles are removed. If the components on the client are bootstrapped in a different order than on the server, the styles generated by the client will cause the elements on the server to have the wrong styles.
The fix puts the styles and attributes generated on the server in a completely differemt space so that they are not affected by the client generated styles. The client generated styles will only affect elements bootstrapped on the client.
PR Close #24158
2018-05-30 14:28:14 -07:00
Victor Berchet
c917e5b5bb
test(ivy): update TNode counts to reflect changes in #24113 ( #24208 )
...
After #24113 there is 2 `TNode` in those tests:
- 1 for the host,
- 1 for the text node.
The PR #23924 status was green because it branched off master before #24113 was
merged in.
PR Close #24208
2018-05-30 14:27:22 -07:00