mono.git
20 years agoSync from web site
Duncan Mak [Fri, 7 May 2004 03:19:29 +0000 (03:19 -0000)]
Sync from web site

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

20 years ago(AssemblyDelaySign, AssemblyKeyFile): Disable
Raja R Harinath [Fri, 7 May 2004 03:08:25 +0000 (03:08 -0000)]
(AssemblyDelaySign, AssemblyKeyFile): Disable
with BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes on this.

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

20 years ago(corlib_net_2_0_bootstrap): Copy System.dll and
Raja R Harinath [Fri, 7 May 2004 03:07:36 +0000 (03:07 -0000)]
(corlib_net_2_0_bootstrap): Copy System.dll and
System.Xml.dll from 'default' profile build.
($(gmcs)): Always go to 'gmcs' directory.

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

20 years ago(AssemblyDelaySign, AssemblyKeyFile): Disable
Raja R Harinath [Fri, 7 May 2004 03:06:56 +0000 (03:06 -0000)]
(AssemblyDelaySign, AssemblyKeyFile): Disable
for BOOTSTRAP_WITH_OLDLIB.  Mono 0.31 runtime crashes with them.

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

20 years ago(all-local): Built first pass with BOOT_COMPILE.
Raja R Harinath [Fri, 7 May 2004 03:06:19 +0000 (03:06 -0000)]
(all-local): Built first pass with BOOT_COMPILE.

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

