7102 Commits

Author SHA1 Message Date
Miško Hevery 6ccb93728e docs: add changelog for 4.0.3 4.0.3 2017-04-20 23:41:41 -05:00
Miško Hevery b54a957ef4 release: cut the 4.0.3 release 2017-04-20 23:39:36 -05:00
Alex Eagle 21c14a79fa 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-20 23:39:36 -05:00
Victor Berchet eed2d456d7 refactor(tsc-wrapped): cleanup (#16178)
PR Close #16178
2017-04-20 23:39:36 -05:00
Alex Eagle 719c232321 fix(core): distribute externs for testability API (#16179)
Workaround for #11119

PR Close #16179
2017-04-20 23:39:36 -05:00
Victor Berchet bd033b69c1 feat: add support for TS 2.3 2017-04-20 23:39:36 -05:00
Tobias Bosch 5b92f7ee6d fix(core): benchmarks - enable ng1 benchmark again
Also make it match the ng2 benchmark.
2017-04-20 23:39:36 -05:00
Tobias Bosch 20ffb4196d fix(benchpress): chrome - prevent trace buffer overflow 2017-04-20 23:39:36 -05:00
Tobias Bosch 11e6f45387 build: bump protractor to 4.0.14 2017-04-20 23:39:36 -05:00
Chuck Jazdzewski a30a73c2aa 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-20 23:39:36 -05:00
Tobias Bosch fb94c9937c 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-20 23:39:36 -05:00
Tobias Bosch b3259e26fe feat(upgrade): allow setting the angularjs lib at runtime (#15168)
Readds 8ad464d90e.
2017-04-20 23:39:36 -05:00
Randall Koutnik be406f8464 fix(compiler): Inform user where Quoted error was thrown 2017-04-20 23:39:36 -05:00
Victor Berchet 5cab3b146e fix(router): prevent RouterLinkActive from causing an infinite CD loop
fixes #15825
2017-04-20 23:39:36 -05:00
Chuck Jazdzewski eff6216319 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-20 23:39:35 -05:00
Tobias Bosch 88b2ab09ea Revert "fix(compiler): ignore calls to unresolved symbols in metadata (#15970)"
This reverts commit ce47d33cd9.
2017-04-20 23:39:35 -05:00
Tobias Bosch 5ad6d55a45 Revert "feat(upgrade): allow setting the angularjs lib at runtime (#15168)"
This reverts commit 8ad464d90e.

Breaks G3.
2017-04-20 23:39:35 -05:00
Victor Berchet c81c7c0920 fix(compiler): fix build error in xliff2 2017-04-20 23:39:35 -05:00
Victor Berchet 6f8e23b061 refactor(router): drop the InternalRoute interface 2017-04-20 23:39:35 -05:00
Dzmitry Shylovich dc9711107d refactor(router): misc refactoring 2017-04-20 23:39:35 -05:00
Panuruj Khambanonda (PK) 4c0c1e5fa0 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-20 23:39:35 -05:00
Victor Savkin 06ef0908c7 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-20 23:39:35 -05:00
Isaac Brown a893d5e0a9 fix(packaging): increased buffer size (#15840) 2017-04-20 23:39:35 -05:00
Victor Berchet 44afa5a03a fix(core): key-value differ changes iteration (#15968)
fixes #14997
2017-04-20 23:39:35 -05:00
Chuck Jazdzewski 0733f8d3e1 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-20 23:39:35 -05:00
Victor Berchet 6604a4dc40 refactor(compiler): cleanup (#15960) 2017-04-20 23:39:35 -05:00
Adrien Boullé 96c63a92e2 fix(platform-server): handle innerText (#15818) 2017-04-20 23:39:35 -05:00
Chuck Jazdzewski c444b1575f fix(tsc-wrapped): collect new expressions with no arguments (#15908)
Fixes #15906
2017-04-20 23:39:35 -05:00
Hans Larsen 2b676192f6 docs: add changelog for 4.1.0-beta.1 2017-04-20 23:39:34 -05:00
Hans Larsen 14a2d1a6f7 docs: add changelog for 4.0.2 4.0.2 2017-04-11 14:56:13 -07:00
Hans Larsen 61e089931f release: cut the 4.0.2 release 2017-04-11 14:50:12 -07:00
Victor Berchet cbf30cb101 ci: add jasonaden to the router 2017-04-11 14:38:46 -07:00
Victor Berchet 2f41b52e78 fix(router): fix query param parsing 2017-04-11 14:38:46 -07:00
Victor Berchet dcf60da16d refactor(router): cleanup & simplifications 2017-04-11 14:38:45 -07:00
Marc Laval 9c9f409364 test(router): enable running the campaign in non-ES6 browsers
Closes #15806.
2017-04-11 14:38:45 -07:00
Victor Berchet b44b983c1f test(router): test preloading when a module is already loaded 2017-04-11 14:38:45 -07:00
Dzmitry Shylovich 978f80985c fix(router): the preloader use the module from the loaded config 2017-04-11 14:38:45 -07:00
Paul Gschwendtner c10e50cf38 fix(tsc-wrapped): ensure valid path separators in metadata
* Fixes that `tsc-wrapped` stores invalid path separators in the bundled metadata files. Previous errors could have been: `Cannot find module '.corecoordinationnique-selection-dispatcher'.` (See https://github.com/angular/material2/issues/3834)
* Fixes failing tests on Windows. Now all tooling tests are green on Windows.

Related to #15403
2017-04-11 14:38:45 -07:00
Chuck Jazdzewski 168a2eb5bf fix(language-service): detect when there isn't a tsconfig.json
Fixes #15874
2017-04-11 14:38:44 -07:00
Chuck Jazdzewski c9c7acd484 fix(language-service): parse extended i18n forms 2017-04-11 14:34:15 -07:00
Chuck Jazdzewski 5b99533315 fix(language-service): initialize static reflector correctly
Fixes #15768
2017-04-11 14:34:14 -07:00
Ethan Veres 037805b741 style(router): fix typo in router preloader method 2017-04-11 14:34:14 -07:00
Chuck Jazdzewski 0861fda69c fix(language-service): avoid throwing exceptions when reporting metadata errors 2017-04-11 14:34:13 -07:00
Chuck Jazdzewski feae7b6059 fix(language-service): resolve any parameter types to any result 2017-04-11 14:34:12 -07:00
Chuck Jazdzewski e4277a0869 fix(language-service): improve resilience to incomplete information 2017-04-11 14:34:12 -07:00
Tobias Bosch 1864ccb3dd 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-04-11 14:34:11 -07:00
Victor Berchet 6b79ab5abe docs: add changelog for 4.0.1 4.0.1 2017-03-29 16:27:40 -07:00
Victor Berchet 53c12a84dc release: cut the 4.0.1 release 2017-03-29 16:26:06 -07:00
Tobias Bosch ca665303f4 fix(core): fix inheritance in JIT mode for TS 2.1 (#15599)
Fixes #15502
2017-03-29 16:19:15 -07:00
Chuck Jazdzewski 0fe4985756 fix(language-service): correctly determine base members of types (#15600)
Fixes #15460
2017-03-29 16:19:09 -07:00