mono.git
16 years agoMore tests.
Marek Safar [Thu, 27 Mar 2008 21:52:27 +0000 (21:52 -0000)]
More tests.

svn path=/trunk/mcs/; revision=99157

16 years ago2008-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Mar 2008 21:52:06 +0000 (21:52 -0000)]
2008-03-27  Marek Safar  <marek.safar@gmail.com>

* lambda.cs: Check return type only for invocation.

svn path=/trunk/mcs/; revision=99156

16 years agosome changes to the project file
Roei Erez [Thu, 27 Mar 2008 21:23:55 +0000 (21:23 -0000)]
some changes to the project file

svn path=/trunk/mcs/; revision=99151

16 years ago* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Add
Andreia Gaita [Thu, 27 Mar 2008 19:37:02 +0000 (19:37 -0000)]
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Add
  Initialized property so users can check whether everything loaded
  properly. Abstract the stream behind nice Render methods.
* Mono.Mozilla/AsciiString.cs, Mono.Mozilla/UniString.cs: Add missing
  field to the string container structure. Fix handle getter.
* Mono.Mozilla/Base.cs: Debug helper method change

2008-03-27  Andreia Gaita <avidigal@novell.com>

svn path=/trunk/mcs/; revision=99145

16 years ago2008-03-27 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 27 Mar 2008 16:26:51 +0000 (16:26 -0000)]
2008-03-27  Dick Porter  <dick@ximian.com>

* processes.c (match_procname_to_modulename): Check the whole
process name first, in case it is recorded as an absolute path.
Fixes bug 360348.

svn path=/trunk/mono/; revision=99139

16 years ago2008-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Mar 2008 16:06:40 +0000 (16:06 -0000)]
2008-03-27  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Create the scrollbars even earlier to be
double dog certain they are created before they are accessed.

svn path=/trunk/mcs/; revision=99137

16 years ago2008-03-27 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 27 Mar 2008 16:05:42 +0000 (16:05 -0000)]
2008-03-27  Dick Porter  <dick@ximian.com>

* processes.c (ShellExecuteEx): Grotty kludge to work around
unpleasant feature in g_shell_parse_argv() where it treats '#'
embedded in a filename as a comment marker, and throws away the
rest of the line.  When we're directly opening URLs quote the
filename, to avoid this.  Fixes bug 371567.

svn path=/trunk/mono/; revision=99136

16 years ago2008-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Mar 2008 16:05:12 +0000 (16:05 -0000)]
2008-03-27  Jonathan Pobst  <monkey@jpobst.com>

* XplatUIX11.cs: Remove a no-op line that csc was choking on.

svn path=/trunk/mcs/; revision=99135

16 years ago2008-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Mar 2008 15:51:37 +0000 (15:51 -0000)]
2008-03-27  Jonathan Pobst  <monkey@jpobst.com>

* ScrollBar.cs: Create an internal safe Value setter so we
won't crash if we try to set a value outside the min and max.
* TextBoxBase.cs: Use safe value setter to guard against a
potential NRE that is being reported by Reflector.

svn path=/trunk/mcs/; revision=99133

16 years agoAdd some TARGET_JVM specific code.
Leonid Freydovich [Thu, 27 Mar 2008 15:44:08 +0000 (15:44 -0000)]
Add some TARGET_JVM specific code.

svn path=/trunk/mcs/; revision=99132

16 years ago2008-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Mar 2008 15:22:56 +0000 (15:22 -0000)]
2008-03-27  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Create the scrollbars earlier in the constructor
to attempt to guard against an NRE in SetTop in Reflector.

svn path=/trunk/mcs/; revision=99129

16 years ago2008-03-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 27 Mar 2008 15:03:02 +0000 (15:03 -0000)]
2008-03-27  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
DataGridViewRowCollection.cs: Do not scroll column and row headers,
show messagebox on data format error, use column display index
correctly, make sure HitTest supports new layout stuff,
make sure scrollbars support new layout stuff.

svn path=/trunk/mcs/; revision=99127

16 years agomono-profiler-oprofile.c: setup_user_options: set default log file name to the name...
Massimiliano Mantione [Thu, 27 Mar 2008 14:58:51 +0000 (14:58 -0000)]
mono-profiler-oprofile.c: setup_user_options: set default log file name to the name of the executed application.

