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