mono.git
16 years agomemory_usage: add support for MONO_TYPE_STRING.
Robert Jordan [Tue, 13 Nov 2007 15:05:33 +0000 (15:05 -0000)]
memory_usage: add support for MONO_TYPE_STRING.

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

16 years ago2007-11-13 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Tue, 13 Nov 2007 14:29:45 +0000 (14:29 -0000)]
2007-11-13  Everaldo Canuto  <ecanuto@novell.com>

* Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
the patch. [Fixes #324856]

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

16 years agoenable
Jb Evain [Tue, 13 Nov 2007 14:24:29 +0000 (14:24 -0000)]
enable

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

16 years agoNew test.
Marek Safar [Tue, 13 Nov 2007 14:11:01 +0000 (14:11 -0000)]
New test.

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

16 years agoNew test.
Marek Safar [Tue, 13 Nov 2007 14:09:02 +0000 (14:09 -0000)]
New test.

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

16 years ago2007-11-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Nov 2007 14:08:57 +0000 (14:08 -0000)]
2007-11-13  Marek Habersack  <mhabersack@novell.com>

* data/config.xml: replaced the possibly conflicting default block
names with ones that are less likely to cause conflicts and
modified feature and default config entries to use the new names,
via the defaultBlockName attribute of the section element.

* Mono.MonoConfig/Section.cs: added DefaultBlockName property,
which defaults to Name if not parsed from the XML node.

* Mono.MonoConfig/FeatureNodeHandler.cs: Use the defaultBlockName
attribute when searching for the default sections.

* Mono.MonoConfig/DefaultConfigFileNodeHandler.cs:
Use the defaultBlockName attribute when searching for the default
sections.

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

