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