mono.git
20 years agoAdd
Miguel de Icaza [Tue, 11 Nov 2003 15:24:53 +0000 (15:24 -0000)]
Add

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

20 years ago2003-11-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Nov 2003 14:58:38 +0000 (14:58 -0000)]
2003-11-11  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (resolution_scope_from_image): Use the assembly table
from the manifest module, since other modules don't have it.

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

20 years ago2003-11-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 11 Nov 2003 14:56:14 +0000 (14:56 -0000)]
2003-11-11  Zoltan Varga  <vargaz@freemail.hu>

* debug-helpers.c (mono_type_full_name): New helper function.

* image.h (MonoAssembly): Change 'dynamic' to a boolean.

* image.c (mono_image_load_file_for_image): New public function which
is a replacement for the load_file_for_image in class.c.

* assembly.c (mono_assembly_load_module): A wrapper for the function
above which does assembly association and reference loading too.

* class.c (mono_class_from_name): Call mono_assembly_load_module.

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

20 years ago2003-11-11 Wojciech Polak <polak@gnu.org
Miguel de Icaza [Tue, 11 Nov 2003 05:31:52 +0000 (05:31 -0000)]
2003-11-11  Wojciech Polak <polak@gnu.org

* Syscall.cs: Applied patch from Wojciech Polak <polak@gnu.org> to
support IsAtty.

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

20 years ago2003-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 11 Nov 2003 05:10:51 +0000 (05:10 -0000)]
2003-11-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: not all of the attributes for the full assembly name
are required and the order doesn't matter. Fixes bug #50787.

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

20 years agoFix link
Miguel de Icaza [Tue, 11 Nov 2003 05:02:29 +0000 (05:02 -0000)]
Fix link

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

20 years ago2003-11-10 Todd Berman <tberman@gentoo.org>
Todd Berman [Tue, 11 Nov 2003 04:30:31 +0000 (04:30 -0000)]
2003-11-10  Todd Berman  <tberman@gentoo.org>

        * sn.cs: Wow, gonzalo is so super s-m-a-r-t, changing up last fix to
        make it nice and pretty.

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

20 years ago2003-11-10 Todd Berman <tberman@gentoo.org>
Todd Berman [Tue, 11 Nov 2003 04:20:12 +0000 (04:20 -0000)]
2003-11-10  Todd Berman  <tberman@gentoo.org>

        * sn.cs: No more OutOfMemoryExceptions if the GetPublicKey returns
        a new byte[0].

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

20 years ago2003-11-11 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Tue, 11 Nov 2003 01:32:05 +0000 (01:32 -0000)]
2003-11-11  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
    CanRead because the schema can be readed with or without result
    rows.

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

20 years agoDiscoveryDocumentSerializer.cs: The class must be internal.
Lluis Sanchez [Tue, 11 Nov 2003 01:16:50 +0000 (01:16 -0000)]
DiscoveryDocumentSerializer.cs: The class must be internal.

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

20 years ago * ServiceDescription.cs, SoapBinding.cs, SoapHeaderBinding.cs,
Lluis Sanchez [Tue, 11 Nov 2003 01:15:16 +0000 (01:15 -0000)]
* ServiceDescription.cs, SoapBinding.cs, SoapHeaderBinding.cs,
  SoapHeaderFaultBinding.cs: Removed some TODOs and FIXMEs.

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

20 years ago* FormatterServices.cs: Fixed some comments
Lluis Sanchez [Tue, 11 Nov 2003 01:11:38 +0000 (01:11 -0000)]
* FormatterServices.cs: Fixed some comments

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

20 years agoRemotingProxy.cs: Do not dispose proxy identity when it is a local
Lluis Sanchez [Tue, 11 Nov 2003 01:10:06 +0000 (01:10 -0000)]
RemotingProxy.cs: Do not dispose proxy identity when it is a local
  ContextBoundObject proxy.

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

