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