mono.git
11 years agoFixed completion of JoinTargets
Petr Onderka [Sun, 8 Jul 2012 18:21:42 +0000 (20:21 +0200)]
Fixed completion of JoinTargets

11 years agoNo need to use .Net 4.5-specific methods
Petr Onderka [Sat, 7 Jul 2012 21:21:46 +0000 (17:21 -0400)]
No need to use .Net 4.5-specific methods

11 years agoFixed tests, so that they work under MS .Net
Petr Onderka [Sat, 7 Jul 2012 21:26:41 +0000 (23:26 +0200)]
Fixed tests, so that they work under MS .Net

Also a small change in ToString().

11 years agoFixed bug in unit test
Petr Onderka [Sat, 7 Jul 2012 21:07:18 +0000 (23:07 +0200)]
Fixed bug in unit test

11 years agoDon't start new tasks after fault
Petr Onderka [Sat, 7 Jul 2012 20:30:50 +0000 (22:30 +0200)]
Don't start new tasks after fault

11 years agoMore fixing of Linux build
Petr Onderka [Sat, 7 Jul 2012 10:51:52 +0000 (06:51 -0400)]
More fixing of Linux build

11 years agoDon't use InternalsVisibleTo for testing
Petr Onderka [Fri, 6 Jul 2012 20:30:29 +0000 (22:30 +0200)]
Don't use InternalsVisibleTo for testing

11 years agoFixed non-greedy blocks with BoundedCapacity
Petr Onderka [Fri, 6 Jul 2012 20:26:24 +0000 (22:26 +0200)]
Fixed non-greedy blocks with BoundedCapacity

11 years agoReplaced Volatile.Write() with the volatile modifier
Petr Onderka [Fri, 6 Jul 2012 15:53:38 +0000 (17:53 +0200)]
Replaced Volatile.Write() with the volatile modifier

Mono doesn't support the generic version of Volatile.Write()

11 years agoTest TriggerBatch() when the block is empty
Petr Onderka [Fri, 6 Jul 2012 15:20:37 +0000 (17:20 +0200)]
Test TriggerBatch() when the block is empty

11 years agoAdded missing files to .sources
Petr Onderka [Fri, 6 Jul 2012 15:06:58 +0000 (17:06 +0200)]
Added missing files to .sources

11 years agoAdded support for Greedy
Petr Onderka [Thu, 5 Jul 2012 21:53:45 +0000 (23:53 +0200)]
Added support for Greedy

11 years agoAdded support for PropagateCompletion
Petr Onderka [Thu, 5 Jul 2012 12:23:06 +0000 (14:23 +0200)]
Added support for PropagateCompletion

11 years agoAdded support for MaxMessages
Petr Onderka [Thu, 5 Jul 2012 10:50:24 +0000 (12:50 +0200)]
Added support for MaxMessages

11 years agoFixed bug in unit test
Petr Onderka [Wed, 4 Jul 2012 21:08:36 +0000 (23:08 +0200)]
Fixed bug in unit test

11 years agoAdded support for BoundedCapacity
Petr Onderka [Wed, 4 Jul 2012 21:03:19 +0000 (23:03 +0200)]
Added support for BoundedCapacity

11 years agoCorrected sending messages to targets in most blocks
Petr Onderka [Wed, 4 Jul 2012 18:48:30 +0000 (20:48 +0200)]
Corrected sending messages to targets in most blocks

11 years agoAdded support for TaskScheduler
Petr Onderka [Tue, 3 Jul 2012 11:56:59 +0000 (13:56 +0200)]
Added support for TaskScheduler

11 years agoPost() after fault should return false
Petr Onderka [Tue, 3 Jul 2012 10:38:52 +0000 (12:38 +0200)]
Post() after fault should return false

11 years agoCorrected handling of exceptions
Petr Onderka [Mon, 2 Jul 2012 22:40:25 +0000 (00:40 +0200)]
Corrected handling of exceptions

Also fixed some race conditions.

