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
AgeCommit message (Collapse)Author
2017-10-27Make corefx exceptions serializable and add typeforwards (#24427)Viktor Hofer
* Add serializable attribute and typeforward and adding serialization impl * Expose ZLibException in impl assembly * Remove deserialization negative tests * Adding tests for exceptions * Adding SqlError data to base exception data table * System Data Facade * Add netfx471 blob diffs for Hashtable and ListDictionary * Build Microsoft.NETCore.App.deps.json after manual shims * Disable currently failing uap/uapaot tests because of shim assembly load errors
2017-10-19Merge pull request #24389 from Priya91/tlsextensionLakshmi Priya Sekar
Add ALPN support for SslStream.
2017-10-11Fix hang when SmtpClient.SendAsync fails to connect (#24536)Stephen Toub
If Send{Mail}Async fails to connect, an exception gets thrown/eaten, and the completion callback is never invoked / the returned Task is never completed.
2017-10-11Fix null ref exception when Dispose'ing SmtpClient (#24521)Stephen Toub
If SmtpClient is disposed after a failed send and no successful sends, it attempts to call Close on a null NetworkStream field.
2017-10-07Add more testcases.Lakshmi Priya Sekar
2017-10-07OSX implementation for alpn.Lakshmi Priya Sekar
2017-08-04BufferBuilder: Avoid unnecessary char[] and byte[] allocations (#22943)Justin Van Patten
Use `GetByteCount` and the overload of `GetBytes` that avoids the unnecessary `char[]` and `byte[]` allocations.
2017-07-22Update UAP pinvoke baselines (#22516)Paulo Janotti
* readding 1 API and updating buildtools * removing more APIs that were added
2017-07-04Removing unused UAP code and SmtpClient HostName workaround (#21670)Caesar Chen
2017-07-03Move AssertExtensions to Corefx.Private.TestUtilities (#21799)Hugh Bellamy
* Move AssertExtensions to Corefx.Private.TestUtilities * Update csprojs * Fix Linq.Expressions uapaot build
2017-06-30Tracking ETW UAP test failures against a single issue. Global mutex is not ↵Cristian Pop
supported in UAP. (#21732) * Removing Global mutex bug ID. Tracking ETW UAP test failures against a single issue. * Disabling EKU tests for UAP.
2017-06-25Re-enable some System.Net.Mail tests for UAPAOTDavid Shulman
With the recent implementation of System.Net.NetworkInformation for UWP, we can re-enable some tests. Also, the latest plan of record for serialization support in .NET Core is such that serializing these exception types are not supported. So, removing the test for that. FYI, the actual implementation of the serialization overrides in the SmtpException class are already no-ops in the code and simply call the base method. Fixes #19604 Fixes #19585
2017-06-23Convert most Assert.Throws<ArgumentException> without param name to ↵Hugh Bellamy
AssertExtensions (#21455) * Registry * Collections * ComponentModel * Configuration * Data * Globalization * Drawing * Diagnostics * IO * Linq * Add System.Net param names in tests * Move ArgumentExceptions in System.Private.Xml to AssertExtensions * Add System.Reflection.* ArgumentException param names * Add param names for System.Runtime* ArgumentExceptions * Add ArgumentException param names to System.Security.* * Add ArgumentException param names to System.Text.* * Add param names to ArgumentExceptions in misc projects * Add System.Threading.* ArgumentException param names * Fix missing files * Fixes for unix and netfx * Fix more failures and revert a IdnaConformance tests to avoid merge conflicts with #21463
2017-06-15Update Pinvoke baselines to match latest modernapis.xml entries (#21028)Dan Moseley
* Pinvoke updates * S.S.AccessControl * csp * Networking * Add issues * comment * Remove memory mapped file baseline * Fix RtlGetVersion * Remove unnecsesary baseline * Remove dead condition * Add comments * Update buildtools * Add GetKeyState to OneCore baseline * baselines * Fix violation in RI
2017-06-14Enable UAP Remote Execution for all tests (#21014)Tarek Mahmoud Sayed
This change to enable remote execution of all corefx tests in UAP. Because the remote execution code for UAP is using WinRT APIs and to avoid forcing adding UAP configuration to all test projects, we factor the remote execution code into its own test library (called TestHelper) which is cross compiled.
2017-06-13Disable tests in System.Net.Mail for UAPDavid Shulman
Disable tests related to RemoteExecutor which still doesn't work in UAP. This PR results in a clean UAP test run for System.Net.Mail. Contributes to #20131
2017-06-09Fix #19909 and reactivate tests on ILC. (#20830)Atsushi Kanamori
This may cause new failures on ILC runs because of new tests running. I did not check the state of every test.
2017-06-02Final set of ILC test failure "fixes"...Atsushi Kanamori
...until the next one...
2017-05-25ISerializable cleanup (#20220)Morgan Brown
* Changes to throw PlatformNotSupportedException from ISerializable.GetObjectData and serialization constructors on non-serializable types. Also removes private serialization constructors and some unneeded code that was used to support serializing non-serializable types. A few tests testing GetObjectData implementations are also removed. * Address code review comments. * Change exceptions' GetObjectData to just call base rather than throw. This makes them behave consistently with exceptions that didn't override GetObjectData.
2017-05-23Test attributes cleanup for Uap now that Uap flag includes UapAot (#20108)Santiago Fernandez Madero
* Update xunit extensions to unify TargetFrameworkMonikers.Uap to include UapAot
2017-05-17Merge pull request #19842 from ericstj/incrementVersionsGaurav Khanna
Increment versions post 2.0
2017-05-17Scale back [Serializable] CoreFX types (#19742)Morgan Brown
* Remove SerializableAttribute from many CoreFX types that will not be serializable. * Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native. * Remove unneeded pragmas * Update based on review comments
2017-05-17Increment versions post 2.0Eric St. John
2017-05-15Fix a bunch of random test failures on ILC (#19758)Atsushi Kanamori
* Fix a bunch of random test failures on ILC - PlatformDetection - GetEnvironmentVariable() still returns null on ILC - but Environment.GetSpecialFolder() is fully functional (and it's a preferred idiom.) - Other stuff is self-explanatory. * Fix casing. Add comment.
2017-05-10Fix another 4 System.Net.Mail.Functional.Tests failures on ILC (#19608)Atsushi Kanamori
2017-05-10Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC (#19602)Atsushi Kanamori
* Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC SmtpClient class is trying to fill in the "client host name" checkbox for the HELO message. By default, it tries to use the local host name but this is PNS on .Net Native. This one hiccup makes SmtpClient unusable. Since the client host name is apparently discretionary anyway, fall back to LocalHost if the actual local host is PNS (or NS - why not) as we do in the garbled-Unicode case. * Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC SmtpClient class is trying to fill in the "client host name" checkbox for the HELO message. By default, it tries to use the local host name but this is PNS on .Net Native. This one hiccup makes SmtpClient unusable. Since the client host name is apparently discretionary anyway, fall back to LocalHost if the actual local host is PNS (or NS - why not) as we do in the garbled-Unicode case. * Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC SmtpClient class is trying to fill in the "client host name" checkbox for the HELO message. By default, it tries to use the local host name but this is PNS on .Net Native. This one hiccup makes SmtpClient unusable. Since the client host name is apparently discretionary anyway, fall back to LocalHost if the actual local host is PNS (or NS - why not) as we do in the garbled-Unicode case.
2017-05-09Cleaning up dead code in System.Net.MailFrédéric Ringenbach
Reverting back file to avoid tabs instead of spaces.
2017-05-09Cleaning up dead code in System.Net.MailFrédéric Ringenbach
Fixing files after build and tests.
2017-05-09Cleaning dead code in System.Net.MailFrédéric Ringenbach
Cleaning dead code. Code removed in common was done so after a grep. Relative to issue #17905
2017-04-18Bulk updates of tests for AssertExtensions (#18491)Daniel Harvey
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.
2017-04-10Updates how we define which key an assembly usesWes Haggard
Now instead of Use*Key a project can instead define the assembly key in the project (genreally the common dir.pops for a project) using the AssemblyKey property. The accepted values are Open, ECMA, MSFT, Test. This change allows for a repo to set the default key they want to use for projects. In corefx we have switched the default to use the Open key instead of the old BuildTools default of MSFT key. As part of this update we are explicitly setting the AssemblyKey in all the library projects (although it is really only necessary for projects that aren't the default). Also with this change we are updating all the new libraries that have not yet shipped stable (compared to our 1.1 release) and making them use the Open key. Which means that for prerelease dependencies there might be some binary breaking changes to consume. The following libraries ahven't shipped so there key is being changed from MSFT to Open: Microsoft.XmlSerializer.Generator System.CodeDom System.Configuration.ConfigurationManager System.Data.Odbc System.DirectoryServices System.DirectoryServices.AccountManagement System.DirectoryServices.Protocols System.IO.Ports System.Json System.Memory System.Net.HttpListener System.Net.Mail System.Net.ServicePoint System.Net.WebClient System.Net.WebProxy System.Private.Xml System.Private.Xml.Linq System.Security.Cryptography.Xml System.Security.Permissions System.Transactions.Local System.Web.HttpUtility
2017-04-04Refresh VS project configurations.Wes Haggard
2017-04-04Update project configurations to account for .NET Standard changesWes Haggard
Fixed various configurations: ValueTuple and RuntimeInformation are not part of netstandard and so they cannot not have a netstandard configuration any longer. They are now platform specific configurations. No ref configurations.props should have an OS as it blocks the bin-placing of the refs in some scenarios so cleaned out some of the OS configurations (probably need to do a full pass). Update resolveContract logic to probe for the ref in the refpath before doing a project reference and only falling back to project reference if it is truely needed.
2017-03-28Expose and use static ExceptionDispatchInfo.Throw (#17570)Stephen Toub
2017-03-22Merge pull request #17351 from davidsh/fixdesktoptests2David Shulman
Skip more NetEventSource logging tests on .NET Framework
2017-03-22Skip more NetEventSource logging tests on .NET FrameworkDavid Shulman
Similar to PR #17348. The 'NetEventSource' logging only works on .NET Core libraries. So, we need to skip these tests when running on full .NET Framework.
2017-03-21Remove System.Security.Permissions dependency from System.Net.MailWes Haggard
2017-03-16Fix TFM exclusions for UAP (#17192)Dan Moseley
2017-03-11Adding System.Net.HttpListener uapaot config (#16982)Jose Perez Rodriguez
Adding System.Net.HttpListener uapaot config
2017-03-10Adding System.Net.Mail to the uap and uapaot closures (#16938)Jose Perez Rodriguez
Adding System.Net.Mail to the uap and uapaot closures
2017-03-10Change tests that use async void to async TaskSteve Harter
2017-03-09Audit System.Net throws for losing stack tracesStephen Toub
There are a bunch of places throughout the System.Net libraries where exceptions are captured and later thrown, using `throw e;`. This overwrites their stack trace and bucket information, making it harder to diagnose problems when they occur. Over time we've chipped away at these, so there are many fewer now than there used to be, but some still remain. I've audited all of the System.Net libs, and fixed all the locations I found where this pattern was being employed, replacing them with usage of ExceptionDispatchInfo to avoid losing the call stack data. There are still some `throw e`s I left, but those were typically of a form where it was obvious no data would be lost, e.g. the exception was just instantiated a few lines earlier. There are likely also a few straggling cases, e.g. where `throw SomeFunction()` is used and `SomeFunction()` returns a cached exception instance, but we can address those on a case-by-case basis as we find them.
2017-02-25Activate/Deactivate tests according to issue status.Lakshmi Priya Sekar
2017-02-18Remove dead string resources (#16284)Dan Moseley
2017-02-17Fix several typos (#16264)Jon Hanna
* Fix several typos coment → comment rangecheck → range check testcase → test case deffer → defer everytime → every time whitespaces → whitespace (whitespace is uncountable) white space → whitespace white spaces → whitespace the the → the a → a nametest → name test scaned → scanned and and → and undecision → indecision are no whitespace → is no whitespace Whidbey casing Everett casing unkown → unknown messsage → message mesage → message mesasage → message publically → publicly (publically is attested but questionable). exceptionto → exception to mutatable → mutable implemention → implementation hadnt → hadn't couldnt → couldn't wouldnt → wouldn't wont → won't isntead → instead preocessor → processor particural → particular interations → iterations enterying → entering stoppped → stopped stoped → stopped verication → verification compuatation → computation revisisted → revisited partioner → partitioner lock'ed → locked table'd → table would hashtable'ed → hashtabled (still coining, but tabled is analogous) intialize → initialize calcuate → calculate perfom → perform performr → perform matthing → matching corect → correct thorw → throw supress → suppress reqeust → request mutliple → multiple ot → to trival → trivial upto → up to specfices → specifies patttern → pattern descrepancy → discrepancy explict → explicit implict → implicit usign → using non-sensical → nonsensical contination → continuation producs → products childred → children parametr → parameter approriate → appropriate insted → instead expection → exception successsfully → successfully funtion → function unqiue → unique apparant → apparent expception → exception conatined → contained apssed → passed propogate → propagate cutoms → custom currrent → current curent → current concurent → concurrent coplted → completed unexcepted → Unexpected (where the latter seems more appropriate) to to → to abd → and refence → reference particiant → participant cuurrent → current extratc → extract cparticipant → participant ehich → which choosen → chosen mske → make alread → already aquire → acquire droppping → dropping intial → initial tru → true aprticipant → participant excption → exception sempahore → semaphore fileds → fields threashold → threshold duting → during didnt → didn't atribute → attribute serliazation → serialization localy → locally channge → change prperties → properties attrbute → attribute sentinal → sentinel shoukd → should existant → existent commnent → comment expeted → expected propert → property commnet → comment datat → data ther → the mach → match inhertiance → inheritance convience → convenience completley → completely otheriwse → otherwise actuall → actual inefficent → inefficient defalut → default comparsion → comparison charcters → characters postion → position aleady → already charater → character incosistent → inconsistent seperate → separate veify → verify currentlly → currently corect → correct betwwen → between omiting → omitting readr → reader compae → compare allways → always thown → thrown with with → with usecase → use case avare → aware lexem → lexeme grammer → grammar oposite → opposite overrided → overridden everithig → everything chages → changes memeber → member proerties → properties identifer → identifier doesnot → does not deriaved → derived varialble → variable * defered -> deferred * Revert changes within clrcompression. * Revert underreach → under-reach * Fix casing broken while fixing spelling. * Use type name instead of "Diagnostic sources"
2017-02-16Remove all .builds files under pkg/ref/src/tests library foldersWes Haggard
2017-02-10Marking code as unchecked (pt 5)Dennis "D.C." Dietrich
Marking code that may intentionally lead to over or underflows with unchecked in preparation of turning on CheckForOverflowUnderflow for all projects (issue #3140)
2017-02-09Enable tests to compile with netstandard (#15956)Tarek Mahmoud Sayed
* Enable tests to compile with netstandard Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile. This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration The changes include some fixes to compile teh sources too. * Fix System.Collections.Immutable * update src configuration * remove netstandard17 defines * Split netcoreapp code to its own files * Remove 17 from the test class name
2017-02-04Update Solution files to use windows path slashes.Wes Haggard
2017-02-03Sync BuildConfiguration with project PropertyGroupsEric St. John