mono.git
12 years agoMake debug options case insensititive
Marek Safar [Tue, 12 Jun 2012 07:50:43 +0000 (08:50 +0100)]
Make debug options case insensititive

12 years agobring back CodeContracts to mobile profiles.
Atsushi Eno [Tue, 12 Jun 2012 06:56:03 +0000 (15:56 +0900)]
bring back CodeContracts to mobile profiles.

12 years agoRelease gc roots of dynamic assemblies before calling mono_gc_clear_domain.
Rodrigo Kumpera [Mon, 11 Jun 2012 23:20:25 +0000 (20:20 -0300)]
Release gc roots of dynamic assemblies before calling mono_gc_clear_domain.

* domain.c (mono_domain_free): We clean all dynamic assemblies
of GC roots before asking the GC to clear the rest of the heap.
This is required since the GC expects all roots to be free
of refs to the dying domain before been invoked.

Fixes System.Runtime.Serialization test suite  under sgen.

12 years agoClear nursery fragments before doing xdomain checks before a collection.
Rodrigo Kumpera [Mon, 11 Jun 2012 23:20:09 +0000 (20:20 -0300)]
Clear nursery fragments before doing xdomain checks before a collection.

12 years agoFix verify-before-collect deadlock.
Rodrigo Kumpera [Mon, 11 Jun 2012 23:19:25 +0000 (20:19 -0300)]
Fix verify-before-collect deadlock.

12 years agoCorrectly link the seq point for ENDFINALLY with its successors. Fixes #5566.
Zoltan Varga [Mon, 11 Jun 2012 20:53:17 +0000 (22:53 +0200)]
Correctly link the seq point for ENDFINALLY with its successors. Fixes #5566.

12 years agoMake it so getting a DataGridViewComboBoxCell to drop down doesn't require extra...
Steven Boswell II [Mon, 11 Jun 2012 19:53:07 +0000 (21:53 +0200)]
Make it so getting a DataGridViewComboBoxCell to drop down doesn't require extra clicks

12 years agoMS SQL Server 2012 Express doesn't like null here.
Martin Baulig [Mon, 11 Jun 2012 17:59:50 +0000 (19:59 +0200)]
MS SQL Server 2012 Express doesn't like null here.

12 years agoSync parameter names in System.Data with .NET.
Martin Baulig [Fri, 8 Jun 2012 16:01:56 +0000 (18:01 +0200)]
Sync parameter names in System.Data with .NET.

12 years agoUse 'mcs' for .NET 4.5.
Martin Baulig [Thu, 7 Jun 2012 18:09:39 +0000 (20:09 +0200)]
Use 'mcs' for .NET 4.5.

12 years agoFix CancellationTokenSource cancellation during Dispose
Marek Safar [Mon, 11 Jun 2012 15:01:34 +0000 (16:01 +0100)]
Fix CancellationTokenSource cancellation during Dispose

12 years agoRevert "Refuse to load AOT images using unsupported SIMD instructions"
Zoltan Varga [Mon, 11 Jun 2012 14:54:17 +0000 (16:54 +0200)]
Revert "Refuse to load AOT images using unsupported SIMD instructions"

This reverts commit 888231ca2d85257823dabcd9432c386833707c5c.

Revert until there is a licensing statement.

12 years agoMerge remote-tracking branch 'public/master'
Mark Probst [Mon, 11 Jun 2012 14:01:50 +0000 (16:01 +0200)]
Merge remote-tracking branch 'public/master'

12 years ago[sgen] Add some explanatory comments.
Mark Probst [Mon, 11 Jun 2012 14:00:46 +0000 (16:00 +0200)]
[sgen] Add some explanatory comments.

12 years agoMerge pull request #321 from RAOF/aot-cpu-safety
Zoltan Varga [Mon, 11 Jun 2012 13:50:06 +0000 (06:50 -0700)]
Merge pull request #321 from RAOF/aot-cpu-safety

