mono.git
16 years ago* ArrangedElementCollectionTest.cs: Added.
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:31:38 +0000 (14:31 -0000)]
* ArrangedElementCollectionTest.cs: Added.

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

16 years ago* ArrangedElementCollection.cs: Implement NotSupported behaviour
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:31:25 +0000 (14:31 -0000)]
* ArrangedElementCollection.cs: Implement NotSupported behaviour
  confirmed by tests.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Mon, 23 Jul 2007 14:25:04 +0000 (14:25 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : SSys.CultureInfo.CurrentCulture.numberFormat

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

16 years agoFix ChangeLog entry.
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:23:04 +0000 (14:23 -0000)]
Fix ChangeLog entry.

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

16 years ago* CurrencyManagerTest.cs: More tests.
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:21:34 +0000 (14:21 -0000)]
* CurrencyManagerTest.cs: More tests.

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

16 years ago* DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:19:21 +0000 (14:19 -0000)]
* DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  manually adding and removing the control from the Controls
  collecftion.
* DataGridView.cs: Implement DataGridViewControlCollection. Add an
  EditingControlInternal property that tracks the editing control.
  Always keeping the scrollbars in the Controls collection, as MS
  testing confirms is the right behaviour.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Mon, 23 Jul 2007 14:07:45 +0000 (14:07 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : Sys.CultureInfo.CurrentCulture.dateTimeFormat

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Mon, 23 Jul 2007 14:05:22 +0000 (14:05 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : Sys.CultureInfo.CurrentCulture.dateTimeFormat

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

16 years agooops
Jb Evain [Mon, 23 Jul 2007 14:03:52 +0000 (14:03 -0000)]
oops

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

16 years ago* reflection.c (reflection_methodbuilder_to_mono_method): Use
Raja R Harinath [Mon, 23 Jul 2007 13:49:36 +0000 (13:49 -0000)]
* reflection.c (reflection_methodbuilder_to_mono_method): Use
mono_metadata_type_dup.
* marshal.c (mono_mb_create_method): Likewise.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Mon, 23 Jul 2007 13:20:37 +0000 (13:20 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : Sys.Application

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

16 years agooops. Wrong version.
Raja R Harinath [Mon, 23 Jul 2007 12:58:08 +0000 (12:58 -0000)]
oops.  Wrong version.

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

16 years ago* metadata.c (mono_metadata_type_dup): Rename from
Raja R Harinath [Mon, 23 Jul 2007 12:55:30 +0000 (12:55 -0000)]
* metadata.c (mono_metadata_type_dup): Rename from
mono_metadata_type_dup_mp.  Take an optional mempool instead of a
MonoImage.  Handle a few more cases, esp. when no mempool is given.
* marshal.c, metadata-internals.h: Update to changes.

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

16 years agoFix 'make warnings'.
Raja R Harinath [Mon, 23 Jul 2007 12:52:02 +0000 (12:52 -0000)]
Fix 'make warnings'.

* build/library.make (install-local) [GAC]: If LIBRARY_PACKAGE is set to
'none' don't install a symlink from a package directory into the gac.
* class/Mono.Cecil/Makefile (LIBRARY_PACKAGE): Set to none.
(install-local): Remove.

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

16 years agoupdate
Jb Evain [Mon, 23 Jul 2007 12:49:29 +0000 (12:49 -0000)]
update

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

16 years agoupdate README
Jb Evain [Mon, 23 Jul 2007 12:47:13 +0000 (12:47 -0000)]
update README

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

16 years ago2007-07-23 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 23 Jul 2007 12:42:42 +0000 (12:42 -0000)]
2007-07-23  Jb Evain  <jbevain@novell.com>

* Mono.Linker/Driver.cs
  Mono.Linker/LinkContext.cs:
Allow one to specify the action to apply to an assembly
from the command line.

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

16 years ago2007-07-23 William Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 23 Jul 2007 12:29:22 +0000 (12:29 -0000)]
2007-07-23  William Holmes  <billholmes54@gmail.com>

        * decl.cs: Changed MemberName.CountTypeArguments to also check
          the Left member variable for the Count.
        * doc.cs: Changed DocUtil.GetMethodDocCommentName to call
          MemberName.CountTypeArguments to avoid a NRE.

        This code is contributed under the MIT X11 license

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

16 years ago* ScrollableControl.cs: Fix implementation of AutoScrollPosition
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 12:21:00 +0000 (12:21 -0000)]
* ScrollableControl.cs: Fix implementation of AutoScrollPosition
  according to MSDN and new test.

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

