mono.git
17 years ago* data/browscap.ini: added msdomversion for ie6/7, fixed ecmascriptversion in ie6/7
Vladimir Krasnov [Thu, 7 Dec 2006 08:59:56 +0000 (08:59 -0000)]
* data/browscap.ini: added msdomversion for ie6/7, fixed ecmascriptversion in ie6/7

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

17 years ago* BrowserCapabilities.cs: fixed MSDomVersion property
Vladimir Krasnov [Thu, 7 Dec 2006 08:56:42 +0000 (08:56 -0000)]
* BrowserCapabilities.cs: fixed MSDomVersion property

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

17 years agoremove redundand TARGET_JVMs due to r69157
Konstantin Triger [Thu, 7 Dec 2006 07:52:58 +0000 (07:52 -0000)]
remove redundand TARGET_JVMs due to r69157

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

17 years agoTARGET_JVM: sometimes JAVA has a wider exception hierarchy, i.e. ArrayIndexOutOfBound...
Konstantin Triger [Thu, 7 Dec 2006 07:50:52 +0000 (07:50 -0000)]
TARGET_JVM: sometimes JAVA has a wider exception hierarchy, i.e. ArrayIndexOutOfBoundsException : IndexOutOfBoundsException; we ignore this

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 7 Dec 2006 05:40:05 +0000 (05:40 -0000)]
In System.Windows.Forms:
[ you had to know this was coming after that last commit...]

* XplatUIX11.cs: implement the 3 Offscreen functions in terms of
XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
XCopyArea).

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

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

* XplatUIX11-new.cs: add the 3 double buffering calls, calling
into the X11Display.

* Xlib.cs: add XCreatePixmap.

* X11Display.cs: implement the double buffering calls the same as
XplatUIX11.cs.

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

17 years ago2006-12-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 7 Dec 2006 05:30:37 +0000 (05:30 -0000)]
2006-12-07  Chris Toshok  <toshok@ximian.com>

* XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
all the behavior we need for double buffering.

* XplatUIDriver.cs: implement the 3 double buffer methods using a
client side Bitmap, just like the old Control-based double buffer
code did.  The methods are virtual, so each XplatUI driver
subclass can replace the implementation to use a faster, platform
specific approach.

* Control.cs: make use of the 3 Offscreen XplatUI calls in the
double buffer code, and clean things up a bit in the process.

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

17 years ago * Control.cs: reindent WndProc.
Chris Toshok [Thu, 7 Dec 2006 04:17:22 +0000 (04:17 -0000)]
* Control.cs: reindent WndProc.

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

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

17 years ago [ I wanna be like BenM when I grow up ]
Chris Toshok [Thu, 7 Dec 2006 04:07:00 +0000 (04:07 -0000)]
[ I wanna be like BenM when I grow up ]

* Hwnd.cs: create a single static Graphics object on the static
Bitmap we create.  use this for our text measurements.

* Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
This was causing us to allocate a backbuffer for every control,
even when it wasn't flagged as double buffered.  Instead use the
single graphics instance.  This might have implications for
multithreaded applications.  If we run into problems we can switch
to creating 1 Graphics per control, on the static Hwnd bitmap.

this change nets us a 7M savings in private dirty mappings when
running FormsTest.exe.

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

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

17 years ago * ToolTip.cs: use Visible instead of is_visible.
Chris Toshok [Thu, 7 Dec 2006 03:14:14 +0000 (03:14 -0000)]
* ToolTip.cs: use Visible instead of is_visible.

* TreeView.cs: same.

* ListBox.cs: same.

* ListView.cs: same.

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

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

17 years ago * ListView.cs: the BackgroundImage override is just to set
Chris Toshok [Thu, 7 Dec 2006 01:28:17 +0000 (01:28 -0000)]
* ListView.cs: the BackgroundImage override is just to set
attributes.  chain up to base.BackgroundImage.

* RichTextBox.cs: same.

* ToolBar.cs: same, but we need to also redraw the toolbar when it
changes, so instead a handler for BackgroundImageChanged.

* Control.cs: make background_image private.

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

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

17 years ago * ScrollBar.cs: change the assignment of cursor to Cursor. not
Chris Toshok [Thu, 7 Dec 2006 01:21:33 +0000 (01:21 -0000)]
* ScrollBar.cs: change the assignment of cursor to Cursor.  not
sure we even need this assignment, but roll with it for now.