20 years ago * SoapAttribute.cs, SoapFieldAttribute.cs, SoapMethodAttribute.cs,
Lluis Sanchez [Tue, 11 Nov 2003 01:07:02 +0000 (01:07 -0000)]
* SoapAttribute.cs, SoapFieldAttribute.cs, SoapMethodAttribute.cs,
  SoapTypeAttribute.cs: Implemented several simple methods and properties.

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

20 years ago * ConstructionCall.cs, ReturnMessage.cs: minor fixes.
Lluis Sanchez [Tue, 11 Nov 2003 01:04:37 +0000 (01:04 -0000)]
* ConstructionCall.cs, ReturnMessage.cs: minor fixes.

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

20 years ago * CrossAppDomainChannel.cs: Implemented support for async calls.
Lluis Sanchez [Tue, 11 Nov 2003 00:59:49 +0000 (00:59 -0000)]
* CrossAppDomainChannel.cs: Implemented support for async calls.
* ClientChannelSinkStack.cs, ServerDispatchSinkProvider.cs: Removed some TODOs

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

20 years ago * ActivatedClientTypeEntry.cs, ActivatedServiceTypeEntry.cs,
Lluis Sanchez [Tue, 11 Nov 2003 00:46:27 +0000 (00:46 -0000)]
* ActivatedClientTypeEntry.cs, ActivatedServiceTypeEntry.cs,
  IRemotingTypeInfo.cs, RemotingServices.cs, WellKnownServiceTypeEntry.cs:
  Removed some TODOs.

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

20 years agoFixed bug 48728. Form was not calling the Activated method. Added handling of WM_ACTI...
Peter Dennis Bartok [Tue, 11 Nov 2003 00:24:22 +0000 (00:24 -0000)]
Fixed bug 48728. Form was not calling the Activated method. Added handling of WM_ACTIVATE to fix.

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

20 years agoSystem.Runtime.Remoting_test.dll.sources: Added CrossDomainCalls.cs test file.
Lluis Sanchez [Mon, 10 Nov 2003 23:18:08 +0000 (23:18 -0000)]
System.Runtime.Remoting_test.dll.sources: Added CrossDomainCalls.cs test file.

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

20 years ago * BaseCalls.cs: Little fix.
Lluis Sanchez [Mon, 10 Nov 2003 23:17:21 +0000 (23:17 -0000)]
* BaseCalls.cs: Little fix.
* ContextsTest.cs: Unregister dynamic properties even if there is an exception.
* CrossDomainCalls.cs: New test for the cross-app domain channel.

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

20 years ago2003-11-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Mon, 10 Nov 2003 22:36:44 +0000 (22:36 -0000)]
2003-11-10  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.

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

20 years ago2003-11-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Mon, 10 Nov 2003 22:29:30 +0000 (22:29 -0000)]
2003-11-10  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DataColumnMappingCollection.cs: Fix a missing exception when the
    required mapping is not in the collection. MS.NET throws an
    exception there.

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

20 years ago2003-11-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Mon, 10 Nov 2003 22:28:12 +0000 (22:28 -0000)]
2003-11-10  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
    when a mapping is not in the collection.

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

20 years ago * CompilationConfigurationHandler.cs: Append .dll to shortened
Jackson Harper [Mon, 10 Nov 2003 21:06:23 +0000 (21:06 -0000)]
    * CompilationConfigurationHandler.cs: Append .dll to shortened
assembly names.

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

20 years ago2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 10 Nov 2003 20:56:33 +0000 (20:56 -0000)]
2003/11/10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
    * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID

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

20 years ago2003-11-10 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 10 Nov 2003 19:57:59 +0000 (19:57 -0000)]
2003-11-10  Dick Porter  <dick@ximian.com>

* locales.c:
* strenc.c: Use platform-endian UTF16

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

20 years ago2003-11-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 10 Nov 2003 19:40:15 +0000 (19:40 -0000)]
2003-11-10  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c: Emit FILE and EXPORTEDTYPE tables.

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

