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
Marek Safar [Fri, 3 Mar 2006 20:57:23 +0000 (20:57 -0000)]
2006-03-03 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (ResolveAsTypeTerminal): Removed.
* ecore.cs (Expression.ResolveAsTypeTerminal): Make virtual to allow
specialization for predefined types; 30% speed up.
Finally placed obsolete check to right place.
(Expression.ResolveType): Removed.
* enum.cs, expression.cs, parameter.cs, statement.cs, typemanager.cs:
Updated after ResolveType was removed.
* expression.cs (Cast.ctor): Check void cast.
(Binary.ResolveAsTypeTerminal): Is never type.
(Conditional.ResolveAsTypeTerminal): Is never type.
* rootcontext.cs (ResolveCore): Set base type to simplify some code later.
svn path=/trunk/mcs/; revision=57555
Peter Dennis Bartok [Fri, 3 Mar 2006 19:50:27 +0000 (19:50 -0000)]
2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (ControlCollection.SetChildIndex): Avoid using a call
that causes the control to be created. Fixes #77476.
svn path=/trunk/mcs/; revision=57554
Zoltan Varga [Fri, 3 Mar 2006 18:24:29 +0000 (18:24 -0000)]
2006-03-03 Zoltan Varga <vargaz@gmail.com>
* assembly.c: Fix build.
svn path=/trunk/mono/; revision=57553
Ankit Jain [Fri, 3 Mar 2006 18:23:45 +0000 (18:23 -0000)]
Initial implementation of a Lightweight Transaction Manager.
In class/System.Transactions/Test:
* AsyncTest.cs:
* TransactionScopeTest.cs:
* EnlistTest.cs: Initial set of test cases.
In class/System.Transactions:
* System.Transactions_test.dll.sources: New.
* Test: New directory.
In class/System.Transactions/System.Transactions:
* Initial implementation.
Implements support for a LTM (Lightweight Transaction Manager).
Distributed transactions are not supported with this.
Following are known as not implemented yet:
DependentTransaction, IsolationLevels and
EnlistmentOption.EnlistDuringPrepareRequired.
svn path=/trunk/mcs/; revision=57552
Zoltan Varga [Fri, 3 Mar 2006 18:22:27 +0000 (18:22 -0000)]
2006-03-03 Zoltan Varga <vargaz@gmail.com>
* configure.in mono/os: Merge the contents of libmonoos to metadata/assembly.c and
get rid of os/unix and os/win32.
svn path=/trunk/mono/; revision=57551
Dick Porter [Fri, 3 Mar 2006 17:17:30 +0000 (17:17 -0000)]
2006-03-03 Dick Porter <dick@ximian.com>
* UdpClient.cs: Fix IPv6 family check. Fixes bug 77689.
svn path=/trunk/mcs/; revision=57548
Dick Porter [Fri, 3 Mar 2006 16:04:55 +0000 (16:04 -0000)]
2006-03-03 Dick Porter <dick@ximian.com>
* processes.c (ShellExecuteEx): Cope when some of the parameters
are NULL.
2006-03-03 Dick Porter <dick@ximian.com>
* process.c
(ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal):
Check parameters before dereferencing them. Fixes Aaron's part of
bug 77393.
svn path=/trunk/mono/; revision=57543
Dick Porter [Fri, 3 Mar 2006 15:21:38 +0000 (15:21 -0000)]
2006-03-03 Dick Porter <dick@ximian.com>
* Process.cs: Close redirected pipes on errors. Fixes bug 77514.
svn path=/trunk/mcs/; revision=57540
Raja R Harinath [Fri, 3 Mar 2006 14:56:31 +0000 (14:56 -0000)]
Fix performance regression.
* loader.c (find_method_in_class): Add 'from_class' argument.
Rename 'klass' argument to 'in_class'. The signature is compared
against the method in 'in_class', and the corresponding method is
returned from 'from_class'.
(find_method): Walk both 'in_class' and 'from_class' in parallel.
(method_from_memberref) [PARENT_TYPESPEC]: Use it to walk the
type definition and generic instantiation in parallel.
(mono_get_method_constrained): Update to changes.
svn path=/trunk/mono/; revision=57537
Atsushi Eno [Fri, 3 Mar 2006 08:17:42 +0000 (08:17 -0000)]
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* NvdlXsdSupport.cs : oops, XmlSchemaValidationFlags.
svn path=/trunk/mcs/; revision=57533
Peter Dennis Bartok [Fri, 3 Mar 2006 05:47:10 +0000 (05:47 -0000)]
2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
* DateTimeFormatInfo.cs: Switched (where possible) our internal
field names to match MS names. Added fields that MS has and we
don't. Fixes serialization issues with MS.
* CultureInfo.cs, Calendar.cs, TextInfo.cs,
GregorianCalenda.cs: Hiding internal attributes from serialization
svn path=/trunk/mcs/; revision=57532
Atsushi Eno [Fri, 3 Mar 2006 04:15:31 +0000 (04:15 -0000)]
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* NvdlXsdSupport.cs : in NET_2_0 mode, use XmlReader.Create()
with validation support. Now MS.NET users can validate NVDL
that uses XSD.
svn path=/trunk/mcs/; revision=57531
Atsushi Eno [Fri, 3 Mar 2006 02:35:48 +0000 (02:35 -0000)]
2006-03-03 Atsushi Enomoto <atsushi@ximian.com>
* NvdlSimplified.cs : (SimpleRules) huh, I made silly change to
access null field.
svn path=/trunk/mcs/; revision=57529