Commit Graph
287 Commits
Author SHA1 Message Date
Christopher Costa 7e2dd3ad7b Delete closed libraries sources and reference open sources.
This change removes the closed libraries sources for libraries which we are now building in the open.  Stub project files are left in the closed libraries which improt sources from the open for various build configurations.

Also includes these two changes which were not yet ported to open:
- [Serialization]: DCS/DCJS fails to serialize/deserialize XElement type - regression
- Change namespace of System.Xml.XPath.XmlDocument extensions

Validated by pre-checkin gauntlet build dotnet/corefx#150320.14337

[tfs-changeset: 1437136]


Commit migrated from https://github.com/dotnet/corefx/commit/89881048ba6bb6adca5253024ea59e8aa8790a6a
2015-03-20 17:07:34 -07:00
Stephen Toub 8e310277a1 Stub out OSX implementations of Process and DriveInfo
Stubs out OSX implementations of System.Diagnostics.Process.dll and  System.IO.FileSystem.DriveInfo.dll.


Commit migrated from https://github.com/dotnet/corefx/commit/78a2e6ca822471b8cb5dc3f13048abe245e3ebb9
2015-03-20 07:49:37 -04:00
Matt Ellis 53a9f1fe9a Refactor build properties for Linux and OSX builds
Previously, we used the catch all OS=Unix property in MSBuild to
determine if we were building for Windows vs Unix, and we shared the
same MSIL between Linux and OSX.  However, we have already started to
take dependencies on Linux specific APIs and we plan on using OSX
specific APIs very soon.

We don't want to try to ship MSIL that contains both Linux and OSX
specific implementations of a feature, so the build system needs to
change a little.

We'll continue to use the OS property as the entry point for the build
to specificy what platform you want to build for.  However, we now have
three platforms:

1. Windows_NT
2. Linux
3. OSX

However, the value of the OS property should not be tested directly,
instead we introduce properties about the target platform itself:

1. TargetsWindows
2. TargetsUnix
3. TargetsLinux
4. TargetsOSX

Code which works the same across Linux and OSX should be guarded by
TargetsUnix (which is true when OS is either 'Linux' or 'OSX').  Code
specific to one OS can be guarded with either TargetsLinux or
TargetsUnix.

In this change, I have simply rewritten all the '$(OS)' == 'Unix'
conditions to '$(TargetsUnix)' == 'true'.  A few libraries may do Linux
specific stuff, but we will clean up that debt when we go to flesh out
the OSX implementations.


Commit migrated from https://github.com/dotnet/corefx/commit/4d07173fbf86631d49ed56623581eff9cb7d3f87
2015-03-19 14:07:07 -07:00
Tarek Mahmoud Sayed b3120f73dd Remove checked in resources generated code file (SR.cs)
After this change it is no longer required to include the resources
generated code file SR.cs inside the project tree as such files
will get automatically generated in the intermediate folder


Commit migrated from https://github.com/dotnet/corefx/commit/e7513c213c16f5ca4bd35c6c4eace534b4d94ed5
2015-03-17 16:24:08 -07:00
Pallavi Taneja 6de41a0f16 Consolidate Interop calls for Microsoft.Win32.Primitives and System.Console
Commit migrated from https://github.com/dotnet/corefx/commit/4048ca85577f53539d6e4c511836f326643a0024
2015-03-13 10:18:59 -07:00
Lakshmi Priya Sekar b5a5b6a420 Add tests to verify disk space properties.
Commit migrated from https://github.com/dotnet/corefx/commit/e3eaa4d90483a3035a6bd6442d4332d5f3900eca
2015-03-10 14:47:23 -07:00
Lakshmi Priya Sekar 6aacde38c3 Rewrite DriveInfo tests. Respond to CR feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/7ddc3df71fd7341f0e536c237bb2f7b5a77dda1e
2015-03-09 18:11:26 -07:00
Tarek Mahmoud Sayed d52779a137 Cleanup project files from empty items with resource comments
Commit migrated from https://github.com/dotnet/corefx/commit/47b1663630ab0a6089d1a95c8d9934af3c6bc92b
2015-03-04 11:34:17 -08:00
Tarek Mahmoud Sayed 12598db216 Cleanup resources across all projects
After this change we are going to have unified model for handling resources which is we always use resx files placed under Resources folder and the code will be automatically generated in SR.cs file.
We’ll access ant string resource using the SR class (e.g. SR.ArgumentException).


