mono.git
20 years ago2004-02-08 Martin Baulig <martin@ximian.com>
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

20 years agoremoved
Andreas N [Sat, 7 Feb 2004 19:27:12 +0000 (19:27 -0000)]
removed

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

20 years ago2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

20 years ago2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

20 years ago2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

20 years ago2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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

20 years agoFlush
Miguel de Icaza [Sat, 7 Feb 2004 16:19:47 +0000 (16:19 -0000)]
Flush

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

20 years ago2004-02-07 Miguel de Icaza <miguel@ximian.com>
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

20 years agoImprove test to include a case for #53696
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

20 years ago2004-02-07 Miguel de Icaza <miguel@ximian.com>
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

20 years ago2004-02-07 Miguel de Icaza <miguel@ximian.com>
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

20 years agoImprove
Miguel de Icaza [Sat, 7 Feb 2004 05:35:42 +0000 (05:35 -0000)]
Improve

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

20 years ago2004-02-07 Miguel de Icaza <miguel@ximian.com>
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

20 years ago2004-02-07 Tim Coleman <tim@timcoleman.com>
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

20 years ago2004-02-07 Tim Coleman <tim@timcoleman.com>
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

20 years agoup
Miguel de Icaza [Sat, 7 Feb 2004 04:55:39 +0000 (04:55 -0000)]
up

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

20 years ago * Uri.cs: Do not escape querys or fragements. Only reduce certain
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

20 years ago2004-02-06 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 David Sheldon <dave-mono@earth.li>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-07 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-06 Martin Baulig <martin@ximian.com>
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

20 years ago2004-02-06 Martin Baulig <martin@ximian.com>
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

20 years ago2004-02-06 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2004-02-06 Zoltan Varga <vargaz@freemail.hu>
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

20 years agochangelog: Updated changelog
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

20 years ago2004-02-06 Zoltan Varga <vargaz@freemail.hu>
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

20 years agoModifications related to GetException method.
Ravindra [Fri, 6 Feb 2004 07:19:00 +0000 (07:19 -0000)]
Modifications related to GetException method.

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

20 years agoIncorporated Duncan's comments. Modifications related to GetException method.
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

20 years ago * UriBuilder.cs: Do not call Uri::ToString for uri builders
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-02-05 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago * CacheDependency.cs: Handle cache keys that have not been added
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

20 years ago2004-02-05 Martin Baulig <martin@ximian.com>
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

20 years agoFix my previous commit; since we're using IsEqual() instead of `==', we must
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

