413167ab1b
style: clang-format the code
2016-12-14 17:26:52 -08:00
203cc7e1f1
fix: Better instructions on running examples and their tests
2016-12-14 17:23:11 -08:00
b0cd514709
fix: Better error when directive not listed in NgModule.declarations
2016-12-14 17:22:58 -08:00
392c9ac214
fix(selector): SelectorMatcher match elements with :not selector ( #12977 )
2016-12-14 17:21:34 -08:00
a26e054857
fix(animations): always cleanup players after they have finished internally ( #13334 )
...
Closes #13333
Closes #13334
2016-12-14 17:21:23 -08:00
c0b001a6af
refactor(router): misc refactoring ( #13330 )
2016-12-14 17:21:09 -08:00
c8c1f22f9c
refactor(router): simplify regexp
...
closes #11373
closes #13329
2016-12-14 17:20:47 -08:00
e4d5a5f003
fix(router): add support for query params with mulitple values
...
closes #11373
2016-12-14 17:20:22 -08:00
03d9de33a1
Revert "fix(compiler): fix transpiled ES5 code ( #13322 )"
...
This reverts commit 4398056146
.
2016-12-14 17:20:14 -08:00
6c1d7908d5
fix(compiler): fix transpiled ES5 code ( #13322 )
...
fixes #13301
The inner class would transpile to a nested function declaration which is not
allowed in ES5.
See http://eslint.org/docs/rules/no-inner-declarations
2016-12-14 17:18:12 -08:00
5ee8155e4e
fix(router): Use T type in Resolve interface ( #13242 )
2016-12-14 17:17:45 -08:00
13b41bd631
chore(release): update version of tsc-wrapped to 0.4.2
2016-12-07 13:54:22 -08:00
4a09c81724
fix(language-service): do not throw for invalid metadata ( #13261 )
...
Fixes #13255
2016-12-06 17:11:09 -08:00
16efb13dd1
fix: display framework version on bootstrapped component ( #13252 )
2016-12-06 16:21:07 -08:00
986abbe0b2
fix(http): set the default Accept header ( #12989 )
...
Fixes #6354
2016-12-06 16:20:43 -08:00
25c2141991
fix(language-service): remove incompletely used parameter from createLanguageServiceFromTypescript()
( #13278 )
...
Fixes #13277
2016-12-06 16:19:39 -08:00
2893c2c0a2
fix(router): validate nested routes ( #13224 )
...
Fixes #12827
2016-12-06 10:41:01 -08:00
66b6fc010d
refactor(common): unify export structure
2016-12-06 10:40:38 -08:00
f31c9470fa
fix(compiler): short-circut expressions with an index ( #13263 )
...
Fixes #13254
2016-12-06 10:40:15 -08:00
4bd8f58552
FIX typo ( #13267 )
2016-12-06 10:40:01 -08:00
93556a5720
fix(language-service): avoid throwing for invalid class declarations ( #13257 )
...
Fixes #13253
2016-12-06 09:56:30 -08:00
5614c4ff0f
fix(compiler): serialize any StaticSymbol
correctly, not matter in which context.
2016-12-05 14:20:01 -08:00
c3065aac7a
refactor(compiler): replace isStaticSymbol
with instanceof StaticSymbol
2016-12-05 14:20:01 -08:00
c767df0e4e
fix(router): throw a better error message when angular 1 is not bootstraped
2016-12-05 10:57:24 -08:00
25e5b2fdf0
fix(router): make setUpLocationChangeListener idempotent
2016-12-05 10:57:24 -08:00
307c4693dc
refactor(router): code cleanup
2016-12-05 10:54:10 -08:00
349ad75de3
fix(router): fix replaceUrl on RouterLink directives
2016-12-05 10:54:10 -08:00
f562cbf86c
fix(router): fix skipLocationChanges on RouterLink directives
...
fixes #13156
2016-12-05 10:54:10 -08:00
804943c9b1
refactor(router): cleanup RouterLink
2016-12-05 10:54:10 -08:00
a1322873c8
fix(facade): cache original format string ( #12764 )
2016-12-05 10:26:59 -08:00
b8c839bd51
docs(cheatsheet): correct HostBinding decorator example ( #13206 )
2016-12-05 10:25:40 -08:00
6cf7a1bf84
refactor(build): fix build location of compiler-cli esm module ( #13212 )
2016-12-02 15:19:52 -08:00
d46b8deeea
fix(router): runs guards every time when unsuccessfully navigating to the same url over and over again ( #13209 )
2016-12-02 15:19:00 -08:00
bbb7a39414
fix(router): allow specifying a matcher wihtout specifying a path
...
fixes #12972
2016-12-02 15:03:59 -08:00
d7d8fab211
refactor(router): cleanup config
2016-12-02 15:03:59 -08:00
51b06924bd
docs(core): correct HostListener typo ( #13203 )
2016-12-02 14:45:47 -08:00
3ff6554cbc
fix(language-service): update to use CompilerHost
from compiler-cli ( #13189 )
2016-12-02 14:34:16 -08:00
dfd8140084
Fix format
2016-12-02 14:31:55 -08:00
6ea3ab7e14
Fix exit code. Give a specific type. Add test cases.
2016-12-02 14:31:55 -08:00
9761db5ac2
refactor(compiler): change ngc error handling
...
Do not print stack trace for user errors
Print stack trace for compiler internal errors
2016-12-02 14:31:55 -08:00
75d1617b63
fix(compiler): include the summaries of reexported modules / directives / pipes ( #13196 )
...
Only if these are not part of the sources.
2016-12-02 10:08:46 -08:00
614a35d539
feat(compiler): read and write .ngsummary.json
files
...
When compiling libraries, this feature extracts the minimal information
from the directives/pipes/modules of the library into `.ngsummary.json` files,
so that applications that use this library only need to be recompiled
if one of the summary files change, but not on every change
of the libraries (e.g. one of the templates).
Only works if individual codegen for libraries is enabled,
see the `generateCodeForLibraries: false` option.
Closes #12787
2016-12-01 14:49:52 -08:00
9ab401f4d3
refactor(compiler): simplify NgModuleSymmaryMetadata
...
- merge `NgModuleInjectorSummary` and `NgModuleDirectiveSummary`
- remove `directiveLoaders` from the summary
2016-12-01 14:49:52 -08:00
82c81cd0d2
fix(common): make sure the plural category exists ( #13169 )
...
fixes #12379
2016-12-01 13:26:24 -08:00
12959f444c
refactor(router):remove unused parameter pathIndex ( #13180 )
2016-12-01 13:25:53 -08:00
25a6da244c
refactor(compiler-cli): refactor compiler host parameters ( #13147 )
2016-12-01 13:24:51 -08:00
ae26504e84
fix(core): update peer dep on zone.js to ^0.7.2
2016-11-30 15:42:56 -08:00
2975d8933c
fix(language-service): harden against partial normalization of directives
2016-11-30 14:55:56 -08:00
43c0e9a6bb
fix(compiler): fix performance regression caused by 5b0f9e2
...
Fixes #13146
2016-11-30 14:55:56 -08:00
f275f36081
fix(version): take all of version string after patch version
2016-11-30 14:25:11 -08:00