Pablo Ruiz Garcia [Tue, 27 Nov 2012 17:53:58 +0000 (18:53 +0100)]
Fixed xamarin-bug #8565: System.Runtime.Serialization assembly remapping bug when targeting 2/3/3.5 profile.
The problem is related to a fix for issues #8037 & #6528
(
e3b9881) which seems to be breaking shadow copy
with programs targeting .net35 and referencing System.Runtime.Serialization.dll
The fix consists on adding a new version_set entry to each supported_runtime
at mono/metadata/domain.c so I we cope with the case of assemblies which must
be remapped to v4.0 on net4/net45, but which should be remapped to v3.0 (instead
of v3.5) when targeting net2 or net3x.
See: https://bugzilla.xamarin.com/show_bug.cgi?id=8565
License: This patch is under the MIT/X11 license.
Atsushi Eno [Fri, 23 Nov 2012 19:56:32 +0000 (11:56 -0800)]
Merge pull request #409 from Alkarex/patch-1
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngPattern....
Marek Safar [Fri, 23 Nov 2012 17:23:45 +0000 (18:23 +0100)]
Add new test
Marek Safar [Fri, 23 Nov 2012 17:12:52 +0000 (18:12 +0100)]
Support import of F# extension methods. Fixes #8561
Jeremie Laval [Fri, 23 Nov 2012 15:37:43 +0000 (15:37 +0000)]
[monodoc] Big bro is watching you. Log when someone push a new binary to the server.
Jeremie Laval [Fri, 23 Nov 2012 15:19:35 +0000 (15:19 +0000)]
[monkeydoc] Avoid extra copying of EcmaDesc
Jeremie Laval [Fri, 23 Nov 2012 14:56:15 +0000 (14:56 +0000)]
[monkeydoc] Merge/add monkeydoc to master.
The commit also contains tiny changes to existing xml documentation, restoring docs that were lost and a couple fixes to mdoc/monodoc to cope with the new system.
Zoltan Varga [Fri, 23 Nov 2012 14:49:33 +0000 (15:49 +0100)]
Mark mono_arch_create_llvm_native_thunk () as MONO_LLVM_INTERNAL.
Zoltan Varga [Fri, 23 Nov 2012 11:47:36 +0000 (12:47 +0100)]
Marek Safar [Fri, 23 Nov 2012 11:41:21 +0000 (12:41 +0100)]
Fix MaximumConcurrencyLevel. Fixes #8557
Zoltan Varga [Fri, 23 Nov 2012 11:40:12 +0000 (12:40 +0100)]
Zoltan Varga [Fri, 23 Nov 2012 11:19:14 +0000 (12:19 +0100)]
Fix support for --disable-executables used together with --disable-shared.
Zoltan Varga [Fri, 23 Nov 2012 09:01:10 +0000 (10:01 +0100)]
Add a thunk for calls from LLVM code to native functions on amd64, since the call displacement might exceed 32 bits. Hopefully fixes #8502.
Sebastien Pouliot [Thu, 22 Nov 2012 21:34:47 +0000 (16:34 -0500)]
Do not send IP address as server_name entries and skip non-fatal (warning) alerts when negotiating. Fix bug #8553
Marek Safar [Thu, 22 Nov 2012 14:18:55 +0000 (15:18 +0100)]
Fix public ikvm module location
Zoltan Varga [Thu, 22 Nov 2012 14:03:26 +0000 (15:03 +0100)]
Fix a buffer overflow in the LLVM backend. Fixes #8502.
Marek Safar [Thu, 22 Nov 2012 13:14:24 +0000 (05:14 -0800)]
Merge pull request #510 from bprzygoda/eval_improvements
Fixed Evaluator' GetUsing method by implementing ToString overrides.
Marek Safar [Thu, 22 Nov 2012 13:13:17 +0000 (05:13 -0800)]
Merge pull request #509 from antoniusriha/master
WindowsBase: Add IEditableCollectionViewAddNewItem.cs
bprzygoda [Thu, 22 Nov 2012 09:41:46 +0000 (10:41 +0100)]
Fixed Evaluator' GetUsing method by implementing ToString override for UsingNamespace and Namespace classes.
Antonius Riha [Thu, 22 Nov 2012 09:02:47 +0000 (10:02 +0100)]
[WindowsBase] Add IEditableCollectionViewAddNewItem.cs
Zoltan Varga [Wed, 21 Nov 2012 18:07:35 +0000 (19:07 +0100)]
Fix the clang configure check.
Zoltan Varga [Wed, 21 Nov 2012 18:07:25 +0000 (19:07 +0100)]
Fix a warning.
Marek Safar [Wed, 21 Nov 2012 16:17:06 +0000 (17:17 +0100)]
Remove duplicate ikvm modul registration
Marek Safar [Wed, 21 Nov 2012 16:06:43 +0000 (17:06 +0100)]
Submodule ikvm reflection
Jeremie Laval [Wed, 21 Nov 2012 15:21:31 +0000 (15:21 +0000)]
[monodoc] Update target
Zoltan Varga [Wed, 21 Nov 2012 14:45:55 +0000 (15:45 +0100)]
Avoid an assert in sdb if mono_thread_info_safe_suspend_sync () fails for an attached thread.
Marek Safar [Wed, 21 Nov 2012 12:15:12 +0000 (13:15 +0100)]
Add new test
Marek Safar [Wed, 21 Nov 2012 12:14:17 +0000 (13:14 +0100)]
Implement .extern class support for forwarded types
Marek Safar [Wed, 21 Nov 2012 07:48:10 +0000 (23:48 -0800)]
Merge pull request #508 from alesliehughes/master
More Changes to AxHost to stop Exceptions
Martin Baulig [Wed, 21 Nov 2012 01:03:20 +0000 (02:03 +0100)]
[System.Configuration]: Imlement ConfigurationElement.EvaluationContext.
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.
Alistair Leslie-Hughes [Tue, 20 Nov 2012 02:49:50 +0000 (13:49 +1100)]
Implement RegistrationServices.GetProgIdForType
Alistair Leslie-Hughes [Mon, 19 Nov 2012 01:36:57 +0000 (12:36 +1100)]
Call base for Dispose and DestroyHandle
Alistair Leslie-Hughes [Sun, 18 Nov 2012 22:40:36 +0000 (09:40 +1100)]
Call DefWndProc by default in AxHost.WndProc
Alistair Leslie-Hughes [Tue, 6 Nov 2012 08:51:42 +0000 (19:51 +1100)]
Add support for AxHost.CreateHandle
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.