20 years ago2003-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 10 Nov 2003 18:23:20 +0000 (18:23 -0000)]
2003-11-10  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.ResolveExpressionTypes): Removed.
(TypeManager.InitCoreTypes): Initialize them here, but instead of
calling `ResolveType()' on them, directly assign their `Type'.

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

20 years agoChangeLog entries
César Natarén [Mon, 10 Nov 2003 17:14:51 +0000 (17:14 -0000)]
ChangeLog entries

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

20 years agodon't build Visitor.cs anymore
César Natarén [Mon, 10 Nov 2003 17:10:53 +0000 (17:10 -0000)]
don't build Visitor.cs anymore

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

20 years agodelete the Visitor interface as won't be used.
César Natarén [Mon, 10 Nov 2003 17:09:04 +0000 (17:09 -0000)]
delete the Visitor interface as won't be used.

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

20 years agoUse a prefix, to deambiguate
Miguel de Icaza [Mon, 10 Nov 2003 16:59:55 +0000 (16:59 -0000)]
Use a prefix, to deambiguate

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

20 years ago2003-11-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 10 Nov 2003 16:35:50 +0000 (16:35 -0000)]
2003-11-10  Martin Baulig  <martin@ximian.com>

* metadata.c
(mono_metadata_load_generic_params): Make this actually work.

