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-26[Mono.Posix] Fix the SocketTest.ControlMsg() test on OSXSteffen Kieß
Unlike Linux, OSX does not allow multiple SCM_RIGHTS control messages in sendmsg(). The SocketTest.ControlMsg() test is split into two tests, one which sends only a single control message (containing two FDs), and another one which sends two control messages (each containing one FD). The second test is not executed on OSX.
2016-01-26[System] Make SmtpClient fallback to it's old behaviour if the hostname ↵Sebastien Pouliot
cannot be resolved. Fix #37246 Warning: System.Net.Mail is broken by design and sends incorrect emails. This is not to fix SmtpClient itself but to ensure it remains compatible (even if incorrect/broken) with older Mono releases. The commit associated with bug# 33551 [1] can cause issues on computer and devices that cannot resolve their hostname using the Dns API (which have their own issues). This commit catch the exception that occurs when resolution fails and continue to send an email without a fully qualified domain name - just like earlier Mono versions did in the past. This solve bug #32746 [2] where some, but not all, AppleTV devices fails to execute some of the System.dll unit tests. Note: Whenever possible stay clear of SmtpClient (and friends) and use something else like MimeKit/MailKit for your email needs [1] https://bugzilla.xamarin.com/show_bug.cgi?id=33551 [2] https://bugzilla.xamarin.com/show_bug.cgi?id=37246
2016-01-26Merge pull request #2490 from ludovic-henry/monoerror-mono_string_builder_to_Rodrigo Kumpera
[runtime] Use MonoError for mono_string_builder_to_utf8 and mono_string_builder_to_utf16
2016-01-26Merge pull request #2463 from ludovic-henry/monoerror-mono_object_new_pinnedRodrigo Kumpera
[runtime] Use MonoError for mono_object_new_pinned
2016-01-26Merge pull request #2510 from jonpryor/jonp-MonoThread-accessorsJonathan Pryor
[runtime] Allow getting thread name, managed id from embedding API
2016-01-26Merge pull request #2512 from ludovic-henry/fix-coop-test-runtimeRodrigo Kumpera
[coop] Use mono_thread_info_usleep which transition to BLOCKING state
2016-01-26[runtime] Add MONO_ERROR_EXCEPTION_INSTANCE MonoErrorAleksey Kliger
This kind of MonoError can encapsulate a managed MonoException object. (For example as a result of mono_runtime_invoke ()).
2016-01-26Merge pull request #2449 from lambdageek/dev/no-chunksmonojenkins
[handle] Remove chunk_last field from MonoHandleArena Remove the `chunk_last` field. This changes MonoHandleArena from a queue of chunks to a stack of chunks. More importantly, the MonoHandleArena has an initial chunk that is allocated on the stack together with the arena. Previously that chunk was at the front of the list of chunks, but now it is at the end.
2016-01-26Merge pull request #2514 from akoeplinger/disable-monoposix-testAlexander Köplinger
[Mono.Posix] Disable new ControlMsg() test that fails on OSX for now
2016-01-26[runtime] Use MonoError for mono_string_builder_to_utf8 and ↵Ludovic Henry
mono_string_builder_to_utf16
2016-01-26Merge pull request #2511 from ludovic-henry/fix-coop-debuggermonojenkins
[coop] Fix debugger BLOCKING transitions
2016-01-26[Mono.Posix] Disable new ControlMsg() test that fails on OSX for nowAlexander Köplinger
Added with https://github.com/mono/mono/pull/2097. Fails on Jenkins: ``` Test Case Failures: 1) MonoTests.Mono.Unix.Native.SocketTest.ControlMsg : System.ArgumentException : Invalid argument ----> Mono.Unix.UnixIOException : Invalid argument [EINVAL]. at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs:460 at MonoTests.Mono.Unix.Native.SocketTest+<ControlMsg>c__AnonStorey2.<>m__0 (Int32 so1, Int32 so2) [0x0018f] in /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/Mono.Posix/Test/Mono.Unix.Native/SocketTest.cs:778 at MonoTests.Mono.Unix.Native.SocketTest.WithSocketPair (System.Action`2 f) [0x00025] in /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/Mono.Posix/Test/Mono.Unix.Native/SocketTest.cs:68 at MonoTests.Mono.Unix.Native.SocketTest.<ControlMsg>m__9 (Int32 inner_so1, Int32 inner_so2) [0x00014] in /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/Mono.Posix/Test/Mono.Unix.Native/SocketTest.cs:739 at MonoTests.Mono.Unix.Native.SocketTest.WithSocketPair (System.Action`2 f) [0x00025] in /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/Mono.Posix/Test/Mono.Unix.Native/SocketTest.cs:68 at MonoTests.Mono.Unix.Native.SocketTest.ControlMsg () [0x00000] in /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/Mono.Posix/Test/Mono.Unix.Native/SocketTest.cs:738 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 /Users/builder/jenkins/workspace/test-mono-mainline@2/label/osx-i386/mcs/class/corlib/System.Reflection/MonoMethod.cs:295 --UnixIOException ```
2016-01-26[llvmonly] Call 'opt' when running with --aot=asmonly too. No optimizations ↵Zoltan Varga
enabled yet.
2016-01-26[llvm] Add another missing opcode.Zoltan Varga
2016-01-26Merge pull request #2483 from ludovic-henry/monoerror-mono_string_new_sizeRodrigo Kumpera
[runtime] Use MonoError for mono_string_new_size
2016-01-26Merge pull request #2493 from ludovic-henry/monoerror-mono_thread_attach_fullRodrigo Kumpera
[runtime] Use MonoError for mono_thread_attach_full
2016-01-26Merge pull request #2489 from ludovic-henry/monoerror-mono_array_new_specificRodrigo Kumpera
[runtime] Use MonoError for mono_array_new_specific
2016-01-26Merge pull request #2481 from ludovic-henry/monoerror-mono_array_new_fullRodrigo Kumpera
[runtime] Use MonoError for mono_array_new_full
2016-01-26[llvmonly] Reenable running 'opt', it was disabled by mistake.Zoltan Varga
2016-01-26[llvmonly] Avoid inlining the original method into unbox trampolines.Zoltan Varga
2016-01-26[coop] Use mono_thread_info_usleep which transition to BLOCKING stateLudovic Henry
Because we could sleep for too long, while being in RUNNING state, the cooperative suspend would not finish in a timely manner. That would lead to the abort in `mono_threads_wait_pending_operations`.
2016-01-26[coop] Fix debugger BLOCKING transitionsLudovic Henry
Make the transition as close as possible to the syscall, so we don't nest these BLOCKING transition, as they leads to a crash.
2016-01-25[runtime] Use MonoError for mono_object_new_pinnedLudovic Henry
2016-01-25[runtime] Use MonoError for RESOLVE_TYPEAleksey Kliger
2016-01-25Merge pull request #2097 from steffen-kiess/posix-sockets-3Jonathan Pryor
[Mono.Posix] Add support for sending and receiving socket control messages
2016-01-25[runtime] Use MonoError for check_array_for_usertypesAleksey Kliger
2016-01-25[runtime] Allow getting thread name, managed id from embedding APIJonathan Pryor
When tracing multi-threaded program execution, it is useful to have a way of separating which events happen on which thread. The System.Threading.Thread.Name and Thread.ManagedThreadId properties are useful proxies for tracking program execution. However, if program execution spans both managed and embedded mono native code, there is no existing mechanism to read the Thread.Name or Thread.ManagedThreadId properties from native code without using delegates, and delegates may not be usable in all circumstances (e.g. within a mono_gc_register_bridge_callbacks() callback). Add the following APIs to the embedding API to permit reading the Thread.Name and Thread.ManagedThreadId properties: char *mono_thread_get_name_utf8 (MonoThread *thread); gint32 mono_thread_get_managed_id (MonoThread *thread); mono_thread_get_name_utf8() returns the Thread.Name value as a UTF-8 string in newly allocated memory; the caller must g_free() this value. mono_thread_get_managed_id() returns the Thread.ManagedThreadId value.
2016-01-25[llvmonly] Rename MonoDelegate.rgctx to 'extra_arg' to better reflect its ↵Zoltan Varga
purpose.
2016-01-25Merge pull request #2429 from alexanderkyte/nunit_lite_integrationZoltan Varga
[nunit-lite] Add nunit-lite runner to build system
2016-01-25[tests][System][ios] Avoid reflection usage when testing for Xamarin.iOS. ↵Sebastien Pouliot
Fixes #34133 When the linker is enabled (default for device builds) unused methods are removed and cannot be reflected. In this case we do not need reflection as the answer to port reuse is always true. https://bugzilla.xamarin.com/show_bug.cgi?id=34133
2016-01-25[runtime] Use MonoError for mono_reflection_type_resolve_user_typesAleksey Kliger
2016-01-25[amd64] Fix d786f235eb48d70d8032708ea19886898e5d1434.Zoltan Varga
2016-01-25Merge pull request #2504 from ludovic-henry/fix-console-errormonojenkins
[Console] Fix Console.Error to terminal (tty)
2016-01-25[Console] Cleanup console setupLudovic Henry
2016-01-25[Console] Fix Console.Error to terminal (tty)Ludovic Henry
We would previously open the standard output for the Console.Error StreamWriter. This behavior has never surfaced so far, because if you try to redirect the process standard output through a pipe or to a file, then the condition ConsoleDriver.IsConsole does not apply, and the other path does not have the same bug. The only way to reproduce it is to redirect the standard error to another file, and observe that you would still have the Console.Error content. For example, with mono/tests/console-output.exe: Expected output: $> MONO_PATH=mcs/class/lib/net_4_x mono/mini/mono mono/tests/console-output.exe 2>/dev/null Out Actual output: $> MONO_PATH=mcs/class/lib/net_4_x mono/mini/mono mono/tests/console-output.exe 2>/dev/null Out Error Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=36988
2016-01-25[System.Xml] Fix sub class serialization on listsMarcos Henrich
Fixes failure, where XmlSerializer would crash while serializing a list with multiple XmlElement when a sub class of the XmlElement is used. Fixes #36829.
2016-01-25Remove libgc/depcomp and libgc/missing, newer automake versions seem to ↵Zoltan Varga
overwrite them.
2016-01-25[llvm] Fix 32 bit platform support which got broken after ↵Zoltan Varga
c678533842f10356968c203ed8fa43e86a406c6e.
2016-01-25[amd64] Add some more unwind info for generic trampolines.Zoltan Varga
2016-01-25[llvmonly] Optimize delegate invocation.Zoltan Varga
2016-01-24[runtime] Use MonoError for mono_string_allocLudovic Henry
2016-01-24Merge pull request #2487 from alexanderkyte/wrapper_type_mismatchZoltan Varga
[runtime] Fix type mismatch between runtime invoke and aot compiler
2016-01-24[llvmonly] Fix the invocation of generic array helpers, they need an rgctx arg.Zoltan Varga
2016-01-23Merge pull request #2499 from alexrp/signal-sa-restartmonojenkins
[runtime] Add SA_RESTART to SIG{CONT,INT,PROF,QUIT,USR2,WINCH}. We need this as these signals can be delivered at any point and can interrupt system calls that external (non-Mono) code is executing, which such code may not be written to handle gracefully.
2016-01-23Merge pull request #2453 from kumpera/fix_ji_freeRodrigo Kumpera
[runtime] Avoid a read-after-free in JI table that frees tomstones. Fixes some of the crashes in #36851.
2016-01-23[linker] Add API to notify subclasses of removed attributes.Rolf Bjarne Kvinge
2016-01-23[arm] Emit more complete unwind info for generic trampolines.Zoltan Varga
2016-01-23[mobile_static] Fixed AES class usage for mobile_static profileAlexander Kyte
2016-01-23[bcl/build] Move the config include before setting platform if it is ↵Alexander Kyte
missing, otherwise wrong platform file included
2016-01-23[mobile_static] Work around a test that breaks with aot loadingAlexander Kyte