Tobias Bosch
126fda2613
perf: delete pre-view-engine core, compiler, platform-browser, etc code ( #14788 )
...
After the introduction of the view engine, we can drop a lot of code that is not used any more.
This should reduce the size of the app bundles because a lot of this code was not being properly tree-shaken by today's tools even though it was dead code.
2017-02-27 23:08:19 -08:00
Miško Hevery
738d93caf7
refactor: rewrite private export using the ɵ prefix
2017-02-21 20:48:55 -08:00
Tobias Bosch
ab26b6518d
fix(platform-browser): allow to mix shadow dom with non shadow dom
...
Allow to style components that don’t use shadow dom inside of components that do.
This reverts 53cf2ec573
and adds a test for this case.
Related to #7887
2017-02-17 17:18:55 -08:00
vikerman
b4d444a0a7
feat(platform-server): add API to render Module and ModuleFactory to string ( #14381 )
...
- PlatformState provides an interface to serialize the current Platform State as a string or Document.
- renderModule and renderModuleFactory are convenience methods to wait for Angular Application to stabilize and then render the state to a string.
- refactor code to remove defaultDoc from DomAdapter and inject DOCUMENT where it's needed.
2017-02-14 16:14:40 -08:00
Dzmitry Shylovich
53cf2ec573
fix(platform-browser): should only add styles with native encapsulation in shadow DOM ( #14313 )
...
Closes #7887
PR Close #14313
2017-02-10 15:03:20 -06:00
Dzmitry Shylovich
cd3901f774
fix(platform-browser): remove style nodes on destroy ( #13744 )
...
Closes #11746
PR Close #13744
2017-01-29 12:10:44 -06:00
Dzmitry Shylovich
a64c9b5d5b
refactor(platform-browser): polishing ( #13744 )
2017-01-29 12:10:39 -06:00
Matias Niemelä
889b48d85f
fix(core): animations should blend in all previously transitioned styles into next animation if interrupted ( #13148 )
2017-01-05 11:32:52 -08:00
Matias Niemelä
0c19898694
fix(animations): allow players to be destroyed before initialized ( #13346 )
...
Closes #13293
Closes #13346
2016-12-15 14:18:57 -08:00
Matias Niemelä
b56474d067
fix(animations): throw errors and normalize offset beyond the range of [0,1]
...
Closes #13348
Closes #13440
2016-12-14 12:59:47 -08:00
Matias Niemelä
be3784c957
revert: fix(animations): blend in all previously transitioned styles into next animation if interrupted
...
This reverts commit ef96763fa4
.
2016-11-28 13:23:52 -08:00
Matias Niemelä
ef96763fa4
fix(animations): blend in all previously transitioned styles into next animation if interrupted ( #13014 )
...
Closes #13013
Closes #13014
2016-11-21 15:46:59 -08:00
Matias Niemelä
be010a292a
fix(animations): only pass in same typed players as previous players into web-animations ( #12907 )
...
Closes #12907
2016-11-15 17:47:21 -08:00
Matias Niemelä
9de76ebfa5
fix(animations): retain styling when transition destinations are changed ( #12208 )
...
Closes #9661
Closes #12208
2016-11-14 16:59:06 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Dzmitry Shylovich
768cddbe62
fix(events): provide the ability to register global hammer.js events
...
closes #12797
2016-11-11 11:15:49 -08:00
Matias Niemelä
f80a157b65
fix(animations): ensure web-animations are caught within the Angular zone
...
Closes #11881
Closes #11712
Closes #12355
Closes #11881
Closes #12546
Closes #12707
Closes #12774
2016-11-09 15:16:34 -08:00
Matias Niemelä
fe35bc34f6
fix(animations): allow animations to be destroyed manually ( #12719 )
...
Closes #12456
Closes #12719
2016-11-08 16:21:28 -08:00
Matias Niemelä
a0e9fde653
fix(animations): always normalize style properties and values during compilation ( #12755 )
...
Closes #11582
Closes #12481
Closes #12755
2016-11-08 15:45:30 -08:00
Victor Berchet
ec92f4b198
refactor: remove `keys()` and `values()` from MapWrapper
2016-11-04 13:27:38 -07:00
Alex Eagle
b64b5ece65
refactor(facade): Remove most of StringMapWrapper facade. ( #12022 )
...
This change mostly automated by
12012b07a2
with some manual fixes.
2016-10-03 16:46:05 -07:00
Alex Eagle
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
Victor Berchet
671f73448c
refactor: misc cleanup ( #11654 )
2016-09-19 17:15:57 -07:00
Miško Hevery
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00
Matias Niemelä
3c561475c8
refactor(animations): add an onStart handler for AnimationPlayer ( #10360 )
2016-08-22 16:39:52 -07:00
Jason Choi
99989f5d3f
chore(facade): remove most facade/async functions
2016-08-05 12:26:28 -07:00
Jason Choi
64fc4648b7
fix(testing): correctly import NgMatchers ( #10077 )
...
Some test cases incorrectly rely on the side effect of other test cases
importing `NgMatchers`. This commit fixes this by making `expect` in
`core/testing_internal` properly typed.
2016-07-22 09:20:51 -07:00
Victor Berchet
00aa7a76b6
chore(tests): enable lint, make it green. ( #10224 )
2016-07-21 17:12:00 -07:00
Matias Niemelä
c3bdd504d0
fix(animations): ensure all child elements are rendered before running animations
...
Closes #9402
Closes #9775
Closes #9887
2016-07-08 18:18:46 -07:00
Matias Niemelä
f1fc1dc669
revert: fix(animations): ensure all child elements are rendered before running animations
...
This reverts commit cbe85a0893
.
2016-07-07 14:12:17 -07:00
Matias Niemelä
cbe85a0893
fix(animations): ensure all child elements are rendered before running animations
...
Closes #9402
Closes #9775
2016-07-07 14:10:04 -07:00
Matias Niemelä
9cc3b2ca9e
fix(animations): ensure a null easing value is never used with web-animations
...
Closes #9780
Closes #9752
2016-07-06 11:25:54 -07:00
Julie Ralph
3d8eb8cbca
fix(platform-browser/testing): clean up public api for platform-browser/testing ( #9519 )
...
Mostly, removing things that were never intended to be exported publicy.
BREAKING CHANGE:
The following are no longer publicly exported APIs. They were intended as internal
utilities and you should use your own util:
```
browserDetection,
dispatchEvent,
el,
normalizeCSS,
stringifyElement,
expect (and custom matchers for Jasmine)
```
2016-06-23 16:42:25 -07:00
Matias Niemelä
c43aec2182
fix(animations): make sure the easing value is passed into the web-animations player
...
Closes #9517
Closes #9523
2016-06-23 10:14:18 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
Matias Niemelä
ba46ca683b
fix(animations): ensure starting styles are applied when a delay is present
...
Closes #9326
Closes #9328
2016-06-20 11:16:39 -07:00
Matias Niemelä
4d51158b1a
fix(animations): ensure the web-animations driver converts style props to camel-case
...
The web animations API now requires that all styles are converted to
camel case. Chrome has already made this breaking change and hyphenated
styles are not functional anymore.
Closes #9111
Closes #9112
2016-06-10 22:54:10 -07:00
Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Vikram Subramanian
f4f6b8721a
fix(core): Keep core exports seperate from core/testing exports.
2016-05-31 20:09:43 -07:00
Matias Niemelä
5e0f8cf3f0
feat(core): introduce support for animations
...
Closes #8734
2016-05-25 13:56:50 -07:00
Misko Hevery
3e17c99f4e
chore: clang-reformat
2016-05-01 22:59:41 -07:00
Igor Minar
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
Igor Minar
505da6c0a8
repackaging: all the file moves
2016-05-01 20:51:00 -07:00