Commit migrated from https://github.com/dotnet/corefx/commit/db7180f04ef9789a7f199fcd9f8c527990e14673
2015-03-04 11:34:16 -08:00
Nick Guerrera f022d5bba7 Bump package versions to latest
Commit migrated from https://github.com/dotnet/corefx/commit/a4d211e9a250c5975022f32d3d7b036e2ba12488
2015-03-04 11:02:12 -08:00
Stephen Toub fa740f8c72 Separate gnu_get_libc_version into its own file
Commit migrated from https://github.com/dotnet/corefx/commit/3389cbaa146f525f0aa5517b7b4fceeece776bfa
2015-03-01 13:21:29 -05:00
Pallavi Taneja 7f18e72a0c Update resource generation for libraries.
[tfs-changeset: 1422400]


Commit migrated from https://github.com/dotnet/corefx/commit/3ad583086b7b5eebfaca535fea861b871776cc3d
2015-02-26 17:55:48 -08:00
Maxwe11 6a98eb9ef5 Move *.sln files to the appropriate projects folders
Commit migrated from https://github.com/dotnet/corefx/commit/fb8fb441b3e5414590b8d1af4ec5f52ca52c0dff
2015-02-20 19:52:00 +02:00
Maxwe11 24de629e0f Using shared FormatMessage interop
Commit migrated from https://github.com/dotnet/corefx/commit/ab7f5a2189f990d1ec4c36de5baf31133c86a6cf
2015-02-19 09:18:47 +02:00
Stephen Toub 0188aeb399 Merge pull request dotnet/corefx#818 from stephentoub/os_proj_config
Update solutions/projects with OS-specific configs

Commit migrated from https://github.com/dotnet/corefx/commit/7dc38bf6e203210f987d41a579de1f44c81550e1
2015-02-18 19:39:20 -05:00
Matt Johnson c7177a75a0 Fix typos in private method names
Commit migrated from https://github.com/dotnet/corefx/commit/8e83e1f365bb4ae3158e09f6d9a6e0cc53ef13e2
2015-02-18 14:37:57 -08:00
Matt Johnson 9111c18563 Fix typos in local variable names
Commit migrated from https://github.com/dotnet/corefx/commit/917f4d4516e6b99e54c70b1c90849f81c8bb70df
2015-02-18 14:37:50 -08:00
Matt Johnson 165ce6c460 Fix typos in strings
Commit migrated from https://github.com/dotnet/corefx/commit/f62b0d7280d87e1a139e931388a2ef9d510aaa2b
2015-02-18 14:37:42 -08:00
Matt Johnson ccd5e9e34a Fix typos in comments
Commit migrated from https://github.com/dotnet/corefx/commit/4a3d2d5b7b53a6d37fcc54553f5d0f62b2d6cff7
2015-02-18 14:37:35 -08:00
Stephen Toub 2c54a7ae72 Update solutions/projects with OS-specific configs
For projects that have OS-specific implementations, this change modifies
their solution and project files to create OS-specific configurations.
Rather than just having a Debug or Release option, in Visual Studio a
developer can now select OS_Debug or OS_Release, e.g. for a project that
has a Windows implementation and a Unix implementation, Windows_Debug,
Windows_Release, Unix_Debug, and Unix_Release will all be available
options.  Changing the configuration will update the properties used to
configure conditional includes, build outputs, etc.


Commit migrated from https://github.com/dotnet/corefx/commit/d3b259b89877e4a52d12c08e0f9031f37cb0905b
2015-02-18 13:01:48 -05:00
Stephen Toub 8cc26c6cc2 Scrubs [ComVisible] attribution from CoreFX library sources
Commit migrated from https://github.com/dotnet/corefx/commit/9189f0a7f60f217a8cfec2d4bdafaf7132d6d067
2015-02-16 13:20:46 -05:00
chcosta d1620100c8 Sync changes from TFS as of 2015/02/16 9:30:00 AM
[tfs-changeset: 1416076]


Commit migrated from https://github.com/dotnet/corefx/commit/67bd740c6c732e141835521ff34b2cc18591a9cc
2015-02-16 09:51:49 -08:00
Stephen Toub eaeb6391bb Merge pull request dotnet/corefx#654 from stephentoub/process_unix
Implement System.Diagnostics.Process on Linux

Commit migrated from https://github.com/dotnet/corefx/commit/88f0dac59872dcd2ee7f482c5ec6b245e80d5704
2015-02-13 15:21:26 -05:00
Maxwe11 2d635dae1c Replace relative path to common tests with a variable
Replace relative path "..\..\Common\tests" with $(CommonTestPath) variable.


Commit migrated from https://github.com/dotnet/corefx/commit/56dbc6abc6dcde5874c99c67f379d788c8dd4420
2015-02-08 15:05:37 +02:00
Stephen Toub 32e6ad6f48 Implement System.Diagnostics.Process on Linux
This is an initial implementation of the System.Diagnostics.Process
assembly for Linux.  There are some rough edges here: basic process
enumeration and inspection should work, as should waiting for processes
through various means (WaitForExit, Exited event, etc.), but other
functionality isn't ready for primetime yet, namely Start, which has been
roughly implemented but which hasn't been tested yet.

