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