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