mono.git
17 years agoAdd a pre-generated windows configuration file
Miguel de Icaza [Fri, 1 Dec 2006 20:53:25 +0000 (20:53 -0000)]
Add a pre-generated windows configuration file

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

17 years agoNew test.
Marek Safar [Fri, 1 Dec 2006 19:18:42 +0000 (19:18 -0000)]
New test.

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

17 years ago2006-12-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 1 Dec 2006 19:18:04 +0000 (19:18 -0000)]
2006-12-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80108
* ecore.cs (EventExpr.EmitAddOrRemove): Don't crash when right side is not
compatible.

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

17 years ago2006-12-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 1 Dec 2006 19:00:17 +0000 (19:00 -0000)]
2006-12-01  Chris Toshok  <toshok@ximian.com>

* Form.cs: flag a few things as "new" to quiet some of the mcs
warnings.

* AxHost.cs: same.

* PrintPreviewDialog.cs: same.

* DataGridView.cs: fix a ton of corcompare warnings.  not all, but
now DGV isn't so horrible on the class status page.  also, move
all events to using System.ComponentModel.EventHandlerList.  my
wrists hurt.

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

17 years agoCorrectly reapplied my last changes
Marek Safar [Fri, 1 Dec 2006 18:58:20 +0000 (18:58 -0000)]
Correctly reapplied my last changes

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

17 years agoCorrectly reapplied my last changes
Marek Safar [Fri, 1 Dec 2006 18:56:09 +0000 (18:56 -0000)]
Correctly reapplied my last changes

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

17 years ago2006-12-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 1 Dec 2006 18:20:08 +0000 (18:20 -0000)]
2006-12-01  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiFormTest.cs: All current NotWorking tests are now
working, added a few more tests.

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

17 years ago2006-12-01 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 1 Dec 2006 18:05:04 +0000 (18:05 -0000)]
2006-12-01  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiWindowManager.cs:
- Set form to active mdi child if shown,
and update the active mdi child to the next
remaining child in the z-order if the form is hidden.

* Form.cs:
- Track if the form has been visible and if its
visibility is beeing changed, so that the MdiClient
can properly decide the ActiveMdiChild. The MdiClient
cannot track this since the form can change visibility
before MdiClient is created.

* MdiClient.cs:
- Don't activate anything of the parent form is changing
its visibility.
- Rework ActiveMdiChild to only return visible mdi
children and take into account several other corner
cases.

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

17 years ago2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 1 Dec 2006 17:57:49 +0000 (17:57 -0000)]
2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWriter.cs: remove unused WriteBytes method.

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

17 years ago* CurrencyManagerTest.cs: Added test for bug #80107.
Gert Driesen [Fri, 1 Dec 2006 17:46:35 +0000 (17:46 -0000)]
* CurrencyManagerTest.cs: Added test for bug #80107.

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

17 years ago* DataGridTest.cs: Fixed build.
Gert Driesen [Fri, 1 Dec 2006 17:24:24 +0000 (17:24 -0000)]
* DataGridTest.cs: Fixed build.

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

17 years agoIn .:
Chris Toshok [Fri, 1 Dec 2006 15:58:34 +0000 (15:58 -0000)]
In .:
2006-12-01  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms.dll.sources: add IBindableComponent.cs

In System.Windows.Forms:
2006-12-01  Chris Toshok  <toshok@ximian.com>

* IBindableComponent.cs: new 2.0 interface.

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

17 years agoReapply Marek's patch after tagging 1-2-2
Miguel de Icaza [Fri, 1 Dec 2006 15:29:30 +0000 (15:29 -0000)]
Reapply Marek's patch after tagging 1-2-2

2006-11-30  Marek Safar  <marek.safar@gmail.com>

        Correct unary operators implementation (part I)
        Also fixes #80026

        * cfold.cs (Error_CompileTimeOverflow): Made internal

        * const.cs (IConstant): Changed to use reference to constant and
        not constant itself.
        Updated IConstant implementations.

        * constant.cs (CreateConstant): New factory method.
        Updated IConstant implementation.

        * convert.cs (ImplicitStandardConversionExists): Uses compiler Equals.

        * ecore.cs: Updated to use CreateConstantReference.

        * enum.cs: Reflects IConstant changes.

        * expression.cs (Unary): Reimplemented +,-,~ to conform C# standard.

        * literal.cs (NullConstant): Change to be independently usable.

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

