mono.git
13 years ago[xbuild] Allow skipping target framework moniker lookup.
Ankit Jain [Mon, 21 Mar 2011 16:54:34 +0000 (22:24 +0530)]
[xbuild] Allow skipping target framework moniker lookup.

* tools/xbuild/xbuild/4.0/Microsoft.Common.targets
(GetReferenceAssemblyPaths): Don't look up framework directories
for $(TargetFrameworkMoniker) is $(_TargetFrameworkDirectories) is
already defined. This can be used to override moniker lookups.

13 years agoImplement improved support for tail-calls on ppc. Fixes #664631.
Zoltan Varga [Mon, 21 Mar 2011 17:47:01 +0000 (18:47 +0100)]
Implement improved support for tail-calls on ppc. Fixes #664631.

13 years ago[676129] Don't add non-imported private types into inflated cache
Marek Safar [Mon, 21 Mar 2011 17:24:40 +0000 (17:24 +0000)]
[676129] Don't add non-imported private types into inflated cache

13 years ago[678625] MVAR mutator has wrong context when generic anonymous method which does...
Marek Safar [Mon, 21 Mar 2011 15:48:49 +0000 (15:48 +0000)]
[678625] MVAR mutator has wrong context when generic anonymous method which does not require hoisting holds generic anonymous method which does require hoisting

13 years agoSkip over more whitespace characters
Marek Safar [Mon, 21 Mar 2011 14:04:00 +0000 (14:04 +0000)]
Skip over more whitespace characters

13 years agoAdd missing coreclr check on JIT optimization
Sebastien Pouliot [Mon, 21 Mar 2011 13:59:52 +0000 (09:59 -0400)]
Add missing coreclr check on JIT optimization

* The JIT optimize the case where a LDFTN is followed by a NEWOBJ but
was missing the coreclr check (to avoid creating [SecurityCritical]
types, i.e. delegates).

Note that this does not affect moonlight since only three such user
visible types are affected and the API to use them is also marked with
[SecurityCritical]:
System.ResolveEventHandler
System.Threading.IOCompletionCallback
System.UnhandledExceptionEventHandler

13 years agoFix throwing exception in WebClient
Sebastien Pouliot [Mon, 21 Mar 2011 13:37:37 +0000 (09:37 -0400)]
Fix throwing exception in WebClient

* mcs/class/System.Net/System.Net/WebClient_2_1.cs: Do not throw
in finally clause (recent gendarme rule)

13 years agoFix API wrt FX4/SL4 API
Sebastien Pouliot [Mon, 21 Mar 2011 13:36:07 +0000 (09:36 -0400)]
Fix API wrt FX4/SL4 API

* mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Actions/GetMemberBinder.cs:
Remove 'params' on Bind method to match FX4/SL4 API

13 years agoUse Type.EmptyTypes instead of new Type[0]
Sebastien Pouliot [Mon, 21 Mar 2011 13:17:16 +0000 (09:17 -0400)]
Use Type.EmptyTypes instead of new Type[0]

* mcs/class/corlib/System.Reflection/MonoGenericClass.cs:
* mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/LambdaCompiler.Expressions.cs:
Use Type.EmptyTypes instead of new Type[0]

13 years agoMove private TimeType struct outside TimeZoneInfo
Sebastien Pouliot [Mon, 21 Mar 2011 12:06:21 +0000 (08:06 -0400)]
Move private TimeType struct outside TimeZoneInfo

* TimeZoneInfo.cs: Move TimeType struct outside TimeZoneInfo since the
later is located in corlib (using TypeForwardedTo) in 4.0/SL4. This adds
an extra extern type to System.Core which is not liked by peverify

13 years agoRevert fcbb5717c18ff8393f2300a254bb13e6fab9c7e4 and implement it differently.
Jérémie Laval [Mon, 21 Mar 2011 12:26:52 +0000 (13:26 +0100)]
Revert fcbb5717c18ff8393f2300a254bb13e6fab9c7e4 and implement it differently.

