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
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
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
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
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
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
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
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
Jordi Mas i Hernandez [Mon, 23 Feb 2004 12:39:46 +0000 (12:39 -0000)]
MeasureString sample
svn path=/trunk/mcs/; revision=23355
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sun, 22 Feb 2004 17:10:33 +0000 (17:10 -0000)]
Remove merge conflict
svn path=/trunk/mono/; revision=23329
Miguel de Icaza [Sun, 22 Feb 2004 16:48:56 +0000 (16:48 -0000)]
More updates
svn path=/trunk/mono/; revision=23328
Miguel de Icaza [Sun, 22 Feb 2004 16:40:04 +0000 (16:40 -0000)]
update
svn path=/trunk/mono/; revision=23327
Miguel de Icaza [Sun, 22 Feb 2004 16:28:14 +0000 (16:28 -0000)]
Flush
svn path=/trunk/mono/; revision=23326
Miguel de Icaza [Sun, 22 Feb 2004 16:18:00 +0000 (16:18 -0000)]
Update
svn path=/trunk/mono/; revision=23325
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
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
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
Miguel de Icaza [Sun, 22 Feb 2004 15:04:40 +0000 (15:04 -0000)]
Flush
svn path=/trunk/mono/; revision=23321
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
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
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
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
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
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
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
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
Jordi Mas i Hernandez [Sat, 21 Feb 2004 13:56:15 +0000 (13:56 -0000)]
measure string
svn path=/trunk/mcs/; revision=23304
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Anirban Bhattacharjee [Fri, 20 Feb 2004 13:59:07 +0000 (13:59 -0000)]
few more test cases
svn path=/trunk/mcs/; revision=23281
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
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
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
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
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
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
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
Jackson Harper [Fri, 20 Feb 2004 02:50:58 +0000 (02:50 -0000)]
* Monitor.cs: Fix spelleng.
svn path=/trunk/mcs/; revision=23271
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
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
Martin Baulig [Fri, 20 Feb 2004 01:13:54 +0000 (01:13 -0000)]
2004-02-20 Martin Baulig <martin@ximian.com>
* gen-test.pl: Enable gen-38.
svn path=/trunk/mcs/; revision=23268
Martin Baulig [Fri, 20 Feb 2004 01:10:42 +0000 (01:10 -0000)]
2004-02-20 Martin Baulig <martin@ximian.com>
* class.h (MonoGenericMethod): Removed `klass'.
* class.c (mono_class_inflate_generic_method): Added `MonoClass
*klass' argument.
svn path=/trunk/mono/; revision=23267
Martin Baulig [Fri, 20 Feb 2004 00:59:17 +0000 (00:59 -0000)]
2004-02-20 Martin Baulig <martin@ximian.com>
* reflection.c (method_encode_methodspec): Actually use the
uninflated signature for the memberref.
svn path=/trunk/mono/; revision=23265
Martin Baulig [Fri, 20 Feb 2004 00:37:58 +0000 (00:37 -0000)]
2004-02-20 Martin Baulig <martin@ximian.com>
* class.h (MonoGenericMethod): Removed `declaring'.
* class.c (mono_class_inflate_generic_method): If `gmethod->klass'
is NULL, compute it here.
svn path=/trunk/mono/; revision=23264
Martin Baulig [Thu, 19 Feb 2004 23:31:05 +0000 (23:31 -0000)]
2004-02-20 Martin Baulig <martin@ximian.com>
* image.h (MonoImage): Added `GHashTable *generic_inst_cache'.
* metadata.c (mono_metadata_generic_inst_hash): New method.
(mono_metadata_generic_inst_equal): New method.
* reflection.c (mono_reflection_bind_generic_parameters): Use the
`klass->image->generic_inst_cache' cache to avoid creating
duplicate MonoGenericInst's.
* class.c (mono_class_inflate_generic_type): Use the cache.
svn path=/trunk/mono/; revision=23263
Zoltan Varga [Thu, 19 Feb 2004 20:45:35 +0000 (20:45 -0000)]
2004-02-19 Zoltan Varga <vargaz@freemail.hu>
* mini-sparc.c (mono_arch_patch_code): Update after domain->code_mp changes.
* tramp-sparc.c (mono_arch_create_jump_trampoline): Set ji->method.
svn path=/trunk/mono/; revision=23261
Gonzalo Paniagua Javier [Thu, 19 Feb 2004 18:44:08 +0000 (18:44 -0000)]
2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AuthenticationManager.cs: implemented PreAuthenticate().
* HttpWebRequest.cs: once we know the version of the server, use it if
below the requested one. Remove 'Expect', 'Content-Length' and /or
'Transfer-Encoding' if appropiate due to changes in version. Fixed
'Host' header for non-standard ports. Support preauthentication. Closes
bug #50530.
svn path=/trunk/mcs/; revision=23260
Jean-Marc Andre [Thu, 19 Feb 2004 18:23:00 +0000 (18:23 -0000)]
2004-02-19 Jean-Marc Andre <jeanmarc.andre@cpe.fr>
Multiple bug fixed concerning internationalization and xml attributes.
see the ChangeLog
svn path=/trunk/mcs/; revision=23259
Paolo Molaro [Thu, 19 Feb 2004 18:16:59 +0000 (18:16 -0000)]
Thu Feb 19 19:39:09 CET 2004 Paolo Molaro <lupus@ximian.com>
* object.c: fixed gc descriptor calculation for embedded valuetypes.
svn path=/trunk/mono/; revision=23258
Gonzalo Paniagua Javier [Thu, 19 Feb 2004 17:40:35 +0000 (17:40 -0000)]
2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileStream.cs: (.ctor) Path.DirectoryName can be empty and make
Path.GetFullPath crash. Fixed it.
* MonoIO.cs: fixed typo.
svn path=/trunk/mcs/; revision=23257
Gonzalo Paniagua Javier [Thu, 19 Feb 2004 17:18:45 +0000 (17:18 -0000)]
Typo
svn path=/trunk/mono/; revision=23256
Bernie Solomon [Thu, 19 Feb 2004 16:51:41 +0000 (16:51 -0000)]
2004-02-19 Bernie Solomon <bernard@ugsolutions.com>
* helpers.c (mono_disassemble_code): use Sun's dis if not using gcc
* mini-sparc.c (flushi mono_arch_output_basic_block): make
it compile using Sun's compiler.
svn path=/trunk/mono/; revision=23255
Tim Coleman [Thu, 19 Feb 2004 15:49:37 +0000 (15:49 -0000)]
2004-02-19 Tim Coleman <tim@timcoleman.com>
* System.Security.dll.sources: Add new
System.Security.Cryptography.Xml.SymmetricKeyWrap
svn path=/trunk/mcs/; revision=23254
Tim Coleman [Thu, 19 Feb 2004 15:48:07 +0000 (15:48 -0000)]
2004-02-19 Tim Coleman <tim@timcoleman.com>
* SymmetricKeyWrap.cs:
Add AES Key Wrap
* EncryptedXml.cs:
Add calls to SymmetricKeyWrap
svn path=/trunk/mcs/; revision=23253
Gonzalo Paniagua Javier [Thu, 19 Feb 2004 15:42:09 +0000 (15:42 -0000)]
2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* io-layer/error.c: fixed mapping for EPROTONOSUPPORT and
ESOCKTNOSUPPORT.
* io-layer/sockets.[ch]: retry creating the socket for AF_INET, SOCK_RAW
using IP protocol with IP over IP. Implemented WSAIoctl UNIX-style.
* metadata/icall.c: added Socket.WSAIoctl icall.
* metadata/socket-io.[ch]: implemented
ves_icall_System_Net_Sockets_Socket_WSAIoctl.
svn path=/trunk/mono/; revision=23252
Zoltan Varga [Thu, 19 Feb 2004 15:06:11 +0000 (15:06 -0000)]
2004-02-19 Zoltan Varga <vargaz@freemail.hu>
* mini-ops.h inssel-sparc.brg cpu-sparc.md mini-sparc.h mini-sparc.c tramp-sparc.c exceptions-sparc.c: Sparc port, part I.
svn path=/trunk/mono/; revision=23251
Zoltan Varga [Thu, 19 Feb 2004 14:43:14 +0000 (14:43 -0000)]
2004-02-19 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Add proper support for --with-nptl for people who
have linking problems when it is enabled.
svn path=/trunk/mono/; revision=23250
Zoltan Varga [Thu, 19 Feb 2004 14:24:18 +0000 (14:24 -0000)]
2004-02-19 Zoltan Varga <vargaz@freemail.hu>
* basic-calls.cs basic-float.cs basic-long.cs objects.cs: New regression tests.
svn path=/trunk/mono/; revision=23249
Zoltan Varga [Thu, 19 Feb 2004 14:14:37 +0000 (14:14 -0000)]
2004-02-19 Zoltan Varga <vargaz@freemail.hu>
* sparc/sparc-codegen.h: Fix lots of opcodes + add new ones.
svn path=/trunk/mono/; revision=23248
Zoltan Varga [Thu, 19 Feb 2004 14:13:23 +0000 (14:13 -0000)]
2004-02-19 Zoltan Varga <vargaz@freemail.hu>
* sparc/tramp.c: Fix alignment of structures containing doubles.
svn path=/trunk/mono/; revision=23247
Atsushi Eno [Thu, 19 Feb 2004 04:30:50 +0000 (04:30 -0000)]
2004-02-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output).
svn path=/trunk/mcs/; revision=23246
Atsushi Eno [Thu, 19 Feb 2004 04:16:35 +0000 (04:16 -0000)]
2004-02-19 Atsushi Enomoto <atsushi@ximian.com>
* icall.c: removed IsDigit, IsSeparator, IsWhiteSpace from char_icalls.
svn path=/trunk/mono/; revision=23245
Gonzalo Paniagua Javier [Thu, 19 Feb 2004 03:05:19 +0000 (03:05 -0000)]
2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpWebRequest.cs: check for missing or wrong URI in Location header
when redirecting.
* WebConnection.cs: if the data read does not contain all the headers,
keep it around and read the rest until we get to the response body.
Allow response code with no description. Fixed bug #54543.
svn path=/trunk/mcs/; revision=23244
Urs C. Muff [Wed, 18 Feb 2004 21:15:11 +0000 (21:15 -0000)]
.cvsignore: hide files created by automake/configure
svn path=/trunk/mono/; revision=23241
Jackson Harper [Wed, 18 Feb 2004 20:12:29 +0000 (20:12 -0000)]
* ILParser.jay: Create ExternTypeRefInsts when a valuetype
extern_class is encountered. This way the underlying type is not
changed to a value type.
svn path=/trunk/mcs/; revision=23238
Jackson Harper [Wed, 18 Feb 2004 20:09:34 +0000 (20:09 -0000)]
* ilasm.exe.sources: Add ExternTypeRefInst to the build.
svn path=/trunk/mcs/; revision=23237
Jackson Harper [Wed, 18 Feb 2004 20:08:14 +0000 (20:08 -0000)]
* ExternTypeRefInst.cs: New file - represents an instance of an
extern type ref, used for making value type tokens.
* TypeDef.cs: Add implementing classes.
svn path=/trunk/mcs/; revision=23236
Jackson Harper [Wed, 18 Feb 2004 19:38:04 +0000 (19:38 -0000)]
* PEAPI.cs: Add a class for creating instances of class refs, this
is used for setting the class or valuetype of a types instance so the class
reference isn't modified. Allows things like 'valuetype
[mscorlib]System.Object'.
svn path=/trunk/mcs/; revision=23234
Atsushi Eno [Wed, 18 Feb 2004 19:23:55 +0000 (19:23 -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=23233
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