mono.git
17 years ago* ControlDesigner.cs: Merge with Miguel's version.
Raja R Harinath [Thu, 28 Dec 2006 05:22:48 +0000 (05:22 -0000)]
* ControlDesigner.cs: Merge with Miguel's version.

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

17 years ago2006-12-28 Alp Toker <alp@atoker.com>
Alp Toker [Thu, 28 Dec 2006 01:47:02 +0000 (01:47 -0000)]
2006-12-28  Alp Toker  <alp@atoker.com>

* Mono.Cairo/DirectFBSurface.cs: Confusion between the DirectFB
surface handle and Cairo surface handle was making the public
constructor unusable.

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

17 years agoTo improve Moma Reports
Miguel de Icaza [Thu, 28 Dec 2006 01:03:29 +0000 (01:03 -0000)]
To improve Moma Reports

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

17 years agoFix build
Miguel de Icaza [Thu, 28 Dec 2006 00:17:17 +0000 (00:17 -0000)]
Fix build

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

17 years agoAdd an old basic implementation I had around
Miguel de Icaza [Thu, 28 Dec 2006 00:12:06 +0000 (00:12 -0000)]
Add an old basic implementation I had around

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

17 years ago * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
Carlos Alberto Cortez [Wed, 27 Dec 2006 20:41:46 +0000 (20:41 -0000)]
* ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
Also make virtual all the key-related methods.

* ListViewItem.cs: Make virtual the key related methods for
ListViewSubItemCollection.

2006-12-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2006-12-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 27 Dec 2006 20:09:21 +0000 (20:09 -0000)]
2006-12-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs:
* ListViewItem.cs:
* ThemeWin32Classic.cs:
* Theme.cs: Initial support for Tile view in ListView,
as well as the implementation of the required bits for it (Item
and Subitem).

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

17 years ago* ControlTest.cs: Added DoubleBuffered test. Added IsHandleCreated
Gert Driesen [Wed, 27 Dec 2006 19:58:56 +0000 (19:58 -0000)]
* ControlTest.cs: Added DoubleBuffered test. Added IsHandleCreated
test for invisible control.

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

17 years ago* MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
Gert Driesen [Wed, 27 Dec 2006 18:54:45 +0000 (18:54 -0000)]
* MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
Provide useful exception messages.
* MonthCalendarTest.cs: Fixed exception tests for MaxSelectionCount,
MaxDate and MinDate on 2.0 profile. Removed extra tabs.

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

17 years ago2006-12-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 27 Dec 2006 17:43:21 +0000 (17:43 -0000)]
2006-12-27  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripButtonTest.cs, ToolStripComboBoxTest.cs, ToolStripControlHostTest.cs,
ToolStripItemTest.cs, ToolStripLabelTest.cs, ToolStripProgressBarTest.cs,
ToolStripSeparatorTest.cs, ToolStripTest.cs, ToolStripTextBoxTest.cs: Added.

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

17 years ago2006-12-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 27 Dec 2006 17:32:10 +0000 (17:32 -0000)]
2006-12-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* TrackBar.cs: Remove a warning.
* MonthCalendar.cs: Moved back to using Capture to hide the calendar
when used by DateTimePicker, fixes #80287. This also requires that
MonthCalendar implements it's own drawing for the yearly updown control,
otherwise the Capture tracking would be too complicated. Removed the Click
and DoubleClick events (according to comments they were hiding the base class
event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
raise these events, not that they cannot be raised. It is possible to raise
them by calling OnClick and OnDoubleClick). Added two internal fields in
HitTestInfo in order to track give more tracking info needed by MonthCalendar.
* ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
* DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
event, no longer needed.

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

17 years ago2006-12-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 27 Dec 2006 17:31:43 +0000 (17:31 -0000)]
2006-12-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MonthCalendarTest.cs: Added test for Click and DoubleClick events.

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

