Victor Berchet
0fde7ecd0f
refactor: add license header to JS files & format files ( #12081 )
2016-10-05 15:33:16 -07:00
Tobias Bosch
d25cd244af
refactor(benchmarks): refactor to support AOT bootstrap in G3 ( #12075 )
2016-10-05 15:33:16 -07:00
Pawel Kozlowski
e00de0c606
fix(forms): properly validate empty strings with patterns ( #11450 )
2016-10-05 15:33:16 -07:00
Victor Berchet
0528dcb9dc
refactor: simplify arrow functions ( #12057 )
2016-10-05 15:33:16 -07:00
Victor Berchet
6f7ed32154
fix(ShadowCss): fix attribute selectors in :host and :host-context ( #12056 )
...
Fix a regression introduced in #11917 while fixing #6249
2016-10-05 15:33:16 -07:00
Alex Eagle
1bd8ba80a7
refactor(facade): Remove most of StringMapWrapper facade. ( #12022 )
...
This change mostly automated by
https://github.com/alexeagle/tslint/commit/12012b07a2f7c341424aee5b40660ca0839bc347
with some manual fixes.
2016-10-05 15:33:16 -07:00
Victor Berchet
adb17fed98
fix(Header): preserve case of the first init, set() or append() ( #12023 )
...
fixes #11624
2016-10-05 15:33:16 -07:00
Ben Elliott
3067ce6eb4
docs(NgModule): Fixed docs for NgModule.entryComponents ( #12006 )
...
* docs(NgModule): Corrected the wording of the documentation of `entryComponents`, fixed some minor grammar issues
* docs(NgModule): Remove redundant ComponentFactory mentions
* docs(NgModule): Restore ComponentFactory/ComponentResolver links
2016-10-05 15:33:16 -07:00
Alex Eagle
db00ba7ae7
refactor(facade): remove DateWrapper ( #12027 )
2016-10-05 15:33:16 -07:00
Victor Berchet
5a8f116687
text(offline compiler): fix expected output
2016-10-05 15:33:16 -07:00
Victor Berchet
02a862f8af
test(AstSerializer): fix serializing void tags
2016-10-05 15:33:16 -07:00
Victor Berchet
7578d8573b
fix(xlif): fix <x> ctype names
...
fixes #12000
see http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#ctype
2016-10-05 15:33:16 -07:00
Victor Berchet
de56e31cf0
style(I18N): Carriage returns in serialized files
2016-10-05 15:33:16 -07:00
Victor Berchet
c99ef4938f
fix(ShadowCss): support @page and @document CSS rules ( #11878 )
...
fixes #11860
2016-10-05 15:33:16 -07:00
Victor Berchet
7395400066
fix(ShadowCss): support quoted attribute values
...
fixes #6085
2016-10-05 15:33:16 -07:00
Victor Berchet
d985cc0253
refactor(ShadowCss): add missing types
2016-10-05 15:33:16 -07:00
Victor Berchet
aca117ac56
fix(ShadowCss): fix :host(tag) and :host-context(tag)
...
fixes #11972
2016-10-05 15:33:16 -07:00
Victor Berchet
2c3825f2c8
fix(BrowserAdapter): correctly removes styles on IE
...
fixes #7916
2016-10-05 15:33:16 -07:00
Victor Berchet
ea6defcf11
refactor(BrowserAdapter): cleanup
2016-10-05 15:33:16 -07:00
Victor Berchet
975aca95bb
refactor(CssSelector): misc cleanup
2016-10-05 15:33:16 -07:00
Victor Berchet
5cb78566c2
docs(CssSelector): [name*=value] is not supported
...
fixes #6042
2016-10-05 15:33:16 -07:00
Victor Berchet
9bacb32ec5
feat(Parse5): update to the latest version 2.2.1
...
fixes #6237
2016-10-05 15:33:16 -07:00
Tobias Bosch
6970991546
docs: update docs for ng2_ftl benchmark
2016-10-05 15:33:16 -07:00
Victor Berchet
bd012efcc4
fix(ShadowCss): support [attr="value with space"]
...
fixes #6249
2016-10-05 15:33:16 -07:00
Victor Berchet
2dd399658d
refactor(ShadowCss): cleanup
2016-10-05 15:33:16 -07:00
Victor Berchet
d0dea574cb
test(DirectiveResolver): test that a prop can have both @Input and @HostBinding
2016-10-05 15:33:16 -07:00
Victor Berchet
f7864edd4b
refactor(DirectiveResolver): cleanup
2016-10-05 15:33:16 -07:00
alexbyk
9cc0a4ed10
fix(UrlSearchParams): change a behavior when a param value is null or undefined ( #11990 )
2016-10-05 15:33:16 -07:00
Connor Wyatt
3ee8c75eff
refactor(routerLinkActive): optimised routerLinkActive active check code ( #11968 )
...
Modify routerLinkActive to optimise performance by removing unnecessary iteration. By replacing Array.reduce with Array.some, the loop will break when it finds an active link. Useful if used on the parent of a large group of routerLinks. Furthermore, if a RouterLink is active it will not check the RouterLinkWithHrefs.
2016-10-05 15:33:16 -07:00
Alex Eagle
b39d3a173e
refactor(facade): Inline isBlank called with object-type argument ( #11992 )
2016-10-05 15:33:16 -07:00
Tobias Bosch
a4af1561b7
benchmarks: add ng2_ftl and ng2_switch_ftl benchmarks ( #11963 )
...
These benchmarks take the output of AoT
and manually tweaks it to explore possible
future changes to the compiler to produce
this output directly.
2016-10-05 15:33:16 -07:00
Christoph Krautz
0851238e78
fix(upgrade): bind optional properties when upgrading from ng1 ( #11411 )
...
Previously, optional properties of a directive/component would be wrongly mapped and thus ignored.
Closes #10181
2016-10-05 15:33:16 -07:00
Florian Kinder
d2d98dad61
docs(forms): Added FormControl initialization information ( #11948 )
2016-10-05 15:33:16 -07:00
Alex Eagle
826c98e50c
fix(ngc): allow ReflectorHost passed as argument to CodeGenerator#create ( #11951 )
2016-10-05 15:33:16 -07:00
Alex Eagle
830e6352dd
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-10-05 15:33:16 -07:00
Marc Laval
5911c3bd43
fix(compiler): move detection of unsafe properties for binding to ElementSchemaRegistry ( #11378 )
2016-10-05 15:33:16 -07:00
vikerman
51e1994af0
fix(compiler): Do not embed templateUrl in view factories in non-debug mode. ( #11818 )
...
Fixes #11117 .
2016-10-05 15:33:16 -07:00
Victor Berchet
faf5d90bf6
refactor: remove dead code
2016-10-05 15:33:16 -07:00
Victor Berchet
7e5413da89
refactor(facade): remove useless facades
2016-10-05 15:33:16 -07:00
Austin
e82a78e641
docs(upgrade): rename undeclared Ng2 to Ng2Component ( #11950 )
2016-10-05 15:33:16 -07:00
Austin
c13e55c8c3
(docs): removing addProvider from UpgradeAdapter ( #11934 )
...
The `addProvider` function in the `UpgradeAdapter` was deprecated in this [commit](https://github.com/angular/angular/commit/d21331e902341abe3fdec267d0acae223c801c52#diff-77163e956a7842149f583846c1c01651 ) and has been removed in final. Given this, the documentation for downgrading ng2 providers for use in ng1 is invalid.
2016-10-05 15:33:16 -07:00
Trotyl Yu
a153504212
docs(router_config): add missing quote ( #11925 )
2016-10-05 15:33:16 -07:00
Victor Berchet
b8a75818ee
docs: remove outdated docs ( #11875 )
2016-10-05 15:33:16 -07:00
Victor Berchet
0a8887240a
docs(ExceptionHandler): fix API docs ( #11772 )
...
fixes #11769
2016-10-05 15:33:16 -07:00
Flounn
5c4215ccb4
Fix(http): invalidStateError if response body without content ( #11786 )
...
Fix(http): invalidStateError if response body without content
If the responseType has been specified and other than 'text', responseText throw an InvalidStateError exception
See XHR doc => https://xhr.spec.whatwg.org/#the-responsetext-attribute
Unit Test to prevent invalidStateError
2016-10-05 15:33:16 -07:00
Matias Niemelä
85489a166e
refactor(animations): ensure animation input/outputs are managed within the template parser ( #11782 )
...
Closes #11782
Closes #11601
Related #11707
2016-10-05 15:33:16 -07:00
Victor Savkin
cf750e17ed
fix(router): do not reset the router state when updating the component ( #11867 )
2016-09-24 07:14:06 +09:00
Miško Hevery
b81e2e7a31
fix(upgrade): allow attribute selectors for components in ng2 which are not part of upgrade ( #11808 )
...
fixes #11280
2016-09-23 10:48:47 -07:00
Victor Berchet
98fac36706
docs(Component): API docs for .encapsulation and .interpolation
2016-09-23 10:22:24 -07:00
Victor Berchet
3e780c032e
refactor: misc cleanup
2016-09-23 10:22:05 -07:00