* reflection.c (mono_reflection_bind_generic_parameters): If our
parent is a generic instance, pass all the `types' to it, no
matter whether it has the same number of type parameters or not.

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

20 years agoUpdated TLS/SSL implementation files with unix-like line endings
Carlos Guzmán Álvarez [Mon, 10 Nov 2003 16:13:41 +0000 (16:13 -0000)]
Updated TLS/SSL implementation files with unix-like line endings

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

20 years ago2003-11-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 10 Nov 2003 11:37:34 +0000 (11:37 -0000)]
2003-11-10  Zoltan Varga  <vargaz@freemail.hu>

* StackTest.cs: Applied patch from Carlos A. Barcenilla to fix minor
bugs (#50755).

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

20 years ago2003-11-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 10 Nov 2003 11:37:16 +0000 (11:37 -0000)]
2003-11-10  Zoltan Varga  <vargaz@freemail.hu>

* Stack.cs: Applied patch from Carlos A. Barcenilla to fix minor
bugs (#50755).

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

20 years ago2003-11-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 10 Nov 2003 11:19:31 +0000 (11:19 -0000)]
2003-11-10  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_load_references): Move the image<->assembly
assignment code to this function so it gets called recursively for all
modules.

* image.c (load_modules): Remove the assembly assignment since it is
now done by mono_assembly_load_references.

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

20 years ago2003-11-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 10 Nov 2003 11:13:14 +0000 (11:13 -0000)]
2003-11-10  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Add 'module' argument.
(mono_module_get_types): New helper function.
(ves_icall_System_Reflection_Module_InternalGetTypes): New icall.

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

20 years ago2003-11-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 10 Nov 2003 11:09:37 +0000 (11:09 -0000)]
2003-11-10  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs (InternalGetType): Add a 'module' argument so this
method can be used from Module as well.

* Module.cs (GetType): Implement.

* Module.cs (GetTypes): Implement.

* Module.cs: Remove some [MonoTODO] attributes from implemented methods.

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

20 years ago2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 10 Nov 2003 03:35:56 +0000 (03:35 -0000)]
2003-11-10  Sebastien Pouliot  <spouliot@videotron.ca>

* Rfc2898DeriveBytesTest.cs: New. Unit tests for Rfc2898DeriveBytes
and test vectors from RFC3211.

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

20 years ago2003-11-10 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 10 Nov 2003 03:32:54 +0000 (03:32 -0000)]
2003-11-10  Sebastien Pouliot  <spouliot@videotron.ca>

* Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
except for the Reset() part - which implies some kind of Resume.

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

20 years ago2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 10 Nov 2003 00:15:45 +0000 (00:15 -0000)]
2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>

* DataBoundControl.cs: Implement
* ListControl.cs: inherit from the above.
* Repeater.cs, BaseDataList.cs: should reset whenever we databind.

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

20 years agoFormalParameterList.cs
César Natarén [Sun, 9 Nov 2003 23:33:58 +0000 (23:33 -0000)]
FormalParameterList.cs

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

20 years ago2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 9 Nov 2003 21:50:27 +0000 (21:50 -0000)]
2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>

* BaseDataList.cs:
* DataGrid.cs:
* DataList.cs:
* Repeater.cs: add v2 databinding stuff
* XmlDataSource.cs: make it load the xml.

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

20 years agov2 stuff
Ben Maurer [Sun, 9 Nov 2003 19:47:04 +0000 (19:47 -0000)]
v2 stuff

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

20 years ago2003-11-09 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 9 Nov 2003 18:51:03 +0000 (18:51 -0000)]
2003-11-09  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DataRow.cs: Use RemoveInternal instead of Remove because the last
    one uses Delete and AcceptChanges.

    * DataRowCollection.cs: When removing, Delete and AcceptChanges
    method from the row are called. Added an internal method that will
    be used by DataRow to "physically" remove the row from the list.

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

20 years ago2003-11-09 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 9 Nov 2003 18:48:26 +0000 (18:48 -0000)]
2003-11-09  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
    CommandBuilder to the local data. Local data should be null if the
    client doesn't set them.

    * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.

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

20 years ago2003-11-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 9 Nov 2003 17:16:22 +0000 (17:16 -0000)]
2003-11-09  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Iterator.cs : Fixed SlashIterator that might return nodes 1)in
  inconsistent order, and 2)may return duplicate result nodes.

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

20 years ago2003-11-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 9 Nov 2003 17:13:44 +0000 (17:13 -0000)]
2003-11-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslAttribute.cs : namespace should be String.Empty if no specification
  exists.
* XslNumber.cs : default format string is "1". See XSLT spec. 7.7.1.

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

20 years ago * DataColumn.cs (AllowDBNull) : Throw an exception.
Eran Domb [Sun, 9 Nov 2003 16:30:03 +0000 (16:30 -0000)]
* DataColumn.cs (AllowDBNull) : Throw an exception.

* DataRow.cs (this[]) : First check if row is deleted.
(ItemArray) : First check if row is deleted.
(SetColumnValue) : Initiate error message when null violation happens. Check for array type when
setting the value of the row.
(EndEdit) : Check that the table's row is not in loading before validating constrains.
(CheckNullConstraints) : new method for validating null constraint violations.

* DataRowCollection.cs (ValidateDataRowInternal) : Adding validation of null constraint violation.

* DataSet.cs (CaseSensitive) : After changing the value - check constrains.
(EnforceConstraints) : When changing the value to true assert all constraints.

* UniqueConstraint.cs (AssertConstraint,CalcHashValue, RowsComparer) : Adding support for case insensitive comparison.

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

20 years ago2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 9 Nov 2003 14:44:31 +0000 (14:44 -0000)]
2003-11-09  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib.dll.sources: Added new 1.2 classes for System.Security.Cryptography.
* corlib_test.dll.sources: Added unit tests for some HMAC (new in 1.2).

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

20 years ago2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 9 Nov 2003 14:39:15 +0000 (14:39 -0000)]
2003-11-09  Sebastien Pouliot  <spouliot@videotron.ca>

* HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
RFC2104.
* HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
* HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.

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

20 years ago2003-11-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 9 Nov 2003 14:35:28 +0000 (14:35 -0000)]
2003-11-09  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
* CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
containers.
* DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
* HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied
from internal Mono.Security.Cryptography.HMACAlgorith.cs.
* HMACMD5.cs: New (1.2). HMAC implementation using MD5.
* HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
* HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
* HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
* HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
* HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
* ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based
asymmetric algorithm.
* KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
* MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
* PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
* ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
* ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
* Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.

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

20 years ago2003-11-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Nov 2003 08:14:30 +0000 (08:14 -0000)]
2003-11-08  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): Added
a private `IntPtr ginst' field.
(MonoGenericInst.IsValueTypeImpl, inflate): Allow interfaces.

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

