mono.git
18 years agoUncommitted fixes.
Paolo Molaro [Thu, 4 Aug 2005 18:51:34 +0000 (18:51 -0000)]
Uncommitted fixes.

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

18 years agoThu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Aug 2005 18:50:49 +0000 (18:50 -0000)]
Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>

* mono-codeman.c: allow room for far calls for ARM, too.

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

18 years agoThu Aug 4 19:55:33 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Aug 2005 18:39:37 +0000 (18:39 -0000)]
Thu Aug 4 19:55:33 BST 2005 Paolo Molaro <lupus@ximian.com>

* configure.in: enable the ARM jit port.

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

18 years agoThu Aug 4 19:47:24 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Aug 2005 18:37:02 +0000 (18:37 -0000)]
Thu Aug 4 19:47:24 BST 2005 Paolo Molaro <lupus@ximian.com>

* mini-ops.h, mini-arch.h, inssel.brg, mini.c, mini.h,
jit-icalls.c, mini-codegen.c, Makefile.am: changes in
the generic code needed for the ARM port.

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

18 years agoThu Aug 4 19:42:54 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 4 Aug 2005 18:30:11 +0000 (18:30 -0000)]
Thu Aug 4 19:42:54 BST 2005 Paolo Molaro <lupus@ximian.com>

* exceptions-arm.c, tramp-arm.c, mini-arm.c, mini-arm.h, cpu-arm.md,
inssel-arm.brg: more ARM features and fixes.

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

18 years ago2005-08-04 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Rafael Teixeira [Thu, 4 Aug 2005 18:23:05 +0000 (18:23 -0000)]
2005-08-04 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* mb-parser.jay: Fix local static variables initialization

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

18 years agoProject builds on dotnet
Andrew Skiba [Thu, 4 Aug 2005 16:49:41 +0000 (16:49 -0000)]
Project builds on dotnet

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

18 years ago2005-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Aug 2005 16:43:25 +0000 (16:43 -0000)]
2005-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* location.cs : Fixed overflown (>255) column number.

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

18 years agoProject builds on GH
Andrew Skiba [Thu, 4 Aug 2005 16:39:36 +0000 (16:39 -0000)]
Project builds on GH

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

18 years agoInitial commit
Andrew Skiba [Thu, 4 Aug 2005 15:14:06 +0000 (15:14 -0000)]
Initial commit

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

18 years ago2005-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Aug 2005 09:34:09 +0000 (09:34 -0000)]
2005-08-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttribute.cs : When there was only one child in attribute
  and it was an entity reference, set_Value() tried to set text value
  and thus failed.

* XmlAttributeTests.cs : Test if set_Value() works in such cases that
  there was only one child in attribute and it was an entity reference.

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

18 years ago2005-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Aug 2005 06:20:01 +0000 (06:20 -0000)]
2005-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* create-normalization-tests.cs,
  StringNormalizationTestSource.cs : new files for Unicode
  Normalization test generator.
* Makefile : added support for above.

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

18 years ago* main.c (dis_directive_moduleref): Always escape module ref names.
Ankit Jain [Thu, 4 Aug 2005 06:05:09 +0000 (06:05 -0000)]
* main.c (dis_directive_moduleref): Always escape module ref names.

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

18 years ago2005-08-04 Satya Sudha K <ksathyasudha@novell.com>
Satya Sudha K [Thu, 4 Aug 2005 04:19:05 +0000 (04:19 -0000)]
2005-08-04  Satya Sudha K <ksathyasudha@novell.com>

        * Replaced '^M' characters with new lines (was affecting compilation of few files)

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

18 years ago2005-08-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 4 Aug 2005 03:45:11 +0000 (03:45 -0000)]
2005-08-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* InternalsVisibleToAttribute.cs: Add BOOTSTRAP_NET_2_0
directive, since we need it to implement friend assemblies
in gmcs.

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

18 years ago2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 4 Aug 2005 01:02:54 +0000 (01:02 -0000)]
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DiscoveryClientProtocol.cs: use Uri so that relative paths are handled
gracefully.

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

18 years ago2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 3 Aug 2005 23:13:55 +0000 (23:13 -0000)]
2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SoapDocumentationHandler.cs: workaround for a bug in the HttpRequest
QueryString property. Under MS, GetKey (0) yields null.

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

18 years ago2005-08-03 Florian Gross <flgr@ccan.de>
Florian Gross [Wed, 3 Aug 2005 22:16:50 +0000 (22:16 -0000)]
2005-08-03  Florian Gross  <flgr@ccan.de>

