mono.git
13 years ago[asp.net] Implemented undocumented BuildManagerHost class to support the Cassini...
Marek Habersack [Sun, 17 Apr 2011 01:00:15 +0000 (03:00 +0200)]
[asp.net] Implemented undocumented BuildManagerHost class to support the Cassini ASP.NET host

13 years ago[asp.net] MinimizableAttributeTypeConverter only converts from strings.
Marek Habersack [Sat, 16 Apr 2011 00:09:47 +0000 (02:09 +0200)]
[asp.net] MinimizableAttributeTypeConverter only converts from strings.

It returns a boolean 'false' when the passed string matches (case-insensitively) 'false' or
is empty, returns 'true' otherwise.
All the other types (and a null value) cause it to throw the NotSupportedException.

13 years agoHandle a new dwarf CFA op generated by newer LLVM versions.
Zoltan Varga [Fri, 15 Apr 2011 23:21:55 +0000 (01:21 +0200)]
Handle a new dwarf CFA op generated by newer LLVM versions.

13 years agoFix non-element in XML flash policy (same as #681699 was for silverlight policies)
Sebastien Pouliot [Thu, 14 Apr 2011 19:27:54 +0000 (15:27 -0400)]
Fix non-element in XML flash policy (same as #681699 was for silverlight policies)

* FlashCrossDomainPolicyParser.cs: Skip, not throw, if we find a non-
element node type in a flash policy file.

13 years agoPrepare for HostNameComparisonMode support (i.e. incomplete).
Atsushi Eno [Fri, 15 Apr 2011 16:05:22 +0000 (01:05 +0900)]
Prepare for HostNameComparisonMode support (i.e. incomplete).

This is for bugfix #687580.

13 years agoReturn null for empty message in WebMessageFormatter. Useful eror messages.
Atsushi Eno [Fri, 15 Apr 2011 14:49:39 +0000 (23:49 +0900)]
Return null for empty message in WebMessageFormatter. Useful eror messages.

13 years agoSome argument check in TextMessageEncoder.
Atsushi Eno [Fri, 15 Apr 2011 14:48:31 +0000 (23:48 +0900)]
Some argument check in TextMessageEncoder.

13 years agoMore fun with value type constraints
Marek Safar [Fri, 15 Apr 2011 13:04:40 +0000 (14:04 +0100)]
More fun with value type constraints

13 years ago[corlib] Ensure Thread.ManagedThreadId is unique per thread.
Rolf Bjarne Kvinge [Fri, 15 Apr 2011 11:31:03 +0000 (13:31 +0200)]
[corlib] Ensure Thread.ManagedThreadId is unique per thread.

This fixes bug #667329.

The problem was that ManagedThreadId was created from a per-appdomain
counter, but stored in a per-thread storage, so if two threads could
end up with the same ManagedThreadId if a second appdomain executed
on the second thread first.

13 years agoUse correct MessageVersion instead of Default for empty response.
Atsushi Eno [Fri, 15 Apr 2011 12:30:04 +0000 (21:30 +0900)]
Use correct MessageVersion instead of Default for empty response.

Part of bugfix #687580.

13 years agoRemove warnings
Jb Evain [Fri, 15 Apr 2011 12:11:27 +0000 (14:11 +0200)]
Remove warnings

13 years agoPrefer immutable string return for ease of debugging in UriTemplate.
Atsushi Eno [Fri, 15 Apr 2011 11:03:12 +0000 (20:03 +0900)]
Prefer immutable string return for ease of debugging in UriTemplate.

13 years agoNew test
Marek Safar [Fri, 15 Apr 2011 10:30:00 +0000 (11:30 +0100)]
New test

13 years agoChange ImplicitReferenceConversion not to relly on broken IsValueType
Marek Safar [Fri, 15 Apr 2011 09:45:57 +0000 (10:45 +0100)]
Change ImplicitReferenceConversion not to relly on broken IsValueType

13 years agoFix regression for counter case to 6005f0a7.
Atsushi Eno [Fri, 15 Apr 2011 07:37:58 +0000 (16:37 +0900)]
Fix regression for counter case to 6005f0a7.

http://localhost/x + X should not result in http://localhost/xX.

13 years agoImplement support for KnownTypeAttribute.MethodName.
Atsushi Eno [Fri, 15 Apr 2011 06:40:42 +0000 (15:40 +0900)]
Implement support for KnownTypeAttribute.MethodName.

13 years agoPrepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).
Atsushi Eno [Fri, 15 Apr 2011 06:00:40 +0000 (15:00 +0900)]
Prepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).

