mono.git
12 years agoReduced code duplication.
Konrad M. Kruczynski [Sat, 9 Jun 2012 17:43:31 +0000 (19:43 +0200)]
Reduced code duplication.

12 years agoFix for creating dynamic method with owner being array or iface.
Konrad M. Kruczynski [Sat, 9 Jun 2012 17:38:04 +0000 (19:38 +0200)]
Fix for creating dynamic method with owner being array or iface.

It shouldn't be possible, according to MSDN documentation. Two
test cases included.

12 years agoFix the appearance of disabled ListBox controls
Steven Boswell II [Sat, 9 Jun 2012 06:59:13 +0000 (08:59 +0200)]
Fix the appearance of disabled ListBox controls

12 years agoAnother make dist fix
Marek Safar [Fri, 8 Jun 2012 16:13:11 +0000 (17:13 +0100)]
Another make dist fix

12 years agoEmit sequence point for some member access expressions. Fixes #5387
Marek Safar [Fri, 8 Jun 2012 15:59:20 +0000 (16:59 +0100)]
Emit sequence point for some member access expressions. Fixes #5387

12 years agoFix make dist
Marek Safar [Fri, 8 Jun 2012 15:55:01 +0000 (16:55 +0100)]
Fix make dist

12 years agoMerge pull request #319 from pragmatrix/master
Marek Safar [Fri, 8 Jun 2012 13:40:14 +0000 (06:40 -0700)]
Merge pull request #319 from pragmatrix/master

In WindowsBase, the Rect.Union() implementation is broken.

12 years agoWindowsBase: fix Rect.Union() and add Rect.Union test cases
Armin Sander [Fri, 8 Jun 2012 13:23:27 +0000 (15:23 +0200)]
WindowsBase: fix Rect.Union() and add Rect.Union test cases

12 years agoFix some warnings
Marek Safar [Fri, 8 Jun 2012 11:48:08 +0000 (12:48 +0100)]
Fix some warnings

12 years agoUpdate more 4.5 api
Marek Safar [Fri, 8 Jun 2012 10:44:55 +0000 (11:44 +0100)]
Update more 4.5 api

12 years agoMerge compiler docs
Marek Safar [Fri, 8 Jun 2012 09:09:17 +0000 (10:09 +0100)]
Merge compiler docs

12 years agoRemove obsolete files
Marek Safar [Fri, 8 Jun 2012 08:45:58 +0000 (09:45 +0100)]
Remove obsolete files

12 years agoUpdate to the latest dlr
Marek Safar [Fri, 8 Jun 2012 08:40:15 +0000 (09:40 +0100)]
Update to the latest dlr

12 years agoConvert crlf to lf
Marek Safar [Fri, 8 Jun 2012 07:36:55 +0000 (08:36 +0100)]
Convert crlf to lf

12 years agoAdd missing CreateReader method
Marek Safar [Thu, 7 Jun 2012 17:18:24 +0000 (18:18 +0100)]
Add missing CreateReader method

12 years agoFix some parameters names
Marek Safar [Thu, 7 Jun 2012 17:06:55 +0000 (18:06 +0100)]
Fix some parameters names

12 years agoUpdate System.Net.Http
Marek Safar [Thu, 7 Jun 2012 16:26:37 +0000 (17:26 +0100)]
Update System.Net.Http

12 years agoClean up assembly attributes
Marek Safar [Thu, 7 Jun 2012 14:17:52 +0000 (15:17 +0100)]
Clean up assembly attributes

12 years agoUpdate to the latest IKVM.Reflection
Marek Safar [Thu, 7 Jun 2012 14:01:44 +0000 (15:01 +0100)]
Update to the latest IKVM.Reflection

12 years agoRecover from invalid yield return. Fixes #5064
Marek Safar [Thu, 7 Jun 2012 13:26:27 +0000 (14:26 +0100)]
Recover from invalid yield return. Fixes #5064

