Miško Hevery
b37f5fc59b
release: cut the 4.1.0-rc.0 release
2017-04-21 00:12:10 -05:00
David
745731e1a3
fix(compiler): make I18NHtmlParser provider AoT-compliant ( #15980 )
...
PR Close #15980
2017-04-19 22:46:40 -05:00
Alex Eagle
11b0213d20
fix(compiler): suppress another closure warning ( #16137 )
...
closure compiler warns in generated .ngfactory.ts files:
```
WARNING - property createInternal already defined on superclass module$contents$..$core$src$linker$ng_module_factory_NgModuleInjector; use @override to override it
```
PR Close #16137
2017-04-19 22:46:32 -05:00
Alex Eagle
da668848c9
fix(core): distribute externs for testability API ( #16179 )
...
Workaround for #11119
PR Close #16179
2017-04-19 22:46:11 -05:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Miško Hevery
728c9d0632
fix(platform-browser): Update types for TypeScript nullability support
...
Closes #15898
2017-04-18 12:07:33 -07:00
Miško Hevery
01d93f3af8
fix(upgrade): Update types for TypeScript nullability support
...
Closes #15897
2017-04-18 12:07:33 -07:00
Miško Hevery
a0d124bd91
fix(router): relax nullability requirements
2017-04-18 12:07:33 -07:00
Miško Hevery
57bc245cb4
fix(forms): Update types for TypeScript nullability support
...
This reverts commit 6d930d2fc5
.
2017-04-18 12:07:33 -07:00
Miško Hevery
bc431888f3
fix(router): Update types for TypeScript nullability support
...
This reverts commit ea8ffc9841
.
2017-04-18 12:07:33 -07:00
Miško Hevery
ec028b8109
fix(http): Update types for TypeScript nullability support
...
This reverts commit 268884296a
.
2017-04-18 12:07:33 -07:00
Victor Berchet
014594fe8f
feat: add support for TS 2.3
2017-04-18 08:28:55 -07:00
Victor Berchet
3c8a61e40c
feat: add support for TS 2.2
2017-04-18 08:28:55 -07:00
Tobias Bosch
2f442062d2
fix(benchpress): chrome - prevent trace buffer overflow
2017-04-18 08:28:31 -07:00
Chuck Jazdzewski
f21ff904c2
fix(language-service): respect baseUrl compiler option
...
Fixes #15974
2017-04-17 14:36:49 -07:00
Chuck Jazdzewski
38a7e0d1c7
fix(compiler): ignore calls to unresolved symbols in metadata
...
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-17 14:36:08 -07:00
Tobias Bosch
90814e4449
feat(upgrade): fixes for allow setting the angularjs lib at runtime
...
- always have a value for `angular`, even if no angular is on the page
- use `const` instead of `function` to allow to export a variable `module`
without breaking tsickle / closure.
2017-04-17 14:35:55 -07:00
Tobias Bosch
e927aeae86
feat(upgrade): allow setting the angularjs lib at runtime ( #15168 )
...
Readds 8ad464d90e
.
2017-04-17 14:35:55 -07:00
Randall Koutnik
a77b126d72
fix(compiler): Inform user where Quoted error was thrown
2017-04-17 10:19:09 -07:00
Victor Berchet
82417b3ca5
fix(router): prevent `RouterLinkActive` from causing an infinite CD loop
...
fixes #15825
2017-04-17 10:15:44 -07:00
Victor Berchet
5b141fbf27
fix(compiler): support `<ng-container>` whatever the namespace
...
fixes #14257
2017-04-17 10:14:15 -07:00
Tobias Bosch
268884296a
Revert "fix(http): Update types for TypeScript nullability support"
...
This reverts commit c36ec9bf60
.
Broke in G3.
2017-04-17 09:56:09 -07:00
Tobias Bosch
ea8ffc9841
Revert "fix(router): Update types for TypeScript nullability support"
...
This reverts commit 56c46d70f7
.
Broke in G3.
2017-04-17 09:56:09 -07:00
Tobias Bosch
6d930d2fc5
Revert "fix(forms): Update types for TypeScript nullability support"
...
This reverts commit 6649743a2d
.
Broke in G3.
2017-04-17 09:56:09 -07:00
Chuck Jazdzewski
2ddf3bcdd1
fix(language-service): look for type constructors on canonical symbol
2017-04-17 09:49:31 -07:00
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