New test.
[mono.git] / mcs / class / System.Drawing / System.Drawing.Imaging / ChangeLog
1 2006-09-14  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * BitmapData.cs: Change fields visibility to private as they either
4         have get/set properties or shouldn't be used in managed code (as they
5         do not exists when using MS GDI+). Added more warnings comments.
6
7 2006-09-01  Sebastien Pouliot  <sebastien@ximian.com>
8
9         * BitmapData.cs: Invert left and top fields to be in sync with gdip.h
10
11 2006-08-25  Sebastien Pouliot  <sebastien@ximian.com>
12
13         * ColorMatrix.cs: Add Alloc and Free method helpers for interop.
14         * ImageAttributes.cs: Fix all methods accepting a ColorMatrix (i.e.
15         which calls GdipSetImageAttributesColorMatrix) to use IntPtr instead
16         of the ColorMatrix itself.
17
18 2006-07-19  Sebastien Pouliot  <sebastien@ximian.com>
19
20         * ImageFormat.cs: Re-fixed ToString method to match MS output when
21         the ImageFormat instance comes from the static properties. Create the
22         default ImageFormat on demand (and avoid creating 10 instances of 
23         ImageFormat in the static ctor).
24
25 2006-05-30  Sebastien Pouliot  <sebastien@ximian.com>
26
27         * ImageFormat.cs: Avoid double-cast in Equals method.
28
29 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com>
30
31         * ImageFormat.cs: Fixed ToString method to match MS output.
32
33 2006-05-21  Sebastien Pouliot  <sebastien@ximian.com>
34
35         * ColorAdjustType.cs: Removed [Serializable] from 2.0 profile.
36         * ColorChannelFlag.cs: Removed [Serializable] from 2.0 profile.
37         * ColorMapType.cs: Removed [Serializable] from 2.0 profile.
38         * ColorMatrixFlag.cs: Removed [Serializable] from 2.0 profile.
39         * ColorMode.cs: Removed [Serializable] from 2.0 profile.
40         * EmfPlusRecordType.cs: Removed [Serializable] from 2.0 profile.
41         * EmfType.cs: Removed [Serializable] from 2.0 profile.
42         * EncoderParameterValueType.cs: Removed [Serializable] from 2.0 
43         profile.
44         * EncoderValue.cs: Removed [Serializable] from 2.0 profile.
45         * ImageCodecFlags.cs: Removed [Serializable] from 2.0 profile.
46         * ImageCodecInfo.cs: Removed [Serializable] from 2.0 profile.
47         * ImageFlags.cs: Removed [Serializable] from 2.0 profile.
48         * ImageLockMode.cs: Removed [Serializable] from 2.0 profile.
49         * Metafile.cs: Removed [Serializable] from 2.0 profile.
50         * MetafileFrameUnit.cs: Removed [Serializable] from 2.0 profile.
51         * MetafileType.cs: Removed [Serializable] from 2.0 profile.
52         * PixelFormat.cs: Removed [Serializable] from 2.0 profile.
53         * PlayRecordCallback.cs: Removed [Serializable] from 2.0 profile.
54
55 2006-05-05  Sebastien Pouliot  <sebastien@ximian.com>
56
57         * PaletteFlags.cs: corcompare fixes for 2.0. Add [Flags] and remove
58         [Serializable]
59
60 2006-04-20  Peter Dennis Bartok  <pbartok@novell.com>
61
62         * BitmapData.cs: Updated to match the BitmapData structure
63           from libgdiplus r59689.
64
65 2006-04-19  Peter Dennis Bartok  <pbartok@novell.com>
66
67         * BitmapData.cs: Updated to match the BitmapData structure
68           from libgdiplus r59661.
69
70 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
71
72         * ImageAttributes.cs: SetColorKey(color, color) now calls the
73         color,color,ColorAdjustType.
74
75 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
76
77         * ColorPalette.cs, EncoderParameters.cs, EncoderParameter.cs,
78           ImageAttributes.cs: 64bit cleanup and some simplifications
79
80 2006-01-27  Sebastien Pouliot  <sebastien@ximian.com>
81
82         * ImageAttributes.cs: Ensure Marshal.FreeHGlobal is called for all 
83         unmanaged memory allocated with AllocHGlobal.
84         * ImageCodecInfo.cs: Ensure Marshal.FreeHGlobal is called for all 
85         unmanaged memory allocated with AllocHGlobal.
86
87 2005-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
88
89         * ImageCodec.jvm.cs: fixed ProcessOneCodec, sometime it was failed
90         on parsing version of codec
91
92 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
93
94         * ImageCodec.jvm.cs: fixed WriteImage, removed flush 
95         of native output
96
97 2005-11-17  Raja R Harinath  <rharinath@novell.com>
98
99         * ColorMatrix.cs: Make it have Sequential layout.
100
101 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
102
103         * ImageCodec.jvm.cs: refactoring.
104
105 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
106
107         * ImageCodec.jvm.cs: Fixed error handling in codecs emumeration flow
108
109 2005-11-13  Kornél Pál  <kornelpal@hotmail.com>
110
111         * ImageFormat.cs: Fixed ToString to use this.Equals to reflect argument
112           changes to ImageFormat objects. Added Exif and Icon strings to ToString
113           and reordered formats to match declaration.
114
115 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
116
117         * ImageCodec.jvm.cs: throw an exception if codec is not found.
118
119 2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>
120
121         * ImageFormat.cs: Fixes ToString method
122
123 2005-09-27 Vladimir Krasnov <vladimirk@mainsoft.com>
124
125         * ImageCodec.jvm.cs: implemented IDsposable, 
126         fixed NativeReader, NativeWriter, NativeStream
127
128 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
129
130         * Metafile.jvm.cs: implement abstact Clone
131
132 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
133
134         * EncoderParameter.cs, EncoderParameters.cs: Calling GC.SuppressFinalize
135           from the Dispose method; fixes bug #76329
136
137 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
138
139         * ImageCodec.jvm.cs: refactoring of read/write methods, members access levels
140
141 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
142
143         * ImageCodecInfo.jvm.cs: fixed ImageCodec namespace
144         * ImageCodec.jvm.cs: refactoring of read/write methods
145
146 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
147
148         * ImageCodecInfo.jvm.cs: fixed GetValueFromMetadata, SetResolution
149
150 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
151
152         * ImageCodecInfo.jvm.cs: Refactoring
153         * Added ImageCodec.jvm.cs
154
155 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
156
157         * ImageCodecInfo.jvm.cs: Fixed Iterate
158
159 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
160
161         * ImageCodecInfo.jvm.cs: implement via java imageio, add internal APIs for
162         fast read-only requests
163         * Methafile.jvm.cs: change in not implemented api to match image.jvm.cs
164
165 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
166
167         * Metafile.jvm.cs: add TARGET_JVM implementation
168
169 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
170
171         * ColorPalette.cs, FrameDimension.cs, EncoderParameters.cs: TARGET_JVM
172         exclude not supported internal methods
173         * EncoderParameter.jvm.cs, ImageAttributes.jvm.cs, ImageFormat.jvm.cs,
174         ImageCodecInfo.jvm.cs: added TARGET_JVM implementation of these classes
175
176 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
177
178         * ColorPalette.cs: fixes ColorPalette marshaling        
179
180 2004-03-21 Jordi Mas i Hernadez <jordi@ximian.com>
181
182         * ColorMatrix.cs: fixes Matrix00 init 
183         * ImageAttributes.cs: fixes dispose method and signature
184
185 2004-02-25 Jordi Mas i Hernadez <jordi@ximian.com>
186
187         * ColorMatrix.cs: rewritten to be able to marshall it properly
188         
189 2004-12-27  Zoltan Varga  <vargaz@freemail.hu>
190
191         * ImageCodecInfo.cs: Fix marshalling of arrays on amd64.
192
193 2004-11-25  Marek Safar  <marek.safar@seznam.cz>
194
195         * ColorPalette.cs: Add CheckStatus to GetAdjustedPalette.
196
197 2004-11-03  Miguel de Icaza  <miguel@ximian.com>
198
199         * ColorPalette.cs: Add internal Clone method
200
201 2004-10-08  Ravindra  <rkumar@novell.com>
202
203         * BitmapData.cs: Synchronized the class with BitmapData struct
204         in libgdiplus.
205
206 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
207         
208         * EmfPlusRecordType.cs: fixed mismatches in enum field values
209
210 2004-05-18 Jordi Mas i Hernadez <jordi@ximian.com>
211         * ImageAttributes.cs: SetBrushRemapTable and SetRemapTable were
212         passing bad parameters to GDI+ causing them not to work 
213
214 2004-05-16  Gert Driesen (drieseng@users.sourceforge.net)
215
216         * EncoderParameterValueType.cs: fix Windows build (CSC), 
217         MCS bug #58571
218
219         * EncoderParameter.cs: removed ctors taking int value,
220         to fix public API
221
222 2004-05-14  Vladimir Vukicevic  <vladimir@pobox.com>
223
224         * EncoderParameters.cs: Added ToNativePtr() method to marshal
225         struct correctly to a native struct.  Resulting data should be
226         FreeHGlobal'd when finished.
227
228         * EncoderParameter.cs: Changed data storage to correspond to
229         native code layout (so we can pass these structs directly to
230         native code).  Also changed layout to match native layout.
231
232         * EncoderParameterValueType.cs: force EncoderParameterValueType to
233         be Int32
234
235 2004-05-13 Jordi Mas i Hernadez <jordi@ximian.com>
236
237         * ColorMatrix.cs:Make private data private 
238         * ColorPalette.cs: Make private data private
239         * Encoder.cs: Make private data private
240         * EncoderParameter.cs: Make private data private
241         * EncoderParameters.cs: Make private data private
242         * MetaHeader.cs: Make private data private
243         * PropertyItem.cs: Make private data private
244
245 2004-05-04  Vladimir Vukicevic  <vladimir@pobox.com>
246
247         * BitmapData.cs: re-synchronized with libgdiplus; also
248         removed memory deallocs here (as the data is always owned
249         by libgdiplus)
250
251 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
252         
253         Modified files from dos2unix format.
254
255 2004-04-27 Ravindra <rkumar@novell.com>
256
257         * ImageAttributes.cs: Implemented SetWrapMode(WrapMode) method.
258
259 2004-04-27 Jordi Mas i Hernadez <jordi@ximian.com>
260
261         * ImageFormat.cs: completed missimg members
262         * ImageCodecInfo.cs: Use GDI+ calls instead of native C#
263
264 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
265         * ImageFormat.cs: Implemented Equals() method.
266
267 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
268         * ImageFormat.cs: Implemented ToString() method.
269
270 2004-04-06  Vladimir Vukicevic  <vladimir@pobox.com>
271
272         * BitmapData.cs: synced up data structure with libgdiplus
273
274         * BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
275         left just codecinfo getters; the codecs are in libgdiplus
276
277         * ImageCodecInfo.cs: removed encode/decode delegates
278         
279 2004-03-31 Jordi Mas i Hernadez <jordi@ximian.com>
280         * FrameDimension.cs: added missing members 
281         
282 2004-03-26 Jordi Mas i Hernadez <jordi@ximian.com>
283         * ImageAttributes.cs: added missing members and complete the wrapper    
284
285 2004-03-04 Jordi Mas i Hernadez <jordi@ximian.com>
286         * BmpCodec.cs: fixes DPI in BMP
287         * Image.cs: gets DPI using GDI+ api
288
289 2004-03-04 Jordi Mas i Hernadez <jordi@ximian.com>
290         * BmpCodec.cs
291                 Added support for diffent formats
292                 Fixed bugs in import and export
293                 Support for OS/2 and palettes
294         * Image.cs
295                 Palettes        
296
297 2004-03-04 Sanjay Gupta <gsanjay@novell.com>
298         * Metafile.cs: Added constructor with correct signature.
299
300 2004-03-04 Nick Drochak <ndrochak@ieee.org>
301
302         * Metafile.cs: Fix build, remove duplicate member.
303
304 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
305         *ImageAttributes.cs: Added few missing functions
306         *Metafile.cs: Added stubs for missing constructors and functions
307
308 2004-03-03 Nick Drochak <ndrochak@ieee.org>
309
310         * BmpCodec.cs: Remove unsed variable.
311
312 2004-02-17 Ravindra <rkumar@novell.com>
313         * EncoderParameter.cs: Did few bug fixes and changed the file
314         format to unix.
315
316 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
317         * FrameDimension.cs: Implemented missing functionalities
318
319 2004-02-12 Ravindra <rkumar@novell.com>
320         * EncoderParameters.cs: Implemented.
321         * EncoderParameter.cs: Implemented.
322
323 2004-01-21 Jordi Mas i Hernàdez <jmas@softcatala.org>
324         * BmpBitmap.cs: fixed encoding and decoding problems
325         * ImageAttributes.cs: implemented
326
327 2004-01-19  Ravindra <rkumar@novell.com>
328
329         * Encoder.cs: Implemented.
330
331 2004-01-10  Ravindra <rkumar@novell.com>
332
333         * All Enums: Made serializable.
334
335         * ImageAttributes.cs: Implements ICloneable.
336
337         * Metafile.cs: Made serializable and invisible to COM.
338
339 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
340
341         * ColorMap.cs: Implemented
342         * ColorMatrix.cs: Implemented, Removed unneccesary members
343         * ImageAttributes.cs: Fixed signature
344         * ImageCodecInfo.cs: Added missing attribure, hide constructor
345         * ImageFormat.cs: Implemented, Added attribute
346         * MetaHeader.cs: Implemented
347         * PropertyItem.cs: Implemented
348         * ImageFlags.cs: Added Attribute
349         * ImageCodecFlags.cs: Added Attribute
350         * EmfPlusRecordType.cs: Added missing members
351
352 2003-11-12  Alexandre Pigolkine <pigolkine@gmx.de>
353         * BitmapData.cs         new function to convert BRG to RGB
354         * JPEGCodec.cs          convert BRG to RBG
355         * PNGCodec.cs
356                                         
357                                         
358 2003-11-02  Alexandre Pigolkine <pigolkine@gmx.de>
359         * BmpCodec.cs
360         * ImageCodecInfo.cs
361         * JPEGCodec.cs
362         * PNGCodec.cs
363                                         codec can select pixel format of bitmap 
364         
365 2003-10-23  Miguel de Icaza  <miguel@ximian.com>
366
367         * JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
368         we will just have the JPEG library copy directly into our buffer. 
369
370         (Encode, Decode): Ported to the new model which avoid copies, and
371         eliminates InternalImageInfo.
372
373         TODO: need to port the PNG coder/decoder, and add support for RGBA
374         images which got dropped from this version
375
376         * BmpCodec.cs: Rework this one to use BitmapData and Image.  Do
377         not use the RawBytes property, instead pull the data one line at a
378         time, and write that out.
379
380         * ImageCodecInfo.cs: Make the encoding and decoding delegates take
381         a Image parameter;  
382         
383         * BmpCodec.cs: 
384
385         * BitmapData.cs: Make this one sequential, and also mimic the
386         layout of GdiPlus.h so we can use this instead of making copies
387         back and forth.
388
389 2003-10-12 Alexandre Pigolkine
390         * BmpCodec.cs           warning removed
391
392 2003-07-23 Alexandre Pigolkine
393         * JPEGCodec.cs
394         * PNGCodec.cs           
395         * BmpCodec.cs           cosmetic changes
396
397 2003-07-22 Alexandre Pigolkine
398         * ImageCodecInfo.cs
399         * ImageFormat.cs
400         * JPEGCodec.cs
401                 changes for PNG codec
402                 
403         * PNGCodec.cs           added
404         
405 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
406
407         * Metafile.cs: Inherits from image (fix for System.Drawing.Design)
408
409 2003-06-29 Alexandre Pigolkine
410         * BmpCodec.cs           handle 32bpp images
411         * JPEGCodec.cs          small fix
412
413 2003-06-27 Alexandre Pigolkine <pigolkine@gmx.de>
414         * JPEGCodec.cs  encode 32 bpp images
415
416 2003-06-23 Alexandre Pigolkine <pigolkine@gmx.de>
417         * JPEGCodec.cs  set pixel format in InternalImageInfo
418         
419 2003-06-23 Alexandre Pigolkine <pigolkine@gmx.de>
420         * BmpCodec.cs   pixel format check added
421         * JPEGCodec.cs  encoder implemented
422
423 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
424         * ColorPalette.cs
425         * ImageCodecInfo.cs
426         * ImageFormat.cs
427                 implementation added
428                 
429         * BmpCodec.cs
430         * JPEGCodec.cs
431                 added   
432         
433 2002-9-2  DennisHayes <dennish@raytek.com>
434
435 * PropertyItem.cs t
436 * MetaHeader.cs t
437 * MetafileHeader.cs t
438 * Metafile.cs t
439 * ImageFormat.cs t
440 * ImageCodecInfo.cs t
441 * ColorMatrix.cs t
442 * ColorMap.cs t
443 * WmfPlaceableFileHeader.cs t
444 * Added todos back
445
446 2002-9-2  DennisHayes <dennish@raytek.com>
447         * checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
448         * BitmapData.cs
449         * ColorAdjustType.cs
450         * ColorChannelFlag.cs
451         * ColorMap.cs
452         * ColorMapType.cs
453         * ColorMatrix.cs
454         * ColorMatrixFlag.cs
455         * ColorMode.cs
456         * EmfPlusRecordType.cs
457         * EmfType.cs
458         * EncoderParameterValueType.cs
459         * EncoderValue.cs
460         * ImageCodecFlags.cs
461         * ImageCodecInfo.cs
462         * ImageFlags.cs
463         * ImageFormat.cs
464         * ImageLockMode.cs
465         * MetafileFrameUnit.cs
466         * MetafileHeader.cs
467         * MetaHeader.cs
468         * PaletteFlags.cs
469         * PixelFormat.cs
470         * PlayRecordCallback.cs
471         * PropertyItem.cs
472         * WmfPlaceableFileHeader.cs
473         * Added null classes for most/all classes, Many stubs, and some implmentation
474
475 2002-9-2  DennisHayes <dennish@raytek.com>
476
477         * ColorPalette.cs
478         * FrameDimension.cs
479         * Metafile.cs
480         * Added stubs, implmentation
481
482 2002-05-03  Mike Kestner  <mkestner@speakeasy.net>
483
484         * Metafile.cs : Use System.IO. Fix exception typos.
485
486 2002-04-27  Christian Meyer  <Christian.Meyer@cs.tum.edu>
487
488         * Metafile.cs: Copyright now holds Ximian.
489
490 2002-04-21  Dennis Hayes <dennish@raytek.com>
491
492         * corrected emum values.
493
494 2002-04-14  Christian Meyer  <Christian.Meyer@cs.tum.edu>
495
496         * ChangeLog: created.
497         * Metafile.cs: Added. Wrote some ctors. No impl done, yet.
498