* Control.cs: make the cursor field private.

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

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Thu, 7 Dec 2006 01:18:18 +0000 (01:18 -0000)]
In Test/System.Windows.Forms:
* FormTest.cs: make sure Form.ImeMode is NoControl by default.

* ButtonTest.cs: add a unit test for Button.DefaultImeMode.

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

In System.Windows.Forms:
* Form.cs: we don't need to explicitly set ImeMode to
ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
behavior in the face of ImeMode.Inherit.

* ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
change the ctor's assignment to use ImeMode instead of ime_mode.

* Control.cs (get_ImeMode): don't assume DefaultImeMode ==
ImeModeInherit.  Only check for the parent's imemode (and return
NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
This fixes the button unit test, which sets both ImeMode and
DefaultImeMode to ImeMode.Disable.

also make the ime_mode field private.

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

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

17 years ago2006-12-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 7 Dec 2006 01:04:29 +0000 (01:04 -0000)]
2006-12-06  Chris Toshok  <toshok@ximian.com>

* Control.cs: make control_style private.

* TextBoxBase.cs: fix the HandleClick override.  it was explicitly
setting the styles to true, then setting them to false instead of
reverting to their previous values.

also, call SetStyle on the scrollbars instead of using
control_style directly.

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

17 years ago2006-12-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 7 Dec 2006 01:00:57 +0000 (01:00 -0000)]
2006-12-06  Jonathan Pobst  <monkey@jpobst.com>

* FormCollection.cs: Implement. [2.0]

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

17 years ago * Control.cs: make tab_stop private.
Chris Toshok [Thu, 7 Dec 2006 00:47:35 +0000 (00:47 -0000)]
* Control.cs: make tab_stop private.

* Label.cs: set TabStop, not tab_stop.  reformat some event
add/remove methods to make them more compact.

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

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

17 years agoIn System.Windows.Forms:
Chris Toshok [Thu, 7 Dec 2006 00:43:57 +0000 (00:43 -0000)]
In System.Windows.Forms:
* RadioButton.cs: fix TabStop handling.

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

In Test/System.Windows.Forms:
* RadioButtonTest.cs: add a couple of test involving TabStop.

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

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

17 years ago * TextBox.cs: remove the explicit assignments to has_focus.
Chris Toshok [Thu, 7 Dec 2006 00:36:34 +0000 (00:36 -0000)]
* TextBox.cs: remove the explicit assignments to has_focus.
Control does that.

* ButtonBase.cs: remove the assignment to has_focus.  Control will
manage that.

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

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

17 years ago * ButtonBase.cs: remove all uses of is_enabled from this code.
Chris Toshok [Thu, 7 Dec 2006 00:05:35 +0000 (00:05 -0000)]
* ButtonBase.cs: remove all uses of is_enabled from this code.
it's always true when any of the code containing the checks is
executed.

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

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

17 years agoIn Test/System.Windows.Forms:
Chris Toshok [Wed, 6 Dec 2006 23:44:38 +0000 (23:44 -0000)]
In Test/System.Windows.Forms:
2006-12-06  Chris Toshok  <toshok@ximian.com>

* ImageListTest.cs: add a rather complicated series of assertions
about the imagelist ShouldSerialize/CanReset methods.  these pass
on MS and mono now, though.  yay.

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

* ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
with different semantics (some are present in both 1.1 and 2.0
profiles) so that we match MS's behavior in our unit tests.

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

17 years agoIn Test/System.ComponentModel:
Chris Toshok [Wed, 6 Dec 2006 23:22:18 +0000 (23:22 -0000)]
In Test/System.ComponentModel:
* PropertyDescriptorTests.cs: add a test to see if
ShouldSerializeValue's return value affects CanResetValue.

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

In System.ComponentModel:
* ReflectionPropertyDescriptor.cs: turns out if "ShouldSerialize*"
is present and returns false, "CanReset*" also returns false.

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

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

17 years agoIn Test/System.ComponentModel:
Chris Toshok [Wed, 6 Dec 2006 22:40:48 +0000 (22:40 -0000)]
In Test/System.ComponentModel:
* PropertyDescriptorTests.cs: add a test for ShouldSerializeValue
and CanResetValue on a class without ShouldSerialize/Reset
methods.

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

