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