Jeffrey Stedfast [Tue, 7 Aug 2012 16:17:16 +0000 (12:17 -0400)]
[corlib] Fallback to Insertion Sort in the non-generic qsort()
Many thanks to Martin Potter <martin.potter@logos.com> for taking
the time to implement this, crossing it off of the long TODO list!
Jeffrey Stedfast [Tue, 7 Aug 2012 16:03:24 +0000 (12:03 -0400)]
[corlib] Make all qsort() implementations completely non-recursive
This is a better fix for StackOverflowExceptions on large data sets.
Marek Safar [Tue, 7 Aug 2012 14:09:50 +0000 (15:09 +0100)]
Fix type inference with explicit non-generic types. Fixes #6421
Marek Safar [Tue, 7 Aug 2012 07:32:12 +0000 (00:32 -0700)]
Merge pull request #420 from LogosBible/bug6405
Bug #6405: If a CookieContainer is set, always use its cookies.
Jeffrey Stedfast [Mon, 6 Aug 2012 20:47:58 +0000 (16:47 -0400)]
[corlib] Modified Array.qsort*() to inline sorting of the larger partition
This prevents potential StackOverflowExceptions on really large data sets.
Partial fix for bug #6406
Atsushi Eno [Mon, 6 Aug 2012 20:29:09 +0000 (13:29 -0700)]
Merge pull request #411 from Alkarex/patch-2
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/XsdDatatypeProv...
Martin Potter [Mon, 6 Aug 2012 19:00:39 +0000 (12:00 -0700)]
Unit tests for Bug #6405
Unit tests for https://bugzilla.xamarin.com/show_bug.cgi?id=6405
Marek Safar [Mon, 6 Aug 2012 15:17:53 +0000 (08:17 -0700)]
Merge pull request #419 from LogosBible/bug6404
Bug #6404: System.Text.Encoder only throws ArgumentOutOfRangeException when appropriate
Marek Safar [Mon, 6 Aug 2012 15:17:05 +0000 (08:17 -0700)]
Merge pull request #418 from LogosBible/bug6403
Bug #6403: Use MidpointRounding.AwayFromZero when rounding creating a TimeSpan.FromXXX.
Marek Safar [Mon, 6 Aug 2012 15:14:49 +0000 (08:14 -0700)]
Merge pull request #416 from LogosBible/
a29fd0668e4303d71acb46fb3acfa1f1d451d161
Fix for incorrect behavior of Guid.TryParse and Guid.TryParseExact. Bug Id: 6402
Martin Potter [Wed, 1 Aug 2012 14:11:46 +0000 (07:11 -0700)]
If a CookieContainer is set, always use its cookies.
Previously, cookies from the WebHeaderCollection and CookieContainer were sent. This also fixes a bug with ServicePoint sending duplicate cookies when SendRequestHeaders is called more than once:
* WebConnection.InitConnection
* HttpWebRequest.SetWriteStream
* HttpWebRequest. SendRequestHeaders
* WebConnectionStream.WriteRequest
* HttpWebRequest.SendRequestHeaders
Replacing the cookie header value in the WebHeaderCollection with the cookies stored in the CookieContainer also matches the behavior of Microsoft's .NET implementation.
Martin Potter [Tue, 17 Jul 2012 15:33:51 +0000 (08:33 -0700)]
Updating System.Text.Encoder's Convert method bounds checking to be compliant with Microsoft's documentation. (msdn.microsoft.com/en-us/library/dh0797c4.aspx)
Martin Potter [Tue, 17 Jul 2012 15:34:58 +0000 (08:34 -0700)]
Using MidpointRounding.AwayFromZero for rounding the calculated number of Ticks when creating a TimeSpan.FromXXX.
Martin Potter [Mon, 6 Aug 2012 01:23:10 +0000 (18:23 -0700)]
Guid.TryParse and Guid.TryParseExact should not throw exceptions.
According to the MSDN documentation, http://msdn.microsoft.com/en-us/library/system.guid.tryparse.aspx and http://msdn.microsoft.com/en-us/library/system.guid.tryparseexact.aspx, Guid.TryParse and Guid.TryParseExact should "return false if input is null or not in a recognized format, and does not throw an exception."
Zoltan Varga [Sun, 5 Aug 2012 00:29:31 +0000 (20:29 -0400)]
Fix MethodMirror.GetCustomAttributes ().
Marek Safar [Sat, 4 Aug 2012 22:55:58 +0000 (15:55 -0700)]
Merge pull request #415 from enricosada/bug6373
Use HashSet.Comparer for set methods with IEnumerable collection
Enrico Sada [Sat, 4 Aug 2012 17:06:19 +0000 (19:06 +0200)]
Use HashSet.Comparer for set methods with IEnumerable collection
fix bug 6373 ( https://bugzilla.xamarin.com/show_bug.cgi?id=6373 )
Marek Safar [Sat, 4 Aug 2012 15:34:57 +0000 (11:34 -0400)]
Fix typo
Zoltan Varga [Fri, 3 Aug 2012 14:00:06 +0000 (10:00 -0400)]
Convert the argument of OP_INOT to int in the llvm backend. Fixes #6377.
Jeffrey Stedfast [Fri, 3 Aug 2012 13:49:39 +0000 (09:49 -0400)]
[Mono.Debugger.Soft] Implemented MethodMirror.GetCustomAttributes()
Marek Safar [Thu, 2 Aug 2012 21:59:29 +0000 (17:59 -0400)]
Increase buffer length for full ast parser. Fixes #6276
Marek Safar [Thu, 2 Aug 2012 18:21:03 +0000 (19:21 +0100)]
Fix failing test
Rodrigo Kumpera [Thu, 2 Aug 2012 17:43:12 +0000 (13:43 -0400)]
Disable native trace collection and spew on desktop.
Marek Safar [Thu, 2 Aug 2012 17:21:40 +0000 (10:21 -0700)]
Merge pull request #413 from AerisG222/http_capability_provider
http capability provider
aerisg222 [Thu, 2 Aug 2012 16:49:26 +0000 (12:49 -0400)]
initial implementation of http capability provider introduced in .net 4.0.
Paolo Molaro [Thu, 2 Aug 2012 16:10:23 +0000 (18:10 +0200)]
Fixes xambug#2965: enqueue the correct worker instance (change from Tammo Hinrichs).
Marek Safar [Wed, 1 Aug 2012 21:18:45 +0000 (22:18 +0100)]
Fix 2.0 attributeusage
Zoltan Varga [Wed, 1 Aug 2012 19:32:14 +0000 (15:32 -0400)]
Implement support for DebuggerHiddenAttribute.
Zoltan Varga [Wed, 1 Aug 2012 19:25:27 +0000 (15:25 -0400)]
Put the cas flags in MonoJitInfo into a separate structure to free up a free bits.
Jonathan Pryor [Tue, 31 Jul 2012 11:34:16 +0000 (07:34 -0400)]
Enable IPv6 support under Android.
Android now supports IPv6.
Reverts:
55a3c344
Marek Safar [Mon, 30 Jul 2012 19:50:08 +0000 (12:50 -0700)]
Merge pull request #410 from sblom/threadcount
Return correctly-sized ProcessThreadCollection to enable Threads.Count.
Atsushi Eno [Mon, 30 Jul 2012 17:08:24 +0000 (10:08 -0700)]
Merge pull request #412 from Alkarex/patch-3
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngValidati...
Alexandre Alapetite [Mon, 30 Jul 2012 10:13:33 +0000 (13:13 +0300)]
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngValidatingReader.cs
There should not be such a big difference in behaviour when the application listens to the InvalidNodeFound event or not.
Furthermore, before the patch, the following document would fail:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>XHTML5 test</title></head>
<body><p>This is a <span>simple</span> test.</p></body>
</html>
because "cachedValue" contains "This is a".
(Tests done with http://syntax.whattf.org/relaxng/xhtml5.rnc )
I have a suspicion however that there is a problem in the logic of this function.
Cordially,
Alexandre
http://alexandre.alapetite.fr
Alexandre Alapetite [Mon, 30 Jul 2012 09:55:26 +0000 (12:55 +0300)]
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/XsdDatatypeProvider.cs
The text, which arrives decoded, must be escaped when manually concatenating strings aimed to be consumed by an XML reader.
For instance, if the original document to be validated contains
<a href="http://example.org/?a=1&b=2">fail</a>
then value will contain "http://example.org/?a=1&b=2"
and before the patch, that would have generated an exception.
I am not sure however, if the whole Parse() function works correctly.
In addition, the function is using XmlValidatingReader, which is deprecated.
Scott Blomquist [Sun, 29 Jul 2012 23:50:17 +0000 (16:50 -0700)]
Return correctly-sized ProcessThreadCollection to enable Threads.Count.
Steven Boswell II [Sun, 29 Jul 2012 17:56:43 +0000 (19:56 +0200)]
Fix DataGridView.Dispose test regressions
Thomas Goldstein [Sun, 29 Jul 2012 08:49:19 +0000 (10:49 +0200)]
Fix TestDispose test to work with NUnit < 2.5
Thomas Goldstein [Sat, 28 Jul 2012 10:46:09 +0000 (12:46 +0200)]
Add unit test for Novell bug 660986
eb1@sil.org [Sat, 28 Jul 2012 10:44:48 +0000 (12:44 +0200)]
Ensure DataGridView disposes of its columns and rows. Fixes Novell bug 660986.
Thomas Goldstein [Sat, 28 Jul 2012 09:13:31 +0000 (11:13 +0200)]
Dispose of form to avoid TearDown warning
Steven Boswell II [Sat, 28 Jul 2012 09:01:08 +0000 (11:01 +0200)]
Match .NET behavior with AutoSize Columns/Rows when no control starts in column 1
Marek Safar [Fri, 27 Jul 2012 14:23:19 +0000 (15:23 +0100)]
Update old test
Marek Safar [Fri, 27 Jul 2012 14:14:35 +0000 (15:14 +0100)]
Don't remove hoisted this when state machine holds reduced anonymous method
Jeremie Laval [Fri, 27 Jul 2012 13:16:56 +0000 (14:16 +0100)]
[System] Ensure we use logical shift and not arithmetic shift
Marek Safar [Fri, 27 Jul 2012 12:42:22 +0000 (13:42 +0100)]
Fix GAC path
Marek Safar [Fri, 27 Jul 2012 11:24:47 +0000 (12:24 +0100)]
Fix EF spec category
Marek Safar [Fri, 27 Jul 2012 11:21:17 +0000 (12:21 +0100)]
Fix types signature
Marek Safar [Fri, 27 Jul 2012 10:27:26 +0000 (11:27 +0100)]
Fix attribute arguments
Martin Baulig [Fri, 27 Jul 2012 07:13:11 +0000 (09:13 +0200)]
StreamContent.TryComputeLength(): Check content.CanSeek
Marek Safar [Fri, 27 Jul 2012 08:16:40 +0000 (09:16 +0100)]
Remove duplicate entry
Marek Safar [Fri, 27 Jul 2012 08:03:43 +0000 (09:03 +0100)]
Add EntityFramework (not same as System.Data.Entity)
Marek Safar [Fri, 27 Jul 2012 07:59:57 +0000 (08:59 +0100)]
Set resume point correctly for await inside nested try
Marek Safar [Fri, 27 Jul 2012 07:54:03 +0000 (08:54 +0100)]
Add some missing methods
Marek Safar [Fri, 27 Jul 2012 07:25:38 +0000 (08:25 +0100)]
Clean up old defines
Steven Boswell II [Thu, 26 Jul 2012 18:42:52 +0000 (20:42 +0200)]
Properly update the combo box selected text when the current item is changed, and a part of the text is selected
Jeremie Laval [Thu, 26 Jul 2012 16:30:13 +0000 (17:30 +0100)]
[corlib] Slightly better ToArray/CopyTo methods for ConcurrentStack / ConcurrentQueue
Marek Safar [Thu, 26 Jul 2012 16:26:35 +0000 (17:26 +0100)]
Add some missing methods
Marek Safar [Thu, 26 Jul 2012 14:10:09 +0000 (15:10 +0100)]
Don't crash when nullable user conversion requires lifted constant argument
Jeremie Laval [Thu, 26 Jul 2012 15:59:24 +0000 (16:59 +0100)]
[corlib] Fix ConcurrentStack TryPopRange to update count atomically
Marek Safar [Thu, 26 Jul 2012 11:48:27 +0000 (12:48 +0100)]
Fix attribute arguments
Marek Safar [Thu, 26 Jul 2012 11:47:09 +0000 (12:47 +0100)]
Add boxed attribute arguments extraction
Marek Safar [Wed, 25 Jul 2012 15:55:20 +0000 (16:55 +0100)]
Check assignment of delegates out parameters.
Jeremie Laval [Wed, 25 Jul 2012 16:36:55 +0000 (17:36 +0100)]
[System] Check for Abort state when poping so that we can retry
Marek Habersack [Wed, 25 Jul 2012 12:42:41 +0000 (08:42 -0400)]
Merge branch 'master' of github.com:mono/mono
Marek Habersack [Wed, 25 Jul 2012 12:42:09 +0000 (08:42 -0400)]
Update to fix for Novell bug #739119
Jeremie Laval [Wed, 25 Jul 2012 11:42:14 +0000 (12:42 +0100)]
[corlib] Fix ObjectPool to not incorrectly assume it was succeeding when its trial period ran out
Reported by Greg Young
Jeremie Laval [Wed, 25 Jul 2012 11:36:03 +0000 (12:36 +0100)]
[corlib] Add missing barrier to ObjectPool and comment the code
Martin Baulig [Wed, 25 Jul 2012 08:47:37 +0000 (01:47 -0700)]
Merge pull request #392 from baulig/master
HttpClient fixes
* Check errors, fix tests on Windows.
* Disallow modifying properties after sending a request
* Close connection in HttpClient.GetStringAsync() and GetByteArrayAsync().
* Increase HttpContent.LoadIntoBufferAsync()'s internal buffer size to 65536.
Martin Baulig [Tue, 24 Jul 2012 07:29:54 +0000 (09:29 +0200)]
HttpContent.LoadIntoBufferAsync(): increase buffer size to 65536.
FIXME LAMESPEC: This limitation seems very arbitrary to me, but
.NET seems to be using 65536 as well.
Marek Habersack [Tue, 24 Jul 2012 22:49:34 +0000 (18:49 -0400)]
Fix for Novell bug #739119
Steven Boswell II [Tue, 24 Jul 2012 18:50:57 +0000 (20:50 +0200)]
Implement the drawing of mixed-mode check boxes
Steven Boswell II [Tue, 24 Jul 2012 18:11:23 +0000 (20:11 +0200)]
Properly fill in the whole TableLayoutPanel with dummy controls
Jeremie Laval [Tue, 24 Jul 2012 15:59:48 +0000 (16:59 +0100)]
[System] Optimize ConcurrentBag, implement TryPeek and add unit tests
Initially reported by linquize
Alan McGovern [Tue, 24 Jul 2012 14:54:29 +0000 (07:54 -0700)]
Merge pull request #406 from directhex/master
Un-revert debian snapshot changes
Jo Shields [Tue, 24 Jul 2012 14:46:15 +0000 (15:46 +0100)]
Merge remote-tracking branch 'github/master'
Conflicts:
external/debian-snapshot
Gonzalo Paniagua Javier [Tue, 24 Jul 2012 04:28:56 +0000 (00:28 -0400)]
Remove compiler warning
Gonzalo Paniagua Javier [Tue, 24 Jul 2012 04:22:13 +0000 (00:22 -0400)]
Avoid possible duplicate fds in the list
Miguel de Icaza [Tue, 24 Jul 2012 01:35:41 +0000 (21:35 -0400)]
Render obsolete attributes on members
Jeremie Laval [Mon, 23 Jul 2012 15:49:55 +0000 (16:49 +0100)]
[corlib] Dont use blocking wait call in CancellationTokenSource test
Jérémie Laval [Mon, 23 Jul 2012 11:59:47 +0000 (12:59 +0100)]
[corlib] Remove now unneeded line
Jérémie Laval [Mon, 23 Jul 2012 11:54:21 +0000 (12:54 +0100)]
[corlib] Also unregister linked tokens when the proxy CancellationTokenSource becomes cancelled.
Jérémie Laval [Mon, 23 Jul 2012 11:48:40 +0000 (12:48 +0100)]
[corlib] Linked token callback to the proxy CancellationTokenSource shouldn't throw ODE in concurrent situations.
Jérémie Laval [Mon, 23 Jul 2012 10:47:48 +0000 (11:47 +0100)]
[corlib] Dispose linked tokens connections when disposing the resulting CancellationTokenSource
Based on baulig's patch: https://github.com/baulig/mono/commit/
3ee4f7600b8efe61f7a701a93fffed8373b7b4b3
Marek Safar [Mon, 23 Jul 2012 09:24:03 +0000 (10:24 +0100)]
Flag a field as used when used as an extension method argument. Fixes #6159
Marek Safar [Mon, 23 Jul 2012 09:13:27 +0000 (10:13 +0100)]
Fix typo in OldValue/NewValue
Atsushi Eno [Mon, 23 Jul 2012 04:04:47 +0000 (21:04 -0700)]
Merge pull request #398 from xcrash/feature/wcf.mex.https
Fix binding for MexHttps
Miguel de Icaza [Sat, 21 Jul 2012 16:27:20 +0000 (09:27 -0700)]
Merge pull request #303 from ermshiperete/5278
Xamarin-5278: Fix Binder.SelectMethod when passed argument is COM object
Miguel de Icaza [Sat, 21 Jul 2012 16:26:16 +0000 (09:26 -0700)]
Merge pull request #309 from i59/patch-1
Build Configuration: Don't build libmono to Release_SGen in x64 Release ...
Miguel de Icaza [Sat, 21 Jul 2012 16:24:23 +0000 (09:24 -0700)]
Merge pull request #335 from robwilkens/DataGridBugs1
This fixes several bugs in Winforms DataGrid
Miguel de Icaza [Sat, 21 Jul 2012 16:22:01 +0000 (12:22 -0400)]
Revert previous patch, see discussion on https://github.com/mono/mono/pull/337
Miguel de Icaza [Sat, 21 Jul 2012 16:04:58 +0000 (09:04 -0700)]
Merge pull request #337 from robwilkens/IdleThreadsFixes
Fix:Idle event handler was called on every thread rather than thread ass...
Miguel de Icaza [Sat, 21 Jul 2012 15:58:58 +0000 (08:58 -0700)]
Merge pull request #350 from robwilkens/bug1089
Bug 1089 Fix: Fix proc/mod name match by also starting at last / in proc...
Marek Safar [Sat, 21 Jul 2012 08:32:59 +0000 (01:32 -0700)]
Merge pull request #403 from AerisG222/
1596644f26b5b4b1a5106bb3cc0f5db897bfdda4
Add FormsAuthentication.IsEnabled property
Martin Baulig [Sat, 21 Jul 2012 06:32:00 +0000 (08:32 +0200)]
Close connection in HttpClient.GetStringAsync and GetByteArrayAsync().
Rodrigo Kumpera [Fri, 20 Jul 2012 16:20:47 +0000 (13:20 -0300)]
Switch the unhandled exception spew to use the new native backtrace when available.
Rodrigo Kumpera [Fri, 20 Jul 2012 16:20:16 +0000 (13:20 -0300)]
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility available to managed land.
Rodrigo Kumpera [Fri, 20 Jul 2012 16:18:34 +0000 (13:18 -0300)]
Add new mono_exception_get_native_backtrace function that stringify the native backstace with managed and native frames.
Rodrigo Kumpera [Fri, 20 Jul 2012 16:16:03 +0000 (13:16 -0300)]
Fill Exception::native_trace_ips when doing exception handling.
Rodrigo Kumpera [Thu, 19 Jul 2012 19:08:13 +0000 (16:08 -0300)]
Add field to Exception to hold the unmanaged backtrace.
Alan McGovern [Fri, 20 Jul 2012 15:35:57 +0000 (16:35 +0100)]
Update the tests to do actual verification
Ensure the elements really are added twice.