Files
mono/mcs/class/System.Drawing/System.Drawing.Imaging/ChangeLog
T
Andreia Gaita 0605c47f81 * System.Drawing/Image.cs: On win32, when cloning images initialized from
resources, also clone the underlying stream, since it needs to stay
  around for the life of the image (gdi doesn't clone the underlying
  stream when cloning images, so when the gc disposes the original, it
  will also dispose the stream, which invalidates the clone).

* System.Drawing/Bitmap.cs: Save the underlying stream when creating bitmaps from a
  clone under win32

* System.Drawing.Imaging/Metafile.cs: Save the underlying stream when creating from a
  clone under win32

  [fixes #438886]

2008-11-21  Andreia Gaita  <[email protected]>

svn path=/trunk/mcs/; revision=119580
2008-11-21 05:39:11 +00:00

615 lines
19 KiB
Plaintext

2008-11-21 Andreia Gaita <[email protected]>
* Metafile.cs: Save the underlying stream when creating from a
clone under win32 (fixes #438886)
2008-10-12 Sebastien Pouliot <[email protected]>
* ColorPalette.cs, ImageFormat.cs: Remove unneeded field
initialization to their default values.
[Found using Gendarme AvoidUnneededFieldInitializationRule]
2008-08-06 Sebastien Pouliot <[email protected]>
* FrameDimension.cs: Fix double-cast in Equals (found using Gendarme).
Then fixed a lot of other things while creating unit tests for it.
2008-07-14 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Fix GetAdjustedPalette using new (and correct)
signature.
2008-06-23 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Call CheckStatus in GetAdjustedPalette before
trying to set the palette (since the values could be bad).
[Partial fix for #402172]
2008-05-14 Sebastien Pouliot <[email protected]>
* EncoderParameters.cs: Don't downcast an IntPtr to an Int32.
[Found using Gendarme]
2007-12-13 Vladimir Krasnov <[email protected]>
* ImageCodec.jvm.cs: fixed bitmap resolution
2007-11-05 Sebastien Pouliot <[email protected]>
* Metafile.cs: Stream position is not moved for metafiles.
2007-05-30 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Remove TODO for ColorMatrixFlags and Gray
ColorMatrix support methods. Add TODO on some stuff not supported by
libgdiplus (so MoMA reports gets more accurate). Fix coding style.
2007-05-09 Igor Zelmanovich <[email protected]>
* EncoderParameter.jvm.cs: removed destructor,
Dispose doesn't throw exception.
2007-04-26 Sebastien Pouliot <[email protected]>
* Metafile.cs: Reduce size by reusing more complex ctors. Add Linux
support to metafile recoding with the new delegate-based functions.
2007-04-26 Sebastien Pouliot <[email protected]>
* Metafile.cs: Complete all ctors (except for stream-based one outside
Windows) with calls into GDI+.
2007-03-28 Sebastien Pouliot <[email protected]>
* MetaHeader.cs: Make workaround (#81254) permanent and return correct
values on big endian architectures.
2007-03-28 Sebastien Pouliot <[email protected]>
* MetaHeader.cs: Workaround bug #81254 where the SPARC architecture
can't use the misaligned integer in the structure (with Pack=2).
2007-03-14 Sebastien Pouliot <[email protected]>
* MetafileHeader.cs: WmfHeader is available on non-placeable WMF too.
2007-03-09 Sebastien Pouliot <[email protected]>
* MetafileHeader.cs: WmfHeader throws if the metafile isn't a WMF (e.g.
EMF, EMF+ or EMF dual).
2007-03-09 Sebastien Pouliot <[email protected]>
* MetafileHeader.cs: Fix offset to match correct C definition.
2007-02-21 Sebastien Pouliot <[email protected]>
* Metafile.cs: Implement a few cases required to playback metafiles.
* MetafileHeader.cs: Implemented.
* MetaHeader.cs: Implemented.
* WmfPlaceableFileHeader.cs: Adjust packing.
2007-01-12 Sebastien Pouliot <[email protected]>
* ImageAttribute.cs: Reuse code in SetColorMatrix overloads.
2007-01-08 Sebastien Pouliot <[email protected]>
* ImageCodecInfo.cs: Remove MonoTODO on SignaturePatterns.
2006-11-22 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Better MonoTODO description.
* ImageCodecInfo.cs: Add MonoTODO description.
* Metafile.cs: Use a single MonoTODO on the class itself. MoMA will
detect and report that every ctors/methods/properties are throwing
NotImplementedException.
* MetafileHeader.cs: Use a single MonoTODO on the class itself. MoMA
will detect and report that every ctors/methods/properties are
throwing NotImplementedException.
2006-10-31 Sebastien Pouliot <[email protected]>
* MetaHeader.cs: Fix layout (order is important in sequential structs)
and use the struct field names;
* WmfPlaceableFileHeader.cs: Implement all TODO.
2006-09-14 Sebastien Pouliot <[email protected]>
* BitmapData.cs: Change fields visibility to private as they either
have get/set properties or shouldn't be used in managed code (as they
do not exists when using MS GDI+). Added more warnings comments.
2006-09-01 Sebastien Pouliot <[email protected]>
* BitmapData.cs: Invert left and top fields to be in sync with gdip.h
2006-08-25 Sebastien Pouliot <[email protected]>
* ColorMatrix.cs: Add Alloc and Free method helpers for interop.
* ImageAttributes.cs: Fix all methods accepting a ColorMatrix (i.e.
which calls GdipSetImageAttributesColorMatrix) to use IntPtr instead
of the ColorMatrix itself.
2006-07-19 Sebastien Pouliot <[email protected]>
* ImageFormat.cs: Re-fixed ToString method to match MS output when
the ImageFormat instance comes from the static properties. Create the
default ImageFormat on demand (and avoid creating 10 instances of
ImageFormat in the static ctor).
2006-05-30 Sebastien Pouliot <[email protected]>
* ImageFormat.cs: Avoid double-cast in Equals method.
2006-05-24 Sebastien Pouliot <[email protected]>
* ImageFormat.cs: Fixed ToString method to match MS output.
2006-05-21 Sebastien Pouliot <[email protected]>
* ColorAdjustType.cs: Removed [Serializable] from 2.0 profile.
* ColorChannelFlag.cs: Removed [Serializable] from 2.0 profile.
* ColorMapType.cs: Removed [Serializable] from 2.0 profile.
* ColorMatrixFlag.cs: Removed [Serializable] from 2.0 profile.
* ColorMode.cs: Removed [Serializable] from 2.0 profile.
* EmfPlusRecordType.cs: Removed [Serializable] from 2.0 profile.
* EmfType.cs: Removed [Serializable] from 2.0 profile.
* EncoderParameterValueType.cs: Removed [Serializable] from 2.0
profile.
* EncoderValue.cs: Removed [Serializable] from 2.0 profile.
* ImageCodecFlags.cs: Removed [Serializable] from 2.0 profile.
* ImageCodecInfo.cs: Removed [Serializable] from 2.0 profile.
* ImageFlags.cs: Removed [Serializable] from 2.0 profile.
* ImageLockMode.cs: Removed [Serializable] from 2.0 profile.
* Metafile.cs: Removed [Serializable] from 2.0 profile.
* MetafileFrameUnit.cs: Removed [Serializable] from 2.0 profile.
* MetafileType.cs: Removed [Serializable] from 2.0 profile.
* PixelFormat.cs: Removed [Serializable] from 2.0 profile.
* PlayRecordCallback.cs: Removed [Serializable] from 2.0 profile.
2006-05-05 Sebastien Pouliot <[email protected]>
* PaletteFlags.cs: corcompare fixes for 2.0. Add [Flags] and remove
[Serializable]
2006-04-20 Peter Dennis Bartok <[email protected]>
* BitmapData.cs: Updated to match the BitmapData structure
from libgdiplus r59689.
2006-04-19 Peter Dennis Bartok <[email protected]>
* BitmapData.cs: Updated to match the BitmapData structure
from libgdiplus r59661.
2006-04-03 Gonzalo Paniagua Javier <[email protected]>
* ImageAttributes.cs: SetColorKey(color, color) now calls the
color,color,ColorAdjustType.
2006-02-09 Peter Dennis Bartok <[email protected]>
* ColorPalette.cs, EncoderParameters.cs, EncoderParameter.cs,
ImageAttributes.cs: 64bit cleanup and some simplifications
2006-01-27 Sebastien Pouliot <[email protected]>
* 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.
2005-11-23 Vladimir Krasnov <[email protected]>
* ImageCodec.jvm.cs: fixed ProcessOneCodec, sometime it was failed
on parsing version of codec
2005-11-17 Vladimir Krasnov <[email protected]>
* ImageCodec.jvm.cs: fixed WriteImage, removed flush
of native output
2005-11-17 Raja R Harinath <[email protected]>
* ColorMatrix.cs: Make it have Sequential layout.
2005-11-16 Konstantin Triger <[email protected]>
* ImageCodec.jvm.cs: refactoring.
2005-11-14 Vladimir Krasnov <[email protected]>
* ImageCodec.jvm.cs: Fixed error handling in codecs emumeration flow
2005-11-13 Kornél Pál <[email protected]>
* ImageFormat.cs: Fixed ToString to use this.Equals to reflect argument
changes to ImageFormat objects. Added Exif and Icon strings to ToString
and reordered formats to match declaration.
2005-11-13 Konstantin Triger <[email protected]>
* ImageCodec.jvm.cs: throw an exception if codec is not found.
2005-10-31 Jordi Mas i Hernandez <[email protected]>
* ImageFormat.cs: Fixes ToString method
2005-09-27 Vladimir Krasnov <[email protected]>
* ImageCodec.jvm.cs: implemented IDsposable,
fixed NativeReader, NativeWriter, NativeStream
2005-10-20 Konstantin Triger <[email protected]>
* Metafile.jvm.cs: implement abstact Clone
2005-10-04 Peter Dennis Bartok <[email protected]>
* EncoderParameter.cs, EncoderParameters.cs: Calling GC.SuppressFinalize
from the Dispose method; fixes bug #76329
2005-09-21 Vladimir Krasnov <[email protected]>
* ImageCodec.jvm.cs: refactoring of read/write methods, members access levels
2005-09-14 Vladimir Krasnov <[email protected]>
* ImageCodecInfo.jvm.cs: fixed ImageCodec namespace
* ImageCodec.jvm.cs: refactoring of read/write methods
2005-09-07 Vladimir Krasnov <[email protected]>
* ImageCodecInfo.jvm.cs: fixed GetValueFromMetadata, SetResolution
2005-09-07 Vladimir Krasnov <[email protected]>
* ImageCodecInfo.jvm.cs: Refactoring
* Added ImageCodec.jvm.cs
2005-08-28 Vladimir Krasnov <[email protected]>
* ImageCodecInfo.jvm.cs: Fixed Iterate
2005-08-03 Andrew Skiba <[email protected]>
* 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
2005-08-03 Andrew Skiba <[email protected]>
* Metafile.jvm.cs: add TARGET_JVM implementation
2005-08-03 Andrew Skiba <[email protected]>
* ColorPalette.cs, FrameDimension.cs, EncoderParameters.cs: TARGET_JVM
exclude not supported internal methods
* EncoderParameter.jvm.cs, ImageAttributes.jvm.cs, ImageFormat.jvm.cs,
ImageCodecInfo.jvm.cs: added TARGET_JVM implementation of these classes
2005-03-23 Jordi Mas i Hernandez <[email protected]>
* ColorPalette.cs: fixes ColorPalette marshaling
2004-03-21 Jordi Mas i Hernadez <[email protected]>
* ColorMatrix.cs: fixes Matrix00 init
* ImageAttributes.cs: fixes dispose method and signature
2004-02-25 Jordi Mas i Hernadez <[email protected]>
* ColorMatrix.cs: rewritten to be able to marshall it properly
2004-12-27 Zoltan Varga <[email protected]>
* ImageCodecInfo.cs: Fix marshalling of arrays on amd64.
2004-11-25 Marek Safar <[email protected]>
* ColorPalette.cs: Add CheckStatus to GetAdjustedPalette.
2004-11-03 Miguel de Icaza <[email protected]>
* ColorPalette.cs: Add internal Clone method
2004-10-08 Ravindra <[email protected]>
* BitmapData.cs: Synchronized the class with BitmapData struct
in libgdiplus.
2004-06-13 Gert Driesen <[email protected]>
* EmfPlusRecordType.cs: fixed mismatches in enum field values
2004-05-18 Jordi Mas i Hernadez <[email protected]>
* ImageAttributes.cs: SetBrushRemapTable and SetRemapTable were
passing bad parameters to GDI+ causing them not to work
2004-05-16 Gert Driesen ([email protected])
* EncoderParameterValueType.cs: fix Windows build (CSC),
MCS bug #58571
* EncoderParameter.cs: removed ctors taking int value,
to fix public API
2004-05-14 Vladimir Vukicevic <[email protected]>
* EncoderParameters.cs: Added ToNativePtr() method to marshal
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 (so we can pass these structs directly to
native code). Also changed layout to match native layout.
* EncoderParameterValueType.cs: force EncoderParameterValueType to
be Int32
2004-05-13 Jordi Mas i Hernadez <[email protected]>
* ColorMatrix.cs:Make private data private
* ColorPalette.cs: Make private data private
* Encoder.cs: Make private data private
* EncoderParameter.cs: Make private data private
* EncoderParameters.cs: Make private data private
* MetaHeader.cs: Make private data private
* PropertyItem.cs: Make private data private
2004-05-04 Vladimir Vukicevic <[email protected]>
* BitmapData.cs: re-synchronized with libgdiplus; also
removed memory deallocs here (as the data is always owned
by libgdiplus)
2004-04-28 Sanjay Gupta <[email protected]>
Modified files from dos2unix format.
2004-04-27 Ravindra <[email protected]>
* ImageAttributes.cs: Implemented SetWrapMode(WrapMode) method.
2004-04-27 Jordi Mas i Hernadez <[email protected]>
* ImageFormat.cs: completed missimg members
* ImageCodecInfo.cs: Use GDI+ calls instead of native C#
2004-04-27 Sanjay Gupta <[email protected]>
* ImageFormat.cs: Implemented Equals() method.
2004-04-27 Sanjay Gupta <[email protected]>
* ImageFormat.cs: Implemented ToString() method.
2004-04-06 Vladimir Vukicevic <[email protected]>
* BitmapData.cs: synced up data structure with libgdiplus
* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus
* ImageCodecInfo.cs: removed encode/decode delegates
2004-03-31 Jordi Mas i Hernadez <[email protected]>
* FrameDimension.cs: added missing members
2004-03-26 Jordi Mas i Hernadez <[email protected]>
* ImageAttributes.cs: added missing members and complete the wrapper
2004-03-04 Jordi Mas i Hernadez <[email protected]>
* BmpCodec.cs: fixes DPI in BMP
* Image.cs: gets DPI using GDI+ api
2004-03-04 Jordi Mas i Hernadez <[email protected]>
* BmpCodec.cs
Added support for diffent formats
Fixed bugs in import and export
Support for OS/2 and palettes
* Image.cs
Palettes
2004-03-04 Sanjay Gupta <[email protected]>
* Metafile.cs: Added constructor with correct signature.
2004-03-04 Nick Drochak <[email protected]>
* Metafile.cs: Fix build, remove duplicate member.
2004-03-03 Sanjay Gupta <[email protected]>
*ImageAttributes.cs: Added few missing functions
*Metafile.cs: Added stubs for missing constructors and functions
2004-03-03 Nick Drochak <[email protected]>
* BmpCodec.cs: Remove unsed variable.
2004-02-17 Ravindra <[email protected]>
* EncoderParameter.cs: Did few bug fixes and changed the file
format to unix.
2004-02-13 Sanjay Gupta <[email protected]>
* FrameDimension.cs: Implemented missing functionalities
2004-02-12 Ravindra <[email protected]>
* EncoderParameters.cs: Implemented.
* EncoderParameter.cs: Implemented.
2004-01-21 Jordi Mas i Hernàdez <[email protected]>
* BmpBitmap.cs: fixed encoding and decoding problems
* ImageAttributes.cs: implemented
2004-01-19 Ravindra <[email protected]>
* Encoder.cs: Implemented.
2004-01-10 Ravindra <[email protected]>
* All Enums: Made serializable.
* ImageAttributes.cs: Implements ICloneable.
* Metafile.cs: Made serializable and invisible to COM.
2003-11-13 Andreas Nahr <[email protected]>
* ColorMap.cs: Implemented
* ColorMatrix.cs: Implemented, Removed unneccesary members
* ImageAttributes.cs: Fixed signature
* ImageCodecInfo.cs: Added missing attribure, hide constructor
* ImageFormat.cs: Implemented, Added attribute
* MetaHeader.cs: Implemented
* PropertyItem.cs: Implemented
* ImageFlags.cs: Added Attribute
* ImageCodecFlags.cs: Added Attribute
* EmfPlusRecordType.cs: Added missing members
2003-11-12 Alexandre Pigolkine <[email protected]>
* BitmapData.cs new function to convert BRG to RGB
* JPEGCodec.cs convert BRG to RBG
* PNGCodec.cs
2003-11-02 Alexandre Pigolkine <[email protected]>
* BmpCodec.cs
* ImageCodecInfo.cs
* JPEGCodec.cs
* PNGCodec.cs
codec can select pixel format of bitmap
2003-10-23 Miguel de Icaza <[email protected]>
* JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
we will just have the JPEG library copy directly into our buffer.
(Encode, Decode): Ported to the new model which avoid copies, and
eliminates InternalImageInfo.
TODO: need to port the PNG coder/decoder, and add support for RGBA
images which got dropped from this version
* BmpCodec.cs: Rework this one to use BitmapData and Image. Do
not use the RawBytes property, instead pull the data one line at a
time, and write that out.
* ImageCodecInfo.cs: Make the encoding and decoding delegates take
a Image parameter;
* BmpCodec.cs:
* BitmapData.cs: Make this one sequential, and also mimic the
layout of GdiPlus.h so we can use this instead of making copies
back and forth.
2003-10-12 Alexandre Pigolkine
* BmpCodec.cs warning removed
2003-07-23 Alexandre Pigolkine
* JPEGCodec.cs
* PNGCodec.cs
* BmpCodec.cs cosmetic changes
2003-07-22 Alexandre Pigolkine
* ImageCodecInfo.cs
* ImageFormat.cs
* JPEGCodec.cs
changes for PNG codec
* PNGCodec.cs added
2003-07-21 Andreas Nahr <[email protected]>
* Metafile.cs: Inherits from image (fix for System.Drawing.Design)
2003-06-29 Alexandre Pigolkine
* BmpCodec.cs handle 32bpp images
* JPEGCodec.cs small fix
2003-06-27 Alexandre Pigolkine <[email protected]>
* JPEGCodec.cs encode 32 bpp images
2003-06-23 Alexandre Pigolkine <[email protected]>
* JPEGCodec.cs set pixel format in InternalImageInfo
2003-06-23 Alexandre Pigolkine <[email protected]>
* BmpCodec.cs pixel format check added
* JPEGCodec.cs encoder implemented
2003-06-15 Alexandre Pigolkine <[email protected]>
* ColorPalette.cs
* ImageCodecInfo.cs
* ImageFormat.cs
implementation added
* BmpCodec.cs
* JPEGCodec.cs
added
2002-9-2 DennisHayes <[email protected]>
* PropertyItem.cs t
* MetaHeader.cs t
* MetafileHeader.cs t
* Metafile.cs t
* ImageFormat.cs t
* ImageCodecInfo.cs t
* ColorMatrix.cs t
* ColorMap.cs t
* WmfPlaceableFileHeader.cs t
* Added todos back
2002-9-2 DennisHayes <[email protected]>
* checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
* BitmapData.cs
* ColorAdjustType.cs
* ColorChannelFlag.cs
* ColorMap.cs
* ColorMapType.cs
* ColorMatrix.cs
* ColorMatrixFlag.cs
* ColorMode.cs
* EmfPlusRecordType.cs
* EmfType.cs
* EncoderParameterValueType.cs
* EncoderValue.cs
* ImageCodecFlags.cs
* ImageCodecInfo.cs
* ImageFlags.cs
* ImageFormat.cs
* ImageLockMode.cs
* MetafileFrameUnit.cs
* MetafileHeader.cs
* MetaHeader.cs
* PaletteFlags.cs
* PixelFormat.cs
* PlayRecordCallback.cs
* PropertyItem.cs
* WmfPlaceableFileHeader.cs
* Added null classes for most/all classes, Many stubs, and some implmentation
2002-9-2 DennisHayes <[email protected]>
* ColorPalette.cs
* FrameDimension.cs
* Metafile.cs
* Added stubs, implmentation
2002-05-03 Mike Kestner <[email protected]>
* Metafile.cs : Use System.IO. Fix exception typos.
2002-04-27 Christian Meyer <[email protected]>
* Metafile.cs: Copyright now holds Ximian.
2002-04-21 Dennis Hayes <[email protected]>
* corrected emum values.
2002-04-14 Christian Meyer <[email protected]>
* ChangeLog: created.
* Metafile.cs: Added. Wrote some ctors. No impl done, yet.