20 years ago(SUBDIRS): Build 'corlib' and first pass of 'System'
Raja R Harinath [Fri, 7 May 2004 03:05:24 +0000 (03:05 -0000)]
(SUBDIRS): Build 'corlib' and first pass of 'System'
before anything else.  Remove duplicated Novell.Directory.Ldap.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 May 2004 00:24:37 +0000 (00:24 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* README: Updated to match the new version and public token for the
assembly. Also changed my email address.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 May 2004 00:08:33 +0000 (00:08 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* SignatureDescriptionTest.cs: Misspelled [SetUp] attribute.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 May 2004 00:02:53 +0000 (00:02 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* SignatureDescriptionTest.cs: Removed unimplemented constructor from
tests. Converted to NUnit2.

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

20 years ago2004-05-06 Jesper Pedersen <jep@itplus.dk>
Sebastien Pouliot [Thu, 6 May 2004 23:16:03 +0000 (23:16 -0000)]
2004-05-06  Jesper Pedersen  <jep@itplus.dk>

* PKCS12.cs: Fixed synchronization with X509CertificateCollection in
GetBytes ().

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

20 years ago2004-05-06: Jean-Marc Andr�� <jeanmarc.andre@cpe.fr>
Jean-Marc Andre [Thu, 6 May 2004 22:47:13 +0000 (22:47 -0000)]
2004-05-06: Jean-Marc Andr�� <jeanmarc.andre@cpe.fr>
* SoapTypeMapper.cs: small fix

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 19:51:45 +0000 (19:51 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* RSAOAEPKeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
* RSAOAEPKeyExchangeFormatter.cs: Fixed wrt completed unit tests.
* RSAPKCS1KeyExchangeDeformatter.cs: Fixed wrt completed unit tests.
Added globalization to exceptions.
* RSAPKCS1KeyExchangeFormatter.cs: Fixed wrt completed unit tests.
* RSAPKCS1SignatureDeformatter.cs: Fixed wrt completed unit tests.
Added globalization to exceptions.
* RSAPKCS1SignatureFormatter.cs: Fixed wrt completed unit tests.
Added globalization to exceptions.

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

20 years ago * reflection.c: Handle null PublicTokens properly. alloc mem for
Jackson Harper [Thu, 6 May 2004 19:46:27 +0000 (19:46 -0000)]
    * reflection.c: Handle null PublicTokens properly. alloc mem for
assembly names culture so we dont crash when freeing it.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 19:28:52 +0000 (19:28 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* RSAOAEPKeyExchangeDeformatterTest.cs: Updated unit tests to complete
coverage.
* RSAOAEPKeyExchangeFormatterTest.cs: Updated unit tests to complete
coverage.
* RSAPKCS1KeyExchangeDeformatterTest.cs: Updated unit tests to
complete coverage.
* RSAPKCS1KeyExchangeFormatterTest.cs: Updated unit tests to complete
coverage.
* RSAPKCS1SignatureDeformatterTest.cs: Updated unit tests to complete
coverage.
* RSAPKCS1SignatureFormatterTest.cs: Updated unit tests to complete
coverage.

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

20 years agofix for loading I18N.*.dll assemblies from the GAC
Jaroslaw Kowalski [Thu, 6 May 2004 19:14:31 +0000 (19:14 -0000)]
fix for loading I18N.*.dll assemblies from the GAC

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

20 years ago * assembly.c: Check the usergac when loading with
Jackson Harper [Thu, 6 May 2004 18:50:28 +0000 (18:50 -0000)]
    * assembly.c: Check the usergac when loading with
          partial names.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 17:48:31 +0000 (17:48 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: use the real wildcard for file names as it is supported
now in io-layer. SearhPattern is not needed now.

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

20 years agoremoved obsolete comment
Gonzalo Paniagua Javier [Thu, 6 May 2004 17:43:33 +0000 (17:43 -0000)]
removed obsolete comment

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 17:21:00 +0000 (17:21 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io.c: fixed for FindFirstFile for empty directories. Closes
bug #58147.

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

20 years ago * Assembly.cs: remove TODO, this is done.
Jackson Harper [Thu, 6 May 2004 16:51:09 +0000 (16:51 -0000)]
    * Assembly.cs: remove TODO, this is done.

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

20 years ago * Environment.cs: Make $HOME the personal directory.
Jackson Harper [Thu, 6 May 2004 16:45:01 +0000 (16:45 -0000)]
    * Environment.cs: Make $HOME the personal directory.

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 16:38:08 +0000 (16:38 -0000)]
2004-05-06  Atsushi Enomoto <atsushi@ximian.com>

* xml-classes : updates

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 16:37:34 +0000 (16:37 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* Convert.cs: ToBase64String method was depending on a bug in
S.S.C.ToBase64Transform class to work. Added an internal method to
provide the same functionality (multiple block processing).

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 16:34:41 +0000 (16:34 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* Rijndael.cs: Source clean up.
* RijndaelManaged.cs: Moved XML comments to monodoc. Added
globalization to exceptions.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 16:31:52 +0000 (16:31 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* RNGCryptoServiceProvider.cs: Removed TODO and documented them in
mono doc. Now call runtime when a seed is provided.
* RSA.cs: Added globalization to exceptions. Removed check for
<RSAKeyValue> as it is not checked by MS implementation.
* SignatureDescription.cs: Moved XML comments to monodoc. Added
globalization to exceptions. Removed TODO and added notes to monodoc.
* SymmetricAlgorithm.cs: Moved XML comments to monodoc. Added
globalization to exceptions.
* ToBase64Tranform.cs: Added missing exception handling. Moved XML
comments to monodoc.

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

20 years agoordered last 'In the news' by date
Gonzalo Paniagua Javier [Thu, 6 May 2004 16:27:25 +0000 (16:27 -0000)]
ordered last 'In the news' by date

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 16:27:14 +0000 (16:27 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* TripleDES.cs: Added globalization to exceptions.
* TripleDESCryptoServiceProvider.cs: Changed Array.Copy to
Buffer.BlockCopy. Zeroize decrypted data.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 16:24:33 +0000 (16:24 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* SHA1.cs: Moved XML comments to monodoc.
* SHA1CryptoServiceProvider.cs: Moved XML comments to monodoc. Removed CLSCompliance
attributes from private fields.
* SHA256.cs: Moved XML comments to monodoc.
* SHA256Managed.cs: Moved XML comments to monodoc. Removed CLSCompliance
attributes from private fields.
* SHA384.cs: Moved XML comments to monodoc.
* SHA512.cs: Moved XML comments to monodoc.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 16:19:57 +0000 (16:19 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* RC2.cs: Fixed KeySize to change it's value and the EffectiveKeySize
when the key is changed.
* RC2CryptoServiceProvider.cs: Added globalization to exceptions.
Fixed the KeySize must be equal with EffectiveKeySize to match MS
implementation.

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

20 years ago * RectangleConverter.cs: Implemented GetProperties () method.
Ravindra [Thu, 6 May 2004 15:47:50 +0000 (15:47 -0000)]
* RectangleConverter.cs: Implemented GetProperties () method.
* SizeConverter.cs: Implemented GetProperties () method.
* PointConverter.cs: Implemented GetProperties () method.
* FontConverter.cs: Implemented some of the methods.

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

20 years ago2004-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 May 2004 15:20:19 +0000 (15:20 -0000)]
2004-05-06  Zoltan Varga  <vargaz@freemail.hu>

* basic-calls.cs: Add new regression test.

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

20 years ago2004-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 May 2004 15:12:34 +0000 (15:12 -0000)]
2004-05-06  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_runtime_install_handlers): Use SA_ONSTACK since it is
more portable.

* mini.c (mono_method_to_ir): Handle opcode emulation for *_OVF opcodes.

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

20 years ago2004-05-06 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 6 May 2004 15:10:48 +0000 (15:10 -0000)]
2004-05-06  Bernie Solomon  <bernard@ugsolutions.com>

* dump.c:
* get.c:
* main.c:
* util.c:
* util.h: rename map_t dis_map_t to avoid AIX symbol clash

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

20 years agoadded two "In the news" items. Don't know where to put images for now
Erik Dasque [Thu, 6 May 2004 15:09:11 +0000 (15:09 -0000)]
added two "In the news" items. Don't know where to put images for now

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

20 years ago * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Lluis Sanchez [Thu, 6 May 2004 15:08:58 +0000 (15:08 -0000)]
* SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  When deserializing an encoded method response, if the return type of the
  method is Object, assign to it the first element of the message, whatever
  it is.
* XmlSerializationReader.cs:
* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Set IsReturnValue of
  the imported member.
* TypeTranslator.cs: Added method to safely get a primitive TypeData.
* XmlSerializationReader.cs: Don't throw an exception when the CLR type for
  a given xsi type is not found. Just read it as primitive type.
* XmlTypeMapMember.cs: Added IsReturnValue property.
* XmlTypeMapping.cs: Added ReturnMember property.
* XmlSerializer.cs: Reference System.Data when compiling the serializer.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 14:56:32 +0000 (14:56 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources: Added SymmetricAlgorithm2Test,
ToBaseTransformTest, TripleDESTest unit tests to the build.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 14:53:05 +0000 (14:53 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* RNGCryptoServiceProviderTest.cs: Updated unit tests for exception
testing.
* RSATest.cs: Updated unit tests for importing XML key pairs.
* SymmetricAlgorithm2Test.cs: New. Non generated unit test for better
coverage (like exception testing).
* ToBase64TransformTest.cs: New. Unit tests to complete coverage of
ToBase64Transform.
* TripleDESTest.cs: New. Unit tests to complete coverage of TripleDES.

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 14:44:29 +0000 (14:44 -0000)]
2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs :
  Eliminated CRLF injection.
  More clear message in Clear().
  Updates reflecting XmlSchemaDataImporter change.
  Added duplicate check for XmlSerializerNamespaces in BuildSchema().
  Don't use xmlns attribute for UnhandledAttributes (its not mandatory
  but that depends on different behavior from ms.net).
  Set locale also for DataTable.
  Add xs:element only when target namespace matches to the
  element's namespace. Otherwise, add xs:import for external namespace.
  Put xs:sequence for dataset element's particle _only when_ actual
  contents exist.

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

20 years ago * Color.cs: Fixed Name property.
Ravindra [Thu, 6 May 2004 14:40:20 +0000 (14:40 -0000)]
* Color.cs: Fixed Name property.
* ColorTranslator.cs: Fixed the existing methods and implemented
the missing methods.
* ColorConverter.cs: Fixed the existing methods and implemented
the missing methods. Also, fixed coding style.

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

20 years ago2004-05-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 14:36:21 +0000 (14:36 -0000)]
2004-05-06  Sebastien Pouliot  <sebastien@ximian.com>

* RC2Test.cs: Converted to NUnit 2. Uncommented some tests that throw
exceptions to test exception handling (and get more coverage).
* SHA256Test.cs: Corrected Setup attribtue (was [Test]).

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 14:29:36 +0000 (14:29 -0000)]
2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDataReader.cs : Added. This class will work better when our
  schema inference and schema read engine gets improved. (It contains
  standalone testable Driver class.)

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

20 years ago2004-05-07 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 6 May 2004 14:24:45 +0000 (14:24 -0000)]
2004-05-07  Nick Drochak <ndrochak@gol.com>

        * Makefile (plattest_flags): Add /unsafe.

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

20 years agoFix
Miguel de Icaza [Thu, 6 May 2004 14:04:46 +0000 (14:04 -0000)]
Fix

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

20 years agoFix
Miguel de Icaza [Thu, 6 May 2004 14:02:31 +0000 (14:02 -0000)]
Fix

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 13:59:00 +0000 (13:59 -0000)]
2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>

* ForeignKeyConstraint.cs : Check step change. Existence then column
  validity. just for tests.
* XmlSchemaDataImporter.cs : code simplification. reduced extraneous
  fields.

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 13:52:23 +0000 (13:52 -0000)]
2004-05-06  Atsushi Enomoto <atsushi@ximian.com>

* ConstraintCollectionTest.cs : Table name should not be the same as
  for the purpose of this test.
* DataSetReadXmlSchemaTest.cs : Added more tests based on schema files.
* DataSetTest.cs : Reordered attributes to pass test in
  WriteDifferentNamespaceSchema().

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 13:48:39 +0000 (13:48 -0000)]
2004-05-06  Atsushi Enomoto <atsushi@ximian.com>

* New directory.
  Added test001.xsd - test011.xsd, test101.xsd, test102.xsd

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

20 years ago2004-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 May 2004 13:17:40 +0000 (13:17 -0000)]
2004-05-06  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Only disable thread6.exe on x86.

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

20 years ago2004-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 May 2004 12:34:18 +0000 (12:34 -0000)]
2004-05-06  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Disable thread6.exe since it might hang. Fix check for
failed tests.

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

