0fde7ecd0f
refactor: add license header to JS files & format files ( #12081 )
2016-10-05 15:33:16 -07:00
e00de0c606
fix(forms): properly validate empty strings with patterns ( #11450 )
2016-10-05 15:33:16 -07:00
0528dcb9dc
refactor: simplify arrow functions ( #12057 )
2016-10-05 15:33:16 -07:00
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
1bd8ba80a7
refactor(facade): Remove most of StringMapWrapper facade. ( #12022 )
...
This change mostly automated by
12012b07a2
with some manual fixes.
2016-10-05 15:33:16 -07:00
adb17fed98
fix(Header): preserve case of the first init, set()
or append()
( #12023 )
...
fixes #11624
2016-10-05 15:33:16 -07:00
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
db00ba7ae7
refactor(facade): remove DateWrapper ( #12027 )
2016-10-05 15:33:16 -07:00
5a8f116687
text(offline compiler): fix expected output
2016-10-05 15:33:16 -07:00
02a862f8af
test(AstSerializer): fix serializing void tags
2016-10-05 15:33:16 -07:00
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
de56e31cf0
style(I18N): Carriage returns in serialized files
2016-10-05 15:33:16 -07:00
c99ef4938f
fix(ShadowCss): support @page
and @document
CSS rules ( #11878 )
...
fixes #11860
2016-10-05 15:33:16 -07:00
7395400066
fix(ShadowCss): support quoted attribute values
...
fixes #6085
2016-10-05 15:33:16 -07:00
d985cc0253
refactor(ShadowCss): add missing types
2016-10-05 15:33:16 -07:00
aca117ac56
fix(ShadowCss): fix :host(tag)
and :host-context(tag)
...
fixes #11972
2016-10-05 15:33:16 -07:00
2c3825f2c8
fix(BrowserAdapter): correctly removes styles on IE
...
fixes #7916
2016-10-05 15:33:16 -07:00
ea6defcf11
refactor(BrowserAdapter): cleanup
2016-10-05 15:33:16 -07:00
975aca95bb
refactor(CssSelector): misc cleanup
2016-10-05 15:33:16 -07:00
5cb78566c2
docs(CssSelector): [name*=value]
is not supported
...
fixes #6042
2016-10-05 15:33:16 -07:00
9bacb32ec5
feat(Parse5): update to the latest version 2.2.1
...
fixes #6237
2016-10-05 15:33:16 -07:00
bd012efcc4
fix(ShadowCss): support [attr="value with space"]
...
fixes #6249
2016-10-05 15:33:16 -07:00
2dd399658d
refactor(ShadowCss): cleanup
2016-10-05 15:33:16 -07:00
d0dea574cb
test(DirectiveResolver): test that a prop can have both @Input
and @HostBinding
2016-10-05 15:33:16 -07:00
f7864edd4b
refactor(DirectiveResolver): cleanup
2016-10-05 15:33:16 -07:00
9cc0a4ed10
fix(UrlSearchParams): change a behavior when a param value is null or undefined ( #11990 )
2016-10-05 15:33:16 -07:00
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
b39d3a173e
refactor(facade): Inline isBlank called with object-type argument ( #11992 )
2016-10-05 15:33:16 -07:00
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
d2d98dad61
docs(forms): Added FormControl initialization information ( #11948 )
2016-10-05 15:33:16 -07:00
826c98e50c
fix(ngc): allow ReflectorHost passed as argument to CodeGenerator#create ( #11951 )
2016-10-05 15:33:16 -07:00
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
5911c3bd43
fix(compiler): move detection of unsafe properties for binding to ElementSchemaRegistry ( #11378 )
2016-10-05 15:33:16 -07:00
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
faf5d90bf6
refactor: remove dead code
2016-10-05 15:33:16 -07:00
7e5413da89
refactor(facade): remove useless facades
2016-10-05 15:33:16 -07:00
e82a78e641
docs(upgrade): rename undeclared Ng2
to Ng2Component
( #11950 )
2016-10-05 15:33:16 -07:00
c13e55c8c3
(docs): removing addProvider
from UpgradeAdapter
( #11934 )
...
The `addProvider` function in the `UpgradeAdapter` was deprecated in this [commit](d21331e902 (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
a153504212
docs(router_config): add missing quote ( #11925 )
2016-10-05 15:33:16 -07:00
b8a75818ee
docs: remove outdated docs ( #11875 )
2016-10-05 15:33:16 -07:00
0a8887240a
docs(ExceptionHandler): fix API docs ( #11772 )
...
fixes #11769
2016-10-05 15:33:16 -07:00
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
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
cf750e17ed
fix(router): do not reset the router state when updating the component ( #11867 )
2016-09-24 07:14:06 +09:00
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
98fac36706
docs(Component): API docs for .encapsulation and .interpolation
2016-09-23 10:22:24 -07:00
3e780c032e
refactor: misc cleanup
2016-09-23 10:22:05 -07:00
e09882180e
refactor(common): cleanup ( #11668 )
2016-09-23 10:21:58 -07:00
0e18c57a17
docs(core): mark TestBed as stable api and add preliminary docs ( #11767 )
...
TestBed was accidentaly ommited from the 'stable' api list during the API sweep before final. We do consider it to be stable.
2016-09-23 10:21:50 -07:00
af6b219f8e
refactor(TemplateParser): clearer error message for on* binding ( #11802 )
...
fixes #11756
2016-09-23 10:21:15 -07:00