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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Thu, 23 Jul 2009 09:28:39 +0000 (09:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=138514
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Habersack [Wed, 22 Jul 2009 23:46:36 +0000 (23:46 -0000)]
Unbreak the build
svn path=/trunk/mcs/; revision=138476
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
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
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
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
Gonzalo Paniagua Javier [Wed, 22 Jul 2009 21:52:26 +0000 (21:52 -0000)]
2.0
svn path=/trunk/mcs/; revision=138462
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
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
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
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
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
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
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
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
Veerapuram Varadhan [Wed, 22 Jul 2009 18:23:24 +0000 (18:23 -0000)]
* Handle <TableAdapter ...> tags in XSD
svn path=/trunk/mcs/; revision=138433
Marek Safar [Wed, 22 Jul 2009 14:26:28 +0000 (14:26 -0000)]
New test.
svn path=/trunk/mcs/; revision=138411
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 22 Jul 2009 10:45:34 +0000 (10:45 -0000)]
New test & update.
svn path=/trunk/mcs/; revision=138381
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
Marek Safar [Wed, 22 Jul 2009 09:43:58 +0000 (09:43 -0000)]
2009-07-22 Marek Safar <marek.safar@gmail.com>
A fix for bug #522789
* expression.cs: Mutate invocation return type.
svn path=/trunk/mcs/; revision=138375
Ankit Jain [Wed, 22 Jul 2009 08:39:12 +0000 (08:39 -0000)]
* xbuild/Microsoft.VisualBasic.targets (Vbc.References): Remove
"@(ChildProjectReferences)" as it gets resolved earlier
and is part of @(ResolvedFiles).
svn path=/trunk/mcs/; revision=138370
Atsushi Eno [Wed, 22 Jul 2009 08:38:04 +0000 (08:38 -0000)]
2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
* XmlInputStream.cs : cosmetic exception type change. Patch by
Hib Eris. Fixed bug #523971.
* XmlTextReaderTests.cs : added test for bug #523971 by Hib Eris.
svn path=/trunk/mcs/; revision=138369
Atsushi Eno [Wed, 22 Jul 2009 08:21:30 +0000 (08:21 -0000)]
2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterDeserializer.cs : when reading empty primitive value,
make sure to consume the reader. Fixed bug #524083.
* XmlObjectSerializerTest.cs : add test for bug #524083, by
Rolf Bjarne Kvinge.
svn path=/trunk/mcs/; revision=138367
Atsushi Eno [Wed, 22 Jul 2009 07:47:33 +0000 (07:47 -0000)]
2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : call MoveToContent() before examining
the reader node type.
* XmlObjectSerializerTest.cs : now we can make xml indented as
originally done in #524088.
svn path=/trunk/mcs/; revision=138364
Atsushi Eno [Wed, 22 Jul 2009 07:22:25 +0000 (07:22 -0000)]
2009-07-22 Atsushi Enomoto <atsushi@ximian.com>
* KnownTypeCollection.cs : Find KnownTypeAttributes in base types
too. Patch by Rolf Bjarne Kvinge. Fixed bug #524088.
* XmlObjectSerializerTest.cs : added test for bug #524088 by
Rolf Bjarne Kvinge (a bit modified).
svn path=/trunk/mcs/; revision=138360
Atsushi Eno [Wed, 22 Jul 2009 06:23:35 +0000 (06:23 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* XNodeReader.cs : do not possibly return null as the Prefix value.
Fixed bug #524084.
* XNodeReaderTest.cs : test Prefix on default namespace.
svn path=/trunk/mcs/; revision=138356
Atsushi Eno [Wed, 22 Jul 2009 06:13:07 +0000 (06:13 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* XNodeReader.cs : a couple of properties did not return correct
value for EOF state.
* XNodeReaderTest.cs : test member behaviors at EOF state.
svn path=/trunk/mcs/; revision=138354
Atsushi Eno [Wed, 22 Jul 2009 06:02:13 +0000 (06:02 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* XNodeReader.cs : do not return element's IsEmpty on attributes.
* XNodeReaderTest.cs : on attributes IsEmptyElement is false.
svn path=/trunk/mcs/; revision=138352
Marek Habersack [Tue, 21 Jul 2009 22:42:27 +0000 (22:42 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=138339
Ankit Jain [Tue, 21 Jul 2009 20:20:26 +0000 (20:20 -0000)]
Fix bug #517974.
In class/Microsoft.Build.Tasks:
* Makefile: Add System.Core .
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Fix bug #517974.
* ResolvedReference.cs (AssemblyName): New.
(IsPrimary): New. Primary (eg. specified in the project file) or
dependent reference.
(FoundInSearchPathAsString): New.
* AssemblyResolver.cs (GetResolvedReference): Add a 'assembly name'
param for the new field in ResolvedReference.
(AssemblyNamesCompatible): Fix the check for public key token.
Track api changes.
* ResolveAssemblyReference.cs: Keep track of resolved assemblies,
prevent duplicate references and other files.
Process dependencies after resolving all the primary references.
Search for dependencies in parent assembly's dir first and then
the specified search paths.
Detect assembly version conflicts and try to resolve.
Improve logged messages.
(PrimaryReference): New.
(ResolveAssemblyReferenceHelper.AddUniqueFile): New extension method.
In tools/xbuild:
* xbuild.Microsoft.CSharp.targets (Csc.References): Remove
"@(ChildProjectReferences)" as it gets resolved earlier
and is part of @(ResolvedFiles).
In tools/xbuild/tests:
* standalone/Project01: Add references to two "external" assemblies
with dependencies.
* standalone/Project01/Program.cs: Add references in code to the new
assemblies, to ensure that they are required for compilation.
svn path=/trunk/mcs/; revision=138329
Gert Driesen [Tue, 21 Jul 2009 19:12:18 +0000 (19:12 -0000)]
* Container.cs: Replaced for loop with for loop.
[Fixes bug #522474]
* ContainerTest.cs: Added test for bug #522474.
svn path=/trunk/mcs/; revision=138328
Zoltan Varga [Tue, 21 Jul 2009 18:49:47 +0000 (18:49 -0000)]
2009-07-21 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_emit_prolog): Fix thread attaching in aot
code.
svn path=/trunk/mono/; revision=138326
Jb Evain [Tue, 21 Jul 2009 16:23:42 +0000 (16:23 -0000)]
2009-07-21 Jb Evain <jbevain@novell.com>
* ThreadPool.cs: avoid an unecessary method call when not running
in moonlight.
svn path=/trunk/mcs/; revision=138313
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 16:23:03 +0000 (16:23 -0000)]
2009-07-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* zlib-helper.c: use glib for malloc/free.
svn path=/trunk/mono/; revision=138312
Jb Evain [Tue, 21 Jul 2009 16:04:23 +0000 (16:04 -0000)]
2009-07-21 Jb Evain <jbevain@novell.com>
* configure.in: add a --with-monotouch option.
* runtime/Makefile.am: use it to trigger the mcs monotouch build.
svn path=/trunk/mono/; revision=138308
Jonathan Pobst [Tue, 21 Jul 2009 15:50:03 +0000 (15:50 -0000)]
- Fix the msvc build for the zlib changes in r138254.
svn path=/trunk/mono/; revision=138307
Jb Evain [Tue, 21 Jul 2009 15:32:10 +0000 (15:32 -0000)]
forgot one entry
svn path=/trunk/mcs/; revision=138305
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 15:31:41 +0000 (15:31 -0000)]
moved
svn path=/trunk/mcs/; revision=138304
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 15:28:56 +0000 (15:28 -0000)]
do not nullify deflateStream
svn path=/trunk/mcs/; revision=138301
Atsushi Eno [Tue, 21 Jul 2009 14:13:06 +0000 (14:13 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* TcpReplyChannel.cs : new reply channel implementation.
* TcpChannelListener.cs : use above for streamed reply channel.
* TcpDuplexSessionChannel.cs : more streaming mode support.
* TcpRequestChannel.cs : a couple of updates to get it working
with the reply channel above. Still some issues on .NET interop.
* System.ServiceModel.dll.sources: add TcpReplyChannel.
svn path=/trunk/mcs/; revision=138299
Atsushi Eno [Tue, 21 Jul 2009 14:05:37 +0000 (14:05 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* RequestContext.cs : added internal derived class that implements
some members.
svn path=/trunk/mcs/; revision=138298
Atsushi Eno [Tue, 21 Jul 2009 14:03:17 +0000 (14:03 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* BinaryMessageEncoder.cs : for non-session reader and writer, do not
use dictionary.
svn path=/trunk/mcs/; revision=138297
Jb Evain [Tue, 21 Jul 2009 13:56:23 +0000 (13:56 -0000)]
2009-07-21 Jb Evain <jbevain@novell.com>
* Makefile: specify bootstrap and SUBDIRS for the monotouch profile.
svn path=/trunk/mcs/; revision=138296
Atsushi Eno [Tue, 21 Jul 2009 13:49:37 +0000 (13:49 -0000)]
2009-07-21 Atsushi Enomoto <atsushi@ximian.com>
* DataContractSerializer.cs : it does not write dictionary string
when it was not created with it.
svn path=/trunk/mcs/; revision=138295
Zoltan Varga [Tue, 21 Jul 2009 12:28:09 +0000 (12:28 -0000)]
2009-07-21 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Do the work done in the exception
handler in a separate icall, to reduce the size of the wrappers.
svn path=/trunk/mono/; revision=138287
Marek Habersack [Tue, 21 Jul 2009 11:24:45 +0000 (11:24 -0000)]
2009-07-21 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/UnquotedAngleBrackets.aspx
2009-07-21 Marek Habersack <mhabersack@novell.com>
* AspTokenizer.cs: in put_back, store inTag value as well.
* AspParser.cs: correctly parse code like "<asp:tag> < </asp:tag>"
svn path=/trunk/mcs/; revision=138280
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 10:36:47 +0000 (10:36 -0000)]
2009-07-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* zlib-helper.c: don't try to finish the z_stream if it has not been
used. This fixes all the tests after the latest change.
svn path=/trunk/mono/; revision=138272
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 05:42:20 +0000 (05:42 -0000)]
free internal buffer
svn path=/trunk/mono/; revision=138259
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 02:25:00 +0000 (02:25 -0000)]
2009-07-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Makefile.am: replaced zlib_macros.c with zlib-helper.c
* zlib_macros.c: Removed file.
* zlib-helper.c: new interface for DeflateStream. Flush() actually
does something.
svn path=/trunk/mono/; revision=138254
Gonzalo Paniagua Javier [Tue, 21 Jul 2009 02:24:53 +0000 (02:24 -0000)]
2009-07-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* GzipStream.cs: fixed Dispose (bool).
* DeflateStream.cs: simplify the interface with unmanaged code, big
reduction of managaed<->unmanaged round trips.
Also fixes bug #523418.
svn path=/trunk/mcs/; revision=138252
Carlos Alberto Cortez [Tue, 21 Jul 2009 02:11:39 +0000 (02:11 -0000)]
* X11Dnd.cs: Implement support for XdndActionList, so we can get the
complete list of the supported actions in the drag source, and use the
action passed in the Position message only as a fallback. This will
help us with dnd operations with non winforms apps.
Fixes #402158.
2009-07-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=138251
Sebastien Pouliot [Tue, 21 Jul 2009 00:55:39 +0000 (00:55 -0000)]
2009-07-20 Sebastien Pouliot <sebastien@ximian.com>
* Aes.cs: Use the fully qualified name since this is not a type known
in the default corlib (2.0 or 1.x).
svn path=/trunk/mcs/; revision=138249
Carlos Alberto Cortez [Tue, 21 Jul 2009 00:32:03 +0000 (00:32 -0000)]
2009-07-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripItemCollection.cs: Use a List<> instead of an ArrayList in
Find. This should fix the exception we were getting when trying to
convert the ArrayList to an array of objects (since we were losing the
type parameter).
Fixes #519944.
svn path=/trunk/mcs/; revision=138248
Marek Habersack [Mon, 20 Jul 2009 23:32:36 +0000 (23:32 -0000)]
2009-07-21 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: GetReferencedAssemblies unconditionally
includes all assemblies from bin/ for precompiled sites. Fixes bug
#502016
svn path=/trunk/mcs/; revision=138246
Marek Habersack [Mon, 20 Jul 2009 23:32:03 +0000 (23:32 -0000)]
2009-07-21 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: make sure to ignore invalid bin/
assemblies in AddAssembliesInBin and GetTypeFromBin.
svn path=/trunk/mcs/; revision=138245
Zoltan Varga [Mon, 20 Jul 2009 20:45:55 +0000 (20:45 -0000)]
2009-07-20 Zoltan Varga <vargaz@gmail.com>
* basic-simd.cs (Main): Pass args to the test driver.
svn path=/trunk/mono/; revision=138243
Zoltan Varga [Mon, 20 Jul 2009 20:45:49 +0000 (20:45 -0000)]
2009-07-20 Zoltan Varga <vargaz@gmail.com>
* amd64/amd64-codegen.h (amd64_sse_pminud_reg_reg): Fix the encoding
of this instruction.
svn path=/trunk/mono/; revision=138242
Michael Barker [Mon, 20 Jul 2009 20:38:23 +0000 (20:38 -0000)]
2009-07-20 Michael Barker <mike@middlesoft.co.uk>
* AdminTest.cs: Fixed namespace
* AsyncPeekTest.cs: Fixed namespace
* AsyncReceiveTest.cs: Fixed namespace
* BasicMessagingTest.cs: Fixed namespace
* MessageEnumeratorTest.cs: Fixed namespace
* MQUtil.cs: Fixed namespace
* PeekTest.cs: Fixed namespace
* SelectorTest.cs: Fixed namespace
svn path=/trunk/mcs/; revision=138239
Rodrigo Kumpera [Mon, 20 Jul 2009 19:57:50 +0000 (19:57 -0000)]
2009-07-20 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile: Add support for new test kind badmd for tests with broken
metadata.
* make_tests.sh: Fix some tests that have broken metadata.
* *.sh: Add execute bit.
svn path=/trunk/mono/; revision=138236
Rodrigo Kumpera [Mon, 20 Jul 2009 19:57:39 +0000 (19:57 -0000)]
2009-07-20 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (is_valid_typespec_blob): Fix error message.
svn path=/trunk/mono/; revision=138235