12 years agoMark some Stream members non-serialized. Fixes #5454
Marek Safar [Thu, 7 Jun 2012 13:25:48 +0000 (14:25 +0100)]
Mark some Stream members non-serialized. Fixes #5454

12 years agoRecover from invalid enum member initialization
Marek Safar [Thu, 7 Jun 2012 12:58:45 +0000 (13:58 +0100)]
Recover from invalid enum member initialization

12 years agoRecover from invalid return expression. Fixes #5389
Marek Safar [Thu, 7 Jun 2012 12:51:22 +0000 (13:51 +0100)]
Recover from invalid return expression. Fixes #5389

12 years agoFix more failing tests
Marek Safar [Thu, 7 Jun 2012 11:19:58 +0000 (12:19 +0100)]
Fix more failing tests

12 years agoSet fixed test locale
Marek Safar [Thu, 7 Jun 2012 10:43:34 +0000 (11:43 +0100)]
Set fixed test locale

12 years agoDisable not working test
Marek Safar [Thu, 7 Jun 2012 10:05:11 +0000 (11:05 +0100)]
Disable not working test

12 years agoRemove double null check
Marek Safar [Thu, 7 Jun 2012 10:04:54 +0000 (11:04 +0100)]
Remove double null check

12 years agoAdd new 4.5 api
Marek Safar [Thu, 7 Jun 2012 08:30:08 +0000 (09:30 +0100)]
Add new 4.5 api

12 years agoImplement 4.5 ArraySegment
Marek Safar [Wed, 6 Jun 2012 17:02:06 +0000 (18:02 +0100)]
Implement 4.5 ArraySegment

12 years agoReformat ArraySegment test
Marek Safar [Wed, 6 Jun 2012 15:28:53 +0000 (16:28 +0100)]
Reformat ArraySegment test

12 years agoAdd some new 4.5 api
Marek Safar [Wed, 6 Jun 2012 15:24:56 +0000 (16:24 +0100)]
Add some new 4.5 api

12 years agoUse non-prefixed namespace output for element when applicable. Fixed bug #5519.
Atsushi Eno [Thu, 7 Jun 2012 03:57:31 +0000 (12:57 +0900)]
Use non-prefixed namespace output for element when applicable. Fixed bug #5519.

12 years agoPropagate all errors to the (old) ICertificatePolicy or (newer) callback. Fix bug...
Sebastien Pouliot [Thu, 7 Jun 2012 01:11:43 +0000 (21:11 -0400)]
Propagate all errors to the (old) ICertificatePolicy or (newer) callback. Fix bug #5546 for iOS

12 years agoPlace tls_get in alpha order
Neale Ferguson [Thu, 7 Jun 2012 01:01:07 +0000 (21:01 -0400)]
Place tls_get in alpha order

12 years agoSparkle some debug friendly love over those serialization test types.
Rodrigo Kumpera [Wed, 6 Jun 2012 16:49:49 +0000 (13:49 -0300)]
Sparkle some debug friendly love over those serialization test types.

12 years agoRewrite the version tolerant serialization test suite to use app domains instead...
Rodrigo Kumpera [Wed, 6 Jun 2012 16:47:35 +0000 (13:47 -0300)]
Rewrite the version tolerant serialization test suite to use app domains instead of processes.

* BinarySerializationOverVersions.cs: Use appdomains as they are much more robust to
environmental differences. We don't need to ensure we're using the right mono with
the right mscorlib.

12 years agoMove a pair of sgen asserts to debug level 4 so they don't show up in regular builds.
Rodrigo Kumpera [Wed, 6 Jun 2012 15:49:44 +0000 (12:49 -0300)]
Move a pair of sgen asserts to debug level 4 so they don't show up in regular builds.

12 years agoSet vts tests environment variables
Marek Safar [Wed, 6 Jun 2012 14:14:33 +0000 (15:14 +0100)]
Set vts tests environment variables

