mono.git
13 years agoAdd endpoint behavior support in NET_2_1, which involved not a few additions.
Atsushi Eno [Wed, 16 Mar 2011 08:20:00 +0000 (17:20 +0900)]
Add endpoint behavior support in NET_2_1, which involved not a few additions.

13 years agoRevert XPathNodeIteratorNodeListIterator2-based iterator.
Atsushi Eno [Wed, 16 Mar 2011 07:40:48 +0000 (16:40 +0900)]
Revert XPathNodeIteratorNodeListIterator2-based iterator.

Fixed #679425, but it may regress since no test case is provided.

13 years agoFix g_get_charset for windows.
Gonzalo Paniagua Javier [Wed, 16 Mar 2011 05:59:40 +0000 (01:59 -0400)]
Fix g_get_charset for windows.

Patch by Horst Kakuschke that fixes bug #660412.

13 years ago[io-layer] Handle process waits when SHM is disabled.
Gonzalo Paniagua Javier [Wed, 16 Mar 2011 05:47:43 +0000 (01:47 -0400)]
[io-layer] Handle process waits when SHM is disabled.

When SHM is disabled, handle SIGCHLD and either fill the info for the
process handle or just wait for the process to avoid zombies.
Fixes bug #668867.

13 years agoRe-enable the Decimal(double) constructor that uses our direct transformation
Miguel de Icaza [Wed, 16 Mar 2011 05:51:19 +0000 (01:51 -0400)]
Re-enable the Decimal(double) constructor that uses our direct transformation
from a double into a decimal.

This is too good to be true.   The only change was to set the rounding bit in the
call to rescale the results.

This should fix bug #584736, and hopefully does not regress anythign else.   The
decimal test suite in corlib passes.

13 years agoCompilation fix
Marek Habersack [Wed, 16 Mar 2011 01:31:00 +0000 (02:31 +0100)]
Compilation fix

13 years ago[asp.net] Fix for bug #678705. Menu list rendered properly closes the list now.
Jason Cohen [Wed, 16 Mar 2011 01:30:11 +0000 (02:30 +0100)]
[asp.net] Fix for bug #678705. Menu list rendered properly closes the list now.

13 years ago[asp.net] Fix for bug #667513. Implement support for PathInfo in Route.GetRouteData
Bassam Tabbara [Wed, 16 Mar 2011 00:10:55 +0000 (01:10 +0100)]
[asp.net] Fix for bug #667513. Implement support for PathInfo in Route.GetRouteData

13 years agoHandle conversion to System.Enum
Jb Evain [Tue, 15 Mar 2011 21:18:36 +0000 (22:18 +0100)]
Handle conversion to System.Enum

13 years agoAdd test for bug ug #678897
Jb Evain [Tue, 15 Mar 2011 21:18:04 +0000 (22:18 +0100)]
Add test for bug ug #678897

13 years ago[Semaphore] Remove warnings
Gonzalo Paniagua Javier [Tue, 15 Mar 2011 20:28:13 +0000 (16:28 -0400)]
[Semaphore] Remove warnings

13 years agoReintroduce support for orig_ex_ctx
Rodrigo Kumpera [Tue, 15 Mar 2011 17:45:56 +0000 (18:45 +0100)]
Reintroduce support for orig_ex_ctx

13 years agoFix signature
Rodrigo Kumpera [Tue, 15 Mar 2011 17:43:38 +0000 (18:43 +0100)]
Fix signature

13 years agoAdd mono_sgen_thread_info_current to speedup self lookups.
Rodrigo Kumpera [Tue, 15 Mar 2011 17:16:25 +0000 (18:16 +0100)]
Add mono_sgen_thread_info_current to speedup self lookups.

* sgen-gc.c: Add mono_sgen_thread_info_current which
make self lookups much faster by avoiding a hashtable
lookup.

13 years ago[ado.net]fixes 672113 - Keep a copy of columns array in constraints than
Veerapuram Varadhan [Tue, 15 Mar 2011 17:15:39 +0000 (22:45 +0530)]
[ado.net]fixes 672113 - Keep a copy of columns array in constraints than
a reference

13 years agoUse constant stack space for STW under darwin.
Rodrigo Kumpera [Tue, 15 Mar 2011 16:31:24 +0000 (17:31 +0100)]
Use constant stack space for STW under darwin.

* sgen-gc.h: Since darwin doesn't use signals to
stop the target threads, we must reserve space for
register in SgenThreadInfo.