20 years agofixed LoadViewState() and SaveViewState() in WebControl.
Alon Gazit [Thu, 6 May 2004 12:18:22 +0000 (12:18 -0000)]
fixed LoadViewState() and SaveViewState() in WebControl.
Before the change the Enabled property wasn't updated when a postback
event was raised.
fixed SelectedIndex property implementation in ListControl.
Prevents throwing ArgumentOutOfRangeException (that should not be thrown),
when the list is empty.

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 12:10:24 +0000 (12:10 -0000)]
2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>

* ManagedXslTransform.cs : For Stream input, use StreamWriter for
  input to GenericOutputter. Passing XmlWriter causes unexpected
  xml declaration output.

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

20 years ago2004-05-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 May 2004 12:01:45 +0000 (12:01 -0000)]
2004-05-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_local_regalloc): Free new_dest register when it
is no longer used.

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

20 years ago2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 May 2004 10:11:34 +0000 (10:11 -0000)]
2004-05-06  Atsushi Enomoto <atsushi@ximian.com>

* NewMonoXSD.cs : Added new /generator:typename(,assemblyfile) option
  support that enables users to use any CodeDomProvider.
  Added VB support (/language:VB).

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

20 years ago2004-05-06 Patrik Torstensson
Patrik Torstensson [Thu, 6 May 2004 09:33:46 +0000 (09:33 -0000)]
2004-05-06 Patrik Torstensson

