mono.git
13 years ago[xbuild] Exec task - add support for custom error/warning regex.
Ankit Jain [Tue, 1 Mar 2011 11:23:28 +0000 (16:53 +0530)]
[xbuild] Exec task - add support for custom error/warning regex.

Add 4.0 api, CustomErrorRegularExpression and
CustomWarningRegularExpression.

13 years agoTest update
Marek Safar [Tue, 1 Mar 2011 08:57:53 +0000 (08:57 +0000)]
Test update

13 years ago[675777] Remove invalid zero based optimization
Marek Safar [Tue, 1 Mar 2011 08:51:00 +0000 (08:51 +0000)]
[675777] Remove invalid zero based optimization

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 08:40:19 +0000 (08:40 +0000)]
Wiring of BuildinType

13 years agoDon't forget to use DESTDIR
Andrew Jorgensen [Tue, 1 Mar 2011 00:18:20 +0000 (17:18 -0700)]
Don't forget to use DESTDIR

13 years agoHandle demormalized object and string types.
Rodrigo Kumpera [Mon, 28 Feb 2011 20:48:11 +0000 (21:48 +0100)]
Handle demormalized object and string types.

* metadata.c (do_mono_metadata_parse_type): NET 1.1
assemblies can have string and object encoded in a denormalized
way.

Fixes #675464.

13 years agoAdd ARM linux cross compile targets.
Zoltan Varga [Mon, 28 Feb 2011 19:16:11 +0000 (20:16 +0100)]
Add ARM linux cross compile targets.

13 years agoDelete an unused define.
Zoltan Varga [Mon, 28 Feb 2011 11:50:49 +0000 (12:50 +0100)]
Delete an unused define.

13 years agoCheck for override visibility in another place.
Rodrigo Kumpera [Mon, 28 Feb 2011 18:39:24 +0000 (19:39 +0100)]
Check for override visibility in another place.

* class.c (check_interface_method_override): Check
here for visibility too.

13 years agoAdd hack for wcf around the fix for #609813
Rodrigo Kumpera [Mon, 28 Feb 2011 18:10:34 +0000 (19:10 +0100)]
Add hack for wcf around the fix for #609813

13 years ago[502582] Use correct type for temporary indirection local variable
Marek Safar [Mon, 28 Feb 2011 14:26:11 +0000 (14:26 +0000)]
[502582] Use correct type for temporary indirection local variable

13 years agoAdd regression test for #674120
Rodrigo Kumpera [Mon, 28 Feb 2011 13:55:05 +0000 (14:55 +0100)]
Add regression test for #674120

13 years agoHandle CompareTo(long) and huge numbers.
Rodrigo Kumpera [Mon, 28 Feb 2011 13:53:42 +0000 (14:53 +0100)]
Handle CompareTo(long) and huge numbers.

* BigInteger.cs (CompareTo): Handle numbers
larger than 64bits.

Fixes #674120

13 years ago[674963] Don't re-emit already closed repl types
Marek Safar [Mon, 28 Feb 2011 12:32:07 +0000 (12:32 +0000)]
[674963] Don't re-emit already closed repl types

13 years ago[xbuild] ToolTask - make error column check a little non-specific.
Ankit Jain [Mon, 28 Feb 2011 10:57:43 +0000 (16:27 +0530)]
[xbuild] ToolTask - make error column check a little non-specific.

13 years ago[xbuild] Make Engine.DefaultToolsVersion 2.0 .
Ankit Jain [Mon, 28 Feb 2011 10:51:18 +0000 (16:21 +0530)]
[xbuild] Make Engine.DefaultToolsVersion 2.0 .

Engine.DefaultToolsVersion is used when a project is unable
to determine a suitable ToolsVersion to use. Change this fallback
version to 2.0 . This allows vs2005 (.net 2.0) projects which
don't have ToolsVersion explicitly set, to build. Newer projects
set ToolsVersion by default.

