mono.git
14 years agoFix parallel-build issues with LIBRARY_USE_INTERMEDIATE_FILE
Raja R Harinath [Sun, 26 Jul 2009 16:56:02 +0000 (16:56 -0000)]
Fix parallel-build issues with LIBRARY_USE_INTERMEDIATE_FILE

* library.make (build_lib): Define to a profile dependent
temporary location for LIBRARY_USE_INTERMEDIATE_FILE.
(DO_AOT): New.  Extracted from ...
($(build_lib)): ... here.  Simplify.  Extract code handling
LIBRARY_USE_INTERMEDIATE_FILE into ...
($(the_lib)) [LIBRARY_USE_INTERMEDIATE_FILE]: ... here, a new rule
that takes care of copying the library from its temporary location
to the final location.

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

14 years ago* Makefile ($(build_lib)): Make CYCLIC_DEP_FILES depend on this.
Raja R Harinath [Sun, 26 Jul 2009 16:55:30 +0000 (16:55 -0000)]
* Makefile ($(build_lib)): Make CYCLIC_DEP_FILES depend on this.

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

14 years ago2009-07-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 26 Jul 2009 16:27:07 +0000 (16:27 -0000)]
2009-07-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StringBuilderTest.cs: new overflow tests.

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

14 years ago2009-07-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 26 Jul 2009 16:26:55 +0000 (16:26 -0000)]
2009-07-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* StringBuilder.cs: small fixes dealing with _maxCapacity.

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

14 years ago2009-07-22 Jb Evain <jbevain@novell.com>
Miguel de Icaza [Sun, 26 Jul 2009 16:05:47 +0000 (16:05 -0000)]
2009-07-22  Jb Evain  <jbevain@novell.com>

* monotouch_System.dll.sources: bring Process in.

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

14 years ago* Makefile.am (version.h): Fix issues when built out of tree.
Raja R Harinath [Sun, 26 Jul 2009 06:47:19 +0000 (06:47 -0000)]
* Makefile.am (version.h): Fix issues when built out of tree.
Remove some redundant 'grep's piped through 'sed's.

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

14 years agoTypo fix
Miguel de Icaza [Sun, 26 Jul 2009 02:01:44 +0000 (02:01 -0000)]
Typo fix

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

14 years agoRevert patch until Rodrigo comes back on Monday
Miguel de Icaza [Sun, 26 Jul 2009 01:33:08 +0000 (01:33 -0000)]
Revert patch until Rodrigo comes back on Monday

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

14 years ago2009-07-24 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Sat, 25 Jul 2009 19:10:42 +0000 (19:10 -0000)]
2009-07-24  Veerapuram Varadhan  <vvaradhan@novell.com>

* DbCommandBuilder.cs (CreateDeleteCommand, CreateUpdateCommand): Add the
nullcheck-param into the respective command's parameter list.  Fixes
build breaks.  Individual provider's CommandBuilder classes from 2.0
profile onwards use the base version of methods to maintain these commands.
(Get*Command): Cleanup code duplication
* DbDataAdapter (Update): Use SourceColumnNullMapping property to handle
nullcheckparams.  Fixes #522624.  Patch by
Gert Driesen  <drieseng@users.sourceforge.net>.

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

14 years agoFix
Miguel de Icaza [Sat, 25 Jul 2009 18:40:34 +0000 (18:40 -0000)]
Fix

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

14 years ago* TdsConnectionPool.cs: Fixed typo in ResetConnectionPool.
Gert Driesen [Sat, 25 Jul 2009 15:17:11 +0000 (15:17 -0000)]
* TdsConnectionPool.cs: Fixed typo in ResetConnectionPool.

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

14 years ago2009-07-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 25 Jul 2009 09:24:42 +0000 (09:24 -0000)]
2009-07-25  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, object.h, null-gc.c, boehm-gc.c, marshal.c: Really
        don't perform the store in mono_gc_wbarrier_generic_nostore().
        Remove the second argument (value), which is not needed.

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

14 years ago2009-07-20 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Sat, 25 Jul 2009 05:34:40 +0000 (05:34 -0000)]
2009-07-20  Michael Barker  <mike@middlesoft.co.uk>

* MessagingProviderLocator.cs: Changed System.Exceptions to
MonoMessagingExceptions.

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

