1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00
Commit graph

28126 commits

Author SHA1 Message Date
cmpt376edits
72988013a6 Improve wording in coding style documentation (dotnet/corefx#30833)
Commit migrated from 20c344cb34
2018-07-04 12:52:39 -07:00
dotnet-maestro-bot
55d1765dc6 Update CoreFx, CoreSetup to preview1-26704-05, preview1-26704-01, respectively (dotnet/corefx#30835)
Commit migrated from e7b1711fc3
2018-07-04 11:12:06 -05:00
dotnet-maestro-bot
470ecbe532 Update BuildTools, CoreClr, CoreFx, ProjectNTfs, ProjectNTfsTestILC to preview1-03004-01, preview1-26704-01, preview1-26704-01, beta-26704-00, beta-26704-00, respectively (dotnet/corefx#30824)
Commit migrated from 77e610a1f3
2018-07-04 07:32:02 -04:00
Anirudh Agnihotry
9bd761e0a5 Lazy Initialization of Thread.CurrentPrincipal and implementing GetThreadPrincipal (dotnet/corefx#30765)
Commit migrated from 6fb57a4bfe
2018-07-04 11:18:31 +02:00
Jeremy Kuhne
1052b59792 Replace custom synchronized text writer (dotnet/corefx#30796)
TextWriter.Synchronized does this and isn't missing APIs, which can cause derived methods to not be called. Test added.

Commit migrated from 0b868a47b4
2018-07-03 23:36:54 -04:00
Stephen Toub
4d3212d7c3 Add more DateTime ParseExact tests for "r" (dotnet/corefx#30818)
Commit migrated from a02e71d274
2018-07-03 17:25:16 -07:00
Maryam Ariyan
6d9d4c0357 Updating test to assert milisecond granularity for (dotnet/corefx#30763)
- non any linux or
- OSX non-HFS driver formats

Fixes dotnet/corefx#30472

Commit migrated from a399e51941
2018-07-03 15:54:48 -07:00
Luqun Lou
61431f8ea6 Use public implementation CultureDataSupport (dotnet/corefx#30739)
Commit migrated from 38b71a3a1d
2018-07-03 15:41:37 -07:00
Jose Perez Rodriguez
48d704550d Configuration changes so that System.Reflection.Emit may compile against netstandard2.0 (dotnet/corefx#30741)
* Configuration changes so that System.Reflection.Emit may compile against
netstandard2.0

* Adding NS2.0 config for System.Reflection.Emit.Lightweight

* Fixing netfx vertical

* Addressing PR Feedback

* Fixing mscorlib facade generation now that there are a few type
conflicts

* Add back Ref.Emit packages

These packages all needed the following workarounds:
1. Matching not-supported implementation assemblies for netstandard1.x
2. Not support implementation for AOT frameworks
3. Ensure we don't add API to old frameworks (eg: UAP10.0.16299, desktop) or frameworks compatible with those (netstandard2).


Commit migrated from 1e72f59677
2018-07-03 14:32:50 -07:00
Tomas Weinfurt
515f8f7eb0 use separate kevent() calls on FreeBSD for read and write event notifications. (dotnet/corefx#30688)
* use separate kevent() calls on FreeBSD for read and write events

* add reference to Issue: dotnet/corefx#30698


Commit migrated from a04ad96f9c
2018-07-03 14:25:23 -07:00
Viktor Hofer
d7c3345756 Fix flacky RegistrationBuilder test
Commit migrated from 465e7c15bd
2018-07-03 23:00:14 +02:00
Eric Erhardt
b5dd9b2ea8 Moving sign.builds to run on full .NET Framework. (dotnet/corefx#30797)
* Moving sign.builds to run on full .NET Framework.

MicroBuild signing doesn't work when MSBuild is running on .NET Core. So move the signing piece to use MSBuild on full framework.

* Flow SignType property through to sign.builds.


Commit migrated from b9e62080ed
2018-07-03 15:50:46 -05:00
Stephen Toub
9feab34ba2 Fix SocketAsyncEventArgs' handling of ExecutionContext (dotnet/corefx#30712)
SocketAsyncEventArgs has a few issues with ExecutionContext, presumably stemming from the fact that capturing ExecutionContext in .NET Framework is not a cheap operation.  As a result, when this code was written, it was optimized for avoiding calls to ExecutionContext.Capture.  The SAEA tries to hold onto a captured ExecutionContext for as long as possible, only re-capturing when either the SAEA is used with a different socket instance or when an event handler is changed.  That has several problems, though.  First, it largely violates the purpose of ExecutionContext, which is to flow information from the point where the async operation begins to the continuation/callback, but if the context is only being captured when the Socket or handler is changed, then the context isn't actually tied to the location where the async operation begins, and that means that data like that in an AsyncLocal doesn't properly flow across the async point.  Second, it means that the SocketAsyncEventArgs (the whole purpose of which is to cache it) can end up keeping state in an ExecutionContext alive well beyond when it should be kept alive, because the SocketAsyncEventArgs is holding onto the ExecutionContext instance until either the Socket or handler is changed.

This commit fixes this behavior.  Since ExecutionContext.Capture in .NET Core is relatively cheap (no allocation, primarily just a ThreadStatic access), we now just always capture the context when starting an operation, and then clear it out when completing the operation.

Commit migrated from 851a53bee2
2018-07-03 13:21:18 -04:00
Atsushi Kanamori
a677ea76a2 Add test to ensure FromBase64 bug doesn't regress. (dotnet/corefx#30814)
Convert.FromBase64() had a subtle bug where an illicit
second padding character at the end of the string caused
the decode to "succeed" by dropping the fifth to
last character.

We inadvertently fixed this bug while optimizing that
api in .NetCore 2.1. Adding test to document bug and
ensure we don't regress.

Details in https://github.com/dotnet/corefx/issues/30793

Commit migrated from f1065c7cf0
2018-07-03 13:20:24 -04:00
dotnet-maestro-bot
5cfde1b525 Update CoreClr, CoreSetup to preview1-26703-04, preview1-26703-01, respectively (dotnet/corefx#30808)
Commit migrated from d8ae2adab7
2018-07-03 11:08:48 -04:00
Dan Moseley
aa718e3def Minor test fixes for UAP runs (dotnet/corefx#30803)
* Fix BindHandle_DisposedSyncHandleAsHandle_ThrowsArgumentException on UAP

* Fix most of RangeAttributeTests


Commit migrated from 6ee8b75a00
2018-07-03 09:42:54 -04:00
dotnet-maestro-bot
1dc2cff85b Update CoreClr to preview1-26703-01 (dotnet/corefx#30800)
Commit migrated from 6e443922f3
2018-07-02 19:38:26 -07:00
Viktor Hofer
52f6a8506d Add System.ComponentModel.Composition.Registration
Update packageIndex


Commit migrated from 2e6994336b
2018-07-02 21:42:37 +02:00
Viktor Hofer
2e7b5dbccc Cleanup System.ComponentModel.Composition
Fix failing tests & remove noisy output loggings

Use common threadculture and remove unused files

Cleanup test codebase & delete unused files

Remove resource from turd assembly

Auto format documents


Commit migrated from 78bf9d7974
2018-07-02 21:42:37 +02:00
Eric Erhardt
e484db7797 Update the OptionalTooling to work on .NET Core MSBuild. (dotnet/corefx#30762)
* Update the OptionalTooling to work on .NET Core MSBuild.

The official build broke because I moved the Windows build on to .NET Core MSBuild. We have some OptionalTooling that only gets restored during the official build, and the current approach (using project.json) doesn't work on .NET Core MSBuild. So migrating the tooling to use normal MSBuild PackageReferences.

Fix dotnet/corefx#30758

* Respond to PR feedback.

Upper case each section of the package name in the MSBuild version property.


Commit migrated from 6cec67359b
2018-07-02 14:30:45 -05:00
dotnet-maestro-bot
9305cfbe04 Update BuildTools, CoreSetup to preview1-03002-01, preview1-26702-03, respectively (dotnet/corefx#30786)
Commit migrated from be96620915
2018-07-02 14:27:09 -05:00
Hugh Bellamy
4a784487dc Add parameter name where missing
Fixes `SyndicationContentTests.WriteTo_EmptyOrNullName_ThrowsArgumentException`

Fixes `ServiceElementExtensionTests.Ctor_EmptyOuterName_ThrowsArgumentException`


Commit migrated from 434da5cff9
2018-07-02 12:07:37 -07:00
Hugh Bellamy
84e0380287 Add Syndication tests
Commit migrated from b0edc960e8
2018-07-02 12:07:37 -07:00
Hugh Bellamy
aa871766b9 Cleanup Syndication tests
Commit migrated from e20e5173ac
2018-07-02 12:07:37 -07:00
dotnet-maestro-bot
3c33773015 Update CoreClr, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-26702-04, preview1-26702-01, beta-26702-00, beta-26702-00, respectively (dotnet/corefx#30778)
Commit migrated from e06a4fafe0
2018-07-02 10:23:03 -04:00
dotnet-maestro-bot
83201ef487 Update CoreClr, CoreSetup to preview1-26701-03, preview1-26701-01, respectively (dotnet/corefx#30773)
Commit migrated from 0256ac2cba
2018-07-01 15:10:15 -04:00
Tanner Gooding
1804bbac66 Fixing the names/parameter types for several Bmi1 HWIntrinsic methods
Commit migrated from 95b21631b4
2018-06-30 10:50:01 -07:00
dotnet-maestro-bot
ee29cc3bd1 Update CoreClr, CoreSetup to preview1-26630-03, preview1-26630-01, respectively
Commit migrated from 2f4141169c
2018-06-30 10:50:01 -07:00
dotnet-maestro-bot
473ba45dfe Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02929-01, preview1-26630-01, preview1-26628-03, preview1-26629-04, beta-26629-00, beta-26629-00, respectively (master) (dotnet/corefx#30766)
* Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02929-01, preview1-26630-01, preview1-26628-03, preview1-26629-04, beta-26629-00, beta-26629-00, respectively

* Use public implementation API RemoveEventHandler


Commit migrated from bcbf63568b
2018-06-29 23:00:13 -07:00
kasper3
5fe6bee2d0 Update brotli to v1.0.5 (dotnet/corefx#30751)
* Update brotli to v1.0.5

* Define BROTLI_SHARED_COMPILATION

* Set headers language to C

* Add brotli-version.txt


Commit migrated from b17387fd1e
2018-06-30 01:48:01 +02:00
William Godbe
8b83bf7b8f Delay console CPR timer once protocol has worked (dotnet/corefx#30674)
Getting the current cursor position involves writing a particular escape sequence to stdout and then reading/parsing the response.  In case the terminal doesn't support the sequence, we use `tcsetattr` to tell the terminal set set c_cc[MIN] to 0 and c_cc[VTIME] to 10; this makes it so that if no input is received within one second, we'll give up on reading the response.  If we didn't do this and no response came back, or if a faulty response came back such that we would otherwise just sit there waiting for something that would never come, the console could end up hanging until the user typed the expected sequence.

However, this timeout can cause problems when the terminal is separated by a slow network connection from the console logic, in which case the CPR can time out and the response can end up not only being echoed to the screen, but also interpreted as user input.

This change tracks whether we've ever received a successful CPR response. Until we have, it keeps using 0 for c_cc[MIN], i.e. the minimum number of chars we need to read, such that it relies on the timeout firing and we return when either we've read at least one byte or the timer fires.  Once we've successfully read a CPR response, for all future requests, we set c_cc[MIN] to 1.  With that, we'll still return once at least one byte is received, but the timer won't start until then, which helps avoid this issue with slow network connections.

Commit migrated from dd8449ded9
2018-06-29 13:19:55 -07:00
Steve Pfister
8756dddd17 Switched to as cast in Init because some caller do not have the file map at the start of the param list (refsrc System.Web) (dotnet/corefx#30548)
Commit migrated from 331f135dc4
2018-06-29 10:48:18 -07:00
Viktor Hofer
7201b57ec3 Regex: reduce allocation slightly, add tests, code cleanup, add parser comments (dotnet/corefx#30632)
* RegexParser & optionsstack ref

* Add test coverage for Group.Synchronized

* Adjust options mode test case

* Add inline comment '#' test branch

* Add comments

* Replace manual ToLower calls by Span.ToLower

* Make applicable fields readonly in parser

* Change to Assert to reduce an if check in one branch

* Code formatting

* Avoid string allocation when IgnoreCase set

Prefix patterns which are passed to RegexBoyerMoore are already
lowercased by the parser. Remove the redundant ToLower() call and assert
the patterns lowercase state

* Add surrogate pair positive & negative tests

* Add test cases for rtl anchor

Commit migrated from 2f259de0bc
2018-06-29 17:47:53 +02:00
Stephen Toub
4cfa3db255 Fix handle double-free in recently added WindowsIdentity test (dotnet/corefx#30731)
Commit migrated from e36eaec682
2018-06-28 19:38:29 -04:00
Maryam Ariyan
f00ab7c11d Fix compilation for deprecated API on macOS Mojave preview (dotnet/corefx#30716)
* Fix compilation for deprecated API on macOS Mojave preview

Fixes: dotnet/corefx#30599

* Fixing tests on macOS Mojave


Commit migrated from 5e46fe1592
2018-06-28 16:20:53 -07:00
Eric Erhardt
ce62cc1df7 Corefx Windows build on .NET Core MSBuild (dotnet/corefx#30675)
* Corefx Windows build on .NET Core MSBuild

Note:  Need to move to the 3.0 SDK because the DiaSymReader.Native shipped in .NET Core's shared framework is out of date.  See https://github.com/dotnet/core-setup/issues/4291.

* Workaround .NET Core MSBuild bug.

MSBuild on .NET Core doesn't support non-string resources. However, the ResourceManager tests need to test this scenario. Using the .NET Framework's resgen.exe during the build until the MSBuild bug is fixed.

* Update BuildTools to 2.2.0-preview1-02928-01


Commit migrated from 50ba6a21d8
2018-06-28 17:32:38 -05:00
Marco Rossignoli
7955437fe6 Override TextWriter.Write{Line}{Async} on StringWriter (dotnet/corefx#30667)
* add overloads

* fix overloads

* add tests

* move test to StringWriterTests.netcoreapp.cs

* revert StringWriterTests.cs updates

* address PR feedback

* fix test

* amend comments


Commit migrated from 57bb0fc7d6
2018-06-28 18:18:54 -04:00
Luqun Lou
862e09c609 Remove dependency for IBindableVector Type (dotnet/corefx#30710)
Commit migrated from 1ddcfb9eca
2018-06-28 13:07:54 -07:00
Luqun Lou
4b385c1124 Remove Is AppDomainUnloadedException check (dotnet/corefx#30736)
Commit migrated from 71bdfca061
2018-06-28 13:07:13 -07:00
Martin Baulig
76a4991a94 Move 'Internal.Cryptography.Pal.CertificateData' into its own file. (dotnet/corefx#30707)
This moves all the managed pieces of Internal/Cryptography/Pal.OSX/CertificatePal.cs
which are not platform-specific into a separate file to allow them to be used in Mono.

Commit migrated from a69961ae69
2018-06-28 12:28:24 -04:00
Atsushi Kanamori
c6fdf22f7a Bring back System.Reflection.ICustomTypeProvider (dotnet/corefx#30727)
Fix https://github.com/dotnet/corefx/issues/29958

Commit migrated from 66567f2181
2018-06-28 12:20:29 -04:00
Santiago Fernandez Madero
8278d08c7d Fix ImageFormat.ToString by using it's Guid when comparing to static ImageFormats (dotnet/corefx#30672)
* Fix ImageFormat.ToString by using it's Guid when comparing to static ImageFormats

* Add Image.RawFormat.ToString test

* Skip test on NETFX

* Address PR feedback


Commit migrated from aaaf87bbdd
2018-06-28 12:19:41 -04:00
Santiago Fernandez Madero
b74ff8c45b Fix FontFamily.Name performance by using span and calling the interop code with char pointer (dotnet/corefx#30705)
* Fix FontFamily.Name performance by using span and calling the interop
code with char pointer

* PR Feedback

* Remove added System.Memory reference


Commit migrated from 5d9a3ccdbd
2018-06-28 12:17:11 -04:00
Jiayi Yu
1d65627eb0 Add IsSerializerVersionMatch check (dotnet/corefx#30137)
* add IsSerializerVersionMatch check
* add eventsource for logging


Commit migrated from 1b270a4d56
2018-06-28 09:09:55 -07:00
Stephen Toub
d0fbcb7312 Merge pull request dotnet/corefx#30662 from dotnet-maestro-bot/master-UpdateDependencies
Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to preview1-02928-01, preview1-26628-01, preview1-26628-01, preview1-26627-03, beta-26627-00, beta-26627-00, respectively (master)

Commit migrated from 686eb156e2
2018-06-28 09:35:47 -04:00
Stephen Toub
06d112558e Disable Tizen leg on PRs (dotnet/corefx#30715)
It's failing with an updated coreclr:
https://github.com/dotnet/corefx/pull/30662#issuecomment-400695140

Commit migrated from 6315a412b5
2018-06-28 09:18:53 -04:00
Fei Peng
0aed54adc9 Fix Aes and Ssse3.Shuffle intrinsic APIs
Commit migrated from 89d9acd8f0
2018-06-28 08:13:46 -04:00
John Doe
f4b4b59a24 Typo (dotnet/corefx#30721)
* Abbrevation -> Abbreviation

* accesible -> accessible

* acordingly -> accordingly

* Acount -> Account

* Acroding -> According

* actaul -> actual

* Activty -> Activity

* actully -> actually

* Actvitiy -> Activity

* acutal -> actual


Commit migrated from f4ff3c8a7d
2018-06-28 04:49:55 -07:00
Gleb Balykov
d8c1f4cd3f Fix __Arch for armv7l tests (dotnet/corefx#30639)
Commit migrated from e36e0b3857
2018-06-27 23:12:24 -04:00
Luqun Lou
c056c1f775 Remove use of FrameworkEventSourceSupport from S.P.Corelib (dotnet/corefx#30297)
Commit migrated from 96eddf3953
2018-06-27 19:41:42 -07:00