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