13 years agoFlush XmlWriter and TextWriter so that incomplete changes are not lost.
Atsushi Eno [Fri, 15 Apr 2011 05:56:11 +0000 (14:56 +0900)]
Flush XmlWriter and TextWriter so that incomplete changes are not lost.

13 years agoOne more step to enable WCF diagnostics in Logger, and add HttpReplyChannel log.
Atsushi Eno [Fri, 15 Apr 2011 05:45:39 +0000 (14:45 +0900)]
One more step to enable WCF diagnostics in Logger, and add HttpReplyChannel log.

13 years ago[asp.net] Fix for bug #685116. AJAX post-back which redirects the browser does not...
Marek Habersack [Thu, 14 Apr 2011 22:50:58 +0000 (00:50 +0200)]
[asp.net] Fix for bug #685116. AJAX post-back which redirects the browser does not need a Page or ScriptManager instance

13 years agoClearing the queue messed up with the per-domain job count
Gonzalo Paniagua Javier [Thu, 14 Apr 2011 22:22:57 +0000 (15:22 -0700)]
Clearing the queue messed up with the per-domain job count

Fixes bug #687399.

13 years agoInitial drop of the new suspend machinery.
Rodrigo Kumpera [Thu, 14 Apr 2011 20:25:54 +0000 (17:25 -0300)]
Initial drop of the new suspend machinery.

* mini-posix.c (mono_runtime_posix_install_handlers): Only
install sigusr1 if the new machinery is not enabled.

* mono-threads.c: Add new suspend machinery. It provides
primitives to suspend and resume a thread. Code to interrupt
still missing.

* mono-threads-mach.c: Darwin backend for mono-threads.

13 years ago[asp.net] Fix for bug #685267. ClientScriptManager generates correct post-back event...
Marek Habersack [Thu, 14 Apr 2011 20:40:06 +0000 (22:40 +0200)]
[asp.net] Fix for bug #685267. ClientScriptManager generates correct post-back event reference for cross-page post-backs.

13 years ago[asp.net] Removed a few NET_2_0 ifdefs
Marek Habersack [Thu, 14 Apr 2011 19:12:15 +0000 (21:12 +0200)]
[asp.net] Removed a few NET_2_0 ifdefs

13 years agoFix 64bits mono on windows.
Rodrigo Kumpera [Thu, 14 Apr 2011 18:52:50 +0000 (15:52 -0300)]
Fix 64bits mono on windows.

13 years ago[asp.net] Shorten code in WebConfigurationHost
Marek Habersack [Thu, 14 Apr 2011 18:49:30 +0000 (20:49 +0200)]
[asp.net] Shorten code in WebConfigurationHost

13 years ago[asp.net] Fixed a thinko in one of the previous commits
Marek Habersack [Thu, 14 Apr 2011 18:48:54 +0000 (20:48 +0200)]
[asp.net] Fixed a thinko in one of the previous commits

13 years agoAdd regression test
Rodrigo Kumpera [Thu, 14 Apr 2011 17:34:20 +0000 (14:34 -0300)]
Add regression test

13 years agoTake constraints into account when checking for VAR assignability.
Rodrigo Kumpera [Thu, 14 Apr 2011 17:30:04 +0000 (14:30 -0300)]
Take constraints into account when checking for VAR assignability.