* ScriptObject.cs: Renamed __proto__ to proto for 1.1 compatibility
* expression.cs: Uses LateBinding.MapToInternalName to map __proto__
to proto
* StringPrototype.cs: replace doesn't use anonymous delegate anymore
for 1.1 compatibility
* JScriptException.cs: Added another case to ErrorMessage.
* IdentificationTable.cs: Uses LateBinding.MapToInternalName to map
__proto__ to proto
* LateBinding.cs: Added MapToInternalName and changed code to use it.
Fixed type mapping with varargs. Unwraps Closure objects to
FunctionObjects. Fixed bug in SetField logic
* JSObject.cs: Added ClassName for RegExpObject
* ArrayPrototype.cs: More uint / int fixes for concat, splice,
unshift
* StringConstructor.cs: String() ought to be "undefined"
* JScriptException.cs: Added code for user exceptions (eg. throw "x")
* FunctionObject.cs: Implemented length for user functions
* Convert.cs: uint / uint fix for Convert.ToNativeArray
* Throw.cs: Implemented JScriptThrow
* FunctionPrototype.cs: Correctly throws JSError.FunctionExpected
instead of NotImplementedException
* ScriptFunction.cs: Added arity as an alias for length (Mozilla)

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

18 years ago2005-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Aug 2005 18:34:32 +0000 (18:34 -0000)]
2005-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* NormalizationTableUtil.cs : oops, it does not compile.
* managed-collation.patch : I guess having managed resource would be
  better for collation. At least current code has such #define so
  Makefile should be in sync with it.

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

18 years ago2005-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Aug 2005 17:58:10 +0000 (17:58 -0000)]
2005-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* create-normalization-source.cs : Fixed CharMapComparer which
  incorrectly returned 0 when the second arg is shorter. Reduced
  extraneous helperIndex map. Other minor fixes and code removal.
* Normalization.cs : several fixes to support blocked combine handling.
* NormalizationTableUtil.cs : tiny member renaming.

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

18 years ago* XmlSchemaInference.cs: Is sealed in Beta 2.
Gert Driesen [Wed, 3 Aug 2005 17:39:08 +0000 (17:39 -0000)]
* XmlSchemaInference.cs: Is sealed in Beta 2.
* XmlSchemaInfo.cs: Added ContentType property.
* XmlSchemaObjectEnumerator.cs: No longer sealed in Beta 2.
* XmlSchemaSet.cs: No longer sealed in Beta 2. XmlResolver property
is now CLSCompliant.
* XmlConvert.cs: Renamed RoundTripKind to RoundtripKind.
* XmlDateTimeSerializationMode.cs: Renamed RoundTripKind to RoundtripKind
to match .NET 2.0 Beta 2.
* XmlNodeReader2.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2, and is explicit interface implementation.
* XmlTextReader.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlTextReader2.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlValidatingReader.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* IXmlNamespaceResolver.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlNamespaceManager.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlNodeReaderImpl.cs: GetNamespacesInScope returns generic IDictionary in
.NET 2.0 Beta 2.
* DTDValidatingReader.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XsltArgumentList.cs: No longer sealed in .NET 2.0.
* XsltException.cs: Message override is back in .NET 2.0 Beta 2.
* XmlMapping.cs: API compatibility fixes. Ctor is not protected in .NET 1.1.
SetKey is not obsolete in .NET 2.0 Beta 2.
* XPathNavigator.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XsdValidationReader.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlSchemaValidatingReader.cs: GetNamespacesInScope returns generic
IDictionary in .NET 2.0 Beta 2.
* SubtreeXmlReader.cs: GetNamespacesInScope now returns generic IDictionary.

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

18 years ago2005-08-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 3 Aug 2005 15:50:23 +0000 (15:50 -0000)]
2005-08-03  Martin Baulig  <martin@ximian.com>

Make iterators in generic methods work; see gtest-191.cs.

* generic.cs
(Constraints.Resolve): Protect against being called twice.

* class.cs
(TypeContainer.GetClassBases): Make this `protected virtual'.

* iterator.cs (Iterator.ctor): Added `GenericMethod' argument.
(Iterator.GetClassBases): Override this and compute the base
classes here.
(Iterator.DefineNestedTypes): If we're a generic method, all our
method type parameters become class type parameters on the proxy
class.

* statement.cs
(ToplevelBlock.Parameters): Make this a property, not a field.
(ToplevelBlock.ResolveMeta): Update the `parameters' from the `ip'.

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

18 years agoNew test.
Martin Baulig [Wed, 3 Aug 2005 15:45:25 +0000 (15:45 -0000)]
New test.

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

18 years agoRemove debugging statement.
Martin Baulig [Wed, 3 Aug 2005 15:44:12 +0000 (15:44 -0000)]
Remove debugging statement.

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

18 years ago2005-08-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 3 Aug 2005 15:43:20 +0000 (15:43 -0000)]
2005-08-03  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.IsSubclassOf): Use
`TypeManager.IsEqual' instead of `Type.Equals'; fixes gtest-190.cs.
(TypeManager.GetFullName_recursed): Improved.

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

