Miško Hevery
ba850b36de
Revert "fix(core): should use native addEventListener in ngZone ( #20672 )"
...
This reverts commit 65a2cb8307 .
2017-11-29 14:56:29 -06:00
JiaLi.Passion
65a2cb8307
fix(core): should use native addEventListener in ngZone ( #20672 )
...
PR Close #20672
2017-11-28 22:27:25 -06:00
Alex Rickabaugh
aafa75da84
fix(common): don't strip XSSI prefix for if error isn't JSON ( #19958 )
...
This changes XhrBackend to not strip the XSSI prefix from error text
if such a prefix is present but the remaining body does not parse as
JSON.
PR Close #19958
2017-11-28 22:27:10 -06:00
Alex Rickabaugh
503be69af6
fix(common): treat an empty body as null when parsing JSON in HttpClient ( #19958 )
...
Previously, XhrBackend would call JSON.parse('') if the response body was
empty (a 200 status code with content-length 0). This changes the XhrBackend
to attempt the JSON parse only if the response body is non-empty. Otherwise,
the body is left as null.
Fixes #18680 .
Fixes #19413 .
Fixes #19502 .
Fixes #19555 .
PR Close #19958
2017-11-28 22:27:10 -06:00
Alex Rickabaugh
eb01ad583f
fix(common): remove useless guard in HttpClient ( #19958 )
...
An invalid "if" condition is always true, and is thus useless. This
change removes it. No behavior changes.
Fixes #19223 .
PR Close #19958
2017-11-28 22:27:10 -06:00
Alex Rickabaugh
15a54df7d3
fix(common): accept falsy values as HTTP bodies ( #19958 )
...
Previously, HttpClient used the overly clever test "body || null"
to determine when a body parameter was provided. This breaks when
the valid bodies '0' or 'false' are provided.
This change tests directly against 'undefined' to detect the presence
of the body parameter, and thus correctly allows falsy values through.
Fixes #19825 .
Fixes #19195 .
PR Close #19958
2017-11-28 22:27:10 -06:00
Matias Niemelä
c2b3792a3b
fix(animations): ensure multi-level leave animations work ( #19455 )
...
PR Close #19455
2017-11-28 18:24:41 -06:00
Matias Niemelä
b2a586cee1
fix(animations): ensure multi-level enter animations work ( #19455 )
...
PR Close #19455
2017-11-28 18:24:40 -06:00
Chuck Jazdzewski
8bb42df47e
fix(compiler): correctly detect when to serialze summary metadata ( #20668 )
...
The change to improve error messages broke the summary serialization
of summaries.
PR Close #20668
2017-11-28 16:43:35 -06:00
Miško Hevery
add5953aa1
Revert "fix(animations): ensure multi-level enter animations work ( #19455 )"
...
This reverts commit dd6237ecd9 .
2017-11-28 15:08:44 -06:00
Miško Hevery
6b4c24020d
Revert "fix(animations): ensure multi-level leave animations work ( #19455 )"
...
This reverts commit 1366762d12 .
2017-11-28 15:08:31 -06:00
Olivier Combe
24bf3e2a25
feat(common): add locale id parameter to registerLocaleData ( #20623 )
...
PR Close #20623
2017-11-27 17:00:06 -06:00
Chuck Jazdzewski
8ecda94899
feat(compiler-cli): improve error messages produced during structural errors ( #20459 )
...
The errors produced when error were encountered while interpreting the
content of a directive was often incomprehencible. With this change
these kind of error messages should be easier to understand and diagnose.
PR Close #20459
2017-11-27 16:59:57 -06:00
Matias Niemelä
1366762d12
fix(animations): ensure multi-level leave animations work ( #19455 )
...
PR Close #19455
2017-11-27 16:59:47 -06:00
Matias Niemelä
dd6237ecd9
fix(animations): ensure multi-level enter animations work ( #19455 )
...
PR Close #19455
2017-11-27 16:59:46 -06:00
Alex Eagle
6e83204238
fix(bazel): produce named AMD modules for codegen ( #20547 )
...
fixes #19422
Signed-off-by: Alex Eagle <[email protected] >
PR Close #20547
2017-11-27 13:44:41 -06:00
Olivier Combe
de78307928
fix(compiler-cli): normalize sourcepaths for i18n extracted files ( #20417 )
...
Fixes #20416
PR Close #20417
2017-11-27 12:16:07 -06:00
Juri Strumpflohner
6293ca23c3
docs(core): fix broken NgZone code example ( #19291 )
...
The current code example was broken as there were a couple of syntax errors. This commit fixes the demo.
PR Close #19291
2017-11-27 12:14:47 -06:00
Matias Niemelä
ffb6dbeefe
fix(animations): always fire start and done callbacks in order for noop animations ( #20570 )
...
PR Close #20570
2017-11-22 12:36:28 -06:00
Matias Niemelä
0e012c9669
fix(animations): always fire inner trigger callbacks even if blocked by parent animations ( #19753 )
...
Closes #19100
PR Close #19753
2017-11-22 10:38:02 -06:00
Olivier Combe
d7a727cc07
feat(platform-browser-dynamic): export JitCompilerFactory ( #20478 )
...
Fixes #20125
PR Close #20478
2017-11-22 08:56:11 -06:00
Jason Aden
437a0446e2
fix(common): return ISubscription from Location.subscribe() ( #20429 )
...
Fix #20406
PR Close #20429
2017-11-22 08:55:10 -06:00
JiaLi.Passion
a740e4f00a
fix(core): fix #20532 , should be able to cancel listener from mixed zone ( #20538 )
...
PR Close #20538
2017-11-21 11:49:36 -06:00
Chuck Jazdzewski
4ed04392d3
fix(compiler): support event bindings in fullTemplateTypeCheck ( #20490 )
...
The type-check block now disables type checking event access instead
of generating a reference to an undefined variable.
PR Close #20490
2017-11-20 18:39:42 -06:00
Kara Erickson
69c53c3e03
fix(forms): updateOn should check if change occurred ( #20358 )
...
Fixes #20259 .
PR Close #20358
2017-11-17 16:28:46 -06:00
JiaLi.Passion
997336b790
fix(core): should support event.stopImmediatePropagation ( #20469 )
...
PR Close #20469
2017-11-16 22:43:53 -06:00
Matias Niemelä
1861e416a1
fix(animations): validate against trigger() names that use @ symbols ( #20326 )
...
PR Close #20326
2017-11-16 16:20:09 -06:00
Chuck Jazdzewski
68b53c07fd
fix(compiler): emit correct type-check-blocks with TemplateRef's ( #20463 )
...
The type-check block generated with `"fullTemplateTypeCheck"` was
invalid if the it contained a template ref as would be generated
using the `else` micro-syntax of `NgIf`.
Fixes : #19485
PR Close #20463
2017-11-16 16:19:54 -06:00
Michael Giambalvo
717ac5ac4d
fix(benchpress): Allow ignoring navigationStart events in perflog metric. ( #20312 )
...
PR Close #20312
2017-11-16 16:18:38 -06:00
Chuck Jazdzewski
dcfffbf828
build: fix build failures ( #20470 )
2017-11-15 22:33:30 -08:00