Atsushi Eno [Fri, 31 Jul 2009 05:23:02 +0000 (05:23 -0000)]
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : set correct message endpoint (To header).
svn path=/trunk/mcs/; revision=139148
Atsushi Eno [Fri, 31 Jul 2009 05:13:36 +0000 (05:13 -0000)]
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs, PeerDuplexChannel.cs,
DuplexChannelBase.cs : set LocalAddress property at base.
svn path=/trunk/mcs/; revision=139147
Atsushi Eno [Fri, 31 Jul 2009 05:09:24 +0000 (05:09 -0000)]
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* ServiceEndpoint.cs : ListenUri defaults to Address.Uri.
* ServiceEndpointTest.cs : new.
* System.ServiceModel_test.dll.sources: add ServiceEndpointTest.cs.
svn path=/trunk/mcs/; revision=139146
Rodrigo Kumpera [Fri, 31 Jul 2009 02:46:00 +0000 (02:46 -0000)]
2009-07-30 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (IsDefined): Throw if not
created and not in compiler context.
2009-07-30 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest: Test for IsDefined.
svn path=/trunk/mcs/; revision=139142
Rodrigo Kumpera [Fri, 31 Jul 2009 00:10:32 +0000 (00:10 -0000)]
2009-07-30 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetNestedTypes): Throw if not
created and not in compiler context.
svn path=/trunk/mcs/; revision=139137
Rodrigo Kumpera [Fri, 31 Jul 2009 00:10:04 +0000 (00:10 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetEvents): Throw if not created
and not in compiler context.
* TypeBuilder.cs (GetNestedType): Don't rely on
MonoType implementation as it doesn't work if the
nested type is defined after the TypeBuilder is
created.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest: Test for GetNestedType.
svn path=/trunk/mcs/; revision=139136
Rodrigo Kumpera [Fri, 31 Jul 2009 00:04:16 +0000 (00:04 -0000)]
2009-07-30 Rodrigo Kumpera <rkumpera@novell.com>
cil-opcodes.xml: Fix naming of stelem and ldelem to be
the same of the spec. Fix stack effect of stelem. Change
type of constrained and readonly prefixes.
2009-08-30 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c: Fix naming of stelem and ldelem.
2009-08-30 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Fix naming of stelem and ldelem.
svn path=/trunk/mono/; revision=139135
Gonzalo Paniagua Javier [Thu, 30 Jul 2009 23:08:34 +0000 (23:08 -0000)]
remove warnings
svn path=/trunk/mono/; revision=139134
Ankit Jain [Thu, 30 Jul 2009 21:24:40 +0000 (21:24 -0000)]
* ConsoleLogger.cs: Keep track of all the errors and warnings
and show them at the end.
svn path=/trunk/mcs/; revision=139127
Ankit Jain [Thu, 30 Jul 2009 21:24:18 +0000 (21:24 -0000)]
* Target.cs (Build): Log a message if a target is skipped.
(LogMessage): New.
* BuildTask.cs (Execute): Log error if task execution fails.
svn path=/trunk/mcs/; revision=139126
Ankit Jain [Thu, 30 Jul 2009 21:23:56 +0000 (21:23 -0000)]
* MSBuild.cs (Execute): Log error if the file doesn't exist.
svn path=/trunk/mcs/; revision=139125
Ankit Jain [Thu, 30 Jul 2009 21:23:08 +0000 (21:23 -0000)]
* ErrorUtilities.cs (ShowUsage): Implement.
svn path=/trunk/mcs/; revision=139124
Gonzalo Paniagua Javier [Thu, 30 Jul 2009 21:20:30 +0000 (21:20 -0000)]
2009-07-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpResponseWrapper.cs: removed a few TODO/NotImplemented.
Fixes bug #526297.
svn path=/trunk/mcs/; revision=139122
Gert Driesen [Thu, 30 Jul 2009 19:56:59 +0000 (19:56 -0000)]
* SqlParameterTest.cs: Improved tests for bug #382589.
svn path=/trunk/mcs/; revision=139119
Mark Probst [Thu, 30 Jul 2009 19:54:08 +0000 (19:54 -0000)]
2009-07-30 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Replace the templates lock with the loader
lock because of very hard to resolve deadlock issues.
svn path=/trunk/mono/; revision=139118
Raja R Harinath [Thu, 30 Jul 2009 19:47:53 +0000 (19:47 -0000)]
Test the Dictionary Keys and Values slices
* DictionaryTest.cs (KeyEnumerator_Current): New test. Test the
Keys slice enumerator.
(ValueEnumerator_Current): Likewise, for the Values slice.
svn path=/trunk/mcs/; revision=139117
Gert Driesen [Thu, 30 Jul 2009 19:42:59 +0000 (19:42 -0000)]
* SqlParameter.cs: Modified ConvertToFrameworkType to only perform
conversion if type of value is different from "system type". Make
DbTypeMapping hashtable available on 1.0 profile, and add missing
mappings. Wrap FormatException adding information on conversion
that failed.
* SqlParameterTest.cs: Added test for bug #526794, and failed
conversion from (zero-length) string to int. Changed spaces to tabs.
svn path=/trunk/mcs/; revision=139116
Raja R Harinath [Thu, 30 Jul 2009 19:42:04 +0000 (19:42 -0000)]
Fix Enumerator.Current handling in SortedDictionary<,>
* System.Collections.Generic/RBTree.cs (NodeEnumerator.check_current):
New helper.
(NodeEnumerator.Current): Don't check invariants.
* SortedDictionary.cs (Enumerator.Current): Likewise.
(ValueCollection.Enumerator.Current): Likewise.
(KeyCollection.Enumerator.Current): Likewise.
* Test/System.Collections.Generic/SortedDictionaryTest.cs
(Enumerator_Current, KeyEnumerator_Current, ValueEnumerator_Current): New tests.
svn path=/trunk/mcs/; revision=139115
Raja R Harinath [Thu, 30 Jul 2009 19:04:39 +0000 (19:04 -0000)]
* List.cs (Enumerator.MoveNext): Simplify.
svn path=/trunk/mcs/; revision=139112
Raja R Harinath [Thu, 30 Jul 2009 19:04:14 +0000 (19:04 -0000)]
* Dictionary.cs (Enumerator.MoveNext): Avoid an out-of-bounds access.
svn path=/trunk/mcs/; revision=139111
Zoltan Varga [Thu, 30 Jul 2009 18:36:30 +0000 (18:36 -0000)]
2009-07-30 Zoltan Varga <vargaz@gmail.com>
* driver.c (main_thread_handler): Check that the assembly loaded
matches the filename when doing AOT.
svn path=/trunk/mono/; revision=139110
Raja R Harinath [Thu, 30 Jul 2009 18:03:20 +0000 (18:03 -0000)]
* HashSet.cs (Enumerator.IEnumerator.Reset): Check invariants.
svn path=/trunk/mcs/; revision=139107
Raja R Harinath [Thu, 30 Jul 2009 17:49:41 +0000 (17:49 -0000)]
Fix HashSet<>-related parts of #491858, #517415
* System.Collections.Generic/HashSet.cs (Enumerator.next): Rename from
Enumerator.current and change meaning to be the index of the slot to start
searching on the next iteration.
(Enumerator.current): New. Contains the current element.
(Enumerator.MoveNext): Update. Avoid an out-of-bounds access.
(Enumerator.Current): Don't check any invariants.
* Test/System.Collections.Generic/HashSetTest.cs (Enumerate_Current):
New test, including cases from #491858, #517415.
svn path=/trunk/mcs/; revision=139105
Veerapuram Varadhan [Thu, 30 Jul 2009 16:57:47 +0000 (16:57 -0000)]
1.x build fix
svn path=/trunk/mcs/; revision=139098
Ankit Jain [Thu, 30 Jul 2009 16:17:44 +0000 (16:17 -0000)]
* standalone/Project01/final-outputs.txt: Update to include obj/
dir also, and sort the list.
svn path=/trunk/mcs/; revision=139095
Gonzalo Paniagua Javier [Thu, 30 Jul 2009 15:56:49 +0000 (15:56 -0000)]
2009-07-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* BuildManager.cs: path fixup should work now for /foo running on
/foo. Fixes bug #526563.
svn path=/trunk/mcs/; revision=139093
Ankit Jain [Thu, 30 Jul 2009 15:54:58 +0000 (15:54 -0000)]
Fix bug #484771.
* xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add support
for $(OutDir).
svn path=/trunk/mcs/; revision=139092
Ankit Jain [Thu, 30 Jul 2009 15:20:50 +0000 (15:20 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Engine.cs (.ctor): Set default BinPath. Currently this assumes
v2.0, this will change when multi-targeting lands.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* EngineTest.cs (TestNewProject): Disable. Invalid for
v3.5 profile.
svn path=/trunk/mcs/; revision=139089
Raja R Harinath [Thu, 30 Jul 2009 14:55:24 +0000 (14:55 -0000)]
List<>-relevant fix for #491858 and #517415
* System.Collections.Generic/List.cs (Enumerator.current): New.
(Enumerator.MoveNext): Update it.
(Enumerator.Current): Don't verify any invariants.
(Enumerator.Dispose): Set 'l' to null.
* Test/System.Collections.Generic/ListTest.cs (Enumerator_Current):
New test, includes relevant parts of #491858 and #517415.
svn path=/trunk/mcs/; revision=139087
Veerapuram Varadhan [Thu, 30 Jul 2009 14:32:52 +0000 (14:32 -0000)]
2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes the issue reported by Scott <Scott.Fluto@cmgl.ca> in Mono-list
* SqlParameter.cs (ConvertToFrameworkType): Return String.Empty
in case of zero-length strings.
svn path=/trunk/mcs/; revision=139086
Veerapuram Varadhan [Thu, 30 Jul 2009 14:32:29 +0000 (14:32 -0000)]
2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
* CustomDataClassGenerator.cs (MakeSafeName): Throw NRE instead of
ArgumentNullException - fixes failing tests.
svn path=/trunk/mcs/; revision=139085
Jérémie Laval [Thu, 30 Jul 2009 13:56:32 +0000 (13:56 -0000)]
Author: Jérémie Laval <jeremie.laval@gmail.com>
Date: Thu Jul 30 15:37:21 2009 +0200
First code drop of ParallelFx.
svn path=/trunk/mcs/; revision=139083
Raja R Harinath [Thu, 30 Jul 2009 13:52:39 +0000 (13:52 -0000)]
Fix Dictionary<,>-relevant parts of #491858 and #517415
* System.Collections.Generic/Dictionary.cs (Enumerator.current): New.
(Enumerator.MoveNext): Update it.
(Enumerator.Current): Don't verify any invariants.
* Test/System.Collections.Generic/DictionaryTest.cs (Enumerator_Current):
New test, includes relevant parts of #491858 and #517415.
svn path=/trunk/mcs/; revision=139082
Ankit Jain [Thu, 30 Jul 2009 13:47:26 +0000 (13:47 -0000)]
* ErrorUtilities.cs: Set version to Consts.MonoVersion .
svn path=/trunk/mcs/; revision=139081
Veerapuram Varadhan [Thu, 30 Jul 2009 13:41:31 +0000 (13:41 -0000)]
2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
* SqlDataAdapter.cs (IDbDataAdapter.*Command): Remove over-engineered
checks as the base implementation is changed.
svn path=/trunk/mcs/; revision=139080
Marek Safar [Thu, 30 Jul 2009 13:32:08 +0000 (13:32 -0000)]
Updated.
svn path=/trunk/mcs/; revision=139079
Marek Safar [Thu, 30 Jul 2009 13:31:41 +0000 (13:31 -0000)]
2009-07-30 Marek Safar <marek.safar@gmail.com>
* expression.cs: More verifier work.
svn path=/trunk/mcs/; revision=139078
Marek Safar [Thu, 30 Jul 2009 13:27:12 +0000 (13:27 -0000)]
2009-07-30 Marek Safar <marek.safar@gmail.com>
* AppDomain.cs: Implemented 2.0 CreateDomain.
svn path=/trunk/mcs/; revision=139077
Marek Safar [Thu, 30 Jul 2009 13:23:09 +0000 (13:23 -0000)]
2009-07-30 Marek Safar <marek.safar@gmail.com>
* ApplicationTrust.cs: Add FullTrustAssemblies.
svn path=/trunk/mcs/; revision=139076
Marek Safar [Thu, 30 Jul 2009 13:19:58 +0000 (13:19 -0000)]
2009-07-30 Marek Safar <marek.safar@gmail.com>
* ReflectionPermission.cs: RestrictedMemberAccess can be set.
* ReflectionPermissionFlag.cs: Add [Obsolete] on NET_4_0.
svn path=/trunk/mcs/; revision=139075
Ankit Jain [Thu, 30 Jul 2009 13:12:07 +0000 (13:12 -0000)]
* xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Output
ResolvedFiles to @(ReferencePath), required for IDE integration.
svn path=/trunk/mcs/; revision=139074
Ankit Jain [Thu, 30 Jul 2009 13:10:54 +0000 (13:10 -0000)]
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
required for IDE integration.
* AssemblyResolver.cs (GetResolvedReference): All the original metadata
should be retained. Track api changes.
svn path=/trunk/mcs/; revision=139073
Veerapuram Varadhan [Thu, 30 Jul 2009 12:38:11 +0000 (12:38 -0000)]
Conflict merge between trunk/local tree
svn path=/trunk/mcs/; revision=139072
Veerapuram Varadhan [Thu, 30 Jul 2009 12:37:57 +0000 (12:37 -0000)]
2009-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
* SqlParameterTest.cs: Marked SqlChars/SqlBytes tests for SqlValue
as NotWorking as these types are considered as SqlString/SqlBinary
respectively.
svn path=/trunk/mcs/; revision=139071
Veerapuram Varadhan [Thu, 30 Jul 2009 12:37:44 +0000 (12:37 -0000)]
2009-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
* SqlDataAdapter.cs (IDbDataAdapter.*Command): Revert some of my earlier
changes. Validate the incoming value as we use bases' implementation now.
Fixes failing tests.
* SqlParameter.cs (GetSqlValue): Simplify handling of SqlValue and SqlTypes.
(SqlTypeToFramworkType): Added support for SqlChars and SqlBytes types.
svn path=/trunk/mcs/; revision=139070
Veerapuram Varadhan [Thu, 30 Jul 2009 12:37:30 +0000 (12:37 -0000)]
2009-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
* DbDataAdapter.cs (*Command properties): Don't call IDbDataAdapter.*Command,
as provider specific DbDataAdapters would have its own implementation.
svn path=/trunk/mcs/; revision=139069
Veerapuram Varadhan [Thu, 30 Jul 2009 12:37:15 +0000 (12:37 -0000)]
2009-07-28 Gert Driesen <drieseng@users.sourceforge.net>
* More clean up of fix for #522624/#507663
* SqlCommandBuilder.cs: Appropriately handle rowUpdatingHandler and
more cleanup for 2.0 profile.
svn path=/trunk/mcs/; revision=139068
Veerapuram Varadhan [Thu, 30 Jul 2009 12:36:57 +0000 (12:36 -0000)]
2009-07-27 Veerapuram Varadhan <vvaradhan@novell.com>
* DbCommandBuilder.cs (CreateUpdateCommand): Don't set Nullable
property "Original_*" fields.
svn path=/trunk/mcs/; revision=139067
Veerapuram Varadhan [Thu, 30 Jul 2009 12:36:37 +0000 (12:36 -0000)]
2009-07-26 Veerapuram Varadhan <vvaradhan@novell.com>
* SqlParameter.cs (get/set_SqlValue, GetSqlValue): Return the appropriately
SQL-typed param value. Fixes failing provider tests.
svn path=/trunk/mcs/; revision=139066
Veerapuram Varadhan [Thu, 30 Jul 2009 12:36:23 +0000 (12:36 -0000)]
2009-07-24 Veerapuram Varadhan <vvaradhan@novell.com>
* DbCommandBuilder.cs (Create*Command): Fill up the missing pieces from
SqlCommandBuilder version of Create*Commands that fixes the failing tests.
svn path=/trunk/mcs/; revision=139065
Veerapuram Varadhan [Thu, 30 Jul 2009 12:36:07 +0000 (12:36 -0000)]
Test fix.
svn path=/trunk/mcs/; revision=139064
Veerapuram Varadhan [Thu, 30 Jul 2009 12:35:52 +0000 (12:35 -0000)]
conflict fix between trunk and local tree
svn path=/trunk/mcs/; revision=139063
Veerapuram Varadhan [Thu, 30 Jul 2009 12:35:33 +0000 (12:35 -0000)]
2009-07-25 Veerapuram Varadhan <vvaradhan@novell.com>
* SqlDataReader.cs: Added new schema fields to the schema row.
Fixes a failing provider test.
svn path=/trunk/mcs/; revision=139062
Veerapuram Varadhan [Thu, 30 Jul 2009 12:35:12 +0000 (12:35 -0000)]
2009-07-25 Veerapuram Varadhan <vvaradhan@novell.com>
* Fixes #507663
* SqlCommandBuilder.cs: From 2.0 onwards, use base's
implementation for handling auto-generated commands.
* SqlDataAdapter.cs: -- ditto --
svn path=/trunk/mcs/; revision=139061
Atsushi Eno [Thu, 30 Jul 2009 11:40:52 +0000 (11:40 -0000)]
2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
* PeerDuplexChannel.cs : ongoing refactoring to work both as
listener and client. Now it creates a listening peer node, and
creates a set of TCP client channels for each peer in the mesh.
(EndpointAddress must be fixed to not filter out correct inputs).
* PeerNode.cs : remove TCP listener creator.
It is now in PeerDuplexChannel.
svn path=/trunk/mcs/; revision=139059
Atsushi Eno [Thu, 30 Jul 2009 11:35:23 +0000 (11:35 -0000)]
2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
* PeerChannelListener.cs : do not accept more than one channel
which results in lots of listening peer node. Only one is enough.
svn path=/trunk/mcs/; revision=139058
Zoltan Varga [Thu, 30 Jul 2009 11:33:03 +0000 (11:33 -0000)]
2009-07-30 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetMethodsByName): Use
mono_class_get_vtable_size () instead of accessing klass->vtable_size
directly. Fixes #525338.
* class.c (mono_class_get_vtable_size): New helper function.
svn path=/trunk/mono/; revision=139057
Zoltan Varga [Thu, 30 Jul 2009 11:20:57 +0000 (11:20 -0000)]
2009-07-30 Zoltan Varga <vargaz@gmail.com>
* FieldInfoTest.cs: Add a test for #525733.
svn path=/trunk/mcs/; revision=139055
Raja R Harinath [Thu, 30 Jul 2009 11:19:56 +0000 (11:19 -0000)]
Make CreateConcreteTypeWithAbstractMethod testcase compile
svn path=/trunk/mcs/; revision=139054
Zoltan Varga [Thu, 30 Jul 2009 11:15:14 +0000 (11:15 -0000)]
2009-07-30 Zoltan Varga <vargaz@gmail.com>
* FieldInfo.cs: Throw an exception if internal_from_handle_type ()
returns null. Fixes #525733.
svn path=/trunk/mcs/; revision=139053
Zoltan Varga [Thu, 30 Jul 2009 11:12:35 +0000 (11:12 -0000)]
2009-07-30 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_FieldInfo_internal_from_handle_type): Fix the second argument, its a MonoType* not a MonoClass*. Check whenever
the field belongs to the type. Fixes #525733.
svn path=/trunk/mono/; revision=139052
Mark Probst [Thu, 30 Jul 2009 10:29:14 +0000 (10:29 -0000)]
2009-07-30 Mark Probst <mark.probst@gmail.com>
* mono-sigcontext.h: Include config.h.
2009-07-30 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: When we stop a thread and its stack top is not within
its allocated stack (because it's in an altstack signal handler),
restart it and stop it again, until it is.
svn path=/trunk/mono/; revision=139047
Mark Probst [Thu, 30 Jul 2009 10:03:57 +0000 (10:03 -0000)]
2009-07-30 Mark Probst <mark.probst@gmail.com>
* mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
macros, moved from mini.
2009-07-30 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Take a thread's stack top and registers from the
sigcontext in the suspend signal handler.
* sgen-gc.h, sgen-archdep.h, Makefile.am: Move arch-dependent
stuff to sgen-archdep.h.
* gc.c, gc-internal.h: Remove the get_ip_from_sigctx installer and
caller, because have code in sgen-archdep.h to acquire that data.
2009-07-30 Mark Probst <mark.probst@gmail.com>
* mini.c: get_ip_from_sigctx installer has been removed, so don't
call it anymore.
* mini-x86.h, mini-amd64.h, mini-ppc.h: UCONTEXT macros moved (to
utils/mono-sigcontext.h).
* exceptions-amd64.c: Use the UCONTEXT_GREGS macro instead of an
#ifdef.
svn path=/trunk/mono/; revision=139045
Raja R Harinath [Thu, 30 Jul 2009 09:07:12 +0000 (09:07 -0000)]
Add a sanity-check to catch cyclic-dependency issues
* build/library.make (SNFLAGS): Remove '-R', since it's specific to the
action required.
($(build_lib)): Use -R flag with $(SN).
($(the_lib)): Add a sanity check to verify that the assembly is signed.
* tools/csharplib/Makefile ($(the_lib)): Update to changes in build/library.make.
svn path=/trunk/mcs/; revision=139041
Raja R Harinath [Thu, 30 Jul 2009 09:02:30 +0000 (09:02 -0000)]
* Makefile ($(build_lib)): Move cyclic dependencies onto this.
svn path=/trunk/mcs/; revision=139040
Atsushi Eno [Thu, 30 Jul 2009 07:49:45 +0000 (07:49 -0000)]
2009-07-30 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs : fix wrong loop implementation.
svn path=/trunk/mcs/; revision=139033
Ankit Jain [Wed, 29 Jul 2009 23:28:41 +0000 (23:28 -0000)]
* ReadLinesFromFile.cs (Execute): Log a warning instead of an error
if unable to read from the file. Fix a null check. Always return
true.
svn path=/trunk/mcs/; revision=139017
Ankit Jain [Wed, 29 Jul 2009 22:24:32 +0000 (22:24 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* Project.cs (InitializeProperties) Set 'MSBuildProjectFile' and
'MSBuildProjectName' properties.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* Delete.cs (Execute): Log a message when deleting a file.
In tools/xbuild:
* xbuild/Microsoft.Common.targets: Implement 'Clean' target. Currently
just handles clean for a full build.
svn path=/trunk/mcs/; revision=139013
Rodrigo Kumpera [Wed, 29 Jul 2009 22:04:02 +0000 (22:04 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetConstructors): Throw if
TypeBuilder is incomplete.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* MonoGenericClass.cs (initialize): Call TypeBuilder::GetConstructorsInternal
since the public version throws.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest: Test for GetConstructors.
svn path=/trunk/mcs/; revision=139009
Rodrigo Kumpera [Wed, 29 Jul 2009 22:03:34 +0000 (22:03 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetInterfaces): Return the expanded
interface list if the type has been created.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest: Test for GetInterfaces.
svn path=/trunk/mcs/; revision=139008
Rodrigo Kumpera [Wed, 29 Jul 2009 22:03:03 +0000 (22:03 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetGenericArguments): Returns null for
non generic TypeBuilders.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest: Test for GetGenericArguments.
svn path=/trunk/mcs/; revision=139007
Rodrigo Kumpera [Wed, 29 Jul 2009 22:02:30 +0000 (22:02 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetElementType): Throw always.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Test for GetElementType.
svn path=/trunk/mcs/; revision=139006
Rodrigo Kumpera [Wed, 29 Jul 2009 22:02:00 +0000 (22:02 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetGenericTypeDefinition): Either
throw or return itself.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Test for GetGenericTypeDefinition.
svn path=/trunk/mcs/; revision=139005
Rodrigo Kumpera [Wed, 29 Jul 2009 22:01:31 +0000 (22:01 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GenericParameterPosition): Return 0
instead of throwing.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Test for GenericParameterPosition.
svn path=/trunk/mcs/; revision=139004
Rodrigo Kumpera [Wed, 29 Jul 2009 22:01:02 +0000 (22:01 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (DeclaringMethod): Return null
instead of throwing.
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Test for DeclaringMethod.
svn path=/trunk/mcs/; revision=139003
Sebastien Pouliot [Wed, 29 Jul 2009 20:34:10 +0000 (20:34 -0000)]
hopefully fix the build (from clean)
svn path=/trunk/mcs/; revision=138996
Atsushi Eno [Wed, 29 Jul 2009 19:02:40 +0000 (19:02 -0000)]
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs : to avoid creating two or more channels
for one remote endpoint, check existing remote endpoints and
ignore such connections (it must be handled in different thread
fired by ChannelDispatcher loop).
* ChannelDispatcher.cs : move Open() inside acceptor lock, so that
the channel does not have to be fired Receive() before Open().
svn path=/trunk/mcs/; revision=138986
Massimiliano Mantione [Wed, 29 Jul 2009 18:43:43 +0000 (18:43 -0000)]
Keep track of cexecutable code buffers in the runtime instead of using mono_jit_info_table_find().
svn path=/trunk/mono/; revision=138980
Massimiliano Mantione [Wed, 29 Jul 2009 18:43:39 +0000 (18:43 -0000)]
Call profiler hook to keep track of method code buffers.
svn path=/trunk/mono/; revision=138979
Massimiliano Mantione [Wed, 29 Jul 2009 18:43:29 +0000 (18:43 -0000)]
Call profiler hooks to keep track of code chunks.
svn path=/trunk/mono/; revision=138978
Massimiliano Mantione [Wed, 29 Jul 2009 18:43:25 +0000 (18:43 -0000)]
Added support for keeping track of code chunks and buffers.
svn path=/trunk/mono/; revision=138977
Marek Safar [Wed, 29 Jul 2009 17:12:18 +0000 (17:12 -0000)]
Fixes build.
svn path=/trunk/mcs/; revision=138972
Marek Safar [Wed, 29 Jul 2009 16:57:22 +0000 (16:57 -0000)]
2009-07-29 Marek Safar <marek.safar@gmail.com>
* nullable.cs: Fixed SRE crash during corlib compilation.
svn path=/trunk/mcs/; revision=138971
Miguel de Icaza [Wed, 29 Jul 2009 15:14:19 +0000 (15:14 -0000)]
Update man page
svn path=/trunk/mono/; revision=138964
Marek Safar [Wed, 29 Jul 2009 13:57:36 +0000 (13:57 -0000)]
Add 4.0 profile
svn path=/trunk/mcs/; revision=138960
Marek Safar [Wed, 29 Jul 2009 13:53:27 +0000 (13:53 -0000)]
Use correct naming, add 4.0 profile
svn path=/trunk/mcs/; revision=138957
Marek Safar [Wed, 29 Jul 2009 13:51:33 +0000 (13:51 -0000)]
2009-07-29 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Add predefined file masks.
svn path=/trunk/mcs/; revision=138955
Rodrigo Kumpera [Wed, 29 Jul 2009 13:40:26 +0000 (13:40 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile: Fix mac build and dependencies.
Add new file.
* cli-blob-tests.md: stand-alone-method-sig tests now use
a separate input file with a single standalone sig so it's
no longer dependent on ilasm ordering.
* assembly-with-calli.il: New file with a single standalone
signature.
svn path=/trunk/mono/; revision=138953
Rodrigo Kumpera [Wed, 29 Jul 2009 13:40:15 +0000 (13:40 -0000)]
2009-07-29 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Fix endianness problems on decoding functions.
Based on a patch by Ulrich Weigand <uweigand@de.ibm.com>
svn path=/trunk/mono/; revision=138952
Marek Safar [Wed, 29 Jul 2009 13:26:40 +0000 (13:26 -0000)]
2009-07-29 Marek Safar <marek.safar@gmail.com>
* generic.cs, typemanager.cs, decl.cs, iterators.cs, convert.cs,
nullable.cs, expression.cs, ecore.cs, class.cs, attribute.cs:
More TypeManager.TypeToCoreType needed.
svn path=/trunk/mcs/; revision=138951
Marek Safar [Wed, 29 Jul 2009 12:58:40 +0000 (12:58 -0000)]
Forget to commit.
svn path=/trunk/mcs/; revision=138949
Marek Safar [Wed, 29 Jul 2009 12:55:02 +0000 (12:55 -0000)]
2008-07-29 Marek Safar <marek.safar@gmail.com>
* MonoGenericClass.cs: Removed one IsCompilerContext hack.
svn path=/trunk/mcs/; revision=138948
Marek Safar [Wed, 29 Jul 2009 12:52:19 +0000 (12:52 -0000)]
2009-07-29 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Update after recent SRE fixes.
svn path=/trunk/mcs/; revision=138947
Atsushi Eno [Wed, 29 Jul 2009 09:48:15 +0000 (09:48 -0000)]
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs : make sure to not try to receive request when
it is already closed.
svn path=/trunk/mcs/; revision=138928
Atsushi Eno [Wed, 29 Jul 2009 08:39:22 +0000 (08:39 -0000)]
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
some mannerless clients [*1] do not send EndRecord accordingly, but
such channels at listener side should not be kept open. So, close
disconnected channels when the listener needs to accept another
one.
[*1] see olive/samples/wcf/clientbase/samplecli4.cs.
svn path=/trunk/mcs/; revision=138923
Atsushi Eno [Wed, 29 Jul 2009 05:26:39 +0000 (05:26 -0000)]
2009-07-28 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs :
Remove extra NIE overrides.
Implement OnAbort() apart from OnClose().
For duplex session channel, unlike reply channel, it must acquire
TCP connection before OnOpen(), otherwise ChannelDispatcher
releases the connection acceptance WaitHandle and the detected
live connection may be stolen by another channel acceptor.
svn path=/trunk/mcs/; revision=138915
Rodrigo Kumpera [Wed, 29 Jul 2009 03:02:47 +0000 (03:02 -0000)]
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (CreateType): Throw if concrete
type has abstract method.
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Test for concrete type with
abstract method.
svn path=/trunk/mcs/; revision=138913
Rodrigo Kumpera [Wed, 29 Jul 2009 02:04:15 +0000 (02:04 -0000)]
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* GenericTypeParameterBuilder.cs: SetBaseTypeConstraint with
null argument is the same as passing typeof (object).
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* GenericTypeParameterBuilderTest.cs: Test for BaseType
and SetBaseTypeConstraint.
svn path=/trunk/mcs/; revision=138911
Rodrigo Kumpera [Wed, 29 Jul 2009 02:03:50 +0000 (02:03 -0000)]
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
TypeTest.cs: Fix the test.
svn path=/trunk/mcs/; revision=138910
Rodrigo Kumpera [Wed, 29 Jul 2009 00:43:04 +0000 (00:43 -0000)]
2009-07-28 Rodrigo Kumpera <rkumpera@novell.com>
Type.cs (MakeArrayType): Handle one-dym multidimensional array
created with Type::MakeArrayType (1).
svn path=/trunk/mcs/; revision=138908