mono.git
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

20 years agoSample code moved to Samples dir.
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

20 years agoCreated new directory for sample programs
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

20 years ago2004-02-15 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-15 Carlos Guzm��n ��lvarez <carlosga@te...>
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

20 years agoAdd new DB2 provider from Victor
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

20 years ago2004-02-15 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-15 Ben Maurer <bmaurer@users.sourceforge.net>
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

20 years ago2004-02-14 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
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

20 years agobuild fix
Ben Maurer [Sat, 14 Feb 2004 22:33:11 +0000 (22:33 -0000)]
build fix

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

20 years ago2004-02-14 Carlos Guzm��n ��lvarez <carlosga@telefonica.net>
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

20 years ago2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
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

20 years agoAdd libgdiplus
Miguel de Icaza [Sat, 14 Feb 2004 17:27:33 +0000 (17:27 -0000)]
Add libgdiplus

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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-14 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years agoUpdate
Miguel de Icaza [Sat, 14 Feb 2004 15:38:27 +0000 (15:38 -0000)]
Update

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

20 years ago2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
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

20 years ago2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-14 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago- Initial check-in
Peter Dennis Bartok [Fri, 13 Feb 2004 23:05:35 +0000 (23:05 -0000)]
- Initial check-in

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

20 years ago- Initial version of the patch for Wine 20040121
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago * FileStream.cs: Throw some more exceptions for invalid
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

20 years ago2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
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

20 years agoPut the status at the top
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
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

20 years agoSpell check
Miguel de Icaza [Fri, 13 Feb 2004 15:40:48 +0000 (15:40 -0000)]
Spell check

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

20 years agoFixed some bugs in Pen.cs and TextureBrush.cs.
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

20 years agoChangeLog: Updated ChangeLog
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

20 years agoremove hardcoded font names, a few bug fixes
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

20 years agofont and format drawing samples
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

20 years agoChangeLog: Updated ChangeLog
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

20 years ago * Calendar.cs: Match MS postback data. This allows sites that
Jackson Harper [Fri, 13 Feb 2004 09:23:54 +0000 (09:23 -0000)]
    * Calendar.cs: Match MS postback data. This allows sites that
          parse the postback data manually to work.

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

20 years agoLink
Miguel de Icaza [Fri, 13 Feb 2004 05:47:51 +0000 (05:47 -0000)]
Link

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

20 years agoupdates
Miguel de Icaza [Fri, 13 Feb 2004 05:42:44 +0000 (05:42 -0000)]
updates

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

20 years agohere ya go, miggy
Ben Maurer [Fri, 13 Feb 2004 04:44:51 +0000 (04:44 -0000)]
here ya go, miggy

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

20 years ago2004-02-12 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Fri, 13 Feb 2004 04:21:34 +0000 (04:21 -0000)]
2004-02-12 Ben Maurer  <bmaurer@users.sourceforge.net>

* statement.cs, codegen.cs:
This patch deals with patterns such as:

public class List : IEnumerable {

public MyEnumerator GetEnumerator () {
return new MyEnumerator(this);
}

IEnumerator IEnumerable.GetEnumerator () {
...
}

public struct MyEnumerator : IEnumerator {
...
}
}

Before, there were a few things we did wrong:
1) we would emit callvirt on a struct, which is illegal
2) we emited ldarg when we needed to emit ldarga
3) we would mistakenly call the interface methods on an enumerator
type that derived from IEnumerator and was in another assembly. For example:

public class MyEnumerator : IEnumerator

Would have the interface methods called, even if there were public impls of the
method. In a struct, this lead to invalid IL code.

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

20 years ago * SortedList.cs: Only .et 1.0 sets the capacity to a min of
Jackson Harper [Thu, 12 Feb 2004 23:06:57 +0000 (23:06 -0000)]
    * SortedList.cs: Only .et 1.0 sets the capacity to a min of
initial size.

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

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

* XmlReader.cs : For performance reason, XmlTextReader now uses
  base ReadInnerXml() and don't store currentTag array unnecessarily.
