mono.git
11 years agoMerge pull request #353 from robwilkens/bug2014
Zoltan Varga [Tue, 26 Jun 2012 08:02:25 +0000 (01:02 -0700)]
Merge pull request #353 from robwilkens/bug2014

For Bug 2014: map FcntlCommand to local system command for fcntl_lock

11 years agoUse Ordinal string comparison here.
Miguel de Icaza [Tue, 26 Jun 2012 03:57:09 +0000 (00:57 -0300)]
Use Ordinal string comparison here.

11 years agoMerge branch 'master' of github.com:mono/mono
Martin Baulig [Tue, 26 Jun 2012 03:56:15 +0000 (05:56 +0200)]
Merge branch 'master' of github.com:mono/mono

11 years agoMerge pull request #334 from robwilkens/bug5747
Miguel de Icaza [Tue, 26 Jun 2012 03:54:37 +0000 (20:54 -0700)]
Merge pull request #334 from robwilkens/bug5747

Bug 5747 (MacOSX)Fix: KeventWatcher didn't return subdir names in filenames

11 years agoInclude quotation marks in cookie value.
Martin Baulig [Tue, 26 Jun 2012 03:53:51 +0000 (05:53 +0200)]
Include quotation marks in cookie value.

11 years agoOops, actually remove the 'Date' header.
Martin Baulig [Tue, 26 Jun 2012 01:06:56 +0000 (03:06 +0200)]
Oops, actually remove the 'Date' header.

11 years agoFix DateTime.MinValue in HttpWebRequest.Date.
Martin Baulig [Tue, 26 Jun 2012 00:48:51 +0000 (02:48 +0200)]
Fix DateTime.MinValue in HttpWebRequest.Date.

* HttpWebRequestTest.cs: Extend this by adding each DateTimeKind
  and testing the result.  This test now passes again.

11 years agoFor Bug 2014: map FcntlCommand to local system command for fcntl_lock
Rob Wilkens [Tue, 26 Jun 2012 00:17:24 +0000 (20:17 -0400)]
For Bug 2014: map FcntlCommand to local system command for fcntl_lock

In support/fcntl.c - every time fcntl() was called, it would first map the
cmd from mono's version of it to the system header file version of it.
The only time this wasn't happening was in Mono_Posix_Syscall_fcntl_lock()
and now it does it there too.  This seems to resolve Bug 2014 on both
64-bit linux and on Mac OS X (64-bit).

11 years agoCorrectly parse cookies.
Martin Baulig [Mon, 25 Jun 2012 23:29:28 +0000 (01:29 +0200)]
Correctly parse cookies.

* System.Net/CookieParser.cs: Replace GetNameValue() with Parse(),
  support multiple cookies, errors and "expires=Day, ...".

* Test/System.Net/CookieParserTest.cs: New nunit test suite for that.

11 years agoAdd two test configurations to sgen and silence other sgen tests.
Rodrigo Kumpera [Mon, 25 Jun 2012 19:02:39 +0000 (16:02 -0300)]
Add two test configurations to sgen and silence other sgen  tests.

11 years agoFix another nursery OOM issue.
Rodrigo Kumpera [Mon, 25 Jun 2012 18:54:59 +0000 (15:54 -0300)]
Fix another nursery OOM issue.

11 years agoFix a bunch of bugs in the split nursery allocator.
Rodrigo Kumpera [Mon, 25 Jun 2012 18:42:01 +0000 (15:42 -0300)]
Fix a bunch of bugs in the split nursery allocator.

* sgen-split-nursery.c: Handle nursery OOM correctly for the
serial and parallel allocators. Introduce a bunch of fences
to ensure the parallel allocator is non-TSO safe.

11 years agoAssert on bad arguments to sgen_clear_range.
Rodrigo Kumpera [Mon, 25 Jun 2012 18:35:44 +0000 (15:35 -0300)]
Assert on bad  arguments to sgen_clear_range.