14 years ago2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 25 Jul 2009 00:24:41 +0000 (00:24 -0000)]
2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* EventBuilder.cs: Make some fields internal.

* TypeBuilder.cs: Make events field internal.
Remove some MonoTODOs that are already done.

2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (initialize): Remember the number
of events available at initialization time. This is required as
mcs expect this behavior under compiler context that new events
are not returned for an instance that was inflated before.

* MonoGenericClass.cs: Kill GetEvents_internal and implement it
in terms of managed code.

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

14 years ago2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 25 Jul 2009 00:24:26 +0000 (00:24 -0000)]
2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (GetParentType): Implement using managed code.

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

14 years ago2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 25 Jul 2009 00:24:15 +0000 (00:24 -0000)]
2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Make all icalls private. Kill GetInterfaces_internal.
Add a workaround for a GetField under compiler context.

2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilder.cs: Make the interfaces field internal.

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

14 years agorevert 138474, causes bug# 525104
Gonzalo Paniagua Javier [Fri, 24 Jul 2009 22:16:13 +0000 (22:16 -0000)]
revert 138474, causes bug# 525104

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

14 years agotry to fix the build
Jb Evain [Fri, 24 Jul 2009 20:52:51 +0000 (20:52 -0000)]
try to fix the build

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

14 years ago2009-07-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 24 Jul 2009 17:48:18 +0000 (17:48 -0000)]
2009-07-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripItemCollectionTest.cs: New test for Find.

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

14 years ago2009-07-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 24 Jul 2009 17:47:05 +0000 (17:47 -0000)]
2009-07-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripItemCollection.cs: Find should do a case insensitive
search, and should throw an ArgumentNullException if the parameter is
an empty string.

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

14 years agoNew tests.
Marek Safar [Fri, 24 Jul 2009 17:41:53 +0000 (17:41 -0000)]
New tests.

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

14 years ago2009-07-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 24 Jul 2009 17:41:26 +0000 (17:41 -0000)]
2009-07-24  Marek Safar  <marek.safar@gmail.com>

* argument.cs, dynamic.cs, expression.cs, class.cs, attribute.cs:
Dynamic arguments.

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

14 years ago2009-07-24 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 24 Jul 2009 16:50:32 +0000 (16:50 -0000)]
2009-07-24  Jb Evain  <jbevain@novell.com>

* scripts/Makefile.am: generate a dmcs script for the 4.0 compiler
when building the net_4_0 profile.

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

14 years ago2009-07-24 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 24 Jul 2009 16:49:29 +0000 (16:49 -0000)]
2009-07-24  Jb Evain  <jbevain@novell.com>

* configure.in
* runtime/Makefile.am
* data/Makefile.am: create a and populate a configuration folder
for the net_4_0 profile.

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

14 years ago2009-07-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Jul 2009 16:49:04 +0000 (16:49 -0000)]
2009-07-24  Zoltan Varga  <vargaz@gmail.com>

* null-gc.c (mono_gc_wbarrier_generic_nostore): Define this to fix
the build.

* boehm-gc.c: Ditto.

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

14 years ago2009-07-24 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 24 Jul 2009 16:47:12 +0000 (16:47 -0000)]
2009-07-24  Jb Evain  <jbevain@novell.com>

* Initial import of the net_4_0 specific files.

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

14 years ago2009-07-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Jul 2009 15:59:27 +0000 (15:59 -0000)]
2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* FieldOnTypeBuilderInst.cs: Add a ToString() to help debugging.
Make fields internal.

* MethodOnTypeBuilderInst.cs: Build it under BOOTSTRAP_NET_2_0.

2009-07-24 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (GetMethod): Use the new code always. Don't
accept MethodOnTypeBuilderInst under compiler context.

* MonoGenericClass.cs (GetField): Use the new code always.

* MonoGenericClass.cs: Make a bunch of methods raise NotSupportedException
when not under compiler context. Remove some dead code.

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

14 years agoFri Jul 24 17:28:37 CEST 2009 Steven Munroe <munroesj@us.ibm.com>
Paolo Molaro [Fri, 24 Jul 2009 15:31:39 +0000 (15:31 -0000)]
Fri Jul 24 17:28:37 CEST 2009 Steven Munroe  <munroesj@us.ibm.com>