13 years ago[xbuild] ResolveAssemblyReference - log task parameters
Ankit Jain [Mon, 28 Feb 2011 09:21:30 +0000 (14:51 +0530)]
[xbuild] ResolveAssemblyReference - log task parameters

13 years ago[xbuild] ResolveAssemblyReference - add missing api.
Ankit Jain [Mon, 28 Feb 2011 09:20:53 +0000 (14:50 +0530)]
[xbuild] ResolveAssemblyReference - add missing api.

13 years ago[xbuild] GetReferenceAssemblyPaths - add missing license header.
Ankit Jain [Sun, 27 Feb 2011 21:43:23 +0000 (03:13 +0530)]
[xbuild] GetReferenceAssemblyPaths - add missing license header.

13 years ago[xbuild] Add support for multi-targeting arbitrary frameworks.
Ankit Jain [Sun, 27 Feb 2011 21:27:17 +0000 (02:57 +0530)]
[xbuild] Add support for multi-targeting arbitrary frameworks.

ToolsVersion 4.0 supports targeting arbitrary frameworks defined
by FrameworkList.xml files and referenced by $(TargetFrameworkMoniker),
which is of the format:
 Identifier,Version=<version>[,Profile=<profile>]

built as:
 $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion)[,Profile=$(TargetFrameworkProfile)]

eg. '.NETFramework,Version=v4.0' .

Frameworks are searched for in (order):

  1. Paths specified in the environment variable $XBUILD_FRAMEWORK_FOLDERS_PATH
  2. /Library/Frameworks/Mono.framework/External/xbuild-frameworks on Mac OSX.
  3. MSBuild property $(TargetFrameworkRoot)
  4. $prefix/lib/mono/xbuild-frameworks (default location)

.NET frameworks 2.0/3.0/3.5/4.0 have corresponding FrameworkList.xml
files now, which allows projects to target them. Custom frameworks like
MonoDroid can install suitable FrameworkList.xml files, and projects
can target them using the correct $(TargetFrameworkIdentifier) and
$(TargetFrameworkVersion).

Update man page.

13 years ago[xbuild] ToolTask - add missing api
Ankit Jain [Sun, 27 Feb 2011 19:11:07 +0000 (00:41 +0530)]
[xbuild] ToolTask - add missing api

* Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs
(GetProcessStartInfo): Add missing api. This allows more control
over the execution of the tool.

13 years ago[xbuild] Add missing property to Error/Warning tasks.
Ankit Jain [Sun, 27 Feb 2011 19:09:55 +0000 (00:39 +0530)]
[xbuild] Add missing property to Error/Warning tasks.

13 years ago[xbuild] Add $(MSBuildToolsRoot) reserved property.
Ankit Jain [Sun, 27 Feb 2011 19:04:44 +0000 (00:34 +0530)]
[xbuild] Add $(MSBuildToolsRoot) reserved property.

13 years ago[xbuild] Remove property if Output TaskParameter is null.
Ankit Jain [Sun, 27 Feb 2011 19:02:50 +0000 (00:32 +0530)]
[xbuild] Remove property if Output TaskParameter is null.

If the TaskParameter for Output of a task is null, then remove
the corresponding property.
Add relevant test.

13 years ago[threadpool] Fix typo in threadpool thread names.
Bojan Rajkovic [Sun, 27 Feb 2011 18:27:53 +0000 (13:27 -0500)]
[threadpool] Fix typo in threadpool thread names.

13 years agoCleanup unneeded code and definitions. Add MIT/X11 license header to file. Code submi...
joncham [Sat, 26 Feb 2011 16:07:30 +0000 (11:07 -0500)]
Cleanup unneeded code and definitions. Add MIT/X11 license header to file. Code submitted under MIT/X11 license.

13 years ago[sgen] Internal alloc debugging.
Mark Probst [Thu, 24 Feb 2011 19:30:27 +0000 (20:30 +0100)]
[sgen] Internal alloc debugging.

If enabled, checks that internal allocations are only
made from the threads that are supposed to use a particular
allocator.