svn path=/trunk/mono/; revision=99126

16 years agoNew test.
Marek Safar [Thu, 27 Mar 2008 14:19:06 +0000 (14:19 -0000)]
New test.

svn path=/trunk/mcs/; revision=99125

16 years ago2008-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Mar 2008 14:18:34 +0000 (14:18 -0000)]
2008-03-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #374214
* ecore.cs: Correctly report argument type mismatch.

svn path=/trunk/mcs/; revision=99124

16 years ago2008-03-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 27 Mar 2008 13:50:26 +0000 (13:50 -0000)]
2008-03-27  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: AssertVirtualPathExists now queries the
VirtualPathProvider for path existence if physical path check
fails, before throwing the 404 exception.

2008-03-27  Marek Habersack  <mhabersack@novell.com>

* DefaultVirtualPathProvider.cs: support relative virtual paths in
all the methods.

* VirtualPathProvider.cs: FileExists should chain to the previous
handler, if present.

2008-03-27  Marek Habersack  <mhabersack@novell.com>

* Page.cs: added an implementation of the ClientQueryString
property.

2008-03-27  Marek Habersack  <mhabersack@novell.com>

* HttpRequest.cs: make UrlComponents internal.

* HttpContext.cs: added support for resource provider factories.

svn path=/trunk/mcs/; revision=99122

16 years ago2008-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Mar 2008 13:39:16 +0000 (13:39 -0000)]
2008-03-27  Marek Safar  <marek.safar@gmail.com>

* convert.cs (ImplicitReferenceConversionCore): Correctly compare enum type
and not rely on broken IsEnum.

svn path=/trunk/mcs/; revision=99120

16 years ago2008-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Mar 2008 12:45:05 +0000 (12:45 -0000)]
2008-03-27  Marek Safar  <marek.safar@gmail.com>

* nullable.cs: New file, extracted from generic.cs.

* generic.cs, generic-mcs.cs, *.csproj, *.sources: Updated.

svn path=/trunk/mcs/; revision=99118

16 years agoNew tests.
Marek Safar [Thu, 27 Mar 2008 12:33:21 +0000 (12:33 -0000)]
New tests.

svn path=/trunk/mcs/; revision=99117

16 years agoNew tests.
Marek Safar [Thu, 27 Mar 2008 12:31:50 +0000 (12:31 -0000)]
New tests.

svn path=/trunk/mcs/; revision=99116

16 years ago2008-03-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 27 Mar 2008 12:31:33 +0000 (12:31 -0000)]
2008-03-27  Marek Safar  <marek.safar@gmail.com>

* generic.cs, convert.cs, generic-mcs.cs, expression.cs: Added lifting of
predefined comparison operators and null literals.

* report.cs: New warning ID.

svn path=/trunk/mcs/; revision=99115

16 years agoFix previous commit
Kornél Pál [Thu, 27 Mar 2008 10:08:12 +0000 (10:08 -0000)]
Fix previous commit

svn path=/trunk/mcs/; revision=99106

16 years agoEncoding.cs: Fix possible integer overflow in argument validation.
Kornél Pál [Thu, 27 Mar 2008 08:44:58 +0000 (08:44 -0000)]
Encoding.cs: Fix possible integer overflow in argument validation.

svn path=/trunk/mcs/; revision=99097

16 years ago2008-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Mar 2008 07:25:14 +0000 (07:25 -0000)]
2008-03-27  Atsushi Enomoto  <atsushi@ximian.com>

        * XplatUIX11.cs : Patch by Doug Rintoul.
          For some IM engines, keypress events need to delay call
          to XPending() and XNextEvent() in the loop so that it
          does not mess the orders in XIM commit callback.
          Some KeyRelease events such as shift keys need to be
          processed both in the IM engine and winforms driver
          itself since winforms holds its own state check.

          For details, see:
http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html

svn path=/trunk/mcs/; revision=99096

16 years agomono.1: Added description of the logging profiler.
Massimiliano Mantione [Thu, 27 Mar 2008 06:53:46 +0000 (06:53 -0000)]
mono.1: Added description of the logging profiler.

svn path=/trunk/mono/; revision=99095

