1 2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
3 * Font.cs: Add comment on .ctor(Font,FontStyle) about the lack of
4 null check (compatibility). Add proper (yet compatible ;-) null check
7 2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
9 * Color.cs: Fix Color serialization by changing 'value' visibility
10 to private and make everyone access it thru an internal property.
11 This also simplify the A, R, G and B properties and probably covers
12 a few other cases where a similar hack would have been required.
14 * KnownColors.cs: Assign Color.Value property and not the value field.
15 * RectangleF.cs: Fix edge intersection. Path by Brian Browning.
18 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
20 * Icon.cs (InitFromStreamWithSize): Use temp ArrayList for IconDirEntry
21 to avoid empty slots in array. Use actual index of IconDirEntry in
22 array when entries have been skipped. Fixes bug #415581.
24 2008-08-06 Gert Driesen <drieseng@users.sourceforge.net>
26 * Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
27 and imageData until after the number of entries was determined to
28 cope with skipping of 256x256 icons. Fixes bug #410608.
30 2008-07-14 Sebastien Pouliot <sebastien@ximian.com>
32 * gdipFunctions.cs: Fix signature for
33 GdipGetImageAttributesAdjustedPalette
34 [Part of fix for bug #402172]
36 2008-07-07 Sebastien Pouliot <sebastien@ximian.com>
38 * Bitmap.cs: Fix exceptions for some ctors.
39 * Image.cs: Throw ArgumentNullException for null streams.
42 2008-07-03 Sebastien Pouliot <sebastien@ximian.com>
44 * Image.cs: throw NotImplementedException in SetPropertyItem
45 instead of executing broken code. See #406307 for test case.
47 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
49 * SizeConverter.cs: Fallback to CultureInfo.CurrentCulture
50 if supplied culture is null.
51 * PointConverter.cs: Fallback to CultureInfo.CurrentCulture
52 if supplied culture is null.
54 2008-05-26 Gert Driesen <drieseng@users.sourceforge.net>
56 * Bitmap.cs: Changed argument names to match MS.
57 * CharacterRange.cs: Changed argument names to match MS.
58 * Color.cs: Changed argument names to match MS.
59 * Font.cs: Changed argument names to match MS.
60 * FontFamily.cs: Changed argument names to match MS.
61 * Graphics.cs: Changed argument names to match MS.
62 * Image.cs: Changed argument names to match MS.
63 * Icon.cs: Changed argument names to match MS.
64 * IconConverter.cs: Changed argument names to match MS.
65 * ImageAnimator.cs: Changed argument names to match MS.
66 * ImageConverter.cs: Changed argument names to match MS.
67 * ImageFormatConverter.cs: Changed argument names to match MS.
68 * Point.cs: Changed argument names to match MS.
69 * PointF.cs: Changed argument names to match MS.
70 * Rectangle.cs: Changed argument names to match MS.
71 * RectangleF.cs: Changed argument names to match MS.
72 * Region.cs: Changed argument names to match MS.
73 * Size.cs: Changed argument names to match MS.
74 * SizeF.cs: Changed argument names to match MS.
75 * StringFormat.cs: Changed argument names to match MS.
76 * SystemFonts.cs: Changed argument names to match MS.
77 * TextureBrush.cs: Changed argument names to match MS.
79 2008-05-19 Sebastien Pouliot <sebastien@ximian.com>
84 * RectangleConverter.cs,
86 * SizeFConverter.cs: Avoid unboxing structs more than one time.
87 [Found using Gendarme]
89 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
91 * Font.cs: Add comment that downcasting the IntPtr is not an
92 issue in this case (offset) since the next API requires it.
93 * Icon.cs: Use String.IsNullOrEmpty inside 2.0 code.
94 [Found using Gendarme]
96 2008-05-14 Sebastien Pouliot <sebastien@ximian.com>
98 * Graphics.cs: Throw a NotSupportedException if we're ask to create
99 a Graphics from a handle and X is not available (i.e. XOpenDisplay
100 returns NULL). Easier to diagnose than a SIGSEGV
102 2008-03-28 Ivan N. Zlatev <contact@i-nz.net>
104 * IconConverter.cs: Convert null to "(none)".
106 2008-03-26 Kornél Pál <kornelpal@gmail.com>
108 * ComIStreamWrapper.cs: Seek: remove read-only case. CopyTo: avoid allocating
109 large buffer. Commit: call SetSizeToPosition.
111 2008-03-22 Sebastien Pouliot <sebastien@ximian.com>
113 * Graphics.cs: Fix typo in exception and provide a bit more details.
115 2008-03-21 Geoff Norton <gnorton@novell.com>
117 * carbonFunctions.cs: Disable QDContext caching for now. It's
118 causing crashes in the finalizer code.
120 2008-03-06 Ivan N. Zlatev <contact@i-nz.net>
122 * ImageFormatConverter.cs:
123 - String comparison should use the InvariantCulture.
124 - ConvertTo string should return the name for known image formats.
127 2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
129 * Graphics.cs: Fix CopyFromScreen for X11 when source or destination
130 coordinates are not 0. Fix bug #363881.
132 2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
134 * ImageFormatConverter.cs: Perform a case insensitive comparison
135 instead of a case sensitive one.
138 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
140 * Icon.cs: Don't require icon entries when creating a new icon
141 (since they won't exist if we create the icon from an handle).
142 Also avoid a step when cloning. Fix bug #366485
144 2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
146 * gdipFunctions.cs: Seal GdiPlusStreamHelper class. Found using
148 * carbonFunctions.cs: Seal Carbon class before 2.0, make it static
149 from 2.0. Issues reported by Gendarme.
150 * ColorConverter.cs: Seal internal IComparer class CompareColors.
151 Found using Gendarme.
152 * FontConverter.cs: Don't ignore result of String.Trim. Found
154 * Graphics.cs: Document unused FillMode on DrawCloseCurve (part
155 of the API but unused) and remove unused internal code. Both found
157 * SRDescriptionAttribute.cs: Seal internal attribute. Found using
160 2008-02-01 Geoff Norton <gnorton@novell.com>
162 * carbonFunction.cs: More clipping fixes. Include a variable to
163 help debug future clipping problems by showing us the clipped mask.
165 2008-02-01 Geoff Norton <gnorton@novell.com>
167 * carbonFunctions.cs: Ensure we save/restore the GState before
168 modifying the clipping path as QD contexts can be reused.
170 2008-02-01 Geoff Norton <gnorton@novell.com>
172 * carbonFunction.cs: Rework the clipping interaction with
173 CoreGraphics. Our old method was buggy in certain cases causing
174 improper / inefficient clip handling.
176 2008-01-23 Geoff Norton <gnorton@novell.com>
178 * carbonFunction.cs: Remove some debug code. Thanks spouliot.
180 2008-01-23 Geoff Norton <gnorton@novell.com>
182 * carbonFunctions.cs: Dont crash when we have an orphaned handle.
184 2008-01-23 Geoff Norton <gnorton@novell.com>
186 * carbonFunctions.cs: If we get a -ve size from carbon, swizzle to
187 0 to prevent a OOM from cairo malloc. Remove support for
188 GetCGContextForNSView as its deprecated and doesn't work.
189 * gdipFunctions.cs: Refactor the environment variable support out
190 and make the Carbon driver the default on a Mac. Fix RunningOnUnix
191 to report true on the mac.
192 * Graphics.cs: Drop support for CocoaDrawable.
194 2008-01-21 Geoff Norton <gnorton@novell.com>
196 * Graphics.cs: Support Graphics.FromHwnd (IntPtr.Zero) on X11
197 * carbonFunctions.cs: Support for Graphics.FromHwnd (IntPtr.Zero)
199 * gdipFunctions.cs: Add XDefaultScreen overload.
201 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
203 * gdipEnums.cs: Remove Unit enum since there's a public version
204 (GraphicsUnit) for it.
205 * gdipFunctions.cs: Make GDIPlus class static for 2.0 and remove
206 new lines (both warnings from Gendarme). Stop using Unit enum.
207 * Pen.cs: Stop using Unit enum.
209 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
211 * Font.cs: Fix GetHashCode to use the same values as Equals. Fix
214 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
216 * Graphics.cs: Fix Point/PointF typo in FromUnManagedMemoryToPoint.
217 Added a few space to make it easier to read those methods. Fix #349800
219 2007-12-16 Miguel de Icaza <miguel@novell.com>
221 * Image.cs: Use the existing GdipPropertyItem.MarshalTo method to
222 conver the PropertyItem into a property item with Sequential
223 attached to it, and pass that to unmanaged code. Fixes #349103.
225 2007-12-11 Vladimir Krasnov <vladimirk@mainsoft.com>
227 * Bitmap.jvm.cs: ArgumentException on unknown format from stream
229 2007-12-07 Geoff Norton <gnorton@novell.com>
231 * Graphics.cs: Ensure that we Flush and Synchornize our CGContexts
232 before disposing. Fixes drawing bugs when drawn out of the event
233 loop and the caller doesn't Flush.
234 * carbonFunctions.cs: Rework the cross-assembly data marshalling to
235 use a delegate as suggested by lupus.
237 2007-11-19 Sebastien Pouliot <sebastien@ximian.com>
239 * ImageAnimator.cs: Check for FrameDimension.Time availability before
240 asking the frame count (since MS GDI+ prefers to return an error than
241 saying it has a single frame). Fix bug #342733
243 2007-11-15 Geoff Norton <gnorton@novell.com>
245 * gdipFunctions.cs: Reflect the renamed environment variable in the new Carbon driver.
246 * Graphics.cs: Remove support for the deprecated Cocoa driver until its fixed.
248 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
250 * ColorTranslator.cs: Special case handling for LightGray versus
251 HTML's LightGrey. Fix bug #340917.
253 2007-11-07 Geoff Norton <gnorton@novell.com>
255 * carbonFunctions.cs:
256 * Graphics.cs: Use QDBeginCGContext / QDEndCGContext to leverage OS caching
257 of CGContexts when possible. If we are still using the context returned by
258 QDBeginCGContext, then create a new CGContext for this graphics object.
260 2007-11-07 Geoff Norton <gnorton@novell.com>
262 * carbonFunctions.cs:
263 * Graphics.cs: QDBeginCGContext does not support nested calls.
264 We need to ref count our context but this will have clipping/CTM collisions
265 Support old-style context creation as well.
267 2007-11-07 Geoff Norton <gnorton@novell.com>
269 * carbonFunctions.cs: Code cleanup and refactor to use
270 QDBeginCGContext/QDEndCGContext
271 * Graphics.cs: Refactor to use QDBeginCGContext/QDEndCGContext
272 rather than the deprecated CreateCGContextForPort. This has the added
273 benefit of the QD system caching CGContexts for us as well.
275 2007-11-07 Geoff Norton <gnorton@novell.com>
277 * carbonFunctions.cs: Add CFRelease prototype.
278 * Graphics.cs: When we're disposing the graphics context clean up the
279 CGContext that we've created for it.
281 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
283 * Bitmap.cs: Add a private, parameter-less, ctor for Bitmap so XML
284 serialization is possible under 2.0 (fix for #323246).
286 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
288 * gdipFunctions.cs: Add a bool parameter to GdiPlusStreamHelper ctor
289 to move, or not, the stream position to load/save images.
290 * Image.cs: Stream position is moved to 0 when loading images from
291 stream but isn't moved for saving an image to a stream. Fix part of
292 #338779 (except that Image.FromFile behave differently for metafiles)
294 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
296 * gdipFunctions.cs: Stream position shouldn't be changed when
297 loading images (bug #338779).
298 * Pen.cs: Add a [MonoLimitation] to Pen's Alignment property so that
299 the next version of MoMA will report it as not-implemented in
300 libgdiplus (but it works under Windows, i.e. MS GDI+). #338985
302 2007-11-01 Geoff Norton <gnorton@novell.com>
304 * carbonFunctions.cs: Initiali implementation of clipping Z-order masking
305 siblings from the context
307 2007-10-31 Sebastien Pouliot <sebastien@ximian.com>
309 * ImageAnimator.cs: Fix delay == 0 to match most browser (imaginative)
310 definitions of "0". Don't throw on null images. Synchronize hashtable.
311 Remove unrequired loops.
313 2007-10-17 Geoff Norton <gnorton@novell.com>
315 * Graphics.cs: Only synchronize the display on Flush when we actually have
318 2007-10-17 Geoff Norton <gnorton@novell.com>
320 * carbonFunctions.cs: Initial support for clipping children out of the
321 CGContext before drawing on it.
323 2007-10-09 Geoff Norton <gnorton@novell.com>
325 * carbonFunctions.cs: Correct the P/Invoke definition for CGContext*CTM.
327 2007-09-26 Ivan N.Zlatev <contact@i-nz.net>
329 * ColorConverter.cs: During conversion to InstanceDescriptor check
330 both IsSystemColor to get a PropertyInfo from type SystemColors
331 and IsKnownColor to get PropertyInfo from type Color.
333 2007-08-09 Vladimir Krasnov <vladimirk@mainsoft.com>
335 * ColorTranslator.cs: optimized Html color formatting in ToHtml method
337 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
339 * gdipFunctions.cs: Change GdipMeasureString definition to use unsafe
341 * Graphics.cs: Rework MeasureString not to supply integers (characters
342 and lines) as they aren't required for most of it's overloads and
343 requires extra code/time to calculate inside libgdiplus. Also fix a
344 possible NRE in MultiplyTransform.
346 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
348 * gdipFunctions.cs: Added definition for GdipCloneFontFamily
350 2007-08-01 Vladimir Krasnov <vladimirk@mainsoft.com>
352 * Bitmap.jvm.cs: fixed InternalPixelFormat TYPE_BYTE_GRAY
354 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
356 * Graphics.cs: Refactor [Get|Release]Hdc to get ReleaseHdcInternal
357 working (as long as the HDC comes from GetHdc).
359 2007-05-21 Adar Wesley <adarw@mainsoft.com>
363 * Region.jvm.cs: Changed MemberwiseClone to clone.
365 2007-05-21 Adar Wesley <adarw@mainsoft.com>
367 * Font.jvm.cs: added implementation for Equals and GetHashCode.
369 * Graphics.jvm.cs: added missing DrawImage overloads,
370 DrawImageUnscaledAndClipped.
372 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
374 * Icon.cs: Always open icon files as read only. Fix #81669.
376 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
378 * Graphics.cs: Fix DrawImageUnscaled for empty (width or height <= 0)
379 Fix NRE in DrawImageUnscaledAndClipped. Remove lines with only tabs in
381 * RectangleF.cs: A rectangle with a negative width or height is also
384 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
386 * FontConverter.cs: for TARGET_JVM destructor is not used.
388 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
390 * ColorConverter.cs: fixed GetStandardValues() for TARGET_JVM
391 * Font.jvm.cs: fixed GetHeight()
393 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
395 * gdipEnums.cs: Add GetSysColorIndex
396 * gdipStructs.cs: Remove GetSysColorIndex (it's an enum)
397 * KnownColors.cs: Fix Windows desktop colors as GetSysColor returns
398 values in BGR (not RGB).
400 2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
402 * KnownColors.cs: Force alpha values (opaque) on Win32's GetSysColor.
404 2007-04-30 Sebastien Pouliot <sebastien@ximian.com>
406 * Color.cs: Reflection didn't like the change from int to uint (thanks
407 to Gert for noticing again :-).
409 2007-04-29 Konstantin Triger <kostat@mainsoft.com>
411 * Color.cs: FromName - do not throw on unknown color.
413 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
415 * Color.cs: Try to avoid calling GetName in GetHashCode when the color
416 isn't named. Commented code (#81465) to remove the string name member
417 for the 2.0 profile (to avoid a reference in a struct).
418 * ColorConverter.cs: Use the new KnownColor static uint array.
419 * ColorTranslator.cs: Share code between From[Win32|Ole] (both BGR).
420 Reduce ToHtml switch size (when html name == known color name).
421 * KnownColors.cs: Remove the array of struct for every known colors.
422 Add an array of uint with color values and a method to return the name
423 of a known color. Big reduction of the static ctor code size.
425 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
427 * gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile
428 FromDelegate[I]_linux.
430 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
432 * gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile
433 [FileName|FromStream][I].
435 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
437 * Bitmap.cs: Add check in SetPixel for Format16bppGrayScale (but
438 without requiring a second unmanaged call on each SetPixel call).
440 2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
442 * Brush.cs: Ensure we're zeroing the handle before calling
443 CheckStatus. Some clean up.
444 * Pen.cs: Ensure we're zeroing the handle before calling CheckStatus.
445 Use Locale.GetText for exceptions.
447 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
449 * Bitmap.cs: Move LockBits validations into unmanaged code.
450 * gdipFunctions.cs: Add mapping for Win32Error in CheckStatus. Add
451 globalization support for CheckStatus and add the GDI+ status code in
453 * SolidBrush.cs: Clean up and add comments about [un]named colors.
455 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
457 * Color.cs: Remove duplicate check in == and add better comments
459 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
461 * Color.cs: Remove hashtables and locks. All color properties are read
462 from KnownColors. Remove extra & 0xFF (typecast to byte is enough).
463 Keep track of the Name property once calculated. When possible (most
464 likely case) don't create the names (strings) in Equals, == and !=
465 * ColorTranslator.cs: Use the new KnownColors instead of the separate
466 NamedColors and SystemColors.
467 * ColorConverter.cs: Use the new KnownColors instead of the separate
468 NamedColors and SystemColors.
469 * gdipFunctions.cs: Moved GetSysColor p/invoke signature here as this
470 class is marked by [SuppressUnmanagedCodeSecurity].
471 * gdipStructs.cs: Moved Windows-specific GetSysColorIndex enum here.
472 * KnownColors.cs: New. Single source for all colors.
473 * SystemColors.cs: Vastly simplified. All color properties are read
476 2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
478 * gdipFunctions.cs: Remove unused (and not part of GDI+) GdipGetHfont
481 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
483 * Pen.cs: Simplify. Caching the brush still involved too many
484 unmanaged calls and was hiding libgdiplus bugs (e.g. 81266). Color is
485 still cached (a little less ;-) but needs to stay that way so we keep
486 the color names available (it's the expected behavior).
488 2007-03-20 Sebastien Pouliot <sebastien@ximian.com>
490 * Graphics.cs: Replace TODO on all EnumerateMetafile overloads.
492 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
494 * Font.cs: Add a better exception for trying to create a font
495 where the requested style is not available. [Fixes #81194]
497 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
499 * ColorConverter.cs: Rewrite the hex color convertion to be more
500 compatible with MS implementation (fixing NotWorking unit tests) and
501 more endian friendly.
503 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
505 * Font.cs: Remove internal SysFontName setter property and add a new
507 * SystemFonts.cs: We can't cache font instance (because anyone can
508 dispose them) so we must return new instances each time.
510 2007-02-27 Sebastien Pouliot <sebastien@ximian.com>
512 * Bitmap.cs: Removed unrequired ctors.
513 * TextureBrush.cs: Change which GDI+ calls is used to create the
514 brush (to better match what you expect from libgdiplus source). Add
515 [MonoLimitation] to ctors accepting ImageAttributes (not supported
516 by libgdiplus). Split some long lines into two lines.
518 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
520 * gdipFunctions.cs: Add p/invoke signature for GDI DeleteObject.
521 * Region.cs: Under Windows use DeleteObject when calling ReleaseHrgn.
524 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
526 * Image.cs: Fix Metefile.ctor usage (to avoid creating, and leaking,
527 an unmanaged metafile object);
529 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
531 * gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
532 and add more for metafile functions.
533 * Image.cs: Fix usage of corrected p/invoke signatures.
535 2007-02-14 Jonathan Pobst <monkey@jpobst.com>
537 * SystemColors.cs: Query Windows for the colors added to this class
538 for 2.0. (Windows-only path of course.)
540 2007-02-13 Sebastien Pouliot <sebastien@ximian.com>
542 * Icon.cs: Ignore Vista 256x256 icons, just like MS does.
544 2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
546 * Icon.cs: Resurrected some old Icon to Bitmap code from SVN history
547 to handle convertion for Win32, where MS GDI+ ICO codec doesn't
548 support all the icon formats supported by the Icon class.
550 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
552 * Bitmap.cs: Adapt code wrt Image changes. Reuse the serialization
553 ctor from Image to avoid duplicate code.
554 * gdipEnums.cs: Added ImageType. Clean up extra stuff.
555 * gdipFunctions.cs: Added GdipGetImageType and some metafile
557 * Image.cs: Refactor code not to create a Bitmap for every images
558 (e.g. FromFile, FromStream) as the result can also be a Metafile.
560 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
562 * Image.cs: Fix serialization of Image/Bitmap that contains ICO. In
563 this case the image is serialized as a PNG bitmap (note: the ICO codec
564 is a decoder-only codec).
566 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
568 * Graphics.cs: Fix FromImage to check for indexed images inside
569 managed code (and not GDI+ which will report the wrong error code
570 for the exception we expect).
571 * Image.cs: Remove unused private method IsIndexedPixelFormat.
573 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
575 * Font.cs: Fix calls to GDIPlus.ReleaseDC (missing parameter). This
576 fix the GDI object leaks under Win32 (#80552).
577 * gdipFunctions.cs: Fix ReleaseDC signature (missing hWnd).
578 * Graphics.cs: Fix ReleaseDC signature (missing hWnd) in NET_2_0.
580 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
582 * Font.cs: Under Win32 cache the LOGFONT we use to create the HFONT
583 handle. This "hides" the fact that ToLogFont leaks (#80552).
585 2007-01-17 Sebastien Pouliot <sebastien@ximian.com>
587 * gdipFunctions.cs: Added Win32 CreateIconIndirect and DestoryIcon
588 imports. Both are required under Win32 to get HICON stuff working.
589 Added some GDI+ Metafile related definitions too.
590 * gdipStructs.cs: Update IconInfo structure so it can be used when
591 calling CreateIconIndirect on Win32.
592 * Icon.cs: Add support for handles under Win32.
594 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
596 * Icon.cs: Implement saving an icon from it's bitmap representation.
597 This allows roundtripped icons (Handle or HICON) to be saved.
599 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
601 * Icon.cs: Refactor Save code to allow saving a single icon size.
602 This allows ToBitmap to produce the right (sized) bitmap wrt the
603 selected icon size. Fix #80509 under UNIX.
605 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
607 * Bitmap.cs: Make sure we're not building bitmaps using stream that
608 can be disposed (as GDI+ may require access to them anytime);
609 * Icon.cs: Change icon selection to match either width *or* height.
610 * Image.cs: Track user versus internal streams in InitFromStream
612 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
614 * Graphics.cs: Change DrawIcon* methods to use the internal bitmap
615 we keep for the Icon. This is required to let HICON support work with
616 libgdiplus (and should be faster than creating a new bitmap each time)
617 * Icon.cs: Fix ctor exceptions. Select the correct icon when multiple
618 size are available (and do not match the requested size). Fix handle
619 support for work under UNIX (Win32 support still missing). Keep an
620 internal bitmap for the Icon to use for HICON support.
622 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
624 * Icon.cs: Fix .ctor(string) to load, when available, the 32x32 icon.
625 Remove TARGET_JVM from file (Mainsoft now use Icon2.jvm.cs). Use GDI+
626 to implement ToBitmap method (previous results were wrong).
628 2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
630 * Image.cs: Fix Palette to call into GDI+ even for non-indexed images.
631 This case can occurs with the ICOn codec where the returned image is a
632 32bpp ARGB bitmap *with* a palette.
634 2007-01-09 Sebastien Pouliot <sebastien@ximian.com>
636 * Font.cs: Unify platform detection code.
637 * gdipFunctions.cs: Unify platform detection code.
638 * Graphics.cs: Unify platform detection code.
639 * Image.cs: Unify platform detection code.
640 * SystemColors.cs: Unify platform detection code.
642 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
644 * gdipStructs.cs: Add support for SignaturePatterns and
645 SiggnatureMasks values.
647 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
649 * gdipFunctions.cs: Don't create "millions" of byte arrays in
650 GdiPlusStreamHelper. Just create a default size array and resize it
651 only when needed. (as an example: the FileDialog sample created more
652 than 1700 new byte arrays on my system before the patch, now only 74)
654 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
656 * Brush.cs: Fixed line endings.
657 * BufferedGraphicsContext.cs: Fixed line endings.
658 * CharacterRange.cs: Fixed line endings.
659 * Graphics.cs: Fixed line endings.
660 * IDeviceContext.cs: Fixed line endings.
661 * SizeFConverter.cs: Fixed line endings.
662 * SystemBrushes.cs: Fixed line endings.
663 * SystemFonts.cs: Fixed line endings.
664 * SystemPens.cs: Fixed line endings.
666 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
668 * Graphics.cs: Splitted CopyFromScreen into platform specific methods
669 and added MonoLimitations to all overloads. This should get better
672 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
674 * FontFamily.cs: More accurate Mono* attributes to avoid confusion.
675 * Icon.cs: Dummy implementation of ExtractAssociatedIcon to always
676 return SystemIcons.WinLogo (which is better than throwing an NIE).
677 Updated MonoTODO, to a MonoLimitation, to reflect the change.
679 2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
681 * Image.cs: Rework Clone so it doesn't confuse MoMA to report a NIE.
682 Cloning works for bitmap. Metafiles aren't (actually) supported.
684 2006-12-07 Sebastien Pouliot <sebastien@ximian.com>
686 * Icon.cs: Revert a change from r68882. The type is also part of the
687 icon's name. Fix bug #80181.
689 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
691 * Icon.cs: Add a new ctor that returns undisposable Icon instances
692 (required when used from SystemIcons). Added a dispose check in
693 ToBitmap (many other are missing).
694 * SystemIcons.cs: Change icons to the one already in SVN.
696 2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
698 * FontConverter.cs: Add a comment why the empty finalizer is required.
699 * gdipFunctions.cs: Remove warning from build (unused variable).
700 * Icon.cs: Fix .ctor accepting a type - the type is to find the
701 assembly, not the type of the ressource.
702 * SystemIcons.cs: Load some icons from the assembly (all the same Mono
705 2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
707 * BufferedGraphicsContext.cs: Better MonoTODO.
708 * BufferedGraphics.cs: Better MonoTODO.
709 * Font.cs: Better MonoTODO.
710 * FontFamily.cs: Better MonoTODO.
711 * Graphics.cs: Better MonoTODO.
712 * Icon.cs: Better MonoTODO.
713 * Image.cs: Second chance while saving using the current RawFormat.
714 This allows icons to be saved as PNG (strange but look at unit tests).
715 * ImageFormatConverter.cs: Implement GetStandardValues (and remove
716 it's MonoTODO) and fix GetStandardValuesSupported (to return true).
717 * Region.cs: Implement ReleaseHrgn (2.0) - not really useful (as the
718 handle is never exposed) but it's easier than to document the TODO ;-)
719 * SystemIcons.cs: Better MonoTODO.
721 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
723 * RectangleF.cs: Fix operator !=. Patch by Manuel Alejandro Cerón
726 2006-11-04 Chris Toshok <toshok@ximian.com>
728 * SystemColors.cs: reassign the given color to the return value of
729 UpdateKnownColor. This makes sure that the color has the same
730 SystemColor name. So, SystemColors.Control.Name always equals
731 "Control", regardless of the values the theme has stuffed in it.
733 * Color.cs: UpdateKnownColor now returns the new color.
735 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
737 * Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
738 StringFormat is null and return an empty region array if no range exists
739 (avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
740 999999 by Int32.MaxValue (now that the real bug is fixed).
741 * StringFormat.cs: Ensure we are clearing the handle before throwing
744 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
746 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
749 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
751 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
752 add the same checking for other resource release GDI API calls.
754 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
756 * StringFormat.cs: Add missing validations.
758 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
760 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
762 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
764 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
765 allocations before checking for quick exit case (null/String.Empty
766 text or throwing execptions).
768 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
770 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
771 and not to "return new NotSupportedException", throwing them is better
773 2006-09-07 Kornél Pál <kornelpal@gmail.com>
775 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
776 on shutdown. Dispose unmanaged resources when constructor fails.
778 2006-09-06 Kornél Pál <kornelpal@gmail.com>
780 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
781 destructor because it is freed using Release. (Proper fix for bug
782 #78315.) Free COM vtable when unloading and all objects Released.
784 2006-09-06 Jonathan Chambers <joncham@gmail.com>
786 * ComIStreamMarshaler.cs: Only deallocate memory
787 for COM wrapper if not shutting down. #78315
789 2006-09-04 Jonathan Chambers <joncham@gmail.com>
791 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
792 allocated for vtable. If this finalizer runs before all clients
793 are done with it (Image(s) in this case) we crash on windows. #78315
795 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
797 * Bitmap.cs: Fix exceptions for LockBits.
799 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
801 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
802 original exception). Found with Gendarme.
803 * Color.cs: Remove the double-check lock. Found with Gendarme.
804 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
806 2006-08-28 Jonathan Chambers <joncham@gmail.com>
808 * ComIStreamMarshaler.cs: Do not free memory allocated for
809 Com Callable Wrapper for stream. When Image created from stream
810 is destroyed, it calls Release on CCW interface. Somehow we seem
811 to be destroying Stream CCW before Image is destroyed. Fixes
812 crash on exit on Windows. #78315
814 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
816 * SystemColors.jvm.cs: fix array size for NET_2_0
818 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
820 * ColorConverter.cs: Catch the case where the integer part of the
821 color doesn't fit into a 32bit integer.
822 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
823 method. Fixed string handling on FromHtml method. Fixed all parameter
826 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
828 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
829 GdipSetImageAttributesColorMatrix definition.
830 * FontConverter.cs: Fix compiler warnings.
832 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
834 * TextureBrush.cs: Remove private Image member as we cannot, without
835 cloning it (which removes the advantage of caching it), return it for
836 the Image property *and* we cannot dispose of it properly (Dispose
839 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
841 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
843 * Image.cs: Cast the uint into an int for the Width property.
845 2006-08-12 Duncan Mak <duncan@novell.com>
847 * gdipFunctions.cs (GdipLoadImageFromStream):
848 (GdipSaveImageToStream): Don't include these methods when
849 compiling the unit tests.
851 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
853 * gdipFunctions.cs: return -1 when stream.Length throws.
855 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
857 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
858 use the object size instead of the structure size when copying.
860 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
862 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
863 to match MS boundary between GDI+ and SD.
865 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
867 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
869 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
871 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
872 ToLogFont even if GDI+ has that value to 0.
874 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
876 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
877 Read the XOR and AND masks in a single read.
879 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
881 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
883 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
885 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
886 * Region.cs: Fix unit tests wrt libgdiplus return value change.
888 2006-08-01 Jonathan Chambers <joncham@gmail.com>
890 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
893 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
895 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
898 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
900 * Image.cs: Ensure we're setting the nativeObject to NULL before
901 throwing any exception while disposing (and avoid possible double
902 freeing). Avoid multiple casts in Clone method.
903 * Pen.cs: Ensure the internal pen's brush is always disposed
904 correctly. Avoid making a reference to the internal brush.
905 * SolidBrush.cs: Avoid setting color when cloning the solid brush
906 as the .ctor(IntPtr) always does this job.
908 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
910 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
911 image size is invalid (to match MS behaviour), also ensure that the
912 Graphics instance is disposed even if CheckStatus throws an exception.
914 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
916 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
917 Avoid double-cast when dealing with SolidBrush.
919 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
921 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
922 GdipIsOutlineVisiblePathPoint[I] methods.
923 * FontFamily.cs: Delay the call to refreshName until it is actually
926 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
928 * Color.cs: when deserializing from an MS generated stream, the value
929 for known colors was 0. These changes make our Color handle that case.
930 We won't serialize the name for known colors either, but the value will
931 be there, so we only check for a 0 value on a known color once.
934 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
936 * Font.cs: Change default charset to 1. Ensure we always call the
937 CheckStatus method after calling GDI+. Added null checks to match MS
939 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
940 pointers but names. Simplify the Generic* static properties by reusing
941 the .ctor code. Fixed ToString to match MS output. Removed
942 GetStyleCheck as it failed when multiple styles were provided (flags).
943 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
946 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
948 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
949 (e.g. Bmp) and long (e.g. guid) names.
951 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
953 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
954 introduced a regression in the converter (not catched by other unit
957 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
959 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
960 GdipCreateRegionHrgn functions.
961 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
964 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
966 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
967 CreateInstance if some values are missing from the dictionary, while
968 1.x throws an NullReferenceException.
969 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
970 CreateInstance if some values are missing from the dictionary, while
971 1.x throws an NullReferenceException.
972 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
973 CreateInstance if some values are missing from the dictionary, while
974 1.x throws an NullReferenceException.
975 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
977 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
979 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
980 * Graphics.cs: Added checks for null Rectangle[F] arrays in
981 FillRectangles methods and removed the check for 0-length (MS throws).
982 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
983 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
985 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
987 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
988 dispose of it anytime). Make sure we're disposing our cached brush
989 when disposing the pen.
991 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
993 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
994 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
995 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
996 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
997 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
998 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
999 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
1000 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
1001 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
1002 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
1004 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1006 * ImageAnimator.cs: get the FrameDelay from the image properties, if
1007 available. Remove ^Ms.
1009 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
1011 * Pen.cs: Get the pen color from the solid brush (when applicable).
1012 Added missing validations for most properties. Always return a clone
1013 of the internal brush (so no one can dispose of it in our back).
1015 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1017 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
1019 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021 * Bitmap.cs: (Clone) use the 'format' argument instead of the
1024 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1026 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
1027 array is empty, don't invoke GDI+. Fixed bug #78408.
1029 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
1031 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
1033 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
1035 * Icon.cs: Don't require width/height to be non-0 when creating from
1036 serialized data, just require them to be square
1038 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
1040 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
1043 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
1045 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
1046 (in the class status library) a note that this isn't supported with
1049 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1051 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
1053 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
1055 * PointF.cs: Add operators + and - between PointF and SizeF in the
1056 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
1057 missing in corcompare results).
1059 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
1061 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
1062 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
1063 BeginContainer methods that use rectangles and on TextContrast property
1064 (all aren't currently supported in libgdiplus).
1066 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
1068 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
1069 libgdiplus). Fixed minor extra/missing for corcompare.
1071 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
1075 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1077 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
1078 and set proper transparency. Also fixed broken calculation of AND
1079 size when reading the icon. NDocGui now shows pretty buttons.
1081 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
1083 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
1084 * Region.cs: Remove old todo that were fixed in libgdiplus.
1085 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
1086 attribute to Tag property. FromStream(Stream,bool,bool) is available
1087 in Fx 1.1 (probably since SP1).
1089 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
1091 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
1092 libgdiplus doesn't use the numberOfSegments argument.
1094 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
1096 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
1097 GdipAddPathLine2I methods (to allow adding a single point).
1099 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
1101 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
1102 GdipAddStringI wrapper methods.
1104 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1106 * Bitmap.cs: throw when the target pixel format differs from the one
1107 of the image and it's an indexed format. We were failing in UnlockBits
1110 2006-04-25 Miguel de Icaza <miguel@novell.com>
1112 * FontConverter.cs (FontUnitConverter): implement. CorCompare
1113 for some reason does not dig into nested classes, match the
1116 (FontNameConverter): Return the fonts available on the system.
1118 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1120 * Icon.cs: We need to or, not and our alpha values into the
1121 palette. Also, we need to actually store the altered palette
1122 on the bitmap, since we are altering a copy.
1124 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
1126 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
1128 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
1131 - GdipGetFontCollectionFamilyList: No need for complicated
1132 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
1133 - GdipDeletePrivateFontCollection: We need to pass a ref to the
1134 structure. This was causing nasty crashes.
1135 - GdipGetFamilyName: Switched to use StringBuilder instead of
1137 * FontFamily.cs: Simplified the refreshName method, less error-prone now
1139 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
1141 * Brush.cs: Remove unused code.
1142 * FontFamily.cs: Remove warnings from build.
1143 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
1145 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
1147 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
1149 * Graphics.cs: Free the memory we get from XGetVisualInfo.
1151 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
1153 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
1154 in every case. This has been known (in the past) to cause crashes
1155 in Cairo. If still true then we need to find out why!
1157 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1159 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
1160 it was causing crashes in the finalizers (bug #77464)
1162 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
1164 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
1165 the start_buf cached bytes whenever Seek() is actually called. If
1166 Seek is not called (an invalid 'whence' value), then the buffer is
1167 not invalidated. This fixes a bug with TIFF loading.
1169 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1171 * Image.cs (ISerializable.GetObjectData): Save the image in it's
1172 original format. (Fixes #77673)
1174 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
1175 Peter Dennis Bartok <pbartok@novell.com>
1178 - ToLogFont: Reworked to allow running under MS runtime and to
1179 support it being called with both boxed structs and formatted
1180 classes (MS runtime PtrToStructure cannot marshal boxed value
1181 types, but Marshal.AsAny can)
1182 - Switched all usage of LOGFONTA to more generic CharSet-driven
1184 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
1185 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
1186 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
1187 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
1188 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
1189 (needed because of ToLogFont fix)
1191 2006-02-18 Duncan Mak <duncan@novell.com>
1193 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
1194 possible IndexOutOfRangeException.
1196 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
1198 * Image.cs, Bitmap.cs: Removed unneeded casts
1199 * Icon.cs: Fixed code to be 64bit safe
1201 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
1203 * Font.cs: Fixes 77407
1205 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
1207 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
1208 even if GDIPlus.CheckStatus throws an exception;
1209 * Image.cs: Ensure unmanaged memory is free correctly even if
1210 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
1211 case is unclear to me (and unimplemented in libgdiplus);
1212 * Region.cs: Ensure unmanaged memory is free correctly in
1213 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
1215 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
1217 * gdipFunctions.cs: New gdiplus imports
1218 * Font.cs: Use gdiplus calls to get font height and size
1220 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
1222 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
1223 * Region.cs: Updated TODO to reflect current status.
1225 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
1227 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
1229 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1231 * Icon.cs: The code wrongly assumed that the stride for the icon
1232 would be the same as the stride for the bitmap. This was causing
1235 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1237 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
1238 which when calling down to MS GDI+ will create an image
1239 where neither GetPixel or Save can be used on.
1241 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
1243 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
1244 * Region.cs: Implemented .ctor(RegionData)
1246 2006-01-13 Miguel de Icaza <miguel@novell.com>
1248 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
1249 by our Windows.Forms implementation.
1251 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
1253 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
1254 default DPI are required (i.e. init both value in both cases).
1255 * Region.cs: Added null check to match MS behaviour (exception type)
1256 and avoid NRE (before CheckStatus is called). Added security demands
1257 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
1259 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
1261 * gdipFunctions.cs: Do not call GdiplusShutdown for
1262 now as it causes a crash on MS GDI+.
1264 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
1266 * Font.jvm.cs: charset support.
1268 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
1270 * Graphics.cs (Flush): Make sure nativeObject is not null
1272 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
1274 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
1276 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
1278 * Bitmap.jvm.cs: Fix MakeTransparent.
1280 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
1282 * Graphics.cs: Add new deephs support to CopyFromScreen
1284 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
1286 * BufferedGraphicsManager.cs: Fixes signature
1288 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
1291 - Implemented FromLogFont
1292 - Implemented ToLogFont
1295 - Added GdipGetLogFontW method
1296 - Specified charset for GdipGetLogFontA method
1297 * gdipStructs.cs: Added LOGFONTW structure
1299 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
1301 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
1303 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
1306 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
1308 * gdipFunctions.cs: DllExports need it to implement
1309 new Graphics.CopyFromScreen .Net 2.0 methods
1310 * IDeviceContext.cs: New .Net 2.0 interface
1311 * Color.cs: Fixes for new .Net 2.0 KnowColors
1312 * PointF.cs: New .Net 2.0 Add/Subtract methods
1313 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
1314 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
1315 * SizeF.cs: New .Net 2.0 Add/Subtract methods
1316 * FontConverter.cs: New .Net 2.0 fixes
1317 * SystemColors.cs: New standard SystemColors for .Net 2.0
1318 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
1319 * CharacterRange.cs: : New .Net 2.0 methods
1320 * Size.cs: New .Net 2.0 Add/Subtract methods
1321 * SystemPens.cs: New standard SystemPens for .Net 2.0
1322 * Bitmap.cs: New .Net 2.0 methods
1323 * Region.cs: New .Net 2.0 methods
1324 * Brush.cs: New .Net 2.0 constructor
1325 * Icon.cs: New .Net 2.0 Constructors and methods
1326 * Point.cs: New .Net 2.0 Add/Subtract methods
1327 * BufferedGraphicsManager.cs: New .Net 2.0 class
1328 * Graphics.cs: New methods for .Net 2.0 and fixes
1329 * BufferedGraphics.cs: New .Net 2.0 class
1330 * Font.cs: New .Net 2.0 properties
1331 * Image.cs: New .Net 2.0 tag property
1332 * KnownColor.cs: New .Net 2.0 know colors
1333 * CopyPixelOperation.cs: New .Net 2.0 enum
1334 * SystemFonts.cs: New .Net 2.0 class
1335 * BufferedGraphicsContext.cs: New .Net 2.0 class
1337 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
1339 * SystemIcons.jvm.cs: refactoring.
1341 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
1343 * Icon.cs: TARGET_JVM changes.
1345 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1347 * Image.jvm.cs: fixed Save, flush output stream
1349 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
1351 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
1353 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1355 * ColorConverter.cs: fixed ConvertFrom, to be able
1356 to convert from three digit notation color (#abc)
1358 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
1360 * Bitmap.jvm.cs: open a correct stream.
1362 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
1364 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
1366 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
1368 * FontFamily.jvm.cs: fix for custom font collection
1370 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1372 * FontFamily.jvm.cs: fixed GetName
1374 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1376 * Bitmap.jvm.cs: fixed InternalSave() error handling
1377 * Image.jvm.cs: fixed Save() error handling
1379 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1381 * FontFamily.jvm.cs: Refactoring.
1383 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1385 * Font.jvm.cs: Refactoring.
1387 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1389 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
1390 MeasureString support
1392 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1394 * FontFamily.jvm.cs: correctly initialize fontcollection
1396 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1398 * FontFamily.jvm.cs: DrawMargin, refactoring.
1400 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1402 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
1403 Differentiate standard and AntiAlias stroking
1405 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1407 * Graphics.jvm.cs: added UnitConversion property
1408 * FontFamily.jvm.cs: refactoring
1409 * Font.jvm.cs: refactoring
1411 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
1414 - Implemented serialization constructor
1415 - Implemented GetObjectData()
1417 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
1419 * StringFormat.jvm.cs: Refactoring
1421 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
1423 * Image.cs: Default format for MemoryBMP should be Png
1425 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1427 * Bitmap.jvm.cs: fixed InternalSave
1428 * Image.jvm.cs: fixed Save
1430 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1432 * Image.jvm.cs: fixed redolution properties
1434 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1436 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
1437 fixed clone, Initialize
1439 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
1441 * Brush.cs: Don't delete the brush if the display handle is no longer
1442 valid, otherwise cairo will try to use the handle and crash and burn
1444 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1446 * Graphics.jvm.cs: DrawImage refactoring
1448 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1450 * Graphics.jvm.cs: Clipping refactoring
1451 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
1452 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
1453 TranslateClip, VisibleClipBounds
1455 2005-10-21 Miguel de Icaza <miguel@novell.com>
1457 * Pen.cs: Add support for returning the Brush from Pens created
1458 with a color constructor.
1460 Plus: code style police, else does not go on its own line.
1462 * Graphics.cs: Add various ArgumentNull checks.
1464 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
1466 * Image.jvm.cs: make Clone abstract
1468 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
1470 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
1472 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1474 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
1475 * PlainImage.jvm.cs: fixed Clone
1476 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
1478 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1480 * Brush.jvm.cs: added InternalClone() method
1481 changed transformation methods access level
1482 * TextureBrush.jvm.cs: refactoring, fixed clone()
1484 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1486 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
1487 matrix singularity added
1488 * Font.jvm.cs: implemetated ISerializable
1489 * Pen.jvm.cs: fixed DashPattern property,
1490 fixed GetNativeObject() dash pattern calculation
1492 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
1494 * SystemColors.cs: Fixes the Win32 light and lightlight colours
1496 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
1498 * SystemColors.cs: Fixes the Win32 system colors including the color
1499 name and the knownColor properties.
1501 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
1503 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
1504 conversion, it's less overhead than StringBuilder. (Part of the
1505 bugfix for #74871 and #75534)
1507 * gdipFunctions: Changed signature for GdipGetFamilyName to just
1508 have an IntPtr for the buffer
1510 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
1512 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
1515 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1517 * SystemColor.cs: Added code used to generate properties, updated with
1520 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1522 * SystemColor.cs: Make internal names predictable to allow scripted
1523 generation of color table
1525 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
1527 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
1530 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
1533 - Changed properties to return colors from fields. This allows
1534 updating the colors via reflection, for example from MWF themes.
1535 - Added code to retrieve system colors via Win32 GetSysColors if
1536 running on Win32, this makes us compatible with Microsoft instead
1537 of returning static colors on Win32. Unix platforms still will
1538 use the static colors
1539 * Color.cs: Added UpdateKnownColor() method to allow updating of
1540 the KnownColors array
1542 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
1544 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
1545 when imageAttr is null.
1547 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1549 * Brush.jvm.cs: fixed transform methods, createContext
1550 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
1552 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1554 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
1555 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
1556 * PlainImage.jvm.cs: added metadata props, fixed ctor
1557 * PlainImageCollection.jvm.cs: fixed class access
1559 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
1561 * Graphics.cs: Fixes exception type at FromImage method
1563 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1565 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
1567 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1569 * Graphics.jvm.cs: fixed DrawImage
1571 2005-09-19 Miguel de Icaza <miguel@novell.com>
1573 * Graphics.cs: Removed restriction on the images that can be
1574 loaded. Indexed images *can* be loaded
1576 2005-09-18 Miguel de Icaza <miguel@novell.com>
1578 * Image.cs: introduce a workaround that catches errors on systems
1579 that lack GDI+ as this is being triggered too easily when we
1580 enumerate attributes on loaded classes.
1582 The real bug to fix is #76062.
1584 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
1586 * Image.cs: Implemented FromHbitmap.
1588 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
1590 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
1591 the JIT won't add demands for UnmanagedCode.
1592 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
1593 so the JIT won't add demands for UnmanagedCode on Mac OSX.
1594 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
1595 (+ overloads) and GetHicon methods.
1596 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
1597 FromHwndInternal and ReleaseHdcInternal methods (which are all public
1598 despite their names).
1600 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
1602 * Graphics.jvm.cs: text transform, headless session
1604 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1606 * Bitmap.jvm.cs: native object refactoring
1607 * Image.jvm.cs: native object refactoring
1608 * Graphics.jvm.cs: fixed access to image native object
1609 * TextureBrush.jvm.cs: fixed access to image native object
1610 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
1612 2005-09-14 Geoff Norton <gnorton@customerdna.com>
1614 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
1615 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
1616 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
1618 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
1620 * Graphics.jvm.cs: transform, container, thin pen
1622 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1624 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
1625 * Pen.jvm.cs: fixing transform, pen fitting
1627 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1629 * Region.jvm.cs: IsVisible is about intersection
1631 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
1633 * ImageConverter.cs: Use default TypeDescriptor implementation of
1636 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1638 * Graphics.jvm.cs: fixing clipping with rotate transform
1640 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1642 * Region.jvm.cs: default region is infinite
1644 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
1646 * Graphics.jvm.cs: fixing clipping stuff
1648 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1650 * Bitmap.jvm.cs: fixed bitamp accessors
1651 * Image.jvm.cs: fixed image accessors
1653 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
1654 * AdvancedStroke.jvm.cs: fix matrix translate
1655 * Graphics.jvm.cs: fix matrix concatenation order
1657 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1659 * Brush.jvm.cs: added transform methods
1661 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1663 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
1664 implementing fitting, output transform
1665 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
1667 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1669 * ColorTranslator.cs: perform case insensitive check
1671 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
1673 * gdipFunctions.cs: define new functions
1674 * Bitmap.cs: fixes image loading and exceptions
1675 * Image.cs: fixes image loading and exceptions
1677 Thanks Kornél Pál for its help
1679 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1681 * Brush.jvm.cs: added brush transform field
1683 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1685 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
1687 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
1689 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
1690 Graphics.jvm.cs: adjust stroke before widening
1692 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1694 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
1697 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1699 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
1700 convert string to int before checking number of components.
1701 * RectangleConverter.cs: same.
1702 * SizeConverter.cs: same.
1704 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1706 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
1707 convert individual components. Special case string containing hex
1708 prefix. Convert components before checking count.
1710 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1712 * gdipFunctions.cs: GetIconInfo new user32 method.
1713 GdipGetDC uses IntPtr.
1715 * gdipStructs.cs: Defined IconInfo struct.
1717 * Graphics.cs: FromImage throws exception when image has an indexed format.
1720 * Icon.cs: Implemented FromHandle, Dispose.
1722 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
1724 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
1726 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1728 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
1729 Fixed SmoothingMode property
1731 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
1733 * Brushes: Do not create the objects every time that they are requested
1734 as in Pens we create and cache them only once when need it. This also
1735 fixes the Equals method between two objects requested to Brushes
1737 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
1739 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
1740 * Brush.cs Fixes Dispose to avoid non-disposing some objects
1741 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
1742 * Region.cs: Dipose always frees if the resource was allocated
1744 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1746 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1747 from gdiplus have been released
1749 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1751 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1752 * Color.cs: Fixed java NativeObject property
1753 * Image.jvm.cs: Fixed Save method
1755 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1757 * Icon.jvm.cs: match Bitmap internal constructor change
1758 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1759 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1761 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1763 * Color.cs: To match MS.NET, throw ArgumentException instead of
1764 ArgumentOutOfRangeException when color is not between 0 and 255.
1765 * RectangleConverter.cs: Take culture into account when converting
1766 to/from string. Use culture's ListSeparator as separator character.
1768 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1770 * Color.cs: Fixed line endings. Set eol-style to native.
1771 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1772 * Size.cs: Set eol-style to native.
1773 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1774 * SizeConverter.cs: Take culture into account when converting to/from
1775 string. Set eol-style to native.
1776 * Point.cs: Fixed line endings. Set eol-style to native.
1777 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1778 * PointConverter.cs: Take culture into account when converting to/from
1779 string. Set eol-style to native.
1780 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1782 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1784 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1786 * Graphics.jvm.cs: Fixed InterpolationMode property
1788 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1790 * Graphics.jvm.cs: Fixed DrawImage
1792 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1794 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1795 appears to be what MS.NET uses.
1797 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1799 * Point.cs: Use invariant culture for converting numbers to string.
1803 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1805 * Color.cs: Fixed ToString for uninitialized color.
1806 * ColorConverter.cs: Support conversion from whitespace-only string to
1807 Color.Empty. Fixed conversion from Color.Empty and known colors to
1810 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1812 * Graphics.jvm.cs: Initial properties implementation
1814 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1816 * Graphics.jvm.cs: DrawImage refactoring
1818 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1820 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1821 Added UpdateInternalTransform
1822 Fixed DrawImage, Transform, ConcatenateTransform
1824 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1826 * Icon.jvm.cs: Internal constructor from bitmap
1827 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1829 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1831 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1832 (all methods that use Graphics object)
1834 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1836 * Graphics.jvm.cs: Refactoring
1838 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1840 * Graphics.jvm.cs: Fixed Clear, Refactoring
1842 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1844 * Graphics.jvm.cs: Fixed FillClosedCurve
1846 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1848 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1849 rectangles touch each other.
1851 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1853 * Graphics.jvm.cs: Fixed DrawCurve.
1855 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1857 * StrokeFactory.jvm.cs: use correct stroke
1859 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1861 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1864 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1866 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1868 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1870 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1873 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1875 * Graphics.jvm.cs: Refactoring
1877 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1879 * Graphics.jvm.cs: Fixed DrawPolygon
1881 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1883 * Graphics.jvm.cs: Refactoring
1884 * Pen.jvm.cs: setting awt.Stroke as a base
1886 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1888 * Graphics.jvm.cs: Refactoring
1890 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1892 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1894 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1896 * Rectangle.cs: Intersect fixed
1897 * RectandleF.cs: Intersect and Inflate fixed
1899 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1901 * Point.cs: Produce same ToString result as dotnet
1903 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1905 * Color.cs: GetHashCode is affected by Name, too
1907 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1909 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1911 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1913 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1915 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1917 * SolidBrush.jvm.cs: fix a typo
1919 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1921 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1922 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1923 Font.jvm.cs: Added TARGET_JVM implementation
1925 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1927 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1929 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1931 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1933 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1935 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1937 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1939 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1941 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1943 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1945 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1947 * Color.cs: TARGET_JVM - NativeObject property
1949 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1951 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1953 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1955 * RectangleF.cs: Fixes IsEmpty logic
1957 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1959 * Graphics.cs: implements FromHwndInternal
1962 2005-06-13 Peter Bartok <pbartok@novell.com>
1964 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1965 through an intermediary step, which turns it into a 32bit version.
1968 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1970 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1971 removed some unnecessary code
1972 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1973 positions beyond the size of stream
1975 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1977 * Font.cs: fix platform checks.
1979 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1982 - Fixes is empty method IsEmpty logic
1983 - Fixes Contains method logic
1984 - Fixes IntersectsWith logic
1987 - Fixes is empty method IsEmpty logic
1988 - Fixes Contains method logic
1989 - Fixes IntersectsWith logic
1991 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1993 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1994 destructors. Some methods renamed. Removed unnecessary variables.
1996 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1998 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1999 and modified the Palette property to call them. This non-
2000 persistent behaviour was discovered by trial and error with
2001 Microsoft's implementation. In fact, the Palette property
2002 does not behave like a property at all! It is the only way an
2003 instance of System.Drawing.Imaging.ColorPalette can be created,
2004 and it reflects a backing store that is only updated when the
2005 property 'set' method is called. Also updated Clone () since
2006 the palette is no longer cached at image load time.
2007 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
2008 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
2009 As such a function is not listed in MSDN nor given in
2010 Microsoft's implementation, I have made it a private function
2011 within the class that uses it.
2013 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
2015 * Graphics.cs: Revised DrawString methods
2017 2005-03-22 Peter Bartok <pbartok@novell.com>
2019 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
2022 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
2024 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
2025 * gdipFunctions.cs: Modified conditional compilation syntax
2026 * ComIStreamWrapper.cs: Modified conditional compilation syntax
2027 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
2029 2005-05-18 Marek Safar <marek.safar@seznam.cz>
2031 * Bitmap.cs: Add null check into ctor.
2033 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
2035 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
2036 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
2037 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
2039 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
2041 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
2043 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
2045 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
2046 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
2047 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
2048 * Image.cs: uses new Win32 Stream functions when need it
2050 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
2052 * Color.cs: Fix GetSaturation() again and remove
2055 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
2057 * Color.cs: New, correct implementations for GetHue(),
2058 GetBrightness() and GetSaturation().
2060 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
2062 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
2063 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
2064 * Image.cs: Use PlatformID.Unix under NET_2_0.
2066 2005-05-05 Miguel de Icaza <miguel@novell.com>
2068 * Bitmap.cs, Icon.cs (constructor): Use
2069 GetManifestResourceStream(Type,string) in the constructor that
2072 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
2074 * PointF.cs: Make serialization compatible with MS.
2076 2005-04-10 Geoff Norton <gnorton@customerdna.com>
2080 Use CGContextSynchronize instead of CGContextFlush. This saves
2081 on average 20000 ticks per drawing operation.
2083 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
2085 * Color.cs: take into account the name color in == and != operators
2086 * Font.cs: Use Equals instead of == to compare the family name
2088 - Removes generic fontfamilies cache (done at libgdiplus level)
2089 - Fixes Equals method
2091 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2093 * Pen.cs: remove locks. They are done at gdiplus level
2094 * Brush.cs: remove locks. They are done at gdiplus level
2095 * Image.cs: remove locks. They are done at gdiplus level
2097 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
2099 * Icon.cs: Finished Icon(Type, String) ctor
2101 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
2103 * gdipFunctions.cs: fixes GdipGetImagePalette signature
2104 * Image.cs: Implements Palette property using gdiplus
2106 2005-03-17 Peter Bartok <pbartok@novell.com>
2109 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
2110 method, now includes a get header delegate
2111 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
2112 the image type even on non-seekable streams
2113 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
2114 via StreamGetHeaderImpl
2115 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
2116 the new StreamGetHeader delegate
2118 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
2120 * Pen.cs: Fixes dispose method to allow to be called multiple times
2121 * Graphics.cs: matrix are saved and restored at gdiplus level
2123 2005-02-24 Geoff Norton <gnorton@customerdna.com>
2125 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
2126 so they dont get garbage collected before use.
2128 2005-02-11 Peter Bartok <pbartok@novell.com>
2130 * gdipFunctions.cs: Fixed prototype to match previous checkin
2132 2005-02-11 Peter Bartok <pbartok@novell.com>
2134 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
2135 it really is a pointer)
2137 2005-02-10 Geoff Norton <gnorton@customerdna.com>
2139 * Icon.cs: Implement GetObjectData ()
2140 * Image.cs: Implement GetObjectData ()
2142 2005-02-09 Geoff Norton <gnorton@customerdna.com>
2144 * Icon.cs: Implement deserializer
2145 * Bitmap.cs: Implement deserializer
2147 2005-02-06 Ben Maurer <bmaurer@ximian.com>
2149 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
2151 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
2153 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
2155 2005-02-02 Jackson Harper <jackson@ximian.com>
2157 * Region.cs: The default region constructor creates and infinite
2158 region, not an empty one.
2160 2005-01-27 Peter Bartok <pbartok@novell.com>
2162 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
2163 of HSV numbers. Previous implementation returned wrong numbers and NaN
2164 on achromatic colors
2166 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
2168 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
2169 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
2170 : Implemented support for InstanceDescriptor.
2172 2005-01-26 Peter Bartok <pbartok@novell.com>
2174 * Icon.cs (ToBitmap): Now sets transparency in according to
2177 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
2179 * gdipFunctions.cs: Fixes GdipGet* function signatures
2180 * FontFamily.cs: Fixes GdipGet* function calls
2181 * Font.cs: Fixes ToString method
2183 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
2185 * Graphics.cs: calls XCloseDisplay on X11 when need it
2186 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
2188 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
2190 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
2192 2004-12-16 Peter Bartok <pbartok@novell.com>
2194 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
2195 equivalent to the gdi+ native object
2197 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
2198 equivalent to the gdi+ native object
2200 2004-12-09 Geoff Norton <gnorton@customerdna.com>
2202 * carbonFunctions.cs: New carbon functions/structures
2203 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
2205 2004-12-08 Geoff Norton <gnorton@customerdna.com>
2207 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
2208 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
2210 2004-12-07 Geoff Norton <gnorton@customerdna.com>
2212 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
2213 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
2215 2004-12-06 Miguel de Icaza <miguel@ximian.com>
2217 * FontFamily.cs: This one is static.
2219 2004-11-25 Ravindra <rkumar@novell.com>
2221 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
2222 type from int to Status type.
2224 2004-11-25 Marek Safar <marek.safar@seznam.cz>
2226 * Image.cs: Add CheckStatus to SaveAdd.
2228 2004-11-22 Ravindra <rkumar@novell.com>
2230 * Graphics.cs: Fixed null values handling in all overloads of
2231 MeasureString method.
2233 2004-11-18 Ravindra <rkumar@novell.com>
2235 * gdipFunctions.cs: Removed the .so extension from a DllImport
2238 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
2240 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
2243 2004-11-03 Miguel de Icaza <miguel@ximian.com>
2245 * TextureBrush.cs (Clone): While cloning, it is not enough to let
2246 GDIPlus clone the underlying data, we must alos clone the managed
2249 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
2250 errors in the future, set the lock on the object before doing any
2251 other tests, not after.
2253 (Clone): While cloning, it is not enough to let
2254 GDIPlus clone the underlying data, we must alos clone the managed
2257 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
2258 errors in the future.
2260 Set the lock in the object before checkign disposed.
2262 * SolidBrush.cs (Clone): While cloning, it is not enough to let
2263 GDIPlus clone the underlying data, we must alos clone the managed
2266 (Dispose): Set the nativeObject to IntPtr.Zero to catch
2267 errors in the future.
2269 2004-10-28 Ravindra <rkumar@novell.com>
2271 * gdipFunctions.cs: Added checks for null stream in the
2272 StreamHelper internal class.
2273 * Icon.cs: Removed an ugly hack that used temp files in
2274 ToBitmap () method. We use MemoryStream instead.
2276 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
2278 * Font.cs: fixes bug 66533
2280 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
2282 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
2283 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
2284 lock operations after conversation with Miguel. Do not really
2287 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
2289 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
2291 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
2293 * Bitmap.cs: Fixes MakeTransparent method
2295 2004-10-13 Ravindra <rkumar@novell.com>
2297 * Graphics.cs: Moved the initialization of 'use_x_drawable'
2298 member out of private constructor to class initialization.
2299 So that, we get it right even if Graphics is not instantiated.
2300 This fixes the problem we face (otherwise) when we make first
2301 call to Graphics.FromHwnd () method.
2303 2004-10-08 Ravindra <rkumar@novell.com>
2305 * Image.cs: Suppress finalization in Dispose () method.
2307 2004-10-04 Ravindra <rkumar@novell.com>
2309 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
2311 2004-09-29 Jackson Harper <jackson@ximian.com>
2313 * Graphics.cs: Use FromHdcInternal to set the X display
2314 handle. Add a flag to check if we are on unix so we aren't calling
2315 Environment.OSVersion.Platform all the time. Mad props to Peter
2318 2004-09-17 Marek Safar <marek.safar@seznam.cz>
2320 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
2321 ToLogFont: Implemented.
2323 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
2325 GdipCreateFontFromLogfontA: A new extern call.
2327 2004-09-13 Ravindra <rkumar@novell.com>
2329 * Graphics.cs: MSDN says that using image width and height gives
2330 better performance, hence we are using image width and height to
2331 avoid autoscaling in DrawImageUnscaled.
2333 2004-09-10 Ravindra <rkumar@novell.com>
2335 * Graphics.cs: Implemented DrawIcon methods and fixed
2336 DrawImageUnscaled method implementation.
2338 2004-08-21 Jackson Harper <jackson@ximian.com>
2340 * ImageAnimator.cs: Run animator as a background thread so we do
2343 2004-08-21 Ravindra <rkumar@novell.com>
2345 * gdipFunctions.cs: Modified exception message to include the case
2346 of missing required libraries for different formats.
2348 2004-08-10 Jackson Harper <jackson@ximian.com>
2350 * SystemColors.cs: Make Highlight colour match colour from windows
2351 classic color scheme.
2353 2004-07-30 Ravindra <rkumar@novell.com>
2355 * Font.cs: Fixed Height property implementation and implemented
2356 GetHeight method and its overloads.
2358 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
2360 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
2361 P/Invoke function for Image.
2362 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
2364 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
2366 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
2367 GdipGetAllPropertyItems P/Invoke function for Image.
2368 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
2369 * Image.cs: Corrected implementation of PropertyItems property.
2371 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
2373 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
2374 P/Invoke function for Image.
2375 * Image.cs: Changed implementation of PropertyIdList property.
2377 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
2379 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
2380 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
2382 2004-07-21 Ravindra <rkumar@novell.com>
2384 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
2385 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
2387 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
2389 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
2390 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
2391 * gdipFunctions.cs: new GDI function calls
2393 2004-07-16 Ravindra <rkumar@novell.com>
2395 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
2397 2004-07-15 Ravindra <rkumar@novell.com>
2399 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
2401 2004-07-13 Ravindra <rkumar@novell.com>
2403 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
2404 This was redundant. It was kept in previous checkin to avoid
2407 2004-07-13 Ravindra <rkumar@novell.com>
2409 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
2411 2004-07-09 Peter Bartok <pbartok@novell.com>
2412 * Graphics.cs: Added support required for new managed SWF library
2413 * gdipFunctions.cs: Added XOpenDisplay definition/import
2415 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
2417 * gdipFunctions.cs: fixes bug 61050
2419 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
2421 * ImageAnimator.cs: Rewrote complete implementation.
2423 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
2425 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
2426 If read function was called after seek function call, the
2427 implementation was returning data from bytes already peeked and
2428 not from the new position in stream, which we have seeked.
2430 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
2432 * Graphics.cs: added MeasureString wrappers
2434 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
2436 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
2438 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
2440 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
2442 2004-06-18 Ravindra <rkumar@novell.com>
2444 * FontConverter.cs: Implemented the missing functions.
2445 * Font.cs: Added some notes.
2447 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
2449 * gdipFunctions.cs: Modified Function signature for
2450 GdipSaveImageToDelegate_linux() method for saving tiff images
2452 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
2455 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
2457 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
2458 and Size, required by TIFFCodec. Modifed Function signature for
2459 GdipLoadImageFromDelegate_linux() method.
2460 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
2463 2004-06-11 Ravindra <rkumar@novell.com>
2465 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
2466 from out int to out IntPtr.
2467 * SolidBrush.cs: Same.
2469 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
2471 * Image.cs: API signature fixes, meaning DisposeResources is now
2472 private and marked InitFromStream internal
2474 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2476 * FontFamily.cs: simplifies object destruction and fixes
2478 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2480 * FontFamily.cs: added destructor
2481 * Graphics.cs: added destructor to stop leaking, remove debugging code
2484 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2486 * gdipFunctions.cs: added GdipSaveAddImage
2487 * Image.cs: added SaveAdd methods
2489 2004-06-02 Peter Bartok <pbartok@novell.com>
2490 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
2491 (This fixes bug #59479)
2493 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
2495 * Font.cs: Added missing Browsable attribute on SizeInPoints.
2496 * Region.cs: Removed extra ComVisible attribute from Clone().
2498 2004-06-01 Ravindra <rkumar@novell.com>
2500 * Pen.cs: Added a note on Dispose method.
2501 * Brush.cs: Fixed Dispose method.
2502 * SolidBrush.cs: Fixed Dispose method.
2504 2004-05-28 Ravindra <rkumar@novell.com>
2506 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
2508 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
2509 rectangles implementation (This is basically done to avoid lots
2510 of brush and pen setup happening in libgdiplus.)
2512 2004-05-27 Ravindra <rkumar@novell.com>
2514 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
2516 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
2518 * ImageFormatConverter.cs: Fixed issues discovered from nunit
2521 2004-05-26 Ravindra <rkumar@novell.com>
2523 * Color.cs: Corrected Color.Green property.
2525 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
2526 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
2528 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
2530 * Icon.cs: Fixed issue with size property.
2532 2004-05-18 Ravindra <rkumar@novell.com>
2534 * Pen.cs: Added value checks in DashPattern and CompoundArray
2537 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
2539 * Graphics.cs: fixed warning
2540 * ImageAnimator.cs: fixed warning
2541 * FontConverter.cs: fixed public API
2543 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
2545 * gdipFunctions.cs: Fixed prototype for
2546 GdipGetEncoderParameterList
2548 * Image.cs: Reworked Save functions to handle EncoderParameters.
2549 Implemented GetEncoderParameterList
2550 Also removed unused setGDIPalette internal method.
2552 2004-05-14 Peter Bartok <pbartok@novell.com>
2553 * StringFormat.cs: Added CharacterRange handling
2554 * Graphics.cs: Implemented MeasureCharacterRanges method
2556 2004-05-14 Peter Bartok <pbartok@novell.com>
2557 * Graphics.cs: Added error check
2559 2004-05-14 Duncan Mak <duncan@ximian.com>
2560 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
2561 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
2562 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
2564 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
2565 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
2567 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2568 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
2570 2004-05-13 Peter Bartok <pbartok@novell.com>
2571 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
2574 2004-05-12 Peter Bartok <pbartok@novell.com>
2575 * Image.cs: Implemented GetThumbnailImage
2577 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2578 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
2579 FromXDrawable(IntPtr, IntPtr) internal.
2581 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2582 * Color.cs: work for API compatibilty: private date, todos
2583 * Font.cs: work for API compatibilty: private date, todos
2584 * FontFamily.cs: work for API compatibilty: private date, todos
2585 * Graphics.cs: work for API compatibilty: private date, todos
2586 * Icon.cs: work for API compatibilty: private date, todos
2587 * Image.cs: work for API compatibilty: private date, todos
2588 * ImageAnimator.cs: work for API compatibilty: private date, todos
2589 * Point.cs: work for API compatibilty: private date, todos
2590 * PointF.cs: work for API compatibilty: private date, todos
2591 * Rectangle.cs: work for API compatibilty: private date, todos
2592 * RectangleF.cs: work for API compatibilty: private date, todos
2593 * Region.cs: work for API compatibilty: private date, todos
2594 * Size.cs: work for API compatibilty: private date, todos
2595 * SizeF.cs: work for API compatibilty: private date, todos
2596 * SolidBrush.cs: work for API compatibilty: private date, todos
2597 * StringFormat.cs: work for API compatibilty: private date, todos
2598 * SystemPens.cs: work for API compatibilty: private date, todos
2599 * TextureBrush.cs: work for API compatibilty: private date, todos
2600 * gdipStructs.cs: work for API compatibilty: private date, todos
2602 2004-05-12 Ravindra <rkumar@novell.com>
2604 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
2605 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
2606 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
2607 Added missing attributes and some coding style fixes.
2608 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
2611 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
2613 * ImageAnimator.cs: Implemented first version.
2615 2004-05-11 Ravindra <rkumar@novell.com>
2617 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
2620 2004-05-10 Ravindra <rkumar@novell.com>
2622 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
2623 for the same. Added few related P/Invokes for Pen also.
2625 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
2627 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
2629 2004-05-06 Ravindra <rkumar@novell.com>
2631 * RectangleConverter.cs: Implemented GetProperties () method.
2632 * SizeConverter.cs: Implemented GetProperties () method.
2633 * PointConverter.cs: Implemented GetProperties () method.
2634 * FontConverter.cs: Implemented some of the methods.
2636 2004-05-06 Ravindra <rkumar@novell.com>
2638 * Color.cs: Fixed Name property.
2639 * ColorTranslator.cs: Fixed the existing methods and implemented
2640 the missing methods.
2641 * ColorConverter.cs: Fixed the existing methods and implemented
2642 the missing methods. Also, fixed coding style.
2644 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2645 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
2647 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2648 * Image.cs: raw_format should be handled by GDI+
2649 * Bitmap.cs: raw_format should be handled by GDI+
2651 2004-05-04 Ravindra <rkumar@novell.com>
2653 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
2654 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
2655 properties and SetLineCap method. In constructors use IntPtr instead
2657 * SolidBrush.cs: Modified exception message.
2658 * TextureBrush.cs: Fixed Transform property.
2659 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
2660 LinearGradientBrush.cs.
2662 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2664 * Image.cs: Implemented FrameDimensionsList property.
2666 2004-04-30 Ravindra <rkumar@novell.com>
2668 * gdipFunctions.cs: Added few more P/Invoke calls for
2669 lineargradient brush and added one case statement in
2672 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
2674 * Image.cs: takes into account MemoryBmp format when saving
2676 2004-04-30 Ravindra <rkumar@novell.com>
2678 * StringFormat.cs: Added checks for status.
2680 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2682 * Image.cs: Removed calls which passes byte[] for Guid parameter.
2683 * gdipFunctions.cs: Removed unwanted unix specific function calls.
2685 2004-04-30 Ravindra <rkumar@novell.com>
2687 * Graphics.cs: Added checks for status.
2688 * Image.cs: Added a check for status.
2689 * FontFamily.cs: Added checks for status.
2691 2004-04-29 Peter Bartok <pbartok@novell.com>
2693 * Brushes.cs: Fixed bug #52695. No longer creates a new
2694 brush for every request and behaves Microsoft compatible
2696 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
2698 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
2699 its ClsID instead of the formatID (as GDI+ expects)
2701 2004-04-29 Ravindra <rkumar@novell.com>
2703 * Font.cs: Added checks for status.
2704 * Bitmap.cs: Added checks for status.
2705 * Pen.cs: Added checks for status.
2707 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2709 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
2710 Converted to unix format from dos format.
2712 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2714 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
2716 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
2718 * gdipStructs.cs: added GdipImageCodecInfo struct
2720 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2722 * ImageFormatConverter.cs: Corrected ConvertFrom method.
2724 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2726 * ImageConverter.cs: Added exception message.
2727 * IconConverter.cs: Added exception message.
2728 * ImageFormatConverter.cs: Implemented first version.
2730 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2732 * ImageConverter.cs: Implemented first version.
2734 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2736 * IconConverter.cs: Implemented first version.
2738 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
2740 * Image.cs: Corrected implementation of Property RawFormat.
2741 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2743 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2745 * Bitmap.cs: Resolved a compile time error.
2746 * Image.cs: Changed the implementation of few methods to progress
2747 with ImageAnimator class.
2748 * gdipFunctions.cs: Added few linux only function calls.
2749 * Icon.cs: Removed unused variable from code.
2751 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2753 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2755 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2757 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2758 serialization for Bitmaps. (Bugzilla #52568)
2760 2004-04-23 Ravindra <rkumar@novell.com>
2762 * RectangleConverter.cs: Fixed ConvertTo () method.
2763 * SizeConverter.cs: Fixed ConvertTo () method.
2764 * PointConverter.cs: Fixed ConvertTo () method.
2766 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2767 * ImageAnimator.cs: Implemented CanAnimate() method.
2769 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2770 * Image.cs: added RotateFlip and RemovePropertyItem calls
2772 2004-04-22 Ravindra <rkumar@novell.com>
2774 * RectangleConverter.cs: Implemented. Also changed file format
2776 * Rectangle.cs: Fixed ToString method.
2777 * RectangleF.cs: Fixed ToString method.
2779 2004-04-22 Ravindra <rkumar@novell.com>
2781 * SizeConverter.cs: Implemented some of the functions.
2782 * PointConveter.cs: Implemented.
2783 * gdipFunctions.cs: Corrected one typo.
2784 * Brushes.cs: Added a comment.
2786 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2788 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2789 returning portions of the peek buffer back. Fixes #57379.
2791 2004-04-21 Peter Bartok <pbartok@novell.com>
2792 * Font.cs: Implemented Font.FromHfont method
2793 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2794 * gdipFunctions.cs: Added imports for functions required to support
2795 Font.FromHfont method
2797 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2798 * RectangleConverter.cs: stubbed out
2799 * Font.cs : added missing members
2801 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2802 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2804 2004-04-16 Ravindra <rkumar@novell.com>
2806 * Pen.cs: GC should be allowed to collect any pen including
2808 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2809 including system brushes.
2810 * Brushes.cs: Coding style.
2811 * Pens.cs: Objects created by Pens are not modifiable on
2812 MS.NET, so we are now. Also, coding style fixes.
2813 * SystemPens.cs: Removed static constructor and changed file
2815 * SystemBrushes.cs: Some cosmetic changes.
2817 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2818 * Icon.cs: Implemented more missing bits and fixed the problem
2819 of icon not getting saved in proper format
2821 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2822 * Icon.cs: Implemented more missing bits
2824 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2825 * Icon.cs: Implemented few more missing bits
2827 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2828 * Icon.cs: Implemented first version
2830 2004-04-11 Peter Bartok <pbartok@novell.com>
2831 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2832 the code and using our own private gdiplus function when on Unix and using Win32
2833 functions when running on Windows
2834 * gdipStructs.cs: Added LOGFONTA structure
2835 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2837 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2839 * Image.cs: Save should use encoder.FormatID, not Clsid
2841 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2842 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2843 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2845 2004-04-06 Duncan Mak <duncan@ximian.com>
2847 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2849 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2850 * Region.cs: fixes GetRegionScans
2851 * gdipFunctions.cs: fixes GetRegionScans
2853 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2855 * gdipFunctions.cs: Added stream delegate helpers for
2856 stream loading/saving on linux
2858 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2859 loading/saving image data.
2861 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2862 * Region.cs: implemented new methods
2863 * Graphics.cs: implemented new methods
2865 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2866 * Region.cs: implemented
2868 2004-04-01 Duncan Mak <duncan@ximian.com>
2870 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2872 * gdipFunctions.cs (GdipAddPathCurveI):
2873 (GdipAddPathCurve2, GdipAddPathCurve2I):
2874 (GdipAddPathCurve3, GdipAddPathCurve3I):
2875 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2876 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2879 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2880 * Image.cs: implemented a few GDI+ wrapper calls
2882 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2883 * Bitmap.cs: remove redundant data already present at Image.cs
2884 * Image.cs: use GDI+ functions to get image details
2885 * StringFormat.cs: missing constructor and property
2887 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2888 * FontFamily.cs: added missing members and style clean
2889 * Graphics.cs: fixed signature of DrawArc and DrawPie
2890 * Image.cs: added missing members, fixes
2891 * StringFormat.cs: missing constructor and property
2893 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2894 * Graphics.cs: Added missing DrawImage GDI+ calls
2895 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2897 2004-03-23 Ravindra <rkumar@novell.com>
2898 * gdipFunctions.cs: Added few more P/Invoke calls for
2899 LinearGradientBrush.
2901 2004-03-22 Ravindra <rkumar@novell.com>
2902 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2903 and did few coding style fixes.
2905 2004-03-18 Ravindra <rkumar@novell.com>
2906 * Brush.cs: Fixed Dispose method.
2907 * SolidBrush.cs: Fixed clone method.
2908 * TextureBrush.cs: Fixed clone method.
2909 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2911 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2913 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2915 2004-03-10 Ravindra <rkumar@novell.com>
2916 * Pen.cs: Implemented PenType property.
2917 * Brush.cs: Coding style.
2919 2004-03-06 Ravindra <rkumar@novell.com>
2920 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2921 for PathGradientBrush.
2923 2004-03-06 Ravindra <rkumar@novell.com>
2924 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2927 2004-03-04 Duncan Mak <duncan@ximian.com>
2929 * Region.cs: Indentation.
2931 * RectangleF.cs: Changed the internal structure from a PointF,
2932 SizeF to floats in order to match the layout from the C API.
2934 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2935 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2937 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2938 * gdipFunctions.cs: Added functions for ImageAttributes
2940 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2941 * Icon.cs: Missing function stubs added
2942 * Icon.cs: Missing function stubs added
2943 * IconConverter.cs: Missing function stubs added
2944 * ImageAnimator.cs: Missing function stubs added
2945 * ImageConverter.cs: Missing function stubs added
2946 * ImageFormatConverter.cs: Missing function stubs added
2948 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2949 * Font.cs: Allow multiple styles
2951 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2952 * StringFormat.cs: Clone method
2954 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2955 * font.cs: fixes, Clone, and ToString
2957 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2958 * gdipFunctions.cs: MeasureString
2959 * Graphics.cs : MeasureString
2961 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2962 * Font.cs: destructor and unit conversion
2963 * Graphics.cs : system dpi support
2965 2004-02-13 Ravindra <rkumar@novell.com>
2966 * Pen.cs: Fixed some bugs.
2967 * TextureBrush.cs: Fixed some bugs.
2969 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2970 * gdipFunctions.cs: Added ImageCodecInfo functions
2971 * Image.cs: Added few methods
2973 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2974 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2976 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2977 * gdipFunctions.cs: Added Image class functions
2978 * Image.cs: Added few methods
2980 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2981 * graphics.cs: fixes parameters for DrawStrings functions
2983 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2985 * SRDescriptionAttribute.cs: Added and implemented
2986 * ToolboxBitmapAttribute.cs: Implemented a few members
2987 * SystemIcons.cs: Stubbed
2988 * StringFormat.cs: Implemented method
2989 * Region.cs: Added Todo, fixed attribute
2990 * Size.cs: Added attribute
2991 * SizeF.cs: Added attribute
2992 * RectangleF.cs: Added attributes
2993 * Rectangle.cs: Added attributes
2994 * PointF.cs: Added attribute
2995 * Point.cs: Added attribute
2997 2004-02-06 Ravindra <rkumar@novell.com>
2999 * Brush.cs: Renamed GetException method to CheckStatus
3000 and moved it to gdipFunctions.cs.
3001 * gdipFunctions.cs: Added CheckStatus method.
3002 * SolidBrush.cs: Using CheckStatus method.
3003 * TextureBrush.cs: Using CheckStatus method.
3004 * gdipEnums.cs: Added a missing value.
3006 2004-02-05 Ravindra <rkumar@novell.com>
3008 * Brush.cs: Added a missing namespace.
3010 2004-02-05 Ravindra <rkumar@novell.com>
3012 * gdipFunctions.cs: Added methods for HatchBrush and
3014 * SolidBrush.cs: Added checks for status.
3015 * Brush.cs: Added support for HatchBrush and TextureBrush
3016 types in internal CreateBrush() method.
3018 2004-02-03 Jordi Mas <jordi@ximian.com>
3019 * Font.cs: Setup font properties
3021 2004-02-03 Ravindra <rkumar@novell.com>
3023 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
3024 method from TextureBrush.cs to Brush.cs.
3025 * Brush.cs: Made GetException (Status) method internal.
3027 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
3029 * gdipFunctions.cs: Added methods for Image class.
3031 2004-01-30 Ravindra <rkumar@novell.com>
3033 * TextureBrush.cs: Added more methods to complete it.
3034 * gdipFunctions.cs: Added methods for TextureBrush class.
3036 2004-01-30 Ravindra <rkumar@novell.com>
3038 * gdipFunctions.cs: Added methods for TextureBrush class.
3040 2004-01-30 Ravindra <rkumar@novell.com>
3042 * Pen.cs: Modified to handle TextureBrush also.
3043 * Bitmap.cs: Added one internal constructor.
3044 * TextureBrush.cs: Implemented.
3046 2004-01-29 Duncan Mak <duncan@ximian.com>
3049 * Graphics.cs: Indentation fixes, removed long dangling lines and
3052 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
3055 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
3057 * FontFamily.cs: Implemented few methods and a constructor
3059 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
3061 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
3062 * FontFamily.cs: Implemented missing functionalities.
3064 2004-01-24 Duncan Mak <duncan@ximian.com>
3066 * Graphics.cs (DrawPath): Implemented.
3068 2004-01-23 Ravindra <rkumar@novell.com>
3070 * Point.cs: ToString modified.
3071 * PointF.cs: ToString modified.
3072 * Size.cs: ToString modified.
3073 * SizeF.cs: ToString modified. ToPoint and ToSize methods
3076 2004-01-21 Jordi Mas i Hernàndez
3077 * Bitmap.cs: Several new methods added.
3079 2004-01-21 Duncan Mak <duncan@ximian.com>
3081 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
3082 OutAttribute to the array argument. This fixes the PathPoints
3083 property in System.Drawing.Drawing2D.GraphicsPath.
3085 2004-01-20 Ravindra <rkumar@novell.com>
3087 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
3088 this property was hanging and getting was throwing a NullRef
3089 Exception. Earlier we were passing Matrix object to and fro
3090 which was causing the problem. Now, we are using IntPtr.
3091 Thanks to Duncan for helping me.
3092 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
3093 together. If color is set, a SolidBrush automatically gets
3094 set with the same color, Pen loses the old brush object.
3095 If a SolidBrush is set, Pen.Color gets the value same as that
3096 of brush color losing the old value. Pen shows this behavior
3098 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
3099 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
3101 2004-01-19 Duncan Mak <duncan@ximian.com>
3103 * gdipFunctions.cs: Import functions for GraphicsPath.
3105 2004-01-14 Ravindra <rkumar@novell.com>
3107 * SolidBrush.cs: Made SolidBrush to initialize its color
3110 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
3112 2004-01-11 Duncan Mak <duncan@ximian.com>
3114 * Bitmap.cs (LockBits):
3115 * Graphics.cs (DrawString): Removed reference to GpRectF.
3117 2004-01-09 Duncan Mak <duncan@ximian.com>
3119 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
3120 Removed. Didn't know that structs are laid out sequentially by
3121 default. We don't need these anymore.
3123 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
3125 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
3127 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
3129 * Graphics.cs: fix compile error on Windows builds for out
3130 parameter state in call to GdipSaveGraphics
3132 2004-01-10 Ravindra <rkumar@novell.com>
3134 * All Enums: Made serializable.
3136 * Image.cs: Corrected signature of Dispose(bool) method.
3138 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
3139 Corrected coding style mistakes of my previous commit.
3141 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
3143 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
3145 * StringFormat.cs: Inherits MarshalByRefObject.
3147 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
3149 2004-01-08 Ravindra <rkumar@novell.com>
3151 * Pen.cs: Added isModifiable (bool) variable. It is required to
3152 make Pens created by SystemPens.cs unmodifiable. All property
3153 setters are modified for this.
3155 * SolidBrush.cs: Added isModifiable variable (bool). It is
3156 required to make Brushes created by SystemBrushes.cs unmodifiable.
3157 All property setters are modified for this.
3159 * SystemBrushes.cs: Modified all the properties as per the .NET
3160 specs, so that Brushes are not created every time. Also, missing
3161 properties are added.
3163 * SystemPens.cs: Modified all the properties as per the .NET
3164 specs, so that Brushes are not created every time. Also, missing
3165 properties are added.
3167 2003-12-12 Miguel de Icaza <miguel@ximian.com>
3169 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
3172 2004-01-06 Duncan Mak <duncan@ximian.com>
3174 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
3176 2003-12-21 Duncan Mak <duncan@ximian.com>
3178 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
3179 up to the GDI+ implementation.
3180 (RotateTransform): Uncommented.
3182 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
3185 2003-12-13 Todd Berman <tberman@sevenl.net>
3187 * Font.cs: Implementing a couple things for porting purposes
3188 * SystemBrushes.cs: ^
3189 * StringFormat.cs: ^^
3191 2003-11-28 Duncan Mak <duncan@ximian.com>
3193 * Pen.cs (CompoundArray): Hide this for now.
3195 2003-11-28 Duncan Mak <duncan@ximian.com>
3197 * Brush.cs (CreateBrush): new internal factory method for creating
3198 specific brushes based on the internal (GDI+ C API) BrushType
3200 (Brush (IntPtr)): new internal constructor.
3202 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
3204 (Pen (IntPtr)): new internal constructor.
3205 (Pen (Brush, float)): Use GdipCreateBrush2.
3206 (Clone): Implemented using GdipClonePen.
3207 (Alignment, Brush, Color, Width): Use GDI+ implementations
3209 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
3210 Implemented these properties.
3211 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
3212 (MultiplyTransform, ResetTransform, RotateTransform):
3213 (ScaleTransform, TranslateTransform): Implemented these methods.
3215 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
3217 * gdipEnums.cs (BrushType): Added new GDI+ enum.
3219 * gdipFunctions.cs: Imported new Brush and Pen functions.
3221 2003-11-22 Duncan Mak <duncan@ximian.com>
3224 (GdipResetWorldTransform, GdipSetWorldTransform):
3225 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
3227 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
3228 (transform): Removed this field. Always use the
3229 matrix associated in the GpGraphics ptr.
3230 (DrawBeziers): Implemented.
3231 (DrawLine): Don't need to manually invoke the transform now.
3232 (MultiplyTransform, ResetTransform):
3233 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
3234 (Transform): Instead of storing a Matrix in managed code, use
3235 equivalent GDI+ functions.
3237 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3239 * SizeConverter.cs: fixed class signature and implemented some methods.
3241 2003-11-17 Duncan Mak <duncan@ximian.com>
3243 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
3245 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
3247 2003-11-17 Duncan Mak <duncan@ximian.com>
3249 * Bitmap.cs (LockBits):
3250 * Graphics.cs (DrawString): Use GpRectF.
3252 * gdipFunctions.cs: Updated method signatures.
3254 * Graphics.cs (MultiplyTransform): Implemented using
3255 GdipMultiplyWorldTransform from GDI+.
3257 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
3258 GpRect, to be more consistent with the C naming.
3260 2003-11-16 Miguel de Icaza <miguel@ximian.com>
3262 * Graphics.cs: Implement the other DrawString overloads .
3264 2003-11-16 Miguel de Icaza <miguel@ximian.com>
3266 * gdipStructs.cs (GdipRectF): Added utility constructor
3268 2003-11-15 Duncan Mak <duncan@ximian.com>
3270 * gdipFunctions.cs: Imported matrix functions.
3272 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3274 * Bitmap.cs: Added Attributes
3275 * ColorTranslator.cs: Added private constructor
3276 * Font.cs: Added Attributes
3277 * FontFamily.cs: sealed
3278 * Icon.cs: Added Attributes
3279 * IconConverter.cs: Fixed signature
3280 * Image.cs: Added attributes
3282 * ImageConverter.cs:
3283 * ImageFormatConverter.cs:
3290 * TextureBrush.cs: Fixed signature
3291 * Color.cs: Added attributes
3296 * SizeF.cs: Added attributes
3297 * ContentAlignment.cs: Added attribute
3299 2003-11-13 Duncan Mak <duncan@ximian.com>
3301 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
3304 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
3305 (GdipSetPenLineJoin, GdipGetPenLineJoin):
3306 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
3308 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
3310 * gdipFunctions.cs copy image in Bitmap constructor
3312 2003-11-06 Duncan Mak <duncan@ximian.com>
3313 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
3314 angle parameters for the integer case.
3315 (DrawBezier): Hook it up with GdipDrawBezier.
3316 (DrawEllipse): Fix Width, Height ordering.
3318 2003-11-05 Duncan Mak <duncan@ximian.com>
3320 * Graphics.cs (DrawPie):
3321 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
3324 2003-10-28 Duncan Mak <duncan@ximian.com>
3326 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
3327 (FillEllipse, FillPolygon): implemented.
3328 (RenderingOrigin): implemented.
3330 * gdipFunctions.cs: Added new GDI+ equivalents.
3332 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
3334 * Image.cs small fixes
3336 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3338 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
3340 2003-10-24 Miguel de Icaza <miguel@ximian.com>
3342 * SystemBrushes.cs: Some more brushe3s.
3344 * SystemPens.cs: More pens.
3346 * Pen.cs: Implement IDisposable, ICloneable.
3348 * Region.cs: Add some more stubs here.
3350 * StringFormat.cs: Add some more code here.
3352 2003-10-23 Miguel de Icaza <miguel@ximian.com>
3354 * Image.cs: Kill the InternalImageInfo, everything is now done in
3355 terms of Image and BitmapData.
3357 * Rectangle.cs: Make this one also sequential, change from using
3358 Point + Size to use x, y, width, height; So we can use GdiPlus.
3360 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
3361 BitmapData class argument, and instead use the [In,Out]
3362 attributes, which will do struct marshalling on the fields. Now
3363 we can use C#'s BitmapData directly to talk to Gdiplus.
3365 * gdipStructs.cs: Every internal structure that has to talk to
3366 Gdi+ is properly prefixed, to minimize the confussion.
3368 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
3369 Compute the stride here where we have the BPP information,
3370 allocate a buffer of the proper size, and pass this to
3371 GdipCreateBitmapFromScan0
3373 * Image.cs: Implement Dispose pattern.
3375 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
3378 * gdipStructs.cs DrawString function added
3380 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
3383 * gdipStructs.cs added
3386 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
3395 implementation changed to gdi+
3397 2003-09-08 Duncan Mak <duncan@ximian.com>
3399 * Factories.cs (DefaultImplementationNamespace): Change it from
3400 "XrImpl" to "Cairo".
3402 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3404 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
3407 2003-08-08 Duncan Mak <duncan@ximian.com>
3409 * Graphics.cs (DrawBezier): Fixed.
3411 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
3412 * Graphics.cs delegate Dispose to implementation
3414 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3416 * FontConverter.cs: stub it out so that system.web compiles.
3418 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
3419 * Image.cs InternalImageInfo class improved
3421 2003-07-23 Miguel de Icaza <miguel@ximian.com>
3423 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
3424 is set, default to Win32Impl
3426 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
3427 * Image.cs implementation added
3429 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3431 * Icon.cs: Stubed out (fix for System.Drawing.Design)
3433 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3435 * StringFormat.cs: Changes to become CLS-compliant
3437 2003-07-14 Miguel de Icaza <miguel@ximian.com>
3439 * Factories.cs: Remove debugging message.
3441 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
3442 * Color.cs code generation program modified
3444 2003-06-29 Alexandre Pigolkine
3445 * Graphics.cs image drawing
3447 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
3450 supply KnowColor enum value to save Enum.Parse at runtime
3452 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
3453 * Graphics.cs coordinate transformations
3454 * Image.cs small fix
3456 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
3458 * FontFamily.cs more implementation
3460 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
3462 * FontFamily.cs more implementation
3464 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
3465 * Graphics.cs few more calls to implementation
3467 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
3468 * Bitmap.cs BITMAP declaration removed
3469 * Graphics.cs few more calls to implementation
3470 * Image.cs InternalImageInfo structure, image read/write functions
3473 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
3474 * Factories.cs analyse environment variable and machine.config to select implementation
3475 * Image.cs PixelFormat property added
3477 2003-04-30 Nick Drochak <ndrochak@gol.com>
3479 * Factories.cs: Change weird characters that broke build on windows.
3481 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3483 * ColorConverter.cs:
3484 (ConvertFrom): return a system or named color if there's one that fits
3485 teh values parsed with Color.FromArgb.
3487 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
3497 delegate function calls to implementation
3499 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
3503 * SystemBrushes.cs switch to Linux style line terminators
3505 2003-03-29 Alan Tam <Tam@SiuLung.com>
3506 * ToolboxBitmapAttribute
3507 stubbed more constructors and fixed base class
3509 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
3511 added stubs to compile SWF
3514 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
3519 small changes to be able to run SWF apps
3521 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3523 * Graphics.cs: stubbed out all the methods.
3525 2003-02-08 Piers Haken <piersh@friskit.com>
3527 * fixed case of pens.cs and font.cs
3529 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
3536 2002-11-21 Dennis Hayes (dennish@raytek.com)
3537 * checkin for Matt Stump (mstump@swfo.arizona.edu)
3541 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
3543 * ColorTranslator.cs (FromHtml): Implement.
3545 2002-10-14 Dennis Hayes (dennish@raytek.com)
3547 * changed using namespace from Drawing2d to Drawing2D
3549 2002-9-15 Asier Llano <asierllano@infonegocio.com>
3551 * Fixes the enum values in the following enums
3552 * ContentAlignment.cs:
3556 * RotateFlipType.cs:
3557 * StringAligment.cs:
3558 * StringDigitSubstitute.cs:
3559 * StringFormatFlags.cs:
3560 * StringTrimming.cs:
3562 * SolidBrush.cs: Easy implementation
3563 * Brushes.cs: Implementation based on SolidBrush and Color class.
3564 * Brush.cs: Fixes based on the status web).
3565 * CharacterRange.cs: Implemented the missing Lenth property.
3567 2002-9-14 Dennis Hayes (dennish@raytek.com)
3570 * removed personal template that should not have been checked in
3572 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3574 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
3577 2002-9-14 DennisHayes <dennish@raytek.com>
3585 * ImageFormatConverter.cs
3587 * RectangleConverter.cs
3596 * ToolboxBitmapAttribute.cs
3597 * Added null classes for most/all classes, Many stubs, and some implmentation
3599 2002-9-2 DennisHayes <dennish@raytek.com>
3606 * Added stubs, implmentation
3608 2002-9-2 DennisHayes <dennish@raytek.com>
3610 * Brushes.cs : stubbed, added colors. Not sure how to implement,
3611 but this should at least save someone some typing.
3612 * CharacterRange.cs :Implmented
3613 * Region.cs : stub needed for system.windows.forms
3615 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3617 * ColorTranslator.cs: use Color.Name.
3619 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3621 * Color.cs: implemented SystemColors and NamedColors properties that
3622 are used by ColorConverter, removed public constructor, use
3623 SystemColors, and misc. fixes to make it behave as MS (ToString,
3624 parsing names, FromKnownColor,...).
3626 * ColorConverter.cs: use NamedColors and SystemColors from Color when
3627 trying to get the color from its name.
3629 * SystemColors.cs: new file.
3631 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3633 * Color.cs: changed static properties to use FromArgbNamed. Also
3634 modified the program included in comments that get the values for
3637 (FromArgbNamed): build named colors.
3638 (FromKnownColor): fixed.
3639 (FromName): use a hash to look up colors by name.
3640 (FillColorNames): create the hash of colors.
3641 (Equals): compare values and name.
3642 (ToString): improved.
3644 * ColorTranslator.cs: implemented ToHtml.
3646 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3648 * Color.cs: added TypeConverter attribute.
3650 * ColorConverter.cs: added constructor.
3652 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3654 * ColorConverter.cs: implemented minimal set of features needed by xsp.
3656 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
3658 * Bitmap.cs : using System.IO
3659 * ColorTranslator.cs : Stubbed off build breakers.
3660 * Image.cs : Stub off IDisposable and ICloneable.
3662 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
3664 * Bitmap.cs: Ximian is the new copyright holder now.
3667 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3669 * Uppercased several files.
3671 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3673 * color.cs: Fixed a typo in GetSaturation ().
3675 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
3677 * Bitmap.cs: Added method headers.
3679 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
3681 * Bitmap.cs: Added, no implementation's done, yet.
3683 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3685 * Rectangle.cs : Add a doc comment.
3686 * RectangleF.cs : New struct implementation.
3688 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3690 * Rectangle.cs : New struct implementation.
3692 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
3694 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
3696 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
3698 * Point.cs : New. Implementation of System.Drawing.Point struct.