16 years ago* ScrollableControlTest.cs: Added AutoScrollPositiontest
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 12:18:49 +0000 (12:18 -0000)]
* ScrollableControlTest.cs: Added AutoScrollPositiontest

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

16 years agoset caching
Konstantin Triger [Mon, 23 Jul 2007 11:24:50 +0000 (11:24 -0000)]
set caching

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

16 years agocorrect relative paths
Konstantin Triger [Mon, 23 Jul 2007 11:10:50 +0000 (11:10 -0000)]
correct relative paths

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

16 years ago* XmlTypeMapping.cs: fixed XmlSerializableMapping ctor, corrected when qualified...
Vladimir Krasnov [Mon, 23 Jul 2007 10:57:55 +0000 (10:57 -0000)]
* XmlTypeMapping.cs: fixed XmlSerializableMapping ctor, corrected when qualified name is empty
* XmlSchemaExporter.cs: fixed SetSchemaXmlSerializableType when schema provider method returns null schema

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

16 years agoMon Jul 23 11:43:31 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 23 Jul 2007 09:28:06 +0000 (09:28 -0000)]
Mon Jul 23 11:43:31 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class.c: fixed a small leak for array classes and removed warning.

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

16 years agocalculate AppRelativeTemplateSourceDirectory from HttpContext when control is not...
Konstantin Triger [Mon, 23 Jul 2007 09:01:55 +0000 (09:01 -0000)]
calculate AppRelativeTemplateSourceDirectory from HttpContext when control is not in control collection

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

16 years agoMon Jul 23 10:40:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 23 Jul 2007 08:25:22 +0000 (08:25 -0000)]
Mon Jul 23 10:40:35 CEST 2007 Paolo Molaro <lupus@ximian.com>

* timefuncs.c: make TickCount measure from boot time if it's
available.

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

16 years agoMon Jul 23 10:29:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 23 Jul 2007 08:14:18 +0000 (08:14 -0000)]
Mon Jul 23 10:29:29 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.h, mini.c, driver.c: temporary smcs hack.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Mon, 23 Jul 2007 08:11:46 +0000 (08:11 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : PartialPageRenderingOverview

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

16 years agoMon Jul 23 09:29:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 23 Jul 2007 07:13:46 +0000 (07:13 -0000)]
Mon Jul 23 09:29:34 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-arm.h, mini-arm.c: arm EABI fixes.

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

16 years ago2007-07-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Mon, 23 Jul 2007 06:39:42 +0000 (06:39 -0000)]
2007-07-23  Nagappan A  <anagappan@novell.com>

* TdsBulkCopy.cs: Removed all the Namespace that are not
required.

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

16 years ago2007-07-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Mon, 23 Jul 2007 06:06:41 +0000 (06:06 -0000)]
2007-07-23  Nagappan A  <anagappan@novell.com>

* SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
(GetParameterPlaceholder): Implemented 2.0 missing APIs.

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

16 years agoAdd CopyPath, CopyPathFlat, AppendPath
Miguel de Icaza [Mon, 23 Jul 2007 05:51:55 +0000 (05:51 -0000)]
Add CopyPath, CopyPathFlat, AppendPath

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

16 years agoDelete the file before the copy, this might fix 82083
Miguel de Icaza [Sun, 22 Jul 2007 22:38:40 +0000 (22:38 -0000)]
Delete the file before the copy, this might fix 82083

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