17 years ago2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 27 Dec 2006 17:22:36 +0000 (17:22 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: fixed: RegisterRequiresPostBack feature.

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

17 years ago2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 27 Dec 2006 17:18:36 +0000 (17:18 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>

* CommandField.cs: fixed:
when ShowEditButton=false Update/Cancel button doesn't appear.
when ShowInsertButton=false Insert/Cancel button doesn't appear.

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

17 years agoconfigure servlet session provider
Konstantin Triger [Wed, 27 Dec 2006 16:41:55 +0000 (16:41 -0000)]
configure servlet session provider

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

17 years ago* CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
Vladimir Krasnov [Wed, 27 Dec 2006 16:32:50 +0000 (16:32 -0000)]
* CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net

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

17 years agomerge recent changes
Konstantin Triger [Wed, 27 Dec 2006 16:30:37 +0000 (16:30 -0000)]
merge recent changes

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

17 years agomove J2EE hosting to Mainsoft.Web
Konstantin Triger [Wed, 27 Dec 2006 16:29:05 +0000 (16:29 -0000)]
move J2EE hosting to Mainsoft.Web

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

17 years ago* ConfigurationElementCollection.cs: fixed BaseAdd, looking for identical element...
Vladimir Krasnov [Wed, 27 Dec 2006 16:28:40 +0000 (16:28 -0000)]
* ConfigurationElementCollection.cs: fixed BaseAdd, looking for identical element when collection type is not alternate

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

17 years agoFix compilation for NET_2_0
Konstantin Triger [Wed, 27 Dec 2006 16:24:24 +0000 (16:24 -0000)]
Fix compilation for NET_2_0

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

17 years ago* SessionIDManager.cs: Pass config to SessionStateModule.IsCookieLess.
Konstantin Triger [Wed, 27 Dec 2006 16:23:13 +0000 (16:23 -0000)]
* SessionIDManager.cs: Pass config to SessionStateModule.IsCookieLess.
* SessionStateStoreData.cs: fix constructor signature.
* SessionInProcHandler.cs, SessionStateServerHandler.cs: ensure has a default
constructor to make instantiating same as for custom provider.
* SessionStateModule.cs: support custom providers.

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

17 years agoFix casting; remove throw
Konstantin Triger [Wed, 27 Dec 2006 16:15:12 +0000 (16:15 -0000)]
Fix casting; remove throw

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

17 years agoAvoid MonoGenericContext
Raja R Harinath [Wed, 27 Dec 2006 15:03:22 +0000 (15:03 -0000)]
Avoid MonoGenericContext
* dis-cil.c, dump.c, get.c, get.h, main.c: Replace all instances
of MonoGenericContext with MonoGenericContainer, except for calls
to mono_class_get_full and mono_get_method_full.  Use a top-down
pass to propagate the original argument type from 'dis_method_list'.

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

17 years ago* System.Windows.Forms_test.dll.sources: Add ScrollableControlTest.cs.
Gert Driesen [Wed, 27 Dec 2006 14:21:53 +0000 (14:21 -0000)]
* System.Windows.Forms_test.dll.sources: Add ScrollableControlTest.cs.
* ScrollableControlTest.cs: Added tests for AutoScroll and
AutoScrollMinSize.
* ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
true if new value differs from current value.

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

17 years ago* FormsAuthentication.cs: added internal ReturnUrl property, GetRedirectUrl added...
Vladimir Krasnov [Wed, 27 Dec 2006 14:04:34 +0000 (14:04 -0000)]
* FormsAuthentication.cs: added internal ReturnUrl property, GetRedirectUrl added usage of ReturnUrl
* Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when

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

17 years ago* dis-cil.c, dump.c, get.c, get.h, main.c: Replace several
Raja R Harinath [Wed, 27 Dec 2006 14:00:01 +0000 (14:00 -0000)]
* dis-cil.c, dump.c, get.c, get.h, main.c: Replace several
instances of MonoGenericContext with MonoGenericContainer.

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

17 years ago* Control.cs: ControlCollection.Count must be public. Fixed build of
Gert Driesen [Wed, 27 Dec 2006 13:55:01 +0000 (13:55 -0000)]
* Control.cs: ControlCollection.Count must be public. Fixed build of
unit tests.

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

17 years agoImplemented Servlet session management. Servlet hosting moved to Mainsoft.Web package
Konstantin Triger [Wed, 27 Dec 2006 13:21:51 +0000 (13:21 -0000)]
Implemented Servlet session management. Servlet hosting moved to Mainsoft.Web package

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

17 years ago* ConnectionStringSettingsCollection.cs: made connection string key case insensitive
Vladimir Krasnov [Wed, 27 Dec 2006 10:20:38 +0000 (10:20 -0000)]
* ConnectionStringSettingsCollection.cs: made connection string key case insensitive

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

17 years ago* Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
Vladimir Krasnov [Wed, 27 Dec 2006 10:01:17 +0000 (10:01 -0000)]
* Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
* ObjectDataSourceView.cs: fixed MergeParameterValues, call Parameter.ConvertValue, fixed ConvertParameter to hanlde TypeCode.Empty
* SqlDataSourceView.cs: fixed InitializeParameters, call Parameter.ConvertValue, fixed ParameterPrefix property, fixed CreateDbParameter, added usege of ParameterPrefix

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

17 years ago* ComboBox.cs: Mergable=>MergableProperty. Fixes build.
Gert Driesen [Wed, 27 Dec 2006 09:10:12 +0000 (09:10 -0000)]
* ComboBox.cs: Mergable=>MergableProperty. Fixes build.

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

17 years ago2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 27 Dec 2006 09:05:46 +0000 (09:05 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>

* ListControl.cs: fixed: when is used with DataSourceID data bind is not
perfomed on PostBack because Items collection is restored from View state.

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

17 years agosvn path=/trunk/mcs/; revision=70111
Chris Toshok [Wed, 27 Dec 2006 07:51:47 +0000 (07:51 -0000)]
svn path=/trunk/mcs/; revision=70111

17 years agoAdd new surface to sources
Alp Toker [Wed, 27 Dec 2006 06:43:46 +0000 (06:43 -0000)]
Add new surface to sources

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

17 years ago2006-12-27 Alp Toker <alp@atoker.com>
Alp Toker [Wed, 27 Dec 2006 06:42:50 +0000 (06:42 -0000)]
2006-12-27  Alp Toker  <alp@atoker.com>

* Mono.Cairo.dll.sources:
* Mono.Cairo/Context.cs:
* Mono.Cairo/GlitzSurface.cs: Add new surface.

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

17 years ago2006-12-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 27 Dec 2006 06:36:06 +0000 (06:36 -0000)]
2006-12-26  Everaldo Canuto  <everaldo@simios.org>

* Control.cs: Invalidates control including when Width and Height is
equal zero or is not visible, only Paint event must be care about
this. Fixes #79913.

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

17 years ago2006-12-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Dec 2006 05:59:54 +0000 (05:59 -0000)]
2006-12-27  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationElementCollection.cs : fixed BaseAdd() with
  throwIfExists to not raise an error for identical element
  but for different element which shares the same key. Fix by
  Konstantin Triger.

* t38.cs, t38.exe.config, t38.exe.expected : new test for duplicate
  element.
* t39.cs, t39.exe.config, t39.exe.expected : new test for identical
  element.
* t40.* : similar test to t38 but with Alternate collection.
* t41.* : similar test to t39 but with Alternate collection.
* Makefile : added above.

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

17 years ago2006-12-26 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 27 Dec 2006 05:37:54 +0000 (05:37 -0000)]
2006-12-26  Chris Toshok  <toshok@ximian.com>

* CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
more corcompare work.

* DataGridView.cs: fix compiler warning.

* ColumnHeader.cs: some corcompare work, and also take the
opportunity to make the internal fields private.

* ListView.cs: fix the fallout from the above field change.

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

17 years ago2006-12-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 27 Dec 2006 04:56:58 +0000 (04:56 -0000)]
2006-12-26  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
ToolStripTextBox.cs: Fixes to events and corcompare.

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

17 years agoUpdate authors in comments
Alp Toker [Wed, 27 Dec 2006 04:53:55 +0000 (04:53 -0000)]
Update authors in comments

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

17 years ago2006-12-27 Alp Toker <alp@atoker.com>
Alp Toker [Wed, 27 Dec 2006 04:47:46 +0000 (04:47 -0000)]
2006-12-27  Alp Toker  <alp@atoker.com>

* Mono.Cairo/Cairo.cs:
* Mono.Cairo/Status.cs: Add new API for 1.4

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

17 years ago2006-12-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Wed, 27 Dec 2006 03:27:00 +0000 (03:27 -0000)]
2006-12-26  Everaldo Canuto  <everaldo@simios.org>

* ListView.cs: Call owner.OnMousexx event to propagate events from
item to ListView. Fixes #80367.

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

17 years agoComment typofix
Alp Toker [Wed, 27 Dec 2006 01:08:43 +0000 (01:08 -0000)]
Comment typofix

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