17 years ago* DataGridTest.cs: Added tests for Font, CaptionFont and HeaderFont.
Gert Driesen [Fri, 1 Dec 2006 14:31:49 +0000 (14:31 -0000)]
* DataGridTest.cs: Added tests for Font, CaptionFont and HeaderFont.
* DataGrid.cs: Font for caption area is bold by default.

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

17 years ago* ReturnMessage.cs: When creating an exception message, copy the call
Lluis Sanchez [Fri, 1 Dec 2006 13:34:00 +0000 (13:34 -0000)]
* ReturnMessage.cs: When creating an exception message, copy the call
  context from the call message.

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

17 years ago* MessageFormatter.cs: Include the logical context in the message when
Lluis Sanchez [Fri, 1 Dec 2006 13:31:21 +0000 (13:31 -0000)]
* MessageFormatter.cs: Include the logical context in the message when
  throwing an exception. Fixes a compatibility issue with MS.NET.

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

17 years ago2006-12-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 1 Dec 2006 13:28:46 +0000 (13:28 -0000)]
2006-12-01  Sebastien Pouliot  <sebastien@ximian.com>

* SmtpClient.cs: Added MonoTODO for missing SSL/TLS support and
updated existing MonoTODO (or changed them to FIXME) to be clearer
for anyone using the API.

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

17 years ago* test-541.cs, gtest-298.cs: New tests based on #79972.
Raja R Harinath [Fri, 1 Dec 2006 11:13:02 +0000 (11:13 -0000)]
* test-541.cs, gtest-298.cs: New tests based on #79972.

delete empty files

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

17 years ago* DateTimeTest.cs: Added test for bug #80094. Remoted trailing tabs.
Gert Driesen [Fri, 1 Dec 2006 10:26:00 +0000 (10:26 -0000)]
* DateTimeTest.cs: Added test for bug #80094. Remoted trailing tabs.

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

17 years agoIn Test/System.Windows.Forms:
Everaldo Canuto [Fri, 1 Dec 2006 09:49:44 +0000 (09:49 -0000)]
In Test/System.Windows.Forms:
2006-11-01  Everaldo Canuto  <everaldo@simios.org>

* MenuTest.cs: Tag property assert for 2.0 profile.

In System.Windows.Forms:
* Menu.cs: Tag property for 2.0.

2006-11-01  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Dec 2006 07:45:08 +0000 (07:45 -0000)]
2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs :
  When comparing enumerations, two or more enumeration values might
  match. Thus basically we should do complete matching, but right
  now just do reverse order search since only numbered abbrev month
  names matter (and full iteration is a mess). Fixed bug #80094.

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

17 years ago2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Dec 2006 06:52:54 +0000 (06:52 -0000)]
2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs :
  use new internal clone-less DateTimeFormatInfo members.

* DateTimeFormatInfo.cs : added some internal clone-less versions of
  string[] properties and methods.

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

17 years ago2006-11-01 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 1 Dec 2006 06:50:52 +0000 (06:50 -0000)]
2006-11-01  Everaldo Canuto  <everaldo@simios.org>

* ThemeWin32Classic.cs: Adjust menu separator drawing.

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

17 years ago * TreeView.cs: doh, the Begin* events should be
Chris Toshok [Fri, 1 Dec 2006 06:31:01 +0000 (06:31 -0000)]
* TreeView.cs: doh, the Begin* events should be
TreeViewCancelEventHandler.

2006-12-01  Chris Toshok  <toshok@ximian.com>

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

17 years ago * Form.cs: Form.ControlCollection already stores off the
Chris Toshok [Fri, 1 Dec 2006 06:25:09 +0000 (06:25 -0000)]
* Form.cs: Form.ControlCollection already stores off the
form_owner field.  don't access the base class's internal "owner"
field.

* Control.cs: make all the fields in Control.ControlCollection
private.  there's no need for any internal fields here.

