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
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
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
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
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
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
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
Martin Baulig [Tue, 2 Aug 2005 16:55:40 +0000 (16:55 -0000)]
Updated.
svn path=/trunk/mcs/; revision=47923
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
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
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
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
Andrew Skiba [Tue, 2 Aug 2005 15:23:49 +0000 (15:23 -0000)]
TARGET_JVM - NativeObject property
svn path=/trunk/mcs/; revision=47916
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Lluis Sanchez [Mon, 1 Aug 2005 11:48:12 +0000 (11:48 -0000)]
* SoapFormatterTest.cs: new test.
svn path=/trunk/mcs/; revision=47884
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
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
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
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
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
Miguel de Icaza [Mon, 1 Aug 2005 02:41:34 +0000 (02:41 -0000)]
Test for 75674
svn path=/trunk/mcs/; revision=47878
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
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
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
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
Raja R Harinath [Sun, 31 Jul 2005 08:41:46 +0000 (08:41 -0000)]
Update
svn path=/trunk/mcs/; revision=47869
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
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
Atsushi Eno [Sat, 30 Jul 2005 18:46:54 +0000 (18:46 -0000)]
2005-07-30 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : csc build fix.
svn path=/trunk/mcs/; revision=47863
Zoltan Varga [Sat, 30 Jul 2005 18:26:36 +0000 (18:26 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c mini-ia64.h: Ongoing IA64 work.
svn path=/trunk/mono/; revision=47862
Zoltan Varga [Sat, 30 Jul 2005 17:54:02 +0000 (17:54 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* mono-debug.c: Fix some (not all) alignment problems.
svn path=/trunk/mono/; revision=47861
Zoltan Varga [Sat, 30 Jul 2005 17:06:38 +0000 (17:06 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* mini-ia64.c (ia64_emit_bundle): Ongoing IA64 work.
svn path=/trunk/mono/; revision=47860
Gert Driesen [Sat, 30 Jul 2005 16:27:36 +0000 (16:27 -0000)]
* CodeGeneratorFromTypeTest.cs: Added NewSlot tests.
* CSharpCodeGenerator.cs: Fixed code generated for NewSlot members.
* CodeGeneratorFromTypeTestBase.cs: Added NewSlot tests.
* CodeGenerator.cs: In OutputMemberScopeModifier, only output "new" modifier
in 2.0 profile.
* VBCodeGenerator.cs: Fixed code generated for NewSlot members.
svn path=/trunk/mcs/; revision=47859
Zoltan Varga [Sat, 30 Jul 2005 15:48:28 +0000 (15:48 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg (mini_emit_memset): Add support for unaligned access.
svn path=/trunk/mono/; revision=47858
Zoltan Varga [Sat, 30 Jul 2005 15:48:14 +0000 (15:48 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg (mini_emit_memset): Add support for unaligned access.
svn path=/trunk/mono/; revision=47857
Zoltan Varga [Sat, 30 Jul 2005 15:44:50 +0000 (15:44 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=47856
Zoltan Varga [Sat, 30 Jul 2005 15:43:43 +0000 (15:43 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Ongoing IA64 work.
svn path=/trunk/mono/; revision=47855
Zoltan Varga [Sat, 30 Jul 2005 13:28:15 +0000 (13:28 -0000)]
2005-07-30 Zoltan Varga <vargaz@freemail.hu>
* mini-ia64.c exceptions-ia64.c: Ongoing IA64 work.
svn path=/trunk/mono/; revision=47854
Carlos Alberto Cortez [Sat, 30 Jul 2005 06:39:34 +0000 (06:39 -0000)]
* appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw):
Invoke mono_image_load_from_data_full passing the refonly
parameter.
* assembly.c
(mono_assembly_open_from_bundle): Add the refonly argument,
in order to pass it to other methods it calls to.
(do_mono_assembly_open): Add the refonly argument, in order
to pass it to other methods it calls to.
(mono_assembly_open_full): Invoke do_mono_assembly_open passing
the refonly parameter to it.
* image.c: Add loaded_images_refonly_hash and
loaded_images_refonly_guid_hash to cache the reflection
only loaded images.
(mono_images_init): Initialize the hash tables used for
caching the reflection only images.
(load_modules): Invoke mono_image_open_full passing the refonly
parameter to load the modules the correct way.
(build_guid_table): Add the refonly argument, to re-build the
correct hash table.
(do_mono_image_open): Added the refonly argument, in order to
define it for the loaded image.
(mono_image_loaded_full): New function, which receives an
additional parameter to look for the image in the refonly or
non-refonly section.
(mono_image_loaded): Updated, using mono_image_loaded_full.
(mono_image_loaded_by_guid_full): The same case that happens
with mono_image_loaded_full.
(mono_image_loaded_by_guid): Likewise.
(register_image): Use the ref_only variable inside MonoImage
to decide in which hash table store the current image.
(mono_image_open_from_data_full): Rename
mono_image_open_from_data to mono_image_open_from_data_full,
adding the refonly argument, to define the ref_only variable
inside MonoImage.
(mono_image_open_from_data): Return
mono_image_open_from_data_full.
(mono_image_open_full): Rename mono_image_open to
mono_image_open_full, receiving the new refonly argument,
to pass it to inner methods.
(mono_pe_file_open): Update this function, to open
a MonoImage as a non-refonly image.
(mono_image_close): Use the refonly variable inside
MonoImage to remove the image from the correct caches.
* image.h: Add the signatures of mono_image_open_full,
mono_image_open_from_data_full, mono_image_loaded_full,
mono_image_loaded_by_guid_full.
* metadata-internals.h: Add the ref_only field to
MonoImage.
2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mono/; revision=47852
Iain McCoy [Sat, 30 Jul 2005 02:02:58 +0000 (02:02 -0000)]
2005-07-24 Iain McCoy <iain@mccoy.id.au>
* Test/AttachedProperties.cs: made LocalValueEnumerator test not
depend on unstable implementation details
svn path=/trunk/mcs/; revision=47851
Carlos Alberto Cortez [Fri, 29 Jul 2005 21:23:18 +0000 (21:23 -0000)]
2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* CustomAttributeTypedArgument: Return the name of the
enum if the type is an enum in ToString ().
svn path=/trunk/mcs/; revision=47849
Carlos Alberto Cortez [Fri, 29 Jul 2005 20:41:43 +0000 (20:41 -0000)]
2005-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* icall.c (ves_icall_System_Reflection_GetReferencedAssemblies):
Fix the last behavior, which used to load the assemblies and
extract MonoReflectionAssemblyName information, instead of
extract it from the metadata tables. Needed for Reflection
Only assemblies.
svn path=/trunk/mono/; revision=47848
Martin Baulig [Fri, 29 Jul 2005 18:55:03 +0000 (18:55 -0000)]
2005-07-29 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c
(mono_debugger_lock, mono_debugger_unlock): g_assert() if we're
not initialized.
* mono-debug.c
(mono_debug_address_from_il_offset): Check whether we have
debugging support before attempting to take the lock.
(mono_debug_source_location_from_address): Likewise.
(mono_debug_source_location_from_il_offset): Likewise.
(mono_debug_il_offset_from_address): Likewise.
(mono_debug_address_from_il_offset): Likewise.
svn path=/trunk/mono/; revision=47846
Zoltan Varga [Fri, 29 Jul 2005 13:55:41 +0000 (13:55 -0000)]
2005-07-29 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilderTest.cs: Add test for #75650.
svn path=/trunk/mcs/; revision=47845
Zoltan Varga [Fri, 29 Jul 2005 13:54:54 +0000 (13:54 -0000)]
2005-07-29 Zoltan Varga <vargaz@freemail.hu>
* class.c (mono_class_from_name_case): Add support for dynamic images.
Fixes #75650.
svn path=/trunk/mono/; revision=47844
Atsushi Eno [Fri, 29 Jul 2005 13:14:51 +0000 (13:14 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* XslFunctions.cs : XslTransform recovers from errors on document
resolution. Fixed bug #75663.
* XslTransformTests.cs : added testcase for bug #75663.
svn path=/trunk/mcs/; revision=47843
Zoltan Varga [Fri, 29 Jul 2005 12:54:12 +0000 (12:54 -0000)]
2005-07-29 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_class_compute_gc_descriptor): Add a workaround
for #75479.
svn path=/trunk/mono/; revision=47841
Marek Safar [Fri, 29 Jul 2005 12:50:39 +0000 (12:50 -0000)]
2005-07-29 Marek Safar <marek.safar@seznam.cz>
* statement.cs (SwitchLabel.ResolveAndReduce): Refactored.
(SwitchLabel.Erorr_AlreadyOccurs): Share error message.
(Switch.CheckSwitch): Just save 50kb for SWF.
svn path=/trunk/mcs/; revision=47840
Atsushi Eno [Fri, 29 Jul 2005 12:13:11 +0000 (12:13 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* create-normalization-source.cs,
Normalization.cs,
create-char-mapping-source.cs,
create-combining-class-source.cs,
Makefile : converted managed array to pointers (like collation stuff).
svn path=/trunk/mcs/; revision=47838
Atsushi Eno [Fri, 29 Jul 2005 11:46:11 +0000 (11:46 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* NormalizationTableUtil.cs : further table range optimization.
* create-normalization-source.cs,
create-char-mapping-source.cs,
create-combining-class-source.cs : added C header output support.
svn path=/trunk/mcs/; revision=47837
Atsushi Eno [Fri, 29 Jul 2005 11:08:58 +0000 (11:08 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* create-normalization-source.cs, Normalization.cs :
Now property size is < 256, so directly embed value in "props" array.
Add QuickCheck(c,checkType) and remove IsNFD/C/KD/KC and delegates.
svn path=/trunk/mcs/; revision=47836
Atsushi Eno [Fri, 29 Jul 2005 10:29:38 +0000 (10:29 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* create-combining-class-source.cs,
create-char-mapping-source.cs,
create-normalization-source.cs,
NormalizationTableUtil.cs,
Normalization.cs : String.Normalize() does not handle surrogate
characters. mapping information in DerivedNormalizationProps.txt
are not used in the code (those from UnicodeData.txt is used).
Hangul syllables are computed instead of embedded in the tables.
* managed-collation.patch : removed IntPtrStream and Makefile patches.
svn path=/trunk/mcs/; revision=47835
Ankit Jain [Fri, 29 Jul 2005 10:17:51 +0000 (10:17 -0000)]
2005-07-29 Ankit Jain <jankit@novell.com>
* get.c (get_constant): Fix printing of some constant types and make it consistent.
svn path=/trunk/mono/; revision=47834
Lluis Sanchez [Fri, 29 Jul 2005 10:02:06 +0000 (10:02 -0000)]
2005-07-29 Lluis Sanchez Gual <lluis@novell.com>
* SoapWriter.cs: Wrap method signature headers in a MethodSignature
object before serializing. Track changes in SoapTypeMapper.
* SoapReader.cs: Track changes in SoapTypeMapper. Factorized some code.
* SoapTypeMapper.cs: Replaced indexers by regular methods, this makes
code easier to read an understand. Simplified the code for registering
basic soap types. Added support for types from
System.Runtime.Remoting.Metadata.W3cXsd2001. Implemented support
for MethodSignature serialization. All this fixes bug #75537.
svn path=/trunk/mcs/; revision=47833
Atsushi Eno [Fri, 29 Jul 2005 07:45:07 +0000 (07:45 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* MSCompatUnicodeTable.cs : IsSortable() was broken.
svn path=/trunk/mcs/; revision=47832
Satya Sudha K [Fri, 29 Jul 2005 07:37:08 +0000 (07:37 -0000)]
2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
* mb-parser.jay, expression.cs: Fixed concat operation with compound assign statements
* support.cs : Returning 'NullLiteral.Null', when a parameter default value is null
svn path=/trunk/mcs/; revision=47831
Atsushi Eno [Fri, 29 Jul 2005 06:09:10 +0000 (06:09 -0000)]
2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
* MSCompatUnicodeTable.cs : added helper for CompareInfo.IsSortable().
svn path=/trunk/mcs/; revision=47828
César Natarén [Fri, 29 Jul 2005 05:17:57 +0000 (05:17 -0000)]
2005-07-29 Cesar Lopez Nataren <cnataren@novell.com>
* All files at current dir: set svn:eol-style to native.
svn path=/trunk/mcs/; revision=47827
Francisco Figueiredo Jr. [Fri, 29 Jul 2005 04:20:04 +0000 (04:20 -0000)]
2005-07-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* NpgsqlCommand.cs: Fixed problem with query strings with newlines. Regexp used to parse parameters were removing new line bytes creating query strings with errors. Thanks Jaroslaw Kowalski (jaak at jkowalski dot net) for fix.
svn path=/trunk/mcs/; revision=47826
Joshua Tauberer [Fri, 29 Jul 2005 01:02:37 +0000 (01:02 -0000)]
* Sqlite.cs, SqliteCommand.cs: Report string error messages
in prepare, for version 3.
svn path=/trunk/mcs/; revision=47825
Kornél Pál [Fri, 29 Jul 2005 00:13:41 +0000 (00:13 -0000)]
Replaced all assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47824
Kornél Pál [Thu, 28 Jul 2005 23:46:29 +0000 (23:46 -0000)]
Replaced assembly references with constants in Consts.cs.
svn path=/trunk/mcs/; revision=47823
Florian Gross [Thu, 28 Jul 2005 21:28:06 +0000 (21:28 -0000)]
2005-07-28 Florian Gross <flgr@ccan.de>
* DateConstructor.cs: Sets _prototype. Added DateMod. MakeDay,
IsLeapYear, DaysInYear, WeekDay, HourFromTime, MinFromTime,
SecFromTime, msFromTime use DateMod (important for negative date
values!)
* ScriptObject.cs: Added implementation of proprietary __proto__
* JSObject.cs: Added more ClassName cases and fixed old ones.
GetDefaultValue uses smartToString instead of toString
* ArrayPrototype.cs: Added Proto. Switched indices and length values
to use uint instead of int so we can represent the full Array size
range from ECMA-262
* StringConstructor.cs: Sets _prototype
* ObjectConstructor.cs: Sets _prototype
* RegExpPrototype.cs: Added Proto. Uses uint instead of int for
RegExpMatch length and indices
* NumberConstructor.cs: Sets _prototype
* expression.cs: force_strong_type always uses ToNumber (fixes
broken arguments for Math.pow and so on)
* ObjectPrototype.cs: Added Proto. toString is dumb and will output
[object Array] when called on an Array instead of using
ArrayPrototype.toString. Added smartToString which does the old
behavior
* StringPrototype.cs: Added Proto. Uses uint instead of int for
arrays
* JScriptException.cs: Added more cases to Message
* ArrayObject.cs: Switched to uint for indices and length
* FunctionConstructor.cs: Sets _prototype
* Equality.cs: Rewrote equality logic. More cases covered, less code
* DatePrototype.cs: Added Proto
* Convert.cs: Added ToUint32. ToNumber with Arrays switched to uint
* StrictEquality.cs: Added logic for function equality
* StringObject.cs: Initializes value to "". Implemented Equals
* LateBinding.cs: More cases covered. Added logic for converting
arguments to match the signature. Added SetArrayLength. Refactored
to use SetArrayLength
* BooleanPrototype.cs: Added Proto and empty implementation of
constructor
* BooleanConstructor.cs: Sets _prototype
* FunctionPrototype.cs: Added Proto
* NumberPrototype.cs: Added Proto
* ArrayConstructor.cs: Sets _prototype
* SemanticAnalizer.cs: Added constructor and prototype information
to prototypes lookup table
* RegExpConstructor.cs: Sets _prototype
* ScriptFunction.cs: Added _prototype and implemented prototype
using it. Implemented Equals for built-in functions
svn path=/trunk/mcs/; revision=47821
Gonzalo Paniagua Javier [Thu, 28 Jul 2005 19:47:18 +0000 (19:47 -0000)]
2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FormsAuthentication.cs: allow hardware acceleration support if
available. Sebastien dixit.
svn path=/trunk/mcs/; revision=47819
Gonzalo Paniagua Javier [Thu, 28 Jul 2005 18:32:14 +0000 (18:32 -0000)]
2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MachineKeyConfigHandler.cs:
* MachineKeyConfig.cs: removed unused property. The CryptoGod has spoken
and told me to use RandomNumberGenerator.Create to let the
implementation choose the generator.
svn path=/trunk/mcs/; revision=47817
Atsushi Eno [Thu, 28 Jul 2005 18:07:52 +0000 (18:07 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
* create-tailoring.cfg : added for convenience of contraction check.
svn path=/trunk/mcs/; revision=47816
Atsushi Eno [Thu, 28 Jul 2005 18:05:03 +0000 (18:05 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
* create-normalization-source.cs,
SimpleCollator.cs,
SortKeyBuffer.cs,
create-mscompat-collation-table.cs,
MSCompatUnicodeTableUtil.cs,
SortKey.cs,
create-collation-element-table.cs,
MSCompatUnicodeTable.cs,
CodePointIndexer.cs,
create-combining-class-source.cs : added copyright lines.
svn path=/trunk/mcs/; revision=47815
Atsushi Eno [Thu, 28 Jul 2005 17:52:05 +0000 (17:52 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
MSCompatUnicodeTable.cs : removed extraneous definition.
svn path=/trunk/mcs/; revision=47814
Atsushi Eno [Thu, 28 Jul 2005 17:24:15 +0000 (17:24 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs
MSCompatUnicodeTable.cs : full C header support, finally.
svn path=/trunk/mcs/; revision=47813
César Natarén [Thu, 28 Jul 2005 16:26:26 +0000 (16:26 -0000)]
2005-07-28 Cesar Lopez Nataren <cnataren@novell.com>
* expression.cs (emit_access): Take into account that __proto__
property (Mozilla extension) is contained in ScriptObject.
svn path=/trunk/mcs/; revision=47812
Zoltan Varga [Thu, 28 Jul 2005 16:19:13 +0000 (16:19 -0000)]
2005-07-28 Zoltan Varga <vargaz@freemail.hu>
* TODO: Remove out-of-data todo stuff.
svn path=/trunk/mono/; revision=47811
Zoltan Varga [Thu, 28 Jul 2005 16:02:11 +0000 (16:02 -0000)]
2005-07-28 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_method_get_object): Fix warning.
svn path=/trunk/mono/; revision=47810
Martin Baulig [Thu, 28 Jul 2005 14:59:18 +0000 (14:59 -0000)]
2005-07-28 Martin Baulig <martin@ximian.com>
* mono-debug.c
(mono_debug_add_wrapper): Also write the wrapper type.
svn path=/trunk/mono/; revision=47806
Ankit Jain [Thu, 28 Jul 2005 14:25:20 +0000 (14:25 -0000)]
* get.c (dis_stringify_method_signature): Fix handling of marshal info for
method params. Also, handle possible gaps in the PARAM table.
svn path=/trunk/mono/; revision=47804
Atsushi Eno [Thu, 28 Jul 2005 14:01:00 +0000 (14:01 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : when xsi:schemaLocation could not be
resolved, it still does not raise error when corresponding schema
already exists.
* XsdValidatingReaderTests.cs : added test case for duplicating
assignment of both Schemas.Add() and xsi:schemaLocation where
schemaLocation could not be resolved.
svn path=/trunk/mcs/; revision=47803
Atsushi Eno [Thu, 28 Jul 2005 11:42:38 +0000 (11:42 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
* Normalization.cs,
NormalizationTableUtil.cs,
create-char-mapping-source.cs : more aggressive data compression.
It now ignores characters that are >= U+10000.
svn path=/trunk/mcs/; revision=47800
Zoltan Varga [Thu, 28 Jul 2005 10:46:53 +0000 (10:46 -0000)]
2005-07-28 Zoltan Varga <vargaz@freemail.hu>
* mini.h mini.c (mono_create_jit_trampoline_from_token): Remove some
dead code.
svn path=/trunk/mono/; revision=47799
Atsushi Eno [Thu, 28 Jul 2005 10:26:09 +0000 (10:26 -0000)]
2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
* Makefile,
Normalization.template,
Normalization.cs : renamed existing file.
svn path=/trunk/mcs/; revision=47797