Ankit Jain [Thu, 18 Aug 2005 05:43:01 +0000 (05:43 -0000)]
In ilasm/tests:
2005-08-18 Ankit Jain <jankit@novell.com>
* test-cattr-declsec.il: New. Added test for custom attrs and decl sec
on interface methods.
In ilasm/codegen:
2005-08-18 Ankit Jain <jankit@novell.com>
* MethodDef.cs (MethodDef.WriteCode): Process custom attributes and decl security
lists even for abstract methods.
svn path=/trunk/mcs/; revision=48485
Ankit Jain [Thu, 18 Aug 2005 05:02:41 +0000 (05:02 -0000)]
In ilasm/scanner:
2005-08-18 Ankit Jain <jankit@novell.com>
* ILTables.cs: Comment out publickey keyword.
In ilasm/parser:
2005-08-18 Ankit Jain <jankit@novell.com>
* ILParser.jay: Comment out K_PUBLICKEY keyword, not used in the grammar.
svn path=/trunk/mcs/; revision=48484
Zoltan Varga [Wed, 17 Aug 2005 21:14:41 +0000 (21:14 -0000)]
2005-08-17 Zoltan Varga <vargaz@freemail.hu>
* arrays.cs: Add regression test for #75832.
* inssel-amd64.brg cpu-amd64.md mini-amd64.c: Fix LDELEMA optimization
rules. Fixes #75832.
svn path=/trunk/mono/; revision=48481
Daniel Drake [Wed, 17 Aug 2005 20:38:52 +0000 (20:38 -0000)]
2005-08-17 Daniel Drake <dsd@gentoo.org>
* UriTest.cs: Add some tests from bug #75144
* UriBuilderTest.cs: Ignore a nonsense test for now.
svn path=/trunk/mcs/; revision=48479
Zoltan Varga [Wed, 17 Aug 2005 20:33:59 +0000 (20:33 -0000)]
2005-08-17 Zoltan Varga <vargaz@freemail.hu>
* mini-ia64.c tramp-ia64.c exceptions-ia64.c: Implement improved
instruction scheduling.
svn path=/trunk/mono/; revision=48477
Zoltan Varga [Wed, 17 Aug 2005 20:28:30 +0000 (20:28 -0000)]
2005-08-17 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Add dependency information for all instructions.
svn path=/trunk/mono/; revision=48476
Gert Driesen [Wed, 17 Aug 2005 20:14:42 +0000 (20:14 -0000)]
* Convert.cs: Numerous fixed in overloads taking base to match
behaviour of MS.NET. Throw ArgumentOutOfRangeException is string is
empty. If base is 16, 8 or 2, then throw ArgumentException if first
character is a negative sign. Throw OverflowException if hex prefixed
value is negative for signed types (other than int64) to match MS.NET.
* ConvertTest.cs: Added tests for hex prefixed value, bad hex prefixes,
negative hex values, invalid chars for base 10 and 16 values, empty
base values, values containing only hex prefix, values containing only
negative sign.
svn path=/trunk/mcs/; revision=48474
Sebastien Pouliot [Wed, 17 Aug 2005 18:27:45 +0000 (18:27 -0000)]
2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
* FromBase64Transform.cs: Check that the TransformFinal can be called
with only whitespace (with FromBase64TransformMode.IgnoreWhiteSpaces)
so that we must return new byte [0].
svn path=/trunk/mcs/; revision=48473
Martin Baulig [Wed, 17 Aug 2005 16:41:55 +0000 (16:41 -0000)]
Zoltan forgot this here.
svn path=/trunk/mono/; revision=48469
Atsushi Eno [Wed, 17 Aug 2005 16:20:21 +0000 (16:20 -0000)]
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* xmlconf.cs: we need error message to do real-world debugging.
svn path=/trunk/mcs/; revision=48467
Jordi Mas i Hernandez [Wed, 17 Aug 2005 16:13:29 +0000 (16:13 -0000)]
2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
* TestRegion.cs: Adds many new cases for the new region implementation
svn path=/trunk/mcs/; revision=48466
Marek Safar [Wed, 17 Aug 2005 07:43:24 +0000 (07:43 -0000)]
2005-08-17 Marek Safar <marek.safar@seznam.cz>
Fix #75803
* decl.cs (DeclSpace.VerifyClsCompliance): Skip when collision object
is a partial class.
svn path=/trunk/mcs/; revision=48454
Atsushi Eno [Wed, 17 Aug 2005 02:01:24 +0000 (02:01 -0000)]
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* RegionInfo.cs : unlocked CurrentRegion creation.
svn path=/trunk/mcs/; revision=48453
Atsushi Eno [Wed, 17 Aug 2005 01:55:07 +0000 (01:55 -0000)]
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* locales.c, culture-info.h : removed RegionLCIDMap.
* culture-info-tables.h : regenerated.
svn path=/trunk/mono/; revision=48452
Atsushi Eno [Wed, 17 Aug 2005 01:52:54 +0000 (01:52 -0000)]
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : add primary date/time pattern strings as the first
entry of for each "whole specific patterns".
(e.g. LongDatePatterns[0] should be LongDatePattern.)
* fr.xml : fixed long date pattern and dateTimeFormats.
* ja.xml : fixed long time pattern and dateTimeFormats.
svn path=/trunk/mono/; revision=48451
Atsushi Eno [Wed, 17 Aug 2005 01:49:14 +0000 (01:49 -0000)]
2005-08-17 Atsushi Enomoto <atsushi@ximian.com>
* CultureInfoEntry.cs : added RegionId.
* Driver.cs : modified to not write RegionLCIDMap and use
CultureInfoEntry for that lookup purpose instead.
svn path=/trunk/mono/; revision=48450
Daniel Drake [Tue, 16 Aug 2005 20:53:05 +0000 (20:53 -0000)]
2005-08-16 Daniel Drake <dsd@gentoo.org>
* Uri.cs: Various parsing fixes from bug #75144.
svn path=/trunk/mcs/; revision=48446
Atsushi Eno [Tue, 16 Aug 2005 18:47:53 +0000 (18:47 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* DTDReader.cs : no need to skip text declaration for such entity
declaration that has literal entity. It should not expand entities
inside ResolveExternalEntityReplacementText().
Finally fixed bug #51495.
svn path=/trunk/mcs/; revision=48444
Atsushi Eno [Tue, 16 Aug 2005 18:23:16 +0000 (18:23 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextReader.cs, XmlTextReader2.cs : added internal .ctor() to
receive both TextReader, XmlNodeType and BaseURI for entity
resolution (though it would be removed later).
* XmlParserInput.cs : Now to handle nested PE insertion and correct
BaseURI, it internally holds a stack of "input source".
* DTDObjectModel.cs,
DTDReader.cs :
Required fixes for XmlParserInput.
Handle BaseURI as expected. Added ActualUri for resolved actual
source URI (to resolve nested entities). Pass ActualUri to internal
XmlTextReader.ctor() in ResolveExternalEntityReplacementText()
(well, yes I remember, it is problematic.)
Incorrect Base URI handling bug (part of #51495) is fixed.
svn path=/trunk/mcs/; revision=48443
Andrew Skiba [Tue, 16 Aug 2005 17:13:24 +0000 (17:13 -0000)]
Temporarily mark not working test
svn path=/trunk/mcs/; revision=48442
Andrew Skiba [Tue, 16 Aug 2005 17:10:59 +0000 (17:10 -0000)]
./
* System.Drawing.vmwcsproj: use ImageFormat.cs instead of jvm.cs
System.Drawing/
* Icon.jvm.cs: match Bitmap internal constructor change
* Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
* Bitmap.jvm.cs: started changes for supporting ImageCodecInfo System.Drawing.Imaging/
* ImageCodecInfo.jvm.cs: implement via java imageio, add internal APIs for
fast read-only requests
* Methafile.jvm.cs: change in not implemented api to match image.jvm.cs
Test/DrawingTest/Test/
* Test.dotnet.csproj, Test.vmwcsproj: make Bitmap1.png embedded resource, add Bitmap1.bmp
* Bitmap1.bmp: added to make tests on java without jai
* Bitmap.cs: open bitmap from resources, to get rid of dir dependency
* Color.cs: remove unnecessary using DrawingTestHelper
* Graphics.cs: naive StringAlignment tests, must be improved later
* Image.cs: same as Bitmap.cs + use test.bmp instead of test.png (works immediately on java w/o jai)
Test/System.Drawing.Imaging/
* TestImageCodecInfo.cs: use regular expressions for results that may vary while still in correct format, so same tests can be used for jvm
Test/
* Test.dotnet.csproj, Test.vmwcsproj: Embed Bitmap1.png, add Bitmap1.bmp
svn path=/trunk/mcs/; revision=48441
Martin Baulig [Tue, 16 Aug 2005 16:52:52 +0000 (16:52 -0000)]
2005-08-16 Martin Baulig <martin@ximian.com>
* known-issues-gmcs: Add test-49.cs for the moment.
svn path=/trunk/mcs/; revision=48440
Atsushi Eno [Tue, 16 Aug 2005 16:30:00 +0000 (16:30 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* DTDReader.cs, XmlParserInput.cs :
let's fix #51495. First of all, refactoring.
svn path=/trunk/mcs/; revision=48438
Martin Baulig [Tue, 16 Aug 2005 15:01:49 +0000 (15:01 -0000)]
2005-08-16 Martin Baulig <martin@ximian.com>
* class.c (mono_type_get_name_recurse): Small fix.
svn path=/trunk/mono/; revision=48436
Martin Baulig [Tue, 16 Aug 2005 15:00:36 +0000 (15:00 -0000)]
**** Merged r47305 and r47332 from MCS ****
svn path=/trunk/mcs/; revision=48435
Martin Baulig [Tue, 16 Aug 2005 14:44:57 +0000 (14:44 -0000)]
New tests.
svn path=/trunk/mcs/; revision=48434
Vladimir Krasnov [Tue, 16 Aug 2005 14:42:31 +0000 (14:42 -0000)]
svn path=/trunk/mcs/; revision=48433
Martin Baulig [Tue, 16 Aug 2005 14:31:47 +0000 (14:31 -0000)]
2005-08-16 Martin Baulig <martin@ximian.com>
* ControlTest.cs: Renamed namespace `MWF.Test' -> `MWF.MonoTest'
to make it compile.
svn path=/trunk/mcs/; revision=48432
Martin Baulig [Tue, 16 Aug 2005 14:30:20 +0000 (14:30 -0000)]
2005-08-16 Martin Baulig <martin@ximian.com>
* System.Data.Test.Utils/DataProvider.cs: Renamed namespace
`MonoTests.System.Data.Test.Utils' -> `MonoTests.System.Data.Utils'
to make it compile.
svn path=/trunk/mcs/; revision=48431
Martin Baulig [Tue, 16 Aug 2005 14:28:22 +0000 (14:28 -0000)]
Make this compile.
svn path=/trunk/mcs/; revision=48430
Martin Baulig [Tue, 16 Aug 2005 14:06:23 +0000 (14:06 -0000)]
2005-08-16 Martin Baulig <martin@ximian.com>
* DictionaryTest.cs (IEnumeratorGenericTest): Reflect latest
`KeyValuePair<K,V>' API changes.
svn path=/trunk/mcs/; revision=48429
Gert Driesen [Tue, 16 Aug 2005 13:12:48 +0000 (13:12 -0000)]
* ByteConverterTests.cs: Added tests for ByteConverter.
* Int16ConverterTests.cs: Added tests for Int16Converter.
* Int32ConverterTests.cs: Added tests for Int32Converter.
* BaseNumberConverter.cs: In ConvertFrom, wrap all exceptions that
are thrown while converting from string in an Exception.
* System_test.dll.sources: Added ByteConverterTests.cs,
Int16ConverterTests.cs and Int32ConverterTests.cs.
* Makefile: We also need to reference System.Drawing assembly to
build test assembly.
svn path=/trunk/mcs/; revision=48428
Gert Driesen [Tue, 16 Aug 2005 12:54:01 +0000 (12:54 -0000)]
* ToolboxItemAttributeTests.cs: Added tests for ToolboxItemAttribute.
* ToolboxItemAttribute.cs: Fixed GetHashCode to correspond with MS.NET.
Fixed initialization order. Throw ArgumentException if item type
cannot be loaded.
* System_test.dll.sources: Added ToolboxItemAttributeTests.cs from
System.ComponentModel.
svn path=/trunk/mcs/; revision=48427
Gert Driesen [Tue, 16 Aug 2005 11:49:02 +0000 (11:49 -0000)]
* Color.cs: To match MS.NET, throw ArgumentException instead of
ArgumentOutOfRangeException when color is not between 0 and 255.
* RectangleConverter.cs: Take culture into account when converting
to/from string. Use culture's ListSeparator as separator character.
* ColorConverter.cs: Mono now also throws ArgumentException when
color value is not between 0 and 255.
* TestColor.cs: Added tests for invalid color values.
* TestRectangleConverter.cs: Fixed tests for conversion to/from
string. Added tests that verify results using specific cultures.
svn path=/trunk/mcs/; revision=48426
Atsushi Eno [Tue, 16 Aug 2005 11:32:45 +0000 (11:32 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : added another COM dependent pattern (rather to describe
how it works on .NET than to add the pattern itself...).
* DateTimeTest.cs : added ParseCOMDependent().
svn path=/trunk/mcs/; revision=48425
Martin Baulig [Tue, 16 Aug 2005 11:14:35 +0000 (11:14 -0000)]
**** Merged r47302 from MCS ****
svn path=/trunk/mcs/; revision=48424
Martin Baulig [Tue, 16 Aug 2005 11:14:03 +0000 (11:14 -0000)]
**** Merged r47211 from MCS ****
svn path=/trunk/mcs/; revision=48423
Ritvik Mayank [Tue, 16 Aug 2005 10:59:51 +0000 (10:59 -0000)]
enhancement and cleanup
svn path=/trunk/mcs/; revision=48422
Atsushi Eno [Tue, 16 Aug 2005 10:57:19 +0000 (10:57 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeTest.cs : added EmptyFormatPattern() failure case.
* StringTest.cs : number asserts.
svn path=/trunk/mcs/; revision=48421
Atsushi Eno [Tue, 16 Aug 2005 10:51:39 +0000 (10:51 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* RegionInfo.cs : removed extraneous icall wrappers.
svn path=/trunk/mcs/; revision=48420
Atsushi Eno [Tue, 16 Aug 2005 10:49:01 +0000 (10:49 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* locales.c : indentation fixie.
svn path=/trunk/mono/; revision=48419
Gert Driesen [Tue, 16 Aug 2005 09:32:31 +0000 (09:32 -0000)]
* TestBrushes.cs: Set eol-style to native.
* TestBitmap.cs: Set eol-style to native.
* System.Drawing/TestColor.cs: Fixed line endings. Set eol-style to native.
* TestStringFormat.cs: Set eol-style to native.
* TestSystemBrushes.cs: Set eol-style to native.
* System.Drawing/TestSizeF.cs: Fixed and improved ToString tests. Removed
usage of deprecated Assertion class. Set eol-style to native.
* TestIconConverter.cs: Set eol-style to native.
* TestPointConverter.cs": Fixed and improved string conversion tests.
Set eol-style to native.
* TestImageFormatConverter.cs: Set eol-style to native.
* TestRegion.cs: Set eol-style to native.
* ColorTranslator.cs: Set eol-style to native.
* TestIcon.cs: Set eol-style to native.
* TestPoint.cs: Set eol-style to native.
* TestRectangleConverter.cs: Set eol-style to native.
* TestPointF.cs: Fixed and improved ToString tests. Removed
usage of deprecated Assertion class. Set eol-style to native.
* TestSizeConverter.cs: Fixed and improved string conversion tests.
Set eol-style to native.
* TestRectangle.cs: Set eol-style to native.
* TestPens.cs: Set eol-style to native.
* TestFont.cs: Set eol-style to native.
* ColorConverter.cs: Set eol-style to native.
* TestImageConverter.cs: Set eol-style to native.
* TestSize.cs: Set eol-style to native.
* TestSystemPens.cs: Set eol-style to native.
* TestRectangleF.cs: Set eol-style to native.
svn path=/trunk/mcs/; revision=48418
Gert Driesen [Tue, 16 Aug 2005 09:23:07 +0000 (09:23 -0000)]
* Color.cs: Fixed line endings. Set eol-style to native.
* ColorConverter.cs: Fixed line endings. Set eol-style to native.
* Size.cs: Set eol-style to native.
* SizeF.cs: Use current culture in ToString(), set eol-style to native.
* SizeConverter.cs: Take culture into account when converting to/from
string. Set eol-style to native.
* Point.cs: Fixed line endings. Set eol-style to native.
* PointF.cs: Use current culture in ToString(), set eol-style to native.
* PointConverter.cs: Take culture into account when converting to/from
string. Set eol-style to native.
* ImageFormatConverter.cs: Fixed line endings. Set eol-style to
native.
* RectangleConverter.cs: Fixed line endings. Set eol-style to native.
svn path=/trunk/mcs/; revision=48417
Marek Safar [Tue, 16 Aug 2005 09:21:41 +0000 (09:21 -0000)]
2005-08-16 Marek Safar <marek.safar@seznam.cz>
The big constants rewrite
Fix #75746, #75685 and more
As a side effect saved 1MB for MWF ;-)
* attribute.cs (GetAttributeArgumentExpression): Use ToType, GetTypedValue.
(GetMarshal, GetMethodImplOptions, GetLayoutKindValue): Values are not
enum based for corlib compilation.
* cfold.cs (BinaryFold): Convert operand for enum additions. Fixed enum
subtractions.
* class.cs (FixedField.Define): Use ResolveAsConstant.
* const.cs (IConstant): Interface constants and enums.
(Const.ResolveValue): New method for constant resolvning.
(ExternalConstant): Constants from imported assemblies.
* constant.cs (Constant.GetTypedValue): Used to get constant with forced
conversion; like enums.
(Constant.ToType): Converts this constant to different type.
(Constant.Increment): Adds 1.
* convert.cs (ImplicitConversionRequired): Simplified.
* cs-parser.jay: Create EnumMember directly.
* decl.cs (MemberCore.CheckObsoleteness): Checks for ObsoleteAttribute presence.
* doc.cs (GenerateEnumDocComment): Removed.
* ecore.cs (Expression.ResolveAsConstant): New constant specific method.
(ConvertIntLiteral): Removed.
(FieldExpr.ResolveMemberAccess): Refactored to remove constant specific if(s).
* enum.cs (EnumMember): Implement IConstant.
(Enum.IsValidEnumConstant): Removed.
(Enum.GetNextDefaultValue): Removed.
(Enum.FindMembers): Updated.
(Enum.GenerateDocComment): Iterate enum members.
* expression.cs (Cast.TryReduce): Handle enums correctly.
(New.Constantify): Made public.
(MemberAccess.DoResolve): Removed contant specific if(s).
* literal.cs (NullLiteral): Implement new abstract methods.
* statement.cs (GotoCase.Resolve): Use new constant methods.
(SwitchLabel.ResolveAndReduce): Use new constant methods.
* typemanager.cs (LookupEnum): Removed.
(IsEnumType): Fixed to work with corlib.
(RegisterConstant): Removed.
(LookupConstant): Removed.
(GetConstant): Changed to work with IConstant.
svn path=/trunk/mcs/; revision=48416
Vladimir Krasnov [Tue, 16 Aug 2005 08:17:21 +0000 (08:17 -0000)]
Graphics.jvm.cs: Fixed InterpolationMode property
svn path=/trunk/mcs/; revision=48415
Ritvik Mayank [Tue, 16 Aug 2005 08:10:02 +0000 (08:10 -0000)]
added test cases for ImageList, RadioButton, ScrollBar and StatusBar
svn path=/trunk/mcs/; revision=48414
Atsushi Eno [Tue, 16 Aug 2005 07:53:26 +0000 (07:53 -0000)]
2005-08-16 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : added case for bug #53023.
* DateTimeTest.cs : added test for M/d/yyyy. Uncommented B14 in
TestToString() (working). Commented some part of TestParseExact3()
(timezone dependent). Commented one case in TestParse5() (fails
under MS.NET).
svn path=/trunk/mcs/; revision=48413
Ankit Jain [Tue, 16 Aug 2005 04:54:26 +0000 (04:54 -0000)]
In ilasm/tests:
2005-08-16 Ankit Jain <jankit@novell.com>
* test-marshal-array.il: New. Added test for marshalling as native type array.
* test-marshal.il: New. Added test for marshal info for method params.
* test-fixedarray.il: New. Added test for marshalling as fixed array.
* test-safearray.il: New. Added test for marshalling as safe array.
In ilasm/codegen:
2005-08-16 Ankit Jain <jankit@novell.com>
* CodeGen.cs (CodeGen.current_field_native_type): New.
(CodeGen.AddFieldMarshalInfo): New. Add marshal info for the current field.
(CodeGen.AddFieldDef): Add marshal info for the field.
* FieldDef.cs (FieldDef.native_type): New. Native type for marshalling.
(FieldDef.AddMarshalInfo): New. Set native_type.
(FieldDef.Resolve): Set MarshalInfo for field_def.
* MethodDef.cs (MethodDef.ret_native_type): New. Native type for return type.
(MethodDef.AddRetTypeMarshalInfo): New.
(MethodDef.EntryPoint): Throw exception is the method is not static.
(MethodDef.Resolve): Call overload with class_def=null.
(MethodDef.Resolve): Add global methods to code_gen.PEFile.
Add marshal info for return type.
* ParamDef.cs (ParamDef.native_type): New. Native type for marshalling.
(ParamDef.AddMarshalInfo): New.
(ParamDef.Define): Add marshal info to peapi_param.
In ilasm/parser:
2005-08-16 Ankit Jain <jankit@novell.com>
* ILParser.jay (native_type | K_FIXED K_SYSSTRING ..): Instantiate
object of PEAPI.FixedSysString.
(native_type | native_type OPEN_BRACKET ..): Instantiate object of
NativeArray with the proper arguments.
(native_type | K_METHOD): Use NativeType.FuncPtr.
(native_type | K_FIXED K_ARRAY ..): Instantiate object of FixedArray.
(native_type | K_SAFEARRAY ..): Instantiate object of SafeArray.
(variant_type): Use appropriate values from SafeArrayType enum.
(field_decl | D_FIELD ..): Cast repeat_opt to int before casting to uint
as repeat_opt is int32.
(field_attr | field_attr K_MARSHAL ..): Add Marshal info for field.
Set field attr to HasFieldMarshal.
(method_head): Add Marshal info for return type if specified.
(sig_arg | param_attr ..): Create ParamDef and add marshal info.
svn path=/trunk/mcs/; revision=48410
Ankit Jain [Tue, 16 Aug 2005 04:53:09 +0000 (04:53 -0000)]
* PEAPI.cs (FieldAttr): Move HasFieldMarshal from FieldDef to this.
(ParamAttr): Move HasDefault and HasFieldMarshal from Param to this.
(ManifestResource.ctor): Use 'mres' param to clone.
(MethodDef.ret_param): New.
(MethodDef.AddRetTypeMarshallInfo): New.
(MethodDef.TypeSig): Set seqNo for ret_param to zero.
(MethodDef.BuildTables): Add ret_param to Param table, and BuildTables
for it.
(FixedSysString): New. Class to represent Fixed SysString native type.
(NativeArray): Rename len to numElem. Init numElem, parNum and elemMult
to -1.
(NativeArray.ctor): Uncomment ctor with one param (elemType).
(NativeArray.ctor): Move ctor logic to the one with all params.
(NativeArray.ToBlob): Emit values in correct order.
(SafeArray.hasElemType): New. bool var to indicate presence of ElemType.
(SafeArray.ctor): New. Parameterless constructor.
(SafeArray.ToBlob): Emit correctly.
(FixedArray.ctor): Remove elemType param.
(FixedArray.ToBlob): Don't emit elemType.
svn path=/trunk/mcs/; revision=48409
Atsushi Eno [Mon, 15 Aug 2005 16:36:28 +0000 (16:36 -0000)]
2005-08-15 Atsushi Enomoto <atsushi@ximian.com>
* RegionInfo.cs : reimplemented to use unicode CLDR.
svn path=/trunk/mcs/; revision=48392
Atsushi Eno [Mon, 15 Aug 2005 16:33:43 +0000 (16:33 -0000)]
2005-08-15 Atsushi Enomoto <atsushi@ximian.com>
* RegionInfoEntry.cs,
Driver.cs,
Makefile.am : added RegionInfo table output support.
* object-internals.h,
locales.h,
locales.c,
culture-info.h,
icall.c : added RegionInfo table support.
* culture-info-table.h : regenerated for region support.
svn path=/trunk/mono/; revision=48391
Vladimir Krasnov [Mon, 15 Aug 2005 15:31:03 +0000 (15:31 -0000)]
Fixed DrawImage
svn path=/trunk/mcs/; revision=48388
Gert Driesen [Mon, 15 Aug 2005 07:00:28 +0000 (07:00 -0000)]
* RemotingClientProxy.cs: Marked abstract to match MS.NET.
svn path=/trunk/mcs/; revision=48385
Gert Driesen [Mon, 15 Aug 2005 06:50:56 +0000 (06:50 -0000)]
* SoapException.cs: Only mark serializable on 2.0 profile.
* SoapHeaderException.cs: Only mark serializable on 2.0 profile.
* WebClientProtocol.cs: DefaultValue of RequestEncoding must be null
to match MS.NET. Fixed line endings.
svn path=/trunk/mcs/; revision=48384
Gert Driesen [Mon, 15 Aug 2005 06:46:14 +0000 (06:46 -0000)]
* XmlFormatExtensionPointAttribute.cs: AllowElements is true by
default.
svn path=/trunk/mcs/; revision=48383
Gert Driesen [Mon, 15 Aug 2005 06:44:27 +0000 (06:44 -0000)]
* SchemaReference.cs: DefaultValue of TargetNamespace should be null.
* DiscoveryClientProtocol.cs: Added LoadExternals method to match
MS.NET. Fixed line endings.
svn path=/trunk/mcs/; revision=48382
Gert Driesen [Mon, 15 Aug 2005 06:41:30 +0000 (06:41 -0000)]
* DocumentableItem.cs: DocumentationElement is also available in .NET
1.1.
* MimeMultipartRelatedBinding.cs: Changed XmlElement name of Parts
property to match MS.NET.
* OperationMessageCollection.cs: Removed GetKey override to match
MS.NET.
* ServiceDescriptionImportWarnings.cs: SchemaValidation and
WsiConformance should only be exposed in 2.0 profile.
* ServiceDescriptionFormatExtension.cs: Parent should not be ignored
on 2.0 profile.
svn path=/trunk/mcs/; revision=48381
Gert Driesen [Sun, 14 Aug 2005 21:42:29 +0000 (21:42 -0000)]
* ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
tests using current culture.
* TestColorConverter.cs: Merged tests with ColorConverter.cs and
removed.
* System.Drawing.dll.sources: Removed TestColorConverter again, as
there was already a test class for ColorConverter.
* ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
appears to be what MS.NET uses.
svn path=/trunk/mcs/; revision=48374
Gert Driesen [Sun, 14 Aug 2005 21:10:31 +0000 (21:10 -0000)]
* TextInfoTest.cs: Added ListSeparator test.
* TextInfo.cs: For invariant culture, ListSeparator is a comma.
svn path=/trunk/mcs/; revision=48373
Gert Driesen [Sun, 14 Aug 2005 20:10:33 +0000 (20:10 -0000)]
* Point.cs: Use invariant culture for converting numbers to string.
* PointF.cs: same
* SizeF.cs: same
svn path=/trunk/mcs/; revision=48372
Gert Driesen [Sun, 14 Aug 2005 20:01:48 +0000 (20:01 -0000)]
* TestColor.cs: Added test for ToString() on uninitialized color.
* TestColorConverter.cs: Added tests for ColorConverter.
* System.Drawing.dll.sources: Added TestColorConverter.cs.
* Color.cs: Fixed ToString for uninitialized color.
* ColorConverter.cs: Support conversion from whitespace-only string to
Color.Empty. Fixed conversion from Color.Empty and known colors to
string.
svn path=/trunk/mcs/; revision=48371
Jb Evain [Sun, 14 Aug 2005 18:47:20 +0000 (18:47 -0000)]
2005-08-13 Jb Evain <jbevain@gmail.com>
* get.c (get_token): handle the case when
the token is a member ref pointing to a method.
svn path=/trunk/mono/; revision=48369
Konstantin Triger [Sun, 14 Aug 2005 17:04:07 +0000 (17:04 -0000)]
Initial properties implementation
svn path=/trunk/mcs/; revision=48368
Boris Kirzner [Sun, 14 Aug 2005 15:58:34 +0000 (15:58 -0000)]
Added authenticationmech supported key example.
svn path=/trunk/mcs/; revision=48366
Boris Kirzner [Sun, 14 Aug 2005 15:56:10 +0000 (15:56 -0000)]
Fixes for TARGET_JVM secure binding.
svn path=/trunk/mcs/; revision=48365
Gert Driesen [Sun, 14 Aug 2005 15:42:32 +0000 (15:42 -0000)]
* HtmlForm.cs: Added UniqueID override to match MS.NET. Fixed line
endings.
svn path=/trunk/mcs/; revision=48364
Vladimir Krasnov [Sun, 14 Aug 2005 13:41:36 +0000 (13:41 -0000)]
Graphics.jvm.cs: DrawImage refactoring
svn path=/trunk/mcs/; revision=48363
Kamil Skalski [Sun, 14 Aug 2005 12:39:25 +0000 (12:39 -0000)]
reflection.c (resolve_object): handle all kinds of MonoMethod including generic ones
svn path=/trunk/mono/; revision=48362
Vladimir Krasnov [Sun, 14 Aug 2005 09:42:36 +0000 (09:42 -0000)]
svn path=/trunk/mcs/; revision=48361
Vladimir Krasnov [Sun, 14 Aug 2005 09:30:50 +0000 (09:30 -0000)]
System.Drawing.vmwcsproj: Added SystemIcons.jvm.cs, excluded SystemIcons.cs
svn path=/trunk/mcs/; revision=48360
Vladimir Krasnov [Sun, 14 Aug 2005 09:25:47 +0000 (09:25 -0000)]
svn path=/trunk/mcs/; revision=48359
Vladimir Krasnov [Sun, 14 Aug 2005 09:21:31 +0000 (09:21 -0000)]
Icon.jvm.cs: Internal constructor from bitmap
Added SystemIcons.jvm.cs with implementation of SystemIcons
svn path=/trunk/mcs/; revision=48358
Vladimir Krasnov [Sun, 14 Aug 2005 09:14:14 +0000 (09:14 -0000)]
Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals (all methods that use Graphics object)
svn path=/trunk/mcs/; revision=48357
Florian Gross [Sat, 13 Aug 2005 19:02:05 +0000 (19:02 -0000)]
2005-08-13 Florian Gross <flgr@ccan.de>
* mjs.preamble: Removed arguments declaration
* mjs-most.fail, mjs-most.tests: Adjusted for run time fixes and
additions
* README: Adjusted O'Reilly attributions to suggested style
svn path=/trunk/mcs/; revision=48353
Florian Gross [Sat, 13 Aug 2005 18:51:12 +0000 (18:51 -0000)]
2005-08-13 Florian Gross <flgr@ccan.de>
* DateConstructor.cs, StringConstructor.cs, ObjectConstructor.cs,
NumberConstructor.cs, FunctionConstructor.cs, BooleanConstructor.cs,
ArrayConstructor.cs, RegExpConstructor.cs, ErrorConstructor.cs:
Added name
* ScriptObject.cs: Added HasMethod, CallMethod uses
SemanticAnalyser.map_to_prototype and forwards engine
* ArrayPrototype.cs: Implemented sort, added SortHelper
* expression.cs: Implemented delete operator code generation
* NumericUnary.cs: Implemented EvaluateUnary (currently unused)
* ObjectPrototype.cs: smartToString falls back to toString instead
of duplicated code
* StringPrototype.cs: Fixed replace logic for replacement functions
* FunctionDeclaration.cs: More user function infrastructure
* FunctionObject.cs: Implemented ToString for user functions. Moved
name, return_type, parameters, ToString up to ScriptFunction.
Constructors set _prototype
* Closure.cs: More user function infrastructure
* Convert.cs: ToString Uses smartToString if no custom toString
exists
* BooleanObject.cs: Constructor now uses Convert.ToBoolean
* LateBindings.cs: GetMethodFlags logic for anonymous functions.
Initial implementation of DeleteMember. Implemented constructor
cases in Call and CallValue
* Relational.cs: Implemented EvaluateRelational, JScriptCompare
* Parser.cs: Fixed bugs in decompiler calls so that the decompiled
source code matches the original one
* FunctionPrototype.cs: Fixed toString function check
* Decompiler.cs: Adjusted indent properties. Made AddEOL not add
semicolons to lines which already end with one. Implemented double
literal logic
* SemanticAnalyser.cs: Added more prototype mappings
* ErrorConstructor.cs: Added ErrorTypeToName
* FunctionExpression.cs: More user function infrastructure
* ScriptFunction.cs: Added vsa_engine. Moved name, return_type,
parameters, encodedSource, ToString up from FunctionObject.
Implemented CreateInstance. Added initial setter for prototype.
Added GetDefaultValue
svn path=/trunk/mcs/; revision=48352
Zoltan Varga [Sat, 13 Aug 2005 10:55:44 +0000 (10:55 -0000)]
2005-08-13 Zoltan Varga <vargaz@freemail.hu>
* Makefile (EXTRA_DISTFILES): Add resource files. Fixes #75794.
svn path=/trunk/mcs/; revision=48351
Florian Gross [Sat, 13 Aug 2005 01:58:19 +0000 (01:58 -0000)]
Adjusted attributions of "JavaScript: The Definitive Guide" excerpts to the phrases suggested by O'Reilly
svn path=/trunk/mcs/; revision=48350
Daniel Morgan [Fri, 12 Aug 2005 23:24:11 +0000 (23:24 -0000)]
2005-08-12 Daniel Morgan <danielmorgan@verizon.net>
* SqlCommandBuilder.cs: update command builder based on
OdbcCommandBuilder latest changes to fix regression
of bug 75552
svn path=/trunk/mcs/; revision=48347
Gert Driesen [Fri, 12 Aug 2005 19:54:57 +0000 (19:54 -0000)]
* SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
available in 1.0 profile (.NET 1.1).
* VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
serializable in 2.0 profile.
svn path=/trunk/mcs/; revision=48345
Martin Baulig [Fri, 12 Aug 2005 18:23:36 +0000 (18:23 -0000)]
Put Carlos's change back, I can't reproduce the issue anymore.
svn path=/trunk/mcs/; revision=48343
Zoltan Varga [Fri, 12 Aug 2005 16:56:12 +0000 (16:56 -0000)]
2005-08-12 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (ves_icall_get_frame_info): Fix IA64 build.
svn path=/trunk/mono/; revision=48342
Martin Baulig [Fri, 12 Aug 2005 16:41:18 +0000 (16:41 -0000)]
New tests.
svn path=/trunk/mcs/; revision=48341
Martin Baulig [Fri, 12 Aug 2005 16:41:00 +0000 (16:41 -0000)]
2005-08-12 Martin Baulig <martin@ximian.com>
* expression.cs (MemberAccess.ResolveNamespaceOrType): Only search
for nested types here to avoid hitting the cache too early.
svn path=/trunk/mcs/; revision=48340
Martin Baulig [Fri, 12 Aug 2005 16:39:28 +0000 (16:39 -0000)]
2005-08-12 Martin Baulig <martin@ximian.com>
* known-issues-gmcs: Ignore cs3005-13.cs since it's supposed to
produce a warning and not an error on .NET 2.0.
svn path=/trunk/mcs/; revision=48339
Ankit Jain [Fri, 12 Aug 2005 15:34:13 +0000 (15:34 -0000)]
* get.c (init_key_table): Add "xor" to the table.
svn path=/trunk/mono/; revision=48336
Ankit Jain [Fri, 12 Aug 2005 14:55:53 +0000 (14:55 -0000)]
* get.c (dis_stringify_method_signature): handle case when a method
has parameters but no corresponding Param row.
Patch forged with Ankit.
svn path=/trunk/mono/; revision=48333
Ankit Jain [Fri, 12 Aug 2005 14:46:02 +0000 (14:46 -0000)]
In mono/dis:
2005-08-12 Ankit Jain <jankit@novell.com>
* get.c (dis_stringify_variant_type): New. Stringify MonoMarshalVariant.
(dis_stringify_marshal_spec): Add new case for MONO_NATIVE_SAFEARRAY.
In mono/metadata:
2005-08-12 Ankit Jain <jankit@novell.com>
* get.c (dis_stringify_variant_type): New. Stringify MonoMarshalVariant.
(dis_stringify_marshal_spec): Add new case for MONO_NATIVE_SAFEARRAY.
svn path=/trunk/mono/; revision=48332
Sebastien Pouliot [Fri, 12 Aug 2005 13:34:26 +0000 (13:34 -0000)]
add new tests for X520Attributes
svn path=/trunk/mcs/; revision=48328
Sebastien Pouliot [Fri, 12 Aug 2005 13:31:40 +0000 (13:31 -0000)]
2005-08-12 Sebastien Pouliot <sebastien@ximian.com>
* X520AttributesTest.cs: New. Test cases from Daniel Granath to check
best encoding selection for values.
svn path=/trunk/mcs/; revision=48327
Sebastien Pouliot [Fri, 12 Aug 2005 13:28:29 +0000 (13:28 -0000)]
2005-08-12 Sebastien Pouliot <sebastien@ximian.com>
* X520Attributes.cs: Don't select PRINTABLESTRING for non 7bits
values. Fix bug #75782. Based on patch from Daniel Granath.
svn path=/trunk/mcs/; revision=48326
Hisham Mardam Bey [Fri, 12 Aug 2005 09:48:56 +0000 (09:48 -0000)]
changlog, param name fixes to FontSetSize, added FontSetMatrix
svn path=/trunk/mcs/; revision=48323
Hisham Mardam Bey [Fri, 12 Aug 2005 09:35:24 +0000 (09:35 -0000)]
ChangeLog update
svn path=/trunk/mcs/; revision=48321
Hisham Mardam Bey [Fri, 12 Aug 2005 09:30:55 +0000 (09:30 -0000)]
fix font scaling, api change
svn path=/trunk/mcs/; revision=48319
Manjula GHM [Fri, 12 Aug 2005 09:21:46 +0000 (09:21 -0000)]
Handle trailing '#" for bool and date in Input function
svn path=/trunk/mcs/; revision=48318
Hisham Mardam Bey [Fri, 12 Aug 2005 09:14:07 +0000 (09:14 -0000)]
added Cairo.Surface.XlibSetSize ()
svn path=/trunk/mcs/; revision=48317
Atsushi Eno [Fri, 12 Aug 2005 04:47:52 +0000 (04:47 -0000)]
2005-08-12 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeFormatInfo.cs : GetAbbreviatedEraNames() and GetEra().
svn path=/trunk/mcs/; revision=48313
Lluis Sanchez [Thu, 11 Aug 2005 22:48:12 +0000 (22:48 -0000)]
2005-09-12 Lluis Sanchez <lluis@ximian.com>
* process.c: Don't close a thread handle when it's NULL. This is a
workaround for bug #75733.
svn path=/trunk/mono/; revision=48304
Carlos Alberto Cortez [Thu, 11 Aug 2005 19:37:45 +0000 (19:37 -0000)]
2005-08-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Al.cs: Use AssemblyBuilder.AddResourceFile instead of
AddResourceFile when linkin to a resource, just as .NET
does.
svn path=/trunk/mcs/; revision=48298
Atsushi Eno [Thu, 11 Aug 2005 18:51:01 +0000 (18:51 -0000)]
2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
* CultureInfo.cs : lazy load OptionalCalendars (and always non-null).
* DateTimeFormatInfo.cs : GetEraNames() should work.
* CultureInfoTest.cs : added OptionalCalendars().
* CompareInfoTest.cs : added possible bug test for checkedFlags
optimization.
svn path=/trunk/mcs/; revision=48297
Konstantin Triger [Thu, 11 Aug 2005 16:47:50 +0000 (16:47 -0000)]
Refactoring
svn path=/trunk/mcs/; revision=48296