The commit had the good idea but since some values of the enumeration overlap it broke the correct behavior. Instead we now turn off the extra options and use the previous way to check.

13 years agoRegister exceptions happening in child tasks when attached on their parent.
Jérémie Laval [Mon, 21 Mar 2011 12:12:40 +0000 (13:12 +0100)]
Register exceptions happening in child tasks when attached on their parent.

13 years agoAdd a memory barrier so that exception is strictly set before Task state is changed...
Jérémie Laval [Mon, 21 Mar 2011 11:42:56 +0000 (12:42 +0100)]
Add a memory barrier so that exception is strictly set before Task state is changed to Faulted.

13 years agoTiny style fix
Jérémie Laval [Mon, 21 Mar 2011 11:42:43 +0000 (12:42 +0100)]
Tiny style fix

13 years agoAdd some missing types to the mobile profile
Geoff Norton [Mon, 21 Mar 2011 01:53:16 +0000 (21:53 -0400)]
Add some missing types to the mobile profile

13 years ago[linker] always preserve System.MonoCQItem
Jb Evain [Sun, 20 Mar 2011 19:25:49 +0000 (20:25 +0100)]
[linker] always preserve System.MonoCQItem

13 years agosome documentation on DefaultSurrogateSelector
Lucas Meijer [Sun, 20 Mar 2011 11:01:57 +0000 (12:01 +0100)]
some documentation on DefaultSurrogateSelector

13 years agoMIPS: Do not use mips_call when the call site is to be patched
Damien Diederen [Sun, 13 Mar 2011 19:37:38 +0000 (20:37 +0100)]
MIPS: Do not use mips_call when the call site is to be patched

Mips_call omits the ADDIU part of the LUI/ADDIU sequence when the
target address is aligned on a 16K boundary.

Without this, mips_patch can end up patching part of the subsequent
call instruction, sentencing the VM to death by SIGILL.

Fix that by manually expanding mips_call, and using mips_load--which
doesn't optimize for size--instead of mips_load_const.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Take operand size into account when inverting stack offsets
Damien Diederen [Sun, 13 Mar 2011 17:59:32 +0000 (18:59 +0100)]
MIPS: Take operand size into account when inverting stack offsets

Without this, STORE{I,R}8 operations resulting from spills are off by
four bytes, possibly overwriting adjacent variable slots.

Keeping the operand size in adj_0, and using it instead of a hardcoded
value of four fixes the problem.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Sanity check stack unwinding progress using frame pointer, not PC
Damien Diederen [Sun, 6 Mar 2011 18:56:00 +0000 (19:56 +0100)]
MIPS: Sanity check stack unwinding progress using frame pointer, not PC

It is perfectly valid for two subsequent stack frames to have the same
(saved) program counter, e.g. in the case of a recursive method or
when delegating to the same method implementation on another object.

Keep the sanity check in place, but use the frame pointer instead.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Remove unused variables in mono_arch_find_jit_info
Damien Diederen [Sun, 6 Mar 2011 18:59:57 +0000 (19:59 +0100)]
MIPS: Remove unused variables in mono_arch_find_jit_info

Also, move a few variables down the branch which uses them, and
perform a couple minor cleanups.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Delete unused function glist_to_array
Damien Diederen [Sun, 6 Mar 2011 19:01:13 +0000 (20:01 +0100)]
MIPS: Delete unused function glist_to_array

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Switch from register to on-stack arguments before looking at stack_size
Damien Diederen [Sat, 5 Mar 2011 17:58:29 +0000 (18:58 +0100)]
MIPS: Switch from register to on-stack arguments before looking at stack_size

The code generator uses 'add_int32_arg' to ensure proper stack
alignment when passing structs by value.

That function can, however, decide to switch from in-register to
on-stack storage depending on the previous arguments; during that
process, stack_size can be bumped by more than four bytes.