Some of the surface area doesn't have good equivalents on Linux.  Where I
thought it reasonable, in some cases I just left default values in place
or ignore things. In other cases, I throw PlatformNotSupportedException.
We can tweak this over time.

The implementation gets most of its data from the procfs file system.
Suppot for waiting is the most complicated area of the implementation, and
probably still has a few bugs to sort out.


Commit migrated from https://github.com/dotnet/corefx/commit/7a6874e2b84d62b3ece397ae692ee79e330afaa5
2015-02-05 18:47:19 -05:00
Nick Guerrera 682ff2db2c Merge branch 'v1.0' into merge-v1.0
Conflicts:
	README.md


Commit migrated from https://github.com/dotnet/corefx/commit/6ce823d55110965c9babab17c1125958107cffa6
2015-02-04 12:58:31 -08:00
Wes Haggard 8b20be1d87 Disable running DriveInfo tests until they are cleaned up.
Disable running tests for this project as many of them are failing randomly for
different reasons, including but not limited to requiring admin to set/reset drive
labels, doing exact total disk space comparisions while other disk IO on the system
may be changing it actively, and failing on subst drives, etc
There are various github issues covering some of these see:
https://github.com/dotnet/corefx/issues/514
https://github.com/dotnet/corefx/issues/528
https://github.com/dotnet/corefx/issues/549
https://github.com/dotnet/corefx/issues/564
https://github.com/dotnet/corefx/issues/592


Commit migrated from https://github.com/dotnet/corefx/commit/53d48016ec664c16a0ec00f4c91e47179e17bf3b
2015-02-04 00:13:04 -08:00
Nick Guerrera 2c69e7b094 Merge pull request dotnet/corefx#555 from dotnet/v1.0
Merge v1.0 to master

Commit migrated from https://github.com/dotnet/corefx/commit/1ea0f1ef443e3d5de322cadedc39825933c04571
2015-01-29 10:46:15 -08:00
Stephen Toub de2fbd0e9a Fix formatting PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/77d1ae4a41b05f560bb82162aae5a5b4ee770ca8
2015-01-29 12:34:47 -05:00
Nick Guerrera 1846be8d13 Bump package versions to 22512
Commit migrated from https://github.com/dotnet/corefx/commit/fa62bc6d0ab5e2b413c8930c708969029616a8e0
2015-01-28 17:46:49 -08:00
Stephen Toub 0550d7eecd Refactor Unix interop
As we've discussed offline, we want to change how we're structuring
our interop code, in particular to make it easier to share interop
definitions across assemblies.  This commit is an initial refactoring
of our existing Unix interop code to follow the new approach.


Commit migrated from https://github.com/dotnet/corefx/commit/000519fbfa654655410c5cf204d74006faa763fa
2015-01-27 11:34:58 -05:00
Nick Guerrera 050dcd1ea0 Disable racing test against issue dotnet/corefx#514
Commit migrated from https://github.com/dotnet/corefx/commit/c437871dda22b1422b3589ca4e8fbc1d389f52f6
2015-01-23 15:47:16 -08:00
Nick Guerrera 92b6d9b3b6 Fix non-admin failure in DriveInfo test
Commit migrated from https://github.com/dotnet/corefx/commit/d41d80d97bffd857fe18fc267e553927c2483082
2015-01-22 16:00:50 -08:00
Wes Haggard 1a02b02b84 Merge pull request dotnet/corefx#487 from weshaggard/FixDriveInfoTests
Change some of the DriveInfo tests to pick unique file names across tests

Commit migrated from https://github.com/dotnet/corefx/commit/20a35f8a84c46e08de90c59cbde92bf6537097ca
2015-01-20 21:40:47 -08:00
Wes Haggard c9eb446c68 Move unsafe build break issue for release builds of DriveInfo.
Moved <AllowUnsafeBlocks>true</AllowUnsafeBlocks> to common properties
instead of just under debug.


Commit migrated from https://github.com/dotnet/corefx/commit/d6a0f8a072a03f3a081926f8c5a9ab0068e980bb
2015-01-20 21:13:01 -08:00
Wes Haggard 938af00f26 Change some of the DriveInfo tests to pick unique file names across tests.
Commit migrated from https://github.com/dotnet/corefx/commit/47bb646f8b606d4e28ff375b2ea377dd5fadd8eb
2015-01-20 21:01:25 -08:00
dotnet-bot d414e9f390 Initial commit System.IO.FileSystem.DriveInfo
Commit migrated from https://github.com/dotnet/corefx/commit/86f6a8ff589cd7f0fbb0237ef7de97bd92046d7b
2015-01-19 15:02:49 -08:00