Jb Evain [Fri, 8 Mar 2013 14:24:32 +0000 (15:24 +0100)]
Add mdbrebase generated script to gitignore
Sebastien Pouliot [Fri, 8 Mar 2013 14:17:57 +0000 (09:17 -0500)]
TypeFromCLSID is not available when build with FULL_AOT_RUNTIME (e..g iOS)
Sebastien Pouliot [Fri, 8 Mar 2013 14:16:33 +0000 (09:16 -0500)]
Adjust OptionalCalendars test so it will work when the linker is enabled
Zoltan Varga [Fri, 8 Mar 2013 02:02:58 +0000 (03:02 +0100)]
Avoid loading AOT modules for ref-only assemblies.
Zoltan Varga [Fri, 8 Mar 2013 01:36:04 +0000 (02:36 +0100)]
Fix the mobile build.
Zoltan Varga [Thu, 7 Mar 2013 19:45:37 +0000 (20:45 +0100)]
Fix the mobile mscorlib build.
Zoltan Varga [Thu, 7 Mar 2013 19:31:51 +0000 (20:31 +0100)]
Avoid a crash if the Volatile class is linked away.
Zoltan Varga [Thu, 7 Mar 2013 18:59:41 +0000 (19:59 +0100)]
Add full-aot support for Volatile.Read<T>/Write<T> ().
Zoltan Varga [Thu, 7 Mar 2013 18:44:11 +0000 (19:44 +0100)]
Fix the encoding of runtime-invoke wrappers in AOT. Add support for gsharedvt delegate begin/end-invoke wrappers to full AOT.
Zoltan Varga [Thu, 7 Mar 2013 18:28:24 +0000 (19:28 +0100)]
Remove an inexistent icall added by mistake by
0ff40ae70aa2ffbdf61a9ebb5e47e4932864460a.
Rodrigo Kumpera [Thu, 7 Mar 2013 22:59:39 +0000 (17:59 -0500)]
Make the build .gitignore rule absolute. It didn't like mcs/build/.
Rodrigo Kumpera [Thu, 7 Mar 2013 22:46:04 +0000 (17:46 -0500)]
Move some MOBILE bits under DISABLE_REMOTING as a remoting enabled runtime will need them for
basic functionality.
Rodrigo Kumpera [Thu, 7 Mar 2013 22:44:28 +0000 (17:44 -0500)]
Monotouch has builds with -DISABLE_REMOTING.
Rodrigo Kumpera [Thu, 7 Mar 2013 21:08:50 +0000 (16:08 -0500)]
Add a bunch of dummy fields to Assembly under MOBILE to match the native layout.
Rodrigo Kumpera [Thu, 7 Mar 2013 00:33:09 +0000 (19:33 -0500)]
Replace a useless g_assert with a g_error that actually gives us some information.
Rodrigo Kumpera [Thu, 7 Mar 2013 00:30:50 +0000 (19:30 -0500)]
Make sure to unlock InternalThread::synch_cs when we fail to suspend the thread during shutdown.
This should fix both crashes seen during Environment.Exit by xbuild and possibly deadlocks.
Rodrigo Kumpera [Mon, 4 Mar 2013 23:34:52 +0000 (18:34 -0500)]
Make sure all functions in the hot path of eg_utf8_to_utf16_general are inlined.
This gives a 33% performance boost on a micro benchmark just triggering a call
to mono_string_new.
Marek Safar [Thu, 7 Mar 2013 17:30:58 +0000 (18:30 +0100)]
Fixes mobile build
Marek Safar [Thu, 7 Mar 2013 15:33:44 +0000 (16:33 +0100)]
Update mobile tests
Marek Safar [Thu, 7 Mar 2013 14:10:43 +0000 (15:10 +0100)]
Ignore SynchronizationAttribute on MT
Marek Safar [Thu, 7 Mar 2013 10:34:32 +0000 (11:34 +0100)]
Fix binary serialization on mobile
Zoltan Varga [Thu, 7 Mar 2013 15:26:08 +0000 (16:26 +0100)]
Zoltan Varga [Thu, 7 Mar 2013 14:41:05 +0000 (15:41 +0100)]
Make begin-invoke/end-invoke wrappers for generic delegates like Func/Action generic, similarly to
8eae1a7d721b37c9e16e77776d9774b2756dcc68.
Marek Safar [Thu, 7 Mar 2013 08:31:06 +0000 (09:31 +0100)]
Remove confusing trailing dot
Marek Safar [Thu, 7 Mar 2013 08:27:38 +0000 (09:27 +0100)]
Actually iterate returned array
Marek Safar [Thu, 7 Mar 2013 07:46:20 +0000 (08:46 +0100)]
Remove generated file dependency to make fresh checkout tests work out of box
Marek Safar [Thu, 7 Mar 2013 07:44:40 +0000 (23:44 -0800)]
Merge pull request #596 from madewokherd/typefromclsid
corlib: Implement System.Type.GetTypeFromCLSID.
Jonathan Pryor [Thu, 7 Mar 2013 03:36:24 +0000 (22:36 -0500)]
[xbuild] Replace string.ToLower() comparison with OrdinalIgnoreCase comparison
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=10946
The scenario is the "turkish-i problem": Have an MSBuild Task Assembly
which calls ITaskItem.GetMetadata("Identity") (like, oh, the
Xamarin.Android build system...). Run in a Turkish locale (tr-TR), and
things fail badly:
Error executing task AndroidComputeResPaths: System.ArgumentException: Invalid reserved metadata name
at Mono.XBuild.Utilities.ReservedNameUtils.GetReservedMetadata (System.String itemSpec, System.String metadataName, IDictionary metadata) [0x00000] in <filename unknown>:0
at Microsoft.Build.Utilities.TaskItem.GetMetadata (System.String metadataName) [0x00000] in <filename unknown>:0
at Xamarin.Android.Tasks.AndroidComputeResPaths.Execute () [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] in <filename unknown>:0
at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] in <filename unknown>:0
Wat? Well, in tr-TR, "Identity".ToLower() is "ıdentity", which
doesn't match match anything in GetReservedMetadata()'s `switch`
statement, so it throws an ArgumentException. *BOOM*.
So, if you need a culture-invariant comparison, USE IT.
Related: We could have just s/ToLower/ToLowerInvariant/g, which would
have fixed the problem, but would still result in lots of string
temporaries that aren't really necessary. Use the appropriate
string.Compare() or string.Equals() methods instead to avoid the
string temporary as well.
Zoltan Varga [Thu, 7 Mar 2013 01:41:46 +0000 (02:41 +0100)]
Implement Volatile.Read/Write<T> and Interlocked.MemoryBarrier ().
Zoltan Varga [Thu, 7 Mar 2013 01:14:11 +0000 (02:14 +0100)]
Add stubs for some NET 4.5 ThreadLocal ctors/methods.
Zoltan Varga [Thu, 7 Mar 2013 01:00:42 +0000 (02:00 +0100)]
Clean up the code which handles prepending _ to global symbol names on MACH by doing it in aot-compiler.c instead of the image writer.
Mark Probst [Wed, 6 Mar 2013 23:38:16 +0000 (15:38 -0800)]
[sgen] Just warn, don't abort, on invalid MONO_GC_PARAM or MONO_GC_DEBUG options.
Vincent Povirk [Wed, 6 Mar 2013 22:13:25 +0000 (16:13 -0600)]
corlib: Implement System.Type.GetTypeFromCLSID.
This commit is licensed as MIT/X11.
Jeffrey Stedfast [Wed, 6 Mar 2013 21:00:07 +0000 (16:00 -0500)]
[Mono.Debugger.Soft] Made the receiver thread a background thread and gave it a name
Mark Probst [Wed, 6 Mar 2013 19:27:40 +0000 (11:27 -0800)]
[sgen] Allow empty parameters in MONO_GC_PARAMS and MONO_GC_DEBUG.
This allows easy appending/prepending, like so:
export MONO_GC_PARAMS="major=marksweep-conc,$MONO_GC_PARAMS"
Zoltan Varga [Wed, 6 Mar 2013 19:20:13 +0000 (20:20 +0100)]
Fix some ARM assembly in MONO_CONTEXT_GET_CURRENT ().
Zoltan Varga [Wed, 6 Mar 2013 18:31:47 +0000 (19:31 +0100)]
Make the JIT icall wrappers for opcode emulation jit icalls call the C icall function directly on MT.
Zoltan Varga [Wed, 6 Mar 2013 17:49:46 +0000 (18:49 +0100)]
Modify the way calls to icalls are made from the icall wrappers. Previously, the address to call was encoded in an OP_PCONST, and various pieces of code looked up the value in the jit icall table to see if it was an icall address. With the new approach, the fact that this is an icall address is explicit through the JIT.
Zoltan Varga [Wed, 6 Mar 2013 17:46:25 +0000 (18:46 +0100)]
Fix AOT on osx+amd64.
Mark Probst [Wed, 6 Mar 2013 16:16:28 +0000 (08:16 -0800)]
Merge pull request #593 from Cynede/master
Python 3 compatibility in gen-descriptor-tests.py
Marek Safar [Wed, 6 Mar 2013 14:50:22 +0000 (15:50 +0100)]
Disable more security context tests on mobile
Marek Safar [Wed, 6 Mar 2013 14:49:46 +0000 (15:49 +0100)]
Use more specific types
Heather [Tue, 5 Mar 2013 07:26:22 +0000 (11:26 +0400)]
use floor division // instead of / because in python 3 / returns float, // works in python 2 too
Heather [Tue, 5 Mar 2013 06:52:00 +0000 (10:52 +0400)]
python 3 compatibility in gen-descriptor-tests.py
Marek Safar [Wed, 6 Mar 2013 10:16:29 +0000 (11:16 +0100)]
Optimize Activator path used by new() constraint to run less code
Marek Safar [Wed, 6 Mar 2013 10:15:51 +0000 (11:15 +0100)]
Fix exception test text
Marek Safar [Wed, 6 Mar 2013 09:23:47 +0000 (10:23 +0100)]
Add test from Jb Evain to test biner with user method types
Marek Safar [Tue, 5 Mar 2013 18:16:07 +0000 (19:16 +0100)]
Activator cannot be used to create default instances of user types
Mark Probst [Tue, 5 Mar 2013 20:47:17 +0000 (12:47 -0800)]
[sgen] Unify non-concurrent and concurrent M&S.
Mark Probst [Tue, 5 Mar 2013 20:55:42 +0000 (12:55 -0800)]
[tests] Init Random with defined value in GC descriptor tests.
So we can reproduce bugs and compare time/space if we want.
Duncan Mak [Tue, 5 Mar 2013 18:15:04 +0000 (13:15 -0500)]
Bump version number to 3.0.7.
Zoltan Varga [Tue, 5 Mar 2013 16:34:44 +0000 (17:34 +0100)]
Change the linkage of the type_info symbols generated by the LLVM backend, since using LLVMPrivateLinkage causes LLVM to generate assembly which is not allowed by clang. Fixes #10811.
Marek Safar [Tue, 5 Mar 2013 15:58:23 +0000 (16:58 +0100)]
Don't mark unused interface methods. Fixes #10866
Marek Safar [Tue, 5 Mar 2013 15:44:38 +0000 (16:44 +0100)]
Remove redundant culture info from string concatenations
Atsushi Eno [Tue, 5 Mar 2013 15:56:35 +0000 (00:56 +0900)]
[rx] Add missing AssemblyInfos.
Atsushi Eno [Tue, 5 Mar 2013 14:57:39 +0000 (23:57 +0900)]
Add Assembly version attributes to hopefully fix bug #10002.
Marek Safar [Tue, 5 Mar 2013 14:02:40 +0000 (15:02 +0100)]
Update binder primitive conversion to match .net
Marek Safar [Tue, 5 Mar 2013 14:00:58 +0000 (15:00 +0100)]
Tweaks to Enum::FormatName to make it faster/smaller
Marek Safar [Tue, 5 Mar 2013 11:54:03 +0000 (12:54 +0100)]
Type.FilterAttribute accepts int criteria only
Jeremie Laval [Tue, 5 Mar 2013 10:54:01 +0000 (10:54 +0000)]
[monodoc] Make the help source test pass since the current errors are due to known limitations.
Jeremie Laval [Tue, 5 Mar 2013 10:37:40 +0000 (10:37 +0000)]
[monodoc] Cache intermediary result for legacy Nodes property. Add test.
Jeremie Laval [Tue, 5 Mar 2013 10:27:07 +0000 (10:27 +0000)]
[monodoc] Change new API for Nodes to be IList for future-proofing
Marek Safar [Tue, 5 Mar 2013 08:25:50 +0000 (09:25 +0100)]
Fixes build
Marek Safar [Tue, 5 Mar 2013 08:17:37 +0000 (09:17 +0100)]
Fix wrong usage of ConstructoInfo::Invoke
Martin Baulig [Tue, 5 Mar 2013 00:21:32 +0000 (19:21 -0500)]
Add to EXTRA_DIST.
Duncan Mak [Mon, 4 Mar 2013 23:03:41 +0000 (18:03 -0500)]
Add gc-descriptors to SUBDIRS.
Rodrigo Kumpera [Mon, 4 Mar 2013 22:52:01 +0000 (17:52 -0500)]
Fix cominterop.
Rodrigo Kumpera [Mon, 4 Mar 2013 17:21:17 +0000 (12:21 -0500)]
Fix marshal.c DISABLE_JIT on device.
Miguel de Icaza [Mon, 4 Mar 2013 21:01:39 +0000 (13:01 -0800)]
Merge pull request #577 from UCIS/patch-2
Fix serialization of DateTime struct for MS compatibility
Marek Safar [Mon, 4 Mar 2013 20:51:06 +0000 (21:51 +0100)]
Make internal abstract methods virtual to fix MethodBase subclassing.
Martin Baulig [Mon, 4 Mar 2013 19:56:14 +0000 (14:56 -0500)]
Runtime assembly mapping for PCL.
Zoltan Varga [Mon, 4 Mar 2013 19:46:08 +0000 (20:46 +0100)]
Dist the Makefile.am.in files. Fixes #10874.
Mark Probst [Mon, 4 Mar 2013 19:23:16 +0000 (11:23 -0800)]
[sgen] Disable parallel M&S in combination with split nursery.
It crashes at least sgen-weakref-test.exe, and there's more important stuff to
attend to.
Mark Probst [Mon, 4 Mar 2013 18:47:49 +0000 (10:47 -0800)]
Merge branch 'feature-descriptor-tests'
Mark Probst [Mon, 4 Mar 2013 16:59:12 +0000 (08:59 -0800)]
[tests] Test valuetype GC descriptors, too.
Mark Probst [Thu, 28 Feb 2013 22:58:07 +0000 (14:58 -0800)]
[tests] Optional big-switch version of GC descriptor test.
This takes ages to compile with mcs. See bug #10781.
Mark Probst [Thu, 28 Feb 2013 22:55:52 +0000 (14:55 -0800)]
[tests] Test for GC descriptors - first draft.
This runs for a long time and potentially uses lots of memory. It's not integrated
in the test suite and must be run manually.
Martin Baulig [Mon, 4 Mar 2013 17:40:21 +0000 (12:40 -0500)]
Misc PCL-related API fixes.
Mark Probst [Mon, 4 Mar 2013 16:39:48 +0000 (08:39 -0800)]
Merge pull request #586 from awinters-fvs/awinters/sgen-los-sizeof-fix
[sgen] marksweep-conc 64-bit pointer arithmetic fix for segfault
Rodrigo Kumpera [Mon, 4 Mar 2013 16:32:21 +0000 (08:32 -0800)]
Merge pull request #589 from qhalid/master
Xamarin Bug 10879: Use of mono-sgen causes mono path detection fallback
Chris Ball [Mon, 4 Mar 2013 16:16:42 +0000 (17:16 +0100)]
Prevent path fallback for mono-sgen and pedump
Test updated to allow "mono-sgen" and "pedump" binaries to "walk" the parent
directory to discover the install location of the mono runtime in the same
manner as the "mono" binary.
Miguel de Icaza [Mon, 4 Mar 2013 16:13:10 +0000 (08:13 -0800)]
Merge pull request #585 from mk8/master
Bug 10233 fix proposal for Socket.BeginSendFIle
Miguel de Icaza [Mon, 4 Mar 2013 16:12:23 +0000 (08:12 -0800)]
Merge pull request #588 from Daniel15/bug-10872
Fix bug #10872 (Expires and Last-Modified headers should use two-digit days)
Daniel Lo Nigro [Mon, 4 Mar 2013 11:13:10 +0000 (22:13 +1100)]
Use standard RFC1123 ("R") format specifier for Expires and Last-Modified headers. Fixes Xamarin bug #10872
Marek Safar [Mon, 4 Mar 2013 10:29:24 +0000 (11:29 +0100)]
Add missing target checks to ConstructorInfo::Invoke
Marek Safar [Mon, 4 Mar 2013 10:27:22 +0000 (11:27 +0100)]
Use Activator instead of InvokeMember with incomplete target value
Marek Safar [Mon, 4 Mar 2013 09:06:25 +0000 (10:06 +0100)]
Remove unused icall
Marek Safar [Mon, 4 Mar 2013 07:49:15 +0000 (08:49 +0100)]
Manually remove code which is disabled but compiler cannot remove automatically.
Marek Safar [Sun, 3 Mar 2013 21:23:48 +0000 (22:23 +0100)]
Use local invoke method instead of doing double virtual call dispatch
Marek Safar [Sun, 3 Mar 2013 21:22:21 +0000 (22:22 +0100)]
Use faster array cloning
Marek Safar [Sat, 2 Mar 2013 21:24:26 +0000 (22:24 +0100)]
Maintain only single version of ordinal string comparers
Marek Safar [Sat, 2 Mar 2013 17:54:30 +0000 (18:54 +0100)]
Don't clone internally used era values
Marek Safar [Sat, 2 Mar 2013 15:39:17 +0000 (16:39 +0100)]
Use faster/smaller versions for some string comparisons
Alex Rønne Petersen [Sat, 2 Mar 2013 09:40:22 +0000 (10:40 +0100)]
metadata/gc.c: Fix a warning when casting MonoInternalThread->tid.
Torello Querci [Sat, 2 Mar 2013 07:31:14 +0000 (08:31 +0100)]
Client Socket close added
awinters-fvs [Sat, 2 Mar 2013 01:13:14 +0000 (17:13 -0800)]
Subtract sizeof LOSObject instead of LOSObject*
On 64-bit mono with marksweep-conc enabled, sgen_los_pin_object()
would mistakenly set the cardtable_mod_union pointer field to 1
due to the incorrect pointer math in sgen_los_header_for_object()
Zoltan Varga [Sat, 2 Mar 2013 00:27:37 +0000 (01:27 +0100)]
Fix the generation of stelemref wrappers in full-aot mode. Some wrappers were not generated with the previous approach. Fixes #10826.
Rodrigo Kumpera [Fri, 1 Mar 2013 20:40:09 +0000 (15:40 -0500)]
Erase the type of more fields so we can link away a few more types.
Rodrigo Kumpera [Fri, 1 Mar 2013 18:24:18 +0000 (13:24 -0500)]
Mobile should not have the COM types set.
Zoltan Varga [Fri, 1 Mar 2013 23:55:42 +0000 (00:55 +0100)]
Fix the protocol version check in the TypeMirror.IsInitialized property.