11 years agoHandle null results in TransformManyBlock correctly
Petr Onderka [Sun, 1 Jul 2012 12:30:38 +0000 (14:30 +0200)]
Handle null results in TransformManyBlock correctly

11 years agoExceptions during execution cause the block to fault
Petr Onderka [Sun, 1 Jul 2012 12:28:12 +0000 (14:28 +0200)]
Exceptions during execution cause the block to fault

11 years agoFixed MaxDegreeOfParallelism, added support for MaxMessagesPerTask
Petr Onderka [Sat, 30 Jun 2012 16:50:29 +0000 (18:50 +0200)]
Fixed MaxDegreeOfParallelism, added support for MaxMessagesPerTask

11 years agoAdded support for cancallation to all blocks
Petr Onderka [Sat, 30 Jun 2012 13:48:49 +0000 (15:48 +0200)]
Added support for cancallation to all blocks

11 years agoAdded support for NameFormat to all blocks
Petr Onderka [Sat, 30 Jun 2012 13:11:28 +0000 (15:11 +0200)]
Added support for NameFormat to all blocks

11 years agoUnit test for deadlock that was in JoinBlock
Petr Onderka [Fri, 29 Jun 2012 20:02:55 +0000 (22:02 +0200)]
Unit test for deadlock that was in JoinBlock

11 years agoAdded BatchedJoinBlock`3
Petr Onderka [Fri, 29 Jun 2012 18:11:28 +0000 (20:11 +0200)]
Added BatchedJoinBlock`3

11 years agoImplemented BatchedJoinBlock
Petr Onderka [Mon, 25 Jun 2012 21:07:19 +0000 (23:07 +0200)]
Implemented BatchedJoinBlock

11 years agoRemove "optimization" that could cause a deadlock
Petr Onderka [Mon, 25 Jun 2012 18:24:40 +0000 (20:24 +0200)]
Remove "optimization" that could cause a deadlock

11 years agoFixed deadlock in JoinBlock by using a lock
Petr Onderka [Mon, 25 Jun 2012 18:09:14 +0000 (20:09 +0200)]
Fixed deadlock in JoinBlock by using a lock

11 years agoRefactored code related to JoinTarget
Petr Onderka [Mon, 25 Jun 2012 17:28:47 +0000 (19:28 +0200)]
Refactored code related to JoinTarget

11 years agoFixed infinite recursion in BatchBlock.TryReceive
Petr Onderka [Mon, 25 Jun 2012 16:42:44 +0000 (18:42 +0200)]
Fixed infinite recursion in BatchBlock.TryReceive

11 years agoMerge pull request #428 from paszczi/master
Miguel de Icaza [Fri, 17 Aug 2012 18:37:18 +0000 (11:37 -0700)]
Merge pull request #428 from paszczi/master

Fix ArgumentOutOfRangeException in HttpListenerManager.TryDequeueRequest when timeout is less than 0

11 years agoAvoid a crash in SET_KEEPALIVE if the socket transport is not initialized.
Zoltan Varga [Thu, 16 Aug 2012 20:10:40 +0000 (22:10 +0200)]
Avoid a crash in SET_KEEPALIVE if the socket transport is not initialized.

11 years agoFix g_strsplit() when delimiter at end-of-string and at max_count.
Jonathan Pryor [Thu, 16 Aug 2012 19:10:38 +0000 (15:10 -0400)]
Fix g_strsplit() when delimiter at end-of-string and at max_count.

Suppose you want to split a `name=value` string:

char** kvp = g_strsplit ("name=value", "=", 2);
// kvp[0] is "name", kvp[1] is "value"

That works, but what if the string is "malformed" and missses a value?

char** kvp = g_strsplit ("name=", "=", 2);
// kvp[0] is "name", kvp[1] is "="

A value of "=" makes no sense here: values returned from
g_strsplit() shouldn't contain delimeter unless max_count is specified
and it's _within_ the last string; it's also not what GLib does.

