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