mono.git
16 years agocoree.c: Add MonoLoadImage. Contributed under MIT/X11 license.
Kornél Pál [Mon, 30 Jun 2008 08:32:14 +0000 (08:32 -0000)]
coree.c: Add MonoLoadImage.  Contributed under MIT/X11 license.

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

16 years ago2008-06-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 30 Jun 2008 08:21:13 +0000 (08:21 -0000)]
2008-06-30  Marek Habersack  <mhabersack@novell.com>

* HttpContext.cs: GetGlobalObjectFromFactory caches the
ResourceManager objects now. Patch from Zoltan Varga
<vargaz@gmail.com>, thanks!
The GetGlobalObjectFromFactory caches are thread local to avoid
locking.
GetResourceObject ResourceManager cache is now a thread local
Dictionary to avoid cloning.

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

16 years ago2008-06-30 Alp Toker <alp@nuanti.com>
Alp Toker [Mon, 30 Jun 2008 06:18:30 +0000 (06:18 -0000)]
2008-06-30  Alp Toker  <alp@nuanti.com>

* configure.in:
* acinclude.m4: Remove concatenation syntax from doltlibtool to support
old versions of bash and re-enable dolt.

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

16 years ago2008-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 30 Jun 2008 01:17:59 +0000 (01:17 -0000)]
2008-06-29  Zoltan Varga  <vargaz@gmail.com>

* MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
cases.

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

16 years ago2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 29 Jun 2008 22:31:26 +0000 (22:31 -0000)]
2008-06-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Char.cs: Fix formatting, rename wrong named param, remove code duplication

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

16 years agoUpdate README
Miguel de Icaza [Sun, 29 Jun 2008 17:16:16 +0000 (17:16 -0000)]
Update README

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

16 years agoIn .:
Rodrigo Kumpera [Sun, 29 Jun 2008 15:34:35 +0000 (15:34 -0000)]
In .:
2008-06-26 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_System_ValueType_Equals): Avoid allocating objects
for any primitive type.

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

16 years agoIn .:
Rodrigo Kumpera [Sun, 29 Jun 2008 15:18:37 +0000 (15:18 -0000)]
In .:
2008-06-29  Rodrigo Kumpera  <rkumpera@novell.com>

* valuetype-equals.cs: Tests for ValueType::Equals for all
primitive numeric types.

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

16 years ago2008-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 05:59:15 +0000 (05:59 -0000)]
2008-06-29  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_array_new_specific): Optimize this and the other allocation
functions a bit.

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

16 years agoUpdate docs
Miguel de Icaza [Sun, 29 Jun 2008 05:10:16 +0000 (05:10 -0000)]
Update docs

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

16 years ago2008-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 04:46:48 +0000 (04:46 -0000)]
2008-06-29  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_parse_debug_options): Add 'dont-free-domains' option.

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

16 years ago2008-06-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 04:46:16 +0000 (04:46 -0000)]
2008-06-29  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_create_runtime_vtable): Use typed allocation in other
domains too if mono_dont_free_domains is set.

* domain-internals.h (mono_dont_free_domains): New internal option controlling
whenever to free appdomain data after it has been unloaded.

