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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
AgeCommit message (Collapse)Author
2019-01-11[2018-06] [merp] Batch of fixes (#12037)Alexander Kyte
* [crash] Early exit if callbacks not set * [crash] Report which thread was crashing * [runtime] Make sure lldb/gdb dump happens when MERP fails * [crash] Create supervisor thread for crash dumper * [runtime] Add waitpid to probed-for libc functions * [crash] Add crash reporter logger * [crash] Disable mono-merp when disabling crash reporting * [crash] Switch merp dumper to no-allocate file writer - Pass merp directory to backend (optional) - Adds tests that needed the named change * [crash] Make mono-state use non-allocating format strings * [crash] Add json formatting validators to mono/tests * [crash] Make crash-sending icalls use const strings * [crash] Use fork+exec for merp * [crash] Throw exception when unable to contact merp * [runtime] Remove duplicate merp invoke line Backport of #12036 * [crash] Disable merp-json-valid test on non-OSX * [crash] Fix state disabler on OSX * [crash] Fix mono-state writer trailing comma * [crash] Add missing entry for native method reporting * [crash] Disable crash logger test on linux * [backport] Revert API change, disable test
2018-12-01[crash] Add managed exception class name (#11822)monojenkins
2018-11-06[bcl] avoid false pinning in GCTest (#11534)monojenkins
2018-10-31[tests] reduce recursion depth (#11484)mono-5.16.0.209monojenkins
so it doesn't trigger a stack overflow on Xamarin.iOS with interpreter on a debug build (`CFLAGS=-O0`).
2018-10-30[2018-06] [delegates] do not use CEE_CALLVIRT for non-virtual methods (#11450)monojenkins
Backport of #11433. /cc @lewurm Description:
2018-10-30[2018-06] [interp] Overflow fixes (#11426)Bernhard Urban
* [interp] Overflow fixes (#9688) * [interp] Fix some conv ovf opcodes * [interp] Correctly hande a few conv ovf cases For conversion from unsigned value to i1 and i2. * [interp] Fix multiplication overflow case * [interp] Remove some constants from code * [interp] throw overflow exception when {float,double}.NaN is converted to an int type (#11380) [interp] throw overflow exception when {float,double}.NaN is converted to an int type A comparison with NaN is always `false`.
2018-10-19[WinForms] Propagate the flags from DrawTextInternal to MeasureTextInternal ↵markusbeth
(#11251) Flags to DrawText never reached MeasureText therefore strings with '&' were measured incorrect when drawn with flag TextFormatFlags.NoPrefix. Fixes #6352
2018-10-19[2018-06] Crash Reporter V2 (#11162)Alexander Kyte
* [runtime] Add icall to format crashes to disk in uniform way * [crash] More gentle error handling around stack walking * [crash] Make self-summarizier not need managed thread state * [crash] Remove reliance on sgen/gchandles * [crash] Refactor dumper mechanism * [crash] Make threads not die during thread dump * [crash] Add silent option to dumper * [crash] Print error when unable to dump thread * [crash] Add icalls to directly trigger telemetry-style walks * [crash] Increase maximum frame depth * [crash] Add support for concurrent global dump requests * [crash] Switch from CAS+Sleep to semaphore for dumper Locks and GC-Safe regions are both unsafe in a signal handler context. CAS primitives and the sleep syscall was used before. Semaphores appear to be safe, enabling the following cleanup. * [runtime] Make find_method use stack memory for dumper-facing entry point * [crash] Enable install_state_summarizer on all platforms * [crash] Dump managed stacks from controlling thread * [crash] Fix string races with DumpTotal icall * [crash] Fix space in crash file name * [crash] Fix lifetime and size checks on mono-state memory * [runtime] Make sequence point lookup lockless * [crash] Fix managed exception dumper icall format * [crash] Add tests for concurrent dumping * [crash] Print half-completed dump when space runs out * [crash] Bump static memory for crash string to 500k Note: - This memory isn't accessed until we're crashing - On any modern machine, unused static memory is lazily allocated. When we access it, the fault will trigger the MMU to map memory for us. - This is guaranteed to be reentrant and safe. mmap (the alternative) is surely fairly stable on many systems, but this is not guaranteed. The documentation pages for mmap specifically claim it as not safe in these async contexts. * [crash] Make whitelist lookup lockless * [crash] Split unmanaged ptrs into method ip + offset * [crash] Copy safer strings with crash privacy disabled * [crash] Fix BindingFlags undefined with mcs+linux x64 * [crash] Fix icall declarations for new style * [crash] Squashed support for RegisterReportingForNativeLib * [crash] Disable tests on linux / non-osx platforms
2018-10-10[2018-06] [sdks] Create archive targets for pre-building on CI (#10936)Ludovic Henry
* [sdks] Remove redundant --enable-cxx * [sdks] Shorten `-m32`/`-m64` parameters detection for runtimes * [sdks] Build BCL profiles without configure flags * [sdks] Create archive targets for pre-building on CI * [sdks] Add BclTemplate to build BCL profiles This is to avoid building all the profiles in a single `sdks/out/bcl` directory which will be shared between android, ios and wasm. * [sdks] Use archive-{android,ios,wasm} on CI * [sdks] Run archive-llvm-llvm{,win}{32,64} on CI * [sdks] Add download/pack capabilities for LLVM * [sdks] Ensure LLVM is cloned before trying to download * [sdks] Simplify call to BclTemplate * Put xunit tests in mcs/class/lib/PROFILE/tests too So they are next to their NUnit counterparts. Move xunit remote executor app to tests dir too and compile it when compiling the test assembly instead of doing it before running the test. We need to use an absolute path for the xunit remote executor and it needs to be in Windows format on Windows since we pass it as an env var to the xunit tests. * [sdks] Build LLVM with make in parallel * [mcs] Make directory dependency as order-only We would otherwise always rebuild the target since the directory is updated whenever something is added to the directory. This is a common Makefile technique. * [sdks] Build tests for BCL targets * [build] Switch to netstandard based xunit
2018-10-02[Reflection] Fix issue with finding types in module using an asterisk as ↵Maxim Lipnin
filter criteria
2018-09-27[2018-06] [System]: Make sure `HttpWebRequest` observes exceptions on ↵monojenkins
timeout. #10488. (#10732) * [System]Make sure `HttpWebRequest` observes exceptions on timeout. #10488. `HttpWebRequest.RunWithTimeoutWorker()` needs to observe the worker task's exception on timeout to prevent it from being thrown via the `TaskScheduler.UnobservedTaskException` event. Fixes #10488. * Add `TaskContinuationOptions.OnlyOnFaulted | TaskContinuationOptions.OnlyOnCanceled` as suggested by Marek. * Use 'OnlyFaulted' only.
2018-09-20[2018-06] Ignore some xunit tests for XA (non compatible with xunit 2.4) ↵Egor Bogatov
(#10721) * disable some not compatible with xunit 2.4 tests * bump corefx
2018-09-20[corlib] Makes remoting test more robust (and disable it on mobile)Marek Safar
2018-09-20[mono-api-html] Render something for fields with marshalling info. (#10698)monojenkins
Fixes this warning when comparing Xamarin.iOS.dll: Comparison resulting in no changes (src: Public, HasFieldMarshal dst: Public) : <field name="EdgeTessellationFactor" attrib="4102" fieldtype="System.UInt16[]" /> <field name="EdgeTessellationFactor" attrib="6" fieldtype="System.UInt16[]" />
2018-09-19[2018-06] Implement IEnumerable for ConditionalWeakTable (#10657)monojenkins
* Implement IEnumerable for ConditionalWeakTable * Update ConditionalWeakTable.cs
2018-09-14[runtime] Fix Marshal.SizeOf (typeof (void)). (#10601)monojenkins
Fixes https://github.com/mono/mono/issues/10303.
2018-09-13[2018-06][Facades] Removes duplicate entryMarek Safar
2018-09-13[csproj] Update project filesmonojenkins
2018-09-13[Facades] Adds System.Buffers mobile facadeMarek Safar
and sets up facades without corresponding nuget _._ for conflict resolution done by msbuild
2018-09-07[2018-06] Ensure the finalization in DeflateStream is performed in the ↵monojenkins
correct order. (#10491) * Ensure the finalization of SafeHandle and GCHandle in DeflateStreamNative is performed in the correct order. * Do not access BaseStream from finalizer.
2018-09-05Reapply #10254 to 2018-06 and include change in #10393 (#10469)Neale Ferguson
The early change to make MonoTlsStream IDisposable had to be backed out of 2018-06. This restores that fix and includes the fix from #10393 that fixed the reason for the back out.
2018-09-04[System]Fix `MonoBtlsProvider.CheckValidationResult ()` logic.Martin Baulig
2018-09-04[2018-06] Truncate MachineName (and UserDomainName) at first period (#10419)monojenkins
Backport of #9843. * Truncate MachineName (and UserDomainName) at first period Unix machines often put their FQDN as the host name, and domain name is used for things such as yp. As such, truncate the FQDN to just the hostname, as other Unix utilities seem to do. Matches the .NET Core and .NET Framework behaviour, and MS seems to require this for a future project. Fixes #9839. * Add a unit test for bug * Formatting tweaks
2018-09-04[2018-06] [corlib] Bring back String.Concat with __arglist (#10458)monojenkins
Backport of #10452. Fixes #9996 Tested repro project from the link on a local PostgresSQL server and EntityFramework packages. See https://github.com/aspnet/EntityFramework6/blob/master/src/EntityFramework/Core/Objects/ELinq/MethodCallTranslator.cs#L1482-L1497
2018-08-30Revert "[2018-06] [System]: `MonoTlsStream` is now `IDisposable` and cleans ↵Martin Baulig
up on error. (#10391) Revert PR #10336. This reverts commit 3bb7817ffd8c92458e875a179c62f26c390c9e0e.
2018-08-29[2018-06] [System]: `MonoTlsStream` is now `IDisposable` and cleans up on ↵monojenkins
error. (#10336) Backport of #10254. /cc @marek-safar
2018-08-27[2018-06] Add pipeline to convert managed exception into telemetry format ↵Alexander Kyte
(#10247)
2018-08-27[2018-06] System.Windows.Forms: Fix regressions in layout code and TextBox ↵monojenkins
Font handling (#10306) Backport of #10238. /cc @filipnavara
2018-08-22An implementation of the ChainStatus property for Btls. (#10216)monojenkins
When we execute the certificate verification callback we just don't test for success and set status11. Now we get the error (if any) and map the error code to those defined by ChainStatusFlags and add it to a list of X509ChainStatus objects for that chain. Now when get_ChainStatus is called we convert that list to an array of X509ChainStatus and return it.
2018-08-20Fix process leak in process enumeration. Dispose rejected ones. (#10187)monojenkins
This https://github.com/mono/mono/issues/10143 and fix is from there. I considered nulling the array elements as I go, and then the tail, to help the GC, but does it help actually? I suspect not.
2018-08-20[System.Xml.Linq] Fix namespace conflict with new Xamarin.Mac namespace in ↵monojenkins
test code. (#10183) macOS 10.14 introduces a Network framework, which means Xamarin.Mac now has a Network namespace. This conflicts with 'using Network = System.Net': > mono/mcs/class/System.Xml.Linq/Test/System.Xml.Schema/ExtensionsTest.cs(97,27): error CS0576: Namespace '<global namespace>' contains a definition conflicting with alias 'Network' so just remove the using and use the full 'System.Net' namespace instead.
2018-08-17[2018-06] [reflection] Assembly.LoadFile should throw ArgumentException for ↵monojenkins
relative paths (#10083) * [reflection] Assembly.LoadFile should throw ArgumentException for relative paths Fixes https://github.com/mono/mono/issues/9943 * [mcs/tests] Use full path in the compiler-tester Otherwise the call to LoadFile will fail * [mono/tests] Use full path in LoadFile in test-multi-netmodule-4-exe * [mono/tests] Use the test runner for a couple of tests * [fullaot] Disable test-multi-netmodule-4-exe and custom-attr-errors.exe * [tests] Use Path.GetFullPath and Path.Combine in AssemblyTest Fix windows test failures
2018-08-15[2018-06][reflection] Implement RuntimeType.IsSubclassOf in native (#10078)Aleksey Kliger (λgeek)
* [reflection] Implement RuntimeType.IsSubclassOf in native Fixes a performance regression https://github.com/mono/mono/issues/10000 * fixup - byref and reflexive IsSubclassOf
2018-08-15[bcl] Disable a test which fails with linking. (#10104)monojenkins
Fixes https://github.com/xamarin/xamarin-macios/issues/4617.
2018-08-09[2018-06] [Facades] Adds System.Threading.Tasks.Extensions for mobile ↵monojenkins
profiles (#9977) * [Facades] Adds System.Threading.Tasks.Extensions for mobile profile * Bump API snapshot submodule * [csproj] Update project files
2018-08-08[build] Bump bootstrap mcs versionMarek Safar
2018-08-03backport #9800 to 2018-06EgorBo
2018-08-01[LinkerDescriptor] remove remoting feature from MonoMethodMessageBernhard Urban
Fixes those failures on Xamarin.iOS: > 2018-07-30 21:16:19.931 monotouchtest[49618:80799179] error: * Assertion at /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/external/mono/mono/metadata/object.c:7896, condition `init_message_method != NULL' not met > 2018-07-30 21:16:19.931 monotouchtest[49618:80799179] critical: Stacktrace: > > 2018-07-30 21:16:19.932 monotouchtest[49618:80799179] critical: at <unknown> <0xffffffff> > 2018-07-30 21:16:19.932 monotouchtest[49618:80799179] critical: at (wrapper managed-to-native) object.__icall_wrapper_mono_delegate_begin_invoke (object,intptr) <0x00012> > 2018-07-30 21:16:19.932 monotouchtest[49618:80799179] critical: at (wrapper delegate-begin-invoke) <Module>.begin_invoke_IAsyncResult__this___AsyncCallback_object (System.AsyncCallback,object) [0x00015] in <643e5a0761d140d1977f1bbd2bd72153>:0 > 2018-07-30 21:16:19.932 monotouchtest[49618:80799179] critical: at MonoTouchFixtures.AVFoundation.AVAssetImageGeneratorTest.GenerateCGImagesAsynchronously () [0x00021] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/monotouch-test/AVFoundation/AVAssetImageGeneratorTest.cs:126 > 2018-07-30 21:16:19.933 monotouchtest[49618:80799179] critical: at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004f] in <643e5a0761d140d1977f1bbd2bd72153>:0 > 2018-07-30 21:16:19.933 monotouchtest[49618:80799179] critical: at <unknown> <0xffffffff> > 2018-07-30 21:16:19.934 monotouchtest[49618:80799179] critical: at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0x00012> > 2018-07-30 21:16:19.934 monotouchtest[49618:80799179] critical: at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0003b] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.15.0.36/src/Xamarin.iOS/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 > 2018-07-30 21:16:19.934 monotouchtest[49618:80799179] critical: at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.15.0.36/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229 > 2018-07-30 21:16:19.934 monotouchtest[49618:80799179] critical: at NUnit.Framework.Internal.Reflect.InvokeMethod (System.Reflection.MethodInfo,object,object[]) [0x00009] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/Reflect.cs:215 > 2018-07-30 21:16:19.935 monotouchtest[49618:80799179] critical: at NUnit.Framework.Internal.Commands.TestMethodCommand.RunNonAsyncTestMethod (NUnit.Framework.Internal.TestExecutionContext) [0x00000] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/external/mono/external/nunit-lite/NUnitLite-1.0.0/src/framework/Internal/Commands/TestMethodCommand.cs:114 Also see https://github.com/xamarin/xamarin-macios/blob/10d98e67d88231fd41218a93b92d42914550ee10/tools/mtouch/Tuning.cs#L137 @akoeplinger mentions further: > we even have custom code to preserve MonoMethodMessage in the XI linker: > https://github.com/xamarin/xamarin-macios/blob/a563a66c342d2e982a9648fbfd5ce9c361bea07e/tools/linker/MonoTouch.Tuner/RemoveCode.cs#L178-L180 Fixes regression introduced by https://github.com/mono/mono/pull/8055
2018-07-20[TermInfo] fix reading integer value for new file formatBernhard Urban
16bit vs. 32bit only applies for offsets, not for actual entries in the file format. Fixes https://github.com/mono/mono/issues/8340
2018-07-19[2018-06] interp delegate fixes (#9600)Bernhard Urban
[2018-06] interp delegate fixes Backport of https://github.com/mono/mono/pull/9029 and https://github.com/mono/mono/pull/9409. The former makes backporting of the latter easier.
2018-07-19[System] Update mobile tests to reflect missing DesignerAttributeMarek Safar
Fixes #8407
2018-07-18[corlib] Remove incorrectly included Interop.GetRandomBytes.Mono.cs file ↵Alexander Köplinger
from .sources It was added in https://github.com/mono/mono/commit/2e3c4398a9d0d8e3f86b60e753f3da6393a26897 but doesn't actually exist in 2018-06.
2018-07-17[csproj] Update project filesmonojenkins
2018-07-17[corlib] Include all span helpers optimizations (#9548)Marek Safar
2018-07-16[csproj] Update project filesmonojenkins
2018-07-16Fixes windows buildMarek Safar
2018-07-16[mscorlib] Adds PreserveDependencyAttributeMarek Safar
2018-07-16[corlib] Default to fast Span<T> (#9204)Marek Safar
2018-07-15[System.Data] Add missing API in PNS version of SqlConnectionMarek Safar
2018-07-14[2018-06] [dist] Ensure gensources.cs is included in tarballs (#9516)monojenkins
* [dist] Ensure gensources.cs is included in tarballs * Add gensources.sh