What makes sense is a value of "" (the empty string), which IS what
GLib does (so it's compatible and sensible).

Fix g_strsplit() to use the empty string when the "rest" value would
otherwise be the delimiter.

11 years ago[System.Xml.Linq] Add error checking to the XElement constructors
Alan McGovern [Thu, 16 Aug 2012 14:23:17 +0000 (15:23 +0100)]
[System.Xml.Linq] Add error checking to the XElement constructors

Added matching tests.

11 years agoSearching for an attributes in probing mode should not report errors for other attrib...
Marek Safar [Thu, 16 Aug 2012 10:49:13 +0000 (12:49 +0200)]
Searching for an attributes in probing mode should not report errors for other attributes. Fixes #6529

11 years agoFix best params candidate rules for overloads with non-default arguments. Fixes ...
Marek Safar [Thu, 16 Aug 2012 08:28:11 +0000 (09:28 +0100)]
Fix best params candidate rules for overloads with non-default arguments. Fixes #6541

11 years agoInline AM_COND_IF for configure to work with ancient aclocal
Marek Safar [Thu, 16 Aug 2012 07:09:16 +0000 (08:09 +0100)]
Inline AM_COND_IF for configure to work with ancient aclocal

11 years agoFree the newly added assembly->remapped_tokens hashtable.
Zoltan Varga [Thu, 16 Aug 2012 00:47:15 +0000 (02:47 +0200)]
Free the newly added assembly->remapped_tokens hashtable.

11 years agoFree the newly added assembly->remapped_tokens hashtable.
Zoltan Varga [Thu, 16 Aug 2012 00:45:15 +0000 (02:45 +0200)]
Free the newly added assembly->remapped_tokens hashtable.

11 years agoHandle ConstructorBuilders in fixup_cattrs () correctly. Fixes #689533 (nemerle build).
Zoltan Varga [Thu, 16 Aug 2012 00:04:02 +0000 (02:04 +0200)]
Handle ConstructorBuilders in fixup_cattrs () correctly. Fixes #689533 (nemerle build).

11 years agoMerge pull request #430 from Nican/master
Marek Safar [Wed, 15 Aug 2012 12:41:52 +0000 (05:41 -0700)]
Merge pull request #430 from Nican/master

Infinite recursion with GetCurrentDirectory and security enabled

11 years agoFixed incorrect line spacing
Nican [Wed, 15 Aug 2012 05:35:03 +0000 (01:35 -0400)]
Fixed incorrect line spacing

11 years agoWhen enabling security with "mono_security_enable_core_clr" on a Windows machine...
Nican [Wed, 15 Aug 2012 05:31:09 +0000 (01:31 -0400)]
When enabling security with "mono_security_enable_core_clr" on a Windows machine, it causes an infinite recession when calling System.IO.Directory.GetCurrentDirectory.

The loop is happening between these calls:
https://github.com/mono/mono/blob/92d8961e0b244429d4d82176f4b33c8a4b3b064c/mcs/class/corlib/System.IO/Path.cs#L298
https://github.com/mono/mono/blob/3c39ac4586b4470703fb4af0208b5baf1de70e43/mcs/class/corlib/System.Security.Permissions/FileIOPermission.cs#L157
https://github.com/mono/mono/blob/9322e0d16b0edc054947279af34d3c7afb286c89/mcs/class/corlib/System.IO/Directory.cs#L248

Stack trace as follows:

The requested operation caused a stack overflow.  at (wrapper managed-to-native) System.IO.MonoIO:GetCurrentDirectory (System.IO.MonoIOError&)
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathInternal (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathList (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathInternal (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathList (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
...Snip...

11 years agoEmit AOT line number information on osx/ios too.
Zoltan Varga [Wed, 15 Aug 2012 04:47:28 +0000 (06:47 +0200)]
Emit AOT line number information on osx/ios too.

11 years agoRevert 4e5e52a29818b5342ec3b9f0b51c74970765c071, which was pull request 242, which...
Miguel de Icaza [Tue, 14 Aug 2012 21:00:31 +0000 (17:00 -0400)]
Revert 4e5e52a29818b5342ec3b9f0b51c74970765c071, which was pull request 242, which was novell bugzilla #689533

This patch miscompiled attributes like this:

                [EditorBrowsable (EditorBrowsableState.Advanced)]
                [Export ("init")]
                public  CAKeyFrameAnimation () : base (NSObjectFlag.Empty)
                {
                        if (IsDirectBinding) {
                                Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.Init);
                        } else {
                                Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.Init);
                        }
                }

In particular the [Export ("init")] method to be compiled like this:

    // method line 6274
    .method public hidebysig specialname rtspecialname
           instance default void '.ctor' ()  cil managed
    {
        .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) =  (01 00 02 00 00 00 00 00 ) // ........

        .custom instance void class MonoMac.CoreGraphics.CGImage::'.ctor'(int32, int32, int32, int32, int32, class MonoMac.CoreGraphics.CGColorSpace, valuetype MonoMac.CoreGraphics.CGImageAlphaInfo, class MonoMac.CoreGraphics.CGDataProvider, float32[], bool, valuetype MonoMac.CoreGraphics.CGColorRenderingIntent) =  (01 00 04 69 6E 69 74 00 00 ) // ...init..

Notice the "CGImage" attribtue instead of the ExportAttribute

11 years agoMerge pull request #429 from penberg/fixes/typo-in-mini-amd64
Zoltan Varga [Tue, 14 Aug 2012 20:45:50 +0000 (13:45 -0700)]
Merge pull request #429 from penberg/fixes/typo-in-mini-amd64

Fix 'caller saved' typo in mono_arch_allocate_vars()

11 years agoFix code indentation and formatting
Thomas Goldstein [Tue, 14 Aug 2012 19:58:54 +0000 (21:58 +0200)]
Fix code indentation and formatting

11 years agoFix 'caller saved' typo in mono_arch_allocate_vars()
Pekka Enberg [Tue, 14 Aug 2012 19:45:05 +0000 (22:45 +0300)]
Fix 'caller saved' typo in mono_arch_allocate_vars()

The reserved space is for 'callee-save' registers, not 'caller-save', as
shown by the check for 'AMD64_IS_CALLEE_SAVED_REG' in the loop next to
the comment.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
11 years agoSome gcc versions ICE when inlining code using computed gotos.
Rodrigo Kumpera [Tue, 14 Aug 2012 18:59:22 +0000 (15:59 -0300)]
Some gcc versions ICE when inlining code using computed gotos.

11 years agoSprinkle some inlining annotations magic to bring performance back to the 2.10 levels.
Rodrigo Kumpera [Mon, 13 Aug 2012 23:07:44 +0000 (20:07 -0300)]
Sprinkle some inlining annotations magic to bring performance back to the 2.10 levels.

* sgen-copy-object.h: For some reason gcc's inlining heuristics for serial_copy_object
from serial_scan_object reason not to inline it. This causes a 20% increase in nursery
scanning times.

Be explicit about inlining hints to make sure we get what we need.

11 years agoGive the minor copy functions different names under for each minor collector to make...
Rodrigo Kumpera [Mon, 13 Aug 2012 23:07:33 +0000 (20:07 -0300)]
Give the minor copy functions different names under for each minor collector to make profilers (Intruments) happy.

11 years agoFix ArgumentOutOfRangeException in HttpListenerManager.TryDequeueRequest when timeout...
Maciej Paszta [Tue, 14 Aug 2012 11:43:59 +0000 (13:43 +0200)]
Fix ArgumentOutOfRangeException in HttpListenerManager.TryDequeueRequest when timeout is less than 0

11 years agoFix monolite bootstrap
Marek Safar [Tue, 14 Aug 2012 08:31:47 +0000 (09:31 +0100)]
Fix monolite bootstrap

11 years agoMerge pull request #427 from knittl/toolstrip-dispose
Marek Safar [Tue, 14 Aug 2012 07:45:33 +0000 (00:45 -0700)]
Merge pull request #427 from knittl/toolstrip-dispose

Toolstrip dispose

11 years agoMerge pull request #426 from knittl/preferredwidth-minimumwidth
Marek Safar [Tue, 14 Aug 2012 07:44:24 +0000 (00:44 -0700)]
Merge pull request #426 from knittl/preferredwidth-minimumwidth

Return at least MinimumWidth instead of 0 in GetPreferredWidth

11 years agoReturn at least MinimumWidth instead of 0 in GetPreferredWidth
Daniel Knittl-Frank [Sun, 1 Apr 2012 20:08:10 +0000 (22:08 +0200)]
Return at least MinimumWidth instead of 0 in GetPreferredWidth

Otherwise we cannot use GetPreferredWidth as new Width, since this will
throw an Exception (ArgumentOutOfRange).
It's not a real fix, but it avoids crashes when using this method to
assign a new width for columns. Attached a MonoTODO to make this clear.

Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
11 years agoDo not calculate autosize of ToolStripItem when owner gets set to null
Daniel Knittl-Frank [Wed, 23 May 2012 16:15:26 +0000 (18:15 +0200)]
Do not calculate autosize of ToolStripItem when owner gets set to null

Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
11 years agoProperly dispose ToolStrip objects and child objects
Daniel Knittl-Frank [Wed, 23 May 2012 14:16:01 +0000 (16:16 +0200)]
Properly dispose ToolStrip objects and child objects

Check if `dispose' is actually set, and only then call Dispose on
children. This patch was written with the help of alan from #monodev
IRC.

Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
11 years agoDon't try to create fast property getters of properties of open types. Fixes #6034.
Zoltan Varga [Tue, 14 Aug 2012 02:56:41 +0000 (04:56 +0200)]
Don't try to create fast property getters of properties of open types. Fixes #6034.

11 years agoImplement batched method invokes in sdb.
Zoltan Varga [Mon, 13 Aug 2012 00:05:46 +0000 (02:05 +0200)]
Implement batched method invokes in sdb.

11 years agoAdd test cases from #6510
Sebastien Pouliot [Mon, 13 Aug 2012 15:16:45 +0000 (11:16 -0400)]
Add test cases from #6510

11 years agoPass SSL certificate chain, not just collection, to Mono.Android.dll
Jonathan Pryor [Mon, 13 Aug 2012 17:44:16 +0000 (13:44 -0400)]
Pass SSL certificate chain, not just collection, to Mono.Android.dll

Fixes BCL half of: https://bugzilla.xamarin.com/show_bug.cgi?id=6501

Today I learned that the SSL certificate collection (as held in
X509CertificateCollection) is a potentially unordered sequence of SSL
certificates, which not all versions of Android will validate.

The fix is to use the properly ordered SSL certificate chain (as held
in X509Chain), and have Android validate that.

11 years agoDon't build Mono.CompilerServices.SymbolWriter for monotouch (it cannot be used)
Marek Safar [Mon, 13 Aug 2012 15:59:33 +0000 (16:59 +0100)]
Don't build Mono.CompilerServices.SymbolWriter for monotouch (it cannot be used)

11 years agoAllow configure mono with any profile to be disabled
Marek Safar [Mon, 13 Aug 2012 15:33:38 +0000 (16:33 +0100)]
Allow configure mono with any profile to be disabled

11 years agoUpdate to the latest IKVM.Reflection
Marek Safar [Mon, 13 Aug 2012 10:44:51 +0000 (11:44 +0100)]
Update to the latest IKVM.Reflection

11 years agoRevert "Fixes 4010. After working with Microsoft SQL Server experts it turns out...
Marek Safar [Mon, 13 Aug 2012 09:55:23 +0000 (10:55 +0100)]
Revert "Fixes 4010. After working with Microsoft SQL Server experts it turns out we were able to drive so many packets to the server we were causing it grief. By increasing the packet level size this problem disappears."

This breaks .net compatibility and probably just hides underlying problem

This reverts commit 8c2640437118b31b8d2033ec1da4fe0aa0ed4c5a.

11 years agoRemove NET_2_0
Marek Safar [Mon, 13 Aug 2012 09:47:32 +0000 (10:47 +0100)]
Remove NET_2_0

11 years agoRevert "Don't use scheme if not an absolute URI"
Marek Safar [Mon, 13 Aug 2012 09:29:06 +0000 (10:29 +0100)]
Revert "Don't use scheme if not an absolute URI"

Breaks existing tests

This reverts commit cf497bf47ebb014236447557328391b5badb7e2c.

11 years agoFix a memory leak in the sdb connection code.
Zoltan Varga [Sun, 12 Aug 2012 21:30:36 +0000 (23:30 +0200)]
Fix a memory leak in the sdb connection code.

11 years agoFix a warning.
Zoltan Varga [Sat, 11 Aug 2012 15:26:53 +0000 (17:26 +0200)]
Fix a warning.

11 years agoMerge pull request #408 from strawd/master
Gonzalo Paniagua Javier [Sat, 11 Aug 2012 04:16:36 +0000 (21:16 -0700)]
Merge pull request #408 from strawd/master

Further fixes for compatibility with ASP.NET Web API

11 years agoFix a DNS test.
Zoltan Varga [Sat, 11 Aug 2012 00:20:21 +0000 (02:20 +0200)]
Fix a DNS test.

11 years agoAvoid a fixed port number in a test.
Zoltan Varga [Fri, 10 Aug 2012 23:19:44 +0000 (01:19 +0200)]
Avoid a fixed port number in a test.

11 years agoWrap potential exceptions (like #6425 NRE) inside an (expected) WebException
Sebastien Pouliot [Fri, 10 Aug 2012 20:53:38 +0000 (16:53 -0400)]
Wrap potential exceptions (like #6425 NRE) inside an (expected) WebException

11 years agoMerge pull request #414 from sesef/datagrid
Miguel de Icaza [Fri, 10 Aug 2012 19:36:32 +0000 (12:36 -0700)]
Merge pull request #414 from sesef/datagrid

Fix #3125

11 years agoMerge pull request #422 from ianbattersby/bz6389-InvalidSwitch
Miguel de Icaza [Fri, 10 Aug 2012 19:35:02 +0000 (12:35 -0700)]
Merge pull request #422 from ianbattersby/bz6389-InvalidSwitch

Fix for bz6389 - Absolute paths to project files cause error: 'MSBUILD00...

11 years agoFix failing test
Marek Safar [Fri, 10 Aug 2012 07:07:06 +0000 (08:07 +0100)]
Fix failing test

11 years agoMerge pull request #425 from enricosada/bug5230
Marek Safar [Fri, 10 Aug 2012 06:51:32 +0000 (23:51 -0700)]
Merge pull request #425 from enricosada/bug5230

Fix bug 5230

11 years agoMerge pull request #424 from enricosada/bug290
Marek Safar [Fri, 10 Aug 2012 06:50:24 +0000 (23:50 -0700)]
Merge pull request #424 from enricosada/bug290

Fix bug 290

11 years agoadd QueryStringConverter String <-> Enum
Enrico Sada [Thu, 9 Aug 2012 23:31:32 +0000 (01:31 +0200)]
add QueryStringConverter String <-> Enum

fix bug https://bugzilla.xamarin.com/show_bug.cgi?id=5230

11 years agoServiceHost.Open should throw InvalidOperationException if service contract has zero...
Enrico Sada [Thu, 9 Aug 2012 20:53:36 +0000 (22:53 +0200)]
ServiceHost.Open should throw InvalidOperationException if service contract has zero operations

Fix bug https://bugzilla.xamarin.com/show_bug.cgi?id=290

11 years agoBump version number to 2.11.4
Duncan Mak [Thu, 9 Aug 2012 21:04:38 +0000 (17:04 -0400)]
Bump version number to 2.11.4

11 years agoFixes 4010. After working with Microsoft SQL Server experts it turns out we were...
Neale Ferguson [Thu, 9 Aug 2012 16:12:53 +0000 (12:12 -0400)]
Fixes 4010. After working with Microsoft SQL Server experts it turns out we were able to drive so many packets to the server we were causing it grief. By increasing the packet level size this problem disappears.

11 years ago[Sqlite] Rework type mapping between sqllite and .net using sqlite's substring matchi...
Rolf Bjarne Kvinge [Thu, 9 Aug 2012 10:24:02 +0000 (12:24 +0200)]
[Sqlite] Rework type mapping between sqllite and .net using sqlite's substring matching. Hopefully this will fix #5577 for good.

11 years agoBump the debian submodule to the right revision again
Alan McGovern [Thu, 9 Aug 2012 10:35:59 +0000 (11:35 +0100)]
Bump the debian submodule to the right revision again

someone accidentally reverted it to an old commit.

11 years agoDon't throw NRE when custom formatter returns null
Marek Safar [Thu, 9 Aug 2012 09:51:03 +0000 (10:51 +0100)]
Don't throw NRE when custom formatter returns null

11 years agoFix 2.0 test only
Marek Safar [Thu, 9 Aug 2012 09:09:12 +0000 (10:09 +0100)]
Fix 2.0 test only

11 years agoImplement TypeConverter.ConvertTo cultureInfo support. Fixes #6322
Marek Safar [Thu, 9 Aug 2012 09:03:36 +0000 (10:03 +0100)]
Implement TypeConverter.ConvertTo cultureInfo support. Fixes #6322

11 years agoBetter type check
Marek Safar [Thu, 9 Aug 2012 07:50:27 +0000 (08:50 +0100)]
Better type check

11 years agoRemove DebuggerDisplay from nullable (it needs special debugger support)
Marek Safar [Wed, 8 Aug 2012 13:34:58 +0000 (14:34 +0100)]
Remove DebuggerDisplay from nullable (it needs special debugger support)

11 years agoRemove DebuggerDisplay from nullable (it needs special debugger support)
Marek Safar [Wed, 8 Aug 2012 13:34:58 +0000 (14:34 +0100)]
Remove DebuggerDisplay from nullable (it needs special debugger support)

11 years agoImplement genitive month name formating for reversed day-month formats. Fixes #6417
Marek Safar [Wed, 8 Aug 2012 13:22:13 +0000 (14:22 +0100)]
Implement genitive month name formating for reversed day-month formats. Fixes #6417

11 years agoMerge pull request #423 from desunit/master
Marek Safar [Wed, 8 Aug 2012 12:31:47 +0000 (05:31 -0700)]
Merge pull request #423 from desunit/master

XmlConvert.ToString to TimeSpan incorrectly returns T suffix even if Time was not set (0h 0m 0s)

11 years ago- XmlConvert.ToString to TimeSpan incorrectly returns T suffix even if Time was not...
Sergey Bogdanov [Wed, 8 Aug 2012 12:13:20 +0000 (15:13 +0300)]
- XmlConvert.ToString to TimeSpan incorrectly returns T suffix even if Time was not set (0h 0m 0s)

11 years agoRemove unused decimal2string icall
Marek Safar [Wed, 8 Aug 2012 10:25:13 +0000 (11:25 +0100)]
Remove unused decimal2string icall

11 years agoFix parsing decimal zero values. Fixes #6444
Marek Safar [Wed, 8 Aug 2012 10:14:47 +0000 (11:14 +0100)]
Fix parsing decimal zero values. Fixes #6444

11 years agoUse faster lenght comparison
Marek Safar [Wed, 8 Aug 2012 10:12:45 +0000 (11:12 +0100)]
Use faster lenght comparison

11 years ago[corlib] Fixed performance regression in qsort() functions
Jeffrey Stedfast [Tue, 7 Aug 2012 23:06:50 +0000 (19:06 -0400)]
[corlib] Fixed performance regression in qsort() functions

Many thanks to Martin Potter who both discovered this performance
regression, providing a test case, and proposing this patch/solution.

If most of the keys have identical values as the pivot, the partitions
would become largely lopsided resulting in a worst-case scenario runtime.

We can avoid this worst-case scenario by keeping the partitions better
balanced. To do this, we can modify the "closing-in of the walls" loops
to allow items with keys identical to the pivot to be swapped to the
higher-order partition (the previous implementation would greedily
keep them in the low-order partition).

As an added bonus, this also allows us to remove the code that was needed
to keep track of the pivot index.