2006-12-01  Chris Toshok  <toshok@ximian.com>

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

17 years ago * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
Chris Toshok [Fri, 1 Dec 2006 06:19:15 +0000 (06:19 -0000)]
* DataGrid.cs: call SetDataSource instead of CalcGridAreas in
OnHandleCreated.  Fixes bug #80109.

2006-12-01  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-12-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 1 Dec 2006 06:16:09 +0000 (06:16 -0000)]
2006-12-01  Chris Toshok  <toshok@ximian.com>

* Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
SplitContainer.cs, Control.cs, StatusStrip.cs,
DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:

do most of the work to convert our code over to use
System.ComponentModel.Component.Events for
adding/removing/dispatching events.

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

17 years agoSet eol-style
Miguel de Icaza [Fri, 1 Dec 2006 04:36:20 +0000 (04:36 -0000)]
Set eol-style

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

17 years ago2006-11-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Dec 2006 02:16:13 +0000 (02:16 -0000)]
2006-11-30  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Fix an ArgumentNullException reported
twice today in IRC.

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

17 years ago2006-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Dec 2006 01:44:17 +0000 (01:44 -0000)]
2006-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReflectionImporter.cs : implemented several missing check and
  support for XmlArrayAttribute. Fixed bug #78042.

* XmlSerializerTests.cs : added tests for XmlArrayAttribute support.

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

17 years agoRevert the recent fixes until 1-2-2 is branched
Miguel de Icaza [Fri, 1 Dec 2006 00:52:55 +0000 (00:52 -0000)]
Revert the recent fixes until 1-2-2 is branched

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

17 years agoApply patch from Paolo:
Miguel de Icaza [Fri, 1 Dec 2006 00:36:33 +0000 (00:36 -0000)]
Apply patch from Paolo:

2006-11-30  Paolo Molaro (lupus@ximian.com)

* metadata.c, marshal.c: locking fixes when writing to image->mempool.

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

17 years agoUpdated
Marek Safar [Thu, 30 Nov 2006 23:34:44 +0000 (23:34 -0000)]
Updated

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

17 years agoOne more test case.
Marek Safar [Thu, 30 Nov 2006 23:34:12 +0000 (23:34 -0000)]
One more test case.

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

17 years ago2006-11-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 30 Nov 2006 23:33:07 +0000 (23:33 -0000)]
2006-11-30  Marek Safar  <marek.safar@gmail.com>

Correct unary operators implementation (part I)
Also fixes #80026

* cfold.cs (Error_CompileTimeOverflow): Made internal

* const.cs (IConstant): Changed to use reference to constant and
not constant itself.
Updated IConstant implementations.

* constant.cs (CreateConstant): New factory method.
Updated IConstant implementation.

* convert.cs (ImplicitStandardConversionExists): Uses compiler Equals.

* ecore.cs: Updated to use CreateConstantReference.

* enum.cs: Reflects IConstant changes.

* expression.cs (Unary): Reimplemented +,-,~ to conform C# standard.

* literal.cs (NullConstant): Change to be independently usable.

Second try :-(

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

17 years agoReverted
Marek Safar [Thu, 30 Nov 2006 22:52:54 +0000 (22:52 -0000)]
Reverted

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

17 years agoReverted
Marek Safar [Thu, 30 Nov 2006 22:46:58 +0000 (22:46 -0000)]
Reverted

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

17 years agoReverted.
Marek Safar [Thu, 30 Nov 2006 22:46:13 +0000 (22:46 -0000)]
Reverted.

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

17 years ago2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Nov 2006 20:39:00 +0000 (20:39 -0000)]
2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: physical path comes from GetFilePathTranslated to
avoid trimming in HttpRequest.MapPath.

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

17 years agoRemove NotWorking category from PropertyTest
Everaldo Canuto [Thu, 30 Nov 2006 20:30:53 +0000 (20:30 -0000)]
Remove NotWorking category from PropertyTest

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

17 years agoNew test.
Marek Safar [Thu, 30 Nov 2006 20:11:26 +0000 (20:11 -0000)]
New test.

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