12 years agoFix XmlReaderSettings::Clone
Marek Safar [Wed, 6 Jun 2012 13:59:07 +0000 (14:59 +0100)]
Fix XmlReaderSettings::Clone

12 years agoMake XmlWriterSettingsTests .net compatible
Marek Safar [Wed, 6 Jun 2012 13:52:01 +0000 (14:52 +0100)]
Make XmlWriterSettingsTests .net compatible

12 years agoA return keyword must not be followed by any expression when delegate returns void
Marek Safar [Wed, 6 Jun 2012 13:29:20 +0000 (14:29 +0100)]
A return keyword must not be followed by any expression when delegate returns void

12 years agoDon't return void result
Marek Safar [Wed, 6 Jun 2012 13:28:16 +0000 (14:28 +0100)]
Don't return void result

12 years agoEmit new state machine attributes
Marek Safar [Wed, 6 Jun 2012 11:07:23 +0000 (12:07 +0100)]
Emit new state machine attributes

12 years agoAdd missing dist file
Marek Safar [Wed, 6 Jun 2012 11:06:36 +0000 (12:06 +0100)]
Add missing dist file

12 years agoXmlResolver.GetEntityAsync().
Martin Baulig [Wed, 6 Jun 2012 00:51:44 +0000 (02:51 +0200)]
XmlResolver.GetEntityAsync().

* The default implementation throws NotImplementedException.
* Added nunit tests.

12 years agoMore WebClient 4.5 async tests.
Martin Baulig [Tue, 5 Jun 2012 23:00:47 +0000 (01:00 +0200)]
More WebClient 4.5 async tests.

12 years agoMerge pull request #316 from decriptor/master
Alex Rønne Petersen [Tue, 5 Jun 2012 19:48:45 +0000 (12:48 -0700)]
Merge pull request #316 from decriptor/master

[xbuild] Fixed a typo in MSBuildUtils.cs

12 years ago[xbuild] Fixed a typo in MSBuildUtils.cs
Stephen Shaw [Tue, 5 Jun 2012 19:38:01 +0000 (13:38 -0600)]
[xbuild] Fixed a typo in MSBuildUtils.cs

12 years agoCorrectly report an exception in EndInvoke when BeginInvoke was called with a callbac...
Rodrigo Kumpera [Tue, 5 Jun 2012 18:55:35 +0000 (15:55 -0300)]
Correctly report an exception in EndInvoke when BeginInvoke was called with a callback parameter.

12 years agoImprove date serialization compatibility with third party web services
Lluis Sanchez [Tue, 5 Jun 2012 10:31:20 +0000 (12:31 +0200)]
Improve date serialization compatibility with third party web services

Make XmlCustomFormatter.cs more liberal about the date formats it accepts.
Many third party web services do not format date exactly at 'yyyy-mm-dd'.
The Microsoft implementation is more liberal about accepting other formats
and so the current Mono implementation breaks projects that consume third
party web services when they are ported to Mono.
Based on a patch by Aaron Roydhouse.

12 years agoFire the DataGridView.SelectionChanged event when the selected rows/columns changes...
Steven Boswell II [Mon, 4 Jun 2012 21:53:51 +0000 (23:53 +0200)]
Fire the DataGridView.SelectionChanged event when the selected rows/columns changes. Fixes Xamarin bug 3415.

12 years ago[corlib/tests] disable the acos test on MacOS, since MacOS acos is broken
Miguel de Icaza [Mon, 4 Jun 2012 21:41:58 +0000 (17:41 -0400)]
[corlib/tests] disable the acos test on MacOS, since MacOS acos is broken

12 years agoMerge pull request #315 from viniciusjarina/green_build3
Marek Safar [Mon, 4 Jun 2012 12:21:28 +0000 (05:21 -0700)]
Merge pull request #315 from viniciusjarina/green_build3

Removed broken tests from System

