C.J. Adams-Collier [Tue, 3 Apr 2007 12:39:25 +0000 (12:39 -0000)]
typo correction
svn path=/trunk/mcs/; revision=75341
Andreia Gaita [Tue, 3 Apr 2007 12:26:21 +0000 (12:26 -0000)]
2007-04-03 Andreia Gaita <avidigal@novell.com>
* ButtonBase: Call update after invalidation, fixes #80194
svn path=/trunk/mcs/; revision=75340
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 12:00:40 +0000 (12:00 -0000)]
* ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
#79335.
svn path=/trunk/mcs/; revision=75339
Raja R Harinath [Tue, 3 Apr 2007 11:43:49 +0000 (11:43 -0000)]
* Regex.cs (~Regex): Don't define in NET_2_0 profile.
svn path=/trunk/mcs/; revision=75338
Alp Toker [Tue, 3 Apr 2007 10:10:07 +0000 (10:10 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* GenericTypeParameterBuilder.cs: SetInterfaceConstraints(Type[]) is
params.
* MethodBuilder.cs: MakeGenericMethod(Type[]) is params.
svn path=/trunk/mcs/; revision=75337
Alp Toker [Tue, 3 Apr 2007 10:09:37 +0000 (10:09 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* CryptoConfig.cs: CreateFromName(string,object[]) is params in 2.0.
svn path=/trunk/mcs/; revision=75336
Alp Toker [Tue, 3 Apr 2007 10:09:20 +0000 (10:09 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* Array.cs: CreateInstance(Type,int[]) is params.
* AppDomain.cs: ExecuteAssemblyByName(string,Evidence,string[]) is
params.
svn path=/trunk/mcs/; revision=75335
Marek Habersack [Tue, 3 Apr 2007 09:37:36 +0000 (09:37 -0000)]
2007-04-03 Marek Habersack <mhabersack@novell.com>
* WebUIValidation_2.0.js: correctly validate against min/max
values. Fixes bug #81280
svn path=/trunk/mcs/; revision=75334
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 09:20:28 +0000 (09:20 -0000)]
* XplatUIX11.cs: SetWMStyles: If the control is a form with
FormBorderStyle = None, don't give the window any decorations.
Fixes #81276.
svn path=/trunk/mcs/; revision=75333
Alp Toker [Tue, 3 Apr 2007 08:59:23 +0000 (08:59 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* Convert.cs:
* Math.cs: Should be static classes in 2.0.
svn path=/trunk/mcs/; revision=75332
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 08:56:07 +0000 (08:56 -0000)]
* MdiFormTest.cs: Added ChangeClientSizeTest for bug 80995.
svn path=/trunk/mcs/; revision=75331
Alp Toker [Tue, 3 Apr 2007 08:45:09 +0000 (08:45 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* Delegate.cs: DynamicInvoke(object[]) is params in 2.0.
svn path=/trunk/mcs/; revision=75330
Alp Toker [Tue, 3 Apr 2007 08:42:37 +0000 (08:42 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* Delegate.cs: Combine(Delegate[]) is params in 2.0.
svn path=/trunk/mcs/; revision=75329
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 08:30:59 +0000 (08:30 -0000)]
* XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
* CreateParams.cs: Fix IsSet, wasn't working correctly when the style
to check for is a mix of several styles (such as WS_CAPTION for
instance).
* Control.cs: Don't paint an area bigger than the client area when
painting the background colour. Add an internal GetCreateParams.
Update calls to XplatUI.CalculateWindowRect due to API change.
* XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
the size if it hasn't been handled by any windows. When creating
and moving windows, X wants the location of the entire window, but
the size of the client window, so add
TranslateClientRectangleToXClientRectangle,
TranslateWindowSizeToXWindowSIze and
TranslatedXWindowSizeToWindowSize to cope with this, and call them
before every window creation and move. Update CalculateWIndowRect
to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
In AddConfigureNotify don't do anything if the hwnd is a zombie
(fixes the BadWindow we were getting while running the tests),
always calculate the offsets when it's a parentless window, not
only when reparented, and translate the window size, since we're
getting the client size of the whole window, excluding entire
window.
* Theme.cs: Added BorderSizableSize.
* XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
anymore. Update calls to XplatUI.CalculateWindowRect due to API
chang
* Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
change. Fake the window styles here instead of in XplatUIWin32 so
that all back-ends get the same window styles (and it's Form that's
deciding when to use wm, not the Win32 backend anyways)
* Hwnd.cs: Completely reworked GetWindowRectangle and
GetClientRectangle - they are now passed a CreateParams and they
only use Style and ExStyle to determine the rectangles (they should
now work just like Win32AdjustWindowRectEx - though quite a few
special cases are probably missing). They should also be 100%
complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
== rect), and all numbers (borders, menu sizes) are taken from the
current theme. Added a GetBorders helper function that will return
the borders for any given CreateParams (including captions and
menus), and GetBorderSize that returns the given border size only.
* XplatUIOSX.cs: Update calls to CalculateWindowRect and
Hwnd.GetClientRectangle.
svn path=/trunk/mcs/; revision=75328
Rolf Bjarne Kvinge [Tue, 3 Apr 2007 08:29:39 +0000 (08:29 -0000)]
* XplatUIX11-new.cs: Port changes from XplatUIX11.cs
svn path=/trunk/mcs/; revision=75327
Alp Toker [Tue, 3 Apr 2007 08:26:53 +0000 (08:26 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* Monitor.cs: Class is static in 2.0.
svn path=/trunk/mcs/; revision=75326
Atsushi Eno [Tue, 3 Apr 2007 07:41:06 +0000 (07:41 -0000)]
2007-04-03 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs : character ']' inside DTD comment caused parser
error. Fixed bug #81294.
* XmlTextReaderTests.cs : added test for bug #81294.
svn path=/trunk/mcs/; revision=75325
Alp Toker [Tue, 3 Apr 2007 07:30:10 +0000 (07:30 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* UnmanagedMemoryStream.cs: Should not have a public Dispose().
This behaviour is already provided by the base class.
svn path=/trunk/mcs/; revision=75324
Alp Toker [Tue, 3 Apr 2007 07:11:49 +0000 (07:11 -0000)]
Fix indentation
svn path=/trunk/mcs/; revision=75323
Alp Toker [Tue, 3 Apr 2007 07:10:58 +0000 (07:10 -0000)]
2007-04-03 Alp Toker <alp@atoker.com>
* Stream.cs: CreateWaitHandle() obsolete in 2.0.
svn path=/trunk/mcs/; revision=75322
Chris Toshok [Mon, 2 Apr 2007 22:12:29 +0000 (22:12 -0000)]
2007-04-02 Chris Toshok <toshok@ximian.com>
* DataGridBoolColumn.cs: rewrite things a bit, and fix up the
logic between the values we present to the user and the values
which are stored in the column's property. Also, don't call
GetPreferredSize - it's virtual. Along the way, fix bug #80965.
svn path=/trunk/mcs/; revision=75317
Jackson Harper [Mon, 2 Apr 2007 21:37:52 +0000 (21:37 -0000)]
* TextBoxBase.cs: Scroll faster!
svn path=/trunk/mcs/; revision=75316
Jonathan Pobst [Mon, 2 Apr 2007 21:24:42 +0000 (21:24 -0000)]
2007-04-02 Jonathan Pobst <monkey@jpobst.com>
* StatusStrip.cs: Layout fixes for PDN.
* ToolStrip.cs: Set item's available to true, and placement to main when
added.
* ToolStripItem.cs: Fix an Available issue, check that Parent is really
changing in setter before doing any work, add InternalVisible.
* ToolStripPanel.cs: Remove unused variable to fix compiler warning.
* ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
infinite loop.
svn path=/trunk/mcs/; revision=75312
Jackson Harper [Mon, 2 Apr 2007 21:23:47 +0000 (21:23 -0000)]
* TextBox.cs: LBUTTON does not make the textbox select all of
* it's
text on focus.
svn path=/trunk/mcs/; revision=75311
Sebastien Pouliot [Mon, 2 Apr 2007 20:33:54 +0000 (20:33 -0000)]
2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
* Pen.cs: Simplify. Caching the brush still involved too many
unmanaged calls and was hiding libgdiplus bugs (e.g. 81266). Color is
still cached (a little less ;-) but needs to stay that way so we keep
the color names available (it's the expected behavior).
svn path=/trunk/mcs/; revision=75305
Gert Driesen [Mon, 2 Apr 2007 20:25:47 +0000 (20:25 -0000)]
* MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
endings.
svn path=/trunk/mcs/; revision=75303
Rolf Bjarne Kvinge [Mon, 2 Apr 2007 19:30:31 +0000 (19:30 -0000)]
* XplatUIWin32.cs: Use the previous change in SetParent for forms only.
Makes ToolStripComboBoxes show up again.
svn path=/trunk/mcs/; revision=75299
Carlos Alberto Cortez [Mon, 2 Apr 2007 19:20:34 +0000 (19:20 -0000)]
2007-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Add a hover_pending field in ListView
to fire just one OnMouseHover event for each MouseEnter/MouseLeave
cycle (we are resetting the MouseHover logic in XplatUI
to handle HoverSelection). Fixes #80429.
svn path=/trunk/mcs/; revision=75298
Jackson Harper [Mon, 2 Apr 2007 19:13:19 +0000 (19:13 -0000)]
- Still have to do the end tag if we have stepped all the ways
to
the end.
svn path=/trunk/mcs/; revision=75297
Jackson Harper [Mon, 2 Apr 2007 19:04:36 +0000 (19:04 -0000)]
flush
svn path=/trunk/mcs/; revision=75295
Jackson Harper [Mon, 2 Apr 2007 18:36:07 +0000 (18:36 -0000)]
* TextControl.cs: Make sure the attributes get set on the last
tag.
svn path=/trunk/mcs/; revision=75294
Sebastien Pouliot [Mon, 2 Apr 2007 17:51:43 +0000 (17:51 -0000)]
2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
* XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
on an internal libgdiplus call when the information is already
available via the public API.
svn path=/trunk/mcs/; revision=75292
Rolf Bjarne Kvinge [Mon, 2 Apr 2007 17:23:51 +0000 (17:23 -0000)]
* ContainerControlTest.cs: Add RemoveActiveControlTest
* MdiFormHandleTest.cs, BindingTest.cs: Remove stacktrace from output.
* FormTest.cs: Add special window style cases.
svn path=/trunk/mcs/; revision=75290
Rolf Bjarne Kvinge [Mon, 2 Apr 2007 17:00:53 +0000 (17:00 -0000)]
Remove a comment MD added about a file that wasn't committed.
svn path=/trunk/mcs/; revision=75288
Rolf Bjarne Kvinge [Mon, 2 Apr 2007 16:54:59 +0000 (16:54 -0000)]
* Control.cs: Call ContainerControl.ChildControlRemoved whenever a
control is removed from a control collecftion.
* XplatUIX11.cs: The first location for toplevel form is (22, 22).
Fixes FormPropertyTest (failed on rare occasions).
* XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
of Win32SetParent (when changing from no parent to a parent it
might add the new parent's location in screen coordinates to this
window's location).
* Form.cs: Rework ChangingParent once again, now the handle is
recreated whenever a FormWindowManager is added or removed (that is
whenever a normal form is parented or abandoned). Also change
CreateParams so that all non-toplevel windows always get the
specified sice (StartupPosition is never considered for
non-TopLevel forms).
* ContainerControl.cs: Add ChildControlRemoved, the container control
needs to be notified when a control is removed from it's
collection, in the case the removed control is the active control.
* Hwnd.cs: Completely reworked GetWindowRectangle and
GetClientRectangle - they are now passed a CreateParams and they
only use Style and ExStyle to determine the rectangles (they should
now work just like Win32AdjustWindowRectEx - though quite a few
special cases are probably missing). They should also be 100%
complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
== rect), and all numbers (borders, menu sizes) are taken from the
current theme. Added a GetBorders helper function that will return
the borders for any given CreateParams (including captions and
menus), and GetBorderSize that returns the given border size only.
svn path=/trunk/mcs/; revision=75287
Jackson Harper [Mon, 2 Apr 2007 16:45:25 +0000 (16:45 -0000)]
* RichTextBox.cs: Use the new methods for setting the font and
color, these methods set the specified attribute without
overriding the other attributes.
svn path=/trunk/mcs/; revision=75286
Miguel de Icaza [Mon, 2 Apr 2007 16:39:13 +0000 (16:39 -0000)]
Add more checks to the parameters (index < 0)
Replace use of IsLittleEndian.
Add a couple of TODOs, will finish those later
svn path=/trunk/mcs/; revision=75285
Jonathan Pobst [Mon, 2 Apr 2007 16:04:20 +0000 (16:04 -0000)]
2007-04-02 Jonathan Pobst <monkey@jpobst.com>
* ToolStripPanel.cs: Fixes for better layouts in PDN.
svn path=/trunk/mcs/; revision=75284
Sebastien Pouliot [Mon, 2 Apr 2007 15:32:00 +0000 (15:32 -0000)]
2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
* TestFont.cs: Add test cases for GetHeight(Graphics) and
GetHeight(float) methods.
svn path=/trunk/mcs/; revision=75283
Zoltan Varga [Mon, 2 Apr 2007 11:16:17 +0000 (11:16 -0000)]
2007-04-02 Zoltan Varga <vargaz@gmail.com>
* marshal.c (cominterop_get_managed_wrapper_adjusted): Fix warnings.
svn path=/trunk/mono/; revision=75278
Nagappan Alagappan [Mon, 2 Apr 2007 03:47:05 +0000 (03:47 -0000)]
2007-04-02 Nagappan A <anagappan@novell.com>
* SqlParameter.cs: Variable name fix.
svn path=/trunk/mcs/; revision=75274
Zoltan Varga [Sun, 1 Apr 2007 19:18:08 +0000 (19:18 -0000)]
2007-04-01 Zoltan Varga <vargaz@gmail.com>
* threads.c (abort_appdomain_thread): Avoid handle leakage if we are
waiting for too many threads.
svn path=/trunk/mono/; revision=75264
Vladimir Krasnov [Sun, 1 Apr 2007 15:50:48 +0000 (15:50 -0000)]
* System.Web20.csproj:
* System.Web.dll.sources: HeadersCollection.cs, BaseParamsCollection.cs
* HttpRequest.cs: fixed Headers property to use optimized HeadersCollection
* WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for NET_2_0
* ServerVariablesCollection.cs: used lazy collection fill optimization
* added: HeadersCollection.cs, BaseParamsCollection.cs
svn path=/trunk/mcs/; revision=75263
Konstantin Triger [Sun, 1 Apr 2007 14:25:37 +0000 (14:25 -0000)]
use is unstead of casting
svn path=/trunk/mcs/; revision=75262
Konstantin Triger [Sun, 1 Apr 2007 14:18:54 +0000 (14:18 -0000)]
GetLocalResourceObject - should not prefix resources with 'Resources.'
svn path=/trunk/mcs/; revision=75261
Marek Safar [Sun, 1 Apr 2007 13:32:57 +0000 (13:32 -0000)]
New test.
svn path=/trunk/mcs/; revision=75259
Marek Safar [Sun, 1 Apr 2007 13:32:06 +0000 (13:32 -0000)]
2007-04-01 Marek Safar <marek.safar@gmail.com>
* decl.cs (FindExtensionMethods): Consider all candidates with same name
at this level.
* expression.cs (MemberAccess.DoResolve): Cache resolved expression.
svn path=/trunk/mcs/; revision=75258
Yoni Klain [Sun, 1 Apr 2007 13:08:46 +0000 (13:08 -0000)]
1/04/07 by: Yonik <yonik@mainsoft.com>
Add Email required validation.
svn path=/trunk/mcs/; revision=75257
Konstantin Triger [Sun, 1 Apr 2007 12:03:49 +0000 (12:03 -0000)]
use virtual path for Global.asax
svn path=/trunk/mcs/; revision=75256
Konstantin Triger [Sun, 1 Apr 2007 09:33:02 +0000 (09:33 -0000)]
suppress errors for unsupported session mode and fallback to the servlet session provider
svn path=/trunk/mcs/; revision=75254
Konstantin Triger [Sun, 1 Apr 2007 08:40:02 +0000 (08:40 -0000)]
Default Browser (userAgent) property to 'Unknown'
svn path=/trunk/mcs/; revision=75253
Alp Toker [Sun, 1 Apr 2007 04:54:02 +0000 (04:54 -0000)]
2007-04-01 Alp Toker <alp@atoker.com>
* build-csproj:
* build-csproj2k5:
* build-csproj2k5-tests: Use bash, not sh. These scripts do run with
POSIX sh but they produce incorrect output containing binary garbage.
Output is correct when 'bash' is used instead of 'sh'.
svn path=/trunk/mcs/; revision=75250
Marek Safar [Sat, 31 Mar 2007 18:50:00 +0000 (18:50 -0000)]
Re-applied my last patch.
svn path=/trunk/mcs/; revision=75249
Marek Safar [Sat, 31 Mar 2007 18:05:35 +0000 (18:05 -0000)]
New test.
svn path=/trunk/mcs/; revision=75246
Marek Safar [Sat, 31 Mar 2007 18:05:04 +0000 (18:05 -0000)]
2007-03-31 Marek Safar <marek.safar@gmail.com>
* generic.cs (InferTypeArguments): Restored validation check.
(InferTypeArguments): Move all logic to Compatible method for re-usability.
2007-03-31 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (AnonymousMethodExpression.Compatible): Handles both
argument and return type inferring.
* codegen.cs (InferReturnType): Flag whether return can be inferred.
(ReturnType): Turned to property.
* statement.cs (Return): Implemented return type inferring.
* support.cs (ReflectionParameters): Use local types if possible.
svn path=/trunk/mcs/; revision=75245
Antonello Provenzano [Sat, 31 Mar 2007 16:40:05 +0000 (16:40 -0000)]
svn path=/trunk/mcs/; revision=75242
Gert Driesen [Sat, 31 Mar 2007 12:32:38 +0000 (12:32 -0000)]
* RichTextBoxTest.cs: Added BackColor test. Improved ReadOnly tests.
Added ScrollBars tests.
* TextBoxTest.cs: Improve BackColor test. Added ScrollBars tests.
Improved ReadOnly tests.
* TextBox.cs: Added internal ChangeBackColor method to special-case
Color.Empty. Added check for invalid ScrollBars value.
* TextBoxBase.cs: Added internal ChangeBackColor method.
* RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
internal ChangeBackColor method to special-case Color.Empty. Added
check for invalid ScrollBars value.
svn path=/trunk/mcs/; revision=75239
Miguel de Icaza [Fri, 30 Mar 2007 22:26:05 +0000 (22:26 -0000)]
Add a timestamp
svn path=/trunk/mcs/; revision=75238
Gert Driesen [Fri, 30 Mar 2007 18:42:27 +0000 (18:42 -0000)]
* FormHandleTest.cs: Enabled test for bug #81272.
svn path=/trunk/mcs/; revision=75226
Everaldo Canuto [Fri, 30 Mar 2007 18:36:34 +0000 (18:36 -0000)]
2007-03-30 Everaldo Canuto <everaldo@simios.org>
* MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
svn path=/trunk/mcs/; revision=75224
Jonathan Pobst [Fri, 30 Mar 2007 16:48:00 +0000 (16:48 -0000)]
Forgot to commit 2 new files in r75208. Fixes build.
svn path=/trunk/mcs/; revision=75217
Jonathan Pobst [Fri, 30 Mar 2007 15:37:18 +0000 (15:37 -0000)]
2007-03-30 Jonathan Pobst <monkey@jpobst.com>
* ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
* ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
[Based on submitted patch from Olivier Duff.]
2007-03-30 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Add ScrollProperties,
HScrollProperties, and VScrollProperties.
* System.Windows.Forms_test.dll.sources: Add HScrollPropertiesTest and
VScrollPropertiesTest.
2007-03-30 Jonathan Pobst <monkey@jpobst.com>
* HScrollPropertiesTest.cs, VScrollPropertiesTest.cs: Added.
svn path=/trunk/mcs/; revision=75208
Sebastien Pouliot [Fri, 30 Mar 2007 15:12:17 +0000 (15:12 -0000)]
2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
* GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
crash libgdiplus if it's not updated to the latest svn revision).
svn path=/trunk/mcs/; revision=75202
Jonathan Chambers [Fri, 30 Mar 2007 14:57:58 +0000 (14:57 -0000)]
2007-03-30 Jonathan Chambers <joncham@gmail.com>
* libmono.vcproj, mono.vcproj: Reset browse information
settings to default.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=75200
Jackson Harper [Fri, 30 Mar 2007 14:45:03 +0000 (14:45 -0000)]
* TextBox.cs: Only select all on initial focus if the user has
* not
specified a selection area.
svn path=/trunk/mcs/; revision=75199
Jonathan Pobst [Fri, 30 Mar 2007 14:19:08 +0000 (14:19 -0000)]
2007-03-30 Jonathan Pobst <monkey@jpobst.com>
* UserControl.cs: Override CreateParams.
2007-03-30 Jonathan Pobst <monkey@jpobst.com>
* UserControlTest.cs: Add test for CreateParams.
svn path=/trunk/mcs/; revision=75197
Gert Driesen [Fri, 30 Mar 2007 13:39:15 +0000 (13:39 -0000)]
* FormHandleTest.cs: Added test for bug #81272.
svn path=/trunk/mcs/; revision=75196
Sebastien Pouliot [Fri, 30 Mar 2007 13:37:27 +0000 (13:37 -0000)]
2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
* TestMatrix.cs: Allow a small delta when comparing floats. This
allows the ARM to work properly (e.g. -9.999995 versus -10).
svn path=/trunk/mcs/; revision=75195
Sebastien Pouliot [Fri, 30 Mar 2007 13:36:15 +0000 (13:36 -0000)]
2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
* SystemFontsTest.cs: Allow a small delta when comparing floats. This
allows the ARM to work properly (e.g. 8.249999 versus 8.25).
svn path=/trunk/mcs/; revision=75193
Raja R Harinath [Fri, 30 Mar 2007 13:27:25 +0000 (13:27 -0000)]
* flowanalysis.cs (FlowBranching.Reachability): Remove.
(FlowBranching.UsageVector): Update to changes.
svn path=/trunk/mcs/; revision=75191
Nagappan Alagappan [Fri, 30 Mar 2007 12:44:22 +0000 (12:44 -0000)]
2007-03-23 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
* SqlCommandTest.cs (BeginExecuteXmlReaderTest): Written test case for the method
BeginExecuteXmlReader.
(BeginExecuteXmlReaderExceptionTest): Written test case for the method BeginExecuteXmlReader
to check for InvalidOperationException.
(CloneObjTest): Written test case for the method Clone.
* SqlConnectionTest.cs (ChangePasswordNullConnStringTest): Written test case for the method
ChangePassword to check for null connection string.
(ChangePasswordNullPasswordTest): Written test case for the method ChangePassword to check for
null new password.
(ChangePasswordEmptyPasswordTest): Written test case for the method ChangePassword to check for
password as empty string.
(ChangePasswordExceedPasswordTest): Written test case for the method ChangePassword to check
if the password exceeds its permitted size.
* SqlClientFactory.cs: Created the class.
(CreatePermissionTest): Added a test case for the method CreatePermission.
2007-03-20 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
* SqlConnectionStringBuilderTest.cs: Fixed the bug by including the
category sqlserver, in the absence of which none of the test-cases
were executing.
(TrustServerCertificateTest): Written test-case for the property TrustServerCertificate.
(TypeSystemVersionTest): Written test-case for the property TypeSystemVersion.
(UserInstanceTest): Written test-case for the property UserInstance.
(SettingUserInstanceTest): Written test-case for checking the connection string after
assigning the value for keyword User Instance.
(ContextConnectionTest): Written test-case for the property ContextConnection.
(SettingContextConnectionTest): Written test-case for checking the connection string after
assigning the value for keyword Context Connection.
* SqlCommandTest.cs (NotificationTest): Written test-case for property Notification.
(NotificationAutoEnlistTest): Written the test-case for property NotificationAutoEnlist.
* SqlConnectionTest.cs (FireInfoMessageEventOnUserErrorsTest): Written
test-case for the property FireInfoMessageEventOnUserErrors.
(StatisticsEnabledTest): Written test-case for the property StatisticsEnabled.
* SqlDataAdapterTest.cs (UpdateBatchSizeTest): Written test-case for the
property UpdateBatchSize.
(UpdateBatchSizeArgumentOutOfRangeTest): Written test-case for the ArgumentOutOfRange
exception for UpdateBatchSize property.
2007-03-19 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
* SqlParameterTest.cs (CompareInfoTest): Written the test case
for property CompareInfo.
(LocaleIdTest): Written the test case for property LocaleId.
(SqlValueTest): Written test case for property SqlValue.
svn path=/trunk/mcs/; revision=75190
Nagappan Alagappan [Fri, 30 Mar 2007 12:43:28 +0000 (12:43 -0000)]
2007-03-20 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
* SqlClientFactory.cs: Added two using directives.
(CreateConnectionStringBuilder): Implemented the method.
(CreatePermission): Implemented the property.
* SqlCommand.cs: Added one using directive.
(Clone): Implemented the method.
(Dispose): Implemented the method.
(BeginExecuteXmlReader): Implemented the method.
* SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
(UnquoteIdentifier): Implemented the method.
* SqlConnection.cs (ChangePassword): Implemented the method.
2007-03-19 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
* SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
the property.
* SqlCommand.cs (Notification): Implemented the property.
(NotificationAutoEnlist): Implemented the property.
* SqlDataReader.cs (VisibleFieldCount): Implemented the property.
* SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
the property.
(TypeSystemVersion): Implemented the property.
(UserInstance): Implemented the property.
(ContextConnection): Implemented the property.
* SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
the property.
(StatisticsEnabled): Implemented the property.
* SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
* SqlParameter.cs: Implemented one attribute.
svn path=/trunk/mcs/; revision=75189
Raja R Harinath [Fri, 30 Mar 2007 12:30:36 +0000 (12:30 -0000)]
Prepare to kill 'Reachability'
* flowanalysis.cs (UsageVector): Remove 'Reachability' from
argument of constructor.
svn path=/trunk/mcs/; revision=75188
Rolf Bjarne Kvinge [Fri, 30 Mar 2007 10:47:39 +0000 (10:47 -0000)]
* MdiFormTest.cs: Added test for #79964.
svn path=/trunk/mcs/; revision=75184
Rolf Bjarne Kvinge [Fri, 30 Mar 2007 10:44:38 +0000 (10:44 -0000)]
* Form.cs: Don't layout mdi children on MdiParent creation, the initial
layout of the mdi children is handled by CreateParams. Fixes
#79964,
svn path=/trunk/mcs/; revision=75183
Jackson Harper [Thu, 29 Mar 2007 21:22:09 +0000 (21:22 -0000)]
Add (slightly modified) tests from gert.
svn path=/trunk/mcs/; revision=75176
Everaldo Canuto [Thu, 29 Mar 2007 19:27:42 +0000 (19:27 -0000)]
2007-03-29 Everaldo Canuto <everaldo@simios.org>
* MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
processed.
* Form.cs: When active tracker mouse down is not processed, send event
back to control inside mouse position. [Fixes #81227]
svn path=/trunk/mcs/; revision=75170
Sebastien Pouliot [Thu, 29 Mar 2007 19:22:04 +0000 (19:22 -0000)]
2007-03-29 Sebastien Pouliot <sebastien@ximian.com>
* nunit-host-ignore-list: Re-enable TIFF test cases on SPARC bots and
remove some test cases on the ARM bot.
svn path=/trunk/mcs/; revision=75169
Jonathan Pobst [Thu, 29 Mar 2007 18:28:29 +0000 (18:28 -0000)]
2007-03-29 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
stealing focus from the active form on Windows. (Control will be made
visible in ShowWindow.)
svn path=/trunk/mcs/; revision=75165
Mike Kestner [Thu, 29 Mar 2007 18:11:51 +0000 (18:11 -0000)]
2007-03-29 Mike Kestner <mkestner@novell.com>
* ImageList.cs : add internal Changed event.
* ListView.cs : hook up to StateImageList.Changed to perform
invalidations when the the state icon list changes. [Fixes #81191]
svn path=/trunk/mcs/; revision=75164
Jonathan Pobst [Thu, 29 Mar 2007 18:10:42 +0000 (18:10 -0000)]
2007-03-29 Jonathan Pobst <monkey@jpobst.com>
* ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
to prevent tooltips from stealing focus from the active form on Windows.
svn path=/trunk/mcs/; revision=75163
Everaldo Canuto [Thu, 29 Mar 2007 18:03:15 +0000 (18:03 -0000)]
* ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
* ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
2007-03-29 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=75162
Everaldo Canuto [Thu, 29 Mar 2007 17:01:33 +0000 (17:01 -0000)]
2007-03-29 Everaldo Canuto <everaldo@simios.org>
* NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
balloons.
svn path=/trunk/mcs/; revision=75155
Jackson Harper [Thu, 29 Mar 2007 16:57:25 +0000 (16:57 -0000)]
* TextControl.cs: When deleting text from non multiline
* textboxes,
we need to update the entire document, because line offsets will
be shifting.
svn path=/trunk/mcs/; revision=75154
Everaldo Canuto [Thu, 29 Mar 2007 16:56:21 +0000 (16:56 -0000)]
16x16 dialog icons added
svn path=/trunk/mcs/; revision=75153
Konstantin Triger [Thu, 29 Mar 2007 16:55:30 +0000 (16:55 -0000)]
correctly remove the ApplicationPath from url
svn path=/trunk/mcs/; revision=75152
Everaldo Canuto [Thu, 29 Mar 2007 16:53:37 +0000 (16:53 -0000)]
16x16 dialog icons added
svn path=/trunk/mcs/; revision=75151
Miguel de Icaza [Thu, 29 Mar 2007 15:29:28 +0000 (15:29 -0000)]
eol-style
svn path=/trunk/mcs/; revision=75148
Everaldo Canuto [Thu, 29 Mar 2007 15:14:52 +0000 (15:14 -0000)]
2007-03-29 Everaldo Canuto <everaldo@simios.org>
* XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
added to theme, now we can create themes that uses diferent notify engines
like notification-daemon from galago project or growl for Mac OS.
svn path=/trunk/mcs/; revision=75147
Miguel de Icaza [Thu, 29 Mar 2007 15:05:13 +0000 (15:05 -0000)]
2007-03-29 Miguel de Icaza <miguel@novell.com>
* Reapply the patch from Antonello, and rework the code to not use
extension methods on Enumerable.
svn path=/trunk/mcs/; revision=75146
Konstantin Triger [Thu, 29 Mar 2007 14:55:30 +0000 (14:55 -0000)]
Path HttpContext to the PageMapper and use it. Throw resource not available exception at the highest level only - when it's known whether we should throw
svn path=/trunk/mcs/; revision=75145
Everaldo Canuto [Thu, 29 Mar 2007 14:21:23 +0000 (14:21 -0000)]
* NotifyIcon.cs: Prevent Balloon to show in task bar.
2007-03-28 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=75143
Raja R Harinath [Thu, 29 Mar 2007 14:07:58 +0000 (14:07 -0000)]
Prepare to kill 'Reachability'
* flowanalysis.cs (UsageVector.is_unreachable): New.
(UsageVector): Update to maintain 'is_unreachable' in parallel to
'reachability', and verify they're consistent.
svn path=/trunk/mcs/; revision=75141
Everaldo Canuto [Thu, 29 Mar 2007 13:42:38 +0000 (13:42 -0000)]
* XplatUIX11-new.cs: Prevent system to open more than one balloon.
2007-03-29 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=75140
Raja R Harinath [Thu, 29 Mar 2007 13:41:26 +0000 (13:41 -0000)]
Fix #81121
* mcs/expression.cs (New.EmitStatement): Handle type parameters here too.
* tests/gtest-325.cs: New test from #81121.
svn path=/trunk/mcs/; revision=75139
Everaldo Canuto [Thu, 29 Mar 2007 13:41:09 +0000 (13:41 -0000)]
* XplatUIX11.cs: Prevent system to open more than one balloon.
* NotifyIcon.cs: Prevent system to open more than one balloon and remove
some compiler warning messages.
2007-03-28 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=75138
Adar Wesley [Thu, 29 Mar 2007 13:37:36 +0000 (13:37 -0000)]
2007-03-29 Adar Wesley <adarw@mainsoft.com>
* ObjectDataSourceView.cs: fixed events so they are raized at the
right times. Added many tests to verify the correct time.
* SqlDataSourceView.cs: fixed events so they are raized at the right
times. Added many tests to verify the correct time.
svn path=/trunk/mcs/; revision=75137
Zoltan Varga [Thu, 29 Mar 2007 13:24:34 +0000 (13:24 -0000)]
2007-03-29 Zoltan Varga <vargaz@gmail.com>
* autogen.sh: Applied patch from Priit Laes <amd@store20.com>. Fix the running
of libtoolize.
* ltmain.sh config.sub config.guess: Removed, libtoolize creates them now.
svn path=/trunk/mono/; revision=75136
Vladimir Krasnov [Thu, 29 Mar 2007 12:43:42 +0000 (12:43 -0000)]
* HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
* HttpContext.jvm.cs: added stubs for timeout methods
svn path=/trunk/mcs/; revision=75134
Vladimir Krasnov [Thu, 29 Mar 2007 12:38:00 +0000 (12:38 -0000)]
* TemplateControl.jvm.cs: performance improvement, added cache for methods and events in user code
svn path=/trunk/mcs/; revision=75132