16 years ago2008-03-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Mar 2008 06:25:34 +0000 (06:25 -0000)]
2008-03-27  Atsushi Enomoto  <atsushi@ximian.com>

        * X11Keyboard.cs, XplatUIX11.cs :
          add primitive support for XIM input support (preedit-
          nothing and status-nothing). It requires precise event
          capturing (XSelectInput/"filterEvents") and different
          call to XFilterEvent against root window.
          Get composed string and send dummy WM_IME_COMPOSITION.
          Free XIM and XIC instances in finalizer.

          (This first patch does not include suggested changes
           by Doug Rintoul. It will follow.)

svn path=/trunk/mcs/; revision=99094

16 years ago2008-03-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Mar 2008 23:35:33 +0000 (23:35 -0000)]
2008-03-27  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_get_this_arg_reg): Add a 'gsctx' argument and pass it
to get_call_info.
(get_call_info): Take a gsctx argument instead of 'cfg'.

svn path=/trunk/mono/; revision=99088

16 years agoComIStreamWrapper.cs: Seek: remove read-only case. CopyTo: avoid allocating large...
Kornél Pál [Wed, 26 Mar 2008 22:28:08 +0000 (22:28 -0000)]
ComIStreamWrapper.cs: Seek: remove read-only case. CopyTo: avoid allocating large buffer. Commit: call SetSizeToPosition.

svn path=/trunk/mcs/; revision=99084

16 years agoDisabled debugging messages.
Massimiliano Mantione [Wed, 26 Mar 2008 22:10:21 +0000 (22:10 -0000)]
Disabled debugging messages.

svn path=/trunk/mono/; revision=99082

16 years agoMakefile.am: enabled the logging profiler on Linux.
Massimiliano Mantione [Wed, 26 Mar 2008 22:01:11 +0000 (22:01 -0000)]
Makefile.am: enabled the logging profiler on Linux.

svn path=/trunk/mono/; revision=99080

16 years agoconfigure.in: Added PLATFORM_LINUX automake conditional.
Massimiliano Mantione [Wed, 26 Mar 2008 22:01:00 +0000 (22:01 -0000)]
configure.in: Added PLATFORM_LINUX automake conditional.

svn path=/trunk/mono/; revision=99079

16 years agomono-profiler-oprofile.c: Attach and detach the writer thread.
Massimiliano Mantione [Wed, 26 Mar 2008 22:00:57 +0000 (22:00 -0000)]
mono-profiler-oprofile.c: Attach and detach the writer thread.

svn path=/trunk/mono/; revision=99078

16 years agoAdded a callback for mono_thread_manage.
Massimiliano Mantione [Wed, 26 Mar 2008 22:00:44 +0000 (22:00 -0000)]
Added a callback for mono_thread_manage.

svn path=/trunk/mono/; revision=99077

16 years ago* mono-profiler-oprofile.c: Fixed bug with memory region indexes.
Massimiliano Mantione [Wed, 26 Mar 2008 22:00:40 +0000 (22:00 -0000)]
* mono-profiler-oprofile.c: Fixed bug with memory region indexes.

svn path=/trunk/mono/; revision=99076

16 years ago2008-03-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 26 Mar 2008 22:00:16 +0000 (22:00 -0000)]
2008-03-26  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: When binding to a property, if the property
doesn't have a setter, set the column to readonly.
[Fixes bug #343965]

2008-03-26  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Add test for bug #343965.

svn path=/trunk/mcs/; revision=99075

16 years agomono-profiler-oprofile.c: minor fixes.
Massimiliano Mantione [Wed, 26 Mar 2008 21:36:30 +0000 (21:36 -0000)]
mono-profiler-oprofile.c: minor fixes.

svn path=/trunk/mono/; revision=99069

16 years ago2008-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Mar 2008 19:56:46 +0000 (19:56 -0000)]
2008-03-26  Zoltan Varga  <vargaz@gmail.com>

* mini.c (check_for_method_verify): Avoid verifying mscorlib methods even if
mono_verify_all is set.

* driver.c (compile_all_methods_thread_main): Don't exit at the first error.

svn path=/trunk/mono/; revision=99056

16 years ago2008-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Mar 2008 18:21:16 +0000 (18:21 -0000)]
2008-03-26  Zoltan Varga  <vargaz@gmail.com>

* mini.c mini.h: Remove the unused and incomplete stack merge verification code.

svn path=/trunk/mono/; revision=99049

