2005-02-09 Geoff Norton <gnorton@customerdna.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing / ChangeLog
1 2005-02-09  Geoff Norton  <gnorton@customerdna.com>
2
3         * Icon.cs: Implement deserializer
4         * Bitmap.cs: Implement deserializer
5
6 2005-02-06  Ben Maurer  <bmaurer@ximian.com>
7
8         * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
9
10 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
11
12         * Region.cs: revert Jackson's patch and fix this at libgdiplus level
13
14 2005-02-02  Jackson Harper  <jackson@ximian.com>
15
16         * Region.cs: The default region constructor creates and infinite
17         region, not an empty one.
18
19 2005-01-27  Peter Bartok  <pbartok@novell.com>
20
21         * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
22           of HSV numbers. Previous implementation returned wrong numbers and NaN
23           on achromatic colors
24
25 2005-01-27  Lluis Sanchez Gual  <lluis@novell.com>
26
27         * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
28         SizeConverter.cs, ColorConverter.cs, FontConverter.cs
29         : Implemented support for InstanceDescriptor.
30
31 2005-01-26  Peter Bartok  <pbartok@novell.com>
32
33         * Icon.cs (ToBitmap): Now sets transparency in according to
34           icon AND mask
35
36 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
37
38         * gdipFunctions.cs: Fixes GdipGet* function signatures
39         * FontFamily.cs: Fixes GdipGet* function calls
40         * Font.cs: Fixes ToString method
41         
42 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
43
44         * Graphics.cs: calls XCloseDisplay on X11 when need it
45         * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
46
47 2004-12-27  Zoltan Varga  <vargaz@freemail.hu>
48
49         * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
50
51 2004-12-16  Peter Bartok  <pbartok@novell.com>
52
53         * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
54           equivalent to the gdi+ native object
55
56         * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
57           equivalent to the gdi+ native object
58
59 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
60
61         * carbonFunctions.cs: New carbon functions/structures
62         * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
63
64 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
65
66         * Graphics.cs:  Drop FromHwndWithSize; we can't change the public API
67         Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
68
69 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
70
71         * Graphics.cs:  Add FromHwndWithSize for the MWF/Quartz backend
72         * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
73
74 2004-12-06  Miguel de Icaza  <miguel@ximian.com>
75
76         * FontFamily.cs: This one is static.
77
78 2004-11-25  Ravindra  <rkumar@novell.com>
79
80         * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
81         type from int to Status type.
82
83 2004-11-25  Marek Safar  <marek.safar@seznam.cz>
84
85         * Image.cs: Add CheckStatus to SaveAdd.
86
87 2004-11-22  Ravindra  <rkumar@novell.com>
88
89         * Graphics.cs: Fixed null values handling in all overloads of
90         MeasureString method.
91
92 2004-11-18  Ravindra  <rkumar@novell.com>
93
94         * gdipFunctions.cs: Removed the .so extension from a DllImport
95         that hooks to X11.
96
97 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
98
99         * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+ 
100         termination
101
102 2004-11-03  Miguel de Icaza  <miguel@ximian.com>
103
104         * TextureBrush.cs (Clone): While cloning, it is not enough to let
105         GDIPlus clone the underlying data, we must alos clone the managed
106         information. 
107
108         * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
109         errors in the future, set the lock on the object before doing any
110         other tests, not after.
111         
112         (Clone): While cloning, it is not enough to let
113         GDIPlus clone the underlying data, we must alos clone the managed
114         information. 
115
116         * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
117         errors in the future.
118
119         Set the lock in the object before checkign disposed.
120
121         * SolidBrush.cs (Clone): While cloning, it is not enough to let
122         GDIPlus clone the underlying data, we must alos clone the managed
123         information. 
124
125         (Dispose): Set the nativeObject to IntPtr.Zero to catch
126         errors in the future.
127
128 2004-10-28  Ravindra  <rkumar@novell.com>
129
130         * gdipFunctions.cs: Added checks for null stream in the
131         StreamHelper internal class.
132         * Icon.cs: Removed an ugly hack that used temp files in
133         ToBitmap () method. We use MemoryStream instead.
134
135 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
136
137         * Font.cs: fixes bug 66533
138         
139 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
140         
141         * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
142         SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
143         lock operations after conversation with Miguel. Do not really
144         need it.
145
146 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
147         
148         * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
149
150 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
151         
152         * Bitmap.cs: Fixes MakeTransparent method
153
154 2004-10-13  Ravindra  <rkumar@novell.com>
155
156         * Graphics.cs: Moved the initialization of 'use_x_drawable'
157         member out of private constructor to class initialization.
158         So that, we get it right even if Graphics is not instantiated.
159         This fixes the problem we face (otherwise) when we make first
160         call to Graphics.FromHwnd () method.
161
162 2004-10-08  Ravindra  <rkumar@novell.com>
163
164         * Image.cs: Suppress finalization in Dispose () method.
165
166 2004-10-04  Ravindra  <rkumar@novell.com>
167
168         * gdipFunctioncs.cs: Fix from Alois for bug #67383.
169
170 2004-09-29  Jackson Harper  <jackson@ximian.com>
171
172         * Graphics.cs: Use FromHdcInternal to set the X display
173         handle. Add a flag to check if we are on unix so we aren't calling
174         Environment.OSVersion.Platform all the time. Mad props to Peter
175         Bartok for this.
176
177 2004-09-17  Marek Safar <marek.safar@seznam.cz>
178
179         * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
180         ToLogFont: Implemented.
181
182         * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
183         avoid casts.
184         GdipCreateFontFromLogfontA: A new extern call.
185
186 2004-09-13  Ravindra <rkumar@novell.com>
187
188         * Graphics.cs: MSDN says that using image width and height gives
189         better performance, hence we are using image width and height to
190         avoid autoscaling in DrawImageUnscaled.
191
192 2004-09-10  Ravindra <rkumar@novell.com>
193
194         * Graphics.cs: Implemented DrawIcon methods and fixed
195         DrawImageUnscaled method implementation.
196
197 2004-08-21  Jackson Harper  <jackson@ximian.com>
198
199         * ImageAnimator.cs: Run animator as a background thread so we do
200         not hang on exit.
201
202 2004-08-21  Ravindra  <rkumar@novell.com>
203
204         * gdipFunctions.cs: Modified exception message to include the case
205         of missing required libraries for different formats.
206
207 2004-08-10  Jackson Harper  <jackson@ximian.com>
208
209         * SystemColors.cs: Make Highlight colour match colour from windows
210         classic color scheme.
211
212 2004-07-30 Ravindra <rkumar@novell.com>
213
214         * Font.cs: Fixed Height property implementation and implemented
215         GetHeight method and its overloads.
216
217 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
218
219         * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
220         P/Invoke function for Image.
221         * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
222
223 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
224
225         * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and 
226         GdipGetAllPropertyItems P/Invoke function for Image.
227         * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
228         * Image.cs: Corrected implementation of PropertyItems property.
229
230 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
231
232         * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList 
233         P/Invoke function for Image.
234         * Image.cs: Changed implementation of PropertyIdList property.
235
236 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
237
238         * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
239         * Image.cs: Implemented PropertyItems and PropertyIdList properties.
240
241 2004-07-21  Ravindra <rkumar@novell.com>
242
243         * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
244         GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
245
246 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
247         
248         * Graphics.cs:  fixes MeasureCharacterRanges function. It was completely wrong. 
249         * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
250         * gdipFunctions.cs: new GDI function calls
251
252 2004-07-16  Ravindra <rkumar@novell.com>
253
254         * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
255
256 2004-07-15  Ravindra <rkumar@novell.com>
257
258         * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
259
260 2004-07-13  Ravindra <rkumar@novell.com>
261
262         * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
263         This was redundant. It was kept in previous checkin to avoid
264         build breakage.
265
266 2004-07-13  Ravindra <rkumar@novell.com>
267
268         * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
269
270 2004-07-09  Peter Bartok <pbartok@novell.com>
271         * Graphics.cs: Added support required for new managed SWF library
272         * gdipFunctions.cs: Added XOpenDisplay definition/import
273
274 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
275
276         * gdipFunctions.cs: fixes bug 61050
277
278 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
279
280         * ImageAnimator.cs: Rewrote complete implementation.
281
282 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
283
284         * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
285         If read function was called after seek function call, the 
286         implementation  was returning data from bytes already peeked and 
287         not from the new position in stream, which we have seeked.
288         
289 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
290
291         * Graphics.cs: added MeasureString wrappers
292
293 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
294
295         * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux 
296
297 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
298
299         * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
300
301 2004-06-18  Ravindra <rkumar@novell.com>
302
303         * FontConverter.cs: Implemented the missing functions.
304         * Font.cs: Added some notes.
305
306 2004-06-16  Sanjay Gupta <gsanjay@novell.com>
307         
308         * gdipFunctions.cs: Modified Function signature for 
309         GdipSaveImageToDelegate_linux() method for saving tiff images 
310         to streams.
311         * image.cs: Modified function call GdipSaveImageToDelegate_linux()
312         with new signature.
313
314 2004-06-15  Sanjay Gupta <gsanjay@novell.com>
315         
316         * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
317         and Size, required by TIFFCodec. Modifed Function signature for 
318         GdipLoadImageFromDelegate_linux() method.
319         * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
320         with new signature.
321
322 2004-06-11  Ravindra <rkumar@novell.com>
323
324         * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
325         from out int to out IntPtr.
326         * SolidBrush.cs: Same.
327
328 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
329
330         * Image.cs: API signature fixes, meaning DisposeResources is now
331         private and marked InitFromStream internal
332
333 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
334
335         * FontFamily.cs: simplifies object destruction and fixes
336
337 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
338
339         * FontFamily.cs: added destructor 
340         * Graphics.cs: added destructor to stop leaking, remove debugging code
341
342
343 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
344
345         * gdipFunctions.cs: added GdipSaveAddImage
346         * Image.cs: added SaveAdd methods
347
348 2004-06-02  Peter Bartok <pbartok@novell.com>
349         * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
350           (This fixes bug #59479)
351
352 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
353
354         * Font.cs: Added missing Browsable attribute on SizeInPoints.
355         * Region.cs: Removed extra ComVisible attribute from Clone().
356
357 2004-06-01  Ravindra <rkumar@novell.com>
358
359         * Pen.cs: Added a note on Dispose method.
360         * Brush.cs: Fixed Dispose method.
361         * SolidBrush.cs: Fixed Dispose method.
362
363 2004-05-28  Ravindra <rkumar@novell.com>
364
365         * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
366         rectangles.
367         * Graphics.cs: Implemented Dispose method and changed Draw/Fill
368         rectangles implementation (This is basically done to avoid lots
369         of brush and pen setup happening in libgdiplus.)
370
371 2004-05-27  Ravindra <rkumar@novell.com>
372
373         * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
374
375 2004-05-26  Sanjay Gupta <gsanjay@novell.com>
376
377         * ImageFormatConverter.cs: Fixed issues discovered from nunit 
378         test cases.
379
380 2004-05-26  Ravindra <rkumar@novell.com>
381
382         * Color.cs: Corrected Color.Green property.
383
384 2004-05-24  Jordi Mas i Hernandez <jordi@ximian.com>
385         * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
386
387 2004-05-20  Sanjay Gupta <gsanjay@novell.com>
388
389         * Icon.cs: Fixed issue with size property.
390
391 2004-05-18  Ravindra <rkumar@novell.com>
392
393         * Pen.cs: Added value checks in DashPattern and CompoundArray
394         properties.
395
396 2004-05-16  Gert Driesen <drieseng@users.sourceforge.net>
397
398         * Graphics.cs: fixed warning
399         * ImageAnimator.cs: fixed warning
400         * FontConverter.cs: fixed public API
401
402 2004-05-14  Vladimir Vukicevic  <vladimir@pobox.com>
403
404         * gdipFunctions.cs: Fixed prototype for
405         GdipGetEncoderParameterList
406         
407         * Image.cs: Reworked Save functions to handle EncoderParameters.
408         Implemented GetEncoderParameterList
409         Also removed unused setGDIPalette internal method.
410
411 2004-05-14  Peter Bartok <pbartok@novell.com>
412         * StringFormat.cs: Added CharacterRange handling
413         * Graphics.cs: Implemented MeasureCharacterRanges method
414
415 2004-05-14  Peter Bartok <pbartok@novell.com>
416         * Graphics.cs: Added error check
417
418 2004-05-14  Duncan Mak  <duncan@ximian.com>
419         * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
420         (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
421         (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
422
423 2004-05-14  Sanjay Gupta <gsanjay@novell.com>
424         * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
425
426 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
427         * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method. 
428
429 2004-05-13  Peter Bartok <pbartok@novell.com>
430         * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
431         resize the image.
432
433 2004-05-12  Peter Bartok <pbartok@novell.com>
434         * Image.cs: Implemented GetThumbnailImage
435
436 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
437         * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and 
438         FromXDrawable(IntPtr, IntPtr) internal.
439                         
440 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
441         * Color.cs: work for API compatibilty: private date, todos
442         * Font.cs: work for API compatibilty: private date, todos
443         * FontFamily.cs: work for API compatibilty: private date, todos
444         * Graphics.cs: work for API compatibilty: private date, todos
445         * Icon.cs: work for API compatibilty: private date, todos 
446         * Image.cs: work for API compatibilty: private date, todos
447         * ImageAnimator.cs: work for API compatibilty: private date, todos
448         * Point.cs: work for API compatibilty: private date, todos
449         * PointF.cs: work for API compatibilty: private date, todos
450         * Rectangle.cs: work for API compatibilty: private date, todos
451         * RectangleF.cs: work for API compatibilty: private date, todos
452         * Region.cs: work for API compatibilty: private date, todos
453         * Size.cs: work for API compatibilty: private date, todos
454         * SizeF.cs: work for API compatibilty: private date, todos
455         * SolidBrush.cs: work for API compatibilty: private date, todos
456         * StringFormat.cs: work for API compatibilty: private date, todos
457         * SystemPens.cs: work for API compatibilty: private date, todos
458         * TextureBrush.cs: work for API compatibilty: private date, todos
459         * gdipStructs.cs: work for API compatibilty: private date, todos
460
461 2004-05-12  Ravindra <rkumar@novell.com>
462
463         * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
464         ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
465         Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
466         Added missing attributes and some coding style fixes.
467         * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and 
468         some fixes.
469
470 2004-05-11  Sanjay Gupta <gsanjay@novell.com>
471
472         * ImageAnimator.cs: Implemented first version. 
473
474 2004-05-11  Ravindra  <rkumar@novell.com>
475
476         * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
477         for the same.
478
479 2004-05-10  Ravindra  <rkumar@novell.com>
480
481         * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
482         for the same. Added few related P/Invokes for Pen also.
483
484 2004-05-06  Sanjay Gupta <gsanjay@novell.com>
485
486         * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
487
488 2004-05-06  Ravindra <rkumar@novell.com>
489
490         * RectangleConverter.cs: Implemented GetProperties () method.
491         * SizeConverter.cs: Implemented GetProperties () method.
492         * PointConverter.cs: Implemented GetProperties () method.
493         * FontConverter.cs: Implemented some of the methods.
494
495 2004-05-06  Ravindra <rkumar@novell.com>
496
497         * Color.cs: Fixed Name property.
498         * ColorTranslator.cs: Fixed the existing methods and implemented
499         the missing methods.
500         * ColorConverter.cs: Fixed the existing methods and implemented 
501         the missing methods. Also, fixed coding style.
502
503 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
504         * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
505
506 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
507         * Image.cs: raw_format should be handled by GDI+
508         * Bitmap.cs: raw_format should be handled by GDI+
509
510 2004-05-04  Ravindra <rkumar@novell.com>
511
512         * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
513         and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
514         properties and SetLineCap method. In constructors use IntPtr instead
515         of int.
516         * SolidBrush.cs: Modified exception message.
517         * TextureBrush.cs: Fixed Transform property.
518         * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
519         LinearGradientBrush.cs.
520
521 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
522
523         * Image.cs: Implemented FrameDimensionsList property.
524
525 2004-04-30  Ravindra <rkumar@novell.com>
526
527         * gdipFunctions.cs: Added few more P/Invoke calls for
528         lineargradient brush and added one case statement in 
529         CheckStatus method.
530
531 2004-04-30  Jordi Mas i Hernandez <jordi@ximian.com>
532
533         * Image.cs: takes into account MemoryBmp format when saving
534
535 2004-04-30  Ravindra <rkumar@novell.com>
536
537         * StringFormat.cs: Added checks for status.
538
539 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
540
541         * Image.cs: Removed calls which passes byte[] for Guid parameter.
542         * gdipFunctions.cs: Removed unwanted unix specific function calls.
543
544 2004-04-30  Ravindra <rkumar@novell.com>
545
546         * Graphics.cs: Added checks for status.
547         * Image.cs: Added a check for status.
548         * FontFamily.cs: Added checks for status.
549
550 2004-04-29  Peter Bartok <pbartok@novell.com>
551
552         * Brushes.cs: Fixed bug #52695. No longer creates a new
553         brush for every request and behaves Microsoft compatible
554
555 2004-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
556
557         * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
558         its ClsID instead of the formatID (as GDI+ expects)
559
560 2004-04-29  Ravindra <rkumar@novell.com>
561
562         * Font.cs: Added checks for status.
563         * Bitmap.cs: Added checks for status.
564         * Pen.cs: Added checks for status.
565
566 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
567
568         * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
569         Converted to unix format from dos format.
570
571 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
572
573         * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
574
575 2004-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
576
577         * gdipStructs.cs: added GdipImageCodecInfo struct
578
579 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
580
581         * ImageFormatConverter.cs: Corrected ConvertFrom method.
582
583 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
584
585         * ImageConverter.cs: Added exception message.
586         * IconConverter.cs: Added exception message.
587         * ImageFormatConverter.cs: Implemented first version.
588
589 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
590
591         * ImageConverter.cs: Implemented first version.
592
593 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
594
595         * IconConverter.cs: Implemented first version.
596
597 2004-04-26  Sanjay Gupta  <gsanjay@novell.com>
598
599         * Image.cs: Corrected implementation of Property RawFormat.
600         * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
601
602 2004-04-25  Sanjay Gupta  <gsanjay@novell.com>
603
604         * Bitmap.cs: Resolved a compile time error.
605         * Image.cs: Changed the implementation of few methods to progress
606           with ImageAnimator class.
607         * gdipFunctions.cs: Added few linux only function calls.
608         * Icon.cs: Removed unused variable from code.
609
610 2004-04-25  Vladimir Vukicevic  <vladimir@pobox.com>
611
612         * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
613
614 2004-04-23  Vladimir Vukicevic  <vladimir@pobox.com>
615
616         * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
617         serialization for Bitmaps.  (Bugzilla #52568)
618
619 2004-04-23  Ravindra <rkumar@novell.com>
620
621         * RectangleConverter.cs: Fixed ConvertTo () method.
622         * SizeConverter.cs: Fixed ConvertTo () method.
623         * PointConverter.cs: Fixed ConvertTo () method.
624
625 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
626         * ImageAnimator.cs: Implemented CanAnimate() method.
627
628 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
629         * Image.cs: added RotateFlip and RemovePropertyItem calls
630         
631 2004-04-22  Ravindra <rkumar@novell.com>
632
633         * RectangleConverter.cs: Implemented. Also changed file format
634         dos2unix.
635         * Rectangle.cs: Fixed ToString method.
636         * RectangleF.cs: Fixed ToString method.
637
638 2004-04-22  Ravindra <rkumar@novell.com>
639
640         * SizeConverter.cs: Implemented some of the functions.
641         * PointConveter.cs: Implemented.
642         * gdipFunctions.cs: Corrected one typo.
643         * Brushes.cs: Added a comment.
644
645 2004-04-22  Vladimir Vukicevic  <vladimir@pobox.com>
646
647         * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
648         returning portions of the peek buffer back.  Fixes #57379.
649
650 2004-04-21 Peter Bartok <pbartok@novell.com>
651    * Font.cs: Implemented Font.FromHfont method
652    * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
653    * gdipFunctions.cs: Added imports for functions required to support
654    Font.FromHfont method
655
656 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
657         * RectangleConverter.cs: stubbed out
658         * Font.cs : added missing members
659
660 2004-04-19  Sanjay Gupta <gsanjay@novell.com>
661         * Icon.cs: Fixed problem in extracting bitmap from Icon.
662
663 2004-04-16  Ravindra <rkumar@novell.com>
664
665         * Pen.cs: GC should be allowed to collect any pen including
666         system pens.
667         * SolidBrush.cs: GC should be allowed to collect any SolidBrush
668         including system brushes.
669         * Brushes.cs: Coding style.
670         * Pens.cs: Objects created by Pens are not modifiable on
671         MS.NET, so we are now. Also, coding style fixes.
672         * SystemPens.cs: Removed static constructor and changed file
673         format dos2unix.
674         * SystemBrushes.cs: Some cosmetic changes.
675
676 2004-04-15  Sanjay Gupta <gsanjay@novell.com>
677         * Icon.cs: Implemented more missing bits and fixed the problem
678                 of icon not getting saved in proper format
679
680 2004-04-14  Sanjay Gupta <gsanjay@novell.com>
681         * Icon.cs: Implemented more missing bits
682
683 2004-04-13  Sanjay Gupta <gsanjay@novell.com>
684         * Icon.cs: Implemented few more missing bits
685
686 2004-04-12  Sanjay Gupta <gsanjay@novell.com>
687         * Icon.cs: Implemented first version
688
689 2004-04-11  Peter Bartok <pbartok@novell.com>
690    * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
691    the code and using our own private gdiplus function when on Unix and using Win32
692    functions when running on Windows
693    * gdipStructs.cs: Added LOGFONTA structure
694    * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
695
696 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
697
698         * Image.cs: Save should use encoder.FormatID, not Clsid
699
700 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
701         * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
702         * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
703
704 2004-04-06  Duncan Mak  <duncan@ximian.com>
705
706         * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
707
708 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
709         * Region.cs: fixes GetRegionScans
710         * gdipFunctions.cs: fixes GetRegionScans
711
712 2004-04-06  Vladimir Vukicevic  <vladimir@pobox.com>
713
714         * gdipFunctions.cs: Added stream delegate helpers for
715         stream loading/saving on linux
716
717         * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
718         loading/saving image data.
719
720 2004-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
721         * Region.cs: implemented new methods
722         * Graphics.cs: implemented new methods
723
724 2004-04-02  Jordi Mas i Hernandez <jordi@ximian.com>
725         * Region.cs: implemented
726
727 2004-04-01  Duncan Mak  <duncan@ximian.com>
728
729         * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
730
731         * gdipFunctions.cs (GdipAddPathCurveI):
732         (GdipAddPathCurve2, GdipAddPathCurve2I):
733         (GdipAddPathCurve3, GdipAddPathCurve3I):
734         (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
735         (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
736         wrappers from GDI+.
737
738 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>    
739         * Image.cs: implemented a few GDI+ wrapper calls
740
741 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>
742         * Bitmap.cs: remove redundant data already present at Image.cs
743         * Image.cs: use GDI+ functions to get image details
744         * StringFormat.cs: missing constructor and property
745
746 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
747         * FontFamily.cs: added missing members and style clean
748         * Graphics.cs: fixed signature of DrawArc and DrawPie
749         * Image.cs: added missing members, fixes
750         * StringFormat.cs: missing constructor and property
751
752 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
753         * Graphics.cs: Added missing DrawImage GDI+ calls
754         * gdipFunctions.cs: Added missing DrawImage GDI+ calls  
755
756 2004-03-23  Ravindra <rkumar@novell.com>
757         * gdipFunctions.cs: Added few more P/Invoke calls for
758         LinearGradientBrush.
759
760 2004-03-22  Ravindra <rkumar@novell.com>
761         * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
762         and did few coding style fixes.
763
764 2004-03-18  Ravindra <rkumar@novell.com>
765         * Brush.cs: Fixed Dispose method.
766         * SolidBrush.cs: Fixed clone method.
767         * TextureBrush.cs: Fixed clone method.
768         * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
769
770 2004-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
771
772         * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
773
774 2004-03-10  Ravindra  <rkumar@novell.com>
775         * Pen.cs: Implemented PenType property.
776         * Brush.cs: Coding style.
777
778 2004-03-06  Ravindra  <rkumar@novell.com>
779         * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
780         for PathGradientBrush.
781
782 2004-03-06  Ravindra  <rkumar@novell.com>
783         * gdipFunctions.cs: Added GDI+ P/Invoke calls for
784         PathGradientBrush.
785
786 2004-03-04  Duncan Mak  <duncan@ximian.com>
787
788         * Region.cs: Indentation.
789
790         * RectangleF.cs: Changed the internal structure from a PointF,
791         SizeF to floats in order to match the layout from the C API.
792
793 2004-03-04  Jordi Mas i Hernandez <jordi@ximian.com>
794         * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
795
796 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
797         * gdipFunctions.cs: Added functions for ImageAttributes
798
799 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
800         * Icon.cs: Missing function stubs added
801         * Icon.cs: Missing function stubs added
802         * IconConverter.cs: Missing function stubs added
803         * ImageAnimator.cs: Missing function stubs added
804         * ImageConverter.cs: Missing function stubs added
805         * ImageFormatConverter.cs: Missing function stubs added
806
807 2004-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
808         * Font.cs: Allow multiple styles
809         
810 2004-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
811         * StringFormat.cs: Clone method
812         
813 2004-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
814         * font.cs: fixes, Clone, and ToString   
815         
816 2004-02-21  Jordi Mas i Hernandez <jordi@ximian.com>
817         * gdipFunctions.cs: MeasureString 
818         * Graphics.cs : MeasureString
819         
820 2004-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
821         * Font.cs: destructor and unit conversion 
822         * Graphics.cs : system dpi support
823
824 2004-02-13  Ravindra <rkumar@novell.com>
825         * Pen.cs: Fixed some bugs.
826         * TextureBrush.cs: Fixed some bugs.
827
828 2004-02-13  Sanjay Gupta <gsanjay@novell.com>
829         * gdipFunctions.cs: Added ImageCodecInfo functions
830         * Image.cs: Added few methods 
831
832 2004-02-13  Jordi Mas i Hernandez <jordi@ximian.com>
833         * FontFamily.cs: remove hardcoded font names, a few bug fixes
834         
835 2004-02-12  Sanjay Gupta <gsanjay@novell.com>
836         * gdipFunctions.cs: Added Image class functions
837         * Image.cs: Added few methods 
838
839 2004-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
840         * graphics.cs: fixes parameters for DrawStrings functions
841
842 2004-02-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
843
844         * SRDescriptionAttribute.cs: Added and implemented
845         * ToolboxBitmapAttribute.cs: Implemented a few members
846         * SystemIcons.cs: Stubbed
847         * StringFormat.cs: Implemented method
848         * Region.cs: Added Todo, fixed attribute
849         * Size.cs: Added attribute
850         * SizeF.cs: Added attribute
851         * RectangleF.cs: Added attributes
852         * Rectangle.cs: Added attributes
853         * PointF.cs: Added attribute
854         * Point.cs: Added attribute
855
856 2004-02-06  Ravindra  <rkumar@novell.com>
857
858         * Brush.cs: Renamed GetException method to CheckStatus
859         and moved it to gdipFunctions.cs.
860         * gdipFunctions.cs: Added CheckStatus method.
861         * SolidBrush.cs: Using CheckStatus method.
862         * TextureBrush.cs: Using CheckStatus method.
863         * gdipEnums.cs: Added a missing value.
864
865 2004-02-05  Ravindra  <rkumar@novell.com>
866
867         * Brush.cs: Added a missing namespace.
868
869 2004-02-05  Ravindra  <rkumar@novell.com>
870
871         * gdipFunctions.cs: Added methods for HatchBrush and 
872         SolidBrush.
873         * SolidBrush.cs: Added checks for status.
874         * Brush.cs: Added support for HatchBrush and TextureBrush 
875         types in internal CreateBrush() method.
876
877 2004-02-03  Jordi Mas  <jordi@ximian.com>
878         * Font.cs: Setup font properties
879
880 2004-02-03  Ravindra  <rkumar@novell.com>
881
882         * TextureBrush.cs and Brush.cs: Moved GetException (Status)
883         method from TextureBrush.cs to Brush.cs.
884         * Brush.cs: Made GetException (Status) method internal.
885
886 2004-02-03  Sanjay Gupta <gsanjay@novell.com>
887         
888         * gdipFunctions.cs: Added methods for Image class.
889
890 2004-01-30  Ravindra  <rkumar@novell.com>
891
892         * TextureBrush.cs: Added more methods to complete it.
893         * gdipFunctions.cs: Added methods for TextureBrush class.
894
895 2004-01-30  Ravindra  <rkumar@novell.com>
896
897         * gdipFunctions.cs: Added methods for TextureBrush class.
898
899 2004-01-30  Ravindra  <rkumar@novell.com>
900
901         * Pen.cs: Modified to handle TextureBrush also.
902         * Bitmap.cs: Added one internal constructor.
903         * TextureBrush.cs: Implemented.
904
905 2004-01-29  Duncan Mak  <duncan@ximian.com>
906
907         * gdipFunctions.cs
908         * Graphics.cs: Indentation fixes, removed long dangling lines and
909         extra spaces. 
910
911         * Graphics.cs (IsVisible): Renamed variable to not use hungarian
912         notation.
913
914 2004-01-29  Sanjay Gupta <gsanjay@novell.com>
915         
916         * FontFamily.cs: Implemented few methods and a constructor
917
918 2004-01-28  Sanjay Gupta <gsanjay@novell.com>
919
920         * gdipFunctions.cs: Added FontFamily and FontCollection functions.
921         * FontFamily.cs: Implemented missing functionalities.
922
923 2004-01-24  Duncan Mak  <duncan@ximian.com>
924
925         * Graphics.cs (DrawPath): Implemented.
926
927 2004-01-23  Ravindra  <rkumar@novell.com>
928
929         * Point.cs: ToString modified.
930         * PointF.cs: ToString modified.
931         * Size.cs: ToString modified.
932         * SizeF.cs: ToString modified. ToPoint and ToSize methods
933         are added.
934
935 2004-01-21  Jordi Mas i Hernàndez
936         * Bitmap.cs: Several new methods added.
937                 
938 2004-01-21  Duncan Mak  <duncan@ximian.com>
939
940         * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
941         OutAttribute to the array argument. This fixes the PathPoints
942         property in System.Drawing.Drawing2D.GraphicsPath.
943
944 2004-01-20  Ravindra  <rkumar@novell.com>
945
946         * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
947         this property was hanging and getting was throwing a NullRef
948         Exception. Earlier we were passing Matrix object to and fro
949         which was causing the problem. Now, we are using IntPtr.
950         Thanks to Duncan for helping me.
951         Also, .NET behavior is to maintain Pen.Color and Pen.Brush
952         together. If color is set, a SolidBrush automatically gets
953         set with the same color, Pen loses the old brush object.
954         If a SolidBrush is set, Pen.Color gets the value same as that
955         of brush color losing the old value. Pen shows this behavior
956         now.
957         * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
958         and GdipSetPenTransform methods to use IntPtr instead of Matrix.
959
960 2004-01-19  Duncan Mak  <duncan@ximian.com>
961
962         * gdipFunctions.cs: Import functions for GraphicsPath.
963
964 2004-01-14  Ravindra <rkumar@novell.com>
965                                                                                 
966         * SolidBrush.cs: Made SolidBrush to initialize its color
967         from IntPtr.
968                                                                                 
969         * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
970
971 2004-01-11  Duncan Mak  <duncan@ximian.com>
972
973         * Bitmap.cs (LockBits): 
974         * Graphics.cs (DrawString): Removed reference to GpRectF.
975
976 2004-01-09  Duncan Mak  <duncan@ximian.com>
977
978         * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
979         Removed. Didn't know that structs are laid out sequentially by
980         default. We don't need these anymore.
981
982 2004-01-12 Ben Maurer  <bmaurer@users.sourceforge.net>
983
984         * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
985
986 2004-01-11  Daniel Morgan <danielmorgan@verizon.net>
987
988         * Graphics.cs: fix compile error on Windows builds for out 
989         parameter state in call to GdipSaveGraphics
990
991 2004-01-10  Ravindra  <rkumar@novell.com>
992
993         * All Enums: Made serializable.
994
995         * Image.cs: Corrected signature of Dispose(bool) method.
996
997         * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs: 
998         Corrected coding style mistakes of my previous commit.
999
1000         * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
1001
1002         * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
1003
1004         * StringFormat.cs: Inherits MarshalByRefObject.
1005
1006         * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
1007
1008 2004-01-08  Ravindra  <rkumar@novell.com>
1009
1010         * Pen.cs: Added isModifiable (bool) variable. It is required to
1011         make Pens created by SystemPens.cs unmodifiable. All property
1012         setters are modified for this.
1013
1014         * SolidBrush.cs: Added isModifiable variable (bool). It is
1015         required to make Brushes created by SystemBrushes.cs unmodifiable.
1016         All property setters are modified for this.
1017
1018         * SystemBrushes.cs: Modified all the properties as per the .NET
1019         specs, so that Brushes are not created every time. Also, missing
1020         properties are added.
1021
1022         * SystemPens.cs: Modified all the properties as per the .NET
1023         specs, so that Brushes are not created every time. Also, missing
1024         properties are added.
1025
1026 2003-12-12  Miguel de Icaza  <miguel@ximian.com>
1027
1028         * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
1029         it serializable
1030
1031 2004-01-06  Duncan Mak  <duncan@ximian.com>
1032
1033         * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
1034
1035 2003-12-21  Duncan Mak  <duncan@ximian.com>
1036
1037         * Graphics.cs (DrawArc): Fixed the method signature and hooked it
1038         up to the GDI+ implementation.
1039         (RotateTransform): Uncommented.
1040
1041         * gdipFunctions.cs (DrawArc, DrawArcI): Import from
1042         libgdiplus.so.dll.
1043
1044 2003-12-13  Todd Berman  <tberman@sevenl.net>
1045
1046         * Font.cs: Implementing a couple things for porting purposes
1047         * SystemBrushes.cs: ^
1048         * StringFormat.cs: ^^
1049
1050 2003-11-28  Duncan Mak  <duncan@ximian.com>
1051
1052         * Pen.cs (CompoundArray): Hide this for now.
1053
1054 2003-11-28  Duncan Mak  <duncan@ximian.com>     
1055
1056         * Brush.cs (CreateBrush): new internal factory method for creating
1057         specific brushes based on the internal (GDI+ C API) BrushType
1058         enum.
1059         (Brush (IntPtr)): new internal constructor.
1060
1061         * Pen.cs: Removed all the C# fields. We are using GDI+ completely
1062         now.
1063         (Pen (IntPtr)): new internal constructor.
1064         (Pen (Brush, float)): Use GdipCreateBrush2.
1065         (Clone): Implemented using GdipClonePen.
1066         (Alignment, Brush, Color, Width): Use GDI+ implementations
1067         instead.
1068         (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
1069         Implemented these properties.
1070         (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
1071         (MultiplyTransform, ResetTransform, RotateTransform):
1072         (ScaleTransform, TranslateTransform): Implemented these methods.
1073
1074         * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
1075
1076         * gdipEnums.cs (BrushType): Added new GDI+ enum.
1077
1078         * gdipFunctions.cs: Imported new Brush and Pen functions.
1079
1080 2003-11-22  Duncan Mak  <duncan@ximian.com>
1081
1082         * gdipFunctions.cs
1083         (GdipResetWorldTransform, GdipSetWorldTransform):
1084         (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
1085
1086         * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
1087         (transform): Removed this field. Always use the
1088         matrix associated in the GpGraphics ptr.
1089         (DrawBeziers): Implemented.
1090         (DrawLine): Don't need to manually invoke the transform now.
1091         (MultiplyTransform, ResetTransform): 
1092         (ScaleTransform, TranslateTransform): Use GDI+ implementation.
1093         (Transform): Instead of storing a Matrix in managed code, use
1094         equivalent GDI+ functions.
1095
1096 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097
1098         * SizeConverter.cs: fixed class signature and implemented some methods.
1099
1100 2003-11-17  Duncan Mak  <duncan@ximian.com>
1101
1102         * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
1103         
1104         * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
1105
1106 2003-11-17  Duncan Mak  <duncan@ximian.com>
1107         
1108         * Bitmap.cs (LockBits):
1109         * Graphics.cs (DrawString): Use GpRectF.
1110
1111         * gdipFunctions.cs: Updated method signatures.  
1112
1113         * Graphics.cs (MultiplyTransform): Implemented using
1114         GdipMultiplyWorldTransform from GDI+.
1115
1116         * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
1117         GpRect, to be more consistent with the C naming.
1118
1119 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
1120
1121         * Graphics.cs: Implement the other DrawString overloads .
1122
1123 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
1124
1125         * gdipStructs.cs (GdipRectF): Added utility constructor
1126
1127 2003-11-15  Duncan Mak  <duncan@ximian.com>
1128
1129         * gdipFunctions.cs: Imported matrix functions.
1130
1131 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1132
1133         * Bitmap.cs: Added Attributes
1134         * ColorTranslator.cs: Added private constructor
1135         * Font.cs: Added Attributes
1136         * FontFamily.cs: sealed
1137         * Icon.cs: Added Attributes
1138         * IconConverter.cs: Fixed signature
1139         * Image.cs: Added attributes
1140         * ImageAnimator.cs: 
1141         * ImageConverter.cs:
1142         * ImageFormatConverter.cs:
1143         * SolidBrush.cs:
1144         * StringFormat.cs:
1145         * SystemBrushes.cs:
1146         * SystemColors.cs:
1147         * SystemIcons.cs:
1148         * SystemPens.cs:
1149         * TextureBrush.cs: Fixed signature
1150         * Color.cs: Added attributes
1151         * Point.cs:
1152         * PointF.cs:
1153         * Rectangle.cs:
1154         * Size.cs:
1155         * SizeF.cs: Added attributes
1156         * ContentAlignment.cs: Added attribute
1157
1158 2003-11-13  Duncan Mak  <duncan@ximian.com>
1159
1160         * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
1161
1162         * gdipFunctions.cs
1163         (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
1164         (GdipSetPenLineJoin, GdipGetPenLineJoin): 
1165         (GdipSetPenLineJoin, GdipGetPenTransform): imported.
1166
1167 2003-11-12  Alexandre Pigolkine <pigolkine@gmx.de>
1168         * Bitmap.cs
1169         * gdipFunctions.cs              copy image in Bitmap constructor
1170         
1171 2003-11-06  Duncan Mak  <duncan@ximian.com>
1172         * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
1173         angle parameters for the integer case.
1174         (DrawBezier): Hook it up with GdipDrawBezier.
1175         (DrawEllipse): Fix Width, Height ordering.
1176
1177 2003-11-05  Duncan Mak  <duncan@ximian.com>
1178
1179         * Graphics.cs (DrawPie): 
1180         * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
1181         in graphics.c.
1182         
1183 2003-10-28  Duncan Mak  <duncan@ximian.com>
1184
1185         * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
1186         (FillEllipse, FillPolygon): implemented.
1187         (RenderingOrigin): implemented.
1188
1189         * gdipFunctions.cs: Added new GDI+ equivalents.
1190
1191 2003-10-25  Alexandre Pigolkine <pigolkine@gmx.de>
1192         * Bitmap.cs
1193         * Image.cs                      small fixes
1194         
1195 2003-10-25  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
1196
1197         * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
1198
1199 2003-10-24  Miguel de Icaza  <miguel@ximian.com>
1200
1201         * SystemBrushes.cs: Some more brushe3s.
1202
1203         * SystemPens.cs: More pens.
1204
1205         * Pen.cs: Implement IDisposable, ICloneable.
1206
1207         * Region.cs: Add some more stubs here.
1208
1209         * StringFormat.cs: Add some more code here.
1210
1211 2003-10-23  Miguel de Icaza  <miguel@ximian.com>
1212
1213         * Image.cs: Kill the InternalImageInfo, everything is now done in
1214         terms of Image and BitmapData.
1215
1216         * Rectangle.cs: Make this one also sequential, change from using
1217         Point + Size to use x, y, width, height;  So we can use GdiPlus.
1218
1219         * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
1220         BitmapData class argument, and instead use the [In,Out]
1221         attributes, which will do struct marshalling on the fields.   Now
1222         we can use C#'s BitmapData directly to talk to Gdiplus.
1223
1224         * gdipStructs.cs: Every internal structure that has to talk to
1225         Gdi+ is properly prefixed, to minimize the confussion.
1226
1227         * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
1228         Compute the stride here where we have the BPP information,
1229         allocate a buffer of the proper size, and pass this to
1230         GdipCreateBitmapFromScan0 
1231
1232         * Image.cs: Implement Dispose pattern.
1233
1234 2003-10-14  Alexandre Pigolkine <pigolkine@gmx.de>
1235         * Graphics.cs
1236         * gdipFunctioncs.cs             
1237         * gdipStructs.cs                DrawString function added
1238
1239 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
1240         * gdipEnums.cs 
1241         * gdipFunctions.cs 
1242         * gdipStructs.cs                added 
1243                                                 
1244
1245 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
1246         * Bitmap.cs
1247         * Brush.cs
1248         * Font.cs
1249         * FontFamily.cs
1250         * Graphics.cs
1251         * Image.cs
1252         * Pen.cs
1253         * SolidBrush.cs
1254                                                 implementation changed to gdi+
1255
1256 2003-09-08  Duncan Mak  <duncan@ximian.com>
1257
1258         * Factories.cs (DefaultImplementationNamespace): Change it from
1259         "XrImpl" to "Cairo".
1260
1261 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262
1263         * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
1264         bug #47727.
1265
1266 2003-08-08  Duncan Mak  <duncan@ximian.com>
1267
1268         * Graphics.cs (DrawBezier): Fixed.
1269
1270 2003-08-03  Alexandre Pigolkine <pigolkine@gmx.de>
1271         * Graphics.cs  delegate Dispose to implementation
1272
1273 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1274
1275         * FontConverter.cs: stub it out so that system.web compiles.
1276
1277 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1278         * Image.cs      InternalImageInfo class improved
1279
1280 2003-07-23  Miguel de Icaza  <miguel@ximian.com>
1281
1282         * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
1283         is set, default to Win32Impl 
1284
1285 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
1286         * Image.cs      implementation added
1287         
1288 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1289
1290         * Icon.cs: Stubed out (fix for System.Drawing.Design)
1291
1292 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1293
1294         * StringFormat.cs: Changes to become CLS-compliant
1295
1296 2003-07-14  Miguel de Icaza  <miguel@ximian.com>
1297
1298         * Factories.cs: Remove debugging message.
1299
1300 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
1301         * Color.cs      code generation program modified
1302
1303 2003-06-29 Alexandre Pigolkine
1304         * Graphics.cs   image drawing
1305
1306 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1307         * Color.cs                      
1308         * SystemColors.cs       
1309                 supply KnowColor enum value to save Enum.Parse at runtime
1310
1311 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
1312         * Graphics.cs           coordinate transformations
1313         * Image.cs                      small fix
1314
1315 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1316         * Factories.cs
1317         * FontFamily.cs         more implementation
1318
1319 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
1320         * Font.cs
1321         * FontFamily.cs         more implementation
1322
1323 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
1324         * Graphics.cs           few more calls to implementation
1325
1326 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1327     * Bitmap.cs                 BITMAP declaration removed
1328         * Graphics.cs           few more calls to implementation
1329         * Image.cs                      InternalImageInfo structure, image read/write functions
1330                         
1331                         
1332 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
1333         * Factories.cs  analyse environment variable and machine.config to select implementation
1334         * Image.cs              PixelFormat property added
1335
1336 2003-04-30  Nick Drochak <ndrochak@gol.com>
1337
1338         * Factories.cs: Change weird characters that broke build on windows.
1339
1340 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341
1342         * ColorConverter.cs:
1343         (ConvertFrom): return a system or named color if there's one that fits
1344         teh values parsed with Color.FromArgb.
1345
1346 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
1347         * Bitmap.cs
1348         * Brush.cs
1349         * Font.cs
1350         * Graphics.cs
1351         * Image.cs
1352         * Pen.cs
1353         * SolidBrush.cs
1354         * SystemBrushes.cs
1355         * Factories.cs
1356                         delegate function calls to implementation
1357
1358 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
1359         * Bitmap.cs
1360         * ChangeLog
1361         * Image.cs
1362         * SystemBrushes.cs              switch to Linux style line terminators
1363
1364 2003-03-29 Alan Tam <Tam@SiuLung.com>
1365         * ToolboxBitmapAttribute
1366                 stubbed more constructors and fixed base class
1367
1368 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
1369         * SystemBrushes.cs
1370                         added stubs to compile SWF
1371
1372
1373 2003-02-21  Alexandre Pigolkine <pigolkine@gmx.de>
1374         * Font.cs
1375         * Graphics.cs
1376         * Image.cs
1377         * SystemBrushes.cs
1378                         small changes to be able to run SWF apps
1379
1380 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1381
1382         * Graphics.cs: stubbed out all the methods.
1383
1384 2003-02-08 Piers Haken <piersh@friskit.com>
1385
1386         * fixed case of pens.cs and font.cs
1387
1388 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
1389         * Font.cs Added
1390         * Graphics.cs
1391         * StringFormat.cs 
1392         * SystemBrushes.cs
1393                 stubs added
1394
1395 2002-11-21 Dennis Hayes (dennish@raytek.com)
1396         * checkin for Matt Stump (mstump@swfo.arizona.edu)
1397         * Pens.cs
1398         * Added file
1399
1400 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
1401
1402         * ColorTranslator.cs (FromHtml): Implement.
1403         
1404 2002-10-14 Dennis Hayes (dennish@raytek.com)
1405         * Region.cs
1406         * changed using namespace from Drawing2d to Drawing2D
1407
1408  2002-9-15 Asier Llano <asierllano@infonegocio.com>
1409         
1410         * Fixes the enum values in the following enums
1411         * ContentAlignment.cs:
1412         * FontStyle.cs:
1413         * GraphicsUnit.cs:
1414         * KnownColor.cs:
1415         * RotateFlipType.cs:
1416         * StringAligment.cs:
1417         * StringDigitSubstitute.cs:
1418         * StringFormatFlags.cs:
1419         * StringTrimming.cs:
1420         * StringUnit.cs: 
1421         * SolidBrush.cs: Easy implementation
1422         * Brushes.cs:    Implementation based on SolidBrush and Color class.
1423         * Brush.cs:      Fixes based on the status web).
1424         * CharacterRange.cs: Implemented the missing Lenth property.
1425
1426 2002-9-14 Dennis Hayes (dennish@raytek.com)
1427         
1428         * sample.cs
1429         * removed personal template that should not have been checked in
1430
1431 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1432
1433         * ColorConverter.cs: readded MonoTODOs and implemented a couple of
1434         methods.
1435
1436 2002-9-14  DennisHayes <dennish@raytek.com>
1437
1438         * FontConverter.cs
1439         * FontFamily.cs
1440         * Icon.cs
1441         * IconConverter.cs
1442         * ImageAnimator.cs
1443         * ImageConverter.cs
1444         * ImageFormatConverter.cs
1445         * PointConverter.cs
1446         * RectangleConverter.cs
1447         * Sample.cs
1448         * SizeConverter.cs
1449         * SolidBrush.cs
1450         * StringFormat.cs
1451         * SystemBrushes.cs
1452         * SystemIcons.cs
1453         * SystemPens.cs
1454         * TextureBrush.cs
1455         * ToolboxBitmapAttribute.cs
1456         * Added null classes for most/all classes, Many stubs, and some implmentation
1457
1458 2002-9-2  DennisHayes <dennish@raytek.com>
1459
1460         * Bitmap.cs
1461         * Color.cs
1462         * ColorConverter.cs
1463         * Image.cs
1464         * Pen.cs
1465         * Added stubs, implmentation
1466
1467 2002-9-2  DennisHayes <dennish@raytek.com>
1468
1469         * Brushes.cs : stubbed, added colors. Not sure how to implement,
1470                                  but this should at least save someone some typing.
1471         * CharacterRange.cs :Implmented
1472         * Region.cs : stub needed for system.windows.forms
1473
1474 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1475
1476         * ColorTranslator.cs: use Color.Name.
1477
1478 2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1479
1480         * Color.cs: implemented SystemColors and NamedColors properties that
1481         are used by ColorConverter, removed public constructor, use
1482         SystemColors, and misc. fixes to make it behave as MS (ToString,
1483         parsing names, FromKnownColor,...).
1484
1485         * ColorConverter.cs: use NamedColors and SystemColors from Color when
1486         trying to get the color from its name.
1487
1488         * SystemColors.cs: new file.
1489
1490 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1491
1492         * Color.cs: changed static properties to use FromArgbNamed. Also
1493         modified the program included in comments that get the values for
1494         static properties.
1495
1496         (FromArgbNamed): build named colors.
1497         (FromKnownColor): fixed.
1498         (FromName): use a hash to look up colors by name.
1499         (FillColorNames): create the hash of colors.
1500         (Equals): compare values and name.
1501         (ToString): improved.
1502
1503         * ColorTranslator.cs: implemented ToHtml.
1504
1505 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1506
1507         * Color.cs: added TypeConverter attribute.
1508         
1509         * ColorConverter.cs: added constructor.
1510
1511 2002-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1512
1513         * ColorConverter.cs: implemented minimal set of features needed by xsp.
1514
1515 2002-05-03  Mike Kestner <mkestner@speakeasy.net>
1516
1517         * Bitmap.cs : using System.IO
1518         * ColorTranslator.cs : Stubbed off build breakers.
1519         * Image.cs : Stub off IDisposable and ICloneable.
1520         
1521 2002-04-27  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1522
1523         * Bitmap.cs: Ximian is the new copyright holder now.
1524         * Image.cs: ditto
1525
1526 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1527
1528         * Uppercased several files.
1529
1530 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1531
1532         * color.cs: Fixed a typo in GetSaturation ().
1533
1534 2002-02-26  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1535
1536         * Bitmap.cs: Added method headers.
1537
1538 2002-02-25  Christian Meyer  <Christian.Meyer@cs.tum.edu>
1539
1540         * Bitmap.cs: Added, no implementation's done, yet.
1541
1542 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
1543
1544         * Rectangle.cs : Add a doc comment.
1545         * RectangleF.cs : New struct implementation.
1546
1547 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
1548
1549         * Rectangle.cs : New struct implementation.
1550
1551 2001-08-17  Mike Kestner <mkestner@speakeasy.net>
1552
1553         * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
1554
1555 2001-08-16  Mike Kestner <mkestner@speakeasy.net>
1556
1557         * Point.cs : New. Implementation of System.Drawing.Point struct.
1558