Tobias Bosch
4a5c8bd25f
Revert "test(upgrade): remove setTimeout from lifecycle hook tests ( #13027 )"
...
This reverts commit a4ab14bf74 .
2016-11-23 12:08:38 -08:00
Pete Bacon Darwin
a4ab14bf74
test(upgrade): remove setTimeout from lifecycle hook tests ( #13027 )
...
* test(upgrade): remove unnecessary NO_ERRORS_SCHEMA
* test(upgrade): remove `setTimeout` from lifecycle hook tests
Closes #13019
2016-11-22 14:26:20 -08:00
Matias Niemelä
ea4fc9b421
fix(animations): blend in all previously transitioned styles into next animation if interrupted ( #13014 )
...
Closes #13013
Closes #13014
2016-11-22 14:26:20 -08:00
Brian Michalski
0956acee58
fix(closure): quote date pattern aliases ( #13012 )
...
Quota the pattern aliases to prevent closure renaming. These are quoted in DatePipe and also need to be quoted here.
2016-11-22 14:26:20 -08:00
Chuck Jazdzewski
2ca67e1674
refactor(compiler): allow control of StaticSymbol lifetime ( #12986 )
2016-11-22 14:26:20 -08:00
Sammy Jelin
472666fc2b
refactor(ngUpgrade): Small cleanup with Testability API and resumeBootstrap ( #12926 )
...
* With non-static ngUpgrade apps, callbacks to `whenStable` were being invoked with the wrong
context
* With non-static ngUpgrade apps, `resumeBootstrap` was being run outside the NgZone
* Remove redundent `whenStableContext` variable
Neither of the first two problems were actually causing bugs (as far as I know), but they *might*
have caused problems in the future.
Inspired by https://github.com/angular/angular/pull/12910 , but for non-static apps.
2016-11-22 14:26:20 -08:00
Brady Isom
462316b0f1
fix(upgrade): call ng1 lifecycle hooks ( #12875 )
2016-11-22 14:26:20 -08:00
Tobias Bosch
3d407fc010
refactor(compiler): further minor fixes
2016-11-22 14:26:19 -08:00
Tobias Bosch
64bd672e3a
refactor(compiler): Reintroduce ReflectorHost and move Extractor into @angular/compiler
2016-11-22 14:26:19 -08:00
Tobias Bosch
ef38676091
refactor(comiler): various cleanups
2016-11-22 14:26:19 -08:00
Tobias Bosch
38be2b81c6
refactor(compiler): renames
...
- `NgHost` to `CompilerHost`
- `AotCompilerHost.resolveFileToImport` to `AotCompilerHost.fileNameToModuleName`
- `AotCompilerHoset.resolveImportToFile` to `AotCompilerHost.moduleNameToFileName`
2016-11-22 14:26:19 -08:00
Tobias Bosch
39a71eb0ec
refactor(tsc-wrapped): collect all exported functions and classes and bump metadata version from 1 to 2
...
This is needed to resolve symbols without `.d.ts` files.
This bumps the version of the metadata from 1 to 2.
This adds logic into `ng_host.ts` to automatically upgrade
version 1 to version 2 metadata by adding the exported symbols
from the `.d.ts` file.
2016-11-22 14:26:19 -08:00
Tobias Bosch
2fe6fb1163
fix(compiler): fix versions of @angular/tsc-wrapped
2016-11-22 14:26:19 -08:00
Tobias Bosch
b5afe51b26
refactor(compiler): move symbol extraction to AotCompiler
2016-11-22 14:26:19 -08:00
Tobias Bosch
170525a225
refactor(compiler): add createAotCompiler factory
...
Also adds 2 more methods to the `AotCompilerHost`:
- `loadResource`
- `resolveFileToImport`
2016-11-22 14:26:19 -08:00
Tobias Bosch
0c98f45105
refactor(compiler): remove asset: urls
...
These urls were just relicts from Dart.
2016-11-22 14:26:19 -08:00
Tobias Bosch
e7025c9423
refactor(compiler): move findDeclaration into the StaticReflector
...
Previously, this was part of the `AotCompilerHost`.
The `AotCompilerHost` is now also greatly simplified.
2016-11-22 14:26:18 -08:00
Tobias Bosch
8f295287a2
refactor(compiler): move static_reflector into @angular/compiler and rename files
...
- `src/runtime_compiler.ts` -> `src/jit/compiler.ts`
- `src/compiler.ts` -> `src/jit/compiler_factory.ts`
- `src/offline_compiler` -> `src/aot/compiler.ts`
Part of #12867
2016-11-22 14:26:18 -08:00
vsavkin
09226d96f8
fix(router): support redirects to named outlets
...
Closes #12740 , #9921
2016-11-22 14:26:18 -08:00
Victor Savkin
8df328b15a
fix(router): add a banner file for the router ( #12919 )
2016-11-22 14:26:17 -08:00
vsavkin
115f18fa06
fix(router): removes a peer dependency from router to upgrade
2016-11-22 14:26:16 -08:00
Victor Savkin
511cd4d182
fix(router): add a banner file for the router ( #12919 )
2016-11-22 14:26:14 -08:00
vsavkin
87d5d49530
fix(router): removes a peer dependency from router to upgrade
2016-11-22 14:26:14 -08:00
Chuck Jazdzewski
5b0f9e2f51
refactor(compiler): allows synchronous retrieving of metadata ( #12908 )
...
Allows non-normalized metadata to be retrieved synchronously.
Related to #7482
2016-11-16 16:26:44 -08:00
Tobias Bosch
462879887a
fix(core): support ngTemplateOutlet in production mode ( #12921 )
...
Fixes #12911
2016-11-16 16:26:44 -08:00
Peter Bacon Darwin
dae0d0fd66
docs(upgrade/static): improve API docs with examples
...
Closes #12717
2016-11-16 16:26:44 -08:00
Peter Bacon Darwin
c7f750dd5a
chore(public_api): remove Angular 1 types from upgrade/static API
2016-11-16 16:26:44 -08:00
Peter Bacon Darwin
73de925551
chore(examples): add upgrade/static example
2016-11-16 16:26:44 -08:00
Peter Bacon Darwin
547c22029a
chore(examples): support upgrade/static examples
2016-11-16 16:26:44 -08:00
Victor Savkin
364642d58c
fix(router): add a banner file for the router ( #12919 )
2016-11-16 16:26:44 -08:00