158 Commits

Author SHA1 Message Date
Chuck Jazdzewski
5fbb0d050c fix(language-service): resolve any parameter types to any result 2017-03-31 11:37:39 -07:00
Chuck Jazdzewski
71a8627c5d fix(language-service): improve resilience to incomplete information 2017-03-31 11:37:39 -07:00
Tobias Bosch
8ef621ad2a fix(compiler): fix inheritance for AOT with summaries ()
Allows to inherit ctor args, lifecycle hooks and statics from a class
in another compilation unit. 
Will error if trying to inherit from a class in another compilation unit 
that has an `@Component` / `@Directive` / `@Pipe` / `@NgModule`.
2017-03-30 14:51:29 -07:00
Victor Berchet
6388768d73 release: cut the 4.1.0-beta.0 release 2017-03-29 16:55:47 -07:00
Tobias Bosch
14fd78fd85 fix(core): fix inheritance in JIT mode for TS 2.1 ()
Fixes 
2017-03-29 16:14:51 -07:00
Chuck Jazdzewski
a9321b1387 fix(language-service): correctly determine base members of types ()
Fixes 
2017-03-29 16:14:37 -07:00
Dzmitry Shylovich
19cb503531 docs(http): remove deprecated stuff and outdated plunkrs () 2017-03-29 15:11:59 -07:00
Dzmitry Shylovich
9c77a7cdaf fix(compiler): throw when a component defines both template and templateUrl ()
Closes 
2017-03-29 10:26:48 -07:00
Victor Berchet
d58a242fe7 refactor(router): cleanup & simplification () 2017-03-29 09:44:04 -07:00
Miško Hevery
910c0d9ee7 fix(core): Update types for TypeScript nullability support () 2017-03-29 09:34:45 -07:00
Chuck Jazdzewski
331b9f6425 fix(language-service): don't require reflect-metadata module to be provided ()
Fixes 
2017-03-29 09:34:21 -07:00
Shai Reznik
49162784a8 docs(core): fix API docs for Injector.get 2017-03-28 16:57:22 -07:00
Dzmitry Shylovich
0c36f2353d perf(router): don't create new serializer every time UrlTree.toString is called () 2017-03-28 16:17:48 -07:00
Matias Niemelä
a580f8c61f fix(animations): make sure style calculations are not computed too early ()
Closes 
2017-03-28 16:07:49 -07:00
Dzmitry Shylovich
f368381d12 fix(router): should run CanActivate after CanDeactivate guards
Closes 
Closes 
2017-03-28 15:51:33 -07:00
Dzmitry Shylovich
7c2f795ea6 refactor(router): fix tests structure 2017-03-28 15:51:17 -07:00
Victor Berchet
93d48f1d89 fix(core): fix the key/value differ ()
fixes 
2017-03-28 15:50:11 -07:00
Diego Barahona
aa16ccda79 fix(core): check for undefined on normalizeDebugBindingValue ()
DebugServices is parsing false atributes values incorrectly.
Parse5 expects a string value for attributes, but currently boolean is being sent.

Closes 
2017-03-28 13:33:07 -07:00
Chuck Jazdzewski
6269d28bb0 fix(language-service): improve performance of updateModuleAnalysis() () 2017-03-28 13:32:46 -07:00
Chuck Jazdzewski
d438b88f19 fix(compiler): ignore errors when evaluating base classes ()
Fixes 
2017-03-28 13:32:34 -07:00
Dzmitry Shylovich
8e03f65645 refactor(router): improve flatten fn
closes 
2017-03-28 09:39:20 -07:00
Dzmitry Shylovich
606b8fafb0 refactor(router): use object spread operator instead of merge fn 2017-03-28 09:38:58 -07:00
Dzmitry Shylovich
b7fa5dec21 fix(core): improve error msg for invalid KeyValueDiffer.diff arg ()
Closes 
2017-03-28 09:37:40 -07:00
Chuck Jazdzewski
a5c972aa8b fix(language-service): be resilient to invalidate ordering ()
Fixes 
2017-03-28 09:37:24 -07:00
JB Nizet
d05aa70c6b docs(core): fix typo and example in InjectionToken doc ()
The doc included an example that didn't use InjectionToken.
2017-03-28 09:37:08 -07:00
Chuck Jazdzewski
920bf373fe fix(language-service): guard access to Symbol.members ()
Fixes  

