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
path: root/src
AgeCommit message (Collapse)Author
2022-07-11Stop throwing when attempting to validate a JObject. (#71717)Arthur Vickers
2022-07-11Improve JsonSerializerContext error messages in combined contexts. (#71936)Eirik Tsarpalis
* Improve JsonSerializerContext error messages in combined contexts. * Update src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializerOptions.cs Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com> Co-authored-by: Krzysztof Wicher <mordotymoja@gmail.com>
2022-07-11Consolidate Newtonsoft versions (#71402)Adeel Mujahid
* Consolidate Newtonsoft versions * Set JsonTextReader's MaxDepth to null In v13, defaults are changed from null to 64. * Revert NetCoreServer used by xharness
2022-07-11Update System.CommandLine from 2.0.0-beta3 to beta4 (#71916)Adeel Mujahid
2022-07-11NegotiateAuthentication: Implement additional API surface (#71777)Filip Navara
* Implement NegotiateAuthentication.Wrap/Unwrap/UnwrapInPlace APIs Updated unit tests Migrate System.Net.Mail to use NegotiateAuthentication API * Implementation of extended protection policy and impersonation in NegotiateAuthentication
2022-07-11[wasm] closing invalid http host header as would not fix (#71923)Pavel Savara
2022-07-11[wasm] fix Debug configuration compilation (#71929)Radek Doulik
Current emcc compiler has problems with unicode chars in JS comments. Update our sources as workaround, before we have better solution.
2022-07-11Avoid SafeHandle finalization from failed registry operations (#71854)Stephen Toub
2022-07-11Remove unused files from System.Net.Http.csproj (#71912)Stephen Toub
2022-07-11Fix ordering of adding in Regex's BitVector.GetHashCode (#71913)Stephen Toub
It's slightly cheaper to call AddBytes before Add(int).
2022-07-11Disable SYSLIB1045 for System.Text.RegularExpressions.Tests (#71914)Stephen Toub
We explicitly want to test Regex's ctors and static methods in the Regex tests.
2022-07-11Redo minor cleanups in System.Runtime.Numerics (#71274)Huo Yaoyuan
* Replace union with BitConverter * Cleanup complex * Use HashCode * Update src/libraries/System.Runtime.Numerics/src/System/Numerics/NumericsHelpers.cs * Update src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs Co-authored-by: Tanner Gooding <tagoo@outlook.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Tanner Gooding <tagoo@outlook.com>
2022-07-11Fix annotation on XmlElement constructor parameter (#71860)Steve Dunn
* Fixes #71858 * Add nullable annotation to other methods that take a nullable prefix and namespace URI * Annotate missing methed on ref XmlElement * More annotations
2022-07-11Fix HttpQSCollection.ToString to not throw (#71903)feiyun0112
* fix #71871 * Update src/libraries/System.Web.HttpUtility/src/System/Web/HttpUtility.cs Co-authored-by: Stephen Toub <stoub@microsoft.com>
2022-07-11PeriodicTimer XML documentation improvement (#71905)Theodor Zoulias
* PeriodicTimer XML documentation improvement Improved the XML documentation text for the ArgumentOutOfRangeException that can be thrown when the period is less than 1 millisecond. The current text states that values greater than 0 are valid, which is not true for real numbers between 0.0 and 1.0. * Update src/libraries/System.Private.CoreLib/src/System/Threading/PeriodicTimer.cs Co-authored-by: Stephen Toub <stoub@microsoft.com>
2022-07-10[QUIC] API QuicListener (#71579)Marie Píchová
* QuicListener new API shape including compilable implementation * Quic and Http tests compile * Tests work * Feedback * Fix Windows error * Feedback * Listener comment; PreviewFeature attribute * Updated helix image with msquic * Cleaned up PreviewFeature attribute. * Feedback * Split event handlers into methods. * Added comments for pending connection. * Switch expression for HandleEvent
2022-07-10[wasm]: JavaScript interop with [JSImport] and [JSExport] attributes and ↵Pavel Savara
Roslyn (#66304) Co-authored-by: Marek Fišera <mara@neptuo.com> Co-authored-by: Katelyn Gadd <kg@luminance.org>
2022-07-10Add runtime reflection tests for generic constraints (#71898)Jan Kotas
2022-07-10Propagate typeof() during inlining (#71778)Egor Bogatov
Co-authored-by: Andy Ayers <andya@microsoft.com>
2022-07-10Do not compact blocks that participate in alignment or from different ↵Kunal Pathak
loopnum (#71868)
2022-07-10[wasm-mt] Fixup after Emscripten 3.1.12 bump (#71893)Aleksey Kliger (λgeek)
Emscripten 3.1.12 library_pthread.js renamed PThread["threadInit"] to PThread["threadInitTLS"]
2022-07-10Fix miscellaneous typos (#71896)Adeel Mujahid
2022-07-10Vectorize Convert.ToBase64String (#71795)Egor Bogatov
* Use utf8 version * Clean up * Clean up * add an assert * Update Convert.cs * Update Convert.cs * change access * fix build * Address feedback * Address feedback * Address feedback * fix compilation issue * update System.Runtime.cs * Add more tests * Update Convert.ToBase64String.cs * Update Convert.ToBase64String.cs * oops...
2022-07-10Delete dead code (#71892)Jan Kotas
2022-07-10Update string marshallers to V2 shape (#71849)Aaron Robinson
* Update to string marshallers to new V2 shape. * Fix incorrect BStr casing. * Use NativeMemory.Alloc/Free where possible. Avoid initialization of marshaller when not used. Remove unneccessary unmanaged->managed APIs for In marshallers. * Add a ClassLoader::LoadTypeByNameThrowing overload that can be used to load nested classes. * Allocate precise amounts for UTF8 and ANSI marshallers. * Use CoTaskMemAlloc/Free * Keep allocation in local.
2022-07-10Add AggressiveInlining to a couple of Vector.Create methods (#71889)Egor Bogatov
2022-07-10Pass CancellationToken to Http2Connection SetupAsync (#70906)campersau
* Pass cancellation token to Http2Connection SetupAsync * PR feedback
2022-07-10Convert a few trivial Type, RuntimeType and Enum FCalls to C# (#71873)Jan Kotas
2022-07-09Move System.Drawing files from Common to System.Drawing.Primitives (#71878)Filip Navara
2022-07-09[wasm] Bump emscripten to 3.1.12 (#70693)Radek Doulik
* Use new docker images * Silence warnings * Bump dependencies * Bump emscripten version * Update dependencies * Fix linking * Move the link fix to default link response file To make tests build * Disable one more test Affected by https://github.com/dotnet/runtime/issues/51375 * Ignore link errors coming from native refs This avoids this error, where the linker seems more strict now: ``` [] EXEC : error : undefined symbol: _ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv (referenced by top-level compiled C/C++ code) [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : Link with `-sLLD_REPORT_UNDEFINED` to get more information on undefined symbols [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : error : undefined symbol: _ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv (referenced by top-level compiled C/C++ code) [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : warning : __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] EXEC : error : Aborting compilation due to previous errors [/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/blz_nativeref_aot_Debug/blz_nativeref_aot_Debug.csproj] [] emcc : error : '/datadisks/disk1/work/BDDD0A63/w/A3D60932/e/dotnet-workload/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Node.linux-x64/7.0.0-preview.6.22308.2/tools/bin/node ``` * Avoid another linker error in tests * Disable failing test * Try to use emscripten_force_exit in mono_wasm_exit * Bump docker image to get newer v8 * Fix remaining conflict * Use 3.1.12 icu again, it was lost with merge * Revert "Try to use emscripten_force_exit in mono_wasm_exit" This reverts commit bdba37b8a7ac96cead35758dc234b3d71b13880d. * Revert "Ignore link errors coming from native refs" This reverts commit f2bfa1f22e84ecd6e9e84142ce87a97a9ecf69c3. * [wasm] Don't run tests on windows with v8 - We are only interested in testing with v8 on linux This changes: 1. All the AOT tests to run with browser on windows 2. Library tests (interpreter) will run with browser, and nodejs * Fix System.Net.Http.Functional.Tests failing due to trimming .. on Windows/AOT: * [wasm] Fix windows/tests/aot timeout to be same for running on browser .. as for v8. * Disable failing tests - issue#71877 Co-authored-by: Radek Doulik <radekdoulik@google.com> Co-authored-by: Ankit Jain <radical@gmail.com>
2022-07-09Use u8 string in CultureNames (#71417)Adeel Mujahid
* Use u8 in CultureNames * Update compiler version for u8 bug fix * Update compiler toolset to 4.4.0-1.22358.14 Co-authored-by: Stephen Toub <stoub@microsoft.com>
2022-07-09Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ↵dotnet bot
ID 1869518 (#71867)
2022-07-09Use the portable timer implementation in CoreCLR (#71864)Koundinya Veluri
Fixes https://github.com/dotnet/runtime/issues/46266
2022-07-09Use HashCode.Combine instead of ValueTuple.GetHashCode in MatchingState (#71859)Stephen Toub
2022-07-09Enable `TYP_STRUCT` `LCL_VAR/LCL_FLD` call args on ARM (#71598)SingleAccretion
* ARM: local morph * ARM: morph * Jit dumps: print '(AX)' and others for LCL_FLD nodes * Delete invalid assert * Work around emitter limitations
2022-07-09[wasm] JSImport and JSExport code gen (#71551)Pavel Savara
- based on shared infrastructure of LibraryImport code gen - few unit tests - localized diagnostic messages Co-authored-by: Marek Fišera <mara@neptuo.com>
2022-07-09Updating the Generic Math to match final API review feedback (#71800)Tanner Gooding
* Updating the generic math implementation to match final API review feedback * Updating the generic math reference to match final API review feedback * Updating the generic math tests to match final API review feedback * Break IComparisonOperators and IEqualityOperators typeloading cycle * Apply suggestions from code review Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Stephen Toub <stoub@microsoft.com>
2022-07-09Do not throw BadImageFormat from the type system (#71820)Michal Strehovský
This shoots down AOT-usage. Throw whatever is the type system's version of the exception.
2022-07-09Enable Rfc2898DeriveBytes on Browser WASM (#71768)Eric Erhardt
* Enable Rfc2898DeriveBytes on Browser WASM Marks the APIs as supported on Browser, and enables Rfc2898 tests on Browser WASM. Use SubtleCrypto deriveBits API to implement one shot Pbkdf2. * Mark HKDF as supported on Browser and enable tests Contributes to #40074
2022-07-09Handle unary operator GT_CNEG_LT in few code paths (#71845)Kunal Pathak
2022-07-09Move _OOP_find_proc_info to libunwind (#71465)Adeel Mujahid
2022-07-09Enabled `System.ComponentModel.TypeConverter.Tests`. (#71821)Ilona Tomkowicz
* Enabled - passing. * Fix tests when running with trimming. Co-authored-by: Ankit Jain <radical@gmail.com>
2022-07-09Add an Azure NPM registry (#71393)Andy Gocke
* Add an Azure NPM registry * Get verbose output for 'npm audit' * Audit against a registry that supports auditing Co-authored-by: Ankit Jain <radical@gmail.com> Co-authored-by: Larry Ewing <lewing@microsoft.com>
2022-07-09Add basic regression testing for .NET 6 source generated ↵Eirik Tsarpalis
JsonSerializerContext. (#71850) * Add basic regression testing for .NET 6 source generated JsonSerializerContext. * Add a negative test for combined v6 contexts * Add README.md
2022-07-09Add/implement ObsoletedInOSPlatformAttribute. (#71846)Rolf Bjarne Kvinge
2022-07-09Fix more warnings from updated IDE rules (#71779)Stephen Toub
A newer version of Microsoft.CodeAnalysis.* causes some of the rules to fire in more cases. Fixing them proactively before we ingest newer versions of these libs.
2022-07-09Fix stack overflow from start set calculation (#71842)Olli Saarikivi
Fixes issue (#71808) where deeply nested structures caused the start set computation to overflow the stack. Re-introduces bottom-up computation of start sets that (#71234) had reworked. As an optimization, the Singleton node's set field is reused as the start set field, since for Singleton nodes the two concepts coincide and other node types do not need the set.
2022-07-08Always expand "obj is ExactClass" even in cold blocks (#71739)Egor Bogatov
2022-07-08Add missing APIs to contract customization (#71797)Eirik Tsarpalis
* Add missing APIs to contract customization * Address feedback
2022-07-08Check for V2 shapes on array marshallers (#71796)Elinor Fung