* XmlTextReader.cs :
  - Fixed GetAttribute(int) that might cause index out of range.
  - Now it consumes the text reader by reading blocks, as MS.NET does.
    Modified GetRemainder(), PeekChar(), ReadChar() and so on.
  - Now it doesn't create Value string for linked nodes, unless it
    is actually required.
  - some code refactory.

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

20 years ago * AppDomainSetup.cs: If relative paths are used they should be
Jackson Harper [Thu, 12 Feb 2004 20:22:32 +0000 (20:22 -0000)]
    * AppDomainSetup.cs: If relative paths are used they should be
rooted in the temp directory.

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

20 years ago2004-02-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 Feb 2004 19:58:32 +0000 (19:58 -0000)]
2004-02-12  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoInflatedField): Removed.

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

20 years ago2004-02-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 Feb 2004 19:58:16 +0000 (19:58 -0000)]
2004-02-12  Martin Baulig  <martin@ximian.com>

* class.h (MonoClassField): Added `MonoType *generic_type'.

* reflection.c (mono_image_get_fieldref_token): Added support for
instantiated generic types.
(field_encode_inflated_field): Removed.
(mono_image_get_inflated_field_token): Removed.
(mono_reflection_inflate_field): Return a `MonoReflectionField *'.

* reflection.h (MonoReflectionInflatedField): Removed.

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

20 years ago2004-02-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 Feb 2004 19:54:47 +0000 (19:54 -0000)]
2004-02-12  Martin Baulig  <martin@ximian.com>

* metadata.h (MonoMethodHeader, MonoMethodSignature): Moved the
`gen_method' field from MonoMethodHeader to MonoMethodSignature.

* reflection.c (mono_image_get_methodspec_token): Take a
`MonoMethod *' instead of a `MonoReflectionInflatedMethod *'.
(mono_image_create_token): Check whether we have a
`method->signature->gen_method' and call
mono_image_get_methodspec_token() if appropriate.
(inflated_method_get_object): Removed.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionMethod *', not a `MonoReflectionInflatedMethod *'.
(mono_reflection_inflate_method_or_ctor): Likewise.

* reflection.h (MonoReflectionInflatedMethod): Removed.

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

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

* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Removed.

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

20 years ago2004-02-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 Feb 2004 18:44:58 +0000 (18:44 -0000)]
2004-02-12  Martin Baulig  <martin@ximian.com>

* metadata.h (MonoMethodHeader, MonoMethodSignature): Moved the
`gen_method' field from MonoMethodHeader to MonoMethodSignature.

* reflection.c (mono_image_get_methodspec_token): Take a
`MonoMethod *' instead of a `MonoReflectionInflatedMethod *'.
(mono_image_create_token): Check whether we have a
`method->signature->gen_method' and call
mono_image_get_methodspec_token() if appropriate.
(inflated_method_get_object): Removed.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionMethod *', not a `MonoReflectionInflatedMethod *'.
(mono_reflection_inflate_method_or_ctor): Likewise.

* reflection.h (MonoReflectionInflatedMethod): Removed.

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

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

* HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.

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

20 years agoChangeLog: Updated changelog
Sanja Gupta [Thu, 12 Feb 2004 15:38:23 +0000 (15:38 -0000)]
ChangeLog: Updated changelog
gdipFunctions.cs: Added Image class functions
Image.cs: Implemented few methods

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

20 years agoAdded EncoderParameter.cs and EncoderParameters.cs to System.Drawing.dll.sources.
Ravindra [Thu, 12 Feb 2004 14:40:24 +0000 (14:40 -0000)]
Added EncoderParameter.cs and EncoderParameters.cs to System.Drawing.dll.sources.

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

20 years agoImplemented EncoderParameter.cs and EncoderParameters.cs.
Ravindra [Thu, 12 Feb 2004 14:34:59 +0000 (14:34 -0000)]
Implemented EncoderParameter.cs and EncoderParameters.cs.

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

20 years ago2004-02-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Thu, 12 Feb 2004 14:12:22 +0000 (14:12 -0000)]
2004-02-12  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoStreamTest.cs: Added new tests for [From|To]Base64Transform
(InputBlockSize != OutputBlockSize) and for cascading CryptoStreams.

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

