mono.git
20 years ago2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 19:23:26 +0000 (19:23 -0000)]
2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>

* CharCategoryTest.cs : cleaning ;)

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

20 years ago2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 19:11:28 +0000 (19:11 -0000)]
2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>

* Char.cs : optimized IsSeparator(), IsWhiteSpace() and IsDigit().
  (Moved from InternalCall to Managed code).

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

20 years ago2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 19:10:58 +0000 (19:10 -0000)]
2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>

* Added CharCategoryTest.cs (brute force test for Char.IsXXX()).

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

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

* Socket.cs: use the threadpool for asynchronous calls instead of
creating new threads.

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

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

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

        - Implement CheckCertRevocationStatus ( not used yet )

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

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

* SecurityProtocolType.cs: Added missing [Serializable] to enum. Added
Default and Ssl2 to NET_1_2 profile. Enum is now internal for NET_1_0
profile (as we need it for SslClientStream).
* ServicePoint.cs: Added internal SetCertificates(client,server).
* ServicePointManager.cs: Added CheckCertificateRevocationList and
CheckCertificateRevocationList static properties (public in 1.1,
internal for 1.0).
* WebConnection.cs: Dynamically creates a SslClientStream (from
Mono.Security assembly) in case of https. Changed NetworkStream to
Stream everywhere.

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

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

* HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
don't know the server version or it's 1.0.

* ServicePoint.cs: added SetVersion.

* WebAsyncResult.cs: remove ChunkAsyncResult.

* WebConnection.cs: set the ServicePoint version when getting a response
from the server.

* WebConnectionStream.cs: when posting chunked content, send the head,
body and trailer of the chunk at once instead of doing 3 separate
writes, which may cause troubles.

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

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

* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:

- Added Serializable attribute.

* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsContext.cs:

- Added some optimizations proposed by Sebastien Pouliot.

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

- Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).

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

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

* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:

- Added Serializable attribute.

* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsContext.cs:

- Added some optimizations proposed by Sebastien Pouliot.

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

- Changes on Common Name detection and certificate error handling ( Thanks to Sebastien Pouliot for his feedback ).

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

20 years ago**** Applying a patch from Urc C Muff <umuff@quark.com> ****
Martin Baulig [Wed, 18 Feb 2004 15:58:03 +0000 (15:58 -0000)]
**** Applying a patch from Urc C Muff  <umuff@quark.com> ****
2004-02-18  Urs C Muff  <umuff@quark.com>

* debug-mono-symfile.c, mono-debug-debugger.c, mono-debug.c: Make
this work on PPC and other big-endian architectures.