17 years ago * map.c: _cnm_return_val_if_overflow() should be a no-op unless DEBUG is
Jonathan Pryor [Thu, 30 Nov 2006 19:38:31 +0000 (19:38 -0000)]
* map.c: _cnm_return_val_if_overflow() should be a no-op unless DEBUG is
  defined.  "Fixes" false positives pending further investigation.

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

17 years ago2006-11-30 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 30 Nov 2006 19:36:43 +0000 (19:36 -0000)]
2006-11-30  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: fix the scrollbar mouse event forwarding in the
grabbed listbox.  Fixes #80036 and #80101.

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

17 years agoNew test.
Marek Safar [Thu, 30 Nov 2006 19:33:28 +0000 (19:33 -0000)]
New test.

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

17 years agoNew tests.
Marek Safar [Thu, 30 Nov 2006 19:32:51 +0000 (19:32 -0000)]
New tests.

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

17 years ago2006-11-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 30 Nov 2006 19:32:07 +0000 (19:32 -0000)]
2006-11-30  Marek Safar  <marek.safar@gmail.com>

Correct unary operators implementation (part I)
Also fixes #80026

* cfold.cs (Error_CompileTimeOverflow): Made internal

* const.cs (IConstant): Changed to use reference to constant and
not constant itself.
Updated IConstant implementations.

* constant.cs (CreateConstant): New factory method.
Updated IConstant implementation.

* convert.cs (ImplicitStandardConversionExists): Uses compiler Equals.

* ecore.cs: Updated to use CreateConstantReference.

* enum.cs: Reflects IConstant changes.

* expression.cs (Unary): Reimplemented +,-,~ to conform C# standard.

* literal.cs (NullConstant): Change to be independently usable.

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

17 years ago2006-11-30 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 30 Nov 2006 19:30:08 +0000 (19:30 -0000)]
2006-11-30  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: fix the scrollbar mouse event forwarding in the
grabbed listbox.  Fixes #80036.

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

17 years ago Fix test
Jackson Harper [Thu, 30 Nov 2006 18:46:40 +0000 (18:46 -0000)]
    Fix test

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

17 years agoAdded the MessageTest test to the sources.
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 17:48:38 +0000 (17:48 -0000)]
Added the MessageTest test to the sources.

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

17 years ago2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 17:47:01 +0000 (17:47 -0000)]
2006-11-30  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MessageTest.cs: Added test for ToString.

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

17 years ago2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 17:32:40 +0000 (17:32 -0000)]
2006-11-30  Rolf Bjarne Kvinge <RKvinge@novell.com>

       * Message.cs: Changed ToString() to match MS.

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

17 years ago * TextControl.cs: Lower magic number for wrap calculations. This
Jackson Harper [Thu, 30 Nov 2006 16:56:41 +0000 (16:56 -0000)]
    * TextControl.cs: Lower magic number for wrap calculations. This
        lets text get closer to the right (far) edge.

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

17 years ago * TextBoxBase.cs: You can still change the selected text on a
Jackson Harper [Thu, 30 Nov 2006 16:52:47 +0000 (16:52 -0000)]
    * TextBoxBase.cs: You can still change the selected text on a
        * read
        only textbox.

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

17 years agosvn path=/trunk/mcs/; revision=68757
Yoni Klain [Thu, 30 Nov 2006 16:42:53 +0000 (16:42 -0000)]
svn path=/trunk/mcs/; revision=68757

17 years agosvn path=/trunk/mcs/; revision=68756
Yoni Klain [Thu, 30 Nov 2006 16:42:07 +0000 (16:42 -0000)]
svn path=/trunk/mcs/; revision=68756

17 years ago2006-11-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 30 Nov 2006 16:10:04 +0000 (16:10 -0000)]
2006-11-30  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Tweak 2.0 layout properties.
* Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
* TextRenderer.cs: Add a new overload.
* ToolStrip*: Huge amount of changes and new features.

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