* class.c (mono_class_is_assignable_from): Check the constraints
of two (M)VARs to see if one is assignable to the other. This is
needed when we want to check something like:

Foo<T,U> () where T : U

On the above example T is assignable to U.

Fixes #687269

13 years agoFix some tests that got broken due to the verifier getting stricter
Rodrigo Kumpera [Wed, 13 Apr 2011 21:41:45 +0000 (18:41 -0300)]
Fix some tests that got broken due to the verifier getting stricter

13 years agoImprove error message
Rodrigo Kumpera [Wed, 13 Apr 2011 18:27:03 +0000 (15:27 -0300)]
Improve error message

13 years agoFix bug #687444, null-character handling is now closer and as illogical as .NET.
Atsushi Eno [Thu, 14 Apr 2011 12:11:10 +0000 (21:11 +0900)]
Fix bug #687444, null-character handling is now closer and as illogical as .NET.

13 years agoAdd more internal types for IVT for SDK assemblies.
Alan McGovern [Thu, 14 Apr 2011 10:23:03 +0000 (11:23 +0100)]
Add more internal types for IVT for SDK assemblies.

13 years ago[System.ServiceModel] Add some missing properties for IVT compatibility
Alan McGovern [Wed, 13 Apr 2011 17:45:03 +0000 (18:45 +0100)]
[System.ServiceModel] Add some missing properties for IVT compatibility

These are required for moonlight.

13 years ago[System.ServiceModel] return the same object reference from MessageVersion.CreateVersion
Alan McGovern [Wed, 13 Apr 2011 17:16:43 +0000 (18:16 +0100)]
[System.ServiceModel] return the same object reference from MessageVersion.CreateVersion

The Silverlight SDK assemblies rely on this behaviour as do the new tests.

13 years agoAdd another dummy type to keep silverlight sdk assemblies happy wrt
Alan McGovern [Wed, 13 Apr 2011 17:12:18 +0000 (18:12 +0100)]
Add another dummy type to keep silverlight sdk assemblies happy wrt
IVT for System.ServiceModel.

13 years agoEmit readonly. prefix for immutable loads only
Marek Safar [Thu, 14 Apr 2011 09:13:09 +0000 (10:13 +0100)]
Emit readonly. prefix for immutable loads only

13 years agoIn Parse(), throw FormatException instead of ArgumentOutOfRangeException.
Atsushi Eno [Thu, 14 Apr 2011 08:28:35 +0000 (17:28 +0900)]
In Parse(), throw FormatException instead of ArgumentOutOfRangeException.

13 years agoAdd ServiceKnownTypeAttributeTest.
Atsushi Eno [Thu, 14 Apr 2011 06:22:04 +0000 (15:22 +0900)]
Add ServiceKnownTypeAttributeTest.

13 years agoServiceKnownTypeAttribute.MethodName was used way different to lookup method.
Atsushi Eno [Thu, 14 Apr 2011 05:56:07 +0000 (14:56 +0900)]
ServiceKnownTypeAttribute.MethodName was used way different to lookup method.

13 years agoOooops, it's supposed to be 'if (!strcmp (...))' !
Martin Baulig [Wed, 13 Apr 2011 18:17:44 +0000 (20:17 +0200)]
Oooops, it's supposed to be 'if (!strcmp (...))' !

13 years agoImplement the JIT side of the new mono-threads callbacks.
Rodrigo Kumpera [Wed, 13 Apr 2011 17:42:37 +0000 (14:42 -0300)]
Implement the JIT side of the new mono-threads callbacks.

* mini.c: Fill MonoThreadInfoRuntimeCallbacks and
pass it to mono-threads.

* mini-exceptions.c (mono_setup_async_callback): New function
that can be used to inject an async callback into a stopped
thread. It works in a similar fashion as the current out
of signal handler EH.

* mini-posix.c:
* mini-darwin.c:
* mini-windows.c (mono_thread_state_init_from_handle): New
function to capture the context of a suspended thread. This
is meant to be used on targets where the kernel can suspend
a given thread - such as mach and windows.