16 years ago2007-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Nov 2007 14:08:32 +0000 (14:08 -0000)]
2007-11-13  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #341205
  * ecore.cs, expression.cs: Method group expression cannot do static
  method access with an instance reference check before overloading takes
  a place.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 14:04:21 +0000 (14:04 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : in 2.0 it depends on System.Transactions.dll.

* RegistrationException.cs IPlaybackControl.cs
  RegistrationHelperTx.cs IAsyncErrorNotify.cs ITransaction.cs
  IServiceCall.cs IProcessInitControl.cs IProcessInitializer.cs
  ContextUtil.cs ServiceConfig.cs : couple of 2.0 API fixes.

* IClrObjectFactory.cs : 2.0 API fixes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 14:01:22 +0000 (14:01 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: In 2.0 System.EnterpriseServices.dll depends on
  System.Transactions.dll.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 13:31:02 +0000 (13:31 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ToolboxItemCreator.cs, ToolboxService.cs, ToolboxItemContainer.cs:
  couple of 2.0 API fixes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 13:06:19 +0000 (13:06 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* DelegatingConfigHost.cs: 2.0 API fix.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 11:51:37 +0000 (11:51 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs : ... and it exposed some missing attributes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 11:40:41 +0000 (11:40 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDsigExcC14NTransform.cs : removed extra [ComVisible].

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

16 years ago2007-11-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Nov 2007 11:17:25 +0000 (11:17 -0000)]
2007-11-13  Marek Habersack  <mhabersack@novell.com>

* mconfig.cs: better error handling. Print inner exception
message, if any, in addition to the outer one.

* Mono.MonoConfig/Configuration.cs: do not ignore XmlException
when loading configuration files.

* Mono.MonoConfig/DefaultConfigFileNodeHandler.cs: use
DefaultConfigFile.FileName when writing a file or invoking the
OnOverwriteFile event handler.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:33:27 +0000 (10:33 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* GraphicsPath.cs : AddBeziers(Point[]) arg is "params" in 2.0.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:21:58 +0000 (10:21 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpNetworkElement.cs, SmtpSection.cs : added missing 2,0 stuff.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:13:32 +0000 (10:13 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestCachePolicy.cs
  HttpCacheAgeControl.cs
  HttpRequestCacheLevel.cs
  RequestCacheLevel.cs : fixed enum value binary compat to .net.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:11:45 +0000 (10:11 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* NetworkStream.cs : in 2.0 Close() is not needed and does not exist.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 10:06:27 +0000 (10:06 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* WebRequest.cs : added missing ImpersonationLevel (NIE).
* SecurityProtocolType.cs : not [Serializable] in 2.0.
* ServicePoint.cs : no GetHashCode() in 2.0.
* WebRequestMethods.cs : fixed wrong STOU.
* FileWebResponse.cs : no Dispose(true) in 2.0 API.

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

16 years agoNew test.
Marek Safar [Tue, 13 Nov 2007 09:46:42 +0000 (09:46 -0000)]
New test.

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

16 years agoMore tests.
Marek Safar [Tue, 13 Nov 2007 09:46:31 +0000 (09:46 -0000)]
More tests.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:46:19 +0000 (09:46 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* SerialPort.cs :
  Added [DefaultValue]. For PortName it is useless though.
  Do not use ObsoleteAttribute for MonoTODO role.

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

16 years ago2007-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 13 Nov 2007 09:46:13 +0000 (09:46 -0000)]
2007-11-13  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #325359
  * class.cs: Use predictable name for automatically generated property.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:45:56 +0000 (09:45 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs : oops, SessionId was int.

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

16 years agooops.
Atsushi Eno [Tue, 13 Nov 2007 09:37:43 +0000 (09:37 -0000)]
oops.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:29:03 +0000 (09:29 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs : added missing SessionId (NIE).

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:25:55 +0000 (09:25 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigXmlDocument.cs : corcompare cleanup.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 09:25:35 +0000 (09:25 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ResolveNameEventHandler.cs, RootDesignerSerializerAttribute.cs,
  DesignerLoader.cs, SerializationStore.cs : couple of 2.0 API fixes.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 08:58:57 +0000 (08:58 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* AssemblyName.cs : remove extraneous MonoTODO.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 08:41:21 +0000 (08:41 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* ExceptionHandlingClause.cs : implemented ToString().

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 05:33:28 +0000 (05:33 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* MethodBase.cs : (Invoke) removed extra interface implementation.

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

16 years ago2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Nov 2007 05:24:26 +0000 (05:24 -0000)]
2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.

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

16 years ago2007-11-13 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 13 Nov 2007 00:55:13 +0000 (00:55 -0000)]
2007-11-13  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: make the new unit tests pass.

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

16 years ago2007-11-13 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 13 Nov 2007 00:54:47 +0000 (00:54 -0000)]
2007-11-13  Jb Evain  <jbevain@novell.com>

* EnumerableTest.cs: unit tests are good.

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

16 years agoclean
Jb Evain [Tue, 13 Nov 2007 00:53:18 +0000 (00:53 -0000)]
clean

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

16 years ago2007-11-12 David S. Miller <davem@davemloft.net>
Zoltan Varga [Mon, 12 Nov 2007 23:38:46 +0000 (23:38 -0000)]
2007-11-12  David S. Miller  <davem@davemloft.net>

       * inssel-sparc.brg: Fix double instruction emit.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:51:38 +0000 (22:51 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* System.dll.sources: Add System/UriIdnScope.cs.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:50:18 +0000 (22:50 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* UriIdnScope.cs: Compile this in the 2.0 profile as well as this is a NET 3.5 type.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:44:40 +0000 (22:44 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System/GCCollectionMode.cs and System/GCLatencyMode.cs.

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

16 years ago2007-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:44:16 +0000 (22:44 -0000)]
2007-11-13  Zoltan Varga  <vargaz@gmail.com>

* GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.

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

16 years ago2007-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:09:41 +0000 (22:09 -0000)]
2007-11-12  Zoltan Varga  <vargaz@gmail.com>

* invoke.cs: Add tests for invoking the Array Get/Set methods.

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

16 years ago2007-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:07:26 +0000 (22:07 -0000)]
2007-11-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_runtime_invoke): Avoid trying to compile the Array
Get/Set/Address methods.

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

16 years ago2007-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 22:06:02 +0000 (22:06 -0000)]
2007-11-12  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Create a non-shared wrapper for
the array Get/Set/Address methods, since the JIT inlines them.

* metadata-internals.h (MonoImage): Add 'runtime_invoke_direct_cache'.

* image.c (mono_image_close): Free runtime_invoke_direct_cache.
(mono_image_init): Initialize runtime_invoke_direct_cache.

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

16 years ago2007-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 21:09:37 +0000 (21:09 -0000)]
2007-11-12  Zoltan Varga  <vargaz@gmail.com>

* DelegateTest.cs: Add tests for abstract target methods.

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

16 years ago2007-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 21:00:26 +0000 (21:00 -0000)]
2007-11-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c debug-debugger.c mini-trampolines.c: Update after
mono_marshal_get_delegate_invoke signature change.

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

16 years ago2007-11-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 12 Nov 2007 20:58:14 +0000 (20:58 -0000)]
2007-11-12  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): Update after
mono_marshal_get_delegate_invoke signature change.

* marshal.c (mono_marshal_get_delegate_invoke): Receive the target_method as
an additional argument. Add support for invoking abstract methods.

* metadata-internals.h (MonoImage): Add 'delegate_abstract_invoke_cache'.

* image.c (mono_image_close): Free delegate_abstract_invoke_cache.

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

16 years ago2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 12 Nov 2007 19:51:47 +0000 (19:51 -0000)]
2007-11-12 Rodrigo Kumpera  <rkumpera@novell.com>

* bug-322722_patch_bx.2.cs : Added test for bug #322722.

* bug-322722_dyn_method_throw.2.cs: Same.

* Makefile.am: Added the two tests for bug #322722.

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

16 years ago2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 12 Nov 2007 19:34:31 +0000 (19:34 -0000)]
2007-11-12  Rodrigo Kumpera  <rkumpera@novell.com>

* cpu-arm.md: Increase the max size of OP_THROW to 24 bytes.
This can happens with dynamic methods. Fixes the other bug in #322722.

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

16 years ago2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 12 Nov 2007 19:31:15 +0000 (19:31 -0000)]
2007-11-12  Rodrigo Kumpera  <rkumpera@novell.com>

* tramp-arm.c (mono_arch_patch_callsite): Support patching
BX call sequence.

* mini-arm.c (arm_patch): Implement patching of BX call
sequence. Fixes one of the bugs in #322722.

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

16 years agoNew test.
Marek Safar [Mon, 12 Nov 2007 18:51:45 +0000 (18:51 -0000)]
New test.

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

16 years agoMore tests.
Marek Safar [Mon, 12 Nov 2007 18:50:55 +0000 (18:50 -0000)]
More tests.

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

16 years ago2007-11-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 12 Nov 2007 18:50:16 +0000 (18:50 -0000)]
2007-11-12  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #324996
  * expression.cs (Is): Handle case where D is nullable and T is not
  correctly.

  * generics.cs (Nullable.HasValue): Nullable HasValue expression.

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 17:28:05 +0000 (17:28 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added S.R.InteropSvcs.ComTypes types.

* ADVF.cs DATADIR.cs DVASPECT.cs FORMATETC.cs IAdviseSink.cs
  IDataObject.cs IEnumFORMATETC.cs IEnumSTATDATA.cs STATDATA.cs
  STGMEDIUM.cs TYMED.cs : initial checkin.

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

16 years agoNew tests.
Marek Safar [Mon, 12 Nov 2007 16:04:40 +0000 (16:04 -0000)]
New tests.

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

16 years ago2007-11-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 12 Nov 2007 16:04:09 +0000 (16:04 -0000)]
2007-11-12  Marek Safar  <marek.safar@gmail.com>

  * generic.cs, literal.cs, ecore.cs, class.cs, delegate.cs, const.cs,
  anonymous.cs, expression.cs, attribute.cs, codegen.cs, statement.cs:
  Flush small error reporting changes.

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

16 years ago2007-11-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 12 Nov 2007 14:45:12 +0000 (14:45 -0000)]
2007-11-12 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
according to the tests, GetResourseUrl never returns null.

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

16 years ago2007-11-12 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 12 Nov 2007 14:40:44 +0000 (14:40 -0000)]
2007-11-12  Marek Habersack  <mhabersack@novell.com>

* Makefile (LOCAL_MCS_FLAGS): Mono.GetOptions.dll is not needed.

* Mono.MonoConfig/FeatureAction.cs: extracted command execution
code to a separate method.
Script code must be flushed before passing it to the shell.
Implemented Exec action support.

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

16 years ago2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 12 Nov 2007 14:34:56 +0000 (14:34 -0000)]
2007-11-12  Sebastien Pouliot  <sebastien@ximian.com>

* ColorTranslator.cs: Add test case for #340917 (LightGrey).

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

16 years ago2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 12 Nov 2007 14:28:21 +0000 (14:28 -0000)]
2007-11-12  Sebastien Pouliot  <sebastien@ximian.com>