* domain.c (mono_domain_free): Don't free appdomain data if the option is set.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 02:40:31 +0000 (02:40 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* Enum.cs (GetUnderlyingType): Implement this using an icall.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 02:39:19 +0000 (02:39 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Enum_get_underlying_type): New icall.
(mono_method_get_equivalent_method): Fix a warning.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 02:01:27 +0000 (02:01 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* CompareInfo.cs: Add a cache of SimpleCollator objects.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 01:51:54 +0000 (01:51 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* DataTable.cs (NewRowArray): Avoid using reflection if possible.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 01:50:57 +0000 (01:50 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* Enum.cs (Format): Call IsDefined with inherited=false.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Jun 2008 00:04:37 +0000 (00:04 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* Exception.cs: Fix a warning.

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

16 years agoDocument more stuff, fix .Sp macro
Miguel de Icaza [Sat, 28 Jun 2008 21:13:44 +0000 (21:13 -0000)]
Document more stuff, fix .Sp macro

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

16 years agoDocument an undocumented interface based on the commit message
Miguel de Icaza [Sat, 28 Jun 2008 20:53:19 +0000 (20:53 -0000)]
Document an undocumented interface based on the commit message

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

16 years agoWhen offloading flushing to the writer thread, first check that it still exists.
Massimiliano Mantione [Sat, 28 Jun 2008 20:21:44 +0000 (20:21 -0000)]
When offloading flushing to the writer thread, first check that it still exists.

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

16 years ago2008-06-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 28 Jun 2008 19:22:09 +0000 (19:22 -0000)]
2008-06-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlDecryptionTransform.cs,
* XmlDsigC14NTransform.cs,
* XmlDsigEnvelopedSignatureTransform.cs,
* XmlDsigExcC14NTransform.cs,
* XmlDsigXsltTransform.cs: Replace Type.GetType("x") into typeof(x)
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]

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

16 years ago2008-06-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 28 Jun 2008 18:10:41 +0000 (18:10 -0000)]
2008-06-28  Sebastien Pouliot  <sebastien@ximian.com>
* Mono.Cecil.dll.sources
* Mono.Xml/MiniParser.cs:
Remove MiniParser as it is no more required (replaced by
SmallXmlParser) and save a few KB in the binary size

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

16 years agoSeal non-visible classes.
Sebastien Pouliot [Sat, 28 Jun 2008 18:08:33 +0000 (18:08 -0000)]
Seal non-visible classes.

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

16 years ago2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 28 Jun 2008 17:33:27 +0000 (17:33 -0000)]
2008-06-28  Ivan N. Zlatev  <contact@i-nz.net>

* Control.cs: Add an internal virtual OnDragDropEnd method
to allow controls such as ListBox, which depend on a sequence
of MouseDown+Move+End events, to handle the lack of a MouseUp
when a DnD operation is started in MouseDown.
* ListBox.cs: If a DnD operation is started in MouseDown we won't
get a MouseUp, so reset our state whenever a DnD operation ends.

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

16 years ago2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 28 Jun 2008 17:19:54 +0000 (17:19 -0000)]
2008-06-28  Ivan N. Zlatev  <contact@i-nz.net>

* CodeDomDesignerLoader.cs: Add the supplied TypeResolutionService
to the service container if one isn't present already.

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

16 years agoSeal non-visible classes.
Sebastien Pouliot [Sat, 28 Jun 2008 17:19:40 +0000 (17:19 -0000)]
Seal non-visible classes.

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

16 years ago2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 28 Jun 2008 17:19:17 +0000 (17:19 -0000)]
2008-06-28  Ivan N. Zlatev  <contact@i-nz.net>

* DesignSurfaceManager.cs: Set the ActiveSurface only if it
differs from the current one.

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

16 years agoSeal non-visible classes.
Sebastien Pouliot [Sat, 28 Jun 2008 17:18:40 +0000 (17:18 -0000)]
Seal non-visible classes.

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

16 years ago2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 28 Jun 2008 17:18:01 +0000 (17:18 -0000)]
2008-06-28  Ivan N. Zlatev  <contact@i-nz.net>

* DesignerHost.cs: Surpress remove events when unloading.

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

16 years agoSeal non-visible classes.
Sebastien Pouliot [Sat, 28 Jun 2008 17:17:11 +0000 (17:17 -0000)]
Seal non-visible classes.

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

16 years agoSeal non-visible classes.
Sebastien Pouliot [Sat, 28 Jun 2008 17:15:21 +0000 (17:15 -0000)]
Seal non-visible classes.

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

16 years agoSeal non-visible classes.
Sebastien Pouliot [Sat, 28 Jun 2008 17:13:29 +0000 (17:13 -0000)]
Seal non-visible classes.

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

16 years agoIn .:
Rodrigo Kumpera [Sat, 28 Jun 2008 17:10:47 +0000 (17:10 -0000)]
In .:
2008-06-28  Rodrigo Kumpera  <rkumpera@novell.com>

* ResourceReader.cs (LoadResourceValues): Kill ununsed local.

* ResourceReader.cs (CreateResourceInfo): Don't return a big
struct on stack, pass it as a reference argument.

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

16 years agoMono.Cecil/AssemblyNameReference.cs: Use String.Length > 0 instead of comparing to...
Sebastien Pouliot [Sat, 28 Jun 2008 16:49:27 +0000 (16:49 -0000)]
Mono.Cecil/AssemblyNameReference.cs: Use String.Length > 0 instead of comparing to String.Empty

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