17 years ago* ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
Gert Driesen [Tue, 26 Dec 2006 21:24:10 +0000 (21:24 -0000)]
* ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
if value is less than one. ItemHeight should not be set to a value
less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
Removed extra tabs.
* ComboBoxTest.cs: Improved tests for DropDownWidth and ItemHeight.

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

17 years ago2006-12-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 26 Dec 2006 20:31:08 +0000 (20:31 -0000)]
2006-12-26  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
* ToolStripStatusLabel.cs: Add Spring for Moma.

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

17 years ago* DataGridView.cs: Fixed several NullReferenceException in On* methods.
Gert Driesen [Tue, 26 Dec 2006 19:49:12 +0000 (19:49 -0000)]
* DataGridView.cs: Fixed several NullReferenceException in On* methods.
Fixed code formatting. Removed debug code.
* DataGridViewTextBoxEditingControl.cs: Removed debug code.

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

17 years ago* DataGridView.cs: Fixed several NullReferenceException in On* methods.
Gert Driesen [Tue, 26 Dec 2006 17:44:48 +0000 (17:44 -0000)]
* DataGridView.cs: Fixed several NullReferenceException in On* methods.
Fixed code formatting. Removed debug code.
* DataGridViewTextBoxEditingControl.cs: Removed debug code.

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

17 years ago2006-12-26 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 26 Dec 2006 17:31:21 +0000 (17:31 -0000)]
2006-12-26  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ControlTest.cs: Added NotWorking test for DoubleBuffered.

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

17 years agoRemove NotWorking as a number of bugs have been fixed
Noam Lampert [Tue, 26 Dec 2006 16:53:49 +0000 (16:53 -0000)]
Remove NotWorking as a number of bugs have been fixed

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

17 years agoRemoved #if as bug 6489 is fixed
Noam Lampert [Tue, 26 Dec 2006 16:50:20 +0000 (16:50 -0000)]
Removed #if as bug 6489 is fixed

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

17 years ago* DataGridViewCellStyleTest.cs: Added tests for FormatProvider,
Gert Driesen [Tue, 26 Dec 2006 16:40:28 +0000 (16:40 -0000)]
* DataGridViewCellStyleTest.cs: Added tests for FormatProvider,
IsFormatProviderDefault.
* DataGridViewTest.cs: Reworked ColumnCount, ColumnHeadersHeight,
RowHeaderWidth tests. Added DefaultSize, *DefaultCellStyle tests.
* DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
ArgumentOutOfRangeException if ColumnCount is negative. In
ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
less than 4 or higher than 32768.
* DataGridViewCellStyle.cs: Fixed default value for NullValue.
Fixed FormatProvider to return CurrentCulture unless explicitly set.
Fixed IsFormatProviderDefault to return true if FormatProvider has
not been explicitly set.

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