13 years ago[sgen] Separate internal allocator for the distribute gray queue.
Mark Probst [Sat, 26 Feb 2011 01:00:49 +0000 (02:00 +0100)]
[sgen] Separate internal allocator for the distribute gray queue.

The internal allocator is not thread safe, so we have separate
allocators for each worker thread to allocate gray queue sections
from.  We didn't have this for the main thread, however.

13 years agoCache the result of the pthread_specific disassembly when checking for fast tls on...
Geoff Norton [Fri, 25 Feb 2011 21:41:59 +0000 (16:41 -0500)]
Cache the result of the pthread_specific disassembly when checking for fast tls on darwin

13 years agoFix configure check for darwin to support all variants
Geoff Norton [Fri, 25 Feb 2011 20:28:50 +0000 (15:28 -0500)]
Fix configure check for darwin to support all variants

13 years agoImplement TLS_GET for amd64-darwin
Geoff Norton [Fri, 25 Feb 2011 20:27:23 +0000 (15:27 -0500)]
Implement TLS_GET for amd64-darwin

13 years ago[471275] Fix handling of ulong switch statement and speedup resolve of switch signifi...
Marek Safar [Fri, 25 Feb 2011 20:16:21 +0000 (20:16 +0000)]
[471275] Fix handling of ulong switch statement and speedup resolve of switch significantly

13 years agoFix the mobile build
Geoff Norton [Fri, 25 Feb 2011 16:41:10 +0000 (11:41 -0500)]
Fix the mobile build

13 years ago[asp.net] Fix for bug #671753. Route.GetVirtualPath must take ambient values into...
Marek Habersack [Thu, 24 Feb 2011 22:24:01 +0000 (23:24 +0100)]
[asp.net] Fix for bug #671753. Route.GetVirtualPath must take ambient values into account.

13 years agoadded units tests for TextReader ReadLine() and ReadToEnd()
Steve Bjorg [Fri, 25 Feb 2011 05:37:46 +0000 (21:37 -0800)]
added units tests for TextReader ReadLine() and ReadToEnd()

13 years agoTextReader.Null should return "" on ReadToEnd()
Steve Bjorg [Fri, 25 Feb 2011 05:21:11 +0000 (21:21 -0800)]
TextReader.Null should return "" on ReadToEnd()

13 years agoFix build
Miguel de Icaza [Fri, 25 Feb 2011 06:49:02 +0000 (01:49 -0500)]
Fix build

13 years ago[TerminfoDriver] be more tolerant to failures, and fallback gracefully, instead of...
Miguel de Icaza [Fri, 25 Feb 2011 04:59:53 +0000 (23:59 -0500)]
[TerminfoDriver] be more tolerant to failures, and fallback gracefully, instead of aborting

13 years agoDo not throw exceptions, instead return a sensible value, fixes 656468
Miguel de Icaza [Fri, 25 Feb 2011 04:36:07 +0000 (23:36 -0500)]
Do not throw exceptions, instead return a sensible value, fixes 656468

13 years agoBug fix, on EOF, return null from ReadLine
Miguel de Icaza [Fri, 25 Feb 2011 04:14:56 +0000 (23:14 -0500)]
Bug fix, on EOF, return null from ReadLine

13 years agoFix 2.0 test build (disable it).
Atsushi Eno [Fri, 25 Feb 2011 03:35:47 +0000 (12:35 +0900)]
Fix 2.0 test build (disable it).

13 years agoFix previous arm patch.
Zoltan Varga [Fri, 25 Feb 2011 02:19:42 +0000 (03:19 +0100)]
Fix previous arm patch.

13 years agoExtract a macro to loop over all threads.
Rodrigo Kumpera [Thu, 24 Feb 2011 22:18:37 +0000 (23:18 +0100)]
Extract a macro to loop over all threads.

* sgen-gc.h: Add (END_)FOREACH_THREAD macro pair
to loop around threads. This simplify the code
and will make it easier to refactor it.

13 years agoAdd default implementations to ReadLine() and ReadToEnd() to TextReader, fixes 655934
Miguel de Icaza [Thu, 24 Feb 2011 21:51:39 +0000 (16:51 -0500)]
Add default implementations to ReadLine() and ReadToEnd() to TextReader, fixes 655934