18 years agoNew test.
Martin Baulig [Wed, 3 Aug 2005 15:42:18 +0000 (15:42 -0000)]
New test.

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

18 years agoSystem.Drawing compiles on GH!
Andrew Skiba [Wed, 3 Aug 2005 15:34:40 +0000 (15:34 -0000)]
System.Drawing compiles on GH!

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

18 years agoTARGET_JVM flag fix
Andrew Skiba [Wed, 3 Aug 2005 14:48:53 +0000 (14:48 -0000)]
TARGET_JVM flag fix

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

18 years ago * FontCollection.jvm.cs, InstalledFontCollection.jvm.cs,
Andrew Skiba [Wed, 3 Aug 2005 14:08:10 +0000 (14:08 -0000)]
* FontCollection.jvm.cs, InstalledFontCollection.jvm.cs,
PrivateFontCollection.jvm.cs: added TARGET_JVM implementation

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

18 years ago * ColorPalette.cs, FrameDimension.cs, EncoderParameters.cs: TARGET_JVM
Andrew Skiba [Wed, 3 Aug 2005 13:54:01 +0000 (13:54 -0000)]
* ColorPalette.cs, FrameDimension.cs, EncoderParameters.cs: TARGET_JVM
exclude not supported internal methods
* EncoderParameter.jvm.cs, ImageAttributes.jvm.cs, ImageFormat.jvm.cs,
ImageCodecInfo.jvm.cs: added TARGET_JVM implementation of these classes

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

18 years ago* ListDictionary.cs: Rewrite to reduce key comparison overhead.
Raja R Harinath [Wed, 3 Aug 2005 13:48:31 +0000 (13:48 -0000)]
* ListDictionary.cs: Rewrite to reduce key comparison overhead.
Unify all list traversals into FindEntry.
(AreEqual): Remove.
(FindEntry): Split into two duplicate loops, one when comparer ==
null, the other when it isn't.  Add new out parameter that points
to the entry preceding the result.
(Add, AddImpl, this []): Update.
(Remove): Use FindEntry for traversal.
(CopyTo): Add more tests.
(ListEntryEnumerator): Simplify.
(ListEntryCollection, ListEntryCollectionEnumerator): Likewise.

(I started out to delete AreEqual, but it ended up into an drive-by cleanup)

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

18 years agoAdd a FIXME uncovered by some ListDictionary cleanups.
Raja R Harinath [Wed, 3 Aug 2005 13:27:21 +0000 (13:27 -0000)]
Add a FIXME uncovered by some ListDictionary cleanups.

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

18 years agoTARGET_JVM implementation of this namespace
Andrew Skiba [Wed, 3 Aug 2005 13:22:36 +0000 (13:22 -0000)]
TARGET_JVM implementation of this namespace

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

18 years agoAdded TARGET_JVM implementation of these classes
Andrew Skiba [Wed, 3 Aug 2005 12:37:41 +0000 (12:37 -0000)]
Added TARGET_JVM implementation of these classes

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

18 years agoTARGET_JVM - add NativeObject property
Andrew Skiba [Wed, 3 Aug 2005 12:34:04 +0000 (12:34 -0000)]
TARGET_JVM - add NativeObject property

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

18 years ago2005-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Aug 2005 12:24:02 +0000 (12:24 -0000)]
2005-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* create-normalization-source.cs,
  NormalizationTableUtil.cs,
  Normalization.cs : several bugfixes on index miscomputation.
  Renamed using aliases (csc will bork). Primary combine safety is now
  computed during UnicodeData.txt parse.
  Maximum NFKD length was 18, not 4 (U+FDFA).

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

18 years ago(Now that the compiler has started using HybridDictionary, ...)
Raja R Harinath [Wed, 3 Aug 2005 10:53:55 +0000 (10:53 -0000)]
(Now that the compiler has started using HybridDictionary, ...)
* HybridDictionary.cs: Rewrite to avoid a test on each operation.
(list, hashtable): Remove.
(inner): New IDictionary field that can hold either a list
dictionary or a hashtable.
(is_list): New.  Notes whether 'inner' holds a list dictionary or not.
(Clear): Don't change a hashtable to a list dictionary.

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

18 years agoBasicShape.jvm.cs: added TARGET_JVM specific class
Andrew Skiba [Wed, 3 Aug 2005 09:15:35 +0000 (09:15 -0000)]
BasicShape.jvm.cs: added TARGET_JVM specific class

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

18 years agoAdded TARGET_JVM implementation of Icon.cs and SystemColors.cs
Andrew Skiba [Wed, 3 Aug 2005 09:09:24 +0000 (09:09 -0000)]
Added TARGET_JVM implementation of Icon.cs and SystemColors.cs

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