* sgen-os-mach.c (mono_sgen_thread_handshake): Don't
alloca inside the loop. Make sure each thread registers
are copied to the right place.

13 years agoLeverage SgenThreadInfo::mach_port.
Rodrigo Kumpera [Tue, 15 Mar 2011 16:02:39 +0000 (17:02 +0100)]
Leverage SgenThreadInfo::mach_port.

* mach-support-*.c (mono_mach_arch_get_tls_value_from_thread):
This function now receives pthread_t instead of mach_port
as argument, so avoiding an expensive call to
pthread_from_mach_thread_np.

* sgen-os-mach.c (mono_sgen_thread_handshake): Loop over
the registered threads insted of asking the kernel to enumerate
them. Avoid calling pthread_from_mach_thread_np which takes
a lock and is O(n) on the number of threads.

13 years agoStore the mach port on SgenThreadInfo
Rodrigo Kumpera [Tue, 15 Mar 2011 15:35:09 +0000 (16:35 +0100)]
Store the mach port on SgenThreadInfo

13 years agoAdd prefix to cref link, fixes link breakage in Kipunji.
Jackson Harper [Tue, 15 Mar 2011 16:03:47 +0000 (12:03 -0400)]
Add prefix to cref link, fixes link breakage in Kipunji.

13 years agoavoid NRE on non-binary encoding use in TcpTransport.
Atsushi Eno [Tue, 15 Mar 2011 12:01:31 +0000 (21:01 +0900)]
avoid NRE on non-binary encoding use in TcpTransport.

13 years agoAppdomain refs can be NULL in pop_refs
Gonzalo Paniagua Javier [Tue, 15 Mar 2011 02:50:10 +0000 (22:50 -0400)]
Appdomain refs can be NULL in pop_refs

This fixes a bunch of test I broke with my previoius commit.

13 years ago[asp.net] Fix for bug #650695. Implements the System.Web.{HttpNotFoundHandler,HttpNot...
Kornél Pál [Mon, 14 Mar 2011 22:42:31 +0000 (23:42 +0100)]
[asp.net] Fix for bug #650695. Implements the System.Web.{HttpNotFoundHandler,HttpNotImplementedHandler} classes.

13 years ago[HttpListener] Avoid contention
Gonzalo Paniagua Javier [Mon, 14 Mar 2011 21:58:25 +0000 (17:58 -0400)]
[HttpListener] Avoid contention

-Lock-free reads from registered listeners.
-Don't register the context until *all* the setup steps are done.

13 years agoImplmement a private BinaryFormatter.DefaultSurrogateSelector, which enables embedder...
Lucas Meijer [Fri, 11 Mar 2011 23:30:41 +0000 (00:30 +0100)]
Implmement a private BinaryFormatter.DefaultSurrogateSelector, which enables embedders who want to make a sandbox, to specify a default surrogate selector, which is required to get System.Serialization be able to operate within a CoreCLR environment.

13 years agoFix the mobile build
Geoff Norton [Mon, 14 Mar 2011 20:11:24 +0000 (16:11 -0400)]
Fix the mobile build

13 years agoRevert "Fix the MDr and MT build"
Jb Evain [Mon, 14 Mar 2011 20:07:24 +0000 (21:07 +0100)]
Revert "Fix the MDr and MT build"

This reverts commit b5c472b320cf2d52bfe27fe172ea7f667a118d7a.

We can use the Unsafe optimized variant in mobile.

13 years agoFix the mobile build
Geoff Norton [Mon, 14 Mar 2011 19:43:29 +0000 (15:43 -0400)]
Fix the mobile build

13 years agoMerge branch 'sgen-disable-gc'
Mark Probst [Mon, 14 Mar 2011 18:22:30 +0000 (19:22 +0100)]
Merge branch 'sgen-disable-gc'

13 years ago[sgen] Debug options for disabling minor and/or major collection.
Mark Probst [Mon, 14 Mar 2011 16:29:46 +0000 (17:29 +0100)]
[sgen] Debug options for disabling minor and/or major collection.

13 years ago[sgen] Scan thread data job for the nursery collection.
Mark Probst [Thu, 10 Mar 2011 11:16:23 +0000 (12:16 +0100)]
[sgen] Scan thread data job for the nursery collection.