16 years agoMono.Cecil.Metadata/MetadataToken.cs: Add a private Equals(MetadataToken) method...
Sebastien Pouliot [Sat, 28 Jun 2008 16:30:45 +0000 (16:30 -0000)]
Mono.Cecil.Metadata/MetadataToken.cs: Add a private Equals(MetadataToken) method. This allows the existing operators (== and !=) to avoid boxing, since they will prefer it to the Equals(object) method.

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

16 years agoOffload more flushing to the writer thread, and fix the shutdown sequence.
Massimiliano Mantione [Sat, 28 Jun 2008 16:15:35 +0000 (16:15 -0000)]
Offload more flushing to the writer thread, and fix the shutdown sequence.

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

16 years agoMono.Cecil.Cil/GuidAttribute.cs: Seal attribute class
Sebastien Pouliot [Sat, 28 Jun 2008 16:04:10 +0000 (16:04 -0000)]
Mono.Cecil.Cil/GuidAttribute.cs: Seal attribute class

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

16 years agoMono.Cecil.Signatures/SignatureWriter.cs: Fix typo.
Sebastien Pouliot [Sat, 28 Jun 2008 15:52:00 +0000 (15:52 -0000)]
Mono.Cecil.Signatures/SignatureWriter.cs: Fix typo.

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

16 years ago2008-06-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Jun 2008 04:15:52 +0000 (04:15 -0000)]
2008-06-28  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_message_init): Avoid looking up array types for each call.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Jun 2008 03:49:27 +0000 (03:49 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_message_invoke): Avoid looking up the object[] type for each
call.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Jun 2008 03:35:26 +0000 (03:35 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* Control.cs (ResolveAdapter): Avoid calling the Context property getter
multiple times.

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

16 years agoIn .:
Rodrigo Kumpera [Sat, 28 Jun 2008 03:18:14 +0000 (03:18 -0000)]
In .:
2008-06-27  Rodrigo Kumpera  <rkumpera@novell.com>

* ResourceReader.cs: Avoid an extra array copy for the resource arrays.

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

16 years agoMade so that at appdomain unload the buffers are flushed by the profiler worker threa...
Massimiliano Mantione [Sat, 28 Jun 2008 03:07:21 +0000 (03:07 -0000)]
Made so that at appdomain unload the buffers are flushed by the profiler worker thread (which we know is registered with the runtime).

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

16 years ago2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 28 Jun 2008 00:38:05 +0000 (00:38 -0000)]
2008-06-28  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Clear the root griditem first thing when
new object/s is/are selected. Fixes some rare cases where
the View will get a paint request and won't know that the
grid is in the process of repopulating.

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

16 years ago2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 28 Jun 2008 00:07:56 +0000 (00:07 -0000)]
2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>

        * ConfigurationErrorsExceptionTest.cs : actually
          remove ignored tests.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 23:51:28 +0000 (23:51 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_ValueType_Equals): Optimize the comparison of enums
even more.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 23:23:39 +0000 (23:23 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* ResourceManager.cs: Add a negative cache for culture->resource set mappings
which caches lookup failures.

* ResourceSet.cs (GetObjectInternal): Search the hash table in the ignoreCase
case too.

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

16 years agoIn .:
Rodrigo Kumpera [Fri, 27 Jun 2008 22:11:22 +0000 (22:11 -0000)]
In .:
2008-06-27 Rodrigo Kumpera  <rkumpera@novell.com>

* CodePointIndexer.cs : Make TableRange a struct instead
of a class so we save 2 memory ops per ToIndex loop.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 21:44:47 +0000 (21:44 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.

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

16 years agoIn .:
Rodrigo Kumpera [Fri, 27 Jun 2008 21:12:10 +0000 (21:12 -0000)]
In .:
2008-06-27  Rodrigo Kumpera  <rkumpera@novell.com>

* Exception.cs: Build method traces using the
stack trace StringBuilder.

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

16 years ago2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Jun 2008 21:03:18 +0000 (21:03 -0000)]
2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>

        * SectionInfo.cs, Configuration.cs, ConfigInfo.cs,
          SectionGroupInfo.cs :
          eliminate XmlTextReader, first stage.

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

16 years agotoo silly to document.
Atsushi Eno [Fri, 27 Jun 2008 20:56:26 +0000 (20:56 -0000)]
too silly to document.

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

16 years ago2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Jun 2008 20:45:49 +0000 (20:45 -0000)]
2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>

        * ConfigurationErrorsException.cs : recover from
          silly change that tries to prevent debuggin by
          decreasing error location information.

        * ConfigurationErrorsExceptionTest.cs : mark couple
          of tests as [Ignore] that blocks us from decent
          implementation in the name of silly .NET compatibility.

        Maybe I'll remove more silliness later.

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