16 years ago* MapCodeGenerator.cs, XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs:
Lluis Sanchez [Wed, 26 Mar 2008 17:34:17 +0000 (17:34 -0000)]
* MapCodeGenerator.cs, XmlTypeMapMember.cs, XmlTypeMapMemberElement.cs:
  If a value type field has the IsNullable property set to true,
  generate it as System.Nullable<T>.

svn path=/trunk/mcs/; revision=99045

16 years ago* Test/System.Web.Services.Description/ServiceDescriptionReflectorTest.cs:
Lluis Sanchez [Wed, 26 Mar 2008 17:30:07 +0000 (17:30 -0000)]
* Test/System.Web.Services.Description/ServiceDescriptionReflectorTest.cs:
  Added another test for bug #345448.

svn path=/trunk/mcs/; revision=99044

16 years ago2008-03-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 26 Mar 2008 15:31:09 +0000 (15:31 -0000)]
2008-03-26  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: Guard against NRE if an arrow key is hit while
we aren't dropped down.  Support Home/End in DropDownList mode.
[Fixes bug #371990]

svn path=/trunk/mcs/; revision=99036

16 years ago2008-03-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 26 Mar 2008 14:52:53 +0000 (14:52 -0000)]
2008-03-26  Jonathan Pobst  <monkey@jpobst.com>

* TreeNodeCollection.cs: Don't increment count until we've
saved our index to return.
[Fixes bug #373603]

2008-03-26  Jonathan Pobst  <monkey@jpobst.com>

* TreeViewTest.cs: Add test for bug #373603.

svn path=/trunk/mcs/; revision=99031

16 years agoThread.cs: Renamed "unused6" because it will be used to hold the "mono_thread_manage...
Massimiliano Mantione [Wed, 26 Mar 2008 13:12:22 +0000 (13:12 -0000)]
Thread.cs: Renamed "unused6" because it will be used to hold the "mono_thread_manage" callback.

svn path=/trunk/mcs/; revision=99029

16 years ago2008-03-26 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 26 Mar 2008 12:47:16 +0000 (12:47 -0000)]
2008-03-26  Dick Porter  <dick@ximian.com>

* process.c (process_get_fileversion): Set FileVersionInfo strings
to Empty when the resource doesn't have the particular info.
Fixes bug 355717.

svn path=/trunk/mono/; revision=99025

16 years ago2008-03-26 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 26 Mar 2008 12:45:56 +0000 (12:45 -0000)]
2008-03-26  Dick Porter  <dick@ximian.com>

* FileVersionInfo.cs: Patch from Gert Driesen
(gert.driesen@pandora.be) for bug 355717.

svn path=/trunk/mcs/; revision=99024

16 years ago* XmlSchemaImporter.cs: Fix problem with primitive types with a forced
Lluis Sanchez [Wed, 26 Mar 2008 11:33:13 +0000 (11:33 -0000)]
* XmlSchemaImporter.cs: Fix problem with primitive types with a forced
  base class. It happens for example when a web service declares a
  soap header of type bool. The schema exporter needs to generate a
  subclass of SoapHeader for that header type. But if bool is used in
  the parameters, it must use System.Boolean, not the SoapHeader
  subclass. The solution is to store primitive types with a forced
  base class in a different table. In this way it is possible to have
  two maps for primitive types: one with the forced base class
  (returned by ImportDerivedTypeMapping) and one with the regular
  primitive map. Fixes bug #336739.

svn path=/trunk/mcs/; revision=99013

16 years agoRemove unneeded post build step in Java project file.
Noam Lampert [Wed, 26 Mar 2008 09:23:35 +0000 (09:23 -0000)]
Remove unneeded post build step in Java project file.

svn path=/trunk/mcs/; revision=99010

16 years agoFix Java build. Upgrade project to Visual Studio 2008
Noam Lampert [Wed, 26 Mar 2008 08:42:10 +0000 (08:42 -0000)]
Fix Java build. Upgrade project to Visual Studio 2008

svn path=/trunk/mcs/; revision=99008

16 years agoUpgrade to Visual Studio 2008
Noam Lampert [Wed, 26 Mar 2008 08:16:52 +0000 (08:16 -0000)]
Upgrade to Visual Studio 2008

svn path=/trunk/mcs/; revision=99007

16 years agoFix Java build in Visual Studio 2008
Noam Lampert [Wed, 26 Mar 2008 07:32:05 +0000 (07:32 -0000)]
Fix Java build in Visual Studio 2008

