mono.git
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.

12 years agoAvoid returning a 0 exit code from xbuild if one of the projects in an .sln file...
Zoltan Varga [Fri, 28 Oct 2011 19:35:22 +0000 (21:35 +0200)]
Avoid returning a 0 exit code from xbuild if one of the projects in an .sln file fails to build

12 years agoFix an uninitialized memory error in the AOT runtime.
Zoltan Varga [Fri, 28 Oct 2011 15:55:42 +0000 (17:55 +0200)]
Fix an uninitialized memory error in the AOT runtime.

12 years agoMerge pull request #186 from QuickJack/master
Alex Rønne Petersen [Fri, 28 Oct 2011 14:43:19 +0000 (07:43 -0700)]
Merge pull request #186 from QuickJack/master

Fixes an Exception that is being thrown in Linux when the no_proxy environment variable is empty.

12 years agoFixes some naming conventions.
Martin [Fri, 28 Oct 2011 13:41:40 +0000 (16:41 +0300)]
Fixes some naming conventions.

12 years agoAlso disable selectively this test at runtime
Jeremie Laval [Fri, 28 Oct 2011 12:40:00 +0000 (14:40 +0200)]
Also disable selectively this test at runtime

12 years agoRefactor unit test a bit
Jeremie Laval [Fri, 28 Oct 2011 12:26:50 +0000 (14:26 +0200)]
Refactor unit test a bit

12 years agoEnable 4.5 profile parallel build
Marek Safar [Thu, 27 Oct 2011 17:19:55 +0000 (18:19 +0100)]
Enable 4.5 profile parallel build

12 years agoAlways capture iterator parameters
Marek Safar [Thu, 27 Oct 2011 16:57:51 +0000 (17:57 +0100)]
Always capture iterator parameters

12 years agoRename RabbitMQ.Client default sources to fix make dist
Marek Safar [Thu, 27 Oct 2011 16:44:52 +0000 (17:44 +0100)]
Rename RabbitMQ.Client default sources to fix make dist

12 years agoInsert incomplete for statement to ast
Marek Safar [Thu, 27 Oct 2011 15:51:25 +0000 (16:51 +0100)]
Insert incomplete for statement to ast

12 years agoRestore using block in case of parser error
Marek Safar [Thu, 27 Oct 2011 15:05:48 +0000 (16:05 +0100)]
Restore using block in case of parser error

12 years agoMove TrySet method from TaskCompletionSource to Task, so AsyncTaskMethodBuilder can...
Marek Safar [Thu, 27 Oct 2011 10:01:40 +0000 (11:01 +0100)]
Move TrySet method from TaskCompletionSource to Task, so AsyncTaskMethodBuilder can act as secondary TaskCompletionSource implementation

12 years agoFix make dist
Zoltan Varga [Thu, 27 Oct 2011 00:00:45 +0000 (02:00 +0200)]
Fix make dist

12 years agoImplement new toggleref machinery for sgen.
Rodrigo Kumpera [Wed, 26 Oct 2011 14:26:16 +0000 (12:26 -0200)]
Implement new toggleref machinery for sgen.

* sgen-toggleref.c: GC backed toggleref machinery. This enables
embedders to support toggleref style of external memory management
without hooking up to the host retain/release machinery.

The API export two entry points. The first let the caller register
a callback with sgen that decides the state of a given object, by
probably inspecting its native state. The second allows registration
of objects with the toggleref machinery.

The idea of toggleref is that we keep an external reference to an object
and it can be  either a strong or weak reference. We use a weak reference
when the external peer has no interest into the object and a strong otherwise.

12 years agoExport a bunch of sgen functions for internal usage.
Rodrigo Kumpera [Wed, 26 Oct 2011 14:01:23 +0000 (12:01 -0200)]
Export a bunch of sgen functions for internal usage.

12 years agoLog profiler: ensure the size we pass to getsockname is initalized correctly.
Rolf Bjarne Kvinge [Wed, 26 Oct 2011 11:17:40 +0000 (13:17 +0200)]
Log profiler: ensure the size we pass to getsockname is initalized correctly.

12 years agoLog profiler: flush file after writing to it.
Rolf Bjarne Kvinge [Wed, 19 Oct 2011 23:02:06 +0000 (01:02 +0200)]
Log profiler: flush file after writing to it.

12 years agoLog profiler: add support for writing to an existing file descriptor.
Rolf Bjarne Kvinge [Fri, 14 Oct 2011 21:27:14 +0000 (23:27 +0200)]
Log profiler: add support for writing to an existing file descriptor.

12 years agoProfiler: add support embedded profilers whose entry point ends with _<profiler name>.
Rolf Bjarne Kvinge [Thu, 13 Oct 2011 14:17:46 +0000 (16:17 +0200)]
Profiler: add support embedded profilers whose entry point ends with _<profiler name>.