Such an unexpected growth causes an assertion failure in the code
generator.  Fix that by preemptively switching to on-stack arguments
before looking at stack_size when add_int32_arg would do the same.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Fix IMT thunk size computation
Damien Diederen [Sat, 5 Mar 2011 14:21:18 +0000 (15:21 +0100)]
MIPS: Fix IMT thunk size computation

Size computation is not in sync with the generated code, which can
cause code buffer overflows; fix that.

Commit contributed under the MIT/X11 license.

13 years agoMove MonoContext to mono-context for mips
Damien Diederen [Thu, 17 Mar 2011 22:27:26 +0000 (23:27 +0100)]
Move MonoContext to mono-context for mips

Fixes the MIPS build after the mono-context refactorings (cf. d795afa1
and following).

Commit contributed under the MIT/X11 license.

13 years agoFix build
Miguel de Icaza [Sat, 19 Mar 2011 02:13:43 +0000 (22:13 -0400)]
Fix build

13 years ago[windows] Make the connect hack work again.
Gonzalo Paniagua Javier [Fri, 18 Mar 2011 23:40:43 +0000 (19:40 -0400)]
[windows] Make the connect hack work again.

13 years agoRevert "Replace old connect hack with _pipe on windows."
Gonzalo Paniagua Javier [Fri, 18 Mar 2011 23:27:56 +0000 (19:27 -0400)]
Revert "Replace old connect hack with _pipe on windows."

This reverts commit 169183740002a0a38245e0fd045bd51c8be1c200.

13 years agoRevert "Remove unneeded function and use same code for win/lin"
Gonzalo Paniagua Javier [Fri, 18 Mar 2011 23:27:50 +0000 (19:27 -0400)]
Revert "Remove unneeded function and use same code for win/lin"

This reverts commit 59c30ca79c6d9f005b852d071bc26267ca3f192e.

