Rodrigo Kumpera [Tue, 9 Oct 2012 20:02:52 +0000 (16:02 -0400)]
iOS cross compilation needs some forward declarations.
Zoltan Varga [Thu, 12 Jul 2012 04:02:06 +0000 (06:02 +0200)]
Make the 'Attempting to JIT compile method' message reference docs.xamarin.com/ios/about/limitations.
Rodrigo Kumpera [Thu, 15 Nov 2012 21:48:32 +0000 (16:48 -0500)]
Switch the runtime to use TARGET_IOS and TARGET_OSX instead of playing with TargetConditionals.
Rodrigo Kumpera [Thu, 15 Nov 2012 21:21:25 +0000 (16:21 -0500)]
Switch boehm to use TARGET_OSX/TARGET_IOS.
Rodrigo Kumpera [Thu, 15 Nov 2012 21:08:38 +0000 (16:08 -0500)]
Add TARGET_IOS and TARGET_OSX defines to help cleanup the current mess.
Rodrigo Kumpera [Thu, 15 Nov 2012 20:30:40 +0000 (15:30 -0500)]
Fix the cross compilation check to properly detect android v5.
* configure.in: We tried to match "arm*-unknown-linux-gnueabi*"
firs and then "armv5-*-linux-androideabi*" which obviously don't
match. Fix that by making the first test more broad.
Rodrigo Kumpera [Thu, 15 Nov 2012 20:21:49 +0000 (15:21 -0500)]
Remove superfluous AC_DEFINE.
Zoltan Varga [Thu, 10 May 2012 13:47:45 +0000 (15:47 +0200)]
Add a no-direct-calls AOT option to help fix #4587.
Sebastien Pouliot [Mon, 20 Feb 2012 02:00:33 +0000 (21:00 -0500)]
Add link to docs.xamarin.com/ios/troubleshooting when running out of trampolines
Rolf Bjarne Kvinge [Thu, 9 Feb 2012 22:09:53 +0000 (23:09 +0100)]
It is not necessary to convert code to thumb addresses in direct-method-address mode. Fixes #3275.
Rolf Bjarne Kvinge [Thu, 15 Dec 2011 22:59:56 +0000 (23:59 +0100)]
AOT: Add option to emit global symbols for methods. Fixes #2471.
The logic here is that we emit the debug name for a method as the global
symbol, not the generated name we otherwise use, and we don't emit a debug
symbol. The issue is that if we have both a global debug symbol and a global
(generated) method name, which one will show up in stack traces is undefined.
This is a temporary patch until it has been reviewed by the runtime
people (it's only on mobile-master for now).
Rolf Bjarne Kvinge [Thu, 15 Dec 2011 22:59:19 +0000 (23:59 +0100)]
AOT: Don't use fixed-size buffers and sprintf with asm_symbol.
This is a temporary patch until it has been reviewed by the runtime
people (it's only on mobile-master for now).
Rolf Bjarne Kvinge [Tue, 22 Nov 2011 12:21:38 +0000 (13:21 +0100)]
AOT: Add more MONOTOUCH ifdefs to not break M4A
Rolf Bjarne Kvinge [Wed, 16 Nov 2011 21:57:23 +0000 (16:57 -0500)]
AOT: Use direct method addresses instead of calculating offsets since the linker may move/reorder methods
Partially fixes #707.
This is a temporary patch until it has been reviewed by the runtime
people (since some people need it urgently and there is no real
workaround).
Rolf Bjarne Kvinge [Wed, 16 Nov 2011 21:54:14 +0000 (16:54 -0500)]
AOT: Follow jumps when getting the plt entry for a call.
Partially fixes #707 - the issue is that the arm linker may insert branch
islands between branch location and branch target if the branch target
is too far away to be encoded in the branch instruction.
This is a temporary patch until it has been reviewed by the runtime
people (since some people need it urgently and there is no real
workaround).
Rodrigo Kumpera [Thu, 15 Nov 2012 19:35:10 +0000 (14:35 -0500)]
Disable dynamic loading for iOS simulator builds.
Rodrigo Kumpera [Thu, 15 Nov 2012 19:27:26 +0000 (14:27 -0500)]
Fix boehm to correctly build on iOS/x86.
Zoltan Varga [Thu, 14 Jun 2012 15:45:34 +0000 (17:45 +0200)]
Add more logging to the sdb debugger thread.
Rodrigo Kumpera [Tue, 4 Sep 2012 20:58:50 +0000 (17:58 -0300)]
MonoDroid needs a way to inform the debugger of possibly unhandled exceptions.
* Debugger.cs: Add Mono_UnhandledException method that
triggers sdb to send an unhandled exception message to the agent.
This is needed since MonoDroid can't know at the Java->C# boundary
if a given C# exception is unmanaged or not.
Rolf Bjarne Kvinge [Wed, 26 Oct 2011 11:19:24 +0000 (13:19 +0200)]
[sdb] Export functions to register custom transports and do the handshake.
Marek Safar [Thu, 15 Nov 2012 15:12:33 +0000 (16:12 +0100)]
Don't crash when imported constant is of unknown type. Fixes #8399
Marek Safar [Thu, 15 Nov 2012 14:32:29 +0000 (15:32 +0100)]
Handle type hidding via local variables and parameters. Fixes #8383
Jeremie Laval [Thu, 15 Nov 2012 14:57:30 +0000 (14:57 +0000)]
[corlib] Fix unobserved exception being mistakenly propagated to finalizer thread when using ContinueWhenAll.
The problem was that we internally use Task.WhenAll inside TaskFactory.ContinueWhenAll to merge the given tasks into one that we can Continue on to run the passed arguments.
However, the behavior of WhenAll is to collect the exceptions that happened on its parent tasks and to set the aggregate on itself which was not catched by our continuation internally, leading to the exception remaining unobserved and escalating to the finalizer thread.
Atsushi Eno [Thu, 15 Nov 2012 05:36:29 +0000 (14:36 +0900)]
set NO_INSTALL = yes until we decide how to deal with them and fix dist.
Atsushi Eno [Thu, 15 Nov 2012 04:03:32 +0000 (13:03 +0900)]
Fix fix fix, insufficient signing stuff.
Zoltan Varga [Thu, 15 Nov 2012 03:22:23 +0000 (04:22 +0100)]
Reorganize the scan-minor-copy/scan.h header files a bit. Move the nursery copying functions to sgen-minor-copy.h, uppercase some macro names.
Atsushi Eno [Thu, 15 Nov 2012 01:03:28 +0000 (10:03 +0900)]
damn, another DISTFILES required.
Atsushi Eno [Thu, 15 Nov 2012 00:36:03 +0000 (09:36 +0900)]
fix install-local and simplify signing in rx assemblies.
Atsushi Eno [Thu, 15 Nov 2012 00:18:17 +0000 (09:18 +0900)]
Another dist build fix for rx integration, move *.cs file to safe-ish path.
Rolf Bjarne Kvinge [Thu, 20 Oct 2011 12:56:05 +0000 (14:56 +0200)]
Add profiler to the monotouch build
Rodrigo Kumpera [Wed, 14 Nov 2012 21:01:04 +0000 (16:01 -0500)]
Tweak the Makefiles to enable monotouch builds to compile less stuff.
* Makefile.am: Make it possible to only produce the monotouch
byproducts.
Rodrigo Kumpera [Wed, 14 Nov 2012 21:00:58 +0000 (16:00 -0500)]
Fix iOS cross compilation.
Rodrigo Kumpera [Wed, 14 Nov 2012 20:22:58 +0000 (15:22 -0500)]
Initialize LLVM's ARM target when compiling for it.
Rodrigo Kumpera [Wed, 14 Nov 2012 20:22:19 +0000 (15:22 -0500)]
Use the right llvm codegen when cross compiling.
Sebastien Pouliot [Wed, 3 Aug 2011 20:19:45 +0000 (16:19 -0400)]
FileVersionInfo is not really 'process handling'. Fix regression from #709278
Rodrigo Kumpera [Wed, 14 Nov 2012 19:36:07 +0000 (14:36 -0500)]
Kill the SL profile and get Mobile on its place instead.
* socket-io.c:
* threadpool.c:
* domain-internals.h: The mobile profile uses System.dll for sockets.
Rodrigo Kumpera [Wed, 14 Nov 2012 17:28:41 +0000 (12:28 -0500)]
Fix ARM compilation of mono-context.c
Rodrigo Kumpera [Tue, 4 Sep 2012 21:01:18 +0000 (18:01 -0300)]
Bionic cannot handle a NULL filename in dlopen.
Rodrigo Kumpera [Tue, 9 Oct 2012 21:14:09 +0000 (17:14 -0400)]
Implement MONO_CONTEXT_GET_CURRENT for arm.
Atsushi Eno [Wed, 14 Nov 2012 19:55:50 +0000 (04:55 +0900)]
ok, those resources need *.prebuilt too...
Atsushi Eno [Wed, 14 Nov 2012 19:28:07 +0000 (04:28 +0900)]
Changed resx/resources build steps based on MWF approach.
Atsushi Eno [Wed, 14 Nov 2012 18:27:26 +0000 (03:27 +0900)]
update rx (removed InternalsVisibleTo workarounds)
Atsushi Eno [Wed, 14 Nov 2012 18:26:14 +0000 (03:26 +0900)]
...and they also need EXTRA_DISTFILES for tarballs.
Atsushi Eno [Wed, 14 Nov 2012 17:43:58 +0000 (02:43 +0900)]
I needed to add rx to .gitmodules too.
Atsushi Eno [Wed, 14 Nov 2012 17:00:42 +0000 (02:00 +0900)]
and add more missing files for rx build...
Atsushi Eno [Wed, 14 Nov 2012 16:58:31 +0000 (01:58 +0900)]
forgot to switch to the release-ready branch.
Atsushi Eno [Wed, 14 Nov 2012 16:56:14 +0000 (01:56 +0900)]
import Microsoft Reactive Extensions from rx.codeplex.com and add to build.
Rodrigo Kumpera [Thu, 30 Aug 2012 22:45:58 +0000 (19:45 -0300)]
Properly support cross compiling for the mach support code.
* Makefile.am: When cross compiling use the new -unknown variant of
the mach support code so we don't need to wrestle which one the host
is running on.
Rodrigo Kumpera [Thu, 30 Aug 2012 22:51:24 +0000 (19:51 -0300)]
Fix mach support for arm.
* mach-support-arm.c: Fix a silly thinko in mono_mach_arch_get_thread_state.
Rodrigo Kumpera [Tue, 13 Nov 2012 23:26:22 +0000 (18:26 -0500)]
Replace mcontext with void* in the mach support code so it cross compile nicely.
Rodrigo Kumpera [Tue, 13 Nov 2012 23:06:49 +0000 (18:06 -0500)]
Don't use System.Environment.Exit to finish a sdb session on iOS.
Sebastien Pouliot [Wed, 14 Nov 2012 16:24:59 +0000 (11:24 -0500)]
Add test case from bug #8366 (it was fixed in master, not in 2-10)
Marek Safar [Wed, 14 Nov 2012 11:26:45 +0000 (12:26 +0100)]
More fixed for conditional expression promotions. Fixes #8385
Marek Safar [Wed, 14 Nov 2012 10:45:40 +0000 (11:45 +0100)]
Base access can be upgraded only to valid overrides of initial method. Fixes #8334
Zoltan Varga [Wed, 14 Nov 2012 01:08:22 +0000 (02:08 +0100)]
Quit more messages about configure.in/configure.ac.
Zoltan Varga [Wed, 14 Nov 2012 00:21:01 +0000 (01:21 +0100)]
Sweep unswept blocks referenced by set card table entries.
Zoltan Varga [Sat, 10 Nov 2012 18:53:39 +0000 (19:53 +0100)]
Use multiple versions of sweek_block () specialized for constant object sizes.
Zoltan Varga [Sat, 10 Nov 2012 18:39:04 +0000 (19:39 +0100)]
Implement lazy sweeping for the mark-sweep collector in sgen.
Rodrigo Kumpera [Tue, 13 Nov 2012 22:40:52 +0000 (17:40 -0500)]
Use TARGET defines instead of the arch specific ones.
Rodrigo Kumpera [Tue, 13 Nov 2012 22:40:41 +0000 (17:40 -0500)]
Add a cross compilation target to sgen-archdep.h
Chris Toshok [Wed, 13 Jul 2011 00:08:41 +0000 (17:08 -0700)]
Replace .quad with a pair of .long in the defunkt mdb.
Rodrigo Kumpera [Tue, 13 Nov 2012 20:56:21 +0000 (15:56 -0500)]
Use TARGET defines instead of the arch defines to properly handle cross compilation.
Rodrigo Kumpera [Tue, 13 Nov 2012 20:52:17 +0000 (15:52 -0500)]
Correctly identify iOS device/simulator builds and act accordingly.
* processes.c: Use the same behavior under simulator as on
device when finding process names.
* mini-darwin.c: The simulator doesn't need the exception thread
as well.
* mini-sigcontext.h: Simulator uses the new ucontext names.
Rodrigo Kumpera [Tue, 13 Nov 2012 20:52:05 +0000 (15:52 -0500)]
Do the right check for TARGET_IPHONE_SIMULATOR.
Martin Baulig [Tue, 13 Nov 2012 22:04:26 +0000 (23:04 +0100)]
Support [OnSerializing] in System.Runtime.Serialization.Json.
This fixes a problem that has been reported on stackoverflow:
http://stackoverflow.com/questions/
13362906/onserializing-method-not-called-in-mono-3-0-1
Jonathan Pryor [Tue, 13 Nov 2012 18:17:08 +0000 (13:17 -0500)]
Update.
Rodrigo Kumpera [Tue, 13 Nov 2012 15:29:48 +0000 (10:29 -0500)]
Fix boehm to correctly build on iOS/x86.
* darwin_stop_world.c: Use the target macros from Apple to figure
out what flavor of darwin we're compiling against.
Sebastien Pouliot [Tue, 13 Nov 2012 14:30:28 +0000 (09:30 -0500)]
Only send server_name extension for TLS (not SSLv3). Fix for #8312
Marek Safar [Tue, 13 Nov 2012 11:13:40 +0000 (03:13 -0800)]
Merge pull request #503 from bprzygoda/linq_enumerable_ioe
Filling Linq' IEnumerable extensions InvalidOperationException messages.
Paolo Molaro [Tue, 13 Nov 2012 11:04:39 +0000 (12:04 +0100)]
Confirmed fix from Marek for #xambug 8320.
The memberref table is not a valid option for computing the
MemberRefParent tag size.
bprzygoda [Tue, 13 Nov 2012 08:49:17 +0000 (09:49 +0100)]
Wrapped IEnumerable extensions InvalidOperationException throws into factory methods.
Fixed incorrect messages for Average methods.
Marek Safar [Tue, 13 Nov 2012 08:28:20 +0000 (09:28 +0100)]
Do full check for missing type when importing class constraints. Fixes #5760
bprzygoda [Tue, 13 Nov 2012 06:12:02 +0000 (07:12 +0100)]
Looked through all InvalidOperationException thrown by IEnumerable Linq extension methods, and added messages according to ms implementation.
In case of methods with predicate/selector, message is: 'Sequence contains no matching elements', wheras ms implementation just yields 'Sequence contains no elements, because it just calls predicateless/selectorless methods after filtering out the collection.
Marek Safar [Mon, 12 Nov 2012 18:48:40 +0000 (10:48 -0800)]
Merge pull request #501 from knocte/fix_linq_ioe
[Linq] Return a clearer exception message for Enumerable<T>.First()'s IOE
Andres G. Aragoneses [Mon, 12 Nov 2012 18:34:44 +0000 (18:34 +0000)]
[Linq] Return a clearer exception message for Enumerable<T>.First()'s IOE
This method was using the empty constructor (no message) of
InvalidOperationException if no element matched the predicate.
This meant that the message bubbled up would be a bit confusing:
"Operation is not valid due to the current state of the object".
This commit makes Mono match MS.NET by throwing "Sequence contains
no matching element"
Marek Safar [Mon, 12 Nov 2012 08:52:13 +0000 (09:52 +0100)]
Add 4.5 profile sdk for CSharpCodeProvider. Fixes #3582
Marek Safar [Mon, 12 Nov 2012 08:47:03 +0000 (09:47 +0100)]
Clean up some warnings
Jonathan Pryor [Mon, 12 Nov 2012 03:22:37 +0000 (22:22 -0500)]
[Mono.Options] Add documentation for Option.Hidden.
Zoltan Varga [Mon, 12 Nov 2012 02:24:21 +0000 (03:24 +0100)]
Add a few missing #ifdef HAVE_SGEN_GC blocks to
1fa0a65b2ff8b548aceb2f66c51b8e9e49b7aae4.
Zoltan Varga [Mon, 12 Nov 2012 02:06:46 +0000 (03:06 +0100)]
Add --enable-minimal= configure options to disable sgen features.
Marek Safar [Sun, 11 Nov 2012 17:28:38 +0000 (18:28 +0100)]
Add System.Runtime.Serialization to runtime remapping. Fixes #8037
Marek Safar [Sun, 11 Nov 2012 14:46:54 +0000 (15:46 +0100)]
Fix win serial port constants. Fixes #8285
Marek Safar [Sun, 11 Nov 2012 14:04:30 +0000 (15:04 +0100)]
Save repl shell history on quit. Fixes #8156
Marek Safar [Sun, 11 Nov 2012 13:20:41 +0000 (14:20 +0100)]
Don't filter out user operator of System.Char type. Fixes #8263
Zoltan Varga [Sat, 10 Nov 2012 22:53:55 +0000 (23:53 +0100)]
Remove sgen sources from libmonoruntime_la_SOURCES, so changes to sgen files cause less libraries/executables to be recompiled.
Zoltan Varga [Sat, 10 Nov 2012 22:50:06 +0000 (23:50 +0100)]
Declare the memory region passed to conservatively_pin_objects_from () as defined to prevent many warning errors.
Zoltan Varga [Sat, 10 Nov 2012 22:49:18 +0000 (23:49 +0100)]
Update valgrind headers.
Marek Safar [Sat, 10 Nov 2012 17:08:41 +0000 (18:08 +0100)]
Remove extra #endif
Marek Safar [Sat, 10 Nov 2012 15:36:45 +0000 (16:36 +0100)]
When comparing base type interface implementation parameters use ordered comparer. Fixes #8283
Marek Safar [Sat, 10 Nov 2012 14:30:45 +0000 (15:30 +0100)]
Correctly check recursive constraints involving type parameters. Fixes #8232
Marek Safar [Sat, 10 Nov 2012 14:06:05 +0000 (15:06 +0100)]
Clean up some ifdefs
Marek Safar [Sat, 10 Nov 2012 14:29:22 +0000 (06:29 -0800)]
Merge pull request #499 from bh-whd/master
Fix bug 8278 (https://bugzilla.xamarin.com/show_bug.cgi?id=8278)
Duncan Mak [Fri, 9 Nov 2012 19:39:58 +0000 (14:39 -0500)]
Bump to 3.0.2
Rodrigo Kumpera [Fri, 9 Nov 2012 18:07:05 +0000 (13:07 -0500)]
Replace a g_assert with a g_error.
Rodrigo Kumpera [Fri, 9 Nov 2012 18:05:07 +0000 (13:05 -0500)]
The FullAOT compiler needs the BSTR icalls.
* cominterop.c: The FullAOT compiler needs the BSTR icalls so
it can handle wrappers that marshal BSTRs.
Rodrigo Kumpera [Fri, 9 Nov 2012 18:02:19 +0000 (13:02 -0500)]
Remove more from COM in corlib.
* EXCEPINFO.cs: These types are only usable with the COM machinery
enabled. It's better to just take them out.
* Marshal.cs: The COM icalls are not available under DISABLE_COM
so let's make sure they are not present.
Rodrigo Kumpera [Thu, 8 Nov 2012 22:32:09 +0000 (17:32 -0500)]
Make LINQ sort work with Full AOT.
Rodrigo Kumpera [Thu, 8 Nov 2012 21:08:59 +0000 (16:08 -0500)]
Add compatibility only flag to the aot compiler.
* aot-compiler.c: Add iphone-abi option. This flag no longer
matter as we always use the right ABI on iOS. This exists only
to remains compatible with old applications.
Rodrigo Kumpera [Thu, 8 Nov 2012 21:07:14 +0000 (16:07 -0500)]
Don't use a fixed file name for LLVM compilation.
* aot-compiler.c: Don't use a fixed name for the intermediary files
so we can do parallel compilation on the same folder.
Rodrigo Kumpera [Thu, 8 Nov 2012 20:49:20 +0000 (15:49 -0500)]
Remove usage of -mmacosx-version-min