Vladimir Krasnov [Thu, 9 Mar 2006 16:53:08 +0000 (16:53 -0000)]
* Added data/net_1_1/DefaultWsdlHelpGenerator.jvm.aspx with removed proxy class generation for Grasshopper
svn path=/trunk/mono/; revision=57730
Mike Kestner [Thu, 9 Mar 2006 15:01:24 +0000 (15:01 -0000)]
2006-03-09 Mike Kestner <mkestner@novell.com>
* ListView.cs:
- Added column drag reordering for details view.
- fixed behavior when mouse is dragged off column and
AllowColumnReorder is false.
* ColumnHeader.cs: clone the format too in Clone.
* Theme.cs: add DrawListViewHeaderDragDetails method.
* ThemeWin32Classic.cs:
- impl new method for drawing drag column shadows and targets.
- support column offset for details mode in DrawListViewItem.
svn path=/trunk/mcs/; revision=57729
Dick Porter [Thu, 9 Mar 2006 14:27:01 +0000 (14:27 -0000)]
2006-03-09 Dick Porter <dick@ximian.com>
* file-io.c (get_file_attributes): Use S_ISLNK not "& S_IFLNK".
Fixes bug 76966 again.
svn path=/trunk/mono/; revision=57727
Senganal T [Thu, 9 Mar 2006 13:00:43 +0000 (13:00 -0000)]
2006-03-09 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataRowCollectionTest2.cs :
* Test/System.Data/DataTableTest2.cs :
- Fixed NotWorking tests.
* System.Data.Common/Index.cs :
- Update () : Add the new record in the correct position
* System.Data/DataRow.cs :
- RejectChanges () : Add the row to index, if it was in deleted state and
Update the index if in Modified State.
- AcceptChanges () : Do not update the Indexes.
- EndEdit () : Update the indexes even if BeginLoadData has been called
on the table. Ideally, indexes should not be maintained during DataLoad,
but this needs to handled in multiple places correctly. For now, just maintain
the index to ensure correct operation.
svn path=/trunk/mcs/; revision=57725
Martin Baulig [Thu, 9 Mar 2006 12:06:22 +0000 (12:06 -0000)]
2006-03-09 Martin Baulig <martin@ximian.com>
* generic.cs (ConstraintChecker.HasDefaultConstructor): Call
TypeManager.DropGenericTypeArguments() on the `atype'; fixes #77548.
svn path=/trunk/mcs/; revision=57724
Peter Dennis Bartok [Thu, 9 Mar 2006 11:51:58 +0000 (11:51 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Reset the char_count when the document is cleared
(Fixes bug reported on mono-winforms mailing list)
svn path=/trunk/mcs/; revision=57723
Martin Baulig [Thu, 9 Mar 2006 11:06:31 +0000 (11:06 -0000)]
Add back Mono.C5 (it was temporarily disabled by me in r56939).
svn path=/trunk/mcs/; revision=57719
Peter Dennis Bartok [Thu, 9 Mar 2006 11:00:21 +0000 (11:00 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
of calling base we simply process the key ourselves, since both
DefWindowProc and the handled method would set m.Result.
(Fixes #77732)
svn path=/trunk/mcs/; revision=57717
Peter Dennis Bartok [Thu, 9 Mar 2006 10:04:23 +0000 (10:04 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs(ScaleCore): No longer calling base.ScaleCore since that
method also moves the window; instead implemented a copy of
Control.ScaleCore (Part of fix for #77456)
* TextBoxBase.cs:
- Created new CreateGraphicsInternal method to allow providing
a graphics context when no handle is created without triggering
handle creation. (Part of fix for #77456)
- Replaced use of Control.CreateGraphics with CreateGraphicsInternal
* TextControl.cs:
- Switched Constructor to require TextBoxBase instead of Control (to
allow uncast access to CreateGraphicsInternal)
- Safeguarded use of owner.Handle property. No longer accessing it
unless the handle is already created.
- Replaced use of Control.CreateGraphics with CreateGraphicsInternal
- Now triggering a recalc when owning control becomes visible
* TextBox.cs, RichTextBox.cs: Switched to use new internal
TextBoxBase.CreateGraphicsInternal() method to avoid triggering
premature handle creation (Part of fix for #77456)
* Control.cs:
- We now only destroy our double-buffering buffers when the
control is resized or disposed, but not when visibility
changes. (The code even re-created them twice every time)
- Now requiring a redraw of the buffer on visibility changes
(fixes bug 77654 part 2)
- Not passing OnParentVisibleChanged up unless the control
is visible
- CanFocus: Fixed to match MS documentation
- Focus: Fixed to return actual focus state and to check if
setting focus is legal before setting it
svn path=/trunk/mcs/; revision=57716
Martin Baulig [Thu, 9 Mar 2006 09:54:16 +0000 (09:54 -0000)]
2006-03-09 Martin Baulig <martin@ximian.com>
* ecore.cs (FieldExpr.AddressOf): Don't emit the instance if the
`prepared' flag is set.
* generic.cs (LiftedBinaryOperator): Don't allow `||' or `&&' anymore.
(LiftedBinaryOperator, LiftedUnaryMutator): Fix a few nullable
issues; see gtest-254.cs.
svn path=/trunk/mcs/; revision=57715
Carlos Alberto Cortez [Thu, 9 Mar 2006 08:42:07 +0000 (08:42 -0000)]
2006-03-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* serial.c: Fix a pair of wrong or incomplete assignations
in set_attributes.
svn path=/trunk/mono/; revision=57714
Peter Dennis Bartok [Thu, 9 Mar 2006 00:58:31 +0000 (00:58 -0000)]
2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- We now only destroy our double-buffering buffers when the
control is resized or disposed, but not when visibility
changes. (The code even re-created them twice every time)
- Now requiring a redraw of the buffer on visibility changes
(fixes bug 77654 part 2)
- Not passing OnParentVisibleChanged up unless the control
is visible
- CanFocus: Fixed to match MS documentation
- Focus: Fixed to return actual focus state and to check if
setting focus is legal before setting it
* ThemeWin32Classic.cs: TabPages cannot have focus. Determine
when to draw focus rectangle by looking at parent focus and
selected state instead. This fixes TabPages on Linux sometimes
having none or multiple focus rectangles.
* XplatUIX11.cs (SetFocus):
- Don't set the focus if the same window already has focus
- Use SendMessage instead of PostMessage (like it's Win32
equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
to match MS behaviour
* TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
are not selectable.
svn path=/trunk/mcs/; revision=57713
Carlos Alberto Cortez [Wed, 8 Mar 2006 23:48:47 +0000 (23:48 -0000)]
2006-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs:
* SerialPortStream.cs: Small advance/cleanups.
svn path=/trunk/mcs/; revision=57711
Chris Toshok [Wed, 8 Mar 2006 18:23:00 +0000 (18:23 -0000)]
2006-03-08 Chris Toshok <toshok@ximian.com>
* data/net_2_0/web.config: add a default siteMap section with the
AspNetXmlSiteMapProvider provider.
* data/net_2_0/machine.config: add system.web/siteMap section
info.
svn path=/trunk/mono/; revision=57705
Chris Toshok [Wed, 8 Mar 2006 18:21:02 +0000 (18:21 -0000)]
In System.Web.Configuration_2.0:
2006-03-08 Chris Toshok <toshok@ximian.com>
* ProvidersHelper.cs: implement this static class properly.
* SiteMapSection.cs (ProvidersInternal): add internal property to
get the actual SiteMapProviderCollection from here.
In System.Web:
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMap.cs: clean this up a bunch. use the SiteMapSection to
initialize the provider collection, and don't add a provider.
web.config handles that for us. Also, don't always return true
from get_Enabled.
svn path=/trunk/mcs/; revision=57704
Chris Toshok [Wed, 8 Mar 2006 17:29:22 +0000 (17:29 -0000)]
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMapSectionTest.cs: test defaults.
svn path=/trunk/mcs/; revision=57703
Gonzalo Paniagua Javier [Wed, 8 Mar 2006 17:19:45 +0000 (17:19 -0000)]
2006-03-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* wait.c: speed up WaitFor* when the timeout is 0.
svn path=/trunk/mono/; revision=57702
Miguel de Icaza [Wed, 8 Mar 2006 17:09:45 +0000 (17:09 -0000)]
Update
svn path=/trunk/mono/; revision=57699
Gonzalo Paniagua Javier [Wed, 8 Mar 2006 16:45:59 +0000 (16:45 -0000)]
this is not an exe
svn path=/trunk/mcs/; revision=57695
Chris Toshok [Wed, 8 Mar 2006 16:34:59 +0000 (16:34 -0000)]
add some theme tests
svn path=/trunk/mcs/; revision=57694
Chris Toshok [Wed, 8 Mar 2006 16:12:10 +0000 (16:12 -0000)]
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMapNodeType.cs: nuke.
* BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
ValidationCompareOperator.cs, ValidationDataType.cs,
ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
[Serializable] in 2.0.
* DayNameFormat.cs: add "Shortest".
svn path=/trunk/mcs/; revision=57693
Atsushi Eno [Wed, 8 Mar 2006 12:33:01 +0000 (12:33 -0000)]
2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs: ReadContentAsXXX() just stops at start element,
without rejecting it as an error.
ReadElementContentAsXXX() rejects child element nodes.
* XmlReaderCommonTests.cs : Added tests for ReadContentAsString() and
ReadElementContentAsString().
svn path=/trunk/mcs/; revision=57691
Senganal T [Wed, 8 Mar 2006 11:01:37 +0000 (11:01 -0000)]
2006-03-08 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs :
- ProcessColumnInfo () : Set IsAutoIncrement Value for the column.
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs :
- Added testcase to verify UpdateCommand created with AutoIncrement
columns.
* System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest : Added a test to verify if AutoIncrement
value is set in the SchemaTable.
svn path=/trunk/mcs/; revision=57689
Lluis Sanchez [Wed, 8 Mar 2006 09:43:44 +0000 (09:43 -0000)]
2006-03-07 Lluis Sanchez Gual <lluis@novell.com>
* XmlReflectionImporter.cs: Ignore the element namespace if
the schema form is set to Unqualified. Fixes bug #75019.
svn path=/trunk/mcs/; revision=57688
Vladimir Krasnov [Wed, 8 Mar 2006 09:42:38 +0000 (09:42 -0000)]
* LinkButton.cs: fixed AddAttributesToRender, removed not needed language attribute
svn path=/trunk/mcs/; revision=57687
Vladimir Krasnov [Wed, 8 Mar 2006 09:27:04 +0000 (09:27 -0000)]
* TextBox.cs: fixed missing value validations,
fixed rendering of empty value attribute
svn path=/trunk/mcs/; revision=57686
Carlos Alberto Cortez [Wed, 8 Mar 2006 07:15:05 +0000 (07:15 -0000)]
2006-03-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SslStream.cs, NegotiateStream.cs: Override CanTimeout,
ReadTimeout and WriteTimeout properties, to avoid warnings.
svn path=/trunk/mcs/; revision=57685
Carlos Alberto Cortez [Wed, 8 Mar 2006 07:03:33 +0000 (07:03 -0000)]
2006-03-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Stream.cs: Add 2.0 members to Stream.cs (CanTimeout,
ReadTimeout and WriteTimeout).
svn path=/trunk/mcs/; revision=57684
Jonathan Gilbert [Wed, 8 Mar 2006 05:08:54 +0000 (05:08 -0000)]
* gdipFunctions.cs: Rewrote the StreamSeekImpl function to
invalidate the start_buf cached bytes whenever Seek() is
actually called. If Seek is not called (an invalid 'whence'
value), then the buffer is not invalidated. This fixes a bug
with TIFF loading.
svn path=/trunk/mcs/; revision=57683
Jackson Harper [Wed, 8 Mar 2006 00:57:36 +0000 (00:57 -0000)]
* PictureBox.cs: Revert line I accidently committed last week.
svn path=/trunk/mcs/; revision=57680
Peter Dennis Bartok [Tue, 7 Mar 2006 23:29:59 +0000 (23:29 -0000)]
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* Environment.cs: Bumped corlib version to 48 (due to r57532)
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* DateTimeFormatInfo.cs: Restored original field order to allow
some automatic locale fu to happen (mono unmanaged code relies
on the field order to fill out DateTimeFormatInfo)
svn path=/trunk/mcs/; revision=57679
Peter Dennis Bartok [Tue, 7 Mar 2006 23:29:14 +0000 (23:29 -0000)]
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* verify.c (dtfinfo_fields): Updated to match new (serializable) field
names from r57532
* appdomain.c: Bumped corlib version to 48 (due to r57532)
svn path=/trunk/mono/; revision=57678
Chris Toshok [Tue, 7 Mar 2006 22:39:43 +0000 (22:39 -0000)]
In System.Web.UI:
2006-03-07 Chris Toshok <toshok@ximian.com>
* Page.cs (InitializeStyleSheet): load the style sheet theme using
ThemeDirectoryCompiler.
(InitializeTheme): load the page's theme using
ThemeDirectoryCompiler.
(InternalProcessRequest): call InitializeTheme after OnPreInit.
(FrameworkInitialize): call InitializeStyleSheet.
(PageTheme,StyleSheetPageTheme): new properties to get the
respective themes.
* Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
on the ControlSkin (if there is one) for this control in the
page's StyleSheetSkin.
(ApplyThemeRecursively): applies the page's theme recursively to
the control hierarchy. Must be done this way because the control
tree is already present when we apply the theme (it has to be,
since theme's override settings).
* PageTheme.cs (GetControlSkin): add internal call to do the
lookup for us.
* PageThemeFileParser.cs: the parser object that represents each
individual skin file.
* PageThemeParser.cs: the parser object that represents the entire
theme directory.
* PageThemeBuilder.cs: this class generates the right exception on
the right event, but it's not hooked up yet.
In System.Web.UI.WebControls:
2006-03-07 Chris Toshok <toshok@ximian.com>
* WebControl.cs (EnableTheming): leave the MonoTODO, but implement
by chaining up to base.EnableTheming.
svn path=/trunk/mcs/; revision=57676
Chris Toshok [Tue, 7 Mar 2006 22:27:51 +0000 (22:27 -0000)]
2006-03-07 Chris Toshok <toshok@ximian.com>
* AspGenerator.cs: refactor the parsing code so that we can
initiate parsing from outside this class.
* PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
method, add our StyleSheetTheme assignment here.
(AppendStatementsToFrameworkInitialize): rename AddStatements* to
this.
* TemplateControlCompiler.cs (EnsureID): make protected.
(CreateAssignStatementsFromAttributes): same
(AddChildCall): same.
(CreateControlTree): same.
(CreateFrameworkInitializeMethod): change
"AddStatementsToFrameworkInitialize" to
"AppendStatementsToFrameworkInitialize", and add call to
"PrependStatementsToFrameworkInitialize" before the generation of
"base.FrameworkInitialize()."
* PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
svn path=/trunk/mcs/; revision=57674
Chris Toshok [Tue, 7 Mar 2006 22:00:21 +0000 (22:00 -0000)]
2006-03-07 Chris Toshok <toshok@ximian.com>
* ThemeDirectoryCompiler.cs: new file.
* PageThemeCompiler.cs: new file.
svn path=/trunk/mcs/; revision=57671
Chris Toshok [Tue, 7 Mar 2006 21:58:01 +0000 (21:58 -0000)]
2006-03-07 Chris Toshok <toshok@ximian.com>
* BaseCompiler.cs: fix typo in "initialize" in multiple places.
(Init): move the CreateMethods call here.
svn path=/trunk/mcs/; revision=57669
Kamil Skalski [Tue, 7 Mar 2006 21:56:49 +0000 (21:56 -0000)]
Handle null values in result as having string type
svn path=/trunk/mcs/; revision=57667
Peter Dennis Bartok [Tue, 7 Mar 2006 21:55:53 +0000 (21:55 -0000)]
- Disabled debug
svn path=/trunk/mcs/; revision=57666
Peter Dennis Bartok [Tue, 7 Mar 2006 21:21:26 +0000 (21:21 -0000)]
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Added new IsRecreating and ParentIsRecreating properties to
allow testing if RecreateHandle has been called on ourselves
or one of our parents
- WndProc(WM_DESTROY): If our control handle is being recreated
we immediately need to create the handle when receiving the
destroy, that way our child windows find a valid parent handle
when they themselves are being recreated upon WM_DESTROY receipt
(fix for bug #77654 part 1)
* XplatUIX11.cs:
- DestroyWindow: WM_DESTROY must be sent to our own window before
notifying any child windows. MS documents that child windows
are still valid when WM_DESTROY is received. (Control now relies on
this behaviour)
- Added some fine-grain debug options
svn path=/trunk/mcs/; revision=57665
Gonzalo Paniagua Javier [Tue, 7 Mar 2006 20:09:20 +0000 (20:09 -0000)]
2006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SslStreamBase.cs: avoid creating the ManualResetEvent whenever
possible. Don't lock on an instance of an object that the user can get.
svn path=/trunk/mcs/; revision=57663
Lluis Sanchez [Tue, 7 Mar 2006 19:25:14 +0000 (19:25 -0000)]
2006-03-07 Lluis Sanchez Gual <lluis@novell.com>
* System.Xml.Serialization/XmlSerializerTestClasses.cs:
* System.Xml.Serialization/XmlSerializerTests.cs: Added tests
for XmlSchemaForm.
svn path=/trunk/mcs/; revision=57662
Martin Baulig [Tue, 7 Mar 2006 16:45:20 +0000 (16:45 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* Test/hashing/HashDictionaryTests.cs: Temporarily disable some
more failing tests.
* Test/hashing/HashTableTests.cs: Likewise.
* Test/hashing/HashBagTests.cs: Likewise.
svn path=/trunk/mcs/; revision=57659
Martin Baulig [Tue, 7 Mar 2006 15:31:11 +0000 (15:31 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
from the `provider' if possible.
svn path=/trunk/mcs/; revision=57658
Senganal T [Tue, 7 Mar 2006 10:22:01 +0000 (10:22 -0000)]
2006-03-07 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataRowCollectionTest2.cs :
* Test/System.Data/DataTableTest2.cs :
- Added failing testcases as NotWorking tests.
* System.Data.Common/Key.cs :
Reverted the changes from the prev patch.
svn path=/trunk/mcs/; revision=57653
Vladimir Krasnov [Tue, 7 Mar 2006 10:04:35 +0000 (10:04 -0000)]
* run-test.bat: fixed enviroment variables
svn path=/trunk/mcs/; revision=57652
Vladimir Krasnov [Tue, 7 Mar 2006 10:03:23 +0000 (10:03 -0000)]
* Added run-tests.bat to run tests on Grasshopper
svn path=/trunk/mcs/; revision=57651
Vladimir Krasnov [Tue, 7 Mar 2006 08:30:02 +0000 (08:30 -0000)]
* DataList.cs: fixed CreateControlHierarchy, fixes 77693
svn path=/trunk/mcs/; revision=57650
Martin Baulig [Tue, 7 Mar 2006 05:46:12 +0000 (05:46 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* Test/Records.cs: Temporarily disable these tests.
svn path=/trunk/mcs/; revision=57649
Martin Baulig [Tue, 7 Mar 2006 05:39:52 +0000 (05:39 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* object.c
(mono_field_get_value_object): Add support for MONO_TYPE_GENERICINST.
svn path=/trunk/mono/; revision=57648
Martin Baulig [Tue, 7 Mar 2006 05:32:32 +0000 (05:32 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* class.c
(mono_class_get_full): Don't inflate TYPEDEF entries; fixes the
regression introduced in r56970; see gtest-252.cs.
* loader.c (mono_get_method_constrained): Correctly handle generic
methods; see gtest-253.cs.
svn path=/trunk/mono/; revision=57647
Martin Baulig [Tue, 7 Mar 2006 05:29:15 +0000 (05:29 -0000)]
New tests.
svn path=/trunk/mcs/; revision=57646
Martin Baulig [Tue, 7 Mar 2006 04:00:34 +0000 (04:00 -0000)]
Update the test sources.
svn path=/trunk/mcs/; revision=57644
Alp Toker [Tue, 7 Mar 2006 02:21:38 +0000 (02:21 -0000)]
Fix build by updating MdiChildContext.cs as intended by previous commit.
svn path=/trunk/mcs/; revision=57643
Jackson Harper [Tue, 7 Mar 2006 01:05:46 +0000 (01:05 -0000)]
MdiWindowManager.cs: Don't need to ensure scrollbars here
anymore.
svn path=/trunk/mcs/; revision=57642
Martin Baulig [Tue, 7 Mar 2006 00:39:56 +0000 (00:39 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* generic.cs (TypeManager.InferType): Allow infering
`IEnumerable<T>' with an array of T; see gtest-251.cs.
svn path=/trunk/mcs/; revision=57639
Lluis Sanchez [Mon, 6 Mar 2006 21:19:33 +0000 (21:19 -0000)]
2006-03-06 Lluis Sanchez Gual <lluis@novell.com>
* mono.1: Updated MONO_XMLSERIALIZER_THS option information.
svn path=/trunk/mono/; revision=57638
Miguel de Icaza [Mon, 6 Mar 2006 19:32:24 +0000 (19:32 -0000)]
Change the prefix/suffix for the OCI/Oracle library
svn path=/trunk/mono/; revision=57631
Jackson Harper [Mon, 6 Mar 2006 19:14:41 +0000 (19:14 -0000)]
* MdiClient.cs: Redid scrolling logic a bit to create a virtual
box and base calculations off this.
svn path=/trunk/mcs/; revision=57628
Peter Dennis Bartok [Mon, 6 Mar 2006 19:03:16 +0000 (19:03 -0000)]
2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs: In situations where the affected control is added
to the parent's control list after the splitter, we would not
populate affected. Now we try populating it on mousedown, if
it's not already set, and force it to be re-set whenever our
parent changes.
svn path=/trunk/mcs/; revision=57627
Peter Dennis Bartok [Mon, 6 Mar 2006 18:48:34 +0000 (18:48 -0000)]
2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs: In situations where the affected control is added
to the parent's control list after the splitter, we would not
populate affected. Now we try populating it on mousedown, if
it's not already set. (Maybe we should always do it, at the cost
of performance?)
svn path=/trunk/mcs/; revision=57626
Gonzalo Paniagua Javier [Mon, 6 Mar 2006 18:46:00 +0000 (18:46 -0000)]
2006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RecordProtocol.cs: avoid creating the ManualResetEvent whenever
possible. Don't lock on an instance of an object that the user can get.
svn path=/trunk/mcs/; revision=57625
Zoltan Varga [Mon, 6 Mar 2006 18:19:48 +0000 (18:19 -0000)]
2006-03-06 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c: Call mono_trace_is_enabled () before printing
trace messages. Fixes #77706.
svn path=/trunk/mono/; revision=57622
Boris Kirzner [Mon, 6 Mar 2006 16:49:59 +0000 (16:49 -0000)]
Added support for automated testing for TARGET_JVM
svn path=/trunk/mcs/; revision=57619
Konstantin Triger [Mon, 6 Mar 2006 15:33:28 +0000 (15:33 -0000)]
check for null reference
svn path=/trunk/mcs/; revision=57616
Konstantin Triger [Mon, 6 Mar 2006 15:31:09 +0000 (15:31 -0000)]
compare up to the provider name length
svn path=/trunk/mcs/; revision=57615
Vladimir Krasnov [Mon, 6 Mar 2006 15:20:21 +0000 (15:20 -0000)]
* CalendarTest.cs: refactoring, inline delegates replaced with regular ones.
* LinkButtonTest.cs: same
svn path=/trunk/mcs/; revision=57613
Martin Baulig [Mon, 6 Mar 2006 13:58:40 +0000 (13:58 -0000)]
Don't define HASHINDEX, but make it compile anyways.
svn path=/trunk/mcs/; revision=57611
Martin Baulig [Mon, 6 Mar 2006 13:53:26 +0000 (13:53 -0000)]
Removing the old C5.
svn path=/trunk/mcs/; revision=57610
Martin Baulig [Mon, 6 Mar 2006 13:52:51 +0000 (13:52 -0000)]
2006-03-06 Martin Baulig <martin@ximian.com>
* C5/AssemblyInfo.cs: Add `[assembly: AssemblyDelaySign (true)]'
and `[assembly: AssemblyKeyFile ("c5.pub")]'.
svn path=/trunk/mcs/; revision=57609
Martin Baulig [Mon, 6 Mar 2006 13:48:54 +0000 (13:48 -0000)]
2006-03-06 Martin Baulig <martin@ximian.com>
* generic.cs
(TypeManager.InferType): Fix gtest-250.cs.
* typemanager.cs
(TypeManager.IsSubclassOf): Also check the base class.
* expression.cs
(Invocation.IsAncestralType): Use TypeManager.IsSubclassOf();
fixes gtest-249.cs.
svn path=/trunk/mcs/; revision=57608
Jonathan Pryor [Mon, 6 Mar 2006 12:32:26 +0000 (12:32 -0000)]
* UnixDriveInfo.cs: Remove requirement that mountPoints be avaible via
getfsfile(3). This isn't always the case -- in particular drives mounted
via HAL and other mechanisms won't be listed in /etc/fstab, and thus won't
be returned via getfsfile(3). If getfsfile(3) fails, then we "guess" on
the drive format and volume label.
* UnixStream.cs: RefreshStat() should assert that the instance hasn't been
disposed.
* UnixEnvironment.cs (GetConfigurationValue, GetConfigurationString): Fix
error checking.
svn path=/trunk/mcs/; revision=57606
Vladimir Krasnov [Mon, 6 Mar 2006 08:51:26 +0000 (08:51 -0000)]
* RadioButton.cs: added ValueAttribute property to store the button value when in list
* RadioButtonList.cs: fixed tab index when rendering.
svn path=/trunk/mcs/; revision=57605
Konstantin Triger [Sun, 5 Mar 2006 16:57:03 +0000 (16:57 -0000)]
correct handling of Oracle specific types
svn path=/trunk/mcs/; revision=57599
Konstantin Triger [Sun, 5 Mar 2006 16:55:46 +0000 (16:55 -0000)]
refactoring
svn path=/trunk/mcs/; revision=57598
Konstantin Triger [Sun, 5 Mar 2006 16:51:45 +0000 (16:51 -0000)]
initial implementation for JDBC objects wrappers; ifferentiate between setting varying and fixed length strings
svn path=/trunk/mcs/; revision=57597
Konstantin Triger [Sun, 5 Mar 2006 16:49:05 +0000 (16:49 -0000)]
enable provider specific caches
svn path=/trunk/mcs/; revision=57596
Konstantin Triger [Sun, 5 Mar 2006 16:42:04 +0000 (16:42 -0000)]
refactoring
svn path=/trunk/mcs/; revision=57595
Vladimir Krasnov [Sun, 5 Mar 2006 15:57:13 +0000 (15:57 -0000)]
Grasshopper project file for building mono system web tests
svn path=/trunk/mcs/; revision=57594
Vladimir Krasnov [Sun, 5 Mar 2006 15:54:06 +0000 (15:54 -0000)]
* run-test.bat: added running of mono test suite
svn path=/trunk/mcs/; revision=57593
Vladimir Krasnov [Sun, 5 Mar 2006 14:52:33 +0000 (14:52 -0000)]
* PagedDataSourceTest.cs: added TARGET_JVM part to exclude not working tests.
* WebControlTest.cs: same
svn path=/trunk/mcs/; revision=57592
Senganal T [Sun, 5 Mar 2006 09:35:39 +0000 (09:35 -0000)]
2006-03-05 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataSetTest2.cs
* Test/System.Data/ConstraintCollectionTest2.cs
* Test/System.Data/DataViewTest.cs
* Test/System.Data/DataRelationTest.cs
Added testcases for BeginInit and EndInit methods
* System.Data/DataSet.cs :
- BeginInit (), EndInit () : Implemented methods
- InitInProgress : Added.
* System.Data/DataTable.cs
- EndInit () : Move the adding of columns and constraints
to FinishInit.
- FinishInit () : Added. Adds the Constraints and Columns
to the collection.
- InitInProgress : Added.
* System.Data/Constraint.cs
- FinishInit () : Added. Virtual method
- InitInProgress : Added. Virtual property
* System.Data/UniqueConstraint.cs
* System.Data/ForeignKeyConstraint.cs
- FinishInit () : Added.
- InitInProgress : Added.
- DataColsNotValidated : Removed.
* System.Data/ConstraintCollection.cs
- PostAddRange : Removed event
- PostEndEdit () : Renamed to PostAddRange
- Add () : Simplified the testing if constraint is initialized
- AddRange () : Simplified initializing the constraints
* System.Data/DataTableCollection.cs
- PostAddRange () : Added. Adds the tables to the collection
* System.Data/DataColumnColletion.cs
- PostEndInit () : Renamed to PostAddRange.Also, add column to
the collection only if not null.
Added/Implemented methods for design time support. Renamed some methods for consistency
in naming across classes for methods serving the same purpose.
svn path=/trunk/mcs/; revision=57590
Andrew Skiba [Sun, 5 Mar 2006 09:05:09 +0000 (09:05 -0000)]
exceptions propagating incompatible with dotnet. Patch by roeie@mainsoft.com
svn path=/trunk/mcs/; revision=57589
Robert Jordan [Sat, 4 Mar 2006 22:36:24 +0000 (22:36 -0000)]
2006-03-04 Robert Jordan <robertj@gmx.net>
* SessionSQLServerHandler.cs: make SQL statements and parameters
provider independent/configurable.
* SessionSQLServerHandler.cs (SelectSession): properly dispose
the data reader. Fixes bug #77698.
svn path=/trunk/mcs/; revision=57587
Marek Safar [Sat, 4 Mar 2006 20:03:08 +0000 (20:03 -0000)]
2006-03-04 Marek Safar <marek.safar@seznam.cz>
* test-494.cs: New test for #77353.
svn path=/trunk/mcs/; revision=57586
Marek Safar [Sat, 4 Mar 2006 16:48:48 +0000 (16:48 -0000)]
2006-03-04 Marek Safar <marek.safar@seznam.cz>
A fix for #77353.
* class.cs (SetMethod.DefineParameters): Uses new parameters type ctor.
(Event.Define): ditto
(SetIndexerMethod.DefineParameters): Uses Parameters.MergeGenerated.
* delegate.cs (Delegate.Define): Uses Parameters.MergeGenerated.
Removed redundant code and set NewSlot for Invoke method too.
* parameter.cs (Parameters.ctor): Add custom, type ctor.
(Parameters.MergeGenerated): New method. Use this method when you merge
compiler generated argument with user arguments.
svn path=/trunk/mcs/; revision=57580
Zoltan Varga [Sat, 4 Mar 2006 12:55:07 +0000 (12:55 -0000)]
2006-03-04 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_type_Equals): Handle NULLs. Fixes #77700.
svn path=/trunk/mono/; revision=57578
Miguel de Icaza [Sat, 4 Mar 2006 03:42:57 +0000 (03:42 -0000)]
Fix build
svn path=/trunk/mcs/; revision=57575
Martin Baulig [Sat, 4 Mar 2006 02:45:54 +0000 (02:45 -0000)]
2006-03-04 Martin Baulig <martin@ximian.com>
* C5/linkedlists/LinkedList.cs: Define `HASHINDEX'.
svn path=/trunk/mcs/; revision=57574
Martin Baulig [Sat, 4 Mar 2006 02:44:23 +0000 (02:44 -0000)]
2006-03-04 Martin Baulig <martin@ximian.com>
* skeleton.cs: Don't call yyerror if `yyErrorFlag == 0', so we can
recover from errors with an `error' token. See gtest-248.cs for
an example.
svn path=/trunk/mcs/; revision=57573
Martin Baulig [Sat, 4 Mar 2006 02:42:26 +0000 (02:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=57572
Martin Baulig [Sat, 4 Mar 2006 02:37:02 +0000 (02:37 -0000)]
New test.
svn path=/trunk/mcs/; revision=57571
Martin Baulig [Sat, 4 Mar 2006 02:36:46 +0000 (02:36 -0000)]
2006-03-04 Martin Baulig <martin@ximian.com>
* icall.c (ves_icall_MonoGenericClass_GetParentType): Dynamically
compute the parent type at runtime, just like we're already doing
it for interfaces.
* reflection.c
(mono_reflection_bind_generic_parameters): Don't compute the
parent type anymore.
* class-internals.h (MonoDynamicGenericClass): Removed `parent'.
svn path=/trunk/mono/; revision=57570
Martin Baulig [Sat, 4 Mar 2006 02:25:50 +0000 (02:25 -0000)]
2006-03-04 Martin Baulig <martin@ximian.com>
* tramp-amd64.c, tramp-x86.c
(mono_debugger_create_notification_function): Use
mono_global_codeman_reserve() to allocate a buffer at runtime and
return it.
* debug-debugger.h (MonoDebuggerInfo): Added `initialize'.
* debug-debugger.c (mono_debugger_init): Dynamically allocate the
notification function at runtime and then call `initialize' in the
`MONO_DEBUGGER__debugger_info' vtable.
svn path=/trunk/mono/; revision=57567
Jackson Harper [Sat, 4 Mar 2006 00:01:50 +0000 (00:01 -0000)]
Test updates by Matt Hargett
svn path=/trunk/mcs/; revision=57564
Gonzalo Paniagua Javier [Sat, 4 Mar 2006 00:01:39 +0000 (00:01 -0000)]
2006-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationHost.cs: ShadowCopyDirectories is not a URL. Set
PrivateBinPath to the same value.
svn path=/trunk/mcs/; revision=57563
Jackson Harper [Fri, 3 Mar 2006 23:55:04 +0000 (23:55 -0000)]
2006-03-03 Matt Hargett <matt@use.net>
* Control.cs: implement Control.Padding
* Padding.cs: -Padding.All returns -1 when constructing with the
implicit default ctor
-Padding.ToString() matches MS.NET
* ContainerControl.cs: implement
ContainerControl.AutoScaleDimensions
* ListControl.cs: implement ListControl.FormattingEnabled
* TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
* ButtonBase.cs:
* TabPage.cs: Implement UseVisualStyleBackColor.
* PictureBox.cs: Implement PictureBox.InitialImage.
svn path=/trunk/mcs/; revision=57562
Zoltan Varga [Fri, 3 Mar 2006 23:35:16 +0000 (23:35 -0000)]
2006-03-04 Zoltan Varga <vargaz@gmail.com>
* iltests.il: Fix a visibility problem.
svn path=/trunk/mono/; revision=57559
Zoltan Varga [Fri, 3 Mar 2006 21:47:35 +0000 (21:47 -0000)]
2006-03-03 Zoltan Varga <vargaz@gmail.com>
* assembly.c: Fix windows build.
svn path=/trunk/mono/; revision=57558
Marek Safar [Fri, 3 Mar 2006 21:01:58 +0000 (21:01 -0000)]
New test.
svn path=/trunk/mcs/; revision=57557
Mike Kestner [Fri, 3 Mar 2006 20:59:45 +0000 (20:59 -0000)]
2006-03-03 Mike Kestner <mkestner@novell.com>
* ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
event declarations to proxy to base event.
* ListViewItem.cs: update to use ItemControl.
* Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
* ThemeWin32Classic.cs: update to new ListView theme API and fix
column header label rendering for 0 width columns.
svn path=/trunk/mcs/; revision=57556