17 years agoAdd NotWorking in TARGET_JVM
Noam Lampert [Tue, 26 Dec 2006 16:38:27 +0000 (16:38 -0000)]
Add NotWorking in TARGET_JVM

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

17 years agofix 'new' usage
Chris Toshok [Tue, 26 Dec 2006 16:04:21 +0000 (16:04 -0000)]
fix 'new' usage

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

17 years ago2006-12-26 Rolf Bjarne Kvinge
Rolf Bjarne Kvinge [Tue, 26 Dec 2006 14:54:40 +0000 (14:54 -0000)]
2006-12-26  Rolf Bjarne Kvinge

* System.Windows.Forms.resx:
* System.Windows.Forms.en.resx: Added strings for control button tooltips.
* System.Windows.Forms.resources.prebuilt:
* System.Windows.Forms.resources.en.prebuilt: Updated.

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

17 years agoreturn null for global web.config for TARGET_JVM
Konstantin Triger [Tue, 26 Dec 2006 12:35:20 +0000 (12:35 -0000)]
return null for global web.config for TARGET_JVM

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

17 years ago* ProfileParser.jvm.cs: implemented PageMapper call
Vladimir Krasnov [Tue, 26 Dec 2006 11:45:13 +0000 (11:45 -0000)]
* ProfileParser.jvm.cs: implemented PageMapper call
* ProfileBase.cs: fixed SettingsProperty type resolving, added SettingsProperty validation

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

17 years ago2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 26 Dec 2006 07:59:53 +0000 (07:59 -0000)]
2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>

* DataGridPagerStyle.cs:
* DataList.cs:
* DetailsView.cs:
* FontInfo.cs:
* Style.cs:
* TableItemStyle.cs:
* TableStyle.cs:
* TreeNodeStyle.cs:
* WebControl.cs:
* Wizard.cs:
fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
for it's ControlStyle, but the shared ViewState is used to manage style's
viewstate instead.

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

17 years ago * Application.cs: add a couple of 2.0 events.
Chris Toshok [Tue, 26 Dec 2006 04:00:08 +0000 (04:00 -0000)]
* Application.cs: add a couple of 2.0 events.

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

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

17 years ago * Control.cs: fix compiler warning.
Chris Toshok [Tue, 26 Dec 2006 03:56:21 +0000 (03:56 -0000)]
* Control.cs: fix compiler warning.

* AxHost.cs: corcompare fixes.

* ApplicationContext.cs: corcompare fixes.

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

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Tue, 26 Dec 2006 02:28:16 +0000 (02:28 -0000)]
In System.Windows.Forms:
* Control.cs: only update dist_right/dist_bottom if the
width/height is > 0.  this fixes anchored controls being resized
smaller until they disappear and then resized larger again.

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

In System.Windows.Forms.Layout:
* DefaultLayout.cs: invert the tests for anchoring to make the
code a little more compact.

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

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

17 years ago2006-12-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 26 Dec 2006 01:45:20 +0000 (01:45 -0000)]
2006-12-25  Miguel de Icaza  <miguel@novell.com>

* MessageBox.cs: Implemented overload that takes a new "bool
displayHelpButton" by adding a new internal field "show_help".
When clicked this will raise the HelpRequested on the owner or the
main form.

From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Tue, 26 Dec 2006 01:10:04 +0000 (01:10 -0000)]
In System.Windows.Forms:
2006-12-25  Chris Toshok  <toshok@ximian.com>

* Control.cs: a couple of changes.  Remove dist_left and dist_top,
since they're nothing more than X/Left and Y/Top, respectively.

Also, move back to a per-control Bitmap/Graphics for
DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
MT case.  Go with a tiny bitmap though, 1x1, instead of Width x
Height.

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

* DefaultLayout.cs: remove references to dist_left and dist_top.
just use left and top instead.

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

