mono.git
20 years ago2004-02-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 24 Feb 2004 14:15:30 +0000 (14:15 -0000)]
2004-02-24  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Add support for the OID "1.3.14.3.2.29" (SHA1
with RSA). Added a fix for "really" null algorithm parameters.
* X509CertificateCollection.cs: Fixed Contains and IndexOf (worked
on objects but not for the same certificate in a different object).

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

20 years ago2004-02-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 24 Feb 2004 14:05:48 +0000 (14:05 -0000)]
2004-02-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* IWindowsFormsEditorService.cs: Corrected casing,
  it is not yet corrected in the filename, implemented

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

20 years ago2004-02-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 24 Feb 2004 14:01:31 +0000 (14:01 -0000)]
2004-02-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* BitmapEditor.cs
* FontEditor.cs
* FontNameEditor.cs
* IconEditor.cs
* ImageEditor.cs
* MetafileEditor.cs
* ColorEditor.cs: beautifications

* ContentAlignmentEditor.cs
* CursorEditor.cs: Implemented a simple UI
* ColorEditor.cs: Implemented a simple UI

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

20 years agofont clone, tostring, and fix
Jordi Mas i Hernandez [Tue, 24 Feb 2004 12:23:20 +0000 (12:23 -0000)]
font clone, tostring, and fix

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

20 years agoSystem.Xml.dll.sources: Added SerializationSource.cs.
Lluis Sanchez [Tue, 24 Feb 2004 12:05:35 +0000 (12:05 -0000)]
System.Xml.dll.sources: Added SerializationSource.cs.

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

20 years agoAdded
Lluis Sanchez [Tue, 24 Feb 2004 12:04:45 +0000 (12:04 -0000)]
Added

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

20 years ago * SerializationCodeGenerator.cs: Added support for generation of readers
Lluis Sanchez [Tue, 24 Feb 2004 12:03:28 +0000 (12:03 -0000)]
* SerializationCodeGenerator.cs: Added support for generation of readers
  and writers for several maps in a single class. Added support for
  XmlMemberMapping. Fixed generation of serializers that use encoded format.
* SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
  SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
  XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
  XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
  XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
  XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
  XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
  Added InternalEquals method.
* XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
* SoapReflectionImporter.cs: Set SerializationSource to generated maps.
* XmlCustomFormatter.cs: Fixed little bug.
* XmlMapping.cs: Added Source property. This a global identifier of the map.
* XmlReflectionImporter.cs: Set SerializationSource to generated maps.
* XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
  mapping members.
* XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
* XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
  correctly used.
* XmlSerializer.cs: Added support for generation of serializers.

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

20 years ago- Prevented duplicate free
Peter Dennis Bartok [Tue, 24 Feb 2004 04:49:00 +0000 (04:49 -0000)]
- Prevented duplicate free

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

20 years agoexplain
Ben Maurer [Tue, 24 Feb 2004 02:39:21 +0000 (02:39 -0000)]
explain

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

20 years agoRemove utf8 markers in wrong place. Fixes bug #54493.
Gonzalo Paniagua Javier [Tue, 24 Feb 2004 01:53:40 +0000 (01:53 -0000)]
Remove utf8 markers in wrong place. Fixes bug #54493.

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

20 years ago2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 24 Feb 2004 00:42:25 +0000 (00:42 -0000)]
2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileStream.cs: remove dangling ^Ms.

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