13 years agoAdd new set of callbacks to be provided by the JIT.
Rodrigo Kumpera [Wed, 13 Apr 2011 17:20:46 +0000 (14:20 -0300)]
Add new set of callbacks to be provided by the JIT.

* mono-threads.h: Add MonoThreadInfoRuntimeCallbacks which
are a set of callbacks to be used by the new interruption
machinery.

13 years agoMove posix only code to a separate file.
Rodrigo Kumpera [Tue, 12 Apr 2011 23:48:00 +0000 (20:48 -0300)]
Move posix only code to a separate file.

13 years agoImprove handling of dependant type parameters
Marek Safar [Wed, 13 Apr 2011 16:52:42 +0000 (17:52 +0100)]
Improve handling of dependant type parameters

13 years ago[asp.net] Make web.config path check test case-insensitive
Marek Habersack [Wed, 13 Apr 2011 14:56:15 +0000 (16:56 +0200)]
[asp.net] Make web.config path check test case-insensitive

13 years ago[asp.net] A more effective way of looking for web.config
Marek Habersack [Wed, 13 Apr 2011 14:25:10 +0000 (16:25 +0200)]
[asp.net] A more effective way of looking for web.config

13 years ago[runtime,IO] Filesystem entries can only be sought for in directories, not files.
Marek Habersack [Wed, 13 Apr 2011 14:24:08 +0000 (16:24 +0200)]
[runtime,IO] Filesystem entries can only be sought for in directories, not files.

13 years agoAdd an IVT from System.ServiceModel to Sys.SM.Web.Extensions for Moonlight
Alan McGovern [Wed, 13 Apr 2011 14:50:42 +0000 (15:50 +0100)]
Add an IVT from System.ServiceModel to Sys.SM.Web.Extensions for Moonlight

13 years agoAdd a few MOONLIGHT defines to remove the RemotingProxy from ML build
Sebastien Pouliot [Wed, 13 Apr 2011 14:31:11 +0000 (10:31 -0400)]
Add a few MOONLIGHT defines to remove the RemotingProxy from ML build

* System.Runtime.Remoting.Activation/ActivationServices.cs:
* System.Runtime.Remoting.Messaging/ConstructionCall.cs
* System.Runtime.Remoting.Proxies/ProxyAttribute.cs
* System.Runtime.Remoting.Proxies/RealProxy.cs
* System.Runtime.Remoting/RemotingServices.cs
Add a few MOONLIGHT defines to remove the RemotingProxy from
being used in Moonlight builds. This reduce the number of SSC
and code size
* moonlight_raw_corlib.dll.sources: Remove System.Runtime.Remoting.
Proxies/RemotingProxy.cs from moonlight build

13 years agoRedirect contract errors on Moonlight to an browser alert dialog
Sebastien Pouliot [Wed, 13 Apr 2011 14:26:46 +0000 (10:26 -0400)]
Redirect contract errors on Moonlight to an browser alert dialog

* corlib/System.Diagnostics.Contracts.Internal/ContractHelper.cs:
For Moonlight (only) change TriggerFailure to reflect into
System.Windows.Browser.dll to show a browser alert dialog if a contract
check fails

* corlib/System.Diagnostics.Contracts/Contract.cs: Avoid code
duplication in AssertMustUseRewriter and call
ContractHelper.TriggerFailure

13 years agoFix location of quoted indentifiers
Marek Safar [Wed, 13 Apr 2011 10:46:23 +0000 (11:46 +0100)]
Fix location of quoted indentifiers

13 years agoAdd check for ambiguous overrides
Marek Safar [Wed, 13 Apr 2011 10:34:39 +0000 (11:34 +0100)]
Add check for ambiguous overrides

13 years agoAdd more checks for generic interfaces
Marek Safar [Tue, 12 Apr 2011 18:18:02 +0000 (19:18 +0100)]
Add more checks for generic interfaces