17 years ago2006-12-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 26 Dec 2006 01:07:31 +0000 (01:07 -0000)]
2006-12-25  Miguel de Icaza  <miguel@novell.com>

* ListView.cs: Add support ColumnWidthChanged and
ColumnWidthChanging.

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

17 years ago2006-12-25 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 26 Dec 2006 00:30:56 +0000 (00:30 -0000)]
2006-12-25  Chris Toshok  <toshok@ximian.com>

* X11Display.cs: simplify GetMessage a lot.  remove the
paint/configure queue code from here, it's now in X11ThreadQueue.
reindent it by breaking out of the loop immediately if got_xevent
== false.

* X11ThreadQueue.cs: fix some of the the
threadqueue.Dequeue/display.GetMessage cross-linkages..  the only
remaining issue now (right here, anyway), is the WM_ENTERIDLE code
remaining in the GetMessage code.  it needs to somehow be linked
up with the OnIdle call...  maybe we need a special return value
which we return once before calling OnIdle and waiting on the
Monitor?

also, fix a bug in the PaintQueue code where the Dequeue method
was removing the Hwnd from the queue.  We only add an Hwnd once
regardless of how many of (pending_expose, pending_nc_expose) are
true, so we need to only remove it when both are false.  Once all
this is working we need to determine whether or not all this paint
queue stuff actually helps performance.

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

17 years ago2006-12-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 26 Dec 2006 00:23:49 +0000 (00:23 -0000)]
2006-12-25  Miguel de Icaza  <miguel@novell.com>

* ListView.cs: Add support for ColumnReordered event.
(ReorderColumn): Add NET_2_0 specific support for cancelling the
reorder.

Very nice codebase!

* TextBoxBase.cs (GetLineFromCharIndex): Implement this method.