13 years ago[sgen] Scan from registered roots job for nursery.
Mark Probst [Wed, 9 Mar 2011 22:29:54 +0000 (23:29 +0100)]
[sgen] Scan from registered roots job for nursery.

13 years ago[threads] appdomain_refs push/pop speedup
Gonzalo Paniagua Javier [Mon, 14 Mar 2011 05:54:09 +0000 (01:54 -0400)]
[threads] appdomain_refs push/pop speedup

Replace the GSList with an array to avoid malloc/free on every push/pop
call.

13 years agoFix the MDr and MT build
Jb Evain [Mon, 14 Mar 2011 16:20:43 +0000 (17:20 +0100)]
Fix the MDr and MT build

13 years agoEnable DTD attdecl processing in mobile profile.
Atsushi Eno [Mon, 14 Mar 2011 15:44:43 +0000 (00:44 +0900)]
Enable DTD attdecl processing in mobile profile.

13 years agoDon't throw an exception when task array is empty in WaitAll and throw in case a...
Jérémie Laval [Sun, 13 Mar 2011 17:29:59 +0000 (18:29 +0100)]
Don't throw an exception when task array is empty in WaitAll and throw in case a null element is encountered in it.

Fix for #679183

13 years agoHush warnings.
Gonzalo Paniagua Javier [Mon, 14 Mar 2011 05:57:30 +0000 (01:57 -0400)]
Hush warnings.

13 years agoApply DataContractSerializerOperationBehavior.
Peter Gerbrandt [Mon, 14 Mar 2011 03:16:25 +0000 (12:16 +0900)]
Apply DataContractSerializerOperationBehavior.

13 years agoAdd new ignore file.
Gonzalo Paniagua Javier [Sun, 13 Mar 2011 23:41:59 +0000 (19:41 -0400)]
Add new ignore file.

13 years agoAdd a function to add a nursery fragment.
Zoltan Varga [Sun, 13 Mar 2011 10:40:43 +0000 (11:40 +0100)]
Add a function to add a nursery fragment.

13 years agoFix a warning.
Zoltan Varga [Sat, 12 Mar 2011 21:22:39 +0000 (22:22 +0100)]
Fix a warning.

13 years agoRename a few sgen variables/functions to better describe what they do.
Zoltan Varga [Sat, 12 Mar 2011 19:55:14 +0000 (20:55 +0100)]
Rename a few sgen variables/functions to better describe what they do.

13 years agoFix mono/mcs build for Moonlight profile
Sebastien Pouliot [Fri, 11 Mar 2011 21:18:17 +0000 (16:18 -0500)]
Fix mono/mcs build for Moonlight profile

* corlib/System.Threading/Timer.cs:
* System/System.Net.Sockets/Socket_2_1.cs:
Use API available under Moonlight when MOONLIGHT is defined

13 years agoFix To2047
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 21:15:59 +0000 (16:15 -0500)]
Fix To2047

13 years agoBuild dist compiler with basic profile only (the build extension will come sometime...
Marek Safar [Fri, 11 Mar 2011 21:03:17 +0000 (21:03 +0000)]
Build dist compiler with basic profile only (the build extension will come sometime later)

13 years agoCache NewLine per AppDomain.
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 17:12:56 +0000 (12:12 -0500)]
Cache NewLine per AppDomain.

13 years agoIntern more string values during parsing
Marek Safar [Fri, 11 Mar 2011 15:49:47 +0000 (15:49 +0000)]
Intern more string values during parsing

13 years ago[xbuild] Microsoft.Common.targets - import Before/After targets files.
Ankit Jain [Fri, 11 Mar 2011 13:12:57 +0000 (18:42 +0530)]
[xbuild] Microsoft.Common.targets - import Before/After targets files.

With this, Microsoft.Common.targets will import
$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore\*
at the beginning of the file and
$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportAfter\*
at the end of the file.

So, this would import all files from (eg.):
$prefix/lib/mono/xbuild/4.0/Microsoft.Common.targets/ImportBefore/

This can be disabled by setting the bool properties -
$(ImportByWildcardBeforeMicrosoftCommonTargets) and
$(ImportByWildcardAfterMicrosoftCommonTargets).

13 years ago[xbuild] Throw ArgumentNullException if target name is null
Ankit Jain [Fri, 11 Mar 2011 12:52:05 +0000 (18:22 +0530)]
[xbuild] Throw ArgumentNullException if target name is null

