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

20 years ago * XmlReflectionImporter.cs: Get the class members using the right order.
Lluis Sanchez [Tue, 3 Feb 2004 23:05:17 +0000 (23:05 -0000)]
* XmlReflectionImporter.cs: Get the class members using the right order.
* XmlSerializationWriterInterpreter.cs: Removed unneeded code.
  A member with the Any attribute can also contain text. Support this.
* XmlTypeMapMemberElement.cs: Added CanBeText property.

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

20 years ago2004-02-03 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 3 Feb 2004 21:37:52 +0000 (21:37 -0000)]
2004-02-03  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied patch from Adrian Bunk (bunk@fs.tum.de). Fix
message for failed gethostbyname2_r check.

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

20 years agouse proper marshalling now that 53700 is fixed
Jordi Mas i Hernandez [Tue, 3 Feb 2004 21:00:54 +0000 (21:00 -0000)]
use proper marshalling now that 53700 is fixed

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

20 years ago * ResourceSet.cs: Do not throw an exception for null strings.
Jackson Harper [Tue, 3 Feb 2004 19:23:26 +0000 (19:23 -0000)]
    * ResourceSet.cs: Do not throw an exception for null strings.

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 15:28:44 +0000 (15:28 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs, DTDReader.cs : fixity fix ;)

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 15:25:21 +0000 (15:25 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderCommonTests.cs : Added SurrogatePairContent().
* XmlDocumentTests.cs : Added LoadXmlReaderNamespacesFalse().
* XmlEntityReferenceTests.cs : Added TestsDescendantsRecursively().

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

20 years agohandle font properties
Jordi Mas i Hernandez [Tue, 3 Feb 2004 15:19:18 +0000 (15:19 -0000)]
handle font properties

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 15:04:03 +0000 (15:04 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* ChangeLog : Fixed incorrect description that should be written for
  DTDValidatingReader.cs but written for DTDReader.cs.
* DTDValidatingReader.cs : Fixes described in the last DTDReader fix.

* XmlChar.cs,
  XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and
  replaced XmlChar with XmlConstruts, renaming "XmlChar" to
  "XmlCharCompact" and "XmlConstructs" to "XmlChar".
  (XmlChar will be used for compact framework.)
* DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs :
  XmlChar related changes.  Support for surrogate pair.
  It cannot use TextReader's peek anymore (for surrogate pair).
  Character range check for PI value, attribute value, text
* XmlTextWriter.cs : Change openElements from Stack to ArrayList.
  (It calls ToArray() every time.)

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

20 years agoMoved GetException method from TextureBrush to Brush, so that other brush classes...
Ravindra [Tue, 3 Feb 2004 14:30:57 +0000 (14:30 -0000)]
Moved GetException method from TextureBrush to Brush, so that other brush classes can use it.

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

20 years ago2004-02-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 3 Feb 2004 14:07:28 +0000 (14:07 -0000)]
2004-02-03  Marek Safar  <marek.safar@seznam.cz>

* interface.cs (PopulateMethod): Fixed crash when interface method
returns not existing type (error test cs0246-3.cs).

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

20 years ago2004-02-03: Jean-Marc ANDRE <jeanmarc.andre@cpe.fr>
Jean-Marc Andre [Tue, 3 Feb 2004 13:59:17 +0000 (13:59 -0000)]
2004-02-03: Jean-Marc ANDRE <jeanmarc.andre@cpe.fr>
SoapWriter.cs: bug fixed, a namespace was null were it shouldn't

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

20 years agoChangLog: Updated ChangeLog
Sanja Gupta [Tue, 3 Feb 2004 13:44:44 +0000 (13:44 -0000)]
ChangLog: Updated ChangeLog
gdipFunctions.cs: Added functions for Image Class

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

20 years agonow Item(int index) returns null for nodeList.Count
Alon Gazit [Tue, 3 Feb 2004 12:46:45 +0000 (12:46 -0000)]
now Item(int index) returns null for nodeList.Count
instead of throwing ArgumentOutOfRangeException.

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

20 years agoupgrade version
Gonzalo Paniagua Javier [Tue, 3 Feb 2004 11:41:54 +0000 (11:41 -0000)]
upgrade version

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

20 years agoChanged ChangeLog (better description of my latest commit)
Marek Safar [Tue, 3 Feb 2004 09:24:48 +0000 (09:24 -0000)]
Changed ChangeLog (better description of my latest commit)

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 09:14:47 +0000 (09:14 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* xml-classes : updates

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

20 years ago2004-02-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 3 Feb 2004 09:03:56 +0000 (09:03 -0000)]
2004-02-03 Marek Safar <marek.safar@seznam.cz>

* cs0102-{2,3,4,5}.cs,
cs0111-{3,4}.cs,
cs0547-2.cs: New error tests.

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 08:09:06 +0000 (08:09 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* BuiltInDatatype.cs : Fixed some Parse() for token based datatypes.
* XmlSchemaAny.cs : set properties for cloned particle. This will fix
  bugzilla #53668.
* XmlSchemaParticle.cs : copy occurence string after computation of
  validated min/max occurence. This will fix bug #53667.

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 08:07:35 +0000 (08:07 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* XmlChar.cs : now GetPredefinedEntity() returns int and -1 for not
  predefined entity names.
* DTDObjectModel.cs : DTDxxxCollection now derives from
  - DTDCollectionBase that derives from DictionaryBase.
  - "Literal value" and "replacement text" are handled differently.
  - Throw XmlException when external entity could not be resolved.
  - Return ReplacementText for EntityValue.
* DTDReader.cs :
  - Support IXmlLineInfo.
  - Fixed IGNORE section handling to be more strict.
  - Compute replacement text on reading entity declarations.
  - Don't expand char references before getting literal entity value.
  - Check not allowed parameter entity inside internal subset.
  - Added ValidateWhitespaceNode() to check whitespace's Validity
    Constraints on external elementdecl and standalone document.
  - When invalid data against its datatype was found, don't throw
    parse error.
  - Other code refactory.
* XmlTextReader.cs :
  - Check for invalid Text pattern "]]>" should not depend on line
    info since it might not be supported.
  - Check referenced character's validity (WFC).

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

20 years ago2004-02-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 3 Feb 2004 08:06:56 +0000 (08:06 -0000)]
2004-02-03  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : schemaLocation is not NMTOKENS. It is list
  of anyURI. Just split names and handle as anyURI.

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

20 years agoUp after release
Miguel de Icaza [Mon, 2 Feb 2004 23:29:01 +0000 (23:29 -0000)]
Up after release

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

20 years ago2004-02-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 Feb 2004 22:51:50 +0000 (22:51 -0000)]
2004-02-03  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericInst.GetInterfaces): Override this.

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