17 years agoDataGridColumnStyleTest.cs: Set eol-style to native.
Gert Driesen [Thu, 30 Nov 2006 15:35:53 +0000 (15:35 -0000)]
DataGridColumnStyleTest.cs: Set eol-style to native.
BindingMemberInfoTest.cs: Same.
DataGridCellTest.cs: Same.
LabelTest.cs: Same.
PropertyManagerTest.cs: Same.
ControlEventTest.cs: Same.
PictureBoxTest.cs: Same.
CurrencyManagerTest.cs: Same.
CheckBoxTest.cs: Same.
Common.cs: Same.
ProgressBarTest.cs: Same.
RadioButtonTest.cs: Same.
ToolTipTest.cs: Same.
DataGridViewBandTest.cs: Same.
RichTextBoxTest.cs: Same.
ApplicationTest.cs: Same.
ListViewCollectionsTest.cs: Same.
TreeNodeTest.cs: Same.
DataGridTableStyleTest.cs: Same.
StatusBarTest.cs: Same.
BindingTest.cs: Same.
PrintDialogTest.cs: Same.
ListControlTest.cs: Same.
DataGridViewAdvancedBorderStyleTest.cs: Same.
MonthCalendarTest.cs: Same.
FocusTest.cs: Same.
DataGridTest.cs: Same.
MenuItemTest.cs: Same.
ControlBindingsConverterTest.cs: Same.
StatusBarPanelTest.cs: Same.
TreeViewTest.cs: Same.
SystemInformationTest.cs: Same.
DataGridViewRowTest.cs: Same.
TestImageIndexConverter.cs: Same.
ApplicationContextTest.cs: Same.
ButtonTest.cs: Same.
GridTableStylesCollectionTest.cs: Same.
ScrollBarTest.cs: Same.
DataGridViewElementTest.cs: Same.
ListBoxTest.cs: Same.
TrackBarTest.cs: Same.
CommonDialogsTest.cs: Same.
ToolBarButtonTest.cs: Same.
ErrorProviderTest.cs: Same.
DataGridViewCellTest.cs: Same.
ControlPaintTest.cs: Same.
ImageListTest.cs: Same.
BindingContextTest.cs: Same.
ControlTest.cs: Same.
ContainerControlTest.cs: Same.
ListViewItemTest.cs: Same.
ListBoxEventTest.cs: Same.
CheckBoxEventTest.cs: Same.
CheckedListBoxTest.cs: Same.
DataGridViewCellStyleTest.cs: Same.
CheckedListBoxEventTest.cs: Same.
ToolBarTest.cs: Same.
FormTest.cs: Same.
MenuTest.cs: Same.
GroupBoxTest.cs: Same.
DataGridViewTest.cs: Same.

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

17 years ago* SplitContainerTests.cs: Set eol-style to CRLF.
Gert Driesen [Thu, 30 Nov 2006 15:29:41 +0000 (15:29 -0000)]
* SplitContainerTests.cs: Set eol-style to CRLF.
* ComboBoxTests.cs: Same.
* EventArgsTest.cs: Same.
* FlowPanelTests.cs: Same.
* DockingTests.cs: Same.

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

17 years ago* DataGridTextBoxColumnTest.cs: Set eol-style to native.
Gert Driesen [Thu, 30 Nov 2006 15:25:23 +0000 (15:25 -0000)]
* DataGridTextBoxColumnTest.cs: Set eol-style to native.
* GridColumnStylesCollectionTest.cs: Same.

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

17 years ago* MdiFormTest.cs: Set eol-style to native.
Gert Driesen [Thu, 30 Nov 2006 15:21:53 +0000 (15:21 -0000)]
* MdiFormTest.cs: Set eol-style to native.

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

17 years ago2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 15:16:53 +0000 (15:16 -0000)]
2006-11-30  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiFormTest.cs: Text_ChildClose is no longer NotWorking.

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

17 years ago2006-11-30 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 30 Nov 2006 15:16:06 +0000 (15:16 -0000)]
2006-11-30  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: fixes for LargeChange and Maximum to get the
scroll range correct.  Fixes #79994.

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

17 years agoremove redundand NotWorkings
Konstantin Triger [Thu, 30 Nov 2006 15:07:43 +0000 (15:07 -0000)]
remove redundand NotWorkings

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

