Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Merge master into dev/api #11366

Merged
merged 337 commits into from
Sep 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
00a4bce
Merge pull request #10978 from justinvp/registrykey_bug
stephentoub Aug 19, 2016
7672e37
Merge pull request #10532 from hughbe/emit-tests
stephentoub Aug 19, 2016
3f5d234
Cleanup AssociationAttributeTests
hughbe Aug 19, 2016
502f2b1
Add some CompareAttributeTests
hughbe Aug 19, 2016
8430a20
Update CoreFx to beta-24419-02
dotnet-bot Aug 19, 2016
8512621
Merge pull request #10928 from chcosta/compiler
MattGal Aug 19, 2016
ffa5e70
Merge pull request #10995 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 19, 2016
822a0e9
Update BuildToolsVersion.txt
MattGal Aug 19, 2016
f3a26ec
Update CoreClr to beta-24419-03
dotnet-bot Aug 19, 2016
811e3b6
Add and cleanup CustomValidationAttribute tests
hughbe Aug 19, 2016
b7e7969
Merge pull request #10942 from hughbe/ctor-info-extensions-tests
stephentoub Aug 19, 2016
bd497d6
RegistryKey: Flesh out tests
justinvp Aug 19, 2016
0c1e3fb
Add and cleanup tests for DataTypeAttribute
hughbe Aug 19, 2016
5dcc5c0
Merge pull request #10997 from dotnet/MattGal-patch-2
MattGal Aug 19, 2016
3cf6999
Cleanup EnumDataTypeAttribute tests
hughbe Aug 19, 2016
727dc13
Merge pull request #11001 from hughbe/customvalidationattribute-tests
stephentoub Aug 19, 2016
35987f0
Merge pull request #10999 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 19, 2016
6f6f34d
Further tests for String.Concat and String.Join (#10966)
jamesqo Aug 19, 2016
258b51d
Add some tests for invalid inputs to MemberAccess expressions (#10940)
hughbe Aug 19, 2016
2b3220d
Merge pull request #11006 from justinvp/registrykey_tests
stephentoub Aug 19, 2016
3f76ba2
Cleanup and add some CreditCardAttribute tests (#10993)
hughbe Aug 19, 2016
24233e5
Update CoreClr to beta-24419-04
dotnet-bot Aug 19, 2016
c91aa58
Add tests for invalid inputs to Expression.New (#10952)
hughbe Aug 19, 2016
bfe89d2
Merge pull request #11008 from hughbe/enumdatatypeattribute-tests
stephentoub Aug 19, 2016
fc47c42
Merge pull request #11004 from hughbe/datatypeattribute-tests
stephentoub Aug 19, 2016
ae53ab9
Skip failing process test on Windows Nano. (#10979)
Priya91 Aug 19, 2016
b0714e7
Merge pull request #10659 from svick/patch-3
stephentoub Aug 19, 2016
6750e2b
Merge pull request #10522 from hseok-oh/enableCross
stephentoub Aug 19, 2016
bc362da
Merge pull request #10482 from sjsinju/develop
stephentoub Aug 19, 2016
0eda6dd
Merge pull request #10991 from hughbe/annotations-cleanup
stephentoub Aug 19, 2016
fe41175
Merge pull request #11012 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 19, 2016
2779b96
Merge pull request #10988 from dsherret/master
stephentoub Aug 19, 2016
d9837d1
Improve test coverage for some string.Compare overloads (#10571)
jamesqo Aug 19, 2016
3ce9e22
Address PR feedback
hughbe Aug 19, 2016
0fb2e7f
Merge pull request #11011 from dotnet-bot/from-tfs
stephentoub Aug 19, 2016
eaa9608
Initial prototyping of produces api for corefx repo (#11003)
chcosta Aug 19, 2016
2b0c871
Cleanup System.Reflection.TypeExtensions.FieldInfo tests
hughbe Aug 6, 2016
0a8fd72
Improve code coverage of System.Linq.Expressions.IndexExpression (#10…
DenisIstomin Aug 19, 2016
3f1154b
Added test for RegionInfo.NativeName (#10193)
svick Aug 19, 2016
63b1853
Merge pull request #10284 from sjsinju/not_unmount
stephentoub Aug 19, 2016
8a18d94
Use TempFile
tmat Aug 19, 2016
d854ecd
Update CoreFx to beta-24419-03
dotnet-bot Aug 19, 2016
ccce267
Merge pull request #11020 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 20, 2016
273543f
Fix incorrect AssemblyName in System.Net.Primitives/PerformanceTests
jamesqo Aug 20, 2016
19eb795
Merge pull request #11021 from jamesqo/patch-3
stephentoub Aug 20, 2016
6caa29c
Update CoreFx to beta-24420-01
dotnet-bot Aug 20, 2016
970c9e4
Merge pull request #11022 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 20, 2016
4b1a9f6
Glibc readdir_r() deprecated use readdir() (#10795)
wobbol Aug 20, 2016
bda64b0
Merge pull request #10992 from hughbe/compareattribute-cleanup
stephentoub Aug 20, 2016
7f2911c
Merge pull request #11018 from hughbe/fieldinfo-extensions-tests
stephentoub Aug 20, 2016
6601504
Add tests for Char and Bool enums (as welll as other types) (#11015)
hughbe Aug 20, 2016
ec115c5
Cleanup Max and MinLengthAttribute tests (#11024)
hughbe Aug 20, 2016
f74c86f
Merge pull request #10468 from bartdesmet/Issue-10466
stephentoub Aug 20, 2016
588b513
Merge pull request #10945 from tmat/DeleteLoadedFile
stephentoub Aug 20, 2016
b68ce7d
Merge pull request #10542 from hughbe/assembly-tests
stephentoub Aug 20, 2016
2192f6a
Address PR feedback from https://github.com/dotnet/corefx/pull/10542
stephentoub Aug 20, 2016
0435efe
Merge pull request #11028 from stephentoub/reflection_feedback
stephentoub Aug 20, 2016
fb21d55
Update CoreFx to beta-24422-01
dotnet-bot Aug 22, 2016
396284c
Merge pull request #11043 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 22, 2016
63d1ae0
Annotate ValueTuple types as Auto layout
stephentoub Aug 22, 2016
f50c6a4
Merge pull request #11047 from stephentoub/valuetuple_autolayout
stephentoub Aug 22, 2016
4c7915d
Replace == with Equals for CultureInfo.
Aug 22, 2016
fd9008b
Merge pull request #11049 from Priya91/regex
stephentoub Aug 22, 2016
58c0adf
Add msbuild.log to archived outerloop jobs.
Aug 22, 2016
9217230
Add extra poll() call to work around issue in curl_multi_wait prior t…
ericeil Aug 17, 2016
df94809
Merge pull request #11052 from Priya91/addlog
Priya91 Aug 22, 2016
e622857
Update build tools version to have a new "tools" structure for config…
maririos Aug 23, 2016
cf883f7
Fix FindOidInfo to pass correct arg to PtrToStructure
stephentoub Aug 23, 2016
ae9e966
Implement digest and HMAC on CommonCrypto
bartonjs Aug 22, 2016
a2369a2
Merge pull request #11060 from bartonjs/apple_crypto_digestandhmac
bartonjs Aug 23, 2016
4f782d7
Add empty input tests for the SHA algorithms.
bartonjs Aug 23, 2016
86d6f43
Fix for Issue#10155 & #10217 (#10598)
huanwu Aug 23, 2016
7a6d2f1
Merge pull request #11064 from stephentoub/fix_oid
stephentoub Aug 23, 2016
bc34228
Add comment about ignoring poll failures
ericeil Aug 23, 2016
009cd1c
Merge pull request #11065 from bartonjs/empty_sha_tests
bartonjs Aug 23, 2016
17bb1fc
delete MsBuildParameters (#11066)
maririos Aug 23, 2016
13d8332
Add section on how to file security bugs
blowdart Aug 23, 2016
68a93df
Small clarification to avoid any confusion
Aug 23, 2016
4e2ea47
Merge pull request #11076 from terrajobst/master
terrajobst Aug 23, 2016
a949151
Add boundary condition tests for the inputs to HashAlgorithm.ComputeHash
bartonjs Aug 23, 2016
8960aac
Merge pull request #10926 from hughbe/coalesce-test-coverage
VSadov Aug 23, 2016
1d04509
On Linux, we were reporting the starting *stack* address for a thread…
ericeil Aug 23, 2016
8231566
Merge pull request #10464 from bartdesmet/Issue-10441
VSadov Aug 23, 2016
c3a3681
Allow to use clang 3.9 in build-native.sh
JustArchi Aug 24, 2016
82776ce
Merge pull request #11079 from ericeil/ThreadStartAddress
stephentoub Aug 24, 2016
22835e2
Merge pull request #11081 from JustArchi/patch-1
mellinoe Aug 24, 2016
2aee16f
Merge pull request #11077 from bartonjs/hashalgorithm_computehash_bou…
bartonjs Aug 24, 2016
3b45360
Change the check range for BaseAddress and EntryPointAddress
jyoungyun Aug 24, 2016
f4965c1
Merge pull request #11086 from jyoungyun/fix/issue_11085
stephentoub Aug 24, 2016
c6fb536
Merge pull request #11053 from ericeil/ExtraPoll
stephentoub Aug 24, 2016
589f5a1
Central nupkg versioning & library assm versioning
ericstj Aug 18, 2016
f3a3ceb
Increment non-standard versioned packages
ericstj Aug 18, 2016
564fe49
Rebaseline native dependencies to latest
ericstj Aug 18, 2016
765ea59
Clean up redundant AssemblyVersion properties
ericstj Aug 18, 2016
32a2212
Fix assembly version of Unsafe
ericstj Aug 22, 2016
9cd6cbc
Provide a package index for CoreFx
ericstj Aug 22, 2016
eed4ee1
Use PackageVersion instead of Version for pkgproj
ericstj Aug 22, 2016
e0465ab
Update buildtools to 1.0.26-prerelease-00723-03
ericstj Aug 23, 2016
e69b6d5
Disable NoSocketsReuseUnicastPortSupport tests
davidsh Aug 24, 2016
6b86f1d
Adding the SqlClient Stress Test framework. Providers can hook into this
saurabh500 Aug 18, 2016
f66ea62
Merge pull request #11095 from davidsh/ReuseUnicastPort_DisableTest
stephentoub Aug 24, 2016
4593773
Fix DefaultWebProxy_VerifyDefaults_Success test
ericstj Aug 24, 2016
529f028
Tests using a cleared environment for RemoteInvoke copy over LD_LIBRA…
Aug 24, 2016
9413087
Implement 3DES and AES with CommonCrypto
bartonjs Aug 22, 2016
31d9022
Addressing feedback and updating versions
saurabh500 Aug 24, 2016
f42fd10
Use -Werror in configure.cmake
mellinoe Aug 24, 2016
3359ff2
Allow Ubuntu 16.10 to initialize tools
mellinoe Aug 24, 2016
ec8080d
Prevent crash when Openssl's PKCS12_parse function fails.
Aug 24, 2016
703eccc
Add Set in the property. (#11102)
huanwu Aug 24, 2016
179dd3f
Merge pull request #10983 from saurabh500/stressframework
saurabh500 Aug 24, 2016
4c85f44
Merge pull request #11108 from mellinoe/ubuntu1610
mellinoe Aug 25, 2016
722c529
Merge pull request #11106 from bretambrose/FB-Remote-Invoke-Test-Fail…
bartonjs Aug 25, 2016
256c835
Reducing code duplication
bartdesmet Aug 25, 2016
363c45c
Correct parameter name.
Clockwork-Muse Aug 25, 2016
ed895d6
Merge pull request #11137 from Clockwork-Muse/patch-1
stephentoub Aug 25, 2016
d03650d
PR feedback
bartonjs Aug 25, 2016
b4cefcb
Normalize ccStatus out parameter name.
bartonjs Aug 25, 2016
bdc37d4
Add missing #include
bartonjs Aug 25, 2016
0743d94
Implements PEReader.TryOpenAssociatedPortablePdb (#11031)
tmat Aug 25, 2016
0487c20
Merge pull request #10971 from ericstj/specVersions
ericstj Aug 25, 2016
847df52
De-duplicate certificates when reading from a Unix X509 store
bartonjs Aug 25, 2016
5a1d55a
Add native pkgprojs for openSUSE 42.1
mellinoe Aug 25, 2016
c8336a7
Add native pkgprojs for Ubuntu 16.10
mellinoe Aug 25, 2016
075db2f
Fix a couple of typos in PortablePdb-Metadata.md
tmat Aug 25, 2016
b33a9a6
Merge pull request #11147 from bretambrose/FB-Openssl-Handle-Leak2
stephentoub Aug 25, 2016
e2f11fc
Merge pull request #11143 from bartonjs/apple_symmetric_crypto
bartonjs Aug 25, 2016
6445e82
Enable init-tools option to suppress non-error output from the consol…
chcosta Aug 25, 2016
429dfa4
Fix WinHttpHandler uri escaping for HTTP requests
davidsh Aug 25, 2016
40d16e9
Merge pull request #11153 from mellinoe/new-distro-pkgprojs
mellinoe Aug 25, 2016
2897799
Merge pull request #10708 from lemmaa/add-test-selection-feature
ellismg Aug 25, 2016
726f62a
update bt version to 1.0.26-prerelease-00725-02
maririos Aug 25, 2016
def83b7
Merge pull request #11159 from davidsh/winhttp_uri
davidsh Aug 26, 2016
ca6fe10
Merge pull request #11166 from maririos/updateBT
stephentoub Aug 26, 2016
f0f4fd7
Disable failing ServerAsyncAuthenticate test on macOS
stephentoub Aug 26, 2016
6f3cc3a
Add internal AsyncBuilderAttribute to ValueTask
stephentoub Aug 25, 2016
7c78fdc
Merge pull request #11140 from stephentoub/valuetask_asyncbuilder
stephentoub Aug 26, 2016
d8f9dc5
Merge pull request #11172 from stephentoub/disable_osx_test
stephentoub Aug 26, 2016
edd9d30
Fix ImmutableArray.Builder.Sort(Comparer) to pass correct bounds
stephentoub Aug 26, 2016
3c9bba6
Fix FVI handling of AssemblyInformationalVersionAttribute
stephentoub Aug 26, 2016
37d5d9d
Fix assert in pal_symmetric.cpp
stephentoub Aug 26, 2016
81d702c
Merge pull request #11180 from dotnet/stephentoub-patch-1
stephentoub Aug 26, 2016
4b90411
Merge pull request #11145 from bartonjs/unix_509store_filter_dupes
stephentoub Aug 26, 2016
cd58ae4
Merge pull request #11178 from stephentoub/fix_immut_array_sort
stephentoub Aug 26, 2016
913a2ac
Merge pull request #11179 from stephentoub/fix_fvi
stephentoub Aug 26, 2016
51761e5
MetadataReaderProvider should only reuse MetadataReader created with …
tmat Aug 26, 2016
099a264
Adding support for emitting nullable constants
bartdesmet Aug 26, 2016
83368ed
Add native pkgprojs for Fedora 24
mellinoe Aug 26, 2016
14c8ddd
Enhance LoopbackServer to return received data
davidsh Aug 26, 2016
1979d8f
Remove UpdateInvalidPackageVersions from Run command, fix doc.
dagood Aug 26, 2016
5262b7a
ericstj: update buildtools to 1.0.26-prerelease-00726-02
dotnet-bot Aug 26, 2016
14f5473
Address PR feedback
davidsh Aug 26, 2016
659f688
Merge pull request #11191 from bartdesmet/Issue-11188
VSadov Aug 26, 2016
5d38be0
Merge pull request #11194 from dotnet-bot/from-tfs
stephentoub Aug 26, 2016
e74f271
Flattening ValueTuple test folder and update following mscorlib (#11150)
jcouv Aug 26, 2016
0ed37cf
Fix missing System.Private.Uri dependencies
ericstj Aug 26, 2016
214bc4e
Add init-tools output to standard output (#11201)
chcosta Aug 26, 2016
ad5f2c6
Merge pull request #11192 from davidsh/loopbackserver_1
davidsh Aug 27, 2016
594046d
Merge pull request #11198 from ericstj/private.Uri.deps
ericstj Aug 27, 2016
a6e1907
Merge pull request #11193 from dagood/remove-old-updatedependencies
stephentoub Aug 27, 2016
3e0888e
Remove use of the modulo operator in Queue.Enumerator (#11101)
jamesqo Aug 27, 2016
17d2098
Reduce compiled size of HttpKnownHeaderNames.TryGetHeaderName
justinvp Aug 27, 2016
9490069
Merge pull request #11205 from justinvp/trygetheadername
davidsh Aug 27, 2016
1f91319
ARM-CI:Enable automatic checks of PRs again
sjsinju Aug 29, 2016
a8196b4
Merge pull request #11215 from sjsinju/auto_again
stephentoub Aug 29, 2016
dad4ae1
Implements GetBlobReader for StringHandle (#11214)
tmat Aug 29, 2016
e2f5a3c
Resolve aliased device names in SystemNative_EnumerateInterfaceAddres…
mellinoe Aug 29, 2016
ede4278
DeflateStream: Allow inflation without input
Aug 29, 2016
79bd427
Docs: Add /p:OSGroup to performance testing parameters
jamesqo Aug 29, 2016
b3e5163
Merge pull request #11133 from bartdesmet/Issue-11096
VSadov Aug 29, 2016
da73762
Update CoreClr, CoreFx, External to beta-24430-01, beta-24430-01, bet…
dotnet-bot Aug 30, 2016
e07f45d
Avoid losing precision in Process.StartTime on OSX
stephentoub Aug 30, 2016
d9b6b51
Fix EventHandlerList indexer
stephentoub Aug 30, 2016
3e1c10e
Remove dead code in Interop.LSAStructs.cs
stephentoub Aug 30, 2016
9e2fd18
Remove unnecessary duplicate expression in assert
stephentoub Aug 30, 2016
14de3a4
Fix misleading message in SafeDeleteContext assert
stephentoub Aug 30, 2016
256c15e
Typo in EmailAddressAttribute comment: "if" instead of "is"
cwe1ss Aug 30, 2016
e676fea
Change expected parameter name from count -> length for CompareOrdinal
jamesqo Aug 28, 2016
4a9850e
Merge pull request #11237 from jamesqo/patch-3
stephentoub Aug 30, 2016
6734303
Merge pull request #11251 from cwe1ss/patch-1
stephentoub Aug 30, 2016
d683d0e
Merge pull request #11248 from stephentoub/dup_assert_expression
stephentoub Aug 30, 2016
4697ff8
Merge pull request #11181 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 30, 2016
9bd6204
Merge pull request #11246 from stephentoub/lsastructs_deadcode
bartonjs Aug 30, 2016
ce15557
Merge pull request #11250 from stephentoub/eventhandlerlist_indexer
stephentoub Aug 30, 2016
9e36d86
Merge pull request #11249 from stephentoub/osx_starttime
stephentoub Aug 30, 2016
7cc16b7
Update CoreClr to beta-24430-03
dotnet-bot Aug 30, 2016
1a92281
Fix ProcessThread.TestStartTimeProperty flakiness
stephentoub Aug 30, 2016
fcc8e42
Merge pull request #11247 from stephentoub/fix_assert_message
stephentoub Aug 30, 2016
6298927
Remove dead code in XmlSerializationReaderILGen
stephentoub Aug 30, 2016
8dcf948
Target compatible NuGet moniker
ericstj Aug 30, 2016
ff4b7aa
Merge pull request #11259 from stephentoub/fix_processthread_test
stephentoub Aug 30, 2016
513069d
Merge pull request #11261 from stephentoub/deadcode_xmlserializer
stephentoub Aug 30, 2016
7c6d12b
Verify static NETNative targeting pack version, 1.0.1-beta-24430-00.
dagood Aug 30, 2016
1b637ea
Changing Dequeue method commend to reflect method behaviour. Dequeue …
alphonsekurian Aug 30, 2016
2b5c979
Merge pull request #11253 from ericstj/packageTargetFrameworkFixups
ericstj Aug 30, 2016
d5bc38a
Add a test to check for a root cert being findable under validOnly
bartonjs Aug 22, 2016
8da44cf
Don't dispose the system certs store before making a system trust dec…
bartonjs Aug 25, 2016
591a120
Fix some finalizes that occur in the X509 tests due to tests not call…
bartonjs Aug 26, 2016
f9767c3
Merge pull request #11256 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 30, 2016
c3042ed
Remove PackageTargetFramework usage
ericstj Aug 30, 2016
218dd00
Merge pull request #11252 from alphonsekurian/master
stephentoub Aug 30, 2016
73b7651
Add test for Marshal.GetHRForException (#11168)
jkotas Aug 30, 2016
2c1f067
Remove use of PackageDestination
ericstj Aug 30, 2016
fd80aea
Update buildtools to 1.0.26-prerelease-00730-03
ericstj Aug 30, 2016
9574d6d
Merge pull request #11273 from ericstj/removePackageTargetFramework
ericstj Aug 31, 2016
f36087f
fix coreclr issue #7005
Aug 31, 2016
d0fb971
Update CoreClr, CoreFx, External to beta-24431-02, beta-24431-01, bet…
dotnet-bot Aug 31, 2016
3cfe73f
Merge pull request #11290 from hseok-oh/fix_7005
stephentoub Aug 31, 2016
59e41af
Fix System.Runtime.Test for 32bit architecture (#11245)
hseok-oh Aug 31, 2016
7c021c4
Merge pull request #11187 from bartonjs/x509_root_isnt_validonly
bartonjs Aug 31, 2016
b39ba74
Make PathInternal.HasIllegalCharacters implementation faster on Windows
jamesqo Aug 31, 2016
a0d7132
Merge pull request #11280 from dotnet-bot/master-UpdateDependencies
stephentoub Aug 31, 2016
d371832
Add some tests for Comparer<T>
jamesqo Aug 23, 2016
2f6f9c3
Respond to PR feedback
jamesqo Aug 27, 2016
704fab3
More test coverage for nullable Comparers
jamesqo Aug 27, 2016
568b066
Use GetDeclaredMethod for cloning
jamesqo Aug 28, 2016
a531355
Merge pull request #11267 from dagood/projectn-buildinfo
dagood Aug 31, 2016
9735a94
Merge pull request #11074 from jamesqo/add-comparer-tests
stephentoub Aug 31, 2016
fe736e7
Remove UWP meta-package reference and replace with latest contents fr…
MattGal Aug 29, 2016
5d6658b
Harden Unix GetAllNetworkInterfaces against some error conditions.
mellinoe Aug 30, 2016
a273149
CodePages: Remove unnecessary use of unsafe
justinvp Aug 31, 2016
fb6da3b
Merge pull request #11190 from mellinoe/new-distro-pkgprojs
mellinoe Aug 31, 2016
293678b
Merge pull request #11233 from mellinoe/networkinformation-aliases
mellinoe Aug 31, 2016
e4fcf25
Skip Debug tests on Desktop.
Aug 27, 2016
7faaac4
Fix picking the correct platform tests for net46 runs.
Aug 29, 2016
193dbf7
Update xunit.netcore.extensions version.
Aug 31, 2016
2dc272b
Respond to PR feedback.
Aug 30, 2016
e6a59c5
Fix NodeKeyValueCollection.CopyTo implementation in .NETCore to match…
Aug 31, 2016
370f88f
Fix ListDictionary.Copy implementation in .NETCore to match Desktop.
Aug 31, 2016
db0437b
Change specialized collections tests to match current implementation.
Aug 31, 2016
04d3174
Remove unnecessary usings.
Aug 31, 2016
f5e1650
Update buildtools version.
Aug 31, 2016
c32184a
Merge pull request #10870 from mlacouture/master
shmao Aug 31, 2016
0e5aff9
Merge pull request #11235 from ianhays/inflate_flush
Aug 31, 2016
82bfbb9
Merge pull request #11219 from Priya91/fixnet46
Priya91 Aug 31, 2016
345276c
Remove unnecessry null check in DomainNameHelper
stephentoub Aug 31, 2016
a49ccdf
Merge pull request #11304 from justinvp/codepages_unsafe
stephentoub Aug 31, 2016
60fb524
Remove dead assert in Enumerable.Union
stephentoub Aug 31, 2016
2dc7359
Merge pull request #11311 from stephentoub/remove_linq_assert
stephentoub Sep 1, 2016
fb9744c
Merge pull request #11310 from stephentoub/fix_domainhelper
stephentoub Sep 1, 2016
11139d6
Merge pull request #11230 from MattGal/expand_UWP_dependency_list
weshaggard Sep 1, 2016
b2704a1
Update CoreClr, CoreFx, External to beta-24431-03, beta-24501-01, bet…
dotnet-bot Sep 1, 2016
f332ea1
Removing obselute comments in code
alphonsekurian Sep 1, 2016
8ef64b0
Merge pull request #11318 from dotnet-bot/master-UpdateDependencies
stephentoub Sep 1, 2016
980aa1b
Merge pull request #11293 from jamesqo/illegal-path-chars
stephentoub Sep 1, 2016
3a8894d
Update CoreFx to beta-24501-02
dotnet-bot Sep 1, 2016
1bfb0f9
Merge pull request #11336 from alphonsekurian/CommentCleanup
stephentoub Sep 1, 2016
022a8c2
Merge pull request #11340 from dotnet-bot/master-UpdateDependencies
stephentoub Sep 1, 2016
ea0cc67
Merge remote-tracking branch 'upstream/master' into dev/api
joperezr Sep 1, 2016
bf7911a
Changes required to have dev/api building again after merge
joperezr Sep 1, 2016
99c0132
Updating BuildTools in order to fix non-Windows CI
joperezr Sep 2, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.26-prerelease-00730-01
1.0.26-prerelease-00802-03
2 changes: 1 addition & 1 deletion Documentation/project-docs/performance-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Running the tests
### Windows
Performance test files (if present) are stored within a library's ```tests/Performance``` directory and contain test methods that are all marked with a perf-specific *Benchmark* attribute. The performance tests will only be run if the ```performance``` property is set to ```true```.

To build and run the tests using msbuild for a project, run ```msbuild /t:BuildAndTest /p:Performance=true /p:Configuration=Release``` from the tests directory. If the v5.0 assemblies aren't installed on your system, an error will be raised and no tests will be run.
To build and run the tests using msbuild for a project, run ```msbuild /t:BuildAndTest /p:Performance=true /p:ConfigurationGroup=Release /p:OSGroup=Windows_NT``` from the tests directory. If the v5.0 assemblies aren't installed on your system, an error will be raised and no tests will be run.

Note: Because build.cmd runs tests concurrently, it's not recommended that you execute the perf tests using it.

Expand Down
33 changes: 8 additions & 25 deletions Documentation/project-docs/project-nuget-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,15 @@ As a historical note, `project.json` files in CoreFX previously had floating dep
Dependency version validation
-----------------------------

The dependencies in each CoreFX project.json file are validated by a few rules to ensure package versions across the repository stay in sync. These rules are in `dir.props`, as `ValidationPattern` items. Each `ValidationPattern` item includes a regular expression that matches a set of package identities and metadata describing which version is expected for that regular expression. The metadata must be one of these:

* `ExpectedPrerelease`: a prerelease version is expected, but any major, minor, and patch versions are fine. For example, an `ExpectedVersion` of `rc-12345` is valid for `1.0.0-rc-12345`, `5.4.3-rc-12345`, or any other `*-rc-12345`
* `ExpectedVersion`: the full version string needs to match exactly. An example is `1.0.0-prerelease`.
The dependencies in each CoreFX project.json file are validated by a few rules in `dependencies.props` to ensure package versions across the repository stay in sync.

Errors you can expect from failed dependency version validation are like the following:

error : Dependency validation error: for System.IO 4.0.10-rc2-10000 in src\System.Collections\tests\project.json package prerelease is 'rc2-10000', but expected 'rc2-23604' for packages matching '^((System\..*)|(Microsoft\.CSharp)|(Microsoft\.NETCore.*)|(Microsoft\.Win32\..*)|(Microsoft\.VisualBasic))(?<!TestData)$'

error : Dependency validation error: for System.Linq 4.0.0-beta-* in src\System.Collections\tests\project.json package prerelease is 'beta-', but expected 'rc2-23604' for packages matching '^((System\..*)|(Microsoft\.CSharp)|(Microsoft\.NETCore.*)|(Microsoft\.Win32\..*)|(Microsoft\.VisualBasic))(?<!TestData)$'
error : Floating dependency detected: System.Linq 4.0.0-beta-* in src\System.Collections\tests\project.json
C:\git\corefx\Tools\VersionTools.targets(47,5): error : Dependency verification errors detected. To automatically fix based on dependency rules, run the msbuild target 'UpdateDependencies' [C:\git\corefx\build.proj]
C:\git\corefx\Tools\VersionTools.targets(47,5): error : Dependencies invalid: In 'C:\git\corefx\src\Common\test-runtime\project.json', 'Microsoft.DotNet.BuildTools.TestSuite 1.0.0-prerelease-00704-04' must be '1.0.0-prerelease-00704-05' (Microsoft.DotNet.BuildTools.TestSuite) [C:\git\corefx\build.proj]
C:\git\corefx\Tools\VersionTools.targets(47,5): error : Dependencies invalid: In 'C:\git\corefx\src\Common\tests\project.json', 'Microsoft.xunit.netcore.extensions 1.0.0-prerelease-00704-04' must be '1.0.0-prerelease-00704-05' (Microsoft.xunit.netcore.extensions) [C:\git\corefx\build.proj]

error : Dependency validation error: for xunit 2.0.0 in src\System.Collections\tests\project.json package version is '2.0.0' but expected '2.1.0' for packages matching '^xunit$'

To fix these, you can manually modify the `project.json` files mentioned or automatically fix them using the `UpdateInvalidPackageVersions` target described in the next section.
To fix these, you can manually modify the `project.json` files mentioned or automatically fix them using the `UpdateDependencies` target described in the next section.

Upgrading a package dependency
------------------------------
Expand All @@ -33,22 +27,11 @@ To update a package that isn't validated by a rule, simply change the project.js

To update a package that is validated, follow these steps:

1. Edit `ValidationPattern` item(s) in `dir.props` in the CoreFX root.
1. Edit the versions repo commit hashes in `(CoreFx|CoreClr|External)CurrentRef` and `StaticDependency` versions in `dependencies.props` in the CoreFX root.
2. Run the dependency update target in the repository root using this command:

build.cmd -UpdateInvalidPackageVersions
build-managed.cmd -- /t:UpdateDependencies

3. Commit the automated updates in an independent commit, isolating them from other changes. This makes pull requests easier to review.

The `UpdateInvalidPackageVersions` target looks through all dependencies, using the validation rules to update any invalid versions. The build prints out which dependencies are updated and which project.json files are written.

Recovering from a non-existent prerelease dependency
----------------------------------------------------

Sometimes upgrading the prerelease version can make `project.json` files contain dependencies that don't exist. For example, if you update a rule's valid prerelease from `beta-100` to `beta-200`, but around `beta-150` a stable version of `System.Foo` was released and prereleases changed from `1.0.0-beta-...` to `1.1.0-beta-...`, automatic package updating would result in a dependency on `1.0.0-beta-200`. However, only `1.1.0-beta-200` exists.

To fix this, use the `UpdatePackageDependencyVersion` target:

msbuild /t:UpdatePackageDependencyVersion /p:PackageId=System.Foo;OldVersion=1.0.0-beta-200;NewVersion=1.1.0-beta-200

This updates the `System.Foo` version in all `project.json` files in CoreFX.
The `UpdateDependencies` target looks through all dependencies, using the validation rules to update any invalid versions. On `/verbosity:Normal` or higher, it logs which files were changed.
7 changes: 5 additions & 2 deletions Packaging.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<!-- temporary change until buildtools can be updated https://github.com/dotnet/buildtools/issues/831 -->
<LineupPackageVersion Condition="'$(LineupPackageVersion)' == ''">1.0.3</LineupPackageVersion>
<PlatformPackageVersion Condition="'$(PlatformPackageVersion)' == ''">1.0.2</PlatformPackageVersion>

<!-- by default all packages will use the same version which revs with respect to product version -->
<PackageVersion Condition="'$(PackageVersion)' == ''">4.3.0</PackageVersion>
<SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
</PropertyGroup>

Expand All @@ -36,11 +39,11 @@
<!-- Add required legal files to packages -->
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.pkgproj'">
<File Condition="Exists('$(PackageLicenseFile)')"
Include="$(PackageLicenseFile)" >
Include="$(PackageLicenseFile)" >
<SkipPackageFileCheck>true</SkipPackageFileCheck>
</File>
<File Condition="Exists('$(PackageThirdPartyNoticesFile)')"
Include="$(PackageThirdPartyNoticesFile)" >
Include="$(PackageThirdPartyNoticesFile)" >
<SkipPackageFileCheck>true</SkipPackageFileCheck>
</File>
</ItemGroup>
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ Want to chat with other members of the CoreFX community?
This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/)
to clarify expected behavior in our community. For more information, see the [.NET Foundation Code of Conduct](http://www.dotnetfoundation.org/code-of-conduct).

### Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the
Microsoft Security Response Center (MSRC) <secure@microsoft.com>. You should
receive a response within 24 hours. If for some reason you do not, please follow
up via email to ensure we received your original message. Further information,
including the MSRC PGP key, can be found in the
[Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094.aspx).

## .NET Core Library Components

The repo contains the source for each of the assemblies that comprises .NET Core. Each ```Microsoft.*``` or ```System.``` folder under
Expand Down
5 changes: 5 additions & 0 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@

<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Restoring all packages..." />

<IsRestoreRequired ProjectJsons="@(ProjectJsonFiles)" PackagesFolder="$(PackagesDir)">
<Output TaskParameter="RestoreRequired" PropertyName="RestoreRequired" />
</IsRestoreRequired>

<Exec Command="$(DnuRestoreCommand) @(DnuRestoreDir->'&quot;%(Identity)&quot;', ' ')"
Condition="'$(RestoreRequired)' == 'true'"
StandardOutputImportance="Low"
CustomErrorRegularExpression="(^Unable to locate .*)|(^Updating the invalid lock file with .*)"
ContinueOnError="ErrorAndContinue" />
Expand Down
15 changes: 7 additions & 8 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,6 @@
"values": [],
"defaultValue": ""
},
"UpdateInvalidPackageVersions": {
"description": "MsBuild target that looks through all dependencies and using the validation rules, updates any invalid versions.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanAllProjects": {
"description": "MsBuild target that deletes the binary output directory.",
"valueType": "target",
Expand All @@ -239,7 +233,13 @@
"valueType": "target",
"values": [],
"defaultValue": ""
}
},
"ProducesTarget": {
"description": "MsBuild target that displays all of the artifacts this repo produces.",
"valueType": "target",
"values": [],
"defaultValue": ""
}
},
"commands": {
"build-managed": {
Expand Down Expand Up @@ -407,7 +407,6 @@
"toolName": "msbuild",
"settings": {
"Project": "src/packages.builds",
"MsBuildParameters": "default",
"ProducesTarget":"default"
}
}
Expand Down
6 changes: 5 additions & 1 deletion dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,12 @@
<Version>2.1.0</Version>
</StaticDependency>

<!--
The NETNative targeting pack is in the projectn-tfs build-info, but auto-upgrade isn't wanted.
Verify it at a static version rather than referencing the build-info.
-->
<StaticDependency Include="Microsoft.xunit.netcore.extensions;Microsoft.DotNet.BuildTools.TestSuite">
<Version>1.0.0-prerelease-00704-03</Version>
<Version>1.0.0-prerelease-00731-01</Version>
</StaticDependency>

<DependencyBuildInfo Include="@(StaticDependency)">
Expand Down
4 changes: 2 additions & 2 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Condition="Exists('..\dir.props')" Project="..\dir.props" />

<!-- We shipped assembly file version 4.6.x up until the end of rc3. Version assembly as
<!-- We shipped assembly file version 4.6.x up until the end of rc3. Version assembly as
4.6.x to ensure compatability in Visual Studio for an in-place update. -->
<PropertyGroup>
<MajorVersion>4</MajorVersion>
Expand All @@ -18,7 +18,7 @@
</PropertyGroup>

<PropertyGroup>
<XunitPerfAnalysisPackageVersion>1.0.0-alpha-build0039</XunitPerfAnalysisPackageVersion>
<XunitPerfAnalysisPackageVersion>1.0.0-alpha-build0040</XunitPerfAnalysisPackageVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
12 changes: 12 additions & 0 deletions dir.targets
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,16 @@
</TestNugetTargetMoniker>
</ItemGroup>

<ItemGroup Condition="'$(NuGetTargetMoniker)'=='.NETStandard,Version=v1.7'">
<!-- Temporarily suppress the message until we get a nuget version that knows about the mapping between netstandard1.7 and uap10.1 -->
<SuppressPackageTargetFrameworkCompatibility Include="uap10.1" />
</ItemGroup>

<Target Name="ProducesPackageId"
Returns="@(PackageIds)">
<ItemGroup>
<PackageIds Include="$(Id)" />
</ItemGroup>
</Target>

</Project>
26 changes: 26 additions & 0 deletions dir.traversal.targets
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,32 @@
ContinueOnError="ErrorAndContinue" />
</Target>

<Target Name="ProducesPackageId"
Returns="@(PackageIds)"
DependsOnTargets="FilterProjects">
<MSBuild Targets="ProducesPackageId"
Projects="@(Project)"
BuildInParallel="true"
ContinueOnError="ErrorAndContinue">
<Output TaskParameter="TargetOutputs"
ItemName="PackageIds" />
</MSBuild>
<ItemGroup>
<PackageIds Include="@(PackageIds)" />
</ItemGroup>
</Target>

<Target Name="ProducesTarget" DependsOnTargets="FilterProjects">
<MSBuild Targets="ProducesPackageId"
Projects="@(Project)"
BuildInParallel="true"
ContinueOnError="ErrorAndContinue">
<Output TaskParameter="TargetOutputs"
ItemName="PackageIds" />
</MSBuild>
<Message Text="%(PackageIds.Identity)" Importance="High" />
</Target>

<Target Name="BuildAllProjects" DependsOnTargets="FilterProjects">
<PropertyGroup>
<DefaultBuildAllTarget Condition="'$(DefaultBuildAllTarget)'==''">$(MSBuildProjectDefaultTargets)</DefaultBuildAllTarget>
Expand Down
6 changes: 3 additions & 3 deletions init-tools.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ set DOTNET_LOCAL_PATH=%DOTNET_PATH%%DOTNET_ZIP_NAME%
echo Installing '%DOTNET_REMOTE_PATH%' to '%DOTNET_LOCAL_PATH%' >> "%INIT_TOOLS_LOG%"
powershell -NoProfile -ExecutionPolicy unrestricted -Command "$retryCount = 0; $success = $false; do { try { (New-Object Net.WebClient).DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); $success = $true; } catch { if ($retryCount -ge 6) { throw; } else { $retryCount++; Start-Sleep -Seconds (5 * $retryCount); } } } while ($success -eq $false); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> "%INIT_TOOLS_LOG%"
if NOT exist "%DOTNET_LOCAL_PATH%" (
echo ERROR: Could not install dotnet cli correctly. See '%INIT_TOOLS_LOG%' for more details.
echo ERROR: Could not install dotnet cli correctly. See '%INIT_TOOLS_LOG%' for more details. 1>&2
exit /b 1
)

Expand All @@ -54,7 +54,7 @@ echo Restoring BuildTools version %BUILDTOOLS_VERSION%...
echo Running: "%DOTNET_CMD%" restore "%PROJECT_JSON_FILE%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" >> "%INIT_TOOLS_LOG%"
call "%DOTNET_CMD%" restore "%PROJECT_JSON_FILE%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" >> "%INIT_TOOLS_LOG%"
if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
echo ERROR: Could not restore build tools correctly. See '%INIT_TOOLS_LOG%' for more details.
echo ERROR: Could not restore build tools correctly. See '%INIT_TOOLS_LOG%' for more details. 1>&2
exit /b 1
)

Expand All @@ -65,7 +65,7 @@ echo Running: "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRU
call "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
set INIT_TOOLS_ERRORLEVEL=%ERRORLEVEL%
if not [%INIT_TOOLS_ERRORLEVEL%]==[0] (
echo ERROR: An error occured when trying to initialize the tools. Please check '%INIT_TOOLS_LOG%' for more details.
echo ERROR: An error occured when trying to initialize the tools. Please check '%INIT_TOOLS_LOG%' for more details. 1>&2
exit /b %INIT_TOOLS_ERRORLEVEL%
)

Expand Down
7 changes: 3 additions & 4 deletions init-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ OSName=$(uname -s)
__DOTNET_PKG=dotnet-dev-ubuntu.14.04-x64
else
source /etc/os-release
if [[ "$ID" == "ubuntu" && "$VERSION_ID" != "14.04" && "$VERSION_ID" != "16.04" ]]; then
if [[ "$ID" == "ubuntu" && "$VERSION_ID" != "14.04" && "$VERSION_ID" != "16.04" && "$VERSION_ID" != "16.10" ]]; then
echo "Unsupported Ubuntu version, falling back to Ubuntu 14.04."
__DOTNET_PKG=dotnet-dev-ubuntu.14.04-x64
else
Expand All @@ -47,7 +47,6 @@ OSName=$(uname -s)
;;
esac
fi

if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then
if [ -e $__TOOLRUNTIME_DIR ]; then rm -rf -- $__TOOLRUNTIME_DIR; fi
echo "Running: $__scriptpath/init-tools.sh" > $__init_tools_log
Expand Down Expand Up @@ -76,14 +75,14 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then
echo "Restoring BuildTools version $__BUILD_TOOLS_PACKAGE_VERSION..."
echo "Running: $__DOTNET_CMD restore \"$__PROJECT_JSON_FILE\" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE" >> $__init_tools_log
$__DOTNET_CMD restore "$__PROJECT_JSON_FILE" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE >> $__init_tools_log
if [ ! -e "$__BUILD_TOOLS_PATH/init-tools.sh" ]; then echo "ERROR: Could not restore build tools correctly. See '$__init_tools_log' for more details."; fi
if [ ! -e "$__BUILD_TOOLS_PATH/init-tools.sh" ]; then echo "ERROR: Could not restore build tools correctly. See '$__init_tools_log' for more details."1>&2; fi
fi

echo "Initializing BuildTools..."
echo "Running: $__BUILD_TOOLS_PATH/init-tools.sh $__scriptpath $__DOTNET_CMD $__TOOLRUNTIME_DIR" >> $__init_tools_log
$__BUILD_TOOLS_PATH/init-tools.sh $__scriptpath $__DOTNET_CMD $__TOOLRUNTIME_DIR >> $__init_tools_log
if [ "$?" != "0" ]; then
echo "ERROR: An error occured when trying to initialize the tools. Please check '$__init_tools_log' for more details."
echo "ERROR: An error occured when trying to initialize the tools. Please check '$__init_tools_log' for more details."1>&2
exit 1
fi
touch $__INIT_TOOLS_DONE_MARKER
Expand Down
Loading