In System.ComponentModel:
* ReflectionPropertyDescriptor.cs: ShouldSerializeValue should
return false if there's no ShouldSerialize method.

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

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

17 years agoNew tests.
Marek Safar [Wed, 6 Dec 2006 22:14:40 +0000 (22:14 -0000)]
New tests.

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

17 years agoIn Test/System.ComponentModel:
Chris Toshok [Wed, 6 Dec 2006 22:12:28 +0000 (22:12 -0000)]
In Test/System.ComponentModel:
2006-12-06  Chris Toshok  <toshok@ximian.com>

* PropertyDescriptorTests.cs: flesh out these tests more with some
for ShouldSerialize and CanReset.

In System.ComponentModel:
2006-12-06  Chris Toshok  <toshok@ximian.com>

* ReflectionPropertyDescriptor.cs: fixes for CanResetValue and
ShouldSerializeValue - we need to find both public and nonpublic
methods.

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

17 years ago2006-12-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 6 Dec 2006 22:12:09 +0000 (22:12 -0000)]
2006-12-06  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80144
* class.cs (EventProperty.Define): Explicit implementation means
that an even is used.

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

17 years agoNew tests.
Marek Safar [Wed, 6 Dec 2006 21:19:07 +0000 (21:19 -0000)]
New tests.

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

17 years ago2006-12-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 6 Dec 2006 21:17:54 +0000 (21:17 -0000)]
2006-12-06  Marek Safar  <marek.safar@gmail.com>

Fixes the operators implementation (part II)

* cfold.cs (DoConstantNumericPromotions): Renamed to
DoBinaryNumericPromotions and simplified.
(BinaryFold): Couple of conversion fixes; simplified.

* constant.cs, ecore.cs, literal.cs
(ToType): Renamed to ConvertImplicitly.
(Reduce): Renamed to ConvertExplicitly.

* class.cs, convert.cs: Updated.

* expression.cs: TryReduce doesn't throw an exception.

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

17 years ago * TextBoxTest.cs: Add a test for Modified property.
Jackson Harper [Wed, 6 Dec 2006 19:01:24 +0000 (19:01 -0000)]
    * TextBoxTest.cs: Add a test for Modified property.
        - We need to put something on the clipboard before we can paste.

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

17 years agoIn .:
Chris Toshok [Wed, 6 Dec 2006 18:36:53 +0000 (18:36 -0000)]
In .:
2006-12-06  Chris Toshok  <toshok@ximian.com>

* System.Design.dll.sources: add
System.Windows.Forms.Design/ImageCollectionEditor.cs

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

* ImageCollectionEditor.cs: new file, stubbed just to get it so we
can make an ImageList the selected object in a propertygrid.

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

17 years ago2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 6 Dec 2006 17:19:29 +0000 (17:19 -0000)]
2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>

* AdRotator.cs: fixed:
MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
root-relative path, or a relative path. If you use a root-relative path,
the path is relative to the same Web site. If you use a relative path,
the path is relative to the directory that contains the advertisement file.

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

17 years ago * TextControl.cs: Make this operation undoable.
Jackson Harper [Wed, 6 Dec 2006 16:50:40 +0000 (16:50 -0000)]
    * TextControl.cs: Make this operation undoable.
        * TextBoxBase.cs: Factor the border width into the preferred
        height.
        - implement Modified as per the spec.

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

17 years agoupdate BTS info.
Robert Jordan [Wed, 6 Dec 2006 16:45:15 +0000 (16:45 -0000)]
update BTS info.

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

17 years ago2006-12-06 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 6 Dec 2006 16:38:07 +0000 (16:38 -0000)]
2006-12-06  Robert Jordan  <robertj@gmx.net>

* SessionSQLServerHandler.cs: Prepare the SQL statements.
Patch from Hubert FONGARNAND.

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

17 years ago* SiteMapDataSource.cs: Add explicit implementation for IListSource interface
Vladimir Krasnov [Wed, 6 Dec 2006 16:12:04 +0000 (16:12 -0000)]
* SiteMapDataSource.cs: Add explicit implementation for IListSource interface

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

