2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing / ChangeLog
index 7c82c5d4dc8a7336b8afcd7f06b7b31afb9d7c31..4803dcb50c91401af4046fd5ea0b33ae8e9a8dd7 100644 (file)
@@ -1,3 +1,170 @@
+2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
+       * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
+       * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32 
+       * Image.cs: uses new Win32 Stream functions when need it
+
+2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
+
+       * Color.cs: Fix GetSaturation() again and remove
+       obsolete constants.
+
+2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
+
+       * Color.cs: New, correct implementations for GetHue(),
+       GetBrightness() and GetSaturation().
+
+2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0. 
+       * Graphics.cs: Use PlatformID.Unix under NET_2_0. 
+       * Image.cs: Use PlatformID.Unix under NET_2_0. 
+
+2005-05-05  Miguel de Icaza  <miguel@novell.com>
+
+       * Bitmap.cs, Icon.cs (constructor): Use
+       GetManifestResourceStream(Type,string) in the constructor that
+       takes a type. 
+
+2005-04-27  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * PointF.cs: Make serialization compatible with MS.
+
+2005-04-10  Geoff Norton  <gnorton@customerdna.com>
+
+       * Graphics.cs:
+         carbonFunctions.cs:
+               Use CGContextSynchronize instead of CGContextFlush.  This saves
+               on average 20000 ticks per drawing operation.
+
+2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Color.cs: take into account the name color in == and != operators
+       * Font.cs: Use Equals instead of == to compare the family name
+       * FontFamily.cs:
+          -  Removes generic fontfamilies cache (done at libgdiplus level)
+          -  Fixes Equals method
+
+2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Pen.cs: remove locks. They are done at gdiplus level
+       * Brush.cs: remove locks. They are done at gdiplus level
+       * Image.cs: remove locks. They are done at gdiplus level
+
+2005-03-30  Rogério Pereira Araújo <rogerio.araujo@gmail.com>
+
+       * Icon.cs: Finished Icon(Type, String) ctor
+
+2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * gdipFunctions.cs: fixes GdipGetImagePalette signature
+       * Image.cs: Implements Palette property using gdiplus     
+
+2005-03-17  Peter Bartok  <pbartok@novell.com>
+
+       * gdipFunctions.cs: 
+         - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
+           method, now includes a get header delegate
+         - Added StreamGetHeaderImpl method, to allow libgdiplus to determine 
+           the image type even on non-seekable streams
+         - Fixed StreamGetBytesImpl to consider the bytes already retrieved
+           via StreamGetHeaderImpl
+       * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
+         the new StreamGetHeader delegate
+
+2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Pen.cs: Fixes dispose method to allow to be called multiple times
+       * Graphics.cs: matrix are saved and restored at gdiplus level   
+
+2005-02-24  Geoff Norton  <gnorton@customerdna.com>
+
+       * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
+       so they dont get garbage collected before use.
+
+2005-02-11  Peter Bartok  <pbartok@novell.com>
+
+       * gdipFunctions.cs: Fixed prototype to match previous checkin
+
+2005-02-11  Peter Bartok  <pbartok@novell.com>
+
+       * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
+         it really is a pointer)
+
+2005-02-10  Geoff Norton  <gnorton@customerdna.com>
+
+       * Icon.cs: Implement GetObjectData ()
+       * Image.cs: Implement GetObjectData ()
+
+2005-02-09  Geoff Norton  <gnorton@customerdna.com>
+
+       * Icon.cs: Implement deserializer
+       * Bitmap.cs: Implement deserializer
+
+2005-02-06  Ben Maurer  <bmaurer@ximian.com>
+
+       * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
+
+2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Region.cs: revert Jackson's patch and fix this at libgdiplus level
+
+2005-02-02  Jackson Harper  <jackson@ximian.com>
+
+       * Region.cs: The default region constructor creates and infinite
+       region, not an empty one.
+
+2005-01-27  Peter Bartok  <pbartok@novell.com>
+
+       * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
+         of HSV numbers. Previous implementation returned wrong numbers and NaN
+         on achromatic colors
+
+2005-01-27  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
+       SizeConverter.cs, ColorConverter.cs, FontConverter.cs
+       : Implemented support for InstanceDescriptor.
+
+2005-01-26  Peter Bartok  <pbartok@novell.com>
+
+       * Icon.cs (ToBitmap): Now sets transparency in according to
+         icon AND mask
+
+2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
+
+        * gdipFunctions.cs: Fixes GdipGet* function signatures
+        * FontFamily.cs: Fixes GdipGet* function calls
+        * Font.cs: Fixes ToString method
+        
+2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
+
+        * Graphics.cs: calls XCloseDisplay on X11 when need it
+        * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
+
+2004-12-27  Zoltan Varga  <vargaz@freemail.hu>
+
+       * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
+
+2004-12-16  Peter Bartok  <pbartok@novell.com>
+
+       * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
+         equivalent to the gdi+ native object
+
+       * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
+         equivalent to the gdi+ native object
+
+2004-12-09  Geoff Norton  <gnorton@customerdna.com>
+
+       * carbonFunctions.cs: New carbon functions/structures
+       * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
+
+2004-12-08  Geoff Norton  <gnorton@customerdna.com>
+
+       * Graphics.cs:  Drop FromHwndWithSize; we can't change the public API
+       Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
+
 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
 
         * Graphics.cs:  Add FromHwndWithSize for the MWF/Quartz backend