Commit Graph
547 Commits
Author SHA1 Message Date
Tarek Mahmoud Sayed c28406b27f Add 1252 codepage test case
Commit migrated from https://github.com/dotnet/corefx/commit/ba368a22594964400f58087591a47bfd6e3315b4
2017-04-07 10:20:58 -07:00
Alex Perovich fc4bb66b9f Fold or rename *.netstandard.cs files (dotnet/corefx#17697)
* Win32.Primitives

* System.Collections.Specialized

* System.Diagnostics.Process

* System.Globalization

* System.Globalization.Calendars

* System.IO

* System.IO.Compression

* System.IO.FileSystem

* System.IO.FileSystem.Watcher

* System.IO.Pipes

* System.Linq.Expressions

* System.Net.Primitives

* System.Net.Requests

* System.Net.Sockets

* System.Net.WebHeaderCollection

* System.ObjectModel

* System.Reflection

* System.Reflection.Emit

* System.Resources.ResourceManager

* System.Runtime

* System.Runtime.Extensions

* System.Runtime.Handles

* System.Runtime.InteropServices

* System.Security.Cryptography.X509Certificates

* System.Text.Encoding

* System.Text.Encoding.CodePages

* System.Threading

* System.Threading.Tasks

* System.Threading.Thread

* System.Threading.Timer

* System.ValueTuple


Commit migrated from https://github.com/dotnet/corefx/commit/023b6bdd6086271cbb6ca932c33d7783f8406062
2017-03-30 17:28:22 -05:00
Jose Perez Rodriguez dcae7a65c2 Re-authoring the UAP package to make sure we have the right set of assemblies
Commit migrated from https://github.com/dotnet/corefx/commit/a6bff0070eb427f15fd4bd9ae0dfc622bc4fe19b
2017-03-28 16:29:53 -07:00
Wes Haggard ae037bd683 Remove System.Data.SqlClient and System.Text.Encoding.CodePages from shared fx.
System.Data.SqlClient doesn't need to be part of the shared framework in 2.0 as
it wasn't part of included in 1.X and it is no longer part of netstandard2.0.

System.Text.Encoding.CodePages was only needed by Roslyn which has been removed
and SqlClient which we are removing so we can now eliminate it from the shared
frameworks and make it as an opt-in only component as it was intended to be.


Commit migrated from https://github.com/dotnet/corefx/commit/c2c3a28f6d66077063a1797380b5faa2e2486240
2017-03-20 16:30:54 -07:00
Eric Mellino b3ea5247b7 Regenerate all VS configurations
Commit migrated from https://github.com/dotnet/corefx/commit/2e74df4fa03a4945067a3f14e93d8ffc03f3c923
2017-03-13 11:50:57 -07:00
Eric Mellino 8ad44dd66c Enable four test projects outside of Windows
Commit migrated from https://github.com/dotnet/corefx/commit/a9f6aff281cf8c1d97e5577ed199788feb159d4f
2017-03-13 11:48:08 -07:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Jon Hanna aa4b36ebfa Fix several typos (dotnet/corefx#16264)
* 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"


Commit migrated from https://github.com/dotnet/corefx/commit/f0ccd9742065ee2aa296448fe3dd38ef6ff77af9
2017-02-17 10:31:00 -08:00
Eric St. John 342eb1592d Update configs and solutions
Update theses that have become out of sync.


Commit migrated from https://github.com/dotnet/corefx/commit/1548822f8d15dcb5587802c3ce7d70fabcc8c36e
2017-02-16 16:54:55 -08:00
Eric StJohn 1a40c1b651 Merge pull request dotnet/corefx#16191 from ericstj/packages
Re-enable packages for BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/9d1d63fb791e80399b008bc7ed0801fbb49c6e0b
2017-02-16 17:44:52 -05:00
Eric St. John 54181cf91b Enable package build
This turns the package build back on and fixes all packages so that
they build.

There is still work to do to fix dependencies.


Commit migrated from https://github.com/dotnet/corefx/commit/c0f0fdd87135f9fcca0d4026819d8c388c455967
2017-02-16 12:18:19 -08:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Tarek Mahmoud Sayed a5a1c845fd Getting the infrastructure fot NetFX test runner inplace (dotnet/corefx#16194)
* Getting the infrastructure fot NetFX test runner inplace

This change will enable running the tests with NetFX.
Note that we still need to go through all tests and fix any issues there like assembly binding issues or the test is written in way that not suitable for the desktop runs

The change also include some fixes in return the src and test sources compile back with NetFx

* Small fixes


Commit migrated from https://github.com/dotnet/corefx/commit/ebac7976d3e1f946989a3c4e01526f94f4ed418e
2017-02-15 11:43:22 -08:00
Tarek Mahmoud Sayed 96f3a77ac5 Fix hidden overflow issue in encoding code (dotnet/corefx#16160)
When enabling overflow/underflow compilation flag globally we found one of the System.Text.Encoding.CodePages tests is failing.
The reason is we have some method that can adjust a byte pointer by some int value, when passing -1 to this method the calculation of adjusted pointer value becomes wrong when the overflow/underflow flag is wrong.
the operation is carried with 8 bytes registers so the overflow and underflow is not detected and no exception is thrown. here is some example of the generated code with and without the overflow check:

with overflow/underflow check is on
            _bytes += count;
00007FFF46E67D76  mov         rax,qword ptr [rbp+50h]
00007FFF46E67D7A  mov         edx,dword ptr [rbp+58h]  <<< edx = -1
00007FFF46E67D7D  mov         edx,edx
00007FFF46E67D7F  add         rdx,qword ptr [rax+48h]  <<< wrong unexpected value
00007FFF46E67D83  jae         00007FFF46E67D8A
00007FFF46E67D85  call        00007FFFA65AFBD0
00007FFF46E67D8A  mov         rax,qword ptr [rbp+50h]
00007FFF46E67D8E  mov         qword ptr [rax+48h],rdx

with overflow/underflow check is off

00007FFF46E877D6  mov         eax,dword ptr [rbp+58h] <<< eax = -1
00007FFF46E877D9  movsxd      rax,eax
00007FFF46E877DC  mov         rdx,qword ptr [rbp+50h] <<< right expected value
00007FFF46E877E0  add         qword ptr [rdx+48h],rax

Commit migrated from https://github.com/dotnet/corefx/commit/10733b7bb84d6132f4ac6fd83f3405f3ebd689a6
2017-02-14 15:09:47 -08:00
Eric St. John ba03538d7c Make pkgprojs reference *proj rather than builds
Commit migrated from https://github.com/dotnet/corefx/commit/0ede35ef512ac16b5dabe8c6b7b3d7d54c1c0ddb
2017-02-14 09:52:02 -08:00
Eric St. John cc939555ea Remove pkg .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/361a62675ad474ac7a6c593becbc35f2cf48e6a3
2017-02-14 09:52:01 -08:00
Jan Kotas 9af9e339e2 Cleanup netstandard ifdefs and conditions (dotnet/corefx#16072)
* Cleanup netstandard conditions in csproj files
* Cleanup netstandard17 ifdefs
* Disable failing tests

Commit migrated from https://github.com/dotnet/corefx/commit/608267af43311b131d20e4111477ffb1109233a0
2017-02-11 21:40:35 -08:00
Dennis "D.C." Dietrich a841a37279 Marking code as unchecked (pt 5)
Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue dotnet/corefx#3140)


Commit migrated from https://github.com/dotnet/corefx/commit/05c544cb5fe109357d61d1391b3ab4860a5b2eaf
2017-02-10 01:47:19 +01:00
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Justin Van Patten 90e7825333 Avoid unnecessary branches when fixing non-null/empty arrays (dotnet/corefx#15597)
* Avoid unnecessary branches when fixing non-null/empty arrays

* Address PR Feedback


Commit migrated from https://github.com/dotnet/corefx/commit/bfac45af5dddcbd70b6935fcf92b4b8755f3cd1c
2017-02-04 16:29:55 -05:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Tarek Mahmoud Sayed 7395af32ad Enable compiling the test projects against the configuration (dotnet/corefx#15743)
* Enable compiling the test projects against the configuration

The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.

* Fix openssl test project on Linux distros

* Update the project configurations

* Update VS solution files

* update solution files


Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
2017-02-02 17:54:40 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Jose Perez Rodriguez a840e703dd Updating VS Configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8e7497f825856eddfd84f81fc4afc0104fb917b0
2017-01-31 15:10:43 -08:00
Jose Perez Rodriguez f7c237e4e2 Adding missing Configurations for uap
Commit migrated from https://github.com/dotnet/corefx/commit/16ceba583604b00f12a173a8f3d218584ec2b0ee
2017-01-31 15:08:05 -08:00
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Eric St. John 3a15f3acd6 Fix src projects for appropriate ref folder
After the change to use the appropriate references for a configuration
we needed to make sure that every library has a versionless targetgroup
so that it can build in the source build scenarios without requiring
external packages from NuGet.

For any library that is part of netstandard, its implementation should
not build against netstandard

For any library that is part of the imlpementation closure of netstandard,
its implementation should not build against netstandard (else we'd have cycles).

OpenSSL must keep its netstandard ref, however it has NETCoreApp specific API
dependencies. See https://github.com/dotnet/standard/issues/186.  As such we
need to cross-compile both src and ref for NETCoreApp.  I've moved the not-
supported assembly to be the 'netstandard' implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/28097ca87cc2e8bcf7760f05732464b2c00eeaa4
2017-01-30 11:14:08 -08:00
Eric St. John d8824893ff Fix ref configurations for appropriate ref folder
For any ref that can build on top of NETStandard it should.


Commit migrated from https://github.com/dotnet/corefx/commit/3733239be954dcd9179df7d196f8a3c95e3b868b
2017-01-30 08:39:35 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Eric St. John 02b6743d19 Remove PackageTargetFramework
This property is largely obsolete and replaced with NuGetTargetMoniker
where its needed.

I've also cleaned up mentions of this and validation suppression around
it in projects that will never be packaged.

PackageTargetFramework remains in projects that will be packaged and
duplicate their asset in multiple folders,
eg: netstandard1.0;portable-net45+win8+wp8+wpa81


Commit migrated from https://github.com/dotnet/corefx/commit/8590e419f6639d9d5eabdbcb916e62fb1656d30e
2017-01-18 14:02:30 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Jose Perez Rodriguez 24a5aef91d Merge master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/a9dd06b73bdd71038217bb263decf2b7285fb8db
2017-01-12 10:09:09 -08:00
Tarek Mahmoud Sayed 3c27011491 Fix Encoding.CodePages test on desktop (dotnet/corefx#15079)
* Fix Encoding.CodePages test on desktop

* Better comment


Commit migrated from https://github.com/dotnet/corefx/commit/cd7cda833aad27c371ca14a2ee70e68116a7927f
2017-01-11 15:10:17 -08:00
dotnet bot fd2b99ee2a Update CoreClr, CoreFx, ProjectNTfs to beta-24911-02, beta-24911-02, beta-24911-00, respectively (dotnet/corefx#15071)
Commit migrated from https://github.com/dotnet/corefx/commit/f4dbd9ba2d8ae56b5960a5030a2bf0328fa37b3f
2017-01-11 09:11:26 -08:00
Alex Perovich ae1810f29c Automated rename of tfm specific files
Commit migrated from https://github.com/dotnet/corefx/commit/ca330455c9b884ffcca5b8b98d28a129e2248fe6
2017-01-10 16:20:59 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Alex Perovich c3087a2ed5 Manual changes for ns2.0 rename
Commit migrated from https://github.com/dotnet/corefx/commit/7bba15c1d2518d3f0bb85c40ed87322edfdf87eb
2017-01-10 16:20:29 -08:00
Jose Perez Rodriguez c65aa91391 [dev/eng] Sorting and trimming Reference items in csprojs (dotnet/corefx#15035)
Sorting and trimming Reference items in csprojs


Commit migrated from https://github.com/dotnet/corefx/commit/d1a6358e7a6b1bc04223885c860701209d52a7e8
2017-01-10 13:24:35 -08:00
dotnet bot 250715866c Update CoreClr, CoreFx, ProjectNTfs to beta-24910-02, beta-24910-02, beta-24910-00, respectively (dotnet/corefx#15019)
Commit migrated from https://github.com/dotnet/corefx/commit/24bc3ffa34e5da233c98389309c4d68a4382b457
2017-01-10 08:50:42 -08:00
dotnet-bot 0a8bc1232a Update CoreClr, CoreFx to beta-24909-03, beta-24909-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4ac5235d4c33b6a040c70aa9c9ed0a9294f7ef75
2017-01-09 17:27:36 +00:00
dotnet-bot 88e6031b90 Update CoreClr, CoreFx, ProjectNTfs to beta-24909-02, beta-24909-01, beta-24909-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d7e3e57699a54415092203f9baf81c29b1da3baa
2017-01-09 09:40:09 +00:00
dotnet-bot f50c7ffedd Update CoreClr, CoreFx to beta-24907-02, beta-24907-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/fb76aa1fb9c9a999eff950ba0caa46f50cb4356b
2017-01-07 16:11:20 +00:00
dotnet bot 2d69a1eec5 Update CoreClr, CoreFx to beta-24906-04, beta-24906-03, respectively (master) (dotnet/corefx#14944)
* Update CoreClr, CoreFx to beta-24906-04, beta-24906-03, respectively

* Fix build break due to version updates


Commit migrated from https://github.com/dotnet/corefx/commit/9064de8ce82634fddfc0ca326422957efdf2390f
2017-01-06 15:46:20 -08:00
dotnet bot 4d160b84df Update CoreFx to beta-24906-02 (dotnet/corefx#14932)
Commit migrated from https://github.com/dotnet/corefx/commit/2865f5bf0082830824b03e279eafaa8cf5652b0d
2017-01-06 08:55:46 -08:00
dotnet-bot 6cb76fa118 Update CoreClr, CoreFx, ProjectNTfs to beta-24906-01, beta-24906-01, beta-24906-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d88d329d9e511938efac9ee177824e2d7f4033f9
2017-01-06 04:18:15 +00:00
Jose Perez Rodriguez 846d8ab24b Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/44b68e694948065c1b61457cec125d3d64c1fa22
2017-01-05 14:03:56 -08:00
dotnet bot 9a413a6bca Update CoreFx to beta-24905-02 (dotnet/corefx#14892)
Commit migrated from https://github.com/dotnet/corefx/commit/48661a20d332cc19ae7cecaf69ab0e95a2abc50a
2017-01-05 10:58:29 -08:00