13 years agoEmit correct number of dimensions for empty array initializer of multi-dimensional...
Marek Safar [Tue, 12 Apr 2011 15:39:01 +0000 (16:39 +0100)]
Emit correct number of dimensions for empty array initializer of multi-dimensional arrays

13 years agoAvoid some duplicate work when we don't have KW_THREAD
Rodrigo Kumpera [Tue, 12 Apr 2011 21:12:43 +0000 (18:12 -0300)]
Avoid some duplicate work when we don't have KW_THREAD

13 years agoImplemented g_mkdir_with_parents() for unix
Jeffrey Stedfast [Tue, 12 Apr 2011 20:54:34 +0000 (16:54 -0400)]
Implemented g_mkdir_with_parents() for unix

13 years agoImplemented a bunch of unicode functions for eglib
Jeffrey Stedfast [Tue, 12 Apr 2011 20:04:46 +0000 (16:04 -0400)]
Implemented a bunch of unicode functions for eglib

13 years agoFix wrong TraceEventType values passed.
Atsushi Eno [Tue, 12 Apr 2011 17:21:02 +0000 (02:21 +0900)]
Fix wrong TraceEventType values passed.

13 years agoOptimized QuickSort routines a bit
Jeffrey Stedfast [Tue, 12 Apr 2011 15:48:43 +0000 (11:48 -0400)]
Optimized QuickSort routines a bit

13 years ago[runtime, iomap profiler] g_string_append_vprintf can be used with eglib as well
Marek Habersack [Tue, 12 Apr 2011 14:31:35 +0000 (16:31 +0200)]
[runtime, iomap profiler] g_string_append_vprintf can be used with eglib as well

13 years ago[runtime] g_string_append_vprintf can be used with eglib as well
Marek Habersack [Tue, 12 Apr 2011 14:30:54 +0000 (16:30 +0200)]
[runtime] g_string_append_vprintf can be used with eglib as well

13 years ago[eglib] Added the g_string_append_vprintf function
Marek Habersack [Tue, 12 Apr 2011 14:30:22 +0000 (16:30 +0200)]
[eglib] Added the g_string_append_vprintf function

13 years agoAdd support for startup file to evaluator
Marek Safar [Tue, 12 Apr 2011 14:15:01 +0000 (15:15 +0100)]
Add support for startup file to evaluator

13 years agoBe more robust when dealing with string based broken predefined attributes
Marek Safar [Tue, 12 Apr 2011 13:07:08 +0000 (14:07 +0100)]
Be more robust when dealing with string based broken predefined attributes

13 years agoCheck allowed modifiers on property accessors
Marek Safar [Tue, 12 Apr 2011 12:49:02 +0000 (13:49 +0100)]
Check allowed modifiers on property accessors

13 years ago[686290] Inflate correctly imported nested type used from same type
Marek Safar [Tue, 12 Apr 2011 12:43:51 +0000 (13:43 +0100)]
[686290] Inflate correctly imported nested type used from same type

13 years agoOoops, also enable explicit nulls.
Martin Baulig [Tue, 12 Apr 2011 04:55:30 +0000 (06:55 +0200)]
Ooops, also enable explicit nulls.

13 years agoHandle attached threads correctly on windows.
Rodrigo Kumpera [Mon, 11 Apr 2011 21:43:51 +0000 (18:43 -0300)]
Handle attached threads correctly on windows.

* driver.c:
* mono-threads.c: On windows attach/detach threads based on
DllMain DLL_THREAD_(DE|A)TTACH events. This enables us
to correctly handle more cases.

13 years agoMerge branch 'nunit25/2011-04-11' of https://github.com/DavidS/mono into DavidS-nunit...
Zoltan Varga [Mon, 11 Apr 2011 21:39:06 +0000 (23:39 +0200)]
Merge branch 'nunit25/2011-04-11' of https://github.com/DavidS/mono into DavidS-nunit25/2011-04-11

