Sebastien Pouliot [Mon, 9 Feb 2004 14:20:15 +0000 (14:20 -0000)]
2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
* DSACryptoServiceProvider.cs: Added new unit tests for key pair
persistence.
* RSACryptoServiceProvider.cs: Added new unit tests for key pair
persistence.
svn path=/trunk/mcs/; revision=22898
Gonzalo Paniagua Javier [Mon, 9 Feb 2004 10:36:07 +0000 (10:36 -0000)]
stylized
svn path=/trunk/mcs/; revision=22897
Marek Safar [Mon, 9 Feb 2004 08:38:27 +0000 (08:38 -0000)]
2004-02-09 Marek Safar <marek.safar@seznam.cz>
* decl.cs (GetSignatureForError): New virtual method to get full name
for error messages.
* attribute.cs (IAttributeSupport): New interface for attribute setting.
Now it is possible to rewrite ApplyAttributes method to be less if/else.
* interface.cs : All InterfaceXXX classes are now derived from MemberCore.
Duplicated members and code in these classes has been removed.
Better encapsulation in these classes.
svn path=/trunk/mcs/; revision=22896
Bernie Solomon [Mon, 9 Feb 2004 04:58:36 +0000 (04:58 -0000)]
2004-02-08 Bernie Solomon <bernard@ugsolutions.com>
* class.h (mono_class_has_parent): add parens to expansion
so you can ! this.
svn path=/trunk/mono/; revision=22895
Jackson Harper [Sun, 8 Feb 2004 21:27:42 +0000 (21:27 -0000)]
flush
svn path=/trunk/mcs/; revision=22894
Jackson Harper [Sun, 8 Feb 2004 21:19:45 +0000 (21:19 -0000)]
* Uri.cs: IsLoopback has different behavoir then
IPAddress::IsLoopback. It will only return true for ipv4 addresses
if they are 127.0.0.1, localhost, or loopback.
svn path=/trunk/mcs/; revision=22893
Martin Baulig [Sun, 8 Feb 2004 21:07:53 +0000 (21:07 -0000)]
2004-02-08 Martin Baulig <martin@ximian.com>
* image.h (MonoImage): Removed `generics_cache'.
* class.c (mono_class_from_generic): Take a `MonoGenericInst *'
instead of a `MonoType *' argument; removed the `inflate_methods'
argument. Don't inflate methods here.
* loader.c (find_method): If it's a generic instance, call
mono_class_init() on the `sclass->generic_inst->generic_type'.
* metadata.c (mono_type_size): Make this work on uninitialized
generic instances; call it on the `ginst->generic_type's class.
* reflection.c (mono_reflection_bind_generic_parameters): Call
mono_class_from_generic() to create the `ginst->klass'.
svn path=/trunk/mono/; revision=22892
Atsushi Eno [Sun, 8 Feb 2004 20:27:04 +0000 (20:27 -0000)]
2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs : Limit external entity reference from DTD by 256.
foreach elimination. DTDParameterEntityDeclaration should set Root.
Compute attribute default value without raising an error.
(for non-error reporting reader)
* DTDReader.cs : Fixes for the above fixes. foreach elimination.
* DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
XmlText.cs : foreach elimination.
* XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
foreach elimination. Removed unnecesary methods.
* XmlTextReader.cs : code format refactory. Optimized some methods.
foreach elimination. Replaced Stack with string array.
Replaced StringBuilder with char array. Removed unnecessary methods.
svn path=/trunk/mcs/; revision=22891
Atsushi Eno [Sun, 8 Feb 2004 20:24:39 +0000 (20:24 -0000)]
2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
* GenericOutputter.cs,
XslAttributeSet.cs,
XslStylesheet.cs,
XslTemplate.cs : tiny foreach elimination.
svn path=/trunk/mcs/; revision=22890
Atsushi Eno [Sun, 8 Feb 2004 20:23:41 +0000 (20:23 -0000)]
2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
* DefaultContext.cs, Expression.cs, Iterator.cs :
tiny foreach elimination.
svn path=/trunk/mcs/; revision=22889
Atsushi Eno [Sun, 8 Feb 2004 20:23:08 +0000 (20:23 -0000)]
2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdIdentityState.cs,
XsdKeyTable.cs,
XsdParticleValidationState.cs,
XsdValidatingReader.cs,
XsdWildcard.cs : foreach elimination.
svn path=/trunk/mcs/; revision=22888
Ben Maurer [Sun, 8 Feb 2004 18:55:03 +0000 (18:55 -0000)]
build fix
svn path=/trunk/mcs/; revision=22885
Martin Baulig [Sun, 8 Feb 2004 17:59:19 +0000 (17:59 -0000)]
2004-02-08 Martin Baulig <martin@ximian.com>
* class.h (MonoClass): Changed type of `generic_inst' from
`MonoType *' to `MonoGenericInst *'.
svn path=/trunk/mono/; revision=22883
David Sheldon [Sun, 8 Feb 2004 16:11:27 +0000 (16:11 -0000)]
2004-02-08 David Sheldon <dave-mono@earth.li>
* NumberFormatInfo.cs: When parsing the percentages, put the data
into PercentDecimalDigits/PercentGroupLengths, rather than trashing
the NumberDecimatDigits etc. This also means that the percent format
info gets set.
svn path=/trunk/mcs/; revision=22882
Sebastien Pouliot [Sun, 8 Feb 2004 15:53:33 +0000 (15:53 -0000)]
2004-02-08 Sebastien Pouliot <sebastien@ximian.com>
* HashAlgorithm.cs: Changed the ComputeHash(Stream) method to (a) not
allocate the whole stream memory (big memory saver as suggested by
Peter Williams in bugzilla entry #54022) and (b) to never use Stream.
Length and Stream.Position because they aren't implemented for every
stream class (similar issue to the CryptoStream patch).
* MD5CryptoServiceProvider.cs: Moved a buffer allocation from
ProcessBlock to constructor to reduce memory allocation. Optimization
suggested by Peter Williams in bugzilla entry #54024.
svn path=/trunk/mcs/; revision=22881
Martin Baulig [Sun, 8 Feb 2004 15:30:27 +0000 (15:30 -0000)]
2004-02-08 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericInst.inflate): Pass recursive
invocations the `reflected' type as `reflected', not `this'.
(MonoInflatedMethod, MonoInflatedCtor): Reflect latest runtime changes.
svn path=/trunk/mcs/; revision=22879
Martin Baulig [Sun, 8 Feb 2004 15:25:47 +0000 (15:25 -0000)]
2004-02-08 Martin Baulig <martin@ximian.com>
* icall.c (ves_icall_Type_BindGenericParameters): Just call
mono_type_get_object(), this is now creating a `MonoGenericInst'
for MONO_TYPE_GENERICINST.
(ves_icall_MonoGenericInst_GetParentType): Likewise.
(ves_icall_MonoGenericInst_GetInterfaces): Likewise.
* reflection.c (mono_type_get_object): Return a `MonoGenericInst'
instead instead of a `MonoType' for MONO_TYPE_GENERICINST.
(inflated_method_get_object): Added `MonoClass *refclass' argument.
(mono_reflection_inflate_method_or_ctor): Correctly set declaring
and reflected type.
* reflection.h (MonoReflectionInflatedMethod): Removed
`declaring_type' and `reflected_type'.
svn path=/trunk/mono/; revision=22877
Eran Domb [Sun, 8 Feb 2004 15:06:45 +0000 (15:06 -0000)]
XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
svn path=/trunk/mcs/; revision=22876
Eran Domb [Sun, 8 Feb 2004 10:11:31 +0000 (10:11 -0000)]
Fix some bugs in recognizing the kind of xml we are parsing.
svn path=/trunk/mcs/; revision=22875
Andreas N [Sun, 8 Feb 2004 07:59:06 +0000 (07:59 -0000)]
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Margins.cs: Restyled, implemented missing members
* PageSettings.cs: Added missing attributes, stubbed,
fixed a few small issues
* PreviewPrintController.cs: Stubbed, small issues fixed
* PrintController.cs: Marked unfinished, restyled
* PrintDocument.cs: Added attributes
* PrinterResolution.cs: Added missing method
* PrinterSettings.cs: Mono-stylyzed, fixed signatures,
removed commented out values
* PrinterUnitConvert.cs: Added private constructor
* StandardPrintController.cs: Little restyling
* PaperKind.cs: Added missing enum values
svn path=/trunk/mcs/; revision=22874
Duncan Mak [Sun, 8 Feb 2004 07:18:40 +0000 (07:18 -0000)]
(ToType): Always let a Convert.ChangeType call
succeed if the source object is already of the destination type.
svn path=/trunk/mcs/; revision=22873
Martin Baulig [Sun, 8 Feb 2004 00:29:08 +0000 (00:29 -0000)]
2004-02-08 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericInst.GetParentType): New interncall.
(MonoGenericInst.GetInterfaces_internal): New interncall.
(MonoGenericInst): Reflect latest API changes; use GetParentType()
and GetInterfaces_internal() instead of the fields.
svn path=/trunk/mcs/; revision=22869
Martin Baulig [Sun, 8 Feb 2004 00:20:39 +0000 (00:20 -0000)]
2004-02-08 Martin Baulig <martin@ximian.com>
* class.h (MonoGenericInst): Added `MonoType *parent' and
`MonoType **ifaces'.
* reflection.h (MonoReflectionGenericInst): Removed `klass',
`parent' and `interfaces'.
* reflection.c (mono_reflection_bind_generic_parameters): Take a
`MonoType *' argument and return a `MonoType *'.
* icall.c
(ves_icall_MonoGenericInst_GetParentType): New interncall.
(ves_icall_MonoGenericInst_GetInterfaces): Likewise.
svn path=/trunk/mono/; revision=22868
Andreas N [Sat, 7 Feb 2004 19:27:12 +0000 (19:27 -0000)]
removed
svn path=/trunk/mcs/; revision=22862
Andreas N [Sat, 7 Feb 2004 19:21:51 +0000 (19:21 -0000)]
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* GraphicsPathIterator.cs: Fixed signature, added TODOs
* Matrix.cs: Removed additional method
svn path=/trunk/mcs/; revision=22861
Andreas N [Sat, 7 Feb 2004 19:20:46 +0000 (19:20 -0000)]
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* System.Drawing.dll.sources:
SRDescriptionAttribute.cs, Locale.cs added
svn path=/trunk/mcs/; revision=22860
Andreas N [Sat, 7 Feb 2004 19:19:52 +0000 (19:19 -0000)]
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SRDescriptionAttribute.cs: Added and implemented
* ToolboxBitmapAttribute.cs: Implemented a few members
* SystemIcons.cs: Stubbed
* StringFormat.cs: Implemented method
* Region.cs: Added Todo, fixed attribute
* Size.cs: Added attribute
* SizeF.cs: Added attribute
* RectangleF.cs: Added attributes
* Rectangle.cs: Added attributes
* PointF.cs: Added attribute
* Point.cs: Added attribute
svn path=/trunk/mcs/; revision=22859
Andreas N [Sat, 7 Feb 2004 19:19:05 +0000 (19:19 -0000)]
2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Locale.cs: Added
svn path=/trunk/mcs/; revision=22858
Miguel de Icaza [Sat, 7 Feb 2004 16:19:47 +0000 (16:19 -0000)]
Flush
svn path=/trunk/mono/; revision=22857
Miguel de Icaza [Sat, 7 Feb 2004 16:15:42 +0000 (16:15 -0000)]
2004-02-07 Miguel de Icaza <miguel@ximian.com>
* skeleton.cs: Report the token that we errored on; Helps
find parser errors.
svn path=/trunk/mcs/; revision=22856
Miguel de Icaza [Sat, 7 Feb 2004 05:56:27 +0000 (05:56 -0000)]
Improve test to include a case for #53696
svn path=/trunk/mcs/; revision=22855
Miguel de Icaza [Sat, 7 Feb 2004 05:54:15 +0000 (05:54 -0000)]
2004-02-07 Miguel de Icaza <miguel@ximian.com>
* assign.cs (Assign.DoResolve): When dealing with compound
assignments, there is a new rule in ECMA C# 2.4 (might have been
there before, but it is documented here) that states that in:
a op= b;
If b is of type int, and the `op' is a shift-operator, then the
above is evaluated as:
a = (int) a op b
svn path=/trunk/mcs/; revision=22854
Miguel de Icaza [Sat, 7 Feb 2004 05:37:17 +0000 (05:37 -0000)]
2004-02-07 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Binary.ResolveOperator): Instead of testing for
int/uint/long/ulong, try to implicitly convert to any of those
types and use that in pointer arithmetic.
svn path=/trunk/mcs/; revision=22853
Miguel de Icaza [Sat, 7 Feb 2004 05:35:42 +0000 (05:35 -0000)]
Improve
svn path=/trunk/mcs/; revision=22852
Miguel de Icaza [Sat, 7 Feb 2004 05:23:38 +0000 (05:23 -0000)]
2004-02-07 Miguel de Icaza <miguel@ximian.com>
* delegate.cs (Error_NoMatchingMethodForDelegate): Compute the
method to print information for from the type, not from the
null-method we were given.
svn path=/trunk/mcs/; revision=22851
Tim Coleman [Sat, 7 Feb 2004 05:03:34 +0000 (05:03 -0000)]
2004-02-07 Tim Coleman <tim@timcoleman.com>
* System.Security.dll.sources: Add new
System.Security.Cryptography.Xml classes.
svn path=/trunk/mcs/; revision=22850
Tim Coleman [Sat, 7 Feb 2004 05:02:23 +0000 (05:02 -0000)]
2004-02-07 Tim Coleman <tim@timcoleman.com>
* CipherData.cs CipherReference.cs EncryptedData.cs
* EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
* EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
New classes added for Xml Encryption in 1.2
* KeyInfoRetrievalMethod.cs:
Added Type attribute for 1.2
* XmlSignature.cs:
Added string constants for algorithm namespaces
svn path=/trunk/mcs/; revision=22849
Miguel de Icaza [Sat, 7 Feb 2004 04:55:39 +0000 (04:55 -0000)]
up
svn path=/trunk/mono/; revision=22848
Jackson Harper [Fri, 6 Feb 2004 21:28:28 +0000 (21:28 -0000)]
* Uri.cs: Do not escape querys or fragements. Only reduce certain
schemes.
svn path=/trunk/mcs/; revision=22846
Zoltan Varga [Fri, 6 Feb 2004 21:17:09 +0000 (21:17 -0000)]
2004-02-06 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_native_wrapper): Add support for custom
valuetype marshalling.
svn path=/trunk/mono/; revision=22845
Sebastien Pouliot [Fri, 6 Feb 2004 20:25:00 +0000 (20:25 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* DSACryptoServiceProvider.cs: Added keypair persistence support.
Corrected dispose so object cannot be disposed multiple time. Added
PublicOnly property (as internal before 1.2, public after).
* RSACryptoServiceProvider.cs: Added keypair persistence support.
Corrected dispose so object cannot be disposed multiple time. Added
PublicOnly property (as internal before 1.2, public after).
svn path=/trunk/mcs/; revision=22844
Sebastien Pouliot [Fri, 6 Feb 2004 20:20:19 +0000 (20:20 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* DSAManaged.cs: Added an event after key generation (so that
DSACryptoServiceProvider can persist the keypair if required). Added
PublicOnly property (like 1.2) so we do not have to catch an exception
to know if a private key is present or not. Added a Random property so
we do not always have to create a RNG instance (not always required).
* RSAManaged.cs: Added an event after key generation (so that
DSACryptoServiceProvider can persist the keypair if required). Added
PublicOnly property (like 1.2) so we do not have to catch an exception
to know if a private key is present or not.
svn path=/trunk/mcs/; revision=22843
Jackson Harper [Fri, 6 Feb 2004 16:43:59 +0000 (16:43 -0000)]
* Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
method is taken from System.Web.Utils.UrlUtils.
* UriBuilder.cs: Do not escape fragments or queries, but do a utf8
switch on them. Do not prepend a "/" to Paths. Do not use
IPEndPoint to determine if a port is valid, UriBuilder allows
ports to be any positive integer, IPEndPoint does not. Use the
ToString () method for generate a uri in get_Uri. Only set the
port in ToString () if it is greater then 0.
svn path=/trunk/mcs/; revision=22840
Sebastien Pouliot [Fri, 6 Feb 2004 16:27:03 +0000 (16:27 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security.dll.sources: Added CryptoTools and SymmetricTransform
in Mono.Security.Cryptography.
svn path=/trunk/mcs/; revision=22839
Sebastien Pouliot [Fri, 6 Feb 2004 16:24:04 +0000 (16:24 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* CryptoTools.cs: New. Copied from corlib to offer the sames services
to symmetric algorithms in Mono.Security assembly.
* SymmetricTransform.cs: New. Copied from corlib to offer the sames
services to symmetric algorithms in Mono.Security assembly.
svn path=/trunk/mcs/; revision=22838
Sebastien Pouliot [Fri, 6 Feb 2004 15:47:30 +0000 (15:47 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security.dll.sources: Added missing LF at end of file
svn path=/trunk/mcs/; revision=22837
Sebastien Pouliot [Fri, 6 Feb 2004 15:37:40 +0000 (15:37 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Moved SymmetricTransform class from System.
Security.Cryptography (SymmetricAlgorithm) to Mono.Security.
Cryptography.
svn path=/trunk/mcs/; revision=22836
Sebastien Pouliot [Fri, 6 Feb 2004 15:36:44 +0000 (15:36 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricAlgorithm.cs: Removed class SymmetricTransform from file
and moved it to Mono.Security.Cryptography namespace. The transform
class will also be included in Mono.Security assembly.
svn path=/trunk/mcs/; revision=22835
Sebastien Pouliot [Fri, 6 Feb 2004 15:34:02 +0000 (15:34 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: This class was split from S.S.C.
SymmetricAlgorithm.cs so it could be reused in Mono.Security
assembly for other symmetric algorithms transforms.
svn path=/trunk/mcs/; revision=22834
David Sheldon [Fri, 6 Feb 2004 15:02:17 +0000 (15:02 -0000)]
2004-02-06 David Sheldon <dave-mono@earth.li>
* FromBase64Transform.cs: Improved code layout to match coding style,
and removed the Byte comparison with -1.
svn path=/trunk/mcs/; revision=22833
Sebastien Pouliot [Fri, 6 Feb 2004 13:52:28 +0000 (13:52 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security.dll.sources: Added KeyPairPersistence and it's
dependencies in Mono.Xml (MiniParser and SecurityParser).
* Mono.Security_test.dll.sources: Added unit tests for
KeyPairPersistence.
svn path=/trunk/mcs/; revision=22831
Sebastien Pouliot [Fri, 6 Feb 2004 13:51:26 +0000 (13:51 -0000)]
2004-02-07 Sebastien Pouliot <sebastien@ximian.com>
* KeyPairPersistenceTest.cs: New. Unit tests for key pair persistence.
svn path=/trunk/mcs/; revision=22830
Sebastien Pouliot [Fri, 6 Feb 2004 13:49:53 +0000 (13:49 -0000)]
2004-02-07 Sebastien Pouliot <sebastien@ximian.com>
* KeyPairPersistance.cs: Provides a similar to CryptoAPI persistence
mechanism for keypairs (based on CspParameters).
svn path=/trunk/mcs/; revision=22829
Sebastien Pouliot [Fri, 6 Feb 2004 13:47:51 +0000 (13:47 -0000)]
2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
* MiniParser.cs: New. Copy from corlib internal class. Required for
SecurityParser.
* SecurityParser.cs: New. Copy from corlib internal class. Required
for KeyPairPersistence.
svn path=/trunk/mcs/; revision=22828
Martin Baulig [Fri, 6 Feb 2004 13:16:46 +0000 (13:16 -0000)]
2004-02-06 Martin Baulig <martin@ximian.com>
* class.c
(mono_class_from_generic_parameter): Added TYPE_ATTRIBUTE_PUBLIC.
(my_mono_class_from_generic_parameter): Likewise.
svn path=/trunk/mono/; revision=22827
Martin Baulig [Fri, 6 Feb 2004 13:09:10 +0000 (13:09 -0000)]
2004-02-06 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override this.
svn path=/trunk/mcs/; revision=22826
Zoltan Varga [Fri, 6 Feb 2004 11:08:14 +0000 (11:08 -0000)]
2004-02-06 Zoltan Varga <vargaz@freemail.hu>
* Thread.cs: Store the thread name in unmanaged memory, since the
thread object is shared between appdomains.
svn path=/trunk/mcs/; revision=22825
Zoltan Varga [Fri, 6 Feb 2004 11:04:45 +0000 (11:04 -0000)]
2004-02-06 Zoltan Varga <vargaz@freemail.hu>
* debug-mono-symfile.c debug-mono-symfile.h mono-debug.c: Read the
contents of the symbol files lazily.
svn path=/trunk/mono/; revision=22824
Sanja Gupta [Fri, 6 Feb 2004 11:02:35 +0000 (11:02 -0000)]
changelog: Updated changelog
FontCollection.cs: Used CheckStatus() method
InstalledFontCollection.cs: Used CheckStatus() method
PrivateFontCollection.cs: Used CheckStatus() method
svn path=/trunk/mcs/; revision=22823
Zoltan Varga [Fri, 6 Feb 2004 11:01:32 +0000 (11:01 -0000)]
2004-02-06 Zoltan Varga <vargaz@freemail.hu>
* object.h (MonoThread): Add 'name' and 'name_len' fields.
* threads.h threads.c icall.c: New icalls for getting and setting the
threads name.
svn path=/trunk/mono/; revision=22822
Ravindra [Fri, 6 Feb 2004 07:19:00 +0000 (07:19 -0000)]
Modifications related to GetException method.
svn path=/trunk/mcs/; revision=22821
Ravindra [Fri, 6 Feb 2004 07:12:26 +0000 (07:12 -0000)]
Incorporated Duncan's comments. Modifications related to GetException method.
svn path=/trunk/mcs/; revision=22820
Jackson Harper [Fri, 6 Feb 2004 00:16:44 +0000 (00:16 -0000)]
* UriBuilder.cs: Do not call Uri::ToString for uri builders
ToString. UriBuilder's ToString is a little more primitive.
svn path=/trunk/mcs/; revision=22819
Sebastien Pouliot [Thu, 5 Feb 2004 23:56:56 +0000 (23:56 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Added AppDomain unit tests in System.
Some tests are currently ignored because they produce lots of GC
Warning failures but they seems to work (nunit finishes).
svn path=/trunk/mcs/; revision=22818
Sebastien Pouliot [Thu, 5 Feb 2004 23:52:49 +0000 (23:52 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* ThreadTest.cs: Added unit tests for CurrentPrincipal.
svn path=/trunk/mcs/; revision=22817
Sebastien Pouliot [Thu, 5 Feb 2004 23:48:30 +0000 (23:48 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainTest.cs: New. Unit tests for SetPrincipalPolicy and
SetThreadPrincipal.
svn path=/trunk/mcs/; revision=22816
Sebastien Pouliot [Thu, 5 Feb 2004 23:44:23 +0000 (23:44 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Implemented CurrentPrincipal.
svn path=/trunk/mcs/; revision=22815
Sebastien Pouliot [Thu, 5 Feb 2004 23:40:40 +0000 (23:40 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* AppDomain.cs: Implemented SetPrincipalPolicy and SetThreadPrincipal.
svn path=/trunk/mcs/; revision=22814
Sebastien Pouliot [Thu, 5 Feb 2004 23:05:25 +0000 (23:05 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Added KeyPairPersistance class, in Mono.
Security.Cryptography namespace, to the build.
svn path=/trunk/mcs/; revision=22813
Sebastien Pouliot [Thu, 5 Feb 2004 21:34:02 +0000 (21:34 -0000)]
2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
* KeyPairPersistence.cs: New. Class to persist keypairs in an XML
format to mimic the CryptoAPI key containers.
svn path=/trunk/mcs/; revision=22810
Jackson Harper [Thu, 5 Feb 2004 20:54:22 +0000 (20:54 -0000)]
* CacheDependency.cs: Handle cache keys that have not been added
to the cache yet.
svn path=/trunk/mcs/; revision=22809
Martin Baulig [Thu, 5 Feb 2004 20:51:53 +0000 (20:51 -0000)]
2004-02-05 Martin Baulig <martin@ximian.com>
* ecore.cs (FieldExpr.DoResolveLValue): If we have an
`ec.TypeContainer.CurrentType', use it instead of
`ec.ContainerType' to check whether we're in the type's ctor.
svn path=/trunk/mcs/; revision=22808
Martin Baulig [Thu, 5 Feb 2004 19:04:44 +0000 (19:04 -0000)]
Fix my previous commit; since we're using IsEqual() instead of `==', we must
also ensure closure_invocation_type is not null.
svn path=/trunk/mcs/; revision=22807
Martin Baulig [Thu, 5 Feb 2004 18:50:08 +0000 (18:50 -0000)]
We need to use Equals() here instead of `==' here to make this work for
generic type parameters.
svn path=/trunk/mcs/; revision=22806
Miguel de Icaza [Thu, 5 Feb 2004 17:16:36 +0000 (17:16 -0000)]
Update
svn path=/trunk/mono/; revision=22804
Atsushi Eno [Thu, 5 Feb 2004 16:23:00 +0000 (16:23 -0000)]
2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : fixed incorrect thought on case 008. Added case 014.
* BUGS.txt : FYI.
svn path=/trunk/mcs/; revision=22803
Atsushi Eno [Thu, 5 Feb 2004 16:15:59 +0000 (16:15 -0000)]
2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
* DefaultContext.cs : trivial processing order fix.
svn path=/trunk/mcs/; revision=22802
Atsushi Eno [Thu, 5 Feb 2004 16:15:32 +0000 (16:15 -0000)]
2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocumentTests.cs : Added ReadNodeEmptyContent() and
ReadNodeWhitespace().
* XmlElementTests.cs : Added SetAttributeNodeError().
svn path=/trunk/mcs/; revision=22801
Atsushi Eno [Thu, 5 Feb 2004 16:11:50 +0000 (16:11 -0000)]
2004-02-06 Atsushi Enomoto <atsushi@ximian.com>
* Added xrdump.cs, domdump.cs, eventdump.cs and dump-results.zip.
* README, Makefile : added more standalone tests and the description.
svn path=/trunk/mcs/; revision=22800
Atsushi Eno [Thu, 5 Feb 2004 16:05:56 +0000 (16:05 -0000)]
2004-02-06 Atsushi Enomoto <atsushi@ximian.com>
* DTDValidatingReader.cs : Fixed MoveToElement() that causes incorrect
IsDefault and Depth.
* XmlAttribute.cs : Fixed .ctor(). Omit more namespace check when
checkNamespace = false.
* XmlNamedNodeMap.cs : Fixed SetNamedItem() to raise events.
* XmlAttributeCollection.cs : Reimplemented InsertAfter to use
InsertBefore() (similar to XmlNode).
* XmlDocument.cs : Added internal .ctor(). Reimplemented ReadNode()
as recursive, to make event order compatible.
* XmlDocumentType.cs : Use SetNamedItem() (to raise events).
* XmlElement.cs : Some refactory. Fixed SetAttributeNode() with
string name to block prefixed name.
* XmlEntity.cs : Don't raise events on setting contents.
* XmlNode.cs : Some refactory. Added raiseEvent argument to internal
InsertBefore().
* XmlEntityReference.cs : related fix for XmlNode change.
* XmlTextReader.cs : When the reader is on "attributes" of xmldecl or
doctype, Depth 1 lower than usual attribute. Split large function.
svn path=/trunk/mcs/; revision=22799
Ravindra [Thu, 5 Feb 2004 15:15:18 +0000 (15:15 -0000)]
Added a missing namespace.
svn path=/trunk/mcs/; revision=22798
Ravindra [Thu, 5 Feb 2004 15:07:44 +0000 (15:07 -0000)]
Implemented HatchBrush.
svn path=/trunk/mcs/; revision=22797
Ravindra [Thu, 5 Feb 2004 15:06:21 +0000 (15:06 -0000)]
Implementing HatchBrush. Added status checks in SolidBrush.cs.
svn path=/trunk/mcs/; revision=22796
Miguel de Icaza [Thu, 5 Feb 2004 14:25:31 +0000 (14:25 -0000)]
Flush
svn path=/trunk/mono/; revision=22793
Nick Drochak [Thu, 5 Feb 2004 13:35:41 +0000 (13:35 -0000)]
2004-02-05 Nick Drochak <ndrochak@gol.com>
* DiagnosticsConfigurationHandlerTest.cs: Ignore tests using classes not
meant to be used directly.
svn path=/trunk/mcs/; revision=22792
Nick Drochak [Thu, 5 Feb 2004 13:32:42 +0000 (13:32 -0000)]
Flush
svn path=/trunk/mcs/; revision=22791
Alon Gazit [Thu, 5 Feb 2004 12:29:43 +0000 (12:29 -0000)]
This attribute is inherited by derived classes.changed the AttributeUsage
attribute.
svn path=/trunk/mcs/; revision=22790
Alon Gazit [Thu, 5 Feb 2004 12:18:31 +0000 (12:18 -0000)]
This attribute is inherited by derived classes.changed the AttributeUsage
attribute.
svn path=/trunk/mcs/; revision=22789
Alon Gazit [Thu, 5 Feb 2004 12:11:54 +0000 (12:11 -0000)]
This attribute is inherited by derived classes.changed the AttributeUsage
attribute.
svn path=/trunk/mcs/; revision=22788
Zoltan Varga [Thu, 5 Feb 2004 12:10:48 +0000 (12:10 -0000)]
2004-02-05 Zoltan Varga <vargaz@freemail.hu>
* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRefByID):
Raise an exception when the domain is not found.
svn path=/trunk/mono/; revision=22787
Alberto Fernandez [Thu, 5 Feb 2004 11:19:59 +0000 (11:19 -0000)]
Fix to work with gtk-sharp cvs
svn path=/trunk/mcs/; revision=22786
Alberto Fernandez [Thu, 5 Feb 2004 11:17:27 +0000 (11:17 -0000)]
Added AssemblyInfo
svn path=/trunk/mcs/; revision=22785
Jordi Mas i Hernandez [Thu, 5 Feb 2004 10:22:35 +0000 (10:22 -0000)]
string format implementation
svn path=/trunk/mcs/; revision=22784
Jackson Harper [Thu, 5 Feb 2004 10:16:10 +0000 (10:16 -0000)]
* VBCodeProviderTest.cs: Use mono to execute assembly.
svn path=/trunk/mcs/; revision=22783
Jackson Harper [Thu, 5 Feb 2004 10:13:02 +0000 (10:13 -0000)]
* VBCodeCompiler.cs: Set file extensions properly.
svn path=/trunk/mcs/; revision=22782
Alon Gazit [Thu, 5 Feb 2004 09:16:46 +0000 (09:16 -0000)]
This attribute is multiuse.
Changed the AttributeUsage attribute.
svn path=/trunk/mcs/; revision=22781
Alon Gazit [Thu, 5 Feb 2004 09:14:48 +0000 (09:14 -0000)]
This attribute is multiuse.Changed the AttributeUsage attribute.
svn path=/trunk/mcs/; revision=22780
Atsushi Eno [Thu, 5 Feb 2004 03:10:05 +0000 (03:10 -0000)]
2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : ToSingle() and ToDouble() should be culture
independent. Patch by Rodolfo Campero.
svn path=/trunk/mcs/; revision=22779
Lluis Sanchez [Thu, 5 Feb 2004 00:36:32 +0000 (00:36 -0000)]
* ObjectWriter.cs: Get the assembly of a member from the member's type, not
from the type of the value, because that is the type written in the
metadata section of the object.
svn path=/trunk/mcs/; revision=22778
Jackson Harper [Wed, 4 Feb 2004 23:46:18 +0000 (23:46 -0000)]
* CodeTypeMember.cs: Name is String.Empty if not set.
* CodeComment.cs: Text is String.Empty if not set.
svn path=/trunk/mcs/; revision=22777