ed9c2b6281
fix(Header): preserve case of the first init, set()
or append()
( #12023 )
...
fixes #11624
2016-10-03 15:27:56 -07:00
1cf5f5fa38
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-03 10:19:03 -07:00
decd129a4d
refactor(facade): remove DateWrapper ( #12027 )
2016-10-02 14:12:14 -07:00
c3c9ecb302
text(offline compiler): fix expected output
2016-09-30 17:59:43 -07:00
af520947aa
test(AstSerializer): fix serializing void tags
2016-09-30 17:59:43 -07:00
040bf57966
fix(xlif): fix <x>
ctype names
...
fixes #12000
see http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#ctype
2016-09-30 17:59:43 -07:00
65a60b7456
style(I18N): Carriage returns in serialized files
2016-09-30 17:59:43 -07:00
9316f95467
fix(ShadowCss): support @page
and @document
CSS rules ( #11878 )
...
fixes #11860
2016-09-30 16:26:24 -07:00
83d94b7504
fix(ShadowCss): support quoted attribute values
...
fixes #6085
2016-09-30 14:37:41 -07:00
a121136fae
refactor(ShadowCss): add missing types
2016-09-30 14:37:41 -07:00
a6bb84e02b
fix(ShadowCss): fix :host(tag)
and :host-context(tag)
...
fixes #11972
2016-09-30 14:37:41 -07:00
3898dc488e
fix(BrowserAdapter): correctly removes styles on IE
...
fixes #7916
2016-09-30 11:18:17 -07:00
ca3f9926f9
refactor(BrowserAdapter): cleanup
2016-09-30 11:18:17 -07:00
1c012a035f
refactor(CssSelector): misc cleanup
2016-09-30 11:06:24 -07:00
38c5304b7f
docs(CssSelector): [name*=value]
is not supported
...
fixes #6042
2016-09-30 11:06:24 -07:00
9a049be67f
feat(Parse5): update to the latest version 2.2.1
...
fixes #6237
2016-09-30 10:46:49 -07:00
2045c9e8ee
docs: update docs for ng2_ftl benchmark
2016-09-30 10:42:21 -07:00
6c4ec05a4a
fix(ShadowCss): support [attr="value with space"]
...
fixes #6249
2016-09-30 10:27:35 -07:00
f7bfda31ff
refactor(ShadowCss): cleanup
2016-09-30 10:27:35 -07:00
a92b573309
test(DirectiveResolver): test that a prop can have both @Input
and @HostBinding
2016-09-30 10:08:52 -07:00
4fd13d71c8
refactor(DirectiveResolver): cleanup
2016-09-30 10:08:52 -07:00
bf7b82b658
fix(UrlSearchParams): change a behavior when a param value is null or undefined ( #11990 )
2016-09-30 09:57:26 -07:00
c143fee849
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-09-30 09:42:54 -07:00
0286956107
refactor(facade): Inline isBlank called with object-type argument ( #11992 )
2016-09-30 09:26:53 -07:00
e884f4854d
feat(animations): provide aliases for :enter and :leave transitions ( #11991 )
2016-09-30 09:15:56 -07:00
df1822fc2a
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-09-30 09:09:31 -07:00
42b4b6d21b
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-09-29 09:45:28 -07:00
36bc2ff269
docs(forms): Added FormControl initialization information ( #11948 )
2016-09-28 13:59:08 -07:00
1564042fe8
fix(ngc): allow ReflectorHost passed as argument to CodeGenerator#create ( #11951 )
2016-09-27 17:12:57 -07:00
41c8c30973
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-09-27 17:12:25 -07:00
61129fa12d
fix(compiler): move detection of unsafe properties for binding to ElementSchemaRegistry ( #11378 )
2016-09-27 17:10:02 -07:00
3a5b4882bc
fix(compiler): Do not embed templateUrl in view factories in non-debug mode. ( #11818 )
...
Fixes #11117 .
2016-09-27 17:09:44 -07:00
425c1e6042
refactor: remove dead code
2016-09-27 16:13:09 -07:00
58605cf350
refactor(facade): remove useless facades
2016-09-27 16:13:09 -07:00
34b31dea7c
docs(upgrade): rename undeclared Ng2
to Ng2Component
( #11950 )
2016-09-27 16:11:41 -07:00
a241ab7c07
(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-09-27 10:10:45 -07:00
745e10e6d2
docs(router_config): add missing quote ( #11925 )
2016-09-27 10:10:12 -07:00
33340dbbd1
docs: remove outdated docs ( #11875 )
2016-09-24 08:23:28 +09:00
52f5ae1961
chore(compiler): followup fix for PR#11846 ( #11870 )
...
Original PR set [] to any, but any[], is a tighter type and still
works for SNC enabled consumers of the emit.
2016-09-24 07:13:05 +09:00
9be895b6da
docs(ExceptionHandler): fix API docs ( #11772 )
...
fixes #11769
2016-09-24 07:05:43 +09:00
5ab5cc77bb
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-09-24 05:44:01 +09:00
f1b6c6efa1
refactor(animations): ensure animation input/outputs are managed within the template parser ( #11782 )
...
Closes #11782
Closes #11601
Related #11707
2016-09-24 05:37:04 +09:00
6fc46526ae
fix(upgrade): allow attribute selectors for components in ng2 which are not part of upgrade ( #11808 )
...
fixes #11280
2016-09-24 02:47:16 +09:00
3ef5ede6d6
chore(compiler): emit ([] as any[]) instead of purely []. ( #11846 )
...
In SNC mode `[]` has type of never[], so we cast it to any[] to
typecheck correctly see
https://github.com/Microsoft/TypeScript/issues/10479 .
This is temporary workaround, until we fully
migrate the framework to TS 2.0 and strictNullChecks.
2016-09-24 02:21:59 +09:00
136621ebc9
docs(Component): API docs for .encapsulation and .interpolation
2016-09-22 11:01:16 -07:00
f23b22a0f4
refactor: misc cleanup
2016-09-22 11:01:16 -07:00
0ca971c5bd
refactor(common): cleanup ( #11668 )
2016-09-22 10:34:00 -07:00
3a6fcee0e6
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-22 10:32:17 -07:00
c041b93418
refactor(TemplateParser): clearer error message for on* binding ( #11802 )
...
fixes #11756
2016-09-22 10:31:18 -07:00
31dce72b7b
fix(router): update the router not to reset router state when updating root component ( #11799 )
2016-09-21 11:37:43 -07:00