13 years agoAvoid putting a seq point at the beginning of finally clauses, they already have...
Zoltan Varga [Mon, 11 Apr 2011 21:17:36 +0000 (23:17 +0200)]
Avoid putting a seq point at the beginning of finally clauses, they already have one. Fixes #686269.

13 years agoreformat to coding guidelines
David Schmitt [Mon, 11 Apr 2011 19:58:59 +0000 (21:58 +0200)]
reformat to coding guidelines

13 years agoUpdate to NUnit 2.5 syntax
David Schmitt [Mon, 11 Apr 2011 19:53:11 +0000 (21:53 +0200)]
Update to NUnit 2.5 syntax

13 years agoAdd some comments to the LLVM backend.
Zoltan Varga [Mon, 11 Apr 2011 19:12:48 +0000 (21:12 +0200)]
Add some comments to the LLVM backend.

13 years agoIntroduce CreateThread wrapper to make mono-threads registration work on windows.
Rodrigo Kumpera [Mon, 11 Apr 2011 18:09:25 +0000 (15:09 -0300)]
Introduce CreateThread wrapper to make mono-threads registration work on windows.

* mono-threads.c: Add mono_threads_wthread_create that
does the same as the pthread_create wrapper.

13 years agoFix mono-tls usage under windows
Rodrigo Kumpera [Mon, 11 Apr 2011 18:08:39 +0000 (15:08 -0300)]
Fix mono-tls usage under windows

13 years agoAdd missing files to msvc project
Rodrigo Kumpera [Mon, 11 Apr 2011 18:06:17 +0000 (15:06 -0300)]
Add missing files to msvc project

13 years agoFix the build.
Zoltan Varga [Mon, 11 Apr 2011 18:29:03 +0000 (20:29 +0200)]
Fix the build.

13 years agoAdd "soft breakpoint" support for ARM.
Martin Baulig [Mon, 11 Apr 2011 15:48:47 +0000 (17:48 +0200)]
Add "soft breakpoint" support for ARM.

There is some broken hardware like the HTC Desire HD where we can't
use any signals for single-stepping and breakpoints.

See http://baulig.blogspot.com/2011/04/limiting-page-faults-on-htc-desire-hd.html
for details.

To work around this, we read from a variable instead us using trigger
pages.

13 years ago[asp.net] CacheItemPriorityQueueTest improvements
Marek Habersack [Mon, 11 Apr 2011 12:39:19 +0000 (14:39 +0200)]
[asp.net] CacheItemPriorityQueueTest improvements

External files are now used to store the test case lists and steps. Added tests for the new Update
operation. Added a new sequence.

13 years ago[asp.net] Better handling of item timeout reset in the in-proc session handler
Marek Habersack [Mon, 11 Apr 2011 12:38:13 +0000 (14:38 +0200)]
[asp.net] Better handling of item timeout reset in the in-proc session handler

The in-proc session handler no longer removes and re-inserts an item in order to
update its timeout. It is now done using Cache.SetItemTimeout which, in turn, checks
whether the item being updated is already a timed one and, if yes, calls CacheItemPriorityQueue's
Update method for that item. Should the update fail or the item is not yet timed, the item is
enqueued to the priority queue in the regular fashion.

CacheItem got a new member, PriorityQueueIndex to mark its position in the queue's heap for faster
lookup and manipulation.

The CacheItemPriorityQueue.BubbleDown method was rewritten to properly swap items in the heap.

13 years agoFixed couple of DateTime/DateTimeOffset tests to match .NET 4.0 behavior.
Atsushi Eno [Mon, 11 Apr 2011 11:31:31 +0000 (20:31 +0900)]
Fixed couple of DateTime/DateTimeOffset tests to match .NET 4.0 behavior.

13 years agoFix a warning.
Zoltan Varga [Mon, 11 Apr 2011 10:07:00 +0000 (12:07 +0200)]
Fix a warning.

13 years agoAdd checks to ParameterBuilder.SetConstant () to avoid an assert in the runtime....
Zoltan Varga [Sun, 10 Apr 2011 18:27:58 +0000 (20:27 +0200)]
Add checks to ParameterBuilder.SetConstant () to avoid an assert in the runtime. Fixes #684438.

