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
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
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
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
César Natarén [Sun, 9 Nov 2003 06:34:44 +0000 (06:34 -0000)]
changelog entry
svn path=/trunk/mcs/; revision=19758
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Sat, 8 Nov 2003 19:35:16 +0000 (19:35 -0000)]
get #if stuff right
svn path=/trunk/mcs/; revision=19741
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
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
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
Martin Baulig [Sat, 8 Nov 2003 15:04:45 +0000 (15:04 -0000)]
Merged from mcs.
svn path=/trunk/mcs/; revision=19735
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
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
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
Martin Baulig [Sat, 8 Nov 2003 13:06:45 +0000 (13:06 -0000)]
Merged from mcs.
svn path=/trunk/mcs/; revision=19731
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
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
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
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
Gonzalo Paniagua Javier [Sat, 8 Nov 2003 03:23:10 +0000 (03:23 -0000)]
version
svn path=/trunk/mono/; revision=19726
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
Ben Maurer [Sat, 8 Nov 2003 00:48:02 +0000 (00:48 -0000)]
get this in sync
svn path=/trunk/mcs/; revision=19724
Ben Maurer [Fri, 7 Nov 2003 22:40:02 +0000 (22:40 -0000)]
implement for v2
svn path=/trunk/mcs/; revision=19723
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
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
Ben Maurer [Fri, 7 Nov 2003 22:05:06 +0000 (22:05 -0000)]
more interfaces
svn path=/trunk/mcs/; revision=19720
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
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
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
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
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
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
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
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
Sebastien Pouliot [Fri, 7 Nov 2003 12:49:29 +0000 (12:49 -0000)]
2003-11-07 Sebastien Pouliot <spouliot@videotron.ca>
* AlgorithmIdentifier.cs: New. Class to encapsulate PKCS7 AlgorithmIdentifier.
* CryptographicAttribute.cs: Basic class for attributes.
* KeyAgreeKeyChoice.cs: New. Enumeration for key agreement.
* Pkcs9Attribute.cs: New. Base class for Pkcs#9 attributes.
* Pkcs9DocumentDescription.cs: New. Pkcs#9 DocumentDescription attribute.
* Pkcs9DocumentName.cs: New. Pkcs#9 DocumentName attribute.
* Pkcs9SigningTime.cs: New. Pkcs#9 SigningTime attribute.
* RecipientInfoType.cs: New. Enumeration for RecipientInfo.
* RecipientSubType.cs: New. Enumeration for RecipientInfo.
* SubjectIdentifierOrKeyType.cs: New. Enumeration for SubjectIdentifier.
* SubjectIdentifierType.cs: New. Enumeration for SubjectIdentifier.
svn path=/trunk/mcs/; revision=19709
Pedro Martínez Juliá [Fri, 7 Nov 2003 10:26:51 +0000 (10:26 -0000)]
2003-11-07 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
different Insrt / Update / Delete commands.
svn path=/trunk/mcs/; revision=19708
Miguel de Icaza [Fri, 7 Nov 2003 07:01:27 +0000 (07:01 -0000)]
2003-11-06 Miguel de Icaza <miguel@ximian.com>
* expression.cs (New.DoResolve): Do not dereference value that
might be a null return.
* statement.cs (Block.EmitMeta): Use the Const.ChangeType to make
sure that the constant value has the right type. Fixes an
unreported bug, similar to 50425.
* const.cs (Const.LookupConstantValue): Call
ImplicitStandardConversionExists before doing a conversion to
avoid havng the TypeManager.ChangeType do conversions.
Reduced the number of casts used
(Const.ChangeType): New routine to enable reuse of the constant
type changing code from statement.
* typemanager.cs (ChangeType): Move common initialization to
static global variables.
Fixes #50425.
svn path=/trunk/mcs/; revision=19707
Ben Maurer [Fri, 7 Nov 2003 04:46:49 +0000 (04:46 -0000)]
2003-11-06 Ben Maurer <bmaurer@users.sourceforge.net>
* Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
it inherit from the base class. This made b[2] evaluated on
<a /><b /><c /><a /><b /><c /> return the first b node because
in the ChildIterator it was the second node and seemed to satsify
the predicate.
svn path=/trunk/mcs/; revision=19706
Miguel de Icaza [Fri, 7 Nov 2003 04:11:41 +0000 (04:11 -0000)]
Its serializable only in 1.2
svn path=/trunk/mcs/; revision=19705
Miguel de Icaza [Fri, 7 Nov 2003 03:44:42 +0000 (03:44 -0000)]
Add serialization support; We should audit the Exception classes
svn path=/trunk/mcs/; revision=19704
Duncan Mak [Fri, 7 Nov 2003 03:06:50 +0000 (03:06 -0000)]
(DrawEllipse): Fix Width, Height ordering.
svn path=/trunk/mcs/; revision=19703
Sebastien Pouliot [Fri, 7 Nov 2003 02:04:00 +0000 (02:04 -0000)]
2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).
svn path=/trunk/mcs/; revision=19702
Sebastien Pouliot [Fri, 7 Nov 2003 02:03:00 +0000 (02:03 -0000)]
2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).
svn path=/trunk/mcs/; revision=19701
Sebastien Pouliot [Fri, 7 Nov 2003 01:15:15 +0000 (01:15 -0000)]
2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
* BinarySecurityTokenTest.cs: Fixed some tests and added one for RawData.
* DecryptionKeyProviderTest.cs: New. Unit tests for DecryptionKeyProvider.
* SignatureTest.cs: Updated for WSE2 compatibility (SignatureOptions).
svn path=/trunk/mcs/; revision=19700
Sebastien Pouliot [Fri, 7 Nov 2003 01:12:52 +0000 (01:12 -0000)]
2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
* BinarySecurityToken.cs: Oops unit tests were failing on this one. Also implemented RawData (it's actually used - see updated unit tests).
* DecryptionKeyProvider.cs: Basic implementation based on code I (wrongly) put in EncryptedKey.
* EncrypedKey.cs: Now calls DecryptionKeyProvider.
* SignatureOptions.cs: Updated for WSE2 compatibility (removed IncludePath*).
svn path=/trunk/mcs/; revision=19699
Sebastien Pouliot [Fri, 7 Nov 2003 00:40:32 +0000 (00:40 -0000)]
2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: Now supports MZ headers bigger than 128 bytes.
svn path=/trunk/mcs/; revision=19698
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 21:49:29 +0000 (21:49 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* VBCodeGenerator.cs: some corrections regarding missing spaces in
generated code (e. g. "Property "). QuoteSnippetString implemented.
Patch by Jochen Wezel (jwezel@compumaster.de).
svn path=/trunk/mcs/; revision=19697
Zoltan Varga [Thu, 6 Nov 2003 21:02:53 +0000 (21:02 -0000)]
2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
* appdomain.c (mono_domain_unload): Add a workaround for bug #27663.
svn path=/trunk/mono/; revision=19696
Zoltan Varga [Thu, 6 Nov 2003 20:54:00 +0000 (20:54 -0000)]
2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
* mono/benchmark/pinvoke.cs: New benchmark for testing the performance
of the managed/unmanaged boundary.
svn path=/trunk/mono/; revision=19695
Duncan Mak [Thu, 6 Nov 2003 20:46:04 +0000 (20:46 -0000)]
(GdipDrawRectangle): Add call to gdip_pen_setup so
that we stroke with the right color.
svn path=/trunk/mcs/; revision=19694
Zoltan Varga [Thu, 6 Nov 2003 20:44:48 +0000 (20:44 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* mini.h (mono_arch_setup_jit_tls_data): New arch specific function.
* mini.c (setup_jit_tls_data): Call the new function.
* mini-x86.c mini-ppc.c mini-sparc.c: Define the new function.
* mini-x86.c: Add experimental support for fast access to the lmf
structure under NPTL/Linux 2.6.x.
svn path=/trunk/mono/; revision=19693
Duncan Mak [Thu, 6 Nov 2003 20:44:30 +0000 (20:44 -0000)]
(DrawPie): Use DrawPieI instead of DrawPie and fix
angle parameters for the integer case.
(DrawBezier): Hook it up with GdipDrawBezier.
svn path=/trunk/mcs/; revision=19692
Zoltan Varga [Thu, 6 Nov 2003 20:36:01 +0000 (20:36 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* configure.in acconfig.h: Add check for __thread keyword in gcc.
svn path=/trunk/mono/; revision=19691
Jackson Harper [Thu, 6 Nov 2003 19:26:31 +0000 (19:26 -0000)]
* System.web.dll.sources: Add SessionId.cs to build
svn path=/trunk/mcs/; revision=19690
Jackson Harper [Thu, 6 Nov 2003 19:25:32 +0000 (19:25 -0000)]
* ISessionHandler.cs: Pass the SessionStateModule to handlers when
updating.
* SessionSqlServerHandler.cs:
* SessionInProcHandler.cs: Accept SessionStateModule when
updating. Use new SessionId.Create method for creating session
ids.
* SessionStateModule.cs: Add a random number generator that will
be used for creating session ids. Pass this to handlers when
updating.
* SessionId.cs: New class for creating session ids.
svn path=/trunk/mcs/; revision=19689
Jackson Harper [Thu, 6 Nov 2003 17:39:37 +0000 (17:39 -0000)]
* ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
* BaseValidator.cs: Disable base control so the isValid flag is
not reset.
svn path=/trunk/mcs/; revision=19688
César Natarén [Thu, 6 Nov 2003 17:10:42 +0000 (17:10 -0000)]
2003-11-06 cesar lopez nataren <cesar@ciencias.unam.mx>
* FunctionDeclaration.cs: Build a ScriptFunction local variable,
if inside a nested block.
svn path=/trunk/mcs/; revision=19687
Zoltan Varga [Thu, 6 Nov 2003 15:28:22 +0000 (15:28 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* reflection.c
(reflection_methodbuilder_from_method_builder):
(reflection_methodbuilder_from_ctor_builder): New helper functions to
initialize a ReflectionMethodBuilder structure.
(mono_image_get_methodbuilder_token):
(mono_image_get_ctorbuilder_token): New functions to emit memberref
tokens which point to types in another module inside the same assembly.
* reflection.c: Use the new helper functions.
svn path=/trunk/mono/; revision=19686
Zoltan Varga [Thu, 6 Nov 2003 15:11:00 +0000 (15:11 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* ConstructorBuilder.cs (.ctor): Automatically add RTSpecialName flag
as MS does.
svn path=/trunk/mcs/; revision=19685
Martin Baulig [Thu, 6 Nov 2003 13:40:06 +0000 (13:40 -0000)]
2003-11-06 Martin Baulig <martin@ximian.com>
* ldscript: Make `GC_push_all_stack', `GC_start_blocking',
`GC_end_blocking' and 'gc_thread_vtable' public; they're used by
the debugger.
svn path=/trunk/mono/; revision=19683
Martin Baulig [Thu, 6 Nov 2003 13:13:18 +0000 (13:13 -0000)]
2003-11-06 Martin Baulig <martin@ximian.com>
* ModuleBuilder.cs (ModuleBuilder.Save): Call `build_metadata'
before writing the symbol file.
svn path=/trunk/mcs/; revision=19682
Zoltan Varga [Thu, 6 Nov 2003 12:06:58 +0000 (12:06 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_image_basic_init): Initialize basedir and culture.
svn path=/trunk/mono/; revision=19680
Zoltan Varga [Thu, 6 Nov 2003 12:05:37 +0000 (12:05 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (.ctor): Initialize the 'dir' field to something
sensible.
svn path=/trunk/mcs/; revision=19679
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 11:52:53 +0000 (11:52 -0000)]
ay
svn path=/trunk/mcs/; revision=19678
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 11:46:33 +0000 (11:46 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
space in generated javascript.
svn path=/trunk/mcs/; revision=19677
Zoltan Varga [Thu, 6 Nov 2003 11:33:44 +0000 (11:33 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (Save): Set 'created' flag.
svn path=/trunk/mcs/; revision=19676
Zoltan Varga [Thu, 6 Nov 2003 11:06:53 +0000 (11:06 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image
instead of AssemblyBuilder->dynamic_assembly in the appropriate places.
* reflection.c (resolution_scope_from_image): Emit a moduleref if
neccesary.
* reflection.c (mono_image_build_metadata): Emit metadata only for the
current module. Emit the manifest only for the main module.
* reflection.c (mono_image_create_token): Add assertion when a
memberref needs to be created.
* reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.
* reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a
larger buffer for the custom attribute blob. Fixes #50637.
svn path=/trunk/mono/; revision=19675
Carlos Guzmán Álvarez [Thu, 6 Nov 2003 10:48:53 +0000 (10:48 -0000)]
Changed line endings
svn path=/trunk/mcs/; revision=19674
Carlos Guzmán Álvarez [Thu, 6 Nov 2003 09:30:36 +0000 (09:30 -0000)]
2003-11-04 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/CipherSuite.cs:
- Added custom padding for record encryption.
2003-11-03 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
- Removed file.
* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
- New class for handshake hashes calculation on SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Fixed mac keys clearing for SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
- Added changes for make use of new TlsSslHandshakeHash class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
- Added initial implementation for SSL3 protocol.
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
- New class for md5-sha hash calculation.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
- Make use of new MD5SHA1CryptoServiceProvider class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Added initial implementation (not finished).
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Minor change to message processing.
- Changed verify method name to verifySignature.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Changed handshakeHashes member to be an TlsStream.
2003-10-28 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Added changes for make use of X509 classes from mono.
svn path=/trunk/mcs/; revision=19673
Zoltan Varga [Thu, 6 Nov 2003 09:03:12 +0000 (09:03 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (get_next_table_index): Moved to ModuleBuilder,
since table indexes are per-module.
svn path=/trunk/mcs/; revision=19672
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:54:46 +0000 (07:54 -0000)]
Throw a plain Exception here
svn path=/trunk/mcs/; revision=19671
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:51:11 +0000 (07:51 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IPAddress.cs: prevent exceptions when trying to parse the static IPv6
addresses.
svn path=/trunk/mcs/; revision=19670
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:40:27 +0000 (07:40 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ConfigurationSettings.cs: don't handle null or non-existent file in
the catch blocks.
svn path=/trunk/mcs/; revision=19669
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:21:26 +0000 (07:21 -0000)]
Ooops. Forgot to enable globalization section
svn path=/trunk/mono/; revision=19668
Miguel de Icaza [Thu, 6 Nov 2003 06:17:21 +0000 (06:17 -0000)]
2003-11-06 Miguel de Icaza <miguel@ximian.com>
* convert.cs (ImplicitReferenceConversion): Somehow we allowed
every value type to go through, even if it was void. Fix that.
svn path=/trunk/mcs/; revision=19667
Martin Baulig [Thu, 6 Nov 2003 06:08:48 +0000 (06:08 -0000)]
2003-11-06 Martin Baulig <martin@ximian.com>
* ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
Started to implement the System.Collections.Generic classes.
svn path=/trunk/mcs/; revision=19666
Miguel de Icaza [Thu, 6 Nov 2003 05:55:08 +0000 (05:55 -0000)]
2003-11-06 Miguel de Icaza <miguel@ximian.com>
* cs-tokenizer.cs: Use is_identifier_start_character on the start
character of the define, and the is_identifier_part_character for
the rest of the string.
svn path=/trunk/mcs/; revision=19665
Miguel de Icaza [Thu, 6 Nov 2003 02:26:12 +0000 (02:26 -0000)]
Update list
svn path=/trunk/mono/; revision=19663
Miguel de Icaza [Thu, 6 Nov 2003 02:25:06 +0000 (02:25 -0000)]
Update list
svn path=/trunk/mono/; revision=19662
Miguel de Icaza [Thu, 6 Nov 2003 02:13:58 +0000 (02:13 -0000)]
2003-11-05 Miguel de Icaza <miguel@ximian.com>
* expression.cs (UnaryMutator.EmitCode): When I updated
LocalVariableReference.DoResolve, I overdid it, and dropped an
optimization done on local variable references.
svn path=/trunk/mcs/; revision=19661
Miguel de Icaza [Thu, 6 Nov 2003 02:13:41 +0000 (02:13 -0000)]
Update makefile
svn path=/trunk/mcs/; revision=19660
Miguel de Icaza [Thu, 6 Nov 2003 01:01:17 +0000 (01:01 -0000)]
Flush
svn path=/trunk/mono/; revision=19657
Duncan Mak [Thu, 6 Nov 2003 00:14:27 +0000 (00:14 -0000)]
* Graphics.cs (DrawPie):
* gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
in graphics.c.
* graphics.c
(make_pie, make_ellipse, make_polygon): Add static keyword.
* gdip_defs.h: Update headers to include DrawBezier, DrawBeziers,
DrawEllipse, DrawPie, DrawPolygon, DrawRectangle, FillEllipse,
FillPolygon and the RenderingOrigin property.
* Makefile (install-local): Added missing semi-colons.
svn path=/trunk/mcs/; revision=19656
Bernie Solomon [Wed, 5 Nov 2003 23:44:58 +0000 (23:44 -0000)]
2003-11-03 Bernie Solomon <bernard@ugsolutions.com>
* gdip_main.h, gdip_win32.h, gdip_win32.c:
fixes for non-GCC compilers
svn path=/trunk/mcs/; revision=19653
César Natarén [Wed, 5 Nov 2003 18:01:41 +0000 (18:01 -0000)]
updates from grammar
svn path=/trunk/mcs/; revision=19647