13 years ago[xbuild] Emit list of projects in the .sln.proj
Ankit Jain [Fri, 11 Mar 2011 09:03:32 +0000 (14:33 +0530)]
[xbuild] Emit list of projects in the .sln.proj

Emit list of projects in the solution as @(ProjectReference) items
in the generated .sln.proj file. This would be useful for extending
solution builds.

13 years ago[xbuild] Don't report Imports ignored because of false conditions.
Ankit Jain [Fri, 11 Mar 2011 09:02:38 +0000 (14:32 +0530)]
[xbuild] Don't report Imports ignored because of false conditions.

13 years ago[xbuild] xbuild/Main.cs - remove unnecessary catch/throw.
Ankit Jain [Fri, 11 Mar 2011 09:01:38 +0000 (14:31 +0530)]
[xbuild] xbuild/Main.cs - remove unnecessary catch/throw.

13 years ago[xbuild] Set ProjectFile and TargetName metadata on target outputs.
Ankit Jain [Fri, 11 Mar 2011 09:00:20 +0000 (14:30 +0530)]
[xbuild] Set ProjectFile and TargetName metadata on target outputs.

Set "MSBuildProjectFile" and "MSBuildTargetName" metadata on target outputs.

13 years ago[xbuild] Handle unknown exceptions.
Ankit Jain [Fri, 11 Mar 2011 13:05:19 +0000 (18:35 +0530)]
[xbuild] Handle unknown exceptions.

Re-throw any unknown exceptions.
* Project.cs: Log the exception, doing it here also, so that direct
project.Build(..) call failures also get logged.
* Engine.cs: Log the unknown exception only if the build is running.
This allows for the case when Project.Build caught it and ended the
build.

13 years ago[xbuild] Function names are case insensitive.
Ankit Jain [Thu, 10 Mar 2011 11:27:19 +0000 (16:57 +0530)]
[xbuild] Function names are case insensitive.

13 years ago[xbuild] Evaluate Import with MSBuildThisFile* properties set.
Ankit Jain [Thu, 10 Mar 2011 11:26:33 +0000 (16:56 +0530)]
[xbuild] Evaluate Import with MSBuildThisFile* properties set.

13 years agoAdd another local quick test target
Marek Safar [Fri, 11 Mar 2011 12:48:52 +0000 (12:48 +0000)]
Add another local quick test target

13 years agoReduce scope for escaped identifier to only necessary attribute section
Marek Safar [Fri, 11 Mar 2011 12:39:55 +0000 (12:39 +0000)]
Reduce scope for escaped identifier to only necessary attribute section

13 years agoSimple member context is enough when checking member accessibility (removes misused...
Marek Safar [Fri, 11 Mar 2011 10:30:24 +0000 (10:30 +0000)]
Simple member context is enough when checking member accessibility (removes misused FakeInternalType)

13 years agoFinally remove RootContext.ToplevelTypes hacking from GlobalAttribute (what a joy!)
Marek Safar [Thu, 10 Mar 2011 17:51:52 +0000 (17:51 +0000)]
Finally remove RootContext.ToplevelTypes hacking from GlobalAttribute (what a joy!)

13 years agoVerify namespace usings without global static state (fixes few hard to track bugs)
Marek Safar [Thu, 10 Mar 2011 17:03:52 +0000 (17:03 +0000)]
Verify namespace usings without global static state (fixes few hard to track bugs)

13 years agoRemove wrong using
Marek Safar [Thu, 10 Mar 2011 16:55:47 +0000 (16:55 +0000)]
Remove wrong using

13 years ago[HttpListener] Paranoid cleanup
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 06:53:45 +0000 (01:53 -0500)]
[HttpListener] Paranoid cleanup

13 years ago[HttpListener] Plug leak.
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 06:46:04 +0000 (01:46 -0500)]
[HttpListener] Plug leak.

13 years agoSupport NLS when opening assemblies on windows.
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 03:14:58 +0000 (22:14 -0500)]
Support NLS when opening assemblies on windows.

Patch by Horst Kakuschke that fixes bug #673793.

13 years agoTest for both Set-Cookie and Set-Cookie2
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 00:03:57 +0000 (19:03 -0500)]
Test for both Set-Cookie and Set-Cookie2

13 years ago[HttpWebRequest] Only uppercase known methods
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 00:03:37 +0000 (19:03 -0500)]
[HttpWebRequest] Only uppercase known methods

