Commit Graph
38 Commits
Author SHA1 Message Date
Santiago Fernandez Madero d8981e945d Port System.Net.WebUtility missing members (dotnet/corefx#13875)
* Port System.Net.WebUtility missing members


Commit migrated from https://github.com/dotnet/corefx/commit/3cb05504c5c81e2cfb552291285bce088ff785cf
2016-11-22 11:46:30 -08:00
Tarek Mahmoud Sayed e8e32403ba Fold System.Globalization.Extensions contract to System.Runtime.Extensions (dotnet/corefx#13870)
* Fold System.Globalization.Extensions contract to System.Runtime.Extensions

* FIx throwing original exception and change the csproj configuration

* Delta fix

* Fix the build configuration

* remove System.Runtime.Extensions package reference from system.Console

* Remove project reference of S.Runtime.Extensions from the csproj

* More clean up for S.Runtime.Extensions references in projects


Commit migrated from https://github.com/dotnet/corefx/commit/a751f20c7d586ee4cd5bece0c8633a24da01bcfe
2016-11-22 07:22:19 -08:00
Jose Perez Rodriguez 343c3a19a8 Adding Obsolete Attributes to missing type/members (dotnet/corefx#13771)
Adding Obsolete Attributes to missing type/members

Commit migrated from https://github.com/dotnet/corefx/commit/277b781b6326e06716173132f68317ddc475f67d
2016-11-21 12:56:07 -08:00
danmosemsft a7b3095f8a Put back abstract on Write(char)
Commit migrated from https://github.com/dotnet/corefx/commit/46c33d5b0d3a83f4e2f0c8310deabc1b3f23f653
2016-11-18 10:51:39 -08:00
Rahul Kumar a6252ad749 Merge pull request dotnet/corefx#13728 from rahku/appdomain
Add remaining AppDomain apis

Commit migrated from https://github.com/dotnet/corefx/commit/424114d8575f19af7c5c75550dbb00229ea15536
2016-11-16 15:21:42 -08:00
Rahul Kumar 3de6445a0c Add remaining AppDomain apis
Commit migrated from https://github.com/dotnet/corefx/commit/b41ecdb43737d8209e06a9bd1db1e7d0d7b97cba
2016-11-16 13:32:43 -08:00
Rahul Kumar ab999746b9 Add System.LoaderOptimizationAttribute
Commit migrated from https://github.com/dotnet/corefx/commit/659ebc86a84b88e17c26baeb613abbe63ae0e547
2016-11-16 11:57:44 -08:00
Jose Perez Rodriguez 71fc69fd49 Moving part of System.Security.Permissions down to System.Runtime.Extensions (dotnet/corefx#13476)
* Moving part of System.Security.Permissions down to System.Runtime.Extensions

Commit migrated from https://github.com/dotnet/corefx/commit/768e18c53d1e218d77914c207dcb2ba8636397e0
2016-11-11 11:59:21 -08:00
Dan Moseley 168c6022de Add Environment.SystemDirectory (dotnet/corefx#13576)
* Add Environment.SystemDirectory

* Remove System special folder test on Unix, per Mono it is blank


Commit migrated from https://github.com/dotnet/corefx/commit/4e5de1d4f76302cc78d252e8b006fbcf2a025d32
2016-11-11 09:32:35 -08:00
Jeremy Kuhne f05a8c4187 Move IO types into System.Runtime.Extensions (dotnet/corefx#13451)
Move all of System.IO into System.Runtime.Extensions.
Finish moving System.IO.Primitives into System.Runtime.

Commit migrated from https://github.com/dotnet/corefx/commit/55eb2f16c4ccdb6e4c50a89af5c14ac843239901
2016-11-09 14:44:50 -08:00
Rahul Kumar 75bddd015d Add more appdomain apis
Commit migrated from https://github.com/dotnet/corefx/commit/2c59d9645e5f588aa18112da929209c540a82f9c
2016-11-01 13:56:56 -07:00
Rama Krishnan Raghupathy c548851276 Adding Some Types related to remoting
Commit migrated from https://github.com/dotnet/corefx/commit/7a54cd1edd802ef0f4586dacfe4293665f6956c6
2016-10-26 20:27:51 -07:00
Eric Mellino 5dc91b8c7d Merge pull request dotnet/corefx#12183 from tannergooding/math
Updating the 'System.Runtime.Extensions' contracts to include the new single-precision Math APIs.

Commit migrated from https://github.com/dotnet/corefx/commit/ec87e6256d5203ae043af45563c97685f199e9eb
2016-10-26 11:14:22 -07:00
Alex Perovich eb605d739b Port ApplicationId (dotnet/corefx#12967)
* Port ApplicationId

Fixes dotnet/corefx#12399

* Fix formatting and naming.


Commit migrated from https://github.com/dotnet/corefx/commit/2df55d6cad8e7343984b97cdfb5d10f8cb2d8f14
2016-10-24 16:04:33 -07:00
Tanner Gooding 020252f2b2 Updating the 'System.Runtime.Extensions' contracts to include the new single-precision Math APIs.
Commit migrated from https://github.com/dotnet/corefx/commit/2caa7f93db0378b9087bd939670b02b5020d1f04
2016-10-23 23:23:32 -07:00
Stephen Toub ce44aa8bf0 Make OperatingSystem ICloneable and ISerializable
Commit migrated from https://github.com/dotnet/corefx/commit/89006f573be2fd9b45a78cf09303f51e4c5c696c
2016-10-16 08:28:15 -04:00
alperovi 6469c50d4a Change explicit implementations to implicit
Fixes dotnet/corefx#12401


Commit migrated from https://github.com/dotnet/corefx/commit/ef9f04689f9f727afd091f744caf957a8ca5e503
2016-10-14 15:55:22 -07:00
Stephen Toub 52e3c3d7ae Change all refs to use "throw null;" as member bodies
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter).  I made the change programatically using a simple Roslyn-based tool.


Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
2016-10-13 09:43:23 -04:00
Rahul Kumar 00a68797a9 Add more AppDomain apis
Commit migrated from https://github.com/dotnet/corefx/commit/5fde04fff39a6325e7ed5594807023f6958766ff
2016-10-07 15:41:08 -07:00
Wes Haggard e98ec88b74 Merge pull request dotnet/corefx#12311 from hughbe/expose-math-clamp
Expose new Math.Clamp APIs in System.Runtime.Extensions

Commit migrated from https://github.com/dotnet/corefx/commit/8833178d5fbc31acbc653fdaf01816aa75edd786
2016-10-06 14:18:45 -07:00
AlexGhiondea 43baa15172 Add the types to the System.Runtime.Versioning namespace. (dotnet/corefx#12361)
* Add the types to the System.Runtime.Versioning namespace.

The following types have been added:

 - ComponentGuaranteesAttribute
 - ComponentGuaranteesOptions
 - ResourceConsumptionAttribute
 - ResourceExposureAttribute
 - ResourceScope
 - VersioningHelper

Commit migrated from https://github.com/dotnet/corefx/commit/38ed769c3136a00c3404da8dd5e75372de270508
2016-10-06 11:55:09 -07:00
Hugh Bellamy 6a4673ea92 Expose new Math.Clamp APIs in System.Runtime.Extensions
Commit migrated from https://github.com/dotnet/corefx/commit/5d2cb3e4d296fcd5abe82e0be45683cdc3855e39
2016-10-03 18:38:56 +01:00
Jose Perez Rodriguez 338956b6f3 Merge branch upstream/master
Commit migrated from https://github.com/dotnet/corefx/commit/855ca3172712656f6cb3984e14c6ec88ec27fd6d
2016-09-20 10:32:49 -07:00
Jose Perez Rodriguez fe65028e81 Merge branch dev/api
Commit migrated from https://github.com/dotnet/corefx/commit/76676dc565873fdd46d545fadfbbdfe8fd9d464e
2016-09-20 10:27:33 -07:00
Jeremy Kuhne 1c0140790b Add Path.GetRelativePath
This change adds Path.GetRelativePath, which will calculate the relative
path from one directory to another file/directory.

This change also adds support for targetting netcoreapp


Commit migrated from https://github.com/dotnet/corefx/commit/387cf98c410bdca8fd195b28cbe53af578698f94
2016-09-19 11:16:22 -07:00
Tarek Mahmoud Sayed 04b0bac3c3 Expose remaining APIs in String and StringComparer
This change should be exposing the remaining APIs in String and StringComparer classes for net standard 2.0 and adding the tests too.


Commit migrated from https://github.com/dotnet/corefx/commit/3cd6bb48033049646282c394cc75c2124457e27b
2016-09-17 20:53:58 -07:00
Rahul Kumar e0aa1e5b01 Add System.AppDomain apis
Commit migrated from https://github.com/dotnet/corefx/commit/e1311a29eb106e59ffbf41e792b5bda18484d4f1
2016-09-13 14:19:52 -07:00
Stephen Toub d80bb177df Add missing members to Path
Path is missing the Combine(string, string, string, string) overload and the obsolete InvalidPathChars field.


Commit migrated from https://github.com/dotnet/corefx/commit/435c4a9def431e5ed833ba8b048ce9177e7b9ef3
2016-09-12 11:47:25 -04:00
Amy Qiu d2cd8a906a Merge pull request dotnet/corefx#11007 from Lixire/fill-convert
Fill Out Convert and Add Tests

Commit migrated from https://github.com/dotnet/corefx/commit/fc491bc2b672125b7e0d5074139faa90ba2149de
2016-08-24 13:25:01 -07:00
Amy Qiu b8c2ff2c67 Expose members and add tests
Commit migrated from https://github.com/dotnet/corefx/commit/7098ab74b0fa5cf75b3fa454df9aa27553b26a74
2016-08-19 10:06:55 -07:00
Ioana Crant 8a5aadfd9a port math and decimal members with tests
Commit migrated from https://github.com/dotnet/corefx/commit/007fd6a3cee4b7839275b3d1cc2914c3e7a8f8f2
2016-08-17 10:57:25 -07:00
Stephen Toub 7b5e7af912 Move Environment and friends to corefx
Currently System.Runtime.Extensions type forwards to the Environment in the runtime, which means we need to implement functionality in both coreclr and corert.  It's also missing functionality, which means to add that functionality back we'd need to do so in both runtimes, and we'd miss out on sharing code with elsewhere in corefx.

This commit:
1) Adds Environment, EnvironmentVariableTarget, OperatingSystem, and PlatformID to corefx so that System.Runtime.Extensions contains the type rather than forwarding to it.
2) Adds implementations of all of the missing members: CommandLine, CurrentDirectory, ExitCode, Is64BitProcess, Is64BitOperatingSystem, OSVersion, SystemPageSize, UserInteractive, UserName, UserDomainName, Version, WorkingSet, GetLogicalDrives, GetFolderPath, and the overloads of Get/SetEnvironmentVariable(s) that take an EnvironmentVariableTarget.
3) Adds the additional members to the contract.
4) Adds some basic tests to ensure basic functionality works.

Work that still needs to be done after this:
1) Add an EnvironmentAugments type to System.Private.Corelib in both corefx and corert, use that to replace the reflection-based hack in this commit, then remove the current Environment from Corelib's model.xml so that the rewriter will make it internal.  As part of this, we need to determine how to handle "IsAppXmodel/DesignMode" from corefx, whether we need two different builds for Win32/WinRT, etc.
2) Fix Get/SetEnvironmentVariable(s) to not ignore the EnvironmentVariableTarget.  This should be doable once (1) is done.
3) Add more support to the Unix implementation of GetFolderPath for more special folders
4) Add a GetTickCount method to the System.Native native lib, ala the implementation in libcoreclr; the current implementation is functional but slower than it could be.
5) Implement more Windows functionality if/when missing functions become available: SHGetFolderPath and GetVersionExW.
6) Use GetLogicalProcessInformationEx in ProcessorCount (or delegate to the implementation in coreclr).
I will open issues for each of these prior to merging this commit.