16 years agoIn .:
Rodrigo Kumpera [Fri, 27 Jun 2008 20:45:31 +0000 (20:45 -0000)]
In .:
2008-06-27  Rodrigo Kumpera <rkumpera@novell.com>

* MethodBase.cs: Added tests for GetMethodFromToken.

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

16 years ago2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 27 Jun 2008 19:56:07 +0000 (19:56 -0000)]
2008-06-27  Sebastien Pouliot  <sebastien@ximian.com>

* TestRegion.cs: Add test case for #402613 to verify Exclude.
Based on Jan Krajicek's code supplied inside the bug report.

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

16 years ago2008-06-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Jun 2008 19:54:09 +0000 (19:54 -0000)]
2008-06-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #401020

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

16 years ago2008-06-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Jun 2008 19:53:37 +0000 (19:53 -0000)]
2008-06-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #401020
* ecore.cs: Both types and modifiers have to match for ref and out arguments

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

16 years ago2008-06-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Jun 2008 18:34:55 +0000 (18:34 -0000)]
2008-06-27  Marek Safar  <marek.safar@gmail.com>

A test for bug #398319

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

16 years ago2008-06-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Jun 2008 18:34:15 +0000 (18:34 -0000)]
2008-06-27  Marek Safar  <marek.safar@gmail.com>

A fix for bug #398319
* cs-parser.jay: Implemented undocumented base access expression inside
anonymous types.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 18:30:55 +0000 (18:30 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Don't pass a gsctx to
get_this_arg_from_call, let it compute it when needed.

* mini-amd64.c (mono_arch_get_this_arg_reg): Add a 'code' argument, compute
gsctx from code only when needed.

* mini-trampolines.c (get_generic_context): Rename this to
mono_get_generic_context_from_code (), and move it to generic-sharing.c, where
it can be called by the arch backends.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 18:13:31 +0000 (18:13 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* TemplateControl.cs: Avoid collecting the automatic event info for each
instance.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 17:19:32 +0000 (17:19 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_get_fields): Avoid calling setup_fields_locking () for
each iteration.

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

16 years agoAdd support for Parallel Marking in Boehm's GC
Marek Habersack [Fri, 27 Jun 2008 17:04:17 +0000 (17:04 -0000)]
Add support for Parallel Marking in Boehm's GC

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

16 years ago2008-06-27 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 27 Jun 2008 16:13:12 +0000 (16:13 -0000)]
2008-06-27  Dick Porter  <dick@ximian.com>

* processes.c: Implement a form of process pseudo-handle to allow
non-mono processes to be manipulated.  Fixes bug 313231.

* wait.c: Check for process pseudo-handles and fail if an attempt
is made to wait on one.

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

16 years ago2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Jun 2008 16:07:37 +0000 (16:07 -0000)]
2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>

        * AggregateCacheDependencyTest.cs: mark wrong, timing-
          dependent test as "Ignore".

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

16 years ago* OracleDataAdapter_FillSchema_DsSt.cs: Ignore tests when not compiled
Gert Driesen [Fri, 27 Jun 2008 15:43:02 +0000 (15:43 -0000)]
* OracleDataAdapter_FillSchema_DsSt.cs: Ignore tests when not compiled
for JVM. Fixes buildbot test failure.
* OracleDataAdapter_GetFillParameters.cs: Ignore tests when not
compiled for JVM. Fixes buildbot test failure.
* OracleDataReader_NextResult.cs: Ignore tests when not compiled for
JVM. Fixes buildbot test failures.

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

16 years agoIn System.Web:
Robert Jordan [Fri, 27 Jun 2008 13:32:43 +0000 (13:32 -0000)]
In System.Web:
2008-06-27  Robert Jordan  <robertj@gmx.net>

* HttpCachePolicy.cs: map default HttpCacheability to
"Cache-control: private" for MS.NET compatibility.
Fixes bug #404083. Contributed by
Hubert FONGARNAND <informatique.internet@fiducial.fr>.

In System.Web.Util:
2008-06-27  Robert Jordan  <robertj@gmx.net>

* TimeUtil.cs (ToUtcTimeString): convert using the invariant
culture. Fixes bug #404083. Contributed by
Hubert FONGARNAND <informatique.internet@fiducial.fr>.

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

