Martin Baulig [Wed, 21 Nov 2012 01:03:03 +0000 (02:03 +0100)]
[System.Configuration]: Fix filenames in ExeConfigurationFileMap.
Martin Baulig [Tue, 20 Nov 2012 22:02:45 +0000 (23:02 +0100)]
Fix ConfigurationManagerTest for .NET 4.0 and 4.5.
Use a new 'DotNetVersion' property rather than hardcoding 'net_2_0'.
Martin Baulig [Fri, 16 Nov 2012 21:03:49 +0000 (22:03 +0100)]
Fix NTLM related test failures.
* Provide a more descriptive [Obsolete] message for the legacy API.
* Refuse to send the LM response unless explicitly enabled with
Type3Message.DefaultAuthLevel. The LM response is only actually
checked by old, pre-historic servers and sending it exposes the
user's password to very weak encryption.
* Fix some problems when encoding / decoding problems in Type2Message.
* Type3Message now encodes host and domain name in a case-sensitive
way, fixes the tests.
Sebastien Pouliot [Tue, 20 Nov 2012 22:00:18 +0000 (17:00 -0500)]
Allow the linker to preserve a whole assembly. Avoid using linkskip (e.g. with linkall) on several projects using the same (non-linkable) assembly
Rodrigo Kumpera [Tue, 20 Nov 2012 21:54:33 +0000 (16:54 -0500)]
Use Zoltan's simpler promotion failure check for the simple nursery.
Rodrigo Kumpera [Tue, 20 Nov 2012 21:42:52 +0000 (16:42 -0500)]
Revert SERIAL_COPY_OBJECT_FROM_OBJ as it's only benefit is to avoid a remset check
we can't really avoid. And the simplification for the simple nursery can be done directly
in HANDLE_POINTER.
Mark Probst [Tue, 20 Nov 2012 19:33:51 +0000 (20:33 +0100)]
[sgen] Fix use of volatile in the lock free allocator.
Ignorant use of volatile resulted in a bug in the lock free queue, which is used by the lock
free allocator.
Miguel de Icaza [Tue, 20 Nov 2012 17:02:40 +0000 (12:02 -0500)]
Added target
Marek Safar [Tue, 20 Nov 2012 16:50:49 +0000 (17:50 +0100)]
Report error for missing assembly reference used by type forwarder.
Marek Safar [Tue, 20 Nov 2012 16:48:01 +0000 (17:48 +0100)]
Update to the latest IKVM.Reflection
Rodrigo Kumpera [Tue, 20 Nov 2012 16:15:18 +0000 (11:15 -0500)]
Fix compilation on non gcc systems with varargs.
Zoltan Varga [Tue, 20 Nov 2012 15:42:12 +0000 (16:42 +0100)]
Remove a -W option which breaks with older gcc versions.
Marek Safar [Tue, 20 Nov 2012 12:03:15 +0000 (13:03 +0100)]
Fix NativeOverlapped definition. Fixes #8449
Marek Safar [Tue, 20 Nov 2012 11:47:15 +0000 (12:47 +0100)]
Add new test
Marek Safar [Tue, 20 Nov 2012 11:31:46 +0000 (03:31 -0800)]
Merge pull request #506 from antoniusriha/master
WindowsBase: Add some implementation to class GroupDescription
Antonius Riha [Tue, 20 Nov 2012 10:59:31 +0000 (11:59 +0100)]
[WindowsBase] Add some implementation to class GroupDescription
Zoltan Varga [Tue, 20 Nov 2012 07:49:20 +0000 (08:49 +0100)]
Fix some warnings when compiling with clang. Remove -pthread argument from ldflags on osx.
Zoltan Varga [Tue, 20 Nov 2012 07:27:20 +0000 (08:27 +0100)]
Fix libgc compilation with clang.
Zoltan Varga [Tue, 20 Nov 2012 07:26:35 +0000 (08:26 +0100)]
Rename 'thread_info' global in sgen to 'sgen_thread_info' since it seems to conflict with a system definition on osx when using clang.
Zoltan Varga [Tue, 20 Nov 2012 07:14:08 +0000 (08:14 +0100)]
Disable --tls=__thread support when using clang until it is fixed.
Zoltan Varga [Tue, 20 Nov 2012 06:42:05 +0000 (07:42 +0100)]
Fix OBJ_BITMAP_FOREACH_PTR () for non gcc compilers.
Zoltan Varga [Tue, 20 Nov 2012 06:32:59 +0000 (07:32 +0100)]
Optimize OBJ_BITMAP_FOREACH_PTR () using __builtin_ctz ().
Rodrigo Kumpera [Tue, 20 Nov 2012 01:35:15 +0000 (20:35 -0500)]
Fixe memberref parent token size calculation.
Rodrigo Kumpera [Tue, 4 Sep 2012 21:03:25 +0000 (18:03 -0300)]
For some unknown reason sequence points on wrappers are disabled on android.
Zoltan Varga [Fri, 16 Mar 2012 02:21:24 +0000 (03:21 +0100)]
Added a workaround for #2190. Avoid calling mono_arch_get_argument_info () from the stack walking code on x86, its not signal safe.
Rolf Bjarne Kvinge [Thu, 15 Mar 2012 13:51:23 +0000 (14:51 +0100)]
Redirect g_print and relatives to the device log in MonoTouch.
* goutput.c: Redirect output to the device log on iOS devices.
Rodrigo Kumpera [Mon, 19 Nov 2012 22:50:39 +0000 (17:50 -0500)]
Redirect console output for iOS/Android when tracing.
* trace.c: Given the quite complex usage of printf by
the tracing code, we resort to a simple hack to do it.
Rodrigo Kumpera [Mon, 19 Nov 2012 22:31:55 +0000 (17:31 -0500)]
Switch exception reporting to use utils/mono-logger-internal.h.
Rodrigo Kumpera [Mon, 19 Nov 2012 22:31:15 +0000 (17:31 -0500)]
Switch sgen to use utils/mono-logger-internal.h for logging.
Rodrigo Kumpera [Mon, 19 Nov 2012 22:28:15 +0000 (17:28 -0500)]
Add stdout/stderr wrappers for the gc and runtime.
* mono-logger-internals.h: Add wrappers that correctly redirect
to the right place on iOS and Android devices.
The new functions are line oriented so they don't allow to use multiple
calls to produce a single line. Callers should re-arrange their code to
properly handle this as those devices only have line-oriented facilities.
Rodrigo Kumpera [Mon, 19 Nov 2012 20:03:51 +0000 (15:03 -0500)]
Kill sgen_get_logfile and sgen_debug_printf.
Rodrigo Kumpera [Mon, 19 Nov 2012 19:58:33 +0000 (14:58 -0500)]
Kill explicit usages of gc_debug_file.
Rodrigo Kumpera [Mon, 19 Nov 2012 19:47:16 +0000 (14:47 -0500)]
Replace all uses of DEBUG with SGEN_LOG and SGEN_ASSERT.
* sgen-*.*: Kill the DEBUG macro in favor of clean alternatives.
Rodrigo Kumpera [Mon, 19 Nov 2012 19:45:15 +0000 (14:45 -0500)]
Add macros to sgen meant to replace DEBUG
* sgen-gc.h: Add log and assertions macros so we can have different logging levels
for them and so we can better abstract the logging medium.
Rodrigo Kumpera [Fri, 16 Nov 2012 16:08:27 +0000 (11:08 -0500)]
Disable AOT pretty symbol names on iOS.
* dwarfwriter.c: Don't emit symbol description on iOS
as it crashes dsymutil for darwin-ios.
Zoltan Varga [Mon, 10 Sep 2012 18:47:35 +0000 (20:47 +0200)]
Disable LLVM for methods with nested clauses for now to work around #6650.
Dean Ellis [Mon, 19 Nov 2012 17:08:16 +0000 (17:08 +0000)]
[Mono] TimeZoneInfo.FindSystemTimeZoneById returns null
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=7966
If we cannot find the requiested time zone we should throw a
TimeZoneNotFoundException rather than returning null.
Lluis Sanchez [Mon, 19 Nov 2012 20:03:20 +0000 (21:03 +0100)]
Add tests for bug #8468
Conflicts:
mcs/class/System.XML/Test/System.Xml.Serialization/DeserializeTests.cs
Lluis Sanchez [Mon, 19 Nov 2012 19:18:01 +0000 (20:18 +0100)]
Fix XML serialization bug
When reflecting a class which inherits serializable members from a
base class, the members of the base class must be serialized using the
namespace set in the subclass unless a namespace has been explicitly
set in the base class. Before the fix, the members were always
serialized using the namespace of the base class, even when not set
(in which case it was using the default empty namespace).
Fixes bug 8468 - XML serialization problem.
Marek Safar [Mon, 19 Nov 2012 14:37:20 +0000 (15:37 +0100)]
Prefer indexer over properties with parameters
Marek Safar [Mon, 19 Nov 2012 12:53:30 +0000 (13:53 +0100)]
Reject overload candidates with not enough default parameters before dependency check. Fixes #8466
Zoltan Varga [Mon, 19 Nov 2012 12:52:00 +0000 (13:52 +0100)]
Sweep the heap block containing the object in free_object ().
Zoltan Varga [Mon, 19 Nov 2012 12:17:46 +0000 (13:17 +0100)]
Move an sgen debug message to loglevel 2 from 1.
Zoltan Varga [Mon, 19 Nov 2012 10:23:31 +0000 (11:23 +0100)]
Fix a warning.
Marek Safar [Sun, 18 Nov 2012 18:40:04 +0000 (19:40 +0100)]
Implement support for imported properties with parameters. Fixes #8398
Zoltan Varga [Sun, 18 Nov 2012 16:37:42 +0000 (17:37 +0100)]
Unroll the first loop iteration in OBJ_RUN_LEN_FOREACH_PTR ().
Zoltan Varga [Sun, 18 Nov 2012 03:26:02 +0000 (04:26 +0100)]
Increase the number of trampoline entries reserved for trampolines.
Zoltan Varga [Sun, 18 Nov 2012 02:11:05 +0000 (03:11 +0100)]
Check for nullref exceptions in ves_icall_System_Buffer_BlockCopyInternal () since it is called directly without going through the managed wrapper. Optimize the MONO_CHECK_ARG() macros a bit.
Zoltan Varga [Sat, 17 Nov 2012 09:14:36 +0000 (10:14 +0100)]
Fix the sizeof IL instruction for reference types. Fixes #8448.
Marek Safar [Fri, 16 Nov 2012 21:36:09 +0000 (13:36 -0800)]
Merge pull request #504 from antoniusriha/master
Make Uri.MakeRelativeUri .NET compatible.
Antonius Riha [Tue, 13 Nov 2012 19:03:10 +0000 (20:03 +0100)]
Add a test for UriTemplate.Match
Antonius Riha [Tue, 13 Nov 2012 18:59:16 +0000 (19:59 +0100)]
Fix Uri.MakeRelativeUri and add a bunch of tests
A previous patch on this method broke the method UriTemplate.Match
which calls the Uri.MakeRelativeUri method.
To ensure compatibility with .NET's implementation several tests
have been added.
Zoltan Varga [Fri, 16 Nov 2012 15:35:32 +0000 (16:35 +0100)]
Handle copy_object_no_checks () returning the object itself instead of a copy in SERIAL_COPY_OBJECT_FROM_OBJ ().
Zoltan Varga [Fri, 16 Nov 2012 14:32:41 +0000 (15:32 +0100)]
Fix an uninitialized memory error in the AOT compiler.
Marek Safar [Fri, 16 Nov 2012 12:57:23 +0000 (13:57 +0100)]
Fix unambiguous check between async Task and Task<T>. Fixes #8414
Jeremie Laval [Fri, 16 Nov 2012 11:32:24 +0000 (11:32 +0000)]
[corlib] Protect against multiple invocation of FromAsync result code. Fix #7965.
For some weird reason, it seems the end callback can be called multiple times by some async result.
Marek Safar [Thu, 15 Nov 2012 16:44:46 +0000 (17:44 +0100)]
Fix parsing conditional expression with nullable type followed by coallesce operator. Fixes #8384
Zoltan Varga [Fri, 16 Nov 2012 09:03:25 +0000 (10:03 +0100)]
Add some micro optimizations to the sgen nursery copy functions. Integrate the global remset check into SERIAL_COPY_OBJECT () so it is only done if the object is still in the nursery after the copy.
Sebastien Pouliot [Fri, 16 Nov 2012 02:57:38 +0000 (21:57 -0500)]
Throw an AssemblyResolutionException is anything goes wrong trying to resolve an AssemblyNameReference
Rodrigo Kumpera [Tue, 9 Oct 2012 21:15:42 +0000 (17:15 -0400)]
Arm now requires the usage of MonoContext functions.
Rodrigo Kumpera [Tue, 9 Oct 2012 21:16:12 +0000 (17:16 -0400)]
Fix sgen_suspend_thread on mach-ios.
Rodrigo Kumpera [Tue, 9 Oct 2012 21:23:38 +0000 (17:23 -0400)]
Use full path for includes as this was braking the cross compiler.
Rodrigo Kumpera [Tue, 9 Oct 2012 20:54:39 +0000 (16:54 -0400)]
Fix mono_thread_state_init_from_handle to properly work on darwin-arm.
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