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