13 years agoMust pass null to overloaded constructor instead of wrapper lambda (TaskCompletionSou...
Rafael Munitic [Fri, 18 Mar 2011 12:31:31 +0000 (13:31 +0100)]
Must pass null to overloaded constructor instead of wrapper lambda (TaskCompletionSource can use overloaded constructors and it will pass null in function argument)

13 years agoIf the function is null Wait will not get called and will not check if Future is...
Rafael Munitic [Fri, 18 Mar 2011 22:19:29 +0000 (18:19 -0400)]
If the function is null Wait will not get called and will not check if Future is in faulted state/raise the exception

13 years agoContinuation options should be checked as flags
Rafael Munitic [Fri, 18 Mar 2011 22:08:22 +0000 (18:08 -0400)]
Continuation options should be checked as flags

13 years agoAmend last commit
Marek Safar [Fri, 18 Mar 2011 18:44:33 +0000 (18:44 +0000)]
Amend last commit

13 years ago[677173] Use independent clone context for probing type expression
Marek Safar [Fri, 18 Mar 2011 18:38:25 +0000 (18:38 +0000)]
[677173] Use independent clone context for probing type expression

13 years agoFix exception handling on windows x64.
Mark Sciabica [Fri, 18 Mar 2011 16:59:28 +0000 (17:59 +0100)]
Fix exception handling on windows x64.

13 years agoRemove more static references
Marek Safar [Fri, 18 Mar 2011 16:51:35 +0000 (16:51 +0000)]
Remove more static references

13 years agoUse stdint.h in eglib when using VS 2010.
Zoltan Varga [Fri, 18 Mar 2011 16:36:20 +0000 (17:36 +0100)]
Use stdint.h in eglib when using VS 2010.

13 years agoFix some warnings.
Zoltan Varga [Fri, 18 Mar 2011 16:31:32 +0000 (17:31 +0100)]
Fix some warnings.

13 years agoRemove some internal functions from mono.def.
Zoltan Varga [Fri, 18 Mar 2011 16:12:42 +0000 (17:12 +0100)]
Remove some internal functions from mono.def.

13 years ago[mdoc] Flush expected test output.
Jonathan Pryor [Fri, 18 Mar 2011 15:50:53 +0000 (11:50 -0400)]
[mdoc] Flush expected test output.

Several commits changed `mdoc` output without committing the updated
output, thus causing `make run-test` to fail, e.g. commit
9a1075956e25969118930caff352ad7d3ecc9655.

Flush the expected output so that `make run-test` is useful.

13 years agoFixes variance check for interface properties with only one accessor
Marek Safar [Fri, 18 Mar 2011 15:37:11 +0000 (15:37 +0000)]
Fixes variance check for interface properties with only one accessor

13 years agoAdd a missing newline.
Zoltan Varga [Fri, 18 Mar 2011 14:58:53 +0000 (15:58 +0100)]
Add a missing newline.

13 years ago[679530] Fixed size buffers are not subject to definite assignment checking
Marek Safar [Fri, 18 Mar 2011 14:32:51 +0000 (14:32 +0000)]
[679530] Fixed size buffers are not subject to definite assignment checking

13 years agoCRLF conversion
Marek Safar [Fri, 18 Mar 2011 12:40:01 +0000 (12:40 +0000)]
CRLF conversion

13 years agoBetter error message for identical type names
Marek Safar [Fri, 18 Mar 2011 12:38:59 +0000 (12:38 +0000)]
Better error message for identical type names

13 years ago[678726] Dynamic inside anonoymous methods does not always mutate calling types
Marek Safar [Fri, 18 Mar 2011 12:33:39 +0000 (12:33 +0000)]
[678726] Dynamic inside anonoymous methods does not always mutate calling types

13 years agoin XamlXmlReader, read <FooType.BarMember>-style element.
Atsushi Eno [Fri, 18 Mar 2011 08:23:20 +0000 (17:23 +0900)]
in XamlXmlReader, read <FooType.BarMember>-style element.

Fixed bug #680385.

13 years agoXamlType lookup from xml name failed when [XmlnsDefinition] is involved.
Atsushi Eno [Fri, 18 Mar 2011 06:57:09 +0000 (15:57 +0900)]
XamlType lookup from xml name failed when [XmlnsDefinition] is involved.

13 years agoFix the host name returned in GetHostEntry.
Gonzalo Paniagua Javier [Fri, 18 Mar 2011 05:25:58 +0000 (01:25 -0400)]
Fix the host name returned in GetHostEntry.

GetHostEntry() was setting the HostName to the last IP address returned
for the requested host name.

13 years agoMove get_hazardous_pointer to utils/hazard-pointer.
Rodrigo Kumpera [Fri, 18 Mar 2011 00:14:02 +0000 (01:14 +0100)]
Move get_hazardous_pointer to utils/hazard-pointer.

13 years agoMove hazard pointer and small_id code to utils/hazard-pointer.
Rodrigo Kumpera [Fri, 18 Mar 2011 00:04:04 +0000 (01:04 +0100)]
Move hazard pointer and small_id code to utils/hazard-pointer.

13 years agoRemove NET_2_0
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 22:53:39 +0000 (18:53 -0400)]
Remove NET_2_0

13 years agoRemove unneeded function and use same code for win/lin
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 21:06:47 +0000 (17:06 -0400)]
Remove unneeded function and use same code for win/lin

13 years agoReplace old connect hack with _pipe on windows.
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 20:56:10 +0000 (16:56 -0400)]
Replace old connect hack with _pipe on windows.

13 years agoSwitch to the domain of the assembly in question while executing CMD_ASSEMBLY_GET_TYP...
Zoltan Varga [Thu, 17 Mar 2011 19:06:08 +0000 (20:06 +0100)]
Switch to the domain of the assembly in question while executing CMD_ASSEMBLY_GET_TYPE, so referenced assemblies are found. Fixes #679586.

13 years agoUpdate the mcs -pkg suggestions, i.e. use gtk-sharp-2.0 instead of gtk-sharp.
Zoltan Varga [Thu, 17 Mar 2011 18:18:37 +0000 (19:18 +0100)]
Update the mcs -pkg suggestions, i.e. use gtk-sharp-2.0 instead of gtk-sharp.

