Santiago Fernandez Madero [Wed, 26 Sep 2018 19:14:09 +0000 (14:14 -0500)]
Add netcoreapp3.0 runtime for System.Drawing.Common (dotnet/corefx#32469)
* Add netcoreapp2.1 runtime for System.Drawing.Common
* PR Feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
8cebd293a067c99f13ee1941f48f6d901068a504
Viktor Hofer [Wed, 26 Sep 2018 16:26:51 +0000 (18:26 +0200)]
Update uap test tools to fix ARM uap invocation bug (dotnet/corefx#32484)
Commit migrated from https://github.com/dotnet/corefx/commit/
0e619bcaf5e913d5e2eb101608ebba65eb5ac4c9
Santiago Fernandez Madero [Wed, 26 Sep 2018 15:42:37 +0000 (10:42 -0500)]
Delete 4.6.0 for System.Buffers in packageIndex.json now that we removed the package (dotnet/corefx#32468)
Commit migrated from https://github.com/dotnet/corefx/commit/
9cca79f3c7e1620cf580109d90eee9c21e43bcc3
Santiago Fernandez Madero [Wed, 26 Sep 2018 15:39:28 +0000 (10:39 -0500)]
Fix follow up comments in System.Drawing stream wrappers (dotnet/corefx#32466)
* Fix follow up comments in System.Drawing stream wrappers
* Fix build
Commit migrated from https://github.com/dotnet/corefx/commit/
33b6bbd670296a3666dd52b1e3c67900aa000e4a
dotnet-maestro-bot [Wed, 26 Sep 2018 15:21:13 +0000 (08:21 -0700)]
Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26926-03, preview1-26926-03, preview1-26926-01, beta-26926-00, beta-26926-00, respectively (dotnet/corefx#32470)
Commit migrated from https://github.com/dotnet/corefx/commit/
7a766ce7de685d856f9736371ea9c82bfed8235a
Andrey Akinshin [Wed, 26 Sep 2018 13:32:32 +0000 (16:32 +0300)]
Optimize IOrderedEnumerable.Take(1) (dotnet/corefx#32389)
Calls like array.OrderBy(x => x).Take(1) use EnumerableSorter.ElementAt that
invokes QuickSelect. Take(1) is just the Minimum for OrderedEnumerable and can
be implemented more efficiently. The Minimum-based implementation has a big
impact on the worst case time complexity: now it's O(N) instead of O(N^2).
Commit migrated from https://github.com/dotnet/corefx/commit/
f3b56d1dfc2b8fb52c8d22a3bcd32a797b684adf
Santiago Fernandez Madero [Wed, 26 Sep 2018 01:24:45 +0000 (20:24 -0500)]
Fix CI build (dotnet/corefx#32471)
Commit migrated from https://github.com/dotnet/corefx/commit/
681f512903d91fb280d7eb2b0bcb1ce59f025df6
Ben Adams [Wed, 26 Sep 2018 01:14:49 +0000 (02:14 +0100)]
Add specific tests for {RO}Span.IndexOfAny<char> (dotnet/corefx#32069)
* Add specific tests for {RO}Span.IndexOfAny<char>
* Always test using IndexOfAny(ROS)
* No var
* Less var
Commit migrated from https://github.com/dotnet/corefx/commit/
bfcfd3419b3023d2c9ede0b63ceca73f74941c92
Tomas Weinfurt [Tue, 25 Sep 2018 23:55:21 +0000 (16:55 -0700)]
fix port detection in containers (dotnet/corefx#32374)
* fix port detection in containers
* update exception message
Commit migrated from https://github.com/dotnet/corefx/commit/
443723f8f16d25160f6f0bec3ef1505844fbdf46
Hugh Bellamy [Tue, 25 Sep 2018 22:43:45 +0000 (23:43 +0100)]
Add Marshal.GetObjectForNativeVariant tests (dotnet/corefx#31461)
Commit migrated from https://github.com/dotnet/corefx/commit/
988af46cc6bc68c970d0b4d9a961587d9f86aee8
Santiago Fernandez Madero [Tue, 25 Sep 2018 22:11:13 +0000 (17:11 -0500)]
Fix assert failing when getting network interfaces (dotnet/corefx#32394)
* Fix assert failing when getting network interfaces
* PR Feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
cae2180e1443e1ace51f7498e48fd84d95550358
Stephen Toub [Tue, 25 Sep 2018 22:09:51 +0000 (18:09 -0400)]
Improve inotify-related error messages for FileSystemWatcher on Linux (dotnet/corefx#32462)
Commit migrated from https://github.com/dotnet/corefx/commit/
bf452b4975054224b7ba906a02822341b567349a
Paulo Janotti [Tue, 25 Sep 2018 21:18:45 +0000 (14:18 -0700)]
Temporarily disable coverage for CoreLib (dotnet/corefx#32460)
Commit migrated from https://github.com/dotnet/corefx/commit/
3b5c44df1a148b69ac9e8d7dd3a7bc75dbcc8b2c
Andon Andonov [Tue, 25 Sep 2018 18:12:05 +0000 (11:12 -0700)]
Add TryAdd and Clear regression tests (dotnet/corefx#32407)
* Add TryAdd and Clear regression tests
* Add Run Condition on Clear()
* Address PR Feedback
* Address PR Feedback dotnet/corefx#2
* Address PR Feedback dotnet/corefx#3
* Remove Extra Line
* Add MoveNext Result Asserts
Commit migrated from https://github.com/dotnet/corefx/commit/
d8a0778e6d0787dbe523c8c5e1cfd2ab8cdf3cd3
Stephen Toub [Tue, 25 Sep 2018 17:59:05 +0000 (13:59 -0400)]
Remove custom enumerable Prepend in X509Certificates (dotnet/corefx#32456)
Avoid the duplication and use LINQ's instead.
Commit migrated from https://github.com/dotnet/corefx/commit/
61c90ceac1c2cbefc1709ab01acdb4081db79feb
Tanner Gooding [Tue, 25 Sep 2018 16:32:10 +0000 (09:32 -0700)]
Removing some double/single perf scenarios that conflict due to the generated xunit display name (dotnet/corefx#32441)
* Removing some double/single perf scenarios that conflict due to the generated xunit display name
* Fix precision loss and add disabled test comments
Commit migrated from https://github.com/dotnet/corefx/commit/
79ef29bcc1b9e5f2d7ef595e136771c89eb1bce8
Fei Peng [Tue, 25 Sep 2018 15:03:50 +0000 (08:03 -0700)]
Add missing overloads of hardware intrinsic (dotnet/corefx#32370)
* Add missing overloads of hardware intrinsic
* disable API baseline checks for the netcoreappaot
Commit migrated from https://github.com/dotnet/corefx/commit/
581627f713477fda8ac87be8dac74ff017d955cf
dotnet-maestro-bot [Tue, 25 Sep 2018 14:56:41 +0000 (07:56 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-26925-05, preview1-26925-06, preview1-26925-01, respectively (dotnet/corefx#32453)
Commit migrated from https://github.com/dotnet/corefx/commit/
496c93ba8dd0cac3728e53670ec0a41bfc56e619
Michal Strehovský [Tue, 25 Sep 2018 13:26:06 +0000 (15:26 +0200)]
Enable first year of Japanese era test on UAP / .NET Native (dotnet/corefx#32447)
* Enable first year of Japanese era test on .NET Native and UAP
Commit migrated from https://github.com/dotnet/corefx/commit/
ab14a82ba7fee8524e0679bab449a51b1e2254e8
dotnet-maestro-bot [Tue, 25 Sep 2018 09:56:55 +0000 (02:56 -0700)]
Update CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview1-26925-01, preview1-26925-01, beta-26925-00, beta-26925-00, respectively (dotnet/corefx#32443)
Commit migrated from https://github.com/dotnet/corefx/commit/
ddbe0a5b6c8d3c6468b2a273174272b2242315b7
Alex Ghiondea [Tue, 25 Sep 2018 00:16:39 +0000 (17:16 -0700)]
Update the file headers (dotnet/corefx#32368)
Commit migrated from https://github.com/dotnet/corefx/commit/
c00a0856d6fc7eb10fc4260a9d61baceb801f916
Rodrigo Kumpera [Mon, 24 Sep 2018 22:31:17 +0000 (18:31 -0400)]
[mono] Disable System.Threading test under mono (dotnet/corefx#32440)
* [mono] Disable System.Threading test under mono
RunThreadLocalTest8_Values requires precise stack scanning, making it unreliable under mono.
* Actually disable the right test.
Commit migrated from https://github.com/dotnet/corefx/commit/
d482c19e882a0ee7cb774c76173dd309910508fa
dotnet-maestro-bot [Mon, 24 Sep 2018 22:30:53 +0000 (15:30 -0700)]
Update BuildTools to preview1-03224-03 (dotnet/corefx#32434)
Commit migrated from https://github.com/dotnet/corefx/commit/
54ce580b98bdb787983bcf1b33692fbf5816befb
Anirudh Agnihotry [Mon, 24 Sep 2018 20:49:24 +0000 (13:49 -0700)]
pointer instead of span and name changes in S.IO.FileSystem (dotnet/corefx#32436)
Commit migrated from https://github.com/dotnet/corefx/commit/
2d104b4955548f0ebc57a8f4a24417619a7f3b60
Viktor Hofer [Mon, 24 Sep 2018 20:47:10 +0000 (22:47 +0200)]
Revert "Add more VB operator tests (dotnet/corefx#31320)" (dotnet/corefx#32439)
This reverts commit dotnet/corefx@
7c745fb167368b68a8b2964fd43415005304fcc5.
Commit migrated from https://github.com/dotnet/corefx/commit/
5d3db031dbf00634844e22c68d53cb549000e980
Viktor Hofer [Mon, 24 Sep 2018 19:38:42 +0000 (21:38 +0200)]
Runtime config cleanup and coverage fixes (dotnet/corefx#32422)
Runtime config files are now binplaced correctly for code coverage
scenarios and the System.Runtime.Tests custom config isn't necessary
anymore as we globally enabled randomized hashing.
Commit migrated from https://github.com/dotnet/corefx/commit/
e1416b7f02f651ef619ce5b642ac8e715dfa7404
Jan Kotas [Mon, 24 Sep 2018 19:34:07 +0000 (12:34 -0700)]
Fix interop for RTL_OSVERSIONINFOEX (dotnet/corefx#32433)
- Ensure that the OS version string is marshaled as Unicode
- Avoid allocating the version string when it is not needed
Fixes dotnet/corefx#32423
Commit migrated from https://github.com/dotnet/corefx/commit/
1a7ef6f2ef077bb9a318ba0fca6fe9ce2e202d5b
Hugh Bellamy [Mon, 24 Sep 2018 18:00:47 +0000 (19:00 +0100)]
Add more VB operator tests (dotnet/corefx#31320)
* Add VB operator tests
* Delete dead code from VB operators
* Add comparison operator tests
* Add more tests
* Fix VB handling of DBNull.Value
* Do all number parsing in the invariant culture
* Workaround https://github.com/dotnet/coreclr/issues/8648
Commit migrated from https://github.com/dotnet/corefx/commit/
7c745fb167368b68a8b2964fd43415005304fcc5
Andrew Arnott [Mon, 24 Sep 2018 17:52:52 +0000 (10:52 -0700)]
Capture exceptions in returned Task from PipeStream.FlushAsync (dotnet/corefx#32432)
This maintains backward compat with earlier version which did not override the FlushAsync method.
Commit migrated from https://github.com/dotnet/corefx/commit/
0d74ea622fb73ed0bf49256da8839cba94064fc9
dotnet-maestro-bot [Mon, 24 Sep 2018 15:44:28 +0000 (08:44 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03224-02, preview1-26924-03, preview1-26924-03, preview1-26924-01, beta-26924-00, beta-26924-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
38abb6efbb525a6e25dcb350ea3731872da37bb5
Stephen Toub [Mon, 24 Sep 2018 16:02:43 +0000 (12:02 -0400)]
Mark a few Environment static fields as readonly (dotnet/corefx#32431)
Commit migrated from https://github.com/dotnet/corefx/commit/
fe9fd2cd1d40a97ecdbf1ef80fc9ace973a32560
Xander Hoogland [Mon, 24 Sep 2018 15:32:15 +0000 (17:32 +0200)]
Clean up dead code in System.Diagnostics* (dotnet/corefx#32399)
* Clean up dead code in System.Diagnostics*
Removed dead code in Common, S.D.FileVersionInfo and S.D.Process for
issue dotnet/corefx#17905 to clean up the source.
* Revert Common's Interop.GetCPInfoEx, S.D.FileVersionInfo's Strings.resx, S.D.Process' Strings.resx and PMC.cs
The linux-build does need the specified string which was, as we now know
by accident, cleaned up, also reverted Interop.GetCPInfoEx, remove only
one string in Process' String.resx since it is definitely not used and
set back ProcessModuleCollection.cs due to methods being used.
Commit migrated from https://github.com/dotnet/corefx/commit/
d2b05edb02129eb8aad4331feb7e5b920afbb4c5
Julius Hardt [Sun, 23 Sep 2018 20:32:59 +0000 (22:32 +0200)]
Disable EncryptDecrypt_Read() test on the Home editions of Windows (dotnet/corefx#32342)
* Disable System.IO.Tests.EncryptDecrypt.EncryptDecrypt_Read() on the Home editions of Windows
* Add a comment explaining why we skip the test on home editions
Commit migrated from https://github.com/dotnet/corefx/commit/
4f7690ad97ea1772433fcfeafc4b0c26f0fb80a2
Wes Haggard [Sun, 23 Sep 2018 08:51:06 +0000 (01:51 -0700)]
Remove version files from the root (dotnet/corefx#32402)
These were accidentally committed with the seeding of the dependency
flow PR but they should be under the eng directory.
Commit migrated from https://github.com/dotnet/corefx/commit/
a75d30306975040b0e22390d04a3b3de094d1817
dotnet-maestro-bot [Fri, 21 Sep 2018 22:39:00 +0000 (15:39 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup to preview1-03221-04, preview1-26921-06, preview1-26921-03, preview1-26921-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
cd8f9a130f141a021d0fe3823c4f5acef1d67ce0
Viktor [Fri, 21 Sep 2018 00:43:17 +0000 (02:43 +0200)]
Move launchsettings to buildtools and enable netfx debugging
Generate launchSettings during build
Update debugging netfx docs
Commit migrated from https://github.com/dotnet/corefx/commit/
197324c26eb6ad0d6c4e8785d20762c259027996
Wes Haggard [Fri, 21 Sep 2018 23:37:05 +0000 (16:37 -0700)]
Merge pull request dotnet/corefx#32398 from weshaggard/SeedDependencyFlow
Seed corefx repo with files necessary for dependency flow
Commit migrated from https://github.com/dotnet/corefx/commit/
8b4e823d7486f30f29481b5d916cee9e9afdc785
Tanner Gooding [Fri, 21 Sep 2018 18:46:59 +0000 (11:46 -0700)]
Adding some basic perf tests for Double.TryParse and Single.TryParse
Commit migrated from https://github.com/dotnet/corefx/commit/
c2e9dbaeaf8f7d702a1ce30cd3ae5530f41e3b75
Wes Haggard [Fri, 21 Sep 2018 22:33:56 +0000 (15:33 -0700)]
Seed corefx repo with files necessary for dependency flow
This seeds the repo with the necessary files needed to onboard
the dependency flow for arcade. We are still not using these
dependencies in corefx yet but we want to get them flowing.
Commit migrated from https://github.com/dotnet/corefx/commit/
82f264f8866d8495769dd811913dc0ab1c7b73f9
Wes Haggard [Fri, 21 Sep 2018 20:39:49 +0000 (13:39 -0700)]
Merge pull request dotnet/corefx#32123 from jnm2/document_enum_underlying_type_breaking_change_rule
Document breaking change rule for the underlying type of an enum
Commit migrated from https://github.com/dotnet/corefx/commit/
f7598974c731f61bc61a8abd5bb78e4ec0c08c54
Anirudh Agnihotry [Fri, 21 Sep 2018 18:04:40 +0000 (11:04 -0700)]
rootfs added (dotnet/corefx#32379)
* rootfs added
* lower case wsl
* removed test
Commit migrated from https://github.com/dotnet/corefx/commit/
8f00e5adbb09ccecd598c6d63cfc3cd4f4541c54
Tarek Mahmoud Sayed [Fri, 21 Sep 2018 17:20:02 +0000 (10:20 -0700)]
Add Test for Japanese First Year of Era (dotnet/corefx#32304)
* Add Test for Japanese First Year of Era
* Address review feedback
* remove extra space
Commit migrated from https://github.com/dotnet/corefx/commit/
0a300d730a655da69bb56b2de304489dab091536
dotnet-maestro-bot [Fri, 21 Sep 2018 05:18:20 +0000 (22:18 -0700)]
Update CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview1-26921-01, beta-26921-00, beta-26921-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
05535e8ce103aa1101c738ea653a5fbab6bd8b25
Jan Kotas [Fri, 21 Sep 2018 01:10:47 +0000 (18:10 -0700)]
Add back moved files and fix build breaks
Commit migrated from https://github.com/dotnet/corefx/commit/
046c0291d0172bf23139cf6d3f856f92364ac94c
dotnet-maestro-bot [Fri, 21 Sep 2018 01:21:46 +0000 (18:21 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03220-01, preview1-26920-03, preview1-26920-03, preview1-26920-03, beta-26920-00, beta-26920-00, respectively (master) (dotnet/corefx#32344)
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03220-01, preview1-26920-03, preview1-26920-03, preview1-26920-03, beta-26920-00, beta-26920-00, respectively
* Remove Clear Operation from GetModifyEnumerables()
Commit migrated from https://github.com/dotnet/corefx/commit/
eca3f8d615612bbbea5a349203e47aea3147d209
Santiago Fernandez Madero [Fri, 21 Sep 2018 00:15:13 +0000 (17:15 -0700)]
Fix NetworkInterfaces exception when forwarding conf file is not available in linux system (dotnet/corefx#32350)
* Fix NetworkInterfaces exception when forwarding conf file is not available
* PR Feedback
* More PR Feedback, refactor code
Commit migrated from https://github.com/dotnet/corefx/commit/
238932e03c32cd59d33f6713b0d0de60178158b4
Anirudh Agnihotry [Thu, 20 Sep 2018 22:56:01 +0000 (15:56 -0700)]
DriveFormat returns null on WSL (dotnet/corefx#32372)
* added default value for isHFS
* using and operator
Commit migrated from https://github.com/dotnet/corefx/commit/
3a206a056f765b4d0df02e5d0ff6d0f7bdfe23c2
Tanner Gooding [Wed, 19 Sep 2018 00:01:29 +0000 (17:01 -0700)]
Scoping back the number of Perf_Double and Perf_Single tests that are being added
Commit migrated from https://github.com/dotnet/corefx/commit/
7eff72bdd562e584832235b4527b5f605cddf397
Tanner Gooding [Tue, 18 Sep 2018 21:06:59 +0000 (14:06 -0700)]
Fixing up some code in DoubleTests and SingleTests
Commit migrated from https://github.com/dotnet/corefx/commit/
5ae188538976779b767194008d518fdaf773d24f
Tanner Gooding [Tue, 18 Sep 2018 17:52:33 +0000 (10:52 -0700)]
Updating the tests which cover the public constant APIs to also check bit values.
Commit migrated from https://github.com/dotnet/corefx/commit/
23f4f048b2867436bf0735eaf574c09bce5a0051
Tanner Gooding [Tue, 18 Sep 2018 17:36:59 +0000 (10:36 -0700)]
Some cleanup of DoubleTests and SingleTests to make literals more readable
Commit migrated from https://github.com/dotnet/corefx/commit/
b95ccd913c63174083284efdc9a5b6e71ba04196
Tanner Gooding [Tue, 18 Sep 2018 17:19:58 +0000 (10:19 -0700)]
Reorganizing DoubleTests and SingleTests to have the same layout/ordering
Commit migrated from https://github.com/dotnet/corefx/commit/
4487126781c8064446e4815556449f9a85cb0333
Tanner Gooding [Tue, 18 Sep 2018 17:08:43 +0000 (10:08 -0700)]
Fixing the Perf.Double and Perf.Single tests to cover some more interesting inputs
Commit migrated from https://github.com/dotnet/corefx/commit/
c583c48ff6e7b269c0780bc861c9120352980f19
Tanner Gooding [Tue, 18 Sep 2018 16:22:14 +0000 (09:22 -0700)]
Adding Perf.Single and splitting out Perf.Decimal
Commit migrated from https://github.com/dotnet/corefx/commit/
f4451168f6fde8f34ea7cd8a798951c1286aa058
Pavel Krymets [Thu, 20 Sep 2018 18:14:06 +0000 (11:14 -0700)]
Replace ReadAsyncCompletesIfFlushAsyncCanceledMidFlush test (dotnet/corefx#32360)
Commit migrated from https://github.com/dotnet/corefx/commit/
3bec0c8759806ffbabe5d415bf2fb8abd6832aa4
Tomas Weinfurt [Thu, 20 Sep 2018 18:09:12 +0000 (11:09 -0700)]
use proper flags for sendmsg() on Unix (dotnet/corefx#32356)
* use proper flags
* fix spacing
Commit migrated from https://github.com/dotnet/corefx/commit/
991edc840b0240aeb9b245673eb78dc3b80f3a3b
Grant [Thu, 20 Sep 2018 03:26:39 +0000 (20:26 -0700)]
Fix Units for Span.Contains (dotnet/corefx#32362)
* Fix typo
* Remove redunant test
* Test cases may generate XUnit name duplicates
Commit migrated from https://github.com/dotnet/corefx/commit/
5f7e07f42443c1d62e72068e8ccda75d1911d9f2
Viktor Hofer [Wed, 19 Sep 2018 22:43:20 +0000 (00:43 +0200)]
Add launchSettings.json files to test projects (dotnet/corefx#32260)
* Add launchSettings file generation
Commit migrated from https://github.com/dotnet/corefx/commit/
711a7794eafbd195d36df01ca880076ffa3ef996
Koundinya Veluri [Wed, 19 Sep 2018 10:28:10 +0000 (03:28 -0700)]
Add AsyncLocal test that verifies value changes (similar to test above) (dotnet/corefx#31944)
Commit migrated from https://github.com/dotnet/corefx/commit/
7c0c35f350b19cd5a6d3a077aeac507498c3f1ae
dotnet-maestro-bot [Wed, 19 Sep 2018 00:16:06 +0000 (17:16 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03217-01, preview1-26918-01, preview1-26918-01, preview1-26917-04, beta-26918-00, beta-26918-00, respectively (master) (dotnet/corefx#32326)
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-03217-01, preview1-26918-01, preview1-26918-01, preview1-26917-04, beta-26918-00, beta-26918-00, respectively
* Fix inconsistent Intel hardware intrinsic APIs
* Fix build netcoreappaot build break
Commit migrated from https://github.com/dotnet/corefx/commit/
0566028e42a8f2fa86b8e0dd856d1f13d0fdce05
Santiago Fernandez Madero [Tue, 18 Sep 2018 22:57:19 +0000 (15:57 -0700)]
Move InvalidAsynchronousStateException down to Primitives in order to break TypeConverters dependency (dotnet/corefx#32318)
* Move InvalidAsynchronousStateException down to Primitives in order to break TypeConverters dependency
* Depend on TypeConverter for nca2.0 and add netcoreappvnext to packageconfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/
2b18c83150b1956dc7a7fe90b743028a9a105d57
Fredrik Eilertsen [Tue, 18 Sep 2018 18:57:20 +0000 (20:57 +0200)]
Add UTF8 parser performance tests (dotnet/corefx#32026)
* Remove inner iteration count
* Add bool parsing perf test
* Add int16 parsing perf test
* Add int32 parsing perf test
* Add sbytes parsing perf test
* Add uint32 parsing perf test
* Add uint64 parsing perf test
* Rename 'wordy' test names
* Remove duplicate test
* Add inline data to ParserSbyte
* Rename test method
* Rename test method
* Remove all BytesConsumed suffixes
* Clean up some tests after review
* Update Perf.Utf8Parser.cs
* Update Perf.Utf8Parser.cs
Remove unused types
* Add inner iterations
* Fix syntax
* Remove some unused code
* Remove duplicate
* Remove duplicate ByteSpanToUint64
* Match StringToSByte inline data with ByteSpanToSByte
* Add more inline data
* Update Perf.Utf8Parser.cs
Add more consistency in names and inline data
* Rename to StringToSByte
* Remove some test data
* Remove all unsafe keywords
* Remove StringToUInt64_Baseline
* Rename test
* Add baseline prefix to stringToUInt64 test
* Add StringToUInt32Hex_Baseline test
* Add StringToUint32hex_variablelenght
* Match ByteSpanToInt16 with StringToInt16 test cases
* Add StringToTimeOffsetR
* Add StringToByte_Baseline test
* Match ByteSpanToInt32 and StringToInt32 test cases
* Add StringToInt64_Baseline test
* Use numberstyle overload for short parsing
* Use different overload on datetime baseline
* Update Perf.Utf8Parser.cs
Remove unneeded inline data on StringToSByte_baseline test
* Use DateTimeOffset.TryParseExact
Commit migrated from https://github.com/dotnet/corefx/commit/
c655a9aa7a9df0fa19df8792f16e13543eeac7b6
Dan Moseley [Tue, 18 Sep 2018 04:43:44 +0000 (21:43 -0700)]
Increase tracing for ProfileOptimization_CheckFileExists (dotnet/corefx#32317)
Commit migrated from https://github.com/dotnet/corefx/commit/
71dd2f49f7e7ceb73ba7539bb804bff9a8d3c74c
Dan Moseley [Tue, 18 Sep 2018 03:39:24 +0000 (20:39 -0700)]
Add SqlFacetAttribute (dotnet/corefx#32245)
* Add SqlFacetAttribute
* spacing
* spacing
* feedback
Commit migrated from https://github.com/dotnet/corefx/commit/
0c86fa7ac47ed44aa8c2f1ff072a59bd06ec82a6
Grant [Tue, 18 Sep 2018 01:35:15 +0000 (18:35 -0700)]
Units for Span.Contains (dotnet/corefx#32293)
* Units for Span.Contains
* More callsites
* More callsites with Linq
* CR fixes
* Moved Span<char>.Contains tests to StringTests
* Revert incompatible change
* Another revert
* Remove Linq scan false positive
* Remove redundant comments
* Undo risky Linq resolution
* Remove dupe units
* Undo comment
* New units broken by cross compilation
* Reverts
* Another revert
* Revert
* CR fixes
* More fixes
* Fixes
* Perf tests
* Build breaks
* Benchmark baseline
* Fix tautology
* Rename tests
* CR fixes
* Add more test lengths
* InnerCount can be smaller
Commit migrated from https://github.com/dotnet/corefx/commit/
12eb4a3ad0275ebd66cec52e4cdecb421f1b2535
jnm2 [Wed, 5 Sep 2018 21:02:18 +0000 (17:02 -0400)]
Document breaking change rule for the underlying type of an enum
Commit migrated from https://github.com/dotnet/corefx/commit/
8fb90342988f75d6ccfbf52aa4d71a1e7e44703e
Jeremy Barton [Mon, 17 Sep 2018 22:39:03 +0000 (15:39 -0700)]
Re-enable some tests on netfx since we have a higher baseline now
* Re-enable a test on netfx since we have a higher baseline now
* Clean up ActiveIssue/ConditionalFact from compat against older netfx
Commit migrated from https://github.com/dotnet/corefx/commit/
45b5cf0949470104d38a68d7f9ca0ad381393707
Wes Haggard [Mon, 17 Sep 2018 19:30:10 +0000 (12:30 -0700)]
Merge pull request dotnet/corefx#32311 from dotnet-maestro-bot/master-UpdateDependencies
Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26917-04, preview1-26917-04, preview1-26917-01, beta-26917-00, beta-26917-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/
fdd7e8c35ed4366aaca3fb75d3c7b6d4e1f65fa4
dotnet-maestro-bot [Mon, 17 Sep 2018 13:56:57 +0000 (06:56 -0700)]
Update CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26917-04, preview1-26917-04, preview1-26917-01, beta-26917-00, beta-26917-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
fcf489e640805233d773b12717acfbe7f32be482
Tomas Weinfurt [Mon, 17 Sep 2018 02:53:34 +0000 (19:53 -0700)]
skip content-length on DELETE and OPTIONS methods with no body (dotnet/corefx#32259)
* skip content-length on DELETE and OPTIONS methods
* breakup long line
* update after sync up
* fix spelling
* skip new test on winhttp
* disable test also on netfx and uap
* feedback from reviews
* use Assert.DoesNotContain for assert
Commit migrated from https://github.com/dotnet/corefx/commit/
99211937b4f1735b7912f0a064b91ba60c8e9ca9
dotnet-maestro-bot [Sat, 15 Sep 2018 21:47:33 +0000 (14:47 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-26915-04, preview1-26915-04, preview1-26915-01, respectively (dotnet/corefx#32306)
Commit migrated from https://github.com/dotnet/corefx/commit/
00c76c02dce46f9674a917e5ddf682a304152e94
dotnet-maestro-bot [Fri, 14 Sep 2018 14:10:58 +0000 (07:10 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-26914-04, preview1-26914-04, preview1-26914-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/
b567e3b33797fbd227bad475119b69b3fd822d8d
dotnet-maestro-bot [Fri, 14 Sep 2018 06:58:33 +0000 (23:58 -0700)]
Update CoreClr, ProjectNTfs, ProjectNTfsTestILC to preview1-26914-01, beta-26914-00, beta-26914-00, respectively (dotnet/corefx#32294)
Commit migrated from https://github.com/dotnet/corefx/commit/
4b3564c2b3142ade08325689a8ff1476f4616b8f
Anirudh Agnihotry [Fri, 14 Sep 2018 04:43:26 +0000 (21:43 -0700)]
Setting the lastWriteTime And LastAccessTime no longer drops any ticks i.e granularity upto nanoseconds (dotnet/corefx#32193)
* nanoseconds granularity
* overflow corrected
Commit migrated from https://github.com/dotnet/corefx/commit/
9b2965074a2bd7787e82968bb80398aa4818b30a
dotnet-maestro-bot [Thu, 13 Sep 2018 23:43:30 +0000 (16:43 -0700)]
Update CoreClr, CoreFx, CoreSetup to preview1-26913-07, preview1-26913-07, preview1-26913-02, respectively (dotnet/corefx#32290)
Commit migrated from https://github.com/dotnet/corefx/commit/
a99a57f59f8152099e7da3e2c623568ee9cc016e
Jeremy Barton [Thu, 13 Sep 2018 23:04:39 +0000 (16:04 -0700)]
Remove the ActiveIssue attribute from a disabled-but-passing test (dotnet/corefx#32286)
The MultiComponentRdn test was indirectly fixed by switching from the
P/Invoke-based X500NameEncoder.OpenSslDecode to
X500NameEncoder.ManagedDecode.
Commit migrated from https://github.com/dotnet/corefx/commit/
29e9efb3e4639921c62a46b82e9d6edd2faa3e5c
Grant [Thu, 13 Sep 2018 22:20:39 +0000 (15:20 -0700)]
Change calls from string.IndexOf to string.Contains (CoreFX) (dotnet/corefx#32249)
* Update call sites
* More call sites
* Another callsite
* More call sites
* CR fixes - revert src/Common/src/CoreLib/*
* Spurious fix
* Revert string.Contains where platform may not be NetCore21
* nit
* More reverts
* More reverts
* More reverts
* Revert
* Remove comments
* Revert
Commit migrated from https://github.com/dotnet/corefx/commit/
6ffca612323448f1488a6c63b86b69611b4286d9
Steve Pfister [Thu, 13 Sep 2018 21:24:34 +0000 (17:24 -0400)]
Added InstanceDescriptor check back into DateTimeConverter.ConvertTo (dotnet/corefx#31558)
Commit migrated from https://github.com/dotnet/corefx/commit/
78933dea05bd0b2cd0714de018f7c6b363f65246
Marco Rossignoli [Thu, 13 Sep 2018 20:48:20 +0000 (22:48 +0200)]
Add retry policy to ProfileOptimization test (dotnet/corefx#31810)
* add retry policy
* add write test on profile file path location
* address PR feedback
* cleanup code
Commit migrated from https://github.com/dotnet/corefx/commit/
065bed2fb74ebed6798990e65b88e67c0b47429b
Viktor Hofer [Thu, 13 Sep 2018 20:45:37 +0000 (22:45 +0200)]
Make Image, Bitmap, Metafile and Icon serializable (dotnet/corefx#30817)
* Make Image, Bitmap, Metafile and Icon serializable
* Fix build error because of different namings on Unix & Windows
* Add Unix MemoryStream handling for serialization
* Simplify Icon deserialization logic
* Fix rename build break
* Fix build break again
* Add serialization tests for System.Drawing types
* Remove unnecessary null check in Icon
* Remove Debug fail invocations in Image deserialization
* Disable blob comparison for Drawing types
* Disable system.drawing.common binary formatter tests for uap since is a turd assembly
* Fix nano failures
* Fix typo in FindEncoderForFormat call
* Fix Windows test failures
* Fix unix deserialization where nativeImage pointer was not being set and update blobs
* Update metafile comment on why we skip it
Commit migrated from https://github.com/dotnet/corefx/commit/
11c54f3bd947b8ceb41b51440379c49cf777248f
Josh Free [Thu, 13 Sep 2018 20:38:24 +0000 (13:38 -0700)]
Add Ubuntu 18.10 (Cosmic Cuttlefish)
Add Ubuntu 18.10 to Microsoft.NETCore.Platforms
Fixes dotnet/corefx#32282
Commit migrated from https://github.com/dotnet/corefx/commit/
321a87d9dffb4de480599895f55afd4093bc6613
Jeremy Barton [Thu, 13 Sep 2018 20:30:34 +0000 (13:30 -0700)]
Read SSL_CERT_FILE contents before SSL_CERT_DIR contents
The OpenSSL commandline utility (openssl verify) uses the "single file" lookup
before the directory contents lookup in both OpenSSL 1.0.2 and 1.1.0. Normally,
this doesn't matter, as the contents between the two are normally not in conflict.
The certificates on SLES 15 and Fedora 28, however, seem to use the plain X509
data ("BEGIN CERTIFICATE") as the "by file" multi-PEM, and newly use
trust-specified certificates ("BEGIN TRUSTED CERTIFICATE") contents in the
directory lookup.
When a certificate gets loaded with explicit trust settings, any trust not
explicitly permitted is implicitly denied. Our X509Chain class uses the default
trust for the trust decision (X509_TRUST_DEFAULT), which means it does a
check for the "any extended key usage" trust. That purpose is not present
in the certificates we're seeing now, meaning we get
X509_V_ERR_CERT_REJECTED as the response from the chain, but the CLI
tool gets a successful response.
By changing the order to be "file first" we match the behavior of the CLI tool.
Commit migrated from https://github.com/dotnet/corefx/commit/
717c57fcb98460ed3d90955dcc9ef28a1371a23a
Geoff Kizer [Thu, 13 Sep 2018 19:09:20 +0000 (12:09 -0700)]
Merge pull request dotnet/corefx#32211 from jbhensley/huffman-test
Added additional unit test scenario to Huffman encoding tests
Commit migrated from https://github.com/dotnet/corefx/commit/
0a51fb5ff782f2f27ec4241feedfb90699de7361
Wes Haggard [Thu, 13 Sep 2018 17:18:04 +0000 (10:18 -0700)]
Update library-servicing document (dotnet/corefx#32267)
Add more information about AssemblyVersion
Commit migrated from https://github.com/dotnet/corefx/commit/
ddba280627d67badb8aa6954f6227952a05943fd
dotnet-maestro-bot [Thu, 13 Sep 2018 17:17:46 +0000 (10:17 -0700)]
Update CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26912-03, beta-26913-00, beta-26913-00, respectively (dotnet/corefx#32275)
Commit migrated from https://github.com/dotnet/corefx/commit/
18792ab9968a8d54150235215b767d4dde4f8af3
Filip Navara [Thu, 13 Sep 2018 16:19:12 +0000 (18:19 +0200)]
Optimize public key imports for OpenSSL and Common Crypto
* Optimize RSA and DSA key imports for Common Crypto and OpenSSL.
* Convert key imports to use ReadOnlySpan.
Commit migrated from https://github.com/dotnet/corefx/commit/
713420b9fbe2a86be3a8032c8185a7f5ef308290
Filip Navara [Thu, 13 Sep 2018 15:09:26 +0000 (17:09 +0200)]
Unify code for AttributeAsn and X501AttributeAsn
* Declare AttributeAsn.AttrValues as SetOf instead of encoding it manually.
* Replace X501AttributeAsn with AttributeAsn.
Commit migrated from https://github.com/dotnet/corefx/commit/
35320e086b5f159d74737558f4e3806c53dfaf8c
Jan Kotas [Thu, 13 Sep 2018 00:02:53 +0000 (17:02 -0700)]
Delete dead files (dotnet/corefx#32265)
Commit migrated from https://github.com/dotnet/corefx/commit/
bdd4e0bad42f02538b5d5163484caf8abeebc65f
Wes Haggard [Wed, 12 Sep 2018 22:37:37 +0000 (15:37 -0700)]
Merge pull request dotnet/corefx#32264 from AfsanehR/updateMasterVersion
Update assembly and package version for new API
Commit migrated from https://github.com/dotnet/corefx/commit/
09e413092dbde9ac573c7c53cd9c104b525e0468
Jeremy Barton [Wed, 12 Sep 2018 22:36:08 +0000 (15:36 -0700)]
Add SignerIdentifierType.NoSignature support to SignedCms
This also changes the zero-argument ComputeSignature and moves the PNSE
to later in the flow, since it is successful when the document was in implicit
NoSignature mode.
Commit migrated from https://github.com/dotnet/corefx/commit/
8cfcb3d75922db94d822080d76903c6316fc0665
Santiago Fernandez Madero [Wed, 12 Sep 2018 21:17:24 +0000 (14:17 -0700)]
Remove System.Buffers package (dotnet/corefx#32096)
* Remove System.Buffers package and harvest System.IO.Pipelines for ns1.3
* Run UpdateVSConfigurations
* Harvest Security.Cryptography.Cng ns1.3 and ns1.4 implementations
Commit migrated from https://github.com/dotnet/corefx/commit/
b09c098f2e0c7934dac8a4c7e38a5bf249a5b955
Grant [Wed, 12 Sep 2018 21:13:49 +0000 (14:13 -0700)]
Ref Assembly for MemoryExtensions.Contains (CoreFX) (dotnet/corefx#32176)
* Create methods on ref assembly
* Force rebuild
* Revert
* Update callsite for span
* Units
* CR fix
* Move Unit
Commit migrated from https://github.com/dotnet/corefx/commit/
559d0165a0f3a3e0981c89199b18ae02e52c084c
Afsaneh Rafighi [Wed, 12 Sep 2018 20:36:46 +0000 (13:36 -0700)]
update Assembly and package version in master branch
Commit migrated from https://github.com/dotnet/corefx/commit/
56b2fc177ab1924fdd3222f9c747e2e405bc6656
jbhensley [Wed, 12 Sep 2018 20:05:08 +0000 (13:05 -0700)]
Fix whitespace
Commit migrated from https://github.com/dotnet/corefx/commit/
a64edcab4735be20171206366ebeb878db0aac10
William Godbe [Wed, 12 Sep 2018 19:08:42 +0000 (12:08 -0700)]
Fix AssemblyVersion update instructions (dotnet/corefx#32200)
* Fix AssemblyVersion update instructions
* Add documentation for editing packageIndex.json
Commit migrated from https://github.com/dotnet/corefx/commit/
5104246d865d64b9bc501c5cbcf5dfd52486681a
Wes Haggard [Wed, 12 Sep 2018 16:11:25 +0000 (09:11 -0700)]
Merge pull request dotnet/corefx#32257 from dotnet-maestro-bot/master-UpdateDependencies
Update CoreFx to preview1-26912-03 (master)
Commit migrated from https://github.com/dotnet/corefx/commit/
a284d80f0efc13007d6fcfa61094b274f811b442
Atsushi Kanamori [Wed, 12 Sep 2018 14:33:54 +0000 (07:33 -0700)]
Make AttributeType virtual and add MakeGenericSignatureType (dotnet/corefx#32133)
Fixes https://github.com/dotnet/corefx/issues/31614
Fixes https://github.com/dotnet/corefx/issues/31798
Commit migrated from https://github.com/dotnet/corefx/commit/
88a076dcecd4e3f6a117f9fb929e756170c7c9b1
dotnet-maestro-bot [Wed, 12 Sep 2018 14:23:04 +0000 (07:23 -0700)]
Update CoreFx to preview1-26912-03
Commit migrated from https://github.com/dotnet/corefx/commit/
488967075b271ca467bc25cf29f7d6bbf81afdac
Filip Navara [Wed, 12 Sep 2018 14:13:00 +0000 (16:13 +0200)]
System.Security: Use RandomNumberGenerator.Fill (dotnet/corefx#32223)
* Use RandomNumberGenerator.Fill instead of creating RandomNumberGenerator objects.
* Remove unnecessary argument to AsSpan.
Commit migrated from https://github.com/dotnet/corefx/commit/
1657319e4c0e3beb5ed37bbf4bee8d0cd145c5fb
dotnet-maestro-bot [Wed, 12 Sep 2018 14:12:40 +0000 (07:12 -0700)]
Update CoreClr, CoreSetup to preview1-26912-04, preview1-26912-01, respectively (dotnet/corefx#32254)
Commit migrated from https://github.com/dotnet/corefx/commit/
5a06284ea6d32e8b0090c73711c9b8123e75e5df