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