Miguel de Icaza [Mon, 11 Aug 2003 15:46:08 +0000 (15:46 -0000)]
Add samples to the dist
svn path=/trunk/mono/; revision=17256
Miguel de Icaza [Mon, 11 Aug 2003 15:43:00 +0000 (15:43 -0000)]
Add
svn path=/trunk/mono/; revision=17255
Dick Porter [Mon, 11 Aug 2003 14:51:06 +0000 (14:51 -0000)]
Fix diff cut&paste syntax error that mcs didnt notice
svn path=/trunk/mcs/; revision=17254
Aleksey Ryabchuk [Mon, 11 Aug 2003 14:15:10 +0000 (14:15 -0000)]
* Control.cs : MouseButtons, PointToClient, PointToScreen were implemented.
removed unnecessary check from UpdateBounds
* Panel.cs : ability to change BorderStyle at runtime
svn path=/trunk/mcs/; revision=17253
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 13:25:21 +0000 (13:25 -0000)]
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CheckBox.cs: save viewstate when needed and correctly handle post
data. Fixes bug #47462.
svn path=/trunk/mcs/; revision=17252
Andreas N [Mon, 11 Aug 2003 12:39:30 +0000 (12:39 -0000)]
2003-08-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* XsltCompileException.cs: Fixed/ Implemented rest
* XsltException.cs: Added internal constructor
svn path=/trunk/mcs/; revision=17251
Andreas N [Mon, 11 Aug 2003 12:39:01 +0000 (12:39 -0000)]
2003-08-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* System.Xml.dll.sources: Added Assembly/Locale.cs
svn path=/trunk/mcs/; revision=17250
Andreas N [Mon, 11 Aug 2003 12:37:09 +0000 (12:37 -0000)]
2003-08-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Locale.cs: Added
svn path=/trunk/mcs/; revision=17249
Aleksey Ryabchuk [Mon, 11 Aug 2003 09:34:11 +0000 (09:34 -0000)]
* TreeView.cs
* TreeNode.cs
* TreeNodeCollection.cs
* win32functions.cs : more implementation added
* button.cs : fix method signature
svn path=/trunk/mcs/; revision=17245
Jackson Harper [Mon, 11 Aug 2003 01:49:32 +0000 (01:49 -0000)]
* StringHelper.cs: If an escape is not valid just use the \
character. Fix bug where escape char was not getting set.
svn path=/trunk/mcs/; revision=17242
Martin Baulig [Mon, 11 Aug 2003 01:22:30 +0000 (01:22 -0000)]
2003-08-11 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c (mono_debugger_lookup_type): New function.
svn path=/trunk/mono/; revision=17238
Miguel de Icaza [Sun, 10 Aug 2003 23:19:48 +0000 (23:19 -0000)]
2003-08-10 Miguel de Icaza <miguel@ximian.com>
* UdpClient.cs (Receive): Fix Bug 45633; We should do a blocking
call until a datagram is arrives from the remote host. This
removes the 512 "magic" buffer size when we did not have any data.
svn path=/trunk/mcs/; revision=17237
Miguel de Icaza [Sun, 10 Aug 2003 22:59:52 +0000 (22:59 -0000)]
2003-08-10 Miguel de Icaza <miguel@ximian.com>
* Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
replicated tests, and have a routine that does the heavy lifting.
2003-08-10 Miguel de Icaza <miguel@ximian.com>
* ArrayTest.cs: New test from Thong (Tum) Nguyen.
svn path=/trunk/mcs/; revision=17236
Jackson Harper [Sun, 10 Aug 2003 21:27:23 +0000 (21:27 -0000)]
* StringHelper.cs: If an escape is not valid just use
the \ character.
svn path=/trunk/mcs/; revision=17233
Jackson Harper [Sun, 10 Aug 2003 21:21:50 +0000 (21:21 -0000)]
* ILParser.jay: Create an empty array list for empty type
lists. Start phasing out INT32 because the tokenizer will no
longer create this token.
svn path=/trunk/mcs/; revision=17232
Jackson Harper [Sun, 10 Aug 2003 21:18:51 +0000 (21:18 -0000)]
* CodeGen.cs: Fix tabbing
* ModifiableType.cs: Modify a types signature when the type is
modified instead of waiting untill the end. Signatures need to be
modified immediatly because they are used in method signatures and
would fail for overloaded operations if sigs weren't modified
right away.
* ExternTypeRef.cs: Add signature modifications, fix some tabbing
* GenericTypeInst.cs: Use ModifiableType as a base
* GenericTypeRef.cs: Use ModifiableType as a base
* PeapiTypeRef.cs: No longer take or modify type names.
* PrimitiveTypeRef.cs: Add signature modifications, fix some tabbing.
* Sentinel.cs: Add signature modifications, fix some tabbing.
* TypeRef.cs: Add signature modifications, fix some tabbing.
svn path=/trunk/mcs/; revision=17231
Miguel de Icaza [Sun, 10 Aug 2003 21:14:51 +0000 (21:14 -0000)]
2003-08-10 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay: FIRST_KEYWORD, LAST_KEYWORD: used to know if a
token was a keyword or not.
Add `error' options where an IDENTIFIER was expected; Provide
CheckToken and CheckIdentifierToken convenience error reporting
functions.
Do not use `DeclSpace.Namespace', use `DeclSpace.NamespaceEntry'.
* decl.cs: Rename `NamespaceEntry Namespace' public field into
NameSpaceEntry NameSpaceEntry.
(LookupInterfaceOrClass): Avoid creating a full qualified name
from namespace and name: avoid doing lookups when we know the
namespace is non-existant. Use new Tree.LookupByNamespace which
looks up DeclSpaces based on their namespace, name pair.
* driver.cs: Provide a new `parser verbose' to display the
exception thrown during parsing. This is turned off by default
now, so the output of a failure from mcs is more graceful.
* namespace.cs: Track all the namespaces defined in a hashtable
for quick lookup.
(IsNamespace): New method
svn path=/trunk/mcs/; revision=17230
Miguel de Icaza [Sun, 10 Aug 2003 19:12:56 +0000 (19:12 -0000)]
Add
svn path=/trunk/mcs/; revision=17229
Miguel de Icaza [Sun, 10 Aug 2003 18:28:42 +0000 (18:28 -0000)]
2003-08-10 Miguel de Icaza <miguel@ximian.com>
* cpu-pentium.md (ldtoken): Change the length for mul.ovf.un from
12 to 16. This fixes bug #47453.
svn path=/trunk/mono/; revision=17228
Gonzalo Paniagua Javier [Sun, 10 Aug 2003 14:01:43 +0000 (14:01 -0000)]
2003-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CollectionBaseTest.cs: added new test provided by Carlos Barcenilla
(barce@frlp.utn.edu.ar).
svn path=/trunk/mcs/; revision=17225
Gonzalo Paniagua Javier [Sun, 10 Aug 2003 14:00:32 +0000 (14:00 -0000)]
2003-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CollectionBase.cs: applied patch from Carlos Barcenilla
(barce@frlp.utn.edu.ar).
svn path=/trunk/mcs/; revision=17224
Gonzalo Paniagua Javier [Sun, 10 Aug 2003 13:38:14 +0000 (13:38 -0000)]
2003-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Image.cs: commented out [MonoTODO]'s to fix windows build. Why?
svn path=/trunk/mcs/; revision=17222
Atsushi Eno [Sun, 10 Aug 2003 09:00:36 +0000 (09:00 -0000)]
2003-08-10 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlInputStream.cs : Reverted CanSeek as to return false anyway.
svn path=/trunk/mcs/; revision=17221
Dennis Hayes [Sun, 10 Aug 2003 07:54:44 +0000 (07:54 -0000)]
signiture fixes. added control as base class for ComponentEditorForm.cs
svn path=/trunk/mcs/; revision=17220
Dennis Hayes [Sun, 10 Aug 2003 07:52:51 +0000 (07:52 -0000)]
signiture fixes
svn path=/trunk/mcs/; revision=17219
Atsushi Eno [Sun, 10 Aug 2003 07:20:07 +0000 (07:20 -0000)]
2003-08-10 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDObjectModel.cs : added XmlResolver related members. Added
invalid entity recursion logic. Added encodingdecl check on textdecl.
* DTDValidatingReader.cs : It now implements IHasXmlParserContext.
* XmlChar.cs : IsPubidChar() should not allow TAB(	).
* XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
to receive DTDObjectModel to support other than XmlTextReader.
2) Most of its public member is now based on DTDObjectModel.
* XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
2) ReadNode() now considers XmlParserContext's DTDObjectModel for
other than XmlTextReader (such as XmlValidatingReader).
* XmlNode.cs : code cleanup only.
* XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
* XmlTextReader.cs : 1) Illegal entity reference check logic was moved
from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
change on ReadEntityReference(). 3) ReadAttribute() now checks
reference to external entity reference. 4) Added textdecl encoding
check. 5) DTDObjectModel fields are now set correctly. 6) added
PERef markup nest check. 7) If PEDecl was not found, it might be WFC
violation, not only be VC violation. 8) ReadEntityDecl() now receives
its declared entity itself, and this method checks IsInternalSubset.
* XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
2) ValidationType.None should be the same as Auto, not DTD (in the
future it should keep xml schema's default values).
Pending Stuff in XmlTextReader which breaks some NUnit tests;
1) SetEntityReferenceProperies() has check for illegal references.
2) ReadAttribute(bool) has similar check for illegal references.
svn path=/trunk/mcs/; revision=17218
Dennis Hayes [Sun, 10 Aug 2003 06:02:32 +0000 (06:02 -0000)]
signiture fixes
svn path=/trunk/mcs/; revision=17217
Dennis Hayes [Sun, 10 Aug 2003 05:21:42 +0000 (05:21 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=17216
Dennis Hayes [Sun, 10 Aug 2003 05:19:53 +0000 (05:19 -0000)]
2003-08-08 Dennis Hayes <dennish@raytek.com>
* Control.cs
* MonthCalander.cs
* Signiture corections.
* implmentation stuff changed to internal
* event "e" params names changed to "pevent" type names
svn path=/trunk/mcs/; revision=17215
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
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
Miguel de Icaza [Sun, 10 Aug 2003 03:16:30 +0000 (03:16 -0000)]
Flush
svn path=/trunk/mono/; revision=17212
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
Miguel de Icaza [Sat, 9 Aug 2003 21:59:57 +0000 (21:59 -0000)]
Flush
svn path=/trunk/mono/; revision=17207
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
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
Miguel de Icaza [Sat, 9 Aug 2003 15:24:45 +0000 (15:24 -0000)]
Add two-level hash
svn path=/trunk/mcs/; revision=17204
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
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
Miguel de Icaza [Sat, 9 Aug 2003 07:39:28 +0000 (07:39 -0000)]
Flush
svn path=/trunk/mcs/; revision=17201
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
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
Duncan Mak [Fri, 8 Aug 2003 22:55:08 +0000 (22:55 -0000)]
(DrawBezier): Fixed.
svn path=/trunk/mcs/; revision=17198
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
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
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
Aleksey Ryabchuk [Fri, 8 Aug 2003 15:49:35 +0000 (15:49 -0000)]
more implementation added
svn path=/trunk/mcs/; revision=17191
Aleksey Ryabchuk [Fri, 8 Aug 2003 11:50:59 +0000 (11:50 -0000)]
more implementation added
svn path=/trunk/mcs/; revision=17190
Miguel de Icaza [Fri, 8 Aug 2003 05:51:23 +0000 (05:51 -0000)]
Flush
svn path=/trunk/mcs/; revision=17187
Miguel de Icaza [Fri, 8 Aug 2003 05:49:37 +0000 (05:49 -0000)]
Import changes from mainline
svn path=/trunk/mcs/; revision=17186
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
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
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
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
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
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
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
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
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
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
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
Alexandre Pigolkine [Thu, 7 Aug 2003 21:28:50 +0000 (21:28 -0000)]
precompiled windows version updated
svn path=/trunk/mcs/; revision=17162
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
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
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
Paolo Molaro [Thu, 7 Aug 2003 14:13:05 +0000 (14:13 -0000)]
Fixed imm16 range check.
svn path=/trunk/mono/; revision=17157
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
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
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
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
Miguel de Icaza [Thu, 7 Aug 2003 03:31:30 +0000 (03:31 -0000)]
update
svn path=/trunk/mono/; revision=17150
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Wed, 6 Aug 2003 07:00:55 +0000 (07:00 -0000)]
Add tests, update tests
svn path=/trunk/mcs/; revision=17106
John Luke [Wed, 6 Aug 2003 05:40:36 +0000 (05:40 -0000)]
update my info
svn path=/trunk/mono/; revision=17104
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
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
Martin Baulig [Wed, 6 Aug 2003 03:01:01 +0000 (03:01 -0000)]
Small fix for static methods.
svn path=/trunk/mono/; revision=17097
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
Duncan Mak [Wed, 6 Aug 2003 02:49:44 +0000 (02:49 -0000)]
beh, again.
svn path=/trunk/mcs/; revision=17095
Duncan Mak [Wed, 6 Aug 2003 02:47:27 +0000 (02:47 -0000)]
beh.
svn path=/trunk/mcs/; revision=17094
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
Miguel de Icaza [Wed, 6 Aug 2003 02:27:53 +0000 (02:27 -0000)]
Flush
svn path=/trunk/mcs/; revision=17092
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
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
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
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
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
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
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
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