120 Commits

Author SHA1 Message Date
Martin Probst
e19bf70b47 feat(security): allow calc and gradient functions. ()
PR Close 

Also includes support for # color notation in function arguments (common
in gradient functions).
2017-01-17 15:34:53 -06:00
Matias Niemelä
889b48d85f fix(core): animations should blend in all previously transitioned styles into next animation if interrupted () 2017-01-05 11:32:52 -08:00
Dzmitry Shylovich
2dd6280ab8 fix(common): do not override locale provided on bootstrap ()
Closes 
2017-01-05 09:24:37 -08:00
Dzmitry Shylovich
67380d4b28 fix(testing): improve misleading error message when don't call compileComponents ()
Closes 
2016-12-22 12:35:57 -08:00
Matias Niemelä
0c19898694 fix(animations): allow players to be destroyed before initialized ()
Closes 
Closes 
2016-12-15 14:18:57 -08:00
Dzmitry Shylovich
169ed82900 feat(testing): add overrideTemplate method ()
Closes 
2016-12-14 15:05:17 -08:00
Matias Niemelä
b56474d067 fix(animations): throw errors and normalize offset beyond the range of [0,1]
Closes 
Closes 
2016-12-14 12:59:47 -08:00
Dzmitry Shylovich
72361fb68f feat(platform browser): introduce Meta service () 2016-12-08 18:44:28 -08:00
Miško Hevery
16efb13dd1 fix: display framework version on bootstrapped component () 2016-12-06 16:21:07 -08:00
Matias Niemelä
be3784c957 revert: fix(animations): blend in all previously transitioned styles into next animation if interrupted
This reverts commit ef96763fa4c2ad94e1890e272a6e3a9fbe50f550.
2016-11-28 13:23:52 -08:00
Matias Niemelä
ef96763fa4 fix(animations): blend in all previously transitioned styles into next animation if interrupted ()
Closes 
Closes 
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 ()
Closes 
2016-11-15 17:47:21 -08:00
Matias Niemelä
9de76ebfa5 fix(animations): retain styling when transition destinations are changed ()
Closes 
Closes 
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 
2016-11-11 11:15:49 -08:00
Tobias Bosch
79383ce150 refactor(compiler): never create CompileDirectiveMetadata with not loaded resources ()
Part of 
2016-11-10 14:07:30 -08:00
Matias Niemelä
f80a157b65 fix(animations): ensure web-animations are caught within the Angular zone
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
2016-11-09 15:16:34 -08:00
Matias Niemelä
fe35bc34f6 fix(animations): allow animations to be destroyed manually ()
Closes 
Closes 
2016-11-08 16:21:28 -08:00
Matias Niemelä
a0e9fde653 fix(animations): always normalize style properties and values during compilation ()
Closes 
Closes 
Closes 
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
Joao Dias
e0ad413a8e style(tests): clean up testing_public_spec () 2016-10-31 11:26:38 -07:00
Alex Eagle
b64b5ece65 refactor(facade): Remove most of StringMapWrapper facade. ()
This change mostly automated by
12012b07a2
with some manual fixes.
2016-10-03 16:46:05 -07:00
Alex Eagle
0286956107 refactor(facade): Inline isBlank called with object-type argument () 2016-09-30 09:26:53 -07:00
Alex Eagle
41c8c30973 chore(lint): remove unused imports ()
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
58605cf350 refactor(facade): remove useless facades 2016-09-27 16:13:09 -07:00
Victor Berchet
671f73448c refactor: misc cleanup () 2016-09-19 17:15:57 -07:00
Pawel Kozlowski
85d9db6bc4 fix(platform-browser): provide Title service as part of the module ()
Fixes 
2016-09-14 13:21:23 -07:00
Victor Berchet
5a4e46db20 refactor(tests): simplify code () 2016-09-09 12:04:38 -07:00
Marc Laval
1b5e2b5129 test: add Intl polyfill and run Intl tests in all browsers () 2016-08-31 15:55:13 -07:00
Igor Minar
71ae2c4525 refactor(webworkers): move webworkers to separate @angular/platform-webworker and @angular/platform-webworker-dynamic packages
BREAKING CHANGE: web worker platform is now exported via separate packages.

Please use @angular/platform-webworker and @angular/platform-webworker-dynamic
2016-08-30 21:07:45 -07:00
Miško Hevery
979657989b fix(packages): use ES modules for primary build () 2016-08-30 18:07:40 -07:00
Misko Hevery
7c07bfff97 fix(errors): [2/2] Rename Exception to Error; remove from public API
BREAKING CHANGE:

Exceptions are no longer part of the public API. We don't expect that anyone should be referring to the Exception types.

