ee2d6e572a
fix(compiler): fix performance regression caused by 5b0f9e2
...
Fixes #13146
2016-11-30 15:13:39 -08:00
ba8645c529
Fix(http): invalidStateError response body
...
Check on null value failed with last version of mozilla.
Check on undefined type instead.
2016-11-30 15:13:39 -08:00
eba53fd16c
fix(common): update DatePipe to allow closure compilation
...
Quote the date formats to prevent closure renaming. These are specified as strings in templates using DatePipes and also need to be quoted here.
2016-11-30 15:13:39 -08:00
c0698de2ea
doc(common): fix a typo in async pipe
2016-11-30 15:13:38 -08:00
dc6728e7ad
refactor(core): remove unused import
...
APP_ID was removed after 2.2.x
2016-11-30 15:13:38 -08:00
eb173bcd30
fix(compiler-cli): fix paths in source maps to be relative
...
The change looks bigger than it really is because I reordered the properties to match other tsconfigs we have.
The only real change is removal of sourceRoot property.
Fixes #13040
2016-11-30 15:13:38 -08:00
e39e16ae6a
Keep console.log
that are not called during compilation.
2016-11-30 15:13:38 -08:00
ff56da554f
Check if console.error
is defined
2016-11-30 15:13:38 -08:00
d160591453
refactor(lint): Don't allow console.log
...
Enable tslint check for `console.log` as a follow-up to
https://github.com/angular/angular/issues/13018
2016-11-30 15:13:38 -08:00
69572ac2f1
Revert "refactor(compiler): move static_reflector
into @angular/compiler
and rename files"
...
This reverts commit 8f295287a2
.
2016-11-23 12:09:10 -08:00
76f53f929c
Revert "refactor(compiler): move findDeclaration
into the StaticReflector
"
...
This reverts commit e7025c9423
.
2016-11-23 12:09:09 -08:00
ba52f2f252
Revert "refactor(compiler): remove asset:
urls"
...
This reverts commit 0c98f45105
.
2016-11-23 12:09:08 -08:00
e122f6bf0f
Revert "refactor(compiler): add createAotCompiler
factory"
...
This reverts commit 170525a225
.
2016-11-23 12:09:07 -08:00
453c758d1a
Revert "refactor(compiler): move symbol extraction to AotCompiler
"
...
This reverts commit b5afe51b26
.
2016-11-23 12:09:06 -08:00
015ca47336
Revert "fix(compiler): fix versions of @angular/tsc-wrapped
"
...
This reverts commit 2fe6fb1163
.
2016-11-23 12:09:04 -08:00
f32e287812
Revert "refactor(tsc-wrapped): collect all exported functions and classes and bump metadata version from 1 to 2"
...
This reverts commit 39a71eb0ec
.
2016-11-23 12:08:46 -08:00
9946ac5cc7
Revert "refactor(compiler): renames"
...
This reverts commit 38be2b81c6
.
2016-11-23 12:08:45 -08:00
593e05dc97
Revert "refactor(comiler): various cleanups"
...
This reverts commit ef38676091
.
2016-11-23 12:08:44 -08:00
da77b580c9
Revert "refactor(compiler): Reintroduce ReflectorHost
and move Extractor
into @angular/compiler
"
...
This reverts commit 64bd672e3a
.
2016-11-23 12:08:42 -08:00
1733ea09bd
Revert "refactor(compiler): further minor fixes"
...
This reverts commit 3d407fc010
.
2016-11-23 12:08:41 -08:00
1f4fa28fac
Revert "refactor(compiler): allow control of StaticSymbol lifetime ( #12986 )"
...
This reverts commit 2ca67e1674
.
2016-11-23 12:08:41 -08:00
c12e56ec0c
Revert "fix(animations): blend in all previously transitioned styles into next animation if interrupted ( #13014 )"
...
This reverts commit ea4fc9b421
.
2016-11-23 12:08:40 -08:00
4a5c8bd25f
Revert "test(upgrade): remove setTimeout
from lifecycle hook tests ( #13027 )"
...
This reverts commit a4ab14bf74
.
2016-11-23 12:08:38 -08:00
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
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
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
2ca67e1674
refactor(compiler): allow control of StaticSymbol lifetime ( #12986 )
2016-11-22 14:26:20 -08:00
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
462316b0f1
fix(upgrade): call ng1 lifecycle hooks ( #12875 )
2016-11-22 14:26:20 -08:00
3d407fc010
refactor(compiler): further minor fixes
2016-11-22 14:26:19 -08:00
64bd672e3a
refactor(compiler): Reintroduce ReflectorHost
and move Extractor
into @angular/compiler
2016-11-22 14:26:19 -08:00
ef38676091
refactor(comiler): various cleanups
2016-11-22 14:26:19 -08:00
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
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
2fe6fb1163
fix(compiler): fix versions of @angular/tsc-wrapped
2016-11-22 14:26:19 -08:00
b5afe51b26
refactor(compiler): move symbol extraction to AotCompiler
2016-11-22 14:26:19 -08:00
170525a225
refactor(compiler): add createAotCompiler
factory
...
Also adds 2 more methods to the `AotCompilerHost`:
- `loadResource`
- `resolveFileToImport`
2016-11-22 14:26:19 -08:00
0c98f45105
refactor(compiler): remove asset:
urls
...
These urls were just relicts from Dart.
2016-11-22 14:26:19 -08:00
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
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
33a79028be
fix(benchmarks): use sanitized style values ( #12943 )
2016-11-22 14:26:18 -08:00
09226d96f8
fix(router): support redirects to named outlets
...
Closes #12740 , #9921
2016-11-22 14:26:18 -08:00
8df328b15a
fix(router): add a banner file for the router ( #12919 )
2016-11-22 14:26:17 -08:00
115f18fa06
fix(router): removes a peer dependency from router to upgrade
2016-11-22 14:26:16 -08:00
511cd4d182
fix(router): add a banner file for the router ( #12919 )
2016-11-22 14:26:14 -08:00
87d5d49530
fix(router): removes a peer dependency from router to upgrade
2016-11-22 14:26:14 -08:00
efe9c4f35c
fix(tools): fix error when running test.sh ( #12927 )
2016-11-16 16:26:44 -08:00
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
462879887a
fix(core): support ngTemplateOutlet
in production mode ( #12921 )
...
Fixes #12911
2016-11-16 16:26:44 -08:00
dae0d0fd66
docs(upgrade/static): improve API docs with examples
...
Closes #12717
2016-11-16 16:26:44 -08:00