13 years agoFix for #475124. DowngradeFromWriterLock only resets to a reader lock state
Andreia Gaita [Thu, 17 Mar 2011 17:56:23 +0000 (17:56 +0000)]
Fix for #475124. DowngradeFromWriterLock only resets to a reader lock state
if the LockCookie was aquired in that state. Otherwise, it behaves as a
non-blocking ReleaseWriterLock

13 years ago[asp.net] Return the correct Mime type for 304.
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 16:49:31 +0000 (12:49 -0400)]
[asp.net] Return the correct Mime type for 304.

13 years ago[sgen] A small Mach thread handshake fix.
Mark Probst [Thu, 17 Mar 2011 16:11:15 +0000 (17:11 +0100)]
[sgen] A small Mach thread handshake fix.

13 years ago[asp.net] Test for bug #655474
Marek Habersack [Thu, 17 Mar 2011 15:36:50 +0000 (16:36 +0100)]
[asp.net] Test for bug #655474

13 years ago[asp.net] Fix for bug #655474. Don't assume an Uri being serialized is an absolute one
Marek Habersack [Thu, 17 Mar 2011 15:15:23 +0000 (16:15 +0100)]
[asp.net] Fix for bug #655474. Don't assume an Uri being serialized is an absolute one

13 years ago[asp.net] Test compilation fix for System.Web.Extensions
Marek Habersack [Thu, 17 Mar 2011 15:15:15 +0000 (16:15 +0100)]
[asp.net] Test compilation fix for System.Web.Extensions

13 years agoRemoved debug noise
Marek Habersack [Thu, 17 Mar 2011 14:41:07 +0000 (15:41 +0100)]
Removed debug noise

13 years ago[asp.net] Fix for bug #678473. Do not map paths of absolute file paths when passed...
Marek Habersack [Thu, 17 Mar 2011 14:35:02 +0000 (15:35 +0100)]
[asp.net] Fix for bug #678473. Do not map paths of absolute file paths when passed to HttpRequest.WriteFile

13 years agoMerge branch 'bugfix'
Marek Habersack [Thu, 17 Mar 2011 14:10:07 +0000 (15:10 +0100)]
Merge branch 'bugfix'

* bugfix:
  [asp.net] Fix for bug #670714. Menu is rendered correctly in 4.0 now (highlighting works)

13 years ago[asp.net] Fix for bug #670714. Menu is rendered correctly in 4.0 now (highlighting...
Marek Habersack [Thu, 17 Mar 2011 14:08:53 +0000 (15:08 +0100)]
[asp.net] Fix for bug #670714. Menu is rendered correctly in 4.0 now (highlighting works)

13 years agoFix build; remove extra !NET_2_1.
Atsushi Eno [Thu, 17 Mar 2011 12:14:12 +0000 (21:14 +0900)]
Fix build; remove extra !NET_2_1.

13 years agoFix Buildin typo
Marek Safar [Thu, 17 Mar 2011 11:47:18 +0000 (11:47 +0000)]
Fix Buildin typo

13 years agoUpdate to the latest IKVM reflection
Marek Safar [Thu, 17 Mar 2011 11:35:25 +0000 (11:35 +0000)]
Update to the latest IKVM reflection

13 years agonet.tcp Sized message with non-binarysession encoding should work now.
Atsushi Eno [Thu, 17 Mar 2011 11:04:12 +0000 (20:04 +0900)]
net.tcp Sized message with non-binarysession encoding should work now.

(Untested checkin.)

13 years agoSupport encoding record other than binary session in TCP channel frame reader.
Atsushi Eno [Thu, 17 Mar 2011 10:26:54 +0000 (19:26 +0900)]
Support encoding record other than binary session in TCP channel frame reader.

13 years agoHook ProopertyNotified event on data sources
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 06:22:23 +0000 (02:22 -0400)]
Hook ProopertyNotified event on data sources

Patch by Rasmus Toftahl Olesen that fixes bug #585577.