18 years agoUnify line-endings. Set eol-style=native for files with LF-line endings
Raja R Harinath [Wed, 3 Aug 2005 08:50:12 +0000 (08:50 -0000)]
Unify line-endings.  Set eol-style=native for files with LF-line endings

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

18 years agoRecognize HTML system colors
Andrew Skiba [Wed, 3 Aug 2005 08:42:18 +0000 (08:42 -0000)]
Recognize HTML system colors

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

18 years ago* main.c (call_conv_map): Oops. Add a sentinel entry (-1, NULL).
Ankit Jain [Wed, 3 Aug 2005 07:47:47 +0000 (07:47 -0000)]
* main.c (call_conv_map): Oops. Add a sentinel entry (-1, NULL).

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

18 years ago* main.c (call_conv_map): Map call conv value of 0 to "".
Ankit Jain [Wed, 3 Aug 2005 07:30:03 +0000 (07:30 -0000)]
* main.c (call_conv_map): Map call conv value of 0 to "".

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

18 years agoeol-style=native
Raja R Harinath [Wed, 3 Aug 2005 07:20:26 +0000 (07:20 -0000)]
eol-style=native

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

18 years agoeol-style=native
Raja R Harinath [Wed, 3 Aug 2005 07:18:52 +0000 (07:18 -0000)]
eol-style=native

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

18 years agofix erroneous code that's _not_ the target of the test.
Raja R Harinath [Wed, 3 Aug 2005 07:16:03 +0000 (07:16 -0000)]
fix erroneous code that's _not_ the target of the test.

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

18 years ago* GlobalMethodRef.cs (GlobalMethodRef.Resolve): Use CreateVarargSignature
Ankit Jain [Wed, 3 Aug 2005 06:53:27 +0000 (06:53 -0000)]
* GlobalMethodRef.cs (GlobalMethodRef.Resolve): Use CreateVarargSignature
  to create method's signature for a vararg method.

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

18 years agoFix #75683.
Ankit Jain [Wed, 3 Aug 2005 05:09:35 +0000 (05:09 -0000)]
Fix #75683.
* loader.c (mono_method_signature_full): Use MONO_CALL_DEFAULT if
  PInvoke calling convention is 0.

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

18 years agoadd location support
César Natarén [Wed, 3 Aug 2005 02:23:26 +0000 (02:23 -0000)]
add location support

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

18 years ago2005-08-02 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 3 Aug 2005 02:18:52 +0000 (02:18 -0000)]
2005-08-02  Cesar Lopez Nataren  <cnataren@novell.com>

* TokenStream.cs: Display source name and line number.
* SemanticAnalizer.cs: Added StringLiteral to prototypes.
* Parser.cs: Added Location class, which tracks the SourceName and
line number. Build every node from the AST tree with location info.
* CodeGenerator.cs: Add emit_default_value.
* expression.cs: (Binary.Resolve) Fix for calling directly the
method from the prototype if the lhs binary expression is a
literal, added ICanLookupPrototype interface. Display the source
file name and line number in the errors. (Call) Added field
need_this, simplify the logic infering the exact number of
parameters from the called method. Added NeedThis. Re-implement
Resolve and Emit from Args, delete DesiredNumOfArgs, IsPrint,
has_var_args. Added Size, emit_default_args_case. Added location
field to FunctionObject. StringLiteral implements ICanLookupPrototype.
Fix typo from IAccessible :).

* All classes that inherit from abstract class AST: Use

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

18 years ago2005-08-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 2 Aug 2005 19:52:03 +0000 (19:52 -0000)]
2005-08-02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Strigns.cs: Correcting InStrRev function
- parameter name in message for first exception
- use LastIndexOf (FIXME pending managed collation(corlib) working)

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

18 years agoIn mcs:
Raja R Harinath [Tue, 2 Aug 2005 19:40:00 +0000 (19:40 -0000)]
In mcs:
First cut of the qualified-alias-member feature.
* cs-tokenizer.cs (Tokenizer.is_punct): Recognize the double-colon
token.
* cs-parser.jay (DOUBLE_COLON): New token.
(namespace_or_type_name): Add rule for recognizing
qualified-alias-members.
(primary_expression): Likewise.
(element_access): Allow QualifiedAliasMember as a possible
type-bearing expression.
(local_variable_type, local_variable_pointer_type): Likewise.
* namespace.cs (NamespaceEntry.LookupAlias): New.  Looks up
aliases in the current and enclosing namespace declarations.
(NamespaceEntry.UsingAlias): Add CS0440 warning.
* decl.cs (MemberName.is_double_colon): New.
(MemberName.MemberName): Add new constructor for alias-member.
(MemberName.GetTypeExpression): Generate QualifiedAliasMember too.
* expression.cs (QualifiedAliasMember): New expression type.

