mono.git
17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 13:53:42 +0000 (13:53 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* MonoTODOAttribute.cs : fixed regression that those derived todo
  attribute types are not reported in the class status pages.

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 13:52:22 +0000 (13:52 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs mono-api-diff.cs :
  handle MonoTODOAttribute derivations.

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

17 years ago2007-06-01 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 1 Jun 2007 13:39:46 +0000 (13:39 -0000)]
2007-06-01  Andreia Gaita  <avidigal@novell.com>

* DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 12:41:49 +0000 (12:41 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case for now
as it causes regressions.

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

17 years ago* ScrollableControlTest.cs: Add ResizeAnchoredTest.
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 10:00:17 +0000 (10:00 -0000)]
* ScrollableControlTest.cs: Add ResizeAnchoredTest.
* PropertyGridTest.cs: A few more tests.

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

17 years ago* PropertyGrid.cs: Anchor the help description to the bottom of the
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 09:57:13 +0000 (09:57 -0000)]
* PropertyGrid.cs: Anchor the help description to the bottom of the
  help panel and refactor SelectGridItem into a
  SelectGridItemInternal that can be set to null (and update it to
  clear the help texts when it is set to null). Set root item to null
  when there's no SelectedObject. Fixes #80438.
* ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  when we're recalculating after a resize (only).

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

17 years ago2007-06-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 1 Jun 2007 05:37:00 +0000 (05:37 -0000)]
2007-06-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Added a new test for 2.0 RedrawItem method.

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

17 years ago * ListView.cs: Implement 2.0 RedrawItems method.
Carlos Alberto Cortez [Fri, 1 Jun 2007 05:33:30 +0000 (05:33 -0000)]
* ListView.cs: Implement 2.0 RedrawItems method.

2007-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2007-05-31 Jeffrey Stedfast <fejj@gnome.org>
Jeffrey Stedfast [Fri, 1 Jun 2007 01:46:13 +0000 (01:46 -0000)]
2007-05-31  Jeffrey Stedfast  <fejj@gnome.org>

* SmtpClient.cs: Added an extensions parser to figure out if the
ESMTP server supports things like STARTTLS and which AUTH
mechanisms are supported. Don't try authenticating if no authmechs
are supported.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 21:44:46 +0000 (21:44 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Implement support for the
static case as well.

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

17 years agoRollback r78168 that causes some unit test errors
Everaldo Canuto [Thu, 31 May 2007 19:38:25 +0000 (19:38 -0000)]
Rollback r78168 that causes some unit test errors

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

17 years ago2007-05-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 31 May 2007 19:29:32 +0000 (19:29 -0000)]
2007-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: Disconnect PositionChanged and ItemChanged
handlers from previous data manager when DataSource is set to
null. Fixes #81771.

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

17 years ago * TextBoxBase.cs: These seem to be the correct values.
Jackson Harper [Thu, 31 May 2007 18:47:47 +0000 (18:47 -0000)]
    * TextBoxBase.cs: These seem to be the correct values.

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

17 years ago2007-05-31 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Thu, 31 May 2007 17:46:36 +0000 (17:46 -0000)]
2007-05-31  Everaldo Canuto  <ecanuto@novell.com>

* FileDialog.cs: When close dialog with ok set filterindex using combobox
value. Fixes #81784.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 17:20:10 +0000 (17:20 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* LookupBindingPropertiesAttribute.cs:
  Should be sealed. Implemented GetHashCode().

* LookupBindingPropertiesAttributeTest.cs:
  test GetHashCode() as well.

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

17 years ago2007-05-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 31 May 2007 17:07:44 +0000 (17:07 -0000)]
2007-05-31  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement 2.0 scaling methods.