12 years agoRemoved broken tests from System
Vinicius Jarina [Mon, 4 Jun 2012 12:12:20 +0000 (09:12 -0300)]
Removed broken tests from System

12 years agoMerge pull request #313 from viniciusjarina/green_build
Marek Safar [Mon, 4 Jun 2012 07:12:41 +0000 (00:12 -0700)]
Merge pull request #313 from viniciusjarina/green_build

Green build (1)

12 years agoAdd .NET 4.5 async methods to XmlReader and XmlWriter.
Martin Baulig [Sun, 3 Jun 2012 00:36:18 +0000 (02:36 +0200)]
Add .NET 4.5 async methods to XmlReader and XmlWriter.

12 years agoMore .NET 4.5 work.
Martin Baulig [Sat, 2 Jun 2012 23:43:52 +0000 (01:43 +0200)]
More .NET 4.5 work.

12 years agoSync parameter names with .NET.
Martin Baulig [Sat, 2 Jun 2012 23:16:23 +0000 (01:16 +0200)]
Sync parameter names with .NET.

12 years ago[class libraries] drop NET_1_0 definitions
Miguel de Icaza [Sun, 3 Jun 2012 01:46:34 +0000 (21:46 -0400)]
[class libraries] drop NET_1_0 definitions

12 years ago[class libraries] drop ONLY_1_1
Miguel de Icaza [Sun, 3 Jun 2012 01:31:37 +0000 (21:31 -0400)]
[class libraries] drop ONLY_1_1

12 years agoAdd .NET 4.5 async methods to XmlReader.
Martin Baulig [Sat, 2 Jun 2012 19:52:11 +0000 (21:52 +0200)]
Add .NET 4.5 async methods to XmlReader.

12 years agoAdd .NET 4.5 async methods to System.Net.NetworkInformation.Ping.
Martin Baulig [Sat, 2 Jun 2012 17:35:24 +0000 (19:35 +0200)]
Add .NET 4.5 async methods to System.Net.NetworkInformation.Ping.

12 years agoCopyright notices
Miguel de Icaza [Sat, 2 Jun 2012 17:20:23 +0000 (13:20 -0400)]
Copyright notices

12 years ago[System] Removal of the NET_2_0 in the source code
Miguel de Icaza [Sat, 2 Jun 2012 17:15:52 +0000 (13:15 -0400)]
[System] Removal of the NET_2_0 in the source code

Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.

12 years agoFixed Test MonoTests.System.Net.HttpListenerRequestTest.HttpBasicAuthScheme
Vinicius Jarina [Sat, 2 Jun 2012 01:06:53 +0000 (22:06 -0300)]
Fixed Test MonoTests.System.Net.HttpListenerRequestTest.HttpBasicAuthScheme

12 years agoRemoved Not working test: 1) MonoTests.System.IO.Ports.SerialPortTest.NonstandardBaud...
Vinicius Jarina [Fri, 1 Jun 2012 03:37:20 +0000 (00:37 -0300)]
Removed Not working test: 1) MonoTests.System.IO.Ports.SerialPortTest.NonstandardBaudRate #5446

12 years agoMerge branch 'master' of github.com:mono/mono
Martin Baulig [Sat, 2 Jun 2012 15:44:58 +0000 (17:44 +0200)]
Merge branch 'master' of github.com:mono/mono

12 years agoAdd .NET 4.5 async upload methods to WebClient.
Martin Baulig [Fri, 1 Jun 2012 21:47:50 +0000 (23:47 +0200)]
Add .NET 4.5 async upload methods to WebClient.

12 years agoMore .NET 4.5 async work in WebClient.
Martin Baulig [Fri, 1 Jun 2012 20:06:37 +0000 (22:06 +0200)]
More .NET 4.5 async work in WebClient.

* System.Net/WebClient.cs: Support cancelation.

* Test/System.Net/WebClientTestAsync.cs: New nunit tests.