11 years agoMerge pull request #352 from madewokherd/threadinit
Rodrigo Kumpera [Mon, 25 Jun 2012 18:46:09 +0000 (11:46 -0700)]
Merge pull request #352 from madewokherd/threadinit

Don't try to register threads created before initialization on Windows.

11 years agoMove add namespace into new method
Marek Safar [Mon, 25 Jun 2012 18:12:28 +0000 (19:12 +0100)]
Move add namespace into new method

11 years agoFix few tests
Marek Safar [Mon, 25 Jun 2012 15:37:54 +0000 (16:37 +0100)]
Fix few tests

11 years agoDon't try to register threads created before initialization on Windows.
Vincent Povirk [Mon, 25 Jun 2012 15:20:18 +0000 (10:20 -0500)]
Don't try to register threads created before initialization on Windows.

Released under the MIT/X11 License.

11 years agoProperly balance local and global interrupt flags. Properly clear interrupt flags...
Rodrigo Kumpera [Sat, 23 Jun 2012 03:08:42 +0000 (00:08 -0300)]
Properly balance local and global interrupt flags. Properly clear interrupt flags on cleanup.

* threads.c: All state changes to MonoInternalThread:interruption_requested must
be matched to thread_interruption_requested. This means incrementing the global one
when setting the other and decrementing when clearing.

We much check the thread flag during cleanup to avoid missing a descrement and leaving
the global flag with a positive value and make performance suffer due to excessive
polling.

11 years agoMerge pull request #349 from JamesB7/229b363ef861ab9456f8bdc428c550e2241688e9
Marek Habersack [Mon, 25 Jun 2012 12:37:07 +0000 (05:37 -0700)]
Merge pull request #349 from JamesB7/229b363ef861ab9456f8bdc428c550e2241688e9

Unbreak build-mingw32.sh... with this patch, it builds on Debian 6 no trouble. (corrected)

11 years agoImplement 4.5 assembly attributes
Marek Safar [Mon, 25 Jun 2012 12:25:27 +0000 (13:25 +0100)]
Implement 4.5 assembly attributes

11 years agoDisable more tests
Marek Safar [Mon, 25 Jun 2012 10:48:38 +0000 (11:48 +0100)]
Disable more tests

11 years agoDisable TestGroupBy
Marek Safar [Mon, 25 Jun 2012 10:11:43 +0000 (11:11 +0100)]
Disable TestGroupBy

11 years agoSqlite: Map BOOLEAN to System.Boolean. Fixes #5768.
Rolf Bjarne Kvinge [Mon, 25 Jun 2012 09:55:01 +0000 (11:55 +0200)]
Sqlite: Map BOOLEAN to System.Boolean. Fixes #5768.

11 years agoAllow TypeBuilder.DefineMethodOverride () to be called multiple times. Fixes #5665.
Zoltan Varga [Sun, 24 Jun 2012 20:44:46 +0000 (22:44 +0200)]
Allow TypeBuilder.DefineMethodOverride () to be called multiple times. Fixes #5665.

11 years ago(1) Made build-mingw32.sh build .NET 4.5 as well.
James Bellinger [Sun, 24 Jun 2012 19:40:36 +0000 (15:40 -0400)]
(1) Made build-mingw32.sh build .NET 4.5 as well.
(2) Fixed the version extraction for build-mingw32.sh. It extracted from the wrong line for current configure.in.
(3) configure.in added a line for Clang for the Windows cross-compile just like the Android cross-compile has.
    It can't do the automatic check due to being a cross-compile so manually adding the line makes it possible
    to build. Like Android, if you want to use Clang for the cross-compile, you have to manually set the
    variable to 'yes'.

Summary: With these changes, build-mingw32.sh works nicely and I've successfully built Windows Mono on Debian 6.
         Changelog suggests it may not have been touched/used in a while, so this is an un-break patch.