In errors:
* cs0431.cs, cs0432.cs, cs0432-2.cs, cs0440.cs, cs0687.cs:
New tests for the qualified-alias-member (::) feature.

In tests:
* test-426.cs, test-427.cs, test-428.cs, test-429.cs,
test-430.cs, test-431.cs, test-432.cs, test-433.cs,
test-434.cs, test-435.cs, test-436.cs: New tests for the
qualified-alias-member (::) feature.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 19:16:12 +0000 (19:16 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfo.cs : LastIndexOf() which takes startIndex without length
  should use startIndex+1 as length.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 18:31:49 +0000 (18:31 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* location.cs : it borked when no argument was specified.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 18:22:44 +0000 (18:22 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* location.cs : tiny ToString() format fix.

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

18 years ago2005-08-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 2 Aug 2005 18:03:34 +0000 (18:03 -0000)]
2005-08-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* StringsTest.cs:
Implement tests for InStrRev

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

18 years agoAdded some test-case for ImageListTest.cs, Form, Menu and GroupBox
Ritvik Mayank [Tue, 2 Aug 2005 17:49:01 +0000 (17:49 -0000)]
Added some test-case for ImageListTest.cs, Form, Menu and GroupBox
Added M.gif

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

18 years agoUpdated.
Martin Baulig [Tue, 2 Aug 2005 16:55:40 +0000 (16:55 -0000)]
Updated.

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

18 years agoadded TARGET_JVM implementation of SolidBrush
Andrew Skiba [Tue, 2 Aug 2005 16:44:28 +0000 (16:44 -0000)]
added TARGET_JVM implementation of SolidBrush

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

18 years agoReverting Carlos's latest changes - please test your stuff before
Martin Baulig [Tue, 2 Aug 2005 16:33:16 +0000 (16:33 -0000)]
Reverting Carlos's latest changes - please test your stuff before
committing.

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

18 years ago2005-08-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 2 Aug 2005 16:26:27 +0000 (16:26 -0000)]
2005-08-02  Zoltan Varga  <vargaz@freemail.hu>

* socket-io.c (convert_sockopt_level_and_name): Applied patch from
Julien Puydt (julien.puydt@laposte.net). Add check for IPV6_PKTINFO.

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

18 years ago2005-08-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 2 Aug 2005 16:25:38 +0000 (16:25 -0000)]
2005-08-02  Zoltan Varga  <vargaz@freemail.hu>

* acconfig.h configure.in: Applied patch from Julien Puydt (julien.puydt@laposte.net). Add check for IPV6_PKTINFO.

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

18 years agoTARGET_JVM - NativeObject property
Andrew Skiba [Tue, 2 Aug 2005 15:23:49 +0000 (15:23 -0000)]
TARGET_JVM - NativeObject property

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

18 years agoIn Test/System.Data:
Sureshkumar T [Tue, 2 Aug 2005 12:07:04 +0000 (12:07 -0000)]
In Test/System.Data:
2005-08-02  Sureshkumar T  <tsureshkumar@novell.com>

* DataTableTest.cs: Select (): added a case for apos escaping.

In Mono.Data.SqlExpressions:
2005-08-02  Sureshkumar T  <tsureshkumar@novell.com>

