Tobias Bosch
61002733bc
refactor(benchmarks): make tree benchmark work again
2016-08-29 12:42:57 -07:00
Marc Laval
5ff14de1f3
chore: force lf EOL for ts files ( #11143 )
2016-08-29 12:41:58 -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
Florian Knop
75553200c0
fix(http): encode correct value for %3D ( #9790 )
2016-08-26 15:47:29 -07:00
Marc Laval
6c77d7182a
fix(compiler-cli): make ngc to work on Windows ( #10919 )
...
Fixes #10792
2016-08-26 15:41:50 -07:00
James Blacklock
4a44832114
fix(UrlParser) stop setting default value 'true' (matrix params) ( #10946 )
...
This was already fixed recently for query params in #10399 .
2016-08-26 15:41:32 -07:00
Alex Rickabaugh
27539c8b80
refactor(example): refactor forward_ref example into a spec and unignore example specs ( #11088 )
2016-08-26 15:40:46 -07:00
Victor Berchet
e220a80093
feat(codegen): Add an error message when the locale is not provided ( #11104 )
2016-08-26 15:38:48 -07:00
Marc Laval
3dd85cb7f1
test(tools): make the test suite to pass on Windows ( #10926 )
2016-08-26 15:36:04 -07:00
Victor Berchet
511fe3d9f8
chore(contributing): remove documentation note ( #11108 )
2016-08-26 15:35:33 -07:00
Victor Berchet
9ce8ef76bf
fix(ErrorHandler): make rethrowError internal so that the interface can be implemented ( #11109 )
2016-08-26 14:43:42 -07:00
Misko Hevery
7c07bfff97
fix(errors): [2/2] Rename Exception to Error; remove from public API
...
BREAKING CHANGE:
Exceptions are no longer part of the public API. We don't expect that anyone should be referring to the Exception types.
ExceptionHandler.call(exception: any, stackTrace?: any, reason?: string): void;
change to:
ErrorHandler.handleError(error: any): void;
2016-08-26 10:37:17 -07:00
Misko Hevery
86ba072758
fix(errors): [1/2] Rename Exception to Error; remove from public API
2016-08-26 10:37:17 -07:00
Victor Berchet
fc1e45db92
fix(Router): merge artifacts
...
closes #11063
closes #11102
2016-08-26 10:32:35 -07:00
vsavkin
a2deafc50f
fix(router): add an option to disable initial navigation
2016-08-26 10:32:35 -07:00
vsavkin
2fc5c57b31
feat(router): add support for custom error handlers
2016-08-26 10:32:35 -07:00
vsavkin
93f323cfa2
refactor(router): make RouterLink and RouterLinkWithHref create url in a similar way
2016-08-26 10:32:35 -07:00
vsavkin
bb9dfbc578
fix(router): use encodeUri/decodeUri to encode fragment
2016-08-26 10:32:35 -07:00
vsavkin
0bb516fae2
fix(router): fix the order of guards, so canActivateChild runs before canActivate
2016-08-26 10:32:35 -07:00
vsavkin
2ffecc0e14
fix(router): update the location before activating components
2016-08-26 10:32:35 -07:00
Victor Berchet
b9647b7347
fix(i18n): change default locale from `en_US` to `en-US` ( #11103 )
2016-08-26 10:30:10 -07:00
Pawel Kozlowski
f25c97671a
fix(compiler): handle invalid host bindings and events ( #11101 )
2016-08-26 10:29:53 -07:00
Victor Berchet
0a053a4cd5
fix(i18n): Currency/Date/Number pipe use injected locale ( #11093 )
2016-08-26 09:16:01 -07:00
Igor Minar
4d7d2a2daa
refactor: remove various leftover unused or deprecated code ( #11091 )
2016-08-26 09:12:27 -07:00
Marc Laval
0cf5ece7f8
build: workaround to run presubmit.sh on Windows ( #11096 )
2016-08-26 09:12:10 -07:00
Marc Laval
66df335998
chore(dependencies): switch from es6-shim to core-js ( #10884 )
2016-08-25 17:28:36 -07:00
Chuck Jazdzewski
fc2fe00d16
fix(compiler): allow tsc-wrapped to be compile with TypeScript 2.0 ( #11086 )
2016-08-25 17:28:20 -07:00
Igor Minar
811962b2bb
refactor: rename SanitizationService to Sanitizer and DomSanitizationService to DomSanitizer ( #11085 )
...
BREAKING CHANGE: Previously inconsistently named APIs SanitizationService and DomSanitizationService were renamed to Sanitizer and DomSanitizer
2016-08-25 15:41:19 -07:00
Victor Berchet
b867764b0d
refactor(template): remove supporter deprecated `var` / `#` ( #11084 )
...
BREAKING CHANGES:
- `#` and `var` are not supported any more in expressions, use `let`,
- `var-<name>` could not be used any more on templates, use `let-<name>`,
- `var-<name>` could not be used any more to create a reference, use `ref-<name>`.
2016-08-25 15:21:33 -07:00
Kara
ce08982f78
fix(forms): fix conflicting getter name ( #11081 )
2016-08-25 14:56:31 -07:00
Marc Laval
cbe0976426
test: improve perfs by removing unneeded TestBed.compileComponents() calls ( #11083 )
2016-08-25 14:56:14 -07:00
Kara
515ff61fcb
fix(forms): fully support rebinding form group directive ( #11051 )
2016-08-25 14:37:57 -07:00
Marc Laval
d7c82f5c0f
test: fix memory leak when running test campaign ( #11072 )
2016-08-25 14:37:46 -07:00
Igor Minar
566d4361e2
refactor: remove obsolete analyzeAppProvidersForDeprecatedConfiguration
...
closes #11028
2016-08-25 13:29:43 -07:00
Igor Minar
ea2e5521e8
refactor: replace any[] with Provider[] where possible
2016-08-25 13:29:03 -07:00
Igor Minar
eb7d8c702c
fix(core): FactoryProvider's deps property should be optional
2016-08-25 13:29:03 -07:00
Igor Minar
5d294624fa
docs(core): update stability markers for core apis
2016-08-25 13:29:03 -07:00
Igor Minar
3aaf064d11
refactor(router): remove ROUTER_DIRECTIVES which were replaced by RouterModule
2016-08-25 13:29:03 -07:00
Igor Minar
f38a700e35
docs(upgrade): mark upgrade apis as stable
2016-08-25 13:29:03 -07:00
Igor Minar
501b83441d
refactor(forms): remove FORM_PROVIDERS, FORM_DIRECTIVES, REACTIVE_FORM_PROVIDERS, REACTIVE_DIRECTIVES
...
All of these have been replaced by FormsModule and ReactiveFormsModule.
2016-08-25 13:29:03 -07:00
Igor Minar
c03e25a7b7
docs(common): mark platform-browser and platform-browser-dynamic apis stable
2016-08-25 13:29:03 -07:00
Igor Minar
1f5a5895e5
refactor(common): rename UrlChangeEvent and UrlChangeListener to LocationChangeEvent and LocationChangeListener
...
These apis are not expected to be used anyone, hence I'm not documenting this change as a breaking.
2016-08-25 13:29:03 -07:00
Igor Minar
8a2324f86a
docs(common): mark all common apis except for i18n as stable
2016-08-25 13:29:03 -07:00
Igor Minar
6335b31702
refactor(common): remove COMMON_DIRECTIVES, COMMON_PIPES, CORE_DIRECTIVES that were replace with CommonModule
2016-08-25 13:29:03 -07:00
John Lindquist
6ef7a76e39
doc(form): updating example to avoid "TypeError: Converting circular structure to JSON" ( #10184 )
2016-08-25 11:14:40 -07:00
Jesús Rodríguez
cc79dcac7f
docs(cheatsheet): update javascript sections ( #11070 )
2016-08-25 11:12:23 -07:00
Alex Eagle
dc6f72e963
fix(closure): replace property accesses ( #11078 )
...
Accessing a property on the window object must be done with square brackets.
Otherwise closure compiler may collide the symbol's alias between the property
and variable mappings.
Also, accessing the 'provide' property must be done with dot syntax, so that
it can be renamed along with the code that declares such a property.
2016-08-25 11:12:06 -07:00