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