* ColorTranslator.cs: Special case handling for LightGray versus
HTML's LightGrey. Fix bug #340917.

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

16 years ago * ListView.cs:
Carlos Alberto Cortez [Mon, 12 Nov 2007 13:18:44 +0000 (13:18 -0000)]
* ListView.cs:
* ListViewItem.cs: Add an initial implementation of
2.0 ListViewItem.Position getter.

2007-11-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-11-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 12 Nov 2007 12:53:09 +0000 (12:53 -0000)]
2007-11-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Add a reordered_items_indices array, to allow us
to have a different sorting than that of Items (the sorting in Items
could not match the actual sorting in screen). This is needed to
implement a pair of 2.0 features.
* ListViewItem.cs: Add a DisplayIndex property to keep track of the
actual position in the ListView grid, since it could have a position
different than its Index (position in ListViewItemCollection).

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

16 years ago2007-11-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 12 Nov 2007 12:21:22 +0000 (12:21 -0000)]
2007-11-12 Igor Zelmanovich <igorz@mainsoft.com>

* AssemblyResourceLoader.cs:
optimize performance of WebResource/ScriptResource feature.
All resource urls are cached for each assembly instead to be
calculated each time when GetWebResourceUrl is called

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

16 years agoanother try to pass the tests
Stephane Delcroix [Mon, 12 Nov 2007 12:21:03 +0000 (12:21 -0000)]
another try to pass the tests

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