17 years ago2006-11-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 30 Nov 2006 15:06:54 +0000 (15:06 -0000)]
2006-11-30  Rolf Bjarne Kvinge <RKvinge@novell.com>

        * MdiWindowManager.cs: Update main form's text when
        a form is closed. (fixes #80038)

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

17 years agoFix an regression in ButtonSize
Everaldo Canuto [Thu, 30 Nov 2006 14:56:45 +0000 (14:56 -0000)]
Fix an regression in ButtonSize

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

17 years agoPanetTest.cs added new test for 2.0
Yoni Klain [Thu, 30 Nov 2006 11:37:50 +0000 (11:37 -0000)]
PanetTest.cs added new test for 2.0

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

17 years agoThu Nov 30 11:11:37 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 30 Nov 2006 10:12:24 +0000 (10:12 -0000)]
Thu Nov 30 11:11:37 CET 2006 Paolo Molaro <lupus@ximian.com>

* icall.c: back out GetFields () fix until the serialization code is
fixed to not depend on the incorrect behaviour.

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

17 years agoFixlets
Marek Habersack [Thu, 30 Nov 2006 09:45:00 +0000 (09:45 -0000)]
Fixlets

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

17 years ago* MenuItemTest.cs: Added test for Text property.
Gert Driesen [Thu, 30 Nov 2006 09:10:11 +0000 (09:10 -0000)]
* MenuItemTest.cs: Added test for Text property.

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

17 years ago2006-11-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Nov 2006 05:35:45 +0000 (05:35 -0000)]
2006-11-30  Atsushi Enomoto  <atsushi@ximian.com>

* XslStylesheet.cs, XslTemplate.cs : added XSLT stack frame debug
  support, based on the patch by Michael Meeks.

* XslTransform.cs, XsltException.cs : added XSLT stack frame debug
  support, based on the patch by Michael Meeks.

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

17 years ago2006-11-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 30 Nov 2006 04:39:35 +0000 (04:39 -0000)]
2006-11-29  Miguel de Icaza  <miguel@novell.com>

* ComponentDesigner.cs: Remove a few exceptions being thrown from
a few popular calls.   This will just make code that is
automatically generated to run, it will not actually provide any
real designer functionality.

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

17 years ago2006-11-29 Ivan N. Zlatev <contact@i-nz.net>
Miguel de Icaza [Thu, 30 Nov 2006 03:52:42 +0000 (03:52 -0000)]
2006-11-29  Ivan N. Zlatev <contact@i-nz.net>

* MemberDescriptor.cs, ReflectionPropertyDescriptor.cs: 1) The
ReflectionPropretyDescriptor must be able to operate with non
public properties.

2) The current implementation ignores the fact that the component
can be in design mode. In design mode some of the properties (the
design-time ones) are supposed to be redirected to the
designer. The component which should be used to access the
property is retrieved by using MemberDescriptor.GetInvokee
(implemented in the patch). Updated the
ReflectorPropertyDescriptor to use GetInvokee to decide which
component should it use.

Reviewed by: Miguel de Icaza

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

17 years ago2006-11-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 30 Nov 2006 02:43:32 +0000 (02:43 -0000)]
2006-11-29  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDown.cs: Fix for SupportsTransparency change.

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

17 years ago * XplatUIWin32.cs (GetWindowTransparency): check return value of
Chris Toshok [Thu, 30 Nov 2006 02:30:12 +0000 (02:30 -0000)]
* XplatUIWin32.cs (GetWindowTransparency): check return value of
GetLayeredWindowAttributes.  if it's 0, return 1.0, as
SetWindowTransparency hasn't been called.

2006-11-29  Chris Toshok  <toshok@ximian.com>

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

17 years ago * Form.cs (set_TransparencyKey): only call SetWindowTransparency
Chris Toshok [Thu, 30 Nov 2006 02:14:54 +0000 (02:14 -0000)]
* Form.cs (set_TransparencyKey): only call SetWindowTransparency
if it's supported.
(set_AllowTransparency): reorder things a little so that the
WS_EX_LAYERED style is removed properly.

2006-11-29  Chris Toshok  <toshok@ximian.com>

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