16 years agorefactor to use GetOriginalType
Jb Evain [Sun, 22 Jul 2007 20:00:37 +0000 (20:00 -0000)]
refactor to use GetOriginalType

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

16 years agofix step name
Jb Evain [Sun, 22 Jul 2007 20:00:18 +0000 (20:00 -0000)]
fix step name

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

16 years ago2007-07-22 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 22 Jul 2007 19:55:51 +0000 (19:55 -0000)]
2007-07-22  Jb Evain  <jbevain@novell.com>

* Mono.Linker/LinkContext.cs:
If no file found with -a, try to resolve it.

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

16 years ago2007-07-22 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 22 Jul 2007 19:54:57 +0000 (19:54 -0000)]
2007-07-22  Jb Evain  <jbevain@novell.com>

* Mono.Linker/Driver.cs
  Mono.Linker/Pipeline.cs:
Adjust the visibility only once, even with multiple -i.

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

16 years agorename
Jb Evain [Sun, 22 Jul 2007 19:51:01 +0000 (19:51 -0000)]
rename

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

16 years ago2007-07-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 22 Jul 2007 19:30:26 +0000 (19:30 -0000)]
2007-07-22  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (mono_arch_find_jit_info): Handle the lmf->method == NULL
case.

* tramp-x86.c (mono_arch_create_trampoline_code): Only set lmf->method for
trampolines taking a method argument.

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

16 years ago2007-07-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 22 Jul 2007 18:36:50 +0000 (18:36 -0000)]
2007-07-22  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.h (MonoLMF): Add an 'esp' field plus comments.

* mini-x86.c (mono_arch_emit_prolog): Update after changes to the LMF structure.
* tramp-x86.c (mono_arch_create_trampoline_code): Ditto.

* exceptions-x86.c (mono_arch_get_jit_info): Properly clean up the stack after
JIT compilation throws an exception. Fixes #82050.

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

16 years ago2007-07-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 22 Jul 2007 16:05:52 +0000 (16:05 -0000)]
2007-07-22  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_method_get_param_token): Make this work on generic methods.
Return 0x8000000 for return parameters. Fixes #82161.

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