* Tokenizer.cs: ReadString (): added an overload where the
terminator can be escaped by repeating twice.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 12:06:52 +0000 (12:06 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* test-425.cs, known-issues-gmcs : added test for bug #57047, which is
  fixed at r47909.

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

18 years ago* HttpCachePolicyElement.cs: Fix compilation with mcs 1.0.
Raja R Harinath [Tue, 2 Aug 2005 12:02:16 +0000 (12:02 -0000)]
* HttpCachePolicyElement.cs: Fix compilation with mcs 1.0.
CONFIGURATION_DEP implies XML_DEP.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 10:16:52 +0000 (10:16 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* statement.cs : oops, it was missing.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 10:10:47 +0000 (10:10 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

A set of fixes for precise line/column location.

* location.cs :
  "token" field now holds a file/line "delta", a line number offset
  from the segment, and a column number. See also:
  http://lists.ximian.com/pipermail/mono-devel-list/2004-
  December/009508.html
  Removed static IsNull. Use instance IsNull property instead.
* cs-tokenizer.cs :
  For some tokens it stores Location. For Identifier it stores
  LocatedToken which is a pair of string name and location.
  Column numbers are adjusted only at getChar().
* report.cs :
  Use Location.ToString() for reporting (it now contains column).
* cs-parser.jay :
  Largely modified to use LocatedToken instead of
  string (IDENTIFIER), and to acquire Location from some tokens.
* namespace.cs, decl.cs, ecore.cs, class.cs, delegate.cs,
  iterators.cs, const.cs, anonymous.cs, tree.cs, enum.cs,
  codegen.cs :
  Now MemberName holds Location. DeclSpace.ctor() receives Location
  as a parameter. Removed extra parameters to all derived classes.
  Replaced Location.IsNull() with instance property.
* assign.cs, expression.cs :
  Added .ctor() overload that omits Location.
* attribute.cs :
  Added "nameEscaped" flag that indicates the identifier was escaped
  in the source file. This fixes bug #57047.

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

18 years ago2005-08-02 Satya Sudha K <ksathyasudha@novell.com>
Satya Sudha K [Tue, 2 Aug 2005 10:04:32 +0000 (10:04 -0000)]
2005-08-02  Satya Sudha K <ksathyasudha@novell.com>
        * ByteType.cs, ShortType.cs, IntegerType.cs, LongType.cs,
        * DecimalType.cs, SingleType.cs, DoubleType.cs :
                Modified the 'FromString' method to :
                - Throw an InvalidCastException whenever
                  'Convert.ToDouble' throws a FormatException
                - Support conversion of octal and hex literals to all
                  numeric types.

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

18 years ago* main.c (dis_directive_moduleref): Escape module ref names.
Ankit Jain [Tue, 2 Aug 2005 10:01:23 +0000 (10:01 -0000)]
* main.c (dis_directive_moduleref): Escape module ref names.

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

18 years agoData relations should be processed after the keys, so no redundant constraints create...
Boris Kirzner [Tue, 2 Aug 2005 10:01:03 +0000 (10:01 -0000)]
Data relations should be processed after the keys, so no redundant constraints created while relations processing.

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

18 years ago2005-08-02 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 2 Aug 2005 09:49:11 +0000 (09:49 -0000)]
2005-08-02  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (AttributeTester.GetImportedIgnoreCaseClsType):
New method, looking for lo-case imported cls type.

* decl.cs (DeclSpace.VerifyClsCompliance): Check CS3005 for types
here.

* driver.cs: Removed VerifyTopLevelNameClsCompliance usage.

* enum (Enum.VerifyClsCompliance): Hardcode non-compliant types.

* typemanager.cs (TypeManager.AllClsTopLevelTypes): Renamed from
all_imported_types.
(TypeManager.LoadAllImportedTypes): Lo-case imported types.

Optimized to save 3.5 MB for SWF compilation.

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

18 years agoFix #61512.
Ankit Jain [Tue, 2 Aug 2005 09:11:16 +0000 (09:11 -0000)]
Fix #61512.
* TypeDef.cs (TypeDef.Define): Use default values for pack and size if only
  one of them is unspecified.

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

18 years agoAdded support for secure authentication by underlined provider.
Boris Kirzner [Tue, 2 Aug 2005 08:31:12 +0000 (08:31 -0000)]
Added support for secure authentication by underlined provider.

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

18 years agoInitial implementation of Kerberos support for TARGET_JVM.
Boris Kirzner [Tue, 2 Aug 2005 08:28:02 +0000 (08:28 -0000)]
Initial implementation of Kerberos support for TARGET_JVM.

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 03:48:46 +0000 (03:48 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* managed-collation.patch : added Normalization support.
* managed-collation-icall.patch : added, including normalization stuff.

  BTW when will collation code checked in?

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

18 years ago2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Aug 2005 03:44:43 +0000 (03:44 -0000)]
2005-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* create-normalization-source.cs : Unified three normalization source
  generators, to compute IsUnsafe flag. Fixed helperIndex array type
  in C header output.
* create-char-mapping-source.cs,
  create-combining-class-source.cs : thus removed.
* Makefile : thus modified for the above integration.
* NormalizationTableUtil.cs : Extended to contain IsUnsafe flag.
* Normalization.cs : Several fixes to make Normalize() actually work.

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

18 years ago`head -n 5 ChangeLog`
César Natarén [Mon, 1 Aug 2005 23:59:42 +0000 (23:59 -0000)]
`head -n 5 ChangeLog`

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

18 years ago* ComplexDataStructure.cs: Fixed test due to change in default value
Gert Driesen [Mon, 1 Aug 2005 18:45:29 +0000 (18:45 -0000)]
* ComplexDataStructure.cs: Fixed test due to change in default value
of XmlArrayItemAttribute.IsNullable.
* SoapAttributeAttributeTests.cs: Added tests for default values.
* SoapElementAttributeTests.cs: Added tests for default values.
* SoapEnumAttributeTests.cs: Added tests for default values.
* SoapIncludeAttributeTests.cs: Added tests for default values.
* SoapSchemaMemberTests.cs: Added tests for default values.
* SoapTypeAttributeTests.cs: Added tests for default values.
* XmlAnyElementAttributeTests.cs: Added tests for default values.
* XmlArrayAttributeTests.cs: Added tests for default values.
* XmlArrayItemAttributeTests.cs: Added tests for default values.
* XmlAttributeAttributeTests.cs: Added tests for default values.
* XmlChoiceIdentifierAttributeTests.cs: Added tests for default values.
* XmlElementAttributeTests.cs: Added tests for default values.
* XmlEnumAttributeTests.cs: Added tests for default values.
* XmlIncludeAttributeTests.cs: Added tests for default values.
* XmlRootAttributeTests.cs: Added tests for default values.
* XmlTextAttributeTests.cs: Added tests for default values.
* XmlTypeAttributeTests.cs: Added tests for default values.
* System.Xml_test.dll.sources: Added tests for default values of Xml
Serialization attribute classes.
* SoapAttributeAttribute.cs: Return zero-length string if AttributeName or
DataType are null.
* SoapEnumAttribute.cs: Return zero-length string if Name is null.
* SoapIncludeAttribute.cs: Avoid using property in ctor.
* SoapSchemaMember.cs: Return zero-length string if MemberName is
null. MemberType should be XmlQualifiedName.Empty by default.
* SoapTypeAttribute.cs: Return zero-length string if TypeName is
null. Avoid using property in ctor.
* XmlArrayAttribute.cs: Return zero-length string if ElementName is
null. Avoid using property in ctor.
* XmlArrayItemAttribute.cs: IsNullable must be false by default.
Return zero-length string if DataType or ElementName are null. Avoid
using property in ctor.
* SoapElementAttribute.cs: Return zero-length string when DataType
or ElementName are null. Avoid using property in ctor.
* XmlAnyElementAttribute.cs: Return zero-length string when Name is
null. Avoid using property in ctor.
* XmlAttributeAttribute.cs: Avoid using property in ctor. Return
zero-length string if AttributeName or DataType are null.
* XmlChoiceIdentifierAttribute.cs: Return zero-length string when
MemberName is null.
* XmlElementAttribute.cs: Return zero-length string when DataType or
ElementName are null. Avoid using property in ctor.
* XmlEnumAttribute.cs: Avoid using property in ctor.
* XmlIncludeAttribute.cs: Avoid using property in ctor.
* XmlReflectionImporter.cs: AttributeName, ElementName and DataType
can no longer be null. Use check for zero-length string to determine
whether they are set. Corrected exception message when DataType is
set for complex type.
* XmlRootAttribute.cs: Return zero-length string if DataType or
ElementName are null. Avoid using property in ctor.
* XmlTextAttribute.cs: Return zero-length string if DataType is null.
* XmlTypeAttribute.cs: Return zero-length string if TypeName is null.

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

18 years agoMon Aug 1 18:37:38 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Aug 2005 17:24:54 +0000 (17:24 -0000)]
Mon Aug 1 18:37:38 BST 2005 Paolo Molaro <lupus@ximian.com>

* tramp-arm.c, mini-arm.c, cpu-arm.md, inssel-arm.brg: more
ARM port work in progress.

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

18 years ago* get.c (field_flags_map): Use C comments instead of C#.
Ankit Jain [Mon, 1 Aug 2005 15:17:10 +0000 (15:17 -0000)]
* get.c (field_flags_map): Use C comments instead of C#.

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

18 years ago2005-08-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 1 Aug 2005 15:13:31 +0000 (15:13 -0000)]
2005-08-01  Marek Safar  <marek.safar@seznam.cz>