11 years agoDisable LLVM for methods with very long basic blocks. Fixes #5714.
Zoltan Varga [Sun, 24 Jun 2012 19:23:45 +0000 (21:23 +0200)]
Disable LLVM for methods with very long basic blocks. Fixes #5714.

11 years agoMerge pull request #347 from JamesB7/master
Marek Safar [Sun, 24 Jun 2012 15:45:24 +0000 (08:45 -0700)]
Merge pull request #347 from JamesB7/master

.NET 4.5 .cctor crash fix for ComIStreamMarshaler

11 years agoBindingFlags.Public needed here as Exception.HResult is now public in .NET 4.5. This...
JamesB7 [Sun, 24 Jun 2012 15:30:38 +0000 (12:30 -0300)]
BindingFlags.Public needed here as Exception.HResult is now public in .NET 4.5. This solves a NullReferenceException on GetGetMethod, which causes the static constructor to fail.

11 years agoOnly paint the ToolStripItem BackColor if it's not the default one. Fixes Xamarin...
Thomas Goldstein [Sun, 24 Jun 2012 07:36:34 +0000 (09:36 +0200)]
Only paint the ToolStripItem BackColor if it's not the default one. Fixes Xamarin bug 5834.

11 years agoImplement control padding. Fixes Xamarin bug 2562.
eb1@sil.org [Sat, 23 Jun 2012 21:42:57 +0000 (23:42 +0200)]
Implement control padding. Fixes Xamarin bug 2562.

11 years agoMerge pull request #345 from erik-kallen/FixTypoDeterminingDynamicAttributes
Marek Safar [Sat, 23 Jun 2012 17:44:33 +0000 (10:44 -0700)]
Merge pull request #345 from erik-kallen/FixTypoDeterminingDynamicAttributes

Fixed typo causing all attributes in the namespace System.Runtime.CompilerServices to be treated as DynamicAttribute

11 years agoFixed typo causing all attributes in the namespace System.Compiler.RuntimeServices...
Erik Källén [Sat, 23 Jun 2012 17:30:40 +0000 (19:30 +0200)]
Fixed typo causing all attributes in the namespace System.Compiler.RuntimeServices to be treated as DynamicAttribute

11 years agoMerge pull request #344 from robwilkens/bug1202
Marek Safar [Sat, 23 Jun 2012 13:33:06 +0000 (06:33 -0700)]
Merge pull request #344 from robwilkens/bug1202

Bug 1202 Fix: Adds float.NaN checks to DrawLine

11 years agoBug 1202 Fix: Adds float.NaN checks to DrawLine
Rob Wilkens [Sat, 23 Jun 2012 13:07:35 +0000 (09:07 -0400)]
Bug 1202 Fix: Adds float.NaN checks to DrawLine

As reported in Bug1202, Graphics.DrawLine was drawing a line when one of the
x/y parameters was NotANumber.  This differred from Microsoft.NET Behavior.
This patch brings it back in line by adding the checks.

This includes an extended unit test which now fails without this patch and
passes with it.

https://bugzilla.xamarin.com/show_bug.cgi?id=1202

No additional System.Drawing unit tests fail with this patch than without
it, presuming this patch is applied.

11 years agoRelease parser caches immediately after parsing
Marek Safar [Fri, 22 Jun 2012 18:08:13 +0000 (19:08 +0100)]
Release parser caches immediately after parsing

11 years agoCache empty byte arrays
Marek Safar [Fri, 22 Jun 2012 17:55:51 +0000 (18:55 +0100)]
Cache empty byte arrays

11 years agoDon't double dispose web connection
Marek Safar [Fri, 22 Jun 2012 11:28:33 +0000 (12:28 +0100)]
Don't double dispose web connection

11 years agoDisable another runtime failing test
Marek Safar [Fri, 22 Jun 2012 10:14:10 +0000 (11:14 +0100)]
Disable another runtime failing test

11 years agoDisable failing tests
Marek Safar [Fri, 22 Jun 2012 07:46:43 +0000 (08:46 +0100)]
Disable failing tests