* debug-mono-symfile.h: Prepended the names of all the `guint32'
fields with an underscore to make sure they're only accessed by
the read32() macro.

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

20 years ago2004-02-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Feb 2004 15:53:16 +0000 (15:53 -0000)]
2004-02-18  Martin Baulig  <martin@ximian.com>

* icall.c: Put the klass->refclass changes back for methods and
fields, but not for properties and events.  We're currently not
distinguishing between DeclaringType and ReflectedType for
properties and events, that's what caused the regressions.

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

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

* object.c:
(mono_async_result_new): the handle can be NULL.

* threadpool.c: Use an event instead of a semaphore, don't initialize
it until needed. This saves quite a few semaphores from being created
when using the threadpool.

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

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

* AsyncResult.cs:
(AsyncWaitHandle): create the handle if not done yet.

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

20 years ago2004-02-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Feb 2004 15:36:23 +0000 (15:36 -0000)]
2004-02-18  Martin Baulig  <martin@ximian.com>

* Makefile: Disable test-157.cs, it's broken.  See #54530.

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

20 years ago2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 14:51:18 +0000 (14:51 -0000)]
2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>

* README: added description about new <namespaceImports> feature.

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

20 years ago2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 14:50:48 +0000 (14:50 -0000)]
2004-02-18  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs,
  SerializationCodeGeneratorConfiguration.cs:
  Added <namespaceImports> feature ("using XXX;" generation) support.

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

20 years ago2004-02-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 Feb 2004 14:36:41 +0000 (14:36 -0000)]
2004-02-18  Zoltan Varga  <vargaz@freemail.hu>

* switch.cs: Add test for bug #54473.

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

20 years ago2004-02-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 Feb 2004 14:32:27 +0000 (14:32 -0000)]
2004-02-18  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_string_is_interned_lookup): Fix interning of long
strings. Fixes #54473.

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

20 years ago2004-02-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 Feb 2004 14:27:46 +0000 (14:27 -0000)]
2004-02-18  Zoltan Varga  <vargaz@freemail.hu>

* domain.c (ldstr_equal): Optimize if the two strings are equal.

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

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

* UrlUtils.cs: ~ is not always /. Fixed.

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

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

  * SslClientStream.cs: Fixed (inverted) condition for ServerCertificate.
* SecurityProtocolType.cs: Added [Serializable] to enum to match MS
implementation.

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

20 years ago2004-02-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 Feb 2004 13:16:17 +0000 (13:16 -0000)]
2004-02-18  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: Revert the klass->refclass changes since they introduce
regressions (bug #54518).

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

20 years ago2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 12:59:49 +0000 (12:59 -0000)]
2004-02-18  Atsushi Enomoto <atsushi@ximian.com>

* LocationPathPattern.cs : Implemented easy XPathNavigator cache on
  predicate evaluation in Matches().

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

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

* WebConnection.cs: if we get a 100 when we're not waiting for it, set
that information in the ServicePoint.

* WebConnectionStream.cs: send headers in the right order for
non-chunked POST.

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

20 years ago * ResourceReaderTest.cs: Add a little logic for finding
Jackson Harper [Wed, 18 Feb 2004 09:34:01 +0000 (09:34 -0000)]
    * ResourceReaderTest.cs: Add a little logic for finding
resources. This works on MS and with mono and fixes these tests
for 'make run-test'.

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

20 years ago2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Feb 2004 03:10:56 +0000 (03:10 -0000)]
2004-02-17  Atsushi Enomoto <atsushi@ximian.com>

* KeyPattern.cs, Pattern.cs : removed using decls.

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

20 years ago2004-02-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Feb 2004 02:35:50 +0000 (02:35 -0000)]
2004-02-18  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): If we're a generic instance and don't
come from a TypeBuilder, inflate our members here.
(mono_class_from_generic): Removed; just use `ginst->klass' instead.
(mono_class_create_generic): New public method.
(mono_class_initialize_generic): Removed.
(get_instantiation_name): Renamed to
_mono_class_get_instantiation_name() and made it public.

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

20 years ago2004-02-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 Feb 2004 01:17:37 +0000 (01:17 -0000)]
2004-02-18  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_type): Clear the new
instance's `nginst->klass' when inflating a generic instance.
(mono_class_is_subclass_of): Added (basic) support for generic
instances.

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

20 years ago2004-02-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 Feb 2004 22:52:21 +0000 (22:52 -0000)]
2004-02-18  Martin Baulig  <martin@ximian.com>

* ecore.cs (FieldExpr.DoResolveLValue): Use TypeManager.IsEqual()
to check for equality.

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

20 years ago2004-02-17 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Tue, 17 Feb 2004 21:55:01 +0000 (21:55 -0000)]
2004-02-17 Carlos Guzm��n ��lvarez  <carlosga@telefonica.net>

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

- Added changes to security properties for check that the handshake is finished.

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

20 years ago2004-02-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 Feb 2004 21:12:01 +0000 (21:12 -0000)]
2004-02-17  Martin Baulig  <martin@ximian.com>

* gen-38.cs: New generics test.

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

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

* class.h (MonoDynamicGenericInst): Added `count_properties' and
`properties'.

