Граф коммитов

29084 Коммитов

Автор SHA1 Сообщение Дата
Gleb Balykov e36e0b3857 Fix __Arch for armv7l tests (#30639) 2018-06-27 23:12:24 -04:00
Luqun Lou 96eddf3953 Remove use of FrameworkEventSourceSupport from S.P.Corelib (#30297) 2018-06-27 19:41:42 -07:00
Anirudh Agnihotry dc54c458e9 Moved SafeWaitHandle and cancellationToken to shared (dotnet/coreclr#18662)
* Moving SafeWaitHandle to shared

* Moved CancellationToken to shared

* _ remove from variable names

* Default change to Default(Token) and minor changes

* Fixing coreclr unix build

* moving semaphoreSlim to shared

* splitting safeWaitHandle to .windows and .unix

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-27 13:38:24 -07:00
Phil Garcia f78139518c Applying PR feedback
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-27 13:38:24 -07:00
Phil Garcia bd5c95f47b Changed internal value to readonly to all the primitive types
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-27 13:38:24 -07:00
Fei Peng 5ee1494a4f Fix Aes and Ssse3.Shuffle intrinsic APIs
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-27 11:45:43 -07:00
Afsaneh Rafighi f487a4c84e
Merge pull request #29697 from AfsanehR/PoolBlockingPeriod
Added PoolBlockingPeriod connection property
2018-06-27 09:58:44 -07:00
Jan Kotas 7012adcffd Removes duplicate attributes on Span
Port https://github.com/dotnet/coreclr/pull/18668 to portable Span
2018-06-27 09:05:33 -07:00
Afsaneh Rafighi 880e4f031c added a margin to test 2018-06-27 08:46:00 -07:00
Marek Safar ab27e64721 Removes duplicate attributes (dotnet/coreclr#18668)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-27 07:19:30 -07:00
Tomas Weinfurt fc1574ecf3 build stub assemblies on FreeBSD from *UnknownUnix* (#30663)
* build stub assemblies on FreeBSD from *UnknownUnix*

* feedback from review. move RegisterNetworkChange to common file

* use netcoreapp-Unix for FreeBSD until we have real implementation
2018-06-27 06:28:54 -07:00
Gleb Balykov cdb337284c Update Tizen CI RID (#30692)
* Update Tizen RID for CI

* Update Tizen url for rootfs generation
2018-06-27 08:07:20 -04:00
Santiago Fernandez Madero a9aabd2b7c Disable DrawBezier/DrawLine_PointFs tests (#30684) 2018-06-26 21:51:31 -04:00
Michal Strehovský 5678fe6fd6 Fix bogus assert in ArraySortHelper (dotnet/corert#6018)
Fixes #6016.
Resolves #6015.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-26 20:11:48 -04:00
Afsaneh Rafighi 365505a837 updated test 2018-06-26 16:02:39 -07:00
Afsaneh Rafighi a74bf42009
Merge pull request #30342 from AfsanehR/AccessTokenAAD
Azure Active Directory Authentication using Access Token
2018-06-26 15:58:41 -07:00
Afsaneh Rafighi da34501f05
Merge branch 'master' into AccessTokenAAD 2018-06-26 12:54:34 -07:00
Tomas Weinfurt 3035218ef5
add option to handle Ping TTL for raw socket and system utility (#30324)
* add option to handle TTL for raw socket and system utility

* add missing blank line

* incorporate feedback and merge with upstream

* feedback from review
2018-06-26 11:00:00 -07:00
Afsaneh Rafighi 286eb8f789 modified the test and addressed review comments 2018-06-26 10:43:28 -07:00
Michal Strehovský 271c0832d9 Add regression test for dotnet/corert#6016 (#30664) 2018-06-26 09:57:47 -04:00
Jan Kotas 6182c9c53f
Delete slack link, standardize on gitter (#30661)
Contributes to https://github.com/dotnet/coreclr/issues/18643
2018-06-25 22:55:14 -07:00
Stephen Toub 7ae1a252d7 Simplify built-in types across corefx tests (#30660) 2018-06-25 22:42:04 -07:00
Stephen Toub 14d17b207f
Merge pull request #30570 from dotnet-maestro-bot/master-UpdateDependencies
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02921-01, preview1-26624-03, preview1-26624-03, preview1-26624-01, beta-26622-00, beta-26622-00, respectively (master)
2018-06-25 23:55:07 -04:00
Stephen Toub e0ba7aa802 Simplify built-in types across corefx (#30656) 2018-06-25 16:54:41 -07:00
Wes Haggard d77efb0302 Remove netcorepp2.2 from package testing 2018-06-25 13:04:00 -07:00
Jan Kotas 32646dfea2 Fixes and workarounds for new CoreCLR 2018-06-25 13:03:59 -07:00
Stephen Toub a10890f4ff Simplify types in non-shared corelib (dotnet/corert#6008)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-25 13:02:52 -07:00
dotnet-maestro-bot b3d0697283 Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02921-01, preview1-26624-03, preview1-26624-03, preview1-26624-01, beta-26622-00, beta-26622-00, respectively 2018-06-25 12:46:53 -07:00
Luqun Lou 098d8626dc Use public implementation MarshalSupport (#30494)
* Use public implementation MarshalSupport

* Implement NotifyCollectionChangedEventArgsMarshaler ConvertToManaged and PropertyChangedEventArgsMarshaler ConvertToNative

* Refactor RoGetActivationFactory into Common

* Update according to comments and add an analyzerdata file
2018-06-25 05:20:55 -07:00
Afsaneh Rafighi 98a9ccb74a addressed review feedbacks 2018-06-24 21:11:14 -07:00
Jeremy Kuhne abe3710c12 Handle empty region scans on Unix. 2018-06-24 20:36:13 -07:00
Jeremy Kuhne 9123e8ff2c Remove GPRECT and GPRECTF
They match directly with Rectangle/RectangleF
2018-06-24 20:36:13 -07:00
Jeremy Kuhne a0dd2fc0cf Style cleanup in preparation of perf fixes. 2018-06-24 20:36:13 -07:00
Meir Blachman 8c906fbabc docs: ActivityUserGuide.md typo (#30634) 2018-06-24 11:59:27 -07:00
Jan Kotas 4a2154cb30
Update to latest released dotnet SDK (#30633) 2018-06-24 11:58:54 -07:00
Jan Kotas d1cdb1b324
Update performance counter interop to use Span<T> (#30614)
* Move NtProcessInfoHelper to ProcessManager.Win32.cs

NtProcessInfoHelper was split between ProcessManager.Win32.cs and ProcessManager.Windows.cs for no good reason

* Update performance counter interop to use Span<T>

This is both faster and more secure

* Delete FEATURE_TRACESWITCH
2018-06-24 07:18:49 -07:00
Stephen Toub 3b24c53585 Simply type names in Corelib (dotnet-maestro-bot/coreclr#18623)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-24 09:40:05 -04:00
Anipik c54bb3c8f2 non shared changes and disabling tests
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-06-24 08:41:03 -04:00
Filip Navara 5e3aecf952 NetFX compatibility fixes for X500DistinguishedName.
* Don't write a separator after the empty DN
* Make T61String behave like it does on Windows (UTF-8 with a Latin-1 fallback)
* Use the managed decoder on Linux, instead of a lot of P/Invokes back into OpenSSL.
2018-06-23 21:29:39 -07:00
Jeremy Kuhne 7d95fd4740 Kill allocations in GraphicsPath/Graphics
This removes a great deal of the unneeded allocations in GraphicsPath and Graphics. Points and rectangles match the native types exactly and don't need special marshalling outside of pinning arrays.

This removes all usages of GPPOINT/F.  Many GPRECT/F usages were removed, but still exist in other classes.
2018-06-23 20:14:25 -07:00
Jeremy Kuhne cf4ca262a6 Add using for SafeNativeMethods.Gdip 2018-06-23 20:14:25 -07:00
Jeremy Kuhne e448b6c5d5 Clean style in Graphics/GraphicsPath
Make a consistency pass through Graphics & GraphicsPath.

Plan is to follow up with a change that removes the rest of the unnecessary allocations.

This change focuses on the Windows specific code. Some Unix code will be able to be unified with the Windows code once further changes happen. Rather than reformat the Unix code preemptively, leaving for final follow-up.
2018-06-23 20:14:25 -07:00
Pent Ploompuu 3e107903bf Decimal.Remainder tests (#30291)
* Decimal.Remainder tests

* Remove quirk for NearNegativeZero/NearPositiveZero scaling issue
2018-06-23 19:48:33 -04:00
EdwinEngelen c555c7db2f Make ControlChars public (#30551)
* Make ControlChars public

Accessibility now matches .NET Framework.

* Correct typo in comment
2018-06-23 11:55:41 -07:00
Stephen Toub 63baa3f7a3 Change string.Compare(...) == 0 occurrences to string.Equals(...) (#18616)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
2018-06-23 13:06:46 -04:00
Stephen Toub 963536c7b4 Change string.Compare(..., Ordinal{IgnoreCase}) == 0 to use Equals (#30620) 2018-06-23 07:22:18 -07:00
dotnet bot f41fe4f324 Moved EventWaitHandle.cs to shared (dotnet/coreclr#18612) (#30621)
* Removed AccessControl Unused arguments

* moving common code to CreateEventCore and using constructor chaining

* Moving Functions to eventwaithandles.windows

* EventWaitHandle matched with corert

* eventwaithandle.windwos matched with corert

* Addding interop functions

* moved files to shared

* Minor changes

* fixing build for corert unix

* Removing Comment

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
2018-06-22 23:33:01 -07:00
Luqun Lou 585a9306ec Use public implementation WindowsRuntime ExceptionSupport (#30440) 2018-06-22 19:45:05 -07:00
Adeel Mujahid 4aaf685b42 Pass RID to crossgen (#30562) 2018-06-22 19:40:38 -07:00
Alexander Köplinger 69cf791e36 Fix race in TaskCancelWaitTestCases.TaskCancelWait1() (#30615)
When `CancelChildren` is enabled (currently only in the `TaskCancelWait1` test)
we're hitting a race in `TaskCancelWaitTest.CreateTask()`:

1. Let's assume Task A is processing `node`
2. Task A spawns a new Task B for processing `node_1`
3. Task B starts and signals the `_countdownEvent`
4. `RealRun()` on the main thread exits the wait on `_countdownEvent`
5. `RealRun()` calls `Verify()` which loops through all the nodes and calls `VerifyCancel()`
6. We get an assertion because `CancellationToken.IsCancellationRequested` is false
7. Task A continues and sets the CancellationToken, but it is already too late by this point

To fix this race we wait on the task in `RealRun()` before proceeding to
the verification step.

This uncovered another issue:
Since `_countdownEvent` is accessed by multiple threads we have another
race between checking `_countdownEvent.IsSet` and `_countdownEvent.Signal()`.
This caused a `System.InvalidOperationException: Invalid attempt made to decrement the event's count below zero.`
Fixed it by locking access to the `_countdownEvent`.

Fixes https://github.com/dotnet/corefx/issues/20457
Fixes https://github.com/mono/mono/issues/6920
2018-06-22 21:56:53 -04:00