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