Moved TestConfiguration.cs to Npgsql.
[mono.git] / mcs / class / System.Drawing / System.Drawing / ChangeLog
1 2006-09-06  Kornél Pál  <kornelpal@gmail.com>
2
3         * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
4           destructor because it is freed using Release. (Proper fix for bug
5           #78315.) Free COM vtable when unloading and all objects Released.
6
7 2006-09-06  Jonathan Chambers  <joncham@gmail.com> 
8
9         * ComIStreamMarshaler.cs: Only deallocate memory
10         for COM wrapper if not shutting down. #78315
11         
12 2006-09-04  Jonathan Chambers  <joncham@gmail.com> 
13
14         * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
15         allocated for vtable. If this finalizer runs before all clients
16         are done with it (Image(s) in this case) we crash on windows. #78315
17         
18 2006-09-01  Sebastien Pouliot  <sebastien@ximian.com>
19
20         * Bitmap.cs: Fix exceptions for LockBits.
21
22 2006-08-28  Sebastien Pouliot  <sebastien@ximian.com>
23
24         * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
25         original exception). Found with Gendarme.
26         * Color.cs: Remove the double-check lock. Found with Gendarme.
27         * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
28
29 2006-08-28  Jonathan Chambers  <joncham@gmail.com> 
30
31         * ComIStreamMarshaler.cs: Do not free memory allocated for
32         Com Callable Wrapper for stream. When Image created from stream
33         is destroyed, it calls Release on CCW interface. Somehow we seem
34         to be destroying Stream CCW before Image is destroyed. Fixes
35         crash on exit on Windows. #78315
36         
37 2006-08-28      Boris Kirzner   <borisk@mainsoft.com>
38
39         * SystemColors.jvm.cs: fix array size for NET_2_0
40
41 2006-08-27  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * ColorConverter.cs: Catch the case where the integer part of the 
44         color doesn't fit into a 32bit integer.
45         * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml 
46         method. Fixed string handling on FromHtml method. Fixed all parameter
47         names to match FX.
48
49 2006-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
50
51         * gdipFunctions.cs: Change ColorMatrix to IntPtr in method 
52         GdipSetImageAttributesColorMatrix definition.
53         * FontConverter.cs: Fix compiler warnings.
54
55 2006-08-24  Sebastien Pouliot  <sebastien@ximian.com>
56
57         * TextureBrush.cs: Remove private Image member as we cannot, without
58         cloning it (which removes the advantage of caching it), return it for 
59         the Image property *and* we cannot dispose of it properly (Dispose 
60         isn't overridden).
61
62 2006-08-22  Sebastien Pouliot  <sebastien@ximian.com>
63
64         * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
65         width out parameter.
66         * Image.cs: Cast the uint into an int for the Width property.
67
68 2006-08-12  Duncan Mak  <duncan@novell.com>
69
70         * gdipFunctions.cs (GdipLoadImageFromStream):
71         (GdipSaveImageToStream): Don't include these methods when
72         compiling the unit tests.
73
74 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75
76         * gdipFunctions.cs: return -1 when stream.Length throws.
77
78 2006-08-11  Sebastien Pouliot  <sebastien@ximian.com> 
79
80         * Font.cs: Remove the, now unrequired, FaceNameOffset field and
81         use the object size instead of the structure size when copying.
82
83 2006-08-11  Sebastien Pouliot  <sebastien@ximian.com>
84
85         * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
86         to match MS boundary between GDI+ and SD.
87
88 2006-08-07  Andrew Skiba <andrews@mainsoft.com>
89
90         * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
91
92 2006-08-05  Sebastien Pouliot  <sebastien@ximian.com>
93
94         * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
95         ToLogFont even if GDI+ has that value to 0.
96
97 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
100         Read the XOR and AND masks in a single read.
101
102 2006-08-04  Sebastien Pouliot  <sebastien@ximian.com>
103
104         * Pen.cs: Fix unit tests wrt libgdiplus return value change.
105
106 2006-08-03  Sebastien Pouliot  <sebastien@ximian.com>
107
108         * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
109         * Region.cs: Fix unit tests wrt libgdiplus return value change.
110
111 2006-08-01  Jonathan Chambers  <joncham@gmail.com>
112
113         * Font.cs: Fix marshalling of LOGFONT in ToHfont. 
114         Fixes #78939.
115         
116 2006-07-20  Sebastien Pouliot  <sebastien@ximian.com>
117
118         * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst 
119         for NET_2_0 profile.
120
121 2006-07-06  Sebastien Pouliot  <sebastien@ximian.com>
122
123         * Image.cs: Ensure we're setting the nativeObject to NULL before 
124         throwing any exception while disposing (and avoid possible double
125         freeing). Avoid multiple casts in Clone method.
126         * Pen.cs: Ensure the internal pen's brush is always disposed 
127         correctly. Avoid making a reference to the internal brush.
128         * SolidBrush.cs: Avoid setting color when cloning the solid brush
129         as the .ctor(IntPtr) always does this job.
130
131 2006-07-04  Sebastien Pouliot  <sebastien@ximian.com>
132
133         * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
134         image size is invalid (to match MS behaviour), also ensure that the
135         Graphics instance is disposed even if CheckStatus throws an exception.
136
137 2006-06-26  Sebastien Pouliot  <sebastien@ximian.com>
138
139         * Pen.cs: Ensure we dispose of an existing brush before replacing it.
140         Avoid double-cast when dealing with SolidBrush.
141
142 2006-06-06  Sebastien Pouliot  <sebastien@ximian.com>
143
144         * gdipFunctions.cs: Fix API signature (missing pen pointer) for 
145         GdipIsOutlineVisiblePathPoint[I] methods.
146         * FontFamily.cs: Delay the call to refreshName until it is actually
147         required.
148
149 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150
151         * Color.cs: when deserializing from an MS generated stream, the value
152         for known colors was 0. These changes make our Color handle that case.
153         We won't serialize the name for known colors either, but the value will
154         be there, so we only check for a 0 value on a known color once.
155         Fixes bug #78265.
156
157 2006-05-30  Sebastien Pouliot  <sebastien@ximian.com> 
158
159         * Font.cs: Change default charset to 1. Ensure we always call the
160         CheckStatus method after calling GDI+. Added null checks to match MS
161         exception handling.
162         * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
163         pointers but names. Simplify the Generic* static properties by reusing
164         the .ctor code. Fixed ToString to match MS output. Removed 
165         GetStyleCheck as it failed when multiple styles were provided (flags).
166         * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an 
167         ArgumentException.
168
169 2006-05-29  Sebastien Pouliot  <sebastien@ximian.com> 
170
171         * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
172         (e.g. Bmp) and long (e.g. guid) names.
173
174 2006-05-26  Sebastien Pouliot  <sebastien@ximian.com> 
175
176         * ImageFormatConverter.cs: Fixing unit tests for ImageFormat 
177         introduced a regression in the converter (not catched by other unit
178         tests).
179
180 2006-05-25  Sebastien Pouliot  <sebastien@ximian.com> 
181
182         * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and 
183         GdipCreateRegionHrgn functions.
184         * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
185         calls.
186
187 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com> 
188
189         * PointConverter.cs: Fx 2.0 throws an ArgumentException in 
190         CreateInstance if some values are missing from the dictionary, while
191         1.x throws an NullReferenceException.
192         * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in 
193         CreateInstance if some values are missing from the dictionary, while
194         1.x throws an NullReferenceException.
195         * SizeConverter.cs: Fx 2.0 throws an ArgumentException in 
196         CreateInstance if some values are missing from the dictionary, while
197         1.x throws an NullReferenceException.
198         * SizeFConverter.cs: Fix CreateInstance to use float (not int).
199
200 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com>
201
202         * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
203         * Graphics.cs: Added checks for null Rectangle[F] arrays in 
204         FillRectangles methods and removed the check for 0-length (MS throws).
205         Let EndContainer mthod throws a NullReferenceException on 1.x profile.
206         * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
207
208 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com> 
209
210         * Pen.cs: Clone the supplied brush in the .ctor (as the user may 
211         dispose of it anytime). Make sure we're disposing our cached brush
212         when disposing the pen.
213
214 2006-05-21  Sebastien Pouliot  <sebastien@ximian.com> 
215
216         * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
217         * FontStyle.cs: Removed [Serializable] from 2.0 profile.
218         * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
219         * KnownColor.cs: Removed [Serializable] from 2.0 profile.
220         * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
221         * StringAligment.cs: Removed [Serializable] from 2.0 profile.
222         * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
223         * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
224         * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
225         * StringUnit.cs: Removed [Serializable] from 2.0 profile.
226
227 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228
229         * ImageAnimator.cs: get the FrameDelay from the image properties, if
230         available. Remove ^Ms.
231
232 2006-05-17  Sebastien Pouliot  <sebastien@ximian.com> 
233
234         * Pen.cs: Get the pen color from the solid brush (when applicable). 
235         Added missing validations for most properties. Always return a clone 
236         of the internal brush (so no one can dispose of it in our back).
237
238 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239
240         * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
241
242 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243
244         * Bitmap.cs: (Clone) use the 'format' argument instead of the
245         PixelFormat.
246
247 2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>
248
249         * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
250           array is empty, don't invoke GDI+. Fixed bug #78408.
251
252 2006-05-12  Sebastien Pouliot  <sebastien@ximian.com> 
253
254         * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
255
256 2006-05-11  Peter Dennis Bartok  <pbartok@novell.com>
257
258         * Icon.cs: Don't require width/height to be non-0 when creating from
259           serialized data, just require them to be square
260
261 2006-05-04  Sebastien Pouliot  <sebastien@ximian.com> 
262  
263         * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
264         on it's drawn.
265
266 2006-05-04  Sebastien Pouliot  <sebastien@ximian.com>
267
268         * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
269         (in the class status library) a note that this isn't supported with 
270         libgdiplus.
271
272 2006-05-02  Peter Dennis Bartok  <pbartok@novell.com>
273
274         * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
275
276 2006-05-02  Sebastien Pouliot  <sebastien@ximian.com> 
277
278         * PointF.cs: Add operators + and - between PointF and SizeF in the
279         2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
280         missing in corcompare results).
281
282 2006-05-02  Sebastien Pouliot  <sebastien@ximian.com>
283
284         * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
285         * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on 
286         BeginContainer methods that use rectangles and on TextContrast property 
287         (all aren't currently supported in libgdiplus).
288
289 2006-05-01  Sebastien Pouliot  <sebastien@ximian.com>
290
291         * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in 
292         libgdiplus). Fixed minor extra/missing for corcompare.
293
294 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295
296         * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
297
298 2006-04-30  Peter Dennis Bartok  <pbartok@novell.com>
299
300         * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
301           and set proper transparency. Also fixed broken calculation of AND
302           size when reading the icon. NDocGui now shows pretty buttons.
303
304 2006-04-28  Sebastien Pouliot  <sebastien@ximian.com> 
305
306         * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
307         * Region.cs: Remove old todo that were fixed in libgdiplus.
308         * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
309         attribute to Tag property. FromStream(Stream,bool,bool) is available
310         in Fx 1.1 (probably since SP1).
311
312 2006-04-28  Sebastien Pouliot  <sebastien@ximian.com>
313
314         * Graphics.cs: Added MonoTODO on some DrawCurve methods because 
315         libgdiplus doesn't use the numberOfSegments argument.
316
317 2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>
318
319         * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and 
320         GdipAddPathLine2I methods (to allow adding a single point).
321
322 2006-04-27  Sebastien Pouliot  <sebastien@ximian.com> 
323
324         * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
325         GdipAddStringI wrapper methods.
326
327 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
328
329         * Bitmap.cs: throw when the target pixel format differs from the one
330         of the image and it's an indexed format. We were failing in UnlockBits
331         before.
332
333 2006-04-25  Miguel de Icaza  <miguel@novell.com>
334
335         * FontConverter.cs (FontUnitConverter): implement.   CorCompare
336         for some reason does not dig into nested classes, match the
337         documentation. 
338
339         (FontNameConverter): Return the fonts available on the system. 
340
341 2006-04-25  Peter Dennis Bartok  <pbartok@novell.com>
342
343         * Icon.cs: We need to or, not and our alpha values into the
344           palette. Also, we need to actually store the altered palette
345           on the bitmap, since we are altering a copy.
346
347 2006-04-10  Sebastien Pouliot  <sebastien@ximian.com> 
348
349         * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
350
351 2006-03-23  Peter Dennis Bartok  <pbartok@novell.com>
352
353         * gdipFunctions.cs: 
354           - GdipGetFontCollectionFamilyList: No need for complicated 
355             GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
356           - GdipDeletePrivateFontCollection: We need to pass a ref to the
357             structure. This was causing nasty crashes.
358           - GdipGetFamilyName: Switched to use StringBuilder instead of
359             manual marshalling
360         * FontFamily.cs: Simplified the refreshName method, less error-prone now
361
362 2006-03-21  Sebastien Pouliot  <sebastien@ximian.com> 
363  
364         * Brush.cs: Remove unused code.
365         * FontFamily.cs: Remove warnings from build.
366         * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
367
368 2006-03-21  Sebastien Pouliot  <sebastien@ximian.com>
369
370         * gdipFunctions.cs: Import XFree (from libX11) so we can free the 
371         memory we allocate.
372         * Graphics.cs: Free the memory we get from XGetVisualInfo.
373
374 2006-03-20  Sebastien Pouliot  <sebastien@ximian.com>
375
376         * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
377         in every case. This has been known (in the past) to cause crashes
378         in Cairo. If still true then we need to find out why!
379
380 2006-03-09  Peter Dennis Bartok  <pbartok@novell.com>
381
382         * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
383           it was causing crashes in the finalizers (bug #77464)
384
385 2006-03-06  Jonathan Gilbert  <logic@deltaq.org>
386
387         * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
388           the start_buf cached bytes whenever Seek() is actually called. If
389           Seek is not called (an invalid 'whence' value), then the buffer is
390           not invalidated. This fixes a bug with TIFF loading.
391
392 2006-03-02  Peter Dennis Bartok  <pbartok@novell.com>
393
394         * Image.cs (ISerializable.GetObjectData): Save the image in it's
395           original format. (Fixes #77673)
396
397 2006-02-28  Jonathan Chambers  <jonathan.chambers@ansys.com>,
398             Peter Dennis Bartok  <pbartok@novell.com>
399
400         * Font.cs:
401           - ToLogFont: Reworked to allow running under MS runtime and to 
402             support it being called with both boxed structs and formatted 
403             classes  (MS runtime PtrToStructure cannot marshal boxed value
404             types, but Marshal.AsAny can)
405           - Switched all usage of LOGFONTA to more generic CharSet-driven 
406             LOGFONT structure
407           - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
408         * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
409           CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
410         * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
411           CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
412           (needed because of ToLogFont fix)
413
414 2006-02-18  Duncan Mak  <duncan@novell.com>
415
416         * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
417         possible IndexOutOfRangeException.
418
419 2006-02-09  Peter Dennis Bartok  <pbartok@novell.com>
420
421         * Image.cs, Bitmap.cs: Removed unneeded casts
422         * Icon.cs: Fixed code to be 64bit safe
423
424 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
425
426         * Font.cs: Fixes 77407
427
428 2006-01-27  Sebastien Pouliot  <sebastien@ximian.com>
429
430         * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
431         even if GDIPlus.CheckStatus throws an exception;
432         * Image.cs: Ensure unmanaged memory is free correctly even if 
433         GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
434         case is unclear to me (and unimplemented in libgdiplus);
435         * Region.cs: Ensure unmanaged memory is free correctly in 
436         GetRegionScans even if GDIPlus.CheckStatus throws an exception;
437
438 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
439
440         * gdipFunctions.cs: New gdiplus imports
441         * Font.cs: Use gdiplus calls to get font height and size
442
443 2006-01-26  Sebastien Pouliot  <sebastien@ximian.com>
444
445         * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
446         * Region.cs: Updated TODO to reflect current status.
447
448 2006-01-24  Konstantin Triger <kostat@mainsoft.com>
449
450         * Font.jvm.cs, FontFamily.jvm.cs: use static container.
451
452 2006-01-19  Peter Dennis Bartok  <pbartok@novell.com>
453
454         * Icon.cs: The code wrongly assumed that the stride for the icon
455           would be the same as the stride for the bitmap. This was causing
456           memory corruption.
457
458 2006-01-18  Peter Dennis Bartok  <pbartok@novell.com>
459
460         * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
461           which when calling down to MS GDI+ will create an image
462           where neither GetPixel or Save can be used on.
463
464 2006-01-18  Sebastien Pouliot  <sebastien@ximian.com>
465
466         * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
467         * Region.cs: Implemented .ctor(RegionData)
468
469 2006-01-13  Miguel de Icaza  <miguel@novell.com>
470
471         * Region.cs: Revert the Region.cs check in GetHrgn as it was used
472         by our Windows.Forms implementation.
473
474 2006-01-11  Sebastien Pouliot  <sebastien@ximian.com>
475
476         * Graphics.cs: Avoid creating bitmaps two times if both X and Y 
477         default DPI are required (i.e. init both value in both cases).
478         * Region.cs: Added null check to match MS behaviour (exception type)
479         and avoid NRE (before CheckStatus is called). Added security demands
480         for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
481
482 2005-12-22  Jonathan Chambers <jonathan.chambers@ansys.com>
483
484         * gdipFunctions.cs: Do not call GdiplusShutdown for
485         now as it causes a crash on MS GDI+.
486
487 2005-12-20  Konstantin Triger <kostat@mainsoft.com>
488
489         * Font.jvm.cs: charset support.
490
491 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>
492
493         * Graphics.cs (Flush): Make sure nativeObject is not null
494
495 2005-12-14  Konstantin Triger <kostat@mainsoft.com>
496
497         * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
498
499 2005-12-13  Konstantin Triger <kostat@mainsoft.com>
500
501         * Bitmap.jvm.cs: Fix MakeTransparent.
502
503 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
504
505         * Graphics.cs: Add new deephs support to CopyFromScreen
506
507 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
508
509         * BufferedGraphicsManager.cs: Fixes signature
510
511 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com>
512
513         * Font.cs: 
514           - Implemented FromLogFont
515           - Implemented ToLogFont
516           - Whitespace fixes
517         * gdipFunctions.cs:
518           - Added GdipGetLogFontW method
519           - Specified charset for GdipGetLogFontA method
520         * gdipStructs.cs: Added LOGFONTW structure
521
522 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
523
524         * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
525         native.
526         * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
527         to native.
528
529 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
530
531         * gdipFunctions.cs: DllExports need it to implement 
532           new Graphics.CopyFromScreen .Net 2.0 methods
533         * IDeviceContext.cs: New .Net 2.0 interface
534         * Color.cs: Fixes for new .Net 2.0 KnowColors
535         * PointF.cs: New .Net 2.0 Add/Subtract methods
536         * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
537         * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
538         * SizeF.cs: New .Net 2.0 Add/Subtract methods
539         * FontConverter.cs: New .Net 2.0 fixes
540         * SystemColors.cs: New standard SystemColors for .Net 2.0
541         * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
542         * CharacterRange.cs: : New .Net 2.0 methods
543         * Size.cs: New .Net 2.0 Add/Subtract methods
544         * SystemPens.cs: New standard SystemPens for .Net 2.0
545         * Bitmap.cs: New .Net 2.0 methods
546         * Region.cs: New .Net 2.0 methods
547         * Brush.cs: New .Net 2.0 constructor
548         * Icon.cs: New .Net 2.0 Constructors and methods
549         * Point.cs: New .Net 2.0 Add/Subtract methods
550         * BufferedGraphicsManager.cs: New .Net 2.0 class
551         * Graphics.cs: New methods for .Net 2.0 and fixes
552         * BufferedGraphics.cs: New .Net 2.0 class
553         * Font.cs:  New .Net 2.0 properties
554         * Image.cs: New .Net 2.0 tag property
555         * KnownColor.cs: New .Net 2.0 know colors
556         * CopyPixelOperation.cs: New .Net 2.0 enum
557         * SystemFonts.cs: New .Net 2.0 class
558         * BufferedGraphicsContext.cs: New .Net 2.0 class
559
560 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
561
562         * SystemIcons.jvm.cs: refactoring.
563
564 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
565
566         * Icon.cs: TARGET_JVM changes.
567
568 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
569
570         * Image.jvm.cs: fixed Save, flush output stream
571
572 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
573
574         * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
575
576 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
577
578         * ColorConverter.cs: fixed ConvertFrom, to be able
579         to convert from three digit notation color (#abc)
580
581 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
582
583         * Bitmap.jvm.cs: open a correct stream.
584
585 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
586
587         * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
588
589 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
590
591         * FontFamily.jvm.cs: fix for custom font collection
592
593 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
594
595         * FontFamily.jvm.cs: fixed GetName
596
597 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
598
599         * Bitmap.jvm.cs: fixed InternalSave() error handling
600         * Image.jvm.cs: fixed Save() error handling
601
602 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
603
604         * FontFamily.jvm.cs: Refactoring.
605
606 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
607
608         * Font.jvm.cs: Refactoring.
609
610 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
611
612         * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
613                 MeasureString support
614
615 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
616
617         * FontFamily.jvm.cs: correctly initialize fontcollection
618
619 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
620
621         * FontFamily.jvm.cs: DrawMargin, refactoring.
622
623 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
624
625         * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
626                 Differentiate standard and AntiAlias stroking
627
628 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
629
630         * Graphics.jvm.cs: added UnitConversion property
631         * FontFamily.jvm.cs: refactoring
632         * Font.jvm.cs: refactoring
633
634 2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>
635
636         * Font.cs: 
637           - Implemented serialization constructor
638           - Implemented GetObjectData()
639
640 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
641
642         * StringFormat.jvm.cs: Refactoring
643
644 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com> 
645
646         * Image.cs: Default format for MemoryBMP should be Png
647
648 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
649
650         * Bitmap.jvm.cs: fixed InternalSave
651         * Image.jvm.cs: fixed Save
652
653 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
654
655         * Image.jvm.cs: fixed redolution properties
656
657 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
658
659         * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
660         fixed clone, Initialize
661
662 2005-10-24  Peter Dennis Bartok  <pbartok@novell.com>
663
664         * Brush.cs: Don't delete the brush if the display handle is no longer
665           valid, otherwise cairo will try to use the handle and crash and burn
666
667 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
668
669         * Graphics.jvm.cs: DrawImage refactoring
670
671 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
672
673         * Graphics.jvm.cs: Clipping refactoring
674         fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer, 
675         ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
676         TranslateClip, VisibleClipBounds
677
678 2005-10-21  Miguel de Icaza  <miguel@novell.com>
679
680         * Pen.cs: Add support for returning the Brush from Pens created
681         with a color constructor.
682
683         Plus: code style police, else does not go on its own line.
684
685         * Graphics.cs: Add various ArgumentNull checks.
686
687 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
688
689         * Image.jvm.cs: make Clone abstract
690
691 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
692
693         * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
694
695 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
696
697         * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
698         * PlainImage.jvm.cs: fixed Clone
699         * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
700
701 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
702
703         * Brush.jvm.cs: added InternalClone() method
704         changed transformation methods access level
705         * TextureBrush.jvm.cs: refactoring, fixed clone()
706
707 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
708
709         * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform 
710         matrix singularity added
711         * Font.jvm.cs: implemetated ISerializable
712         * Pen.jvm.cs: fixed DashPattern property, 
713         fixed GetNativeObject() dash pattern calculation
714
715 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com> 
716
717         * SystemColors.cs: Fixes the Win32 light and lightlight colours
718
719 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com> 
720
721         * SystemColors.cs: Fixes the Win32 system colors including the color
722         name and the knownColor properties.
723
724 2005-10-07  Peter Dennis Bartok  <pbartok@novell.com>
725
726         * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
727           conversion, it's less overhead than StringBuilder. (Part of the
728           bugfix for #74871 and #75534)
729
730         * gdipFunctions: Changed signature for GdipGetFamilyName to just
731           have an IntPtr for the buffer
732
733 2005-10-04  Peter Dennis Bartok  <pbartok@novell.com> 
734
735         * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
736           fixes bug #76329
737
738 2005-09-29  Peter Dennis Bartok  <pbartok@novell.com> 
739
740         * SystemColor.cs: Added code used to generate properties, updated with
741           Windows XP colors
742
743 2005-09-29  Peter Dennis Bartok  <pbartok@novell.com>
744
745         * SystemColor.cs: Make internal names predictable to allow scripted
746           generation of color table
747
748 2005-09-28  Peter Dennis Bartok  <pbartok@novell.com>
749
750         * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
751           to update it.
752
753 2005-09-27  Peter Dennis Bartok  <pbartok@novell.com>
754
755         * SystemColor.cs: 
756           - Changed properties to return colors from fields. This allows 
757             updating the colors via reflection, for example from MWF themes.
758           - Added code to retrieve system colors via Win32 GetSysColors if 
759             running on Win32, this makes us compatible with Microsoft instead
760             of returning static colors on Win32. Unix platforms still will
761             use the static colors
762         * Color.cs: Added UpdateKnownColor() method to allow updating of
763           the KnownColors array
764
765 2005-09-26  Kornél Pál  <kornelpal@hotmail.com>
766
767         * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
768           when imageAttr is null.
769
770 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
771
772         * Brush.jvm.cs: fixed transform methods, createContext
773         * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
774
775 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
776
777         * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
778         * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
779         * PlainImage.jvm.cs: added metadata props, fixed ctor
780         * PlainImageCollection.jvm.cs: fixed class access
781
782 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com> 
783
784         * Graphics.cs: Fixes exception type at FromImage method
785
786 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
787
788         * Graphics.jvm.cs: bitmap resolution fix in DrawImage
789
790 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
791
792         * Graphics.jvm.cs: fixed DrawImage
793
794 2005-09-19  Miguel de Icaza  <miguel@novell.com>
795
796         * Graphics.cs: Removed restriction on the images that can be
797         loaded.  Indexed images *can* be loaded
798
799 2005-09-18  Miguel de Icaza  <miguel@novell.com>
800
801         * Image.cs: introduce a workaround that catches errors on systems
802         that lack GDI+ as this is being triggered too easily when we
803         enumerate attributes on loaded classes.
804
805         The real bug to fix is #76062.
806
807 2005-09-17  Kornél Pál  <kornelpal@hotmail.com>
808
809         * Image.cs: Implemented FromHbitmap.
810
811 2005-09-16  Sebastien Pouliot  <sebastien@ximian.com>
812
813         * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so 
814         the JIT won't add demands for UnmanagedCode.
815         * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes 
816         so the JIT won't add demands for UnmanagedCode on Mac OSX.
817         * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap 
818         (+ overloads) and GetHicon methods.
819         * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal, 
820         FromHwndInternal and ReleaseHdcInternal methods (which are all public 
821         despite their names).
822
823 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
824
825         * Graphics.jvm.cs: text transform, headless session
826
827 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
828
829         * Bitmap.jvm.cs: native object refactoring
830         * Image.jvm.cs: native object refactoring
831         * Graphics.jvm.cs: fixed access to image native object
832         * TextureBrush.jvm.cs: fixed access to image native object
833         * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
834
835 2005-09-14  Geoff Norton  <gnorton@customerdna.com>
836
837         * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
838         * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
839         * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
840                                                                                          
841 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
842
843         * Graphics.jvm.cs: transform, container, thin pen
844
845 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
846
847         * AdvancedStroke.jvm.cs: constants for pen fitting calculations
848         * Pen.jvm.cs: fixing transform, pen fitting
849
850 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
851
852          * Region.jvm.cs: IsVisible is about intersection 
853
854 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
855
856         * ImageConverter.cs: Use default TypeDescriptor implementation of 
857         GetProperties.
858
859 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
860
861         * Graphics.jvm.cs: fixing clipping with rotate transform
862
863 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
864
865         * Region.jvm.cs: default region is infinite
866
867 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
868
869         * Graphics.jvm.cs: fixing clipping stuff
870
871 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
872
873         * Bitmap.jvm.cs: fixed bitamp accessors
874         * Image.jvm.cs: fixed image accessors
875
876 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
877         * AdvancedStroke.jvm.cs: fix matrix translate
878         * Graphics.jvm.cs: fix matrix concatenation order
879
880 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
881
882         * Brush.jvm.cs: added transform methods
883
884 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
885
886         * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
887                 implementing fitting, output transform
888         * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
889
890 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
891
892         * ColorTranslator.cs: perform case insensitive check
893
894 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com> 
895
896         * gdipFunctions.cs: define new functions
897         * Bitmap.cs: fixes image loading and exceptions
898         * Image.cs: fixes image loading and exceptions
899         
900         Thanks Kornél Pál for its help
901
902 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
903
904         * Brush.jvm.cs: added brush transform field
905
906 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
907
908         * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
909
910 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
911
912         * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
913         Graphics.jvm.cs: adjust stroke before widening
914
915 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
916
917         * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
918         Save, Restore
919
920 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
921
922         * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
923         convert string to int before checking number of components.
924         * RectangleConverter.cs: same.
925         * SizeConverter.cs: same.
926
927 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
928
929         * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
930         convert individual components. Special case string containing hex
931         prefix. Convert components before checking count.
932
933 2005-08-25 Marek Safar  <marek.safar@seznam.cz>
934
935         * gdipFunctions.cs: GetIconInfo new user32 method.
936         GdipGetDC uses IntPtr.
937         
938         * gdipStructs.cs: Defined IconInfo struct.
939         
940         * Graphics.cs: FromImage throws exception when image has an indexed format.
941         GetHdc fixed.
942         
943         * Icon.cs: Implemented FromHandle, Dispose.
944
945 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
946
947         * ToolboxBitmapAttribute.cs: Implemented retrieving the image
948
949 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
950
951         * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
952         Fixed SmoothingMode property
953
954 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com> 
955
956         * Brushes: Do not create the objects every time that they are requested
957         as in Pens we create and cache them only once when need it. This also 
958         fixes the Equals method between two objects requested to Brushes
959
960 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com> 
961
962         * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
963         * Brush.cs Fixes Dispose to avoid non-disposing some objects
964         * Pen.cs: Fixes Dispose to avoid non-disposing some objects
965         * Region.cs: Dipose always frees if the resource was allocated
966
967 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com> 
968
969         * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
970         from gdiplus have been released
971
972 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
973
974         * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
975         * Color.cs: Fixed java NativeObject property
976         * Image.jvm.cs: Fixed Save method
977
978 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
979
980         * Icon.jvm.cs: match Bitmap internal constructor change
981         * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
982         * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
983
984 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
985
986         * Color.cs: To match MS.NET, throw ArgumentException instead of 
987         ArgumentOutOfRangeException when color is not between 0 and 255.
988         * RectangleConverter.cs: Take culture into account when converting
989         to/from string. Use culture's ListSeparator as separator character.
990
991 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
992
993         * Color.cs: Fixed line endings. Set eol-style to native.
994         * ColorConverter.cs: Fixed line endings. Set eol-style to native.
995         * Size.cs: Set eol-style to native.
996         * SizeF.cs: Use current culture in ToString(), set eol-style to native.
997         * SizeConverter.cs: Take culture into account when converting to/from
998         string. Set eol-style to native.
999         * Point.cs: Fixed line endings. Set eol-style to native.
1000         * PointF.cs: Use current culture in ToString(), set eol-style to native.
1001         * PointConverter.cs: Take culture into account when converting to/from
1002         string. Set eol-style to native.
1003         * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1004         native.
1005         * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1006
1007 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1008
1009         * Graphics.jvm.cs: Fixed InterpolationMode property
1010
1011 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1012
1013         * Graphics.jvm.cs: Fixed DrawImage
1014
1015 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1016
1017         * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1018         appears to be what MS.NET uses.
1019
1020 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1021
1022         * Point.cs: Use invariant culture for converting numbers to string.
1023         * PointF.cs: same
1024         * SizeF.cs: same
1025
1026 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1027
1028         * Color.cs: Fixed ToString for uninitialized color.
1029         * ColorConverter.cs: Support conversion from whitespace-only string to
1030         Color.Empty. Fixed conversion from Color.Empty and known colors to
1031         string.
1032
1033 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1034
1035         * Graphics.jvm.cs: Initial properties implementation
1036
1037 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1038
1039         * Graphics.jvm.cs: DrawImage refactoring
1040         
1041 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1042
1043         * Graphics.jvm.cs: Implemented PageUnit, PageScale. 
1044         Added UpdateInternalTransform
1045         Fixed DrawImage, Transform, ConcatenateTransform
1046
1047 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1048
1049         * Icon.jvm.cs: Internal constructor from bitmap
1050         * Added SystemIcons.jvm.cs with implementation of SystemIcons
1051         
1052 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1053
1054         * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1055         (all methods that use Graphics object)  
1056
1057 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1058
1059         * Graphics.jvm.cs: Refactoring
1060
1061 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1062
1063         * Graphics.jvm.cs: Fixed Clear, Refactoring
1064
1065 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1066
1067         * Graphics.jvm.cs: Fixed FillClosedCurve
1068
1069 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
1070
1071         * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1072         rectangles touch each other.
1073
1074 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1075
1076         * Graphics.jvm.cs: Fixed DrawCurve.
1077
1078 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1079
1080         * StrokeFactory.jvm.cs: use correct stroke
1081
1082 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1083
1084         * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1085         * Pen refactoring.
1086
1087 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1088
1089         * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1090
1091 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1092
1093         * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1094         committed in r48150
1095
1096 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1097
1098         * Graphics.jvm.cs: Refactoring
1099
1100 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1101
1102         * Graphics.jvm.cs: Fixed DrawPolygon
1103
1104 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1105
1106         * Graphics.jvm.cs: Refactoring
1107         * Pen.jvm.cs: setting awt.Stroke as a base
1108
1109 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1110
1111         * Graphics.jvm.cs: Refactoring
1112
1113 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1114
1115         * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1116
1117 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1118
1119         * Rectangle.cs: Intersect fixed
1120         * RectandleF.cs: Intersect and Inflate fixed
1121
1122 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1123
1124         * Point.cs: Produce same ToString result as dotnet
1125
1126 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1127
1128         * Color.cs: GetHashCode is affected by Name, too
1129
1130 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1131
1132         * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1133         
1134 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1135
1136         * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1137
1138 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1139
1140         * SolidBrush.jvm.cs: fix a typo
1141
1142 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1143
1144         * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1145         Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1146         Font.jvm.cs: Added TARGET_JVM implementation
1147
1148 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1149
1150         * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1151
1152 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1153
1154         * BasicShape.jvm.cs: Added TARGET_JVM specific class
1155
1156 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1157
1158         * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1159
1160 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1161
1162         * ColorTranslator.cs: (GH merge) recognise HTML system colors
1163
1164 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1165         
1166         * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1167
1168 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1169
1170         * Color.cs: TARGET_JVM - NativeObject property
1171
1172 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1173
1174         * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1175
1176 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com> 
1177
1178         * RectangleF.cs: Fixes IsEmpty logic
1179
1180 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com> 
1181
1182         * Graphics.cs: implements FromHwndInternal
1183
1184
1185 2005-06-13  Peter Bartok  <pbartok@novell.com>
1186
1187         * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1188           through an intermediary step, which turns it into a 32bit version.
1189           Fixes #75254
1190
1191 2005-06-13  Kornél Pál <kornelpal@hotmail.com>
1192
1193         * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1194           removed some unnecessary code
1195         * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1196           positions beyond the size of stream
1197
1198 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1199
1200         * Font.cs: fix platform checks.
1201
1202 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com> 
1203
1204         * Rectangle.cs:
1205                 - Fixes is empty method IsEmpty logic
1206                 - Fixes Contains method logic
1207                 - Fixes IntersectsWith logic
1208                 
1209         * RectangleF.cs:
1210                 - Fixes is empty method IsEmpty logic
1211                 - Fixes Contains method logic
1212                 - Fixes IntersectsWith logic
1213
1214 2005-05-28  Kornél Pál <kornelpal@hotmail.com>
1215
1216         * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1217           destructors. Some methods renamed. Removed unnecessary variables.
1218
1219 2005-05-25  Jonathan Gilbert  <logic@deltaq.org>
1220
1221         * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1222           and modified the Palette property to call them. This non-
1223           persistent behaviour was discovered by trial and error with
1224           Microsoft's implementation. In fact, the Palette property
1225           does not behave like a property at all! It is the only way an
1226           instance of System.Drawing.Imaging.ColorPalette can be created,
1227           and it reflects a backing store that is only updated when the
1228           property 'set' method is called. Also updated Clone () since
1229           the palette is no longer cached at image load time.
1230         * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1231           Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1232           As such a function is not listed in MSDN nor given in
1233           Microsoft's implementation, I have made it a private function
1234           within the class that uses it.
1235
1236 2005-05-24  Kornél Pál <kornelpal@hotmail.com>
1237
1238         * Graphics.cs: Revised DrawString methods
1239
1240 2005-03-22  Peter Bartok  <pbartok@novell.com>
1241
1242         * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1243           if s was null.
1244
1245 2005-05-20  Kornél Pál <kornelpal@hotmail.com>
1246
1247         * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1248         * gdipFunctions.cs: Modified conditional compilation syntax
1249         * ComIStreamWrapper.cs: Modified conditional compilation syntax
1250         * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1251
1252 2005-05-18  Marek Safar  <marek.safar@seznam.cz>
1253
1254         * Bitmap.cs: Add null check into ctor.
1255
1256 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1257
1258         * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1259         * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1260         * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1261
1262 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1263
1264         * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1265
1266 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1267
1268         * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1269         * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1270         * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32 
1271         * Image.cs: uses new Win32 Stream functions when need it
1272
1273 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1274
1275         * Color.cs: Fix GetSaturation() again and remove
1276         obsolete constants.
1277
1278 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1279
1280         * Color.cs: New, correct implementations for GetHue(),
1281         GetBrightness() and GetSaturation().
1282
1283 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
1284
1285         * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0. 
1286         * Graphics.cs: Use PlatformID.Unix under NET_2_0. 
1287         * Image.cs: Use PlatformID.Unix under NET_2_0. 
1288
1289 2005-05-05  Miguel de Icaza  <miguel@novell.com>
1290
1291         * Bitmap.cs, Icon.cs (constructor): Use
1292         GetManifestResourceStream(Type,string) in the constructor that
1293         takes a type. 
1294
1295 2005-04-27  Lluis Sanchez Gual  <lluis@novell.com>
1296
1297         * PointF.cs: Make serialization compatible with MS.
1298
1299 2005-04-10  Geoff Norton  <gnorton@customerdna.com>
1300
1301         * Graphics.cs:
1302           carbonFunctions.cs:
1303                 Use CGContextSynchronize instead of CGContextFlush.  This saves
1304                 on average 20000 ticks per drawing operation.
1305
1306 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1307
1308         * Color.cs: take into account the name color in == and != operators
1309         * Font.cs: Use Equals instead of == to compare the family name
1310         * FontFamily.cs:
1311            -  Removes generic fontfamilies cache (done at libgdiplus level)
1312            -  Fixes Equals method
1313
1314 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1315
1316         * Pen.cs: remove locks. They are done at gdiplus level
1317         * Brush.cs: remove locks. They are done at gdiplus level
1318         * Image.cs: remove locks. They are done at gdiplus level
1319
1320 2005-03-30  Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1321
1322         * Icon.cs: Finished Icon(Type, String) ctor
1323
1324 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1325
1326         * gdipFunctions.cs: fixes GdipGetImagePalette signature
1327         * Image.cs: Implements Palette property using gdiplus     
1328
1329 2005-03-17  Peter Bartok  <pbartok@novell.com>
1330
1331         * gdipFunctions.cs: 
1332           - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1333             method, now includes a get header delegate
1334           - Added StreamGetHeaderImpl method, to allow libgdiplus to determine 
1335             the image type even on non-seekable streams
1336           - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1337             via StreamGetHeaderImpl
1338         * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1339           the new StreamGetHeader delegate
1340
1341 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1342
1343         * Pen.cs: Fixes dispose method to allow to be called multiple times
1344         * Graphics.cs: matrix are saved and restored at gdiplus level   
1345
1346 2005-02-24  Geoff Norton  <gnorton@customerdna.com>
1347
1348         * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1349         so they dont get garbage collected before use.
1350
1351 2005-02-11  Peter Bartok  <pbartok@novell.com>
1352
1353         * gdipFunctions.cs: Fixed prototype to match previous checkin
1354
1355 2005-02-11  Peter Bartok  <pbartok@novell.com>
1356
1357         * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1358           it really is a pointer)
1359
1360 2005-02-10  Geoff Norton  <gnorton@customerdna.com>
1361
1362         * Icon.cs: Implement GetObjectData ()
1363         * Image.cs: Implement GetObjectData ()
1364
1365 2005-02-09  Geoff Norton  <gnorton@customerdna.com>
1366
1367         * Icon.cs: Implement deserializer
1368         * Bitmap.cs: Implement deserializer
1369
1370 2005-02-06  Ben Maurer  <bmaurer@ximian.com>
1371
1372         * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1373
1374 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1375
1376         * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1377
1378 2005-02-02  Jackson Harper  <jackson@ximian.com>
1379
1380         * Region.cs: The default region constructor creates and infinite
1381         region, not an empty one.
1382
1383 2005-01-27  Peter Bartok  <pbartok@novell.com>
1384
1385         * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1386           of HSV numbers. Previous implementation returned wrong numbers and NaN
1387           on achromatic colors
1388
1389 2005-01-27  Lluis Sanchez Gual  <lluis@novell.com>
1390
1391         * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1392         SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1393         : Implemented support for InstanceDescriptor.
1394
1395 2005-01-26  Peter Bartok  <pbartok@novell.com>
1396
1397         * Icon.cs (ToBitmap): Now sets transparency in according to
1398           icon AND mask
1399
1400 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1401
1402         * gdipFunctions.cs: Fixes GdipGet* function signatures
1403         * FontFamily.cs: Fixes GdipGet* function calls
1404         * Font.cs: Fixes ToString method
1405         
1406 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1407
1408         * Graphics.cs: calls XCloseDisplay on X11 when need it
1409         * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1410
1411 2004-12-27  Zoltan Varga  <vargaz@freemail.hu>
1412
1413         * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1414
1415 2004-12-16  Peter Bartok  <pbartok@novell.com>
1416
1417         * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1418           equivalent to the gdi+ native object
1419
1420         * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1421           equivalent to the gdi+ native object
1422
1423 2004-12-09  Geoff Norton  <gnorton@customerdna.com>
1424
1425         * carbonFunctions.cs: New carbon functions/structures
1426         * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1427
1428 2004-12-08  Geoff Norton  <gnorton@customerdna.com>
1429
1430         * Graphics.cs:  Drop FromHwndWithSize; we can't change the public API
1431         Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1432
1433 2004-12-07  Geoff Norton  <gnorton@customerdna.com>
1434
1435         * Graphics.cs:  Add FromHwndWithSize for the MWF/Quartz backend
1436         * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1437
1438 2004-12-06  Miguel de Icaza  <miguel@ximian.com>
1439
1440         * FontFamily.cs: This one is static.
1441
1442 2004-11-25  Ravindra  <rkumar@novell.com>
1443
1444         * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1445         type from int to Status type.
1446
1447 2004-11-25  Marek Safar  <marek.safar@seznam.cz>
1448
1449         * Image.cs: Add CheckStatus to SaveAdd.
1450
1451 2004-11-22  Ravindra  <rkumar@novell.com>
1452
1453         * Graphics.cs: Fixed null values handling in all overloads of
1454         MeasureString method.
1455
1456 2004-11-18  Ravindra  <rkumar@novell.com>
1457
1458         * gdipFunctions.cs: Removed the .so extension from a DllImport
1459         that hooks to X11.
1460
1461 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1462
1463         * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+ 
1464         termination
1465
1466 2004-11-03  Miguel de Icaza  <miguel@ximian.com>
1467
1468         * TextureBrush.cs (Clone): While cloning, it is not enough to let
1469         GDIPlus clone the underlying data, we must alos clone the managed
1470         information. 
1471
1472         * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1473         errors in the future, set the lock on the object before doing any
1474         other tests, not after.
1475         
1476         (Clone): While cloning, it is not enough to let
1477         GDIPlus clone the underlying data, we must alos clone the managed
1478         information. 
1479
1480         * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1481         errors in the future.
1482
1483         Set the lock in the object before checkign disposed.
1484
1485         * SolidBrush.cs (Clone): While cloning, it is not enough to let
1486         GDIPlus clone the underlying data, we must alos clone the managed
1487         information. 
1488
1489         (Dispose): Set the nativeObject to IntPtr.Zero to catch
1490         errors in the future.
1491
1492 2004-10-28  Ravindra  <rkumar@novell.com>
1493
1494         * gdipFunctions.cs: Added checks for null stream in the
1495         StreamHelper internal class.
1496         * Icon.cs: Removed an ugly hack that used temp files in
1497         ToBitmap () method. We use MemoryStream instead.
1498
1499 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1500
1501         * Font.cs: fixes bug 66533
1502         
1503 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1504         
1505         * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1506         SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1507         lock operations after conversation with Miguel. Do not really
1508         need it.
1509
1510 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1511         
1512         * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1513
1514 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1515         
1516         * Bitmap.cs: Fixes MakeTransparent method
1517
1518 2004-10-13  Ravindra  <rkumar@novell.com>
1519
1520         * Graphics.cs: Moved the initialization of 'use_x_drawable'
1521         member out of private constructor to class initialization.
1522         So that, we get it right even if Graphics is not instantiated.
1523         This fixes the problem we face (otherwise) when we make first
1524         call to Graphics.FromHwnd () method.
1525
1526 2004-10-08  Ravindra  <rkumar@novell.com>
1527
1528         * Image.cs: Suppress finalization in Dispose () method.
1529
1530 2004-10-04  Ravindra  <rkumar@novell.com>
1531
1532         * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1533
1534 2004-09-29  Jackson Harper  <jackson@ximian.com>
1535
1536         * Graphics.cs: Use FromHdcInternal to set the X display
1537         handle. Add a flag to check if we are on unix so we aren't calling
1538         Environment.OSVersion.Platform all the time. Mad props to Peter
1539         Bartok for this.
1540
1541 2004-09-17  Marek Safar <marek.safar@seznam.cz>
1542
1543         * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1544         ToLogFont: Implemented.
1545
1546         * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1547         avoid casts.
1548         GdipCreateFontFromLogfontA: A new extern call.
1549
1550 2004-09-13  Ravindra <rkumar@novell.com>
1551
1552         * Graphics.cs: MSDN says that using image width and height gives
1553         better performance, hence we are using image width and height to
1554         avoid autoscaling in DrawImageUnscaled.
1555
1556 2004-09-10  Ravindra <rkumar@novell.com>
1557
1558         * Graphics.cs: Implemented DrawIcon methods and fixed
1559         DrawImageUnscaled method implementation.
1560
1561 2004-08-21  Jackson Harper  <jackson@ximian.com>
1562
1563         * ImageAnimator.cs: Run animator as a background thread so we do
1564         not hang on exit.
1565
1566 2004-08-21  Ravindra  <rkumar@novell.com>
1567
1568         * gdipFunctions.cs: Modified exception message to include the case
1569         of missing required libraries for different formats.
1570
1571 2004-08-10  Jackson Harper  <jackson@ximian.com>
1572
1573         * SystemColors.cs: Make Highlight colour match colour from windows
1574         classic color scheme.
1575
1576 2004-07-30 Ravindra <rkumar@novell.com>
1577
1578         * Font.cs: Fixed Height property implementation and implemented
1579         GetHeight method and its overloads.
1580
1581 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1582
1583         * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1584         P/Invoke function for Image.
1585         * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1586
1587 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1588
1589         * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and 
1590         GdipGetAllPropertyItems P/Invoke function for Image.
1591         * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1592         * Image.cs: Corrected implementation of PropertyItems property.
1593
1594 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1595
1596         * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList 
1597         P/Invoke function for Image.
1598         * Image.cs: Changed implementation of PropertyIdList property.
1599
1600 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1601
1602         * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1603         * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1604
1605 2004-07-21  Ravindra <rkumar@novell.com>
1606
1607         * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1608         GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1609
1610 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1611         
1612         * Graphics.cs:  fixes MeasureCharacterRanges function. It was completely wrong. 
1613         * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1614         * gdipFunctions.cs: new GDI function calls
1615
1616 2004-07-16  Ravindra <rkumar@novell.com>
1617
1618         * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1619
1620 2004-07-15  Ravindra <rkumar@novell.com>
1621
1622         * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1623
1624 2004-07-13  Ravindra <rkumar@novell.com>
1625
1626         * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1627         This was redundant. It was kept in previous checkin to avoid
1628         build breakage.
1629
1630 2004-07-13  Ravindra <rkumar@novell.com>
1631
1632         * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1633
1634 2004-07-09  Peter Bartok <pbartok@novell.com>
1635         * Graphics.cs: Added support required for new managed SWF library
1636         * gdipFunctions.cs: Added XOpenDisplay definition/import
1637
1638 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1639
1640         * gdipFunctions.cs: fixes bug 61050
1641
1642 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
1643
1644         * ImageAnimator.cs: Rewrote complete implementation.
1645
1646 2004-06-24  Sanjay Gupta <gsanjay@novell.com>
1647
1648         * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1649         If read function was called after seek function call, the 
1650         implementation  was returning data from bytes already peeked and 
1651         not from the new position in stream, which we have seeked.
1652         
1653 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1654
1655         * Graphics.cs: added MeasureString wrappers
1656
1657 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1658
1659         * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux 
1660
1661 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1662
1663         * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1664
1665 2004-06-18  Ravindra <rkumar@novell.com>
1666
1667         * FontConverter.cs: Implemented the missing functions.
1668         * Font.cs: Added some notes.
1669
1670 2004-06-16  Sanjay Gupta <gsanjay@novell.com>
1671         
1672         * gdipFunctions.cs: Modified Function signature for 
1673         GdipSaveImageToDelegate_linux() method for saving tiff images 
1674         to streams.
1675         * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1676         with new signature.
1677
1678 2004-06-15  Sanjay Gupta <gsanjay@novell.com>
1679         
1680         * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1681         and Size, required by TIFFCodec. Modifed Function signature for 
1682         GdipLoadImageFromDelegate_linux() method.
1683         * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1684         with new signature.
1685
1686 2004-06-11  Ravindra <rkumar@novell.com>
1687
1688         * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1689         from out int to out IntPtr.
1690         * SolidBrush.cs: Same.
1691
1692 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
1693
1694         * Image.cs: API signature fixes, meaning DisposeResources is now
1695         private and marked InitFromStream internal
1696
1697 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
1698
1699         * FontFamily.cs: simplifies object destruction and fixes
1700
1701 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
1702
1703         * FontFamily.cs: added destructor 
1704         * Graphics.cs: added destructor to stop leaking, remove debugging code
1705
1706
1707 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
1708
1709         * gdipFunctions.cs: added GdipSaveAddImage
1710         * Image.cs: added SaveAdd methods
1711
1712 2004-06-02  Peter Bartok <pbartok@novell.com>
1713         * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1714           (This fixes bug #59479)
1715
1716 2004-06-01  Gert Driesen <drieseng@users.sourceforge.net>
1717
1718         * Font.cs: Added missing Browsable attribute on SizeInPoints.
1719         * Region.cs: Removed extra ComVisible attribute from Clone().
1720
1721 2004-06-01  Ravindra <rkumar@novell.com>
1722
1723         * Pen.cs: Added a note on Dispose method.
1724         * Brush.cs: Fixed Dispose method.
1725         * SolidBrush.cs: Fixed Dispose method.
1726
1727 2004-05-28  Ravindra <rkumar@novell.com>
1728
1729         * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1730         rectangles.
1731         * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1732         rectangles implementation (This is basically done to avoid lots
1733         of brush and pen setup happening in libgdiplus.)
1734
1735 2004-05-27  Ravindra <rkumar@novell.com>
1736
1737         * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1738
1739 2004-05-26  Sanjay Gupta <gsanjay@novell.com>
1740
1741         * ImageFormatConverter.cs: Fixed issues discovered from nunit 
1742         test cases.
1743
1744 2004-05-26  Ravindra <rkumar@novell.com>
1745
1746         * Color.cs: Corrected Color.Green property.
1747
1748 2004-05-24  Jordi Mas i Hernandez <jordi@ximian.com>
1749         * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1750
1751 2004-05-20  Sanjay Gupta <gsanjay@novell.com>
1752
1753         * Icon.cs: Fixed issue with size property.
1754
1755 2004-05-18  Ravindra <rkumar@novell.com>
1756
1757         * Pen.cs: Added value checks in DashPattern and CompoundArray
1758         properties.
1759
1760 2004-05-16  Gert Driesen <drieseng@users.sourceforge.net>
1761
1762         * Graphics.cs: fixed warning
1763         * ImageAnimator.cs: fixed warning
1764         * FontConverter.cs: fixed public API
1765
1766 2004-05-14  Vladimir Vukicevic  <vladimir@pobox.com>
1767
1768         * gdipFunctions.cs: Fixed prototype for
1769         GdipGetEncoderParameterList
1770         
1771         * Image.cs: Reworked Save functions to handle EncoderParameters.
1772         Implemented GetEncoderParameterList
1773         Also removed unused setGDIPalette internal method.
1774
1775 2004-05-14  Peter Bartok <pbartok@novell.com>
1776         * StringFormat.cs: Added CharacterRange handling
1777         * Graphics.cs: Implemented MeasureCharacterRanges method
1778
1779 2004-05-14  Peter Bartok <pbartok@novell.com>
1780         * Graphics.cs: Added error check
1781
1782 2004-05-14  Duncan Mak  <duncan@ximian.com>
1783         * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1784         (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1785         (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1786
1787 2004-05-14  Sanjay Gupta <gsanjay@novell.com>
1788         * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1789
1790 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
1791         * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method. 
1792
1793 2004-05-13  Peter Bartok <pbartok@novell.com>
1794         * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1795         resize the image.
1796
1797 2004-05-12  Peter Bartok <pbartok@novell.com>
1798         * Image.cs: Implemented GetThumbnailImage
1799
1800 2004-05-13  Sanjay Gupta <gsanjay@novell.com>
1801         * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and 
1802         FromXDrawable(IntPtr, IntPtr) internal.
1803                         
1804 2004-05-12  Jordi Mas i Hernandez <jordi@ximian.com>
1805         * Color.cs: work for API compatibilty: private date, todos
1806         * Font.cs: work for API compatibilty: private date, todos
1807         * FontFamily.cs: work for API compatibilty: private date, todos
1808         * Graphics.cs: work for API compatibilty: private date, todos
1809         * Icon.cs: work for API compatibilty: private date, todos 
1810         * Image.cs: work for API compatibilty: private date, todos
1811         * ImageAnimator.cs: work for API compatibilty: private date, todos
1812         * Point.cs: work for API compatibilty: private date, todos
1813         * PointF.cs: work for API compatibilty: private date, todos
1814         * Rectangle.cs: work for API compatibilty: private date, todos
1815         * RectangleF.cs: work for API compatibilty: private date, todos
1816         * Region.cs: work for API compatibilty: private date, todos
1817         * Size.cs: work for API compatibilty: private date, todos
1818         * SizeF.cs: work for API compatibilty: private date, todos
1819         * SolidBrush.cs: work for API compatibilty: private date, todos
1820         * StringFormat.cs: work for API compatibilty: private date, todos
1821         * SystemPens.cs: work for API compatibilty: private date, todos
1822         * TextureBrush.cs: work for API compatibilty: private date, todos
1823         * gdipStructs.cs: work for API compatibilty: private date, todos
1824
1825 2004-05-12  Ravindra <rkumar@novell.com>
1826
1827         * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1828         ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1829         Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1830         Added missing attributes and some coding style fixes.
1831         * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and 
1832         some fixes.
1833
1834 2004-05-11  Sanjay Gupta <gsanjay@novell.com>
1835
1836         * ImageAnimator.cs: Implemented first version. 
1837
1838 2004-05-11  Ravindra  <rkumar@novell.com>
1839
1840         * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1841         for the same.
1842
1843 2004-05-10  Ravindra  <rkumar@novell.com>
1844
1845         * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1846         for the same. Added few related P/Invokes for Pen also.
1847
1848 2004-05-06  Sanjay Gupta <gsanjay@novell.com>
1849
1850         * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1851
1852 2004-05-06  Ravindra <rkumar@novell.com>
1853
1854         * RectangleConverter.cs: Implemented GetProperties () method.
1855         * SizeConverter.cs: Implemented GetProperties () method.
1856         * PointConverter.cs: Implemented GetProperties () method.
1857         * FontConverter.cs: Implemented some of the methods.
1858
1859 2004-05-06  Ravindra <rkumar@novell.com>
1860
1861         * Color.cs: Fixed Name property.
1862         * ColorTranslator.cs: Fixed the existing methods and implemented
1863         the missing methods.
1864         * ColorConverter.cs: Fixed the existing methods and implemented 
1865         the missing methods. Also, fixed coding style.
1866
1867 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
1868         * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1869
1870 2004-05-05  Jordi Mas i Hernandez <jordi@ximian.com>
1871         * Image.cs: raw_format should be handled by GDI+
1872         * Bitmap.cs: raw_format should be handled by GDI+
1873
1874 2004-05-04  Ravindra <rkumar@novell.com>
1875
1876         * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1877         and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1878         properties and SetLineCap method. In constructors use IntPtr instead
1879         of int.
1880         * SolidBrush.cs: Modified exception message.
1881         * TextureBrush.cs: Fixed Transform property.
1882         * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1883         LinearGradientBrush.cs.
1884
1885 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
1886
1887         * Image.cs: Implemented FrameDimensionsList property.
1888
1889 2004-04-30  Ravindra <rkumar@novell.com>
1890
1891         * gdipFunctions.cs: Added few more P/Invoke calls for
1892         lineargradient brush and added one case statement in 
1893         CheckStatus method.
1894
1895 2004-04-30  Jordi Mas i Hernandez <jordi@ximian.com>
1896
1897         * Image.cs: takes into account MemoryBmp format when saving
1898
1899 2004-04-30  Ravindra <rkumar@novell.com>
1900
1901         * StringFormat.cs: Added checks for status.
1902
1903 2004-04-30  Sanjay Gupta <gsanjay@novell.com>
1904
1905         * Image.cs: Removed calls which passes byte[] for Guid parameter.
1906         * gdipFunctions.cs: Removed unwanted unix specific function calls.
1907
1908 2004-04-30  Ravindra <rkumar@novell.com>
1909
1910         * Graphics.cs: Added checks for status.
1911         * Image.cs: Added a check for status.
1912         * FontFamily.cs: Added checks for status.
1913
1914 2004-04-29  Peter Bartok <pbartok@novell.com>
1915
1916         * Brushes.cs: Fixed bug #52695. No longer creates a new
1917         brush for every request and behaves Microsoft compatible
1918
1919 2004-04-29  Jordi Mas i Hernandez <jordi@ximian.com>
1920
1921         * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1922         its ClsID instead of the formatID (as GDI+ expects)
1923
1924 2004-04-29  Ravindra <rkumar@novell.com>
1925
1926         * Font.cs: Added checks for status.
1927         * Bitmap.cs: Added checks for status.
1928         * Pen.cs: Added checks for status.
1929
1930 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
1931
1932         * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1933         Converted to unix format from dos format.
1934
1935 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
1936
1937         * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1938
1939 2004-04-28  Jordi Mas i Hernandez <jordi@ximian.com>
1940
1941         * gdipStructs.cs: added GdipImageCodecInfo struct
1942
1943 2004-04-28  Sanjay Gupta  <gsanjay@novell.com>
1944
1945         * ImageFormatConverter.cs: Corrected ConvertFrom method.
1946
1947 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
1948
1949         * ImageConverter.cs: Added exception message.
1950         * IconConverter.cs: Added exception message.
1951         * ImageFormatConverter.cs: Implemented first version.
1952
1953 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
1954
1955         * ImageConverter.cs: Implemented first version.
1956
1957 2004-04-27  Sanjay Gupta  <gsanjay@novell.com>
1958
1959         * IconConverter.cs: Implemented first version.
1960
1961 2004-04-26  Sanjay Gupta  <gsanjay@novell.com>
1962
1963         * Image.cs: Corrected implementation of Property RawFormat.
1964         * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1965
1966 2004-04-25  Sanjay Gupta  <gsanjay@novell.com>
1967
1968         * Bitmap.cs: Resolved a compile time error.
1969         * Image.cs: Changed the implementation of few methods to progress
1970           with ImageAnimator class.
1971         * gdipFunctions.cs: Added few linux only function calls.
1972         * Icon.cs: Removed unused variable from code.
1973
1974 2004-04-25  Vladimir Vukicevic  <vladimir@pobox.com>
1975
1976         * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1977
1978 2004-04-23  Vladimir Vukicevic  <vladimir@pobox.com>
1979
1980         * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1981         serialization for Bitmaps.  (Bugzilla #52568)
1982
1983 2004-04-23  Ravindra <rkumar@novell.com>
1984
1985         * RectangleConverter.cs: Fixed ConvertTo () method.
1986         * SizeConverter.cs: Fixed ConvertTo () method.
1987         * PointConverter.cs: Fixed ConvertTo () method.
1988
1989 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1990         * ImageAnimator.cs: Implemented CanAnimate() method.
1991
1992 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1993         * Image.cs: added RotateFlip and RemovePropertyItem calls
1994         
1995 2004-04-22  Ravindra <rkumar@novell.com>
1996
1997         * RectangleConverter.cs: Implemented. Also changed file format
1998         dos2unix.
1999         * Rectangle.cs: Fixed ToString method.
2000         * RectangleF.cs: Fixed ToString method.
2001
2002 2004-04-22  Ravindra <rkumar@novell.com>
2003
2004         * SizeConverter.cs: Implemented some of the functions.
2005         * PointConveter.cs: Implemented.
2006         * gdipFunctions.cs: Corrected one typo.
2007         * Brushes.cs: Added a comment.
2008
2009 2004-04-22  Vladimir Vukicevic  <vladimir@pobox.com>
2010
2011         * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2012         returning portions of the peek buffer back.  Fixes #57379.
2013
2014 2004-04-21 Peter Bartok <pbartok@novell.com>
2015    * Font.cs: Implemented Font.FromHfont method
2016    * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2017    * gdipFunctions.cs: Added imports for functions required to support
2018    Font.FromHfont method
2019
2020 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2021         * RectangleConverter.cs: stubbed out
2022         * Font.cs : added missing members
2023
2024 2004-04-19  Sanjay Gupta <gsanjay@novell.com>
2025         * Icon.cs: Fixed problem in extracting bitmap from Icon.
2026
2027 2004-04-16  Ravindra <rkumar@novell.com>
2028
2029         * Pen.cs: GC should be allowed to collect any pen including
2030         system pens.
2031         * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2032         including system brushes.
2033         * Brushes.cs: Coding style.
2034         * Pens.cs: Objects created by Pens are not modifiable on
2035         MS.NET, so we are now. Also, coding style fixes.
2036         * SystemPens.cs: Removed static constructor and changed file
2037         format dos2unix.
2038         * SystemBrushes.cs: Some cosmetic changes.
2039
2040 2004-04-15  Sanjay Gupta <gsanjay@novell.com>
2041         * Icon.cs: Implemented more missing bits and fixed the problem
2042                 of icon not getting saved in proper format
2043
2044 2004-04-14  Sanjay Gupta <gsanjay@novell.com>
2045         * Icon.cs: Implemented more missing bits
2046
2047 2004-04-13  Sanjay Gupta <gsanjay@novell.com>
2048         * Icon.cs: Implemented few more missing bits
2049
2050 2004-04-12  Sanjay Gupta <gsanjay@novell.com>
2051         * Icon.cs: Implemented first version
2052
2053 2004-04-11  Peter Bartok <pbartok@novell.com>
2054    * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2055    the code and using our own private gdiplus function when on Unix and using Win32
2056    functions when running on Windows
2057    * gdipStructs.cs: Added LOGFONTA structure
2058    * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2059
2060 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
2061
2062         * Image.cs: Save should use encoder.FormatID, not Clsid
2063
2064 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
2065         * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2066         * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2067
2068 2004-04-06  Duncan Mak  <duncan@ximian.com>
2069
2070         * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2071
2072 2004-04-06  Jordi Mas i Hernandez <jordi@ximian.com>
2073         * Region.cs: fixes GetRegionScans
2074         * gdipFunctions.cs: fixes GetRegionScans
2075
2076 2004-04-06  Vladimir Vukicevic  <vladimir@pobox.com>
2077
2078         * gdipFunctions.cs: Added stream delegate helpers for
2079         stream loading/saving on linux
2080
2081         * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2082         loading/saving image data.
2083
2084 2004-04-05  Jordi Mas i Hernandez <jordi@ximian.com>
2085         * Region.cs: implemented new methods
2086         * Graphics.cs: implemented new methods
2087
2088 2004-04-02  Jordi Mas i Hernandez <jordi@ximian.com>
2089         * Region.cs: implemented
2090
2091 2004-04-01  Duncan Mak  <duncan@ximian.com>
2092
2093         * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2094
2095         * gdipFunctions.cs (GdipAddPathCurveI):
2096         (GdipAddPathCurve2, GdipAddPathCurve2I):
2097         (GdipAddPathCurve3, GdipAddPathCurve3I):
2098         (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2099         (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2100         wrappers from GDI+.
2101
2102 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>    
2103         * Image.cs: implemented a few GDI+ wrapper calls
2104
2105 2004-03-30  Jordi Mas i Hernandez <jordi@ximian.com>
2106         * Bitmap.cs: remove redundant data already present at Image.cs
2107         * Image.cs: use GDI+ functions to get image details
2108         * StringFormat.cs: missing constructor and property
2109
2110 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
2111         * FontFamily.cs: added missing members and style clean
2112         * Graphics.cs: fixed signature of DrawArc and DrawPie
2113         * Image.cs: added missing members, fixes
2114         * StringFormat.cs: missing constructor and property
2115
2116 2004-03-24  Jordi Mas i Hernandez <jordi@ximian.com>
2117         * Graphics.cs: Added missing DrawImage GDI+ calls
2118         * gdipFunctions.cs: Added missing DrawImage GDI+ calls  
2119
2120 2004-03-23  Ravindra <rkumar@novell.com>
2121         * gdipFunctions.cs: Added few more P/Invoke calls for
2122         LinearGradientBrush.
2123
2124 2004-03-22  Ravindra <rkumar@novell.com>
2125         * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2126         and did few coding style fixes.
2127
2128 2004-03-18  Ravindra <rkumar@novell.com>
2129         * Brush.cs: Fixed Dispose method.
2130         * SolidBrush.cs: Fixed clone method.
2131         * TextureBrush.cs: Fixed clone method.
2132         * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2133
2134 2004-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2135
2136         * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2137
2138 2004-03-10  Ravindra  <rkumar@novell.com>
2139         * Pen.cs: Implemented PenType property.
2140         * Brush.cs: Coding style.
2141
2142 2004-03-06  Ravindra  <rkumar@novell.com>
2143         * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2144         for PathGradientBrush.
2145
2146 2004-03-06  Ravindra  <rkumar@novell.com>
2147         * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2148         PathGradientBrush.
2149
2150 2004-03-04  Duncan Mak  <duncan@ximian.com>
2151
2152         * Region.cs: Indentation.
2153
2154         * RectangleF.cs: Changed the internal structure from a PointF,
2155         SizeF to floats in order to match the layout from the C API.
2156
2157 2004-03-04  Jordi Mas i Hernandez <jordi@ximian.com>
2158         * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2159
2160 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
2161         * gdipFunctions.cs: Added functions for ImageAttributes
2162
2163 2004-03-03  Sanjay Gupta <gsanjay@novell.com>
2164         * Icon.cs: Missing function stubs added
2165         * Icon.cs: Missing function stubs added
2166         * IconConverter.cs: Missing function stubs added
2167         * ImageAnimator.cs: Missing function stubs added
2168         * ImageConverter.cs: Missing function stubs added
2169         * ImageFormatConverter.cs: Missing function stubs added
2170
2171 2004-03-02  Jordi Mas i Hernandez <jordi@ximian.com>
2172         * Font.cs: Allow multiple styles
2173         
2174 2004-02-25  Jordi Mas i Hernandez <jordi@ximian.com>
2175         * StringFormat.cs: Clone method
2176         
2177 2004-02-24  Jordi Mas i Hernandez <jordi@ximian.com>
2178         * font.cs: fixes, Clone, and ToString   
2179         
2180 2004-02-21  Jordi Mas i Hernandez <jordi@ximian.com>
2181         * gdipFunctions.cs: MeasureString 
2182         * Graphics.cs : MeasureString
2183         
2184 2004-02-17  Jordi Mas i Hernandez <jordi@ximian.com>
2185         * Font.cs: destructor and unit conversion 
2186         * Graphics.cs : system dpi support
2187
2188 2004-02-13  Ravindra <rkumar@novell.com>
2189         * Pen.cs: Fixed some bugs.
2190         * TextureBrush.cs: Fixed some bugs.
2191
2192 2004-02-13  Sanjay Gupta <gsanjay@novell.com>
2193         * gdipFunctions.cs: Added ImageCodecInfo functions
2194         * Image.cs: Added few methods 
2195
2196 2004-02-13  Jordi Mas i Hernandez <jordi@ximian.com>
2197         * FontFamily.cs: remove hardcoded font names, a few bug fixes
2198         
2199 2004-02-12  Sanjay Gupta <gsanjay@novell.com>
2200         * gdipFunctions.cs: Added Image class functions
2201         * Image.cs: Added few methods 
2202
2203 2004-02-10  Jordi Mas i Hernandez <jordi@ximian.com>
2204         * graphics.cs: fixes parameters for DrawStrings functions
2205
2206 2004-02-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2207
2208         * SRDescriptionAttribute.cs: Added and implemented
2209         * ToolboxBitmapAttribute.cs: Implemented a few members
2210         * SystemIcons.cs: Stubbed
2211         * StringFormat.cs: Implemented method
2212         * Region.cs: Added Todo, fixed attribute
2213         * Size.cs: Added attribute
2214         * SizeF.cs: Added attribute
2215         * RectangleF.cs: Added attributes
2216         * Rectangle.cs: Added attributes
2217         * PointF.cs: Added attribute
2218         * Point.cs: Added attribute
2219
2220 2004-02-06  Ravindra  <rkumar@novell.com>
2221
2222         * Brush.cs: Renamed GetException method to CheckStatus
2223         and moved it to gdipFunctions.cs.
2224         * gdipFunctions.cs: Added CheckStatus method.
2225         * SolidBrush.cs: Using CheckStatus method.
2226         * TextureBrush.cs: Using CheckStatus method.
2227         * gdipEnums.cs: Added a missing value.
2228
2229 2004-02-05  Ravindra  <rkumar@novell.com>
2230
2231         * Brush.cs: Added a missing namespace.
2232
2233 2004-02-05  Ravindra  <rkumar@novell.com>
2234
2235         * gdipFunctions.cs: Added methods for HatchBrush and 
2236         SolidBrush.
2237         * SolidBrush.cs: Added checks for status.
2238         * Brush.cs: Added support for HatchBrush and TextureBrush 
2239         types in internal CreateBrush() method.
2240
2241 2004-02-03  Jordi Mas  <jordi@ximian.com>
2242         * Font.cs: Setup font properties
2243
2244 2004-02-03  Ravindra  <rkumar@novell.com>
2245
2246         * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2247         method from TextureBrush.cs to Brush.cs.
2248         * Brush.cs: Made GetException (Status) method internal.
2249
2250 2004-02-03  Sanjay Gupta <gsanjay@novell.com>
2251         
2252         * gdipFunctions.cs: Added methods for Image class.
2253
2254 2004-01-30  Ravindra  <rkumar@novell.com>
2255
2256         * TextureBrush.cs: Added more methods to complete it.
2257         * gdipFunctions.cs: Added methods for TextureBrush class.
2258
2259 2004-01-30  Ravindra  <rkumar@novell.com>
2260
2261         * gdipFunctions.cs: Added methods for TextureBrush class.
2262
2263 2004-01-30  Ravindra  <rkumar@novell.com>
2264
2265         * Pen.cs: Modified to handle TextureBrush also.
2266         * Bitmap.cs: Added one internal constructor.
2267         * TextureBrush.cs: Implemented.
2268
2269 2004-01-29  Duncan Mak  <duncan@ximian.com>
2270
2271         * gdipFunctions.cs
2272         * Graphics.cs: Indentation fixes, removed long dangling lines and
2273         extra spaces. 
2274
2275         * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2276         notation.
2277
2278 2004-01-29  Sanjay Gupta <gsanjay@novell.com>
2279         
2280         * FontFamily.cs: Implemented few methods and a constructor
2281
2282 2004-01-28  Sanjay Gupta <gsanjay@novell.com>
2283
2284         * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2285         * FontFamily.cs: Implemented missing functionalities.
2286
2287 2004-01-24  Duncan Mak  <duncan@ximian.com>
2288
2289         * Graphics.cs (DrawPath): Implemented.
2290
2291 2004-01-23  Ravindra  <rkumar@novell.com>
2292
2293         * Point.cs: ToString modified.
2294         * PointF.cs: ToString modified.
2295         * Size.cs: ToString modified.
2296         * SizeF.cs: ToString modified. ToPoint and ToSize methods
2297         are added.
2298
2299 2004-01-21  Jordi Mas i Hernàndez
2300         * Bitmap.cs: Several new methods added.
2301                 
2302 2004-01-21  Duncan Mak  <duncan@ximian.com>
2303
2304         * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2305         OutAttribute to the array argument. This fixes the PathPoints
2306         property in System.Drawing.Drawing2D.GraphicsPath.
2307
2308 2004-01-20  Ravindra  <rkumar@novell.com>
2309
2310         * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2311         this property was hanging and getting was throwing a NullRef
2312         Exception. Earlier we were passing Matrix object to and fro
2313         which was causing the problem. Now, we are using IntPtr.
2314         Thanks to Duncan for helping me.
2315         Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2316         together. If color is set, a SolidBrush automatically gets
2317         set with the same color, Pen loses the old brush object.
2318         If a SolidBrush is set, Pen.Color gets the value same as that
2319         of brush color losing the old value. Pen shows this behavior
2320         now.
2321         * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2322         and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2323
2324 2004-01-19  Duncan Mak  <duncan@ximian.com>
2325
2326         * gdipFunctions.cs: Import functions for GraphicsPath.
2327
2328 2004-01-14  Ravindra <rkumar@novell.com>
2329                                                                                 
2330         * SolidBrush.cs: Made SolidBrush to initialize its color
2331         from IntPtr.
2332                                                                                 
2333         * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2334
2335 2004-01-11  Duncan Mak  <duncan@ximian.com>
2336
2337         * Bitmap.cs (LockBits): 
2338         * Graphics.cs (DrawString): Removed reference to GpRectF.
2339
2340 2004-01-09  Duncan Mak  <duncan@ximian.com>
2341
2342         * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2343         Removed. Didn't know that structs are laid out sequentially by
2344         default. We don't need these anymore.
2345
2346 2004-01-12 Ben Maurer  <bmaurer@users.sourceforge.net>
2347
2348         * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2349
2350 2004-01-11  Daniel Morgan <danielmorgan@verizon.net>
2351
2352         * Graphics.cs: fix compile error on Windows builds for out 
2353         parameter state in call to GdipSaveGraphics
2354
2355 2004-01-10  Ravindra  <rkumar@novell.com>
2356
2357         * All Enums: Made serializable.
2358
2359         * Image.cs: Corrected signature of Dispose(bool) method.
2360
2361         * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs: 
2362         Corrected coding style mistakes of my previous commit.
2363
2364         * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2365
2366         * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2367
2368         * StringFormat.cs: Inherits MarshalByRefObject.
2369
2370         * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2371
2372 2004-01-08  Ravindra  <rkumar@novell.com>
2373
2374         * Pen.cs: Added isModifiable (bool) variable. It is required to
2375         make Pens created by SystemPens.cs unmodifiable. All property
2376         setters are modified for this.
2377
2378         * SolidBrush.cs: Added isModifiable variable (bool). It is
2379         required to make Brushes created by SystemBrushes.cs unmodifiable.
2380         All property setters are modified for this.
2381
2382         * SystemBrushes.cs: Modified all the properties as per the .NET
2383         specs, so that Brushes are not created every time. Also, missing
2384         properties are added.
2385
2386         * SystemPens.cs: Modified all the properties as per the .NET
2387         specs, so that Brushes are not created every time. Also, missing
2388         properties are added.
2389
2390 2003-12-12  Miguel de Icaza  <miguel@ximian.com>
2391
2392         * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2393         it serializable
2394
2395 2004-01-06  Duncan Mak  <duncan@ximian.com>
2396
2397         * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2398
2399 2003-12-21  Duncan Mak  <duncan@ximian.com>
2400
2401         * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2402         up to the GDI+ implementation.
2403         (RotateTransform): Uncommented.
2404
2405         * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2406         libgdiplus.so.dll.
2407
2408 2003-12-13  Todd Berman  <tberman@sevenl.net>
2409
2410         * Font.cs: Implementing a couple things for porting purposes
2411         * SystemBrushes.cs: ^
2412         * StringFormat.cs: ^^
2413
2414 2003-11-28  Duncan Mak  <duncan@ximian.com>
2415
2416         * Pen.cs (CompoundArray): Hide this for now.
2417
2418 2003-11-28  Duncan Mak  <duncan@ximian.com>     
2419
2420         * Brush.cs (CreateBrush): new internal factory method for creating
2421         specific brushes based on the internal (GDI+ C API) BrushType
2422         enum.
2423         (Brush (IntPtr)): new internal constructor.
2424
2425         * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2426         now.
2427         (Pen (IntPtr)): new internal constructor.
2428         (Pen (Brush, float)): Use GdipCreateBrush2.
2429         (Clone): Implemented using GdipClonePen.
2430         (Alignment, Brush, Color, Width): Use GDI+ implementations
2431         instead.
2432         (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2433         Implemented these properties.
2434         (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2435         (MultiplyTransform, ResetTransform, RotateTransform):
2436         (ScaleTransform, TranslateTransform): Implemented these methods.
2437
2438         * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2439
2440         * gdipEnums.cs (BrushType): Added new GDI+ enum.
2441
2442         * gdipFunctions.cs: Imported new Brush and Pen functions.
2443
2444 2003-11-22  Duncan Mak  <duncan@ximian.com>
2445
2446         * gdipFunctions.cs
2447         (GdipResetWorldTransform, GdipSetWorldTransform):
2448         (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2449
2450         * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2451         (transform): Removed this field. Always use the
2452         matrix associated in the GpGraphics ptr.
2453         (DrawBeziers): Implemented.
2454         (DrawLine): Don't need to manually invoke the transform now.
2455         (MultiplyTransform, ResetTransform): 
2456         (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2457         (Transform): Instead of storing a Matrix in managed code, use
2458         equivalent GDI+ functions.
2459
2460 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2461
2462         * SizeConverter.cs: fixed class signature and implemented some methods.
2463
2464 2003-11-17  Duncan Mak  <duncan@ximian.com>
2465
2466         * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2467         
2468         * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2469
2470 2003-11-17  Duncan Mak  <duncan@ximian.com>
2471         
2472         * Bitmap.cs (LockBits):
2473         * Graphics.cs (DrawString): Use GpRectF.
2474
2475         * gdipFunctions.cs: Updated method signatures.  
2476
2477         * Graphics.cs (MultiplyTransform): Implemented using
2478         GdipMultiplyWorldTransform from GDI+.
2479
2480         * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2481         GpRect, to be more consistent with the C naming.
2482
2483 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
2484
2485         * Graphics.cs: Implement the other DrawString overloads .
2486
2487 2003-11-16  Miguel de Icaza  <miguel@ximian.com>
2488
2489         * gdipStructs.cs (GdipRectF): Added utility constructor
2490
2491 2003-11-15  Duncan Mak  <duncan@ximian.com>
2492
2493         * gdipFunctions.cs: Imported matrix functions.
2494
2495 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2496
2497         * Bitmap.cs: Added Attributes
2498         * ColorTranslator.cs: Added private constructor
2499         * Font.cs: Added Attributes
2500         * FontFamily.cs: sealed
2501         * Icon.cs: Added Attributes
2502         * IconConverter.cs: Fixed signature
2503         * Image.cs: Added attributes
2504         * ImageAnimator.cs: 
2505         * ImageConverter.cs:
2506         * ImageFormatConverter.cs:
2507         * SolidBrush.cs:
2508         * StringFormat.cs:
2509         * SystemBrushes.cs:
2510         * SystemColors.cs:
2511         * SystemIcons.cs:
2512         * SystemPens.cs:
2513         * TextureBrush.cs: Fixed signature
2514         * Color.cs: Added attributes
2515         * Point.cs:
2516         * PointF.cs:
2517         * Rectangle.cs:
2518         * Size.cs:
2519         * SizeF.cs: Added attributes
2520         * ContentAlignment.cs: Added attribute
2521
2522 2003-11-13  Duncan Mak  <duncan@ximian.com>
2523
2524         * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2525
2526         * gdipFunctions.cs
2527         (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2528         (GdipSetPenLineJoin, GdipGetPenLineJoin): 
2529         (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2530
2531 2003-11-12  Alexandre Pigolkine <pigolkine@gmx.de>
2532         * Bitmap.cs
2533         * gdipFunctions.cs              copy image in Bitmap constructor
2534         
2535 2003-11-06  Duncan Mak  <duncan@ximian.com>
2536         * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2537         angle parameters for the integer case.
2538         (DrawBezier): Hook it up with GdipDrawBezier.
2539         (DrawEllipse): Fix Width, Height ordering.
2540
2541 2003-11-05  Duncan Mak  <duncan@ximian.com>
2542
2543         * Graphics.cs (DrawPie): 
2544         * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2545         in graphics.c.
2546         
2547 2003-10-28  Duncan Mak  <duncan@ximian.com>
2548
2549         * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2550         (FillEllipse, FillPolygon): implemented.
2551         (RenderingOrigin): implemented.
2552
2553         * gdipFunctions.cs: Added new GDI+ equivalents.
2554
2555 2003-10-25  Alexandre Pigolkine <pigolkine@gmx.de>
2556         * Bitmap.cs
2557         * Image.cs                      small fixes
2558         
2559 2003-10-25  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>
2560
2561         * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2562
2563 2003-10-24  Miguel de Icaza  <miguel@ximian.com>
2564
2565         * SystemBrushes.cs: Some more brushe3s.
2566
2567         * SystemPens.cs: More pens.
2568
2569         * Pen.cs: Implement IDisposable, ICloneable.
2570
2571         * Region.cs: Add some more stubs here.
2572
2573         * StringFormat.cs: Add some more code here.
2574
2575 2003-10-23  Miguel de Icaza  <miguel@ximian.com>
2576
2577         * Image.cs: Kill the InternalImageInfo, everything is now done in
2578         terms of Image and BitmapData.
2579
2580         * Rectangle.cs: Make this one also sequential, change from using
2581         Point + Size to use x, y, width, height;  So we can use GdiPlus.
2582
2583         * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2584         BitmapData class argument, and instead use the [In,Out]
2585         attributes, which will do struct marshalling on the fields.   Now
2586         we can use C#'s BitmapData directly to talk to Gdiplus.
2587
2588         * gdipStructs.cs: Every internal structure that has to talk to
2589         Gdi+ is properly prefixed, to minimize the confussion.
2590
2591         * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2592         Compute the stride here where we have the BPP information,
2593         allocate a buffer of the proper size, and pass this to
2594         GdipCreateBitmapFromScan0 
2595
2596         * Image.cs: Implement Dispose pattern.
2597
2598 2003-10-14  Alexandre Pigolkine <pigolkine@gmx.de>
2599         * Graphics.cs
2600         * gdipFunctioncs.cs             
2601         * gdipStructs.cs                DrawString function added
2602
2603 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
2604         * gdipEnums.cs 
2605         * gdipFunctions.cs 
2606         * gdipStructs.cs                added 
2607                                                 
2608
2609 2003-10-12  Alexandre Pigolkine <pigolkine@gmx.de>
2610         * Bitmap.cs
2611         * Brush.cs
2612         * Font.cs
2613         * FontFamily.cs
2614         * Graphics.cs
2615         * Image.cs
2616         * Pen.cs
2617         * SolidBrush.cs
2618                                                 implementation changed to gdi+
2619
2620 2003-09-08  Duncan Mak  <duncan@ximian.com>
2621
2622         * Factories.cs (DefaultImplementationNamespace): Change it from
2623         "XrImpl" to "Cairo".
2624
2625 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2626
2627         * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2628         bug #47727.
2629
2630 2003-08-08  Duncan Mak  <duncan@ximian.com>
2631
2632         * Graphics.cs (DrawBezier): Fixed.
2633
2634 2003-08-03  Alexandre Pigolkine <pigolkine@gmx.de>
2635         * Graphics.cs  delegate Dispose to implementation
2636
2637 2003-08-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2638
2639         * FontConverter.cs: stub it out so that system.web compiles.
2640
2641 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2642         * Image.cs      InternalImageInfo class improved
2643
2644 2003-07-23  Miguel de Icaza  <miguel@ximian.com>
2645
2646         * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2647         is set, default to Win32Impl 
2648
2649 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2650         * Image.cs      implementation added
2651         
2652 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2653
2654         * Icon.cs: Stubed out (fix for System.Drawing.Design)
2655
2656 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2657
2658         * StringFormat.cs: Changes to become CLS-compliant
2659
2660 2003-07-14  Miguel de Icaza  <miguel@ximian.com>
2661
2662         * Factories.cs: Remove debugging message.
2663
2664 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2665         * Color.cs      code generation program modified
2666
2667 2003-06-29 Alexandre Pigolkine
2668         * Graphics.cs   image drawing
2669
2670 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2671         * Color.cs                      
2672         * SystemColors.cs       
2673                 supply KnowColor enum value to save Enum.Parse at runtime
2674
2675 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2676         * Graphics.cs           coordinate transformations
2677         * Image.cs                      small fix
2678
2679 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2680         * Factories.cs
2681         * FontFamily.cs         more implementation
2682
2683 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2684         * Font.cs
2685         * FontFamily.cs         more implementation
2686
2687 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2688         * Graphics.cs           few more calls to implementation
2689
2690 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2691     * Bitmap.cs                 BITMAP declaration removed
2692         * Graphics.cs           few more calls to implementation
2693         * Image.cs                      InternalImageInfo structure, image read/write functions
2694                         
2695                         
2696 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2697         * Factories.cs  analyse environment variable and machine.config to select implementation
2698         * Image.cs              PixelFormat property added
2699
2700 2003-04-30  Nick Drochak <ndrochak@gol.com>
2701
2702         * Factories.cs: Change weird characters that broke build on windows.
2703
2704 2003-04-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2705
2706         * ColorConverter.cs:
2707         (ConvertFrom): return a system or named color if there's one that fits
2708         teh values parsed with Color.FromArgb.
2709
2710 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
2711         * Bitmap.cs
2712         * Brush.cs
2713         * Font.cs
2714         * Graphics.cs
2715         * Image.cs
2716         * Pen.cs
2717         * SolidBrush.cs
2718         * SystemBrushes.cs
2719         * Factories.cs
2720                         delegate function calls to implementation
2721
2722 2003-04-26  Alexandre Pigolkine <pigolkine@gmx.de>
2723         * Bitmap.cs
2724         * ChangeLog
2725         * Image.cs
2726         * SystemBrushes.cs              switch to Linux style line terminators
2727
2728 2003-03-29 Alan Tam <Tam@SiuLung.com>
2729         * ToolboxBitmapAttribute
2730                 stubbed more constructors and fixed base class
2731
2732 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2733         * SystemBrushes.cs
2734                         added stubs to compile SWF
2735
2736
2737 2003-02-21  Alexandre Pigolkine <pigolkine@gmx.de>
2738         * Font.cs
2739         * Graphics.cs
2740         * Image.cs
2741         * SystemBrushes.cs
2742                         small changes to be able to run SWF apps
2743
2744 2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2745
2746         * Graphics.cs: stubbed out all the methods.
2747
2748 2003-02-08 Piers Haken <piersh@friskit.com>
2749
2750         * fixed case of pens.cs and font.cs
2751
2752 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2753         * Font.cs Added
2754         * Graphics.cs
2755         * StringFormat.cs 
2756         * SystemBrushes.cs
2757                 stubs added
2758
2759 2002-11-21 Dennis Hayes (dennish@raytek.com)
2760         * checkin for Matt Stump (mstump@swfo.arizona.edu)
2761         * Pens.cs
2762         * Added file
2763
2764 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
2765
2766         * ColorTranslator.cs (FromHtml): Implement.
2767         
2768 2002-10-14 Dennis Hayes (dennish@raytek.com)
2769         * Region.cs
2770         * changed using namespace from Drawing2d to Drawing2D
2771
2772  2002-9-15 Asier Llano <asierllano@infonegocio.com>
2773         
2774         * Fixes the enum values in the following enums
2775         * ContentAlignment.cs:
2776         * FontStyle.cs:
2777         * GraphicsUnit.cs:
2778         * KnownColor.cs:
2779         * RotateFlipType.cs:
2780         * StringAligment.cs:
2781         * StringDigitSubstitute.cs:
2782         * StringFormatFlags.cs:
2783         * StringTrimming.cs:
2784         * StringUnit.cs: 
2785         * SolidBrush.cs: Easy implementation
2786         * Brushes.cs:    Implementation based on SolidBrush and Color class.
2787         * Brush.cs:      Fixes based on the status web).
2788         * CharacterRange.cs: Implemented the missing Lenth property.
2789
2790 2002-9-14 Dennis Hayes (dennish@raytek.com)
2791         
2792         * sample.cs
2793         * removed personal template that should not have been checked in
2794
2795 2002-09-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2796
2797         * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2798         methods.
2799
2800 2002-9-14  DennisHayes <dennish@raytek.com>
2801
2802         * FontConverter.cs
2803         * FontFamily.cs
2804         * Icon.cs
2805         * IconConverter.cs
2806         * ImageAnimator.cs
2807         * ImageConverter.cs
2808         * ImageFormatConverter.cs
2809         * PointConverter.cs
2810         * RectangleConverter.cs
2811         * Sample.cs
2812         * SizeConverter.cs
2813         * SolidBrush.cs
2814         * StringFormat.cs
2815         * SystemBrushes.cs
2816         * SystemIcons.cs
2817         * SystemPens.cs
2818         * TextureBrush.cs
2819         * ToolboxBitmapAttribute.cs
2820         * Added null classes for most/all classes, Many stubs, and some implmentation
2821
2822 2002-9-2  DennisHayes <dennish@raytek.com>
2823
2824         * Bitmap.cs
2825         * Color.cs
2826         * ColorConverter.cs
2827         * Image.cs
2828         * Pen.cs
2829         * Added stubs, implmentation
2830
2831 2002-9-2  DennisHayes <dennish@raytek.com>
2832
2833         * Brushes.cs : stubbed, added colors. Not sure how to implement,
2834                                  but this should at least save someone some typing.
2835         * CharacterRange.cs :Implmented
2836         * Region.cs : stub needed for system.windows.forms
2837
2838 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2839
2840         * ColorTranslator.cs: use Color.Name.
2841
2842 2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2843
2844         * Color.cs: implemented SystemColors and NamedColors properties that
2845         are used by ColorConverter, removed public constructor, use
2846         SystemColors, and misc. fixes to make it behave as MS (ToString,
2847         parsing names, FromKnownColor,...).
2848
2849         * ColorConverter.cs: use NamedColors and SystemColors from Color when
2850         trying to get the color from its name.
2851
2852         * SystemColors.cs: new file.
2853
2854 2002-07-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2855
2856         * Color.cs: changed static properties to use FromArgbNamed. Also
2857         modified the program included in comments that get the values for
2858         static properties.
2859
2860         (FromArgbNamed): build named colors.
2861         (FromKnownColor): fixed.
2862         (FromName): use a hash to look up colors by name.
2863         (FillColorNames): create the hash of colors.
2864         (Equals): compare values and name.
2865         (ToString): improved.
2866
2867         * ColorTranslator.cs: implemented ToHtml.
2868
2869 2002-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2870
2871         * Color.cs: added TypeConverter attribute.
2872         
2873         * ColorConverter.cs: added constructor.
2874
2875 2002-06-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2876
2877         * ColorConverter.cs: implemented minimal set of features needed by xsp.
2878
2879 2002-05-03  Mike Kestner <mkestner@speakeasy.net>
2880
2881         * Bitmap.cs : using System.IO
2882         * ColorTranslator.cs : Stubbed off build breakers.
2883         * Image.cs : Stub off IDisposable and ICloneable.
2884         
2885 2002-04-27  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2886
2887         * Bitmap.cs: Ximian is the new copyright holder now.
2888         * Image.cs: ditto
2889
2890 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2891
2892         * Uppercased several files.
2893
2894 2002-04-05  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2895
2896         * color.cs: Fixed a typo in GetSaturation ().
2897
2898 2002-02-26  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2899
2900         * Bitmap.cs: Added method headers.
2901
2902 2002-02-25  Christian Meyer  <Christian.Meyer@cs.tum.edu>
2903
2904         * Bitmap.cs: Added, no implementation's done, yet.
2905
2906 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
2907
2908         * Rectangle.cs : Add a doc comment.
2909         * RectangleF.cs : New struct implementation.
2910
2911 2001-12-15  Mike Kestner <mkestner@speakeasy.net>
2912
2913         * Rectangle.cs : New struct implementation.
2914
2915 2001-08-17  Mike Kestner <mkestner@speakeasy.net>
2916
2917         * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2918
2919 2001-08-16  Mike Kestner <mkestner@speakeasy.net>
2920
2921         * Point.cs : New. Implementation of System.Drawing.Point struct.
2922