Martin Baulig [Mon, 28 Jul 2003 17:29:29 +0000 (17:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=16777
Martin Baulig [Mon, 28 Jul 2003 16:36:10 +0000 (16:36 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* cs0075.cs: This test case was incorrect; according to the spec,
`(double) -1' is allowed since `double' is a builtin type.
However, `(A) -1' is not allowed where `A' is a valuetype and has
an implicit conversion from int.
svn path=/trunk/mcs/; revision=16776
Martin Baulig [Mon, 28 Jul 2003 16:34:12 +0000 (16:34 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* test-210.cs: New test for bug #46923.
svn path=/trunk/mcs/; revision=16775
Martin Baulig [Mon, 28 Jul 2003 16:23:04 +0000 (16:23 -0000)]
2003-07-28 Martin Baulig <martin@ximian.com>
* cs-parser.jay: Solve the abiguities with casts; fixes bugs
#46923 and #35459.
(CAST_FOLLOWING_TOKEN, NO_CAST_FOLLOWING_TOKEN): New tokens;
they're returned by the tokenizer in some cases to resolve
ambiguities with casts.
(invocation_expression): Tell the tokenizer to check whether the
following token may follow a cast.
(cast_expression): A cast is only a cast if it's followed by a
token which may actually follow a cast.
* expression.cs (ParenthesizedExpression): New class.
(Binary.DoResolve): Fix #35459.
svn path=/trunk/mcs/; revision=16774
Sebastien Pouliot [Mon, 28 Jul 2003 15:18:11 +0000 (15:18 -0000)]
2003-07-28 Sebastien Pouliot <spouliot@videotron.ca>
* XmlDsigC14NTransformTest.cs: Corrected test for .NET 1.1 (that was a
bug in .NET 1.0). There are no more unit test failures on Windows.
svn path=/trunk/mcs/; revision=16773
Miguel de Icaza [Mon, 28 Jul 2003 13:22:52 +0000 (13:22 -0000)]
Flush
svn path=/trunk/mono/; revision=16770
Nick Drochak [Mon, 28 Jul 2003 13:07:09 +0000 (13:07 -0000)]
2003-07-28 Nick Drochak <ndrochak@gol.com>
* Makefile: added test-local target. Fixes build problem.
svn path=/trunk/mcs/; revision=16769
Dick Porter [Mon, 28 Jul 2003 12:44:53 +0000 (12:44 -0000)]
Build fix.
svn path=/trunk/mcs/; revision=16768
Piers Haken [Mon, 28 Jul 2003 06:22:00 +0000 (06:22 -0000)]
2003-07-27 Piers Haken <piersh@friskit.com>
* Expression.cs:
* DefaultContext.cs:
catch FormatExceptions while parsing numbers
svn path=/trunk/mcs/; revision=16767
Jackson Harper [Mon, 28 Jul 2003 05:40:05 +0000 (05:40 -0000)]
* CodeGen.cs: Set the assembly name when creating the PEFile.
svn path=/trunk/mcs/; revision=16766
Jackson Harper [Mon, 28 Jul 2003 05:17:43 +0000 (05:17 -0000)]
* CodeGen.cs: Do not create the PEFile untill the resolve phase. This
fixes the problem with ilasm creating blank files if their is a
failure in the parsing phase.
* ExternTable.cs: Do not reference the assemblies untill after the
PEFile untill the Resolve phase.
svn path=/trunk/mcs/; revision=16765
Jackson Harper [Mon, 28 Jul 2003 04:18:37 +0000 (04:18 -0000)]
* ExternFieldRef.cs: Resolve as a typespec field if neccasary, make
sure to not resolve more then once.
* ExternMethodRef.cs: Resolve as a typespec method if neccasary
* ExternTypeRef.cs: Use modifiable type as base class
* FieldRef.cs: Make sure to not resolve more then once.
* GlobalFieldRef.cs: Make sure to not resolve more then once.
* GlobalMethodRef.cs: Make sure to not resolve more then once.
* ITypeRef.cs: Types no longer need the AsClassRef method
* MethodDef.cs: Only decriment param count for vararg methods if there
is an ellipsis on the end of the param list.
Fix little bug so return types allways get resolved.
* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
arrays instead of null
* PrimitiveTypeRef.cs: Use modifiable type as a base
* TypeRef.cs: Use modifable type as base, and let it do all the
modifications
* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
* ModifiableType.cs: New base class for all types. This class will
handle all of the typemodification and determine whether methods
should be added to the type or the types typespec.
svn path=/trunk/mcs/; revision=16764
Jackson Harper [Mon, 28 Jul 2003 04:16:53 +0000 (04:16 -0000)]
* ILParser.jay: Use TypeRef.Ellipsis instead of null for a
placeholder in bound arrays. Do not use AsClassRef anymore.
svn path=/trunk/mcs/; revision=16763
Jackson Harper [Mon, 28 Jul 2003 04:15:56 +0000 (04:15 -0000)]
Add modifiable type to build.
svn path=/trunk/mcs/; revision=16762
Jackson Harper [Mon, 28 Jul 2003 04:15:15 +0000 (04:15 -0000)]
* ExternFieldRef.cs: Resolve as a typespec field if neccasary, make
sure to not resolve more then once.
* ExternMethodRef.cs: Resolve as a typespec method if neccasary
* ExternTypeRef.cs: Use modifiable type as base class
* FieldRef.cs: Make sure to not resolve more then once.
* GlobalFieldRef.cs: Make sure to not resolve more then once.
* GlobalMethodRef.cs: Make sure to not resolve more then once.
* ITypeRef.cs: Types no longer need the AsClassRef method
* MethodDef.cs: Only decriment param count for vararg methods if there
is an ellipsis on the end of the param list.
Fix little bug so return types allways get resolved.
* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
arrays instead of null
* PrimitiveTypeRef.cs: Use modifiable type as a base
* TypeRef.cs: Use modifable type as base, and let it do all the
modifications
* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
* ModifiableType.cs: New base class for all types. This class will
handle all of the typemodification and determine whether methods
should be added to the type or the types typespec.
svn path=/trunk/mcs/; revision=16761
Sebastien Pouliot [Mon, 28 Jul 2003 03:46:14 +0000 (03:46 -0000)]
2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
* KeyInfoTest.cs: Added #if NET_1_0 for the RetrievalMethod bug.
svn path=/trunk/mcs/; revision=16760
Sebastien Pouliot [Mon, 28 Jul 2003 03:43:24 +0000 (03:43 -0000)]
2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
* XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
svn path=/trunk/mcs/; revision=16759
Gonzalo Paniagua Javier [Mon, 28 Jul 2003 00:34:49 +0000 (00:34 -0000)]
small fixes
svn path=/trunk/mono/; revision=16758
Miguel de Icaza [Mon, 28 Jul 2003 00:11:28 +0000 (00:11 -0000)]
No point in scaring people
svn path=/trunk/mcs/; revision=16757
Miguel de Icaza [Mon, 28 Jul 2003 00:10:12 +0000 (00:10 -0000)]
Floush
svn path=/trunk/mono/; revision=16756
Piers Haken [Sun, 27 Jul 2003 23:27:14 +0000 (23:27 -0000)]
2003-07-27 Piers Haken <piersh@friskit.com>
* Expression.cs:
fix case sorting order
allow EvaluateNumber to take XPathResultType.Any
svn path=/trunk/mcs/; revision=16754
Piers Haken [Sun, 27 Jul 2003 21:49:26 +0000 (21:49 -0000)]
2003-07-27 Piers Haken <piersh@friskit.com>
* XmlQualifiedName.cs : fields should never be null
* Expression.cs:
* Tokenizer.cs:
don't pass null to XmlQualifiedName constructor
* XsltArgumentList.cs:
fix type conversions in ValidateParam
allow creating params with null namespaceUri
svn path=/trunk/mcs/; revision=16753
Piers Haken [Sun, 27 Jul 2003 20:01:58 +0000 (20:01 -0000)]
2003-07-27 Piers Haken <piersh@friskit.com>
* DefaultContext.cs: allow 'concat' to take arbitrary-typed arguments (spec?)
svn path=/trunk/mcs/; revision=16752
Piers Haken [Sun, 27 Jul 2003 19:33:33 +0000 (19:33 -0000)]
2003-07-27 Piers Haken <piersh@friskit.com>
* Expression.cs: allow EvaluateNodeSet to take XPathResultType.Any
svn path=/trunk/mcs/; revision=16751
Atsushi Eno [Sun, 27 Jul 2003 16:37:23 +0000 (16:37 -0000)]
2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocumentFragment.cs : added XPathNodeType indicating Root.
svn path=/trunk/mcs/; revision=16749
Miguel de Icaza [Sun, 27 Jul 2003 16:33:36 +0000 (16:33 -0000)]
Update
svn path=/trunk/mono/; revision=16748
Miguel de Icaza [Sun, 27 Jul 2003 16:26:09 +0000 (16:26 -0000)]
Comment fixage
svn path=/trunk/mcs/; revision=16746
Andreas N [Sun, 27 Jul 2003 13:48:44 +0000 (13:48 -0000)]
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ApplicationFileParser.cs: Fixed signature
* DesignTimeParseData.cs: Added missing properties, implemented
* Page.cs: Added attributes
* PageParser.cs:
* TemplateControlParser.cs:
* TemplateParser.cs:
* UserControlParser.cs: Fixed signature
svn path=/trunk/mcs/; revision=16745
César Natarén [Sun, 27 Jul 2003 11:41:15 +0000 (11:41 -0000)]
Added new files to the build
svn path=/trunk/mcs/; revision=16744
César Natarén [Sun, 27 Jul 2003 11:32:44 +0000 (11:32 -0000)]
Adding Enum.cs
svn path=/trunk/mcs/; revision=16743
César Natarén [Sun, 27 Jul 2003 11:25:39 +0000 (11:25 -0000)]
forgot to add Literal.cs :) (sorry it's 6am)
svn path=/trunk/mcs/; revision=16742
César Natarén [Sun, 27 Jul 2003 11:23:16 +0000 (11:23 -0000)]
updating generated files from grammar
svn path=/trunk/mcs/; revision=16741
César Natarén [Sun, 27 Jul 2003 11:13:35 +0000 (11:13 -0000)]
2003-07-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Added files StringLiteral.cs, CodeGenerator.cs and Print.cs.
svn path=/trunk/mcs/; revision=16740
César Natarén [Sun, 27 Jul 2003 11:07:31 +0000 (11:07 -0000)]
no more bugging messages :)
svn path=/trunk/mcs/; revision=16739
César Natarén [Sun, 27 Jul 2003 10:55:24 +0000 (10:55 -0000)]
2003-07-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: Changed the namespace to
Microsoft.JScript.Tmp.
* jscript-lexer-parser.g: Fixwd a typo at source_elements rule.
* jscript-lexer-parser.g: Got the name of a
global_function_declaration and also its return type if
available.
* jscript-lexer-parser.g: Added syntatic rule for print_statement.
* jscript-lexer-parser.g: Initial construction of AST for
enum_statement and package_statement.
* jscript-lexer-parser.g: Fixed the enum_statement to accept
empty enum declarations.
* jscript-lexer-parser.g: Got the type of a
veriable_declaration.
* jscript-lexer-parser.g: Initial construction of AST for
primary_expression (in particular literal).
svn path=/trunk/mcs/; revision=16738
César Natarén [Sun, 27 Jul 2003 10:23:31 +0000 (10:23 -0000)]
2003-07-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* driver.cs: Modified the driver structure to be compatible
with our new CodeGenrator and SemanticAnalizer. I
removed the builders from Reflection.Emit to the
CodeGenerator. Added an ASTList, SemanticAnalizer and
CodeGenerator here. Adde methods Run, GenerateCode
svn path=/trunk/mcs/; revision=16737
Andreas N [Sun, 27 Jul 2003 10:04:15 +0000 (10:04 -0000)]
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CredentialCache.cs: Removed undefined serializable attribute
svn path=/trunk/mcs/; revision=16736
Andreas N [Sun, 27 Jul 2003 09:59:44 +0000 (09:59 -0000)]
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SRDescriptionAttribute.cs: Moved to System directory
svn path=/trunk/mcs/; revision=16735
Andreas N [Sun, 27 Jul 2003 09:58:55 +0000 (09:58 -0000)]
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* System.dll.sources: SRDescriptionAttribute.cs moved
svn path=/trunk/mcs/; revision=16734
Andreas N [Sun, 27 Jul 2003 09:57:39 +0000 (09:57 -0000)]
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
svn path=/trunk/mcs/; revision=16733
César Natarén [Sun, 27 Jul 2003 09:54:03 +0000 (09:54 -0000)]
2003-07-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Statement.cs: Forgot to include it at last commit.
svn path=/trunk/mcs/; revision=16732
César Natarén [Sun, 27 Jul 2003 09:26:13 +0000 (09:26 -0000)]
2003-07-27 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Decided to change temporarly namespace name
Microsoft.JScript to Microsoft.JScript.Tmp in order to be able
to run the code generated by our CIL code generator (on next
commit will come). The problem is that we don't have the
runtime support for our compiler, this involve VsaEngine class
and its "friends", which I have not found a lot of
doumentation for. If someone knows a docs place for them,
don't hesitate to send me a email pointing to them.
* Changed from public to internal Visit function at some
classes.
* Package.cs: Added Name and Members fields.
* SemanticAnalizer.cs: Added methods VisitPrint and
VisitStringLiteral.
* VariableDeclaration.cs: Added Type field.
* Visitor.cs: Changed from public to internal. Added
VisitPrint and VisitStringLiteral methods.
* VsaEngine.cs: Fixed namespace name from Microsoft.JScript to
Microsoft.JScript.Vsa and then to Microsoft.JScript.Vsa.Tmp.
svn path=/trunk/mcs/; revision=16731
Piers Haken [Sun, 27 Jul 2003 02:54:26 +0000 (02:54 -0000)]
2003-07-26 Piers Haken <piersh@friskit.com>
* Expression.cs: fix function evaluation with ambigous argument types
* XPathnavigator.cs: fix silly null reference bug
svn path=/trunk/mcs/; revision=16729
Ben Maurer [Sun, 27 Jul 2003 02:49:04 +0000 (02:49 -0000)]
2003-07-26 Ben Maurer <bmaurer@users.sourceforge.net>
* statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
svn path=/trunk/mcs/; revision=16728
Piers Haken [Sun, 27 Jul 2003 02:28:24 +0000 (02:28 -0000)]
2003-07-26 Piers Haken <piersh@friskit.com>
* Iterator.cs:
* DefaultContext.cs:
ArrayListIterator->EnumeratorIterator
* Expression.cs: add sorting support
svn path=/trunk/mcs/; revision=16727
Duncan Mak [Sun, 27 Jul 2003 02:25:48 +0000 (02:25 -0000)]
Little fixity fix! ;-)
svn path=/trunk/mcs/; revision=16726
Atsushi Eno [Sun, 27 Jul 2003 02:19:34 +0000 (02:19 -0000)]
2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs (GetIdenticalAttribute): restored OwnerElement.IsRooted
svn path=/trunk/mcs/; revision=16725
Atsushi Eno [Sun, 27 Jul 2003 02:10:41 +0000 (02:10 -0000)]
2003-07-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlLinkedNode.cs : added internal IsRooted.
svn path=/trunk/mcs/; revision=16724
Duncan Mak [Sat, 26 Jul 2003 23:49:55 +0000 (23:49 -0000)]
* XmlDocument.cs (GetIdenticalAttribute): Temporarily remove test
for OwnerElement.IsRooted to fix the build..
* SoapServices.cs (XmlNsForClrTypeWithNsAndAssembly):
Fixed typo. It's 'Ns', but 'Ms'.
svn path=/trunk/mcs/; revision=16721
Piers Haken [Sat, 26 Jul 2003 20:16:24 +0000 (20:16 -0000)]
2003-07-26 Piers Haken <piersh@friskit.com>
* Tokenizer.cs:
* Parser.jay:
move QName parsing into tokenizer
* Expression.cs:
fix evaluating XPathResultType.Any
fix ExprDiv.ToString()
fix NodeTypeTest.ToString() (for namespace axis)
svn path=/trunk/mcs/; revision=16719
Atsushi Eno [Sat, 26 Jul 2003 19:46:11 +0000 (19:46 -0000)]
2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlAttributeTests.cs : added IdentityConstraints().
* XmlDocumentTests.cs : added DocumentTypeNodes().
* XmlNodeTests.cs : added InnerText().
* XmlReaderCommonTests.cs : added XmlValidatingReader as one of the
testing reader. Added IndexerAndAttributes().
* XmlValidatingReader.cs : modified TestAttributes() to have
ReadAttributeValue() tests. Added TestIdentityConstraints()
svn path=/trunk/mcs/; revision=16718
Atsushi Eno [Sat, 26 Jul 2003 19:39:32 +0000 (19:39 -0000)]
2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDValidatingReader.cs :
- Added ID support in ValidateAttributes().
- More refined ReadAttributeValue() support for non-expanding entity
situation
- It should handle LocalName, Name, Prefix, NamespaceURI and Value
correctly when the reader is on each of the value nodes of an
attribute. Now XmlDocument.ReadNode() should work well.
* XmlDocument.cs :
- added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
RemoveIdenticalAttribute()
- Implemented GetAttributeById().
* XmlAttributeCollection.cs :
- added private ownerDocument property and replaced
ownerElement.OwnerDocument with it.
- Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
It calls XmlDocument.{Add|Remove}IdenticalAttribute().
- Added RemoveIdenticalAttribute() and it is used in Remove().
(I also added AddIdenticalAttribute() but is not used.)
svn path=/trunk/mcs/; revision=16717
Atsushi Eno [Sat, 26 Jul 2003 19:38:37 +0000 (19:38 -0000)]
2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocumentType.cs :
modified private DTD to dtd and added internal DTD (the same thing).
* XmlElement.cs :
Fixed SetAttributeNode() to check if specified attribute is already
set to the other element. In fact it is W3C DOM's specification but
MS.NET 1.0 failed to catch it.
* XmlTextReader.cs :
ReadAttributeValue() should check if the value of the attribute is
already read when the whole value is entity reference.
Also, Name of text nodes should be "", not "#text"
svn path=/trunk/mcs/; revision=16716
Atsushi Eno [Sat, 26 Jul 2003 19:37:38 +0000 (19:37 -0000)]
2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
* XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
should be internal.
svn path=/trunk/mcs/; revision=16715
Gonzalo Paniagua Javier [Sat, 26 Jul 2003 19:06:36 +0000 (19:06 -0000)]
2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Makefile: added install-local target.
svn path=/trunk/mcs/; revision=16714
Gonzalo Paniagua Javier [Sat, 26 Jul 2003 18:52:22 +0000 (18:52 -0000)]
2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Enum.cs: added Serializable attribute.
svn path=/trunk/mcs/; revision=16713
Martin Baulig [Sat, 26 Jul 2003 17:53:52 +0000 (17:53 -0000)]
Use System.Math instead of just `Math'.
svn path=/trunk/mcs/; revision=16712
Martin Baulig [Sat, 26 Jul 2003 17:49:34 +0000 (17:49 -0000)]
2003-07-26 Martin Baulig <martin@ximian.com>
* error-6.cs: New test for bug #46907.
* Makefile.am (test-multi-local): Run the multi-test tests.
(all-local): Run run-test-local and test-multi-local.
svn path=/trunk/mcs/; revision=16711
Martin Baulig [Sat, 26 Jul 2003 17:48:25 +0000 (17:48 -0000)]
2003-07-26 Martin Baulig <martin@ximian.com>
* test-209.cs: New test for implict conversions and embedded assignments.
svn path=/trunk/mcs/; revision=16710
Martin Baulig [Sat, 26 Jul 2003 17:45:15 +0000 (17:45 -0000)]
2003-07-26 Martin Baulig <martin@ximian.com>
* expression.cs (Indexers.Indexer): New nested struct; contains
getter, setter and the indexer's type.
(Indexers.Properties): This is now an ArrayList of
Indexers.Indexer's.
(IndexerAccess.DoResolveLValue): Correctly set the type if the
indexer doesn't have any getters.
* assign.cs (Assign.DoResolve): Also do the implicit conversions
for embedded property and indexer assignments.
svn path=/trunk/mcs/; revision=16709
Piers Haken [Sat, 26 Jul 2003 17:45:08 +0000 (17:45 -0000)]
2003-07-25 Piers Haken <piersh@friskit.com>
* Expression.cs: return clone of $var evaluation
svn path=/trunk/mcs/; revision=16708
Martin Baulig [Sat, 26 Jul 2003 17:40:05 +0000 (17:40 -0000)]
2003-07-26 Martin Baulig <martin@ximian.com>
* cs-tokenizer.cs (Tokenizer.xtoken): Report a CS1040 if a
preprocessor directive is not the first non-whitespace character
on a line.
svn path=/trunk/mcs/; revision=16707
Martin Baulig [Sat, 26 Jul 2003 17:35:40 +0000 (17:35 -0000)]
2003-07-26 Martin Baulig <martin@ximian.com>
* namespace.cs (NamespaceEntry.Lookup): New method; rewrote the
namespace parsing, follow the spec more closely.
* rootcontext.cs (RootContext.NamespaceLookup): Use the new
NamespaceEntry.Lookup().
svn path=/trunk/mcs/; revision=16706
Gonzalo Paniagua Javier [Sat, 26 Jul 2003 15:24:11 +0000 (15:24 -0000)]
2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FormatterServices.cs:
(GetSerializableMembers): check that all base types are serializable
when getting their fields. Fixes bug #46875.
svn path=/trunk/mcs/; revision=16705
Gonzalo Paniagua Javier [Sat, 26 Jul 2003 15:03:35 +0000 (15:03 -0000)]
2003-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Mono.Http.dll.sources: added new files.
* README: updated.
* Mono.Http/GZipWebRequest.cs:
* Mono.Http/GZipWebResponse.cs: wrappers for WebRequest/WebResponse to
allow requesting and receiving gzipped content that is transparently
uncompressed.
* samples/ChangeLog:
* samples/Makefile:
* samples/http-get-gzip.cs: initial check in.
svn path=/trunk/mcs/; revision=16704
Atsushi Eno [Sat, 26 Jul 2003 08:47:54 +0000 (08:47 -0000)]
2003-07-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
with http://www.w3.org/XML/1998/namespace.
* XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
* XmlNode.cs : InnerText should handle CDATA and whitespaces.
* XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
* XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
attributes (as MS.NET does). It isn't good way and I may change it.
svn path=/trunk/mcs/; revision=16702
Duncan Mak [Fri, 25 Jul 2003 23:26:05 +0000 (23:26 -0000)]
(Equals):
(GetHashCode): Removed because they do not need to be defined
here.
svn path=/trunk/mcs/; revision=16698
Piers Haken [Fri, 25 Jul 2003 21:26:28 +0000 (21:26 -0000)]
2003-07-25 Piers Haken <piersh@friskit.com>
* Iterator.cs: add setter for NamespaceManager
* XPathNavigator.cs: propagate NamespaceManager from context on Evaluate
* Expression.cs: fix func/var exception strings
svn path=/trunk/mcs/; revision=16696
Peter Williams [Fri, 25 Jul 2003 19:42:00 +0000 (19:42 -0000)]
Have run-test depend on test-local after it does run-test-recursive, so
a toplevel 'make run-test' doesn't recurse through all the directories twice
(once to make test, once to run-test).
svn path=/trunk/mcs/; revision=16692
Ravi Pratap M [Fri, 25 Jul 2003 19:22:23 +0000 (19:22 -0000)]
Complete comment
svn path=/trunk/mcs/; revision=16691
Piers Haken [Fri, 25 Jul 2003 19:14:19 +0000 (19:14 -0000)]
2003-07-25 Piers Haken <piersh@friskit.com>
* Expressioncs: implement ExprFilter.Evaluate
svn path=/trunk/mcs/; revision=16690
Gonzalo Paniagua Javier [Fri, 25 Jul 2003 18:01:40 +0000 (18:01 -0000)]
update
svn path=/trunk/mono/; revision=16688
Gonzalo Paniagua Javier [Fri, 25 Jul 2003 17:56:57 +0000 (17:56 -0000)]
Changed USE_... by NET_1_X
svn path=/trunk/mcs/; revision=16687
Gonzalo Paniagua Javier [Fri, 25 Jul 2003 17:54:01 +0000 (17:54 -0000)]
2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* XmlCanonicalizer.cs: fixed to make it build for 1.0 and 1.1.
svn path=/trunk/mcs/; revision=16686
Piers Haken [Fri, 25 Jul 2003 17:42:44 +0000 (17:42 -0000)]
2003-07-25 Piers Haken <piersh@friskit.com>
* Expressioncs: implement ExprVariable.Evaluate
svn path=/trunk/mcs/; revision=16685
Ravi Pratap M [Fri, 25 Jul 2003 17:38:12 +0000 (17:38 -0000)]
Add this error test case
svn path=/trunk/mcs/; revision=16684
Ravi Pratap M [Fri, 25 Jul 2003 17:37:29 +0000 (17:37 -0000)]
2003-07-25 Ravi Pratap <ravi@ximian.com>
* expression.cs (Invocation.OverloadResolve): Perform the check
which disallows Invoke to be directly called on a Delegate.
(Error_InvokeOnDelegate): Report error cs1533.
svn path=/trunk/mcs/; revision=16683
Paolo Molaro [Fri, 25 Jul 2003 17:36:29 +0000 (17:36 -0000)]
Fri Jul 25 19:25:31 CEST 2003 Paolo Molaro <lupus@ximian.com>
* PEAPI.cs: added coded index for the owner field in the GenericParam
table.
svn path=/trunk/mcs/; revision=16682
Ravi Pratap M [Fri, 25 Jul 2003 17:35:43 +0000 (17:35 -0000)]
2003-07-25 Ravi Pratap <ravi@ximian.com>
* everywhere: Remove uses of direct invocation of the 'Invoke'
method on a delegate type - that is error cs1533 now flagged by
mcs.
svn path=/trunk/mcs/; revision=16681
Ravi Pratap M [Fri, 25 Jul 2003 17:29:24 +0000 (17:29 -0000)]
2003-07-25 Ravi Pratap <ravi@ximian.com>
* DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
method on a delegate is disallowed - fix this.
svn path=/trunk/mcs/; revision=16680
Paolo Molaro [Fri, 25 Jul 2003 17:28:32 +0000 (17:28 -0000)]
Fri Jul 25 19:14:13 CEST 2003 Paolo Molaro <lupus@ximian.com>
* class.c, class.h, image.c, image.h, loader.c, metadata.c,
metadata.h, row-indexes.h, verify.c: first cut of generics support.
svn path=/trunk/mono/; revision=16679
Paolo Molaro [Fri, 25 Jul 2003 17:28:25 +0000 (17:28 -0000)]
Fri Jul 25 18:51:45 CEST 2003 Paolo Molaro <lupus@ximian.com>
* cpu-g4.md, cpu-pentium.md: updates for new instructions.
* mini.c, mini.h: first cut at generics support: some new instructions
added and changed the behaviour of some of the existing ones.
svn path=/trunk/mono/; revision=16678
Paolo Molaro [Fri, 25 Jul 2003 17:28:17 +0000 (17:28 -0000)]
Fri Jul 25 19:06:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
* interp.c: updates for new instructions.
svn path=/trunk/mono/; revision=16677
Ravi Pratap M [Fri, 25 Jul 2003 17:11:19 +0000 (17:11 -0000)]
Oops - we need a main
svn path=/trunk/mcs/; revision=16676
Ravi Pratap M [Fri, 25 Jul 2003 17:10:36 +0000 (17:10 -0000)]
Add this error test case
svn path=/trunk/mcs/; revision=16675
Ravi Pratap M [Fri, 25 Jul 2003 17:03:30 +0000 (17:03 -0000)]
2003-07-25 Ravi Pratap <ravi@ximian.com>
* attribute.cs (Attribute.CheckAttribute): Break as soon as we
find an AttributeUsage attribute.
svn path=/trunk/mcs/; revision=16674
Martin Baulig [Fri, 25 Jul 2003 16:36:59 +0000 (16:36 -0000)]
2003-07-25 Martin Baulig <martin@ximian.com>
* MethodCore.cs (OverridesSomething): New public field; it's set
from TypeContainer.DefineMembers if this method overrides
something (which doesn't need to be a method). Fix #39462.
svn path=/trunk/mcs/; revision=16673
Ravi Pratap M [Fri, 25 Jul 2003 16:28:39 +0000 (16:28 -0000)]
Oops - no 207 it seems
svn path=/trunk/mcs/; revision=16672
Ravi Pratap M [Fri, 25 Jul 2003 16:28:06 +0000 (16:28 -0000)]
Add these to the test suite
svn path=/trunk/mcs/; revision=16671
Ravi Pratap M [Fri, 25 Jul 2003 16:25:10 +0000 (16:25 -0000)]
Bash was complaining about some syntax error - fix it
svn path=/trunk/mcs/; revision=16670
Ravi Pratap M [Fri, 25 Jul 2003 16:14:27 +0000 (16:14 -0000)]
Fix - test-102 doesn't pass, not 202
svn path=/trunk/mcs/; revision=16669
Martin Baulig [Fri, 25 Jul 2003 15:52:38 +0000 (15:52 -0000)]
2003-07-25 Martin Baulig <martin@ximian.com>
* test-208.cs: New test for bug #46788.
svn path=/trunk/mcs/; revision=16668
Martin Baulig [Fri, 25 Jul 2003 15:51:32 +0000 (15:51 -0000)]
2003-07-25 Martin Baulig <martin@ximian.com>
* expression.cs (Indexers.GetIndexersForType): Only look in the
interface hierarchy if the requested type is already an
interface. Fixes #46788 while keeping #46502 fixed.
svn path=/trunk/mcs/; revision=16667
Ravi Pratap M [Fri, 25 Jul 2003 15:46:30 +0000 (15:46 -0000)]
2003-07-25 Ravi Pratap <ravi@ximian.com>
* typemanager.cs (GetMembers): Ensure that the list of members is
reversed. This keeps things in sync.
svn path=/trunk/mcs/; revision=16666
Ravi Pratap M [Fri, 25 Jul 2003 15:15:01 +0000 (15:15 -0000)]
2003-07-24 Ravi Pratap <ravi@ximian.com>
* interface.cs (Populate*): Get rid of code which emits attributes
since the stage in which we emit attributes is the 'Emit' stage,
not the define stage.
(Emit): Move attribute emission for interface members here.
svn path=/trunk/mcs/; revision=16665
Jackson Harper [Fri, 25 Jul 2003 15:00:00 +0000 (15:00 -0000)]
* MEthodDef.cs: If methods do not have the static attribute give
them the instance calling convention.
svn path=/trunk/mcs/; revision=16664
Paolo Molaro [Fri, 25 Jul 2003 13:23:32 +0000 (13:23 -0000)]
Slightly more complex example.
svn path=/trunk/mcs/; revision=16662
Lluis Sanchez [Fri, 25 Jul 2003 12:22:01 +0000 (12:22 -0000)]
* MessageFormatter.cs: WriteMethodCall(): It must write all parameters,
including ref and out.
svn path=/trunk/mcs/; revision=16661
Lluis Sanchez [Fri, 25 Jul 2003 12:17:02 +0000 (12:17 -0000)]
* RemotingProxy.cs: Check the return arguments types. (a wrong type
would make the runtime to crash).
svn path=/trunk/mcs/; revision=16660
Lluis Sanchez [Fri, 25 Jul 2003 12:10:09 +0000 (12:10 -0000)]
* ArgInfo.cs: Use Type.IsByRef to check if a parameter is a ref or
out parameter.
* MethodCall.cs: Improved checking if the requested client type for the target
object can be casted to the server type. Now not only checks type name,
but also the type hierarchy and implemented interfaces. Also implemented
method ToString().
* MethodResponse.cs: Imlemented ToString().
* ReturnMessage.cs: In the exception constructor, allow the request to be null.
Implemented ToString().
* StackBuilderSink.cs: Check type of parameters before calling the target method.
(a wrong type would make the runtime to crash).
svn path=/trunk/mcs/; revision=16659