* mini-x86.[c|h], inssel-x86.brg, cpu-pentium.md, mini.c: enabled
long reg allocation in any reg (not only eax:edx) and implemented
long shl/shr ops in asm instead of helpers.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 09:07:22 +0000 (09:07 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* processes.c: set the start time for the current process. Fixes bug
#58109.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 06:33:39 +0000 (06:33 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Assembly.cs: ToString () returns the same as GetName ().ToString ().
Fixes bug #58104.

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

20 years ago<pre> 12px
Gonzalo Paniagua Javier [Thu, 6 May 2004 05:40:35 +0000 (05:40 -0000)]
<pre> 12px

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

20 years agoImplement StringToCoTaskMem{Ansi,Uni} (bug 58102).
Mike Shaver [Thu, 6 May 2004 04:03:57 +0000 (04:03 -0000)]
Implement StringToCoTaskMem{Ansi,Uni} (bug 58102).

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

20 years ago2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 02:19:33 +0000 (02:19 -0000)]
2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: scandir check is no longer needed.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 May 2004 02:18:47 +0000 (02:18 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* rand.c|h: Added new icall for (optionally) seeding the PRNG. This
does nothing for now (not required for Linux/Windows) but the class
library can call it (and a newer or modified runtime could need it).
* icall.c: Registred icall.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 02:18:19 +0000 (02:18 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-private.h: 'namelist' is now a gchar ** in _WapiHandlePrivate_find.
* io.c: implemented scandir using glib functions.

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

20 years agoupdate MONO_DEBUG
Gonzalo Paniagua Javier [Thu, 6 May 2004 01:07:16 +0000 (01:07 -0000)]
update MONO_DEBUG

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 00:58:01 +0000 (00:58 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* loader.c: prints a message on module loading error we set MONO_DEBUG
environment variable.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 00:39:36 +0000 (00:39 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs: indent a few lines.
* AspTokenizer.cs: added ungetc() used when we read a '/' in an unquoted
attribute value. This way we can simulate reading 2 characters ahead
(one in ungetc and the other in Peek) and work with values like
text/javascript. Fixes bug #57302.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 00:11:28 +0000 (00:11 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConfigurationSettings.cs: fixed loading of external files. Closes
bug #57244.

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 May 2004 00:10:42 +0000 (00:10 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ConfigXmlDocument.cs: removed method that was supposed to be internal.

* ConfigurationSettings.cs: instead of calling the overload that doesn't
exist in MS, use what we have when loading an external file.

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

20 years agoUpdate CVS
Miguel de Icaza [Wed, 5 May 2004 23:56:10 +0000 (23:56 -0000)]
Update CVS

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

20 years ago2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 5 May 2004 23:18:53 +0000 (23:18 -0000)]
2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs: ignore whitespace after directives. Fixes bug #58057.

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

20 years ago2004-05-05 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 5 May 2004 21:11:47 +0000 (21:11 -0000)]
2004-05-05  Bernie Solomon  <bernard@ugsolutions.com>

* configure.in: set LIBC on HPUX

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

20 years ago2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 May 2004 19:53:23 +0000 (19:53 -0000)]
2004-05-05  Atsushi Enomoto <atsushi@ximian.com>

* ForeignKeyConstraintTest.cs : Made tests pass under MS.NET 1.1.
  Don't catch every kind of exception. That does nothing but keep us
  away from the exact error location.
* DataSetTest.cs : Make sure that we read schema correctly, before
  testing WriteXmlSchema.

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

20 years ago * appdomain.c: Handle PublicKeyToken=null properly.
Jackson Harper [Wed, 5 May 2004 19:34:41 +0000 (19:34 -0000)]
    * appdomain.c: Handle PublicKeyToken=null properly.

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

20 years ago2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 May 2004 19:00:10 +0000 (19:00 -0000)]
2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : Ignore empty content only when output type is diffgram.

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

20 years ago2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 5 May 2004 18:55:26 +0000 (18:55 -0000)]
2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile:
* Npgsql.dll.resources: all the resources command line options are now
in a separate response file.

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

