mono.git
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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:34:15 +0000 (20:34 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:33:24 +0000 (20:33 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:32:42 +0000 (20:32 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:32:42 +0000 (20:32 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68693

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:32:02 +0000 (20:32 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:32:02 +0000 (20:32 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68692

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:31:37 +0000 (20:31 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:31:37 +0000 (20:31 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68691

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:31:15 +0000 (20:31 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:31:15 +0000 (20:31 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68690

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:30:46 +0000 (20:30 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:30:46 +0000 (20:30 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68689

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:30:11 +0000 (20:30 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:30:11 +0000 (20:30 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68688

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:29:45 +0000 (20:29 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:29:45 +0000 (20:29 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68687

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:29:31 +0000 (20:29 -0000)]
New test.

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

17 years agoNew test.
Martin Baulig [Wed, 29 Nov 2006 20:29:31 +0000 (20:29 -0000)]
New test.

svn path=/branches/martin/anonymous-methods2/work/; revision=68686

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

* class.cs (Constructor.Emit): Correctly handle anonymous methods;
we need to emit the scope initializer before calling the base .ctor.

* anonymous.cs: Merged back from the new anonymous methods branch.
(AnonymousMethodHost): Renamed to `RootScopeInfo'.

* expression.cs (ParameterReference.DoResolveBase): Create a
"normal" ScopeInfo when capturing parameters rather than using the
root scope; this makes things work with anonymous methods having
parameters.

* statement.cs
(ToplevelBlock.AnonymousMethodHost): Renamed into `RootScope'.

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

17 years agoWed Nov 29 20:28:17 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Nov 2006 19:29:37 +0000 (19:29 -0000)]
Wed Nov 29 20:28:17 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c: fixed typo in the soft-float ldind.r4 handling
(bug #80086).

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

17 years ago2006-11-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 29 Nov 2006 18:14:50 +0000 (18:14 -0000)]
2006-11-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms.dll.sources: Add NumericTextBox.cs.

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

17 years ago2006-11-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 29 Nov 2006 18:13:48 +0000 (18:13 -0000)]
2006-11-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PageSetupDialog.cs: Validate the margins and set them in
PageSettings.
* NumericTextBox.cs: New class to mimic the behavior of the
textboxes used in the printing dialogs.

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

17 years agoMark missing NunitWeb
Noam Lampert [Wed, 29 Nov 2006 17:35:44 +0000 (17:35 -0000)]
Mark missing NunitWeb

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

17 years agoRevert NotWorking
Noam Lampert [Wed, 29 Nov 2006 17:28:30 +0000 (17:28 -0000)]
Revert NotWorking

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

17 years agoSmall fix.
Martin Baulig [Wed, 29 Nov 2006 17:12:59 +0000 (17:12 -0000)]
Small fix.

svn path=/branches/martin/anonymous-methods2/mcs/; revision=68674

17 years ago2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 29 Nov 2006 17:10:08 +0000 (17:10 -0000)]
2006-11-29  Igor Zelmanovich   <igorz@mainsoft.com>

* CreateUserWizardTest.cs: fixed NunitWeb tests.
* DetailsViewTest.cs: fixed NunitWeb tests.
* FormParameterTest.cs: fixed NunitWeb tests.
* FormViewTest.cs: fixed NunitWeb tests.
* MenuTest.cs: fixed NunitWeb tests.
* WizardStepBaseTest.cs: fixed NunitWeb tests.
* XmlDataSourceTest.cs: fixed NunitWeb tests.
* PageTest.cs: fixed NunitWeb tests.
* FormsAuthenticationTest.cs: fixed NunitWeb tests.
* StaticSiteMapProviderTest.cs: fixed NunitWeb tests.

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

17 years ago2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 29 Nov 2006 16:43:24 +0000 (16:43 -0000)]
2006-11-29 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: added missing methods and properties:
AsyncMode
AsyncTimeout
IsAsync
UniqueFilePathSuffix
MaxPageStateFieldLength
ViewStateEncryptionMode
AddOnPreRenderCompleteAsync
AddOnPreRenderCompleteAsync
ExecuteRegisteredAsyncTasks
CreateHtmlTextWriterFromType
RegisterRequiresViewStateEncryption

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

17 years agoRevert rev.68635 changes to Form.cs and PrintPreviewDialog.cs
Andreia Gaita [Wed, 29 Nov 2006 16:29:52 +0000 (16:29 -0000)]
Revert rev.68635 changes to Form.cs and PrintPreviewDialog.cs

* Form.cs: Revert previous change (remove call UpdateBounds
from form constructor), because it messes with the handle creation
order, and that one needs lots and lots of love.

* PrintPreviewDialog.cs: Revert change to CreateHandle (add check
for valid printer and throw InvalidPrinterException if document
is set but printer not valid), adding a MonoTODO. Once
handle creation is done properly, we can put this back in.

2006-11-29  Andreia Gaita  <avidigal@novell.com>

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

17 years agoadditional fix in WebTest.Unload
Andrew Skiba [Wed, 29 Nov 2006 16:26:06 +0000 (16:26 -0000)]
additional fix in WebTest.Unload

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

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

Merged everything from SVN HEAD back.

svn path=/branches/martin/anonymous-methods2/mcs/; revision=68669