This patch is contributed under the terms of the MIT/X11 license

* mini-ppc.c (mono_arch_output_basic_block):
(OP_STOREI1_MEMBASE_REG): Handle 32-bit offsets combining addis
for bits 32-47 with signed load/store diplacements for bits
48-63.  Use prefered base/offset order for indexed form.
(OP_STOREI2_MEMBASE_REG, OP_STORE_MEMBASE_REG): Same.
(OP_LOAD_MEMBASE, OP_LOADI4_MEMBASE, OP_LOADU4_MEMBASE,
OP_LOADI1_MEMBASE, OP_LOADU1_MEMBASE, OP_LOADU2_MEMBASE,
OP_LOADI2_MEMBASE): Same.
(OP_STORER8_MEMBASE_REG, OP_LOADR8_MEMBASE,
OP_STORER4_MEMBASE_REG, OP_LOADR4_MEMBASE): Same.
(OP_STOREI1_MEMINDEX): Use prefered base/offset order for
indexed form.
(OP_STOREI2_MEMINDEX, OP_STORE_MEMINDEX): Same.
(OP_LOAD_MEMINDEX, OP_LOADI4_MEMINDEX, OP_LOADU4_MEMINDEX,
OP_LOADU2_MEMINDEX, OP_LOADI2_MEMINDEX, OP_LOADU1_MEMINDEX,
OP_LOADI1_MEMINDEX): Same
(OP_LOADR4_MEMINDEX, OP_LOADR8_MEMINDEX, OP_STORER4_MEMINDEX,
OP_STORER8_MEMINDEX): Same
(OP_JMP): Use addis/addi sequence for int cfg->stack_usage
computations.
(mono_arch_emit_prolog): Handle 32-bit offsets combining addis
for bits 32-47 with signed load/store diplacements for bits
48-63.  Use prefered base/offset order for indexed form.

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

14 years ago2009-07-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 24 Jul 2009 15:24:19 +0000 (15:24 -0000)]
2009-07-24  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs (MutateField): Add imported types handling.

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

14 years agoPush GetFieldFromHandle to BOOTSTRAP_NET_2_0
Marek Safar [Fri, 24 Jul 2009 15:21:36 +0000 (15:21 -0000)]
Push GetFieldFromHandle to BOOTSTRAP_NET_2_0

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

14 years agoFri Jul 24 16:57:12 CEST 2009 Steven Munroe <munroesj@us.ibm.com>
Paolo Molaro [Fri, 24 Jul 2009 15:01:54 +0000 (15:01 -0000)]
Fri Jul 24 16:57:12 CEST 2009 Steven Munroe  <munroesj@us.ibm.com>

This patch is contributed under the terms of the MIT/X11 license

* mini-ppc.c: Define PPC_MOVE_FPR_GPR and PPC_ISA_64.
(mono_arch_get_vcall_slot): Fx pointer to int cast warning.
(mono_arch_decompose_opts): Make OP_ICONV_TO_R4 and
OP_ICONV_TO_R8 decompose conditional on !PPC_ISA_64.
(mono_arch_output_basic_block) [OP_JMP]: Use ppc_load32 for
cfg->stack_usage to avoid size warnings.
(mono_arch_output_basic_block) [__mono_ppc64__]: Replace
store/load sequence with mffgpr if PPC_MOVE_FPR_GPR is true.
(mono_arch_output_basic_block) [!__mono_ppc64__]: For
OP_ICONV_TO_R4 or OP_ICONV_TO_R8 and PPC_ISA_64 use fcfid
to convert.
(mono_arch_emit_prolog): Move mono_emit_unwind_op_def_cfa
after code varible is initialized.
Add g_assert ppc_is_imm16 for ainfo->offset. Handle
ainfo->size == 8 when ainfo->offset !ppc_is_imm16.
(mono_arch_emit_epilog):
Move Use ppc_load32 for cfg->stack_usage to avoid size
warnings.

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

14 years agoFri Jul 24 16:54:13 CEST 2009 Steven Munroe <munroesj@us.ibm.com>
Paolo Molaro [Fri, 24 Jul 2009 15:00:25 +0000 (15:00 -0000)]
Fri Jul 24 16:54:13 CEST 2009 Steven Munroe  <munroesj@us.ibm.com>

This patch is contributed under the terms of the MIT/X11 license

