Julie Ralph
894747c34c
fix(platform-browser/testing-e2e): clean up unused exports from e2e testing helpers ( #9387 )
2016-06-23 16:14:31 -07:00
Julie Ralph
8d5a312585
chore(api): clean up compiler/testing api ( #9520 )
...
Do not export MockXHR, which is a private helper.
2016-06-23 15:52:18 -07:00
Jason Choi
8eb81b3741
ci: add updated ts-api-guardian check
2016-06-23 14:26:40 -07:00
Jason Choi
22d8f73bc9
test: add public api golden files
...
Includes a few style fixes on "* as foo" imports.
2016-06-23 14:26:40 -07:00
Jason Choi
249a6bdd98
test: upgrade ts-api-guardian to v0.1.2
2016-06-23 14:26:40 -07:00
Martin Probst
3ad81b1beb
test(security): simplify integration test.
2016-06-23 13:57:51 -07:00
Martin Probst
5ab0534164
test(security): Ensure xlink:href is not bindable.
...
The DOM schema does not allow binding any properties to dangerous SVG
attributes/properties. This change adds a smoke test to verify that
behaviour, by testing that `xlink:href` (a sample dangerous property)
is not bindable.
Fixes #9510 .
2016-06-23 13:57:51 -07:00
Igor Minar
5150344213
fix(common): add license header to localization.ts
2016-06-23 13:27:43 -07:00
Wojciech Kwiatek
98cef76931
fix(security): no warning when sanitizing escaped html ( #9392 ) ( #9413 )
2016-06-23 13:06:19 -07:00
Tobias Bosch
6c5b653593
feat(core): add @Component.precompile and ComponentFactoryResolver
...
Part to #9467
Closes #9543
2016-06-23 12:10:04 -07:00
Tobias Bosch
9ed8f2d26e
fix(compiler): don't inject viewProviders into content child elements
...
E.g. in the following scenario,
`some-directive` should not be able to inject
any view provider that `my-comp-with-view-providers`
declares.
```
<my-comp-with-view-providers>
<div some-directive></div>
</my-comp-with-view-providers>
```
2016-06-23 12:10:04 -07:00
Tobias Bosch
33a2f86b28
chore: remove stale tsconfig.json
...
This tsconfig.json prevents fast round trip cycles in VsCode
as it relies on the package-dist folders to be filled.
2016-06-23 12:10:04 -07:00
Victor Berchet
fed1672a43
refactor(i18n): I18nPipe uses NgLocalization ( #9313 )
...
and some refactoring
2016-06-23 11:44:05 -07:00
Alex Eagle
54dbed4f48
fix(typings): don't test compiler-cli typings on TS 1.8
2016-06-23 10:57:03 -07:00
Pawel Kozlowski
df759b8d4b
fix(core): improve error message for broken bindings
...
Fixes #6820
Closes #9536
2016-06-23 19:28:56 +02:00
Kara Erickson
6edf0474cc
feat(forms): add support for standalone ngModel dirs inside forms
...
Closes #9230
2016-06-23 10:16:47 -07:00
Josh Thomas
826f89f862
fix(ngc): correct dependencies for compiler-cli
...
Update compiler-cli dependencies to include minimist and also increment tsc-wrapped to 0.2.0. There is signature mismatch between tsc-wrapped (v0.1.0) collector.js#getMetadata and compiler-cli reflector_host.js#getMetadataFor that caused an error anytime ngc was executed. The error received was as follows.
`TypeError: Cannot read property 'getSymbolsInScope' of undefined`
After forcing NPM to install @angular/tsc-wrapped@latest the error was resolved.
Fixes #9540
2016-06-23 10:16:04 -07:00
Matias Niemelä
c43aec2182
fix(animations): make sure the easing value is passed into the web-animations player
...
Closes #9517
Closes #9523
2016-06-23 10:14:18 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
ScottSWu
a5f2cc73f6
chore(lint): Add lint check for license headers
...
Added a tslint check to make sure all source files begin with a license
header (at the very beginning or after a `#!`).
Relates to #9380
2016-06-23 09:46:32 -07:00
Victor Berchet
e1e5c40ef7
fix(testing): remove the toThrowErrorWith matcher (jasmine has toThrowError)
...
BREAKING CHANGE:
Before:
expect(...).toThrowErrorWith(msg);
After:
expect(...).toThrowError(msg);
2016-06-23 08:58:52 -07:00
Victor Berchet
6420f75320
fix(testing): remove the toMatchPattern matcher (jasmine has toMatch)
...
BREAKING CHANGE:
Before:
expect(...).toMatchPattern(pattern);
After:
expect(...).toMatch(pattern);
2016-06-23 08:58:28 -07:00
Victor Berchet
5face35ae5
refactor: misc cleanup
2016-06-23 08:56:10 -07:00
Victor Berchet
398060d5ff
fix(NgSwitch): display deprecation message only once
2016-06-23 08:56:10 -07:00
Torgeir Helgevold
638fd744aa
feat(forms): support updating of validators on exiting controls ( #9516 )
...
lint
fix
async
d
test
test
2016-06-23 08:18:07 -07:00
Pawel Kozlowski
098b461b69
fix(core): report duplicate template bindings in templates
...
Fixes #7315
BREAKING CHANGES:
Previously multiple template bindings on one element
(ex. `<div *ngIf='..' *ngFor='...'>`) were allowed but most of the time
were leading to undesired result. It is possible that a small number
of applications will see template parse errors that shuld be fixed by
nesting elements or using `<template>` tags explicitly.
Closes #9462
2016-06-23 15:59:07 +02:00
Marc Laval
9decc3d823
build: fix some issues on Windows platforms
...
Closes #9450
2016-06-23 10:46:01 +02:00
Dmitry Zamula
a5f2e205ef
fix(http): add search param escaping for keys ( #9166 )
2016-06-22 18:23:15 -07:00
ScottSWu
8899b83927
chore(typescript): Enabled noFallthroughCasesInSwitch
...
Turned on the noFallthroughCasesInSwitch flag in tsconfig and fixed
a few cases where there were fallthroughs.
2016-06-22 16:08:55 -07:00
Victor Berchet
f6a410a4a8
feat(QueryList): implement some() ( #9464 )
...
closes #9443
2016-06-22 13:13:31 -07:00