What is the current behavior?
The language service access TypeScript's Symbol.members without checking for null or undefined.
What is the new behavior?
The access is guarded.
2017-03-27 17:40:48 -07:00
Ward Bell
816b389759 docs: in doc comments, replace [aA]ngular2 with Angular () 2017-03-27 09:44:35 -07:00
Olivier Combe
53b89ec312 fix(compiler): allow single quotes into named interpolations ()
Fixes 
2017-03-24 15:10:41 -07:00
Dzmitry Shylovich
c17b912eb9 refactor: use object spread operator rather than merge () 2017-03-24 14:45:33 -07:00
Dzmitry Shylovich
8785b2bf6d fix(router): shouldn't execute CanLoad when a route has been loaded
Closes 
Closes 
2017-03-24 14:38:38 -07:00
Dzmitry Shylovich
fb1be83a1b refactor(router): polishing 2017-03-24 14:38:23 -07:00
Mike
ea848f74af docs: clarify querying all descendants ()
Fixes 
Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
2017-03-24 14:36:55 -07:00
Marc Laval
b8d5f87f96 feat(compiler): support ICU messages in XLIFF
Fixes 
Closes 
2017-03-24 14:35:28 -07:00
Marc Laval
95afaf495b test(compiler): refactor i18n integration test 2017-03-24 14:35:10 -07:00
Victor Berchet
1ba296644d release: cut the 4.0.0 release 2017-03-23 16:45:16 -07:00
Igor Minar
b800a0c824 fix: prevent strictNullChecks support until is fixed () 2017-03-23 14:54:19 -07:00
Chuck Jazdzewski
0dda01e37c fix(compiler): correctly handle when toString is exported ()
Fixes 
2017-03-23 13:38:01 -07:00
Tobias Bosch
c8ab5cb0c5 fix(compiler): assume queries with no matches as static ()
This has the side effect of allowing `@Input` and `@ContentChild`
on the same property if the query is static (see the bug description
for details).

Fixes 
2017-03-23 13:37:45 -07:00
Dzmitry Shylovich
92084f2b6a fix(platform-browser): setAttribute should work with xmlns namespace ()
Closes 
2017-03-23 12:52:06 -07:00
Dzmitry Shylovich
08f2f08d74 fix(router): should pass new data to Observable when query params change ()
Fixes 
2017-03-23 10:43:14 -07:00
Igor Minar
ee03418b10 release: cut the 4.0.0-rc.6 release 2017-03-22 23:09:47 -07:00
Igor Minar
da700d1842 docs: move markdown docs from root dir to docs/ and remove obsolete files () 2017-03-22 22:50:12 -07:00
Aliaksei Kuncevic
de87c47dd9 docs: spelling errors 2017-03-22 21:28:24 -07:00
Aliaksei Kuncevic
1060805a1f docs: fix spelling 2017-03-22 21:28:24 -07:00
Rob Wormald
08d86751b9 fix(compiler): only log template deprecation warning once () 2017-03-22 21:26:53 -07:00
Josep Sayol
9319b5f329 docs(common): update ngFor docs to new as syntax () 2017-03-22 17:18:22 -07:00
Aliaksei Kuncevič
edb2571a59 docs: spelling error () 2017-03-22 17:14:56 -07:00
JB Nizet
98cb974796 docs(router): fix typo in ParamMap api doc () 2017-03-22 17:14:11 -07:00
Victor Berchet
ea49a95bd9 fix(upgrade): component injectors should not link the module injector tree () 2017-03-22 15:22:38 -07:00
Olivier Combe
a50d79df47 fix(compiler-cli): adding missing format xliff for the extractor ()
To generate XLF files with ng-xi18n we could use the format parameter "xlf" or "xlif". The real name is "xliff" not "xlif", so this probably was a typo. This PR adds "xliff" as can be expected
2017-03-22 15:12:02 -07:00