ExceptionHandler.call(exception: any, stackTrace?: any, reason?: string): void;
change to:
ErrorHandler.handleError(error: any): void;
2016-08-26 10:37:17 -07:00
Igor Minar
811962b2bb refactor: rename SanitizationService to Sanitizer and DomSanitizationService to DomSanitizer ()
BREAKING CHANGE: Previously inconsistently named APIs SanitizationService and DomSanitizationService were renamed to Sanitizer and DomSanitizer
2016-08-25 15:41:19 -07:00
Igor Minar
ea2e5521e8 refactor: replace any[] with Provider[] where possible 2016-08-25 13:29:03 -07:00
Igor Minar
3c2b2ff332 test: fix existing tests by removing usage of obsolete stuff like component level directives, AsyncCompleter and TestComponentBuilder 2016-08-23 09:59:00 -07:00
Matias Niemelä
3c561475c8 refactor(animations): add an onStart handler for AnimationPlayer () 2016-08-22 16:39:52 -07:00
Alex Rickabaugh
628d06c17c feat(core): Throw a descriptive error when BrowserModule is installed a second time (via lazy loading). ()
Such a configuration is unsupported and causes all kinds of problems.
2016-08-18 13:34:28 -07:00
Victor Savkin
4be863c223 Remove TCB ()
* refactor(webworker): change tests not to use TestComponentBuilder

* refactor(core): change tests not to use TestComponentBuilder
2016-08-17 15:05:22 -07:00
Hans
40e160c22c fix(platform-browser-dynamic): Rename CACHED_TEMPLATE_PROVIDER to RESOURCE_CACHE_PROVIDER ()
* fix(platform-browser-dynamic): Rename CACHED_TEMPLATE_PROVIDER to RESOURCE_CACHE_PROVIDER

Closes 

BREAKING CHANGE:

`CACHED_TEMPLATE_PROVIDER` is now renamed to `RESOURCE_CACHE_PROVIDER`

Before:

```js
import {CACHED_TEMPLATE_PROVIDER} from '@angular/platform-browser-dynamic';
```

After:

```js
import {RESOURCE_CACHE_PROVIDER} from '@angular/platform-browser-dynamic';
```

* Rename XHR -> ResourceLoader
2016-08-17 09:24:44 -07:00
Julie Ralph
a86c554a8e refactor(core/testing): remove deprecated ViewMetadata ()
Note that this doesn't actually remove all uses, but makes them
private.
2016-08-16 13:59:06 -07:00
Victor Savkin
f7ff6c5a12 refactor(core): remove deprecated 'bootstrap' () 2016-08-16 11:15:01 -07:00
Julie Ralph
4c9900dc3a refactor(testing): remove deprecated testing functions ()
Remove TestComponentBuilder, addProviders, and withProviders. These
were deprecated in rc5 - see the changelog for update information.

Note - this does not actually remove the functions, but makes them
internal only. They will be removed from the codebase entirely
at a later time.
2016-08-15 21:40:37 -07:00
Miško Hevery
bec5c5fdad refactor(Provider): remove deprecated provider/bind API ()
Closes 

BREAKING CHANGE:

These forms of providers are no longer accepted:
  bind(MyClass).toFactory(...)
  new Provider(MyClass, toFactory: ...)

We now only accept:
  {provider: MyClass, toFactory: ...}
2016-08-15 19:37:42 -07:00
Victor Savkin
60b10134df cleanup(platform): removed webworker and server deprecated apis () 2016-08-15 13:44:01 -07:00
Chuck Jazdzewski
d2825077b1 fix(core): Removed depricated disposePlatform
BREAKING CHANGE: previously deprecated disposePlatform was removed; see deprecation notice for migration instructions.
2016-08-12 17:52:13 -07:00
Miško Hevery
b96869afd2 refactor(Type): merge Type and ConcreType<?> into Type<?> ()
Closes 

BREAKING CHANGE:

`Type` is now `Type<T>` which means that in most cases you have to
use `Type<any>` in place of `Type`.

We don't expect that any user applications use the `Type` type.
2016-08-10 18:21:28 -07:00
Alex Eagle
6f4ee6101c chore(imports): don't import ExceptionHandler from facade ()
This lets us skip src/facade/exception* when compiling modules other than core.
It prevents having many conflicting declarations
2016-08-10 15:55:18 -07:00
Julie Ralph
aff1bc9f2d refactor(tests): move public test APIs to TestBed ()
Completely remove deprecated TestComponentBuilder and friends.
2016-08-10 11:51:40 -07:00
Miško Hevery
d4cceff0ef chore: remove module aware bootstrap API ()
This API was introduced post RC4, but needs to be removed
before RC5 as we have decided against it.
2016-08-08 09:36:09 -07:00
Jason Choi
99989f5d3f chore(facade): remove most facade/async functions 2016-08-05 12:26:28 -07:00