Victor Berchet
93deff6c33
refactor(DomSchema): improve readability by making the schema more explicit using interface names
2016-09-02 15:35:36 -07:00
Alex Eagle
c31535982c
fix(ngc): prepend a rootDir when assuming a file exists ( #11291 )
...
Otherwise we'll later try to resolve the file under one of the rootDirs and won't find it.
2016-09-02 14:52:14 -07:00
Brandon
f5101782d9
docs(router): Fixed examples for router.navigate ( #11263 )
2016-09-02 13:42:51 -07:00
Alex Eagle
5e5ae3cde6
fix(ngc): propagate errors to main ( #11214 )
2016-09-01 16:54:37 -07:00
Kara
043493cb62
fix(forms): disabled controls should never be invalid ( #11257 )
...
Closes #11253
2016-09-01 16:51:42 -07:00
Martin Probst
ebc8e808a9
feat(router): register NgModuleFactory objects. ( #11211 )
...
When lazily loading code, users need to be able to get hold of the
NgModuleFactory. For SystemJS environments, the SystemJS registry serves
this purpose. However other environments, such as modules compiled with
Closure compiler, do not expose exports object or a path based registry.
For these environments, `@NgModule` objects can include an identifier, and
the loading code can then pass `loadModule(id).then(() =>
getNgModule(id))` to the router.
2016-09-01 13:46:08 -07:00
Matias Niemelä
c9e5b599e4
fix(animations): ensure parent animations are triggered before children ( #11201 )
2016-09-01 13:24:26 -07:00
Kathy Walrath
e42a057048
docs(cheatsheet): complete the copy edit ( #11215 )
...
…and general cleanup of the cheatsheet.
2016-09-01 12:06:42 -07:00
Victor Savkin
0bb94df1da
docs(core): docs fixes ( #11212 )
2016-09-01 11:45:59 -07:00
Igor Minar
ddda62b1f2
docs(router): add changelog for 3.0.0-rc.2
2016-08-31 16:55:18 -07:00
Igor Minar
f9eb1f33f4
fix(platform-webworker): remove trailing comma in package.json
2016-08-31 16:49:14 -07:00
Igor Minar
046c1a8a25
fix(compiler-cli): update package.json to tsc-wrapped@0.3.0
2016-08-31 16:49:14 -07:00
Igor Minar
08e48c8f73
fix(router): correct peerDependencies info in package.json
2016-08-31 16:49:14 -07:00
Marc Laval
1b5e2b5129
test: add Intl polyfill and run Intl tests in all browsers ( #10471 )
2016-08-31 15:55:13 -07:00
Matias Niemelä
562c8263dc
fix(animations): ensure animation callbacks are fired for embedded views
2016-08-31 15:46:23 -07:00
Igor Minar
f4f6f4b4d8
fix(core): don't require reflect-metadata shim when in AOT mode
2016-08-31 15:10:09 -07:00
Tobias Bosch
cc89ef6c8c
fix(core): report errors for missing di tokens correctly ( #11209 )
2016-08-31 14:47:56 -07:00
Tobias Bosch
6ea5b05e7c
refactor(benchmarks): make setup nicer
...
- simplify and correct systemjs config
- remove deep imports into Ng2 packages to work with bundles
- have separate Ng2 and Polymer bootstrap files
2016-08-31 11:24:22 -07:00
Tobias Bosch
873233e825
feat(benchpress): also report the statistics in the generated file
2016-08-31 08:24:11 -07:00
Tobias Bosch
942104d9ac
fix(benchpress): support chrome 52
...
Without this fix, the `scriptTime` was always 0.
2016-08-31 08:24:10 -07:00
Tobias Bosch
6dceaf209d
fix(benchmarks): recreate setup for running benchmarks
2016-08-31 08:24:10 -07:00
Tobias Bosch
1ef122988e
fix(benchpress): make code compile and unit tests green again
2016-08-31 08:24:10 -07:00
Tobias Bosch
db280fc67e
chore: move benchpress to @angular/benchpress
2016-08-31 08:24:09 -07:00
Victor Berchet
ef0f29c372
fix: merge artifact
2016-08-30 21:37:28 -07:00
Victor Berchet
1818056912
fix(TemplateParser): disallow event-property binding even with the NO_ERRORS_SCHEMA
...
closes #11026
2016-08-30 21:32:24 -07:00
Victor Berchet
1df69cb4d2
fix(DomSchemaRegistry): detect invalid elements
2016-08-30 21:32:03 -07:00
Igor Minar
2b20db6c5a
chore: update to typescript@2.0.2 - the currect 2.0 rc
2016-08-30 21:07:45 -07:00
Igor Minar
174c016104
fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles
2016-08-30 21:07:45 -07:00
Igor Minar
71ae2c4525
refactor(webworkers): move webworkers to separate @angular/platform-webworker and @angular/platform-webworker-dynamic packages
...
BREAKING CHANGE: web worker platform is now exported via separate packages.
Please use @angular/platform-webworker and @angular/platform-webworker-dynamic
2016-08-30 21:07:45 -07:00
Victor Berchet
0f68351979
fix(Router): fix type ( #11181 )
2016-08-30 21:06:38 -07:00
vsavkin
c74a438f0c
docs(router): fix up the exampesd
2016-08-30 20:37:35 -07:00
vsavkin
c350ba29f6
fix(router): do not use rx/add/operator
2016-08-30 20:37:35 -07:00
Marc Laval
6e40ef0f6d
refactor: remove requestAnimationFrame from polyfills and platforms ( #10528 )
2016-08-30 19:58:22 -07:00
Miško Hevery
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00
Kathy Walrath
8cb1046ce9
docs(cheatsheet): copy edit bootstrapping.md ( #11149 )
...
Also remove Dart-specific code, since the Dart cheatsheet is produced
from dart-lang/angular2.
2016-08-30 08:32:51 -07:00
Kathy Walrath
d53a898f46
edit dependency-injection.md ( #11156 )
...
No copy edits to this one, but I removed Dart-specific code, since the
Dart cheatsheet is produced from dart-lang/angular2.
Part of a group of cheatsheet PRs (see #11149 ).
cc @Foxandxss & @IgorMinar
2016-08-29 18:13:35 -07:00
Kathy Walrath
f9f80003c8
docs(cheatsheet): copy edit class-decorators.md ( #11154 )
...
No copy edits to this one, but I removed Dart-specific code, since the
Dart cheatsheet is produced
from dart-lang/angular2.
2016-08-29 18:13:10 -07:00
Kathy Walrath
d59ee3caaa
docs(cheatsheet): copy edit component-configuration.md ( #11155 )
...
Also remove Dart-specific code, since the Dart cheatsheet is produced
from dart-lang/angular2.
Part of a group of cheatsheet PRs (see #11149 ).
cc @Foxandxss & @IgorMinar
2016-08-29 18:12:51 -07:00
Kathy Walrath
b8ea71afb6
docs(cheatsheet): copy edit built-in-directives.md ( #11153 )
...
Also remove Dart-specific code, since the Dart cheatsheet is produced
from dart-lang/angular2.
2016-08-29 18:12:42 -07:00
Victor Savkin
e2241a2f92
fix(router): support guards navigating synchronously ( #11150 )
2016-08-29 17:51:38 -07:00
Kara
e8a1566065
fix(forms): support radio buttons with same name but diff parent ( #11152 )
...
Closes #10065
2016-08-29 17:49:42 -07:00
Kara Erickson
d2ad871279
fix(forms): update validity when validator dir changes
...
closes #11116
2016-08-29 13:12:46 -07:00
Javier Ros
0b665c0ece
feat(validations): add support to bind validation attributes
...
This change enables to bind the validations attributes `required`,
`minlength`, `maxlength` and `pattern`.
Closes : #10505 , #7393
2016-08-29 13:12:20 -07:00
Alex Eagle
875e66409c
fix(closure): prevent closure renaming of testability interface ( #11146 )
2016-08-29 13:08:28 -07:00
Tobias Bosch
d7de5c4f8e
refactor(compiler): replace `CompileIdentifierMap` with regular `Map`
...
closes #11145
Also rename `CompileIdentifierMetadata.runtime` into `CompileIdentifierMetadata.reference`.
Also remove `CompileIdentifierMetadata.equalsTo` as
now it is enough to just check the `reference` fields for equality.
2016-08-29 12:45:27 -07:00
Chuck Jazdzewski
51877ef4ed
fix(compiler): no longer uses assetCacheKey for token identity.
...
Fixes #10545 , Fixes #10538
2016-08-29 12:45:02 -07:00
Marc Laval
38069aba35
fix(compiler): make ShadowCSS shim work on Android browser ( #11139 )
...
Fixes #11123
2016-08-29 08:18:55 -07:00
Marc Laval
7dee1ee4cf
test(core): update ErrorHandler tests to handle browsers without stack ( #11141 )
...
Fixes #11114
2016-08-29 08:17:45 -07:00
Victor Berchet
af63378fa0
fix(ShadowCss): properly shim selectors after :host and :host-context ( #10997 )
...
fixes #5390
Before the change:
// original CSS
:host .foo .bar {...}
.foo .bar {...}
// translated to
[_nghost-shh-2] .foo .bar {...}
.foo[_ngcontent-shh-2] .bar[_ngcontent-shh-2] {...}
Note that `.foo` and `.bar` where not scoped and would then apply to nested components.
With this change those selectors are scoped (as they are without `:host`).
You can explicitly apply the style to inner component by using `>>>` or `/deep/`: `:host >>> .foo`
2016-08-26 16:11:57 -07:00
Alex Eagle
abad6673e6
fix(ngc): don't quote properties in literal maps ( #11110 )
...
Closure compiler treats quoted properties specially, and doesn't rename them.
Fixes #11050
2016-08-26 15:54:34 -07:00