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