mono.git
12 years agoAdd locking around the ServiceModel.Logger, fixes a race reported on the mono-devel...
Miguel de Icaza [Thu, 10 Nov 2011 04:12:28 +0000 (23:12 -0500)]
Add locking around the ServiceModel.Logger, fixes a race reported on the mono-devel list

12 years agoMinor cleanup of sgen allocation code.
Rodrigo Kumpera [Wed, 9 Nov 2011 16:55:21 +0000 (14:55 -0200)]
Minor cleanup of sgen allocation code.

12 years agoImplement lightweight nursery verification.
Rodrigo Kumpera [Wed, 9 Nov 2011 16:53:51 +0000 (14:53 -0200)]
Implement lightweight nursery verification.

12 years agoCosmetic changes to the nursery allocator. Avoid a CAS & zero memset when possible.
Rodrigo Kumpera [Wed, 9 Nov 2011 16:23:42 +0000 (14:23 -0200)]
Cosmetic changes to the nursery allocator. Avoid a CAS & zero memset when possible.

12 years agoUpdate two days worth of copyrights, many more missing
Miguel de Icaza [Wed, 9 Nov 2011 15:25:48 +0000 (10:25 -0500)]
Update two days worth of copyrights, many more missing

12 years agoFix warnings on ARM.
Zoltan Varga [Wed, 9 Nov 2011 01:17:48 +0000 (02:17 +0100)]
Fix warnings on ARM.

12 years agoFix a bug introduced by 354778218590e906ea82154fff9ea960f9d03e2a which killed sgen...
Zoltan Varga [Wed, 9 Nov 2011 01:16:43 +0000 (02:16 +0100)]
Fix a bug introduced by 354778218590e906ea82154fff9ea960f9d03e2a which killed sgen performance on HEAD.

12 years agoMerge branch 'master' of github.com:mono/mono
Zoltan Varga [Wed, 9 Nov 2011 01:12:12 +0000 (02:12 +0100)]
Merge branch 'master' of github.com:mono/mono

12 years agoAdd support for hardfp abi on ARM.
Zoltan Varga [Wed, 9 Nov 2011 00:13:16 +0000 (01:13 +0100)]
Add support for hardfp abi on ARM.

12 years agoLog profiler: fix comment typo
Rolf Bjarne Kvinge [Tue, 8 Nov 2011 23:15:02 +0000 (00:15 +0100)]
Log profiler: fix comment typo

12 years agofix typo in monotouch build
Sebastien Pouliot [Tue, 8 Nov 2011 20:56:19 +0000 (15:56 -0500)]
fix typo in monotouch build

12 years agoInstall the net 4.0 profile for xbuild.
Zoltan Varga [Tue, 8 Nov 2011 20:40:00 +0000 (21:40 +0100)]
Install the net 4.0 profile for xbuild.

