fixes save method using formatID instead of ClsID
[mono.git] / mcs / class / System.Drawing / System.Drawing / ChangeLog
1 2004-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
2
3         * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
4         its ClsID instead of the formatID (as GDI+ expects)
5
6 2004-04-29  Ravindra <rkumar@novell.com>
7
8         * Font.cs: Added checks for status.
9         * Bitmap.cs: Added checks for status.
10         * Pen.cs: Added checks for status.
11
12 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
13
14         * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
15         Converted to unix format from dos format.
16
17 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
18
19         * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
20
21 2004-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
22
23         * gdipStructs.cs: added GdipImageCodecInfo struct
24
25 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
26
27         * ImageFormatConverter.cs: Corrected ConvertFrom method.
28
29 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
30
31         * ImageConverter.cs: Added exception message.
32         * IconConverter.cs: Added exception message.
33         * ImageFormatConverter.cs: Implemented first version.
34
35 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
36
37         * ImageConverter.cs: Implemented first version.
38
39 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
40
41         * IconConverter.cs: Implemented first version.
42
43 2004-04-26  Sanjay Gupta  <gsanjay@novell.com>
44
45         * Image.cs: Corrected implementation of Property RawFormat.
46         * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
47
48 2004-04-25  Sanjay Gupta  <gsanjay@novell.com>
49
50         * Bitmap.cs: Resolved a compile time error.
51         * Image.cs: Changed the implementation of few methods to progress
52           with ImageAnimator class.
53         * gdipFunctions.cs: Added few linux only function calls.
54         * Icon.cs: Removed unused variable from code.
55
56 2004-04-25  Vladimir Vukicevic  <vladimir@pobox.com>
57
58         * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
59
60 2004-04-23  Vladimir Vukicevic  <vladimir@pobox.com>
61
62         * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
63         serialization for Bitmaps.  (Bugzilla #52568)
64
65 2004-04-23  Ravindra <rkumar@novell.com>
66
67         * RectangleConverter.cs: Fixed ConvertTo () method.
68         * SizeConverter.cs: Fixed ConvertTo () method.
69         * PointConverter.cs: Fixed ConvertTo () method.
70
71 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
72         * ImageAnimator.cs: Implemented CanAnimate() method.
73
74 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
75         * Image.cs: added RotateFlip and RemovePropertyItem calls
76         
77 2004-04-22  Ravindra <rkumar@novell.com>
78
79         * RectangleConverter.cs: Implemented. Also changed file format
80         dos2unix.
81         * Rectangle.cs: Fixed ToString method.
82         * RectangleF.cs: Fixed ToString method.
83
84 2004-04-22  Ravindra <rkumar@novell.com>
85
86         * SizeConverter.cs: Implemented some of the functions.
87         * PointConveter.cs: Implemented.
88         * gdipFunctions.cs: Corrected one typo.
89         * Brushes.cs: Added a comment.
90
91 2004-04-22  Vladimir Vukicevic  <vladimir@pobox.com>
92
93         * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
94         returning portions of the peek buffer back.  Fixes #57379.
95
96 2004-04-21 Peter Bartok <pbartok@novell.com>
97    * Font.cs: Implemented Font.FromHfont method
98    * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
99    * gdipFunctions.cs: Added imports for functions required to support
100    Font.FromHfont method
101
102 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
103         * RectangleConverter.cs: stubbed out
104         * Font.cs : added missing members
105
106 2004-04-19  Sanjay Gupta <gsanjay@novell.com>
107         * Icon.cs: Fixed problem in extracting bitmap from Icon.
108
109 2004-04-16  Ravindra <rkumar@novell.com>
110
111         * Pen.cs: GC should be allowed to collect any pen including
112         system pens.
113         * SolidBrush.cs: GC should be allowed to collect any SolidBrush
114         including system brushes.
115         * Brushes.cs: Coding style.
116         * Pens.cs: Objects created by Pens are not modifiable on
117         MS.NET, so we are now. Also, coding style fixes.
118         * SystemPens.cs: Removed static constructor and changed file
119         format dos2unix.
120         * SystemBrushes.cs: Some cosmetic changes.
121
122 2004-04-15  Sanjay Gupta <gsanjay@novell.com>
123         * Icon.cs: Implemented more missing bits and fixed the problem
124                 of icon not getting saved in proper format
125
126 2004-04-14  Sanjay Gupta <gsanjay@novell.com>
127         * Icon.cs: Implemented more missing bits
128
129 2004-04-13  Sanjay Gupta <gsanjay@novell.com>
130         * Icon.cs: Implemented few more missing bits
131
132 2004-04-12  Sanjay Gupta <gsanjay@novell.com>
133         * Icon.cs: Implemented first version
134
135 2004-04-11  Peter Bartok <pbartok@novell.com>
136    * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
137    the code and using our own private gdiplus function when on Unix and using Win32
138    functions when running on Windows
139    * gdipStructs.cs: Added LOGFONTA structure
140    * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
141
142 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
143
144         * Image.cs: Save should use encoder.FormatID, not Clsid
145
146 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
147         * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
148         * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
149
150 2004-04-06  Duncan Mak  <duncan@ximian.com>
151
152         * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
153
154 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
155         * Region.cs: fixes GetRegionScans
156         * gdipFunctions.cs: fixes GetRegionScans
157
158 2004-04-06  Vladimir Vukicevic  <vladimir@pobox.com>
159
160         * gdipFunctions.cs: Added stream delegate helpers for
161         stream loading/saving on linux
162
163         * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
164         loading/saving image data.
165
166 2004-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
167         * Region.cs: implemented new methods
168         * Graphics.cs: implemented new methods
169
170 2004-04-02  Jordi Mas i Hernandez <jordi@ximian.com>
171         * Region.cs: implemented
172
173 2004-04-01  Duncan Mak  <duncan@ximian.com>
174
175         * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
176
177         * gdipFunctions.cs (GdipAddPathCurveI):
178         (GdipAddPathCurve2, GdipAddPathCurve2I):
179         (GdipAddPathCurve3, GdipAddPathCurve3I):
180         (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
181         (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
182         wrappers from GDI+.
183
184 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>    
185         * Image.cs: implemented a few GDI+ wrapper calls
186
187 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>
188         * Bitmap.cs: remove redundant data already present at Image.cs
189         * Image.cs: use GDI+ functions to get image details
190         * StringFormat.cs: missing constructor and property
191
192 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
193         * FontFamily.cs: added missing members and style clean
194         * Graphics.cs: fixed signature of DrawArc and DrawPie
195         * Image.cs: added missing members, fixes
196         * StringFormat.cs: missing constructor and property
197
198 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
199         * Graphics.cs: Added missing DrawImage GDI+ calls
200         * gdipFunctions.cs: Added missing DrawImage GDI+ calls  
201
202 2004-03-23  Ravindra <rkumar@novell.com>
203         * gdipFunctions.cs: Added few more P/Invoke calls for
204         LinearGradientBrush.
205
206 2004-03-22  Ravindra <rkumar@novell.com>
207         * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
208         and did few coding style fixes.
209
210 2004-03-18  Ravindra <rkumar@novell.com>
211         * Brush.cs: Fixed Dispose method.
212         * SolidBrush.cs: Fixed clone method.
213         * TextureBrush.cs: Fixed clone method.
214         * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
215
216 2004-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
217
218         * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
219
220 2004-03-10  Ravindra  <rkumar@novell.com>
221         * Pen.cs: Implemented PenType property.
222         * Brush.cs: Coding style.
223
224 2004-03-06  Ravindra  <rkumar@novell.com>
225         * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
226         for PathGradientBrush.
227
228 2004-03-06  Ravindra  <rkumar@novell.com>
229         * gdipFunctions.cs: Added GDI+ P/Invoke calls for
230         PathGradientBrush.
231
232 2004-03-04  Duncan Mak  <duncan@ximian.com>
233
234         * Region.cs: Indentation.
235
236         * RectangleF.cs: Changed the internal structure from a PointF,
237         SizeF to floats in order to match the layout from the C API.
238
239 2004-03-04  Jordi Mas i Hernandez <jordi@ximian.com>
240         * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
241
242 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
243         * gdipFunctions.cs: Added functions for ImageAttributes
244
245 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
246         * Icon.cs: Missing function stubs added
247         * Icon.cs: Missing function stubs added
248         * IconConverter.cs: Missing function stubs added
249         * ImageAnimator.cs: Missing function stubs added
250         * ImageConverter.cs: Missing function stubs added
251         * ImageFormatConverter.cs: Missing function stubs added
252
253 2004-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
254         * Font.cs: Allow multiple styles
255         
256 2004-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
257         * StringFormat.cs: Clone method
258         
259 2004-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
260         * font.cs: fixes, Clone, and ToString   
261         
262 2004-02-21  Jordi Mas i Hernandez <jordi@ximian.com>
263         * gdipFunctions.cs: MeasureString 
264         * Graphics.cs : MeasureString
265         
266 2004-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
267         * Font.cs: destructor and unit conversion 
268         * Graphics.cs : system dpi support
269
270 2004-02-13  Ravindra <rkumar@novell.com>
271         * Pen.cs: Fixed some bugs.
272         * TextureBrush.cs: Fixed some bugs.
273
274 2004-02-13  Sanjay Gupta <gsanjay@novell.com>
275         * gdipFunctions.cs: Added ImageCodecInfo functions
276         * Image.cs: Added few methods 
277
278 2004-02-13  Jordi Mas i Hernandez <jordi@ximian.com>
279         * FontFamily.cs: remove hardcoded font names, a few bug fixes
280         
281 2004-02-12  Sanjay Gupta <gsanjay@novell.com>
282         * gdipFunctions.cs: Added Image class functions
283         * Image.cs: Added few methods 
284
285 2004-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
286         * graphics.cs: fixes parameters for DrawStrings functions
287
288 2004-02-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
289
290         * SRDescriptionAttribute.cs: Added and implemented
291         * ToolboxBitmapAttribute.cs: Implemented a few members
292         * SystemIcons.cs: Stubbed
293         * StringFormat.cs: Implemented method
294         * Region.cs: Added Todo, fixed attribute
295         * Size.cs: Added attribute
296         * SizeF.cs: Added attribute
297         * RectangleF.cs: Added attributes
298         * Rectangle.cs: Added attributes
299         * PointF.cs: Added attribute
300         * Point.cs: Added attribute
301
302 2004-02-06  Ravindra  <rkumar@novell.com>
303
304         * Brush.cs: Renamed GetException method to CheckStatus
305         and moved it to gdipFunctions.cs.
306         * gdipFunctions.cs: Added CheckStatus method.
307         * SolidBrush.cs: Using CheckStatus method.
308         * TextureBrush.cs: Using CheckStatus method.
309         * gdipEnums.cs: Added a missing value.
310
311 2004-02-05  Ravindra  <rkumar@novell.com>
312
313         * Brush.cs: Added a missing namespace.
314
315 2004-02-05  Ravindra  <rkumar@novell.com>
316
317         * gdipFunctions.cs: Added methods for HatchBrush and 
318         SolidBrush.
319         * SolidBrush.cs: Added checks for status.
320         * Brush.cs: Added support for HatchBrush and TextureBrush 
321         types in internal CreateBrush() method.
322
323 2004-02-03  Jordi Mas  <jordi@ximian.com>
324         * Font.cs: Setup font properties
325
326 2004-02-03  Ravindra  <rkumar@novell.com>
327
328         * TextureBrush.cs and Brush.cs: Moved GetException (Status)
329         method from TextureBrush.cs to Brush.cs.
330         * Brush.cs: Made GetException (Status) method internal.
331
332 2004-02-03  Sanjay Gupta <gsanjay@novell.com>
333         
334         * gdipFunctions.cs: Added methods for Image class.
335
336 2004-01-30  Ravindra  <rkumar@novell.com>
337
338         * TextureBrush.cs: Added more methods to complete it.
339         * gdipFunctions.cs: Added methods for TextureBrush class.
340
341 2004-01-30  Ravindra  <rkumar@novell.com>
342
343         * gdipFunctions.cs: Added methods for TextureBrush class.
344
345 2004-01-30  Ravindra  <rkumar@novell.com>
346
347         * Pen.cs: Modified to handle TextureBrush also.
348         * Bitmap.cs: Added one internal constructor.
349         * TextureBrush.cs: Implemented.
350
351 2004-01-29  Duncan Mak  <duncan@ximian.com>
352
353         * gdipFunctions.cs
354         * Graphics.cs: Indentation fixes, removed long dangling lines and
355         extra spaces. 
356
357         * Graphics.cs (IsVisible): Renamed variable to not use hungarian
358         notation.
359
360 2004-01-29  Sanjay Gupta <gsanjay@novell.com>
361         
362         * FontFamily.cs: Implemented few methods and a constructor
363
364 2004-01-28  Sanjay Gupta <gsanjay@novell.com>
365
366         * gdipFunctions.cs: Added FontFamily and FontCollection functions.
367         * FontFamily.cs: Implemented missing functionalities.
368
369 2004-01-24  Duncan Mak  <duncan@ximian.com>
370
371         * Graphics.cs (DrawPath): Implemented.
372
373 2004-01-23  Ravindra  <rkumar@novell.com>
374
375         * Point.cs: ToString modified.
376         * PointF.cs: ToString modified.
377         * Size.cs: ToString modified.
378         * SizeF.cs: ToString modified. ToPoint and ToSize methods
379         are added.
380
381 2004-01-21  Jordi Mas i Hernàndez
382         * Bitmap.cs: Several new methods added.
383                 
384 2004-01-21  Duncan Mak  <duncan@ximian.com>
385
386         * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
387         OutAttribute to the array argument. This fixes the PathPoints
388         property in System.Drawing.Drawing2D.GraphicsPath.
389
390 2004-01-20  Ravindra  <rkumar@novell.com>
391
392         * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
393         this property was hanging and getting was throwing a NullRef
394         Exception. Earlier we were passing Matrix object to and fro
395         which was causing the problem. Now, we are using IntPtr.
396         Thanks to Duncan for helping me.
397         Also, .NET behavior is to maintain Pen.Color and Pen.Brush
398         together. If color is set, a SolidBrush automatically gets
399         set with the same color, Pen loses the old brush object.
400         If a SolidBrush is set, Pen.Color gets the value same as that
401         of brush color losing the old value. Pen shows this behavior
402         now.
403         * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
404         and GdipSetPenTransform methods to use IntPtr instead of Matrix.
405
406 2004-01-19  Duncan Mak  <duncan@ximian.com>
407
408         * gdipFunctions.cs: Import functions for GraphicsPath.
409
410 2004-01-14  Ravindra <rkumar@novell.com>
411                                                                                 
412         * SolidBrush.cs: Made SolidBrush to initialize its color
413         from IntPtr.
414                                                                                 
415         * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
416
417 2004-01-11  Duncan Mak  <duncan@ximian.com>
418
419         * Bitmap.cs (LockBits): 
420         * Graphics.cs (DrawString): Removed reference to GpRectF.
421
422 2004-01-09  Duncan Mak  <duncan@ximian.com>
423
424         * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
425         Removed. Didn't know that structs are laid out sequentially by
426         default. We don't need these anymore.
427
428 2004-01-12 Ben Maurer  <bmaurer@users.sourceforge.net>
429
430         * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
431
432 2004-01-11  Daniel Morgan <danielmorgan@verizon.net>
433
434         * Graphics.cs: fix compile error on Windows builds for out 
435         parameter state in call to GdipSaveGraphics
436
437 2004-01-10  Ravindra  <rkumar@novell.com>
438
439         * All Enums: Made serializable.
440
441         * Image.cs: Corrected signature of Dispose(bool) method.
442
443         * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs: 
444         Corrected coding style mistakes of my previous commit.
445
446         * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
447
448         * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
449
450         * StringFormat.cs: Inherits MarshalByRefObject.
451
452         * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
453
454 2004-01-08  Ravindra  <rkumar@novell.com>
455
456         * Pen.cs: Added isModifiable (bool) variable. It is required to
457         make Pens created by SystemPens.cs unmodifiable. All property
458         setters are modified for this.
459
460         * SolidBrush.cs: Added isModifiable variable (bool). It is
461         required to make Brushes created by SystemBrushes.cs unmodifiable.
462         All property setters are modified for this.
463
464         * SystemBrushes.cs: Modified all the properties as per the .NET
465         specs, so that Brushes are not created every time. Also, missing
466         properties are added.
467
468         * SystemPens.cs: Modified all the properties as per the .NET
469         specs, so that Brushes are not created every time. Also, missing
470         properties are added.
471
472 2003-12-12  Miguel de Icaza  <miguel@ximian.com>
473
474         * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
475         it serializable
476
477 2004-01-06  Duncan Mak  <duncan@ximian.com>
478
479         * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
480
481 2003-12-21  Duncan Mak  <duncan@ximian.com>
482
483         * Graphics.cs (DrawArc): Fixed the method signature and hooked it
484         up to the GDI+ implementation.
485         (RotateTransform): Uncommented.
486
487         * gdipFunctions.cs (DrawArc, DrawArcI): Import from
488         libgdiplus.so.dll.
489
490 2003-12-13  Todd Berman  <tberman@sevenl.net>
491
492         * Font.cs: Implementing a couple things for porting purposes
493         * SystemBrushes.cs: ^
494         * StringFormat.cs: ^^
495
496 2003-11-28  Duncan Mak  <duncan@ximian.com>
497
498         * Pen.cs (CompoundArray): Hide this for now.
499
500 2003-11-28  Duncan Mak  <duncan@ximian.com>     
501
502         * Brush.cs (CreateBrush): new internal factory method for creating
503         specific brushes based on the internal (GDI+ C API) BrushType
504         enum.
505         (Brush (IntPtr)): new internal constructor.
506
507         * Pen.cs: Removed all the C# fields. We are using GDI+ completely
508         now.
509         (Pen (IntPtr)): new internal constructor.
510         (Pen (Brush, float)): Use GdipCreateBrush2.
511         (Clone): Implemented using GdipClonePen.
512         (Alignment, Brush, Color, Width): Use GDI+ implementations
513         instead.
514         (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
515         Implemented these properties.
516         (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
517         (MultiplyTransform, ResetTransform, RotateTransform):
518         (ScaleTransform, TranslateTransform): Implemented these methods.
519
520         * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
521
522         * gdipEnums.cs (BrushType): Added new GDI+ enum.
523
524         * gdipFunctions.cs: Imported new Brush and Pen functions.
525
526 2003-11-22  Duncan Mak  <duncan@ximian.com>
527
528         * gdipFunctions.cs
529         (GdipResetWorldTransform, GdipSetWorldTransform):
530         (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
531
532         * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
533         (transform): Removed this field. Always use the
534         matrix associated in the GpGraphics ptr.
535         (DrawBeziers): Implemented.
536         (DrawLine): Don't need to manually invoke the transform now.
537         (MultiplyTransform, ResetTransform): 
538         (ScaleTransform, TranslateTransform): Use GDI+ implementation.
539         (Transform): Instead of storing a Matrix in managed code, use
540         equivalent GDI+ functions.
541
542 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
543
544         * SizeConverter.cs: fixed class signature and implemented some methods.
545
546 2003-11-17  Duncan Mak  <duncan@ximian.com>
547
548         * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
549         
550         * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
551
552 2003-11-17  Duncan Mak  <duncan@ximian.com>
553         
554         * Bitmap.cs (LockBits):
555         * Graphics.cs (DrawString): Use GpRectF.
556
557         * gdipFunctions.cs: Updated method signatures.  
558
559         * Graphics.cs (MultiplyTransform): Implemented using
560         GdipMultiplyWorldTransform from GDI+.
561
562         * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
563         GpRect, to be more consistent with the C naming.
564
565 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
566
567         * Graphics.cs: Implement the other DrawString overloads .
568
569 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
570
571         * gdipStructs.cs (GdipRectF): Added utility constructor
572
573 2003-11-15  Duncan Mak  <duncan@ximian.com>
574
575         * gdipFunctions.cs: Imported matrix functions.
576
577 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
578
579         * Bitmap.cs: Added Attributes
580         * ColorTranslator.cs: Added private constructor
581         * Font.cs: Added Attributes
582         * FontFamily.cs: sealed
583         * Icon.cs: Added Attributes
584         * IconConverter.cs: Fixed signature
585         * Image.cs: Added attributes
586         * ImageAnimator.cs: 
587         * ImageConverter.cs:
588         * ImageFormatConverter.cs:
589         * SolidBrush.cs:
590         * StringFormat.cs:
591         * SystemBrushes.cs:
592         * SystemColors.cs:
593         * SystemIcons.cs:
594         * SystemPens.cs:
595         * TextureBrush.cs: Fixed signature
596         * Color.cs: Added attributes
597         * Point.cs:
598         * PointF.cs:
599         * Rectangle.cs:
600         * Size.cs:
601         * SizeF.cs: Added attributes
602         * ContentAlignment.cs: Added attribute
603
604 2003-11-13  Duncan Mak  <duncan@ximian.com>
605
606         * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
607
608         * gdipFunctions.cs
609         (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
610         (GdipSetPenLineJoin, GdipGetPenLineJoin): 
611         (GdipSetPenLineJoin, GdipGetPenTransform): imported.
612
613 2003-11-12  Alexandre Pigolkine <pigolkine@gmx.de>
614         * Bitmap.cs
615         * gdipFunctions.cs              copy image in Bitmap constructor
616         
617 2003-11-06  Duncan Mak  <duncan@ximian.com>
618         * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
619         angle parameters for the integer case.
620         (DrawBezier): Hook it up with GdipDrawBezier.
621         (DrawEllipse): Fix Width, Height ordering.
622
623 2003-11-05  Duncan Mak  <duncan@ximian.com>
624
625         * Graphics.cs (DrawPie): 
626         * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
627         in graphics.c.
628         
629 2003-10-28  Duncan Mak  <duncan@ximian.com>
630
631         * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
632         (FillEllipse, FillPolygon): implemented.
633         (RenderingOrigin): implemented.
634
635         * gdipFunctions.cs: Added new GDI+ equivalents.
636
637 2003-10-25  Alexandre Pigolkine <pigolkine@gmx.de>
638         * Bitmap.cs
639         * Image.cs                      small fixes
640         
641 2003-10-25  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
642
643         * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
644
645 2003-10-24  Miguel de Icaza  <miguel@ximian.com>
646
647         * SystemBrushes.cs: Some more brushe3s.
648
649         * SystemPens.cs: More pens.
650
651         * Pen.cs: Implement IDisposable, ICloneable.
652
653         * Region.cs: Add some more stubs here.
654
655         * StringFormat.cs: Add some more code here.
656
657 2003-10-23  Miguel de Icaza  <miguel@ximian.com>
658
659         * Image.cs: Kill the InternalImageInfo, everything is now done in
660         terms of Image and BitmapData.
661
662         * Rectangle.cs: Make this one also sequential, change from using
663         Point + Size to use x, y, width, height;  So we can use GdiPlus.
664
665         * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
666         BitmapData class argument, and instead use the [In,Out]
667         attributes, which will do struct marshalling on the fields.   Now
668         we can use C#'s BitmapData directly to talk to Gdiplus.
669
670         * gdipStructs.cs: Every internal structure that has to talk to
671         Gdi+ is properly prefixed, to minimize the confussion.
672
673         * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
674         Compute the stride here where we have the BPP information,
675         allocate a buffer of the proper size, and pass this to
676         GdipCreateBitmapFromScan0 
677
678         * Image.cs: Implement Dispose pattern.
679
680 2003-10-14  Alexandre Pigolkine <pigolkine@gmx.de>
681         * Graphics.cs
682         * gdipFunctioncs.cs             
683         * gdipStructs.cs                DrawString function added
684
685 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
686         * gdipEnums.cs 
687         * gdipFunctions.cs 
688         * gdipStructs.cs                added 
689                                                 
690
691 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
692         * Bitmap.cs
693         * Brush.cs
694         * Font.cs
695         * FontFamily.cs
696         * Graphics.cs
697         * Image.cs
698         * Pen.cs
699         * SolidBrush.cs
700                                                 implementation changed to gdi+
701
702 2003-09-08  Duncan Mak  <duncan@ximian.com>
703
704         * Factories.cs (DefaultImplementationNamespace): Change it from
705         "XrImpl" to "Cairo".
706
707 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
708
709         * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
710         bug #47727.
711
712 2003-08-08  Duncan Mak  <duncan@ximian.com>
713
714         * Graphics.cs (DrawBezier): Fixed.
715
716 2003-08-03  Alexandre Pigolkine <pigolkine@gmx.de>
717         * Graphics.cs  delegate Dispose to implementation
718
719 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
720
721         * FontConverter.cs: stub it out so that system.web compiles.
722
723 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
724         * Image.cs      InternalImageInfo class improved
725
726 2003-07-23  Miguel de Icaza  <miguel@ximian.com>
727
728         * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
729         is set, default to Win32Impl 
730
731 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
732         * Image.cs      implementation added
733         
734 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
735
736         * Icon.cs: Stubed out (fix for System.Drawing.Design)
737
738 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
739
740         * StringFormat.cs: Changes to become CLS-compliant
741
742 2003-07-14  Miguel de Icaza  <miguel@ximian.com>
743
744         * Factories.cs: Remove debugging message.
745
746 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
747         * Color.cs      code generation program modified
748
749 2003-06-29 Alexandre Pigolkine
750         * Graphics.cs   image drawing
751
752 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
753         * Color.cs                      
754         * SystemColors.cs       
755                 supply KnowColor enum value to save Enum.Parse at runtime
756
757 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
758         * Graphics.cs           coordinate transformations
759         * Image.cs                      small fix
760
761 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
762         * Factories.cs
763         * FontFamily.cs         more implementation
764
765 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
766         * Font.cs
767         * FontFamily.cs         more implementation
768
769 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
770         * Graphics.cs           few more calls to implementation
771
772 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
773     * Bitmap.cs                 BITMAP declaration removed
774         * Graphics.cs           few more calls to implementation
775         * Image.cs                      InternalImageInfo structure, image read/write functions
776                         
777                         
778 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
779         * Factories.cs  analyse environment variable and machine.config to select implementation
780         * Image.cs              PixelFormat property added
781
782 2003-04-30  Nick Drochak <ndrochak@gol.com>
783
784         * Factories.cs: Change weird characters that broke build on windows.
785
786 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
787
788         * ColorConverter.cs:
789         (ConvertFrom): return a system or named color if there's one that fits
790         teh values parsed with Color.FromArgb.
791
792 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
793         * Bitmap.cs
794         * Brush.cs
795         * Font.cs
796         * Graphics.cs
797         * Image.cs
798         * Pen.cs
799         * SolidBrush.cs
800         * SystemBrushes.cs
801         * Factories.cs
802                         delegate function calls to implementation
803
804 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
805         * Bitmap.cs
806         * ChangeLog
807         * Image.cs
808         * SystemBrushes.cs              switch to Linux style line terminators
809
810 2003-03-29 Alan Tam <Tam@SiuLung.com>
811         * ToolboxBitmapAttribute
812                 stubbed more constructors and fixed base class
813
814 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
815         * SystemBrushes.cs
816                         added stubs to compile SWF
817
818
819 2003-02-21  Alexandre Pigolkine <pigolkine@gmx.de>
820         * Font.cs
821         * Graphics.cs
822         * Image.cs
823         * SystemBrushes.cs
824                         small changes to be able to run SWF apps
825
826 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
827
828         * Graphics.cs: stubbed out all the methods.
829
830 2003-02-08 Piers Haken <piersh@friskit.com>
831
832         * fixed case of pens.cs and font.cs
833
834 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
835         * Font.cs Added
836         * Graphics.cs
837         * StringFormat.cs 
838         * SystemBrushes.cs
839                 stubs added
840
841 2002-11-21 Dennis Hayes (dennish@raytek.com)
842         * checkin for Matt Stump (mstump@swfo.arizona.edu)
843         * Pens.cs
844         * Added file
845
846 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
847
848         * ColorTranslator.cs (FromHtml): Implement.
849         
850 2002-10-14 Dennis Hayes (dennish@raytek.com)
851         * Region.cs
852         * changed using namespace from Drawing2d to Drawing2D
853
854  2002-9-15 Asier Llano <asierllano@infonegocio.com>
855         
856         * Fixes the enum values in the following enums
857         * ContentAlignment.cs:
858         * FontStyle.cs:
859         * GraphicsUnit.cs:
860         * KnownColor.cs:
861         * RotateFlipType.cs:
862         * StringAligment.cs:
863         * StringDigitSubstitute.cs:
864         * StringFormatFlags.cs:
865         * StringTrimming.cs:
866         * StringUnit.cs: 
867         * SolidBrush.cs: Easy implementation
868         * Brushes.cs:    Implementation based on SolidBrush and Color class.
869         * Brush.cs:      Fixes based on the status web).
870         * CharacterRange.cs: Implemented the missing Lenth property.
871
872 2002-9-14 Dennis Hayes (dennish@raytek.com)
873         
874         * sample.cs
875         * removed personal template that should not have been checked in
876
877 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
878
879         * ColorConverter.cs: readded MonoTODOs and implemented a couple of
880         methods.
881
882 2002-9-14  DennisHayes <dennish@raytek.com>
883
884         * FontConverter.cs
885         * FontFamily.cs
886         * Icon.cs
887         * IconConverter.cs
888         * ImageAnimator.cs
889         * ImageConverter.cs
890         * ImageFormatConverter.cs
891         * PointConverter.cs
892         * RectangleConverter.cs
893         * Sample.cs
894         * SizeConverter.cs
895         * SolidBrush.cs
896         * StringFormat.cs
897         * SystemBrushes.cs
898         * SystemIcons.cs
899         * SystemPens.cs
900         * TextureBrush.cs
901         * ToolboxBitmapAttribute.cs
902         * Added null classes for most/all classes, Many stubs, and some implmentation
903
904 2002-9-2  DennisHayes <dennish@raytek.com>
905
906         * Bitmap.cs
907         * Color.cs
908         * ColorConverter.cs
909         * Image.cs
910         * Pen.cs
911         * Added stubs, implmentation
912
913 2002-9-2  DennisHayes <dennish@raytek.com>
914
915         * Brushes.cs : stubbed, added colors. Not sure how to implement,
916                                  but this should at least save someone some typing.
917         * CharacterRange.cs :Implmented
918         * Region.cs : stub needed for system.windows.forms
919
920 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
921
922         * ColorTranslator.cs: use Color.Name.
923
924 2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
925
926         * Color.cs: implemented SystemColors and NamedColors properties that
927         are used by ColorConverter, removed public constructor, use
928         SystemColors, and misc. fixes to make it behave as MS (ToString,
929         parsing names, FromKnownColor,...).
930
931         * ColorConverter.cs: use NamedColors and SystemColors from Color when
932         trying to get the color from its name.
933
934         * SystemColors.cs: new file.
935
936 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
937
938         * Color.cs: changed static properties to use FromArgbNamed. Also
939         modified the program included in comments that get the values for
940         static properties.
941
942         (FromArgbNamed): build named colors.
943         (FromKnownColor): fixed.
944         (FromName): use a hash to look up colors by name.
945         (FillColorNames): create the hash of colors.
946         (Equals): compare values and name.
947         (ToString): improved.
948
949         * ColorTranslator.cs: implemented ToHtml.
950
951 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
952
953         * Color.cs: added TypeConverter attribute.
954         
955         * ColorConverter.cs: added constructor.
956
957 2002-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
958
959         * ColorConverter.cs: implemented minimal set of features needed by xsp.
960
961 2002-05-03  Mike Kestner <mkestner@speakeasy.net>
962
963         * Bitmap.cs : using System.IO
964         * ColorTranslator.cs : Stubbed off build breakers.
965         * Image.cs : Stub off IDisposable and ICloneable.
966         
967 2002-04-27  Christian Meyer  <Christian.Meyer@cs.tum.edu>
968
969         * Bitmap.cs: Ximian is the new copyright holder now.
970         * Image.cs: ditto
971
972 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
973
974         * Uppercased several files.
975
976 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
977
978         * color.cs: Fixed a typo in GetSaturation ().
979
980 2002-02-26  Christian Meyer  <Christian.Meyer@cs.tum.edu>
981
982         * Bitmap.cs: Added method headers.
983
984 2002-02-25  Christian Meyer  <Christian.Meyer@cs.tum.edu>
985
986         * Bitmap.cs: Added, no implementation's done, yet.
987
988 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
989
990         * Rectangle.cs : Add a doc comment.
991         * RectangleF.cs : New struct implementation.
992
993 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
994
995         * Rectangle.cs : New struct implementation.
996
997 2001-08-17  Mike Kestner <mkestner@speakeasy.net>
998
999         * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
1000
1001 2001-08-16  Mike Kestner <mkestner@speakeasy.net>
1002
1003         * Point.cs : New. Implementation of System.Drawing.Point struct.
1004