* Graphics.cs: Removed restriction on the images that can be
loaded. Indexed images *can* be loaded
2005-09-19 Miguel de Icaza <[email protected]>
* Makefile (EXTRA_DISTFILES): Distribute indexed.png, add resource
to build.
2005-09-19 Miguel de Icaza <[email protected]>
* TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
svn path=/trunk/mcs/; revision=50273
* TestBmpCodec.cs, TestColorMatrix.cs, TestImageAttributes.cs,
TestImageCodecInfo.cs, TestJpegCodec.cs: Deny UnmanagedCode permission
to all tests. This shows (when executed under MS runtime) that S.D API
is safe and doesn't requires high privileges to run - even if we know
that, deep down, this calls into GDI+.
svn path=/trunk/mcs/; revision=50146
* TestBlend.cs, TestColorBlend.cs, TestHatchBrush.cs, TestMatrix.cs:
Deny UnmanagedCode permission to all tests. This shows (when executed
under MS runtime) that S.D API is safe and doesn't requires high
privileges to run - even if we know that, deep down, this calls into
GDI+.
svn path=/trunk/mcs/; revision=50144
* CategoryNameCollectionCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* PaintValueEventArgsCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* PropertyValueUIItemCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* ToolboxComponentsCreatedEventArgsCas.cs: New. CAS unit tests to
check for LinkDemand for SkipVerification.
* ToolboxComponentsCreatingEventArgsCas.cs: New. CAS unit tests to
check for LinkDemand for SkipVerification.
* ToolboxItemCas.cs: New. CAS unit tests to check for LinkDemand for
SkipVerification.
* ToolboxItemCollectionCas.cs: New. CAS unit tests to check for
LinkDemand for SkipVerification.
* UITypeEditorCas.cs: New. CAS unit tests to check for LinkDemand for
SkipVerification.
svn path=/trunk/mcs/; revision=50143
* BitmapCas.cs: New. CAS unit tests for Bitmap.
* GraphicsCas.cs: New. CAS unit tests for Graphics.
* ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
UnmanagedCode permission to all tests. This shows (when executed under
MS runtime) that S.D API is safe and doesn't requires high privileges
to run - even if we know that, deep down, this calls into GDI+.
svn path=/trunk/mcs/; revision=50142
* TestBimap.cs: File not found exception, related to fix r49744
2005-09-06 Jordi Mas i Hernandez <[email protected]>
svn path=/trunk/mcs/; revision=49790
deprecated Assertion class. Tests now pass on both Mono and MS.NET.
* TestRectangleConverter.cs: same.
* TestSizeConverter.cs: same.
* PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
convert string to int before checking number of components.
* RectangleConverter.cs: same.
* SizeConverter.cs: same.
svn path=/trunk/mcs/; revision=48908
* TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
* TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
* TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
* ColorConverter.cs: Fixes and changes to make the test locale unsensitive
svn path=/trunk/mcs/; revision=48547
* 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
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
* 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
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
* 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