12 years agoMerge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Tue, 8 Nov 2011 19:50:34 +0000 (14:50 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono

12 years agoFixes bug 1916 - incorrect appending of string to buffer when remaining buffer size...
Neale Ferguson [Tue, 8 Nov 2011 19:48:03 +0000 (14:48 -0500)]
Fixes bug 1916 - incorrect appending of string to buffer when remaining buffer size is less than string size.

12 years agoAdd optimization for Timeout.Infinite
Marek Safar [Tue, 8 Nov 2011 19:15:58 +0000 (19:15 +0000)]
Add optimization for Timeout.Infinite

12 years agoFix profiler build if boehm is disabled.
Zoltan Varga [Tue, 8 Nov 2011 16:45:28 +0000 (17:45 +0100)]
Fix profiler build if boehm is disabled.

12 years agoWorkaround AOT limitation for bug #1443. Patch by Rodrigo Kumpera
Sebastien Pouliot [Tue, 8 Nov 2011 02:56:05 +0000 (21:56 -0500)]
Workaround AOT limitation for bug #1443. Patch by Rodrigo Kumpera

12 years agoMonoTouch specific initialization for TimeZone (devices). Fix bug #1790
Sebastien Pouliot [Tue, 8 Nov 2011 02:48:38 +0000 (21:48 -0500)]
MonoTouch specific initialization for TimeZone (devices). Fix bug #1790

12 years agofix compilation under NET_2_0
Sebastien Pouliot [Tue, 8 Nov 2011 02:13:19 +0000 (21:13 -0500)]
fix compilation under NET_2_0

12 years agoFix subtle issues with CancellationTokenSource and implement 4.5 methods
Marek Safar [Mon, 7 Nov 2011 15:46:50 +0000 (15:46 +0000)]
Fix subtle issues with CancellationTokenSource and implement 4.5 methods

12 years agoOutput type inference can be run on default parameters. Fixes #1892
Marek Safar [Mon, 7 Nov 2011 09:38:26 +0000 (09:38 +0000)]
Output type inference can be run on default parameters. Fixes #1892

12 years agoFix type parameter effective base class lookup for mixed constraints. Fixes #1905
Marek Safar [Mon, 7 Nov 2011 09:08:42 +0000 (09:08 +0000)]
Fix type parameter effective base class lookup for mixed constraints. Fixes #1905

12 years agoEnable precise stack marking by default so it gets more testing.
Zoltan Varga [Mon, 7 Nov 2011 01:13:51 +0000 (02:13 +0100)]
Enable precise stack marking by default so it gets more testing.

12 years agoDisable a test which depended on COMPILER_ACCESS.
Zoltan Varga [Mon, 7 Nov 2011 01:13:31 +0000 (02:13 +0100)]
Disable a test which depended on COMPILER_ACCESS.

12 years agoRemove a needless define.
Zoltan Varga [Sun, 6 Nov 2011 18:56:40 +0000 (19:56 +0100)]
Remove a needless define.

12 years agoMake mono_arch_sigctx_to_monoctx and vice versa use the code in mono-context.h on...
Zoltan Varga [Sun, 6 Nov 2011 18:55:22 +0000 (19:55 +0100)]
Make mono_arch_sigctx_to_monoctx and vice versa use the code in mono-context.h on amd64.c

12 years agoGet rid of IsCompilerContext, mcs no longer uses SRE.
Zoltan Varga [Sun, 6 Nov 2011 18:36:36 +0000 (19:36 +0100)]
Get rid of IsCompilerContext, mcs no longer uses SRE.

12 years agoFix ARM cross compiling support.
Zoltan Varga [Sun, 6 Nov 2011 18:03:36 +0000 (19:03 +0100)]
Fix ARM cross compiling support.

12 years agoMake --enable-mcs-build=no the default when building the AOT cross compiler.
Zoltan Varga [Sun, 6 Nov 2011 17:55:01 +0000 (18:55 +0100)]
Make --enable-mcs-build=no the default when building the AOT cross compiler.

12 years agoMake mono_arch_sigctx_to_monoctx and vice versa use the code in mono-context.h.
Zoltan Varga [Sun, 6 Nov 2011 17:48:31 +0000 (18:48 +0100)]
Make mono_arch_sigctx_to_monoctx and vice versa use the code in mono-context.h.

12 years agoGet rid of MonoContext->sp on ARM, its already stored inside MonoContext->regs.
Zoltan Varga [Sun, 6 Nov 2011 17:36:12 +0000 (18:36 +0100)]
Get rid of MonoContext->sp on ARM, its already stored inside MonoContext->regs.

12 years agoClean up the arm MonoContext structure: use arm register names, mgreg_t, fix cross...
Zoltan Varga [Sun, 6 Nov 2011 16:52:38 +0000 (17:52 +0100)]
Clean up the arm MonoContext structure: use arm register names, mgreg_t, fix cross compilation.

12 years agoFix a warning.
Zoltan Varga [Sun, 6 Nov 2011 16:31:10 +0000 (17:31 +0100)]
Fix a warning.

12 years agoDon't allow invoking methods that return by-ref types via reflection.
alexrp [Sat, 5 Nov 2011 22:19:10 +0000 (23:19 +0100)]
Don't allow invoking methods that return by-ref types via reflection.

12 years agoMerge pull request #188 from damageboy/exposed-handle-compat
Gonzalo Paniagua Javier [Sun, 6 Nov 2011 01:09:01 +0000 (18:09 -0700)]
Merge pull request #188 from damageboy/exposed-handle-compat

Matched FileStream behaviour with MS.NET

12 years agoReduce the size of AOT seq points on ARM after the get_ip_for_breakpoint () changes.
Zoltan Varga [Sat, 5 Nov 2011 19:08:08 +0000 (20:08 +0100)]
Reduce the size of AOT seq points on ARM after the get_ip_for_breakpoint () changes.

12 years agoMatched FileStream behaviour with MS.NET
Dan Shechter [Thu, 3 Nov 2011 18:07:34 +0000 (20:07 +0200)]
Matched FileStream behaviour with MS.NET

12 years agoFix marshaling of Win32_IN6_ADDR.
Rodrigo Kumpera [Fri, 4 Nov 2011 15:06:48 +0000 (13:06 -0200)]
Fix marshaling of Win32_IN6_ADDR.

12 years ago[Web] Fix obvious typo in DELETE FROM WHERE statement.
Robert Jordan [Sat, 5 Nov 2011 13:41:08 +0000 (14:41 +0100)]
[Web] Fix obvious typo in DELETE FROM WHERE statement.

12 years agoRemove debug spew
Jeremie Laval [Sat, 5 Nov 2011 12:38:41 +0000 (13:38 +0100)]
Remove debug spew

12 years agoUpdate Lucene to latest Apache version. Make use of the new features in Monodoc searc...
Jeremie Laval [Sat, 5 Nov 2011 12:22:16 +0000 (13:22 +0100)]
Update Lucene to latest Apache version. Make use of the new features in Monodoc searching API.

12 years agoOmit 'Tests not run' from nunit output, its rarely used and too verbose.
Zoltan Varga [Fri, 4 Nov 2011 23:29:36 +0000 (00:29 +0100)]
Omit 'Tests not run' from nunit output, its rarely used and too verbose.

12 years agoDefine MONO_PATH as an absolute dir for the 'run-test-vts' corlib target, since it...
Zoltan Varga [Fri, 4 Nov 2011 23:28:52 +0000 (00:28 +0100)]
Define MONO_PATH as an absolute dir for the 'run-test-vts' corlib target, since it is executed from a subdir.

12 years agoAdd a 'captured_traces' field to Exception, holding the state captured by ExceptionDi...
Zoltan Varga [Fri, 4 Nov 2011 23:14:40 +0000 (00:14 +0100)]
Add a 'captured_traces' field to Exception, holding the state captured by ExceptionDispatchInfo. Use this when creating stack traces. Fixes #1857. Bump corlib version because of the layout changes.

12 years agoIgnore ExceptionDispatchInfoTest:Throw() until it is fixed (#1857).
Zoltan Varga [Fri, 4 Nov 2011 18:39:27 +0000 (19:39 +0100)]
Ignore ExceptionDispatchInfoTest:Throw() until it is fixed (#1857).

12 years agoFix another bug in mono_profiler_load ().
Zoltan Varga [Fri, 4 Nov 2011 17:53:53 +0000 (18:53 +0100)]
Fix another bug in mono_profiler_load ().

12 years agoThrow a nicer error from Process.set_PriorityClass is the process has exited. Fixes...
Zoltan Varga [Fri, 4 Nov 2011 17:33:07 +0000 (18:33 +0100)]
Throw a nicer error from Process.set_PriorityClass is the process has exited. Fixes #1692.

12 years agoOSX and iOS does not support CLOCK_MONOTONIC so we use mach_timebase_info instead...
Sebastien Pouliot [Fri, 4 Nov 2011 15:14:15 +0000 (11:14 -0400)]
OSX and iOS does not support CLOCK_MONOTONIC so we use mach_timebase_info instead. Fix bug #1366

12 years agoAvoid adding a ref in OpenProcess (), it is already added in _wapi_search_handle...
Zoltan Varga [Fri, 4 Nov 2011 17:15:10 +0000 (18:15 +0100)]
Avoid adding a ref in OpenProcess (), it is already added in _wapi_search_handle (). Fixes #1682.

12 years agoFix a crash if a profiler is not found. Fixes #1855.
Zoltan Varga [Fri, 4 Nov 2011 15:52:05 +0000 (16:52 +0100)]
Fix a crash if a profiler is not found. Fixes #1855.

12 years agoDon't define eval variable when type could not be resolved
Marek Safar [Fri, 4 Nov 2011 11:13:15 +0000 (11:13 +0000)]
Don't define eval variable when type could not be resolved

12 years agoThe type of an implicitly typed array cannot be inferred from 2 nulls either. Fixes...
Marek Safar [Fri, 4 Nov 2011 10:51:21 +0000 (10:51 +0000)]
The type of an implicitly typed array cannot be inferred from 2 nulls either. Fixes #1848.

12 years agoFix sbyte/short parse of hexadecimal values. Fixes #981
Marek Safar [Fri, 4 Nov 2011 10:39:19 +0000 (10:39 +0000)]
Fix sbyte/short parse of hexadecimal values. Fixes #981

12 years agoDon't cache namespace usings in eval mode
Marek Safar [Fri, 4 Nov 2011 10:15:14 +0000 (10:15 +0000)]
Don't cache namespace usings in eval mode

12 years agoDon't ignore Inherited flag in Attribute.IsDefined. Fixes #181
Marek Safar [Thu, 3 Nov 2011 18:07:51 +0000 (18:07 +0000)]
Don't ignore Inherited flag in Attribute.IsDefined. Fixes #181

12 years agoFix LazyInitializer
Marek Safar [Thu, 3 Nov 2011 17:09:24 +0000 (17:09 +0000)]
Fix LazyInitializer

12 years agoAdd RwWrite flag to status check when already owning upgradeable lock. Fix #802.
Jeremie Laval [Fri, 4 Nov 2011 00:15:29 +0000 (01:15 +0100)]
Add RwWrite flag to status check when already owning upgradeable lock. Fix #802.

12 years agoFix some warnings.
Zoltan Varga [Thu, 3 Nov 2011 17:49:32 +0000 (18:49 +0100)]
Fix some warnings.

12 years agoFix a crash which happens when an inlined method ends with a throw inside a branch...
Zoltan Varga [Wed, 2 Nov 2011 21:54:14 +0000 (22:54 +0100)]
Fix a crash which happens when an inlined method ends with a throw inside a branch, i.e. the return value is not on one branch, and not on the other. Fixes #1835.

12 years agocs-tokenizer: Remove old/inaccurate FIXME.
alexrp [Thu, 3 Nov 2011 17:48:45 +0000 (18:48 +0100)]
cs-tokenizer: Remove old/inaccurate FIXME.

12 years ago[xbuild] Pick the correct base path for target frameworks.
Ankit Jain [Thu, 3 Nov 2011 15:32:09 +0000 (21:02 +0530)]
[xbuild] Pick the correct base path for target frameworks.

Don't depend on Environment.GacPath to figure out the framework
base path ("..../xbuild-frameworks"). This broke on fedora, where
it mapped to $prefix/lib/mono instead of $prefix/lib64/mono .
Which caused framework assemblies to be picked from "lib" instead
of "lib64".

12 years agoImporove ExceptionDispatchInfo unit test
Marek Safar [Thu, 3 Nov 2011 15:19:41 +0000 (15:19 +0000)]
Imporove ExceptionDispatchInfo unit test

12 years agoPartially implement ExceptionDispatchInfo
Marek Safar [Thu, 3 Nov 2011 15:12:24 +0000 (15:12 +0000)]
Partially implement ExceptionDispatchInfo

12 years agoFix previous commit
Marek Safar [Thu, 3 Nov 2011 13:45:52 +0000 (13:45 +0000)]
Fix previous commit

12 years agoImplement the icalls needed by the new mobile mmap code.
Rodrigo Kumpera [Thu, 3 Nov 2011 13:49:42 +0000 (11:49 -0200)]
Implement the icalls needed by the new mobile mmap code.

12 years agoImplement a mobile ready version of memory mapped files.
Rodrigo Kumpera [Thu, 3 Nov 2011 13:31:38 +0000 (11:31 -0200)]
Implement a mobile ready version of memory mapped files.

12 years agoMove all Mono.Unix deps into a single place and put a skeleton of MOBILE support...
Rodrigo Kumpera [Mon, 31 Oct 2011 16:44:40 +0000 (14:44 -0200)]
Move all Mono.Unix deps into a single place and put a skeleton of MOBILE support for mmap'd files.

12 years agoFix mdoc execution mono path
Marek Safar [Thu, 3 Nov 2011 13:10:15 +0000 (13:10 +0000)]
Fix mdoc execution mono path

12 years agoCheck overloaded method difference for CLS-compliance also with base class
Marek Safar [Thu, 3 Nov 2011 10:31:29 +0000 (10:31 +0000)]
Check overloaded method difference for CLS-compliance also with base class

12 years agoFix few more cascading errors
Marek Safar [Thu, 3 Nov 2011 09:30:14 +0000 (09:30 +0000)]
Fix few more cascading errors

12 years agoUse full type lenght when checking struct fields assignment
Marek Safar [Wed, 2 Nov 2011 15:26:43 +0000 (15:26 +0000)]
Use full type lenght when checking struct fields assignment

12 years agoUpdate missing extension compiler type error message to workaround stupid MonoDevelop...
Marek Safar [Wed, 2 Nov 2011 14:48:08 +0000 (14:48 +0000)]
Update missing extension compiler type error message to workaround stupid MonoDevelop message bubbles

12 years agoReoder 4.x supported_runtimes versions to load correct mscorlib when <supportedRuntim...
Marek Safar [Wed, 2 Nov 2011 14:21:49 +0000 (14:21 +0000)]
Reoder 4.x supported_runtimes versions to load correct mscorlib when <supportedRuntime ../> is used

12 years agoAdd type forwarding for ExtensionAttribute
Marek Safar [Wed, 2 Nov 2011 11:56:11 +0000 (11:56 +0000)]
Add type forwarding for ExtensionAttribute

12 years agoAdd 4.5 compatible MEF
Marek Safar [Wed, 2 Nov 2011 11:17:33 +0000 (11:17 +0000)]
Add 4.5 compatible MEF

12 years agoFix call to mono_sgen_gc_unlock () in mono_gc_toggleref_add ().
alexrp [Wed, 2 Nov 2011 15:29:41 +0000 (16:29 +0100)]
Fix call to mono_sgen_gc_unlock () in mono_gc_toggleref_add ().

12 years agoAdd few 4.5 types to compile MEF2
Marek Safar [Wed, 2 Nov 2011 11:05:00 +0000 (11:05 +0000)]
Add few 4.5 types to compile MEF2

12 years agoAdd new tests
Marek Safar [Wed, 2 Nov 2011 09:19:23 +0000 (09:19 +0000)]
Add new tests

12 years agoFix check for intermediate expression value used by element accessors
Marek Safar [Tue, 1 Nov 2011 18:58:01 +0000 (18:58 +0000)]
Fix check for intermediate expression value used by element accessors

12 years agoAllow Conditional attribute to be used with a keyword value
Marek Safar [Mon, 31 Oct 2011 17:52:18 +0000 (17:52 +0000)]
Allow Conditional attribute to be used with a keyword value

12 years agoCheck reserved name collision with non-parameter members as well
Marek Safar [Mon, 31 Oct 2011 16:20:58 +0000 (16:20 +0000)]
Check reserved name collision with non-parameter members as well

12 years agoBetter type parameter value type conversion checks
Marek Safar [Mon, 31 Oct 2011 12:26:14 +0000 (12:26 +0000)]
Better type parameter value type conversion checks

12 years agoCheck type parameter substitutions for nested interfaces as well
Marek Safar [Mon, 31 Oct 2011 09:02:46 +0000 (09:02 +0000)]
Check type parameter substitutions for nested interfaces as well

12 years agoRemove duplicate inherited constraint types
Marek Safar [Mon, 31 Oct 2011 08:39:55 +0000 (08:39 +0000)]
Remove duplicate inherited constraint types

12 years agoRemove unused variable
Marek Safar [Sun, 30 Oct 2011 17:22:38 +0000 (17:22 +0000)]
Remove unused variable

12 years agoNullable types can satisfy only identity or base type constraints
Marek Safar [Sun, 30 Oct 2011 08:58:41 +0000 (08:58 +0000)]
Nullable types can satisfy only identity or base type constraints

12 years agoDisable TLS on android-x86
Zoltan Varga [Tue, 1 Nov 2011 21:09:45 +0000 (22:09 +0100)]
Disable TLS on android-x86

12 years agoAdd sigcontext support for android-x86
Zoltan Varga [Tue, 1 Nov 2011 21:09:32 +0000 (22:09 +0100)]
Add sigcontext support for android-x86

12 years agoDelete unused link.h include
Zoltan Varga [Tue, 1 Nov 2011 19:56:51 +0000 (20:56 +0100)]
Delete unused link.h include

12 years agoSet success boolean in all cases and avoid state masking. Fix #124
Jeremie Laval [Tue, 1 Nov 2011 15:28:24 +0000 (16:28 +0100)]
Set success boolean in all cases and avoid state masking. Fix #124

12 years agoAdd index creation operations to mdoc
Jeremie Laval [Mon, 31 Oct 2011 14:43:32 +0000 (15:43 +0100)]
Add index creation operations to mdoc

12 years agoFix a bug in the previous commit (290a4a10ab157). The breakpoint instruction needs...
Zoltan Varga [Mon, 31 Oct 2011 11:38:57 +0000 (12:38 +0100)]
Fix a bug in the previous commit (290a4a10ab157). The breakpoint instruction needs to be skipped before returning early from process_breakpoint_inner ().

12 years agoTiny fix for profiler.c compilation warning
Jérémie Laval [Mon, 31 Oct 2011 10:39:16 +0000 (11:39 +0100)]
Tiny fix for profiler.c compilation warning

12 years agoFix build on NET_2_0
Jérémie Laval [Mon, 31 Oct 2011 10:38:52 +0000 (11:38 +0100)]
Fix build on NET_2_0

12 years agoRework the breakpoint/single stepping code to get rid of mono_arch_get_ip_for_breakpo...
Zoltan Varga [Mon, 31 Oct 2011 01:23:25 +0000 (02:23 +0100)]
Rework the breakpoint/single stepping code to get rid of mono_arch_get_ip_for_breakpoint ()/single_step (). Instead of using these functions, simply find the first seq point before/after the ip, since the single step/breakpoint code is placed around the ip saved in the seq point map.

12 years agoAdd support for embedding image files in ecma doc
Jeremie Laval [Sun, 30 Oct 2011 15:11:15 +0000 (16:11 +0100)]
Add support for embedding image files in ecma doc

12 years agoRun interface method constraints check for implementing base type too
Marek Safar [Sat, 29 Oct 2011 12:33:19 +0000 (13:33 +0100)]
Run interface method constraints check for implementing base type too

12 years agoFix unmanaged type check for nested generic types
Marek Safar [Fri, 28 Oct 2011 15:33:08 +0000 (16:33 +0100)]
Fix unmanaged type check for nested generic types

12 years agoRemove never used Task::Execute parameter
Marek Safar [Fri, 28 Oct 2011 12:15:38 +0000 (13:15 +0100)]
Remove never used Task::Execute parameter

12 years agoAvoid duplicate successor entries in the seq point map.
Zoltan Varga [Fri, 28 Oct 2011 21:53:24 +0000 (23:53 +0200)]
Avoid duplicate successor entries in the seq point map.