* ColorPalette.cs, EncoderParameters.cs, EncoderParameter.cs,
ImageAttributes.cs: 64bit cleanup and some simplifications
2006-02-09 Peter Dennis Bartok <[email protected]>
* PrintingServicesWin32.cs: Simplyfied the code, removing the need
for pointer calculations (part of 64bit cleanup)
2006-02-09 Peter Dennis Bartok <[email protected]>
* Image.cs, Bitmap.cs: Removed unneeded casts
* Icon.cs: Fixed code to be 64bit safe
svn path=/trunk/mcs/; revision=56738
* ImageAttributes.cs: Ensure Marshal.FreeHGlobal is called for all
unmanaged memory allocated with AllocHGlobal.
* ImageCodecInfo.cs: Ensure Marshal.FreeHGlobal is called for all
unmanaged memory allocated with AllocHGlobal.
svn path=/trunk/mcs/; revision=56183
2005-12-05 Jordi Mas i Hernandez <[email protected]>
* TestToolboxItem.cs: New unit test
In Test/System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>
* TestPoint.cs: Test new methods for .Net 2.0
* TestPointF.cs Test new methods for .Net 2.0
* ColorConverter.cs: Fixes for .Net 2.0
* TestSizeF.cs: Test new methods for .Net 2.0
* TestSize.cs: Test new methods for .Net 2.0
In System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>
* ToolboxItem.cs: Add new methods and properties for .Net and
also moved to an internal properties hashtable implementation
* IToolboxItemProvider.cs: New .Net 2.0 interface
In .:
2005-12-05 Jordi Mas i Hernandez <[email protected]>
* MetaHeader.cs: Classes need to specify StructLayout attribute
* EncoderParameter.cs: Classes need to specify StructLayout attribute
* ImageAttributes.cs: Classes need to specify StructLayout attribute
* WmfPlaceableFileHeader.cs: Classes need to specify StructLayout attribute
* MetafileHeader.cs: Classes need to specify StructLayout attribute
In System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>
* gdipFunctions.cs: DllExports need it to implement
new Graphics.CopyFromScreen .Net 2.0 methods
* IDeviceContext.cs: New .Net 2.0 interface
* Color.cs: Fixes for new .Net 2.0 KnowColors
* PointF.cs: New .Net 2.0 Add/Subtract methods
* gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
* SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
* SizeF.cs: New .Net 2.0 Add/Subtract methods
* FontConverter.cs: New .Net 2.0 fixes
* SystemColors.cs: New standard SystemColors for .Net 2.0
* SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
* CharacterRange.cs: : New .Net 2.0 methods
* Size.cs: New .Net 2.0 Add/Subtract methods
* SystemPens.cs: New standard SystemPens for .Net 2.0
* Bitmap.cs: New .Net 2.0 methods
* Region.cs: New .Net 2.0 methods
* Brush.cs: New .Net 2.0 constructor
* Icon.cs: New .Net 2.0 Constructors and methods
* Point.cs: New .Net 2.0 Add/Subtract methods
* BufferedGraphicsManager.cs: New .Net 2.0 class
* Graphics.cs: New methods for .Net 2.0 and fixes
* BufferedGraphics.cs: New .Net 2.0 class
* Font.cs: New .Net 2.0 properties
* Image.cs: New .Net 2.0 tag property
* KnownColor.cs: New .Net 2.0 know colors
* CopyPixelOperation.cs: New .Net 2.0 enum
* SystemFonts.cs: New .Net 2.0 class
* BufferedGraphicsContext.cs: New .Net 2.0 class
svn path=/trunk/mcs/; revision=53938
2005-10-31 Jordi Mas i Hernandez <[email protected]>
* TestImageFormat.cs: New test unit
In System.Drawing.Imaging:
2005-10-31 Jordi Mas i Hernandez <[email protected]>
* ImageFormat.cs: Fixes ToString method
In System.Drawing:
2005-10-31 Jordi Mas i Hernandez <[email protected]>
* Image.cs: Default format for MemoryBMP should be Png
svn path=/trunk/mcs/; revision=52409
* 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
* TextureBrush.cs (Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
* Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future, set the lock on the object before doing any
other tests, not after.
(Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
* Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future.
Set the lock in the object before checkign disposed.
* SolidBrush.cs (Clone): While cloning, it is not enough to let
GDIPlus clone the underlying data, we must alos clone the managed
information.
(Dispose): Set the nativeObject to IntPtr.Zero to catch
errors in the future.
2004-11-03 Miguel de Icaza <[email protected]>
* ColorPalette.cs: Add internal Clone method
svn path=/trunk/mcs/; revision=35607
struct correctly to a native struct. Resulting data should be
FreeHGlobal'd when finished.
* EncoderParameter.cs: Changed data storage to correspond to
native code layout. Also changed layout to match native layout.
* EncoderParameterValueType.cs: force EncoderParameterValueType to
be Int32
* gdipFunctions.cs: Fixed prototype for
GdipGetEncoderParameterList
* Image.cs: Reworked Save functions to handle EncoderParameters.
Implemented GetEncoderParameterList.
Also removed unused setGDIPalette internal method.
svn path=/trunk/mcs/; revision=27467