* reflection.c (mono_reflection_generic_inst_initialize): Added
`MonoArray *properties' argument.

* icall.c (ves_icall_MonoGenericInst_GetProperties): New interncall.

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

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

* MonoGenericInst.cs (MonoGenericInst.GetProperties): Added
support for properties.

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

20 years agoTue Feb 17 21:41:20 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Feb 2004 20:28:20 +0000 (20:28 -0000)]
Tue Feb 17 21:41:20 CET 2004 Paolo Molaro <lupus@ximian.com>

* aot.c, mini-x86.c, mini.c: use the code manager instead of a mempool to hold native
code.
* mini-ppc.c: handle calls outside of the allowed range with thunks
allocated using the code manager.
* tramp-ppc.c: use the code manager to hold generated native code.
Fixed the magic trampoline to just patch vtable entries.

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

20 years agoTue Feb 17 21:40:16 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Feb 2004 20:27:21 +0000 (20:27 -0000)]
Tue Feb 17 21:40:16 CET 2004 Paolo Molaro <lupus@ximian.com>

* appdomain.h, domain.c: use a MonoCodeManager instead of a
MonoMempool to hold compiled native code.

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

20 years ago2004-02-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 Feb 2004 20:25:41 +0000 (20:25 -0000)]
2004-02-17  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericInst.GetMethods): Walk up the
class hierarchy and return members from the parent classes.
(GetConstructors, GetFields): Likewise.

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

20 years agoTue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Feb 2004 20:25:14 +0000 (20:25 -0000)]
Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c, mono-codeman.h: allocate extra room in memory close
to the native code for arch where calls have a limited immediate
displacement.

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

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

* icall.c (ves_icall_Type_GetFields): Renamed to
ves_icall_Type_GetFields_internal() and added a
`MonoReflectionType *rtype' argument; pass it to
mono_field_get_object() to set the field's "reflected" type.
(ves_icall_Type_GetConstructors): Likewise.
(ves_icall_Type_GetEvents): Likewise.
(ves_icall_Type_GetMethodsByName): Added `MonoReflectionType *rtype'
argument; pass it to mono_method_get_object() to set the method's
"reflected" type.

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

20 years ago2004-02-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 Feb 2004 20:19:39 +0000 (20:19 -0000)]
2004-02-17  Martin Baulig  <martin@ximian.com>

* MonoType.cs (GetConstructors): Renamed the interncall to
GetConstructors_internal(), made it internal and added a `Type
reflected_type' argument to it.
(GetEvents, GetFields): Likewise.
(GetMethodsByName): Added `Type reflected_type' argument.
(GetPropertiesByName): Likewise.

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

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

* System.Xml_test.dll.sources : Added XmlEntityTests.cs and
  XmlDocumentEventTests.cs.

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

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

* XmlEntityTests.cs, XmlDocumentEventTests.cs : added.

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

20 years ago2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Feb 2004 20:12:16 +0000 (20:12 -0000)]
2004-02-17  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorMatchesTest.cs : commonified some code blocks.
  Added MatchesAncestorsButNotCurrent(), MatchesParentAxis() and
  MatchesPredicatedParentAxis().

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

20 years ago2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Feb 2004 20:09:42 +0000 (20:09 -0000)]
2004-02-17  Atsushi Enomoto <atsushi@ximian.com>

* LocationPathPattern.cs : Optimized Matches(). For non-positional
  patterns, it never iterates predicate, just evaluate boolean.

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

20 years ago2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Feb 2004 20:09:12 +0000 (20:09 -0000)]
2004-02-17  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : Only child and attribute axes are allowed for
  Matches().
* Expression.cs : Added IsPositional property.
* DefaultContext.cs : Added some overrides.

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

20 years ago2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Feb 2004 20:08:36 +0000 (20:08 -0000)]
2004-02-17  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : Added XslFunctions.cs.

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

20 years ago2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Feb 2004 20:08:07 +0000 (20:08 -0000)]
2004-02-17 Atsushi Enomoto <atsushi@ximian.com>

* XsltCompiledContext.cs : Extracted XslFunctions and changed namespace
  from Mono.Xml.Xsl.Functions to Mono.Xml.Xsl.
* XslFunctions.cs : hereby Added.
* Compiler.cs : Removed deleted usingdecl.

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

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

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

- Raise the Client Certificate event.

* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/SecurityProtocolType.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuiteCollection.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
* Mono.Security.Protocol.Tls/TlsContext.cs:
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessage.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientHello.cs:

- Change the SecurityProtocolType enum to mtch .NET 1.2 documentation definition.

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

- Impement SelectedClientCertificate and ServerCertificate properties.

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

20 years ago2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Feb 2004 17:27:08 +0000 (17:27 -0000)]
2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.

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

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

* inssel.brg inssel-x86.brg: Move call(immediate) rules to the platform
independent file.

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

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

* MonoGenericInst.cs (MonoGenericInst.initialize): Don't inflate
all the members here; we only do this for members of the current
class and only when they're actually queried for.

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

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

* class.h (MonoDynamicGenericInst): New type.
(MonoGenericInst): Added `dynamic_info' and `is_dynamic' fields.