20 years agoWe need to use Equals() here instead of `==' here to make this work for
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

20 years agoUpdate
Miguel de Icaza [Thu, 5 Feb 2004 17:16:36 +0000 (17:16 -0000)]
Update

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

20 years ago2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-02-06 Atsushi Enomoto <atsushi@ximian.com>
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

20 years agoAdded a missing namespace.
Ravindra [Thu, 5 Feb 2004 15:15:18 +0000 (15:15 -0000)]
Added a missing namespace.

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

20 years agoImplemented HatchBrush.
Ravindra [Thu, 5 Feb 2004 15:07:44 +0000 (15:07 -0000)]
Implemented HatchBrush.

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

20 years agoImplementing HatchBrush. Added status checks in SolidBrush.cs.
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

20 years agoFlush
Miguel de Icaza [Thu, 5 Feb 2004 14:25:31 +0000 (14:25 -0000)]
Flush

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

20 years ago2004-02-05 Nick Drochak <ndrochak@gol.com>
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

20 years agoFlush
Nick Drochak [Thu, 5 Feb 2004 13:32:42 +0000 (13:32 -0000)]
Flush

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

20 years agoThis attribute is inherited by derived classes.changed the AttributeUsage
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

20 years agoThis attribute is inherited by derived classes.changed the AttributeUsage
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

20 years agoThis attribute is inherited by derived classes.changed the AttributeUsage
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

20 years ago2004-02-05 Zoltan Varga <vargaz@freemail.hu>
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

20 years agoFix to work with gtk-sharp cvs
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

20 years agoAdded AssemblyInfo
Alberto Fernandez [Thu, 5 Feb 2004 11:17:27 +0000 (11:17 -0000)]
Added AssemblyInfo

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

20 years agostring format implementation
Jordi Mas i Hernandez [Thu, 5 Feb 2004 10:22:35 +0000 (10:22 -0000)]
string format implementation

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

20 years ago * VBCodeProviderTest.cs: Use mono to execute assembly.
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

20 years ago * VBCodeCompiler.cs: Set file extensions properly.
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

20 years agoThis attribute is multiuse.
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

20 years agoThis attribute is multiuse.Changed the AttributeUsage attribute.
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

20 years ago2004-02-05 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago * ObjectWriter.cs: Get the assembly of a member from the member's type, not
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

20 years ago * CodeTypeMember.cs: Name is String.Empty if not set.
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

20 years ago * CodeGenerator.cs (GenerateExpression): Don't allow null
Jackson Harper [Wed, 4 Feb 2004 23:44:11 +0000 (23:44 -0000)]
    * CodeGenerator.cs (GenerateExpression): Don't allow null
expressions. Throw ArgumentException if the expression type is not
handled.
* CodeGenerator.cs (GenerateStatement): Add line pragmas if they
are set. Throw ArgumentException if the expression type is not
handled.

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

20 years ago * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
Jackson Harper [Wed, 4 Feb 2004 23:36:21 +0000 (23:36 -0000)]
    * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
null (matches MS output). When creating comments there is a space
after the first // but not the following lines.

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

20 years ago2004-02-01 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 4 Feb 2004 21:17:03 +0000 (21:17 -0000)]
2004-02-01  Duncan Mak  <duncan@ximian.com>

* cs-tokenizer.cs (get_cmd_arg): Skip over whitespace before
parsing for cmd, fixes bug #53694.

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

20 years ago2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 4 Feb 2004 19:10:57 +0000 (19:10 -0000)]
2004-02-04  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoStreamTest.cs: Added many more tests for every problem found
with CryptoStream using code samples from the internet.

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

20 years ago2004-02-04 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 4 Feb 2004 19:08:38 +0000 (19:08 -0000)]
2004-02-04  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoStream.cs: New implementation - should fix all known issues
with the class (Read/WriteByte, reading by non-multiple of the
block size, using Stream.Length and Stream.Position ...).
* SymmetricAlgorithm.cs: Return an empty array when there's nothing
to return (required for CryptoStream to work).

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

20 years agoTwo small fixes.
Martin Baulig [Wed, 4 Feb 2004 19:02:23 +0000 (19:02 -0000)]
Two small fixes.

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

20 years ago2004-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Feb 2004 17:52:00 +0000 (17:52 -0000)]
2004-02-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlEntityReferenceTests.cs : renamed TestDescendantsRecursively to
  DescendantsRecursively and added more test lines.
  Added ChildNodes().
* XmlReaderCommonTests.cs : Added MoveToXmlDeclAttribute(). However
  it is ignored (since XmlNodeReader behaves differently, maybe bug).

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

20 years ago2004-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Feb 2004 17:48:06 +0000 (17:48 -0000)]
2004-02-04  Atsushi Enomoto <atsushi@ximian.com>

* DTDObjectModel.cs : Never expand entity on ScanEntityValue().
* DTDValidatingReader.cs : XmlDeclaration node requires attributes
  to be movable.
* XmlAttribute.cs,
  XmlDocument.cs,
  XmlDocumentFragment.cs,
  XmlElement.cs,
  XmlEntity.cs,
  XmlLinkedNode.cs,
  XmlNode.cs,
  XmlNotation.cs :
  Added namespace checking flag (required for such xml readers
  that holds Namespaces=false). Now only XmlNode holds LastLinkedNode.
* XmlDocumentType.cs,
  XmlEntity.cs,
  XmlEntityReference.cs : The children of Entity and EntityReference
  became correct. They now holds parsed nodes, but it is only when
  they are appended to the document.
* XmlNode.cs : Modified insertBeforeIntern() to InsertBefore() with
  boolean checkNodeType argument.  This method also tries to create
  Entity's and EntityReference's child nodes.  Also added internal
  RemoveChild() with boolean checkNodeType argument.
* XmlNodeReader.cs : Quick hack for ResolveEntity() that became
  broken with these changes. use InnerXml as input to entityReader.
* XmlTextReader.cs : XmlDeclaration's value LocalName should be the
  same as Name.  The names of DTD's pseudo attributes should be empty.
  Fixed DTD node's Depth (was regarded as attribute value's depth).

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

20 years ago2004-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 4 Feb 2004 17:46:21 +0000 (17:46 -0000)]
2004-02-04  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : When the reader points at XmlDeclaration,
  AttributeCount counts its values (version, encoding, standalone).

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

20 years agoAdded UTF-8 signature at the top of the file to ensure correct loading by editors
Jochen Wezel [Wed, 4 Feb 2004 09:43:34 +0000 (09:43 -0000)]
Added UTF-8 signature at the top of the file to ensure correct loading by editors

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

20 years ago * DataSet.cs: Added missing method that broke the build.
Lluis Sanchez [Wed, 4 Feb 2004 09:38:01 +0000 (09:38 -0000)]
* DataSet.cs: Added missing method that broke the build.

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

20 years ago2004-02-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 4 Feb 2004 08:45:21 +0000 (08:45 -0000)]
2004-02-04  Marek Safar <marek.safar@seznam.cz>

* AssemblyInfo.cs: corlib now has CLSCompliant attribute.

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

20 years ago2004-02-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 4 Feb 2004 08:30:20 +0000 (08:30 -0000)]
2004-02-04  Marek Safar <marek.safar@seznam.cz>

* Makefile: Build System.dll in two steps. Because of the circular
        dependency with System.XML.dll.

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

20 years agofixed InitializeCell(). The rendered LiteralControl should contain "&nbsp;" and not...
Alon Gazit [Wed, 4 Feb 2004 08:05:58 +0000 (08:05 -0000)]
fixed InitializeCell(). The rendered LiteralControl should contain "&nbsp;" and not " ".

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

20 years ago2004-02-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 4 Feb 2004 07:49:21 +0000 (07:49 -0000)]
2004-02-04  Marek Safar  <marek.safar@seznam.cz>

* class.cs, decl.cs: Fixed problem where IndexerName attribute was ignored
        in the member name duplication tests. Property and operator name duplication
        was missing too (error tests cs0102-{2,3,4,5}.cs, cs0111-{3,4}.cs).

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

20 years agoDataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf...
Eran Domb [Wed, 4 Feb 2004 06:18:41 +0000 (06:18 -0000)]
DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
better performance.
DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
when all column are attributes (elements count is 0), we still want to add the relations. No relations
can be on simple contents.
(AddUniqueConstraints) Check that the column of the constraint are not hidden.
(AddForeignKeys) Check that the relation has constraints attach to it.
XmlConstants.cs : Added constant.

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

20 years agoChanges in DataSet for interoperability with MS.Net
Eran Domb [Wed, 4 Feb 2004 05:29:22 +0000 (05:29 -0000)]
Changes in DataSet for interoperability with MS.Net

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

20 years ago * DataRow.cs: Added SetOriginalValue(), which is used to set the original
Lluis Sanchez [Tue, 3 Feb 2004 23:55:51 +0000 (23:55 -0000)]
* DataRow.cs: Added SetOriginalValue(), which is used to set the original
  value of a column.
* DataRowCollection.cs: In InsertAt(), perform the correct checks and
  attach the row.
* DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
  also be added to the dataset.
  In WriteTable(), do not write unchanged rows when writing the original
  version of the table.
  Added WriteIndividualTableContent(), for writing the contents of a single
  table.
  Changed BuildSchema and related methods, so it can generate a schema for
  any set of tables, not just the tables of the dataset (needed for
  single datatable serialization).
* DataTable.cs: Implemented serialization constructor and GetObjectData method.
  Also implemented some ReadXmlSchema methods.
* XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
  instead of loading the full dataset in an XmlDocument. It is faster and
  saves memory. Also fixed several problems when generating the changes.
* XmlSchemaMapper.cs: Support reading schemas for single tables (used by
  table serialization).

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

20 years ago * HttpRemotingHandlerFactory.cs: Loading of remoting configuration moved
Lluis Sanchez [Tue, 3 Feb 2004 23:33:19 +0000 (23:33 -0000)]
* HttpRemotingHandlerFactory.cs: Loading of remoting configuration moved
  to System.Web.Configuraiton.

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

20 years ago * WebConfigurationSettings.cs: Load remoting configuration when reading
Lluis Sanchez [Tue, 3 Feb 2004 23:28:56 +0000 (23:28 -0000)]
* WebConfigurationSettings.cs: Load remoting configuration when reading
  the web.config file.

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

20 years ago * wstest.cs: Added new option that downloads and cahces the wsdl docs.
Lluis Sanchez [Tue, 3 Feb 2004 23:25:16 +0000 (23:25 -0000)]
* wstest.cs: Added new option that downloads and cahces the wsdl docs.
* services.xml: More services.
* Makefile: Updated.
* server/TestBinding5.asmx: new test service.

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

20 years ago* SampleGenerator.cs: More little fixes.
Lluis Sanchez [Tue, 3 Feb 2004 23:17:07 +0000 (23:17 -0000)]
* SampleGenerator.cs: More little fixes.

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