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

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

* Makefile (test_flags): Add /unsafe.

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

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

* Marshal.cs: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.

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

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

* marshal.h marshal.c icall.c: Applied patch from vladimir@pobox.com (Vladimir Vukicevic). Implement UnsafeAddrOfPinnedArrayElement.

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

20 years agotest for bug #57151
Raja R Harinath [Wed, 5 May 2004 11:01:22 +0000 (11:01 -0000)]
test for bug #57151

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

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

* configure.in: Detect JNI headers in GNU classpath sources as well.

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

20 years agorevert log for uncommitted part.
Raja R Harinath [Wed, 5 May 2004 10:11:18 +0000 (10:11 -0000)]
revert log for uncommitted part.

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

20 years ago(install-data-local, uninstall-local):
Raja R Harinath [Wed, 5 May 2004 10:10:28 +0000 (10:10 -0000)]
(install-data-local, uninstall-local):
Only disable this if INSTALL_2_0 is disabled.

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

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

* object.c (mono_class_compute_gc_descriptor): Fix warning.

* object.c (mono_runtime_invoke_array): Add an assert so null cannot be
passed when a valuetype is expected.

* object.c (mono_unhandled_exception): Only set the exit code if the
exception happens in the main thread. Fixes thread5.exe.

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

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

* appdomain.c (get_info_from_assembly_name): Fix infinite loop on
invalid names. Fixes #58047.

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

20 years ago* expression.cs (MemberAccess.ResolveMemberAccess):
Raja R Harinath [Wed, 5 May 2004 08:49:33 +0000 (08:49 -0000)]
* expression.cs (MemberAccess.ResolveMemberAccess):
Exit with non-zero status after Report.Error.
* rootcontext.cs (RootContext.BootstrapCorlib_ResolveDelegate):
Likewise.
* typemanager.cs (TypeManager.CoreLookupType): Likewise.

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

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

* BuiltInDatatype.cs : trivia fix

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

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

* BuiltInDatatype.cs : added BUGGY_MS_COMPLIANT condition and that
  handles ms-compatible properties.
* XmlSchemaComplexType.cs : ditto for ContentTypeParticle of xs:anyType.
  Make sure ContentType for xs:anyType is Mixed.
* XmlSchemaUtil.cs : ditto for <xs:attribute use="prohibited" ..>

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

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

* XmlSerializationWriter.cs : It do not have to handle schema
  namespace as special one.

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

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

* XmlSchema.cs : Write() handles schema namespace for xmlserializer
  (it does not look to be handled inside xmlserializer).

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

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

* XmlSchemaTests.cs : Added TestWriteNamespaces().

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

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

* XmlDsigBase64Transform.cs : LoadInputAsXmlNodeList() is testable.
* XmlDsigC14NTransformTest.cs : Ignore LoadInputAsXmlNodeList(); that
  test premises incorrect namespace handling.
* XmlDsigXPathTransformTest.cs : Removed some FIXMEs (counting node
  will give more expected results),
  plus some noise on FunctionHereObsolete().

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

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

* SignedXml.cs,
  Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
* XmlDsigBase64Transform.cs : Should not output the content of the
  selected element nodes. Put text content only those text nodes are
  in the node list.
* XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
* XmlDsigXsltTransform.cs : Use XmlResolver to load document and
  to transform. Throw null reference exception explicitly when
  the input was not loaded.

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

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

* XmlSchemaDataImporter.cs :
  SimpleContent column support.
  Annotated relation support.
  Top-level element is counted only when its type is complex.
  xs:anyType is no longer treated as complex type.
  dataset existence is mandatory now.
  Improved DataType and DefaultValue support.
  Attribute namespace is properly handled now.
  Prohibited attribute is now treated as hidden column.
  Reject list or union simple type.

  Still incomplete 1) to read relationship in some cases, 2) to
  determine whether an element is dataset or table, 3) thus to
  exclude extraneous column, 4) to remove extraneous *_Id column.

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

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

