mono.git
13 years agoMove more fields to RootContext
Marek Safar [Mon, 6 Dec 2010 14:08:53 +0000 (14:08 +0000)]
Move more fields to RootContext

13 years agoRemoved obsolete files
Marek Safar [Mon, 6 Dec 2010 12:59:36 +0000 (12:59 +0000)]
Removed obsolete files

13 years agoUse type definition for generic type forwarders
Marek Safar [Mon, 6 Dec 2010 12:53:50 +0000 (12:53 +0000)]
Use type definition for generic type forwarders

13 years agoDon't close same type twice when base call closes this declaration
Marek Safar [Mon, 6 Dec 2010 12:39:46 +0000 (12:39 +0000)]
Don't close same type twice when base call closes this declaration

13 years ago[mono.options] Ensure that IEnumerators are disposed.
Jonathan Pryor [Mon, 6 Dec 2010 13:08:40 +0000 (08:08 -0500)]
[mono.options] Ensure that IEnumerators are disposed.

It's possible that the IEnumerable<string> that
OptionSet.ArgumentEnumerator is enumerating may be generated via
'yield return', in which case any method `finally` blocks are moved
into the IDisposable.Dispose() method.

To ensure proper resource cleanup, we need to make sure that Dispose()
is called on the IEnumerator<string>s.

13 years agoAdd missing xml file.
Atsushi Eno [Mon, 6 Dec 2010 12:52:59 +0000 (21:52 +0900)]
Add missing xml file.

13 years agoFinally got XData tests that make sense. Implemented IsXData.
Atsushi Eno [Mon, 6 Dec 2010 12:52:06 +0000 (21:52 +0900)]
Finally got XData tests that make sense. Implemented IsXData.

13 years agoEnable another test.
Atsushi Eno [Mon, 6 Dec 2010 11:36:24 +0000 (20:36 +0900)]
Enable another test.

13 years agoUse Version type instead of string value
Marek Safar [Mon, 6 Dec 2010 10:58:35 +0000 (10:58 +0000)]
Use Version type instead of string value

13 years agoUse decimal optional parameter value decoded by System.Reflection
Marek Safar [Mon, 6 Dec 2010 10:57:41 +0000 (10:57 +0000)]
Use decimal optional parameter value decoded by System.Reflection

13 years agoExtract reflection specific code from extended builder
Marek Safar [Fri, 3 Dec 2010 18:59:00 +0000 (18:59 +0000)]
Extract reflection specific code from extended builder

13 years agoMove assembly security declaration to extened builder
Marek Safar [Fri, 3 Dec 2010 18:36:32 +0000 (18:36 +0000)]
Move assembly security declaration to extened builder

13 years agoDon't call module symbol writer methods when we are not using it
Marek Safar [Fri, 3 Dec 2010 16:01:00 +0000 (16:01 +0000)]
Don't call module symbol writer methods when we are not using it

13 years agoAdd missing files.
Atsushi Eno [Mon, 6 Dec 2010 11:17:48 +0000 (20:17 +0900)]
Add missing files.

13 years agoImplemented Reference resolution in XamlObjectWriter.
Atsushi Eno [Mon, 6 Dec 2010 11:16:41 +0000 (20:16 +0900)]
Implemented Reference resolution in XamlObjectWriter.

13 years agoEnsure we properly translate the CTM for NSView's when dealing with flipped views
Geoff Norton [Sun, 5 Dec 2010 19:21:06 +0000 (14:21 -0500)]
Ensure we properly translate the CTM for NSView's when dealing with flipped views

Patch from James Clancey <james.clancey@gmail.com>

13 years agoMake sgen-protocol.c into its own module.
Zoltan Varga [Sun, 5 Dec 2010 16:53:03 +0000 (17:53 +0100)]
Make sgen-protocol.c into its own module.