13 years ago[Socket] Remove more auto-delegates
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 22:46:10 +0000 (17:46 -0500)]
[Socket] Remove more auto-delegates

13 years ago[Timer] Use static CB for invoking timer callbacks.
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 22:03:59 +0000 (17:03 -0500)]
[Timer] Use static CB for invoking timer callbacks.

13 years ago[Socket] Minimize allocations of delegates
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 19:56:28 +0000 (14:56 -0500)]
[Socket] Minimize allocations of delegates

13 years ago[HttpListener] Avoid blocking in FlushInput
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 23:24:48 +0000 (18:24 -0500)]
[HttpListener] Avoid blocking in FlushInput

13 years agoFix ARCH_STORE_REGS on arm
Geoff Norton [Thu, 10 Mar 2011 21:27:54 +0000 (16:27 -0500)]
Fix ARCH_STORE_REGS on arm

13 years agoExport mono_raise_exception_with_ctx to metadata.
Rodrigo Kumpera [Thu, 10 Mar 2011 21:26:11 +0000 (22:26 +0100)]
Export mono_raise_exception_with_ctx to metadata.

13 years agoFix ia64 mono-context.h
Rodrigo Kumpera [Thu, 10 Mar 2011 20:17:44 +0000 (21:17 +0100)]
Fix ia64 mono-context.h

13 years agoRemote all traces of old style unwinding from mini.
Rodrigo Kumpera [Thu, 10 Mar 2011 20:15:46 +0000 (21:15 +0100)]
Remote all traces of old style unwinding from mini.

13 years agoExport new style unwinding functions
Rodrigo Kumpera [Thu, 10 Mar 2011 19:38:10 +0000 (20:38 +0100)]
Export new style unwinding functions

13 years agoUnify EH callbacks.
Rodrigo Kumpera [Thu, 10 Mar 2011 18:19:08 +0000 (19:19 +0100)]
Unify EH callbacks.

* object-internals.h: New callback struct
MonoRuntimeExceptionHandlingCallbacks for
raising and unwinding callbacks.

* loader.c:
* object.c:
* mini-exceptions.c: Move to the new struct.

13 years agoMove EH handler to mono_exceptions_init
Rodrigo Kumpera [Thu, 10 Mar 2011 17:57:03 +0000 (18:57 +0100)]
Move EH handler to mono_exceptions_init

13 years agoFix API compatibility with SL4
Sebastien Pouliot [Thu, 10 Mar 2011 19:30:48 +0000 (14:30 -0500)]
Fix API compatibility with SL4

* BinaryReader.cs:
* BinaryWriter.cs:
Adding || MOONLIGHT since Dispose (new in FX4) is also exposed
in SL4

13 years agoFix parameter name mismatches between Moonlight and Silverlight
Sebastien Pouliot [Thu, 10 Mar 2011 19:28:00 +0000 (14:28 -0500)]
Fix parameter name mismatches between Moonlight and Silverlight

13 years agoAdd some missing API into Moonlight
Sebastien Pouliot [Wed, 9 Mar 2011 14:51:53 +0000 (09:51 -0500)]
Add some missing API into Moonlight

* System.Runtime.Versioning/ComponentGuaranteesAttribute.cs:
* System.Runtime.Versioning/ComponentGuaranteesOptions.cs:
Add || MOONLIGHT

* System.Security.Permissions/SecurityAction.cs
* System/ContextStaticAttribute.cs
* System/ExecutionEngineException.cs
Make sure the [Obsolete] attributes are present in moonlight

* moonlight_raw_corlib.dll.sources: Include both System.Runtime.Versioning
ComponentGuarantees[Attribute|Options] into moonlight build

13 years agoUse LLVM_CHECK_VERSION() in one place to fix a build failure.
Zoltan Varga [Thu, 10 Mar 2011 19:50:07 +0000 (20:50 +0100)]
Use LLVM_CHECK_VERSION() in one place to fix a build failure.

13 years agoMove MonoContext to mono-context for ia64
Rodrigo Kumpera [Thu, 10 Mar 2011 18:46:32 +0000 (19:46 +0100)]
Move MonoContext to mono-context for ia64

13 years agoMove MonoContext to mono-context for sparc
Rodrigo Kumpera [Thu, 10 Mar 2011 18:41:30 +0000 (19:41 +0100)]
Move MonoContext to mono-context for sparc