* arch/ppc/ppc-codegen.h (ppc_ha): Define high adjusted
conversion to support combining addis for bits 32-47 with
signed load/store diplacements for bits 48-63.
(ppc_fcfidx, ppc_fctidx, ppc_fctidzx): Share with PPC32.
These instructions are availble to 32-bit programs on 64-bit
hardware and 32-bit both starting with PowerISA V2.01.
[__mono_ppc64__]: Define ppc_mftgpr and ppc_mffgpr for Power6
native mode.
[!__mono_ppc64__]: Define ppc_is_imm32 as constant true for
ppc32.

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

14 years ago2009-07-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 24 Jul 2009 14:47:23 +0000 (14:47 -0000)]
2009-07-24  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, marshal.c, object.h: Make the managed write barrier
        not perform the store itself.  Introduce
        mono_gc_wbarrier_generic_nostore(), which is the same as
        mono_gc_wbarrier_generic_store(), except it doesn't perform the
        store.

2009-07-24  Mark Probst  <mark.probst@gmail.com>

        * method-to-ir.c: The write barrier doesn't do the store anymore,
        so we have always to emit it.  Also, emit the wbarrier after the
        store.

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

14 years ago2009-07-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 24 Jul 2009 14:34:51 +0000 (14:34 -0000)]
2009-07-24  Mark Probst  <mark.probst@gmail.com>

        * icall.c (ves_icall_System_Array_SetGenericValueImpl):
        mono_gc_wbarrier_value_copy() doesn't perform the copy itself, so
        we still need the memcpy().

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

14 years ago2009-07-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 24 Jul 2009 14:09:17 +0000 (14:09 -0000)]
2009-07-24  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c (mono_arch_get_delegate_invoke_impls): Add a trampoline
for argument count 3 too.

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

14 years ago2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Jul 2009 07:09:45 +0000 (07:09 -0000)]
2009-07-24  Atsushi Enomoto  <atsushi@ximian.com>

* PeerChannelListener.cs : set source field. Remove unnecessary NIE.
* DuplexChannelBase.cs : comment out some extra fields (so far).
* PeerDuplexChannel.cs : pass valid EndpointAddress to PeerNodeImpl.

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

14 years ago2009-07-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 24 Jul 2009 05:36:10 +0000 (05:36 -0000)]
2009-07-24  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory.cs: add some null checks.

* PeerCustomResolverBindingElement.cs : add some null checks.

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

14 years ago2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 23 Jul 2009 21:05:01 +0000 (21:05 -0000)]
2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>

* ConstructorBuilder.cs: Make parameters and pinfo fields internal.

* ConstructorOnTypeBuilderInst.cs: Build it under BOOTSTRAP_NET_2_0.
Properly implement GetParameters under compiler context.

* TypeBuilder.cs: Make ctors field internal.

2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Kill GetConstructors_internal and implement it
all in terms of managed code.

* MonoGenericClass.cs: Return instances of ConstructorOnTypeBuilderInst
under bootstrap profile.

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

14 years ago2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 23 Jul 2009 21:04:50 +0000 (21:04 -0000)]
2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>

* FieldOnTypeBuilderInst.cs: Implement MetadataToken and FieldToken
for compiler context.

* TypeBuilder.cs: Make FieldBuilder related fields internal.

2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Kill GetFields_internal and implement it
all in terms of managed code.

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

14 years ago2009-07-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 23 Jul 2009 21:04:34 +0000 (21:04 -0000)]
2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>

* PropertyOnTypeBuilderInst.cs: Use TypeBuilder::GetMethod instead of
MonoGenericClass::GetCorrespondingInflatedMethod. This is possible
since the returned methods of MonoGenericClass::GetMethods have been
unified with TypeBuilder::GetMethod.

* TypeBuilder.cs: Make property related fields internal.

2009-07-23 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Kill GetMethods_internal and implement it
all in terms of managed code.

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

14 years ago2009-07-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Jul 2009 20:02:43 +0000 (20:02 -0000)]
2009-07-23  Sebastien Pouliot  <sebastien@ximian.com>

* SerializationMap.cs : Ensure Dictionary is still deserialized
correctly (wrt previous change). Fix moonlight isolated storage
settings.

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