17 years ago * Timer.cs, Control.cs, Menu.cs: make control_tag private.
Chris Toshok [Wed, 6 Dec 2006 16:08:24 +0000 (16:08 -0000)]
* Timer.cs, Control.cs, Menu.cs: make control_tag private.

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

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

17 years ago * Control.cs: make right_to_left and context_menu fields private.
Chris Toshok [Wed, 6 Dec 2006 16:06:36 +0000 (16:06 -0000)]
* Control.cs: make right_to_left and context_menu fields private.

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

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

17 years ago * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
Chris Toshok [Wed, 6 Dec 2006 15:58:04 +0000 (15:58 -0000)]
* AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
Control.child_controls private.  switch all uses over to
Control.Controls.

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

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

17 years ago2006-12-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 6 Dec 2006 15:57:52 +0000 (15:57 -0000)]
2006-12-06  Chris Toshok  <toshok@ximian.com>

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

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

17 years ago2006-12-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 6 Dec 2006 15:57:41 +0000 (15:57 -0000)]
2006-12-06  Chris Toshok  <toshok@ximian.com>

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

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

17 years agoImplement explicit implementation of IDataSource as documented in msdn
Konstantin Triger [Wed, 6 Dec 2006 15:55:37 +0000 (15:55 -0000)]
Implement explicit implementation of IDataSource as documented in msdn

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

17 years ago2006-12-06 Yoni Klain <yonik@mainsoft.com>
Yoni Klain [Wed, 6 Dec 2006 15:52:40 +0000 (15:52 -0000)]
2006-12-06  Yoni Klain         <yonik@mainsoft.com>
* MenuTest.cs;GridViewTest.cs;CustomValidatorTest.cs;
  changes for 2.0 definition and category repaired.

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

17 years ago2006-12-06 Yoni Klain <yonik@mainsoft.com>
Yoni Klain [Wed, 6 Dec 2006 15:47:06 +0000 (15:47 -0000)]
2006-12-06  Yoni Klain   <yonik@mainsoft.com>
* ClientScriptManagerTest.cs: Change Render () for 2.0 definition

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

17 years ago * System.Windows.Forms/GroupBox.cs,
Chris Toshok [Wed, 6 Dec 2006 15:43:50 +0000 (15:43 -0000)]
* System.Windows.Forms/GroupBox.cs,
System.Windows.Forms/AccessibleObject.cs,
System.Windows.Forms/ErrorProvider.cs,
System.Windows.Forms/Control.cs,
System.Windows.Forms/UpDownBase.cs,
System.Windows.Forms/ScrollBar.cs,
System.Windows.Forms/DateTimePicker.cs,
System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
System.Windows.Forms/ToolTip.cs,
System.Windows.Forms/RadioButton.cs,
System.Windows.Forms/LinkLabel.cs,
System.Windows.Forms/Splitter.cs,
System.Windows.Forms/TextBoxBase.cs,
System.Windows.Forms/ToolStripTextBox.cs,
System.Windows.Forms/ContainerControl.cs,
System.Windows.Forms/ThemeWin32Classic.cs,
System.Windows.Forms/SizeGrip.cs,
System.Windows.Forms/ToolStripDropDown.cs,
System.Windows.Forms/ScrollableControl.cs: Make Control.parent
private.  switch all uses over to Control.Parent.

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

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

17 years ago2006-12-06 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 6 Dec 2006 15:26:01 +0000 (15:26 -0000)]
2006-12-06  Chris Toshok  <toshok@ximian.com>

* RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
Control does this before calling emitting these events.

* TabControl.cs: same.

* ThemeWin32Classic.cs: use Control.ClientRectangle instead of
Control.client_rect.

* ButtonBase.cs: use the ClientSize property instead of the
client_size field.

* ScrollableControl.cs: same.

* Control.cs: another pass at making properties private.  also,
move the initialization of tab_stop to the ctor.

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

17 years ago2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 6 Dec 2006 15:10:00 +0000 (15:10 -0000)]
2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>

* BaseCompareValidator.cs: fixed: support for type=Date on client side.

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

17 years ago2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 6 Dec 2006 15:06:26 +0000 (15:06 -0000)]
2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>

* TreeView.cs: fixed: support for event validation.

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

