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