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