16 years agobase AppRelativeTemplateSourceDirectory property on TemplateControl; implement specia...
Konstantin Triger [Sun, 22 Jul 2007 15:41:51 +0000 (15:41 -0000)]
base AppRelativeTemplateSourceDirectory property on TemplateControl; implement special behavior of Control.TemplateControl for TemplateControl instances

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Sun, 22 Jul 2007 15:12:23 +0000 (15:12 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : IScriptControlTutorial1

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

16 years agoFixed selenium tests to open relative and not absolute paths.
Adar Wesley [Sun, 22 Jul 2007 15:11:30 +0000 (15:11 -0000)]
Fixed selenium tests to open relative and not absolute paths.

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

16 years agoFixed some errors in the tests.
Adar Wesley [Sun, 22 Jul 2007 15:08:30 +0000 (15:08 -0000)]
Fixed some errors in the tests.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Sun, 22 Jul 2007 14:43:13 +0000 (14:43 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : ExtenderControlTutorial1

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

16 years agoadded Microsoft Permissive License text
Igor Zelmanovich [Sun, 22 Jul 2007 12:56:09 +0000 (12:56 -0000)]
added Microsoft Permissive License text

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

16 years agoadded MicrosoftAjaxLibrary - System.Web.Extensions client scripts
Igor Zelmanovich [Sun, 22 Jul 2007 12:47:31 +0000 (12:47 -0000)]
added MicrosoftAjaxLibrary - System.Web.Extensions client scripts

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

16 years agouse new GetOriginalType method
Jb Evain [Sun, 22 Jul 2007 11:18:24 +0000 (11:18 -0000)]
use new GetOriginalType method

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

16 years agosvn path=/trunk/mcs/; revision=82434
Yoni Klain [Sun, 22 Jul 2007 10:55:00 +0000 (10:55 -0000)]
svn path=/trunk/mcs/; revision=82434

16 years ago* HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be called after Appli...
Vladimir Krasnov [Sun, 22 Jul 2007 10:51:49 +0000 (10:51 -0000)]
* HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be called after ApplicationInstance.GetHandler call in case of GetHandler fails for some reason

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

16 years agotypo fix
Igor Zelmanovich [Sun, 22 Jul 2007 10:35:56 +0000 (10:35 -0000)]
typo fix

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 07:09:26 +0000 (07:09 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* SqlBulkCopy.cs (NotifyAfter): Implemented 2.0 property.
(GetColumnMetaData, GenerateColumnMetaData):
(ValidateColumnMapping): Implemented private method's to generate
and validate SqlBulkCopy headers.
(BulkCopyToServer): Private method to actually do the bulk copy
processing.
(WriteToServer): Implemented 2.0 missing overloaded methods.
(IDisposable.Dispose): Implemented 2.0 missing method.

* SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
missing API.
(Item): Implemented missing property.

* SqlBulkCopyColumnMapping.cs: Modified the implementation of
Constructors to use property.

* SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
missing method.
(Connection): Added missing property.

* SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
method as internal from private.

* SqlConnection.cs: Fixed 2.0 missing feature.

* SqlException.cs: Fixed 2.0 missing feature.

* SqlClientPermission.cs: Fixed 2.0 missing feature.

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

16 years ago* AutoResetEventTest.cs: Added test for verifying effect of assigning
Gert Driesen [Sun, 22 Jul 2007 06:57:28 +0000 (06:57 -0000)]
* AutoResetEventTest.cs: Added test for verifying effect of assigning
new SafeWaitHandle on the previous one. Use meaningful names for
tests. Avoid unref warning. Removed usage of deprecated Assertion
class. Spaces to tabs.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:54:05 +0000 (06:54 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* DataRow.cs: Added internal set property for Table in 2.0
profile.

* DataColumn.cs: Added internal set property for Table in 2.0
profile.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:51:25 +0000 (06:51 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* OleDbDataReader.cs: Fixed compilation warning.

* OleDbParameterCollection.cs: Fixed compilation warning.

* OleDbTransaction.cs: Fixed compilation warning.

* OleDbCommandBuilder.cs: Fixed compilation warning.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:48:16 +0000 (06:48 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* OdbcDataAdapter.cs: Fixed compilation warning.

* OdbcTransaction.cs: Fixed compilation warning.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:43:35 +0000 (06:43 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* SqlTransactionTest.cs: Added exception handling.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:42:40 +0000 (06:42 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* DbConnection.cs: 2.0 missing features.

* DbDataAdapter.cs: 2.0 missing features.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:32:19 +0000 (06:32 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* Mono.Data.Tds.dll.sources: Added
Mono.Data.Tds.Protocol/TdsBulkCopy.cs.

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

16 years ago2007-07-22 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Sun, 22 Jul 2007 06:31:43 +0000 (06:31 -0000)]
2007-07-22  Nagappan A  <anagappan@novell.com>

* TdsBulkCopy.cs: Added new file to handle the bulk copy
operation.

* Tds.cs (ExecBulkCopyMetaData, ExecBulkCopy): Added new methods
to send and receive bulk data information.

* Tds70.cs (IsBlobType, IsLargeType): Moved methods to Tds.cs.

* TdsComm.cs: Fixed 2.0 compilation warnings.

* Tds50.cs: Fixed compilation warnings.

* Tds42.cs: Fixed compilation warnings.

* TdsPacketType.cs: Added Bulk type.

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

16 years agoApply Gert's version of the AutoResetEvent, and merge his test
Miguel de Icaza [Sat, 21 Jul 2007 21:18:51 +0000 (21:18 -0000)]
Apply Gert's version of the AutoResetEvent, and merge his test
into NUnit.

Test3 is known to be buggy (no harm, as our code just reports a
warning from the iolayer)

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

16 years ago2007-07-21 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 21 Jul 2007 19:22:57 +0000 (19:22 -0000)]
2007-07-21  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/TypeReference.cs
  Mono.Cecil/TypeSpecification.cs:
Add a new GetOriginalType () method.

* Mono.Cecil/MethodReference.cs
  Mono.Cecil/MethodSpecification.cs:
Add a new GetOriginalMethod () method.

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

16 years ago2007-07-21 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 21 Jul 2007 16:08:46 +0000 (16:08 -0000)]
2007-07-21  Jb Evain  <jbevain@novell.com>

* Mono.Linker.Steps/SweepStep.cs:
Sweep memberrefs along with the typerefs.

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

16 years agoupdate ToStrings to take sentinels into account
Jb Evain [Sat, 21 Jul 2007 15:34:17 +0000 (15:34 -0000)]
update ToStrings to take sentinels into account

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

16 years ago* DisplayNameAttribute.cs: To match MS, do not change null DisplayName
Gert Driesen [Sat, 21 Jul 2007 13:37:11 +0000 (13:37 -0000)]
* DisplayNameAttribute.cs: To match MS, do not change null DisplayName
to a zero-length string. Modified IsDefaultAttribute to take into
account null DisplayName.
* DisplayNameAttribute.cs: Added ctor tests. Fixed tests to pass on
MS (now that our implementation matches that of MS). Added tests
for Default, GetHashCode and Equals.

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

16 years ago* InstanceDescriptor.cs: Allow null members. Fixed exception messages.
Gert Driesen [Sat, 21 Jul 2007 09:15:36 +0000 (09:15 -0000)]
* InstanceDescriptor.cs: Allow null members. Fixed exception messages.
For properties, do not perform argument check. Fixed Invoke to return
null when member is null or when member is not ctor, method, field or
property (eg. a type). Removed obsolete HasThis method.
* InstanceDescriptorTest.cs: Improved ctor tests. Added tests for
properties and fields.

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

16 years ago* BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
Gert Driesen [Sat, 21 Jul 2007 09:03:40 +0000 (09:03 -0000)]
* BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
of ArgumentOutOfRangeException and ArgumentException ctors that take
both parameter name and message. In ToString throws ArgumentException
instead of ArgumentOutOfRangeException when length is negative, and
return zero-length string when length is 0.
* BitConverterTest.cs: Remove use of deprecated Assertion class.
Improved existing tests to verify throws exception. Create separate
tests for null argument checking. Added tests for empty byte array.

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

16 years ago2007-07-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 21 Jul 2007 00:26:17 +0000 (00:26 -0000)]
2007-07-21  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: clean up the dynamic base directory on domain
shutdown.
2007-07-21  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: ClearDynamicBaseDirectory becomes an
internal method.

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

16 years ago2007-07-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Jul 2007 22:30:46 +0000 (22:30 -0000)]
2007-07-20 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: added more visibility tests
* Makefile: changed again the clean target to work with the larger number of tests
* make_self_nested_test.sh: new visibility tests

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

16 years ago2007-07-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 20 Jul 2007 22:17:18 +0000 (22:17 -0000)]
2007-07-21  Marek Habersack  <mhabersack@novell.com>

* appdomain.c (get_shadow_assembly_location): append the current
ticks value to the path. Avoids overwriting the same assemblies by
several threads at the same time.

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

16 years ago2007-07-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jul 2007 22:10:23 +0000 (22:10 -0000)]
2007-07-20  Jonathan Pobst  <monkey@jpobst.com>

* TreeNode.cs: Implement ToolTipText.
* TreeView.cs: Implement tooltips, NodeMouse* events.

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

16 years ago2007-07-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jul 2007 20:56:39 +0000 (20:56 -0000)]
2007-07-20  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.

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

16 years ago2007-07-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jul 2007 19:56:23 +0000 (19:56 -0000)]
2007-07-20  Jonathan Pobst  <monkey@jpobst.com>

* TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
* TreeView.cs: Use the node's contextmenu[strip] if applicable.

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

16 years agoCommitting patch from Ivan N. Zlatev <contact@i-nz.net>.
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 17:48:34 +0000 (17:48 -0000)]
Committing patch from Ivan N. Zlatev <contact@i-nz.net>.

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

16 years ago2007-07-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jul 2007 17:43:39 +0000 (17:43 -0000)]
2007-07-20  Jonathan Pobst  <monkey@jpobst.com>

* TreeNode.cs: Implement StateImageIndex and StateImageKey.
* TreeView.cs: Implement StateImageList.

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

16 years ago* Form.cs: Don't check if the current form is the active form before
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 17:41:41 +0000 (17:41 -0000)]
* Form.cs: Don't check if the current form is the active form before
  activating it. Fixes #81904.

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

16 years ago* corlib_test.dll.sources: added RuntimeMethodHandleTest.cs.
Gert Driesen [Fri, 20 Jul 2007 17:38:42 +0000 (17:38 -0000)]
* corlib_test.dll.sources: added RuntimeMethodHandleTest.cs.
* RuntimeMethodHandleTest.cs: Added operator and Equals tests.
* MethodInfoTest.cs: Added GetMethodFromHandle test for generic type.

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

16 years ago* Form.cs: Don't check if the current form is the active form before
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 17:00:38 +0000 (17:00 -0000)]
* Form.cs: Don't check if the current form is the active form before
  activating it. Fixes #81904.

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