20 years ago2004-02-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Feb 2004 23:13:58 +0000 (23:13 -0000)]
2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Binder.cs:
(SelectProperty): check the return Type if provided.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 22:28:08 +0000 (22:28 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* gen-40.cs: New generics test.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 22:25:54 +0000 (22:25 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.IsGeneric): Make this a property instead of a
field and check whether we're nested inside a generic type.
(DeclSpace.ResolveType): If we're resolving to a generic type
definition, create a ConstructedType and return its resolved type.
(DeclSpace.initialize_type_params): New private method;
initializes the `type_param_list' field from the type parameters
from this and all enclosing classes.
(DeclSpace.TypeParameters): Call initialize_type_params() unless
we're already initialized.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 20:25:24 +0000 (20:25 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security.dll.sources: Removed TestAnchors.cs (no need to be hardcoded anymore).

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 20:23:29 +0000 (20:23 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* TestAnchors.cs: Removed - no need to be hardcoded anymore.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 20:19:46 +0000 (20:19 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* TestAnchors.cs: Removed - no need to be hardcoded anymore.
* X509Chain.cs: Updated to use the new store for trusted roots.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 20:07:32 +0000 (20:07 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* Added new CRL and store support. Removed old (unused) store interface.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 20:06:12 +0000 (20:06 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* X509CRL.cs: New. Certificate Revocation List v1/v2 support.
* X509Store.cs: New. Managed each individual store (with or
without CRL support).
* X509StoreManager.cs: New. Certificate Store Manager to access
user and machine stores and to merge them when required.
* X509Stores.cs: New. Certificate stores group for either the
current user or the local machine.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 20:01:40 +0000 (20:01 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* CRLDistributionPointsExtension.cs: Fix some warnings.
* SubjectKeyIdentifierExtension.cs: Added new Identifier property.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 16:14:04 +0000 (16:14 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: For some strange reason v1.10 won't compile with mcs.
There's something strange about it.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 16:10:34 +0000 (16:10 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* many-locals.cs: Add tests for locals with large stack frame offsets.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 16:09:37 +0000 (16:09 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* *.cs: New regression tests.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 16:07:07 +0000 (16:07 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c inssel-sparc.brg: Update after latest changes. Ongoing sparc
work.

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

20 years ago2004-02-23 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 23 Feb 2004 16:05:30 +0000 (16:05 -0000)]
2004-02-23 Ben Maurer  <bmaurer@users.sourceforge.net>

* String.cs (Equals): Speed up this method by avoiding ABC
and by comparing by 32 bit words rather than 16 bit chars.

This gives between 0x (for 1 char) and >2x (for large strings)
factor of improvement.

A big thanks to Miguel, who suggested the integer compares.

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

20 years ago2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Feb 2004 16:02:30 +0000 (16:02 -0000)]
2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoType.cs: use the binder in GetPropertyImpl.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 15:58:28 +0000 (15:58 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Typo

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 15:56:34 +0000 (15:56 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Corrected isProbablePrime by removing the redundant
loop. Fix #54750.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 15:52:13 +0000 (15:52 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_runtime_install_handlers): Fix build.

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

20 years agoUpdate Mono.Security sources list
Carlos Guzmán Álvarez [Mon, 23 Feb 2004 14:58:35 +0000 (14:58 -0000)]
Update Mono.Security sources list

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

20 years ago2004-02-23 Carlos Guzman Alvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Mon, 23 Feb 2004 14:57:58 +0000 (14:57 -0000)]
2004-02-23 Carlos Guzman Alvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls/TlsContext.cs:

- Removed file, implementation is now present in:

Context.cs
ClientContext.cs
ServerContext.cs

* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/ClientContext.cs:
* Mono.Security.Protocol.Tls/ServerContext.cs:
* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:

 - New classes.

* Mono.Security.Protocol.Tls/SslServerStream.cs:

- Added implementation for properties, and read/write methods
as in SslClientStream.

- doHandshake method is not implemented yet.

* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/Ciphersuite.cs:
* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
* Mono.Security.Protocol.Tls.Alerts/TlsCloseNotifyAlert.cs:
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/*.cs:

- Added changes for make use of the new Context implementation.

* Mono.Security.Protocol.Tls.Handshake.Server/*.cs:

        - New classes with method signatures only for the server handshake
        implementation.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 14:24:14 +0000 (14:24 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c mini-x86.c mini-ppc.c trace.h trace.c: Move tracing
functions to arch independent code.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 14:19:52 +0000 (14:19 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MonoJitTlsData): Add 'stack_size', 'signal_stack' and
'signal_stack_size' members.

* mini.h mini.c mini-x86.h mini-x86.c: Run sigsegv handlers on an
alternate signal stack.

* exceptions-x86.c: Add stack overflow handling.

* mini.h mini.c mini-x86.c mini-ppc.c trace.h trace.c: Move tracing
functions to arch independent code.

* mini.c (mono_print_tree): Print more detailed info for load_membase
opcodes.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 14:09:13 +0000 (14:09 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.h (MonoDomain): Add preallocated null_reference_ex and
stack_overflow_ex members which are used by exception handling.

* appdomain.c (mono_runtime_init): Initialize the new members.

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

20 years ago2004-02-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 23 Feb 2004 14:00:17 +0000 (14:00 -0000)]
2004-02-23  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_gc_enable): New helper function.
* gc.c (mono_gc_disable): New helper function.

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

20 years ago * BinaryCommon.cs: Added UseReflectionSerialization property.
Lluis Sanchez [Mon, 23 Feb 2004 13:21:52 +0000 (13:21 -0000)]
* BinaryCommon.cs: Added UseReflectionSerialization property.
* CodeGenerator.cs, ObjectWriter.cs: When serializing the name of an
  inherited field, prefix the name with the class name. This fixes #54439.
  Moved check for reflection serialization variable to BinaryCommon.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 13:03:31 +0000 (13:03 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* tlstest.cs: New. Tool to test for SSLv3 and TLSv1 stream
implementation.

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

20 years ago2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 23 Feb 2004 13:02:15 +0000 (13:02 -0000)]
2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* README: Test tools descriptions.
* tlstest/*: TLS/SSL test tool.

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

20 years agoMeasureString sample
Jordi Mas i Hernandez [Mon, 23 Feb 2004 12:39:46 +0000 (12:39 -0000)]
MeasureString sample

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

20 years ago * AsyncCalls.cs, BaseCalls.cs, CallSeq.cs, ContextHookAttribute.cs,
Lluis Sanchez [Mon, 23 Feb 2004 10:49:08 +0000 (10:49 -0000)]
* AsyncCalls.cs, BaseCalls.cs, CallSeq.cs, ContextHookAttribute.cs,
  ContextsTest.cs, CrossDomainCalls.cs, DelegateCalls.cs, HttpCalls.cs,
  ReflectionCalls.cs, ServerObject.cs, SyncCalls.cs, TcpCalls.cs:
  Shortened namespace name.

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

20 years ago * TcpClientTransportSink.cs: Release the connection after sending an
Lluis Sanchez [Mon, 23 Feb 2004 10:44:52 +0000 (10:44 -0000)]
* TcpClientTransportSink.cs: Release the connection after sending an
  OneWay call. This fixes bug #54671.

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

20 years ago2004-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 23 Feb 2004 10:11:44 +0000 (10:11 -0000)]
2004-02-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/AspGenerator.cs: error out when <object> server
tag is not closed. Ignore any content inside it.

* System.Web.UI/ControlBuilder.cs: added SetTagName().

* System.Web.UI/ObjectTagBuilder.cs: use SetTagName so that we can
properly close <object> builders if the closing tag is provided.

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

20 years agoBasic support of ListBox. (only view, no events, no access to selected data)
Alberto Fernandez [Mon, 23 Feb 2004 10:00:58 +0000 (10:00 -0000)]
Basic support of ListBox. (only view, no events, no access to selected data)

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

20 years ago * corlib.dll.sources: Add LockQueue.cs to build.
Jackson Harper [Mon, 23 Feb 2004 07:47:38 +0000 (07:47 -0000)]
    * corlib.dll.sources: Add LockQueue.cs to build.

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

20 years ago * LockCookie.cs: Add some fields for restoring locks.
Jackson Harper [Mon, 23 Feb 2004 07:46:00 +0000 (07:46 -0000)]
    * LockCookie.cs: Add some fields for restoring locks.
* ReaderWriterLock.cs: Implement
* LockQueue.cs: New File - used for queueing thread locks in
ReaderWriterLock.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 04:00:02 +0000 (04:00 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* Stack.cs, Queue.cs: New files.  Hmm, looks like I forgot to add
them to CVS; they're already on my hard disk since December or so.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 03:48:30 +0000 (03:48 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* class.cs (Method.Define): Create the generic method before
calling DoDefine().
(Memberbase.DoDefine): Added DeclSpace argument (in addition to
the TypeContainer one); we use this for generic methods.

* decl.cs (CheckAccessLevel): If we're a GenericMethod, use our
parent's TypeBuilder.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 03:37:03 +0000 (03:37 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* MethodBuilder.cs (MethodBuilder.SetGenericMethodSignature):
Added MethodAttributes and CallingConventions arguments.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 01:33:00 +0000 (01:33 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* icall.c: I must have been really stupid - make it actually work
this time ;-)

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

20 years agoMake it a class; we're currently having some problems with structs.
Martin Baulig [Mon, 23 Feb 2004 00:01:12 +0000 (00:01 -0000)]
Make it a class; we're currently having some problems with structs.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 23 Feb 2004 00:00:28 +0000 (00:00 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* loader.c (method_from_memberref): Only inflate the method if
it's in another klass.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 22 Feb 2004 23:38:55 +0000 (23:38 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* mini.c (mini_get_method): Set `gmethod->generic_inst'.

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

20 years ago2004-02-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 22 Feb 2004 23:32:01 +0000 (23:32 -0000)]
2004-02-23  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_type): Fixed two bugs.
(mono_class_init): If we're a generic instance and an interface,
compute `class->interface_id'; also create `class->interfaces'
here and inflate them.

