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
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 6 Dec 2006 22:14:40 +0000 (22:14 -0000)]
New tests.
svn path=/trunk/mcs/; revision=69137
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
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
Marek Safar [Wed, 6 Dec 2006 21:19:07 +0000 (21:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=69132
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
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
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
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
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
Robert Jordan [Wed, 6 Dec 2006 16:45:15 +0000 (16:45 -0000)]
update BTS info.
svn path=/trunk/mcs/; revision=69114
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Noam Lampert [Wed, 6 Dec 2006 12:34:26 +0000 (12:34 -0000)]
Remove unnecessary NotWorking directives
svn path=/trunk/mcs/; revision=69095
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
Yoni Klain [Wed, 6 Dec 2006 11:28:05 +0000 (11:28 -0000)]
New version of resources added
svn path=/trunk/mcs/; revision=69093
Yoni Klain [Wed, 6 Dec 2006 10:34:30 +0000 (10:34 -0000)]
svn path=/trunk/mcs/; revision=69092
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
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
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
Jackson Harper [Tue, 5 Dec 2006 23:27:49 +0000 (23:27 -0000)]
These tests work now.
svn path=/trunk/mcs/; revision=69082
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jonathan Chambers [Tue, 5 Dec 2006 16:33:41 +0000 (16:33 -0000)]
Remove conflict line.
svn path=/trunk/mcs/; revision=69053
Jonathan Chambers [Tue, 5 Dec 2006 16:31:37 +0000 (16:31 -0000)]
Added DrawTreeNodeEventArgs.cs.
svn path=/trunk/mcs/; revision=69052
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
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
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
Raja R Harinath [Tue, 5 Dec 2006 16:02:50 +0000 (16:02 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=69047
Vladimir Krasnov [Tue, 5 Dec 2006 15:56:20 +0000 (15:56 -0000)]
* TemplateControl.jvm.cs: fixed TemplateSourceDirectory
svn path=/trunk/mcs/; revision=69046
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
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
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
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
Raja R Harinath [Tue, 5 Dec 2006 14:45:48 +0000 (14:45 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=69040
Raja R Harinath [Tue, 5 Dec 2006 14:37:31 +0000 (14:37 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=69039
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Sieradzki [Tue, 5 Dec 2006 11:05:33 +0000 (11:05 -0000)]
2006-12-05 Marek Sieradzki <marek.sieradzki@gmail.com>
* VCBuild.cs: Changed formatting and changed EnvironmentOverride to
override from virtual. (corcompare didn't notice the difference)
* ToolTaskExtension.cs, TaskExtension.cs: Moved ctors to the beginning
of the file.
* GenerateDeploymentManifest.cs: Added "using";
* ManagedCompiler.cs: Set OutputAssembly when it's empty and Sources
is set.
svn path=/trunk/mcs/; revision=69023
Marek Sieradzki [Tue, 5 Dec 2006 10:57:47 +0000 (10:57 -0000)]
2006-12-05 Marek Sieradzki <marek.sieradzki@gmail.com>
* ManagedCompiler (TestSources ()): Enabled.
svn path=/trunk/mcs/; revision=69022
Atsushi Eno [Tue, 5 Dec 2006 10:07:29 +0000 (10:07 -0000)]
2006-12-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs : GetPrefixOfNamespace() was not correctly searching
ancestors' namespaces.
* XPathEditableDocument.cs : those writers should lookup prefix when
WriteStartElement/WriteStartAttribute are passed null prefix.
Removed nodeStack in XmlDocumentInsertionWriter, since nodes are
always added to current node immediately.
* XmlNodeTests.cs : added another test for GetPrefixOfNamespace().
* XPathNavigatorTests.cs : added test for XPath navigator editor's
LookupPrefix().
svn path=/trunk/mcs/; revision=69021
Nagappan Alagappan [Tue, 5 Dec 2006 10:03:31 +0000 (10:03 -0000)]
2006-11-28 Hubert FONGARNAND, Frédéric Mestayer <informatique.internet@fiducial.fr>
* DataColumnCollection.cs : Improved Column searching when not
using exact column name (case sensitivity). Fixes bug # 80075.
svn path=/trunk/mcs/; revision=69020
Nagappan Alagappan [Tue, 5 Dec 2006 10:03:01 +0000 (10:03 -0000)]
2006-12-05 Nagappan A <anagappan@novell.com>
* SqlCommand.cs (Execute): If sql2 length is greater than 0, then
add ';' and the respective sql2 string and then execute the
string. Fixes bug # 79880.
svn path=/trunk/mcs/; revision=69019
Nagappan Alagappan [Tue, 5 Dec 2006 10:02:19 +0000 (10:02 -0000)]
2006-12-05 Nagappan A <anagappan@novell.com>
* sqlserver.config: Added SSPIConnString key, value pair to test
SSPI based connection with SqlClient.
svn path=/trunk/mcs/; revision=69018
Nagappan Alagappan [Tue, 5 Dec 2006 10:01:40 +0000 (10:01 -0000)]
2006-12-05 Nagappan A <anagappan@novell.com>
* SqlDataAdapterTest.cs (CreateViewSSPITest): To test create view
of SqlClient.
svn path=/trunk/mcs/; revision=69017
Nagappan Alagappan [Tue, 5 Dec 2006 10:01:06 +0000 (10:01 -0000)]
2006-12-05 Nagappan A <anagappan@novell.com>
* DataColumnCollectionTest.cs (CaseSensitiveIndexOfTest): To test
case sensitive column name with IndexOf member function.
svn path=/trunk/mcs/; revision=69016
Chris Toshok [Tue, 5 Dec 2006 07:47:31 +0000 (07:47 -0000)]
2006-12-05 Chris Toshok <toshok@ximian.com>
* ToolStripManager.cs, ToolStripButton.cs,
ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
ToolStripSplitButton.cs, ToolStripSeparator.cs,
ToolStripRenderer.cs, ToolStripDropDownItem.cs,
ToolStripProgressBar.cs, ToolStripContainer.cs,
ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
to using System.ComponentModel.EventHandlerList.
svn path=/trunk/mcs/; revision=69015
Carlos Alberto Cortez [Tue, 5 Dec 2006 05:57:20 +0000 (05:57 -0000)]
2006-12-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* PrintingServicesUnix.cs: Add "landscape" option
when using PaperSettings.Landscape set to true. Also
swap the width and height for the postscript file.
svn path=/trunk/mcs/; revision=69014
Chris Toshok [Tue, 5 Dec 2006 04:13:49 +0000 (04:13 -0000)]
2006-12-04 Chris Toshok <toshok@ximian.com>
* ArrangedElementCollection.cs: fix up corcompare for this file.
we need to make all the interface methods explicit, not public,
and add internal methods that can be called from the subclasses
(we also call them from the explicit implementations.)
svn path=/trunk/mcs/; revision=69013