svn path=/trunk/mcs/; revision=99006

16 years agoUpgrade solution to Visual Studio 2008. Fix Java build.
Noam Lampert [Wed, 26 Mar 2008 07:29:01 +0000 (07:29 -0000)]
Upgrade solution to Visual Studio 2008. Fix Java build.

svn path=/trunk/mcs/; revision=99005

16 years ago2008-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 26 Mar 2008 03:22:00 +0000 (03:22 -0000)]
2008-03-25  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: Add padding to the label's AutoSize calculation.
[Fixes bug #373792]

svn path=/trunk/mcs/; revision=99004

16 years ago * ListBindingHelper.cs: New test for GetListName method.
Carlos Alberto Cortez [Tue, 25 Mar 2008 22:17:06 +0000 (22:17 -0000)]
* ListBindingHelper.cs: New test for GetListName method.

2008-03-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=98999

16 years ago * ListBindingHelper.cs: Actually implement GetListName method.
Carlos Alberto Cortez [Tue, 25 Mar 2008 22:16:44 +0000 (22:16 -0000)]
* ListBindingHelper.cs: Actually implement GetListName method.

2008-03-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=98998

16 years ago2008-03-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 25 Mar 2008 21:40:27 +0000 (21:40 -0000)]
2008-03-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSourceTest.cs: New tests for Add/AddNew/Clear methods, as
well as new assertions for other tests.

svn path=/trunk/mcs/; revision=98997

16 years ago2008-03-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 25 Mar 2008 21:38:34 +0000 (21:38 -0000)]
2008-03-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSource.cs: Throw the propert expceptions for some methods, as
well as detect the list item type for Add method if DataSource is null.

svn path=/trunk/mcs/; revision=98996

16 years ago2008-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 25 Mar 2008 20:58:04 +0000 (20:58 -0000)]
2008-03-25  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: I don't know why I commented this out,
putting it back for now.

svn path=/trunk/mcs/; revision=98995

16 years ago2008-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 25 Mar 2008 19:26:08 +0000 (19:26 -0000)]
2008-03-25  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Remove storage for owning column, just
use column index.
* DataGridViewColumn.cs: Make getter for HeaderTextSet.
* DataGridViewColumnHeaderCell.cs: If the header text has been
explicitly set, return it.
[Fixes bug #325979]

2008-03-25  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Enable gert's test for bug #325979.

svn path=/trunk/mcs/; revision=98990

16 years agoFix Java compilation. Upgrade project file to Visual Studio 2008.
Noam Lampert [Tue, 25 Mar 2008 16:18:00 +0000 (16:18 -0000)]
Fix Java compilation. Upgrade project file to Visual Studio 2008.

svn path=/trunk/mcs/; revision=98979

16 years ago2008-03-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Mar 2008 16:16:43 +0000 (16:16 -0000)]
2008-03-25  Dick Porter  <dick@ximian.com>

* wapi-private.h (_WAPI_HANDLE_VERSION): Increment file layout
version

* threads.c: Make thread handles private to the process that owns
them.

svn path=/trunk/mono/; revision=98978

16 years ago2008-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 25 Mar 2008 15:59:28 +0000 (15:59 -0000)]
2008-03-25 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Proper prefix validation.

svn path=/trunk/mono/; revision=98973

16 years ago2008-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 25 Mar 2008 15:37:27 +0000 (15:37 -0000)]
2008-03-25 Rodrigo Kumpera <rkumpera@novell.com>

* valid_branch_to_first_prefix.il: Test branching to the first prefix
of an instruction.

svn path=/trunk/mono/; revision=98972

16 years ago2008-03-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 25 Mar 2008 15:21:10 +0000 (15:21 -0000)]
2008-03-25  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollection.cs: Disable row sharing when
using data binding.  Its a great feature, but lets work on
getting DGV usable first before we worry about optimizations.