* DataTable.cs :
  We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
  serialization .ctor() (thus schema read/inference should be easier).
  DataRowSorter should consider Table's Locale.

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

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

* DataColumnCollection.cs : We already had AutoIncrementValue(), so
  use it instead of duplicating logic.

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

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

* ConstraintCollection.cs :
  Use Table.CaseSensitive and Table.Locale to compare strings.
  Duplicate constraint name exception does not occur under .NET 1.1.

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

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

* ConstraintCollectionTest.cs : uncommented some tests that should be
  implemented until mono 1.0.
* ConstraintTest.cs : use ExpectedException. Don't expect localizable
  error message.
* DataColumnTest.cs,
  DataRelationTest.cs,
  DataRowCollectionTest.cs : catch only specific type exception.
  Don't rely on (test) localizable messages.
* DataSetAssertion.cs : We shouldn't expect exact column ordinals
  when infering/reading the structures from documents/schemas.

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

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

* ArithmeticExpressions.cs: avoid null exception on add operation.

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

20 years agoshhhhh
Ben Maurer [Wed, 5 May 2004 02:35:09 +0000 (02:35 -0000)]
shhhhh

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

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

* monop.cs: use assembly.LoadWithPartialName.

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

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

* System.Web.Services/WebService.cs: added a HttpSessionState field
and a setter method. Session now returns null if EnableSession is not
set for the method invoked.

* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs:
* System.Web.Services.Protocols/HttpSoapWebServiceHandler.cs:  use
the session if the method has EnableSession set.

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

* System.Web.Services.Protocols/WebServiceHandler.cs: set the Session
object of the WebService.

Fixes bug #57905 (needs the latest DefaultWsdlHelpGenerator.aspx).

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

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

* data/DefaultWsdlHelpGenerator.aspx: add any cookie in the request to
the request we do for the actual web service.

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

20 years ago* support.cs: Don't hang when the file is empty.
Lluis Sanchez [Tue, 4 May 2004 23:59:21 +0000 (23:59 -0000)]
* support.cs: Don't hang when the file is empty.

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

20 years agorawformat should be handled by GDI+
Jordi Mas i Hernandez [Tue, 4 May 2004 22:39:44 +0000 (22:39 -0000)]
rawformat should be handled by GDI+

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

20 years ago* BitmapData.cs: re-synchronized with libgdiplus; also
Vladimir Vukicevic [Tue, 4 May 2004 22:19:34 +0000 (22:19 -0000)]
* BitmapData.cs: re-synchronized with libgdiplus; also
removed memory deallocs here (as the data is always owned
by libgdiplus)

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

20 years agoAdd inssel.h to the sources.
Paolo Molaro [Tue, 4 May 2004 21:23:28 +0000 (21:23 -0000)]
Add inssel.h to the sources.

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

20 years agoFix Miguel's last minute breakage.
Paolo Molaro [Tue, 4 May 2004 20:38:32 +0000 (20:38 -0000)]
Fix Miguel's last minute breakage.

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

20 years agoRemove gtk#
Miguel de Icaza [Tue, 4 May 2004 19:43:18 +0000 (19:43 -0000)]
Remove gtk#

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

20 years agoMap our internal codes to the C# codes
Miguel de Icaza [Tue, 4 May 2004 19:23:48 +0000 (19:23 -0000)]
Map our internal codes to the C# codes

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

20 years agoFor the Beta1, we will fix later
Miguel de Icaza [Tue, 4 May 2004 19:20:51 +0000 (19:20 -0000)]
For the Beta1, we will fix later

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

20 years ago2004-05-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 May 2004 19:12:57 +0000 (19:12 -0000)]
2004-05-04  Atsushi Enomoto  <atsushi@ximian.com>

* net_1_1/Makefile.am,
  net_2_0/Makefile.am : replace gacutil -i with gacutil /i.

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