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