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
AgeCommit message (Collapse)Author
2016-01-28[api] GCC is much better at enforcing MONO_RT_EXTERNAL_ONLY.Rodrigo Kumpera
2016-01-28Merge pull request #2526 from alexanderkyte/llvmonly_mobile_static_fixupsAlexander Köplinger
[mobile_static] Requested NunitLite comment and llvmonly configuration changes
2016-01-28[jit] Pass a MonoError* instead of a MonoException** to ↵Zoltan Varga
mono_jit_compile_method_inner ().
2016-01-28[runtime] Initialize the error fields in mono_error_set_exception_instance ().Zoltan Varga
2016-01-28[bcl] Fix dll names and InternalsVisibleTo for test assembliesAlexander Köplinger
The format of the test assembly name changed in 860334ff45a8d1c5886b8dbcfadaf28ac55b9393 from System.Web_test_net_4_x.dll to net_4_x_System.Web_test.dll. This fixes all the places where the old name was used.
2016-01-28[jit] Reduce the usage of the loader error more by converting it to a ↵Zoltan Varga
MonoError where it was detected.
2016-01-28Merge pull request #2523 from akoeplinger/fix-profiler-test-reportingAlexander Köplinger
[profiler] Fix test reporting success even though a test failed
2016-01-28[jit] Convert some of the error handling to use cfg->error instead of ↵Zoltan Varga
cfg->exception_type.
2016-01-27Use S390_SET to get addresses rather than the previous more convoluted methodNeale Ferguson
[jit] Add a new jit icall mono_interruption_checkpoint_from_trampoline () and use that instead of mono_thread_force_interruption_checkpoint () so the latter can go away eventually.
2016-01-27[mobile_static] Don't use gsharedvt with llvmonlyAlexander Kyte
2016-01-27[nunitlite] Documented console .config usageAlexander Kyte
2016-01-27Merge pull request #2432 from alexanderkyte/compile_corlib_with_aotAlexander Kyte
[aot/bcl] Compile the BCL with AOT
2016-01-27[aot/bcl] Add Makefile configuration to build the bcl with aot, use it in ↵Alexander Kyte
mobile_static.
2016-01-27Merge pull request #2431 from alexanderkyte/tests_with_excludesAlexander Kyte
[mcs] Fix .sources/.excludes for tests, exclude corlib monotouch-excluded tests on mobile_static
2016-01-27[api] Mark external Only: mono_get_method, mono_get_method_full and ↵Rodrigo Kumpera
mono_get_method_constrained.
2016-01-27[build] Add MONO_RT_EXTERNAL_ONLY macro to the public API.Rodrigo Kumpera
This macro should be used to decorate functions that are part of the public API but the runtime is not supposed to call. This is to allow us to keep them around but not go crazy with commit reintroducing their usage.
2016-01-27[profiler] Fix test reporting success even though a test failedAlexander Köplinger
I noticed this in https://jenkins.mono-project.com/job/test-mono-pull-request-armhf/1715/ which reported success in the "profiler" test step, even though the step actually reported errors: ``` MONO_PATH=/media/ssd/jenkins/workspace/test-mono-pull-request-armhf/mcs/class/lib/net_4_x perl ./ptestrunner.pl ../.. Checking test-alloc.exe with report ... Checking test-busy.exe with report ... Checking test-busy.exe with report,sample ... Error: Missing thread Finalizer. Error: Missing thread Main. Error: Wrong loaded images 2. Error: Not enough compiled method. Error: Not enough compiled code. Error: Missing thread BusyHelper. Total errors: 6 Checking test-monitor.exe with report ... Checking test-excleave.exe with report ... Checking test-heapshot.exe with report,heapshot ... Checking test-heapshot.exe with heapshot,output=-traces.mlpd ... Checking test-traces.exe with output=-traces.mlpd ... Checking test-traces.exe with nocalls,output=-traces.mlpd ... make[1]: Leaving directory `/media/ssd/jenkins/workspace/test-mono-pull-request-armhf/mono/profiler' make: Leaving directory `/media/ssd/jenkins/workspace/test-mono-pull-request-armhf/mono/profiler' ++ bc +++ date +%s ++ echo 1453874768 - 1453874741 + echo -e '*** end(27): profiler: \e[42mPassed\e[0m' *** end(27): profiler: Passed ``` The culprit is that ptestrunner.pl checks whether $total_errors is non-zero to determin the process exit code. This is wrong, as $total_errors is cleared before each test so unless the last test fails the exit code would always be zero. Introduced a new $global_errors variable which is only incremented and never cleared to fix this.
2016-01-27Revert "[runtime] Use explicit loop checking to remove depth limitation of ↵Zoltan Varga
sequence point search." This reverts commit 23ce21ede0d26d2815c670a11e6d870506b91dd0. Revert this as it is non-linear and can take a lot of time for complicated cfg structures.
2016-01-27Merge pull request #2520 from kumpera/loader-error-cleanup5Rodrigo Kumpera
[mono-error] Another round of loader-error
2016-01-27Merge pull request #2521 from akoeplinger/fix-sockettest-endconnect-errormonojenkins
[System] Fix error in new BeginConnectToIPV4EndPointUsingDualModelSocket test It was added with 78c758494a04132c0965f8af82dd7370da5f4af1. The test fails on Jenkins: ``` Test Case Failures: 1) MonoTests.System.Net.Sockets.SocketTest.BeginConnectToIPV4EndPointUsingDualModelSocket : System.InvalidOperationException : EndConnect can only be called once per asynchronous operation at System.Net.Sockets.Socket.ValidateEndIAsyncResult (IAsyncResult ares, System.String methodName, System.String argName) [0x0004a] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System/System.Net.Sockets/Socket.cs:3412 at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x00006] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System/System.Net.Sockets/Socket.cs:1584 at MonoTests.System.Net.Sockets.SocketTest.BeginConnectToIPV4EndPointUsingDualModelSocket () [0x0005d] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs:4365 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:295 ``` The reason is that BCCallback already calls EndConnect() so we need to remove it and just wait for the callback in the test itself. @monojenkins merge
2016-01-27[mcs] Reset null operator barrier in parenthesis expressionMarek Safar
2016-01-27Fix serialization under XM 4.5 Target FrameworkChris Hamons
- System.Configuration.ConfigurationErrorsException: Failed to load configuration section for dataContractSerializer - Fixes #36401 #38064
2016-01-27[System] Fix error in new BeginConnectToIPV4EndPointUsingDualModelSocket testAlexander Köplinger
It was added with 78c758494a04132c0965f8af82dd7370da5f4af1. The test fails on Jenkins: ``` Test Case Failures: 1) MonoTests.System.Net.Sockets.SocketTest.BeginConnectToIPV4EndPointUsingDualModelSocket : System.InvalidOperationException : EndConnect can only be called once per asynchronous operation at System.Net.Sockets.Socket.ValidateEndIAsyncResult (IAsyncResult ares, System.String methodName, System.String argName) [0x0004a] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System/System.Net.Sockets/Socket.cs:3412 at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x00006] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System/System.Net.Sockets/Socket.cs:1584 at MonoTests.System.Net.Sockets.SocketTest.BeginConnectToIPV4EndPointUsingDualModelSocket () [0x0005d] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/System/Test/System.Net.Sockets/SocketTest.cs:4365 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /var/lib/jenkins/workspace/test-mono-mainline/label/debian-amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:295 ``` The reason is that BCCallback already calls EndConnect() so we need to remove it and just wait for the callback in the test itself.
2016-01-27[System.Runtime.Caching] Bump timeout in tests to make them more reliableAlexander Köplinger
Failed on Jenkins on ARM today: ``` Tests run: 38, Failures: 1, Not run: 0, Time: 32.132 seconds Test Case Failures: 1) MonoTests.System.Runtime.Caching.MemoryCacheTest.TimedExpiration : #A4-4 Expected: not null But was: null at MonoTests.System.Runtime.Caching.MemoryCacheTest.TimedExpiration () [0x002b6] in /media/ssd/jenkins/workspace/test-mono-mainline/label/debian-armel/mcs/class/System.Runtime.Caching/Test/System.Runtime.Caching/MemoryCacheTest.cs:902 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /media/ssd/jenkins/workspace/test-mono-mainline/label/debian-armel/mcs/class/corlib/System.Reflection/MonoMethod.cs:295 ``` 100ms could be too short, bumping the timeout should make it more reliable on the slower ARM machines.
2016-01-27Merge pull request #2420 from stefansedich/masterLudovic Henry
Handle automatically mapping IPv4 addresses to IPV6 for dual mode sockets, fixes #36192
2016-01-27[runtime] Use mono_error_set_pending_exception () instead of ↵Zoltan Varga
mono_error_raise_exception () in icall.c.
2016-01-27Merge pull request #2486 from ludovic-henry/monoerror-mono_type_get_objectmonojenkins
[runtime] Use MonoError for mono_type_get_object
2016-01-27Merge pull request #2519 from ludovic-henry/fix-array-jiticallsmonojenkins
[array] Replace raise exception by pending exception in jit-icalls The convention for jit-icalls is to set the pending exception, instead of raising it from native.
2016-01-27[mono-error] The reflection code still festered with hidden deps for ↵Rodrigo Kumpera
loader-error.
2016-01-27[x86] Change the way exceptions are thrown from trampolines: instead of ↵Zoltan Varga
calling mono_thread_force_interruption_checkpoint (), which would throw the exception using mono_raise_exception (), obtain the exception, unwind to the parent frame, and throw the exception normally there by calling the throw exception trampoline.
2016-01-27[jit] Fix error propagation when loading methods. Move more checks to rely ↵Rodrigo Kumpera
on cfg->error.
2016-01-27Fix the build.Zoltan Varga
2016-01-27[jit] Use mono_set_pending_exception () in one jit icall.Zoltan Varga
2016-01-27[array] Replace raise exception by pending exception in jit-icallsLudovic Henry
The convention for jit-icalls is to set the pending exception, instead of raising it from native.
2016-01-27[runtime] Use MonoError for mono_gsharedvt_constrained_callLudovic Henry
2016-01-27[runtime] Use MonoError for mono_type_get_objectLudovic Henry
2016-01-27[runtime] Get rid of mono_thread_force_interruption_checkpoint (), its not ↵Zoltan Varga
used anymore.
2016-01-27[jit] Add a new jit icall mono_interruption_checkpoint_from_trampoline () ↵Zoltan Varga
and use that instead of mono_thread_force_interruption_checkpoint () so the latter can go away eventually.
2016-01-27[amd64] Change the way exceptions are thrown from trampolines: instead of ↵Zoltan Varga
calling mono_thread_force_interruption_checkpoint (), which would throw the exception using mono_raise_exception (), obtain the exception, unwind to the parent frame, and throw the exception normally there by calling the throw exception trampoline.
2016-01-27[mono-error] Replace legacy calls to mono_get_method(_full) with _checked ↵Rodrigo Kumpera
variant.
2016-01-27[mono-error] Remove usage of a couple of legacy functions from monodis.Rodrigo Kumpera
2016-01-27[mono-error] Remove loader-error conversion for 3 functions that are not ↵Rodrigo Kumpera
longer called by the runtime. The following legacy functions are no longer used by the runtime and don't need loader-error conversion: mono_method_get_signature_full mono_method_get_signature mono_field_from_token May all that is unholy smite upon those attempting to use those functions again.
2016-01-27Merge pull request #2517 from steffen-kiess/posix-socket-osx-testAlexander Köplinger
[Mono.Posix] Fix the SocketTest.ControlMsg() test on OSX
2016-01-26Merge pull request #2500 from ludovic-henry/monoerror-mono_string_allocRodrigo Kumpera
[runtime] Use MonoError for mono_string_alloc
2016-01-26[runtime] Fix the computation of StackFrame.native_offset for ↵Zoltan Varga
managed-to-native wrappers.
2016-01-26[mkbundle] More Windows linking fixes, added "--custom-main" optionAlexis Christoforides
2016-01-26Merge pull request #2513 from lambdageek/monoerror-RESOLVE_TYPERodrigo Kumpera
[runtime] Use MonoError for RESOLVE_TYPE
2016-01-26Merge pull request #2508 from lambdageek/monoerror-check_array_for_usertypesRodrigo Kumpera
[runtime] Use MonoError for check_array_for_usertypes
2016-01-26Merge pull request #2506 from ↵Rodrigo Kumpera
lambdageek/monoerror-mono_reflection_type_resolve_user_types [runtime] Use MonoError for mono_reflection_type_resolve_user_types
2016-01-26Merge pull request #2516 from lambdageek/monoerror-exception_instancemonojenkins
[runtime] Add MONO_ERROR_EXCEPTION_INSTANCE MonoError This kind of MonoError can encapsulate a managed MonoException object. (For example as a result of mono_runtime_invoke ()). Issues: - [x] Memory leak correctness. `MonoError` already leaks memory if you simply swallow it without calling `mono_error_cleanup` or some function that calls it (for example `mono_error_raise_exception` or `mono_error_convert_to_exception`). Now if we have an encapsulated exception, we'll leak a GC handle unless cleanup happens.