20 years ago2003-11-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Nov 2003 08:12:22 +0000 (08:12 -0000)]
2003-11-08  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_inflate_generic_method): Interface method
don't have a header.

* reflection.c (mono_image_get_methodspec_token): Take an
additional `MonoGenericInst *' argument instead of reading it from
the header; this is necessary to support interfaces.
(mono_image_create_token): Pass the `MonoGenericInst *' from the
MonoReflectionInflatedMethod to mono_image_get_methodspec_token().
(inflated_method_get_object): Take an additional `MonoGenericInst *'
argument.

* reflection.h (MonoReflectionInflatedMethod): Added
`MonoGenericInst *ginst'.

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

20 years agochangelog entry
César Natarén [Sun, 9 Nov 2003 06:34:44 +0000 (06:34 -0000)]
changelog entry

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

20 years ago2003-11-08 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 9 Nov 2003 06:33:58 +0000 (06:33 -0000)]
2003-11-08 cesar lopez nataren <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: Allow the building of numeric_literal and DECIMAL_LITERAL,
this is temporal in order to get Factorial compiled by mjs (must
build the types according to Ecma-262 spec).

* Literal.cs: Added NumericLiteral class.

2003-11-06 cesar lopez nataren <cesar@ciencias.unam.mx>

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

20 years ago2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 9 Nov 2003 05:54:07 +0000 (05:54 -0000)]
2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>

* XPathBinder.cs: Implemented.

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

20 years ago2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 9 Nov 2003 05:16:51 +0000 (05:16 -0000)]
2003-11-09 Ben Maurer  <bmaurer@users.sourceforge.net>

* profiles/generics.make: add the -2 flag.

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

20 years ago2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 9 Nov 2003 04:56:15 +0000 (04:56 -0000)]
2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* SiteMapNode.cs (GetDataSourceView): Implement.
* SiteMapProvider.cs: Typo fixing.
* XmlSiteMapProvider.cs: We shouldnt resolve here.

2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* DataSourceView.cs:
* IDataSource.cs:
* ListSourceHelper.cs:
* DataSourceControl.cs:
* HierarchicalDataSourceView.cs:
* IHierarchicalDataSource.cs: Move v2 stuff.

2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* SiteMapDataSourceView.cs: Implement.

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

