mono.git
17 years ago * Control.cs: fix a couple of place where we were creating handles
Chris Toshok [Fri, 29 Dec 2006 06:29:07 +0000 (06:29 -0000)]
* Control.cs: fix a couple of place where we were creating handles
more aggressively than we should be.  Fixes ControlRefresh unit
tests.

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

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

17 years agoIn .:
Chris Toshok [Fri, 29 Dec 2006 06:07:22 +0000 (06:07 -0000)]
In .:
2006-12-28  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add DefaultLayoutTest and
remove DockingTests.

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

* ControlTest.cs: add a test to check whether parent.PerformLayout
is called from OnResized (it isn't).

* DefaultLayoutTest.cs: new file, add a bunch of anchor tests,
including the (not working) test case in bug #80336.  Move the
docking/undocking tests here.

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

* Control.cs: contrary to what the comment said, Control.Dock does
not supercede Control.Anchor - the last one you assign to decides
the layout behavior.  so we need to keep track of which was the
last set.  Also, fix some of the affected property arguments in
PerformLayout calls, and remove an redundant parent.PerformLayout
call in OnResized.

Add a VisibleInternal property, which returns is_visible.  We
can/should get rid of all the usage of this field elsewhere.

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

* DefaultLayout.cs: split out the various parts (docking,
anchoring) into separate methods.  make use of the
Control.ControlLayoutType property, as well as
Control.VisibleInternal (and fix a couple of unit tests which were
broken due to use of Visible here.)

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

17 years agoIn Test/System.Windows.Forms:
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 00:24:57 +0000 (00:24 -0000)]
In Test/System.Windows.Forms:
* ControlTest.cs: More tests for double buffers.

2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

In System.Windows.Forms:
* Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
control style, not DoubleBuffer. Added UseDoubleBuffering property
that indicates whether doublebuffering is enabled and supported.
(comment from and code based on Gert Driesen's patch in #80324).
Fixes #80324.

2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years ago* IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
Gert Driesen [Thu, 28 Dec 2006 21:18:12 +0000 (21:18 -0000)]
* IPAddress.cs: On 1.1, 4-byte addresses are not supported in the
ctor. Added null checks for the address passed in the ctors.
* IPAddressTest.cs: Added 4-byte and null address tests.

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

17 years agoUpdate
Miguel de Icaza [Thu, 28 Dec 2006 21:01:35 +0000 (21:01 -0000)]
Update

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

17 years agoSet eol-style to native.
Gert Driesen [Thu, 28 Dec 2006 20:52:01 +0000 (20:52 -0000)]
Set eol-style to native.

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

17 years ago* ContainerTest.cs: Fixed compiler warning.
Gert Driesen [Thu, 28 Dec 2006 20:51:12 +0000 (20:51 -0000)]
* ContainerTest.cs: Fixed compiler warning.

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

17 years ago * Control.cs: Fixed a NRE.
Rolf Bjarne Kvinge [Thu, 28 Dec 2006 20:37:12 +0000 (20:37 -0000)]
* Control.cs: Fixed a NRE.
2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoAdd help, remove -Error add error, use Error otuput in a few places
Miguel de Icaza [Thu, 28 Dec 2006 20:22:23 +0000 (20:22 -0000)]
Add help, remove -Error add error, use Error otuput in a few places

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

17 years ago * TrackBar.cs: Fix SmallChange and LargeChange exceptions
Rolf Bjarne Kvinge [Thu, 28 Dec 2006 18:53:24 +0000 (18:53 -0000)]
* TrackBar.cs: Fix SmallChange and LargeChange exceptions
for 2.0.

2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

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

17 years agoIn System.Windows.Forms:
Rolf Bjarne Kvinge [Thu, 28 Dec 2006 18:41:44 +0000 (18:41 -0000)]
In System.Windows.Forms:
2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Control.cs: Rewrote double buffering, now a seperate
class handles all the buffering, no Graphics is disposed of
until the painting is finished (earlier implementation
would crash if the control was resized in the OnPaint,
since it would cause the double buffer to be recreated
and the old one disposed), a separate Graphics is
created for every paint (MS behaviour and anyways the state
of the Graphics would have to be saved and restored otherwise)

* XplatUIDriver.cs:
* XplatUIX11.cs:
* XplatUI.cs: Added and implemented GetOffscreenGraphics
so that we can get the graphics for the back buffer without
having to create a new one and remove the offscreen_dc parameter
from CreateOffscreenDrawable and DestroyOffscreenDrawable.

In System.Windows.Forms.X11Internal:
2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* X11Display.cs:
* XplatUIX11-new.cs: Implemented GetOffscreenGraphics and
change CreateOffscreenDrawable and DestroyOffscreenDrawable to
have the new correct signature.

In Test/System.Windows.Forms:
2006-12-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* ControlTest.cs: Added double buffering tests.

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

17 years agoApply patch from Jon Larimer
Miguel de Icaza [Thu, 28 Dec 2006 18:21:15 +0000 (18:21 -0000)]
Apply patch from Jon Larimer

2006-12-28  Jon Larimer <jlarimer@gmail.com>

* DirectorySearcher.cs: When using
System.DirectoryServices.DirectorySearcher to query a Windows
Active Directory Server, the results will almost always contain
referal nodes. These can probably be ignored, as there are also

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

17 years agoApply patch from Jon Larimer
Miguel de Icaza [Thu, 28 Dec 2006 18:16:57 +0000 (18:16 -0000)]
Apply patch from Jon Larimer

2006-12-28  Jon Larimer <jlarimer@gmail.com>

* Connection.cs: Add a try/finally section to release the
semId semaphore in case the connection fails.

Fixes #80102

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

17 years agocorrect section name for mainsoft.directoryservices
Konstantin Triger [Thu, 28 Dec 2006 18:15:04 +0000 (18:15 -0000)]
correct section name for mainsoft.directoryservices

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

17 years ago2006-12-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 28 Dec 2006 18:07:33 +0000 (18:07 -0000)]
2006-12-28  Miguel de Icaza  <miguel@novell.com>