14 years ago2009-07-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 23 Jul 2009 17:45:31 +0000 (17:45 -0000)]
2009-07-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* BuildManager.cs: precompilation setup failed if the precompiled
virtual directory was / and it was deployed somewhere else.

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

14 years ago2009-07-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 23 Jul 2009 17:40:39 +0000 (17:40 -0000)]
2009-07-23  Marek Safar  <marek.safar@gmail.com>

* expression.cs, delegate.cs: Moved arguments resolve into their
counterparts expressions. Removed argument resolve from
CollectionElementInitializer.

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

14 years ago* xbuild/Microsoft.Common.targets: Oops, forgot to remove some
Ankit Jain [Thu, 23 Jul 2009 16:11:31 +0000 (16:11 -0000)]
* xbuild/Microsoft.Common.targets: Oops, forgot to remove some
debug stuff.

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

14 years ago2009-07-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 23 Jul 2009 15:50:07 +0000 (15:50 -0000)]
2009-07-23  Marek Safar  <marek.safar@gmail.com>

* expression.cs, delegate.cs: Moved arguments resolve into their
counterparts expressions.

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

14 years ago2009-07-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 23 Jul 2009 14:39:25 +0000 (14:39 -0000)]
2009-07-23  Zoltan Varga  <vargaz@gmail.com>

* load-exceptions.cs: Add a test for #524498.

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

14 years ago2009-07-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 23 Jul 2009 14:39:18 +0000 (14:39 -0000)]
2009-07-23  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_compile_method_with_opt): Add an 'ex' argument to let
the caller handle the exceptions.
(mono_jit_runtime_invoke): Handle exceptions thrown while compiling the
method. Fixes #524498.

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

14 years ago2009-07-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 23 Jul 2009 12:38:49 +0000 (12:38 -0000)]
2009-07-23  Sebastien Pouliot  <sebastien@ximian.com>

* XmlObjectSerializerTest.cs: Add test cases with a generic
dictionary (empty, broken with r138386, and with one element)
that both works on MS.NET and for which Moonlight depends on.

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

14 years agolocation,location,location. Fixes all the tests I broke last night
Gonzalo Paniagua Javier [Thu, 23 Jul 2009 11:53:26 +0000 (11:53 -0000)]
location,location,location. Fixes all the tests I broke last night

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

14 years ago2009-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 23 Jul 2009 10:16:54 +0000 (10:16 -0000)]
2009-07-23  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs:
Check for duplicate control IDs at the end of parse. Fixes bug
#524358

2009-07-23  Marek Habersack  <mhabersack@novell.com>

* ControlBuilder.cs: added an internal helper property
IsNamingContainer.

2009-07-23  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: if an exception is processed which refers to
internal "files", don't show the internal name.

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

14 years agoDo not skip comments, just pluck expressions/tags from within them
Marek Habersack [Thu, 23 Jul 2009 10:16:40 +0000 (10:16 -0000)]
Do not skip comments, just pluck expressions/tags from within them

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

14 years ago2009-07-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 23 Jul 2009 10:07:26 +0000 (10:07 -0000)]
2009-07-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PropertyGrid.cs: Use click handlers for each ToolStripButton instead
of using a global handler for the ToolStrip. This way the buttons can
be recovered and can have its PerformClick method called properly.
Fixes #522454.

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

14 years agoNew test.
Marek Safar [Thu, 23 Jul 2009 09:28:39 +0000 (09:28 -0000)]
New test.

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

14 years ago2009-07-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 23 Jul 2009 09:27:56 +0000 (09:27 -0000)]
2009-07-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #523683
* convert.cs, delegate.cs: Use common overload mechanism for method
group conversion check.

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

14 years ago2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Thu, 23 Jul 2009 07:56:24 +0000 (07:56 -0000)]
2009-07-23  Veerapuram Varadhan  <vvaradhan@novell.com>

* XmlSchemaDataImporter.cs (HandleDataSourceAnnotation): Don't rely
on the order of elements.

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

14 years ago2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Thu, 23 Jul 2009 07:55:32 +0000 (07:55 -0000)]
2009-07-23  Veerapuram Varadhan  <vvaradhan@novell.com>

* XmlSchemaDataImporter.cs: String.IsNullOrEmpty changes

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

