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