17 years agodoh, fix the uint-ness
Chris Toshok [Thu, 30 Nov 2006 01:58:44 +0000 (01:58 -0000)]
doh, fix the uint-ness

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 30 Nov 2006 01:53:42 +0000 (01:53 -0000)]
In System.Windows.Forms:
[ totally cosmetic eye-candy feature, fixes bug #80089 ]

* Form.cs: only call the XplatUI transparency method (get/set) if
SupportsTransparency says it's supported. Otherwise fallback to
doing nothing (in the set case) or returning the instance field we
cache (in the get case).

* XplatUIStructs.cs: add TransparencySupport flag enum.

* XplatUIDriver.cs: add abstract GetWindowTransparency, and track
change to SupportsTransparency.

* XplatUIOSX.cs: stub out GetWindowTransparency, and return
TransparencySupport.None from SupportsTransparency.

* XplatUIX11.cs: Stub out GetWindowTransparency, and return
TransparencySupport.Set from SupportsTransparency.

* XplatUIWin32.cs: implement GetWindowTransparency calling
GetLayeredWindowAttributes, and implement SupportsTransparency by
checking whether or not both
GetWindowTransparency/SetWindowTransparency are available
entrypoints.  We need to do this since SetWindowTransparency is
available as of win2k, but GetWindowTransparency requires winxp.
yay win32 api.

* XplatUI.cs: Add GetWindowTransparency, and change
SupportsTransparency to allow for either/both Get/Set.

2006-11-29  Chris Toshok  <toshok@ximian.com>

In System.Windows.Forms.X11Internal:
* X11Hwnd.cs: implement GetWindowTransparency, and also add
caching for WINDOW_TYPE and _NET_WM_WINDOW_OPACITY.  We invalidate
the cache when we get a PropertyNotify on that atom.

* X11Display.cs: return GetSet from SupportsTransparency if we
have a compositor running.  otherwise return None.

* XplatUIX11-new.cs: pass SupportsTransparency off onto the
X11Display, and pass GetWindowTransparency off onto the X11Hwnd.

2006-11-29  Chris Toshok  <toshok@ximian.com>

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

17 years agomkbundle: Added --nomain option.
Joshua Tauberer [Thu, 30 Nov 2006 01:01:02 +0000 (01:01 -0000)]
mkbundle: Added --nomain option.

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

17 years agomkbundle: Added --nomain option.
Joshua Tauberer [Thu, 30 Nov 2006 01:00:01 +0000 (01:00 -0000)]
mkbundle: Added --nomain option.

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

17 years ago * DataGrid.cs: keep from going into an infinite loop redrawing a
Chris Toshok [Thu, 30 Nov 2006 00:39:26 +0000 (00:39 -0000)]
* DataGrid.cs: keep from going into an infinite loop redrawing a
datagrid that has no datasource.  Fixes bug #80033.

2006-11-29  Chris Toshok  <toshok@ximian.com>

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:32:00 +0000 (00:32 -0000)]
Rationalize MonoTODO

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:31:45 +0000 (00:31 -0000)]
Rationalize MonoTODO

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:31:29 +0000 (00:31 -0000)]
Rationalize MonoTODO

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:31:10 +0000 (00:31 -0000)]
Rationalize MonoTODO

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:30:54 +0000 (00:30 -0000)]
Rationalize MonoTODO

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:30:30 +0000 (00:30 -0000)]
Rationalize MonoTODO

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

17 years agoRationalize MonoTODO
Miguel de Icaza [Thu, 30 Nov 2006 00:30:05 +0000 (00:30 -0000)]
Rationalize MonoTODO

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