16 years ago* EventDescriptorCollectionTests.cs: Enabled tests for Empty, Find and
Gert Driesen [Fri, 27 Jun 2008 13:26:19 +0000 (13:26 -0000)]
* EventDescriptorCollectionTests.cs: Enabled tests for Empty, Find and
IList. Added test for String indexer.
* PropertyDescriptorCollectionTests.cs: Improved test for Find and
merged CultureInsensitiveFindTest. Improved test for Find with null
name/key. Added test for String indexer.
* EventDescriptorCollection.cs: Fixed Empty to return read-only
collection. In a read-only collection, throw NotSupportedException
instead of InvalidOperationException when attempting to modify the
collection. Fixed find to use ordinal comparison on 2.0 profile.
Fixed IList's IsFixedSize and IsReadOnly.
* PropertyDescriptorCollection.cs (Find): Use key as argument name
when name is null. Silly compatiblity fix.

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

16 years ago* System_test.dll.sources: Added EventDescriptorCollectionTest.cs.
Gert Driesen [Fri, 27 Jun 2008 11:59:22 +0000 (11:59 -0000)]
* System_test.dll.sources: Added EventDescriptorCollectionTest.cs.
* EventDescriptorCollectionTests.cs: Added tests based on tests for
PropertyDescriptorCollection.
* PropertyDescriptorCollectionTests.cs: Added tests for Sort overloads.
Improved test for Find with null key.
* EventDescriptorCollection.cs: Fixed NRE in Sort overloads when order
string array is null.
* PropertyDescriptorCollection.cs: Fixed NRE in Sort overloads when
order string array is null.

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

16 years ago2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 27 Jun 2008 07:47:39 +0000 (07:47 -0000)]
2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* BinaryFormatter.cs: Fix parameter name

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

16 years ago2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 27 Jun 2008 07:47:05 +0000 (07:47 -0000)]
2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* MissingManifestResourceException.cs:
* MissingSatelliteAssemblyException.cs:
* ResourceManager.cs: Fix parameter names

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

16 years ago2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 27 Jun 2008 07:46:25 +0000 (07:46 -0000)]
2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Collection.cs: Fix parameter names
* ReadOnlyCollection.cs: Fix parameter names

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 06:30:48 +0000 (06:30 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_ValueType_Equals): Avoid traversing all the static
fields of an enum.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 05:54:33 +0000 (05:54 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_print_thread_dump): Allow the argument to be NULL.

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

16 years ago2008-06-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 05:05:38 +0000 (05:05 -0000)]
2008-06-27  Zoltan Varga  <vargaz@gmail.com>

* SqlDataReader.cs (ConstructSchemaTable): Avoid unneccessary reflection calls.

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