17 years ago2006-12-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 6 Dec 2006 13:51:08 +0000 (13:51 -0000)]
2006-12-06  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: Add decoding of RFC3280 mandatory and optional
attributes types for dnQualifier, title, surname, givenName and
initial.
* X520Attributes.cs: Add encoding of RFC3280 mandatory and
optional attributes types for dnQualifier, title, surname, givenName
and initial.

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

17 years ago* CreateUserWizardTest.cs: fixed postback tests button id
Vladimir Krasnov [Wed, 6 Dec 2006 13:46:52 +0000 (13:46 -0000)]
* CreateUserWizardTest.cs: fixed postback tests button id

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

17 years ago* TabControl.cs: Let the selected index be set freely if the
Andreia Gaita [Wed, 6 Dec 2006 12:54:17 +0000 (12:54 -0000)]
* TabControl.cs: Let the selected index be set freely if the
control handle is not yet created.

2006-12-05  Andreia Gaita <avidigal@novell.com>

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

17 years agoRemove unnecessary NotWorking directives
Noam Lampert [Wed, 6 Dec 2006 12:34:26 +0000 (12:34 -0000)]
Remove unnecessary NotWorking directives

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

17 years ago2006-12-06 Yoni Klain <yonik@mainsoft.com>
Yoni Klain [Wed, 6 Dec 2006 11:36:22 +0000 (11:36 -0000)]
2006-12-06  Yoni Klain         <yonik@mainsoft.com>
* LoginTest.cs  remove not relevant test;

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

17 years agoNew version of resources added
Yoni Klain [Wed, 6 Dec 2006 11:28:05 +0000 (11:28 -0000)]
New version of resources added

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

17 years agosvn path=/trunk/mcs/; revision=69092
Yoni Klain [Wed, 6 Dec 2006 10:34:30 +0000 (10:34 -0000)]
svn path=/trunk/mcs/; revision=69092

17 years ago* FormsAuthenticationModule.cs: fixed OnAuthenticateRequest, suppress exception on...
Vladimir Krasnov [Wed, 6 Dec 2006 10:02:32 +0000 (10:02 -0000)]
* FormsAuthenticationModule.cs: fixed OnAuthenticateRequest, suppress exception on wrong ticket

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

17 years ago2006-12-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 6 Dec 2006 00:40:42 +0000 (00:40 -0000)]
2006-12-05  Sebastien Pouliot  <sebastien@ximian.com>

* X509CertificateTest.cs: Add new test cases for [Issuer|Subject]
UniqueIdentifier properties.
* X509Crl.cs: Add test cases for CRL signature verification using a
certificate without a CA flag in it's BasicConstraintExtension.

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

17 years ago2006-12-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 6 Dec 2006 00:37:17 +0000 (00:37 -0000)]
2006-12-05  Sebastien Pouliot  <sebastien@ximian.com>
* X509Certificate.cs: Resurrect the (fixed) support for [Issuer|
Subject]UniqueIdentifier, including new properties.

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

17 years ago These tests work now.
Jackson Harper [Tue, 5 Dec 2006 23:27:49 +0000 (23:27 -0000)]
    These tests work now.

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

17 years ago - Remove separate multiline handling from the Text
Jackson Harper [Tue, 5 Dec 2006 23:14:11 +0000 (23:14 -0000)]
    - Remove separate multiline handling from the Text
          getter/setter.

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

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

* Control.cs: Revert dist_top, dist_right, and dist_bottom to
internal until I can rewrite DefaultLayout.
* ToolStrip.cs: Fix build error and some general cleaning.
* ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
Fix build errors caused by making some of Control's fields private.

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

17 years ago * TextControl.cs: Redo Insert a little so that it use IndexOf
Jackson Harper [Tue, 5 Dec 2006 23:01:22 +0000 (23:01 -0000)]
    * TextControl.cs: Redo Insert a little so that it use IndexOf
        instead of Split, this prevents it from messing up on things
like
        \n\n\n. Also more effecient since the split array doesn't need
to
        be created.
        * TextBoxBase.cs: AppendText doesnt handle multiline and non
        multiline text differently, this is the first of many fixes that
        will make multiline/non-multiline the same thing as far as the
        TextBoxBase is concerned.
        - Don't split the text and insert lines, this can lose some line
        endings (like is the last line a soft or hard break). Instead
use
        the new Insert.
        - Fix an off by one when combining all the lines in the Text
        getter.

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