20 years ago2004-02-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 2 Feb 2004 22:46:33 +0000 (22:46 -0000)]
2004-02-03  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_get_methodspec_token): Use the
uninflated signature; fixes gen-33.

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

20 years ago * OutputCacheModule.cs: We can use file dependancies now.
Jackson Harper [Mon, 2 Feb 2004 22:32:36 +0000 (22:32 -0000)]
    * OutputCacheModule.cs: We can use file dependancies now.

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

20 years agoFlush
Miguel de Icaza [Mon, 2 Feb 2004 22:22:21 +0000 (22:22 -0000)]
Flush

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

20 years ago2004-02-02 Ravi Pratap M <ravi@ximian.com>
Ravi Pratap M [Mon, 2 Feb 2004 21:53:12 +0000 (21:53 -0000)]
2004-02-02  Ravi Pratap M <ravi@ximian.com>

* cs-parser.jay (interface_accessors): Re-write actions to also
store attributes attached to get and set methods. Fix spelling
while at it.

(inteface_property_declaration): Modify accordingly.

(InterfaceAccessorInfo): New helper class to store information to pass
around between rules that use interface_accessors.

* interface.cs (Emit): Apply attributes on the get and set
accessors of properties and indexers too.

* attribute.cs (ApplyAttributes): Modify accordingly to use the
right MethodBuilder when applying attributes to the get and set accessors.

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

20 years ago2004-02-02 Ravi Pratap M <ravi@ximian.com>
Ravi Pratap M [Mon, 2 Feb 2004 21:52:46 +0000 (21:52 -0000)]
2004-02-02  Ravi Pratap M  <ravi@ximian.com>

* test-157.cs: Improve test for interface property accessor
attributes.

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

20 years agoUpdate
Miguel de Icaza [Mon, 2 Feb 2004 21:48:15 +0000 (21:48 -0000)]
Update

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