13 years agoCall mini_parse_debug_options () earlier.
Zoltan Varga [Sun, 5 Dec 2010 16:18:42 +0000 (17:18 +0100)]
Call mini_parse_debug_options () earlier.

13 years agoAdd more logging to the soft debugger code.
Zoltan Varga [Sun, 5 Dec 2010 11:17:49 +0000 (12:17 +0100)]
Add more logging to the soft debugger code.

13 years agoFix a debug log message in the soft debugger.
Zoltan Varga [Sun, 5 Dec 2010 09:42:57 +0000 (10:42 +0100)]
Fix a debug log message in the soft debugger.

13 years agoHandle closed sockets in the callbacks
Gonzalo Paniagua Javier [Sun, 5 Dec 2010 04:27:47 +0000 (23:27 -0500)]
Handle closed sockets in the callbacks

Accept returns a Socket in AcceptSocket even when the listener is closed.
Handle ObjectDisposedException for the other callbacks.

Fixes bug #657593.

13 years ago[mdoc] Response file cleanup.
Jonathan Pryor [Sun, 5 Dec 2010 04:08:11 +0000 (23:08 -0500)]
[mdoc] Response file cleanup.

Use Mono.Options.ResponseFileSource instead of implementing response
file parsing manually.

13 years agoAdd part3 of the Google GCI 2010 contributions
Miguel de Icaza [Sat, 4 Dec 2010 23:01:42 +0000 (18:01 -0500)]
Add part3 of the Google GCI 2010 contributions

13 years agoFix for #656021.
Joe Dluzen [Sat, 4 Dec 2010 07:05:53 +0000 (02:05 -0500)]
Fix for #656021.

13 years agoRemove a dead variable.
Zoltan Varga [Sat, 4 Dec 2010 11:15:15 +0000 (12:15 +0100)]
Remove a dead variable.

13 years agoSet MONO_PATH while running the profiler tests.
Zoltan Varga [Sat, 4 Dec 2010 09:53:58 +0000 (10:53 +0100)]
Set MONO_PATH while running the profiler tests.

13 years agoDisable a test which breaks under AOT.
Zoltan Varga [Sat, 4 Dec 2010 09:19:40 +0000 (10:19 +0100)]
Disable a test which breaks under AOT.

13 years agoFix a warning.
Zoltan Varga [Sat, 4 Dec 2010 08:36:35 +0000 (09:36 +0100)]
Fix a warning.

13 years agoReally fix the ia64 build.
Zoltan Varga [Sat, 4 Dec 2010 08:35:26 +0000 (09:35 +0100)]
Really fix the ia64 build.

13 years agoFix ia64 build.
Zoltan Varga [Sat, 4 Dec 2010 08:24:15 +0000 (09:24 +0100)]
Fix ia64 build.

13 years agoHopefully fix the ia64 libgc build.
Zoltan Varga [Sat, 4 Dec 2010 08:18:57 +0000 (09:18 +0100)]
Hopefully fix the ia64 libgc build.

13 years agoFix make check in profiler/.
Zoltan Varga [Sat, 4 Dec 2010 07:41:25 +0000 (08:41 +0100)]
Fix make check in profiler/.

13 years agoFix dynamic type string validation.
Rodrigo Kumpera [Fri, 3 Dec 2010 21:43:21 +0000 (19:43 -0200)]
Fix dynamic type string validation.

* verify.c (do_ldstr): We encode string tokens in a weird
way in dynamic modules.

13 years agoHandle one more case we cmods can appear in odd places.
Rodrigo Kumpera [Fri, 3 Dec 2010 20:43:18 +0000 (18:43 -0200)]
Handle one more case we cmods can appear in odd places.

13 years agoMerge branch 'master' of github.com:mono/mono
Rodrigo Kumpera [Fri, 3 Dec 2010 20:17:43 +0000 (18:17 -0200)]
Merge branch 'master' of github.com:mono/mono