14 years ago2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jul 2009 07:21:16 +0000 (07:21 -0000)]
2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* TcpChannelListener.cs, TcpReplyChannel.cs, TcpRequestChannel.cs:
  Acquire TcpClient for each request/reply. Now it is fully
  interoperable with .NET.

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

14 years ago2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jul 2009 06:31:30 +0000 (06:31 -0000)]
2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* TcpReplyChannel.cs, TcpRequestChannel.cs: it somehow adds/expects
  ReplyTo and MessageId (though it is session-less), and it expects
  EndRecord at weird stage, inconsistent with [MC-NMF]...
  Now .NET service accepts one mono client request.

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

14 years ago2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jul 2009 05:38:17 +0000 (05:38 -0000)]
2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* TcpReplyChannel.cs, TcpRequestChannel.cs, TcpBinaryFrameManager.cs:
  Send and receive unsized message terminator at once.
  Send EndRecord mutually. Got one .net client request working.

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

14 years ago2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jul 2009 05:05:21 +0000 (05:05 -0000)]
2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs : revert the previous dictionary change.
  They are indeed used for non-in-band-dictionary messages.

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

14 years ago2009-07-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 23 Jul 2009 05:01:23 +0000 (05:01 -0000)]
2009-07-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConfigurationManager.cs: avoid possible infinite loop when the
path starts with ~ and 1 file check.

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

14 years ago2009-07-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 23 Jul 2009 04:22:15 +0000 (04:22 -0000)]
2009-07-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* LogicalMethodInfo.cs: add CacheDuration property.
* WebServiceHandlerFactory.cs: use CacheDuration.
Fixes bug #524460.

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

14 years ago2009-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 23 Jul 2009 03:02:29 +0000 (03:02 -0000)]
2009-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
  split out binary frame manager class into separate file.

* System.ServiceModel.dll.sources:
  split out binary frame manager class into separate file.

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

14 years ago2009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 23 Jul 2009 02:57:41 +0000 (02:57 -0000)]
2009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebHeaderCollectionTest.cs: test for allowed characters in headers.

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

14 years ago2009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 23 Jul 2009 02:57:21 +0000 (02:57 -0000)]
2009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebHeaderCollection.cs: check the validity of the characters in the
header names.

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

14 years ago2009-07-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 23 Jul 2009 02:22:31 +0000 (02:22 -0000)]
2009-07-22 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodOnTypeBuilderInst.cs: Implement ToString to help debugging.

* TypeBuilder.cs: Make the properties field internal.

* PropertyOnTypeBuilderInst.cs: New type implementing a property of an
inflated TypeBuilder.

2009-07-22 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Kill GetProperties_internal and implement it
all in terms of managed code.

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

14 years ago2009-07-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 23 Jul 2009 01:28:20 +0000 (01:28 -0000)]
2009-07-22  Geoff Norton  <gnorton@novell.com>

        * mini-exceptions.c: Fix build on ia64.

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

14 years ago2009-07-20 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 23 Jul 2009 01:28:16 +0000 (01:28 -0000)]
2009-07-20  Geoff Norton  <gnorton@novell.com>

* mini-x86.h: Fix the x86 version guards to use Apple's
properly defined macros.

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

14 years ago2009-07-20 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 23 Jul 2009 01:28:12 +0000 (01:28 -0000)]
2009-07-20  Geoff Norton  <gnorton@novell.com>

        * darwin_stop_world.c: Fix the x86 version guards to use Apple's
        properly defined macros.

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

14 years agoUnbreak the build
Marek Habersack [Wed, 22 Jul 2009 23:46:36 +0000 (23:46 -0000)]
Unbreak the build

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

14 years ago2009-07-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 22 Jul 2009 23:41:32 +0000 (23:41 -0000)]
2009-07-23  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/FullTagsInText.aspx
Test/mainsoft/NunitWebResources/TagsExpressionsAndCommentsInText.aspx

2009-07-23  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: TextParsed takes a different approach to
post-processing text blocks now. It applies, in order, client-side
comment, tag and expression regular expressions to the text
and splits it into blocks of different types. Then the blocks are
processed accordingly.

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

14 years agoImplement the 2.0 IsRestricted and add tests
Gonzalo Paniagua Javier [Wed, 22 Jul 2009 23:29:10 +0000 (23:29 -0000)]
Implement the 2.0 IsRestricted and add tests

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

