Tobias Bosch
ecdaded25f
feat(core): introduce NgModuleRef.destroy and call ngOnDestroy on all providers
2016-08-02 11:23:26 -07:00
Tobias Bosch
c161ed415d
feat(core): support ngOnDestroy on providers of a directive.
...
Such providers also become eager as they will be instantiated
anyways on destruction.
2016-08-02 11:23:26 -07:00
Tobias Bosch
ff3b71f7b3
refactor(core): collect lifecycle hooks for all injectable classes
2016-08-02 11:23:26 -07:00
Misko Hevery
a55d796c4b
fix: Better error message in case of unknown property binding
2016-08-02 09:28:04 -07:00
Misko Hevery
73f02c7861
fix: throw useful error on missing platform module.
2016-08-02 09:28:04 -07:00
Victor Berchet
2dfc9c653b
refactor: dart
2016-08-01 11:34:51 -07:00
Victor Berchet
106db0aba8
refactor: IS_DART === false
2016-08-01 11:34:51 -07:00
Victor Berchet
28c4852cd6
refactor: remove ts2dart annotations
2016-08-01 11:34:51 -07:00
Victor Berchet
13c8211065
fix: String.split(str, n) stops after n separator ( #10408 )
2016-08-01 11:33:35 -07:00
Victor Berchet
e73d0511cf
fix(TemplateParser): report empty expression ( #10391 )
...
fixes #3754
2016-08-01 11:24:49 -07:00
Hans
4df7b1cfbc
chore: fixes some issues that happen with closure compiler. ( #10392 )
2016-08-01 09:47:49 -07:00
Victor Berchet
e34a04d2ad
feat(xmb/xtb): support dtd
2016-07-29 14:18:34 -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
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
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
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