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