mono.git
17 years ago2006-12-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 29 Dec 2006 21:14:25 +0000 (21:14 -0000)]
2006-12-29  Robert Jordan  <robertj@gmx.net>

* TraceImpl.cs (Assert): Include line numbers in the stack trace
emitted by Assert (). Fixes bug #80400.

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

17 years ago* Theme.cs: For now, revert back to 8pt font.
Gert Driesen [Fri, 29 Dec 2006 21:05:37 +0000 (21:05 -0000)]
* Theme.cs: For now, revert back to 8pt font.

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

17 years ago* Theme.cs: Marked default_font as private, and initialize it in ctor
Gert Driesen [Fri, 29 Dec 2006 20:36:06 +0000 (20:36 -0000)]
* Theme.cs: Marked default_font as private, and initialize it in ctor
with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
on 2.0 profile.
* ThemeGtk.cs: Removed default_font intialization.
* ThemeWin32Classic.cs: Removed default_font initialization.
* ControlTest.cs: Added test for Font and ResetFont.
* DataGridTest.cs: Fixed CaptionFont test on 2.0 profile.

remark: corresponding ChangeLog entries were (by accident) committed earlier
today.

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

17 years ago2006-12-29 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 29 Dec 2006 18:44:07 +0000 (18:44 -0000)]
2006-12-29  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: Set popup as active when open a ContextMenu.
Fixes #80395.

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Fri, 29 Dec 2006 18:28:47 +0000 (18:28 -0000)]
In Test/System.Windows.Forms:
2006-12-29  Chris Toshok  <toshok@ximian.com>

* ControlEventTest.cs: add a test to determine the ordering of
Layout/Resize events.

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

* Control.cs: reorder the code in OnResize to give the same event
ordering as MS.

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

17 years agoRemove NIE for Mono reports.
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 18:12:57 +0000 (18:12 -0000)]
Remove NIE for Mono reports.

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

17 years ago2006-12-29 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 29 Dec 2006 18:11:06 +0000 (18:11 -0000)]
2006-12-29  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
TileHorizontally and TileVertically.

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

17 years agoFix the monoburg invocation, the default cost should be 1, not -1
Miguel de Icaza [Fri, 29 Dec 2006 17:45:13 +0000 (17:45 -0000)]
Fix the monoburg invocation, the default cost  should be 1, not -1

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

17 years ago2006-12-29 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 29 Dec 2006 15:03:36 +0000 (15:03 -0000)]
2006-12-29  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ToolTask.cs (LogEventsFromTextOutput): This method is actually
        protected so we can't remove second parameter.

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

17 years ago2006-12-29 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 29 Dec 2006 14:12:29 +0000 (14:12 -0000)]
2006-12-29  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
Corrected copyright and email adress.

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

17 years ago* TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
Gert Driesen [Fri, 29 Dec 2006 13:32:20 +0000 (13:32 -0000)]
* TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
of Exception in FullPath property if no TreeView is associated with
the TreeNode.
* TreeNodeTest.cs: Fixed FullPathException test on 2.0 profile.

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

17 years ago* SystemFontsTest.cs: Split DefaultFont test into two parts, since
Gert Driesen [Fri, 29 Dec 2006 11:42:19 +0000 (11:42 -0000)]
* SystemFontsTest.cs: Split DefaultFont test into two parts, since
on Linux MS Sans Sarif is mapped to other available font.

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

17 years ago* SystemFontsTest.cs: Added test for DefaultFont.
Gert Driesen [Fri, 29 Dec 2006 11:27:48 +0000 (11:27 -0000)]
* SystemFontsTest.cs: Added test for DefaultFont.

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

17 years ago* Brush.cs: Fixed line endings.
Gert Driesen [Fri, 29 Dec 2006 11:25:16 +0000 (11:25 -0000)]
* Brush.cs: Fixed line endings.
* BufferedGraphicsContext.cs: Fixed line endings.
* CharacterRange.cs: Fixed line endings.
* Graphics.cs: Fixed line endings.
* IDeviceContext.cs: Fixed line endings.
* SizeFConverter.cs: Fixed line endings.
* SystemBrushes.cs: Fixed line endings.
* SystemFonts.cs: Fixed line endings.
* SystemPens.cs: Fixed line endings.

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

17 years ago* ControlTest.cs: Improved DoubleBufferedTest.
Gert Driesen [Fri, 29 Dec 2006 10:09:34 +0000 (10:09 -0000)]
* ControlTest.cs: Improved DoubleBufferedTest.

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

17 years ago2006-12-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 29 Dec 2006 09:51:15 +0000 (09:51 -0000)]
2006-12-29  Marek Safar  <marek.safar@gmail.com>

* BitArray.cs: Performance improvements.

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

17 years ago* HttpWebRequest.jvm.cs: Fixed line endings.
Gert Driesen [Fri, 29 Dec 2006 09:31:51 +0000 (09:31 -0000)]
* HttpWebRequest.jvm.cs: Fixed line endings.
* HttpWebResponse.jvm.cs: Same.
* WebException.cs: Same.
* FtpWebRequest.cs: Same.
* VMWHttpProvider.jvm.cs: Same.

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

17 years ago* DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
Gert Driesen [Fri, 29 Dec 2006 09:16:25 +0000 (09:16 -0000)]
* DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
* HttpVersion.cs: Same.
* FtpWebResponse.cs: Same.
* HttpContinueDelegate.cs: Same.
* FtpAsyncResult.cs: Same.
* EndpointPermission.cs: Same.
* IPv6Address.cs: Same.
* FtpDataStream.cs: Same.
* SocketPermission.cs: Same.
* FileWebRequest.cs: Same.
* FileWebResponse.cs: Same.
* DnsPermission.cs: Same.
* ProtocolViolationException.cs: Same.
* MonoHttpDate.cs: Same.
* SocketPermissionAttribute.cs: Same.
* CookieException.cs: Same.
* WebResponse.cs: Same.
* DefaultCertificatePolicy.cs: Same.

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

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