svn path=/trunk/mcs/; revision=98969

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 13:21:25 +0000 (13:21 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* runtime/Makefile.am (mcs-compileall): Skip net 2.1 assemblies for now.

svn path=/trunk/mono/; revision=98960

16 years agoAdded a test.
Marek Safar [Tue, 25 Mar 2008 13:14:38 +0000 (13:14 -0000)]
Added a test.

svn path=/trunk/mcs/; revision=98959

16 years agoFixed build error.
Marek Safar [Tue, 25 Mar 2008 13:13:52 +0000 (13:13 -0000)]
Fixed build error.

svn path=/trunk/mcs/; revision=98958

16 years ago2008-03-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Mar 2008 13:12:53 +0000 (13:12 -0000)]
2008-03-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #370577
* lambda.cs: Check return type too.

svn path=/trunk/mcs/; revision=98957

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 13:04:39 +0000 (13:04 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* driver.c (compile_all_methods_thread_main): Error out if compilation fails with
an exception.

* driver.c mini.c mini.h: Add a --verify-all development option to test the
verifier and the code generated by the compiler.

svn path=/trunk/mono/; revision=98955

16 years agoA test for bug #372846
Marek Safar [Tue, 25 Mar 2008 11:31:24 +0000 (11:31 -0000)]
A test for bug #372846

svn path=/trunk/mcs/; revision=98954

16 years ago2008-03-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 25 Mar 2008 11:30:59 +0000 (11:30 -0000)]
2008-03-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #372846
* class.cs: Automatic properties can be declared as unsafe.

svn path=/trunk/mcs/; revision=98953

16 years agoAdded gtest-exmethod-19.cs
Marek Safar [Tue, 25 Mar 2008 10:20:11 +0000 (10:20 -0000)]
Added gtest-exmethod-19.cs

svn path=/trunk/mcs/; revision=98952

16 years ago2008-03-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 25 Mar 2008 09:48:00 +0000 (09:48 -0000)]
2008-03-25  Mark Probst  <mark.probst@gmail.com>

* mini.c: Generic sharing of the non-nullable case of the box
instruction.

2008-03-25  Mark Probst  <mark.probst@gmail.com>

* generic-box.2.cs: Test case for generic box.

* Makefile.am: Added the new test.

