mono.git
20 years ago2003-08-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 10 Aug 2003 03:27:27 +0000 (03:27 -0000)]
2003-08-09  Sebastien Pouliot  <spouliot@videotron.ca>

* crypto: Updated crypto status prior to mono's release 0.26

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

20 years ago2003-08-09 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 10 Aug 2003 03:23:30 +0000 (03:23 -0000)]
2003-08-09  Duncan Mak  <duncan@ximian.com>

* Mono.Cairo.Cairo.cs:
* Mono.Cairo.CairoObject.cs:
* Mono.Cairo.CairoMatrixObject.cs:
* Mono.Cairo.CairoSurfaceObject.cs: Added Cairo binding.

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

20 years agoFlush
Miguel de Icaza [Sun, 10 Aug 2003 03:16:30 +0000 (03:16 -0000)]
Flush

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

20 years ago2003-08-09 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 10 Aug 2003 03:10:13 +0000 (03:10 -0000)]
2003-08-09  Sebastien Pouliot  <spouliot@videotron.ca>

* SymmetricAlgorithm.cs: Re-introduced Lluis patch for PaddingMode.None
and PaddingMode.Zeros (not PaddingMode.PKCS7).

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

20 years agoFlush
Miguel de Icaza [Sat, 9 Aug 2003 21:59:57 +0000 (21:59 -0000)]
Flush

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

20 years ago2003-08-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 9 Aug 2003 16:05:53 +0000 (16:05 -0000)]
2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* DTDAutomata.cs : Fixed (modified or added) TryEndElement() of choice,
  sequence and oneOrMore. Fixed DTDChoiceAutomata.TryStartElement().

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

20 years ago2003-08-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 9 Aug 2003 15:28:07 +0000 (15:28 -0000)]
2003-08-09  Miguel de Icaza  <miguel@ximian.com>

* namespace.cs: Remove redundant call;  Avoid using MakeFQN when
we know that we need to concatenate (full typename can never be
null).

* class.cs: ditto.

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

20 years agoAdd two-level hash
Miguel de Icaza [Sat, 9 Aug 2003 15:24:45 +0000 (15:24 -0000)]
Add two-level hash

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

20 years ago2003-08-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 9 Aug 2003 15:24:07 +0000 (15:24 -0000)]
2003-08-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation
  and supplied SkipWhitespace() as they needed. It broke monodoc.
  Fixed ReadEntityValueDecl() to get correct value.

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

20 years ago2003-08-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 9 Aug 2003 09:48:35 +0000 (09:48 -0000)]
2003-08-08  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlInputStream.cs :
  Fixed Initialize() that might result in incorrect buffer.
  CanRead and Position should consider buffer (especially when the
  stream was EOF).
  CanSeek should use stream's CanSeek.

* XmlChar.cs : added GetPredefinedEntity().
* DTDObjectModel.cs :
  - Modified ComputeDefaultValue() to use it.
  - Fixed NormalizedDefaultValue not to expect parsed value as string.
  - ResolveExternalEntity now detects invalid standalone specification.
  - DTDParameterEntityDeclaration.Value is now changed to property and
    keep its resolved value of literal value of external value using
    new Resolve (XmlResolver) method (called only by XmlTextReader).
* DTDValidatingReader.cs :
  - It now handles entity-expanded Whitespace and SignificantWhitespace
    correctly. Does not raise unexpected text not allowed error.
  - Fixed MoveToAttribute()s to move internal reader correctly, and
    should be able to move in other cases than on element node.
  - On Read()ing document type and ResolveEntity(), it now sets
    XmlResolver on text reader.
  - On ID constraints check and type verification, it now uses
    normalized attribute or its tokenized value(s).
  - Fixed ValidateAttributes() to add default values when
    ValidationType is Auto.
* XmlParserContext.cs : added internal Dtd setter.
* XmlParserInput.cs :
  InsertParameterEntityBuffer() should add surrounding whitespaces.
  Removed unused code block.
* XmlTextReader.cs :
  - Modified ReadReference(), ReadAttribute() and Dereference() to use
    XmlChar.GetPredefinedEntity().
  - When returning entity reference, it checks extity declaration
    existence in certain conditions.
  - ReadAttribute() now skips general entity replacement on reading
    entity value.
  - ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
  - ReadXmlDeclaration() holds isStandalone, which might be used in
    entity reference's well-formedness check.
  - internal 'DTD' now uses XmlParserContext.Dtd.
  - isInternalSubset was meaningless. Now uses input stack's Count.
  - Added some required SkipWhitespace().
  - Several parameter entity handling changes.  Added GetPEValue(name).
    TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
    now uses its Resolve() when it was external PE.  Now it uses value
    buffer instead of currentTag, to efficiently read (included) PE.
    CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
    ImportAsPERef() simply inserts the value to currentInput.
    ReadEntityDecl() also uses value buffer.   Removed non-used methods.
  - Default attributes are now stored in normalized form.
  - Dereference() now considers non-expanding predefined entities.
* XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
  is more correctly supported.

* XmlAttributeCollection.cs :
  When removing default attribute, it immediately inserts the attribute.
  RemoveAll() should consider default (not-removable) attributes.
* XmlDocument.cs :
  Should have its default XmlResolver. Added Internal Resolver.
  Some Load() should use its XmlResolver.
  ImportNode() should copy its children in node level, not value level.
  It also have to consider not to copy default attribute on importing
  XmlElement.
* XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
* XmlAttribute.cs,
  XmlDocumentFragment.cs.
  XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
* XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
  ResolveEntity() uses XmlResolver on entityReader.

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

20 years agoFlush
Miguel de Icaza [Sat, 9 Aug 2003 07:39:28 +0000 (07:39 -0000)]
Flush

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

20 years ago2003-08-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 9 Aug 2003 06:40:57 +0000 (06:40 -0000)]
2003-08-09  Miguel de Icaza  <miguel@ximian.com>

* statement.cs: Use a bitfield;  Do not initialize to null things
which are done by the constructor by default.

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

20 years ago2003-08-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 9 Aug 2003 06:31:41 +0000 (06:31 -0000)]
2003-08-09  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: bug fix, parameter was 4, not 3.

* expression.cs: Just use the property;

* statement.cs: No need for GetVariableInfo method.

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

20 years ago(DrawBezier): Fixed.
Duncan Mak [Fri, 8 Aug 2003 22:55:08 +0000 (22:55 -0000)]
(DrawBezier): Fixed.

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

20 years ago* Graphics.cs (DrawArc):
Duncan Mak [Fri, 8 Aug 2003 21:59:50 +0000 (21:59 -0000)]
* Graphics.cs (DrawArc):
(DrawBezier):
(DrawEllipse): Implemented for our XrImpl.

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

20 years ago * CodeGenerator.cs: When sorting the members of a type, keep the relative
Lluis Sanchez [Fri, 8 Aug 2003 17:14:13 +0000 (17:14 -0000)]
* CodeGenerator.cs: When sorting the members of a type, keep the relative
  order of the members of the same kind.

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

20 years ago * ParameterInfo.cs: Modified constructor of ParameterInfo for
Lluis Sanchez [Fri, 8 Aug 2003 16:26:18 +0000 (16:26 -0000)]
* ParameterInfo.cs: Modified constructor of ParameterInfo for
  the return type of a method. Since parameter positions are
  zero-based, the position of the return type must be is -1.

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

20 years agomore implementation added
Aleksey Ryabchuk [Fri, 8 Aug 2003 15:49:35 +0000 (15:49 -0000)]
more implementation added

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

20 years agomore implementation added
Aleksey Ryabchuk [Fri, 8 Aug 2003 11:50:59 +0000 (11:50 -0000)]
more implementation added

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

20 years agoFlush
Miguel de Icaza [Fri, 8 Aug 2003 05:51:23 +0000 (05:51 -0000)]
Flush

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

20 years agoImport changes from mainline
Miguel de Icaza [Fri, 8 Aug 2003 05:49:37 +0000 (05:49 -0000)]
Import changes from mainline

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

20 years ago * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
Lluis Sanchez [Thu, 7 Aug 2003 23:57:36 +0000 (23:57 -0000)]
  * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
    of DateTime.
  * Environment.cs: return $HOME for ApplicationData folder.

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

20 years ago * DateTime.cs: Fixed DoParse. It was calling the wrong constructor
Lluis Sanchez [Thu, 7 Aug 2003 23:39:39 +0000 (23:39 -0000)]
* DateTime.cs: Fixed DoParse. It was calling the wrong constructor
  of DateTime.
* Environment.cs: return $HOME for ApplicationData folder.

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

20 years ago * CodeIdentifier.cs: Fixed MakeValid method.
Lluis Sanchez [Thu, 7 Aug 2003 23:15:36 +0000 (23:15 -0000)]
* CodeIdentifier.cs: Fixed MakeValid method.
* TypeTranslator.cs: Added support for more primitive types. Added
  GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
  maps by default.
* XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
  are different from the type ns and name.
  Generate class and field comments.
  Fixed default attribute generation. In elements with ref attribute, it has to be
  generated in the referred attribute.
* XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
  Added suport for text nodes in members of type "any".
* XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
  content.
* XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
* XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
  that have already been declared.
  WriteStartElement(): elements from schema namespace are always written with ns prefix.
* XmlTypeMapMember.cs: Added documentation property.
* XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
  represents a simple type.

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

