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
2019-10-08Enable Color TypeConverter on mobile profiles (#356)Alexander Köplinger
We need to ifdef out the `Editor` attribute since System.Drawing.Design is not there on mobile.
2019-03-11Add TypeForwardedFrom attributes for XI/XM System.Drawing typesAlexander Köplinger
They're moved to System.Drawing.Common.dll in Mono 2019-02.
2019-03-01[monodroid] Forward some types that are being removed from Mono.Andoid.dllAlexis Christoforides
2018-11-14Mono specific changes for System.Drawing and System.Net (#183)Egor Bogatov
* Mono specific changes to System.Drawing and System.Net * remove redundant conditions * make HttpVersion non-static for mono
2018-04-02Merge remote-tracking branch 'upstream/release/2.1' into 2.1-mergeMarek Safar
2018-03-17Added DCS Tests for System.Drawing Types (#27082)Joshua Clark
* Added DCS Tests for System.Drawing Types * Revert "Added DCS Tests for System.Drawing Types" This reverts commit 20288796a73d2c90747297819344a53174144318. * Move Utils.cs to CommonTest project * add references to common helper method file and Utils.cs, add tests * update references to Utils.cs * fix indentation
2018-02-26Remove EnablePInvokeAnalyzer exceptions and replace with data files.Eric St. John
2018-01-23Merge remote-tracking branch 'upstream/release/2.1'Marek Safar
2018-01-14Cleanup CodeContracts annotations (#26324)Jan Kotas
2018-01-12Update references assemblies to include private fields for structsWes Haggard
Contributes to https://github.com/dotnet/corefx/issues/6185.
2017-11-27Merge remote-tracking branch 'upstream/master'Marek Safar
2017-11-03Update ref assemblies with readonly changesStephen Toub
2017-11-03Mark applicable structs as readonlyStephen Toub
2017-10-24Fix System.Data.Odbc configurations for support package and run ↵Santiago Fernandez Madero
UpdateVSConfigurations (#24752) * Fixed odbc configurations for compat package * Run UpdateVSConfigurations * Remove Default Configurations to help VS... comment from csproj's * Remove from System.Buffers as well
2017-08-31Merge remote-tracking branch 'upstream/master'Marek Safar
2017-08-11Moving PlatformDetection to Corefx.Private.TestUtilities assembly (#23109)Tarek Mahmoud Sayed
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities. I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed. * Fix Linux BB * Update the xunit package reference * Fix wrong condition on one of the tests * Update the ConditionalFact/Theory to use Type as a parameter
2017-08-07Merge remote-tracking branch 'upstream/master'Marek Safar
2017-08-01Add a netcoreapp2.0 configuration for System.Drawing.Common.Eric Mellino
2017-08-01Fix KnownColor issues (#22821)Jon Hanna
* Don't consider 0 a valid KnownColor Fixes #22819 * Remove KnownColor.First and KnownColor.Last Fixes #22820 * Remove filter in FillConstants for gettable properties. Always true, replace with assert. * Remove always-true check in GetHue() * Remove check in KnownColorToArgb and KnownColorToName already done in caller * Minor opt on min & max: Don't check something is < min if it is > max * Make KnownColor tests corefx-only. * Out-of-range KnownColor tests as theories
2017-08-01Remove unused serialization members (#22785)Viktor Hofer
* Remove unused serialization members * Remove unused S.Security.Permissions serialization test code * Remove duplicate test code. S.Drawing.Primitive type serialization is already throughly tested in S.Runtime.Serialization.Formatters.Tests * Remove ConcurrentBag unused serialization code * Removing unused Principal/Identity serialization code
2017-07-16Merge remote-tracking branch 'upstream/master'Alexander Köplinger
# Conflicts: # src/Microsoft.Win32.Primitives/src/System/ComponentModel/Win32Exception.cs # src/System.ComponentModel.TypeConverter/src/System/ComponentModel/BindingList.cs # src/System.DirectoryServices/src/System/DirectoryServices/DirectoryServicesCOMException.cs # src/System.ObjectModel/src/System/Collections/ObjectModel/ObservableCollection.cs # src/System.ObjectModel/src/System/Collections/ObjectModel/ReadOnlyObservableCollection.cs
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-07-03Merge remote-tracking branch 'upstream/master'Alexander Köplinger
# Conflicts: # src/System.DirectoryServices.Protocols/src/System/DirectoryServices/Protocols/common/DirectoryException.cs # src/System.Drawing.Common/src/System/Drawing/Printing/Margins.cs # src/System.Drawing.Common/src/System/Drawing/SystemBrushes.cs # src/System.Drawing.Primitives/src/System/Drawing/SizeF.cs # src/System.Net.WebHeaderCollection/tests/WebHeaderCollectionTest.cs # src/System.Runtime.CompilerServices.VisualC/src/System/Runtime/CompilerServices/Attributes.cs
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-23Fixing SizeF, CookieContainer, CookieCollection serialization between Core ↵Viktor Hofer
<--> Desktop and adding full binary mode tests (#21223) * Adding TypeForward to PathListComparer, CookieCollection member, full-mode tests, SizeF publickeytoken fix * Making FormatterAssemblyStyle explicit * Update blobs after CompareInfo culture field added to serialization payload * Added blob integrity check * Remove unnecessary operation which has no impact on netfx serialization * Putting pragma around the unused field... * Setting m_version value to include it in the serialization payload. Remove static versions for blob comparison * Update compare logic * update blobs * disable checking if blob has changed
2017-06-20Merge remote-tracking branch 'upstream/master'Marek Safar
2017-06-20Add Corefx.Private.Test.Utilities solution (#21254)Hugh Bellamy
* Add CoreFx.Private.TestUtilities solution file * Update VS configurations across corefx
2017-06-15Cross framework serialization finish up (#20870)Viktor Hofer
* wip: add stubs for custom isEqual * Updated blobs, small code refactoring, disabled CookieContainer test * Fixed netfx471 detection * add custom equals for graph with cycles * fix few more comparers * Merge * fix few more test cases * fix few more types, fix GetExtensionMethod to work with parameters with same type name but different generic params * finish tests (2 comparisons are commented out: search for TODO) * Adding TypeForward for DictionaryNode * Updating blobs * Update Cookie hashes, adding TypeForwards, removing unnecessary equality checks for CookieCollection * Reenabling SortedDictionary test * Update blobs * make cookie.Timestamp to roundtrip correctly * regenerate netfx and corefx blobs to account for Cookie.Timestamp change * make regex fix the blob for ObjectWithArray * fix ObjectWithArray netfx test failure * Replacing Dictionary with Hashtable for desktop serialization support * Update blobs * Fixing a lot of TypeForwards, adding another hashtable test, other fixes * Adding a few more TypeForwardedFrom attributes * Updating the coreclr version, disabling CookieContainer test * Update blobs * Disabling CompareInfo test --> waiting for coreclr * generate test cases * update blobs, comment out not working cases * fix null equality checks for new test cases and reenable them * PR feedback addressed * Fixed a typo... * Updating used coreclr version, enabling compareinfo test again
2017-06-14Update VS configurations in System.Drawings projects/solutions.Eric Mellino
2017-06-14Merge pull request #21007 from mellinoe/fix-colortranslatorEric Mellino
Consolidate KnownColorTable.cs into a single shared source file
2017-06-14Fix non-deterministic failure in ColorTests (#21005)Stephen Toub
If GetProperties returns items in different orders on multiple calls, it's possible for at least one of the tests to fail. Just cache the results.
2017-06-13Consolidate KnownColorTable.cs into a single shared source file.Eric Mellino
2017-06-09Remove TypeForwardedFrom as they are redundant for mono and wrong for mobile ↵Marek Safar
profiles
2017-06-09Merge remote-tracking branch 'upstream/master'Marek Safar
2017-06-08Manually build mscorlib shim to allow for internal type forwards & Adding ↵Wes Haggard
TypeForwardFrom to serialiazable types (#20697) * Manually build mscorlib shim to allow for internal type forwards * prepare tests for netfx->core deserialization changes * update netfx serialized data * change hash updater so it doesn't use hard-coded path * Code cleanup for binary serialization * Changed ListT to ArrayList in CookieCoolection for cross serialization * Merge * Changed observablecollection typeforwards that already had typeforwards on netfx * Adding ValueTuple blobs for netfx471 * Add internal types which need to be forwarded * Pull mscorlib shim in along with windows.winmd To build UAP refs and libs we need an mscorlib shim. So for the build we pull one in from packages and it will get overwritten when we build the final one as part of our shim builds * Removed not needed typeforward and added description * Remved typeforwards from nested types * Fixed generic type syntax * Updated coreclr version, ifdefed imports for netcoreapp * disable netfx serialization for now * Merge error fixed * Update blobs after coreclr changes * Adding ValueTuple manual typeforwards * Renamed serialization variables for SortedSet * Disabling TreeSet<,> serialization support (for now) * Exception internal data storage typeforward added * Fix type conflict for mscorlib shim in uapaot configuration * Split the runtime and ref mscorlib shim We need to build the ref mscorlib shim only against the reference assemblies so we still build in shims.proj. However the runtime mscorlib shim needs to have access to internals so we build it against the runtime implementation using a manual project.
2017-06-07Issue #18017 Operators * / for Size and SizeF (#20052)Mandar Sahasrabuddhe
* Issue #18017 Operators * / for Size and SizeF * Fixes as per review comments. * Review fixes, remove reciprocal mult for div * Review fixes. * Review fixes.
2017-06-06Correct versions for System.Drawing.Primitives and .Common.Eric Mellino
Also, use Open key for System.Drawing.Common.
2017-06-06Merge remote-tracking branch 'upstream/master'Marek Safar
2017-06-01Add support for System.Drawing on Windows.Eric Mellino
This change adds a new library, System.Drawing.Common, which supports a large subset of the System.Drawing API. It is a direct port of the code from the .NET Framework codebase. The code has been cleaned, formatted, and sanitized to match the code style of corefx, but is otherwise very similar to the .NET Framework version. There are a few key differences: * TypeConverter's have been omitted for now. If we want to add these to .NET Core, we should add them to the TypeConverter library, rather than System.Drawing.Common itself. * Some parts of the library do not respond to "System Events", because they are not yet implemented in .NET Core. This means that fonts and colors will not automatically update when the system defaults change, as they do in .NET Framework. The code is still there, but behind the feature flag "FEATURE_SYSTEM_EVENTS". * Various attributes have been removed from the codebase, because they are no longer applicable. Examples: * Designer-related attributes (DefaultProperty, DefaultEvent, Editor, etc.) * CAS-related attributes. CAS-related method calls (Security demands and asserts) have also been removed. There is still further cleanup that can be done in order to match the style and structure of corefx. For example, the Interop code should be reorganized to match other BCL libraries. NOTE: This implementation will only work on Windows, and not in UWP. This is a strictly compatibility-driven feature. Any changes made to it should not significantly diverge from the .NET Framework implementation. Libraries should only take a dependency on System.Drawing.Common if they are relying on legacy components from .NET Framework; newly-written code and features should rely on modern alternatives.
2017-05-30Renamed coretype serialized variables to support reflection based serializationViktor Hofer
2017-05-30Revert "Scale back [Serializable] CoreFX types (#19742)"Marek Safar
This reverts commit 6dd451f51451a7d0ceea6104b51bd17005e9a0e6.
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-02Skip verifying stack on full framework (#19182)Dan Moseley
* Skip test on netfx * Fix build * build2 * build3
2017-04-13Fix System.Drawing tests on UAP (#18294)Alex Perovich
Fixes #17930
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-06Remove KnownColors and SystemColors from .NET CoreWes Haggard
Kept KnownColors as an internal enum for implementation ease but removed the public surface area for it. Remove SystemColors from .NET Core Fix TypeConverter tests to work on netfx and core
2017-04-05Fix System.Drawing.Primitive tests with netfx or uwpHugh Bellamy