Chuck Jazdzewski
0a3a9afe58
fix(language-service): infer correct type of `?.` expressions
...
Fixes #15885
2017-04-17 09:48:52 -07:00
Chuck Jazdzewski
5a88d2f68b
fix(language-service): only use canonical symbols
...
Language service was treating some alias TypeScript symbols as if
they where the canonical symbol. If the symbol in scope is an alias
of another symbol the symbol should be converted to the canonical
symbol.
2017-04-17 09:24:31 -07:00
Miško Hevery
6649743a2d
fix(forms): Update types for TypeScript nullability support
...
This reverts commit 2e47a0d19f
.
2017-04-14 15:10:26 -07:00
Miško Hevery
56c46d70f7
fix(router): Update types for TypeScript nullability support
2017-04-14 14:31:17 -07:00
Miško Hevery
c36ec9bf60
fix(http): Update types for TypeScript nullability support
2017-04-14 13:53:25 -07:00
Tobias Bosch
86396a43e9
Revert "fix(compiler): ignore calls to unresolved symbols in metadata ( #15970 )"
...
This reverts commit ce47d33cd9
.
2017-04-14 11:20:12 -07:00
Tobias Bosch
590e68c251
Revert "feat(upgrade): allow setting the angularjs lib at runtime ( #15168 )"
...
This reverts commit 8ad464d90e
.
Breaks G3.
2017-04-14 11:20:12 -07:00
Victor Berchet
bd704c90dd
fix(compiler): fix build error in xliff2
2017-04-14 11:20:12 -07:00
Victor Berchet
ea4afebeb9
refactor(router): drop the `InternalRoute` interface
2017-04-14 09:08:13 -07:00
Dzmitry Shylovich
886cca028f
refactor(router): misc refactoring
2017-04-14 09:08:13 -07:00
Olivier Combe
4054055d0d
feat(compiler): add source files to xmb/xliff translations ( #14705 )
...
Fixes #14190
2017-04-14 09:06:25 -07:00
Panuruj Khambanonda (PK)
09c4cb2540
feat(compiler): Implement i18n XLIFF 2.0 serializer ( #14185 )
...
- Ensure that the result passes OASIS XLIFF 2.0 schema validation
- Use <ph/> for self-closing placeholder tags
- Use <pc></pc> for other placeholder tags
- Check for the correct XLIFF file version
- Add ICU support
fixes #11735
2017-04-14 09:05:00 -07:00
Victor Savkin
8ad464d90e
feat(upgrade): allow setting the angularjs lib at runtime ( #15168 )
...
This PR adds an ability to reset the angularjs library, which is often needed when Angular
is loaded lazily using RequireJS.
2017-04-14 09:04:28 -07:00
Victor Berchet
cb5a7efa91
fix(core): key-value differ changes iteration ( #15968 )
...
fixes #14997
2017-04-14 09:03:16 -07:00
Chuck Jazdzewski
ce47d33cd9
fix(compiler): ignore calls to unresolved symbols in metadata ( #15970 )
...
This only shows up in the language service. Calls to symbols
that are not resolve resulted in null instead of being resolved
causing the language service to see exceptions when the null
was not expected such as in the animations array.
Fixes #15969
2017-04-14 09:02:32 -07:00
Tobias Bosch
2e47a0d19f
Revert "fix(forms): Update types for TypeScript nullability support ( #15859 )" ( #15977 )
...
This reverts commit 6a2e08d0a8
.
2017-04-13 18:03:42 -07:00
Miško Hevery
6a2e08d0a8
fix(forms): Update types for TypeScript nullability support ( #15859 )
2017-04-13 17:14:08 -07:00
Victor Berchet
fdb3f26448
refactor(compiler): cleanup ( #15960 )
2017-04-13 11:56:00 -07:00
Adrien Boullé
9394835db4
fix(platform-server): handle innerText ( #15818 )
2017-04-13 11:54:57 -07:00
Hans Larsen
3ad0cc5736
release: cut the 4.1.0-beta.1 release
2017-04-12 14:39:22 -07:00
Miško Hevery
540581da3e
fix(language-service): Update types for TypeScript nullability support
2017-04-12 11:36:19 -07:00
Miško Hevery
6f5fccfeb7
fix: Update types for TypeScript nullability support in examples
2017-04-12 11:36:19 -07:00
Miško Hevery
14669f20bf
fix(benchpress): Update types for TypeScript nullability support
2017-04-12 11:36:19 -07:00
Miško Hevery
38d75d410e
feat(animations): Update types for TypeScript nullability support
...
Closes #15870
2017-04-11 18:13:52 -07:00
Victor Berchet
a487563768
fix(router): fix query param parsing
2017-04-11 11:15:11 -07:00
Victor Berchet
0ab04bd62c
refactor(router): cleanup & simplifications
2017-04-11 11:15:11 -07:00
Marc Laval
46ce3317c3
test(router): enable running the campaign in non-ES6 browsers
...
Closes #15806 .
2017-04-10 15:43:42 -07:00
Victor Berchet
83527fd4fb
test(router): test preloading when a module is already loaded
2017-04-10 16:35:47 -06:00
Dzmitry Shylovich
6d12aa978d
fix(router): the preloader use the module from the loaded config
2017-04-10 16:35:47 -06:00
Chuck Jazdzewski
258d5392d5
fix(language-service): detect when there isn't a tsconfig.json
...
Fixes #15874
2017-04-10 16:01:05 -06:00
Miško Hevery
09d9f5fe54
fix(compiler): Update types for TypeScript nullability support
2017-04-10 15:26:33 -06:00
Miško Hevery
d8b73e4223
fix(common): Update types for TypeScript nullability support
2017-04-10 15:26:33 -06:00
Chuck Jazdzewski
bde9771991
fix(language-service): parse extended i18n forms
2017-04-04 15:34:12 -06:00
Chuck Jazdzewski
fe0d02fc47
fix(language-service): initialize static reflector correctly
...
Fixes #15768
2017-04-04 15:00:46 -06:00
Ethan Veres
7b005aadc1
style(router): fix typo in router preloader method
2017-04-04 14:12:45 -06:00
Chuck Jazdzewski
7764c5c697
fix(language-service): avoid throwing exceptions when reporting metadata errors
2017-04-04 14:11:51 -06:00
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 ( #15583 )
...
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 ( #15599 )
...
Fixes #15502
2017-03-29 16:14:51 -07:00
Chuck Jazdzewski
a9321b1387
fix(language-service): correctly determine base members of types ( #15600 )
...
Fixes #15460
2017-03-29 16:14:37 -07:00
Dzmitry Shylovich
19cb503531
docs(http): remove deprecated stuff and outdated plunkrs ( #15598 )
2017-03-29 15:11:59 -07:00
Dzmitry Shylovich
9c77a7cdaf
fix(compiler): throw when a component defines both template and templateUrl ( #15572 )
...
Closes #15566
2017-03-29 10:26:48 -07:00
Victor Berchet
d58a242fe7
refactor(router): cleanup & simplification ( #15436 )
2017-03-29 09:44:04 -07:00
Miško Hevery
910c0d9ee7
fix(core): Update types for TypeScript nullability support ( #15472 )
2017-03-29 09:34:45 -07:00
Chuck Jazdzewski
331b9f6425
fix(language-service): don't require `reflect-metadata` module to be provided ( #15569 )
...
Fixes #15568
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 ( #15565 )
2017-03-28 16:17:48 -07:00
Matias Niemelä
a580f8c61f
fix(animations): make sure style calculations are not computed too early ( #15540 )
...
Closes #15507
2017-03-28 16:07:49 -07:00