12 years agoFix BackColor on ToolStripItem objects (Novell bug 567331)
Steven Boswell II [Sat, 2 Jun 2012 15:34:55 +0000 (17:34 +0200)]
Fix BackColor on ToolStripItem objects (Novell bug 567331)

12 years agoAdd .NET 4.5 async methods to WebClient.
Martin Baulig [Fri, 25 May 2012 19:28:53 +0000 (21:28 +0200)]
Add .NET 4.5 async methods to WebClient.

12 years agoMove common code to a sub method to avoid redundancy, and to make sure that the two...
Thomas Goldstein [Fri, 1 Jun 2012 23:08:08 +0000 (01:08 +0200)]
Move common code to a sub method to avoid redundancy, and to make sure that the two code paths do not diverge later

12 years agoRemoval of NET_1_1 defines and some NET_2_0; Both defines are true these days in...
Miguel de Icaza [Fri, 1 Jun 2012 22:20:12 +0000 (18:20 -0400)]
Removal of NET_1_1 defines and some NET_2_0;   Both defines are true these days in Mono, no versions prior to 2.0 are supported

12 years agoRemoval of NET_1_1 defines and some NET_2_0; Both defines are true these days in...
Miguel de Icaza [Fri, 1 Jun 2012 22:04:16 +0000 (18:04 -0400)]
Removal of NET_1_1 defines and some NET_2_0;   Both defines are true these days in Mono, no versions prior to 2.0 are supported

12 years ago[System.Web.Extensions] Remember to build standalone-runner-support before run-standa...
Duncan Mak [Fri, 1 Jun 2012 21:52:53 +0000 (17:52 -0400)]
[System.Web.Extensions] Remember to build standalone-runner-support before run-standalone-test.

12 years ago[System.Data/Test] Don't hard-code newline in the string, fixes failure in DataTableR...
Duncan Mak [Fri, 1 Jun 2012 20:20:18 +0000 (16:20 -0400)]
[System.Data/Test] Don't hard-code newline in the string, fixes failure in DataTableReadXmlSchemaTest.TestSampleFileImportSimple.

12 years ago[net_1_0] Finally all of NET_1_0 is gone from the source files
Miguel de Icaza [Fri, 1 Jun 2012 20:50:48 +0000 (16:50 -0400)]
[net_1_0] Finally all of NET_1_0 is gone from the source files

12 years agoFix win32.
Rodrigo Kumpera [Fri, 1 Jun 2012 19:09:24 +0000 (16:09 -0300)]
Fix win32.

12 years agoFix the comment so our doctools can pick it up
Miguel de Icaza [Fri, 1 Jun 2012 19:09:20 +0000 (15:09 -0400)]
Fix the comment so our doctools can pick it up

12 years agoFix build by removing duplicate custom attribute extensions
Marek Safar [Fri, 1 Jun 2012 18:07:26 +0000 (19:07 +0100)]
Fix build by removing duplicate custom attribute extensions

12 years agoPromote mono_get_runtime_build_info to the public API.
Rodrigo Kumpera [Fri, 1 Jun 2012 17:25:33 +0000 (14:25 -0300)]
Promote mono_get_runtime_build_info to the public API.

* jit.h: mono_get_runtime_build_info is now public.

12 years ago[corlib] Allow SynchronizationContext.Current to work on MfA
Jonathan Pryor [Fri, 1 Jun 2012 16:48:53 +0000 (12:48 -0400)]
[corlib] Allow SynchronizationContext.Current to work on MfA

For the main (UI) thread, make SynchronizationContext.Current return
the Android.App.Application.SynchronizationContext property.

12 years ago[Mono.Posix] Workaround signal raising behavior.
Jonathan Pryor [Fri, 1 Jun 2012 16:02:49 +0000 (12:02 -0400)]
[Mono.Posix] Workaround signal raising behavior.

The effects of Stdlib.raise() aren't immediate on OS X. The result is
that UnixSignalTest.TestDispose1():

