Alexey Moiseev [Thu, 18 Oct 2012 16:22:39 +0000 (19:22 +0300)]
Fixing getgrouplist code to work on all supported systems
Alexey Moiseev [Thu, 13 Sep 2012 10:55:36 +0000 (13:55 +0300)]
Changed implementation of getgrouplist according to Mono coding style.
I've changed imported frim the dll function from getgrouplist to sys_getgrouplist
Public method getgrouplist will take username as parameter and return Group [] array.
Also updated documetation using mdoc.exe utility.
Also updated mdoc.sln file, added index.cs to Mono.Documetation project. That's was done
to make the mdoc.exe compiling without errors
Alexey Moiseev [Fri, 31 Aug 2012 08:49:56 +0000 (11:49 +0300)]
Increased waiting time for the certificate authentication from 100 ms to 1000 ms. Because it was not enough for some kind of requests.
Alexey Moiseev [Wed, 15 Aug 2012 09:23:31 +0000 (12:23 +0300)]
Added getgrouplist to Syscall class
Marek Safar [Tue, 14 Aug 2012 08:31:47 +0000 (09:31 +0100)]
Fix monolite bootstrap
Marek Safar [Tue, 14 Aug 2012 07:45:33 +0000 (00:45 -0700)]
Merge pull request #427 from knittl/toolstrip-dispose
Toolstrip dispose
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
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>
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>
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>
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.
Zoltan Varga [Mon, 13 Aug 2012 00:05:46 +0000 (02:05 +0200)]
Implement batched method invokes in sdb.
Sebastien Pouliot [Mon, 13 Aug 2012 15:16:45 +0000 (11:16 -0400)]
Add test cases from #6510
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.
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)
Marek Safar [Mon, 13 Aug 2012 15:33:38 +0000 (16:33 +0100)]
Allow configure mono with any profile to be disabled
Marek Safar [Mon, 13 Aug 2012 10:44:51 +0000 (11:44 +0100)]
Update to the latest IKVM.Reflection
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.
Marek Safar [Mon, 13 Aug 2012 09:47:32 +0000 (10:47 +0100)]
Remove NET_2_0
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.
Zoltan Varga [Sun, 12 Aug 2012 21:30:36 +0000 (23:30 +0200)]
Fix a memory leak in the sdb connection code.
Zoltan Varga [Sat, 11 Aug 2012 15:26:53 +0000 (17:26 +0200)]
Fix a warning.
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
Zoltan Varga [Sat, 11 Aug 2012 00:20:21 +0000 (02:20 +0200)]
Fix a DNS test.
Zoltan Varga [Fri, 10 Aug 2012 23:19:44 +0000 (01:19 +0200)]
Avoid a fixed port number in a test.
Sebastien Pouliot [Fri, 10 Aug 2012 20:53:38 +0000 (16:53 -0400)]
Wrap potential exceptions (like #6425 NRE) inside an (expected) WebException
Miguel de Icaza [Fri, 10 Aug 2012 19:36:32 +0000 (12:36 -0700)]
Merge pull request #414 from sesef/datagrid
Fix #3125
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...
Marek Safar [Fri, 10 Aug 2012 07:07:06 +0000 (08:07 +0100)]
Fix failing test
Marek Safar [Fri, 10 Aug 2012 06:51:32 +0000 (23:51 -0700)]
Merge pull request #425 from enricosada/bug5230
Fix bug 5230
Marek Safar [Fri, 10 Aug 2012 06:50:24 +0000 (23:50 -0700)]
Merge pull request #424 from enricosada/bug290
Fix bug 290
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
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
Duncan Mak [Thu, 9 Aug 2012 21:04:38 +0000 (17:04 -0400)]
Bump version number to 2.11.4
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.
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.
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.
Marek Safar [Thu, 9 Aug 2012 09:51:03 +0000 (10:51 +0100)]
Don't throw NRE when custom formatter returns null
Marek Safar [Thu, 9 Aug 2012 09:09:12 +0000 (10:09 +0100)]
Fix 2.0 test only
Marek Safar [Thu, 9 Aug 2012 09:03:36 +0000 (10:03 +0100)]
Implement TypeConverter.ConvertTo cultureInfo support. Fixes #6322
Marek Safar [Thu, 9 Aug 2012 07:50:27 +0000 (08:50 +0100)]
Better type check
Marek Safar [Wed, 8 Aug 2012 13:34:58 +0000 (14:34 +0100)]
Remove 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)
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
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)
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)
Marek Safar [Wed, 8 Aug 2012 10:25:13 +0000 (11:25 +0100)]
Remove unused decimal2string icall
Marek Safar [Wed, 8 Aug 2012 10:14:47 +0000 (11:14 +0100)]
Fix parsing decimal zero values. Fixes #6444
Marek Safar [Wed, 8 Aug 2012 10:12:45 +0000 (11:12 +0100)]
Use faster lenght comparison
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.
Ian Battersby [Tue, 7 Aug 2012 20:31:36 +0000 (21:31 +0100)]
Fix for bz6389 - Absolute paths to project files cause error: 'MSBUILD0001: Unknown switch'
Jonathan Pryor [Tue, 7 Aug 2012 19:41:11 +0000 (15:41 -0400)]
Add note that UnixDirectoryInfo.Create() follows umask.
Marek Safar [Tue, 7 Aug 2012 17:26:11 +0000 (18:26 +0100)]
Check same name collision in different namespace containers. Fixes #6378
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
sesef [Thu, 2 Aug 2012 20:17:16 +0000 (22:17 +0200)]
https://bugzilla.xamarin.com/show_bug.cgi?id=3125
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