16 years agowww.go-mono.com changed ip address.
Paolo Molaro [Mon, 12 Nov 2007 10:50:55 +0000 (10:50 -0000)]
www.go-mono.com changed ip address.

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

16 years agore-enabling a modified test. Will see if it still produces errors on the buildsystem
Stephane Delcroix [Mon, 12 Nov 2007 10:25:21 +0000 (10:25 -0000)]
re-enabling a modified test. Will see if it still produces errors on the buildsystem

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 09:40:14 +0000 (09:40 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : implement GetValueChangedHandler().
* ToolboxItemFilterAttribute.cs : implement ToString().

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 08:36:07 +0000 (08:36 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatter.cs : revert previous two changes. It does not
  really work for float and hence will rather bring confusion.

* DoubleTest.cs : reverted the corresponding fix, so mark the
  previous test as NotWorking.
* SingleTest.cs : added similar test for previous one.

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

16 years agoCredit Hubert on the patch, sorry to have forgotten about it
Marek Habersack [Mon, 12 Nov 2007 08:34:32 +0000 (08:34 -0000)]
Credit Hubert on the patch, sorry to have forgotten about it

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 07:29:03 +0000 (07:29 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatter.cs : limit the situation that needs roundtrip
  verification in the previous change to Double.

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 07:03:35 +0000 (07:03 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* NumberFormatter.cs : applied a quick fix for bug #320433. It needs
  true fix to avoid extra perf. loss.

* DoubleTest.cs : added test for bug #320433.

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 05:03:44 +0000 (05:03 -0000)]
2007-11-12  Atsushi Enomoto  <atsushi@ximian.com>

* SoapHttpClientProtocol.cs : compare content-type in case-
  insensitive manner. Fixed bug #325277.

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

16 years ago2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Nov 2007 00:55:56 +0000 (00:55 -0000)]
2007-11-12  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidator.cs : XmlValueGetter actually needs string value
  to validate against a restricted simple type (beyond ParseValue()).
  Fixed bug #339934.

* XsdValidatingReaderTests.cs : added test for #339934.

in Test/System.Xml.Schema/standalone_tests:
* Makefile : now we try both default and 2.0 profile tests (i.e.
  "make run-test" and "make PROFILE=net_2_0").
  For 2.0, use XmlReader.Create().

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

16 years agoFix for bingind procedure parameters by name rather than position contributed by...
Leszek 'skolima' Ciesielski [Sun, 11 Nov 2007 18:36:36 +0000 (18:36 -0000)]
Fix for bingind procedure parameters by name rather than position contributed by Gary Thomas

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

16 years ago* ResourceWriterTest.cs: Added ctor tests. Added tests for AddResource
Gert Driesen [Sat, 10 Nov 2007 19:10:06 +0000 (19:10 -0000)]
* ResourceWriterTest.cs: Added ctor tests. Added tests for AddResource
overloads. Added test for argument null checks. Added test for bug
#339074. Added test for invoking Generate () multiple times.
* ResourceWriter.cs: On 2.0 profile, use case-insensitive SortedList.
Changed exception messages and params to match MS. Allow null values
in AddResource overloads. In Dispose (bool), also generate resources
(header) if no resources were added. Fixes bug #339074. When Generate
is done, reset resources to null to prevent further editing.  This
also avoids the need for a separate bool to indicate whether generate
was already invoked. Code formatting.

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

16 years ago2007-11-03 David S. Miller <davem@davemloft.net>
Zoltan Varga [Sat, 10 Nov 2007 15:22:00 +0000 (15:22 -0000)]
2007-11-03  David S. Miller  <davem@davemloft.net>

       * sparc/sparc-codegen.h (sparc_set32, sparc_set): A plain sethi
       can be used if the constant value only has the top 22 bits set.

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

16 years ago2007-11-03 David S. Miller <davem@huronp11.davemloft.net>
Zoltan Varga [Sat, 10 Nov 2007 15:18:19 +0000 (15:18 -0000)]
2007-11-03  David S. Miller  <davem@huronp11.davemloft.net>

       * mini-sparc.c (mono_arch_flush_icache): Make more efficient
       under Linux.  We only need to flush every 32-byte cache line.

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

16 years ago* Tds.cs: Round milliseconds for datetime. Fixes part of bug #323646.
Gert Driesen [Sat, 10 Nov 2007 10:13:18 +0000 (10:13 -0000)]
* Tds.cs: Round milliseconds for datetime. Fixes part of bug #323646.
* Tds70.cs: Include milliseconds for datetime parameters. Fixes part
of bug #323646.

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

16 years ago2007-11-10 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 10 Nov 2007 02:11:19 +0000 (02:11 -0000)]
2007-11-10  Alp Toker  <alp@atoker.com>

* samples/embed/teste.c: Add a newline at the end of this printf()

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

16 years ago2007-11-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 10 Nov 2007 02:05:07 +0000 (02:05 -0000)]
2007-11-10  Marek Habersack  <mhabersack@novell.com>