13 years ago[Moon] include cecil when building mono for moon
Andreia Gaita [Fri, 3 Dec 2010 17:31:58 +0000 (17:31 +0000)]
[Moon] include cecil when building mono for moon

13 years agoRemove unused lmf->ebp field on ia64.
Zoltan Varga [Fri, 3 Dec 2010 17:59:14 +0000 (18:59 +0100)]
Remove unused lmf->ebp field on ia64.

13 years agoFix validation of cmods in some odd places.
Rodrigo Kumpera [Fri, 3 Dec 2010 17:24:24 +0000 (15:24 -0200)]
Fix validation of cmods in some odd places.

* metadata-verify.c (parse_generic_inst): A ginst
param can have a cmod.

* metadata-verify.c (parse_param): We can have a cmod
after the byref.

* metadata-verify.c (parse_property_signature): A property
signature can have a cmod on the parameters.

Fixes the verifier for #656787

13 years agoFixicate some unit test
Jérémie Laval [Fri, 3 Dec 2010 16:58:44 +0000 (16:58 +0000)]
Fixicate some unit test

13 years ago[Task scheduler] Change waiting layout/wakeup point and use adaptative deep sleeping
Jérémie Laval [Fri, 3 Dec 2010 16:51:06 +0000 (16:51 +0000)]
[Task scheduler] Change waiting layout/wakeup point and use adaptative deep sleeping

13 years ago[Task Scheduler] Revisit Task waiting in Scheduler using ManualResetEventSlim
Jérémie Laval [Thu, 2 Dec 2010 18:13:49 +0000 (18:13 +0000)]
[Task Scheduler] Revisit Task waiting in Scheduler using ManualResetEventSlim

13 years ago[Task Scheduler] Track re-entrant call to WorkerMethod from normal ThreadWorker and...
Jérémie Laval [Thu, 2 Dec 2010 18:12:51 +0000 (18:12 +0000)]
[Task Scheduler] Track re-entrant call to WorkerMethod from normal ThreadWorker and make them use their deque

13 years agoRemove unused nunit.key file.
Zoltan Varga [Fri, 3 Dec 2010 14:00:50 +0000 (15:00 +0100)]
Remove unused nunit.key file.

13 years agoAdd a 'check' target to mcs/tests.
Zoltan Varga [Fri, 3 Dec 2010 13:32:11 +0000 (14:32 +0100)]
Add a 'check' target to mcs/tests.

13 years agoMerge branch 'concurrent-sweep'
Mark Probst [Fri, 3 Dec 2010 12:51:38 +0000 (13:51 +0100)]
Merge branch 'concurrent-sweep'

13 years ago[sgen] Make concurrent sweep user-selectable.
Mark Probst [Fri, 3 Dec 2010 09:29:03 +0000 (10:29 +0100)]
[sgen] Make concurrent sweep user-selectable.

It's off by default for now.

13 years ago[sgen] Compute allowance when sweeping is finished.
Mark Probst [Thu, 2 Dec 2010 13:05:57 +0000 (14:05 +0100)]
[sgen] Compute allowance when sweeping is finished.

Before sweeping hasn't finished we don't know how many major blocks
are in use, so we delay computing the minor collection allowance until
sweeping is done.  In the mean time we use the minimum allowance.

13 years ago[sgen] Concurrent sweep.
Mark Probst [Wed, 1 Dec 2010 13:22:08 +0000 (14:22 +0100)]
[sgen] Concurrent sweep.

13 years agoDelay initialization of missing methods needed by symbol writer
Marek Safar [Fri, 3 Dec 2010 12:30:44 +0000 (12:30 +0000)]
Delay initialization of missing methods needed by symbol writer

13 years agoApply implicit parameter attributes using standard path to avoid any duplicates
Marek Safar [Fri, 3 Dec 2010 12:04:32 +0000 (12:04 +0000)]
Apply implicit parameter attributes using standard path to avoid any duplicates