16 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 02:01:11 +0000 (02:01 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs, InternalWindowManager.cs:
If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
doesn't automagically update the FormBorderStyle, so we must
double check the CreateParams explicitly to determine if the
window is a toolwindow.
* ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
instead of doing custom checks.

Fixes toolwindows for the test case in bug #402446

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

16 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:51:12 +0000 (01:51 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* Control.cs: Visibility of the control should be false
when the handle is destroyed in WmDestroy and not immediately
in Dispose(). This is effectively where the disposing process
ends even though the control is marked as Disposed immediately
after calling Dispose().
[Fixes bug #402446]

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

16 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:35:01 +0000 (01:35 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyDescriptorCollection.cs, EventDescriptorCollection.cs,
MemberDescriptor.cs: Implement proper sorting of descriptors by
comparing their names.
[Fixes bug #403882]

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

16 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:26:33 +0000 (01:26 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* SizeConverter.cs: Fallback to CultureInfo.CurrentCulture
if supplied culture is null.
* PointConverter.cs: Fallback to CultureInfo.CurrentCulture
if supplied culture is null.
* Add tests accordingly

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

16 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:16:09 +0000 (01:16 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridTextBox.cs: Start monitoring the mouse clicks
when the textbox gets focus.
[Fixes bug #402704]

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

16 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:08:08 +0000 (01:08 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridTextBox.cs, PropertyGridView.cs:
 - Alt + Down should show the drop down editor.
 - Focus the editor when showing it
[Fixes bug #402710]

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

16 years ago2008-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 00:44:55 +0000 (00:44 -0000)]
2008-06-26  Zoltan Varga  <vargaz@gmail.com>

* nBrowser/Node.cs nBrowser/Result.cs: Avoid looking up adapter types names for
every request in every assembly.

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

16 years agoNew test.
Marek Safar [Fri, 27 Jun 2008 00:11:42 +0000 (00:11 -0000)]
New test.

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

16 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Jun 2008 00:11:26 +0000 (00:11 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #404227
* cs-parser.jay: Parse namespace declaration using qualified identifier.

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

16 years agoRemove leftover + character
Andreia Gaita [Thu, 26 Jun 2008 23:46:21 +0000 (23:46 -0000)]
Remove leftover + character

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

16 years agoDisable DOLT by default and bring back the configure flag
Alp Toker [Thu, 26 Jun 2008 23:33:22 +0000 (23:33 -0000)]
Disable DOLT by default and bring back the configure flag

It works on most systems but seems to break the build bot.
Needs more investigation.

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

16 years agoAnother prospective fix for the build bot
Alp Toker [Thu, 26 Jun 2008 23:04:20 +0000 (23:04 -0000)]
Another prospective fix for the build bot

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

16 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 22:51:52 +0000 (22:51 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A test for bug #404227

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

16 years ago2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 26 Jun 2008 22:32:34 +0000 (22:32 -0000)]
2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Version.cs: Fix parameter names
UInt64.cs:
UInt32.cs:
UInt16.cs:
Int64.cs: Fix parameter names
Int32.cs: Fix parameter names; some small formatting
Int16.cs: Fix parameter names
Double.cs: Fix parameter names; small formatting
Single.cs:
SByte.cs:
Byte.cs:
Boolean.cs:
DateTime.cs:
Enum.cs:
Decimal.cs: Fix parameter names

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

16 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 22:23:04 +0000 (22:23 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #404227
* convert.cs: Fixed explicit array to interface cast.

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

16 years ago2008-06-26 Alp Toker <alp@nuanti.com>
Alp Toker [Thu, 26 Jun 2008 22:04:35 +0000 (22:04 -0000)]
2008-06-26  Alp Toker  <alp@nuanti.com>

* acinclude.m4: Prospective dolt fix for the build bot. Fix syntax to work
with older bash versions.

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

16 years agoAdded more logging code.
Massimiliano Mantione [Thu, 26 Jun 2008 21:47:25 +0000 (21:47 -0000)]
Added more logging code.

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

16 years agoIn .:
Rodrigo Kumpera [Thu, 26 Jun 2008 21:28:44 +0000 (21:28 -0000)]
In .:
2008-06-26  Rodrigo Kumpera  <rkumpera@novell.com>

* nullable_boxing.2.cs: Test if Array::GetValue box nullables
correctly.

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

16 years agoIn .:
Rodrigo Kumpera [Thu, 26 Jun 2008 21:12:57 +0000 (21:12 -0000)]
In .:
2008-06-26 Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (mono_value_box): Fix boxing of nullables.

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

16 years agoNew test.
Marek Safar [Thu, 26 Jun 2008 19:25:58 +0000 (19:25 -0000)]
New test.

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

16 years ago2008-06-26 Alp Toker <alp@nuanti.com>
Alp Toker [Thu, 26 Jun 2008 19:19:33 +0000 (19:19 -0000)]
2008-06-26  Alp Toker  <alp@nuanti.com>

* acinclude.m4: Update dolt to the latest git version 5e9eef10. (The one we
had wasn't in fact the latest version and had a known bug.)

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

16 years ago2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Jun 2008 19:10:24 +0000 (19:10 -0000)]
2008-06-26  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Added SubjectAltNameExtension unit
tests to the build. Patch by David Wolinsky

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

16 years ago2008-06-26 David Wolinsky <davidiw@ufl.edu>
Sebastien Pouliot [Thu, 26 Jun 2008 19:10:13 +0000 (19:10 -0000)]
2008-06-26  David Wolinsky  <davidiw@ufl.edu>

* SubjectAltNameExtension.cs: IP Addresses are handled and now
this class can be generated via the constructor from arrays.
* GeneralNames.cs: Added support to generate GeneralNames from
an arrays of strings.

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

16 years ago2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Jun 2008 19:09:34 +0000 (19:09 -0000)]
2008-06-26  Sebastien Pouliot  <sebastien@ximian.com>

* SubjectAltNameExtensionTest.cs: New. Unit tests for
SubjectAltNameExtension. Patch by David Wolinsky

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