* metadata.c (do_mono_metadata_parse_generic_inst): Compute
`ginst->is_open'.
(mono_type_stack_size): Fix for MONO_TYPE_GENERICINST.

* reflection.c (mono_image_create_token): Allow "MonoGenericInst".

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

20 years ago2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 22 Feb 2004 22:22:27 +0000 (22:22 -0000)]
2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Math.cs: MonoStyled, replaced space with tabs,
  speedup of some methods by avoiding method calls

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

20 years ago2004-02-22 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 22 Feb 2004 22:20:44 +0000 (22:20 -0000)]
2004-02-22  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attribute, commented
  excess attributes, prepared signkey attributes

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

20 years agoSun Feb 22 22:25:19 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 22 Feb 2004 21:00:37 +0000 (21:00 -0000)]
Sun Feb 22 22:25:19 CET 2004 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: fixed reg allocation for div/rem.

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

20 years ago2004-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 22 Feb 2004 18:24:14 +0000 (18:24 -0000)]
2004-02-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AttributeTest.cs: added test for bug 54518.

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

20 years agoRemove merge conflict
Miguel de Icaza [Sun, 22 Feb 2004 17:10:33 +0000 (17:10 -0000)]
Remove merge conflict

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

20 years agoMore updates
Miguel de Icaza [Sun, 22 Feb 2004 16:48:56 +0000 (16:48 -0000)]
More updates

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

20 years agoupdate
Miguel de Icaza [Sun, 22 Feb 2004 16:40:04 +0000 (16:40 -0000)]
update

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

20 years agoFlush
Miguel de Icaza [Sun, 22 Feb 2004 16:28:14 +0000 (16:28 -0000)]
Flush

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

20 years agoUpdate
Miguel de Icaza [Sun, 22 Feb 2004 16:18:00 +0000 (16:18 -0000)]
Update

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

20 years ago2004-02-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 22 Feb 2004 16:03:49 +0000 (16:03 -0000)]
2004-02-15  Miguel de Icaza  <miguel@ximian.com>

* reflection.c (method_encode_code): Improved the error message
generated by the exception.

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

20 years ago2004-02-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 22 Feb 2004 16:00:22 +0000 (16:00 -0000)]
2004-02-22  Miguel de Icaza  <miguel@ximian.com>

* driver.c (mono_main): Report some configuratio options on --version.

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

20 years ago2004-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 22 Feb 2004 15:18:01 +0000 (15:18 -0000)]
2004-02-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: Martin did not do what he said in the ChangeLog for
2004-02-18, but put back the changes for properties and events.
Commenting those changes out again and adding comment to bug #54518.

* process.c: removed warning.

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

20 years agoFlush
Miguel de Icaza [Sun, 22 Feb 2004 15:04:40 +0000 (15:04 -0000)]
Flush

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

20 years ago2004-02-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 22 Feb 2004 08:51:34 +0000 (08:51 -0000)]
2004-02-22  Atsushi Enomoto <atsushi@ximian.com>

* Added Cscompmgd_test.dll.sources.
* Makefile: Removed NO_TEST=yes

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

20 years ago2004-02-22 Atsushi Enomot <atsushi@ximian.com>
Atsushi Eno [Sun, 22 Feb 2004 08:50:35 +0000 (08:50 -0000)]
2004-02-22  Atsushi Enomot <atsushi@ximian.com>

* Added CompilerTest.cs (just for setting up)

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

20 years ago2004-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 22 Feb 2004 05:24:27 +0000 (05:24 -0000)]
2004-02-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: ExitCode and ExitTime check that the process is finished.

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

20 years ago2004-02-22 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 22 Feb 2004 01:53:25 +0000 (01:53 -0000)]
2004-02-22  Nick Drochak <ndrochak@ieee.org>

* System.Xml_test.dll.sources : Removed XmlSchemaAssertion.cs. It does
not seem to be in CVS.  This was breaking the build on windows.

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

20 years agoUpdated information about the Firebird ADO.NET Data Provider
Carlos Guzmán Álvarez [Sat, 21 Feb 2004 22:14:50 +0000 (22:14 -0000)]
Updated information about the Firebird ADO.NET Data Provider

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

20 years ago2004-02-21 Carlos Guzman Alvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Sat, 21 Feb 2004 22:07:13 +0000 (22:07 -0000)]
2004-02-21  Carlos Guzman Alvarez  <carlosga@telefonica.net>

    * TlsServerHello: Fix for handle SecurityProtocolType.Default.

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

20 years agoUpdated information about the Firebird ADO.NET Data Provider
Carlos Guzmán Álvarez [Sat, 21 Feb 2004 21:26:22 +0000 (21:26 -0000)]
Updated information about the Firebird ADO.NET Data Provider

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

20 years agoremove swf depen. from sample
Jordi Mas i Hernandez [Sat, 21 Feb 2004 15:02:18 +0000 (15:02 -0000)]
remove swf depen. from sample

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

20 years agomeasure string
Jordi Mas i Hernandez [Sat, 21 Feb 2004 13:56:15 +0000 (13:56 -0000)]
measure string

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

20 years ago2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 Feb 2004 19:44:23 +0000 (19:44 -0000)]
2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>

* TlsServerCertificate.cs: Added code to validate the server X.509
certificate (identity, usage) and it's chain to a trusted root.
Note that the verification is commented for the time being.

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

20 years ago2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 Feb 2004 18:50:55 +0000 (18:50 -0000)]
2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security.dll.sources: Added many X.509 certificate extensions.

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

20 years ago2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 Feb 2004 18:45:52 +0000 (18:45 -0000)]
2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>

* AuthorityKeyIdentifierExtension.cs: New. Added for certview.
* CRLDistributionPointsExtension.cs: New. Added for certview.
* CertificatePoliciesExtension.cs: New. Added for certview.
* KeyUsageExtension.cs: Added none as a possible (empty) usage.
* NetscapeCertTypeExtension.cs: New. Required for verifying older SSL
certificates.
* PrivateKeyUsagePeriodExtension.cs: New. Added for certview.
* SubjectAltNameExtension.cs: Added support for dNSName.
* SubjectKeyIdentifierExtension.cs: New. Added for certview.

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

20 years agoFri Feb 20 11:01:44 PST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 20 Feb 2004 18:41:35 +0000 (18:41 -0000)]
Fri Feb 20 11:01:44 PST 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: fixed clt.un, cgt.un. Optimized calls to functions
low in the address space. Correctly flush memory in thunks where we
output native code.

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

20 years agoRollback latest change. Sorry
Carlos Guzmán Álvarez [Fri, 20 Feb 2004 18:29:43 +0000 (18:29 -0000)]
Rollback latest change. Sorry

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

20 years ago2004-02-20 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Fri, 20 Feb 2004 18:26:02 +0000 (18:26 -0000)]
2004-02-20 Carlos Guzm��n ��lvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/TlsContext.cs:

- Added changes for handle te SecurityProtocolType enum
as a Flags enum.

* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientHello.cs:

- Let the Ssl3 message to be process in the same way as the Tls1.

* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientHello.cs:

- Added changes for use the Protocol version send by the server

* Mono.Security.Protocol.Tls/CipherSuite.cs:

- Compute the premaster secret using the protocol version sent in
the ClientHello message instead of the actual protocol version.

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

20 years ago2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 Feb 2004 18:06:29 +0000 (18:06 -0000)]
2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security.dll.sources: Added new file X509ChainStatusFlags in
Mono.Security.X509 namespace.

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

20 years ago2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 Feb 2004 18:01:54 +0000 (18:01 -0000)]
2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: Updated to use the new X509Chain syntax.

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

20 years ago2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 20 Feb 2004 18:00:18 +0000 (18:00 -0000)]
2004-02-20  Sebastien Pouliot  <sebastien@ximian.com>

* X509Chain.cs: Added an option to use a pre-built chain (like TLS
offers) to save time rebuilding it. Added some validations and more
detailled status. Still a LOT to do!
* X509ChainStatusFlags.cs: New. Status code for the results of the
chain building and verification.

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

20 years agoMore tests for clt.un, cgt.un.
Paolo Molaro [Fri, 20 Feb 2004 16:15:19 +0000 (16:15 -0000)]
More tests for clt.un, cgt.un.

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

20 years ago2004-02-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 20 Feb 2004 15:42:45 +0000 (15:42 -0000)]
2004-02-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* ComClassAttibute.cs:
Implemented attribute (related to bug #52570)
* FileAttribute.cs
Cosmetic changes
* VBFixedArrayAttribute.cs:
Implemented attribute (related to bug #52570)
* VBFixedStringAttribute.cs:
Implemented attribute (related to bug #52570)
* OptionCompareAttribute.cs:
Corrected constructor of attribute (bug #52570)
* OptionTextAttribute.cs, StandardModuleAttribute.cs:
Cosmetic changes

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

20 years ago2004-02-20 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Fri, 20 Feb 2004 15:05:39 +0000 (15:05 -0000)]
2004-02-20 Carlos Guzm��n ��lvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls.Handshake.Client/SslClientCertificate.cs:

        - Improved exception handling.

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

20 years ago2004-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 20 Feb 2004 14:51:24 +0000 (14:51 -0000)]
2004-02-20  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_struct_conv): Print an error message instead of
asserting when a type does not have the StructLayout attribute.

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

20 years agoForcing an error to find solution for bug #52067
Rafael Teixeira [Fri, 20 Feb 2004 14:14:41 +0000 (14:14 -0000)]
Forcing an error to find solution for bug #52067

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

20 years agofew more test cases
Anirban Bhattacharjee [Fri, 20 Feb 2004 13:59:07 +0000 (13:59 -0000)]
few more test cases

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

20 years ago2004-02-20 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Fri, 20 Feb 2004 12:52:54 +0000 (12:52 -0000)]
2004-02-20 Carlos Guzm��n ��lvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:

        - Commented the server cert validation.

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

20 years agoAdded 2 new files and removed 1 from the sources list
Carlos Guzmán Álvarez [Fri, 20 Feb 2004 11:43:32 +0000 (11:43 -0000)]
Added 2 new files and removed 1 from the sources list

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

20 years ago2004-02-20 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Fri, 20 Feb 2004 11:42:49 +0000 (11:42 -0000)]
2004-02-20 Carlos Guzm��n ��lvarez  <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls.Alerts/TlsWarningEventAgrs.cs:

- Removed no more needed file.

* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:

- Added 4 new properties:

* Message

* IsWarning

* IsFatal

* IsCloseNotify

- Return always the same message when working in release mode
(The authentication or decryption has failed.)

* Mono.Security.Protocol.Tls/SslClientStream.cs:

- Changes to the sync code.

- Record protocol stuff moved to the new classes.

- Removed Warning event.

- Added control over the CloseNotify Alert
to BeginRead method.

- Return true in the server certificate validation method
if there are no errors.

* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:

- New classes for handle the SSL/TLS record protocol.

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

20 years ago2004-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 Feb 2004 05:26:01 +0000 (05:26 -0000)]
2004-02-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: arghhh. I used the server response headers instead
of what the client is supposed to send. Thanks to Helge Hess.

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

20 years ago * REAME.platforms/README.platforms: Remove references to
Jackson Harper [Fri, 20 Feb 2004 05:03:20 +0000 (05:03 -0000)]
    * REAME.platforms/README.platforms: Remove references to
corlib.dll

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

20 years ago2004-02-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 20 Feb 2004 04:56:52 +0000 (04:56 -0000)]
2004-02-20  Atsushi Enomoto  <atsushi@ximian.com>

* CharCategoryTest.cs : csc build fix (line length excess.)

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

20 years ago2004-02-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 20 Feb 2004 03:16:57 +0000 (03:16 -0000)]
2004-02-20  Martin Baulig  <martin@ximian.com>

* gen-39.cs: New generics test.

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

20 years ago * Monitor.cs: Fix spelleng.
Jackson Harper [Fri, 20 Feb 2004 02:50:58 +0000 (02:50 -0000)]
    * Monitor.cs: Fix spelleng.

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

20 years ago2004-02-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 20 Feb 2004 02:43:38 +0000 (02:43 -0000)]
2004-02-20  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_type_get_object): Also use the cache for
generic instances.
(mono_reflection_bind_generic_parameters): Always compute
`ginst->ifaces'.

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

20 years ago2004-02-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 20 Feb 2004 01:14:08 +0000 (01:14 -0000)]
2004-02-20  Martin Baulig  <martin@ximian.com>

* mini.c (mini_get_method): New static method; inflate all generic
methods and methods in open generic instances.
(mono_method_to_ir): Use mini_get_method() instead of mono_get_method().
(ret_type_to_call_opcode): Added support for MONO_TYPE_GENERICINST.

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