13 years ago[Task] Slight tweak of WaitAny unit test
Jérémie Laval [Fri, 3 Dec 2010 12:05:40 +0000 (12:05 +0000)]
[Task] Slight tweak of WaitAny unit test

13 years ago[Task] Add an extra check in Task.WaitAny to make sure the index returned is valid
Jérémie Laval [Fri, 3 Dec 2010 12:05:00 +0000 (12:05 +0000)]
[Task] Add an extra check in Task.WaitAny to make sure the index returned is valid

13 years ago[Task] Dumb bugfix when checking timeout in Task.WaitAny
Jérémie Laval [Fri, 3 Dec 2010 12:04:16 +0000 (12:04 +0000)]
[Task] Dumb bugfix when checking timeout in Task.WaitAny

13 years agoFix another AOT crash if a signature cannot be loaded.
Zoltan Varga [Fri, 3 Dec 2010 11:18:49 +0000 (12:18 +0100)]
Fix another AOT crash if a signature cannot be loaded.

13 years agoParse custom modifiers in mono_type_create_from_typespec ().
Zoltan Varga [Fri, 3 Dec 2010 10:26:14 +0000 (11:26 +0100)]
Parse custom modifiers in mono_type_create_from_typespec ().

13 years agoDon't throw an obsolete exception
Marek Safar [Fri, 3 Dec 2010 10:11:29 +0000 (10:11 +0000)]
Don't throw an obsolete exception

13 years agoMore symbol writer clean-up
Marek Safar [Fri, 3 Dec 2010 09:49:19 +0000 (09:49 +0000)]
More symbol writer clean-up

13 years agoTest files update
Marek Safar [Fri, 3 Dec 2010 09:41:06 +0000 (09:41 +0000)]
Test files update

13 years agoRevert a warning fix as it breaks the windows build.
Zoltan Varga [Fri, 3 Dec 2010 10:07:19 +0000 (11:07 +0100)]
Revert a warning fix as it breaks the windows build.

13 years agoFix a crash in the AOT compiler if a method cannot be loaded.
Zoltan Varga [Fri, 3 Dec 2010 09:32:23 +0000 (10:32 +0100)]
Fix a crash in the AOT compiler if a method cannot be loaded.

13 years agoname resolver could also be name provider.
Atsushi Eno [Fri, 3 Dec 2010 09:24:38 +0000 (18:24 +0900)]
name resolver could also be name provider.

13 years agoSplit internal base class into new file.
Atsushi Eno [Fri, 3 Dec 2010 09:24:16 +0000 (18:24 +0900)]
Split internal base class into new file.

13 years agoRename source.
Atsushi Eno [Fri, 3 Dec 2010 07:56:56 +0000 (16:56 +0900)]
Rename source.

13 years agoNow object reader returns PositionalParameters for non-root Reference objects.
Atsushi Eno [Fri, 3 Dec 2010 04:13:52 +0000 (13:13 +0900)]
Now object reader returns PositionalParameters for non-root Reference objects.

13 years agoFix warnings.
Zoltan Varga [Thu, 2 Dec 2010 20:27:08 +0000 (21:27 +0100)]
Fix warnings.

13 years agoDisale logging profiler.
Zoltan Varga [Thu, 2 Dec 2010 20:23:21 +0000 (21:23 +0100)]
Disale logging profiler.

13 years agoImplemented reference support (almost working, except for Reference contents).
Atsushi Eno [Thu, 2 Dec 2010 18:30:22 +0000 (03:30 +0900)]
Implemented reference support (almost working, except for Reference contents).

There are several refactorings as well as some hacky workarounds to avoid
wrong saving of names. References should return PositionalParameters, but
in the standalone tests they don't return it, so I have to sort both out.
Enabled xml writer tests as they are working.

13 years agoMembers are not ordered by collection kind.
Atsushi Eno [Thu, 2 Dec 2010 18:16:45 +0000 (03:16 +0900)]
Members are not ordered by collection kind.