13 years agoFlush stdout in mono_print_method_from_ip () to make debugging on windows a bit easier.
Zoltan Varga [Thu, 24 Feb 2011 18:29:41 +0000 (19:29 +0100)]
Flush stdout in mono_print_method_from_ip () to make debugging on windows a bit easier.

13 years agoFix stop_debugger_thread () on windows. Shutdown both ends of the connection socket...
Zoltan Varga [Thu, 24 Feb 2011 18:06:17 +0000 (19:06 +0100)]
Fix stop_debugger_thread () on windows. Shutdown both ends of the connection socket since shutting down only the receive part doesn't seem to work on windows. Wait for the debugger thread to exit in a loop, since we don't use condvars on windows.

13 years agoEnable ARMv6 for arm*-darwin
Geoff Norton [Thu, 24 Feb 2011 17:21:30 +0000 (12:21 -0500)]
Enable ARMv6 for arm*-darwin

13 years agoFix bug #669836:
Martin Baulig [Wed, 23 Feb 2011 17:02:45 +0000 (18:02 +0100)]
Fix bug #669836:

Treat exceptions that are caught by mono_runtime_invoke()
as unhandled in SDB.

13 years ago[xbuild] Rename method to make it more consistent.
Ankit Jain [Thu, 24 Feb 2011 12:55:42 +0000 (18:25 +0530)]
[xbuild] Rename method to make it more consistent.

* Microsoft.Build.Tasks/Microsoft.Build.Tasks/AssemblyResolver.cs
(GetAssemblyNameFromFile): Rename to ..
(TryGetAssemblyNameFromFile): .. this, to make it consistent with
the similar method TryGetAssemblyNameFromFullName .
Track api changes.
* Microsoft.Build.Tasks/Microsoft.Build.Tasks/ResolveAssemblyReference.cs:
Track api changes.

13 years ago[xbuild] Fix bug #674630.
Ankit Jain [Thu, 24 Feb 2011 12:40:43 +0000 (18:10 +0530)]
[xbuild] Fix bug #674630.

Handle errors in trying to create AssemblyName from invalid
full names.

13 years agoOnly use memory barriers on arm when running on armv6 or later.
Zoltan Varga [Thu, 24 Feb 2011 12:55:13 +0000 (13:55 +0100)]
Only use memory barriers on arm when running on armv6 or later.

13 years ago[674548] Fixes recursive crash in LookupExtensionMethod
Marek Safar [Thu, 24 Feb 2011 09:06:54 +0000 (09:06 +0000)]
[674548] Fixes recursive crash in LookupExtensionMethod

13 years agoAllow blank character as separator for numeric mcs arguments
Marek Safar [Thu, 24 Feb 2011 08:40:36 +0000 (08:40 +0000)]
Allow blank character as separator for numeric mcs arguments

13 years ago[672969] Delay type parameter constrain import until its declaring type is ready
Marek Safar [Thu, 24 Feb 2011 08:10:26 +0000 (08:10 +0000)]
[672969] Delay type parameter constrain import until its declaring type is ready

13 years agoShow more details when crashing during members importing
Marek Safar [Wed, 23 Feb 2011 17:30:44 +0000 (17:30 +0000)]
Show more details when crashing during members importing

13 years agoSimple InstanceContext.Extensions implementation by David Schmitt.
Atsushi Eno [Thu, 24 Feb 2011 05:39:33 +0000 (14:39 +0900)]
Simple InstanceContext.Extensions implementation by David Schmitt.

Fixed bug #674057.

13 years agoDo not write empty items in Probe message.
Atsushi Eno [Thu, 24 Feb 2011 05:35:24 +0000 (14:35 +0900)]
Do not write empty items in Probe message.

13 years agoTo header rewrite only happens in Adhoc mode.
Atsushi Eno [Thu, 24 Feb 2011 05:33:41 +0000 (14:33 +0900)]
To header rewrite only happens in Adhoc mode.

