Victor Berchet
e34a04d2ad
feat(xmb/xtb): support dtd
2016-07-29 14:18:34 -07:00
Victor Berchet
44093905e2
refactor(test): refine types
2016-07-29 13:53:13 -07:00
Victor Berchet
3e2900f74b
refactor(i18n): move code around
2016-07-29 13:40:58 -07:00
Victor Berchet
11fd2eccec
refactor: fix merge glitches
2016-07-29 13:40:58 -07:00
Victor Berchet
0eee1d5de3
feat(i18n): xtb serializer
2016-07-29 13:40:58 -07:00
Victor Berchet
1b77604ee2
refactor(compiler): re-arrange files
2016-07-29 13:40:58 -07:00
Victor Berchet
cc5cfe87c3
feat(i18n): xmb serializer
2016-07-29 13:40:58 -07:00
Victor Berchet
48f230a951
feat(I18nAst): introduce an intermediate AST
2016-07-29 13:40:58 -07:00
Victor Berchet
2be50bdbb0
refactor(i18n): message extractor
...
fixes #8802
2016-07-29 13:40:58 -07:00
Victor Berchet
f7258ea52a
test(HtmlAst): add a serializer
2016-07-29 13:40:58 -07:00
Victor Berchet
28e8b2faab
feat(ICU): extract ICU messages
2016-07-29 13:40:58 -07:00
vsavkin
3c3e9ddb10
feat(router): add a validation to make sure pathMatch is set correctly
2016-07-29 12:27:43 -07:00
vsavkin
5162fb6d52
feat(router): add isActive to router
2016-07-29 12:27:43 -07:00
vsavkin
2fdb39e60a
feat(router): activateroute should expose its route config
2016-07-29 12:27:43 -07:00
Marc Laval
43c71ae103
fix(platform-browser): IEMobile is badly detected when testing ( #10382 )
2016-07-29 10:05:12 -07:00
Marc Laval
f0bd528d77
test(http): fix Blob creation for Android <= 4.3
...
Closes #10377
2016-07-29 18:20:09 +02:00
Marc Laval
50a024b42f
test(http): add Typed Array polyfill for IE9
2016-07-29 18:19:54 +02:00
Marc Laval
b48f7bcb8d
fix(forms): normalize written value in NumberValueAccessor
...
Closes #10379
2016-07-29 18:18:30 +02:00
Chuck Jazdzewski
763ca60f5b
feat(compiler): Support default parameters in static reflector ( #10370 )
...
Closes : #10369
2016-07-29 09:10:45 -07:00
Tobias Bosch
0eca7abdd8
chore: update public api
...
Closes #10355
2016-07-29 04:47:50 -07:00
Tobias Bosch
d0a95e35af
refactor(testing): introduce new testing api to support ng modules
...
BREAKING CHANGE:
- deprecations:
* `withProviders`, use `TestBed.withModule` instead
* `addProviders`, use `TestBed.configureTestingModule` instead
* `TestComponentBuilder`, use `TestBed.configureTestModule` / `TestBed.override...` / `TestBed.createComponent` instead.
Closes #10354
2016-07-29 04:47:18 -07:00
Tobias Bosch
acc6c8d0b7
feat(compiler): introduce `MockDirectiveResolver.setDirective`
2016-07-29 04:47:18 -07:00
Tobias Bosch
3dbc66c1ac
refactor(core): introduce interfaces for constructor arguments of decorators
...
For @Directive, @Component, @Pipe, @NgModule
2016-07-29 04:47:18 -07:00
Tobias Bosch
4ad6bcce54
feat(compiler): add `MockPipeResolver`
2016-07-29 04:47:17 -07:00
Tobias Bosch
0988cc82b0
refactor(core): remove `ViewResolver` and `ViewResolverMock`
...
The methods on `ViewResolverMock` have been merged into `DirectiveResolver`.
BREAKING CHANGE:
- ES5 users can no longer use the `View(…)` function to provide `ViewMetadata`.
This mirrors the removal of the `@View` decorator a while ago.
2016-07-29 04:47:17 -07:00
Chuck Jazdzewski
20b03bad11
feat(compiler): Added support for conditional expressions. ( #10366 )
...
Expression evaluated by the static reflector can now supports
conditional expressions.
Closes : #10365
2016-07-28 17:32:29 -07:00
vsavkin
81d27daf0d
fix(router): update dts files
2016-07-28 15:03:19 -07:00
vsavkin
bb8b82b3f5
fix(router): relax type defintion of Route to improve dev ergonomics
2016-07-28 15:03:19 -07:00
vsavkin
915a6666f8
fix(core): fix offline detection in ng_module_factory_loader
2016-07-28 15:03:19 -07:00
vsavkin
72da547d6a
fix(router): updates router module to be offline-compilation friendly
2016-07-28 15:03:19 -07:00
Kara
7c76a75452
fix(forms): update dirty before emitting value change ( #10362 )
...
Closes #5328
2016-07-28 14:25:33 -07:00
Tobias Bosch
a32c4ad2f0
fix(compiler): auto declare `entryComponents` recursively
...
Closes #10348
2016-07-28 12:03:34 -07:00
Tobias Bosch
fb3608aa5d
fix(compiler): report better error messages for `host` bindings
...
Closes #10346
2016-07-28 11:21:50 -07:00
Alex Eagle
0a46f37444
fix(metadata): fix typechecking with typescript@next
2016-07-28 11:17:53 -07:00
Tobias Bosch
9b39e499ac
fix(core): support components without a selector ( #10331 )
...
Components without a selector now get the selector `ng-component`.
Directives without a selector will throw an error message.
Closes #3464
Closes #10216
2016-07-28 10:39:10 -07:00
Hans
a67cc8229d
chore: move injector to being non-internal but private ( #10339 )
...
* chore: move injector to being non-internal but private
* Add the new non-internal method to the public API.
2016-07-28 10:38:29 -07:00
Chuck Jazdzewski
b58e9ea775
feat(compiler): Added support for references to static fields. ( #10334 )
...
Closes : #10332
2016-07-27 19:26:59 -07:00
Rob Wormald
422effdd18
refactor(http): use ngModules for http ( #10329 )
2016-07-27 13:09:05 -07:00
vikerman
3b690b68a6
fix(testing): Fix error message in test bed
...
The API name in the error message was wrong
2016-07-27 12:03:27 -07:00
Kara
43349dd373
fix(forms): improve ngModel error messages ( #10314 )
2016-07-27 10:59:40 -07:00
Tobias Bosch
e44e8668ea
fix(core): only warn and auto declare undeclared `entryComponents`.
...
This is needed to support existing applications.
After final these warnings will become errors.
Closes #10316
2016-07-27 10:56:12 -07:00
Tobias Bosch
69e72c0786
chore: remove `browserDynamicTestingPlatform` as it is deprecated and was not part of rc.4
...
Closes #10319
2016-07-27 10:52:47 -07:00
Tobias Bosch
553344739c
fix(core): allow module providers to overwrite providers from `ModuleWithProviders`
...
Fixes #10313
Closes #10317
2016-07-27 10:51:58 -07:00
Tobias Bosch
367f0fd142
fix(static_reflector): report methods with decorators in `propMetadata` as well
...
This was the behavior of our regular reflector as well, although the
method name does not imply this.
Fixes #10308
Closes #10318
2016-07-27 10:50:58 -07:00
Gabe Johnson
58d9e7fc5a
feat(facade): add support for all thenables ( #10278 )
...
All objects that have a then function will be considered Promises
2016-07-27 10:37:48 -07:00
vsavkin
9d9e9c6ff1
refactor(router): take advantage of the new way of configuring modules
2016-07-27 10:24:29 -07:00
Matias Niemelä
ba88db5141
fix(ngClass): do not deconstruct classes on element removal ( #10303 )
...
Prior to this fix [ngClass] would remove all dynamic classes
when destroyed. It's essential that classes are persisted such
that remove-based animations will still be stylistically correct.
This patch fixes this issue.
Closes #10008
Closes #10303
2016-07-26 15:20:27 -07:00
vsavkin
62e7c0f464
feat(router): implement canLoad
2016-07-26 14:39:02 -07:00
Tobias Bosch
fc83bbbe98
fix(compiler): treat custom elements as unknown elements by default
...
Closes #10300
2016-07-26 12:31:22 -07:00
Martin Probst
482c019199
feat(security): only warn when actually sanitizing HTML. ( #10272 )
...
Previously, Angular would warn users when simply re-encoding text
outside of the ASCII range. While harmless, the log spam was annoying.
With this change, Angular specifically tracks whether anything was
stripped during sanitization, and only reports a warning if so.
Fixes #10206 .
2016-07-26 11:39:09 -07:00