Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-14Update dependencies from https://github.com/dotnet/linker build 20220413.2darc-main-9714be7e-f6e4-4abc-923d-558ca47ea2b8dotnet-maestro[bot]
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22205.1 -> To Version 7.0.100-1.22213.2
2022-04-13Update dependencies from https://github.com/dotnet/linker build 20220412.1dotnet-maestro[bot]
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22205.1 -> To Version 7.0.100-1.22212.1
2022-04-13Remove explicit InitializeBinaryFormatter substitution for wasmMarek Safar
Same is done at SDK level
2022-04-12Tweak the test more (instead of messing with debug builds)Marek Safar
2022-04-12Update dependencies from https://github.com/dotnet/linker build 20220411.1dotnet-maestro[bot]
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22205.1 -> To Version 7.0.100-1.22211.1
2022-04-11Improve test checksMarek Safar
2022-04-09Update dependencies from https://github.com/dotnet/linker build 20220408.1dotnet-maestro[bot]
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22205.1 -> To Version 7.0.100-1.22208.1
2022-04-08Remove unused methodvitek-karas
The GetSerializationCtor doesn't seem to be used. It's actually not in the build output since it's trimmed away. With the improved linker it produces a warning (correctly), but as it's not needed, it can be removed.
2022-04-08Update dependencies from https://github.com/dotnet/linker build 20220407.1dotnet-maestro[bot]
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22205.1 -> To Version 7.0.100-1.22207.1
2022-04-07Update dependencies from https://github.com/dotnet/linker build 20220406.2dotnet-maestro[bot]
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22205.1 -> To Version 7.0.100-1.22206.2
2022-04-07JIT: Fix UB in CreateConstVector (strict alignment) (#67669)Egor Bogatov
2022-04-07Update xharness to latest version (#67667)Alexander Köplinger
Needed for some perf scenarios.
2022-04-07Split Reflection and SourceGen TypeInfos (#67526)Krzysztof Wicher
* Split Reflection and SourceGen TypeInfos * Apply PR feedback * improve exception unwrapping
2022-04-07[debugger][wasm] ValueTypeClass refactoring. (#63626)Ilona Tomkowicz
* Refactoring. * Added null-indexing check. * Cleaning ValueTypeClass. * Moving public method below private fields. * Applied @radical's comments about readonly fields and method names simplification. * Rename and correct switch case error. Switch case should be based on GetValues result, not GetValueTypeClass.
2022-04-07Various fixes for merged test runners on Mono (#67665)Jeremy Koritzinsky
2022-04-07Remove _caseInsensitive field from RegexInterpreter (#67681)Stephen Toub
2022-04-07System.Runtime no longer needs to enable preview features (#67162)Jeff Handley
* System.Runtime no longer needs to enable preview features * Remove diagnostic suppression around VirtualStaticsInInterfaces * Remove remaining CA2252 suppressions for VirtualStaticsInInterfaces
2022-04-07Fix System.DirectoryServices.Protocols to work on Linux (#67338)Petteri Stenius
Co-authored-by: Petteri Stenius <petteri.stenius@gmail.com>
2022-04-07Revert "Enable MSVC standard conformance for JIT sources (#67608)" (#67674)Jakob Botsch Nielsen
This reverts commit 548bb581b632b40c8caf1aa39514590b7b183926.
2022-04-07Add libssl3 dependency (#67658)Nikola Milosavljevic
2022-04-07Pin Roslyn version for generators in .NET 7 ref pack (#67599)Jeremy Koritzinsky
Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
2022-04-07[main] Update dependencies from dotnet/linker (#67581)dotnet-maestro[bot]
* Update dependencies from https://github.com/dotnet/linker build 20220404.1 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22178.1 -> To Version 7.0.100-1.22204.1 * Update dependencies from https://github.com/dotnet/linker build 20220405.1 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22178.1 -> To Version 7.0.100-1.22205.1 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-04-06Disable HandleCollectionsAsync for OSX x64 (#67662)Eirik Tsarpalis
2022-04-06Allow access to child providers in ChainedConfigurationProvider (#67610)Maryam Ariyan
2022-04-06Enable MSVC standard conformance for JIT sources (#67608)Jakob Botsch Nielsen
The JIT sources pretty much already compiled under this mode except for one thing that could just be fixed by removing the code. This will catch some obvious bugs, like passing 'false' as a pointer.
2022-04-06[mono][llvm] Remove support for llvm 9.x, the 11.x support is stable … ↵Zoltan Varga
(#67277) * [mono][llvm] Remove support for llvm 9.x, the 11.x support is stable enough. * Use llvm 11.x APIs in some places. * Remove cmake support for llvm 9.x as well.
2022-04-06Proposed changes to ECMA 335 for checked user-defined operators (#66714)AlekseyTs
C# now supports defining `checked` variants of the following user-defined operators so that users can opt into or out of overflow behavior as appropriate: * The `++` and `--` unary operators [§11.7.14](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/expressions.md#11714-postfix-increment-and-decrement-operators) and [§11.8.6](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/expressions.md#1186-prefix-increment-and-decrement-operators). * The `-` unary operator [§11.8.3](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/expressions.md#1183-unary-minus-operator). * The `+`, `-`, `*`, and `/` binary operators [§11.9](https://github.com/dotnet/csharpstandard/blob/draft-v6/standard/expressions.md#119-arithmetic-operators). * Explicit conversion operators. Motivation: There is no way for a user to declare a type and support both checked and unchecked versions of an operator. This makes it hard to port various algorithms to use the proposed `generic math` interfaces exposed by the libraries team. Likewise, this makes it impossible to expose a type such as `Int128` or `UInt128` without the language simultaneously shipping its own support to avoid breaking changes. This change adds names for the new checked operators to the specification.
2022-04-06Disable RegexExperiment testsStephen Toub
These were accidentally left enabled.
2022-04-06Disable System.Net.Quic.Tests.QuicStreamTests.WriteAsync_LocalAbort_Throws ↵Radek Zikmund
(#67638) Contributes to #67612
2022-04-06Change Regex UnicodeCategoryRanges to use spans (#67576)Stephen Toub
* Change Regex UnicodeCategoryRanges to use spans This avoids the overhead of allocating this data in large byte arrays. * Clean up after merge
2022-04-06Improve handling of more common Regex sets (#67365)Stephen Toub
- Today for a set like [\r\n], we'll emit a comparison that compares the char to each of '\r' and '\n', but for a set like [^\r\n], we end up falling back to emitting a lookup table. With this PR, we simply use the existing support for the non-negating case, just negating the result. - Today for a set like [\p{IsGreek}\p{IsGreekExtended}] that ends up being two ranges, we'll fall back to our lookup table. With this PR, we'll emit it as two range checks. - Today for a set like [A-Za-z], we'll fall back to our lookup table. As a special case of two-range support, with this PR we'll now recognize that these ranges are just one bit flip away from each other, and we'll employ the normal ASCII casing to do a single range comparison against the input or'd with a mask. - Today as a fallback, we employ a lookup table stored in a string; this requires a bounds check, dereferencing the string object, doing the math to find the right index, doing the math to find the right bit, etc. With this PR, for sets composed only of ranges where the exclusiveMax - inclusiveMin <= 64, with this PR we'll now emit it as a lookup into a ulong that's done in a branchless fashion and is much faster. - It appears to be relatively common for folks to use [\d\D], [\w\W], or [\s\S] as a simple way of saying "match anything"; RegexOptions.Singleline changes '.' to mean this as well. We already have special handling for '.' with Singleline as "AnyClass"... this just normalizes those other common representations into the same shape so that everyhing else recognizes them accordingly. - Today when we see an AnyClass, we emit a nonsense comparison that always results in true (or false for negations); that's because, for a while, the expression given to the matching routine may have had side effects. There are no longer side effects, though, so it's ok to just emit "true" or "false" directly and make the operation cheaper. - For every optimization we have in MatchCharacterClass, we should always be able to handle negation trivially. - Handle character classes composed of multiple UnicodeCategories. This helps with composed categories, like \p{N}. - Fix hard-coded char class strings for \W and \S. There are multiple ways to invert a RegexCharClass string: you can invert the whole string by just setting the invert flag, or you can invert all the individual components, e.g. if the string is composed of only categories, invert each category. The hardcoded string the parser uses when you write \W simply sets the negated bit, but this causes problems if \W is used as [\W], because then the individual components are added into a larger set that doesn't have negation set. And that means \W and [\W] result in different strings, which means any place we special-case the string for \W, we don't recognize [\W]. The same applies to \S. This commit changes the hardcoded string for \W and \S to use the more canonical form. Also, the implementation generally uses "set" and "class" interchangeably, but when specifying the ECMA-related strings, it uses "set" to actually mean "ranges", which is very confusing. I've changed them.
2022-04-06Introduce write barriers in wasm bindings, migrate to ref/out params, add gc ↵Katelyn Gadd
safe regions (#65994) Introduce write barriers in key parts of the wasm bindings and migrate most code to use ref/out parameters instead of passing raw managed pointers as arguments or return values. Introduced MonoObjectRef typescript type and corresponding 'R' signature char (for 'ref/out object') Marked various old/unsafe code as deprecated Fixed some incorrect rooting in websocket APIs Introduced 'volatile' attribute on various C pointers in the bindings Added GC unsafe/safe regions in key parts of the C bindings Expanded exported APIs
2022-04-06log entire content to see which assertion fails (#67586)Adam Sitnik
* add AssertExtensions.Eqal(string, string) that logs entire content if provided strings are not equal * log entire content to see which assertion fails
2022-04-06Add CipherSuitesPolicy support for MsQuic (#67239)Radek Zikmund
* Add CipherSuitesPolicy support for MsQuic * Add tests * Code review feedback * Fix test
2022-04-06Re-enable a few Regex source generator tests (#67585)Stephen Toub
2022-04-06Changing the logic for how we deal with RegexOptions.IgnoreCase matching. ↵Jose Perez Rodriguez
(#67184) * Changing the logic for how we deal with RegexOptions.IgnoreCase matching. * Addressing first round of feedback * Addressing more feedback. * - Ensure that Backreferences use the same case behavior that the casing table does when using IgnoreCase. - Addressing more feedback. * Apply suggestions from code review Co-authored-by: Stephen Toub <stoub@microsoft.com> * Address more feedback * Fix allocation regression for patterns with a lot of ascii letters * Skip few tests in Browser and .NET Framework * Skip one more test that shouldn't be ran on wasm * Address more PR Feedback * More feedback * Skip tests that are failing in NLS-globalization queues Co-authored-by: Stephen Toub <stoub@microsoft.com>
2022-04-06Use ComSmartPtr in tests (#67584)Andrii Kurdiumov
* Use ComSmartPtr in tests See https://github.com/dotnet/winforms/pull/6743#discussion_r837019661 for discussion Co-authored-by: Aaron Robinson <arobins@microsoft.com>
2022-04-06[iOS] Disable ↵Steve Pfister
OptionsMonitorTest.TestCurrentValueDoesNotAllocateOnceValueIsCached (#67613) Created a tracking issue so that it can be fixed at a later date and not block the extra-platforms rolling build. https://github.com/dotnet/runtime/issues/67611
2022-04-05[tests] Re-enable generic math Create tests on iOS (#67542)Aleksey Kliger (λgeek)
Fixes https://github.com/dotnet/runtime/issues/61920 Fixed by https://github.com/dotnet/runtime/pull/66739
2022-04-05Move tests that touch the network to outerloop only for infra-stability ↵Jeremy Koritzinsky
reasons (#67593) * Move tests that touch the network to outerloop only for infra-stability reasons * PR feedback
2022-04-05Disable deleting call counting stubs (#67563)Koundinya Veluri
It's currently incompatible with the W^X changes, and there's another rare issue that may cause a crash when checking if a precode target is a jump stub. Memory impact on x64: Calling and tiering up ~10 K empty methods causes the following amount of memory to remain. Methods with stubs: 10139 Memory usage: ~876 KB Memory usage per method with stub: ~88.5 B Committed memory at the end after GC: ~9.5 MB On a larger test case that compiles Roslyn sources 16 times in the same process, the numbers are similar. Methods with stubs: 22141 Memory usage: ~1913 KB Memory usage per method with stub: ~88.5 B Committed memory at the end after GC: 90-95 MB It should be possible to reduce the leaked memory per method with stub from ~88.5 B to about 10-16 B depending on architecture in the future if necessary. - Fixes https://github.com/dotnet/runtime/issues/66924 - Fixes https://github.com/dotnet/runtime/issues/66424
2022-04-05Revert "Publish crossgen as AOT if supported by the target platform ↵Andy Gocke
(#65948)" (#67590) This reverts commit 0d1e04ba2a9ebc9d21a7f65db00407dd0056b547.
2022-04-05Update error message for runtime not found (#67564)Elinor Fung
2022-04-05Fix too wide constant stores to parameters on macOS (#67336)Jakob Botsch Nielsen
Fix #67331
2022-04-05[QUIC] Call SendResettableCompletionSource.CompleteException in AbortWrite ↵Radek Zikmund
(#67341) * Call SendResettableCompletionSource.CompleteException in AbortWrite * Add test * fixup! Add test * Use loop to make the test more robust
2022-04-05Don't pass --minimize to Xcode 13.3 dsymutil (#67543)Aleksey Kliger (λgeek)
* Don't pass --minimize to Xcode 13.3 dsymutil Fixes https://github.com/dotnet/runtime/issues/66770 New xcode command line tools dropped support for the `--minimize` option (which is now the default). The related LLVM change is https://github.com/llvm/llvm-project/commit/5d07dc897707f877c45cab6c7e4b65dad7d3ff6d * fix build with older Xcodes use a list of options, not a single option with a space in it Co-authored-by: Kevin Jones <vcsjones@github.com>
2022-04-05Don't force `TieredCompilation=0` for SuperPMI replay job (#67489)Bruce Forstall
Use whatever flags already are baked into the SuperPMI collection.
2022-04-05Disable `Microsoft.Extensions.Hosting.WindowsServices.Tests` for (#67550)Ankit Jain
* Disable `Microsoft.Extensions.Hosting.WindowsServices.Tests` for .. non-windows platforms. * UseWindowsServiceTests: Mark the test as windows only * Fix build
2022-04-05Updating the generic math interfaces according to the last API review (#67453)Tanner Gooding
* Create INumberBase and allow Complex to implement it * Move DivRem to only be available for IBinaryInteger * Split apart various floating-point interfaces for better extensibility * Annotate the generic math interfaces to implement on BigInteger and Complex * Moving various generic math interfaces into the System.Numerics namespace * Split various generic math interfaces into their own file for easier discoverability * IParseable -> IParsable * Update ISignedNumber and IUnsignedNumber to be "marker" interfaces * PI -> Pi and IEEERemainder -> Ieee754Remainder * Removing the various TInteger constraints in favor of using int where feasible * Moving IDivisionOperators and ISpanFormattable down to INumberBase * Moving CopySign, IsNegative, MaxMagnitude, and MinMagnitude down to INumber * Create<TOther> -> CreateChecked<TOther> * Updating various generic math tests * Update src/libraries/System.Private.CoreLib/src/System/Numerics/INumber.cs Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr> * Fixing the reference assembly for System.Numerics.Complex * Removing generic math support from System.Numerics.Complex until the trimming issue can be resolved Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>
2022-04-04Disable some interop tests on Win-ARM32 (#67553)Aaron Robinson