20 years ago2004-02-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 12 Feb 2004 14:09:39 +0000 (14:09 -0000)]
2004-02-12  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoStream.cs: Remove the _blockSize assumptions because some
Transforms could be different on Input/Output. Added a special case
for cascading CryptoStreams in FlushFinalBlock.

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

20 years ago2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 13:55:02 +0000 (13:55 -0000)]
2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpServerUtility.cs:
* HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
#53670).

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

20 years ago2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 13:32:28 +0000 (13:32 -0000)]
2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: fixed length check. Closes bug #54201.
Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
decoding.

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

20 years ago2004-02-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 Feb 2004 12:33:30 +0000 (12:33 -0000)]
2004-02-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal10.cs: Oops, wrong test.

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

20 years ago2004-02-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 Feb 2004 12:29:05 +0000 (12:29 -0000)]
2004-02-12  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c: Add valuetype marshaling test.

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

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

* marshal9.cs: Fix after marshaling changes.

* marshal10.cs: Add valuetype marshaling test.

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

20 years ago2004-02-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 Feb 2004 12:22:33 +0000 (12:22 -0000)]
2004-02-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_native_wrapper): Implement proper support
for custom valuetype marshalling.

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

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

* icall.c (icall_entries): Diagnostic -> Diagnostics. Fixes #54261.

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

20 years ago2004-02-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 12 Feb 2004 11:57:18 +0000 (11:57 -0000)]
2004-02-11  Marek Safar  <marek.safar@seznam.cz>

        * Type.cs (FilterNameIgnoreCase_impl): Added extra check for speedup.

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

20 years ago2004-02-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 12 Feb 2004 10:59:38 +0000 (10:59 -0000)]
2004-02-11  Marek Safar  <marek.safar@seznam.cz>

        * const.cs: Const is now derived from FieldBase. Method EmitConstant name
  renamed to Emit.

        * delegate.cs (Define): Fixed crash when delegate type is undefined.

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

20 years agomore
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 01:54:13 +0000 (01:54 -0000)]
more

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

20 years agoaaargh
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 01:48:38 +0000 (01:48 -0000)]
aaargh

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

20 years ago2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 01:40:36 +0000 (01:40 -0000)]
2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Text.RegularExpressions/parser.cs: an opening brace without a
quantifier do not cause a parse error. Fixes bug #52924.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added test from
bug #52924.

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

20 years ago2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 01:38:48 +0000 (01:38 -0000)]
2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BasicClient.cs:
* DigestClient.cs: use IndexOf instead of StartsWith to deal with
servers that provide several authentication schemas.

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

20 years ago * Uri.cs: If we are sure we have a windows path use \ instead of
Jackson Harper [Thu, 12 Feb 2004 01:00:10 +0000 (01:00 -0000)]
    * Uri.cs: If we are sure we have a windows path use \ instead of
/ for directory separating.

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

20 years ago2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 00:55:21 +0000 (00:55 -0000)]
2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: added locks around waithandle assign and comparison in
class Worker. Handle other exceptions than SocketException for
non-blocking sockets.

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

20 years ago2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Feb 2004 00:50:34 +0000 (00:50 -0000)]
2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChunkStream.cs: use an array of buffers instead of a MemoryStream for
storing the chunks. This way, we won't miss traling data from the
previous chunk when a new one is received before the other is fully
read.

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

20 years ago * TraceData.cs: Use ToString for cookie/header/var name values so
Jackson Harper [Thu, 12 Feb 2004 00:19:00 +0000 (00:19 -0000)]
    * TraceData.cs: Use ToString for cookie/header/var name values so
null is handled properly.

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

20 years ago2004-02-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 12 Feb 2004 00:12:08 +0000 (00:12 -0000)]
2004-02-11  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Fix small regression: we were not testing V2
compiler features correctly.

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

20 years agoChangeLog entry
Miguel de Icaza [Thu, 12 Feb 2004 00:08:36 +0000 (00:08 -0000)]
ChangeLog entry

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

20 years agoupdate todo
Miguel de Icaza [Thu, 12 Feb 2004 00:08:15 +0000 (00:08 -0000)]
update todo

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