20 years ago2003-11-09 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 9 Nov 2003 01:50:28 +0000 (01:50 -0000)]
2003-11-09  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DataRowCollection.cs: To follow the specification: Remove and
    RemoveAt should remove the row. But needed to call DeletingDataRow
    to prepare the deleting.

    * DataRow.cs: Don't call DeletingDataRow when it is called by the
    method Table.Rows.Remove.

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 9 Nov 2003 01:42:42 +0000 (01:42 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
* RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
RIPEMD160Managed implementation.

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 9 Nov 2003 01:40:42 +0000 (01:40 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from
Pieter Philippaerts (Pieter@mentalis.org)
* RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
algorithm from Pieter Philippaerts (Pieter@mentalis.org)

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 9 Nov 2003 01:38:17 +0000 (01:38 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* Mono.Security.dll.sources: Added new namespace Mono.Security.X509.Stores

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

20 years ago2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 9 Nov 2003 00:48:37 +0000 (00:48 -0000)]
2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* UrlUtils.cs: new function to do the app mapping, but make
it return a physical path.

2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>

* SiteMap.cs (Init): implement a hack that doesnt need the config
stuff. Should do that later.
* SiteMapNodeCollection (OnValidate): Fix recursion.
* SiteMapProvider.cs: We dont implement some culture stuff work
around it. Fix typo.
* XmlSiteMapProvider.cs: Added.

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

20 years ago2003-11-09 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 9 Nov 2003 00:01:08 +0000 (00:01 -0000)]
2003-11-09  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DataRowCollection.cs: Make the row be deleted by itself. If not,
    it fails because we need to call OnRowDeleting and OnRowDeleted. It
    is full implemented inside DataRow.

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Nov 2003 23:59:59 +0000 (23:59 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* ICertificateStore.cs: Interface for certificate stores.
* FileCertificateStore.cs: File-based certificate stores using SPC (PKCS7) files.

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Nov 2003 23:28:48 +0000 (23:28 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* X509ChainElementCollectionTest.cs: New. Unit tests for
X509ChainElementCollection.
* X509ChainElementEnumeratorTest.cs: New. Unit tests for
X509ChainElementEnumerator.
* X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
* X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain.
* X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Nov 2003 23:24:01 +0000 (23:24 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* OpenFlags.cs: New (1.2). Enumeration for certificate stores.
* StoreLocation.cs: New (1.2). Enumeration for certificate stores.
* StoreName.cs: New (1.2). Enumeration for certificate stores.
* X509Chain.cs: New (1.2). Class to build a certificate chain up to a
trusted anchor.
* X509ChainElement.cs: New (1.2). Element from the chain (certificate,
status and information) - only stubbed for now.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
* X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
* X509FindType.cs: New (1.2). Enumeration for how to find X.509
certificates in stores.
* X509IncludeOption.cs: New (1.2). Enumeration for options about which
certificate(s) to store within a (pkcs7) structure.
* X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid
usage for a keypair.
* X509NameType.cs: New (1.2). Enumeration for different types of name
that can be present inside a certificate.
* X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
certificates should be verified for revocation in a chain.
* X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
revocation process should find it's informations.
* X509SelectionFlag.cs: New (1.2). Enumeration about how to select
certificates (ui-related).
* X509Store.cs: New (1.2). X.509 certificate store access - not complete.
* X509VerificationFlags.cs: New (1.2). Enumeration for parameters
affecting the verification of a certificate chain.

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

20 years ago2003-11-09 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 8 Nov 2003 23:23:14 +0000 (23:23 -0000)]
2003-11-09  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: Little fix for build the resources.

    * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
    command.

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Nov 2003 23:14:05 +0000 (23:14 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* ContentInfoTest.cs: New. (Incomplete) Unit tests for ContentInfo.
* Pkcs7SignerTest.cs: New. New. Unit tests for Pkcs7Signer.
* RecipientInfoTest.cs: New. Unit tests for abstract class

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

20 years ago2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Nov 2003 23:12:23 +0000 (23:12 -0000)]
2003-11-08  Sebastien Pouliot  <spouliot@videotron.ca>

* ContentInfo.cs: New. Class to encapsulate PKCS7 ContentInfo. Static
method GetContentType need to be completed (requires some test vectors).
* Pkcs7Signer.cs: New. Class to add attributes (authenticated and/or
authenticated), certificates and other informations to the signature.
* RecipientInfo.cs: New. Abstract class to encpasulate recipient
informations.

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

20 years agoget #if stuff right
Ben Maurer [Sat, 8 Nov 2003 19:35:16 +0000 (19:35 -0000)]
get #if stuff right

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

20 years ago * CompilationConfigurationHandler.cs: Trim extra versioning
Jackson Harper [Sat, 8 Nov 2003 19:02:56 +0000 (19:02 -0000)]
    * CompilationConfigurationHandler.cs: Trim extra versioning
information off of assembly names. This is a workaround that fixes
bug #50355.

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

20 years ago2003-11-08 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 8 Nov 2003 18:20:16 +0000 (18:20 -0000)]
2003-11-08  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
    calls, the problem is fixed.

    * Makefile: Fix one bug in the build of resources.

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

20 years ago2003-11-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 8 Nov 2003 15:14:44 +0000 (15:14 -0000)]
2003-11-08  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType): Override `IsClass' etc.

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

20 years agoMerged from mcs.
Martin Baulig [Sat, 8 Nov 2003 15:04:45 +0000 (15:04 -0000)]
Merged from mcs.

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

20 years ago2003-11-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 8 Nov 2003 14:49:03 +0000 (14:49 -0000)]
2003-11-08  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.GetClassBases): Use TypeExpr's for the
return value and the `out parent' parameter.
(TypeContainer.DefineType): Moved the CS0644 check into
GetClassBases().  Don't pass the interface types to the
`builder.DefineType()'/`builder.DefineNestedType()', but resolve
them later and then call `TypeBuilder.AddInterfaceImplementation()'.

* ecore.cs (TypeExpr.IsAttribute): New property.
(TypeExpr.GetInterfaces): New method.

* interface.cs (Interface.GetInterfaceTypeByName): Return a
TypeExpr instead of a Type.
(Interface.GetInterfaceBases): Return TypeExpr's instead of Type's.
(Interface.DefineType): Don't pass the interface types to the
`builder.Definetype()'/`builder.DefineNestedType()', but resolve
them later and then call `TypeBulider.AddInterfaceImplementation()'.

* typemanager.cs (TypeManager.AddUserType): Take a `TypeExpr[]'
instead of a `Type[]'.
(TypeManager.RegisterBuilder): Likewise.
(TypeManager.AddUserInterface): Likewise.
(TypeManager.ExpandInterfaces): Take a `Type[]' instead of a
`Type[]' and also return a `TypeExpr[]'.
(TypeManager.GetInterfaces): Return a `TypeExpr[]'.

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

20 years ago2003-11-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 8 Nov 2003 14:07:11 +0000 (14:07 -0000)]
2003-11-08  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.ResolveTypeExpr): Return a TypeExpr, not an
Expression.

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

20 years ago2003-11-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 8 Nov 2003 13:39:12 +0000 (13:39 -0000)]
2003-11-08  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.GetTypeResolveEmitContext): Call
TypeManager.ResolveExpressionTypes().

* ecore.cs (Expression.ResolveAsTypeTerminal): Return a TypeExpr
instead of an Expression.
(TypeExpr): This is now an abstract base class for `TypeExpression'.
(TypeExpression): New public class; formerly known as `TypeExpr'.

* expression.cs (ComposedCast): Derive from TypeExpr.

* typemanager.cs (TypeManager.system_*_expr): These are now
TypExpr's instead of Expression's.
(TypeManager.ResolveExpressionTypes): New public static function;
called from DeclSpace.GetTypeResolveEmitContext() to resolve all
of them.

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

20 years agoMerged from mcs.
Martin Baulig [Sat, 8 Nov 2003 13:06:45 +0000 (13:06 -0000)]
Merged from mcs.

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

20 years ago2003-11-08 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 8 Nov 2003 11:19:40 +0000 (11:19 -0000)]
2003-11-08  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.

    * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
    OnRowUpdating is called we create the command necesary for updating,
    inserting or deleting any row of the DataTable/DataSet.

    * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
    work. This must be removed when ResMan works.

    * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
    is more efficient for the deep if structure types.

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

20 years ago * Control.cs (ResolveUrl): Special case for urls that consist of
Jackson Harper [Sat, 8 Nov 2003 07:56:31 +0000 (07:56 -0000)]
    * Control.cs (ResolveUrl): Special case for urls that consist of
only a page anchor. ie <a href="#top">. This fixes bug #50165.

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

20 years ago2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 8 Nov 2003 04:48:47 +0000 (04:48 -0000)]
2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>

* IHierarchicalEnumerable.cs:
* IHierarchyData.cs:
* INavigateUIData.cs: New v2 interfaces.

2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>

* ISiteMapProvider.cs:
* SiteMap.cs:
* SiteMapNode.cs:
* SiteMapNodeCollection.cs:
* SiteMapProvider.cs:
* SiteMapProviderCollection.cs: V2 sitemap related stuff.

2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>

* UrlUtils.cs: add a new function for mapping app absolute
paths to virual paths (ie, ~/blah/ to /application/root/blah/)

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

20 years agoit's the global object not the activation object
César Natarén [Sat, 8 Nov 2003 04:47:56 +0000 (04:47 -0000)]
it's the global object not the activation object

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

20 years agoversion
Gonzalo Paniagua Javier [Sat, 8 Nov 2003 03:23:10 +0000 (03:23 -0000)]
version

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

20 years ago * ImageButton.cs: This is a workaround for bug #49819. It appears
Jackson Harper [Sat, 8 Nov 2003 00:49:53 +0000 (00:49 -0000)]
    * ImageButton.cs: This is a workaround for bug #49819. It appears
that the .x and .y values are not being posted, and only the x
value is being posted with the ctrl's id as the key.

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

20 years agoget this in sync
Ben Maurer [Sat, 8 Nov 2003 00:48:02 +0000 (00:48 -0000)]
get this in sync

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

20 years agoimplement for v2
Ben Maurer [Fri, 7 Nov 2003 22:40:02 +0000 (22:40 -0000)]
implement for v2

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

20 years ago2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 7 Nov 2003 22:13:28 +0000 (22:13 -0000)]
2003-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: don't attempt to read more bytes than specified
content length.

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 22:07:09 +0000 (22:07 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Remove debugging junk accidently checked in.

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

20 years agomore interfaces
Ben Maurer [Fri, 7 Nov 2003 22:05:06 +0000 (22:05 -0000)]
more interfaces

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 21:46:34 +0000 (21:46 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add new --with-nptl option to enable NPTL only
features since auto-detection is not reliable.

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 21:05:40 +0000 (21:05 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* autogen.sh: Fix previous patch and silence noisy GNU which.

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 20:17:12 +0000 (20:17 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_domain_finalize): Fix compilation for no GC case.

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

20 years ago * DataGrid.cs (CreateControlHierarchy): Current page index is
Jackson Harper [Fri, 7 Nov 2003 20:13:15 +0000 (20:13 -0000)]
    * DataGrid.cs (CreateControlHierarchy): Current page index is
alolowed to equal page count. This prevents an exception being
thrown when both are zero.

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

20 years ago2003-11-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 7 Nov 2003 19:58:30 +0000 (19:58 -0000)]
2003-11-07  Bernie Solomon  <bernard@ugsolutions.com>

* autogen.sh: tweak glibtool check so it works
if which doesn't set return code properly

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

20 years ago2003-11-07 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 7 Nov 2003 19:13:39 +0000 (19:13 -0000)]
2003-11-07  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
    change. The Command objects must not be created in the constructor.
    The Commands should be in the overrided method "OnRowUpdating".

    * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
    the proper exception (not MissingManifestResourceException). It is
    thrown in MS.NET and in MONO. (Npgsql compiled with MCS).

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 18:10:11 +0000 (18:10 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* autogen.sh: Applied patch from Peter Teichman (peter@ximian.com).
Use 'glibtool' instead of 'libtool' on OSX.

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

20 years ago2003-11-07 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 12:51:36 +0000 (12:51 -0000)]
2003-11-07  Sebastien Pouliot  <spouliot@videotron.ca>

* AlgorithmIdentifierTest.cs: New. Unit tests for AlgorithmIdentifier.
* CryptographicAttributeTest.cs: New. Unit tests for CryptographicAttribute.
* Pkcs9AttributeTest.cs: New. Unit tests for Pkcs9Attribute (same as for
CryptographicAttribute).
* Pkcs9DocumentDescriptionTest.cs: New. Unit tests for Pkcs9DocumentDescription.
* Pkcs9DocumentNameTest.cs: New. Unit tests for Pkcs9DocumentName.
* Pkcs9SigningTimeTest.cs: New. Unit tests for Pkcs9SigningTime.

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