808e4cf1b6
refactor(compiler): extract expression evaluation and writing to renderer from view_compiler
...
This is needed to that `DirectiveWrapper`s can also use them later on.
Part of #11683
2016-10-27 20:13:59 +02:00
9cb71fc7c9
refactor(compiler): introduce ClassBuilder
.
...
Part of #11683
2016-10-27 20:13:52 +02:00
6f082f93f5
refactor(compiler): set element attributes via one call
...
This makes the cost of using directives that have host attributes
smaller.
Part of #11683
2016-10-27 20:13:45 +02:00
0d7124e7cb
refactor(compiler): extract BindingParser
...
Needed so that we can parse directive host bindings independent of templates.
Part of #11683
2016-10-27 20:13:39 +02:00
52896591e6
fix(router): preserve resolve data
...
Closes #12306
2016-10-27 20:13:26 +02:00
07c44a76f9
tests(router): add a test showing how to handle resovle errors
2016-10-27 20:13:11 +02:00
3b5fc56cc1
fix(router): change router not to deactivate aux routes when navigating from a componentless routes
2016-10-27 20:13:03 +02:00
2c30365496
fix(router): disallow component routes with named outlets
...
Closes #11208 , #11082
2016-10-27 20:12:57 +02:00
8c6b376c07
fix(router): add a test to make sure canDeactivate guards are called for aux routes
...
Closes #11345
2016-10-27 20:12:48 +02:00
089d4533b3
fix(router): canDeactivate guards are not triggered for componentless routes
...
Closes #12375
2016-10-27 20:12:37 +02:00
8113a03c21
fix(CompilerCli): assert that all pipes and directives are declared by a module
2016-10-27 20:12:26 +02:00
93854e00e0
docs(common): minor corrections/improvements for NgClass ( #12327 )
2016-10-27 20:12:20 +02:00
fddf30cfaf
doc(compiler-cli): align example with style guide ( #12414 )
...
See The Angular Style Guide, [Section 2.2 - Separate File Names with Dots and Dashes](https://angular.io/docs/ts/latest/guide/style-guide.html#!#02-02 )
2016-10-27 20:12:12 +02:00
0fd859ca0b
fix(compiler): walk third party modules ( #12453 )
...
fixes #11889
fixes #12428
2016-10-27 20:12:03 +02:00
f274eeb9fc
refactor(i18n): extract Extractor from extract_i18n ( #12417 )
...
I put an extractor into your extract so you can extract while you
extract.
This allows integrators to call Extractor as a library. Also refactors
Extractor a bit so that callers need fewer arguments or arguments that
are at the right semantic level.
The refactoring causes no function change.
2016-10-27 20:11:51 +02:00
675e3d4244
refactor: remove most facades ( #12399 )
2016-10-27 20:08:06 +02:00
767841b434
docs(changelog): fix minor typo ( #12429 )
2016-10-27 19:48:35 +02:00
7bce0153bb
fix(compiler): don't access view local variables nor pipes in host expressions ( #12396 )
...
Fixes #12004
Closes #12071
2016-10-27 19:47:51 +02:00
7a1f964201
chore(release): cut the 2.1.1 release
2.1.1
2016-10-20 15:36:02 -07:00
3dffbb6cf1
docs(changelog): add 2.1.1 changelog
2016-10-20 15:34:35 -07:00
79f1798b68
chore(release): cut the 2.2.0-beta.0 release and add changelog
2016-10-20 15:31:47 -07:00
dd08d421a1
fix(router): do not update primary route if only secondary outlet is given ( #11797 )
2016-10-20 15:31:24 -07:00
a2d4299f2c
fix(router): module loader should start compiling modules when stubbedModules are set ( #11742 )
2016-10-20 15:31:11 -07:00
2598b59de7
cleanup(router): add a test verifying than NavigationEnd is not emitted after NavigationCancel
2016-10-20 15:31:04 -07:00
20b4617289
fix(router): fix lazy loading triggered by redirects from wildcard routes
...
Closes #12183
2016-10-20 15:30:50 -07:00
958bb0da04
refactor(compiler): introduce directive wrappers to generate less code
...
- for now only wraps the `@Input` properties and calls
to `ngOnInit`, `ngDoCheck` and `ngOnChanges` of directives.
- also groups eval sources by NgModule.
Part of #11683
2016-10-20 15:30:27 -07:00
4ba8f1989b
refactor(compiler): don’t use the OfflineCompiler
in extract_i18n
2016-10-20 15:29:43 -07:00
c04b4d795a
refactor(compiler): remove private exports
...
All of `@angular/compiler` is private, so we can export
everything we need directly.
2016-10-20 15:29:25 -07:00
f1b5ba9231
chore(ci): re-enable browserstack tests in ci
2016-10-20 15:27:39 -07:00
50b524ba1e
chore(tslint.json): semicolon rule expects an array
2016-10-20 15:27:25 -07:00
680ceb7d65
refactor: remove some facades ( #12335 )
2016-10-20 15:25:05 -07:00
ea186d5ccd
refactor(forms): remove ListWrapper facades
...
originally cherry-picked from 445e5922ec
2016-10-20 15:15:32 -07:00
10455044f1
chore(ci): make browserstack tests optional until they are fixed
2016-10-20 14:49:01 -07:00
31150fe6e8
feat(benchmark): add large form benchmark
...
This benchmark tracks the generated file size for large forms
as well as the time to create and destroy many form fields.
2016-10-20 14:48:02 -07:00
9223066123
fix(benchmarks): fix method name in targetable spec
2016-10-20 14:47:42 -07:00
cca4a5c519
fix(compiler): don't redeclare a var in the same scope ( #12386 )
...
This is not allowed by Closure Compiler.
2016-10-18 20:28:30 -07:00
6e5f8b59b3
fix(animations): generate aot code for animation trigger output events ( #12291 )
...
Closes #11707
Closes #12291
2016-10-18 17:16:51 -07:00
8409b65153
fix(http): make normalizeMethodName optimizer-compatible. ( #12370 )
...
`normalizeMethodName` reflectively accessed the RequestMethod enum. With a smart
optimizer, properties from the enum could be removed or renamed, and so user
code just passing in e.g. 'PATCH' might not work. This change fixes the code to
be more explicit and avoids the optimizer issue.
2016-10-18 11:21:54 -07:00
38e2203b24
refactor(core): delete unused reflector code
2016-10-17 23:17:34 -07:00
bd1dcb5f11
fix(core): fix decorator defalut values
2016-10-17 23:17:34 -07:00
3993279527
fix(core): fix property decorators
...
fixes #12224
2016-10-17 23:17:34 -07:00
bf1e2613b2
refactor(core): cleanup decorators
2016-10-17 23:17:34 -07:00
f7db0668d1
refactor(core): simplify & cleanup reflection
2016-10-17 23:17:34 -07:00
27d76776b8
fix(router): correctly export filter operator in es5 ( #12286 )
2016-10-17 23:06:19 -07:00
8603d9c269
refactor(http): use Http.request for all http shorthand methods ( #12319 )
2016-10-17 23:04:25 -07:00
d55f747858
docs(router): attribute notation for string paths ( #12205 )
...
Either bind an expression or use the attribute notation.
The mixed way `[routerLink]="/path"` won't work.
Prefer the attribute notation for string-only paths
2016-10-17 22:53:55 -07:00
52de0fa558
docs(CONTRIBUTING.md): fix typo (reproductions --> reproduction) ( #12230 )
2016-10-17 22:52:44 -07:00
d61ecf0663
docs(NgSwitch): fix mismatched tags in example ( #12270 )
2016-10-17 22:51:56 -07:00
5a9c5f28b8
docs(CHANGELOG.md): remove incorrect link ( #12259 )
2016-10-17 22:51:44 -07:00
15fc5dd7ee
test(forms): added missing selfOnly tests ( #12317 )
2016-10-17 22:51:13 -07:00