13 years agoD'oh, forgot to add g_hash_table_steal() to glib.h
Jeffrey Stedfast [Sun, 10 Apr 2011 03:45:24 +0000 (23:45 -0400)]
D'oh, forgot to add g_hash_table_steal() to glib.h

13 years agoImplemented g_hash_table_steal()
Jeffrey Stedfast [Sun, 10 Apr 2011 03:06:38 +0000 (23:06 -0400)]
Implemented g_hash_table_steal()

13 years agoReplace posix tls with mono-tls so it works on windows too.
Rodrigo Kumpera [Sun, 10 Apr 2011 00:07:16 +0000 (21:07 -0300)]
Replace posix tls with mono-tls so it works on windows too.

13 years agoImplement low level TLS primitives. Can't afford some io-layer weirdness.
Rodrigo Kumpera [Sun, 10 Apr 2011 00:02:50 +0000 (21:02 -0300)]
Implement low level TLS primitives. Can't afford some io-layer weirdness.

13 years agoAdd mono-threads.c to msvc build
Rodrigo Kumpera [Sat, 9 Apr 2011 23:30:37 +0000 (20:30 -0300)]
Add mono-threads.c to msvc build

13 years agoFist pass into fixing the win32 build
Rodrigo Kumpera [Sat, 9 Apr 2011 21:50:59 +0000 (18:50 -0300)]
Fist pass into fixing the win32 build

13 years ago[HttpWebRequest] Ignore Transfer-Encoding when there's no content.
Gonzalo Paniagua Javier [Sat, 9 Apr 2011 19:16:42 +0000 (15:16 -0400)]
[HttpWebRequest] Ignore Transfer-Encoding when there's no content.

If the transfer encoding was set to chunked, we tried to read even when
the response might known to have no content. This led to timeouts.

Fixes bug #686371.

13 years agoOptimized by reducing compares and faster SWAP() routine
Jeffrey Stedfast [Sat, 9 Apr 2011 18:56:08 +0000 (14:56 -0400)]
Optimized by reducing compares and faster SWAP() routine

Also got rid of the pathological fallback case as it is no longer
needed.

13 years agoFix a warning.
Zoltan Varga [Sat, 9 Apr 2011 14:13:33 +0000 (16:13 +0200)]
Fix a warning.

13 years agoFix silly C&P bug.
Rodrigo Kumpera [Fri, 8 Apr 2011 22:32:53 +0000 (19:32 -0300)]
Fix silly C&P bug.

13 years agoExtract mono_threads_is_critical_method
Rodrigo Kumpera [Fri, 8 Apr 2011 22:28:15 +0000 (19:28 -0300)]
Extract mono_threads_is_critical_method

13 years agoFix null-gc
Rodrigo Kumpera [Fri, 8 Apr 2011 21:51:42 +0000 (18:51 -0300)]
Fix null-gc

13 years agoAdd mono_gc_is_critical_method to the internal GC api
Rodrigo Kumpera [Fri, 8 Apr 2011 21:49:49 +0000 (18:49 -0300)]
Add mono_gc_is_critical_method to the internal GC api

13 years ago[runtime] Check whether linux/magic.h is present before including it
Marek Habersack [Fri, 8 Apr 2011 21:18:26 +0000 (23:18 +0200)]
[runtime] Check whether linux/magic.h is present before including it

13 years agoMerge branch 'master' of github.com:mono/mono
Neale Ferguson [Fri, 8 Apr 2011 19:23:29 +0000 (15:23 -0400)]
Merge branch 'master' of github.com:mono/mono

13 years agoTwo vararg related fixes: force placing fpr on stack; eliminate unnecessary update...
Neale Ferguson [Fri, 8 Apr 2011 19:16:50 +0000 (15:16 -0400)]
Two vararg related fixes: force placing fpr on stack; eliminate unnecessary update of cookie offset.