Commit migrated from https://github.com/dotnet/corefx/commit/fe5f4fbebc9e85c8e512a273567719dca15ac764
2016-07-05 14:09:16 -04:00
stephentoub 685d9f5063 Add API review headers to ref files
Commit migrated from https://github.com/dotnet/corefx/commit/5240b324e50f9aabaa11d4b0c46acc34e370a724
2016-02-11 10:50:44 -05:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
Lakshmi Priya Sekar 328a09c653 Add Environment.MachineName to .NET Core.
Commit migrated from https://github.com/dotnet/corefx/commit/3d92738669b44bd8be981c3fc700efbbc0cd4f1c
2016-01-24 17:19:38 -08:00
Pallavi Taneja 8ee2d1e233 Expose Environment.GetCommandLineArgs
Commit migrated from https://github.com/dotnet/corefx/commit/4752cbb364767e8dc3a5cb299207393a8ddb704a
2015-11-10 13:42:45 -08:00
Pallavi Taneja b23b63920b Expose Enviornment.Exit
Commit migrated from https://github.com/dotnet/corefx/commit/40b46199dafa957a95323e415a62a4469f82c7a4
2015-10-30 14:08:39 -07:00
Eric St. John 77309d4821 Update the version of all assemblies
This change updates the assembly versions of all of the corefx assemblies
as needed after we shipped stable versions.  Assemblies with API differences
get a minor version bump.  Assemblies with only bugfixes get a build version
bump.

In order to facilitate this I had to update the reference assemblies, so I took
the opportunity to port them all to the open.

[tfs-changeset: 1514419]


Commit migrated from https://github.com/dotnet/corefx/commit/40723b795917f2e98b64d45c17effb2546dd0cae
2015-08-13 17:07:57 -07:00