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