17 years ago2006-12-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 21:58:00 +0000 (21:58 -0000)]
2006-12-05  Chris Toshok  <toshok@ximian.com>

* ButtonBase.cs: a few changes:

- don't reinitialize internal Control fields in the ctor when they
have the same values as Control sets them.

- don't set has_focus in OnGotFocus/OnLostFocus.  Control does
this before calling those methods.

- we don't need to call Refresh for anything.  use Invalidate
instead.

- OnEnabledChanged doesn't need to redraw at all - Control.cs
calls Refresh in its OnEnabledChanged.

- several of the events we were registered for in the ctor to
redraw ourselves already include calls to Invalidate in the
property setters that raise the events.  remove the extra
invalidation.

- reformat a switch statement that was 83274658 columns wide.

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

17 years ago2006-12-05 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 5 Dec 2006 21:53:39 +0000 (21:53 -0000)]
2006-12-05  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: fix a unit test regression from a TextBox
SelectionLength return of -1 when there's no selection.

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

17 years ago2006-12-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 21:46:21 +0000 (21:46 -0000)]
2006-12-05  Chris Toshok  <toshok@ximian.com>

* Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
cleaning up some of the internal Control fields being used by
subclasses.

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

17 years ago2006-12-05 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 5 Dec 2006 21:13:54 +0000 (21:13 -0000)]
2006-12-05  Mike Kestner  <mkestner@novell.com>

* ComboBox.cs: fix some Simple mode regressions.  Set Visible on the
listbox after AddImplicit calls since it defaults to hidden. Add a
hack to preserve requested heights across DropDownStyle changes.

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

17 years ago2006-12-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 5 Dec 2006 18:40:05 +0000 (18:40 -0000)]
2006-12-05  Jonathan Pobst  <monkey@jpobst.com>

* PropertyGrid.cs: Hide FindFirstItem method from public API.

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

17 years ago2006-12-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 18:36:36 +0000 (18:36 -0000)]
2006-12-05  Chris Toshok  <toshok@ximian.com>

* RTF.cs: more warning fixes.

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

17 years ago2006-12-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 18:36:01 +0000 (18:36 -0000)]
2006-12-05  Chris Toshok  <toshok@ximian.com>

* X11Display.cs: fix some compiler warnings, and also re-include
the autorepeat event filtering from XplatUIX11.cs.

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

17 years ago * DataGridView.cs: fix compiler warnings.
Chris Toshok [Tue, 5 Dec 2006 18:35:11 +0000 (18:35 -0000)]
* DataGridView.cs: fix compiler warnings.

* PrintControllerWithStatusDialog.cs: same.

* ToolBar.cs: same.

* FolderBrowserDialog.cs: same.

* Splitter.cs: same.

* DataGridViewComboBoxCell.cs: same.

* XplatUIWin32.cs: same.

* PictureBox.cs: same.

* Win32DnD.cs: same.

* PageSetupDialog.cs: same.

* FileDialog.cs: same.

* PrintDialog.cs: same.

* DataGridTextBoxColumn.cs: same.

* DrawTreeNodeEventArgs.cs: same (and fix corcompare)

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

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

17 years agoTue Dec 5 19:19:34 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Dec 2006 18:20:21 +0000 (18:20 -0000)]
Tue Dec 5 19:19:34 CET 2006 Paolo Molaro <lupus@ximian.com>

* icall.c: fix leak found by Robert Jordan.

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

17 years ago2006-12-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 5 Dec 2006 17:33:34 +0000 (17:33 -0000)]
2006-12-05  Chris Toshok  <toshok@ximian.com>

* TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
System.ComponentModel.EventHandlerList work.

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

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

* VirtualPathUtility.cs: fixed: ToAbsolute() method.

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

17 years agoTue Dec 5 17:54:50 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Dec 2006 16:57:07 +0000 (16:57 -0000)]
Tue Dec 5 17:54:50 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini.c, jit-icalls.h, jit-icalls.c: remove the
ves_array_element_address() jit icall and use a generated
managed method instead (which is about 4 times faster for a rank 3
array access).

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

17 years agoTue Dec 5 17:53:10 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Dec 2006 16:54:36 +0000 (16:54 -0000)]
Tue Dec 5 17:53:10 CET 2006 Paolo Molaro <lupus@ximian.com>