Update contracts to comply with that and make it consistent between versions.

13 years agoPass Actor. use IsNullOrEmpty() instead of "!= String.Empty".
Atsushi Eno [Thu, 24 Feb 2011 05:26:28 +0000 (14:26 +0900)]
Pass Actor. use IsNullOrEmpty() instead of "!= String.Empty".

13 years agoAnother fix to not write null header. Add UniqueId deserialization workaround.
Atsushi Eno [Thu, 24 Feb 2011 05:24:44 +0000 (14:24 +0900)]
Another fix to not write null header. Add UniqueId deserialization workaround.

13 years agoDon't build code analyst profiler by default.
joncham [Wed, 23 Feb 2011 22:19:57 +0000 (17:19 -0500)]
Don't build code analyst profiler by default.

13 years agoEnable UDP Sockets on MOBILE platforms.
Jonathan Pryor [Thu, 24 Feb 2011 04:19:26 +0000 (23:19 -0500)]
Enable UDP Sockets on MOBILE platforms.

Fixes runtime part of #666736.

13 years agoNew test.
Marek Safar [Wed, 23 Feb 2011 17:12:46 +0000 (17:12 +0000)]
New test.

13 years ago[674224] Type parameter constraint can resolve to nested type before it has been...
Marek Safar [Wed, 23 Feb 2011 17:08:55 +0000 (17:08 +0000)]
[674224] Type parameter constraint can resolve to nested type before it has been imported

13 years agoBetter error message when warnaserror is used
Marek Safar [Wed, 23 Feb 2011 13:23:35 +0000 (13:23 +0000)]
Better error message when warnaserror is used

13 years ago[xbuild] Fix bug #674337.
Ankit Jain [Wed, 23 Feb 2011 15:56:28 +0000 (21:26 +0530)]
[xbuild] Fix bug #674337.

Use appropriate path separator for handling environment variable
MSBuildExtensionsPath.

13 years agoEnable locking fast path on darwin-x86.
Rodrigo Kumpera [Wed, 23 Feb 2011 13:36:36 +0000 (14:36 +0100)]
Enable locking fast path on darwin-x86.

13 years agoEnable monitor enter/exit wrappers under sgen.
Rodrigo Kumpera [Wed, 23 Feb 2011 13:12:57 +0000 (14:12 +0100)]
Enable monitor enter/exit wrappers under sgen.

* monitor.c (emit_obj_syncp_check): Add code to
check for thin hashing.

13 years agoMore Rabbit parallel build fixes
Marek Safar [Wed, 23 Feb 2011 11:59:39 +0000 (11:59 +0000)]
More Rabbit parallel build fixes

13 years agoUse new shared code for darwin fast tls.
Rodrigo Kumpera [Wed, 23 Feb 2011 11:17:44 +0000 (12:17 +0100)]
Use new shared code for darwin fast tls.

* mini.c: Replace MINI_FAST_TLS macros with the
new ones from mono-compiler.h.

13 years agoUse darwin fast tls across the board.
Rodrigo Kumpera [Wed, 23 Feb 2011 10:59:01 +0000 (11:59 +0100)]
Use darwin fast tls across the board.

* mono-compiler.h: Under darwin define MONO_THREAD_VAR_OFFSET
to return pthread_key_t as we can generate fast tls get for it.

* mono-compiler.h: Define MONO_FAST_TLS_(GET SET DECLARE INIT)
macros to transparently use __thread and darwin fast tls
transparently.

* mono-compiler.h: Add MONO_HAVE_FAST_TLS define that allows
fast darwin to be used across the board.

* domain.c: Switch to using the new macros.

* threads.c: Ditto.

13 years agoRedude warning spew under darwin
Rodrigo Kumpera [Wed, 23 Feb 2011 10:49:26 +0000 (11:49 +0100)]
Redude warning spew under darwin

13 years agoFix a warning.
Zoltan Varga [Wed, 23 Feb 2011 10:45:06 +0000 (11:45 +0100)]
Fix a warning.