* IPAddress.cs: The condition in 1.1 was broken, it only allowed
16-byte addresses, and never 4-byte addresses (only 2.0 had
them).

Keep a single code path.

Also, remove all the NET_1_1 defines, we realistically only
distinguish between 1.1 and 2.0, we wont likely support 1.0, 1.1
and 2.0, so remove the 1.0 vs 1.1 conditionals.

Fixes 76792

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

17 years agoa little more corcompare attribute work
Chris Toshok [Thu, 28 Dec 2006 18:01:30 +0000 (18:01 -0000)]
a little more corcompare attribute work

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

17 years agomake another pass at corcompare, mostly attributes on classes/properties/events/etc
Chris Toshok [Thu, 28 Dec 2006 17:36:24 +0000 (17:36 -0000)]
make another pass at corcompare, mostly attributes on classes/properties/events/etc

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

17 years ago2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Dec 2006 16:09:35 +0000 (16:09 -0000)]
2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>

* TreeView.cs:
ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
CollapseImageUrl and NoExpandImageUrl properties.

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

17 years ago* SqlDataSource.cs: Added parameters update on OnInit
Vladimir Krasnov [Thu, 28 Dec 2006 16:08:08 +0000 (16:08 -0000)]
* SqlDataSource.cs: Added parameters update on OnInit

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

17 years ago* LoginView.cs: fixed rendering LoggedInTemplate even after user logged out
Vladimir Krasnov [Thu, 28 Dec 2006 14:01:14 +0000 (14:01 -0000)]
* LoginView.cs: fixed rendering LoggedInTemplate even after user logged out

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

17 years ago2006-12-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 28 Dec 2006 13:29:05 +0000 (13:29 -0000)]
2006-12-28  Martin Baulig  <martin@ximian.com>

* debug-debugger.c
(MONO_DEBUGGER__debugger_info): Add `get_lmf_addr'.

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

17 years ago2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Dec 2006 13:28:38 +0000 (13:28 -0000)]
2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs:
* GridView.cs:
* FormView.cs:
control's behavior depends on using DataSource or DataSourceID
property for binding

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

17 years agotypo fix
Igor Zelmanovich [Thu, 28 Dec 2006 12:02:59 +0000 (12:02 -0000)]
typo fix

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

17 years agoAdded hint pathh for references
Vladislav Spivak [Thu, 28 Dec 2006 09:19:30 +0000 (09:19 -0000)]
Added hint pathh for references

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

17 years agoAdd Mainsoft.Web folder
Konstantin Triger [Thu, 28 Dec 2006 09:13:12 +0000 (09:13 -0000)]
Add Mainsoft.Web folder

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

17 years agosvn path=/trunk/mcs/; revision=70157
motym [Thu, 28 Dec 2006 08:09:52 +0000 (08:09 -0000)]
svn path=/trunk/mcs/; revision=70157

17 years agomake line-endings uniform. Set svn:eol-style native on files without CRs.
Raja R Harinath [Thu, 28 Dec 2006 05:30:33 +0000 (05:30 -0000)]
make line-endings uniform.  Set svn:eol-style native on files without CRs.

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

17 years ago2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Dec 2006 05:30:13 +0000 (05:30 -0000)]
2006-12-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
bug #76974.

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

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