Marek Safar [Wed, 1 Feb 2012 11:24:24 +0000 (11:24 +0000)]
Add symbol file testing to compiler tester
Marek Safar [Wed, 1 Feb 2012 11:23:04 +0000 (11:23 +0000)]
Fix single test
Marek Safar [Tue, 31 Jan 2012 15:20:25 +0000 (15:20 +0000)]
Remove NET_2_0 conditional
Marek Safar [Tue, 31 Jan 2012 15:08:33 +0000 (15:08 +0000)]
Remove some unwanted explicit casts
Marek Safar [Tue, 31 Jan 2012 14:28:36 +0000 (14:28 +0000)]
Remove writing of namespace usings into symbol file. It's useless without project file.
Zoltan Varga [Wed, 1 Feb 2012 10:48:36 +0000 (11:48 +0100)]
Enable some previously disabled optimizations when using sdb.
Jeremie Laval [Tue, 31 Jan 2012 18:25:51 +0000 (19:25 +0100)]
[monodoc] Implement range Lucene.NET search
Alan McGovern [Tue, 31 Jan 2012 17:39:37 +0000 (17:39 +0000)]
Revert "[Profiler] Add a new profiler module to track GCHandle allocations"
This reverts commit
a5e3e50512b24064d7df3bdc4b9c4c1afe574580.
Alan McGovern [Tue, 31 Jan 2012 17:39:22 +0000 (17:39 +0000)]
Revert "FIX a compilation linker error with static mono-sgen and dynamic libmono"
This reverts commit
abbdf9b70a1fecdfe2ac573bd50fbc14ae346074.
Alan McGovern [Tue, 31 Jan 2012 17:37:55 +0000 (17:37 +0000)]
Remove an extra comma from 'Xamarin Inc'.
Alan McGovern [Tue, 10 Jan 2012 14:13:26 +0000 (14:13 +0000)]
FIX a compilation linker error with static mono-sgen and dynamic libmono
with the ghcnalde profiler
Alan McGovern [Thu, 31 Mar 2011 15:24:36 +0000 (16:24 +0100)]
[Profiler] Add a new profiler module to track GCHandle allocations
This profiler was initially developed for Moonlight to diagnose and
fix issues where objects were never being GC'ed due to gchandles
being attached to objects and not freed. This profiler is just as
useful for other frameworks which rely on GCHandles to provide memory
management facilities such as gtk-sharp.
The aim of this profiler is to allow you to easily see how many instances
of each class are being kept alive by GCHandles and also the stacktrace
from where the GCHandle was allocated.
The profiler also tracks when instance delegates are passed to/from native
code as this can be a severe performance hit if it is done frequently.
Conflicts:
mono/profiler/Makefile.am
Neale Ferguson [Tue, 31 Jan 2012 16:38:53 +0000 (11:38 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Tue, 31 Jan 2012 16:38:11 +0000 (11:38 -0500)]
Add TLS_GET support for s390x
Jeremie Laval [Tue, 31 Jan 2012 13:46:50 +0000 (14:46 +0100)]
[monodoc] Also fill in fulltitle info for enum and delegates
Marek Safar [Tue, 31 Jan 2012 10:26:14 +0000 (10:26 +0000)]
Fix type inference of recursive explicit type parameters. Fixes #3142
Marek Safar [Tue, 31 Jan 2012 10:19:03 +0000 (10:19 +0000)]
New test
Marek Safar [Mon, 30 Jan 2012 17:24:57 +0000 (17:24 +0000)]
Remove obsolete code
Marek Safar [Mon, 30 Jan 2012 17:17:10 +0000 (17:17 +0000)]
Add test for reusing compiler settings
Marek Safar [Mon, 30 Jan 2012 16:19:52 +0000 (16:19 +0000)]
Update compiler documentation.
Sebastien Pouliot [Mon, 30 Jan 2012 23:35:26 +0000 (18:35 -0500)]
Floating point numbers needs to be encoded using the invariant culture. Fix bug #3137
Jeremie Laval [Mon, 30 Jan 2012 22:15:46 +0000 (23:15 +0100)]
[monodoc] Process MonoTouch's [Since] attribute and shows it in Requirements section
Zoltan Varga [Mon, 30 Jan 2012 17:31:04 +0000 (18:31 +0100)]
Fix the encoding of strings in the sdb wire protocol.
Jeffrey Stedfast [Mon, 30 Jan 2012 17:29:49 +0000 (12:29 -0500)]
[Mono.Debugger.Soft] Oops, fixed build.
Jeffrey Stedfast [Mon, 30 Jan 2012 16:59:43 +0000 (11:59 -0500)]
[Mono.Debugger.Soft] Implement IsGenericType/Method for protocol < 2.12
Miguel de Icaza [Mon, 30 Jan 2012 16:37:55 +0000 (11:37 -0500)]
Document new setting
Miguel de Icaza [Mon, 30 Jan 2012 16:36:21 +0000 (11:36 -0500)]
Sort the options
Jeremie Laval [Mon, 30 Jan 2012 16:33:56 +0000 (17:33 +0100)]
[monodoc, mdoc] Recognize and process a documentation 'Related Content' section
Jeremie Laval [Mon, 30 Jan 2012 14:14:42 +0000 (15:14 +0100)]
[monodoc] Add value of MTouch/MMac Export attribute to search index
Jeremie Laval [Mon, 30 Jan 2012 09:35:29 +0000 (10:35 +0100)]
[mdoc] change index subparameters and explain them
Rolf Bjarne Kvinge [Fri, 27 Jan 2012 13:52:46 +0000 (14:52 +0100)]
AOT: add support for calling pinvoke methods directly, instead of going through dlsym.
Marek Habersack [Mon, 30 Jan 2012 08:46:41 +0000 (00:46 -0800)]
Merge pull request #222 from pruiz/httpreq-validation-fix
Ensure only first call to HttpRequest.QueryString should trigger validation exception. Just the same behaviour of HttpRequest.Form && HttpRequest.Cookies.
Pablo Ruiz Garcia [Sun, 29 Jan 2012 23:35:15 +0000 (00:35 +0100)]
Ensure only first call to HttpRequest.QueryString should trigger validation exception. Just the same behaviour of HttpRequest.Form && HttpRequest.Cookies.
Rodrigo Kumpera [Sun, 29 Jan 2012 14:59:33 +0000 (12:59 -0200)]
Guard against lazy initialization of idepth.
Zoltan Varga [Sun, 29 Jan 2012 10:16:03 +0000 (11:16 +0100)]
Implement IsGenericType etc. in TypeMirror/MethodMirror.
Zoltan Varga [Sun, 29 Jan 2012 09:36:41 +0000 (10:36 +0100)]
Fix gshared support in sdb.
Rodrigo Kumpera [Sun, 29 Jan 2012 01:20:24 +0000 (01:20 +0000)]
Last round of fullaot fixes for lazy init'ng supertypes.
Zoltan Varga [Sat, 28 Jan 2012 16:59:51 +0000 (17:59 +0100)]
Disable some TLS fallback code on ppc as it does not work. Fixes #2717.
Zoltan Varga [Sat, 28 Jan 2012 09:29:08 +0000 (10:29 +0100)]
Add precise location info for this/rgctx in gshared methods, to avoid crashes in get_generic_info_from_stack_frame (). Fixes #2862.
Rodrigo Kumpera [Sat, 28 Jan 2012 02:33:36 +0000 (02:33 +0000)]
Fix linux builds.
Rodrigo Kumpera [Sat, 28 Jan 2012 01:03:57 +0000 (23:03 -0200)]
Move clear_remsets to ssb file. Cleanup remset major initialization.
Rodrigo Kumpera [Sat, 28 Jan 2012 00:33:47 +0000 (22:33 -0200)]
Move the bulk of mono_sgen_add_to_global_remset to separate files.
Rodrigo Kumpera [Sat, 28 Jan 2012 00:24:43 +0000 (22:24 -0200)]
Mark some cardtable functions as inline.
Rodrigo Kumpera [Fri, 27 Jan 2012 23:03:19 +0000 (21:03 -0200)]
Move the global remset location cache to its own file.
Rodrigo Kumpera [Fri, 27 Jan 2012 22:32:54 +0000 (20:32 -0200)]
Move ssb thread cleanup to its file.
Rodrigo Kumpera [Fri, 27 Jan 2012 21:10:16 +0000 (19:10 -0200)]
Move dummy_use to a header and give it a sucky MSVC implementation.
Rodrigo Kumpera [Fri, 27 Jan 2012 16:26:31 +0000 (14:26 -0200)]
Move the bulk of all custom write barriers to each implementation (card table, seq store buffers) file.
Marek Safar [Fri, 27 Jan 2012 15:06:00 +0000 (15:06 +0000)]
Add new test
Marek Safar [Fri, 27 Jan 2012 14:38:13 +0000 (14:38 +0000)]
Remove unit index from Location to allow compilation from text buffer
Marek Safar [Fri, 27 Jan 2012 09:08:43 +0000 (09:08 +0000)]
Move all remaining compiler settings into Settings class
Zoltan Varga [Fri, 27 Jan 2012 14:54:30 +0000 (15:54 +0100)]
Fix infinite loop in TestDriver.cs when using the -v option.
Marek Habersack [Fri, 27 Jan 2012 14:25:53 +0000 (15:25 +0100)]
Revert ".NET 4.5 targets should use dmcs"
This reverts commit
d259c15ad81c521bf94e4b9c86f4398118903883.
The fix doesn't work
Miguel de Icaza [Fri, 27 Jan 2012 04:23:11 +0000 (23:23 -0500)]
Fix typo
Miguel de Icaza [Fri, 27 Jan 2012 02:03:44 +0000 (21:03 -0500)]
Fix the debug-parser target
Miguel de Icaza [Fri, 27 Jan 2012 02:02:03 +0000 (21:02 -0500)]
Update the compiler docs
Rodrigo Kumpera [Thu, 26 Jan 2012 19:25:47 +0000 (17:25 -0200)]
Fix aot miscompilation due to the lazy supertypes initialization.
Rodrigo Kumpera [Wed, 25 Jan 2012 22:24:06 +0000 (20:24 -0200)]
Great new file sgen-ssb.c to get all sequential store barrier awesomeness.
Rodrigo Kumpera [Wed, 25 Jan 2012 21:55:47 +0000 (19:55 -0200)]
Implement clone wbarrier for cardtable.
Zoltan Varga [Thu, 26 Jan 2012 19:13:48 +0000 (20:13 +0100)]
Fix support for synchronized methods + ldftn. Fixes #3088.
Marek Habersack [Thu, 26 Jan 2012 15:24:25 +0000 (16:24 +0100)]
.NET 4.5 targets should use dmcs
Marek Safar [Thu, 26 Jan 2012 12:10:55 +0000 (07:10 -0500)]
Use correct time zone offset for invariant DateTimeOffset formats
Marek Safar [Thu, 26 Jan 2012 10:19:38 +0000 (05:19 -0500)]
Fix time zone dependant test
Marek Safar [Thu, 26 Jan 2012 10:00:33 +0000 (05:00 -0500)]
Update to the latest IKVM.Reflection
Marek Safar [Wed, 25 Jan 2012 18:44:17 +0000 (18:44 +0000)]
Don't try to emit closed containers
Marek Safar [Wed, 25 Jan 2012 18:22:57 +0000 (18:22 +0000)]
Use same members for partial classes as normal classes or MD cannot see them
Marek Safar [Wed, 25 Jan 2012 11:02:38 +0000 (11:02 +0000)]
Update to the latest ikvm reflection
Marek Safar [Wed, 25 Jan 2012 10:38:23 +0000 (10:38 +0000)]
Optimize extension methods lookup
Marek Safar [Tue, 24 Jan 2012 18:45:21 +0000 (18:45 +0000)]
Cache extension methods lookup failures
Marek Safar [Tue, 24 Jan 2012 18:11:23 +0000 (18:11 +0000)]
Make private fields not visible
Zoltan Varga [Wed, 25 Jan 2012 16:49:35 +0000 (17:49 +0100)]
Avoid an assert in sdb if a method doesn't have seq point info.
Zoltan Varga [Wed, 25 Jan 2012 16:41:41 +0000 (17:41 +0100)]
Fix asserts in add_var () when sdb encounters a dead variable because of an aot image compiled without 'soft-debug'. Fixes #3043.
Rodrigo Kumpera [Wed, 25 Jan 2012 16:11:46 +0000 (14:11 -0200)]
Fix consumers of supertypes information to account for lazyness.
* class-internals.h (mono_class_has_parent): Convert this macro into
an inline function that guards against non initialized supertypes info.
Fix random breakage all over the place.
Zoltan Varga [Wed, 25 Jan 2012 01:18:19 +0000 (02:18 +0100)]
Fix the returning of cattr field information in sdb.
Rodrigo Kumpera [Tue, 24 Jan 2012 18:12:09 +0000 (16:12 -0200)]
Init the unwind state struct so callers can rely on its content on failure.
Rodrigo Kumpera [Tue, 24 Jan 2012 16:37:00 +0000 (14:37 -0200)]
Enable fast tls on amd64, so sgen works.
Zoltan Varga [Tue, 24 Jan 2012 16:36:34 +0000 (17:36 +0100)]
Rename test_sgen make target to test-sgen.
Marek Safar [Tue, 24 Jan 2012 15:13:01 +0000 (15:13 +0000)]
Disable identifiers interning for full ast mode
Marek Safar [Tue, 24 Jan 2012 14:41:52 +0000 (14:41 +0000)]
Remove some static fields
Marek Safar [Tue, 24 Jan 2012 13:42:58 +0000 (13:42 +0000)]
Emit MethodAttributes.HideBySig for static constructors
Zoltan Varga [Tue, 24 Jan 2012 14:58:31 +0000 (15:58 +0100)]
Fix the build.
Marek Safar [Tue, 24 Jan 2012 13:26:19 +0000 (13:26 +0000)]
Keep order of parsed members (required by MD) to be more compatible with csc
Zoltan Varga [Tue, 24 Jan 2012 09:28:34 +0000 (01:28 -0800)]
Merge pull request #220 from metanest/includeproblem_2012Jan_spike
fix including basesystem's gc.h problem
KISHIMOTO, Makoto [Tue, 24 Jan 2012 08:51:05 +0000 (17:51 +0900)]
rename LIBGC_INCLUDES to LIBGC_CPPFLAGS
Zoltan Varga [Tue, 24 Jan 2012 06:14:31 +0000 (07:14 +0100)]
Enable support for OP_MEMORY_BARRIER on llvm+arm, newer llvm versions support it.
Zoltan Varga [Tue, 24 Jan 2012 05:48:23 +0000 (06:48 +0100)]
Add a nunit-console4 script. Fixes #2156.
KISHIMOTO, Makoto [Tue, 24 Jan 2012 03:05:20 +0000 (12:05 +0900)]
fix including basesystem's gc.h problem
Zoltan Varga [Tue, 24 Jan 2012 02:05:50 +0000 (03:05 +0100)]
Allow assemblies without AOT images in full-aot mode if they don't have any methods.
Rodrigo Kumpera [Tue, 24 Jan 2012 00:50:47 +0000 (22:50 -0200)]
A regression test for bxc #795.
Rodrigo Kumpera [Tue, 24 Jan 2012 00:40:29 +0000 (22:40 -0200)]
Be lazy'er when setting up supertype information. Fixes bxc #795
* class.c (mono_class_setup_parent): We can't setup supertypes here
since we might be initializing our parent as well, which will cause
the current type to have broken values.
Since we're lazier, we need to check for it in more places.
Fixes bxc #795.
Rodrigo Kumpera [Tue, 24 Jan 2012 00:31:23 +0000 (22:31 -0200)]
Lazily nit mono_class_setup_supertypes correctly.
Rodrigo Kumpera [Mon, 23 Jan 2012 23:08:24 +0000 (21:08 -0200)]
Improve test.
Jonathan Pryor [Mon, 23 Jan 2012 22:40:55 +0000 (17:40 -0500)]
[mdoc] Generate docs for nested `protected` types.
Nested `protected` types are accessible from subclasses, and thus
should be documented just as `public` nested types are.
Jonathan Pryor [Mon, 23 Jan 2012 22:17:56 +0000 (17:17 -0500)]
[mdoc] Fix `make run-tests`
The `all` make target no longer creates ./mdoc.exe (!), so create
./mdoc.exe so that the test targets can run $(PROGRAM) as expected.
Miguel de Icaza [Mon, 23 Jan 2012 20:52:19 +0000 (15:52 -0500)]
Updated API docs
Rodrigo Kumpera [Mon, 23 Jan 2012 18:12:11 +0000 (16:12 -0200)]
Enable fast tls on LMF for OSX.
Rodrigo Kumpera [Mon, 23 Jan 2012 18:04:35 +0000 (16:04 -0200)]
Finish fast tls support on OSX.
* mini-x86.c (mono_arch_emit_prolog): Use proper functions to
emit tls access.
Add mono_x86_emit_tls_set to emit tls stores.
Rodrigo Kumpera [Mon, 23 Jan 2012 17:13:33 +0000 (15:13 -0200)]
Rename mono_arch_setup_jit_tls_data to mono_arch_finish_init.
Rodrigo Kumpera [Mon, 23 Jan 2012 15:10:19 +0000 (13:10 -0200)]
Call mono_arch_setup_jit_tls_data during mini_init after metadata.
* mini.c (mini_init): Explicitly call mono_arch_setup_jit_tls_data
to initialize tls offsets. This used to be called on a per-thread
basis but no arch every did anything but init offsets.
We do it after metadata is initialized so we can catch dynamic
offset for the appdomain key.
Rodrigo Kumpera [Mon, 23 Jan 2012 15:07:42 +0000 (13:07 -0200)]
Fix another stack alignment issue under osx-x86.
Rodrigo Kumpera [Mon, 23 Jan 2012 15:04:15 +0000 (13:04 -0200)]
If we call mono_pmip from a detached thread, try looking up in the root domain instead of crashing.