13 years ago[PLinq] Wrap PLinq processing task body in a try/finally so that endAction is always...
Jérémie Laval [Thu, 2 Dec 2010 14:02:11 +0000 (14:02 +0000)]
[PLinq] Wrap PLinq processing task body in a try/finally so that endAction is always called no matter what happen.

13 years ago[PLinq] Cleanup and prettify code from earlier commit
Jérémie Laval [Thu, 2 Dec 2010 14:01:21 +0000 (14:01 +0000)]
[PLinq] Cleanup and prettify code from earlier commit

13 years agoInclude alloca.h into glib.h if needed.
Zoltan Varga [Thu, 2 Dec 2010 13:31:59 +0000 (14:31 +0100)]
Include alloca.h into glib.h if needed.

13 years agoMake the debugger agent at least compile on the ps3.
Zoltan Varga [Thu, 2 Dec 2010 13:24:20 +0000 (14:24 +0100)]
Make the debugger agent at least compile on the ps3.

13 years ago[sgen] Remove skip_size in sgen-scan-object.h.
Mark Probst [Wed, 1 Dec 2010 12:20:58 +0000 (13:20 +0100)]
[sgen] Remove skip_size in sgen-scan-object.h.

Dead code.

13 years ago[sgen] Handle forwarding in mono_gc_scan_for_specific_ref().
Mark Probst [Wed, 1 Dec 2010 12:13:58 +0000 (13:13 +0100)]
[sgen] Handle forwarding in mono_gc_scan_for_specific_ref().

This function is used for debugging purposes only.  Previously it
didn't handle forwarding which meant that it couldn't be used during a
collection.

13 years ago[sgen] Zero freed blocks in fixed heap Mark&Sweep.
Mark Probst [Wed, 1 Dec 2010 12:11:14 +0000 (13:11 +0100)]
[sgen] Zero freed blocks in fixed heap Mark&Sweep.

Fresh blocks must be zeroed, which means that when we free blocks we
must ensure that they are zeroed before they are used again.

13 years ago[ilasm] fix the metadata version for v4 assemblies
Jb Evain [Thu, 2 Dec 2010 12:20:16 +0000 (13:20 +0100)]
[ilasm] fix the metadata version for v4 assemblies

13 years agoDon't try to parse invalid namespace declarations, it does more harm than good
Marek Safar [Thu, 2 Dec 2010 12:09:07 +0000 (12:09 +0000)]
Don't try to parse invalid namespace declarations, it does more harm than good

13 years agoUpdate setting of buildin internal types
Marek Safar [Thu, 2 Dec 2010 11:25:48 +0000 (11:25 +0000)]
Update setting of buildin internal types

13 years agoRemoved InitOptionalCoreTypes
Marek Safar [Thu, 2 Dec 2010 09:57:32 +0000 (09:57 +0000)]
Removed InitOptionalCoreTypes

13 years agoClean-up module indirections
Marek Safar [Thu, 2 Dec 2010 09:31:52 +0000 (09:31 +0000)]
Clean-up module indirections

13 years agoMove all predefined types to module to work with any mscorlib
Marek Safar [Thu, 2 Dec 2010 08:25:43 +0000 (08:25 +0000)]
Move all predefined types to module to work with any mscorlib

13 years agoMove references loading into a new class
Marek Safar [Wed, 1 Dec 2010 12:05:47 +0000 (12:05 +0000)]
Move references loading into a new class

13 years agoMove AssemblyResource to assembly.cs
Marek Safar [Wed, 1 Dec 2010 09:32:31 +0000 (09:32 +0000)]
Move AssemblyResource to assembly.cs

13 years agoFix a typo.
Zoltan Varga [Thu, 2 Dec 2010 11:09:43 +0000 (12:09 +0100)]
Fix a typo.