13 years agoFix the passing of the mrgctx argument in case of a virtual->nonvirtual optimization...
Zoltan Varga [Tue, 22 Feb 2011 14:29:37 +0000 (15:29 +0100)]
Fix the passing of the mrgctx argument in case of a virtual->nonvirtual optimization. Fixes #672446.

13 years agoFix gsize for 64-bit Windows
Hib Eris [Sun, 13 Feb 2011 13:35:57 +0000 (14:35 +0100)]
Fix gsize for 64-bit Windows

13 years agoRemove some unneeded copied code.
joncham [Wed, 23 Feb 2011 05:09:28 +0000 (00:09 -0500)]
Remove some unneeded copied code.

13 years agoMore project fixes.
joncham [Wed, 23 Feb 2011 03:22:48 +0000 (22:22 -0500)]
More project fixes.

13 years agoAdd check around unistd.h include to fix windows build.
joncham [Wed, 23 Feb 2011 03:22:06 +0000 (22:22 -0500)]
Add check around unistd.h include to fix windows build.

13 years agoAdd CodeAnalyst profiler and clean up vcxproj files.
joncham [Wed, 23 Feb 2011 01:57:47 +0000 (20:57 -0500)]
Add CodeAnalyst profiler and clean up vcxproj files.

13 years agoAdd simple csproj to build and debug genproj.cs.
joncham [Thu, 17 Feb 2011 01:57:35 +0000 (20:57 -0500)]
Add simple csproj to build and debug genproj.cs.

13 years agoAvoid warnings, should fix OpenSUSE builds
Miguel de Icaza [Wed, 23 Feb 2011 00:30:05 +0000 (19:30 -0500)]
Avoid warnings, should fix OpenSUSE builds

13 years ago[sgen] Break tracking weak references as early as possible.
Mark Probst [Tue, 22 Feb 2011 21:12:55 +0000 (22:12 +0100)]
[sgen] Break tracking weak references as early as possible.

Our tracking references code aimed to transform tracking references
into normal weak references the first time their targets became
unreachable.  It was implemented incorrectly though, and is not the
right thing to do in the first place anyway, because tracking
references have to keep tracking if the target is re-registered for
finalization.  The incorrect implementation inadvertently handled
re-registration correctly, but it kept the reference intact for one
garbage collection cycle too many.

13 years agoRemove misplaced SecurityCritical
Marek Safar [Tue, 22 Feb 2011 16:55:57 +0000 (16:55 +0000)]
Remove misplaced SecurityCritical

13 years ago[xbuild] Add new reserved properties $(MSBuildThisFile*).
Ankit Jain [Tue, 22 Feb 2011 18:36:07 +0000 (00:06 +0530)]
[xbuild] Add new reserved properties $(MSBuildThisFile*).

Also, fixes bug #668955.

Add new reserved properties $(MSBuildThisFile*).
Unlike the $(MSBuildProjectFile), the *This* properties are evaluated
in the context where they were used. Eg. if such a property was
referenced in a PropertyGroup, then it would refer to the file
containing the that definition, and *not* the main project file.
It applies to items and tasks/targets also.

* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/BuildChoose.cs:
* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/BuildItemGroup.cs:
* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/BuildPropertyGroup.cs:
Add DefinedInFileName property.

* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs:
Add a stack to keep track the "current" file, which is used to set
the $(MSBuildThisFile*) properties. Update the properties on
Push/Pop.

* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/GroupingCollection.cs:
Push/Pop the "current" file, when evaluating a property/item/etc.

* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Target.cs:
Push/Pop the "current" file, when building. This ensures that the
references in the target definition get evaluated correctly.

* Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine/ProjectTest.cs:
Add corresponding test.

13 years agoProperly check arguments in List<T> ICollection.CopyTo.
Rodrigo Kumpera [Tue, 22 Feb 2011 17:48:32 +0000 (18:48 +0100)]
Properly check arguments in List<T> ICollection.CopyTo.

* List.cs (ICollection.CopyTo): Properly check
the array argument to match MS semantics.

