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
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
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
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
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
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
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
Jordi Mas i Hernandez [Tue, 17 Feb 2004 13:04:55 +0000 (13:04 -0000)]
units font support
svn path=/trunk/mcs/; revision=23167
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
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
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
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
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
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
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
Jackson Harper [Tue, 17 Feb 2004 04:35:56 +0000 (04:35 -0000)]
flush
svn path=/trunk/mcs/; revision=23156
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
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
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
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
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
Jackson Harper [Mon, 16 Feb 2004 20:57:11 +0000 (20:57 -0000)]
flush
svn path=/trunk/mcs/; revision=23148
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jordi Mas i Hernandez [Mon, 16 Feb 2004 11:40:48 +0000 (11:40 -0000)]
revert Sanjay patches
svn path=/trunk/mcs/; revision=23123
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
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
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
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
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
Alberto Fernandez [Mon, 16 Feb 2004 08:44:29 +0000 (08:44 -0000)]
BugFix in a case
svn path=/trunk/mcs/; revision=23116
Alberto Fernandez [Mon, 16 Feb 2004 08:44:01 +0000 (08:44 -0000)]
Stubbed class
svn path=/trunk/mcs/; revision=23115
Alberto Fernandez [Mon, 16 Feb 2004 08:43:34 +0000 (08:43 -0000)]
New stubbed classes
svn path=/trunk/mcs/; revision=23114
Alberto Fernandez [Mon, 16 Feb 2004 08:42:00 +0000 (08:42 -0000)]
Sample code moved to Samples dir.
svn path=/trunk/mcs/; revision=23113
Alberto Fernandez [Mon, 16 Feb 2004 08:39:22 +0000 (08:39 -0000)]
Created new directory for sample programs
svn path=/trunk/mcs/; revision=23112
Sebastien Pouliot [Mon, 16 Feb 2004 01:00:45 +0000 (01:00 -0000)]
2004-02-15 Sebastien Pouliot <sebastien@ximian.com>
* ARC4Managed.cs: Removed all % 256 (modulo) because typecasting to
byte already ensure the result would be correct (as suggested by
Technoboy). Now use KeyBuilder to create new keys.
svn path=/trunk/mcs/; revision=23111
Carlos Guzmán Álvarez [Sun, 15 Feb 2004 22:04:25 +0000 (22:04 -0000)]
2004-02-15 Carlos Guzm��n ��lvarez <carlosga@te...>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
- Added specific control od available data for Network Streams
on Read ( Thanks to Francisco Figueiredo Jr. for his feedback ).
- Removed test code.
svn path=/trunk/mcs/; revision=23110
Miguel de Icaza [Sun, 15 Feb 2004 16:06:17 +0000 (16:06 -0000)]
Add new DB2 provider from Victor
svn path=/trunk/mcs/; revision=23108
Zoltan Varga [Sun, 15 Feb 2004 14:16:21 +0000 (14:16 -0000)]
2004-02-15 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c: Fix compilation under gcc 2.95.
svn path=/trunk/mono/; revision=23107
Ben Maurer [Sun, 15 Feb 2004 05:49:49 +0000 (05:49 -0000)]
2004-02-15 Ben Maurer <bmaurer@users.sourceforge.net>
* DTDValidatingReader.cs: simple optimization. there is only
one string, skip the string builder and just return the string.
svn path=/trunk/mcs/; revision=23103
Carlos Guzmán Álvarez [Sat, 14 Feb 2004 22:48:27 +0000 (22:48 -0000)]
2004-02-14 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
- Removed test code.
svn path=/trunk/mcs/; revision=23102
Ben Maurer [Sat, 14 Feb 2004 22:33:11 +0000 (22:33 -0000)]
build fix
svn path=/trunk/mcs/; revision=23101
Carlos Guzmán Álvarez [Sat, 14 Feb 2004 22:23:07 +0000 (22:23 -0000)]
2004-02-14 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
- Removed test code.
svn path=/trunk/mcs/; revision=23100
Atsushi Eno [Sat, 14 Feb 2004 19:00:49 +0000 (19:00 -0000)]
2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigC14NTransformTest.cs,
XmlDsigC14NWithCommentsTransformTest.cs:
uncommented some code blocks which should be tested.
svn path=/trunk/mcs/; revision=23098
Atsushi Eno [Sat, 14 Feb 2004 18:55:27 +0000 (18:55 -0000)]
2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
* XmlCanonicalizer.cs: Use child nodes of entity reference nodes (it
is now correctly supported in XmlEntityReference).
svn path=/trunk/mcs/; revision=23097
Miguel de Icaza [Sat, 14 Feb 2004 17:27:33 +0000 (17:27 -0000)]
Add libgdiplus
svn path=/trunk/mono/; revision=23095
Zoltan Varga [Sat, 14 Feb 2004 15:44:41 +0000 (15:44 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_codegen): Avoid infinite loop when an icall wrapper
contains a call to the wrapped function.
* mini-ops.h cpu-pentium.md mini-x86.c inssel-x86.brg: Add
OP_<CALL>_IMM opcodes, and use them under X86.
* mini.c (mono_jit_find_compiled_method): Fix warning.
svn path=/trunk/mono/; revision=23094
Atsushi Eno [Sat, 14 Feb 2004 15:39:35 +0000 (15:39 -0000)]
2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
* NumberFormatInfo.cs : CurrentInfo should not return clone every
time (MS.NET returns the same object; try object.ReferenceEquals()).
svn path=/trunk/mcs/; revision=23093
Zoltan Varga [Sat, 14 Feb 2004 15:39:07 +0000 (15:39 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* libtest.c: Add <time.h>
svn path=/trunk/mono/; revision=23092
Miguel de Icaza [Sat, 14 Feb 2004 15:38:27 +0000 (15:38 -0000)]
Update
svn path=/trunk/mono/; revision=23091
Francisco Figueiredo Jr. [Sat, 14 Feb 2004 15:00:27 +0000 (15:00 -0000)]
2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which retur
n no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
svn path=/trunk/mcs/; revision=23090
Francisco Figueiredo Jr. [Sat, 14 Feb 2004 14:59:45 +0000 (14:59 -0000)]
2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
svn path=/trunk/mcs/; revision=23089
Zoltan Varga [Sat, 14 Feb 2004 13:13:42 +0000 (13:13 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* cpu-pentium.md: Fix length of opcodes which use x86_alu_membase_imm.
svn path=/trunk/mono/; revision=23088
Zoltan Varga [Sat, 14 Feb 2004 13:01:29 +0000 (13:01 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* Delegate.cs (Equals): Do not compare method_ptr, since it might
point to a trampoline.
svn path=/trunk/mcs/; revision=23087
Zoltan Varga [Sat, 14 Feb 2004 13:00:43 +0000 (13:00 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* delegate.cs: Add test for bug #52092.
svn path=/trunk/mono/; revision=23086
Zoltan Varga [Sat, 14 Feb 2004 12:59:08 +0000 (12:59 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* jit-icalls.c (mono_ldftn_nosync): New JIT icall.
* tramp-x86.c (mono_arch_create_jump_trampoline): Move arch independent
functionality to mini.c.
* mini.c (mono_create_jump_trampoline): New function to create a jump
trampoline. Return a compiled method instead of a trampoline if it
exists. Add a cache for jump trampolines.
* mini.c (mono_jit_find_compiled_method): New function to return a
compiled method if it exists.
* mini-x86.c: Call mono_create_jump_trampoline instead of
mono_arch_create_jit_trampoline.
* jit-icalls.c (mono_ldftn): Do not compile the method. Instead, return
a jump trampoline. Fixes #52092.
svn path=/trunk/mono/; revision=23085
Zoltan Varga [Sat, 14 Feb 2004 12:38:51 +0000 (12:38 -0000)]
2004-02-14 Zoltan Varga <vargaz@freemail.hu>
* debug-helpers.c (mono_method_full_name): Fix output for empty
namespaces.
svn path=/trunk/mono/; revision=23084
Peter Dennis Bartok [Fri, 13 Feb 2004 23:05:35 +0000 (23:05 -0000)]
- Initial check-in
svn path=/trunk/mcs/; revision=23083
Peter Dennis Bartok [Fri, 13 Feb 2004 22:53:23 +0000 (22:53 -0000)]
- Initial version of the patch for Wine
20040121
svn path=/trunk/mcs/; revision=23082
Sebastien Pouliot [Fri, 13 Feb 2004 21:30:55 +0000 (21:30 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* BigInteger.cs: Re-introduced INSIDE_CORLIB for ModulusRing.
svn path=/trunk/mcs/; revision=23081
Sebastien Pouliot [Fri, 13 Feb 2004 21:16:59 +0000 (21:16 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security.dll.sources: Added Diffie-Hellman contribution from
Pieter Philippaerts (mentalis.org) to Mono.Security.Cryptography.
* Mono.Security_test.dll.sources: Added Diffie-Hellman unit tests.
svn path=/trunk/mcs/; revision=23079
Sebastien Pouliot [Fri, 13 Feb 2004 21:15:51 +0000 (21:15 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* SearchGeneratorTest.cs: Fixed csc compilation (was using
partial namespace).
svn path=/trunk/mcs/; revision=23077
Sebastien Pouliot [Fri, 13 Feb 2004 21:04:50 +0000 (21:04 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* DiffieHellmanManagedTest.cs: New. Basic unit test for DH.
svn path=/trunk/mcs/; revision=23076
Sebastien Pouliot [Fri, 13 Feb 2004 21:03:55 +0000 (21:03 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* DHKeyGeneration.cs: New. Enumuration of possible key generation for
Diffie-Hellman. Contributed by Pieter Philippaerts (mentalis.org).
* DHParameters.cs: New. Structure to hold the different elements of a
Diffie-Hellman key. Contributed by Pieter Philippaerts (mentalis.org).
* DiffieHellman.cs: New. Astract class as base for all Diffie-Hellman
implementations. Contributed by Pieter Philippaerts (mentalis.org).
* DiffieHellmanManaged.cs: New. Managed implementation of the Diffie-
Hellman key agreement algorithm. Contributed by Pieter Philippaerts.
svn path=/trunk/mcs/; revision=23075
Jackson Harper [Fri, 13 Feb 2004 20:14:53 +0000 (20:14 -0000)]
* FileStream.cs: Throw some more exceptions for invalid
params. Fixes some unit test failures.
* BufferedStream.cs: If the stream is closed (can't read from it
or write to it) throw an ObjectDisposedException.
svn path=/trunk/mcs/; revision=23074
Atsushi Eno [Fri, 13 Feb 2004 20:08:50 +0000 (20:08 -0000)]
2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs, DTDReader.cs, DTDValidatingReader.cs :
say goodbye to sys.collections.specialized.
(replaced the classes in that namespace with ArrayList or Hashtable)
svn path=/trunk/mcs/; revision=23073
Atsushi Eno [Fri, 13 Feb 2004 20:05:34 +0000 (20:05 -0000)]
2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
* XslVariable.cs : Replaced XmlNodeWriter with DTMXPathDocumentWriter.
svn path=/trunk/mcs/; revision=23072
Atsushi Eno [Fri, 13 Feb 2004 20:04:52 +0000 (20:04 -0000)]
2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
* XsltCompiledContext.cs : fixed the length of context info array.
svn path=/trunk/mcs/; revision=23071
Atsushi Eno [Fri, 13 Feb 2004 20:04:06 +0000 (20:04 -0000)]
2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources : added DTMXPathDocumentWriter.cs.
svn path=/trunk/mcs/; revision=23070
Atsushi Eno [Fri, 13 Feb 2004 20:03:33 +0000 (20:03 -0000)]
2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
* Added DTMXPathDocumentWriter.cs. It supports DTMXPathNavigator as
the resulting document tree.
* DTMXPathDocumentBuilder.cs : Code refactory (to get closer to dtm
writer and commonify tasks they both should do). Reduced initial
array size (400 to 200, for attribute 800 to 200), and extending
size from 2x to 4x (to reduce _times_ of allication copy).
* DTMXPathNode.cs : (and all above) added experimental "DTM_CLASS"
switch, which changes nodes from struct to class. (It will reduce
memory consumption by 2/3, but will also reduce speed by 2/3.)
svn path=/trunk/mcs/; revision=23069
Miguel de Icaza [Fri, 13 Feb 2004 18:21:30 +0000 (18:21 -0000)]
Put the status at the top
svn path=/trunk/mono/; revision=23068
Sebastien Pouliot [Fri, 13 Feb 2004 16:22:12 +0000 (16:22 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* PrimeGeneratorBase.cs: Changed primality test to Rabin Miller to
fix issues #51229 (bug), #54262 (very long in same cases).
svn path=/trunk/mcs/; revision=23066
Sebastien Pouliot [Fri, 13 Feb 2004 16:20:41 +0000 (16:20 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* BigInteger.cs: Fixed isProbablePrime() and added Parse method from
patch provided by Pieter (#51229). Changed SmallPrimeSppTest to
RabinMillerTest (#51229, #54262). Removed obsoleted method
isProbablePrime(int).
svn path=/trunk/mcs/; revision=23065
Sebastien Pouliot [Fri, 13 Feb 2004 16:13:43 +0000 (16:13 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* PrimeTestingTest.cs: Added well known (and tested) primes from
RFC 2412 (http://www.faqs.org/rfcs/rfc2412.html) as suggested by
Pieter Philippaerts (#51229).
* SearchGeneratorTest.cs: Modified so this still use the (previous)
SmallPrimeSppTest primality test - because RM doesn't work for
small primes.
svn path=/trunk/mcs/; revision=23064
Sebastien Pouliot [Fri, 13 Feb 2004 16:12:25 +0000 (16:12 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* PrimeGeneratorBase.cs: Changed primality test to Rabin Miller to
fix issues #51229 (bug), #54262 (very long in same cases).
svn path=/trunk/mcs/; revision=23063
Sebastien Pouliot [Fri, 13 Feb 2004 16:09:15 +0000 (16:09 -0000)]
2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
* BigInteger.cs: Fixed isProbablePrime() and added Parse method from
patch provided by Pieter (#51229). Changed SmallPrimeSppTest to
RabinMillerTest (#51229, #54262). Removed obsoleted method
isProbablePrime(int).
svn path=/trunk/mcs/; revision=23062
Miguel de Icaza [Fri, 13 Feb 2004 15:40:48 +0000 (15:40 -0000)]
Spell check
svn path=/trunk/mono/; revision=23060
Ravindra [Fri, 13 Feb 2004 15:15:48 +0000 (15:15 -0000)]
Fixed some bugs in Pen.cs and TextureBrush.cs.
svn path=/trunk/mcs/; revision=23059
Sanja Gupta [Fri, 13 Feb 2004 14:48:49 +0000 (14:48 -0000)]
ChangeLog: Updated ChangeLog
gdipFunctions.cs: Added ImageCodecInfo functions and corrected
few Image class functions
Image.cs: Added few methods
svn path=/trunk/mcs/; revision=23057
Jordi Mas i Hernandez [Fri, 13 Feb 2004 12:06:10 +0000 (12:06 -0000)]
remove hardcoded font names, a few bug fixes
svn path=/trunk/mcs/; revision=23056
Jordi Mas i Hernandez [Fri, 13 Feb 2004 10:40:15 +0000 (10:40 -0000)]
font and format drawing samples
svn path=/trunk/mcs/; revision=23055
Sanja Gupta [Fri, 13 Feb 2004 10:11:10 +0000 (10:11 -0000)]
ChangeLog: Updated ChangeLog
FrameDimension.cs: Implemented missing functionalities.
svn path=/trunk/mcs/; revision=23053