* marshal.c, marshal.h: generate managed method to access an element
of a multi-dimensional array.

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

17 years agoRemove conflict line.
Jonathan Chambers [Tue, 5 Dec 2006 16:33:41 +0000 (16:33 -0000)]
Remove conflict line.

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

17 years agoAdded DrawTreeNodeEventArgs.cs.
Jonathan Chambers [Tue, 5 Dec 2006 16:31:37 +0000 (16:31 -0000)]
Added DrawTreeNodeEventArgs.cs.

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

17 years agoEnsure path info is never null
Konstantin Triger [Tue, 5 Dec 2006 16:27:05 +0000 (16:27 -0000)]
Ensure path info is never null

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

17 years ago2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 5 Dec 2006 16:25:30 +0000 (16:25 -0000)]
2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
FilePath is changed we get the new physical path, not the one of the
original request. Fixes bug #80152.

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

17 years ago* DataColumnCollectionTest.cs, DataRowCollectionTest.cs: Modernize.
Raja R Harinath [Tue, 5 Dec 2006 16:03:21 +0000 (16:03 -0000)]
* DataColumnCollectionTest.cs, DataRowCollectionTest.cs: Modernize.

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

17 years agosvn:eol-style=native
Raja R Harinath [Tue, 5 Dec 2006 16:02:50 +0000 (16:02 -0000)]
svn:eol-style=native

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

17 years ago* TemplateControl.jvm.cs: fixed TemplateSourceDirectory
Vladimir Krasnov [Tue, 5 Dec 2006 15:56:20 +0000 (15:56 -0000)]
* TemplateControl.jvm.cs: fixed TemplateSourceDirectory

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

17 years ago * InternalWindowManager.cs: Remove an unused field.
Rolf Bjarne Kvinge [Tue, 5 Dec 2006 15:17:20 +0000 (15:17 -0000)]
* InternalWindowManager.cs: Remove an unused field.

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

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

17 years ago * InternalWindowManager.cs:
Rolf Bjarne Kvinge [Tue, 5 Dec 2006 15:11:52 +0000 (15:11 -0000)]
* InternalWindowManager.cs:
- Save the point where the title bar is clicked.

* MdiWindowManager.cs:
- Only allow moving of the window as long as the
clicked point on the title bar does not get out of
MdiClient's rectangle. Fixes #79982.

* MdiClient.cs:
- Added Horizontal/VerticalScrollbarVisible.
- Simplified the scrollbar sizing algorithm.
- Cache the difference in scrolled value in
H/VBarValueChanged and move the calculation out
of the for loop.

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

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

17 years ago2006-12-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Dec 2006 15:08:16 +0000 (15:08 -0000)]
2006-12-05  Sebastien Pouliot  <sebastien@ximian.com>

* X509CRL.cs: Fix DSA signature verification when numbers aren't
exactly 20 bytes long (e.g. too short or negative with an extra 0x00).

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

17 years ago2006-12-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Tue, 5 Dec 2006 15:01:17 +0000 (15:01 -0000)]
2006-12-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Control.cs: Make the Console.WriteLine in WndProc
write more info.

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

17 years agosvn:eol-style=native
Raja R Harinath [Tue, 5 Dec 2006 14:45:48 +0000 (14:45 -0000)]
svn:eol-style=native

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

17 years agosvn:eol-style=native
Raja R Harinath [Tue, 5 Dec 2006 14:37:31 +0000 (14:37 -0000)]
svn:eol-style=native

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

17 years agoIn System.Data:
Raja R Harinath [Tue, 5 Dec 2006 14:31:47 +0000 (14:31 -0000)]
In System.Data:
* DataSetAssertion.cs: Don't derive from 'Assertion'.  Modernize.
* DataSetInferXmlSchemaTest.cs, DataSetReadXmlSchemaTest.cs,
DataSetReadXmlTest.cs, DataSetTest.cs, DataTableLoadRowTest.cs,
DataTableReaderTest.cs, DataTableTest.cs: Modernize.

In System.Xml:
* XmlDataDocumentTest.cs: Modernize.

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

17 years ago2006-12-05 Yoni Klain <yonik@mainsoft.com>
Yoni Klain [Tue, 5 Dec 2006 14:21:18 +0000 (14:21 -0000)]
2006-12-05  Yoni Klain         <yonik@mainsoft.com>
* ImageButtonTest.cs,ObjectDataSourceTest.cs only category changed;

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