* icall.c (ves_icall_MonoGenericInst_GetMethods): New interncall.
(ves_icall_MonoGenericInst_GetConstructors): New interncall.
(ves_icall_MonoGenericInst_GetFields): New interncall.

* class.c (mono_class_from_generic): Don't call
mono_class_initialize_generic() if this is a dynamic instance;
ie. it's being created from a TypeBuilder.
Use MONO_TYPE_GENERICINST for `class->this_arg.type' and
`class->byval_arg.type'.

* reflection.c (mono_reflection_inflate_method_or_ctor): Renamed
to `inflate_method' and made static.
(mono_reflection_inflate_field): Removed.
(mono_reflection_generic_inst_initialize): New public method.

* reflection.h (MonoReflectionGenericInst): Removed `methods',
`ctors' and `fields'; added `initialized'.

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

20 years ago * corlib.dll.sources: Added
Lluis Sanchez [Tue, 17 Feb 2004 16:17:08 +0000 (16:17 -0000)]
* corlib.dll.sources: Added
System.Runtime.Serialization.Formatter.Binary.CodeGenerator.cs

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

20 years ago * ObjectWriter.cs: Factorized some serialization code in new classes, so it
Lluis Sanchez [Tue, 17 Feb 2004 16:16:49 +0000 (16:16 -0000)]
* ObjectWriter.cs: Factorized some serialization code in new classes, so it
  is now possible to use fast IL generated classes that use direct access
  to class fields instead of using reflection.
* CodeGenerator.cs: New file. Has several methods used by ObjectWriter to
  generate serialization code.

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

20 years agoChanged to unix line endings
Carlos Guzmán Álvarez [Tue, 17 Feb 2004 16:13:36 +0000 (16:13 -0000)]
Changed to unix line endings

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

20 years ago2004-02-17 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Tue, 17 Feb 2004 16:10:22 +0000 (16:10 -0000)]
2004-02-17 Carlos Guzm��n ��lvarez  <carlosga@telefonica.net>

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

        - Added changes for bring async methods to work ( Thanks to Sebastien Pouliot )

        - Reworked the record fragmentation.

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

20 years ago * RemotingServices.cs: Client identities are registered using the full url,
Lluis Sanchez [Tue, 17 Feb 2004 15:15:42 +0000 (15:15 -0000)]
* RemotingServices.cs: Client identities are registered using the full url,
  not the object uri, so they must be unregistered using the same key.

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

20 years agounits font support
Jordi Mas i Hernandez [Tue, 17 Feb 2004 13:04:55 +0000 (13:04 -0000)]
units font support

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

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

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

        - Fix for send the close notify alert in the Close method
        only if the Handshake is fully negotiated.

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

20 years ago2004-02-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 17 Feb 2004 11:30:18 +0000 (11:30 -0000)]
2004-02-17  Martin Baulig  <martin@ximian.com>