11 years agoMerge pull request #343 from paszczi/master
Marek Safar [Fri, 22 Jun 2012 09:57:50 +0000 (02:57 -0700)]
Merge pull request #343 from paszczi/master

Fix bug (457120 from novell's bugzilla)

11 years agoRemove unnecessary Changelog commits, fix copyright info
paszczi [Fri, 22 Jun 2012 09:24:02 +0000 (11:24 +0200)]
Remove unnecessary Changelog commits, fix copyright info

11 years agoDon't wait for client data when authenticating server ssl stream - fix bug 457120...
paszczi [Fri, 22 Jun 2012 08:12:35 +0000 (10:12 +0200)]
Don't wait for client data when authenticating server ssl stream - fix bug 457120 (novell)

11 years agoMerge pull request #341 from viniciusjarina/fix_emptys
Marek Safar [Thu, 21 Jun 2012 21:45:16 +0000 (14:45 -0700)]
Merge pull request #341 from viniciusjarina/fix_emptys

Fixed string compare ( != '' / Length != 0)

11 years agoFixed string compare ( != '' / Length != 0)
Vinicius Jarina [Thu, 21 Jun 2012 18:31:47 +0000 (15:31 -0300)]
Fixed string compare ( != '' / Length != 0)

11 years agoMerge pull request #339 from viniciusjarina/fix_uri
Marek Safar [Thu, 21 Jun 2012 17:42:28 +0000 (10:42 -0700)]
Merge pull request #339 from viniciusjarina/fix_uri

Minor Fixes: Uri Parser.

11 years agoMinor Fixes: Uri Parser.
Vinicius Jarina [Thu, 21 Jun 2012 16:58:10 +0000 (13:58 -0300)]
Minor Fixes: Uri Parser.

11 years agoDon't duplicate DefaultMemberAttribute for interfaces
Marek Safar [Thu, 21 Jun 2012 16:19:49 +0000 (17:19 +0100)]
Don't duplicate DefaultMemberAttribute for interfaces

11 years agoAdd Environment::CurrentManagedThreadId
Marek Safar [Thu, 21 Jun 2012 14:38:45 +0000 (15:38 +0100)]
Add Environment::CurrentManagedThreadId

11 years agoFix typo
Marek Safar [Thu, 21 Jun 2012 14:15:47 +0000 (15:15 +0100)]
Fix typo

11 years agomake debug-parser reliable
Marek Safar [Thu, 21 Jun 2012 13:40:11 +0000 (14:40 +0100)]
make debug-parser reliable

11 years agoWrite correct guid for hash algorithm to symbol files
Marek Safar [Thu, 21 Jun 2012 13:35:52 +0000 (14:35 +0100)]
Write correct guid for hash algorithm to symbol files

11 years agoAdd --disable-bcl-opt to configure
Marek Safar [Thu, 21 Jun 2012 08:43:39 +0000 (09:43 +0100)]
Add --disable-bcl-opt to configure

11 years agoFix bug in ComboBox Text setter, that made it so the Text value was not always set
Steven Boswell II [Thu, 21 Jun 2012 06:25:48 +0000 (08:25 +0200)]
Fix bug in ComboBox Text setter, that made it so the Text value was not always set

11 years agoAdjust DataGridView.RowHeight in VirtualMode. Fixes Xamarin bug 2392.
eb1@sil.org [Wed, 20 Jun 2012 21:36:11 +0000 (23:36 +0200)]
Adjust DataGridView.RowHeight in VirtualMode. Fixes Xamarin bug 2392.

11 years agoFirst round of win32-cygwin bugfixes.
Rodrigo Kumpera [Wed, 20 Jun 2012 21:20:40 +0000 (18:20 -0300)]
First round of win32-cygwin bugfixes.

11 years agoMake some asserts less opaque.
Rodrigo Kumpera [Wed, 20 Jun 2012 17:23:16 +0000 (14:23 -0300)]
Make some asserts less opaque.

11 years agoMerge pull request #336 from linquize/serial-port-read-char-array
Marek Safar [Wed, 20 Jun 2012 14:43:56 +0000 (07:43 -0700)]
Merge pull request #336 from linquize/serial-port-read-char-array

Properly implement SerialPort.Read (char[], int, int)

11 years agoProperly implement SerialPort.Read (char[], int, int)
Linquize [Wed, 20 Jun 2012 14:26:33 +0000 (22:26 +0800)]
Properly implement SerialPort.Read (char[], int, int)

11 years agoFix DISABLED_TESTS_WRENCH
Rodrigo Kumpera [Wed, 20 Jun 2012 13:27:46 +0000 (10:27 -0300)]
Fix DISABLED_TESTS_WRENCH

11 years agoRemove unnecessary braces to save vertical space.
Rob Wilkens [Wed, 20 Jun 2012 11:21:24 +0000 (07:21 -0400)]
Remove unnecessary braces to save vertical space.

11 years agoCoding Style Changements to make patch more in-line with standards
Rob Wilkens [Wed, 20 Jun 2012 11:04:31 +0000 (07:04 -0400)]
Coding Style Changements to make patch more in-line with standards

11 years ago[xbuild] fix regression; when it was remainingArgument, don't try to parse it.
Atsushi Eno [Wed, 20 Jun 2012 09:25:58 +0000 (18:25 +0900)]
[xbuild] fix regression; when it was remainingArgument, don't try to parse it.

11 years agoTweak control colors, and fix the fact enabled check boxes or radio buttons were...
eb1@sil.org [Wed, 20 Jun 2012 06:03:27 +0000 (08:03 +0200)]
Tweak control colors, and fix the fact enabled check boxes or radio buttons were darker than disabled ones, on X11. Fixes Xamarin bug 2908.

11 years agoFix #4327: Properly handle exception from IComparer.Compare.
Martin Baulig [Wed, 20 Jun 2012 01:46:00 +0000 (03:46 +0200)]
Fix #4327: Properly handle exception from IComparer.Compare.

SortedList throws InvalidOperationException when IComparer.Compare
throws an Exception.

11 years agoFix #2363 in Uri.CheckHostName().
Yves Bastide [Wed, 20 Jun 2012 01:02:19 +0000 (03:02 +0200)]
Fix #2363 in Uri.CheckHostName().

FIXME: We still violate RFC 2181 by not checking the total length of the
hostname (maximum 255 bytes), but .NET doesn't check it either.

11 years agoBug 5747 Fix: KeventWatcher didn't return subdir names in filenames
Rob Wilkens [Wed, 20 Jun 2012 00:45:41 +0000 (20:45 -0400)]
Bug 5747 Fix: KeventWatcher didn't return subdir names in filenames

Attached extracts the subdirectory by taking a substring of the full
filename path, starting at the length of the watcher filename path
(presuming it matches) plus 1 (to account for the "/" between path and
either subdir or filename).

This only should affect Mac OS -- See this line at top of KeventWatcher.cs:
// System.IO.KeventWatcher.cs: interface with osx kevent
Note the "osx" which is the mac operating system.

11 years agoFix a ConditionalWeakTable test.
Rodrigo Kumpera [Tue, 19 Jun 2012 21:04:57 +0000 (18:04 -0300)]
Fix a ConditionalWeakTable test.

11 years agoFix a racy hang in thread6 test.
Mark Probst [Tue, 19 Jun 2012 12:08:09 +0000 (14:08 +0200)]
Fix a racy hang in thread6 test.

If the Action thread pulses the monitor before the main thread gets to
its wait then the main thread will wait forever because the monitor is
never pulsed again.

11 years agoMerge remote-tracking branch 'public/master'
Mark Probst [Tue, 19 Jun 2012 20:00:40 +0000 (22:00 +0200)]
Merge remote-tracking branch 'public/master'

11 years agoApply patch from Steven Boswell (ulatekh@yahoo.com) to fix #5591
Miguel de Icaza [Tue, 19 Jun 2012 19:33:12 +0000 (15:33 -0400)]
Apply patch from Steven Boswell (ulatekh@yahoo.com) to fix #5591

11 years agoAssign values to base class.
Alistair Leslie-Hughes [Sun, 10 Jun 2012 10:59:42 +0000 (20:59 +1000)]
Assign values to base class.

11 years agoReturn base CreateParams for Axhost
Alistair Leslie-Hughes [Fri, 16 Mar 2012 10:37:44 +0000 (21:37 +1100)]
Return base CreateParams for Axhost

11 years agoRemove ToUpperInvariant in the 4.5 version of MEF to fix #5740
Miguel de Icaza [Tue, 19 Jun 2012 19:25:18 +0000 (15:25 -0400)]
Remove ToUpperInvariant in the 4.5 version of MEF to fix #5740

11 years agoDisable precise marking by default since it broke on non-apple targets as well.
Rodrigo Kumpera [Tue, 19 Jun 2012 18:09:39 +0000 (15:09 -0300)]
Disable precise marking by default since it broke on non-apple targets as well.

11 years agoFix another race in sgen's STW.
Rodrigo Kumpera [Tue, 19 Jun 2012 17:18:51 +0000 (14:18 -0300)]
Fix another race in sgen's STW.

* sgen-os-*: The joined_stw states the current stage in STW
that a given thread is. We should not transition a thread
to the next one unless it needs to. IOW, don't suspend threads
already suspended and don't resume threads not suspended.

This fixes #1917.

11 years agoAdd additional test for Convert.FromBase64String(): "==="
Martin Baulig [Tue, 19 Jun 2012 17:56:02 +0000 (19:56 +0200)]
Add additional test for Convert.FromBase64String(): "==="

11 years agoMerge pull request #325 from adbre/iss5464
Martin Baulig [Tue, 19 Jun 2012 17:53:29 +0000 (10:53 -0700)]
Merge pull request #325 from adbre/iss5464

Fix for issue #5464

11 years agoRemove some odd parser rule I could not hit
Marek Safar [Tue, 19 Jun 2012 17:24:37 +0000 (18:24 +0100)]
Remove some odd parser rule I could not hit

11 years ago[System.Core] Prefer setting PLinq task as long running so that they don't get hit...
Jeremie Laval [Tue, 19 Jun 2012 16:11:58 +0000 (17:11 +0100)]
[System.Core] Prefer setting PLinq task as long running so that they don't get hit by TP timeout

11 years ago[System.Core] Restore ParallelEnumerable tests
Jeremie Laval [Tue, 19 Jun 2012 16:10:19 +0000 (17:10 +0100)]
[System.Core] Restore ParallelEnumerable tests

11 years ago[System.Core] Defer temporary area management to external class
Jeremie Laval [Tue, 19 Jun 2012 16:08:54 +0000 (17:08 +0100)]
[System.Core] Defer temporary area management to external class

11 years ago[System.Core] cache array comparison predicate
Jeremie Laval [Tue, 19 Jun 2012 16:05:47 +0000 (17:05 +0100)]
[System.Core] cache array comparison predicate

11 years ago[System.Core] Cache ConcurrentQueue function factory
Jeremie Laval [Tue, 19 Jun 2012 16:05:06 +0000 (17:05 +0100)]
[System.Core] Cache ConcurrentQueue function factory

11 years agoReenable a sgen test.
Rodrigo Kumpera [Tue, 19 Jun 2012 16:03:58 +0000 (13:03 -0300)]
Reenable a sgen test.

11 years agoIntroduce a test-wrench target so we can disable tests only on wrench.
Rodrigo Kumpera [Tue, 19 Jun 2012 15:59:42 +0000 (12:59 -0300)]
Introduce a test-wrench target so we can disable tests only on wrench.

11 years agoSqlite: Map GUIDBLOB to System.Guid. Fixes #5577.
Rolf Bjarne Kvinge [Tue, 19 Jun 2012 14:11:10 +0000 (16:11 +0200)]
Sqlite: Map GUIDBLOB to System.Guid. Fixes #5577.

11 years agoAdd 2.0 test profile path to Microsoft.Build.Tasks
Marek Safar [Tue, 19 Jun 2012 12:56:10 +0000 (13:56 +0100)]
Add 2.0 test profile path to Microsoft.Build.Tasks

11 years agoDisable failing test
Marek Safar [Tue, 19 Jun 2012 11:36:08 +0000 (12:36 +0100)]
Disable failing test

11 years agoEnable fixed test
Marek Safar [Tue, 19 Jun 2012 11:34:51 +0000 (12:34 +0100)]
Enable fixed test

11 years agoFix tests category
Marek Safar [Tue, 19 Jun 2012 10:35:05 +0000 (11:35 +0100)]
Fix tests category

11 years agoFixes a warning
Marek Safar [Tue, 19 Jun 2012 09:54:29 +0000 (10:54 +0100)]
Fixes a warning

11 years agoDisable more failing runtime tests
Marek Safar [Tue, 19 Jun 2012 09:38:03 +0000 (10:38 +0100)]
Disable more failing runtime tests

11 years agoMerge pull request #333 from roji/master
Marek Safar [Tue, 19 Jun 2012 08:20:09 +0000 (01:20 -0700)]
Merge pull request #333 from roji/master

More accurate xbuild cmdline error reporting

11 years agoMore accurate xbuild cmdline error reporting
Shay Rojansky [Tue, 19 Jun 2012 08:07:49 +0000 (11:07 +0300)]
More accurate xbuild cmdline error reporting

When an unknown switch is passed to xbuild, an explicit "unknown switch" error is reported. Previously, the switch was interpreted as an additional argument and resulted in a "Too many project files specified" error.

11 years agoAborting a pending request closes the socket now
Gonzalo Paniagua Javier [Tue, 19 Jun 2012 02:50:57 +0000 (22:50 -0400)]
Aborting a pending request closes the socket now

Aborting an HttpWebRequest whose request stream is not closed yet will
now close the underlying socket properly.
Fixes bug #5710.

11 years agoFix async sockets: don't set Count=0 when reusing SocketAsyncEventArgs.
Martin Baulig [Mon, 18 Jun 2012 23:07:31 +0000 (01:07 +0200)]
Fix async sockets: don't set Count=0 when reusing SocketAsyncEventArgs.

This reverts commit e2e44bf6f444320947ffa124d3b7c20968e493a5 (from May
2011).

Added SocketAsyncTest.cs to test this.

11 years agoRewrite next_pixel_offset calculation in a way that makes more sense. Should not...
Thomas Goldstein [Mon, 18 Jun 2012 21:06:00 +0000 (23:06 +0200)]
Rewrite next_pixel_offset calculation in a way that makes more sense. Should not have any effect.

11 years agoAvoid crash when clicking a DataGrid row header with no data or columns. Fixes Xamari...
Robert Wilkens [Mon, 18 Jun 2012 20:34:43 +0000 (22:34 +0200)]
Avoid crash when clicking a DataGrid row header with no data or columns. Fixes Xamarin bug 5487.

11 years agoMerge remote-tracking branch 'public/master'
Mark Probst [Mon, 18 Jun 2012 20:17:01 +0000 (22:17 +0200)]
Merge remote-tracking branch 'public/master'

11 years agoFix the String.Intern test to reflect the fact that String.Intern can return a differ...
Rodrigo Kumpera [Mon, 18 Jun 2012 19:37:15 +0000 (16:37 -0300)]
Fix the String.Intern test to reflect the fact that String.Intern can return a different result.