svn path=/trunk/mono/; revision=98951

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 09:27:54 +0000 (09:27 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile (check): Add a standard 'check' target which is the same as run-test.

svn path=/trunk/mcs/; revision=98950

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 09:05:41 +0000 (09:05 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* ConstructorInfoTest.cs: Add a test for #373459.

svn path=/trunk/mcs/; revision=98947

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 09:05:04 +0000 (09:05 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
generic type. Fixes #373459.

svn path=/trunk/mcs/; revision=98946

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:57:07 +0000 (08:57 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add a test for #373448.

svn path=/trunk/mcs/; revision=98945

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:53:23 +0000 (08:53 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_InternalInvoke): Return exceptions thrown by the icall
itself in a separate argument instead of throwing them. Fixes #373448.

* appdomain.c: Bump corlib version.

svn path=/trunk/mono/; revision=98944

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:52:10 +0000 (08:52 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.

* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=98943

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:51:11 +0000 (08:51 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
exceptions thrown by the icall from the exceptions thrown by the wrapped method.
Fixes #373448.

svn path=/trunk/mcs/; revision=98942

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:24:32 +0000 (08:24 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* DateTime.cs: Fix a warning.

svn path=/trunk/mcs/; revision=98940

16 years ago2008-03-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 24 Mar 2008 23:10:54 +0000 (23:10 -0000)]
2008-03-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSourceTest.cs: Re-activate some tests and also add a new
ones.

svn path=/trunk/mcs/; revision=98928

16 years ago2008-03-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 24 Mar 2008 23:10:11 +0000 (23:10 -0000)]
2008-03-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSource.cs: When resetting our internal list, compute list
item type information to be used for indirect list access. Also
implement/tune some properties and methods related to the list access
too.
* ListBindingHelper.cs: Add a stub for GetListName method, used from
BindingSource.

svn path=/trunk/mcs/; revision=98927

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 21:43:38 +0000 (21:43 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: If RowCount is increased while ColumnCount
is zero, add a column.  [Fixes bug #331649]

2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Add test for bug #331649.

svn path=/trunk/mcs/; revision=98924

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 21:41:11 +0000 (21:41 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* library.make (check): Add a standard check target and make it the same as
run-test.

svn path=/trunk/mcs/; revision=98921

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 21:33:27 +0000 (21:33 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg: Fix the build.

svn path=/trunk/mono/; revision=98918

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 20:22:28 +0000 (20:22 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* iltests.il.in: Add a test for lconv.ovf.u8.un.

svn path=/trunk/mono/; revision=98910

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 19:56:45 +0000 (19:56 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollection.cs: When adding new rows for
databinding, make sure they are place before the add row.
[Fixes bug #343961]

svn path=/trunk/mcs/; revision=98908

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 18:58:10 +0000 (18:58 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRow.cs: Draw cells in column DisplayIndex order
instead of Index order.

svn path=/trunk/mcs/; revision=98893

16 years ago* OdbcTransaction.cs: Use internal CreateOdbcException method on
Gert Driesen [Mon, 24 Mar 2008 18:56:49 +0000 (18:56 -0000)]
* OdbcTransaction.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException.
* OdbcException.cs: Added support for multiple OdbcError instances
and fixed Message property on 2.0 profile.
* OdbcCommand.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException. Code formatting.
* OdbcError.cs: Moved code to obtain ODBC error info to newly
introduced CreateOdbcException on OdbcConnection. Code formatting.
* OdbcDataReader.cs: Use internal CreateOdbcException method on
OdbcTransaction to create OdbcException.
* OdbcParameterCollection.cs: Removed obsolete Bind method.
* OdbcConnection.cs: Added SafeDriver property that returns
name of driver if available and a zero-length string otherwise.
Use CreateOdbcException method to create OdbcException from ODBC
error info. Added CreateOdbcException method to construct
OdbcException from all available ODBC error info.
* OdbcParameter.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException.

svn path=/trunk/mcs/; revision=98891

16 years agoAdded reference to bug #372410.
Rodrigo Kumpera [Mon, 24 Mar 2008 17:52:52 +0000 (17:52 -0000)]
Added reference to bug #372410.

svn path=/trunk/mono/; revision=98888

16 years ago2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Mar 2008 17:50:36 +0000 (17:50 -0000)]
2008-03-24  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mono_method_to_ir): Implement readonly for ldelema and
Array:Address.

* iltests.il.in: New tests for readonly prefix.

svn path=/trunk/mono/; revision=98887

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 17:17:35 +0000 (17:17 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* interlocked-2.2.cs: Add tests for Interlocked.Increment/Decrement on longs.

svn path=/trunk/mono/; revision=98886

16 years agomerge r98884
Igor Zelmanovich [Mon, 24 Mar 2008 17:01:06 +0000 (17:01 -0000)]
merge r98884

svn path=/trunk/mcs/; revision=98885

16 years ago2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Mar 2008 16:50:52 +0000 (16:50 -0000)]
2008-03-24 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Implemented readonly prefix and verify controled mutability pointers.

svn path=/trunk/mono/; revision=98883

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 16:50:50 +0000 (16:50 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: If columns are added by increasing ColumnCount,
they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
[Fixes bug #325588]

2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Add test for bug #325588.

svn path=/trunk/mcs/; revision=98882

16 years ago2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Mar 2008 16:49:16 +0000 (16:49 -0000)]
2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>

* make_cmmp_test.sh: Test generator for readonly pointers.

* make_test.sh: New tests using the added generator.

svn path=/trunk/mono/; revision=98881

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 16:08:06 +0000 (16:08 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Turn off and on the "new row" when
AllowUserToAddRows is toggled.  When the handle is created,
set current cell and selected cell/row/col.

svn path=/trunk/mcs/; revision=98878

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 14:52:29 +0000 (14:52 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: When navigating the drop down by keyboard, we
need to scroll the list box if our selection moves out of the
currently shown items.  [Fixes bug #371990]

svn path=/trunk/mcs/; revision=98873

16 years agoProject files converted to 2008.
Arina Itkes [Mon, 24 Mar 2008 12:35:59 +0000 (12:35 -0000)]
Project files converted to 2008.

svn path=/trunk/mcs/; revision=98860

16 years ago2008-03-24 Luke Page <luke.a.page@gmail.com>
Luke Page [Mon, 24 Mar 2008 09:40:05 +0000 (09:40 -0000)]
2008-03-24  Luke Page <luke.a.page@gmail.com>

* RichTextBox.cs: Handles visible rtf tag and no longer shows the text
on the control. Also now handles unicode compatibility characters and
stores the unicode compatibility length on the stack. Fixes Bugs
#355198 and #366436.

svn path=/trunk/mcs/; revision=98850