16 years ago* TreeView.cs: Apply patch from Tyron (tmm@aon.at). Fixes #81847.
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:30:24 +0000 (16:30 -0000)]
* TreeView.cs: Apply patch from Tyron (tmm@aon.at). Fixes #81847.

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

16 years ago* Form.cs: Don't try to position the form after loading if the form was
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:23:59 +0000 (16:23 -0000)]
* Form.cs: Don't try to position the form after loading if the form was
  disposed. Fixes #81969.

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

16 years ago* FormHandleTest.cs: Make a couple of classes public, so that other
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:23:29 +0000 (16:23 -0000)]
* FormHandleTest.cs: Make a couple of classes public, so that other
  tests can use them.
* FormTest.cs: Added tests for #81969.

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

16 years ago* ComboBoxTests.cs, ComboBoxTest.cs: Unified ComboBoxTest.cs and
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:06:13 +0000 (16:06 -0000)]
* ComboBoxTests.cs, ComboBoxTest.cs: Unified ComboBoxTest.cs and
  ComboBoxTests.cs, deleted ComboBoxTests.cs

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

16 years ago* System.Windows.Forms_test.dll.sources: Unified ComboBoxTest.cs and
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:05:36 +0000 (16:05 -0000)]
* System.Windows.Forms_test.dll.sources: Unified ComboBoxTest.cs and
  ComboBoxTests.cs, deleted ComboBoxTests.cs
* SWF2k5-tests.csproj: Updated.

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

16 years ago* PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 14:57:46 +0000 (14:57 -0000)]
* PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  properties. Had to change ToolBar into ToolStrip, which required a
  few #ifs.

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

16 years ago2007-07-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jul 2007 14:19:04 +0000 (14:19 -0000)]
2007-07-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripPainter.cs: Patch from Rolf.  We weren't painting a
Checked button as sunken.  [Fixes bug #82151]

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

16 years ago* MethodInfoTest.cs (GetGenericMethodDefinition): New. Based on
Raja R Harinath [Fri, 20 Jul 2007 13:22:16 +0000 (13:22 -0000)]
* MethodInfoTest.cs (GetGenericMethodDefinition): New.  Based on
Atsushi's testcase in #78068.

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

16 years ago2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
Raja R Harinath [Fri, 20 Jul 2007 13:21:23 +0000 (13:21 -0000)]
2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>
and Raja R Harinath  <rharinath@novell.com>

* icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition):
Simplify slightly.
(ves_icall_MonoMethod_GetGenericMethodDefinition): Update
property for testing if a method is a generic method definition.

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