AOT CPU safety

12 years ago[System.Web] Re-enable SessionStateModule.OnSessionExpired as needed.
Carlos Alberto Cortez [Mon, 11 Jun 2012 13:22:40 +0000 (08:22 -0500)]
[System.Web] Re-enable SessionStateModule.OnSessionExpired as needed.

SessionStateModule.OnSessionExpired is used as a callback for its
'handler' field (SessionStateStoreProviderBase.SetItemExpireCallback),
and is normaly enabled in Init, as well as disabled in OnReleaseRequestState
if the container is abandoned.

However, since the module may stay around being re-used, it may continue
working *without* this callback being invoked/enabled anymore -causing a number of
nasty, hard to debug side effects, as session data ending up in the void-.
So we enable this callback again in OnAcquireRequestState, which is the
point at where we know we have a brand new, working container.

12 years agoRefuse to load AOT images using unsupported SIMD instructions
Christopher James Halse Rogers [Mon, 11 Jun 2012 11:55:51 +0000 (21:55 +1000)]
Refuse to load AOT images using unsupported SIMD instructions

12 years agoFix spelling of confusingly-named mono_arch_cpu_optimizazions
Christopher James Halse Rogers [Mon, 11 Jun 2012 07:51:27 +0000 (17:51 +1000)]
Fix spelling of confusingly-named mono_arch_cpu_optimizazions

12 years agoRefuse to load an AOT image built with unsupported CPU optimisations
Christopher James Halse Rogers [Mon, 11 Jun 2012 07:42:58 +0000 (17:42 +1000)]
Refuse to load an AOT image built with unsupported CPU optimisations

12 years agoFix async statements with unused return value. Fixes #5602
Marek Safar [Mon, 11 Jun 2012 11:06:24 +0000 (12:06 +0100)]
Fix async statements with unused return value. Fixes #5602

12 years agoImprove task test
Marek Safar [Mon, 11 Jun 2012 11:05:17 +0000 (12:05 +0100)]
Improve task test

12 years ago[sgen] Fix a variable name typo.
Mark Probst [Mon, 11 Jun 2012 10:22:28 +0000 (12:22 +0200)]
[sgen] Fix a variable name typo.

12 years agoImplement the DataGridView.EditingControlShowing event. Fixes Xamarin bug 5419.
Steven Boswell II [Sun, 10 Jun 2012 14:04:41 +0000 (16:04 +0200)]
Implement the DataGridView.EditingControlShowing event. Fixes Xamarin bug 5419.

12 years agoFix DataGridView.SelectionChanged event firing differences with .NET
Steven Boswell II [Sun, 10 Jun 2012 10:16:05 +0000 (12:16 +0200)]
Fix DataGridView.SelectionChanged event firing differences with .NET

12 years agoDecrement ComboBox SelectedIndex when an item before the selected index gets removed...
Steven Boswell II [Sat, 9 Jun 2012 19:38:25 +0000 (21:38 +0200)]
Decrement ComboBox SelectedIndex when an item before the selected index gets removed. Fixes Xamarin bug 5595.

12 years agoMerge pull request #320 from konrad-kruczynski/dyn_method_on_iface_array
Zoltan Varga [Sat, 9 Jun 2012 18:26:40 +0000 (11:26 -0700)]
Merge pull request #320 from konrad-kruczynski/dyn_method_on_iface_array

Dyn method on iface array

12 years agoAdded missing spaces.
Konrad M. Kruczynski [Sat, 9 Jun 2012 17:46:09 +0000 (19:46 +0200)]
Added missing spaces.

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 agoDo not throw an exception when trying to remove a ComboBox item that doesn't exist...
Steven Boswell II [Sat, 9 Jun 2012 17:00:27 +0000 (19:00 +0200)]
Do not throw an exception when trying to remove a ComboBox item that doesn't exist, to match .NET

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