12 years agoDon't allocate TaskActionInvoker for TaskCompletionSource
Marek Safar [Wed, 26 Oct 2011 10:48:11 +0000 (11:48 +0100)]
Don't allocate TaskActionInvoker for TaskCompletionSource

12 years agoRun unobserved task exception processing on the finalizer thread but without the...
Jeremie Laval [Wed, 26 Oct 2011 10:30:07 +0000 (12:30 +0200)]
Run unobserved task exception processing on the finalizer thread but without the need for a finalizer in Task

12 years agoDelay continuation delegate allocation
Marek Safar [Wed, 26 Oct 2011 09:43:40 +0000 (10:43 +0100)]
Delay continuation delegate allocation

12 years agoNew test
Marek Safar [Wed, 26 Oct 2011 09:43:26 +0000 (10:43 +0100)]
New test

12 years agoReuse captured stack variables
Marek Safar [Tue, 25 Oct 2011 17:21:22 +0000 (18:21 +0100)]
Reuse captured stack variables

12 years agoCapture less local variable in iterator/async context
Marek Safar [Tue, 25 Oct 2011 13:26:44 +0000 (14:26 +0100)]
Capture less local variable in iterator/async context

12 years ago[System.Xml] Fix handling of XmlSchemaForm when importing elements
Lluis Sanchez [Tue, 25 Oct 2011 15:32:21 +0000 (17:32 +0200)]
[System.Xml] Fix handling of XmlSchemaForm when importing elements

When the schema for is not explicitly set for an element, get the default form specified in the schema, and use 'unqualified' if there is no other default. This fixes bug #41.

12 years agoAdd filtering by type name to TypeLoad events
Zoltan Varga [Tue, 25 Oct 2011 17:36:57 +0000 (19:36 +0200)]
Add filtering by type name to TypeLoad events

12 years agoAdd a GetTypes() method to VirtualMachine to search for types with a given name in...
Zoltan Varga [Tue, 25 Oct 2011 17:09:43 +0000 (19:09 +0200)]
Add a GetTypes() method to VirtualMachine to search for types with a given name in all appdomains/assemblies.

12 years agoFix NET_2_1 builds.
Atsushi Eno [Tue, 25 Oct 2011 15:35:57 +0000 (00:35 +0900)]
Fix NET_2_1 builds.

12 years agoFix NET_2_1 builds.
Atsushi Eno [Tue, 25 Oct 2011 15:29:28 +0000 (00:29 +0900)]
Fix NET_2_1 builds.

12 years agoUse gint64 to represent time in MonoStopwatch to prevent overflows.
Paolo Molaro [Tue, 25 Oct 2011 14:46:49 +0000 (16:46 +0200)]
Use gint64 to represent time in MonoStopwatch to prevent overflows.

12 years agoAllow to specify other RootTree for creating indexes
Jeremie Laval [Tue, 25 Oct 2011 11:31:13 +0000 (13:31 +0200)]
Allow to specify other RootTree for creating indexes

12 years agoCreate less anynymous method context classes for async delegates
Marek Safar [Tue, 25 Oct 2011 09:13:04 +0000 (10:13 +0100)]
Create less anynymous method context classes for async delegates

12 years agoRemove unwanted WaitHandle finalizer
Marek Safar [Tue, 25 Oct 2011 09:12:20 +0000 (10:12 +0100)]
Remove unwanted WaitHandle finalizer

12 years agoRemove TaskScheduler useless finalizer
Jérémie Laval [Tue, 25 Oct 2011 09:12:02 +0000 (11:12 +0200)]
Remove TaskScheduler useless finalizer

12 years agoDo not throw an exception if Proxy is set to null. Compare this implementation to...
Martin [Tue, 25 Oct 2011 07:55:10 +0000 (10:55 +0300)]
Do not throw an exception if Proxy is set to null. Compare this implementation to HttpWebRequest.Proxy.

12 years agoBehaviour of using proxies in WebClient is different compared to .NET
Martin [Tue, 25 Oct 2011 07:51:58 +0000 (10:51 +0300)]
Behaviour of using proxies in WebClient is different compared to .NET

(1) Consider the following example code:

WebClient client=new WebClient();

If you examine the client.Proxy property when running this code in .NET you will see, that the Proxy property reflects the current system proxy settings. However, Mono initializes the Proxy property in OpenRead()

(2) Mono's implementation of the WebClient.Proxy property described in (1) has a disadvantage. To understand that, consider der following example code:

WebClient client=new WebClient();

client.Proxy=null;

Explicitely setting the Proxy property to null ensures that .NET does not use any proxies when calling further methods of the client object. My patch provides exactly this functionality for Mono's WebClient when using the http or ftp protocol. This functionality can be very interesting for a lot of scenarios.

12 years agoFixes an Exception that is beeing thrown in Linux when the no_proxy environment varia...
Martin [Tue, 25 Oct 2011 07:36:37 +0000 (10:36 +0300)]
Fixes an Exception that is beeing thrown in Linux when the no_proxy environment variable is empty.