Marek Safar [Thu, 2 Sep 2004 19:14:30 +0000 (19:14 -0000)]
2004-09-02 Marek Safar <marek.safar@seznam.cz>
* test-288.cs: New test for #62342.
svn path=/trunk/mcs/; revision=33241
Zoltan Varga [Thu, 2 Sep 2004 19:12:05 +0000 (19:12 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_alloc): Return a valid pointer on size 0
as well.
svn path=/trunk/mono/; revision=33239
Marek Safar [Thu, 2 Sep 2004 18:29:09 +0000 (18:29 -0000)]
Oups, I didn't commit the latest version
svn path=/trunk/mcs/; revision=33238
Zoltan Varga [Thu, 2 Sep 2004 18:09:37 +0000 (18:09 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs inssel-long32.brg: Handle the OP_LCONV_TO_OVF_I2 case
as well.
svn path=/trunk/mono/; revision=33237
Tim Coleman [Thu, 2 Sep 2004 17:20:35 +0000 (17:20 -0000)]
2004-09-02 Tim Coleman <tim@timcoleman.com>
* CipherReference.cs: Add XmlDecryptionTransform for 2.0
* EncryptedType.cs: Fix type initialization to conform to .NET
* EncryptedXml.cs:
Add support for RSA key decryption and "cloning" for Transform
* KeyInfoX509Data Reference.cs SignedInfo.cs XmlDsigC14NTransform.cs:
Add 2.0 stubs
* Signature.cs:
Create internal GetXml function if we already have a doc
* SignedXml.cs: Fix the transformation when we get an XmlDocument out
* XmlDecryptionTransform.cs: Implemented Xml Decryption
* XmlSignature.cs: Add namespace for Xml Decryption
svn path=/trunk/mcs/; revision=33236
Tim Coleman [Thu, 2 Sep 2004 17:19:23 +0000 (17:19 -0000)]
2004-09-02 Tim Coleman <tim@timcoleman.com>
* System.Security.dll.sources:
Add new System.Security.Cryptography.Xml classes
svn path=/trunk/mcs/; revision=33235
Marek Safar [Thu, 2 Sep 2004 16:55:19 +0000 (16:55 -0000)]
2004-09-02 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (Attribute.GetAttributeArgumentExpression):
Fixed bug #65170.
svn path=/trunk/mcs/; revision=33234
Marek Safar [Thu, 2 Sep 2004 16:52:42 +0000 (16:52 -0000)]
2004-09-02 Marek Safar <marek.safar@seznam.cz>
* test-205.cs: New test for #65170.
svn path=/trunk/mcs/; revision=33233
Jordi Mas i Hernandez [Thu, 2 Sep 2004 16:32:54 +0000 (16:32 -0000)]
implements resource pool for pens, brushes, and hatchbruses
svn path=/trunk/mcs/; revision=33232
Lluis Sanchez [Thu, 2 Sep 2004 16:12:57 +0000 (16:12 -0000)]
* XmlSerializerTestClasses.cs: Added some test classes.
* DeserializeTests.cs: Added tests for bug #61464.
svn path=/trunk/mcs/; revision=33231
Lluis Sanchez [Thu, 2 Sep 2004 16:03:15 +0000 (16:03 -0000)]
* ReflectionHelper.cs, SoapReflectionImporter.cs, XmlReflectionImporter.cs:
In CheckSerializableType, add the option of ignoring types with private
constructors. Some kind of lists can be deserialized
even if the constructor is private. See bug #61464.
* SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Before creating a list, check that it has a public constructor.
* TypeData.cs: Added HasPublicConstructor property.
svn path=/trunk/mcs/; revision=33230
Paolo Molaro [Thu, 2 Sep 2004 14:01:01 +0000 (14:01 -0000)]
Unbork compilation fix.
svn path=/trunk/mono/; revision=33228
Zoltan Varga [Thu, 2 Sep 2004 13:02:40 +0000 (13:02 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
svn path=/trunk/mono/; revision=33227
Zoltan Varga [Thu, 2 Sep 2004 13:00:07 +0000 (13:00 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs: Add array size tests.
svn path=/trunk/mono/; revision=33226
Zoltan Varga [Thu, 2 Sep 2004 12:56:37 +0000 (12:56 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* mini.c: Allocate a separate icall wrapper for each arity of
mono_array_new_va. Fixes #59509.
svn path=/trunk/mono/; revision=33225
Sachin Kumar [Thu, 2 Sep 2004 12:55:47 +0000 (12:55 -0000)]
Added more tests Statements
svn path=/trunk/mcs/; revision=33224
Zoltan Varga [Thu, 2 Sep 2004 12:20:47 +0000 (12:20 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* mono-codeman.c (new_codechunk): Fix windows build.
svn path=/trunk/mono/; revision=33223
Zoltan Varga [Thu, 2 Sep 2004 12:04:34 +0000 (12:04 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs: Add testcase for 64578.
svn path=/trunk/mono/; revision=33222
Dick Porter [Thu, 2 Sep 2004 12:03:16 +0000 (12:03 -0000)]
Compile fix
svn path=/trunk/mono/; revision=33221
Zoltan Varga [Thu, 2 Sep 2004 12:00:17 +0000 (12:00 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* inssel-long32.brg: Fix OP_LCONV_TO_OVF_I1 rule. Fixes #64578.
svn path=/trunk/mono/; revision=33219
Martin Baulig [Thu, 2 Sep 2004 11:55:25 +0000 (11:55 -0000)]
New test.
svn path=/trunk/mcs/; revision=33218
Martin Baulig [Thu, 2 Sep 2004 11:55:03 +0000 (11:55 -0000)]
It's called System.Xml.
svn path=/trunk/mcs/; revision=33217
Martin Baulig [Thu, 2 Sep 2004 11:50:35 +0000 (11:50 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* Makefile (test-generic-4): New target to run the multi-file
generic tests.
svn path=/trunk/mcs/; revision=33216
Martin Baulig [Thu, 2 Sep 2004 11:33:29 +0000 (11:33 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* Makefile (test-generic): Renamed to test-generic-1.
(test-generic): New target, runs test-generic-1, test-generic-2
and test-generic-3.
svn path=/trunk/mcs/; revision=33215
Zoltan Varga [Thu, 2 Sep 2004 11:32:45 +0000 (11:32 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* trace.c (is_filenamechar): Allow 0..9 in strings. Fixes #65094.
svn path=/trunk/mono/; revision=33214
Martin Baulig [Thu, 2 Sep 2004 11:28:39 +0000 (11:28 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* mini.c (mono_method_to_ir): When initializing the locals, call
handle_initobj() on the generic instance itself, not its
underlying type.
svn path=/trunk/mono/; revision=33213
Martin Baulig [Thu, 2 Sep 2004 11:25:27 +0000 (11:25 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* class.c (mono_class_instance_size): Don't allow generic type
definitions or open generic instances.
(mono_class_array_element_size): If we're a value type, call
mono_class_instance_size() on the original class.
* metadata.c (mono_type_size, mono_type_stack_size): Correctly
handle generic instances.
* mono-debug-debugger.c (write_type): Handle generic instances
like classes.
svn path=/trunk/mono/; revision=33212
Zoltan Varga [Thu, 2 Sep 2004 11:22:41 +0000 (11:22 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_alloc): Raise an OutOfMemory exception if
the allocation request fails. Fixes #65089.
svn path=/trunk/mono/; revision=33211
Martin Baulig [Thu, 2 Sep 2004 11:22:31 +0000 (11:22 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* statement.cs (Using.EmitLocalVariableDeclFinally): Use
TypeManager.GetArgumentTypes() rather than calling GetParameters()
on the MethodBase.
svn path=/trunk/mcs/; revision=33210
Zoltan Varga [Thu, 2 Sep 2004 10:58:26 +0000 (10:58 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* mini.h (MonoJitDynamicMethodInfo): New structure, extension of
MonoJitInfo for dynamic methods.
* mini.c: Rename trampoline_hash_mutex to jit_mutex.
* mini.c: Add support for freeing JIT data for dynamic methods.
svn path=/trunk/mono/; revision=33209
Zoltan Varga [Thu, 2 Sep 2004 10:54:58 +0000 (10:54 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_runtime_free_method): Do not call mono_free_method.
svn path=/trunk/mono/; revision=33208
Zoltan Varga [Thu, 2 Sep 2004 10:52:08 +0000 (10:52 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* mono-codeman.h mono-codeman.c: Generalize so it can be used to
allocate code for dynamic methods (one method per code manager).
svn path=/trunk/mono/; revision=33207
Sebastien Pouliot [Thu, 2 Sep 2004 10:49:30 +0000 (10:49 -0000)]
2004-09-02 Sebastien Pouliot <sebastien@ximian.com>
* Site.cs: Updated to match latest unit tests, i.e. match Fx 1.1 on
NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
svn path=/trunk/mcs/; revision=33206
Sebastien Pouliot [Thu, 2 Sep 2004 10:47:50 +0000 (10:47 -0000)]
2004-09-02 Sebastien Pouliot <sebastien@ximian.com>
* SiteIdentityPermission.cs: Updated to match latest unit tests, i.e.
match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
* StrongNameIdentityPermission.cs: Updated to match latest unit tests,
i.e. match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
* UrlIdentityPermission.cs: Updated to match latest unit tests, i.e.
match Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
svn path=/trunk/mcs/; revision=33205
Sebastien Pouliot [Thu, 2 Sep 2004 10:45:05 +0000 (10:45 -0000)]
2004-09-02 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSet.cs: Updated to match latest unit tests, i.e. match
Fx 1.1 on NET_1_1 and Fx 2.0 (beta 1) in NET_2_0.
* SecurityElement.cs: FromString is now internal before NET_2_0.
svn path=/trunk/mcs/; revision=33204
Zoltan Varga [Thu, 2 Sep 2004 10:41:35 +0000 (10:41 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* Delegate.cs: Free the delegate trampoline in the finalizer.
svn path=/trunk/mcs/; revision=33203
Zoltan Varga [Thu, 2 Sep 2004 10:40:22 +0000 (10:40 -0000)]
2004-09-02 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_runtime_free_method): New function to free a dynamic
method.
* marshal.c (mono_delegate_free_ftnptr): New function to free the
delegate trampoline.
* marshal.c (mono_marshal_get_managed_wrapper): Mark managed wrapper
with hasthis as dynamic,
* icall.c (ves_icall_System_Delegate_FreeTrampoline): New icall.
* domain.c (mono_jit_info_table_remove): New function to remove an
entry from the jit info table.
* class-internals.h (MonoMethod): Add 'dynamic' field.
* loader.c: Fix warnings.
svn path=/trunk/mono/; revision=33202
Martin Baulig [Thu, 2 Sep 2004 09:39:20 +0000 (09:39 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* MethodBuilder.cs (MethodBuilder.GetParameters): Throw a
NotSupportedException() until the type has been fully created.
svn path=/trunk/mcs/; revision=33201
Umadevi S [Thu, 2 Sep 2004 08:30:16 +0000 (08:30 -0000)]
2004-09-02 Umadevi S <sumadevi@novell.com>
* SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
svn path=/trunk/mcs/; revision=33196
Umadevi S [Thu, 2 Sep 2004 08:26:02 +0000 (08:26 -0000)]
2004-09-02 Umadevi S <sumadevi@novell.com>
* SqlCommandTest.cs - added file. Testing ExecuteNonQuery
svn path=/trunk/mcs/; revision=33195
Martin Baulig [Thu, 2 Sep 2004 07:55:34 +0000 (07:55 -0000)]
2004-09-02 Martin Baulig <martin@ximian.com>
* runtime/net_1_1/Makefile.am (install-data-local): Install
mscorlib.dll.mdb into $(corlibdir).
* runtime/net_2_0/Makefile.am: Likewise.
svn path=/trunk/mono/; revision=33194
Atsushi Eno [Thu, 2 Sep 2004 07:14:15 +0000 (07:14 -0000)]
2004-09-02 Atsushi Enomoto <atsushi@ximian.com>
* xml-classes : updates on 2.0 stuff. deprecating XPathDocument,
updating XQuery status etc.
svn path=/trunk/mono/; revision=33192
Umadevi S [Thu, 2 Sep 2004 05:18:45 +0000 (05:18 -0000)]
2004-09-02 Umadevi S <sumadevi@novell.com>
* Added file SqlDataReaderTest.cs
svn path=/trunk/mcs/; revision=33191
Carlos Alberto Cortez [Wed, 1 Sep 2004 23:44:48 +0000 (23:44 -0000)]
corlib.sources.dll updated
svn path=/trunk/mcs/; revision=33190
Carlos Alberto Cortez [Wed, 1 Sep 2004 23:41:24 +0000 (23:41 -0000)]
System.Collections.Generic.Collection added
svn path=/trunk/mcs/; revision=33189
Sebastien Pouliot [Wed, 1 Sep 2004 21:51:49 +0000 (21:51 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* EnvironmentPermissionTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1).
* PublisherIdentityPermissionTest.cs: Fixed tests so they execute
without errors on both Fx 1.1 and Fx 2.0 (beta 1).
* SiteIdentityPermissionTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1). Fixed line endings.
* StrongNameIdentityPermissionTest.cs: Fixed tests so they execute
without errors on both Fx 1.1 and Fx 2.0 (beta 1).
* StrongNamePublicKeyBlobTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit
2.2 format.
* UrlIdentityPermissionTest.cs: Fixed tests so they execute without
errors on both Fx 1.1 and Fx 2.0 (beta 1).
svn path=/trunk/mcs/; revision=33188
Sebastien Pouliot [Wed, 1 Sep 2004 21:43:52 +0000 (21:43 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* HashTest.cs: Fixed tests so they execute without errors on both
Fx 1.1 and Fx 2.0 (beta 1).
* PublisherTest.cs: Fixed tests so they execute without errors on both
Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 2.2 format.
* SiteTest.cs: Fixed tests so they execute without errors on both Fx
1.1 and Fx 2.0 (beta 1).
* StrongNameTest.cs: Fixed tests so they execute without errors on
both Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 2.2 format.
* UrlTest.cs: Fixed tests so they execute without errors on both Fx
1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 2.2 format.
svn path=/trunk/mcs/; revision=33187
Sebastien Pouliot [Wed, 1 Sep 2004 21:37:54 +0000 (21:37 -0000)]
2003-09-01 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetTest.cs: Fixed tests so they execute without errors on
both Fx 1.1 and Fx 2.0 (beta 1).
* SecurityManagerTest.cs: Fixed tests so they execute without errors
on both Fx 1.1 and Fx 2.0 (beta 1).
svn path=/trunk/mcs/; revision=33186
Gonzalo Paniagua Javier [Wed, 1 Sep 2004 21:36:46 +0000 (21:36 -0000)]
2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CachingCompiler.cs: don't try to watch for changes in system
assemblies. Fixes bug #64871.
svn path=/trunk/mcs/; revision=33184
Jackson Harper [Wed, 1 Sep 2004 21:30:09 +0000 (21:30 -0000)]
Fix typo
svn path=/trunk/mcs/; revision=33183
Peter Dennis Bartok [Wed, 1 Sep 2004 20:44:11 +0000 (20:44 -0000)]
- Fixed state
svn path=/trunk/mcs/; revision=33182
Peter Dennis Bartok [Wed, 1 Sep 2004 20:40:02 +0000 (20:40 -0000)]
- Functional initial check-in
svn path=/trunk/mcs/; revision=33181
Gonzalo Paniagua Javier [Wed, 1 Sep 2004 20:01:58 +0000 (20:01 -0000)]
2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LiteralControl.cs: stylized. This control has EnableViewState disabled
by default and doesn't get an automatic ID. When text is null -> "".
svn path=/trunk/mcs/; revision=33179
Peter Dennis Bartok [Wed, 1 Sep 2004 20:01:24 +0000 (20:01 -0000)]
- Added missing default
- Added missing region mark
svn path=/trunk/mcs/; revision=33178
Gonzalo Paniagua Javier [Wed, 1 Sep 2004 19:55:32 +0000 (19:55 -0000)]
2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
don't call MapPathSecure on the content itself.
* XmlBuilder.cs: handle XML documents written inside asp:xml. The
document is checked at parse time and will be checked again at run time.
Fixes bug #63828.
svn path=/trunk/mcs/; revision=33175
Gonzalo Paniagua Javier [Wed, 1 Sep 2004 19:51:27 +0000 (19:51 -0000)]
2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: handle builders that need to process inner text
with tags.
* Location.cs: added setters for the properties.
svn path=/trunk/mcs/; revision=33174
Marek Safar [Wed, 1 Sep 2004 18:46:13 +0000 (18:46 -0000)]
2004-09-01 Marek Safar <marek.safar@seznam.cz>
* Makefile: Enabled test-286
* test-287.cs: New test for static classes.
svn path=/trunk/mcs/; revision=33173
Marek Safar [Wed, 1 Sep 2004 18:45:52 +0000 (18:45 -0000)]
I fixed mono CodeDom bugs to pass on the latest Microsoft CodeDom Test Suite.
svn path=/trunk/mcs/; revision=33172
Lluis Sanchez [Wed, 1 Sep 2004 18:25:31 +0000 (18:25 -0000)]
* MonoWSDL.cs, MonoWSDL2.cs: Use a valid default file name when the wsdl
documents does not contain a service from which to take the name.
Use the "file://" prefix when using the DiscoveryClientProtocol class,
since in MS.NET does not supports plain file paths.
* SampleGenerator.cs: Fixed header output.
svn path=/trunk/mcs/; revision=33171
Marek Safar [Wed, 1 Sep 2004 18:11:51 +0000 (18:11 -0000)]
Fixed test-286
svn path=/trunk/mcs/; revision=33170
Marek Safar [Wed, 1 Sep 2004 18:01:56 +0000 (18:01 -0000)]
2004-09-01 Marek Safar <marek.safar@seznam.cz>
C# 2.0 Static classes implemented
* class.cs (TypeContainer): instance_constructors,
initialized_fields, initialized_static_fields,
default_constructor, base_inteface_types are protected to be
accessible from StaticClass.
(TypeContainer.DefineDefaultConstructor): New virtual method
for custom default constructor generating
(StaticClass): New class to handle "Static classes" feature.
* cs-parser.jay: Handle static keyword on class like instance
of StaticClass.
* driver.cs: Added "/langversion" command line switch with two
options (iso-1, default).
svn path=/trunk/mcs/; revision=33169
Marek Safar [Wed, 1 Sep 2004 17:55:44 +0000 (17:55 -0000)]
2004-09-01 Marek Safar <marek.safar@seznam.cz>
* 20 new tests mainly for static classes.
svn path=/trunk/mcs/; revision=33168
Lluis Sanchez [Wed, 1 Sep 2004 17:41:35 +0000 (17:41 -0000)]
* DiscoveryClientProtocol.cs: Added support for "file://" urls.
svn path=/trunk/mcs/; revision=33167
Martin Baulig [Wed, 1 Sep 2004 17:22:23 +0000 (17:22 -0000)]
2004-09-01 Martin Baulig <martin@ximian.com>
* IMonoSymbolWriter.cs: Removed.
* ModuleBuilder.cs, LocalBuilder.cs, ILGenerator.cs: Removed the
old debugging code.
svn path=/trunk/mcs/; revision=33166
Martin Baulig [Wed, 1 Sep 2004 17:20:11 +0000 (17:20 -0000)]
2004-09-01 Martin Baulig <martin@ximian.com>
* mono-debug.c, debug-mono-symfile.c: Use mono_loader_lock()
instead of mono_debugger_lock() because the latter one is a no-op
unless running in the debugger.
svn path=/trunk/mono/; revision=33165
Martin Baulig [Wed, 1 Sep 2004 17:02:25 +0000 (17:02 -0000)]
2004-09-01 Martin Baulig <martin@ximian.com>
* Makefile: Disable test-286 for the moment.
svn path=/trunk/mcs/; revision=33164
Lluis Sanchez [Wed, 1 Sep 2004 16:16:24 +0000 (16:16 -0000)]
* SerializationCodeGenerator.cs: Generate correct "HasValue" check for
value list serialization.
* XmlSchemaImporter.cs: Added some null checks.
svn path=/trunk/mcs/; revision=33163
Martin Baulig [Wed, 1 Sep 2004 15:44:41 +0000 (15:44 -0000)]
Disable gen-72 for the moment.
svn path=/trunk/mcs/; revision=33162
Martin Baulig [Wed, 1 Sep 2004 15:30:33 +0000 (15:30 -0000)]
Fixme, hope this is right.
svn path=/trunk/mcs/; revision=33161
Zoltan Varga [Wed, 1 Sep 2004 15:21:45 +0000 (15:21 -0000)]
2004-09-01 Zoltan Varga <vargaz@freemail.hu>
* class.c (class_compute_field_layout): Classes with auto-layout or
reference fields are not blittable.
svn path=/trunk/mono/; revision=33160
Jordi Mas i Hernandez [Wed, 1 Sep 2004 15:10:10 +0000 (15:10 -0000)]
fixes method signatures, new methods, events, fixes autosize
svn path=/trunk/mcs/; revision=33159
Rafael Teixeira [Wed, 1 Sep 2004 14:55:38 +0000 (14:55 -0000)]
exercise global attribute bug
svn path=/trunk/mcs/; revision=33158
Lluis Sanchez [Wed, 1 Sep 2004 14:09:56 +0000 (14:09 -0000)]
* BasicProfileChecker.cs: Some small fixes.
* FaultBinding.cs: Removed useless code.
* HttpSimpleProtocolImporter.cs, SoapProtocolImporter.cs: Take into account
that now we may be generating code for a binding which is not referenced
by any port. In this case Port is null.
* MessageBinding.cs: Properly set the parent operation binding.
* OperationBinding.cs: When adding messages, set its parent property.
* ProtocolImporter.cs: Support generation of proxies for wsdl documents
that do not have any Service entry. In this case, it now generates
a proxy for every binding.
svn path=/trunk/mcs/; revision=33157
Sachin Kumar [Wed, 1 Sep 2004 13:58:09 +0000 (13:58 -0000)]
Added new tests for Array Statements
svn path=/trunk/mcs/; revision=33156
Jordi Mas i Hernandez [Wed, 1 Sep 2004 13:19:19 +0000 (13:19 -0000)]
Init string variables with an empty object
svn path=/trunk/mcs/; revision=33155
Dick Porter [Wed, 1 Sep 2004 12:34:23 +0000 (12:34 -0000)]
2004-09-01 Dick Porter <dick@ximian.com>
* icall.c (ves_icall_System_Reflection_Assembly_get_location): Use
mono_image_get_filename() to get the assembly location.
* icall.c:
* metadata.h: Fix compile warnings
svn path=/trunk/mono/; revision=33154
Sebastien Pouliot [Wed, 1 Sep 2004 12:30:08 +0000 (12:30 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* PolicyLevel.cs: Fixed Reset not to delete/load policy file for
AppDomain level. Added internal Resolve method for class names.
svn path=/trunk/mcs/; revision=33153
Sebastien Pouliot [Wed, 1 Sep 2004 12:28:00 +0000 (12:28 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* ZoneIdentityPermission.cs: Do not include "Zone" attribute in XML if
zone == NoZone (so the permission can be considered as empty).
svn path=/trunk/mcs/; revision=33152
Sebastien Pouliot [Wed, 1 Sep 2004 12:25:44 +0000 (12:25 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* NamedPermissionSet.cs: FromXml now calls base class instead of an
internal method of PermissionSet. This should allow class to inherit
from NamedPermissionSet properly.
* PermissionSet.cs: Added an internal PolicyLevel property to allow
policy file class name resolution. Fixed IsEmpty to return true if
the list contains "empty" permissions. Fixed Copy to copy permissions
even for unrestricted sets (again because of IUnrestrictedPermission).
* SecurityManager.cs: Fixed Resolve(Evidence) because permission
classes Intersect methods can either return null or an empty
PermissionSet. Fixed ResolvePolicy(Evidence[]) for null (NET_2_0).
svn path=/trunk/mcs/; revision=33151
Raja R Harinath [Wed, 1 Sep 2004 12:19:41 +0000 (12:19 -0000)]
(test-compiler-jit-real): Add barebones support for
multi-file tests. If the compilation succeeded and there's no
.exe file, then assume nothing went wrong. The rest is up to the
"Compiler options:".
svn path=/trunk/mcs/; revision=33150
Sebastien Pouliot [Wed, 1 Sep 2004 12:17:31 +0000 (12:17 -0000)]
2003-09-01 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetTest.cs: Added tests for IsEmpty which can return true
even when Count > 0. Added tests for FromXml to see if class names
requires to be resolved when loaded from policy files.
* SecurityManagerTest.cs: Minor changes to tests so they succeed with
both Fx 1.1 and Fx 2.0 (beta 1).
svn path=/trunk/mcs/; revision=33149
Raja R Harinath [Wed, 1 Sep 2004 12:15:56 +0000 (12:15 -0000)]
new tests from bug 61128
svn path=/trunk/mcs/; revision=33148
Sebastien Pouliot [Wed, 1 Sep 2004 12:09:34 +0000 (12:09 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* ZoneIdentityPermissionTest.cs: Ensure we aren't encoding NoZone in
the permission XML (ToXml).
svn path=/trunk/mcs/; revision=33147
Sebastien Pouliot [Wed, 1 Sep 2004 12:07:28 +0000 (12:07 -0000)]
2004-09-01 Sebastien Pouliot <sebastien@ximian.com>
* ZoneTest.cs: Added test to check that NoZone isn't included in the
permission XML (returned by CreateIdentityPermission).
svn path=/trunk/mcs/; revision=33146
Zoltan Varga [Wed, 1 Sep 2004 11:25:03 +0000 (11:25 -0000)]
2004-09-01 Zoltan Varga <vargaz@freemail.hu>
* class.c (class_compute_field_layout): System.Object is blittable.
* marshal.c (mono_marshal_get_native_wrapper): Pass blittable classes
as in/out. Fixes #59909.
svn path=/trunk/mono/; revision=33145
Zoltan Varga [Wed, 1 Sep 2004 11:22:48 +0000 (11:22 -0000)]
2004-08-31 Zoltan Varga <vargaz@freemail.hu>
* pinvoke16.cs: Merge this into pinvoke2.cs, and fix it.
svn path=/trunk/mono/; revision=33144
Jordi Mas i Hernandez [Wed, 1 Sep 2004 10:20:57 +0000 (10:20 -0000)]
fires OnFontChanged event
svn path=/trunk/mcs/; revision=33143
Atsushi Eno [Wed, 1 Sep 2004 07:30:32 +0000 (07:30 -0000)]
2004-09-01 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : on GetAttributeNavigator(int), namespace
node could be this XmlReader's attribute node.
svn path=/trunk/mcs/; revision=33142
Martin Baulig [Wed, 1 Sep 2004 06:54:59 +0000 (06:54 -0000)]
2004-09-01 Martin Baulig <martin@ximian.com>
* metadata.h (MONO_TYPE_ISREFERENCE): Call
mono_metadata_generic_inst_is_valuetype() if we're a generic
instance to check whether our underlying type is a reference type.
svn path=/trunk/mono/; revision=33141
Martin Baulig [Wed, 1 Sep 2004 06:52:55 +0000 (06:52 -0000)]
2004-09-01 Martin Baulig <martin@ximian.com>
* metadata.c (mono_type_size): If we're a generic instance, call
mono_class_value_size() for value types.
svn path=/trunk/mono/; revision=33140
Martin Baulig [Wed, 1 Sep 2004 06:49:24 +0000 (06:49 -0000)]
2004-09-01 Martin Baulig <martin@ximian.com>
* mini-x86.c (is_regsize_var): Added support for generic
instances.
(mono_arch_emit_prolog): Make this compile again, use
`x86_push_imm_template (code)'.
svn path=/trunk/mono/; revision=33139
Atsushi Eno [Wed, 1 Sep 2004 06:48:41 +0000 (06:48 -0000)]
2004-09-01 Atsushi Enomoto <atsushi@ximian.com>
* XQueryCommand.cs : Forgot to commit. sys.xml internal class now
requires this instance for message delegating (not complete though).
svn path=/trunk/mcs/; revision=33138
Martin Baulig [Wed, 1 Sep 2004 06:26:54 +0000 (06:26 -0000)]
Reverted this:
2004-08-02 Martin Baulig <martin@ximian.com>
(New.DoEmit): Also use the `Newobj' opcode for generic instances.
svn path=/trunk/mcs/; revision=33137
Ravindra [Wed, 1 Sep 2004 02:52:03 +0000 (02:52 -0000)]
Minor formatting changes and added location for the coding style guideline for Mono.
svn path=/trunk/mcs/; revision=33136
Peter Dennis Bartok [Wed, 1 Sep 2004 02:07:37 +0000 (02:07 -0000)]
- Enabled display of strings
svn path=/trunk/mcs/; revision=33135
Peter Dennis Bartok [Wed, 1 Sep 2004 02:05:18 +0000 (02:05 -0000)]
- Added (partial) implementation of DialogResult; rest needs to be
implemented when the modal loop code is done
svn path=/trunk/mcs/; revision=33134
Peter Dennis Bartok [Wed, 1 Sep 2004 01:55:58 +0000 (01:55 -0000)]
- Fixed to match the removal of the needs_redraw concept
svn path=/trunk/mcs/; revision=33133
Peter Dennis Bartok [Wed, 1 Sep 2004 01:55:20 +0000 (01:55 -0000)]
- Removed the rather odd split between 'needs redraw' and redrawing
- Now handles the events that require regeneration (ambient properties and
size)
svn path=/trunk/mcs/; revision=33132
Peter Dennis Bartok [Wed, 1 Sep 2004 01:41:31 +0000 (01:41 -0000)]
- Added firing of BackColorChanged event
- Added TopLevelControl property
- Fixed handling of WM_ERASEBKGRND message
svn path=/trunk/mcs/; revision=33131
Peter Dennis Bartok [Wed, 1 Sep 2004 01:37:59 +0000 (01:37 -0000)]
- Removed wrong stuff
svn path=/trunk/mcs/; revision=33130