mono.git
12 years agoAvoid NullReferenceException in Mono.Unix.UnixDriveInfo.GetDrives () when fs_file...
Michal Srb [Sat, 4 Feb 2012 14:09:10 +0000 (15:09 +0100)]
Avoid NullReferenceException in Mono.Unix.UnixDriveInfo.GetDrives () when fs_file is null. Fixes #3219.

12 years agoAdd support for the #line directive to sdb. Fixes part of #3217.
Zoltan Varga [Sat, 4 Feb 2012 11:35:30 +0000 (12:35 +0100)]
Add support for the #line directive to sdb. Fixes part of #3217.

12 years agoSystem.ServiceModel: Make FaultContractInfos available (and therefore deserialized...
Rolf Bjarne Kvinge [Wed, 1 Feb 2012 12:14:12 +0000 (13:14 +0100)]
System.ServiceModel: Make FaultContractInfos available (and therefore deserialized correctly) in mobile profiles. Fixes #1437 and 2859.

12 years agoSimple block does not create scope barrier. Update local names check to reflect that...
Marek Safar [Fri, 3 Feb 2012 14:47:59 +0000 (14:47 +0000)]
Simple block does not create scope barrier. Update local names check to reflect that. Fixes #3187

12 years agoFix RunSynchronously behavior with children Task. Fix bug #2777 part 2.
Jérémie Laval [Fri, 3 Feb 2012 14:37:01 +0000 (15:37 +0100)]
Fix RunSynchronously behavior with children Task. Fix bug #2777 part 2.

12 years agoAvoid returning a one element line number table from mono_debug_symfile_get_line_numb...
Zoltan Varga [Fri, 3 Feb 2012 12:25:05 +0000 (13:25 +0100)]
Avoid returning a one element line number table from mono_debug_symfile_get_line_numbers () for methods with no line number table. Fixes #3181.

12 years agoWhen dispatching dynamic method calls over value types check the instance is actually...
Marek Safar [Fri, 3 Feb 2012 11:02:30 +0000 (11:02 +0000)]
When dispatching dynamic method calls over value types check the instance is actually available. Fixes #3215

12 years agoUpdate test files checksum
Marek Safar [Fri, 3 Feb 2012 10:40:44 +0000 (10:40 +0000)]
Update test files checksum

12 years agoReuse existing code for parsing numeric value
Marek Safar [Fri, 3 Feb 2012 10:36:11 +0000 (10:36 +0000)]
Reuse existing code for parsing numeric value

12 years agoCompute an initial sequence point for step into as well. Fixes #3181.
Zoltan Varga [Fri, 3 Feb 2012 10:24:47 +0000 (11:24 +0100)]
Compute an initial sequence point for step into as well. Fixes #3181.

12 years agoAdd first sequence point tests. Correctly implement #line hidden directive
Marek Safar [Fri, 3 Feb 2012 09:30:27 +0000 (09:30 +0000)]
Add first sequence point tests. Correctly implement #line hidden directive

12 years agoWrite file checksum to symbol file tests
Marek Safar [Fri, 3 Feb 2012 09:25:38 +0000 (09:25 +0000)]
Write file checksum to symbol file tests

12 years agoFix Task AttachedToParent behavior. Fix bug #2777 part1.
Jérémie Laval [Thu, 2 Feb 2012 22:54:23 +0000 (23:54 +0100)]
Fix Task AttachedToParent behavior. Fix bug #2777 part1.

The problem was two folds. First, a parent task wasn't correctly waiting on the inner task continuations that were setup. Second, the way the Task parent field was re-used with a continuation collided with the parenting behavior of AttachedToParent (if the continuation was also created that way), the fix is to have two Task fields to differentiate between the two cases.

12 years agoMake test more reliable under virtualized setups with high thread startup time.
Rodrigo Kumpera [Fri, 3 Feb 2012 01:45:47 +0000 (23:45 -0200)]
Make test more reliable under virtualized setups with high thread startup time.

12 years agoSomeone (me) pushed some braindead spurious changes.
Rodrigo Kumpera [Fri, 3 Feb 2012 01:44:28 +0000 (23:44 -0200)]
Someone (me) pushed some braindead spurious changes.

12 years agoFix linux build.
Rodrigo Kumpera [Fri, 3 Feb 2012 01:34:52 +0000 (23:34 -0200)]
Fix linux build.

12 years agoSwitch all time counters to use the new counter type to increase precision.
Rodrigo Kumpera [Thu, 2 Feb 2012 19:10:05 +0000 (17:10 -0200)]
Switch all time counters to use the new counter type to increase precision.

12 years agoAdd new counter type for time intervals.
Rodrigo Kumpera [Thu, 2 Feb 2012 19:09:29 +0000 (17:09 -0200)]
Add new counter type for time intervals.

12 years agoUse the bridge callback to speedup bridge object detection.
Rodrigo Kumpera [Thu, 2 Feb 2012 17:55:53 +0000 (15:55 -0200)]
Use the bridge callback to speedup bridge object detection.

12 years agoThe bridge callback now is per-class and not per-object. Introduce versioning to...
Rodrigo Kumpera [Thu, 2 Feb 2012 17:36:59 +0000 (15:36 -0200)]
The bridge callback now is per-class and not per-object. Introduce versioning to reduce the chance of breakage.

12 years agoMake more bits in the vtable available to the GC.
Rodrigo Kumpera [Thu, 2 Feb 2012 16:57:05 +0000 (14:57 -0200)]
Make more bits in the vtable available to the GC.

* class-internals.h (MonoVTable): There's a spare nimble after
those one bits flag fields. We reserve those leftovers to our
GCs to use.

12 years agoMove some defines to sgen-conf.h so managed wrappers are actually used.
Rodrigo Kumpera [Thu, 2 Feb 2012 00:57:11 +0000 (22:57 -0200)]
Move some defines to sgen-conf.h so managed wrappers are actually used.

12 years agoGrand finalle to this long patch series. Move remembered set implementation to use...
Rodrigo Kumpera [Thu, 2 Feb 2012 00:40:17 +0000 (22:40 -0200)]
Grand finalle to this long patch series. Move remembered set implementation to use a vtable-like schema.

* sgen-gc.c: Kill use_cardtable and replace it with indirect calls thru a pointer table.
This might be a bit slower on some configurations but it make the whole thing a hell lot neater.

12 years agoMove more cardtable specific code to its file.
Rodrigo Kumpera [Wed, 1 Feb 2012 21:03:44 +0000 (19:03 -0200)]
Move more cardtable specific code to its file.

12 years agoMore write barrier clenaups.
Rodrigo Kumpera [Wed, 1 Feb 2012 20:26:46 +0000 (18:26 -0200)]
More write barrier clenaups.

12 years agoFix visibility of ssb globals and cleanup other visibility hacks.
Rodrigo Kumpera [Tue, 31 Jan 2012 17:03:09 +0000 (15:03 -0200)]
Fix visibility of ssb globals and cleanup other visibility hacks.

12 years agoMove ssb thread registration and globals to its file.
Rodrigo Kumpera [Tue, 31 Jan 2012 16:52:03 +0000 (14:52 -0200)]
Move ssb thread registration and globals to its file.

12 years agoThis test spews tons of finalizable objects, cleanup & wait for them.
Rodrigo Kumpera [Tue, 31 Jan 2012 16:49:49 +0000 (14:49 -0200)]
This test spews tons of finalizable objects, cleanup & wait for them.

12 years agoFix heavy stats.
Rodrigo Kumpera [Tue, 31 Jan 2012 15:53:47 +0000 (13:53 -0200)]
Fix heavy stats.

12 years agoMove remset stats to its file.
Rodrigo Kumpera [Tue, 31 Jan 2012 15:28:31 +0000 (13:28 -0200)]
Move remset stats to its file.

12 years agoMove remset scan code to its file.
Rodrigo Kumpera [Tue, 31 Jan 2012 15:00:56 +0000 (13:00 -0200)]
Move remset scan code to its file.

12 years agoFix sequence symbol generation for constructors
Marek Safar [Wed, 1 Feb 2012 17:48:27 +0000 (17:48 +0000)]
Fix sequence symbol generation for constructors

12 years agoAdd compiler tests check for method attributes
Marek Safar [Wed, 1 Feb 2012 12:06:57 +0000 (12:06 +0000)]
Add compiler tests check for method attributes

12 years agoAdd symbol file testing to compiler tester
Marek Safar [Wed, 1 Feb 2012 11:24:24 +0000 (11:24 +0000)]
Add symbol file testing to compiler tester

12 years agoFix single test
Marek Safar [Wed, 1 Feb 2012 11:23:04 +0000 (11:23 +0000)]
Fix single test

12 years agoRemove NET_2_0 conditional
Marek Safar [Tue, 31 Jan 2012 15:20:25 +0000 (15:20 +0000)]
Remove NET_2_0 conditional

12 years agoRemove some unwanted explicit casts
Marek Safar [Tue, 31 Jan 2012 15:08:33 +0000 (15:08 +0000)]
Remove some unwanted explicit casts

12 years agoRemove writing of namespace usings into symbol file. It's useless without project...
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.

12 years agoEnable some previously disabled optimizations when using sdb.
Zoltan Varga [Wed, 1 Feb 2012 10:48:36 +0000 (11:48 +0100)]
Enable some previously disabled optimizations when using sdb.

12 years ago[monodoc] Implement range Lucene.NET search
Jeremie Laval [Tue, 31 Jan 2012 18:25:51 +0000 (19:25 +0100)]
[monodoc] Implement range Lucene.NET search

12 years agoRevert "[Profiler] Add a new profiler module to track GCHandle allocations"
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.

12 years agoRevert "FIX a compilation linker error with static mono-sgen and dynamic libmono"
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.

12 years agoRemove an extra comma from 'Xamarin Inc'.
Alan McGovern [Tue, 31 Jan 2012 17:37:55 +0000 (17:37 +0000)]
Remove an extra comma from 'Xamarin Inc'.

12 years agoFIX a compilation linker error with static mono-sgen and dynamic libmono
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

12 years ago[Profiler] Add a new profiler module to track GCHandle allocations
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

12 years agoMerge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Tue, 31 Jan 2012 16:38:53 +0000 (11:38 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono

12 years agoAdd TLS_GET support for s390x
Neale Ferguson [Tue, 31 Jan 2012 16:38:11 +0000 (11:38 -0500)]
Add TLS_GET support for s390x

12 years ago[monodoc] Also fill in fulltitle info for enum and delegates
Jeremie Laval [Tue, 31 Jan 2012 13:46:50 +0000 (14:46 +0100)]
[monodoc] Also fill in fulltitle info for enum and delegates

12 years agoFix type inference of recursive explicit type parameters. Fixes #3142
Marek Safar [Tue, 31 Jan 2012 10:26:14 +0000 (10:26 +0000)]
Fix type inference of recursive explicit type parameters. Fixes #3142

12 years agoNew test
Marek Safar [Tue, 31 Jan 2012 10:19:03 +0000 (10:19 +0000)]
New test

12 years agoRemove obsolete code
Marek Safar [Mon, 30 Jan 2012 17:24:57 +0000 (17:24 +0000)]
Remove obsolete code

12 years agoAdd test for reusing compiler settings
Marek Safar [Mon, 30 Jan 2012 17:17:10 +0000 (17:17 +0000)]
Add test for reusing compiler settings

12 years agoUpdate compiler documentation.
Marek Safar [Mon, 30 Jan 2012 16:19:52 +0000 (16:19 +0000)]
Update compiler documentation.

12 years agoFloating point numbers needs to be encoded using the invariant culture. Fix bug ...
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

12 years ago[monodoc] Process MonoTouch's [Since] attribute and shows it in Requirements section
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

12 years agoFix the encoding of strings in the sdb wire protocol.
Zoltan Varga [Mon, 30 Jan 2012 17:31:04 +0000 (18:31 +0100)]
Fix the encoding of strings in the sdb wire protocol.

12 years ago[Mono.Debugger.Soft] Oops, fixed build.
Jeffrey Stedfast [Mon, 30 Jan 2012 17:29:49 +0000 (12:29 -0500)]
[Mono.Debugger.Soft] Oops, fixed build.

12 years ago[Mono.Debugger.Soft] Implement IsGenericType/Method for protocol < 2.12
Jeffrey Stedfast [Mon, 30 Jan 2012 16:59:43 +0000 (11:59 -0500)]
[Mono.Debugger.Soft] Implement IsGenericType/Method for protocol < 2.12

12 years agoDocument new setting
Miguel de Icaza [Mon, 30 Jan 2012 16:37:55 +0000 (11:37 -0500)]
Document new setting

12 years agoSort the options
Miguel de Icaza [Mon, 30 Jan 2012 16:36:21 +0000 (11:36 -0500)]
Sort the options

12 years ago[monodoc, mdoc] Recognize and process a documentation 'Related Content' section
Jeremie Laval [Mon, 30 Jan 2012 16:33:56 +0000 (17:33 +0100)]
[monodoc, mdoc] Recognize and process a documentation 'Related Content' section

12 years ago[monodoc] Add value of MTouch/MMac Export attribute to search index
Jeremie Laval [Mon, 30 Jan 2012 14:14:42 +0000 (15:14 +0100)]
[monodoc] Add value of MTouch/MMac Export attribute to search index

12 years ago[mdoc] change index subparameters and explain them
Jeremie Laval [Mon, 30 Jan 2012 09:35:29 +0000 (10:35 +0100)]
[mdoc] change index subparameters and explain them

12 years agoAOT: add support for calling pinvoke methods directly, instead of going through dlsym.
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.

12 years agoMerge pull request #222 from pruiz/httpreq-validation-fix
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.

12 years agoEnsure only first call to HttpRequest.QueryString should trigger validation exception...
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.

12 years agoGuard against lazy initialization of idepth.
Rodrigo Kumpera [Sun, 29 Jan 2012 14:59:33 +0000 (12:59 -0200)]
Guard against lazy initialization of idepth.

12 years agoImplement IsGenericType etc. in TypeMirror/MethodMirror.
Zoltan Varga [Sun, 29 Jan 2012 10:16:03 +0000 (11:16 +0100)]
Implement IsGenericType etc. in  TypeMirror/MethodMirror.

12 years agoFix gshared support in sdb.
Zoltan Varga [Sun, 29 Jan 2012 09:36:41 +0000 (10:36 +0100)]
Fix gshared support in sdb.

12 years agoLast round of fullaot fixes for lazy init'ng supertypes.
Rodrigo Kumpera [Sun, 29 Jan 2012 01:20:24 +0000 (01:20 +0000)]
Last round of fullaot fixes for lazy init'ng supertypes.

12 years agoDisable some TLS fallback code on ppc as it does not work. Fixes #2717.
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.

12 years agoAdd precise location info for this/rgctx in gshared methods, to avoid crashes in...
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.

12 years agoFix linux builds.
Rodrigo Kumpera [Sat, 28 Jan 2012 02:33:36 +0000 (02:33 +0000)]
Fix linux builds.

12 years agoMove clear_remsets to ssb file. Cleanup remset major initialization.
Rodrigo Kumpera [Sat, 28 Jan 2012 01:03:57 +0000 (23:03 -0200)]
Move clear_remsets to ssb file. Cleanup remset major initialization.

12 years agoMove the bulk of mono_sgen_add_to_global_remset to separate files.
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.

12 years agoMark some cardtable functions as inline.
Rodrigo Kumpera [Sat, 28 Jan 2012 00:24:43 +0000 (22:24 -0200)]
Mark some cardtable functions as inline.

12 years agoMove the global remset location cache to its own file.
Rodrigo Kumpera [Fri, 27 Jan 2012 23:03:19 +0000 (21:03 -0200)]
Move the global remset location cache to its own file.

12 years agoMove ssb thread cleanup to its file.
Rodrigo Kumpera [Fri, 27 Jan 2012 22:32:54 +0000 (20:32 -0200)]
Move ssb thread cleanup to its file.

12 years agoMove dummy_use to a header and give it a sucky MSVC implementation.
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.

12 years agoMove the bulk of all custom write barriers to each implementation (card table, seq...
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.

12 years agoAdd new test
Marek Safar [Fri, 27 Jan 2012 15:06:00 +0000 (15:06 +0000)]
Add new test

12 years agoRemove unit index from Location to allow compilation from text buffer
Marek Safar [Fri, 27 Jan 2012 14:38:13 +0000 (14:38 +0000)]
Remove unit index from Location to allow compilation from text buffer

12 years agoMove all remaining compiler settings into Settings class
Marek Safar [Fri, 27 Jan 2012 09:08:43 +0000 (09:08 +0000)]
Move all remaining compiler settings into Settings class

12 years agoFix infinite loop in TestDriver.cs when using the -v option.
Zoltan Varga [Fri, 27 Jan 2012 14:54:30 +0000 (15:54 +0100)]
Fix infinite loop in TestDriver.cs when using the -v option.

12 years agoRevert ".NET 4.5 targets should use dmcs"
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

12 years agoFix typo
Miguel de Icaza [Fri, 27 Jan 2012 04:23:11 +0000 (23:23 -0500)]
Fix typo

12 years agoFix the debug-parser target
Miguel de Icaza [Fri, 27 Jan 2012 02:03:44 +0000 (21:03 -0500)]
Fix the debug-parser target

12 years agoUpdate the compiler docs
Miguel de Icaza [Fri, 27 Jan 2012 02:02:03 +0000 (21:02 -0500)]
Update the compiler docs

12 years agoFix aot miscompilation due to the lazy supertypes initialization.
Rodrigo Kumpera [Thu, 26 Jan 2012 19:25:47 +0000 (17:25 -0200)]
Fix aot miscompilation due to the lazy supertypes initialization.

12 years agoGreat new file sgen-ssb.c to get all sequential store barrier awesomeness.
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.

12 years agoImplement clone wbarrier for cardtable.
Rodrigo Kumpera [Wed, 25 Jan 2012 21:55:47 +0000 (19:55 -0200)]
Implement clone wbarrier for cardtable.

12 years agoFix support for synchronized methods + ldftn. Fixes #3088.
Zoltan Varga [Thu, 26 Jan 2012 19:13:48 +0000 (20:13 +0100)]
Fix support for synchronized methods + ldftn. Fixes #3088.

12 years ago.NET 4.5 targets should use dmcs
Marek Habersack [Thu, 26 Jan 2012 15:24:25 +0000 (16:24 +0100)]
.NET 4.5 targets should use dmcs

12 years agoUse correct time zone offset for invariant DateTimeOffset formats
Marek Safar [Thu, 26 Jan 2012 12:10:55 +0000 (07:10 -0500)]
Use correct time zone offset for invariant DateTimeOffset formats

12 years agoFix time zone dependant test
Marek Safar [Thu, 26 Jan 2012 10:19:38 +0000 (05:19 -0500)]
Fix time zone dependant test

12 years agoUpdate to the latest IKVM.Reflection
Marek Safar [Thu, 26 Jan 2012 10:00:33 +0000 (05:00 -0500)]
Update to the latest IKVM.Reflection

12 years agoDon't try to emit closed containers
Marek Safar [Wed, 25 Jan 2012 18:44:17 +0000 (18:44 +0000)]
Don't try to emit closed containers

12 years agoUse same members for partial classes as normal classes or MD cannot see them
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

12 years agoUpdate to the latest ikvm reflection
Marek Safar [Wed, 25 Jan 2012 11:02:38 +0000 (11:02 +0000)]
Update to the latest ikvm reflection

12 years agoOptimize extension methods lookup
Marek Safar [Wed, 25 Jan 2012 10:38:23 +0000 (10:38 +0000)]
Optimize extension methods lookup