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