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
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
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
c7f750dd5a
chore(public_api): remove Angular 1 types from upgrade/static API
2016-11-16 16:26:44 -08:00
73de925551
chore(examples): add upgrade/static example
2016-11-16 16:26:44 -08:00
547c22029a
chore(examples): support upgrade/static examples
2016-11-16 16:26:44 -08:00
364642d58c
fix(router): add a banner file for the router ( #12919 )
2016-11-16 16:26:44 -08:00
7b67badc43
fix(platform_browser): fix disableDebugTools() ( #12918 )
2016-11-16 16:26:44 -08:00
dc1662a447
fix(ngUpgrade): make AoT ngUpgrade work with the testability API and resumeBootstrap() ( #12910 )
2016-11-16 16:26:43 -08:00
dabaf858d9
fix(router): should not create a route state if navigation is canceled ( #12868 )
...
Closes #12776
2016-11-16 16:26:43 -08:00
bbc3c9ce0e
refactor(forms): remove facade ( #12558 )
2016-11-16 16:26:43 -08:00
1dcf1f484e
fix(router): removes a peer dependency from router to upgrade
2016-11-16 16:26:43 -08:00
583d2833db
fix(animations): only pass in same typed players as previous players into web-animations ( #12907 )
...
Closes #12907
2016-11-16 16:26:43 -08:00
f502a768d3
chore(router): remove @angular/upgrade peer dep ( #12896 )
2016-11-16 16:26:43 -08:00
16303ac487
refactor(http): remove all facade methods from http module ( #12870 )
2016-11-16 16:26:43 -08:00
6cdc3b5c12
fix(tsickle): support ctorParams in function closure ( #12876 )
...
See https://github.com/angular/tsickle/issues/261 for context.
2016-11-16 16:26:43 -08:00
5c46c493f2
fix(animations): retain styling when transition destinations are changed ( #12208 )
...
Closes #9661
Closes #12208
2016-11-16 16:26:43 -08:00
e02c18049d
fix(select): allow for null values in HTML select options bound with ngValue
...
closes #12829
2016-11-16 16:26:43 -08:00
e0ce5458a2
fix: allow for null values in HTML select options bound with ngValue
...
This corrects the case of <option [ngValue]="null"> binding a string like "{0: null}" to the model instead of an actual null object.
Closes #10349
2016-11-16 16:26:43 -08:00
6a5ba0ec81
fix: allow for null values in HTML select options bound with ngValue
...
This corrects the case of <option [ngValue]="null"> binding a string like "{0: null}" to the model instead of an actual null object.
Closes #10349
2016-11-16 16:26:42 -08:00
828c0d24eb
refactor(core): remove dead code ( #12871 )
2016-11-16 16:26:42 -08:00
22536442d6
refactor(core): remove ListWrapper from i18n
2016-11-16 16:26:42 -08:00
845ea235ee
fix(http): return request url if it cannot be retrieved from response
...
closes #12837
2016-11-16 16:26:42 -08:00
21a4de999b
fix(http): correctly handle response body for 204 status code
...
closes #12830
fixes #12393
2016-11-16 16:26:42 -08:00
82b34838bf
refactor(xhr_backend): remove facade
2016-11-16 16:26:42 -08:00
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
73593d4bf3
perf(platform-browser): cache plugin resolution in the EventManager
...
closes #12824
2016-11-11 17:19:47 -08:00
a965d11cce
fix(compiler): generate safe access strictNullChecks compatible code ( #12800 )
...
fixes #12795
2016-11-11 17:12:17 -08:00
52be848f94
fix(router): incorrect injector is used when instantiating components loaded lazily ( #12817 )
2016-11-11 17:12:00 -08:00
69dfcf7385
docs(forms): add inline docs why ngModel
runs a 2nd change detection run ( #12821 )
...
Related to #11895
2016-11-11 15:24:11 -08:00
785b7b640e
fix(router): Route.isActive also compares query params ( #12321 )
2016-11-11 13:23:47 -08:00
e5a753e111
fix(router): router should not swallow "unhandled" errors
...
closes #12802
2016-11-11 13:22:19 -08:00
768cddbe62
fix(events): provide the ability to register global hammer.js events
...
closes #12797
2016-11-11 11:15:49 -08:00
92f244aa26
refactor(events): remove facade and clean up
2016-11-11 11:15:43 -08:00
2a4bf9a0df
fix(router): avoid router initialization for non root components
...
closes #12338
closes #12814
2016-11-11 11:15:17 -08:00