2007-05-31  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Add tests for 2.0 scaling methods.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 17:01:50 +0000 (17:01 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* ContainerFilterService.cs CustomTypeDescriptor.cs
  InstanceCreationEditor.cs InvalidAsynchronousStateException.cs
  MultilineStringConverter.cs NestedContainer.cs
  NullableConverter.cs TypeDescriptionProvider.cs
  TypeDescriptionProviderAttribute.cs :
  2.0 stubs except for [Obsolete].
* TypeDescriptor.cs : added missing 2.0 members.

* System.dll.sources :
  added couple of new 2.0 sys.ComponentModel types.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 16:14:48 +0000 (16:14 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : oops, wrong fix.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 16:12:19 +0000 (16:12 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : call base. fix winforms tests.

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

17 years ago* ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
Rolf Bjarne Kvinge [Thu, 31 May 2007 16:00:31 +0000 (16:00 -0000)]
* ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  corcompare issues.

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

17 years ago* ProgressBar.cs: Implemented missing 2.0 members.
Rolf Bjarne Kvinge [Thu, 31 May 2007 15:22:27 +0000 (15:22 -0000)]
* ProgressBar.cs: Implemented missing 2.0 members.

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

17 years ago* Control.cs: Corcompare issues.
Rolf Bjarne Kvinge [Thu, 31 May 2007 14:57:21 +0000 (14:57 -0000)]
* Control.cs: Corcompare issues.
* MessageBox.cs: Implemented missing 2.0 functions.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 14:50:01 +0000 (14:50 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

17 years ago* CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
Rolf Bjarne Kvinge [Thu, 31 May 2007 14:05:48 +0000 (14:05 -0000)]
* CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  Implemented more 2.0 members.

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

17 years agonormalize line endings
Sebastien Pouliot [Thu, 31 May 2007 14:02:29 +0000 (14:02 -0000)]
normalize line endings

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

17 years agoForgot base class...
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:59:11 +0000 (13:59 -0000)]
Forgot base class...

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:58:04 +0000 (13:58 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* tramp-ia64.c (mono_arch_create_trampoline_code): Fix ia64 build.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:50:00 +0000 (13:50 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): New arch dependent function.
(mono_arch_get_this_arg_from_call): Ditto.

* tramp-x86.c (mono_arch_patch_delegate_trampoline): Removed.

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

17 years ago* System.dll.sources: Added LookupBindingPropertiesAttribute.cs.
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:44:21 +0000 (13:44 -0000)]
* System.dll.sources: Added LookupBindingPropertiesAttribute.cs.
* System_test.dll.sources: Added
  LookupBindingPropertiesAttributeTest.cs

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:43:48 +0000 (13:43 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (mini_emit_virtual_call): Call delegate->Invoke through the delegate's
invoke_impl field.

* mini-amd64.c (mono_arch_get_delegate_invoke_impl): New arch dependent function.
(mono_arch_get_this_arg_from_call): Ditto.

* tramp-amd64.c (mono_arch_patch_delegate_trampoline): Removed.

* mini-trampolines.c (mono_delegate_trampoline): Complete rewrite. On first call,
try to create optimized invoke code and use that for further invocations.
Otherwise, use the original mono_marshal_get_delegate_invoke () implementation.

* mini-x86.h mini-ia64.h: Remove MONO_ARCH_HAS_CREATE_DELEGATE_TRAMPOLINE for now.

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

17 years ago2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:43:40 +0000 (13:43 -0000)]
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* LookupBindingPropertiesAttributeTest.cs: Added.

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

17 years ago* LookupBindingPropertiesAttribute.cs: Implemented.
Rolf Bjarne Kvinge [Thu, 31 May 2007 13:41:39 +0000 (13:41 -0000)]
* LookupBindingPropertiesAttribute.cs: Implemented.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:36:43 +0000 (13:36 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* domain-internals.h (MonoDomain): Add two new hash tables to store delegate
invoke_impl code.

* object-internals.h (_MonoDelegate): Reflect changes to managed object layout.

* object.c (mono_delegate_ctor): Initialize invoke_impl field with an arch
dependent trampoline.

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): New icall.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 13:33:24 +0000 (13:33 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* Delegate.cs: Add invoke_impl field. Reorder fields for better cache behavior. Add
SetMulticastDelegate icall.

* MulticastDelegate.cs (CombineImpl): Call SetMulticastDelegate () on newly created
delegate.

* Environment.cs: Bump corlib version.

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

17 years ago* AssemblyInfo.cs: Update assembly attributes.
Rolf Bjarne Kvinge [Thu, 31 May 2007 10:59:34 +0000 (10:59 -0000)]
* AssemblyInfo.cs: Update assembly attributes.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 09:42:25 +0000 (09:42 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* AsyncOperationManager.cs AttributeCollection.cs
  BackgroundWorker.cs BindingList.cs CategoryAttribute.cs
  Component.cs DataObjectFieldAttribute.cs DefaultValueAttribute.cs
  DescriptionAttribute.cs EventDescriptorCollection.cs
  IComNativeDescriptorHandler.cs IListSource.cs
  ListSortDescriptionCollection.cs MemberDescriptor.cs
  PropertyDescriptor.cs SyntaxCheck.cs ToolboxItemFilterAttribute.cs:
  2.0 profile updates.

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

17 years ago* BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed to ClientScriptM...
Vladimir Krasnov [Thu, 31 May 2007 09:10:45 +0000 (09:10 -0000)]
* BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed to ClientScriptManager

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

17 years ago2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 31 May 2007 09:04:48 +0000 (09:04 -0000)]
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* en-US.xml: Add a few date/time patterns.

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

17 years ago* Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
Rolf Bjarne Kvinge [Thu, 31 May 2007 08:30:21 +0000 (08:30 -0000)]
* Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  null (strange, but it seems to happen when running unit tests).

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

17 years ago2007-05-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 31 May 2007 07:26:38 +0000 (07:26 -0000)]
2007-05-31  Marek Habersack  <mhabersack@novell.com>

* SiteMapProvider.cs: implemented proper logic of authorizing
user's access to a sitemap node, as per MSDN2 docs. Patch from
Dumitru Ban <dban@dako.ro>, thanks!

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 04:47:31 +0000 (04:47 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* ApplicationSettingsBaseTest.cs : NotWorking Providers().

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 02:23:03 +0000 (02:23 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs :
  NewLineOnAttributes indentation fix, for bug #81770.

* XmlWriterSettingsTests.cs : added test for NewLineOnAttributes.

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

17 years ago* FocusTest.cs: Add tests for ContainerControl - fire events even if
Andreia Gaita [Thu, 31 May 2007 01:29:59 +0000 (01:29 -0000)]
* FocusTest.cs: Add tests for ContainerControl - fire events even if
there is no form, and set active control before firing events

2007-05-30  Andreia Gaita  <avidigal@novell.com>

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

17 years ago* ContainerControl.cs: Set active_control even earlier, before
Andreia Gaita [Thu, 31 May 2007 01:28:31 +0000 (01:28 -0000)]
* ContainerControl.cs: Set active_control even earlier, before
firing any events, and undo it if validation returns false.

2007-05-30  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 May 2007 01:16:49 +0000 (01:16 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
methods. Add test case for drawing lines with a pen's width > 1.

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 May 2007 01:15:22 +0000 (01:15 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Refactor [Get|Release]Hdc to get ReleaseHdcInternal
working (as long as the HDC comes from GetHdc).

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 01:14:35 +0000 (01:14 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : missing EXTRA_DISTFILES.

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

17 years agoContainerControl.cs: Raise Validation and Enter/Leave events
Andreia Gaita [Thu, 31 May 2007 00:59:14 +0000 (00:59 -0000)]
ContainerControl.cs: Raise Validation and Enter/Leave events
even if there is no Form, and set active_control earlier, just
before firing Enter events (toshok's patches).
Fixes #80647

2007-05-30  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-05-30 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Wed, 30 May 2007 21:35:20 +0000 (21:35 -0000)]
2007-05-30  Jeffrey Stedfast  <fejj@novell.com>

* SmtpClient.cs: Fall back to HELO if EHLO fails. Also, do not
write out a Bcc header to the SMTP server - these are meant to be
dropped. MAIL FROM: and RCPT TO: commands are not meant to have a
space after the colon before the address - this will break on some
SMTP servers.

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

17 years agoOops
Miguel de Icaza [Wed, 30 May 2007 21:26:05 +0000 (21:26 -0000)]
Oops

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

17 years ago2007-05-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 30 May 2007 21:15:49 +0000 (21:15 -0000)]
2007-05-30  Miguel de Icaza  <miguel@novell.com>

* DataConverter.cs: Fix the PutBytesLE and PutByteBE, they were
overwriting memory that was out of range.

Fix based on patch from Luis Gomes.

A couple of fixes to compile with MS.NET 2.0 (from Luis as well).

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

17 years ago * TextControl.cs: Redid the pageup/pagedown a little to simplify
Jackson Harper [Wed, 30 May 2007 21:04:18 +0000 (21:04 -0000)]
    * TextControl.cs: Redid the pageup/pagedown a little to simplify
        things and fix bug #81311.

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

17 years ago2007-05-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 30 May 2007 20:55:08 +0000 (20:55 -0000)]
2007-05-30  Marek Habersack  <mhabersack@novell.com>

* SectionGroupInfo.cs: <location> elements are case-insensitive
and the same 'path' attribute may be used only once.

* ConfigurationLocationCollection.cs: Find should be
case-insensitive for all targets, not just TARGET_JVM.

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

17 years ago * X11Dnd.cs: Now that we have our own event loop, we need to
Jackson Harper [Wed, 30 May 2007 20:05:28 +0000 (20:05 -0000)]
    * X11Dnd.cs: Now that we have our own event loop, we need to
        cancel when we get a mouseup but it won't be accepted.

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

17 years ago2007-05-30 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 30 May 2007 19:22:04 +0000 (19:22 -0000)]
2007-05-30  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (set_CurrentCell): guard against negative
column/row.

* DataGridColumnStyle.cs (CheckValidDataSource): just use the
array index syntax instead of looping over the property names.

* DataGridTextBoxColumn.cs: add a changed handler on the textbox,
and set IsInEditOrNavigateMode to false there.

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

17 years agohopefully fix build
Sebastien Pouliot [Wed, 30 May 2007 18:53:00 +0000 (18:53 -0000)]
hopefully fix build

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 18:06:57 +0000 (18:06 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* System.Drawing.Design.dll.sources: Add Toolbox* 2.0 classes.

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 18:06:18 +0000 (18:06 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* CursorEditor.cs: Add new (2.0) IsDropDownResizable property.
* ImageEditor.cs: Add new (2.0) GetImageExtenders method.
* ToolboxItemContainer.cs: New. Stub to reduce MoMA missing report.
* ToolboxItemCreator.cs: New. Stub to reduce MoMA missing report.
* ToolboxService.cs: New. Stub to reduce MoMA missing report.

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 18:03:45 +0000 (18:03 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* System.dll.sources: Add S.C.D.IComponentDiscoveryService

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

17 years agosvn path=/trunk/mcs/; revision=78242
Sebastien Pouliot [Wed, 30 May 2007 18:02:51 +0000 (18:02 -0000)]
svn path=/trunk/mcs/; revision=78242

17 years ago2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 May 2007 17:47:05 +0000 (17:47 -0000)]
2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>

* ApplicationSettingsBase.cs : removed garbage debugging stuff.

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

17 years ago2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 May 2007 17:46:17 +0000 (17:46 -0000)]
2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigXmlDocument.cs : added explicit interface implementations.
* ApplicationSettingsBase.cs : split deeply-nested get_Properties()
  into itself and a method. Treat default LocalFileSettingsProvider
  as a (valid) settings provider. Removed a fixme (only public
  members should be available).
* SettingsBase.cs : check lock state in Save().
* SettingsProviderCollection.cs : remove bogus table field which
  conflicts with the table in base ProviderCollection class.

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

17 years ago2007-05-30 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 30 May 2007 16:22:55 +0000 (16:22 -0000)]
2007-05-30  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * standalone/projref: Added two projects where one project references
        library.

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

17 years ago2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 May 2007 15:47:18 +0000 (15:47 -0000)]
2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>

* bug81759.resources : test resource for bug 81759 test.

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

17 years agoprovide docs for unsupported functionality
Konstantin Triger [Wed, 30 May 2007 14:58:48 +0000 (14:58 -0000)]
provide docs for unsupported functionality

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

17 years ago * TreeView.cs: Make sure we don't get a bad visible order when
Jackson Harper [Wed, 30 May 2007 14:13:32 +0000 (14:13 -0000)]
    * TreeView.cs: Make sure we don't get a bad visible order when
        setting to the top node.  Fixes some misc crashing in
        ControlInspector.

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

17 years agoprovide docs for unsupported functionality
Konstantin Triger [Wed, 30 May 2007 14:10:21 +0000 (14:10 -0000)]
provide docs for unsupported functionality

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

17 years agoimprove exception message
Konstantin Triger [Wed, 30 May 2007 14:09:15 +0000 (14:09 -0000)]
improve exception message

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 13:53:59 +0000 (13:53 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>
* GifCodecTest.cs: Add test case for interlaced GIF

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

17 years ago2007-05-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 30 May 2007 13:50:14 +0000 (13:50 -0000)]
2007-05-30  Marek Habersack  <mhabersack@novell.com>

        * WebConfigurationManager.cs: if errors happen when opening the
        configuration file, mark the manager as unsafe to prevent further
        usage and avoid error loops.

2007-05-30  Marek Habersack  <mhabersack@novell.com>

        * TraceManager.cs: Catch all the possible exceptions in the
        constructor - the object MUST be created successfully (even if
        there are errors).

        * HttpRequest.cs: do not attempt to apply url mappings if the
        configuration manager has errors.

        * HttpRuntime.cs: handle static constructor exceptions later on,
        during the first call to ReallyProcessRequest.

        * QueueManager.cs: provide defaults for the parameters to be read
        from the config file(s).
        Catch all the possible exceptions in the constructor - the object
        MUST be created successfully (even if there are errors).

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

17 years ago Makefile: Add an interlaced GIF test file to the dist.
Sebastien Pouliot [Wed, 30 May 2007 13:37:48 +0000 (13:37 -0000)]
 Makefile: Add an interlaced GIF test file to the dist.

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

17 years agoAdd test case for interlaced GIF
Sebastien Pouliot [Wed, 30 May 2007 13:36:08 +0000 (13:36 -0000)]
Add test case for interlaced GIF

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

17 years agoproviding GH specific documentation
Konstantin Triger [Wed, 30 May 2007 12:53:11 +0000 (12:53 -0000)]
providing GH specific documentation

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

17 years agoproviding basic documentation
Konstantin Triger [Wed, 30 May 2007 12:31:50 +0000 (12:31 -0000)]
providing basic documentation

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

17 years ago2007-05-29 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 30 May 2007 12:11:26 +0000 (12:11 -0000)]
2007-05-29  Andreia Gaita  <avidigal@novell.com>

* UserControl.cs: Add 2.0 AutoSizeMode

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 12:07:29 +0000 (12:07 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageAttributes.cs: Add test cases for ColorMatrixFlags and for
Gray ColorMatrix uses.

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

17 years ago2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 May 2007 12:05:53 +0000 (12:05 -0000)]
2007-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* ImageAttributes.cs: Remove TODO for ColorMatrixFlags and Gray
ColorMatrix support methods. Add TODO on some stuff not supported by
libgdiplus (so MoMA reports gets more accurate). Fix coding style.

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

17 years agoremove 'NotWorking' for passing tests
Konstantin Triger [Wed, 30 May 2007 11:59:49 +0000 (11:59 -0000)]
remove 'NotWorking' for passing tests

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 11:02:36 +0000 (11:02 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* SqlCommandTest.cs (StoredProc_NoParameterTest)
(StoredProc_ParameterTest, rpc_helper_function): Added new methods
to test the implementation of TDS RPC.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:59:08 +0000 (10:59 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* sqlserver.sql: Fixed sqlserver sql statements and its respective
values.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:57:48 +0000 (10:57 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* DBHelper.cs: Fixed warnings of unused variables.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:52:37 +0000 (10:52 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* SqlParameter.cs (SqlParameter): Updated constructor to use the
new TDS RPC implementation.
Fixed missing attributes.
(SetDbType): Added new case for sql_variant type.
(ConvertToFrameworkType): Implemented new private method to
convert the data type to framework type.

* SqlParameterCollection.cs: Fixed missing attributes and
implemented missing methods.

* SqlConnection.cs: Fixed missing attributes.

* SqlConnectionStringBuilder.cs: Certain attributes are missing or
its value or they are not appropriate. Fixed them.

* SqlDataReader.cs (GetData): Method is available only under 1.0
profile.

* SqlCommandBuilder.cs: Certain attributes are available only
under 2.0 profile, so moved them inside ifdef.

* SqlCommand.cs: Certain attributes are available only under 2.0
profile, so moved them inside ifdef.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:36:42 +0000 (10:36 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* TdsColumnType.cs: Added new types BigNVarChar, Variant to
TdsColumnType enumerator.

* TdsComm.cs (Append): Appends new data types to the TDS data
stream and also implemented new Append overloaded method.

* Tds.cs (BeginLoad): New case to handle BigBinary.
(GetMoneyValue): Simplified the switch / case conditions.

* TdsDataRow.cs: Instance of index checks for the given index to
be less than list count, else an exception will be thrown.

* Tds70.cs (sqlserverMagic): Modified byte values.
(ExecProc): Now directly calls ExecRPC for any number of
parameters being passed.
(ExecRPC): New logic to handle parameters.
(WriteParameterInfo): New private method to generate information
about each parameter.
(ProcessReturnStatus): New protected method to process the return
status of output parameter value.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:21:29 +0000 (10:21 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* TdsMetaParameter.cs (GetActualSize): Multiply length by 2, if
the data type is nvarchar, nchar or ntext.
(GetSize): Added new case for decimal, uniqueidentifier,
smallmoney, bit, nchar, ntext.
(GetBytes): Implemented new internal method to encode the data.
(GetMetaType): Modified the return values appropriately.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 10:09:14 +0000 (10:09 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* DataColumnCollection.cs (CopyTo): Method specific to 2.0
profile.

* DataRowCollection.cs (Count): Property is overridden in 2.0
profile.

* TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.

* DataRelationCollection.cs (CopyTo): Method specific to 2.0
profile.

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

17 years ago2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 May 2007 10:03:57 +0000 (10:03 -0000)]
2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>

* SettingsBase.cs : property values are filled only when each
  property is accessed. It should not use virtual providers,
  properties or context internally since they could be overriden.
* SettingsPropertyValue.cs : to serialize value as string, use
  TypeConverter as well (as deserialization).
* SettingsProviderCollection.cs : (Add) null arg check.

* SettingsBaseTest.cs : new test.
* ApplicationSettingsBaseTest.cs : added Providers().

* System_test.dll.sources : added SettingsBaseTest.cs.

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

17 years ago* HtmlTextWriter.cs: EncodeAttributeValue should call HtmlAttributeEncode as documented
Vladimir Krasnov [Wed, 30 May 2007 09:45:28 +0000 (09:45 -0000)]
* HtmlTextWriter.cs: EncodeAttributeValue should call HtmlAttributeEncode as documented

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 09:32:54 +0000 (09:32 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* System.Data.dll.sources: Added SqlBulkCopy.cs,
SqlBulkCopyColumnMappingCollection.cs.

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 09:32:20 +0000 (09:32 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* SqlBulkCopy.cs: Added new stubs.

* SqlBulkCopyColumnMappingCollection.cs: Added new stubs.

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

17 years agoTARGET_JVM: the attribute is not needed anymore
Konstantin Triger [Wed, 30 May 2007 09:28:02 +0000 (09:28 -0000)]
TARGET_JVM: the attribute is not needed anymore

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

17 years ago* AssemblyResourceLoader.cs: GetResourceUrl, TARGET_JVM will use type's hashcode...
Vladimir Krasnov [Wed, 30 May 2007 08:58:25 +0000 (08:58 -0000)]
* AssemblyResourceLoader.cs: GetResourceUrl, TARGET_JVM will use type's hashcode for resource url

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

17 years ago2007-05-30 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 30 May 2007 08:56:09 +0000 (08:56 -0000)]
2007-05-30  Nagappan A  <anagappan@novell.com>

* OdbcDataReader.cs (GetValue): Adds nano seconds as tickcs from
the received buffer.

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

17 years agorefactoring: fix documentation attributes
Konstantin Triger [Wed, 30 May 2007 08:52:13 +0000 (08:52 -0000)]
refactoring: fix documentation attributes

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

17 years ago * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
Everaldo Canuto [Wed, 30 May 2007 05:18:25 +0000 (05:18 -0000)]
* DataGridTextBoxColumn.cs: Fix textbox horizontal offset.

2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

* DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid

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

17 years ago * DataGridTextBoxColumn.cs: Fix texbox position to prevent override grid
Everaldo Canuto [Wed, 30 May 2007 05:13:40 +0000 (05:13 -0000)]
* DataGridTextBoxColumn.cs: Fix texbox position to prevent override grid
lines. Fixes #80285.

2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

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

17 years ago * DataGridColumnStyle.cs: Add char trimming column header text format.
Everaldo Canuto [Wed, 30 May 2007 02:46:39 +0000 (02:46 -0000)]
* DataGridColumnStyle.cs: Add char trimming column header text format.

2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

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

17 years ago2007-05-29 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 29 May 2007 23:16:11 +0000 (23:16 -0000)]
2007-05-29  Everaldo Canuto  <ecanuto@novell.com>

* DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
Fixes #80147.

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

17 years agoIn .:
Robert Jordan [Tue, 29 May 2007 21:29:31 +0000 (21:29 -0000)]
In .:
2007-05-29  Robert Jordan  <robertj@gmx.net>

* data/config.in: add mono_win32_compat entries.

In mono/metadata:
2007-05-29  Robert Jordan  <robertj@gmx.net>

* marshal.[c|h]: add mono_win32_compat_* wrappers. Fixes #81754.

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

17 years agoThis should not be a TODO, its a programmer note
Miguel de Icaza [Tue, 29 May 2007 18:32:02 +0000 (18:32 -0000)]
This should not be a TODO, its a programmer note

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

17 years ago * TreeNode.cs: Fix off by one on calculating whether or not a
Jackson Harper [Tue, 29 May 2007 18:31:18 +0000 (18:31 -0000)]
    * TreeNode.cs: Fix off by one on calculating whether or not a
        * node
        is visible.

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