danmosemsft [Wed, 20 Sep 2017 17:00:35 +0000 (10:00 -0700)]
Remove Thread.Sleep workaround
Commit migrated from https://github.com/dotnet/corefx/commit/
7af1113607a94a22fa2e340863408b90211c2f53
Frederik Carlier [Tue, 19 Sep 2017 21:54:58 +0000 (23:54 +0200)]
Bump System.Drawing.Common.TestData to 1.0.6 (dotnet/corefx#24149)
* Bump system.drawing.common.testdata to 1.0.6
* Fix path to test data
* Fix whitespace
Commit migrated from https://github.com/dotnet/corefx/commit/
c4e03f00fe667aed5a4a79a4b039a8c842fdfcc4
Hugh Bellamy [Tue, 19 Sep 2017 21:28:44 +0000 (22:28 +0100)]
Fix multiplying TextureBrush with a disposed matrix on Unix (dotnet/corefx#24109)
* Fix multiplying TextureBrush with a disposed matrix on Unix
* Enable another passing test
* Fix accidentally committed file
Commit migrated from https://github.com/dotnet/corefx/commit/
15f9a31fd45f9a7d667765ef08ecfd1cefddde3a
dotnet-maestro-bot [Tue, 19 Sep 2017 20:02:28 +0000 (13:02 -0700)]
Update BuildTools to prerelease-02019-02 (dotnet/corefx#24146)
Commit migrated from https://github.com/dotnet/corefx/commit/
014e831ae385e0daff36895f7e9a36839057a02d
David Shulman [Tue, 19 Sep 2017 19:10:21 +0000 (12:10 -0700)]
Remove invalid NameResolution tests (dotnet/corefx#24147)
The Dns_GetHostEntryAsync_* are fundamentially invalid because it's
possible for the broadcast address, 255.255.255.255, to have an DNS
mapping via manually modifying the hosts file. This was actually
happening on Mac systems as well as an virtual environment running on
top of that (i.e. Windows on Parallels).
Ref:
https://github.com/dotnet/corefx/issues/23992#issuecomment-
330250642
Contributes to dotnet/corefx#23992
Commit migrated from https://github.com/dotnet/corefx/commit/
e33bee86b4777a2de04bd0dc5b6e9e918bac302a
Frederik Carlier [Tue, 19 Sep 2017 15:19:41 +0000 (17:19 +0200)]
System.Drawing: Throw ArgumentNullException on Unix as well (dotnet/corefx#24140)
* Throw ArgumentNullException when stream is null
* Throw ArgumentNullException when stream is null
Commit migrated from https://github.com/dotnet/corefx/commit/
7099d7e7e2fc0e369f29ddc6e53673f73b619cb6
Ahson Ahmed Khan [Tue, 19 Sep 2017 15:19:22 +0000 (08:19 -0700)]
Marking {ReadOnly}Span as readonly structs (dotnet/corefx#23908)
* Marking {ReadOnly}Span as readonly structs, fixing issue dotnet/corefx#23809
* Adding readonly attributes to reference assemblies.
* Using "readonly ref" keyword instead of attributes.
* Adding a LangVersion 7.2 property
Commit migrated from https://github.com/dotnet/corefx/commit/
6542f6466c929f5590308f0a9150f1aed7b52f49
Szczepan [Tue, 19 Sep 2017 14:49:07 +0000 (16:49 +0200)]
Fixed compile warning/error on FreeBSD (dotnet/corefx#24141)
Commit migrated from https://github.com/dotnet/corefx/commit/
b1ceb5357f24302f0b5ba0c35be70c7e8cdcfd51
dotnet-maestro-bot [Tue, 19 Sep 2017 11:48:10 +0000 (04:48 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, Standard to prerelease-02019-01, preview1-25718-02, preview1-25718-03, preview1-25717-02, preview1-25718-01, respectively (dotnet/corefx#24075)
Commit migrated from https://github.com/dotnet/corefx/commit/
996ddfd4489436907ef4e282cbfb99f9eb03f00c
Eric Mellino [Tue, 19 Sep 2017 00:55:17 +0000 (17:55 -0700)]
Merge pull request dotnet/corefx#24131 from mellinoe/revert-remove-drawing
Revert "Remove System.Drawing.Common from the netfx compat package
Commit migrated from https://github.com/dotnet/corefx/commit/
5846dbe88490a7685f29784277dd2e599d7cb366
Eric Mellino [Tue, 19 Sep 2017 00:48:42 +0000 (17:48 -0700)]
Revert "Remove System.Drawing.Common from the netfx compat package (temporary)."
This reverts commit dotnet/corefx@
f6b0fbd09b8a6dc312e55644a1353cea0fb2936d.
Commit migrated from https://github.com/dotnet/corefx/commit/
f41685e2d4bcb350fd5129391e23e82a51523547
Brian Robbins [Tue, 19 Sep 2017 00:48:40 +0000 (17:48 -0700)]
Disable Test_Write_Metric_eventListener on UWP. (dotnet/corefx#24127)
Commit migrated from https://github.com/dotnet/corefx/commit/
72d769c5cf89ab7875cd4fecf4461c46a4b8cbcd
Tarek Mahmoud Sayed [Tue, 19 Sep 2017 00:45:54 +0000 (17:45 -0700)]
Fix instantiating PrincipleContext with Domain type (dotnet/corefx#24122)
* Fix instantiating PrincipleContext with Domain type
* Enhancement
Commit migrated from https://github.com/dotnet/corefx/commit/
adde5513211d944e937449d01f45a823ebd2a469
Dan Moseley [Tue, 19 Sep 2017 00:32:10 +0000 (17:32 -0700)]
Stop running Math.Clamp tests on UAP as API is not there (dotnet/corefx#24125)
* Stop running Math.Clamp tests on UAP as API is not there
* Disable only for AOT
Commit migrated from https://github.com/dotnet/corefx/commit/
03e4e25a1209033f0a82f4f24660ba7cb1db5049
Eric Mellino [Tue, 19 Sep 2017 00:13:39 +0000 (17:13 -0700)]
Merge pull request dotnet/corefx#24130 from mellinoe/netfx-compat-remove-drawing
Remove System.Drawing.Common from the netfx compat package (temporary).
Commit migrated from https://github.com/dotnet/corefx/commit/
3ed51f91220858f5f8f84579e184bda406ff41b8
Jose Perez Rodriguez [Tue, 19 Sep 2017 00:02:24 +0000 (17:02 -0700)]
Updating corefx to use new roslyn compiler (dotnet/corefx#24076)
* Updating corefx to use new roslyn compiler
* Updating to new version of the compiler and use the switch so tests pass on desktop
* Fix System.Reflection.Metadata tests
Commit migrated from https://github.com/dotnet/corefx/commit/
fc4b1adb7f06687aa15f0416d83d2c27a0abf8dd
Eric Mellino [Tue, 19 Sep 2017 00:00:27 +0000 (17:00 -0700)]
Remove System.Drawing.Common from the netfx compat package (temporary).
Commit migrated from https://github.com/dotnet/corefx/commit/
f6b0fbd09b8a6dc312e55644a1353cea0fb2936d
Shimmy [Mon, 18 Sep 2017 23:16:32 +0000 (02:16 +0300)]
Data-annotations length fix (dotnet/corefx#24101)
* Updated in MinLengthAttribute and MaxLengthAttribute to support ICollection<T>
* Added tests
* Fixed typo
* Trying to address two failing checks:
- Linux x64 Release Build
- UWP CoreCLR x64 Debug Build
* Implemented changes requested in review
- Extracted Count checking to an external helper to obey DRY
- Removed dependency of ICollection<T> and changed to simple reflection Count property lookup
* Added requested tests
* Added catch for MissingMetadataException.
* Extracted code from try-catch.
* Added comment as requested.
* Typo correction
Commit migrated from https://github.com/dotnet/corefx/commit/
b4daeabcd906283d2845063bc681ca4fa69492e8
Eric Mellino [Mon, 18 Sep 2017 22:55:56 +0000 (15:55 -0700)]
Merge pull request dotnet/corefx#24123 from mellinoe/system.drawing-fix-osx-loading
Fix libgdiplus function loading on OSX.
Commit migrated from https://github.com/dotnet/corefx/commit/
bafbafde192e2cce70f11d679f2e39c614db0b89
Santiago Fernandez Madero [Mon, 18 Sep 2017 22:01:49 +0000 (15:01 -0700)]
Prevent ServiceControllerTests from dispose when already disposed (dotnet/corefx#24042)
* Disable ServiceProcessTest that has been failing on CI and official builds
* Prevent dispose from been called when already disposed
* Add logging to repro if RemoveService is been called twice on the same ServiceController
Commit migrated from https://github.com/dotnet/corefx/commit/
c017ae3ee27605a509f4fec3560998c8754180e0
Eric Mellino [Mon, 18 Sep 2017 21:12:04 +0000 (14:12 -0700)]
Fix libgdiplus function loading on OSX.
Commit migrated from https://github.com/dotnet/corefx/commit/
bc9a9d7ed76053c9b7a5ffad6707002ff7a815db
Stephen Toub [Mon, 18 Sep 2017 18:40:28 +0000 (11:40 -0700)]
Merge pull request dotnet/corefx#23840 from niustephanie/guidtests
Expose and add tests for span-based Guid methods
Commit migrated from https://github.com/dotnet/corefx/commit/
f54d710a0b3d1577d6455c4058862acfaff65152
Stephen Toub [Mon, 18 Sep 2017 18:12:48 +0000 (11:12 -0700)]
Wrap exceptions from ManagedHandler's server validation callback (dotnet/corefx#24111)
To match other handlers' behaviors.
Commit migrated from https://github.com/dotnet/corefx/commit/
e0b912e37439118651ae12e5685b0ef7efd8f1fd
koenigst [Mon, 18 Sep 2017 17:22:50 +0000 (19:22 +0200)]
dotnet/corefx#24112 Replaced documentation summary of TryPop with text similar to TryDequeue. (dotnet/corefx#24113)
Commit migrated from https://github.com/dotnet/corefx/commit/
b17c1d20b1176a55fc27fbaa1b4e8f953f3dc377
Stephen Toub [Mon, 18 Sep 2017 17:14:56 +0000 (13:14 -0400)]
Address remaining PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
43ee827db726f401ee9c76a9c3cf2ce406934349
Stephanie Niu [Wed, 6 Sep 2017 22:35:32 +0000 (15:35 -0700)]
Expose and add tests for Guid.ctor(Span)/TryWriteBytes/TryFormat
Commit migrated from https://github.com/dotnet/corefx/commit/
1c7b5536bf24e1f315ab2e8dd756828ead41c6e2
Dan Moseley [Mon, 18 Sep 2017 14:54:57 +0000 (07:54 -0700)]
Disable NegotiateStreamTest fixture for distros without working Kerberos (dotnet/corefx#24098)
Disable NegotiateStreamTest fixture entirely because setup-kdc.sh is broken on some distros
Commit migrated from https://github.com/dotnet/corefx/commit/
99bffa97b96c99d4744b4a13b5bc1cbd3eb8896a
Stephen Toub [Mon, 18 Sep 2017 13:37:21 +0000 (06:37 -0700)]
Ensure ProcessModule for main executable is first in modules list (dotnet/corefx#24106)
Commit migrated from https://github.com/dotnet/corefx/commit/
382c6835d56d72a3a63aaf8cd42784dd3ddb2dc3
David Shulman [Mon, 18 Sep 2017 03:19:28 +0000 (23:19 -0400)]
Wrap cert callback leaked exceptions in WinHttpHandler (dotnet/corefx#24107)
Similar to the fix done for CurlHandler (dotnet/corefx#21938), fix WinHttpHandler so
that leaked exceptions from the user-provided certificate callback are
properly wrapped.
The ManagedHandler still needs to be fixed since it is not wrapping
properly.
Contributes to dotnet/corefx#21904
Commit migrated from https://github.com/dotnet/corefx/commit/
ca5d83ec2855afa7ce4f60d9c5b0dd46e1cb2faf
Huangli Wu [Sun, 17 Sep 2017 17:25:13 +0000 (10:25 -0700)]
Add the target to copy the serializer to publish folder. (dotnet/corefx#24096)
Commit migrated from https://github.com/dotnet/corefx/commit/
f472d663a6e9829483543de55cf830fc13d4818b
Huangli Wu [Sun, 17 Sep 2017 17:10:07 +0000 (10:10 -0700)]
Add warning by default in SGEN (dotnet/corefx#24054)
* Output warning by default if run the tool directly without /quiet parameter.
* add quiet parameter in the command.
* fix parameter error.
* Update the warning.
Commit migrated from https://github.com/dotnet/corefx/commit/
b5d944782098796b404ba20356cd36e384464cbc
Steve MacLean [Sun, 17 Sep 2017 16:38:49 +0000 (12:38 -0400)]
ConcurrentQueue 128-byte cache line (dotnet/corefx#22724)
ConcurrentQueue 128-byte cache line
Commit migrated from https://github.com/dotnet/corefx/commit/
9c468a08151402a68732c784b0502437b808df9f
Dan Moseley [Sun, 17 Sep 2017 14:11:02 +0000 (07:11 -0700)]
Add btrfs and other missing file system types (dotnet/corefx#24102)
* Uppercase
* Add more filesystems from stat.c. Change to stat names where possible
* Add some more local friendly names
* Add some more remote file types from stat.c
* Add entry to switch present in enum
* Build errors
* Remove Fixed entries that should be RAM
* comment
* Change case of 0X to 0x
* Move cramfs to Fixed
Commit migrated from https://github.com/dotnet/corefx/commit/
f77a66355ca596276b5905575a6976e925ef046d
Jan Vorlicek [Sat, 16 Sep 2017 20:10:48 +0000 (22:10 +0200)]
Fix RHEL6 linux/in.h file detection (dotnet/corefx#24100)
On RHEL6, the build got broken by my recent fix of the in_pktinfo /
ip_mreqn detection fix. The reason is that on that platform, linux/in.h
cannot be included on its own, the sys/socket.h needs to be included
before that to provide definitions of some structures. In fact, Linux
doc states that the sys/socket.h should be included before the
linux/in.h. So I am fixing that by adding that include to the detection
code.
Commit migrated from https://github.com/dotnet/corefx/commit/
d3dbd54336a1766031be18c1838c71119b54ae4b
Dan Moseley [Sat, 16 Sep 2017 13:24:43 +0000 (06:24 -0700)]
Increase some networking test timeouts (dotnet/corefx#24099)
* Increase timeouts to attempt to harden against dotnet/corefx#18907
* Increase Sockets passing test timeout
Commit migrated from https://github.com/dotnet/corefx/commit/
1e50513872aa684abf9701f58ab036970343019d
Eric Mellino [Sat, 16 Sep 2017 04:41:33 +0000 (21:41 -0700)]
Remove an assertion from PrintDocumentTests.cs. (dotnet/corefx#24097)
Commit migrated from https://github.com/dotnet/corefx/commit/
20bcbcc5392cdadcbf23b1e114ad109ca7fa186e
Stephen Toub [Sat, 16 Sep 2017 01:31:42 +0000 (18:31 -0700)]
Add Socket.Send/Receive concurrency test (dotnet/corefx#24056)
Help validate that on Unix we're able to invoke Send/Receive multiple times to run concurrently on the same socket instance. We already have similar tests for Send/ReceiveAsync, so this just adds one for the synchronous Send/Receive.
Commit migrated from https://github.com/dotnet/corefx/commit/
e48025a81b9a53e8e073c718c8714c4c8e3f5625
Eric Mellino [Sat, 16 Sep 2017 01:09:35 +0000 (18:09 -0700)]
Merge pull request dotnet/corefx#24091 from mellinoe/disable-serializer.generator-tests-arm64
Disable XmlSerializer.Generator.Tests on ARM64.
Commit migrated from https://github.com/dotnet/corefx/commit/
e1f54cba4a1f0554e9eae0259b443c19e72ae7fb
Eric Mellino [Fri, 15 Sep 2017 23:56:36 +0000 (16:56 -0700)]
Merge pull request dotnet/corefx#24088 from mellinoe/x86-nupkg
Add a NuGet package for System.Runtime.Intrinsics.X86.
Commit migrated from https://github.com/dotnet/corefx/commit/
caca392f4d814104fcbe3d49853724d70dcf90b5
Huangli Wu [Fri, 15 Sep 2017 23:30:20 +0000 (16:30 -0700)]
Include the fwlink in the warning. (dotnet/corefx#24082)
* Include the fwlink in the warning.
* use instructions
Commit migrated from https://github.com/dotnet/corefx/commit/
307fc13500f8f13ee90f92bffda68a65547c1a93
Eric Mellino [Fri, 15 Sep 2017 23:11:01 +0000 (16:11 -0700)]
Disable XmlSerializer.Generator.Tests on ARM64.
Commit migrated from https://github.com/dotnet/corefx/commit/
5fed8b1b67a10333504b5f8c71b68431b0208f27
Eric Mellino [Fri, 15 Sep 2017 23:09:51 +0000 (16:09 -0700)]
Merge pull request dotnet/corefx#24030 from hqueue/fix/issue_24029_tc_build_break
Disable building Microsoft.XmlSerializer.Generator.Tests for ARM
Commit migrated from https://github.com/dotnet/corefx/commit/
37d8b88be5ce98a86aa5b17998f747cc9e2a06cf
Maryam Ariyan [Fri, 15 Sep 2017 23:04:04 +0000 (19:04 -0400)]
Fixing build failure on CI happening on Centos (dotnet/corefx#24078)
* Fixing build failure on CI
fixes dotnet/corefx#24066
* applying code review comments
* changing IEnumerable to string[]
* applying code review comments
Commit migrated from https://github.com/dotnet/corefx/commit/
2ba1f89c1a4a45bc5d7e2079175fd600f51f50ef
Huangli Wu [Fri, 15 Sep 2017 22:34:45 +0000 (15:34 -0700)]
Auto-generate the itemgroup. (dotnet/corefx#24079)
Commit migrated from https://github.com/dotnet/corefx/commit/
34873d5ec4187a69eaad2d2a06b40737037ebad3
Eric Mellino [Fri, 15 Sep 2017 21:44:29 +0000 (14:44 -0700)]
Add a NuGet package for System.Runtime.Intrinsics.X86.
Commit migrated from https://github.com/dotnet/corefx/commit/
bc741c6a255d51de531b8323d723ec95ea8711bf
Karel Zikmund [Fri, 15 Sep 2017 21:32:52 +0000 (14:32 -0700)]
Add copyright header from Mono to HttpUtility.cs (dotnet/corefx#24080)
Fixes dotnet/corefx#24043
Copied from Mono: https://github.com/mono/mono/blob/dotnet/corefx@
0af1ea70c29a66a59765183b45d6b75fa6c3d8fa/mcs/class/System.Web/System.Web/HttpUtility.cs#L3-L30
Commit migrated from https://github.com/dotnet/corefx/commit/
291cf9224cba8b75ba66b21cc435920f7b1027f4
Huangli Wu [Fri, 15 Sep 2017 21:31:23 +0000 (14:31 -0700)]
Add help method for SGEN. (dotnet/corefx#23966)
* Add help method.
* Remove unused help information.
* Update the header.
Commit migrated from https://github.com/dotnet/corefx/commit/
aa2dd571dc738373fc2e32f3098e4d0b1da4639c
Huangli Wu [Fri, 15 Sep 2017 20:56:00 +0000 (13:56 -0700)]
Remove ContinueAsError in sgen test (dotnet/corefx#24015)
* Remove ContinueAsError
* Remove casesensitive
Commit migrated from https://github.com/dotnet/corefx/commit/
29d0c87fce1480c8f1cf7ad66463590ef494015e
Shin Mao [Fri, 15 Sep 2017 20:49:05 +0000 (13:49 -0700)]
Generate Microsoft.XmlSerializer.Generator.props. (dotnet/corefx#24084)
Generate the props file on the fly so that the file can use the correct
reference version.
a
Commit migrated from https://github.com/dotnet/corefx/commit/
17f71e0707d22f6ce936eb01ac0dad37e1be6c79
Steven White [Fri, 15 Sep 2017 18:49:29 +0000 (11:49 -0700)]
Update list of System.Net.* SMEs (dotnet/corefx#24077)
Commit migrated from https://github.com/dotnet/corefx/commit/
a48e2d02d8d116a5d6c81ff46ca7cd158238c68d
dotnet-maestro-bot [Fri, 15 Sep 2017 16:51:17 +0000 (09:51 -0700)]
Update CoreClr to preview1-25715-02 (dotnet/corefx#24071)
Commit migrated from https://github.com/dotnet/corefx/commit/
f2f561315df5d58121f6d13cf6d81d75c9a3a343
Andrius Bentkus [Fri, 15 Sep 2017 14:14:33 +0000 (17:14 +0300)]
Do not use zero width spaces (dotnet/corefx#24069)
Fixes dotnet/corefx#24068
Commit migrated from https://github.com/dotnet/corefx/commit/
13db0aefa78577e9c9fd5574103178383c16508e
Stephen Toub [Fri, 15 Sep 2017 11:16:55 +0000 (04:16 -0700)]
Ignore unhandled exceptions from ManagedWebSocket keep-alive pings (dotnet/corefx#24055)
ManagedWebSocket has configurable timer-based keep-alive pings it sends to the remote server. If such calls fail, such as due to the connection getting closed, we just swallow the exception. But the way the exception is currently being swallowed results in a faulted task whose exception is never observed, resulting in the unobserved exception event being raised. Since our intention is to eat these errors and completely ignore them, we don't want the event raised. This commit just observes any such exceptions.
Commit migrated from https://github.com/dotnet/corefx/commit/
edecb1207cbe6194cb9a9f1bc862ef8d1ebb3ef4
dotnet-maestro-bot [Fri, 15 Sep 2017 06:31:19 +0000 (23:31 -0700)]
Update CoreClr, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-25715-01, preview1-25714-02, beta-25715-00, beta-25715-00, respectively (dotnet/corefx#24058)
Commit migrated from https://github.com/dotnet/corefx/commit/
3c54f59eb397ccf46259e502108c41220a90dea1
Maryam Ariyan [Fri, 15 Sep 2017 02:53:35 +0000 (22:53 -0400)]
Refactoring code. No changes made to logic. (dotnet/corefx#24060)
* Refactoring code. No changes made to logic.
Applying code review comments requested from pr24017
* removing unnecessary else statement
Commit migrated from https://github.com/dotnet/corefx/commit/
4854f643d8cc7448faa59511fe1c88a8da2ea49b
Maryam Ariyan [Fri, 15 Sep 2017 00:42:34 +0000 (20:42 -0400)]
Fixing assertion failure happening on some of the unix machines (dotnet/corefx#24017)
* Refactoring Process.Start to simplify logic
This also fixes the following existing issues:
- allows user to successfully open folder (23969) with UseShellExecute
- throws when opening a missing file with UseShellExecute
this makes these behaviours consistent across win/unix machines
Updated existing tests to comply with these new fixes
* Simplifying condition checks in Process.Start
* Applying code review comments
Commit migrated from https://github.com/dotnet/corefx/commit/
a16368dc4694c0334a8794107a9e868020f0bed5
Lakshmi Priya Sekar [Fri, 15 Sep 2017 00:22:43 +0000 (17:22 -0700)]
Merge pull request dotnet/corefx#24045 from Priya91/credentialmh
Fix Dns tests on OSX.
Commit migrated from https://github.com/dotnet/corefx/commit/
751ad52f47a045cbab872177e621af58b180cad8
Tarek Mahmoud Sayed [Fri, 15 Sep 2017 00:05:34 +0000 (17:05 -0700)]
Fix globalization tests to work with setting customization (dotnet/corefx#24052)
We used new CultureInfo in many places to check the NumberFormatInfo properties values . these tests can fail if the user customized the user settings on the running machine. The fix here is to use GetCultureInfo which always ignore the change in the settings and return the original values we need to test against.
Commit migrated from https://github.com/dotnet/corefx/commit/
708c20ad05f2474ed8b144ec6c3345d809c7843b
Tarek Mahmoud Sayed [Fri, 15 Sep 2017 00:01:19 +0000 (17:01 -0700)]
Enable disabled date parsing test on Linux (dotnet/corefx#24051)
Commit migrated from https://github.com/dotnet/corefx/commit/
b77c715ce2a7b27c61b56d9cf510a967ac3355f3
Shin Mao [Thu, 14 Sep 2017 23:47:52 +0000 (16:47 -0700)]
Generate ThisAssembly.cs to get Package Version. (dotnet/corefx#24050)
Commit migrated from https://github.com/dotnet/corefx/commit/
74d55bb454f4b00b09235fa4466fd60b00b750bd
Pent Ploompuu [Thu, 14 Sep 2017 23:31:05 +0000 (02:31 +0300)]
Fix TimeSpan tests for cultures using ',' in place of '.' (dotnet/corefx#24047)
Commit migrated from https://github.com/dotnet/corefx/commit/
da2d8d073371a2ceee52b47bf8bd03c2ba97f858
Shimmy [Thu, 14 Sep 2017 22:45:43 +0000 (01:45 +0300)]
ICollection<T> support in MinLengthAttribute and MaxLengthAttribute (dotnet/corefx#23664)
* Updated in MinLengthAttribute and MaxLengthAttribute to support ICollection<T>
* Added tests
* Fixed typo
* Trying to address two failing checks:
- Linux x64 Release Build
- UWP CoreCLR x64 Debug Build
* Implemented changes requested in review
- Extracted Count checking to an external helper to obey DRY
- Removed dependency of ICollection<T> and changed to simple reflection Count property lookup
* Added requested tests
Commit migrated from https://github.com/dotnet/corefx/commit/
f711317e1955770a462f6e15e6f86c0061d9796e
Eric Mellino [Thu, 14 Sep 2017 21:27:10 +0000 (14:27 -0700)]
Merge pull request dotnet/corefx#24023 from mellinoe/fix-compat-pack
Change the netfx compat pack to only ship stable packages, plus System.Drawing
Commit migrated from https://github.com/dotnet/corefx/commit/
5fe1d6902e4de8b852fb835040158c76f2b33957
Lakshmi Priya Sekar [Thu, 14 Sep 2017 20:09:59 +0000 (13:09 -0700)]
Add comment about change.
Commit migrated from https://github.com/dotnet/corefx/commit/
43d57385ba00001db19b97e1f9840c15c84a5249
Huangli Wu [Thu, 14 Sep 2017 20:15:47 +0000 (13:15 -0700)]
Fix the output message in SGEN. (dotnet/corefx#23949)
* Fix the output message in SGEN.
* Use 'code' in message instead of file.
Commit migrated from https://github.com/dotnet/corefx/commit/
9d1b728707902fe018c39761302865b2848adb8c
Jan Vorlicek [Thu, 14 Sep 2017 19:59:35 +0000 (21:59 +0200)]
Enable end to end Alpine corefx build (dotnet/corefx#24035)
This change enables full end to end build of corefx including
managed code on Alpine Linux.
Commit migrated from https://github.com/dotnet/corefx/commit/
0688e035d58ec2395049c4035c619529e884cf37
Eric Mellino [Thu, 14 Sep 2017 19:32:22 +0000 (12:32 -0700)]
Add WCF dependencies to the netfx compat pack.
Commit migrated from https://github.com/dotnet/corefx/commit/
0ed9243e67a9736e232f429af14ebcdeb59718db
Lakshmi Priya Sekar [Thu, 14 Sep 2017 19:00:34 +0000 (12:00 -0700)]
Fix Dns tests on OSX.
Commit migrated from https://github.com/dotnet/corefx/commit/
02ce63d315590d85aaff63e78165f5651fe2a562
dotnet-maestro-bot [Thu, 14 Sep 2017 15:36:09 +0000 (08:36 -0700)]
Update Standard to preview1-25714-01 (dotnet/corefx#24037)
Commit migrated from https://github.com/dotnet/corefx/commit/
49ba44706fb971f9c1e7488bbbe4cad5f81d7eb3
dotnet-maestro-bot [Thu, 14 Sep 2017 06:32:30 +0000 (23:32 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-25714-00, beta-25714-00, respectively (dotnet/corefx#24032)
Commit migrated from https://github.com/dotnet/corefx/commit/
cdf87336afaa612d503c5102aa935223acebc4c8
Stephen Toub [Thu, 14 Sep 2017 06:15:55 +0000 (23:15 -0700)]
Merge pull request dotnet/corefx#23987 from stephentoub/stream_memory_overrides
Override memory-based Read/WriteAsync APIs on System.IO streams
Commit migrated from https://github.com/dotnet/corefx/commit/
d3c060a20f9a4264674e80a06e1aebbcf1fb1e94
Stephen Toub [Thu, 14 Sep 2017 01:07:37 +0000 (18:07 -0700)]
Add uap configuration to System.IO.Compression.Tests
Otherwise we run against an implementation that has the new stream methods but the tests don't realize it.
Commit migrated from https://github.com/dotnet/corefx/commit/
8d40fac24b4a1fdaacd46ae923f3258da1996e16
Stephen Toub [Tue, 12 Sep 2017 20:57:38 +0000 (13:57 -0700)]
Override BufferedStream.Read/WriteAsync(Memory)
Commit migrated from https://github.com/dotnet/corefx/commit/
d8939807cd72df458665503716a832dc79b8a338
Stephen Toub [Mon, 11 Sep 2017 21:25:58 +0000 (14:25 -0700)]
Override PipeStream.Read/WriteAsync(Memory)
Commit migrated from https://github.com/dotnet/corefx/commit/
e58048b5d5acbec3a087a57b733eb3698563ab92
Stephen Toub [Mon, 11 Sep 2017 19:28:23 +0000 (12:28 -0700)]
Override Deflate/GZipStream Read/WriteAsync(Memory)
Commit migrated from https://github.com/dotnet/corefx/commit/
2eabb76eac47d348728dcde54e1867530386c5e6
Lakshmi Priya Sekar [Thu, 14 Sep 2017 04:30:16 +0000 (21:30 -0700)]
Make ping tests reliable on OSX. (dotnet/corefx#24021)
Commit migrated from https://github.com/dotnet/corefx/commit/
5c671b14f74350907a939001b3d5c24c4e10b5aa
dotnet-maestro-bot [Thu, 14 Sep 2017 04:15:56 +0000 (21:15 -0700)]
Update BuildTools, CoreClr, CoreSetup, Standard to prerelease-02014-02, preview1-25714-01, preview1-25713-01, preview1-25713-01, respectively (dotnet/corefx#24003)
Commit migrated from https://github.com/dotnet/corefx/commit/
a2a3c6b676bf851d8fb9a9b761ad82fff8d5de2f
Hyung-Kyu Choi [Thu, 14 Sep 2017 02:15:38 +0000 (11:15 +0900)]
Disabling building Microsoft.XmlSerializer.Generator.Tests for ARM
Simply disable building Microsoft.XmlSerializer.Generator.Tests for ARM
to avoid build break when cross building for ARM.
When cross building for ARM, we cannot use dotnet to build
Microsoft.XmlSerializer.Generator.Tests, because dotnet is
ARM binary and cannnot run on host.
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/
89861cfe01514d34b1d05109a88a7d70ed7c5aa3
Tarek Mahmoud Sayed [Thu, 14 Sep 2017 01:27:01 +0000 (18:27 -0700)]
Fix Mongolian date parsing test (dotnet/corefx#24020)
Commit migrated from https://github.com/dotnet/corefx/commit/
0e1bf9d8256b73d1ab0a06d896c56ff7804c79db
Tom Deseyn [Thu, 14 Sep 2017 00:47:05 +0000 (02:47 +0200)]
Fix return value of partially successful Socket.Send (dotnet/corefx#24005)
* Fix return value of partially successful Socket.Send
* Fix Assert.InRange range
* Fix SocketError return
* move successfulSend outside loop
* Test: buffer size 100M -> 5M
* Disable test on Windows because all data gets sent
Commit migrated from https://github.com/dotnet/corefx/commit/
e758b9a156351cda34d7da172bb10e9dfdbe05c2
Jan Kotas [Thu, 14 Sep 2017 00:46:04 +0000 (17:46 -0700)]
Replace JitHelpers.UnsafeCast with Unsafe.As (dotnet/corefx#24019)
Both methods to the same, but the latter one is the offficial public name for the functionality
Commit migrated from https://github.com/dotnet/corefx/commit/
dc9f75d81e91a531f7235c95ee9c18a047332dc6
Tarek Mahmoud Sayed [Thu, 14 Sep 2017 00:12:27 +0000 (17:12 -0700)]
Fix Console Title test when running on RS2 (dotnet/corefx#24016)
* Fix Console Title test when running on RS2
* Fix the typo
Commit migrated from https://github.com/dotnet/corefx/commit/
4be1dea0b0220d9b8dfe86bc20c4d06c852d9ce6
Eric Mellino [Wed, 13 Sep 2017 23:46:04 +0000 (16:46 -0700)]
Change the .NET Framework compat pack to only ship stable packages, and System.Drawing.Common.
Commit migrated from https://github.com/dotnet/corefx/commit/
3d7288f764b764c6f98758ae3414eee8acacff82
Eric Mellino [Wed, 13 Sep 2017 22:27:24 +0000 (15:27 -0700)]
Merge pull request dotnet/corefx#23991 from mellinoe/system.drawing-misc-cleanup-3
Re-organize and clean up some Unix Drawing code.
Commit migrated from https://github.com/dotnet/corefx/commit/
0db86283df5bb08dced21e556a9a475c93e7bd6c
Maryam Ariyan [Wed, 13 Sep 2017 22:18:38 +0000 (18:18 -0400)]
fixing test failure on some windows machines (dotnet/corefx#24007)
Commit migrated from https://github.com/dotnet/corefx/commit/
f59f25f75cb31497e1b0d9a935bcfac6c73df9bc
Huangli Wu [Wed, 13 Sep 2017 21:00:00 +0000 (14:00 -0700)]
Add /casesensitive parameter so the command works on linux when the path contains capital letter (dotnet/corefx#23947)
* Add /casesensitive parameter so the command works on linux when the path contains capical letter.
* Set casesensitive as default for the path.
* Add an empty line after }
Commit migrated from https://github.com/dotnet/corefx/commit/
7fe8643547987c844fad93ccccd946fd1ed7fd00
Eric Mellino [Wed, 13 Sep 2017 20:01:39 +0000 (13:01 -0700)]
Fix a spurious test failure in System.Drawing.Common.Tests (dotnet/corefx#24009)
* Fix spurious failure in FontTests.cs
* The FontSize in FromLogFont_ValidLogFont seems to be dependent on system
state, and not a constant value.
* Add better error message to AssertDefaultPageSettings.
Commit migrated from https://github.com/dotnet/corefx/commit/
99ac27f1223460424a2ebc0899895884e6c5c191
Stephen Toub [Wed, 13 Sep 2017 20:01:15 +0000 (13:01 -0700)]
Add ReadOnlyMemoryContent to System.Net.Http (dotnet/corefx#24006)
* Add ReadOnlyMemoryContent to System.Net.Http
Allows `{ReadOnly}Memory<byte>`s to be uploaded in HttpClient requests.
* Address PR feedback
* Address more PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
d183fd34074fba9633f025fe2251e7d7883c7f25
Stephen Toub [Wed, 13 Sep 2017 20:00:48 +0000 (13:00 -0700)]
Disable MulticastInterface_Set_AnyInterface_Succeeds test on Fedora (dotnet/corefx#24010)
All Fedora runs hang because of this.
Commit migrated from https://github.com/dotnet/corefx/commit/
2ad41da209006b99878beaf09f50b8c4bbd49f9a
Wes Haggard [Wed, 13 Sep 2017 18:37:36 +0000 (11:37 -0700)]
Merge pull request dotnet/corefx#23942 from hqueue/fix/run_test
Update run-test.sh to follow up recent change
Commit migrated from https://github.com/dotnet/corefx/commit/
a0b003da3774d7db9779a51bec6594960142745f
Lakshmi Priya Sekar [Wed, 13 Sep 2017 18:14:28 +0000 (11:14 -0700)]
Merge pull request dotnet/corefx#23995 from Priya91/ping6
Make tests reliable around osx ping6 bug.
Commit migrated from https://github.com/dotnet/corefx/commit/
f1aceffe8fdcd14923c7f0f712df7d2e495c68af
dotnet-maestro-bot [Wed, 13 Sep 2017 11:59:39 +0000 (04:59 -0700)]
Update ProjectNTfs, ProjectNTfsTestILC to beta-25713-00, beta-25713-00, respectively (dotnet/corefx#23998)
Commit migrated from https://github.com/dotnet/corefx/commit/
96fb7c99326866923eb92d47f3fb652124014cf5
dotnet-maestro-bot [Wed, 13 Sep 2017 04:42:56 +0000 (21:42 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC, Standard to prerelease-02012-02, preview1-25713-01, preview1-25712-02, preview1-25712-02, beta-25712-00, beta-25712-00, preview1-25712-01, respectively (dotnet/corefx#23993)
Commit migrated from https://github.com/dotnet/corefx/commit/
860123c95c8b5b709bfce924e6b951a2702857b6
Hyung-Kyu Choi [Wed, 13 Sep 2017 03:13:50 +0000 (12:13 +0900)]
Remove netstandard fallback logic
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/corefx/commit/
dae79ee4ca7a0b061f1621cad53c81ab1ba6d3a0
Eric StJohn [Wed, 13 Sep 2017 02:31:55 +0000 (19:31 -0700)]
Merge pull request dotnet/corefx#23978 from ericstj/serializerTest
Re-enable XmlSerializer.Generator tests
Commit migrated from https://github.com/dotnet/corefx/commit/
6b948ddc5c37989ecd2cbd8fc597f9ce35a7d84d
Lakshmi Priya Sekar [Wed, 13 Sep 2017 02:09:33 +0000 (19:09 -0700)]
Make tests reliable around osx ping6 bug.
Commit migrated from https://github.com/dotnet/corefx/commit/
81c177804ae1b9918a03efb06d3d241b58546e54
Lakshmi Priya Sekar [Wed, 13 Sep 2017 01:55:50 +0000 (18:55 -0700)]
Merge pull request dotnet/corefx#23868 from Priya91/credentialmh
Remove duplicate bug ids in source code.
Commit migrated from https://github.com/dotnet/corefx/commit/
82a45b73d9754ae5e82ce1c699b0c86db712e4fa
Sven Boemer [Wed, 13 Sep 2017 00:57:53 +0000 (17:57 -0700)]
Use linker from ILLink.Tasks (dotnet/corefx#23945)
* Try to use ILLink.Tasks
* Use new linker package without netstandard cecil
* Update illink path based on host environment
Commit migrated from https://github.com/dotnet/corefx/commit/
4c540ae9a9525196390a32c96a1f0bc76e33969a
Lakshmi Priya Sekar [Wed, 13 Sep 2017 00:36:53 +0000 (17:36 -0700)]
Move test to windows specific.
Commit migrated from https://github.com/dotnet/corefx/commit/
b95d60789528d2d920e4d58238ee3fd3260585de
Eric St. John [Tue, 12 Sep 2017 19:13:55 +0000 (12:13 -0700)]
Reenable Microsoft.XmlSerializer.Generator.Tests on unix.
Commit migrated from https://github.com/dotnet/corefx/commit/
43e9165afdacfa79ff1ffc87759da34ecf6ab3b9