* class.cs (AddToTypeContainer): Use inheritance insted of if(s).
(PartialContainer.Create): Moved logic AddToContainer.
(PartialContainer.MarkForDuplicationCheck): Shares name.

* decl.cs (DeclSpace.AddToContainer): Check name collisions at one
place.

* namespace.cs (Namespace.AddDeclSpace): Lazy declspaces
initialization.
(Namespace.GetSignatureForError): New method.

* tree.cs (Tree.RecordDecl): Moved to AddToContainer.
(RootTypes.AddToTypeContainer): se inheritance insted of if(s).

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

18 years agoMon Aug 1 16:52:12 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Aug 2005 14:54:18 +0000 (14:54 -0000)]
Mon Aug 1 16:52:12 CEST 2005 Paolo Molaro <lupus@ximian.com>

* gc-internal.h, threads.c, null-gc.c, boehm-gc.c: added interface
to handle threads not started by the GC (patch by Michael Meeks
<michael.meeks@novell.com>).

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

18 years agoMon Aug 1 16:49:45 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Aug 2005 14:51:35 +0000 (14:51 -0000)]
Mon Aug 1 16:49:45 CEST 2005 Paolo Molaro <lupus@ximian.com>

* include/private/pthread_support.h, pthread_support.c: added
patch to support registering new threads at runtime (from
Michael Meeks <michael.meeks@novell.com>).

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