13 years ago[Threadpool] Handle multiple calls to cleanup
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 05:58:55 +0000 (01:58 -0400)]
[Threadpool] Handle multiple calls to cleanup

Don't fail if mono_thread_pool_cleanup() is called more than once.
Fixes bug #678662.

13 years agoMore NET_2_0 define removal
Miguel de Icaza [Thu, 17 Mar 2011 01:46:02 +0000 (21:46 -0400)]
More NET_2_0 define removal

13 years agoStyle changes as I edit this file
Miguel de Icaza [Thu, 17 Mar 2011 01:25:44 +0000 (21:25 -0400)]
Style changes as I edit this file

13 years agoSpeed up the StringReader by not scanning twice for the end-of-the-line
Bret Kiefer [Thu, 17 Mar 2011 01:12:13 +0000 (21:12 -0400)]
Speed up the StringReader by not scanning twice for the end-of-the-line
markers.

System.IO.StringReader.ReadLine will scan all the way to the end of a string
that is using Unix line endings, because it always searches for both CR and LF.
So reading all of a StringReader's lines using repeated calls to ReadLine is
O(n^2) on the number of characters in the file (if you figure that the number
of line endings is linear on the number of characters in the string). This is
making some things time out for us

13 years agoComplete previous XmlNodeList revert to get it working again.
Atsushi Eno [Thu, 17 Mar 2011 01:00:42 +0000 (10:00 +0900)]
Complete previous XmlNodeList revert to get it working again.

13 years agoMerge branch 'bugfix'
Marek Habersack [Thu, 17 Mar 2011 00:52:29 +0000 (01:52 +0100)]
Merge branch 'bugfix'

* bugfix:
  [asp.net] Fix for bug #670874. Match request URLs against precompiled dictionary using absolute paths.

13 years ago[asp.net] Fix for bug #670874. Match request URLs against precompiled dictionary...
Marek Habersack [Thu, 17 Mar 2011 00:50:35 +0000 (01:50 +0100)]
[asp.net] Fix for bug #670874. Match request URLs against precompiled dictionary using absolute paths.

13 years agoFix the title of the Mono.Debugger.Soft assembly monodoc.
Zoltan Varga [Thu, 17 Mar 2011 00:27:07 +0000 (01:27 +0100)]
Fix the title of the Mono.Debugger.Soft assembly monodoc.

13 years ago[asp.net] Fixes bug #676008. HtmlForm 'name' attribute rendering fixes.
Marek Habersack [Wed, 16 Mar 2011 23:53:18 +0000 (00:53 +0100)]
[asp.net] Fixes bug #676008. HtmlForm 'name' attribute rendering fixes.

The 'name' attribute is rendered using the static ID of 'aspnetForm' if
the form is in a naming container other than the Page control. Inside Page,
the form's ID is rendered. The attribute is output in .NET 4.0 only if control
rendering compatibility is less than 4.0

13 years agoRevert "[io-layer] Handle process waits when SHM is disabled."
Rolf Bjarne Kvinge [Wed, 16 Mar 2011 22:28:52 +0000 (23:28 +0100)]
Revert "[io-layer] Handle process waits when SHM is disabled."
Revert "[io-layer] Make my previous patch signal safe."

This reverts commit 2bb69090d7955869779445e9f13a311119b9f79b.
This reverts commit c183437b7755525c5dfeeecd8e76f7ac16b9cfcb.

It's not working properly with Process.WaitForExit (<timeout>).

13 years ago[io-layer] Don't use Get/SetLastError after wapi shutdown.
Gonzalo Paniagua Javier [Wed, 16 Mar 2011 20:09:49 +0000 (16:09 -0400)]
[io-layer] Don't use Get/SetLastError after wapi shutdown.

handle_cleanup() is called at exit and might try to clean things up
twice, causes a WSANOTUNITIALISED and then a segmentation fault trying
to use a pthread key that has already been freed.

