Marek Habersack [Fri, 4 May 2007 12:51:41 +0000 (12:51 -0000)]
forgotten ifdefs
svn path=/trunk/mcs/; revision=76676
Rolf Bjarne Kvinge [Fri, 4 May 2007 11:29:35 +0000 (11:29 -0000)]
2007-05-04 Randolph Chung <tausq@debian.org>
* FileDialog.cs: Implement the SupportMultiDottedExtensions property.
[Fixes bug #81499]
svn path=/trunk/mcs/; revision=76667
Rolf Bjarne Kvinge [Fri, 4 May 2007 10:59:10 +0000 (10:59 -0000)]
* XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
takes a size parameter, since the CreateParam's size isn't true for
minimized forms. Fixes #81518,
svn path=/trunk/mcs/; revision=76666
Marek Habersack [Fri, 4 May 2007 10:58:11 +0000 (10:58 -0000)]
Another in the series of compatibility fixes discovered thanks to the QuickStarts... :)
2007-05-04 Marek Habersack <mhabersack@novell.com>
* HtmlAnchor.cs: use ResolveClientUrl when generating
attributes. Necessary if the control is in a master page which is
in a different directory than the current page.
2007-05-04 Marek Habersack <mhabersack@novell.com>
* AdRotator.cs: use the new GetPhysicalFilePath method to look up
the physical path of the ad file.
2007-05-04 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: do not query the parent for
TemplateSourceDirectory if we are generating code for a Master
Page.
2007-05-04 Marek Habersack <mhabersack@novell.com>
* Control.cs: added an internal method to resolve a physical path
to a file from its virtual path considering the possibility that a
control is placed in a master page, which in turn is referenced
from a directory another than that of master page itself.
svn path=/trunk/mcs/; revision=76665
Rolf Bjarne Kvinge [Fri, 4 May 2007 10:30:45 +0000 (10:30 -0000)]
* MdiFormTest.cs: Added DeactivatedEventTest.
svn path=/trunk/mcs/; revision=76664
Rolf Bjarne Kvinge [Fri, 4 May 2007 10:15:01 +0000 (10:15 -0000)]
* Form.cs: Add OnDeactivateInternal.
* MdiClient.cs: Raise Deactivate event. Fixes #81409.
svn path=/trunk/mcs/; revision=76663
Rolf Bjarne Kvinge [Fri, 4 May 2007 09:20:40 +0000 (09:20 -0000)]
* DateTimePicker.cs: CalculateDropDownLocation: do a null check before
accessing the parent. Fixes #81508.
svn path=/trunk/mcs/; revision=76661
Nagappan Alagappan [Fri, 4 May 2007 04:56:33 +0000 (04:56 -0000)]
2007-03-23 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
* SqlClientFactory.cs: Created the class.
(CreatePermissionTest): Added a test case for the method CreatePermission.
svn path=/trunk/mcs/; revision=76660
Nagappan Alagappan [Fri, 4 May 2007 04:54:02 +0000 (04:54 -0000)]
2007-04-03 Amit Biswas <amit@amitbiswas.com>
* SqlParameterCollectionTest.cs (CopyToTest): Test case for CopyTo method
svn path=/trunk/mcs/; revision=76659
Nagappan Alagappan [Fri, 4 May 2007 04:25:27 +0000 (04:25 -0000)]
2007-05-04 Nagappan A <anagappan@novell.com>
* libodbc.cs: Wrong ODBC API definitions (using ints instead of
shorts) - Fixes bug 81306. Thanks to will.mooar@tait.co.nz and
tausq@debian.org.
* OdbcDataReader.cs: Wrong ODBC API definitions (using ints
instead of shorts) - Fixes bug 81306. Thanks to
will.mooar@tait.co.nz and tausq@debian.org.
svn path=/trunk/mcs/; revision=76657
Nagappan Alagappan [Fri, 4 May 2007 04:08:23 +0000 (04:08 -0000)]
2007-04-03 Amit Biswas <amit@amitbiswas.com>
* SqlDataReaderTest.cs (GetSqlBytesTest): Test case for GetSqlBytes
(GetProviderSpecificFieldTypeTest): Test case for GetProviderSpecificFieldTypeTest
(GetProviderSpecificValueTest): Test case for GetProviderSpecificValueTest
(GetProviderSpecificValueLowerBoundaryTest):
(GetProviderSpecificValueUpperBoundaryTest):
(GetProviderSpecificValuesTest): Test case for GetProviderSpecificValuesTest
(GetProviderSpecificValuesSmallArrayTest): Test case with an array smaller than no. of columns
(GetProviderSpecificValuesLargeArrayTest): Test case with an array larger than no. of columns
(GetProviderSpecificValuesNullTest): Test case for null parameters
* SqlParameterTest.cs (XmlSchemaTest): Test case for properties related to XML schema
(SourceColumnNullMappingTest): Test case for SourceColumnNullMappingTest
(ctor7Test): Test case to the constructor new in .net 2.0
* SqlParameterTest.cs (ParameterType): Corrected a bug in the test case regarding
default values of SqlDbType and DbType
(SqlDbTypeTest): Test for SqlDbType and DbType properties
(ResetSqlDbTypeTest): Test for ResetSqlDbType method
(ResetDbTypeTest): Test for ResetDbType method
* SqlParameterCollectionTest.cs (CopyToTest): Test case for CopyTo method
svn path=/trunk/mcs/; revision=76656
Nagappan Alagappan [Fri, 4 May 2007 04:07:41 +0000 (04:07 -0000)]
2007-04-03 Amit Biswas <amit@amitbiswas.com>
* SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
(GetProviderSpecificValue, GetProviderSpecificValues): Implemented
missing API.
* SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
(XmlSchemaCollectionName): Implemented missing property
(XmlSchemaCollectionOwningSchema): Implemented missing property
(SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
(.ctor): Implemented mising constructor new in .net 2.0
* SqlErrorCollection.cs (CopyTo): Implemented missing API
* SqlParameter.cs (InferSqlType): Corrected bug related to default values of
SqlDbType and DbType
(ResetSqlDbType): Implemented missing API
(ResetDbType): Implemented missing API
2007-03-09 Amit Biswas <amit@amitbiswas.com>
* SqlParameterCollection.cs (CopyTo): Implemented missing API
svn path=/trunk/mcs/; revision=76655
Chris Toshok [Thu, 3 May 2007 21:26:35 +0000 (21:26 -0000)]
2007-05-03 Chris Toshok <toshok@ximian.com>
* DataBindingTests.cs: enable TestInsertRowAtCurrent in the 2.0
profile as well.
svn path=/trunk/mcs/; revision=76651
Chris Toshok [Thu, 3 May 2007 21:25:18 +0000 (21:25 -0000)]
2007-05-03 Chris Toshok <toshok@ximian.com>
* CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
2.0 block, pass listposition + 1 to ChangeRecordState when a row
was added before the current listposition. Fixes the
TestInsertRowBeforeCurrent unit test.
svn path=/trunk/mcs/; revision=76650
Jonathan Pobst [Thu, 3 May 2007 20:18:17 +0000 (20:18 -0000)]
2007-05-03 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Add RaiseIdle.
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
XplatUIX11.cs: Implement RaiseIdle.
2007-05-03 Jonathan Pobst <monkey@jpobst.com>
* XplatUIX11-new.cs: Implement RaiseIdle.
2007-05-03 Jonathan Pobst <monkey@jpobst.com>
* ApplicationTest.cs: Add a test for RaiseIdle.
svn path=/trunk/mcs/; revision=76645
Sebastien Pouliot [Thu, 3 May 2007 18:44:30 +0000 (18:44 -0000)]
System.Drawing_test.dll.sources: Add unit tests for PrintingServicesUnix.
svn path=/trunk/mcs/; revision=76636
Sebastien Pouliot [Thu, 3 May 2007 18:42:58 +0000 (18:42 -0000)]
2007-05-03 Sebastien Pouliot <sebastien@ximian.com>
* PrintingServicesUnixTest.cs: New. Test case to make sure libgdiplus
was compiled with printing support.
svn path=/trunk/mcs/; revision=76635
Marek Habersack [Thu, 3 May 2007 17:37:16 +0000 (17:37 -0000)]
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: honor ChildNodesPadding of the NodeStyle.
svn path=/trunk/mcs/; revision=76631
Igor Zelmanovich [Thu, 3 May 2007 16:47:09 +0000 (16:47 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* ColorConverter.cs: fixed GetStandardValues() for TARGET_JVM
* Font.jvm.cs: fixed GetHeight()
svn path=/trunk/mcs/; revision=76628
Konstantin Triger [Thu, 3 May 2007 16:34:41 +0000 (16:34 -0000)]
TARGET_JVM: ignore failures in Sys.Net
svn path=/trunk/mcs/; revision=76626
Dick Porter [Thu, 3 May 2007 16:21:18 +0000 (16:21 -0000)]
2007-05-03 Dick Porter <dick@ximian.com>
* ProxyAttribute.cs:
* RealProxy.cs: Update to 2.0 profile
2007-05-03 Dick Porter <dick@ximian.com>
* ITrackingHandler.cs:
* EnterpriseServicesHelper.cs:
* TrackingServices.cs: Update to 2.0 profile
2007-05-03 Dick Porter <dick@ximian.com>
* IFieldInfo.cs:
* ISoapMessage.cs:
* InternalRM.cs:
* InternalST.cs:
* ServerFault.cs:
* SoapFault.cs:
* SoapMessage.cs:
* FormatterAssemblyStyle.cs:
* FormatterTypeStyle.cs:
* TypeFilterLevel.cs: Update to 2.0 profile
2007-05-03 Dick Porter <dick@ximian.com>
* BinaryFormatter.cs: Update to 2.0 profile
2007-05-03 Dick Porter <dick@ximian.com>
* Encoding.cs:
* UnicodeEncoding.cs:
* UTF7Encoding.cs: Update to 2.0 profile
svn path=/trunk/mcs/; revision=76625
Igor Zelmanovich [Thu, 3 May 2007 14:29:09 +0000 (14:29 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* BrowserCapabilities.cs:
added missing API.
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* AggregateCacheDependency.cs:
* CacheDependency.cs:
added missing API.
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* AttributeCollection.cs:
* DataBindingHandlerAttribute.cs:
* HtmlTextWriter.cs:
* PartialCachingControl.cs:
* TemplateControl.cs:
* TemplateControl.jvm.cs:
* XPathBinder.cs:
added missing API.
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* ControlPropertyNameConverter.css:
* FontUnitConverter.cs:
* UnitConverter.cs:
* ValidatedControlConverter.cs:
added missing API.
svn path=/trunk/mcs/; revision=76622
Atsushi Eno [Thu, 3 May 2007 13:10:26 +0000 (13:10 -0000)]
2007-05-03 Atsushi Enomoto <atsushi@ximian.com>
* XmlFilterReader.cs : do not close input when CloseInput is true.
svn path=/trunk/mcs/; revision=76621
Igor Zelmanovich [Thu, 3 May 2007 13:05:34 +0000 (13:05 -0000)]
2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
* CssStyleCollection.cs: optimization:
used StringBuilder instead string to hold value.
When added key that not exists in collection, value is recalculated by
appending required key to existing value.
svn path=/trunk/mcs/; revision=76619
Konstantin Triger [Thu, 3 May 2007 11:34:50 +0000 (11:34 -0000)]
Fix compilation errors by adding casting
svn path=/trunk/mcs/; revision=76616
Konstantin Triger [Thu, 3 May 2007 11:10:02 +0000 (11:10 -0000)]
Security: avoid NullRef exception
svn path=/trunk/mcs/; revision=76614
Konstantin Triger [Thu, 3 May 2007 11:00:23 +0000 (11:00 -0000)]
Detach the test from Sys.Drawing behavior and preserve the test intention
svn path=/trunk/mcs/; revision=76609
Marek Habersack [Thu, 3 May 2007 10:39:43 +0000 (10:39 -0000)]
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeNode.cs: correct version of the fix in r76488. Nodes
retrieved from a navigation data source which have empty URL will
not be selectable.
svn path=/trunk/mcs/; revision=76604
Konstantin Triger [Thu, 3 May 2007 10:37:39 +0000 (10:37 -0000)]
Refactoring: replace ToLower -> ToLowerInvariant
svn path=/trunk/mcs/; revision=76603
Yoni Klain [Thu, 3 May 2007 09:48:04 +0000 (09:48 -0000)]
<03.05.07 by : Yoni <Yonik@mainsoft.com >
Remove #if TARGET_JVM: TD #7164
svn path=/trunk/mcs/; revision=76601
Konstantin Triger [Thu, 3 May 2007 09:39:36 +0000 (09:39 -0000)]
Refactoring: ensure proper cleanup
svn path=/trunk/mcs/; revision=76599
Marek Habersack [Thu, 3 May 2007 09:32:27 +0000 (09:32 -0000)]
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeViewTest.cs: revert r76541.
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: revert r76488, it wasn't entirely correct. I need
to investigate the special cases it solved a bit more.
svn path=/trunk/mcs/; revision=76597
Jonathan Pobst [Wed, 2 May 2007 21:15:30 +0000 (21:15 -0000)]
2007-05-02 Jonathan Pobst <monkey@jpobst.com>
corcompare work: N - Z
* NotifyIcon.cs
* ProgressBar.cs
* RadionButton.cs
* ScrollableControl.cs
* SplitContainer.cs
* SplitterPanel.cs
* StatusBar.cs
* SystemInformation.cs
* TabControl.cs
* TableLayoutControlCollection.cs
* TableLayoutPanel.cs
* TabPage.cs
* ToolBar.cs
* ToolBarButton.cs
* ToolStrip.cs
* ToolStripComboBox.cs
* ToolStripContainer.cs
* ToolStripContentPanel.cs
* ToolStripDropDown.cs
* ToolStripDropDownItem.cs
* ToolStripDropDownMenu.cs
* ToolStripItem.cs
* ToolStripItemCollection.cs
* ToolStripMenuItem.cs
* ToolStripPanel.cs
* ToolStripSplitButton.cs
* ToolTip.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeMouseHoverEventArgs.cs
* TreeView.cs
svn path=/trunk/mcs/; revision=76591
Everaldo Canuto [Wed, 2 May 2007 20:51:27 +0000 (20:51 -0000)]
2007-05-01 Everaldo Canuto <everaldo@simios.org>
* ContextMenu.cs: Add public method Show with alignment property to 2.0
stuff. Thanks aatdark for the patch.
svn path=/trunk/mcs/; revision=76590
Jonathan Chambers [Wed, 2 May 2007 20:08:02 +0000 (20:08 -0000)]
2007-04-27 Jonathan Chambers <joncham@gmail.com>
* src/gstr.c: Fix off by one error in g_strdup allocation.
svn path=/trunk/mono/; revision=76589
Jonathan Chambers [Wed, 2 May 2007 19:09:09 +0000 (19:09 -0000)]
2007-05-02 Jonathan Chambers <joncham@gmail.com>
* RemotingConfiguration.cs: Added Configure overload for 2.0
with MonoTODO for security.
svn path=/trunk/mcs/; revision=76588
Sebastien Pouliot [Wed, 2 May 2007 18:30:40 +0000 (18:30 -0000)]
2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
* TestColor.cs: Under Windows ensure we're getting the same values for
the desktop colors.
svn path=/trunk/mcs/; revision=76584
Sebastien Pouliot [Wed, 2 May 2007 18:28:19 +0000 (18:28 -0000)]
2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
* gdipEnums.cs: Add GetSysColorIndex
* gdipStructs.cs: Remove GetSysColorIndex (it's an enum)
* KnownColors.cs: Fix Windows desktop colors as GetSysColor returns
values in BGR (not RGB).
svn path=/trunk/mcs/; revision=76583
Jonathan Chambers [Wed, 2 May 2007 17:53:45 +0000 (17:53 -0000)]
2007-05-02 Jonathan Chambers <joncham@gmail.com>
* ExtensibleClassFactory.cs: Don't use un-implemented overload.
svn path=/trunk/mcs/; revision=76581
Dick Porter [Wed, 2 May 2007 16:38:28 +0000 (16:38 -0000)]
2007-05-02 Dick Porter <dick@ximian.com>
* _ConstructorInfo.cs:
* _EventInfo.cs:
* _Exception.cs:
* _FieldInfo.cs:
* _MemberInfo.cs:
* _MethodBase.cs:
* _MethodInfo.cs:
* _PropertyInfo.cs:
* _Type.cs:
* UCOMIMoniker.cs:
* AutomationProxyAttribute.cs:
* BestFitMappingAttribute.cs:
* BStrWrapper.cs:
* ClassInterfaceAttribute.cs:
* CoClassAttribute.cs:
* ComAliasNameAttribute.cs:
* ComCompatibleVersionAttribute.cs:
* ComConversionLossAttribute.cs:
* ComDefaultInterfaceAttribute.cs:
* ComEventInterfaceAttribute.cs:
* COMException.cs:
* ComImportAttribute.cs:
* ComObjectInUseException.cs:
* ComRegisterFunctionAttribute.cs:
* ComUnregisterFunctionAttribute.cs:
* ComVisible.cs:
* CriticalHandle.cs:
* CurrencyWrapper.cs:
* DefaultCharSetAttribute.cs:
* DispatchWrapper.cs:
* DispIdAttribute.cs:
* ErrorWrapper.cs:
* ExtensibleClassFactory.cs:
* ExternalException.cs:
* Marshal.cs:
* SafeHandle.cs:
* StructLayoutAttribute.cs:
* TypeLibConverter.cs:
* ArrayWithOffset.cs:
* BIND_OPTS.cs:
* BINDPTR.cs:
* CONNECTDATA.cs:
* DISPPARAMS.cs:
* ELEMDESC.cs:
* EXCEPINFO.cs:
* PARAMDESC.cs:
* TYPELIBATTR.cs:
* VARDESC.cs:
* CALLCONV.cs:
* CallingConvention.cs:
* CharSet.cs:
* ClassInterfaceType.cs:
* ComInterfaceType.cs:
* ComMemberType.cs:
* DESCKIND.cs:
* ExporterEventKind.cs:
* PARAMFLAG.cs:
* RegistrationClassContext.cs:
* TYPEKIND.cs:
* TypeLibImporterFlags.cs:
* UnmanagedType.cs:
* VARFLAGS.cs: Update to 2.0 profile
svn path=/trunk/mcs/; revision=76579
Konstantin Triger [Wed, 2 May 2007 16:11:15 +0000 (16:11 -0000)]
Implement Begin/EndGetResponse asynchronously
svn path=/trunk/mcs/; revision=76576
Igor Zelmanovich [Wed, 2 May 2007 14:37:40 +0000 (14:37 -0000)]
added missing resources
svn path=/trunk/mcs/; revision=76568
Jonathan Chambers [Wed, 2 May 2007 14:13:17 +0000 (14:13 -0000)]
2007-05-02 Jonathan Chambers <joncham@gmail.com>
* Stopwatch.cs : Implement high performance stopwatch on windows.
svn path=/trunk/mcs/; revision=76567
Igor Zelmanovich [Wed, 2 May 2007 13:27:14 +0000 (13:27 -0000)]
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: ResolveClientUrl: optimization.
if basePath is the same as TemplateSourceDirectory
releativeUrl is returned as is.
* ControlTest.cs: added new test.
svn path=/trunk/mcs/; revision=76564
Konstantin Triger [Wed, 2 May 2007 13:25:45 +0000 (13:25 -0000)]
fix typo in WHERE close
svn path=/trunk/mcs/; revision=76563
Raja R Harinath [Wed, 2 May 2007 11:19:37 +0000 (11:19 -0000)]
* RBTree.cs (Enumerator.Current): Remove nullref.
We need to have a generic IEnumerator test harness to catch these silly mistakes.
svn path=/trunk/mcs/; revision=76562
Dick Porter [Wed, 2 May 2007 10:03:23 +0000 (10:03 -0000)]
2007-05-02 Dick Porter <dick@ximian.com>
* ReaderWriterLock.cs: ReaderWriterLock derives from
CriticalFinalizerObject in the 2.0 profile
svn path=/trunk/mcs/; revision=76561
Igor Zelmanovich [Wed, 2 May 2007 09:46:07 +0000 (09:46 -0000)]
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* SqlDataSourceView.cs:
make CancelSelectOnNullParameter property works.
svn path=/trunk/mcs/; revision=76559
Igor Zelmanovich [Wed, 2 May 2007 09:45:24 +0000 (09:45 -0000)]
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs:
ResolveClientUrl considers TemplateSourceDirectory property.
svn path=/trunk/mcs/; revision=76558
Konstantin Triger [Wed, 2 May 2007 09:42:51 +0000 (09:42 -0000)]
Do not intercept the original exception
svn path=/trunk/mcs/; revision=76557
Raja R Harinath [Wed, 2 May 2007 09:26:21 +0000 (09:26 -0000)]
* SortedDictionary.cs (ICollection.Contains): Use EqualityComparer
for comparing the value field.
svn path=/trunk/mcs/; revision=76556
Raja R Harinath [Wed, 2 May 2007 08:34:15 +0000 (08:34 -0000)]
In mcs:
Fix regression in cs0631-3.cs
* cs-parser.jay (operator_declarator): Add opt_attributes to error
fallback. Make error fallback catch more cases.
In gmcs:
Fix regression in cs0631-3.cs
* cs-parser.jay (operator_declarator): Add opt_attributes to error
fallback. Make error fallback catch more cases.
In errors:
* cs1534-2.cs: New test. Ensure that the error handling isn't
limited to only erroneous 3-argument operators.
svn path=/trunk/mcs/; revision=76555
Raja R Harinath [Wed, 2 May 2007 07:39:08 +0000 (07:39 -0000)]
* RBTree.cs (do_remove): Remove some redundant assignments/checks.
(NodeEnumerator): Simplify. Keep track of a list of
right-pennants that need to be traversed next, rather than
comparing parent pointers.
The usual nit-picking followup
svn path=/trunk/mcs/; revision=76554
Miguel de Icaza [Wed, 2 May 2007 00:35:36 +0000 (00:35 -0000)]
This feature is required to compile the Dynamic Language Runtime.
+2007-05-01 Miguel de Icaza <miguel@novell.com>
+
+ * cs-parser.jay: Allow parameters in operator declarations to
have
+ attributes.
svn path=/trunk/mcs/; revision=76552
Marek Habersack [Tue, 1 May 2007 22:15:44 +0000 (22:15 -0000)]
2007-05-02 Marek Habersack <mhabersack@novell.com>
* FormsAuthentication.cs: user names are stored in lowercase in
the credentials database.
svn path=/trunk/mcs/; revision=76551
Jonathan Pobst [Tue, 1 May 2007 20:39:21 +0000 (20:39 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
* GridItem.cs: Implement 2.0 Tag property.
svn path=/trunk/mcs/; revision=76549
Jonathan Pobst [Tue, 1 May 2007 20:20:25 +0000 (20:20 -0000)]
2007-05-01 Frederik Carlier <frederik.carlier@carlier-online.be>
* TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
count instead of Nodes.Length. [Fixes bug #81448]
2007-05-01 Frederik Carlier <frederik.carlier@carlier-online.be>
* TreeNodeCollectionTest.cs: Add Unit tests for ContainsKey and
IndexOfKey methods.
svn path=/trunk/mcs/; revision=76548
Marek Habersack [Tue, 1 May 2007 20:04:45 +0000 (20:04 -0000)]
2007-05-01 Marek Habersack <mhabersack@novell.com>
* TreeViewTest.cs: adjust generated HTML tests to the latest
rendering changes.
svn path=/trunk/mcs/; revision=76541
Jonathan Pobst [Tue, 1 May 2007 19:36:44 +0000 (19:36 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
[Fixes bug #81506]
svn path=/trunk/mcs/; revision=76539
Raja R Harinath [Tue, 1 May 2007 19:17:13 +0000 (19:17 -0000)]
Update copyright notice. Note that this is essentially a complete
rewrite.
svn path=/trunk/mcs/; revision=76538
Raja R Harinath [Tue, 1 May 2007 19:07:31 +0000 (19:07 -0000)]
In .:
* System.dll.sources: Add RBTree.cs.
In System.Collections.Generic:
Make add and remove operations O(log n).
* SortedDictionary.cs: Rewrite to use the red-black tree
implementation from RBTree.cs.
* RBTree.cs: Some more refactoring. Rename Insert() to Intern(),
and modify semantics slightly. Replace Contains() with Lookup().
In Test/System.Collections.Generic:
* SortedDictionaryTest.cs (AddNullKeyNullable): Enable.
svn path=/trunk/mcs/; revision=76537
Jonathan Pobst [Tue, 1 May 2007 18:58:31 +0000 (18:58 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
corcompare work: A - M
* BindingNavigator.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* Control.cs
* FlowLayoutPanel.cs
* Form.cs
* Label.cs
* LinkLabel.cs
* ListView.cs
svn path=/trunk/mcs/; revision=76536
Sebastien Pouliot [Tue, 1 May 2007 17:25:38 +0000 (17:25 -0000)]
2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
* WinSerialStream.cs: Fix build due to NativeOverlapped being updated
to 2.0 definition (int to IntPtr).
svn path=/trunk/mcs/; revision=76535
Sebastien Pouliot [Tue, 1 May 2007 17:11:54 +0000 (17:11 -0000)]
2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
* KnownColors.cs: Force alpha values (opaque) on Win32's GetSysColor.
svn path=/trunk/mcs/; revision=76534
Gert Driesen [Tue, 1 May 2007 16:56:28 +0000 (16:56 -0000)]
* corlib_test.dll.sources: Added ConstructorInfoTest.cs.
* ConstructorInfoTest.cs: Added tests for Invoke.
svn path=/trunk/mcs/; revision=76533
Dick Porter [Tue, 1 May 2007 15:28:29 +0000 (15:28 -0000)]
2007-05-01 Dick Porter <dick@ximian.com>
* ThreadState.cs:
* AsyncFlowControl.cs:
* Interlocked.cs:
* RegisteredWaitHandle.cs:
* TimerCallback.cs:
* ThreadStateException.cs:
* Monitor.cs:
* ThreadStart.cs:
* WaitOrTimerCallback.cs:
* LockCookie.cs:
* EventWaitHandle.cs:
* WaitHandle.cs:
* ThreadAbortException.cs:
* ThreadPriority.cs:
* ReaderWriterLock.cs:
* NativeOverlapped.cs:
* Mutex.cs:
* Overlapped.cs:
* ThreadPool.cs:
* ApartmentState.cs:
* EventResetMode.cs:
* SynchronizationLockException.cs:
* ManualResetEvent.cs:
* WaitCallback.cs:
* IOCompletionCallback.cs:
* AutoResetEvent.cs:
* AbandonedMutexException.cs:
* SendOrPostCallback.cs:
* ThreadInterruptedException.cs: Update to 2.0 profile
svn path=/trunk/mcs/; revision=76530
Zoltan Varga [Tue, 1 May 2007 15:11:29 +0000 (15:11 -0000)]
2007-05-01 Zoltan Varga <vargaz@gmail.com>
* icall.c (custom_attrs_get_by_type): Handle loading errors gracefully. Fixes
#81498.
* reflection.c (mono_reflection_get_custom_attrs_by_type): Handle loading errors
gracefully.
(mono_custom_attrs_from_index): Ditto.
svn path=/trunk/mono/; revision=76529
Jonathan Pobst [Tue, 1 May 2007 15:06:36 +0000 (15:06 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Give toolstrips a chance to process mnemonics.
* ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
svn path=/trunk/mcs/; revision=76528
Zoltan Varga [Tue, 1 May 2007 14:27:28 +0000 (14:27 -0000)]
2007-05-01 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_InternalInvoke): Allow calling ctors of abstract classes.
Fixes #81501.
svn path=/trunk/mono/; revision=76526
Zoltan Varga [Tue, 1 May 2007 14:20:03 +0000 (14:20 -0000)]
2007-05-01 Zoltan Varga <vargaz@gmail.com>
* MethodInfoTest.cs: Reenable a NotWorking test which is working now.
svn path=/trunk/mcs/; revision=76525
Marek Habersack [Tue, 1 May 2007 11:19:27 +0000 (11:19 -0000)]
2007-05-01 Marek Habersack <mhabersack@novell.com>
* machine.config: added standard data provider factories, or
otherwise the SqlDataSource tests will fail.
svn path=/trunk/mono/; revision=76524
Dick Porter [Tue, 1 May 2007 11:08:28 +0000 (11:08 -0000)]
2007-05-01 Dick Porter <dick@ximian.com>
* File.cs:
* Stream.cs: Missed a few 2.0 methods
2007-05-01 Dick Porter <dick@ximian.com>
* RegistryKeyPermissionCheck.cs: Not serializable
svn path=/trunk/mcs/; revision=76523
Marek Habersack [Tue, 1 May 2007 11:01:22 +0000 (11:01 -0000)]
2007-05-01 Marek Habersack <mhabersack@novell.com>
* HttpCapabilitiesBase.cs: move the User-Agent code to a separate
internal method.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* BaseValidator.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: clientTarget comparisons must be case-insensitive
svn path=/trunk/mcs/; revision=76522
Adar Wesley [Tue, 1 May 2007 08:13:07 +0000 (08:13 -0000)]
2007-05-01 Adar Wesley <adarw@mainsoft.com>
* OleDbCommandBuilder.cs: Fixed typo and called base implementation
in Get[Insert|Updata|Delete]Command methods.
svn path=/trunk/mcs/; revision=76521
Konstantin Triger [Tue, 1 May 2007 06:16:49 +0000 (06:16 -0000)]
Add nist dom tests to compilation
svn path=/trunk/mcs/; revision=76515
Jackson Harper [Tue, 1 May 2007 05:27:41 +0000 (05:27 -0000)]
* TextBoxBase.cs: Better preferred height, FixedSingle gets the
wider area too.
- Don't set the BoundsSpecified
svn path=/trunk/mcs/; revision=76514
Gert Driesen [Mon, 30 Apr 2007 19:33:06 +0000 (19:33 -0000)]
* TypeTest.cs: Added test for Equals with null argument.
svn path=/trunk/mcs/; revision=76507
Zoltan Varga [Mon, 30 Apr 2007 19:10:33 +0000 (19:10 -0000)]
2007-04-30 Zoltan Varga <vargaz@gmail.com>
* cpu-amd64.md (jmp): Increase the maximum size of the jmp opcode to 128.
svn path=/trunk/mono/; revision=76506
Zoltan Varga [Mon, 30 Apr 2007 19:03:40 +0000 (19:03 -0000)]
2007-04-30 Zoltan Varga <vargaz@gmail.com>
* Type.cs (Equals): Allow a null argument.
svn path=/trunk/mcs/; revision=76505
Jonathan Pobst [Mon, 30 Apr 2007 17:43:32 +0000 (17:43 -0000)]
2007-04-30 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: When using the toolstrip shortcut mechanism, allow the
message to pass through to a regular control if it hosted by a toolstrip.
* ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
svn path=/trunk/mcs/; revision=76504
Jonathan Pobst [Mon, 30 Apr 2007 16:11:26 +0000 (16:11 -0000)]
2007-04-30 Jonathan Pobst <monkey@jpobst.com>
* TextRenderer.cs: Use the flags argument when using the MeasureString
fallback algorithm.
svn path=/trunk/mcs/; revision=76503
Konstantin Triger [Mon, 30 Apr 2007 15:41:36 +0000 (15:41 -0000)]
When formatting, threat empty string as null
svn path=/trunk/mcs/; revision=76501
Dick Porter [Mon, 30 Apr 2007 15:25:43 +0000 (15:25 -0000)]
2007-04-30 Dick Porter <dick@ximian.com>
* corlib.dll.sources: Added
Microsoft.Win32.RegistryKeyPermissionCheck.cs
2007-04-30 Dick Porter <dick@ximian.com>
* CriticalHandleZeroOrMinusOneIsInvalid.cs:
* CriticalHandleMinusOneIsInvalid.cs:
* SafeWaitHandle.cs:
* SafeHandleZeroOrMinusOneIsInvalid.cs:
* SafeHandleMinusOneIsInvalid.cs: Added ReliabilityContract
attributes to complete 2.0 profile
2007-04-30 Dick Porter <dick@ximian.com>
* Registry.cs:
* RegistryHive.cs:
* RegistryKey.cs:
* RegistryValueKind.cs:
* RegistryKeyPermissionCheck.cs: Updated for 2.0 profile
svn path=/trunk/mcs/; revision=76500
Igor Zelmanovich [Mon, 30 Apr 2007 15:23:30 +0000 (15:23 -0000)]
2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs: reverted r74717.
svn path=/trunk/mcs/; revision=76499
Raja R Harinath [Mon, 30 Apr 2007 14:40:27 +0000 (14:40 -0000)]
* RBTree.cs: Refactor to reduce generics code.
svn path=/trunk/mcs/; revision=76498
Konstantin Triger [Mon, 30 Apr 2007 14:35:07 +0000 (14:35 -0000)]
TARGET_JVM: include passing tests
svn path=/trunk/mcs/; revision=76496
Dick Porter [Mon, 30 Apr 2007 14:05:12 +0000 (14:05 -0000)]
2007-04-30 Dick Porter <dick@ximian.com>
* Directory.cs:
* FileShare.cs:
* DirectoryNotFoundException.cs:
* SeekOrigin.cs:
* FileAttributes.cs:
* IOException.cs:
* MemoryStream.cs:
* FileMode.cs:
* BinaryWriter.cs:
* TextWriter.cs:
* File.cs:
* BinaryReader.cs:
* TextReader.cs:
* UnmanagedMemoryStream.cs:
* StringWriter.cs:
* FileAccess.cs:
* FileLoadException.cs:
* BufferedStream.cs:
* Stream.cs:
* FileInfo.cs:
* FileStream.cs:
* StringReader.cs:
* StreamWriter.cs:
* EndOfStreamException.cs:
* DriveInfo.cs:
* StreamReader.cs:
* PathTooLongException.cs:
* DriveType.cs:
* FileNotFoundException.cs: 2.0 profile updates
svn path=/trunk/mcs/; revision=76495
Jonathan Pobst [Mon, 30 Apr 2007 13:53:13 +0000 (13:53 -0000)]
2007-04-30 Jonathan Pobst <monkey@jpobst.com>
* MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
the MDI menu item. [Fixes bug #81483]
svn path=/trunk/mcs/; revision=76493
Konstantin Triger [Mon, 30 Apr 2007 13:40:52 +0000 (13:40 -0000)]
TARGET_JVM: SkipJavaOutputValidation for DataAdapter.Fill
svn path=/trunk/mcs/; revision=76491
Marek Habersack [Mon, 30 Apr 2007 13:36:38 +0000 (13:36 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* SessionInProcHandler.cs: do not end session when setting and
releasing item in mid-session. Fixes bugs #81440, #81140 and
#80723
svn path=/trunk/mcs/; revision=76490
Sebastien Pouliot [Mon, 30 Apr 2007 12:37:39 +0000 (12:37 -0000)]
2007-04-30 Sebastien Pouliot <sebastien@ximian.com>
* Color.cs: Reflection didn't like the change from int to uint (thanks
to Gert for noticing again :-).
svn path=/trunk/mcs/; revision=76489
Marek Habersack [Mon, 30 Apr 2007 12:26:35 +0000 (12:26 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: bring rendering closer to the MS.NET rendering.
svn path=/trunk/mcs/; revision=76488
Marek Habersack [Mon, 30 Apr 2007 11:02:24 +0000 (11:02 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* ConnectionStringsExpressionBuilder.cs: support expressions with
suffixes .ProviderName and .ConnectionString (case-insensitie) and
generate a call to GetConnectionStringProviderName in the former
case. Fixes bug #81490
2007-04-30 Marek Habersack <mhabersack@novell.com>
* SqlDataSource.cs: do not catch the exception if ProviderName is
not null or empty (as per docs and what MS.NET does).
2007-04-30 Marek Habersack <mhabersack@novell.com>
* DbProviderFactories.cs: throw the same exception MS.NET does.
svn path=/trunk/mcs/; revision=76486
Marek Habersack [Mon, 30 Apr 2007 08:49:43 +0000 (08:49 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: support for cases when there exists a custom
profile class but there is no App_Code directory or it's
empty. Fixes bug #81489.
svn path=/trunk/mcs/; revision=76483
Gert Driesen [Mon, 30 Apr 2007 08:48:14 +0000 (08:48 -0000)]
* DataGridViewColumn.cs: Initialize value of headercell to zero-length
string. When setting Name to null, use zero-length string instead.
* DataGridViewColumnTest.cs: Added test for bug #81464, improved
existing tests.
* DataGridViewTextBoxCellTest.cs: Added test for Value.
* RichTextBoxTest.cs: Added test for bug #80626.
* TabControlTest.cs: Added test for TabPageCollection indexer.
* TextBoxTest.cs: Enabled test for bug #80626.
* System.Windows.Forms_test.dll.sources: Added
DataGridViewTextBoxCellTest.cs
svn path=/trunk/mcs/; revision=76482
Konstantin Triger [Mon, 30 Apr 2007 07:53:58 +0000 (07:53 -0000)]
Fix typo in MergeCollections (); refactoring
svn path=/trunk/mcs/; revision=76477
Marek Habersack [Mon, 30 Apr 2007 06:44:10 +0000 (06:44 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: fix generation of code for
declarative attribute assignments of the form Font-Size="small"
(i.e. when a font size is assigned a symbolic, relative size
value). This fixes for example rendering of the 0th level of
TreeView controls.
svn path=/trunk/mcs/; revision=76472
Zoltan Varga [Sun, 29 Apr 2007 21:58:12 +0000 (21:58 -0000)]
2007-04-30 Zoltan Varga <vargaz@gmail.com>
* metadata.c (mono_metadata_parse_type_full): Avoid an invalid free since the type
is now allocated from a mempool.
svn path=/trunk/mono/; revision=76471
Raja R Harinath [Sun, 29 Apr 2007 19:15:54 +0000 (19:15 -0000)]
* RBTree.cs: New red-black tree implementation for use with SortedDictionary.
I'll integrate it into SortedDictionary tomorrow, if no one else gets to it.
svn path=/trunk/mcs/; revision=76469
Zoltan Varga [Sun, 29 Apr 2007 18:05:17 +0000 (18:05 -0000)]
2007-04-29 Zoltan Varga <vargaz@gmail.com>
* abcremoval.c (summarize_integer_value): Handle OP_LCONV_TO_I4 to fix abcrem on
64 bit platforms.
svn path=/trunk/mono/; revision=76466