Jackson Harper [Wed, 13 Aug 2003 04:01:51 +0000 (04:01 -0000)]
* AssemblyInfo.cs: Bump up the vizzity-version number.
svn path=/trunk/mcs/; revision=17305
Duncan Mak [Wed, 13 Aug 2003 00:24:08 +0000 (00:24 -0000)]
(constructor): Properly implement RFC 2396, Par. 5.2,
part 6a.
This fixes bug #45614.
svn path=/trunk/mcs/; revision=17304
Duncan Mak [Tue, 12 Aug 2003 21:42:57 +0000 (21:42 -0000)]
Update the mono-wine package number.
svn path=/trunk/mono/; revision=17303
Rafael Teixeira [Tue, 12 Aug 2003 21:42:40 +0000 (21:42 -0000)]
bump up version number to 0.26
svn path=/trunk/mcs/; revision=17302
Martin Baulig [Tue, 12 Aug 2003 21:20:12 +0000 (21:20 -0000)]
2003-08-12 Martin Baulig <martin@ximian.com>
* expression.cs (Indirection.CacheTemporaries): Create the
LocalTemporary with the pointer type, not its element type.
svn path=/trunk/mcs/; revision=17301
Duncan Mak [Tue, 12 Aug 2003 18:35:39 +0000 (18:35 -0000)]
csc was having trouble resolving the type name because the namespace
name (Cairo) is the same as the class name (also Cairo). To resolve
this ambiguity while keeping the code looking decent, the Cairo.Cairo
class is now Cairo.CairoAPI.
svn path=/trunk/mcs/; revision=17295
Lluis Sanchez [Tue, 12 Aug 2003 18:10:48 +0000 (18:10 -0000)]
* XmlSchemaImporter.cs: ImportTypeMapping doesn't need to check if the
schema type it is importing is a class or an array. It will always
be a class.
svn path=/trunk/mcs/; revision=17294
Lluis Sanchez [Tue, 12 Aug 2003 16:25:20 +0000 (16:25 -0000)]
* XmlSerializationWriterInterpreter.cs: any element members can be serialized
as text nodes. Support it.
svn path=/trunk/mcs/; revision=17293
Aleksey Ryabchuk [Tue, 12 Aug 2003 13:58:00 +0000 (13:58 -0000)]
added missing properties, so menu sample app can be compiled
svn path=/trunk/mcs/; revision=17289
Duncan Mak [Tue, 12 Aug 2003 10:11:19 +0000 (10:11 -0000)]
* Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
the enums no longer need to be nested inside the Cairo class.
* Mono.Cairo/Matrix.cs:
* Mono.Cairo/Object.cs:
* Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
the name of a class, esp. now that we have namespaces. So I have
decided to rename them.
svn path=/trunk/mcs/; revision=17284
Gonzalo Paniagua Javier [Tue, 12 Aug 2003 08:49:46 +0000 (08:49 -0000)]
don't exceed the maximum number of worker threads
svn path=/trunk/mono/; revision=17283
Duncan Mak [Tue, 12 Aug 2003 08:24:58 +0000 (08:24 -0000)]
(Pattern): Re-enable this. This
is actually a CairoSurfaceObject (a C cairo_surface_t); the
CairoPatternObject is just something I made up...
svn path=/trunk/mcs/; revision=17282
Duncan Mak [Tue, 12 Aug 2003 04:06:58 +0000 (04:06 -0000)]
Add DictionaryBaseTest.cs by Carlos
Barcenilla (barce@frlp.utn.edu.ar).
svn path=/trunk/mcs/; revision=17281
Nick Drochak [Tue, 12 Aug 2003 01:58:31 +0000 (01:58 -0000)]
2003-08-12 Nick Drochak <ndrochak@gol.com>
* NewArrayListTest.cs: Disable part that was failing on .NET. Marked
with FIXME.
svn path=/trunk/mcs/; revision=17277
Nick Drochak [Tue, 12 Aug 2003 01:39:25 +0000 (01:39 -0000)]
2003-08-12 Nick Drochak <ndrochak@gol.com>
* Makefile: put .dll on System.Drawing reference. Fix CSC build.
svn path=/trunk/mcs/; revision=17276
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 23:47:51 +0000 (23:47 -0000)]
2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fixed typos. Closes bug #44197.
svn path=/trunk/mcs/; revision=17275
Duncan Mak [Mon, 11 Aug 2003 23:39:24 +0000 (23:39 -0000)]
Added test case submitted by Tum in bug #45036.
svn path=/trunk/mcs/; revision=17274
Duncan Mak [Mon, 11 Aug 2003 22:21:09 +0000 (22:21 -0000)]
(SUBDIRS): Add Mono.Cairo.dll
svn path=/trunk/mcs/; revision=17273
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 22:17:18 +0000 (22:17 -0000)]
2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs:
* HttpApplicationFactory.cs: fix duplicate application OnStart events.
Patch by Patrik Torstensson.
svn path=/trunk/mcs/; revision=17272
Duncan Mak [Mon, 11 Aug 2003 22:11:10 +0000 (22:11 -0000)]
(assemblies_DATA): Add Mono.Cairo.dll.
svn path=/trunk/mono/; revision=17271
Duncan Mak [Mon, 11 Aug 2003 21:24:21 +0000 (21:24 -0000)]
* makefile:
* Mono.Cairo.dll.sources: Added.
* Mono.Cairo/Cairo.cs:
* Mono.Cairo/CairoObject.cs:
* Mono.Cairo/CairoMatrixObject.cs:
* Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
svn path=/trunk/mcs/; revision=17270
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 21:19:20 +0000 (21:19 -0000)]
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Delegate.cs: CreteDelegate (Type, MethodInfo) only supports static
methods under MS.
svn path=/trunk/mcs/; revision=17269
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 21:18:07 +0000 (21:18 -0000)]
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControl.cs: more Delegate.CreateDelegate fixes.
svn path=/trunk/mcs/; revision=17268
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 21:12:48 +0000 (21:12 -0000)]
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
overload. The previous one only admits static methods.
svn path=/trunk/mcs/; revision=17267
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 20:37:35 +0000 (20:37 -0000)]
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: when mono_async_invoke was called, no one took care of
monitoring the queue. So if the method invoked took some time and we
got new async invoke requests after 500 ms (the thread created waited
that long in WaitForSingleObject), the new async invoke was not called
until the previous one finished.
This is fixed now. Thanks to Totte for helping with it.
svn path=/trunk/mono/; revision=17266
Duncan Mak [Mon, 11 Aug 2003 20:35:40 +0000 (20:35 -0000)]
* DictionaryBase.cs: Applied patch from Carlos Barcenilla
(barce@frlp.utn.edu.ar).
* DictionaryBaseTest.cs: added new test provided by Carlos Barcenilla
(barce@frlp.utn.edu.ar).
svn path=/trunk/mcs/; revision=17265
Duncan Mak [Mon, 11 Aug 2003 20:09:11 +0000 (20:09 -0000)]
(Version): Return the same numbers as the MS
implementation.
svn path=/trunk/mcs/; revision=17264
Gonzalo Paniagua Javier [Mon, 11 Aug 2003 16:45:56 +0000 (16:45 -0000)]
2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: set threadpool_thread to TRUE. Patch by totte.
svn path=/trunk/mono/; revision=17260
Miguel de Icaza [Mon, 11 Aug 2003 15:57:16 +0000 (15:57 -0000)]
Distribute other missing assemblies
svn path=/trunk/mono/; revision=17259
Miguel de Icaza [Mon, 11 Aug 2003 15:54:06 +0000 (15:54 -0000)]
Distribute Mono.Http.dll
svn path=/trunk/mono/; revision=17258
Miguel de Icaza [Mon, 11 Aug 2003 15:46:44 +0000 (15:46 -0000)]
Bug fix: missing from patch
svn path=/trunk/mcs/; revision=17257
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