13 years agoMake room for XamlNameResolver in XamlObjectReader, and some related changes.
Atsushi Eno [Thu, 2 Dec 2010 10:51:00 +0000 (19:51 +0900)]
Make room for XamlNameResolver in XamlObjectReader, and some related changes.

13 years ago[SafeHandle] Fixing docs
Jérémie Laval [Thu, 2 Dec 2010 10:40:09 +0000 (10:40 +0000)]
[SafeHandle] Fixing docs

13 years agoAllow breakpoints set using --break in wrappers.
Zoltan Varga [Thu, 2 Dec 2010 09:53:57 +0000 (10:53 +0100)]
Allow breakpoints set using --break in wrappers.

13 years agoMove the identical MonoLMFExt declarations to mini.h.
Zoltan Varga [Thu, 2 Dec 2010 09:53:34 +0000 (10:53 +0100)]
Move the identical MonoLMFExt declarations to mini.h.

13 years agoSplit the exception handling code into test_only and !test_only passes, ending up...
Zoltan Varga [Thu, 2 Dec 2010 07:23:10 +0000 (08:23 +0100)]
Split the exception handling code into test_only and !test_only passes, ending up with two simpler/shorter functions.

13 years agoRevert "Fix the OSC build breakage by only compiling mach_dep.c on openbsd."
Zoltan Varga [Thu, 2 Dec 2010 06:06:49 +0000 (07:06 +0100)]
Revert "Fix the OSC build breakage by only compiling mach_dep.c on openbsd."

This reverts commit 103450e4a270ed47fa93fc0a99fcdb95e602c5fa.

13 years ago[SafeHandle] Add bits of documentation
Jérémie Laval [Wed, 1 Dec 2010 19:52:42 +0000 (19:52 +0000)]
[SafeHandle] Add bits of documentation

13 years ago[SafeHandle] Make success parameter setting atomic wrt async exception in DangerousAddRef
Jérémie Laval [Wed, 1 Dec 2010 15:54:48 +0000 (15:54 +0000)]
[SafeHandle] Make success parameter setting atomic wrt async exception in DangerousAddRef

13 years ago[SafeHandle] Protect Close against asynchronous exceptions
Jérémie Laval [Wed, 1 Dec 2010 15:54:26 +0000 (15:54 +0000)]
[SafeHandle] Protect Close against asynchronous exceptions

13 years agoDocumentation for Mono.Cairo contributed by knairda from Google GCI 2010
Miguel de Icaza [Wed, 1 Dec 2010 20:00:05 +0000 (15:00 -0500)]
Documentation for Mono.Cairo contributed by knairda from Google GCI 2010

13 years agoFix the OSC build breakage by only compiling mach_dep.c on openbsd.
Zoltan Varga [Wed, 1 Dec 2010 16:52:53 +0000 (17:52 +0100)]
Fix the OSC build breakage by only compiling mach_dep.c on openbsd.

13 years agoLog profiler: fixed allocation and call frames end detection in test runner.
Paolo Molaro [Wed, 1 Dec 2010 16:19:32 +0000 (17:19 +0100)]
Log profiler: fixed allocation and call frames end detection in test runner.

13 years agoSave the original throw context into TLS so stack walks done from profiler functions...
Zoltan Varga [Wed, 1 Dec 2010 16:05:30 +0000 (17:05 +0100)]
Save the original throw context into TLS so stack walks done from profiler functions work during exception handling.

13 years agoUpdate Mono.Cecil
Jb Evain [Wed, 1 Dec 2010 15:46:46 +0000 (16:46 +0100)]
Update Mono.Cecil

13 years agoAdd script to update Cecil from upstream
Jb Evain [Wed, 1 Dec 2010 15:46:22 +0000 (16:46 +0100)]
Add script to update Cecil from upstream

13 years agoFixed env path setting.
Paolo Molaro [Wed, 1 Dec 2010 14:46:04 +0000 (15:46 +0100)]
Fixed env path setting.