Stdlib.raise (Signum.SIGINT);
Assert.AreEqual (a.Count, 1);

_may_ fail depending on timing.

Insert some Thread.Sleep()s to try to allow the signal to propogate.

12 years agoImplement better pointer spew for the new heap verifier.
Rodrigo Kumpera [Thu, 31 May 2012 22:15:18 +0000 (19:15 -0300)]
Implement better pointer spew for the new heap verifier.

12 years agoPass additional cflags to jay to disable -fno-implicit-function-declaration.
Zoltan Varga [Fri, 1 Jun 2012 15:42:51 +0000 (17:42 +0200)]
Pass additional cflags to jay to disable -fno-implicit-function-declaration.

12 years agoFix previous commit to be 4.5 only
Marek Safar [Fri, 1 Jun 2012 15:36:42 +0000 (16:36 +0100)]
Fix previous commit to be 4.5 only

12 years agoImplement CustomAttributeExtensions
Marek Safar [Fri, 1 Jun 2012 15:35:26 +0000 (16:35 +0100)]
Implement CustomAttributeExtensions

12 years agoAdd state-machine attributes
Marek Safar [Fri, 1 Jun 2012 14:29:40 +0000 (15:29 +0100)]
Add state-machine attributes

12 years agoAdd -Werror-implicit-function-declaration to CFLAGS later to avoid breaking configure...
Zoltan Varga [Fri, 1 Jun 2012 14:16:19 +0000 (16:16 +0200)]
Add -Werror-implicit-function-declaration to CFLAGS later to avoid breaking configure tests.

12 years agoAdd IReadOnlyCollection interface
Marek Safar [Fri, 1 Jun 2012 12:02:06 +0000 (13:02 +0100)]
Add IReadOnlyCollection interface

12 years ago[corlib] Fix DoubleWait unit test
Jeremie Laval [Fri, 1 Jun 2012 12:22:18 +0000 (13:22 +0100)]
[corlib] Fix DoubleWait unit test

12 years agoFix warnings.
Zoltan Varga [Fri, 1 Jun 2012 11:58:33 +0000 (13:58 +0200)]
Fix warnings.

12 years agoMake implicit function declarations a build error. They are not 64 bit safe and cause...
Zoltan Varga [Fri, 1 Jun 2012 11:46:37 +0000 (13:46 +0200)]
Make implicit function declarations a build error. They are not 64 bit safe and cause hard to diagnose problems.

12 years agoFix implicit function declarations on osx.
Zoltan Varga [Fri, 1 Jun 2012 11:40:28 +0000 (13:40 +0200)]
Fix implicit function declarations on osx.

12 years agoBuild is not yet ready for metadata profile only
Marek Safar [Fri, 1 Jun 2012 10:42:33 +0000 (11:42 +0100)]
Build is not yet ready for metadata profile only

12 years agoAdd missing 4.5 test config
Marek Safar [Fri, 1 Jun 2012 09:52:41 +0000 (10:52 +0100)]
Add missing 4.5 test config

12 years agoFix default infinity symbol to match closely .net
Marek Safar [Fri, 1 Jun 2012 09:18:58 +0000 (10:18 +0100)]
Fix default infinity symbol to match closely .net

12 years agoDisable verifier checks on 4.0 profile
Marek Safar [Fri, 1 Jun 2012 08:47:47 +0000 (09:47 +0100)]
Disable verifier checks on 4.0 profile

12 years agoAdd new advanced --metadata-only compiler option to produce assembly for references...
Marek Safar [Fri, 1 Jun 2012 08:41:45 +0000 (09:41 +0100)]
Add new advanced --metadata-only compiler option to produce assembly for references purposes only

12 years agoFixed regressions in Microsoft.Build.BuildEngine
Jeffrey Stedfast [Thu, 31 May 2012 18:03:04 +0000 (14:03 -0400)]
Fixed regressions in Microsoft.Build.BuildEngine