* Mono.MonoConfig/Helpers.cs: added a method for breaking long
text lines to fit them within the console window.

* Mono.MonoConfig/FeatureNode.cs: added support for feature
actions.

* Mono.MonoConfig/FeatureNodeHandler.cs: added support for feature
actions.

* Mono.MonoConfig/FeatureAction.cs: added

* mconfig.exe.sources: added Mono.MonoConfig/FeatureAction.cs

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

16 years ago2007-11-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 Nov 2007 21:24:04 +0000 (21:24 -0000)]
2007-11-09  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: Add StringFormatFlags.LineLimit.  This tells DrawString to
not draw partial lines.
* LinkLabel.cs: Change FormatFlags setter from = to |= so that the
LineLimit flag from the base is preserved.
Fixes the windows part of bug #338965.

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

16 years ago2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 9 Nov 2007 20:04:00 +0000 (20:04 -0000)]
2007-11-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.

link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
Thanks Laurenz Albe & Erich Lerch for their patch!

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

16 years ago2007-11-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 9 Nov 2007 20:01:46 +0000 (20:01 -0000)]
2007-11-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.

link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
Thanks Laurenz Albe & Erich Lerch for their patch!

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

16 years agoRemoved windows only tests.
Marek Safar [Fri, 9 Nov 2007 16:46:04 +0000 (16:46 -0000)]
Removed windows only tests.

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

16 years agoNew test.
Marek Safar [Fri, 9 Nov 2007 16:09:06 +0000 (16:09 -0000)]
New test.

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