18 years ago* get.c (dis_stringify_marshal_spec): Include "marshal (..)" as part of the
Ankit Jain [Mon, 1 Aug 2005 14:46:59 +0000 (14:46 -0000)]
* get.c (dis_stringify_marshal_spec): Include "marshal (..)" as part of the
  returned string. And fix memory leak.
  (dis_stringify_method_signature): Fix usage of dis_stringify_marshal_spec
  accordingly.
* main.c (dis_field_list): Fix usage of dis_stringify_marshal_spec. Cleanup
  output of spaces.

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

18 years agoIn mcs:
Raja R Harinath [Mon, 1 Aug 2005 13:21:20 +0000 (13:21 -0000)]
In mcs:
Fix #75669.
* ecore.cs (Expression.MemberLookupFailed): Use queried_type for
member lookup rather than qualifier_type, since qualifier_type can
be null.

In errors:
* cs0122-17.cs: New test from #75669.

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

18 years ago* SoapFormatterTest.cs: new test.
Lluis Sanchez [Mon, 1 Aug 2005 11:48:12 +0000 (11:48 -0000)]
* SoapFormatterTest.cs: new test.

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

18 years ago2005-08-01 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Mon, 1 Aug 2005 11:42:24 +0000 (11:42 -0000)]
2005-08-01  Lluis Sanchez Gual <lluis@ximian.com>

* SoapPositiveInteger.cs: Set correct XsdType name for SoapPositiveInteger.

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

18 years ago2005-08-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 1 Aug 2005 10:33:45 +0000 (10:33 -0000)]
2005-08-01  Marek Safar  <marek.safar@seznam.cz>

* enum.cs (Enum.VerifyClsName): Fixed to allow not CLSCompliant
enum member.

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

18 years ago* get.c (dis_stringify_marshal_spec): Make it non-static.
Ankit Jain [Mon, 1 Aug 2005 06:44:08 +0000 (06:44 -0000)]
* get.c (dis_stringify_marshal_spec): Make it non-static.
* main.c (dis_field_list): Print marshal info for fields.

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

18 years ago2005-08-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 1 Aug 2005 06:08:44 +0000 (06:08 -0000)]
2005-08-01  Atsushi Enomoto <atsushi@ximian.com>

* Don't convert ASCII tilde to non-ASCII character. We Japanese
  never do that.

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

18 years ago2005-07-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 1 Aug 2005 02:45:14 +0000 (02:45 -0000)]
2005-07-31  Miguel de Icaza  <miguel@novell.com>

* statement.cs: Copy the local exception into the exception
captured local.  Fixes 75674

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

18 years agoTest for 75674
Miguel de Icaza [Mon, 1 Aug 2005 02:41:34 +0000 (02:41 -0000)]
Test for 75674

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

18 years ago2005-07-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 31 Jul 2005 17:22:04 +0000 (17:22 -0000)]
2005-07-31  Atsushi Enomoto  <atsushi@ximian.com>

* CP932.cs : We Japanese never convert 005C to 00A5.

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

18 years agoMake buffer used in emitting types larger for some big generic types (patch by Michal...
Kamil Skalski [Sun, 31 Jul 2005 13:32:38 +0000 (13:32 -0000)]
Make buffer used in emitting types larger for some big generic types (patch by Michal Moskal)

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

18 years ago2005-07-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 31 Jul 2005 13:18:48 +0000 (13:18 -0000)]
2005-07-31  Atsushi Enomoto <atsushi@ximian.com>

* RdpPattern.cs : GetLabels() for RdpGroup should check attributes
  when the left branch is not nullable (it works like an interleave).
  Implemented spec 7.3 attribute check (though not enabled for now).

* RelaxngGrammar.cs : spec 7.3 check is kinda implemented but cannot
  verify now because of weird exception handling in the runtime.

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

18 years agoIn mcs:
Raja R Harinath [Sun, 31 Jul 2005 11:36:15 +0000 (11:36 -0000)]
In mcs:
Fix #75658.
* expression.cs (Invocation.OverloadResolve): Don't report error
CS1501 if error CS1502 has been reported.
(New.DoResolve): Delegate CS1501 reporting to
Invocation.OverloadResolve.

In errors:
* cs1502-4.cs: New test from #75658.

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

18 years agoUpdate
Raja R Harinath [Sun, 31 Jul 2005 08:41:46 +0000 (08:41 -0000)]
Update

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

18 years agoIn mcs:
Raja R Harinath [Sat, 30 Jul 2005 19:44:09 +0000 (19:44 -0000)]
In mcs:
Fix #75656.
* statement.cs (Block.CheckInvariantMeaningInBlock): Verify
invariant-meaning-in-block property in an enclosing block if
necessary.

In errors:
* cs0136-6.cs: New test from #75656.

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

18 years ago2005-07-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 30 Jul 2005 19:39:51 +0000 (19:39 -0000)]
2005-07-30  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.c (mono_arch_call_opcode): Ongoing IA64 work.

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