20 years ago2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 5 May 2004 18:51:00 +0000 (18:51 -0000)]
2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Services.dll.sources: removed HttpGetWebServiceHandler and
HttpPostWebServiceHandler.

* System.Web.Services.Protocols/HttpGetWebServiceHandler.cs:
* System.Web.Services.Protocols/HttpPostWebServiceHandler.cs: removed.

* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs: changed
ctor parameters and added EnableSession property.

* System.Web.Services.Protocols/WebServiceHandler.cs: added EnableSession
virtual property.

* System.Web.Services.Protocols/WebServiceHandlerFactory.cs: added a new
handler that implements IRequiresSessionState used for HttpGet and
HttpPost.
(GetHandler): for HttpGet and HttpPost check if the method requires to
have a Session object and use the new SimpleSyncSessionHandler in that
case.

Still missing proper session handler for SOAP requests.

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

20 years ago2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 5 May 2004 18:45:08 +0000 (18:45 -0000)]
2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpSessionState.cs: added Clone (), which makes and exact copy but
with a cloned SessionDictionary. When EnableSessionState is set to
ReadOnly, we can modify the collection, but changes are not propagated.

* ISessionHandler.cs: changed signature of UpdateContext().

* SessionDictionary.cs: added Clone.

* SessionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: don't create a new session if the handler
do not require it. UpdateContext() now returns an HttpSessionState to
the module.