20 years ago2003-08-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 7 Aug 2003 22:57:51 +0000 (22:57 -0000)]
2003-08-08  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowReturns): This is now nested in the
`FlowBranching' class.
(MyBitVector): Moved this here from statement.cs.
(FlowBranching.SiblingType): New enum type.
(FlowBranching.CreateSibling): Added `SiblingType' argument.

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

20 years ago * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
Lluis Sanchez [Thu, 7 Aug 2003 22:39:12 +0000 (22:39 -0000)]
* BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added XsdAnyURI,
  XsdDateTime, XsdDate, XsdTime.

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

20 years ago * CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
Lluis Sanchez [Thu, 7 Aug 2003 22:24:27 +0000 (22:24 -0000)]
* CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
  a given id is a C# keyword, and returns the same if if it is not,
  or @id if it is a keyword. This method is used everywhere
  a name is rendered.

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

20 years ago2003-08-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 7 Aug 2003 22:08:17 +0000 (22:08 -0000)]
2003-08-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* DTDObjectModel.cs :
  - Added validation error check (and AddError(), Errors).
  - Fixed ComputeDefaultValue() to handle various references correctly.
  - DTDEntityDeclaration.EntityValue became property, and added
    LiteralEntityValue. The new one holds resolved value.
    Added ResolveExternalEntity(). It now required root in .ctor().
* DTDValidatingReader.cs :
  - Now it handles namespaced attributes (as input to xsd validator).
  - Added XmlResolver property as usual XmlReader.
  - Added currentEntityHandling field so that it can stand changing
    XmlValidatingReader's EntityHandling dynamically.
  - FilterNormalization() now requires name for getting datatypes and
    can stand for non-current attribute normalization.
  - Splitted ReadContent() from Read() that can be called recursively
    when expanding entities.
  - Now handles Entity not found error *after* resolution of entities,
    as MS.NET does.
  - Read()ing DTD checks its Errors and raises validation error events.
    In some situations, DTD parsing may detect VC error, not WFC error.
    It also strictly checks NData existence.
  - Handling of entity-resolved text is a bit changed and Read()ing
    element, endElement, cdata now changed to switch collecting text
    and collected text.
  - content type ANY should allow texts.
  - Added enumerated attribute validity check.
  - Added Name/Names creation rule check for ID/IDREF/IDREFS.
  - Added entity existence check for ENTITY/ENTITIES attributes.
  - Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
  - Fixed to remove extraneous #REQUIRED check.
  - Contributing default attribute is now only applied to the case
    ValidationType is DTD or None.
  - ResolveEntity() now handles external entities.
    Added Mono.Xml.IXmlParserContext interface support.
* XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
* XmlTextReader.cs :
  - Fixed ReadAttributeValue() to reset returnEntityReference.
  - Added bool MaybeTextDecl only for ResolveEntity().
  - Fixed ReadWhitespace(). In fact its value is considered even if it
    is in the end of the XML.
  - Fixed ReadXmlDeclaration(). Now skips text declaration.
  - CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
  - ReadContentSpec() should set OrderType = OR for mixed model.
    Fixed to set content element name correctly.
  - ImportAsPERef() now skips Text declaration.
  - Type of enumerated default attributes shold be string.
  - Undeclared PE error is now handled as DTD's VC error, not
    XmlTextReader's WFC error.
* XmlValidatingReader.cs : BaseURI should provide that of
  original XmlReader's when read was not started yet.
  Fixed XmlResolver to delegate to DTDValidatingReader.

* XmlAttributeCollection.cs : Acquiring attList declaration is
  insufficient especially in case of lack of elementdecl.
* XmlChar.cs : (Maybe this is compact than XmlConstructs.)
  added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
  IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.

* XmlInputStream.cs : Removed "version" declaration check. It should
  be done by XmlTextReader.

* XmlNodeReader.cs : added internal GetInternalParserContext() and now
  it can be used in XmlValidatingReader.ResolveEntity().
  ResolveEntity() sets XmlTextReader.MaybeTextDecl.

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

20 years ago2003-08-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 7 Aug 2003 22:06:16 +0000 (22:06 -0000)]
2003-08-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* System.Xml.dll.sources: Add Mono.Xml/IHasXmlParserContext.cs.

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

20 years ago2003-08-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 7 Aug 2003 22:04:46 +0000 (22:04 -0000)]
2003-08-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* added IHasXmlParserContext.cs.

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

20 years ago2003-08-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 7 Aug 2003 22:00:44 +0000 (22:00 -0000)]
2003-08-07  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* BuiltInDatatypes.cs : Fixed whitespace facet in XsdToken.
  Tokenized type of nmtokens and entities is string [].