20 years agoWorkaround from Dick to the string.Replace bug
Miguel de Icaza [Mon, 2 Feb 2004 21:39:54 +0000 (21:39 -0000)]
Workaround from Dick to the string.Replace bug

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 17:44:06 +0000 (17:44 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (ves_icall_System_GC_WaitForPendingFinalizers): Fix check for
the finalizer thread.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 16:10:21 +0000 (16:10 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (ves_exec_method_with_context): Add new marshalling
conventions.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 16:05:49 +0000 (16:05 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* gc.c threads.c: Make the finalizer thread a normal managed thread so
the finalizer code can use thread functionality.

* threads.c: Make some functions more robust.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 16:00:00 +0000 (16:00 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Another attempt at fixing #22532.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 15:56:15 +0000 (15:56 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* sparc/tramp.c: Implement all floating point argument passing conventions in
Sparc V8. Also fix structure passing in V8.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 15:50:47 +0000 (15:50 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Fix stack management of generic CEE_BOX.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 15:35:46 +0000 (15:35 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Add support for new stringbuilder marshaling conventions.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 15:34:05 +0000 (15:34 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* metadata.h: Add new marshalling conventions.

* marshal.c (mono_marshal_get_native_wrapper): Add support for unicode
stringbuilder marshalling. Fixes #53700.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 15:31:45 +0000 (15:31 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs libtest.c: Add test for unicode StringBuilder marshalling.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 14:13:17 +0000 (14:13 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* Environment.cs: Bump corlib version.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 14:11:06 +0000 (14:11 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs: Implement DefineUninitializedData and
AddDeclarativeSecurity.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 14:07:53 +0000 (14:07 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h (MonoReflectionTypeBuilder): Add 'permissions' field.

* reflection.c (mono_image_get_type_info): Save declarative security
info.

* reflection.c (mono_image_get_field_info): Handle uninitialized
unmanaged fields as well.

* appdomain.c: Bump corlib version.

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

20 years ago2004-02-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 2 Feb 2004 14:00:09 +0000 (14:00 -0000)]
2004-02-02  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke.cs libtest.c: Add test for Sparc V8 split register/stack double
parameter passing.

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

20 years ago2004-02-02 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Mon, 2 Feb 2004 13:04:13 +0000 (13:04 -0000)]
2004-02-02  Nick Drochak <ndrochak@ieee.org>

* RegexBugs.cs (RangeIgnoreCase): made the last assert pass on .NET.

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

20 years ago2004-02-02 Sebastien Pouliot <sebastien@ximian.ca>
Sebastien Pouliot [Mon, 2 Feb 2004 12:47:01 +0000 (12:47 -0000)]
2004-02-02  Sebastien Pouliot  <sebastien@ximian.ca>

* DateTime.cs: Corrected support for "Z" in the mask (Parse). This
fix bug #53461.

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

20 years ago2004-02-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 Feb 2004 12:39:44 +0000 (12:39 -0000)]
2004-02-02  Sebastien Pouliot  <sebastien@ximian.com>

* crypto: Removed references to myself. Anyway the best place is the
mono-devel-list mailing list.

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

20 years ago2004-02-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 2 Feb 2004 12:29:53 +0000 (12:29 -0000)]
2004-02-02  Sebastien Pouliot  <sebastien@ximian.com>

* team.xml: Changed email address and organization

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

20 years agoFix typo
Jackson Harper [Mon, 2 Feb 2004 10:10:17 +0000 (10:10 -0000)]
Fix typo

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

20 years agoAdd remarks.
Eran Domb [Mon, 2 Feb 2004 09:14:06 +0000 (09:14 -0000)]
Add remarks.

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

20 years agoAdd rowId to DataRow. Initiate new rows with id -1. These is mostly for preformance...
Eran Domb [Mon, 2 Feb 2004 09:07:46 +0000 (09:07 -0000)]
Add rowId to DataRow. Initiate new rows with id -1. These is mostly for preformance improvement.
When adding a row to the row collection do not check the IndexOf(..). Instead check for rowId.
When adding a lot of rows to a large table this is a major improvemt.

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

20 years agoAdd Indentation to xml only if we create the XmlWriter.
Eran Domb [Mon, 2 Feb 2004 09:01:23 +0000 (09:01 -0000)]
Add Indentation to xml only if we create the XmlWriter.
Add xmlns attribute to the DataSet even if namespace is empty string for interoperability with MS.NET.

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

20 years agofixes GdiGetFamilyName
Jordi Mas i Hernandez [Mon, 2 Feb 2004 08:37:37 +0000 (08:37 -0000)]
fixes GdiGetFamilyName

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

20 years ago2004-02-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 2 Feb 2004 03:02:08 +0000 (03:02 -0000)]
2004-02-01  Miguel de Icaza  <miguel@ximian.com>

* syntax.cs, interval.cs: Applied patch from Marco Cravairo
through Francois Beauchemin who reviewed on the mailing list.
This fixes bug #45976

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

20 years agoImprove test
Miguel de Icaza [Mon, 2 Feb 2004 00:59:11 +0000 (00:59 -0000)]
Improve test

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

20 years agoSyncs StructLayout with GdipBitmapData at bitmap.c. Bug fix
Jordi Mas i Hernandez [Sun, 1 Feb 2004 18:19:54 +0000 (18:19 -0000)]
Syncs StructLayout with GdipBitmapData at bitmap.c. Bug fix

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

20 years agoMake life a bit easier for me ....
Martin Baulig [Sun, 1 Feb 2004 15:54:23 +0000 (15:54 -0000)]
Make life a bit easier for me ....

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

20 years agoMake this compile with csc.
Martin Baulig [Sun, 1 Feb 2004 15:53:50 +0000 (15:53 -0000)]
Make this compile with csc.

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

20 years ago2004-02-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 1 Feb 2004 15:47:54 +0000 (15:47 -0000)]
2004-02-01  Martin Baulig  <martin@ximian.com>

* mini.c (MTYPE_PARAM_TO_TYPE): Method type arguments are stored
in `ginst->mtype_argv'.

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