14 years agoFix bug #511370.
Ankit Jain [Wed, 22 Jul 2009 23:28:36 +0000 (23:28 -0000)]
Fix bug #511370.
* Project.cs (ExtensionsPath): New.
(InitializeProperties): Set "MSBuildExtensionsPath" property.

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

14 years ago* Makefile: Create a lib/mono/xbuild directory for xbuild
Ankit Jain [Wed, 22 Jul 2009 23:28:12 +0000 (23:28 -0000)]
* Makefile: Create a lib/mono/xbuild directory for xbuild
extensions.

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

14 years ago2.0
Gonzalo Paniagua Javier [Wed, 22 Jul 2009 21:52:26 +0000 (21:52 -0000)]
2.0

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

14 years agoImplement AssignProjectConfiguration task.
Ankit Jain [Wed, 22 Jul 2009 21:51:58 +0000 (21:51 -0000)]
Implement AssignProjectConfiguration task.

In class/Microsoft.Build.Tasks:

* Microsoft.Build.Tasks_test.dll.sources: Added
AssignProjectConfigurationTest.cs .

* Microsoft.Build.Tasks.dll.sources: Added
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* AssignProjectConfiguration.cs (Execute): Implement.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* AssignProjectConfigurationTest.cs: New.

In tools/xbuild:

* xbuild/Microsoft.Common.targets (AssignProjectConfigurations): New.
(ResolveProjectReferences): Add dependency on AssignProjectConfigurations
target. Also, set the config and platform properties for the msbuild task
being invoked.
* xbuild/Microsoft.Common.tasks: Add AssignProjectConfiguration .

In tools/xbuild/tests:

* standalone/Project01: Change config mappings a bit to mix them up,
like Debug->Release etc. Update .proj file and final-outputs.txt.

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

14 years ago2009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 22 Jul 2009 19:58:51 +0000 (19:58 -0000)]
2009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnectionStream.cs: when sending a 0-length POST, ignore further
writes instead of throwing.
Fixes bug #524049.

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

14 years ago2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 22 Jul 2009 18:52:56 +0000 (18:52 -0000)]
2009-07-23  Veerapuram Varadhan  <vvaradhan@novell.com>

* XmlSchemaDataImporter.cs: Added null checks.

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

14 years ago2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 22 Jul 2009 18:27:00 +0000 (18:27 -0000)]
2009-07-22  Veerapuram Varadhan  <vvaradhan@novell.com>

* XmlSchemaDataImporter.cs:
CustomDataClassGenerator.cs: Silence off CWLs.

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

14 years ago* Implementation of System.Data.Design.TypedDataSetGenerator::Generate methods that...
Veerapuram Varadhan [Wed, 22 Jul 2009 18:26:17 +0000 (18:26 -0000)]
* Implementation of System.Data.Design.TypedDataSetGenerator::Generate methods that generate TableAdapter code

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

14 years ago* Use System.Data.Design version of TypedDataSetGenerator instead of from System...
Veerapuram Varadhan [Wed, 22 Jul 2009 18:25:42 +0000 (18:25 -0000)]
* Use System.Data.Design version of TypedDataSetGenerator instead of from System.Data

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

14 years ago* Implemented generation of code for TableAdapters
Veerapuram Varadhan [Wed, 22 Jul 2009 18:24:58 +0000 (18:24 -0000)]
* Implemented generation of code for TableAdapters

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

14 years ago* Utility changes to convert between DbType/SqlDbType/System.Type
Veerapuram Varadhan [Wed, 22 Jul 2009 18:24:13 +0000 (18:24 -0000)]
* Utility changes to convert between DbType/SqlDbType/System.Type

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

14 years ago* Handle <TableAdapter ...> tags in XSD
Veerapuram Varadhan [Wed, 22 Jul 2009 18:23:24 +0000 (18:23 -0000)]
* Handle <TableAdapter ...> tags in XSD

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

14 years agoNew test.
Marek Safar [Wed, 22 Jul 2009 14:26:28 +0000 (14:26 -0000)]
New test.

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

14 years ago2009-07-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 22 Jul 2009 14:25:53 +0000 (14:25 -0000)]
2009-07-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #523899
* generics.cs: Exact type inference with other bound types.

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