This is used by report f4ae0a88a0a244558aaadf017c9b9efe.

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 17:02:32 +0000 (17:02 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agorelease project file
Roei Erez [Mon, 25 Dec 2006 15:51:25 +0000 (15:51 -0000)]
release project file

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 15:22:05 +0000 (15:22 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 15:07:52 +0000 (15:07 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 14:24:05 +0000 (14:24 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 14:14:34 +0000 (14:14 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 14:07:29 +0000 (14:07 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 14:01:49 +0000 (14:01 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoskip validation also in Release as it does not pass until after all runtime is built
Noam Lampert [Mon, 25 Dec 2006 14:00:07 +0000 (14:00 -0000)]
skip validation also in Release as it does not pass until after all runtime is built

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

17 years agoBy Yonik <yonik@mainsoft.com>
Yoni Klain [Mon, 25 Dec 2006 12:37:59 +0000 (12:37 -0000)]
By Yonik <yonik@mainsoft.com>
* Changes for navigation by back button.
* Changes for application view (Remove logo , texts changing)

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

17 years ago2006-12-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Dec 2006 09:45:38 +0000 (09:45 -0000)]
2006-12-25  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : added IndexOf() implementation for Ordinal
  and OrdinalIgnoreCase, though Ordinal version is not used (since
  it is slower than icall).

* CompareInfo.cs : for OrdinalIgnoreCase, IndexOf() and LastIndexOf()
  will use managed version (icalls for them are case sensitive).
  Removed MonoTODOs.

* CompareInfoTest.cs : added tests for OrdinalIgnoreCase versions
  of IndexOf() and LastIndexOf(). Added Ordinal LastIndexOf() tests.

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

17 years ago2006-12-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Dec 2006 05:09:15 +0000 (05:09 -0000)]
2006-12-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: fix error in my last patch. Thanks to Felipe
Almeida.

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

17 years ago* InitializationEventAttribute.cs: New.
Raja R Harinath [Mon, 25 Dec 2006 04:29:48 +0000 (04:29 -0000)]
* InitializationEventAttribute.cs: New.

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

17 years agofix build
Chris Toshok [Sun, 24 Dec 2006 22:30:31 +0000 (22:30 -0000)]
fix build

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

17 years agomore corcompare work
Chris Toshok [Sun, 24 Dec 2006 21:35:43 +0000 (21:35 -0000)]
more corcompare work

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

17 years ago * GridTablesFactory.cs: 2.0 corcompare work.
Chris Toshok [Sun, 24 Dec 2006 20:56:10 +0000 (20:56 -0000)]
* GridTablesFactory.cs: 2.0 corcompare work.

* ToolStripContainer.cs: add "override" to
ContextMenuStripChanged, and remove the local event object.

* ToolStripDropDown.cs: same with a couple properties.

* ToolStripPanel.cs: same with AutoSizeChanged event.

* TextBoxBase.cs: add "override" to AutoSizeChanged.

* Form.cs: add the remaining 2.0 events, and do some corcompare
attribute work.

* DateTimePicker.cs: add "new" to padding.

* ButtonBase.cs: use Control's use_compatible_text_rendering.

* ToolStripContentPanel.cs: use base.AutoSizeChanged.

* DataGridView.cs: PaddingChanged is overridden.

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

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

17 years ago2006-12-24 Chris Toshok <toshok@ximian.com>
Miguel de Icaza [Sun, 24 Dec 2006 18:03:52 +0000 (18:03 -0000)]
2006-12-24  Chris Toshok  <toshok@ximian.com>

* Control.cs: corecompare work here too.

* DataGridViewElement.cs, DataGridView.cs,
DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,

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

17 years agoFix the 1.1 build.
Robert Jordan [Sun, 24 Dec 2006 16:12:31 +0000 (16:12 -0000)]
Fix the 1.1 build.

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

17 years ago * Control.cs: corecompare work here too.
Chris Toshok [Sun, 24 Dec 2006 14:46:38 +0000 (14:46 -0000)]
* Control.cs: corecompare work here too.

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

17 years ago2006-12-24 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 24 Dec 2006 14:41:51 +0000 (14:41 -0000)]
2006-12-24  Chris Toshok  <toshok@ximian.com>

* DataGridViewElement.cs, DataGridView.cs,
DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
work.

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

17 years agoImplemented DataObjectMethodAttribute and DataObjectMethodType
Konstantin Triger [Sun, 24 Dec 2006 11:41:38 +0000 (11:41 -0000)]
Implemented DataObjectMethodAttribute and DataObjectMethodType

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

17 years agoChanges for Roles enabling and disabling. Default disable.
Yoni Klain [Sun, 24 Dec 2006 08:13:47 +0000 (08:13 -0000)]
Changes for Roles enabling and disabling. Default disable.

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

17 years ago2006-12-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 24 Dec 2006 06:03:46 +0000 (06:03 -0000)]
2006-12-24  Miguel de Icaza  <miguel@novell.com>

* ToolStripComboBox.cs: Set the text when the SelectedIndex
changes.  Applications depend on this (PDN 2.72)

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

17 years agofix build error
Chris Toshok [Sun, 24 Dec 2006 04:24:20 +0000 (04:24 -0000)]
fix build error

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

17 years agoIn Test/System.Windows.Forms.Layout:
Chris Toshok [Sun, 24 Dec 2006 03:20:21 +0000 (03:20 -0000)]
In Test/System.Windows.Forms.Layout:
2006-12-23  Chris Toshok  <toshok@ximian.com>

* TableLayoutSettingsTypeConverterTest.cs: new tests, including
one meaty one which is NotWorking on mono.

In .:
2006-12-23  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add
System.Windows.Forms.Layout/TableLayoutSettingsTypeConverterTest.cs.

* System.Windows.Forms.dll.sources: add
System.Windows.Forms.Layout/TableLayoutSettingsTypeConverter.cs.

* *.csproj: sync with new file.

In System.Windows.Forms.Layout:
* TableLayoutSettingsTypeConverter.cs: new file, a skeleton.

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

In System.Windows.Forms:
* TableLayoutSettings.cs: finish up the corcompare work for this
class.

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

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

17 years ago2006-12-23 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 23 Dec 2006 23:58:19 +0000 (23:58 -0000)]
2006-12-23  Alp Toker  <alp@atoker.com>

* Directory.cs: "platfor" typofix

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Sat, 23 Dec 2006 22:30:51 +0000 (22:30 -0000)]
In System.Windows.Forms:
2006-12-23  Chris Toshok  <toshok@ximian.com>

* Control.cs: make SetImplicitBounds internal, do some futzing
with LayoutEngine so that it's available in 1.1, and remove the
entire duplicated code mess from PerformLayout.  Use
System.Windows.Forms.Layout.DefaultLayout instead.

* LayoutEngine.cs: make this class internal in 1.1, public in 2.0.

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

* DefaultLayout.cs: include this in 1.1, and make use of
SetImplicitBounds like the Control.PerformLayout code does.

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

* DefaultLayout.cs: make Control.child_controls private.  switch
all uses over to Control.Controls.

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

* ArrangedElementCollection.cs: fix up corcompare for this file.
we need to make all the interface methods explicit, not public,
and add internal methods that can be called from the subclasses
(we also call them from the explicit implementations.)

2006-11-30  Jonathan Pobst <monkey@jpobst.com>
* ArrangedElementCollection.cs: Make constructor internal.
* FlowLayout.cs: Make work with ToolStrip.

2006-10-02  Jonathan Pobst <monkey@jpobst.com>
* ArrangedElementCollection.cs: Initial commit.

2006-09-15  Jonathan Pobst <monkey@jpobst.com>

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

17 years agoRemove redundant or incorrect todos, set propstyle
Miguel de Icaza [Sat, 23 Dec 2006 19:05:41 +0000 (19:05 -0000)]
Remove redundant or incorrect todos, set propstyle

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

17 years ago2006-12-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 23 Dec 2006 18:20:25 +0000 (18:20 -0000)]
2006-12-23  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Add MainMenuStrip property.

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