13 years ago[io-layer] Make my previous patch signal safe.
Gonzalo Paniagua Javier [Wed, 16 Mar 2011 17:44:20 +0000 (13:44 -0400)]
[io-layer] Make my previous patch signal safe.

13 years ago[asp.net] Fix for bug #668696. Handle recursive locks gracefully.
Marek Habersack [Wed, 16 Mar 2011 15:17:41 +0000 (16:17 +0100)]
[asp.net] Fix for bug #668696. Handle recursive locks gracefully.

13 years agoFix support for generic virtual thunks in full-aot.
Zoltan Varga [Wed, 16 Mar 2011 13:42:05 +0000 (14:42 +0100)]
Fix support for generic virtual thunks in full-aot.

13 years agoAdd local symbols for imt/trampolines etc. in AOT.
Zoltan Varga [Wed, 16 Mar 2011 13:41:08 +0000 (14:41 +0100)]
Add local symbols for imt/trampolines etc. in AOT.

13 years agoAdd a cache for virtual generic thunks to avoid freeing those created by AOT.
Zoltan Varga [Wed, 16 Mar 2011 13:39:57 +0000 (14:39 +0100)]
Add a cache for virtual generic thunks to avoid freeing those created by AOT.

13 years agoPretty print MonoVTable in xdebug.
Zoltan Varga [Mon, 14 Mar 2011 22:09:06 +0000 (23:09 +0100)]
Pretty print MonoVTable in xdebug.

13 years agoAvoid calling class cctors during JITting when the same class needs initialization...
Zoltan Varga [Mon, 14 Mar 2011 22:07:57 +0000 (23:07 +0100)]
Avoid calling class cctors during JITting when the same class needs initialization more than once during a method. Fixes #679467.

13 years agoEnable behaviors in mobile profiles for WebHttpBinding.
Atsushi Eno [Wed, 16 Mar 2011 11:54:03 +0000 (20:54 +0900)]
Enable behaviors in mobile profiles for WebHttpBinding.

13 years agoEnable more behavior interface member in NET_2_1.
Atsushi Eno [Wed, 16 Mar 2011 11:51:41 +0000 (20:51 +0900)]
Enable more behavior interface member in NET_2_1.

13 years agoEnable more behaviors use in NET_2_1 land, toward WebHttpBinding.
Atsushi Eno [Wed, 16 Mar 2011 11:41:53 +0000 (20:41 +0900)]
Enable more behaviors use in NET_2_1 land, toward WebHttpBinding.

13 years agoImplement more encodings than binary frame with dictionary, in TCP manager.
Atsushi Eno [Wed, 16 Mar 2011 11:32:21 +0000 (20:32 +0900)]
Implement more encodings than binary frame with dictionary, in TCP manager.

(not known to not regress in nunit tests..)

13 years agoFix MessageID element name in discovery contracts.
Atsushi Eno [Wed, 16 Mar 2011 11:30:30 +0000 (20:30 +0900)]
Fix MessageID element name in discovery contracts.

13 years agoFix bug where if a task is Start-ed with a specific scheduler,
Koushik Dutta [Wed, 16 Mar 2011 07:22:55 +0000 (00:22 -0700)]
Fix bug where if a task is Start-ed with a specific scheduler,
that scheduler is ignored if it is in a thread owned by another
scheduler. Tasks should not be locked to the scheduler that
owns the calling thread.

Fix bug where TryExecuteTask does not actually try to execute
the task. Instead, TryExecuteTaskInline is called, which is
abstract. The TpScheduler implementation, the default, then
calls the internal method Task.Execute which then actually
executes the task. The problem with this is that only 3rd
party schedulers, can't actually execute a task, thus making
extending TaskScheduler impossible. (Unless they use some
serious Mono specific reflection hacks as I am now.)

13 years agoCorrectly implement enumerating CyclicDequeue.
Jérémie Laval [Wed, 16 Mar 2011 08:30:14 +0000 (09:30 +0100)]
Correctly implement enumerating CyclicDequeue.

Fix #679174

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.