Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-08-08Add DiaSymReader to list of included packages in test-runtime depproj. (#23028)Eric Mellino
* Add DiaSymReader to list of included packages in test-runtime depproj. * Exclude DiaSymReader from the references of our manual shims.
2017-08-08Validate arguments to Bind in Microsoft.CSharp (#22768)Jon Hanna
Fixes #22767
2017-08-08Fix several typos (#23048)John Doe
2017-08-08Merge pull request #22976 from ianhays/fsw_filterIan Hays
Add FSW file/directory event filtering to Linux
2017-08-08Add Span-based overloads to System.Net.Sockets (#22988)Stephen Toub
* Add Span-based overloads to System.Net.Sockets - Socket.Receive/Send - NetworkStream.Read.Write * Address PR feedback
2017-08-08Unify implementations for System.Drawing.Pen and related types. (#23029)Eric Mellino
2017-08-08Remove unnecessary GetTypeInfo from Microsoft.CSharp (#23030)Jon Hanna
While ImplementedInterfaces can be more efficient than GetInterfaces on WinRT (see https://github.com/dotnet/corefx/issues/16305#issuecomment-280969609) the subsequent use of ToArray undoes that, and makes it an efficiency lose on other platforms, so replace with GetInterfaces. This is the last legacy of the reduced System.Type API surface in the assembly, so closes #8577
2017-08-08Test that PNSE is thrown deserialising Microsoft.CSharp exceptions (#23031)Jon Hanna
2017-08-08Add ActiveIssue test for #7527 (#23032)Jon Hanna
2017-08-08Add FSW tests for two set NotifyFiltersIan Hays
2017-08-08Merge pull request #23026 from bartonjs/x509chain_unnecessary_networkJeremy Barton
Prevent unnecessary AIA fetches of trusted roots
2017-08-08Merge pull request #23025 from vancem/EventCounterTestDiag.8-7-17Vance Morrison
Add diagnostics to help understand issue
2017-08-08Add HttpListenerWebSocketContext.WebSocket.Receive/Close throw ↵Caesar Chen
ObjectDisposedException after disposal in managed implementation (#22977) * close 22057 * delete used contexthelper in test class * fix #20395 * revert a change in HttpListener test project * change to preferred pattern for ILC
2017-08-08Add diagnostics to help understand issueVance Morrison
https://github.com/dotnet/corefx/issues/22791
2017-08-07Merge pull request #23016 from rmkerr/rmkerr-22551Max Kerr
Send secure cookies with WSS upgrade request.
2017-08-07Merge pull request #23017 from joperezr/FixUapaotJose Perez Rodriguez
Reverting version of TestILC + fixes on Globalization tests
2017-08-07Reverting version of TestILC + fixes on Globalization testsJose Perez Rodriguez
2017-08-07Merge pull request #22967 from bartonjs/linux_selfsigned_sigcheckJeremy Barton
Make OpenSSL verify self-issued signature integrity to match Windows
2017-08-07Add test for WSS handshake secure cookies, modify cookiecontainer behavior ↵Max Kerr
to reflect that WSS is a secure protocol.
2017-08-06ApiCompat: Add System.Drawing.BufferedGraphicsManager to intentional api ↵Viktor Hofer
changes (#22993) * Add System.Drawing.BufferedGraphicsManager to intentional api changes * Update baselines
2017-08-05Update UAP test regarding 'TRACE' method (#22973)David Shulman
* Address delayed feedback Address delayed feedback from PR #22702 and release/uwp6.0 port PR #22759 * Remove active issue on Uap TRACE test Uap platform doesn't support the 'TRACE' verb. After discussion with Wininet team, the method is explicitly not allowed. So, removing the activeissue and just skipping that part of the test. Fixes #22161
2017-08-05Merge pull request #22978 from ViktorHofer/RegionInfoDisplayNameViktor Hofer
Set CurrentUICulture before retrieving DisplayName in RegionInfo and isolate static thread changes
2017-08-05Clean up path validation related issues in System.Drawing.Common (#22941)Eric Mellino
* Allow different exception types between netfx and netcoreapp in a Metafile test. * Fix two ImageAttributesTests. * These tests were failing due to a missing call to Path.GetFullPath (effectively). * I have added the call to Path.GetFullPath back into the implementation assembly. * The second test has been removed because it relied on Path.GetFullPath throwing a PathTooLongException, which is no longer the case in .NET Core. * Add missing call to Path.GetFullPath in Metafile constructor. Also, fix a test related to this issue. * Add more missing calls to Path.GetFullPath in Metafile. Fix test validation for these paths. * Add back PathTooLongException tests.
2017-08-05Merge pull request #22706 from ViktorHofer/UapaotSerializationViktor Hofer
Reenable cloning of serializable object for uapaot
2017-08-05Set CurrentUICulture before retrieving DisplayName in RegionInfo and isolate ↵Viktor Hofer
static thread changes
2017-08-05Merge pull request #22920 from weshaggard/ServiceBaseWes Haggard
Add ServiceBase
2017-08-05Simplify symbol factory in Microsoft.CSharp down to a single type. (#22760)Jon Hanna
* Remove MiscSymFactory, moving functionality into SymFactory No benefit to the split. * Remove SymFactoryBase Only has one derived type, so move its functionality into that. * Rename some locals and members local to SymFactory
2017-08-05Tidy some nullable-handling in Microsoft.CSharp (#22762)Jon Hanna
* Remove paths for Nullable<T> not having Value property or ctor * Fix NullableType.GetAts calls Remove unused parameter, move all implementation into check for memoised result, and remove paths for it returning null, which can't happen. * Remove unnecessary looping to cast T??
2017-08-05Remove uap condition as we don't have a configuration for itViktor Hofer
2017-08-05Add FSW file/directory event filtering to LinuxIan Hays
Because we are using inotify as the underlying implemenation for FileSystemWatcher on Linux, we can not only raise events for files or only raise events for directories, so we have to allow events for both to be raised regardless of NotifyFilters. However, inotify does tell us that if an event occurred on a directory or on a file after the event has been raised. Since this is after filtering has already been done, we forward that event regardless of the NotifyFilters. This commit passes NotifyFilters to the RunningInstance that forwards the events and adds in some manual filtering after the fact. It isn't quite the same as filtering through the native call, but it does bring us closer to the Windows behavior.
2017-08-04Only have netstandard ref for System.ServiceProcess.ServiceControllerWes Haggard
We only need a netsteandard ref that can be shared between netcoreapp and netstandard.
2017-08-04Remove SkipOnFramework UAP on the ServiceController testsWes Haggard
We no longer need to skip because the tests are now netcoreapp and netfx specific so we won't try to run them on uap now.
2017-08-04Remove DoNotOptimize and DoNotInline settings from ↵Viktor Hofer
System.Collections.Tests.rd.xml
2017-08-04Prefer BinaryFormatter over Dynamic RequiredViktor Hofer
2017-08-04Fixing System.Collections serialization uapaot testsViktor Hofer
2017-08-04Minimum runtime directives necessaryViktor Hofer
2017-08-04Remove unused codeViktor Hofer
2017-08-04Fixing System.Collections.Specialized serialization tests in uapaot configViktor Hofer
2017-08-04Fixing System.Net.Primitives tests and putting .rd.xml under resourcesViktor Hofer
2017-08-04Add rd.xml for System.Net.PrimitivesViktor Hofer
2017-08-04Reenable additional testsViktor Hofer
2017-08-04Reenable cloning of serializable object for uapaotViktor Hofer
2017-08-04Make System.ServiceProcess.ServiceController netcoreapp specificWes Haggard
We have always had a "not supported" netstandard fallback but we put the real implementation in a netstandard windows build but that is also a little bit of a lie because we don't support it on things like UWP. So instead the real implementation should be under netcoreapp windows which is the only one we really support.
2017-08-04IsPathFullyQualified() Tests, public API (#22795)Stephanie Niu
* tests for ispathfullyqualified * updated tests * moved isfullyqualified tests to net core app-specific file
2017-08-04Adding System.Drawing.Printing PrintDocument tests. (#22868)Kostadin Vasilev
* Adding System.Drawing.Printing PrintDocument tests. (#20711) * Disabling some tests on Unix and making some Facts/Theories conditional. * Fix tests conditional attributes. * Fix tests conditional attributes. * Adding missed test attributes. * Fixing test attributes. * Changing Assertion in AssertDefaultPageSettings() to expect PaperKind Letter. And skipping tests that fail on Unix. * Updating PageSettings.PrintableArea assertions. * Moving the check for PrinterSettings.InstalledPrinters.Count == 0 to Helpers.cs and updating test attributes.
2017-08-04Make OpenSSL verify self-issued signature integrity to match WindowsJeremy Barton
Windows checks signatures on self-issued certificates (to prove they are self-signed), but OpenSSL doesn't by default, opting to save on the CPU. Before this change the behavior was: * Windows: NotSignatureValid * macOS: UntrustedRoot * Linux: UntrustedRoot With this change it becomes * Windows: NotSignatureValid * macOS: UntrustedRoot * Linux: NotSignatureValid | UntrustedRoot While additional work could be done to not report UntrustedRoot for Linux chains, it doesn't seem as worthwhile. macOS will continue not reporting NotSignatureValid, because there's no API to allow changing the behavior.
2017-08-04Remove redundancy from ExprZeroInit in MicrosoftCSharp (#22756)Jon Hanna
* Remove ExprZeroInit.IsConstructor Only ever false * Remove ExprZeroInit.OptionalConstructorCall Only ever null * Remove ExprZeroInit.OptionalArgument Only ever null. * Don't create ExprClass for CreateZeroInit only to discard it. Create only if it's used. * Remove unreachable branch. We're in a branch for type.fundType() being FT_PTR and comparing that with something that will always be FT_REF, so that branch is unreachable. * Remove error branch in CreateZeroInit Could only happen if called with a type like void that doesn't have a fundamental type, but no callsite attempts this. Add appropriate assertion in this regard.
2017-08-04Refactor Microsoft.CSharp's error handling. (#22748)Jon Hanna
* Use ctor in CError instead of Initialize method. * Remove CErrorFactory No state or alternative implementation to give factory pattern an advantage. * Replace CController SubmitError with instance CError.Submit method. Has same effect as sole implementation of SubmitError. * Remove CController and RuntimeBinderController No longer doing anything. * Remove CError Just creates a string for RuntimeBinderException, so create that string directly. * Remove IErrorSink Looser coupling offered is not taken advantage of. TIghter coupling is simpler, just have ErrorHandling do it. * Simplify SymbolLoader ctor. More self-sufficient; doesn't need parameters. * Delete LangCompiler Only functionality is initialising SymbolLoader; can be done in base class. * Remove CSemanticChecker.GetSymbolLoader Just call the SymbolLoader property it calls into. * Replace CSemanticChecker.GetErrorContext with call to property it calls into. * Remove ErrArgRef Differs from ErrArg in requesting that error location be included, but dynamic binder can never do that. * Remove AddRelatedSymLoc and AddRelatedTypeLoc Both are no-ops * Remove _swtWrongCount and stop tracking such symbols. Never made use of. * Make Error() only public method on ErrorHandling No longer anything attempted with CParameterizedError between creation and submission. * Simplify ErrorHandling.Error Remove CParameterisedError which is just a wrapper on the code and array of arguments passed, and create the error to throw immediately. * Localise knowledge of UserStringBuilder to ErrorHandling. * Have ErrorHandling.Error return rather than throw an exception. Move the throw up to the caller, making it clear that no code can follow it. In the case of a method that would throw for every path, similarly have it return the exception, so it gets thrown at its caller in turn. * Remove CreateUserLogOpError No callsites. * Remove MemberGroup.SetInaccessibleBit() No callsites * Remove MemberLookup.SwtInaccessible No call sites. * Remove canConvertInstanceParamForExtension No callsites. * Remove path on VerifyNamedArgumentsAfterFixed returning false As it always returns true. * Have VerifyNamedArgumentsAfterFixed return value instead of using out parameter * Remove BindingContext.ReportUnsafeErrors Only ever set to false in a path within ExpressionBinder.checkUnsafe that will always throw first if it is true, and hence never false. * Remove ExpressionBinder.ReportTypeArgsNotAllowedError Move into only caller, which has other code that is similar and gains little from the spit. * TryReportLvalueFailure as void Can only return false, so return type is meaningless. * Remove ErrorCodes from secondary errors These codes would only be used after another error, which for the dynamic binder means not at all, since the error immediately throws. Now they are unreachable, so remove. Contributes to #22470
2017-08-04Merge pull request #22945 from joperezr/AddLibrariesToUWPMPJose Perez Rodriguez
Adding few libraries to UWP Metapackage
2017-08-04Make ManagedTests.DynamicCSharp…regclass029 test assert finalization (#22914)Jon Hanna
#5677 fixed a race in this test that was causing it to sometimes fail by finalizing too soon, but also moved the assertion of finalization into the finalizer, so it would only assert that the finalizer had run if the finalizer had run. Move the assertion back to the point where the finalizer should be know to have run, but not in the finalizer itself. (That PR still fixed the actual race that stopped success being detected).