16 years agoNew tests.
Marek Safar [Fri, 9 Nov 2007 15:53:01 +0000 (15:53 -0000)]
New tests.

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

16 years ago2007-11-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 9 Nov 2007 15:52:37 +0000 (15:52 -0000)]
2007-11-09  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #324996
  * expression.cs: Rewrote Is expression implementation to work with
  generics, nullable types, anonymous method. A const result expression
  uses existing infrastructure instead of custom not fully-featured one.

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

16 years agoNew tests.
Marek Safar [Fri, 9 Nov 2007 15:46:59 +0000 (15:46 -0000)]
New tests.

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

16 years ago2007-11-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 9 Nov 2007 15:14:03 +0000 (15:14 -0000)]
2007-11-09  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
so that it can be canceled in KeyPress.
Fixes bug #340078.

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

16 years ago2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Nov 2007 14:45:31 +0000 (14:45 -0000)]
2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* SoapDocumentationHandler.cs : handle 'schema' HTTP parameter like
  "...blah.asmx?schema=MySchemaID". (Such URL does not work yet.)

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

16 years agoformatting
Marek Habersack [Fri, 9 Nov 2007 13:47:37 +0000 (13:47 -0000)]
formatting

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

16 years ago2007-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 Nov 2007 12:59:54 +0000 (12:59 -0000)]
2007-11-09  Marek Habersack  <mhabersack@novell.com>

* SmtpClient.cs: Connect only after reading in the fields that may
specify the port to connect to. Fixes bug #340501.

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

16 years ago2007-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 Nov 2007 12:52:21 +0000 (12:52 -0000)]
2007-11-09  Marek Habersack  <mhabersack@novell.com>

* SmtpClient.cs: formatting

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

16 years ago2007-11-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 9 Nov 2007 12:38:49 +0000 (12:38 -0000)]
2007-11-09  Marek Habersack  <mhabersack@novell.com>

* Mono.MonoConfig/FeatureNodeHandler.cs: added support for feature
descriptions.

* Mono.MonoConfig/FeatureNode.cs: a new container for the
'feature' block data.

* data/config.xml: feature storage type has changed.

* mconfig.exe.sources: added Mono.MonoConfig/FeatureNode.cs

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

16 years ago2007-11-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Nov 2007 10:42:46 +0000 (10:42 -0000)]
2007-11-09  Mark Probst  <mark.probst@gmail.com>

* class.c: Do field layout for open generic classes as well.

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

16 years ago2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Nov 2007 10:12:48 +0000 (10:12 -0000)]
2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTypeMapping.cs : to get schema provider method, check base
  types as well (i.e. FlattenHierarchy). Otherwise typed DataSet
  cannot be reflected in 2.0.

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

16 years ago2007-11-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 9 Nov 2007 09:37:12 +0000 (09:37 -0000)]
2007-11-09  Mark Probst  <mark.probst@gmail.com>

* gc.c, gc-internal.h: Don't finalize threadpool threads with
other objects, because the threadpool is still around.  Put them
in a list instead and after finalizing all other objects in the
root domain shut down the thread pool and then finalize the
threads.  Fixes bug #337383.

* threads.c, thread-types.h: New mono_thread_create_internal()
function for marking a thread with the threadpool flag before it
started.  Set synch_cs to NULL after freeing it.

* threadpool.c: Mark threadpool threads before they start.

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

16 years ago2007-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 9 Nov 2007 08:48:09 +0000 (08:48 -0000)]
2007-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
  allow more strings than existing one. Fixed bug #339004.

* XmlConvertTests.cs : added test for #339004 and more.

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

16 years ago2007-11-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 9 Nov 2007 04:11:39 +0000 (04:11 -0000)]
2007-11-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ItemControl, reset mouse-handling related
fields even if we dont' have items (we still should reset them when
we had items but then called Items.Clear). Partially based in a patch
by George Giolfan.
Fixes #338399.

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

16 years ago2007-11-09 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 8 Nov 2007 23:09:44 +0000 (23:09 -0000)]
2007-11-09  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: refactor the ArgumentNullException checks.

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

16 years ago2007-11-08 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 8 Nov 2007 22:17:20 +0000 (22:17 -0000)]
2007-11-08  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: Implement SequenceEqual.

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