* profiles/generics.make: Renamed to `martin-generics.make' and
added a comment to the file.  I'll rename this back when it's
ready for public use.

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

20 years ago * XmlSerializationWriter.cs: When writing the root element, use a prefix
Lluis Sanchez [Tue, 17 Feb 2004 11:15:50 +0000 (11:15 -0000)]
* XmlSerializationWriter.cs: When writing the root element, use a prefix
  if the namespace of the element is defined in the list of namespaces
  provided to the XmlSerializer. This fixes bug #54427.

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

20 years agoThanks Lluis for noticing this.
Gonzalo Paniagua Javier [Tue, 17 Feb 2004 09:18:05 +0000 (09:18 -0000)]
Thanks Lluis for noticing this.

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

20 years ago2004-02-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 17 Feb 2004 08:31:49 +0000 (08:31 -0000)]
2004-02-17 Marek Safar <marek.safar@seznam.cz>

* cls-test-{2,5,6}.cs: Improved tests for CLS-compliant

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

20 years agoFew bug fixes in EncoderParameter.cs and file format changed to unix.
Ravindra [Tue, 17 Feb 2004 06:05:52 +0000 (06:05 -0000)]
Few bug fixes in EncoderParameter.cs and file format changed to unix.

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

20 years ago * FloatingPointFormater.cs: Allow precision to be up to the number
Jackson Harper [Tue, 17 Feb 2004 04:40:33 +0000 (04:40 -0000)]
    * FloatingPointFormater.cs: Allow precision to be up to the number
of decimals without rounding.

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

20 years agoflush
Jackson Harper [Tue, 17 Feb 2004 04:35:56 +0000 (04:35 -0000)]
flush

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

20 years ago2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Feb 2004 02:48:58 +0000 (02:48 -0000)]
2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UrlUtils.cs:
(Combine): handle subdirectories and tilde. Fixes bug 54231.

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

20 years ago2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Feb 2004 02:03:06 +0000 (02:03 -0000)]
2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.

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

20 years ago2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Feb 2004 01:36:39 +0000 (01:36 -0000)]
2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: on second and sucesive tries when authenticating,
don't use chunked encoding for POST, as we know the content length and
have the body. Nullify bodyBuffer always in CheckFinalStatus.

* WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
IAsyncResult when writing CRLF at the end of a chunk.

* WebConnectionStream.cs: support sending chunked data.

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

20 years ago * FileTest.cs: We do not need to convert to local time because we
Jackson Harper [Mon, 16 Feb 2004 21:39:43 +0000 (21:39 -0000)]
    * FileTest.cs: We do not need to convert to local time because we
are getting creation time, not utc time.

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

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

* tramp-ppc.c (mono_arch_create_jump_trampoline): Fix compilation on
PPC.

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

20 years agoflush
Jackson Harper [Mon, 16 Feb 2004 20:57:11 +0000 (20:57 -0000)]
flush

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

20 years ago * Page.cs: Set cacheability for Location.DownStream.
Jackson Harper [Mon, 16 Feb 2004 20:54:36 +0000 (20:54 -0000)]
    * Page.cs: Set cacheability for Location.DownStream.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 20:45:31 +0000 (20:45 -0000)]
2004-02-16  Atsushi Enomoto  <atsushi@ximian.com>

* XPathNavigator.cs : no, its still not ok. comment out now.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 20:29:12 +0000 (20:29 -0000)]
2004-02-16 Atsushi Enomoto <atsushi@ximian.com>

* XslTransformProcessor.cs : Bugfix. Stored keys should be cleared.
* XslKey.cs : Added ExprKeyContainer expression type, which is
  designed to be matched at any level.
* Compiler.cs : support for ExprKeyContainer.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 20:28:42 +0000 (20:28 -0000)]
2004-02-16  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : Added EvaluatedNodeType and NeedAbsoluteMatching
  to reduce extraneous Matches() trial.
* Iterator.cs : Removed unused MergedIterator.
* XPathNavigator.cs : Optimized Matches() not to evaluate ancestors
  unnecessarily. (Test with NeedAbsoluteMatching).

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 19:38:38 +0000 (19:38 -0000)]
2004-02-16  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs,
  XmlSchemaAttribute.cs
  XmlSchemaAttributeGroup.cs,
  XmlSchemaComplexContent.cs,
  XmlSchemaComplexType.cs,
  XmlSchemaContent.cs,
  XmlSchemaDatatype.cs,
  XmlSchemaNotation.cs,
  XmlSchemaObject.cs,
  XmlSchemaParticle.cs : extra TODO removal. foreach elimination.
    Moved attribute group recursion check field from XmlSchemaObject
    to XmlSchemaAttributeGroup.
    Fixed XmlSchemaParticle.EmptyParticle class access modifier.
* XmlSchemaSimpleType.cs,
  XmlSchemaSimpleTypeContent.cs,
  XmlSchemaSimpleTypeList.cs,
  XmlSchemaSimpleTypeRestriction.cs,
  XmlSchemaSimpleTypeUnion.cs : Removed "actualBaseSchemaType" field
    and the owner simpleType should hold the corresponding type info.
    Collect base type info in prior to validation.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 19:04:50 +0000 (19:04 -0000)]
2004-02-16  Atsushi Enomoto <atsushi@ximian.com>

* DTDAutomata.cs,
  DTDObjectModel.cs,
  DTDReader.cs,
  DTDValidatingReader.cs : made classes internal.
* XmlDocument.cs : removed extra FIXMEs.
* XmlNamedNodeMap.cs,
  XmlResolver.cs,
  XmlUrlResolver.cs :
  Fixed incorrect method signature.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 18:52:05 +0000 (18:52 -0000)]
2004-02-16 Atsushi Enomoto <atsushi@ximian.com>

* XslKey.cs : Now it collects key and matching nodes at the first
  evaluation time. After that, we can just get them from the table.
* Compiler.cs : Added KeyCompilationMode. It is used to prevent
  prohibited key() usage in "match" and "use" attributes in xsl:key.
  Modified accessibility of some classes.
* GenericOutputter.cs,
  HtmlEmitter.cs,
  TextEmitter.cs,
  TextOutputter.cs,
  XmlWriterEmitter.cs : made classes internal.
* XslOutput.cs : support line info for exception.
* XsltCompiledContext.cs : implemented CompareDocument() - so easily.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 18:37:56 +0000 (18:37 -0000)]
2004-02-16  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocument.cs,
  DTMXPathDocumentBuilder.cs,
  DTMXPathDocumentWriter.cs,
  DTMXPathNavigator.cs,
  DTMXPathNode.cs :
    Made classes internal by default (still publicly available with
    OUTSIDE_SYSTEM_XML switch). Removed unused "position" field.
    Optimized DTMXPathNavigator.Value a bit.
* LocationPathPattern.cs : Modified some fields to private.

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

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

* configure.in: Enable --with-nptl by default.

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

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

* mini-x86.c: Call mono_arch_get_lmf_addr instead of mono_get_lmf_addr
if we have a working __thread implementation.

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

20 years ago2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Feb 2004 18:02:38 +0000 (18:02 -0000)]
2004-02-16  Atsushi Enomoto <atsushi@ximian.com>

* XsdIdentityPath.cs,
  XsdIdentityState.cs,
  XsdKeyTable.cs,
  XsdParticleValidationState.cs,
  XsdValidatingReader.cs,
  XsdWildcard.cs : made classes internal. Removed extra TODO comments.

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

20 years ago2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Mon, 16 Feb 2004 15:52:24 +0000 (15:52 -0000)]
2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* ChangeLog:  Updated

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

20 years ago2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Mon, 16 Feb 2004 15:50:46 +0000 (15:50 -0000)]
2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the connection startup time in 300 milliseconds.

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

20 years ago * MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
Lluis Sanchez [Mon, 16 Feb 2004 15:40:15 +0000 (15:40 -0000)]
* MapCodeGenerator.cs: Modified some methods to make them easier to reuse.
  Those are basically methods to add custom attributes to element and
  attribute members.
* SoapCodeExporter.cs: Track changes in MapCodeGenerator.
* XmlCodeExporter.cs: Better support for custom attribute generation for
  method parameters.
* XmlCustomFormatter.cs: Added null check.
* XmlSchemaImporter.cs: do not set IsOptionalValueType property to
  attributes that are required.
* XmlSerializationReaderInterpreter.cs: Method parameters may be serialized
  as attributes.

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

20 years ago2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Mon, 16 Feb 2004 15:03:48 +0000 (15:03 -0000)]
2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

*Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.

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

20 years ago2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Mon, 16 Feb 2004 14:50:37 +0000 (14:50 -0000)]
2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

*Npgsql/NpgsqlConnection.cs:
Added support for Unicode encoding. Fix feature request 534 on gborg cvs.
Changed limit setting of max connections from unlimited to 20.

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

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

* mini-ops.h cpu-pentium.md mini-x86.c inssel-x86.brg: Remove
OP_CALL_IMM opcodes, since the CALL opcodes handles immediates as well.

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

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

* MethodBuilderTest.cs: Fix test so it runs under MS.

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

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

* TypeBuilderTest.cs: Add some tests.

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

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

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

        - Changed ciphersuites order of preference ( Thanks to Sebastien Pouliot for his feedback ).

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

20 years agorevert Sanjay patches
Jordi Mas i Hernandez [Mon, 16 Feb 2004 11:40:48 +0000 (11:40 -0000)]
revert Sanjay patches

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

20 years ago * HttpWebRequest.cs: When retrying a POST request after an authentication
Lluis Sanchez [Mon, 16 Feb 2004 10:18:23 +0000 (10:18 -0000)]
* HttpWebRequest.cs: When retrying a POST request after an authentication
failure, resend the body. This fixes bug #51841.
* WebConnectionStream.cs: Added properties for getting what's been written.

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

20 years ago2004-02-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 16 Feb 2004 09:35:07 +0000 (09:35 -0000)]
2004-02-16 Marek Safar <marek.safar@seznam.cz>

* test-230.cs: test for module attributes.

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

20 years ago2004-02-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 16 Feb 2004 09:11:30 +0000 (09:11 -0000)]
2004-02-16 Marek Safar <marek.safar@seznam.cz>

* cs3001-{7,8}.cs,
  cs3005-(1-22}.cs,
  cs3006-{1-6}.cs,
  cs3012.cs,
  cs3013.cs New error tests for CLS-compliance.

* cs186-2.cs,
  cs0579-2.cs New error tests.

* makefile: Added CS3005-16-lib.cs and CS3013-module.cs as helpers for errors cs3005-16.cs and cs3013.cs.

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

20 years ago2004-02-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 16 Feb 2004 08:55:42 +0000 (08:55 -0000)]
2004-02-16  Marek Safar  <marek.safar@seznam.cz>

* interface.cs (FindMembers): The operation is performed on all base
interfaces and not only on the first. It is required for future CLS Compliance patch.

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

20 years agoChanges to compile the samples in the new Location.
Alberto Fernandez [Mon, 16 Feb 2004 08:45:08 +0000 (08:45 -0000)]
Changes to compile the samples in the new Location.
Changes to compile new classes.

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

20 years agoBugFix in a case
Alberto Fernandez [Mon, 16 Feb 2004 08:44:29 +0000 (08:44 -0000)]
BugFix in a case

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

20 years agoStubbed class
Alberto Fernandez [Mon, 16 Feb 2004 08:44:01 +0000 (08:44 -0000)]
Stubbed class

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

20 years agoNew stubbed classes
Alberto Fernandez [Mon, 16 Feb 2004 08:43:34 +0000 (08:43 -0000)]
New stubbed classes

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