17 years ago2006-12-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Dec 2006 13:44:18 +0000 (13:44 -0000)]
2006-12-05  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.cs: Support adding CRL into certificate stores.

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

17 years ago2006-12-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 5 Dec 2006 13:43:13 +0000 (13:43 -0000)]
2006-12-05  Sebastien Pouliot  <sebastien@ximian.com>

* X509CRL.cs: Expose the Hash and RawData properties to make it easier
to support CRL into stores.
* X509Store.cs: Add support to Import and Remove CRL from stores.
Refactor the code to get unique identificators.
* X509Stores.cs: Change default, for Open, to stores that supports
CRLs.

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

17 years ago2006-12-05 Yoni Klain <yonik@mainsoft.com>
Yoni Klain [Tue, 5 Dec 2006 13:28:42 +0000 (13:28 -0000)]
2006-12-05  Yoni Klain         <yonik@mainsoft.com>
* RepeaterTest.cs: added new test for 2.0

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

17 years agoRepeaterTest.cs added new tests for 2.0
Yoni Klain [Tue, 5 Dec 2006 13:04:34 +0000 (13:04 -0000)]
RepeaterTest.cs added new tests for 2.0

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

17 years agoTableTest.cs added new tests for 2.0
Yoni Klain [Tue, 5 Dec 2006 12:55:05 +0000 (12:55 -0000)]
TableTest.cs added new tests for 2.0

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

17 years agoXmlTest.cs added new tests for 2.0
Yoni Klain [Tue, 5 Dec 2006 12:38:46 +0000 (12:38 -0000)]
XmlTest.cs added new tests for 2.0

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

17 years agoAdd new tests to TextBoxTest.cs and new resource for those tests TextBoxTestlPage...
Yoni Klain [Tue, 5 Dec 2006 12:24:37 +0000 (12:24 -0000)]
Add new tests to TextBoxTest.cs and new resource for those tests TextBoxTestlPage.aspx

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 5 Dec 2006 11:39:06 +0000 (11:39 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
XmlWriter, solved the File Sharing IO Exception.

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 5 Dec 2006 11:38:25 +0000 (11:38 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* DataSetReadXmlTest.cs (ColumnOrder, XmlSpace): Modified
AssertEquals to NUnit.Framework.Assert.AreEqual.

* DataTableTest.cs (ReadWriteXmlSchema_ByFileName): Fixed Not
Working test case and made it working.

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

17 years ago2006-12-05 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 5 Dec 2006 11:17:31 +0000 (11:17 -0000)]
2006-12-05  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildTask.cs: Remove [MonoTODO], add exception throwing in
        GetParameterValue (), use expressions in ContinueOnError.
        * ConditionFactorException.cs: Throw InvalidProjectFileException ()
        instead of InvalidOperationException ().
        * ImportCollection.cs: Implement CopyTo ().
        * Target.cs: Remove redundant variables (XmlAttributes), return
        String.Empty in DependsOnTargets, add a null check in RemoveTask ().
        * BuildItemGroup.cs, BuildPropertyGroup.cs: Remove [MonoTODO].
        * Import.cs: Throw an exception when file does not exist.
        * Target.cs: Use StringComparer.InvariantCultureIgnoreCase.
        * ConditionTokenizer.cs: Treat '-' as beginning of a number. We'll
        need to treat item as a token probably

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

17 years ago2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Dec 2006 11:12:02 +0000 (11:12 -0000)]
2006-12-05  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : new 2.0 MoveToAttribute(int) failed to move to the
  final attribute in an element.

* XPathNavigatorReaderTests.cs : added test for MoveToAttribute(int).

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

17 years ago2006-12-05 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 5 Dec 2006 11:09:32 +0000 (11:09 -0000)]
2006-12-05  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemTest.cs: Reformatted.
        * BuildTaskTest.cs, TargetTest.cs, ImportCollectionTest.cs,
        TargetCollectionTest.cs, ImportTest.cs: Enabled more tests.

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

17 years ago2006-12-05 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 5 Dec 2006 11:07:45 +0000 (11:07 -0000)]
2006-12-05  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Conditions.cs: Enabled some more tests.

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