16 years ago2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Jul 2007 12:55:49 +0000 (12:55 -0000)]
2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* AppDomainSetup.cs : fix serialization regression.

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

16 years ago* PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 10:20:59 +0000 (10:20 -0000)]
* PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  resized, fixes part of #79829 (vertical lines in toolbar).
  PropertyGrid: Refactored Populate* to something that's easier to
  follow at least for me, as well as splitting it up into several new
  methods, required to update only subitems when something has
  changed by a popup editor or listbox. Don't use events to check
  when any values are changed, since the events are unreliable (we're
  changing the objects the events are registered with, and if the
  event handling requires the objects to be immutable (objects stored
  in hashtables for instance), the events will never be raised).
* PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  everytime we change a value, since events are unreliable.
  DropDownButtonClicked: For the same reason don't compare objects to
  check if it has changed or not, it would require all objects to
  derive Equals. Fix dialog location on windows, MS is doing weird
  things when creating parented forms.
* GridEntry.cs: Add a SelectedObject setter.

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

16 years ago2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Jul 2007 09:49:09 +0000 (09:49 -0000)]
2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* AppDomainSetup.cs :
  MonoTODO AppDomainInitializer as its implementation is wrong.

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

16 years ago2007-07-20 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 20 Jul 2007 09:26:57 +0000 (09:26 -0000)]
2007-07-20  Jb Evain  <jbevain@novell.com>

* Mono.Linker.Steps/AdjustVisibilityStep.cs:
Don't change the visibility of the members if the type
is marked internal.

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

16 years ago* Makefile.am (bug-81691.exe): Create it in the builddir.
Raja R Harinath [Fri, 20 Jul 2007 09:15:51 +0000 (09:15 -0000)]
* Makefile.am (bug-81691.exe): Create it in the builddir.

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

16 years ago2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Jul 2007 09:12:32 +0000 (09:12 -0000)]
2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* AppDomainSetup.cs : added missing 2.0 members.
* AppDomain.cs : support AppDomainInitializer.

* AppDomainSetupTest.cs : added test for AppDomainInitializer.

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

16 years ago2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Jul 2007 09:12:08 +0000 (09:12 -0000)]
2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* domain-internals.h : added 2.0 member fields to MonoAppDomainSetup.

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

16 years ago2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Jul 2007 09:04:20 +0000 (09:04 -0000)]
2007-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : I wonder how long its build
  has been broken ...

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

16 years ago2007-07-20 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 20 Jul 2007 08:57:40 +0000 (08:57 -0000)]
2007-07-20  Jb Evain  <jbevain@novell.com>

* Makefile: no need for the deps for installing in 2.1.

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

16 years agosvn path=/trunk/mono/; revision=82331
Rodrigo Kumpera [Thu, 19 Jul 2007 22:56:17 +0000 (22:56 -0000)]
svn path=/trunk/mono/; revision=82331

16 years ago * verify.c: used function from private branch, reverted to the one in class.h
Rodrigo Kumpera [Thu, 19 Jul 2007 22:51:22 +0000 (22:51 -0000)]
* verify.c: used function from private branch, reverted to the one in class.h

2007-07-19  Rodrigo Kumpera  <rkumpera@novell.com>

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

16 years ago * verify.c: a typo slipped in and the code wont compile
Rodrigo Kumpera [Thu, 19 Jul 2007 21:46:55 +0000 (21:46 -0000)]
* verify.c: a typo slipped in and the code wont compile

2007-07-19  Rodrigo Kumpera  <rkumpera@novell.com>

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