* SessionStateModule.cs: removed IsReadOnly as it is now passed as a
parameter to the session handler. If the session is read-only, clone
it so that it can be changed but changes are not kept.

In short, we don't create session objects when not required and we
honor the ReadOnly sessions.

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

20 years ago * ILParser.jay: Handle endian issues when converting numeric
Jackson Harper [Wed, 5 May 2004 18:34:06 +0000 (18:34 -0000)]
    * ILParser.jay: Handle endian issues when converting numeric
types.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 18:20:02 +0000 (18:20 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

  * Environment.cs: Completed OSVersion property.
  * Version.cs: Added internal CreateFromString() to "try" to build the
  best version number form the specified string.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 18:18:58 +0000 (18:18 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* environment.c|h: Added icall ves_icall_System_Environment_
GetOSVersionString to get the current OS version as a string.
* icall.c: Registred icall.

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

20 years ago2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 May 2004 18:03:58 +0000 (18:03 -0000)]
2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>

* CustomDataClassGenerator.cs : Modified that DataSet contains each
  DataTable field so that each table property can access them directly.
  (plus, modified standalone code driver code: shouldn't affect)

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

20 years ago2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 May 2004 17:48:54 +0000 (17:48 -0000)]
2004-05-05  Atsushi Enomoto <atsushi@ximian.com>

* DataColumnCollectionTest.cs : catch only specific exception. Don't
  rely on localizable error message.
* DataSetTest.cs : Attribute orders should not be significant, so
  just hacked to match current implementation's order.
  Added WriteNestedTableXml().

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 17:40:22 +0000 (17:40 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* HashAlgorithm.cs: Moved XML comments to monodoc. Added globalization
to exceptions.
* KeyedHashAlgorithm.cs: Added globalization to exceptions.
* KeySizes.cs: Moved XML comments to monodoc.
* MaskGenerationMethod.cs: Source clean up.
* MD5.cs: Moved XML comments to monodoc.
* MD5CryptoServiceProvider.cs: Removed CLSCompliance attributes from
private fields. Changed constants from enum to array. Zeroize data on
Dispose.
* PaddingMode.cs: Moved XML comments to monodoc.
* PasswordDeriveBytes.cs: Added globalization to exceptions. Removed
TODO and documented as "not supported" in MonoDoc.
* RandomNumberGenerator.cs: Source clean up.

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

20 years ago * object.c: in mono_object_get_virtual_method(), take into account that
Lluis Sanchez [Wed, 5 May 2004 17:27:48 +0000 (17:27 -0000)]
* object.c: in mono_object_get_virtual_method(), take into account that
non-virtual methods don't have a slot in the vtable. Check needed when
the object is a proxy.

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

20 years ago* BooleanConverter.cs: Improved ConverFrom method.
Lluis Sanchez [Wed, 5 May 2004 17:05:53 +0000 (17:05 -0000)]
* BooleanConverter.cs: Improved ConverFrom method.

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

20 years ago2004-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 May 2004 17:02:52 +0000 (17:02 -0000)]
2004-05-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.h: Fix warnings.

* exceptions-sparc.c (mono_arch_find_jit_info): Pop unused lfm off the
stack.

* mini-exceptions.c (mono_handle_exception): Call the filter in a
separate statement for clarity.

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

20 years ago2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 5 May 2004 15:37:17 +0000 (15:37 -0000)]
2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* AssemblyInfo.cs : Correcting information and version number

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

20 years agoLet GDI+ to calculate the strides
Jordi Mas i Hernandez [Wed, 5 May 2004 15:26:37 +0000 (15:26 -0000)]
Let GDI+ to calculate the strides

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