13 years agoMove MonoContext to mono-context for ppc
Rodrigo Kumpera [Wed, 9 Mar 2011 16:52:17 +0000 (17:52 +0100)]
Move MonoContext to mono-context for ppc

13 years agodist new file
Rodrigo Kumpera [Thu, 10 Mar 2011 17:27:55 +0000 (18:27 +0100)]
dist new file

13 years agoFix some opcodes dreg type.
Rodrigo Kumpera [Thu, 10 Mar 2011 13:00:55 +0000 (14:00 +0100)]
Fix some opcodes dreg type.

13 years agoFix a warning.
Zoltan Varga [Thu, 10 Mar 2011 16:30:56 +0000 (17:30 +0100)]
Fix a warning.

13 years agoGetApplicableRule returns NULL in TimeZoneInfo.cs yet the code does not always handle...
Duane Wandless [Thu, 10 Mar 2011 14:12:39 +0000 (22:12 +0800)]
GetApplicableRule returns NULL in TimeZoneInfo.cs yet the code does not always handle a NULL return value.
This change fixes this issue and allows timezones like China Standard Time to work.

13 years agoResult-preserving node list while not performance-harmful until node removal.
Atsushi Eno [Thu, 10 Mar 2011 13:40:44 +0000 (22:40 +0900)]
Result-preserving node list while not performance-harmful until node removal.

Node removal while iterating should be prohibited as documented in MSDN though.

13 years agoFix a warning
Rodrigo Kumpera [Thu, 10 Mar 2011 12:13:03 +0000 (13:13 +0100)]
Fix a warning

13 years agomono_gc_alloc_mature must check if the object needs to be registered for finalization
Rodrigo Kumpera [Thu, 10 Mar 2011 12:11:01 +0000 (13:11 +0100)]
mono_gc_alloc_mature must check if the object needs to be registered for finalization

13 years agoImplement signal chaining for windows. Useful for letting custom crash reporters...
Lucas Meijer [Tue, 1 Feb 2011 18:51:50 +0000 (19:51 +0100)]
Implement signal chaining for windows. Useful for letting custom crash reporters be able to deal with native crashes, without mono eating the native exception while checking to see if it was caused by a managed null dereference in jitted code or not.   provided under MIT X11 license.

13 years agoCleanup and document the new unwind stuff a bit.
Rodrigo Kumpera [Thu, 10 Mar 2011 10:47:42 +0000 (11:47 +0100)]
Cleanup and document the new unwind stuff a bit.

* mini-exceptions.c: Document the new unwind stuff a bit
and make the _with_* variants have saner behavior when no
context is passed by capturing the current one.

13 years agoReplace mono_walk_stack with mono_stack_walk_simple.
Rodrigo Kumpera [Thu, 10 Mar 2011 10:34:45 +0000 (11:34 +0100)]
Replace mono_walk_stack with mono_stack_walk_simple.

* mini-exceptions.c: Kill the one zillion arguments
mono_walk_stack. Now you are supposed to use either
_with_context or _with_state versions if you need
to unwind from a non cannonical starting point.

13 years agoCleanup sdb to use the new unwind state code.
Rodrigo Kumpera [Wed, 9 Mar 2011 22:41:23 +0000 (23:41 +0100)]
Cleanup sdb to use the new unwind state code.

* debugger-agent.c: Instead of having tons
of fields for MonoContext, domain and lmf
simply use MonoThreadUnwindState. This simplifies
code dealing with unwinding remote threads.

13 years agoAdd mono_thread_state_init_from_monoctx
Rodrigo Kumpera [Wed, 9 Mar 2011 22:40:17 +0000 (23:40 +0100)]
Add mono_thread_state_init_from_monoctx

13 years agoClean up few misused DeclSpace(s)
Marek Safar [Thu, 10 Mar 2011 09:21:05 +0000 (09:21 +0000)]
Clean up few misused DeclSpace(s)

13 years agoDecorate more initialized static fields with readonly
Marek Safar [Wed, 9 Mar 2011 14:22:12 +0000 (14:22 +0000)]
Decorate more initialized static fields with readonly

13 years agoMove more module specific caches to ModuleContainer
Marek Safar [Wed, 9 Mar 2011 13:36:54 +0000 (13:36 +0000)]
Move more module specific caches to ModuleContainer

13 years ago[HttpListener] Memory use reductions
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 05:44:33 +0000 (00:44 -0500)]
[HttpListener] Memory use reductions