* XmlSchema.cs : Changed IsCompile implementation a bit.
  Compile() should reset compiled contents.
* XmlSchemaDatatype.cs : Fixed collapsing Normalize().
* XmlSchemaObject.cs : added CompilationId initialization.

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

20 years ago2003-08-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 7 Aug 2003 21:28:55 +0000 (21:28 -0000)]
2003-08-07  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranchingType): This is now nested in the
`FlowBranching' class and called `BranchingType'.

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

20 years agoprecompiled windows version updated
Alexandre Pigolkine [Thu, 7 Aug 2003 21:28:50 +0000 (21:28 -0000)]
precompiled windows version updated

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

20 years ago2003-08-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 7 Aug 2003 21:20:47 +0000 (21:20 -0000)]
2003-08-07  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs: Moved all the control flow analysis code into
its own file.

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

20 years ago2003-08-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 7 Aug 2003 19:58:34 +0000 (19:58 -0000)]
2003-08-07  Martin Baulig  <martin@ximian.com>

* assign.cs (Assign.DoResolve): `target' must either be an
IAssignMethod or an EventAccess; report a CS0131 otherwise.  Fixes
#37319.

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

20 years ago2003-08-07 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 7 Aug 2003 19:45:06 +0000 (19:45 -0000)]
2003-08-07 Ben Maurer  <bmaurer@users.sourceforge.net>

* XslTransformProcessor.cs: Add a table to detect when an object
is busy.
* XslAttributeSet.cs: Use the above table. Dont throw nullref
exception when no use-attribute-sets are specified.

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

20 years agoFixed imm16 range check.
Paolo Molaro [Thu, 7 Aug 2003 14:13:05 +0000 (14:13 -0000)]
Fixed imm16 range check.

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

20 years agoThu Aug 7 15:59:35 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 7 Aug 2003 14:12:28 +0000 (14:12 -0000)]
Thu Aug 7 15:59:35 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: fixed indexed load and unsigned compares.

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

20 years ago2003-08-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 7 Aug 2003 05:23:50 +0000 (05:23 -0000)]
2003-08-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (BinaryMethod): This kind of expression is created by the
Binary class if it determines that the operator has to be handled
by a method.

(BinaryDelegate): This kind of expression is created if we are
dealing with a + or - operator on delegates.

(Binary): remove method, argumetns, and DelegateOperator: when
dealing with methods,

* ecore.cs (EventExpr.EmitAddOrRemove): Update to new layout.

* statement.cs (Block): use bitfields for the three extra booleans
we had in use.   Remove unused topblock parameter.

* codegen.cs: Remove unecessary argument to Block.EmitTopBlock

* assign.cs: Drop extra unneeded tests.

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

20 years ago* Xr/Bitmap.cs: Reformatted. All public methods turn into
Duncan Mak [Thu, 7 Aug 2003 03:38:55 +0000 (03:38 -0000)]
* Xr/Bitmap.cs: Reformatted. All public methods turn into
corresponding explicit interface implmentations.

* wine/Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.

* wine/Bitmap.cs:
* wine/Image.cs: Reformatted.

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

20 years ago2003-08-07 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Thu, 7 Aug 2003 03:36:22 +0000 (03:36 -0000)]
2003-08-07 Gaurav Vaish <gvaish_mono AT lycos.com>

* ControlAdapter.cs     : Mark Render(...) virtual.
* HtmlControlAdapter.cs : AddAttributes(...),
                          ExitSecondaryUIMode(),
                          LoadAdapterState(),
                          Render(...)               - Implemented.

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

20 years agoupdate
Miguel de Icaza [Thu, 7 Aug 2003 03:31:30 +0000 (03:31 -0000)]
update

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

20 years ago* ItfImage.cs: Reformatted and removed sections that were
Duncan Mak [Thu, 7 Aug 2003 01:26:42 +0000 (01:26 -0000)]
* ItfImage.cs: Reformatted and removed sections that were
commented out. Added missing methods that were in
System.Drawing.Image but not the interface.

* ItfBitmap.cs: Reformatted.

* Image.cs: Reformatted. Make all methods defined in the interface
non-public, and expose them only as explicit interface implementations.

* Graphics.cs (FromImage): cast xrImage to IImage.

* Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.

* Image.cs: Reformatted.

* Graphics.cs (DrawImage): Cast wineImage to IImage before calling
interface properties.

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

20 years agoFix from J�rg Rosenkranz <joergr@voelcker.com>
Miguel de Icaza [Wed, 6 Aug 2003 19:14:41 +0000 (19:14 -0000)]
Fix from J�rg Rosenkranz <joergr@voelcker.com>

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

20 years ago2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 6 Aug 2003 10:19:34 +0000 (10:19 -0000)]
2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* TargetInvocationException.cs: Fixed signature

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

20 years ago2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 6 Aug 2003 10:16:04 +0000 (10:16 -0000)]
2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* corlib.dll.sources: added quite some files

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

20 years ago2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 6 Aug 2003 10:14:25 +0000 (10:14 -0000)]
2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* UCOMIBindCtx.cs: Added and implemented
* UCOMIConnectionPoint.cs: Added and implemented
* UCOMIConnectionPointContainer.cs: Added and implemented
* UCOMIEnumConnectionPoints.cs: Added and implemented
* UCOMIEnumConnections.cs: Added and implemented
* UCOMIEnumMoniker.cs: Added and implemented
* UCOMIEnumString.cs: Added and implemented
* UCOMIEnumVARIANT.cs: Added and implemented
* UCOMIMoniker.cs: Added and implemented
* UCOMIPersistFile.cs: Added and implemented
* UCOMIRunningObjectTable.cs: Added and implemented
* UCOMIStream.cs: Added and implemented

* UCOMTypeComp.cs: renamed
* UCOMTypeInfo.cs: renamed
* UCOMTypeLib.cs: renamed

* ITypeLibConverter.cs: Fixed interface signature

* ComSourceInterfacesAttribute.cs: Added and implemented
* IDispatchImplAttribute.cs: Added and implemented
* InvalidComObjectException.cs: Added and implemented
* InvalidOleVariantTypeException.cs: Added and implemented
* MarshalDirectiveException.cs: Added and implemented
* SafeArrayRankMismatchException.cs: Added and implemented
* SafeArrayTypeMismatchException.cs: Added and implemented
* SEHException.cs: Added attribute
* UnknownWrapper.cs: Added and implemented

* BIND_OPTS.cs:
* CONNECTDATA.cs:
* ELEMDESC.cs:
* FILETIME.cs:
* FUNCDESC.cs:
* IDLDESC.cs:
* PARAMDESC.cs:
* STATSTG.cs:
* TYPEATTR.cs:
* TYPEDESC.cs:
* TYPELIBATTR.cs:
* VARDESC.cs: Added and implemented

* CALLCONV.cs:
* FUNCFLAGS.cs:
* FUNCKIND.cs:
* IDispatchImplType.cs:
* IDLFLAG.cs:
* IMPLTYPEFLAGS.cs:
* LIBFLAGS.cs:
* PARAMFLAG.cs:
* SYSKIND.cs:
* TYPEFLAGS.cs:
* TypeLibImporterFlags.cs:
* VARFLAGS.cs: Added and implemented

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

20 years ago2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 6 Aug 2003 10:10:18 +0000 (10:10 -0000)]
2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Locale.cs: Removed (added new version to Assembly directory)

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

20 years ago2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 6 Aug 2003 10:09:29 +0000 (10:09 -0000)]
2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* corlib.dll.sources: added/removed Locale.cs

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

20 years ago2003-08-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 6 Aug 2003 10:08:38 +0000 (10:08 -0000)]
2003-08-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Locale.cs: Added

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

20 years ago * mini.c: reenabled installation of handler for
Lluis Sanchez [Wed, 6 Aug 2003 08:57:01 +0000 (08:57 -0000)]
* mini.c: reenabled installation of handler for
  thread abort signal.

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

20 years ago2003-08-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 6 Aug 2003 07:08:12 +0000 (07:08 -0000)]
2003-08-06  Miguel de Icaza  <miguel@ximian.com>

* iterators.cs (Mapvariable): provide a mechanism to use prefixes.

* statement.cs (Foreach): Use VariableStorage instead of
LocalBuilders.

* codegen.cs (VariableStorage): New class used by clients that
require a variable stored: locals or fields for variables that
need to live across yield.

Maybe provide a convenience api for EmitThis+EmitLoad?

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

20 years agoAdd a multi-array test
Miguel de Icaza [Wed, 6 Aug 2003 07:02:54 +0000 (07:02 -0000)]
Add a multi-array test

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

20 years agoAdd tests, update tests
Miguel de Icaza [Wed, 6 Aug 2003 07:00:55 +0000 (07:00 -0000)]
Add tests, update tests

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

20 years agoupdate my info
John Luke [Wed, 6 Aug 2003 05:40:36 +0000 (05:40 -0000)]
update my info

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

20 years ago2003-08-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 6 Aug 2003 05:20:58 +0000 (05:20 -0000)]
2003-08-06  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs (GetTemporaryLocal, FreeTemporaryLocal): Recycle
these bad boys.

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

20 years agoStart settling in to Honolulu, Hawai`i.
Juli Mallett [Wed, 6 Aug 2003 04:32:29 +0000 (04:32 -0000)]
Start settling in to Honolulu, Hawai`i.

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

20 years agoSmall fix for static methods.
Martin Baulig [Wed, 6 Aug 2003 03:01:01 +0000 (03:01 -0000)]
Small fix for static methods.

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

20 years agoWhat's going on with the letter c today?
Duncan Mak [Wed, 6 Aug 2003 02:52:26 +0000 (02:52 -0000)]
What's going on with the letter c today?

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

20 years agobeh, again.
Duncan Mak [Wed, 6 Aug 2003 02:49:44 +0000 (02:49 -0000)]
beh, again.

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

20 years agobeh.
Duncan Mak [Wed, 6 Aug 2003 02:47:27 +0000 (02:47 -0000)]
beh.

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

20 years ago(GetTokenIndex): Add implementation for
Duncan Mak [Wed, 6 Aug 2003 02:46:42 +0000 (02:46 -0000)]
(GetTokenIndex): Add implementation for
IBuiltInPermission for Sebastien.

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

20 years agoFlush
Miguel de Icaza [Wed, 6 Aug 2003 02:27:53 +0000 (02:27 -0000)]
Flush

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

20 years ago2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 6 Aug 2003 02:21:40 +0000 (02:21 -0000)]
2003-08-05  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoStreamTest.cs: Added test case from bugzilla #40689 from
Henning Westerholt.

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

20 years ago2003-08-05 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 6 Aug 2003 02:21:05 +0000 (02:21 -0000)]
2003-08-05  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoStream.cs: Closing bug #40689. The Write method was re-written.
* SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
test) and corrected a bug in FinalDecrypt.
* RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
and 1.1.

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

20 years ago2003-08-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Aug 2003 02:15:21 +0000 (02:15 -0000)]
2003-08-06  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c: Added support for static fields,
properties and methods.

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

20 years ago2003-08-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 6 Aug 2003 01:24:45 +0000 (01:24 -0000)]
2003-08-05  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs (RemapLocal, RemapLocalLValue, RemapParameter,
RemapParameterLValue): New methods that are used to turn a
precomputed FieldInfo into an expression like this:

instance.FieldInfo

The idea is to use this instead of making LocalVariableReference
have more than one meaning.

* cs-parser.jay: Add error production to BASE.

* ecore.cs: Deal with TypeManager.GetField returning null, which
is now a valid return value.

(FieldExprNoAddress): New expression for Fields whose address can
not be taken.

* expression.cs (LocalVariableReference): During the resolve
phases, create new expressions if we are in a remapping context.
Remove code that dealt with remapping here.

(ParameterReference): same.

(ProxyInstance): New expression, like the `This' expression, but
it is born fully resolved.  We know what we are doing, so remove
the errors that are targeted to user-provided uses of `this'.

* statement.cs (Foreach): our variable is now stored as an
Expression;  During resolution, follow the protocol, dont just
assume it will return this.

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

20 years ago2003-08-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Aug 2003 01:03:57 +0000 (01:03 -0000)]
2003-08-06  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c: Don't store the MonoString's vtable to
make this work for applications with multiple application domains.

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

20 years ago* ZoneMembershipCondition.cs: Added.
Duncan Mak [Wed, 6 Aug 2003 00:34:49 +0000 (00:34 -0000)]
* ZoneMembershipCondition.cs: Added.

* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
headers do not match.

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

20 years ago* IsolatedStorageFilePermission.cs:
Duncan Mak [Wed, 6 Aug 2003 00:03:52 +0000 (00:03 -0000)]
* IsolatedStorageFilePermission.cs:
* RegistryPermission.cs:
* SecurityPermission.cs
* SiteIdentityPermission.cs:
* UIPermission.cs:
* UrlIdentityPermission.cs: (FromXml);
(ToXml): Implemented.

* PolicyStatement.cs (FromXml):
(ToXml): Implemented.

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

20 years ago2003-08-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 5 Aug 2003 23:44:24 +0000 (23:44 -0000)]
2003-08-05  Martin Baulig  <martin@ximian.com>

* StreamReader.cs (DiscardBufferedData): Do the same like on the
ms runtime: just discard the buffered data, but don't modify the
BaseStream.Position.

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

20 years ago2003-08-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 5 Aug 2003 23:43:05 +0000 (23:43 -0000)]
2003-08-06  Martin Baulig  <martin@ximian.com>

* support.cs (SeekableStreamReader.cs): New public class.

* cs-tokenizer.cs, cs-parser.jay, driver.cs: Use the new
SeekableStreamReader instead of the normal StreamReader.

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

20 years ago2003-08-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 5 Aug 2003 21:24:43 +0000 (21:24 -0000)]
2003-08-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* XslVariable.cs: Fix up how variables are evaluated.

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

20 years ago2003-08-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 5 Aug 2003 20:21:27 +0000 (20:21 -0000)]
2003-08-05  Martin Baulig  <martin@ximian.com>

* MonoSymbolTable.cs (MethodEntry.Index): New public field.

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

20 years ago2003-08-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 5 Aug 2003 20:19:38 +0000 (20:19 -0000)]
2003-08-05  Martin Baulig  <martin@ximian.com>

* StreamReader.cs (DiscardBufferedData): This is only allowed on
seekable streams.

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

20 years ago * XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
Lluis Sanchez [Tue, 5 Aug 2003 17:22:50 +0000 (17:22 -0000)]
* XmlSchemaImporter.cs: Implemented ImportTypeMapping and all needed parsing
  stuff.
* SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
* TypeData.cs: Added property that returns a TypeData that represents an array of
  the given TypeData.
* TypeTranslator.cs: Added GetArrayName() method.
  Added TypeDatas for missing primitive types.
* XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
  XmlRootAttribute. Added the namespace to all attributes being generated.
  Other fixes in the generation of code.
* XmlReflectionImporter: store the namespace of the type in the maps.
* XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
  class can generate text. Do not export inherited attributes of a class.
  Use the new root namespace stored in the map when generating the root element.
* XmlSerializationWriter: Always write a prefix when writing a qname, even if the
  namespace is the default namespace.
* XmlSerializationWriterInterpreter.cs: fixed missing "else".
* XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
  namespace instead of the map namespace (which can be different if the type
  has a XmlRoot element).
* XmlTypeMapMember.cs: Set the default value of the DefaultValue property
  to System.DBNull.Value.
* XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
  the collection if it has not yet been created.
* XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
  of the type. It may be different from the namespace of the map if the type
  has a XmlRoot element. Also added IsSimpleType property.
  In ClassMap, added AllMembers property.

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

20 years ago * XmlSchema.cs: Set IsCompiled to true after compiling.
Lluis Sanchez [Tue, 5 Aug 2003 17:13:49 +0000 (17:13 -0000)]
* XmlSchema.cs: Set IsCompiled to true after compiling.
  In Compile(): ignore included schemas that do not have a value
  in SchemaLocation. It means that FindElement can return null
  if the referred schema was ignored. Added check for that case.
  Compile schema after reading it.
* XmlSchemaCollection.cs: The targetNamespace of a schema may
  be null. Make XmlSchemaCollection work for this case.
* BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
  types: float, base64Binary, boolean.

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

20 years ago2003-08-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 5 Aug 2003 16:17:37 +0000 (16:17 -0000)]
2003-08-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlReaderCommonTests.cs : Its XmlValidatingReader.EntityHandling
  should be ExpandCharEntities.
* XmlValidatingReaderTests.cs : added ResolveEntity(),
  ResolveEntity2() and ResolveEntityWithoutDTD().

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

20 years ago2003-08-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 5 Aug 2003 16:09:57 +0000 (16:09 -0000)]
2003-08-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* DTDValidatingReader.cs :
  Added full ExpandEntities support for text node and entity reference
  node (although require many usage tests). Almost all methods and
  properties now have currentTextValue != null check, that field means
  that there are cached (entity-resolved) text.
  Implemented default attribute aware XmlLang and XmlSpace.
* XmlNodeReader.cs : ResolveEntity() should not require DTD.

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

20 years ago * CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
Lluis Sanchez [Tue, 5 Aug 2003 15:49:26 +0000 (15:49 -0000)]
* CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.

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

20 years ago * CodeGenerator.cs: Generate comments for properties and fields.
Lluis Sanchez [Tue, 5 Aug 2003 15:46:57 +0000 (15:46 -0000)]
* CodeGenerator.cs: Generate comments for properties and fields.
  Write a line separator between type declarations.

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

20 years agoTue Aug 5 12:21:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Aug 2003 10:32:07 +0000 (10:32 -0000)]
Tue Aug 5 12:21:08 CEST 2003 Paolo Molaro <lupus@ximian.com>

* cprop.c, mini-x86.c, cpu-pentium.md: fix buglets spotted
by Laurent Morichetti <l_m@pacbell.net>. Disabled local cprop
until it's fixed and actually useful.

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

20 years ago2003-08-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 5 Aug 2003 07:09:20 +0000 (07:09 -0000)]
2003-08-05  Nick Drochak <ndrochak@gol.com>

* IClassRef.cs: Fix build on .NET

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

20 years ago2003-08-04 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 5 Aug 2003 04:27:47 +0000 (04:27 -0000)]
2003-08-04  Duncan Mak  <duncan@ximian.com>

* IConstantMembershipCondition.cs: added.

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

20 years agoFlush
Miguel de Icaza [Tue, 5 Aug 2003 03:59:28 +0000 (03:59 -0000)]
Flush

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

20 years ago* AllMembershipCondition.cs:
Duncan Mak [Tue, 5 Aug 2003 03:08:44 +0000 (03:08 -0000)]
* AllMembershipCondition.cs:
* ApplicationDirectoryMembershipCondition.cs:
* PublisherMembershipCondition.cs: Added
IConstantMembershipCondition marker interface.

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

20 years agoFlush
Miguel de Icaza [Tue, 5 Aug 2003 01:40:04 +0000 (01:40 -0000)]
Flush

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

20 years agokeep loaded image buffer for a moment
Alexandre Pigolkine [Mon, 4 Aug 2003 22:40:27 +0000 (22:40 -0000)]
keep loaded image buffer for a moment

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

20 years ago2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 4 Aug 2003 22:05:24 +0000 (22:05 -0000)]
2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>

* XslMessage.cs: Implement.

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

20 years ago2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 4 Aug 2003 21:54:23 +0000 (21:54 -0000)]
2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>

* XslText.cs: I can make that parsing simpler!
* XslText.cs, XslValueof.cs: support for disable-output-escaping.

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

20 years agotype s/null/""
Ben Maurer [Mon, 4 Aug 2003 21:52:48 +0000 (21:52 -0000)]
type s/null/""

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

20 years ago2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 4 Aug 2003 21:33:23 +0000 (21:33 -0000)]
2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>

* Compiler.cs: Add support for boolean attributes (yes/no).

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

20 years ago* FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
Duncan Mak [Mon, 4 Aug 2003 20:48:19 +0000 (20:48 -0000)]
* FloatingPointFormatter.cs (Normalize): Apply a patch from Aleksey
Demakov <avd@openlinksw.com> to fix formatting for Big power of 10
floating point values. This fixes bug #46175.

* FloatingPointFormatterTest.cs: New file. Added with one test by
Aleksey Demakov <avd@openlinksw.com>.

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

20 years ago* Convert.cs (ToUInt16): Throw an OverflowException correctly, as
Duncan Mak [Mon, 4 Aug 2003 20:28:59 +0000 (20:28 -0000)]
* Convert.cs (ToUInt16): Throw an OverflowException correctly, as
noted by c5n4kh6u02@sneakemail.com in
http://bugzilla.ximian.com/show_bug.cgi?id=43098.

* ConvertTest.cs (TestToUInt16): Add a new case noted by
c5n4kh6u02@sneakemail.com in
http://bugzilla.ximian.com/show_bug.cgi?id=43098.

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

20 years ago2003-08-04 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 4 Aug 2003 16:20:16 +0000 (16:20 -0000)]
2003-08-04  Duncan Mak  <duncan@ximian.com>

* StrongNamePublicKeyBlob.cs (FromString): Added new internal
factory method to create a new blob from a string.

2003-08-03  Duncan Mak  <duncan@ximian.com>

* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: Implemented.

2003-08-01  Duncan Mak  <duncan@ximian.com>

* PolicyStatement.cs (Copy): Added.

* PolicyLevel.cs: Implemented missing methods.

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

20 years ago * configure.in: updated, neater ARM FPU test.
Malte Hildingson [Mon, 4 Aug 2003 14:25:50 +0000 (14:25 -0000)]
* configure.in: updated, neater ARM FPU test.

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

20 years ago2003-08-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 4 Aug 2003 13:47:44 +0000 (13:47 -0000)]
2003-08-04  Martin Baulig  <martin@ximian.com>

* Makefile: Put back test-211.cs.

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

20 years ago2003-08-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 4 Aug 2003 13:45:52 +0000 (13:45 -0000)]
2003-08-04  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (CLOSE_PARENS_CAST, CLOSE_PARENS_NO_CAST,
CLOSE_PARENS_OPEN_PARENS, CLOSE_PARENS_MINUS): New tokens to
deambiguate casts and delegate invocations.
(parenthesized_expression): Use the new tokens to ensure this is
not a cast of method invocation.

* cs-tokenizer.cs (is_punct): Return one of the new special tokens
when reading a `)' and Deambiguate_CloseParens () was previously
called.

* expression.cs (ParenthesizedExpression): New class.  This is
just used for the CS0075 test.
(Binary.DoResolve): Check for CS0075.

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

20 years ago2003-08-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 4 Aug 2003 13:32:10 +0000 (13:32 -0000)]
2003-08-04  Martin Baulig  <martin@ximian.com>

* StreamReader.cs (DiscardBufferedData): Implemented.

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

20 years ago2003-08-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 4 Aug 2003 13:12:48 +0000 (13:12 -0000)]
2003-08-04  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c: Completely reworked the type support; the
most important thing is that we're now just using one single
`MonoType' instance per type.

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