20 years agoNpgsqlDataReader.RecordsAffected fix
Jaroslaw Kowalski [Wed, 5 May 2004 14:59:16 +0000 (14:59 -0000)]
NpgsqlDataReader.RecordsAffected fix

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 14:14:26 +0000 (14:14 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* DSACryptoServiceProvider.cs: Added globalization to exceptions.
* HMACSHA1.cs: Cleanup.
* SHA1CryptoServiceProvider.cs: Removed unused private methods.
* SHA1Managed.cs: Removed unused private methods.
* SHA384Managed.cs: Don't zeroize buffer on first initialization.
* SHA512Managed.cs: Don't zeroize buffer on first initialization.

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

20 years ago * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Lluis Sanchez [Wed, 5 May 2004 13:32:08 +0000 (13:32 -0000)]
* SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  When reading an object using the typeof(object) map, an emty xsi:type
  means that it has to read the contents into an XmlNode[].
* TypeData.cs: Return the correct full name for inner classes.
* XmlSchemaImporter.cs: Improved detection of types that represent
  "anyType", and must be mapped to XmlElement, XmlNode or Object.
* XmlSerializationReader.cs: In GetXsiType(), find the type attribute using
  the correct namespace.
  In ReadTypedPrimitive(), read the element as XmlNode[] if the type is
  not known.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 13:28:10 +0000 (13:28 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added SHAConstants to the build.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 13:27:12 +0000 (13:27 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* SHA256Managed.cs: Updated to use shared constants.
* SHA384Managed.cs: Updated to use shared constants.
* SHA512Managed.cs: Updated to use shared constants.
* SHAConstants.cs: New. Shared constants for SHA implementations.

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

20 years ago2004-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 May 2004 13:13:54 +0000 (13:13 -0000)]
2004-05-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c: Update status.

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

20 years agoremoved ^Ms
Gonzalo Paniagua Javier [Wed, 5 May 2004 13:12:40 +0000 (13:12 -0000)]
removed ^Ms

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

20 years ago2004-05-05 Jesper Pedersen <jep@itplus.dk>
Sebastien Pouliot [Wed, 5 May 2004 13:11:57 +0000 (13:11 -0000)]
2004-05-05  Jesper Pedersen  <jep@itplus.dk>

* PKCS12.cs: Added support for SafeBag attributes. Added support for
Clone() (ICloneable), Equals and GetHashCode. New methods:
- AddCertificate (X509Certificate cert)
- AddCertificate (X509Certificate cert, IDictionary attributes)
- RemoveCertificate (X509Certificate cert)
- RemoveCertificate (X509Certificate cert, IDictionary attributes)
- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
- AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
- RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
- AddKeyBag (AsymmetricAlgorithm aa)
- AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
- RemoveKeyBag (AsymmetricAlgorithm aa)
- AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs)
- X509Certificate GetCertificate (IDictionary attrs)
- IDictionary GetAttributes (AsymmetricAlgorithm aa)
- IDictionary GetAttributes (X509Certificate cert)

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

20 years ago2004-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 May 2004 13:08:34 +0000 (13:08 -0000)]
2004-05-05  Zoltan Varga  <vargaz@freemail.hu>

* mono-jni.c: Implement some missing JNI functions.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 12:48:11 +0000 (12:48 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added Base64Constants to the build.

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

20 years ago2004-05-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 5 May 2004 12:46:44 +0000 (12:46 -0000)]
2004-05-05  Sebastien Pouliot  <sebastien@ximian.com>

* Base64Constants.cs: New. Convert code into tables for better base64
performance.
* FromBase64Transform.cs: Updated to use the new tables. Source code
cleanup.
* ToBase64Transform.cs: Updated to use the new tables. Added
globalization. Commented finalizer as it isn't required in this case.

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

20 years ago* DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
Boris Kirzner [Wed, 5 May 2004 12:19:07 +0000 (12:19 -0000)]
* DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.

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

20 years agotestcases for bug 57151
Raja R Harinath [Wed, 5 May 2004 11:06:41 +0000 (11:06 -0000)]
testcases for bug 57151

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

20 years ago2004-05-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 May 2004 11:04:42 +0000 (11:04 -0000)]
2004-05-05  Zoltan Varga  <vargaz@freemail.hu>

* MarshalTest.cs: Add test for UnsafeAddrOfPinnedArrayElement.

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