14 years ago2009-07-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Jul 2009 14:20:44 +0000 (14:20 -0000)]
2009-07-22  Jb Evain  <jbevain@novell.com>

* monotouch_System.dll.sources: bring Process in.

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

14 years ago2009-07-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Jul 2009 14:20:27 +0000 (14:20 -0000)]
2009-07-22  Jb Evain  <jbevain@novell.com>

* ExpandableObjectConverter.cs: no method to override for a NET_2_1 profile.

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

14 years ago2009-07-22 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 22 Jul 2009 14:19:51 +0000 (14:19 -0000)]
2009-07-22  Jb Evain  <jbevain@novell.com>

* ProcessStartInfo.cs: force no-verb on MONOTOUCH.

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

14 years ago2009-07-22 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 22 Jul 2009 14:07:21 +0000 (14:07 -0000)]
2009-07-22  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Align array bounds calculation to mono_array_size_t
        so that big arrays are handled correctly.  Always use
        safe_object_get_size() to calculate array object sizes, which
        takes bounds into account.

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

14 years ago2009-07-22 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 22 Jul 2009 12:46:40 +0000 (12:46 -0000)]
2009-07-22  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (mono_gc_wbarrier_value_copy): Make sure the class's
        GC descriptor is computed before we use it.

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

14 years ago2009-07-22 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 22 Jul 2009 12:37:53 +0000 (12:37 -0000)]
2009-07-22  Mark Probst  <mark.probst@gmail.com>

        * icall.c (ves_icall_System_Array_SetGenericValueImpl): Use a
        write barrier if necessary.

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

14 years ago2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Jul 2009 12:33:56 +0000 (12:33 -0000)]
2009-07-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlNamespaceManager.cs : Adding prefix "xml" seems to be allowed
  as long as the URI is correct. Fixed bug #514015.

* XmlNamespaceManagerTests.cs : add test for bug #514015.

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

14 years ago2009-07-22 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 22 Jul 2009 12:22:33 +0000 (12:22 -0000)]
2009-07-22  Mark Probst  <mark.probst@gmail.com>

        * icall-def.h, icall.c, thread-types.h: New separate icall for
        VolatileWrite(object&,object) that uses a write barrier.

        * console-unix.c, file-io.c, icall.c, threads.c: Use write
        barriers in icalls which write to "ref" or "out" arguments.

2009-07-22  Mark Probst  <mark.probst@gmail.com>

        * mini-exceptions.c (ves_icall_get_frame_info): Use write
        barriers.

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

14 years ago2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Jul 2009 12:10:53 +0000 (12:10 -0000)]
2009-07-22  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDictionaryReader.cs : ReadValueAsBase64(byte[],int,int) is only
  in SL2.

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

14 years ago2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Jul 2009 12:08:21 +0000 (12:08 -0000)]
2009-07-22  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs : for empty element, do not try to consume
  children. Fixed bug #524086.
  For enum, it is always error when the enum is not flags, and
  is always default value for flags.

* XmlObjectSerializerTest.cs :
  Add test for bug #524086 by Rolf Bjarne Kvinge.
  Add enum flags test, which should not raise an error.

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

14 years agoDon't complain when the same type is implemented by the
Raja R Harinath [Wed, 22 Jul 2009 11:10:49 +0000 (11:10 -0000)]
Don't complain when the same type is implemented by the
output assembly as well as multiple referenced assemblies

* namespace.cs (RootNamespace.LookupTypeReflection): Add
'must_be_unique' flag.
(GlobalRootNamespace): Update to changes.
(Namespace.LookupType): Pass 'must_be_unique' only when we don't
already have a type in hand.

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

14 years ago2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 22 Jul 2009 11:05:00 +0000 (11:05 -0000)]
2009-07-22  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : name test did not handle String.Empty cases
  for name and ns (i.e. no filter). Fixed bug #515136.

* XPathNavigatorTests.cs : added test for bug #515136.

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

14 years agoNew test & update.
Marek Safar [Wed, 22 Jul 2009 10:45:34 +0000 (10:45 -0000)]
New test & update.

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

14 years ago2009-07-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 22 Jul 2009 10:45:12 +0000 (10:45 -0000)]
2009-07-22  Marek Safar  <marek.safar@gmail.com>

* expression.cs: More verifier instrumentation.

* statement.cs: Do proper throw expression conversion.

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