mono.git
16 years ago2007-07-24 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Tue, 24 Jul 2007 06:41:33 +0000 (06:41 -0000)]
2007-07-24  Nagappan A  <anagappan@novell.com>

* TdsMetaParameter.cs (Prepare): Fixes Large strings truncated
with SqlClient - Bug # 82170.

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

16 years agomissed a NET_2_0
Jonathan Pobst [Mon, 23 Jul 2007 20:47:38 +0000 (20:47 -0000)]
missed a NET_2_0

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

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

* LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.

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

16 years agoblah
Jb Evain [Mon, 23 Jul 2007 19:54:26 +0000 (19:54 -0000)]
blah

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

16 years ago* DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 17:48:49 +0000 (17:48 -0000)]
* DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  DataGridViewSelectedColumnCollection.cs,
  DataGridViewSelectedRowCollection.cs: Corcompare work.

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

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

* class.c, metadata.c, class-internals.h: introduce yet another
generics global cache for inflated methods (fixes 98% of the perf
issue in bug #81806).

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

16 years ago2007-07-23 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 23 Jul 2007 16:26:59 +0000 (16:26 -0000)]
2007-07-23  Miguel de Icaza  <miguel@novell.com>

* expression.cs (Binary): Add support for the brain-dead CSC 2.x
feature that allows structs to be compared against null and inline
the result as true or false.

Notice that the same code is not permitted inside a generic block
of code that would do:

class Foo<T> where T : struct {
    bool Eval (T x)
    {
         return x == null;
    }
}

It is only allowed if the type of T is not bound (no where
clause).   In my opinion, this CSC 2 behavior is broken but people
seem to be using it (IronRuby does, a few bug reports on bugzilla
have it and some people have complained about it).

All of the users that depend on this behavior have code that is
very likely broken.

* report.cs (Warning, Error): make these take object arguments,
not strings, as that allows us to take advantage of Format.

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

16 years agoimplemented session support
Konstantin Triger [Mon, 23 Jul 2007 16:03:00 +0000 (16:03 -0000)]
implemented session support

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

16 years agorefactoring
Konstantin Triger [Mon, 23 Jul 2007 16:01:45 +0000 (16:01 -0000)]
refactoring

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

16 years agoFix #81035 -- avoid allocating MonoGenericInsts willy-nilly
Raja R Harinath [Mon, 23 Jul 2007 15:23:15 +0000 (15:23 -0000)]
Fix #81035 -- avoid allocating MonoGenericInsts willy-nilly

* metadata.c (mono_metadata_lookup_generic_inst): Kill.
(mono_metadata_get_generic_inst): New.  Given a list of MonoType*,
return a MonoGenericInst containing (a copy) of those types.
(mono_metadata_inflate_generic_inst): Update to changes.
(mono_metadata_parse_generic_inst): Likewise.
(mono_get_shared_generic_inst): Likewise.
* reflection.c (mono_class_bind_generic_parameters): Likewise.
(mono_reflection_bind_generic_method_parameters): Likewise.
* metadata-internals.h: Likewise.
* icall.c (free_generic_context): Kill.
(init_generic_context_from_args): Use mono_metadata_get_generic_inst.

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

16 years agoAnd also, enable LINQ
Miguel de Icaza [Mon, 23 Jul 2007 15:17:20 +0000 (15:17 -0000)]
And also, enable LINQ

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

16 years agoAlso reference Silverlight assemblies by default
Miguel de Icaza [Mon, 23 Jul 2007 15:13:59 +0000 (15:13 -0000)]
Also reference Silverlight assemblies by default

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

16 years ago2007-07-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 23 Jul 2007 14:59:17 +0000 (14:59 -0000)]
2007-07-23  Jonathan Pobst  <monkey@jpobst.com>

* PrintDialog.cs: Stub UseEXDialog.  I chose to stub this because
it is autoset by VS2005 designer and the effect is barely noticeable.

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

16 years ago2007-07-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 23 Jul 2007 14:39:22 +0000 (14:39 -0000)]
2007-07-28 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: refactoring: __doPostBack client script
It is a part of adapting System.Web to work whith
System.Web.Extensions (AJAX).

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

16 years ago2007-07-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 23 Jul 2007 14:35:26 +0000 (14:35 -0000)]
2007-07-23  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Implement HitTest.

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

16 years ago* System.Windows.Forms_test.dll.sources: Added
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:33:00 +0000 (14:33 -0000)]
* System.Windows.Forms_test.dll.sources: Added
  ArrangedElementCollectionTest.cs

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

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