Chuck Jazdzewski
c0981b8e13
Revert "fix(animations): use a lightweight renderer for non-animation components ( #17003 )"
...
This reverts commit 3ab86bd661
.
2017-05-26 08:55:23 -07:00
Matias Niemelä
3ab86bd661
fix(animations): use a lightweight renderer for non-animation components ( #17003 )
2017-05-25 18:54:35 -06:00
Jason Aden
fa809ec8cf
build: import tslib rather than output TS helpers ( #16901 )
2017-05-23 14:01:39 -06:00
Matias Niemelä
b10029c18b
docs(animations): add documentation for new animation features
2017-05-19 12:52:04 -07:00
Matias Niemelä
6cb93c1fac
fix(animations): only require one flushMicrotasks call when testing animations
2017-05-19 10:45:20 -07:00
Matias Niemelä
54a6e4ff9e
refactor(animations): make animation testing work with fixture.whenRenderingDone
2017-05-16 17:39:57 -07:00
Matias Niemelä
8a6eb1ac78
refactor(animations): single animation engine code pass
2017-05-16 17:39:57 -07:00
Matias Niemelä
16c8167886
feat(animations): introduce a wave of new animation features
2017-05-16 17:39:57 -07:00
vikerman
c805082648
fix(platform-server): wait for async app initializers to complete before removing server side styles ( #16712 )
...
This fixes a flicker when transitioning from server rendered page to client rendered page in lazy loaded routes by waiting for the lazy loaded route to finish loading, assuming initialNavigation on the route is set to 'enabled'.
Fixes #15716
2017-05-16 15:14:55 -07:00
Tobias Bosch
39b92f7e54
feat: introduce `TestBed.overrideProvider` ( #16725 )
...
This allows to overwrite all providers for a token, not matter
where they were defined.
This can be used to test JIT and AOT’ed code in the same way.
Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing
2017-05-15 13:12:10 -07:00
Matias Niemelä
7f9c589ba3
feat(core): add `begin` and `end` renderer methods to track change detection
2017-05-04 15:07:27 -04:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Miško Hevery
728c9d0632
fix(platform-browser): Update types for TypeScript nullability support
...
Closes #15898
2017-04-18 12:07:33 -07:00
Dzmitry Shylovich
c17b912eb9
refactor: use object spread operator rather than merge ( #15426 )
2017-03-24 14:45:33 -07:00
Dzmitry Shylovich
92084f2b6a
fix(platform-browser): setAttribute should work with xmlns namespace ( #14874 )
...
Closes #14865
2017-03-23 12:52:06 -07:00
Filipe Silva
f634c62cb3
test: add systemjs+umd integration test ( #14196 )
...
This test ensures the `__esModule` is set on UMD bundles, thus making them compatible with SystemJS@^0.22.3.
Followup from https://github.com/frankwallis/plugin-typescript/issues/185 .
PR Close #14196
2017-03-19 12:23:07 -05:00
Tobias Bosch
0d3e314df0
fix(core): trigger host animations for elements that are removed. ( #15251 )
...
Fixes #14813
Fixes #15193
2017-03-19 12:21:42 -05:00
Matias Niemelä
80075afe8a
fix(animations): only process element nodes through the animation engine ( #15268 )
...
Closes #15267
Closes #15268
PR Close #15268
2017-03-19 10:50:07 -05:00
Jason Aden
49829b4a4d
build: add package names to secondary endpoint package.json files ( #15253 )
...
Fixes #14736
PR Close #15253
2017-03-17 16:52:55 -05:00
Jason Aden
410aa33005
build: fix paths to typings files so tsickle resolves imports correctly
...
Fixes #15080
2017-03-16 17:34:29 -07:00
Miško Hevery
77fd91d615
fix(core): ErrorHandler should not rethrow an error by default ( #15077 ) ( #15208 )
...
ErrorHandler can not throw errors because it will unsubscribe itself from
the error stream.
Zones captures errors and feed it into NgZone, which than has a Rx Observable
to feed it into ErrorHandler. If the ErroHandler throws, then Rx will teardown
the observable which in essence causes the ErrorHandler to be removed from the
error handling. This implies that the ErrorHandler can never throw errors.
Closes #14949
Closes #15182
Closes #14316
2017-03-16 12:58:41 -07:00
Victor Berchet
a4076c70cc
fix(platform-browser): prevent clobbered elements from freezing the browser
...
see
4f69d38f09
2017-03-16 10:16:39 -07:00
Victor Berchet
52bbc9baf4
refactor(platform-browser): cleanup HtmlSanitizer specs
2017-03-16 10:16:39 -07:00
Jason Aden
923d0c56e7
fix: correct UMD resolutions for platform-browser_animations ( #15190 )
...
Fixes #15114
2017-03-15 17:14:20 -07:00
Matias Niemelä
0aad270267
refactor(platform-browser): move platform-browser/animations to animations/browser ( #15130 )
...
Closes : #15130
2017-03-14 11:55:49 -07:00
Tobias Bosch
cdc882bd36
feat: introduce source maps for templates ( #15011 )
...
The main use case for the generated source maps is to give
errors a meaningful context in terms of the original source
that the user wrote.
Related changes that are included in this commit:
* renamed virtual folders used for jit:
* ng://<module type>/module.ngfactory.js
* ng://<module type>/<comp type>.ngfactory.js
* ng://<module type>/<comp type>.html (for inline templates)
* error logging:
* all errors that happen in templates are logged
from the place of the nearest element.
* instead of logging error messages and stacks separately,
we log the actual error. This is needed so that browsers apply
source maps to the stack correctly.
* error type and error is logged as one log entry.
Note that long-stack-trace zone has a bug that
disables source maps for stack traces,
see https://github.com/angular/zone.js/issues/661 .
BREAKING CHANGE:
- DebugNode.source no more returns the source location of a node.
Closes 14013
2017-03-14 09:16:15 -07:00
Chuck Jazdzewski
e6c81d2a42
Revert "refactor(platform-browser): move platform-browser/animations to animations/browser ( #15043 )"
...
This reverts commit 195b863ea4
.
2017-03-13 15:46:44 -07:00
Chuck Jazdzewski
498a95148b
Revert "build(animations): adjust animations/browser source to new standard for automatic build ( #15043 )"
...
This reverts commit 21a18d6ceb
.
2017-03-13 15:46:07 -07:00
Jason Aden
21a18d6ceb
build(animations): adjust animations/browser source to new standard for automatic build ( #15043 )
2017-03-13 14:39:42 -07:00
Matias Niemelä
195b863ea4
refactor(platform-browser): move platform-browser/animations to animations/browser ( #15043 )
2017-03-13 14:39:19 -07:00
Tobias Bosch
ff71eff157
refactor(core): use flags in `Renderer2.setStyle` instead of booleans ( #15045 )
...
BREAKING CHANGE: (since v4 rc.1)
- `Renderer2.setStyle` no longer takes booleans but rather a
bit mask of flags.
2017-03-13 09:45:04 -07:00
Jason Aden
b74ab83d2c
refactor: update paths from modules/@angular to packages
2017-03-08 16:29:28 -08:00
Jason Aden
da8ea350b2
refactor: More generic build.sh file
2017-03-08 16:29:28 -08:00
Jason Aden
58dd4673cd
refactor: remove babel config files
2017-03-08 16:29:28 -08:00
Jason Aden
72563b61fb
build: fix rollup config file paths
2017-03-08 16:29:28 -08:00
Jason Aden
5aed1e36b8
refactor: move secondary entry point rollup configs.
2017-03-08 16:29:28 -08:00
Jason Aden
8573e36574
build: fix file paths after moving modules/@angular/* to packages/*
2017-03-08 16:29:28 -08:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00