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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-12Apply MaxResponseHeadersLength limit (#412)HEADmainSteve Pfister
2022-03-22Update brotli to v1.0.9Alexander Köplinger
2022-02-01Fix a compilation error when MONO is not definedBluzume
2021-04-17Merge pull request #410 from lambdageek/readdir-errnoAleksey Kliger (λgeek)
[System.Native] Exclude ReadDir pinvoke wrappers on Mono; handle EINTR
2021-04-16[System.Native] Exclude ReadDir pinvoke wrappers on Mono; handle EINTRAleksey Kliger
For Mono we must loop in managed when opendir/readdir/closedir return EINTR in order to handle Thread.Abort. This is because while a thread abort will break syscalls with EINTR, throwing the ThreadAbortException will only happen when the pinvoke returns. (Although opendir/readdir/clsoedir are not documented to return EINTR, they do so on macOS Big Sur under certain conditions, so we will need to add managed looping) Related to https://github.com/mono/mono/issues/20799
2021-03-27Fix CacheControlHeaderValueTest.cs after credscan changesAlexander Köplinger
2021-03-26Suppress CredScan checks (#408)Fan Yang
2021-03-26Creds suppression (#409)Jan Jahoda
* Credscan second round * Remove crypto changes * Add suppression messages * fix merge conflict * Placeholders
2021-03-25Credscan - revert crypto changes (#406)Jan Jahoda
* Remove crypto changes * Update system.net.testdata * fix UriRelativeResolutionTest.cs * [2.1] Credscan second round (#43052) * Credscan second round * Remove crypto changes * Update system.net.testdata * fix UriRelativeResolutionTest.cs * Add fix for HttpClientHandlerTest.cs * more credscan * Add more fixes Co-authored-by: Dan Moseley <danmose@microsoft.com>
2021-03-23Added supressions. (#407)Nathan Ricci
2021-03-16Update CredScanSuppressions.json file (#405)Sam Patel
Remove all entries for issues fixed and also for all issues for which exception details are filed in.
2021-03-15Credscan second round (#404)Jan Jahoda
2021-03-05Update CredScan suppressions (#403)Ryan Lucia
Remove from list in cases where we have a fix pending or an exemption granted w/ inline supression
2021-03-05Credentials fixes (#402)Jan Jahoda
* Credentials fixes * remove dead code * Update PostScenarioTest.cs Revert variable name
2021-02-19Only use IPv6 if availableAlexander Köplinger
2021-02-05Add CredScan suppression file (#400)Ryan Lucia
All of these were excluded in upstream corefx/runtime and have nothing concerning
2020-08-21Disable failing DateTime testsAlexander Köplinger
See https://github.com/mono/mono/issues/16623#issuecomment-678248447
2020-04-23Fix encoding of Digest authentication headers (#36627) (#399)Filip Navara
* Fix encoding of Digest authentication headers for servers that don't understand RFC 5987 encoding * Quote-prefix special characters when encoding Digest headers * Address PR feedback
2020-04-16[System.Net.Http]: Disable exception filters on watchOS. (#398)Martin Baulig
2020-04-13Fix BigInteger parsing of substring span (#35185) (#397)Martin Baulig
(cherry picked from commit 73a3cf567a7b02ce4f984f5b791da19812fd8aa9) Co-authored-by: Stephen Toub <stoub@microsoft.com>
2020-04-02FileSystem.Unix.File.Move uses "rename" in more cases (#40611) (#395)Mitchell Hwang
* FileSystem.Unix.File.Move uses "rename" in more cases (#40611) * FileSystem.Unix.File.Move use rename in more cases, avoid link/copy when possible, improve performance on file systems that do not support hard links, such as FAT * Adapt Unit Tests for accounting FileSystemWatcher events fired by FileSystem.Unix.File.Move implementation that use rename in more cases, avoiding link/copy when possible * [FileSystem] ReAdd check for same device Co-authored-by: Sylvain <sf@ellisys.com> Co-authored-by: Mitchell Hwang <mihw@microsoft.com>
2020-01-15Disable two tests that allocate a lot of memory (#394)Alexander Köplinger
HashTableTests.Ctor_Int_Int_GenerateNewPrime and BitConverterTests.ToString_ByteArrayTooLong_Throws Causes issues on Windows 32bit and other platforms.
2020-01-09Merge pull request #389 from baulig/work-18030Martin Baulig
[Sockets]: Always reset internal SAEA completion when reattempting connection in MultipleConnectAsync.
2020-01-09[Sockets]: Always reset internal SAEA completion when reattempting ↵Martin Baulig
connection in MultipleConnectAsync. This should fix #18030.
2020-01-08Add workaround for mono/mono#17710. (#387)Martin Baulig
Mono-specific workaround of https://github.com/mono/mono/issues/17710.
2019-12-29Use GlobalizationMode.Invariant without cachingMarek Safar
2019-12-28Exclude CharUnicodeInfo in mcs build modeMarek Safar
2019-12-28Add mcs workarounds for CharUnicodeInfoMarek Safar
2019-12-27Merge pull request #388 from steveisok/backport-dir-create-invalidateMartin Baulig
Invalidate DirectoryInfo After Create
2019-12-27Fixes https://github.com/mono/mono/issues/18291Steve Pfister
Backport of https://github.com/dotnet/runtime/commit/db671a853e3c7a3eea5016b2dedf7b1977a17002
2019-12-27Brind the latest CharUnicodeInfo from dotnet/runtimeMarek Safar
2019-12-20Fix reflection test to work with splitted assembliesAlexander Köplinger
2019-12-13Revert "Cherry-pick dotnet/corefx#37583. (#375)" (#382)Martin Baulig
This reverts commit c388c710a7b3d9cfe0ea5d8fe2c1c1ddbeb46ee2. This reverts commit f27f69ac5a5c234c7cb5c6696d0c1119d5a83b92.
2019-12-12Merge pull request #379 from baulig/work-remove-nullabilityMartin Baulig
Remove C# 8 nullability annotation.
2019-12-12Remove C# 8 nullability annotation.Martin Baulig
2019-12-10Cherry-pick dotnet/corefx#37583. (#375)Martin Baulig
Use clonefile for CopyFile, if available (#37583) * Rework SystemNative_CopyFile to use paths instead of file descriptors Use clonefile for CopyFile, if available * Bail out in SystemNative_CopyFile if access fails. We don't want to proceed if the destination file is read-only. * Handle a race condition where clonefile can result in EEXIST error * Update comment about fcopyfile * Update PathInternal.TrimEndingDirectorySeparator to Path.TrimEndingDirectorySeparator * Add missing close(outFd) call * Remove unnecessary ! operator * Save errno around close(outFd) calls * access already sets EACCESS errno, just keep it * Remove fcopyfile support * Open destination file with O_CLOEXEC * Return correct error code for source == destination * Rearrange error handling a bit * Remove forgotten HAVE_FCOPYFILE (cherry picked from commit 5f45a8d5aa116d688f92952a1de72abd8b30f1a7)
2019-12-10Update ↵Maxim Lipnin
System.Net.Http.Tests.HttpContentTest.Dispose_BufferContentThenDisposeContent_BufferedStreamGetsDisposed
2019-12-09Merge pull request #373 from mono/fix-mono-gh-16778Alexis Christoforides
Fix wrong behaviour when move multiple files out of watched folder on…
2019-12-09 Fix inefficient interop in OSX FileSystemWatcher (#34715)fix-mono-gh-16778Jan Kotas
* Fix inefficient interop in OSX FileSystemWatcher Avoid unnecessary array allocations in the FileSystemWatcher callback * Add using for FSEventStreamEventFlags
2019-12-09Backport FixPathLength 255 PRSteve Pfister
Fixes https://github.com/mono/mono/issues/17948 Pulled in upstream change https://github.com/dotnet/corefx/pull/34389
2019-12-03Merge pull request #374 from baulig/work-17897Martin Baulig
[System.Net.Http]: Add workaround for #17897.
2019-12-03[System.Net.Http]: Add workaround for mono/mono#17897.Martin Baulig
Use `(UriKind)300` (which is the same as setting `MONO_URI_DOTNETRELATIVEORABSOLUTE=true`) when parsing Uri headers.
2019-11-25Fix wrong behaviour when move multiple files out of watched folder on mac ↵Jan Jahoda
(#41963) Backport of https://github.com/dotnet/corefx/pull/41963
2019-11-09Merge pull request #370 from steveisok/backport-corefx-osx-hidden-filesAlexis Christoforides
Backport corefx osx hidden files
2019-11-04[mono] fixup for c44efe7297f8e11cab157c7e96b998dc936d53b7 (#372)Bernhard Urban-Forster
We only want to change the maximum for the _default_ DOP, but the accepted maximum DOP should remain 512.
2019-11-04[mono] limit DegreeOfParallelism to 16 (#369)Bernhard Urban-Forster
We started to see the `System.Core-xunit` step on CI to hit the timeout of 15 minutes with Linux/ARM64. That was weird, because the step used to be completed in around two minutes. With my local device (jetson board) I wasn't able to reproduce it either; it took around 100s there. We then realized it's specific to the new `taishan` CI machines, which are equipped with 64 cores. Hardcoding `mono_cpu_count` to return 16 restored the performance, however that isn't a viable fix. Limiting `DefaultDegreeOfParallelism` to 16 fixes it, which is less extreme than limiting `mono_cpu_count ()`, still not ideal though. It seems to boil down to the fact that our non-netcore threadpool implementation doesn't handle a large number of cores well. `repro.cs`, extracted from here https://github.com/dotnet/corefx/blob/a9b91e205a8794327a028cb4b29953127f0f194c/src/System.Linq.Parallel/tests/QueryOperators/ConcatTests.cs#L145-L154 ```csharp using System; using System.Linq; using System.Collections.Generic; using System.Threading; public class Repro { public static void Main (string []args) { const int ElementCount = 2048; ParallelQuery<int> leftQuery = ParallelEnumerable.Range(0, ElementCount / 4).Union(ParallelEnumerable.Range(ElementCount / 4, ElementCount / 4)); ParallelQuery<int> rightQuery = ParallelEnumerable.Range(2 * ElementCount / 4, ElementCount / 4).Union(ParallelEnumerable.Range(3 * ElementCount / 4, ElementCount / 4)); var results = new HashSet<int>(leftQuery.Concat(rightQuery)); Console.WriteLine ("results.Count=" + results.Count + ", ElementCount=" + ElementCount); } } ``` Before fix: ```console $ time ./mono/mini/mono-sgen repro.exe results.Count=2048, ElementCount=2048 real 0m5.846s user 0m0.344s sys 0m1.929s $ make -C mcs/class/System.Core run-xunit-test [...] === TEST EXECUTION SUMMARY === net_4_x_System.Core_xunit-test Total: 48774, Errors: 0, Failed: 0, Skipped: 6, Time: 536.005s ``` With this fix: ```console $ time ./mono/mini/mono-sgen repro.exe results.Count=2048, ElementCount=2048 real 0m1.247s user 0m0.206s sys 0m0.225s $ make -C mcs/class/System.Core run-xunit-test [...] === TEST EXECUTION SUMMARY === net_4_x_System.Core_xunit-test Total: 48774, Errors: 0, Failed: 0, Skipped: 6, Time: 131.143s ```
2019-10-31Wrong Interop.Stat.cs. Added the change thereSteve Pfister
2019-10-31Add UserFlags to the FileStatus struct on the cs sideSteve Pfister
2019-10-31Added UserFlags to FileStatus structSteve Pfister
2019-10-31Backport of https://github.com/dotnet/corefx/pull/34560Steve Pfister
Fixes https://github.com/mono/mono/issues/17304