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