Fixes #672907

13 years agoFix mcs sdk default
Marek Safar [Tue, 22 Feb 2011 16:50:27 +0000 (16:50 +0000)]
Fix mcs sdk default

13 years agoRemove some weird and unused MONO_PATH acrobatics
Marek Safar [Tue, 22 Feb 2011 16:46:54 +0000 (16:46 +0000)]
Remove some weird and unused MONO_PATH acrobatics

13 years agoRemove existing type when redefined by evaluator
Marek Safar [Tue, 22 Feb 2011 14:47:13 +0000 (14:47 +0000)]
Remove existing type when redefined by evaluator

13 years agoFix tests compilation
Marek Safar [Tue, 22 Feb 2011 14:46:50 +0000 (14:46 +0000)]
Fix tests compilation

13 years ago[xbuild] Use the env var $MSBuildExtensionsPath before trying other paths.
Ankit Jain [Tue, 22 Feb 2011 15:52:38 +0000 (21:22 +0530)]
[xbuild] Use the env var $MSBuildExtensionsPath before trying other paths.

Change the order of the "search paths", so that the environment
variable can always override it.
Update the man page to reflect the change.

13 years agoFix RabbitMQ.Client parallel build
Marek Safar [Tue, 22 Feb 2011 13:50:44 +0000 (13:50 +0000)]
Fix RabbitMQ.Client parallel build

13 years agoFix a warning.
Zoltan Varga [Tue, 22 Feb 2011 05:22:45 +0000 (06:22 +0100)]
Fix a warning.

13 years agoFix the windows build.
Zoltan Varga [Tue, 22 Feb 2011 05:20:23 +0000 (06:20 +0100)]
Fix the windows build.

13 years agoAvoid returning TRUE from mono_domain_finalize () if it is interrupted by sdb. Fixes...
Zoltan Varga [Tue, 22 Feb 2011 04:32:43 +0000 (05:32 +0100)]
Avoid returning TRUE from mono_domain_finalize () if it is interrupted by sdb. Fixes #673592.

13 years agoAdd a G_UNLIKELY to g_assert ().
Zoltan Varga [Tue, 22 Feb 2011 00:04:58 +0000 (01:04 +0100)]
Add a G_UNLIKELY to g_assert ().

13 years agoFix arm thunk creation in dynamic methods. Fixes #673828.
Zoltan Varga [Mon, 21 Feb 2011 23:38:40 +0000 (00:38 +0100)]
Fix arm thunk creation in dynamic methods. Fixes #673828.

13 years ago[transactions] When cloning a transaction make sure to copy all the stuff that matters.
Marek Habersack [Mon, 21 Feb 2011 22:36:00 +0000 (23:36 +0100)]
[transactions] When cloning a transaction make sure to copy all the stuff that matters.

The volatiles and durables lists must be copied even if they are empty. The calling code
might still be accessing them via the original transaction (as is the case with Orchard+NHibernate)

13 years agoCheck if the override declaration is visible to the body.
Rodrigo Kumpera [Mon, 21 Feb 2011 20:51:01 +0000 (21:51 +0100)]
Check if the override declaration is visible to the body.

* class.c (verify_class_overrides): The override declaration
must be visible to the override body otherwise fail the type.
This protects against types trying to override internal
methods of types from other assemblies.

* class.c (mono_class_setup_vtable_general): Do the same
check for implicit overrides (those based only on name & sig).

Fixes #609813

13 years agoSkip visibility checks from corlib internal assemblies.
Rodrigo Kumpera [Mon, 21 Feb 2011 20:49:16 +0000 (21:49 +0100)]
Skip visibility checks from corlib internal assemblies.

* class.c (can_access_type): Skip visilibity checks for types
from corlib internal assemblies (binary serialization).

* class.c (can_access_member): Ditto.

13 years agoMove declaration to a more appropriate header.
Rodrigo Kumpera [Mon, 21 Feb 2011 20:45:36 +0000 (21:45 +0100)]
Move declaration to a more appropriate header.