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