17 years ago * MenuItem.cs: fix the NRE when we assign text (and therefore call
Chris Toshok [Wed, 29 Nov 2006 23:50:46 +0000 (23:50 -0000)]
* MenuItem.cs: fix the NRE when we assign text (and therefore call
Invalidate) before the mainmenu has been assigned to a control.

2006-11-29  Chris Toshok  <toshok@ximian.com>

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

17 years agorenumber these assertions
Chris Toshok [Wed, 29 Nov 2006 23:22:17 +0000 (23:22 -0000)]
renumber these assertions

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

17 years ago * DataGrid.cs: detect when we should be double the double click
Chris Toshok [Wed, 29 Nov 2006 23:20:31 +0000 (23:20 -0000)]
* DataGrid.cs: detect when we should be double the double click
row/column autosize stuff, although that codepath has yet to be
written.  part of the work for bug #79891.

2006-11-29  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-11-29 Mark Mason <mason@broadcom.com>
Mark Mason [Wed, 29 Nov 2006 22:49:10 +0000 (22:49 -0000)]
2006-11-29  Mark Mason  <mason@broadcom.com>

* basic-calls.cs: additional tests for passing
structures as function arguments.

Changes contributed under MIT/X11 license.

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

17 years ago2006-11-29 Mark Mason <mason@broadcom.com>
Mark Mason [Wed, 29 Nov 2006 22:47:01 +0000 (22:47 -0000)]
2006-11-29  Mark Mason  <mason@broadcom.com>

* mini-mips.h: disable custom exception handling
* mini-mips.c: throw/rethrow should use jalr to call
exception stubs.  Fixed bug with passing structures
by value. More support for tracing floating point
functions.

Changes contributed under the MIT/X11 license.

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Wed, 29 Nov 2006 22:46:53 +0000 (22:46 -0000)]
In Test/System.Windows.Forms:
2006-11-29  Chris Toshok  <toshok@ximian.com>

* BindingTest.cs: add two new tests.

In System.Windows.Forms:
2006-11-29  Chris Toshok  <toshok@ximian.com>

* Binding.cs (SetControl): fix unit test.

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

17 years ago2006-11-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 29 Nov 2006 22:09:57 +0000 (22:09 -0000)]
2006-11-29  Martin Baulig  <martin@ximian.com>

* gtest-134.cs: Fixed.

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

17 years ago2006-11-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 29 Nov 2006 22:07:52 +0000 (22:07 -0000)]
2006-11-29  Martin Baulig  <martin@ximian.com>

* INullableValue.cs: Removed.

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

17 years ago2006-11-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 29 Nov 2006 21:13:04 +0000 (21:13 -0000)]
2006-11-29  Chris Toshok  <toshok@ximian.com>

* X11ThreadQueue.cs (EnqueueUnlocked): add the switch motionnotify
compression/NeedDispatchIdle assignment found in X11Hwnd here.
(RemovePaintUnlocked): nuke
(AddPaintUnlocked): nuke
(AddConfigureUnlocked): rename to AddConfigure.

Add some debug stuff to HwndEventQueue so we can see the stack
trace of where the hwnd was added to the queue, in case we somehow
try to add it multiple times.

* X11Hwnd.cs (AddExpose): there's no need for this to have locks
around it - it should only ever be called from operations on the
hwnd's thread (from ScrollWindow, from GetMessage, from
Invalidate).
(AddConfigureNotify): same goes here.
(HandleConfigureNotify): remove configure_lock reference.
(EnqueueEvent): nuke this.
(PaintEventStart): remove locking.
(ScrollWindow): remove locking.

also, remove all references to
AddPaintUnlocked/RemovePaintUnlocked/AddConfigureUnlocked.  since
we don't need to lock around them, there's not need.

* X11Display.cs (XEventThread) switch from hwnd.EnqueueEvent to
hwnd.Queue.Enqueue.

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

17 years agoremove idea about multithreaded access to Invalidate. people should be using Control...
Chris Toshok [Wed, 29 Nov 2006 21:12:58 +0000 (21:12 -0000)]
remove idea about multithreaded access to Invalidate.  people should be using Control.Invoke.

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

17 years agoWed Nov 29 22:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Nov 2006 21:02:55 +0000 (21:02 -0000)]
Wed Nov 29 22:01:46 CET 2006 Paolo Molaro <lupus@ximian.com>

* profiler.c: provide defaults if none are set.

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

17 years agosplit out the tests dealing with setting width/height, changing orientation, and...
Chris Toshok [Wed, 29 Nov 2006 20:59:56 +0000 (20:59 -0000)]
split out the tests dealing with setting width/height, changing orientation, and checking width/height.  they're NotWorking

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

17 years agoImplemented a few missing or not implemented methods
Marek Habersack [Wed, 29 Nov 2006 20:49:01 +0000 (20:49 -0000)]
Implemented a few missing or not implemented methods

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