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
Lluis Sanchez [Fri, 25 Jul 2003 11:58:23 +0000 (11:58 -0000)]
* RemotingServices.cs: If the type for a proxy is not available in
the client site, use the MarshalByRefObject type.
svn path=/trunk/mcs/; revision=16658
Paolo Molaro [Fri, 25 Jul 2003 10:36:55 +0000 (10:36 -0000)]
Fri Jul 25 12:27:24 CEST 2003 Paolo Molaro <lupus@ximian.com>
* generics-c.il, generics-b.il: add constructors and fix code.
svn path=/trunk/mcs/; revision=16657
Martin Baulig [Fri, 25 Jul 2003 10:13:35 +0000 (10:13 -0000)]
Disable tests which were already disabled in the old makefile.
svn path=/trunk/mcs/; revision=16656
Martin Baulig [Fri, 25 Jul 2003 10:10:38 +0000 (10:10 -0000)]
2003-07-25 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineMembers): Check whether all
readonly fields have been assigned and report warning CS0649 if
not.
* statement.cs (LocalInfo.IsFixed): Always return true if this is
a valuetype.
svn path=/trunk/mcs/; revision=16655
Ben Maurer [Fri, 25 Jul 2003 03:43:26 +0000 (03:43 -0000)]
2003-07-24 Ben Maurer <bmaurer@users.sourceforge.net>
* DefaultContext.cs: implement lang ()
svn path=/trunk/mcs/; revision=16647
Miguel de Icaza [Fri, 25 Jul 2003 01:30:08 +0000 (01:30 -0000)]
Add missing file
svn path=/trunk/mcs/; revision=16640
Miguel de Icaza [Fri, 25 Jul 2003 01:29:57 +0000 (01:29 -0000)]
Fix build.
svn path=/trunk/mcs/; revision=16639
Ravi Pratap M [Fri, 25 Jul 2003 01:05:13 +0000 (01:05 -0000)]
Error test - checks attributes on interface members
svn path=/trunk/mcs/; revision=16638
Ravi Pratap M [Fri, 25 Jul 2003 00:50:57 +0000 (00:50 -0000)]
GEt rid of debug statement
svn path=/trunk/mcs/; revision=16637
Sebastien Pouliot [Fri, 25 Jul 2003 00:25:58 +0000 (00:25 -0000)]
2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
* XmlDsigC14NTransformTest.cs: New tests from Aleksey Sanin.
* XmlDsigC14NWithCommentsTransformTest.cs: New tests from
Aleksey Sanin.
svn path=/trunk/mcs/; revision=16636
Sebastien Pouliot [Fri, 25 Jul 2003 00:23:29 +0000 (00:23 -0000)]
2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
* System.Security.dll.sources: Added new Mono.Xml.XmlCanonicalizer.cs
from Aleksey Sanin.
svn path=/trunk/mcs/; revision=16635
Sebastien Pouliot [Fri, 25 Jul 2003 00:22:17 +0000 (00:22 -0000)]
2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
* XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
from Aleksey Sanin.
svn path=/trunk/mcs/; revision=16633
Sebastien Pouliot [Fri, 25 Jul 2003 00:19:44 +0000 (00:19 -0000)]
2003-07-24 Sebastien Pouliot <spouliot@motus.com>
* XmlCanonicalizer.cs: New. C14N class from Aleksey Sanin.
svn path=/trunk/mcs/; revision=16632
Miguel de Icaza [Thu, 24 Jul 2003 23:00:26 +0000 (23:00 -0000)]
Flush changelog entries
svn path=/trunk/mono/; revision=16630
Piers Haken [Thu, 24 Jul 2003 22:37:55 +0000 (22:37 -0000)]
2003-07-24 Piers Haken <piersh@friskit.com>
* Parser.jay:
* Expression.cs:
allow ExprUNION to take non-nodeset (eg, $var) arguments
svn path=/trunk/mcs/; revision=16629
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 22:00:43 +0000 (22:00 -0000)]
2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TypeLoadException.cs: removed unused fields. TypeName returns "" if
cannot even get the type.
svn path=/trunk/mcs/; revision=16628
Ravi Pratap M [Thu, 24 Jul 2003 21:34:31 +0000 (21:34 -0000)]
2003-07-24 Ravi Pratap <ravi@ximian.com>
* decl.cs (MemberCache.AddMethods): Reverse the order of the array
returned from GetMethods to make things consistent with the
assumptions MCS makes about ordering of methods.
This should comprehensively fix bug #45127 and it does :-)
* ecore.cs (MethodGroupExpr.DeclaringType): Correct bug - the
ordering is actually reverse.
* Clean up some debug messages I left lying around.
svn path=/trunk/mcs/; revision=16627
Ravi Pratap M [Thu, 24 Jul 2003 21:34:03 +0000 (21:34 -0000)]
2003-07-24 Ravi Pratap <ravi@ximian.com>
* icall.c: Remove the FIXED_MCS_45127 workarounds - this has been
fixed.
svn path=/trunk/mono/; revision=16626
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 21:10:36 +0000 (21:10 -0000)]
2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* rules.make: run-test depends now on 'test'.
svn path=/trunk/mcs/; revision=16625
Miguel de Icaza [Thu, 24 Jul 2003 20:46:47 +0000 (20:46 -0000)]
2003-07-24 Miguel de Icaza <miguel@ximian.com>
This compiler can not self host currently. Need to fix that.
* Makefile: compile to `gmcs.exe'
* driver.cs: Turn on v2 by default on gmcs.
* generic.cs (ConstructedType): Does no longer take a container
type argument; That will be taken care of later.
(ConstructedType.DoResolve, ConstructedType.ResolveAsTypeStep):
Use SimpleName to resolve for now, so we can continue the work on
the parser, until we get Type.GetType that understands generics.
(ConstructedType.ToString): Implement
(TypeArguments.Resolve): Resolve the child expressions as types.
* cs-parser.jay: Rename interface_constraints to
type_parameter_constraints
(namespace_or_type_name): Only use constructed types for the basic
construction, we will deal with identifier<...> later.
(type/type_name): No longer call DecomposeQI, as
namespace_or_type_name is always decoded now.
svn path=/trunk/mcs/; revision=16624
Piers Haken [Thu, 24 Jul 2003 20:41:45 +0000 (20:41 -0000)]
2003-07-24 Piers Haken <piersh@friskit.com>
* Tokenizer.cs: fix variable references
* Parser.jay:
* Expression.cs:
* XPathNavigator.cs:
use XmlQualifiedName
svn path=/trunk/mcs/; revision=16623
Miguel de Icaza [Thu, 24 Jul 2003 20:41:34 +0000 (20:41 -0000)]
Add another test
svn path=/trunk/mcs/; revision=16622
Miguel de Icaza [Thu, 24 Jul 2003 20:26:37 +0000 (20:26 -0000)]
2003-07-24 Miguel de Icaza <miguel@ximian.com>
* Type.cs: Added generics stubs.
2003-07-24 Miguel de Icaza <miguel@ximian.com>
* ArrayList.cs: Removed MonoTODO.
2003-07-24 Miguel de Icaza <miguel@ximian.com>
* TypeDelegator.cs: Added generics stubs.
2003-07-24 Miguel de Icaza <miguel@ximian.com>
* TypeBuilder.cs: Added generics stubs.
* EnumBuilder.cs: Added generics stubs, changed bracing style for
routines.
svn path=/trunk/mcs/; revision=16621
Miguel de Icaza [Thu, 24 Jul 2003 20:22:02 +0000 (20:22 -0000)]
Add profile
svn path=/trunk/mcs/; revision=16620
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 17:37:39 +0000 (17:37 -0000)]
2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Makefile: only build Mono.CSharp.Debugger under linux.
svn path=/trunk/mcs/; revision=16618
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 17:35:15 +0000 (17:35 -0000)]
2003-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* rules.make: set corlib to PLATFORM_CORLIB if this is defined.
svn path=/trunk/mcs/; revision=16617
Atsushi Eno [Thu, 24 Jul 2003 17:34:42 +0000 (17:34 -0000)]
2003-07-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlConvertTests.cs,
XmlNodeTests.cs,
XmlTextWriterTests.cs : removed some compilation warning.
* XmlNodeReaderTests.cs : reverted Jul. 12th. ReadInnerXmlWrongInit()
incorrect commit.
* XmlValidatingReaderTests.cs : Code refactory (removed xml1, xml2...
and changed PrepareXmlReader() as returning validating reader.
Added indexer (this[]) property check and ValidationType.None check
to TestAttributeDefaultContribution().
Added TestExpandEntity(), TestPreserveEntity() and TestNormalization().
svn path=/trunk/mcs/; revision=16616
Atsushi Eno [Thu, 24 Jul 2003 17:24:37 +0000 (17:24 -0000)]
2003-07-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
DTDNotationDeclarationCollection and replaced Hashtables with them.
Added NormalizedDefaultValue property for DTDAttributeDefinition.
* DTDValidatingReader.cs :
- It now reads attribute values into value collection.
- Renamed consumedDefaultAttribute to consumedAttribute, and
inContent to insideContent.
- GetAttribute() should allow reader's other node state than element.
- MoveToNextAttribute() should move when reader is placed other than
the first attribute.
- HandleError() now supports ValidationType.None (i.e. does nothing).
- ValidateAttribute() now collects and resolves attribute value
entity references. (On the other hand, it doesn't support
EntityHandling.ExpandCharEntity.)
- NodeType shouldn't return Attribute after ReadAttributeValue().
Now only Text is supported, but must also support EntityReference.
- Add FilterNormalization() and partially support Normalization.
svn path=/trunk/mcs/; revision=16615
Gonzalo Paniagua Javier [Thu, 24 Jul 2003 17:02:52 +0000 (17:02 -0000)]
Added new assembly to hold utility classes related to Http protocol
svn path=/trunk/mcs/; revision=16613
Miguel de Icaza [Thu, 24 Jul 2003 16:46:43 +0000 (16:46 -0000)]
Initial import of the Generic MCS tree.
2003-07-20 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (namespace_name): do not use
namespace_or_type_name, use qualified_identifier, because
namespace_or_type_name will soon return a composed expression
instead of a string.
(namespace_or_type_name): Instead of returning a string, now this
production returns an expression.
* codegen.cs (EmitContext): Setup IsGeneric property based on
whether our DeclSpace is generic, our the method is generic.
* modifier.cs (Modifiers.METHOD_GENERIC): New definition, use if
the method is generic.
* cs-parser.jay (type_arguments, opt_type_argument_list,
type_parameters, type_parameter_list, opt_type_parameter_list,
type_parameter,, opt_type_parameter_constraints_clauses,
type_parameter_constraints_clauses,
type_parameter_constraint_clause, type_parameter_constraint,
interface_constraints): Add new production
* decl.cs (DeclSpace): IsGeneric, flag to track whether this
DeclSpace is generic or not.
(DeclSpace.SetParameterInfo): New routine, used to set the
parameter info for a type.
(DeclSpace.LookupGeneric): Lookups a name, and if it is a generic,
returns a GenericTypeExpr
* ecore.cs (SimpleName.ResolveAsTypeStep): If our container is
generic, lookup the generic argument.
* attribute.cs: Do not allow TypeParameterExpressions in
Attributes.
* class.cs: Do not allow the Main method to be defined in a
Generic container.
* expression.cs (SizeOf): Do not allow generic types to be used as
arguments to sizeof.
* typemanager.cs (IsGeneric): Wrapper for Reflection when we have
it: whether a type is generic or not. Only works for types we are
currently building for now.
2003-01-21 Miguel de Icaza <miguel@ximian.com>
* generic.cs: New file, contains support code for generics.
* cs-parser.jay: Remove OP_SHIFT_LEFT, OP_SHIFT_RIGHT,
OP_SHIFT_LEFT_ASSIGN, OP_SHIFT_RIGHT_ASSIGN.
Update parser for the above removals.
* cs-tokenizer.cs: Do not handle <<= or >>= specially. This is
now taken care of in the parser.
svn path=/trunk/mcs/; revision=16612