17 years ago2006-12-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 23 Dec 2006 17:37:17 +0000 (17:37 -0000)]
2006-12-23  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Add ContextMenuStrip property and implementation.
Fix ContextMenu implementation to show menu centered on control when
activated using the keyboard instead of showing at screen (0,0).

* ToolStripDropDown.cs: Fix needed overload of Show ().

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

17 years ago* upDownTest.cs: Improved test for invalid Value.
Gert Driesen [Sat, 23 Dec 2006 13:48:29 +0000 (13:48 -0000)]
* upDownTest.cs: Improved test for invalid Value.

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

17 years agoMissed this one
Gert Driesen [Sat, 23 Dec 2006 13:22:06 +0000 (13:22 -0000)]
Missed this one

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

17 years ago* ColumnStyleTest.cs: Set eol-style to native.
Gert Driesen [Sat, 23 Dec 2006 13:21:41 +0000 (13:21 -0000)]
* ColumnStyleTest.cs: Set eol-style to native.
* DateTimePickerTest.cs: Fixed line endings. Set eol-style to native.
* UpDownTest.cs: Added tests for BeginInit, EndInit, UpButton, Value.
* SendKeysTest.cs: Set eol-style to CRLF.
* ColumnClickEventArgsTest.cs: Set eol-style to native.
* RowStyleTest.cs: Set eol-style to native.

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

17 years ago * Menu.cs: Name property added for 2.0 profile.
Everaldo Canuto [Sat, 23 Dec 2006 11:53:18 +0000 (11:53 -0000)]
* Menu.cs: Name property added for 2.0 profile.

2006-12-23  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2006-12-23 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 23 Dec 2006 11:32:38 +0000 (11:32 -0000)]
2006-12-23  Daniel Nauck  <dna@mono-project.de>

* UserControlTest.cs: Add.

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