1 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
3 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
6 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
8 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
9 add the same checking for other resource release GDI API calls.
11 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
13 * StringFormat.cs: Add missing validations.
15 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
17 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
19 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
21 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
22 allocations before checking for quick exit case (null/String.Empty
23 text or throwing execptions).
25 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
27 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
28 and not to "return new NotSupportedException", throwing them is better
30 2006-09-07 Kornél Pál <kornelpal@gmail.com>
32 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
33 on shutdown. Dispose unmanaged resources when constructor fails.
35 2006-09-06 Kornél Pál <kornelpal@gmail.com>
37 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
38 destructor because it is freed using Release. (Proper fix for bug
39 #78315.) Free COM vtable when unloading and all objects Released.
41 2006-09-06 Jonathan Chambers <joncham@gmail.com>
43 * ComIStreamMarshaler.cs: Only deallocate memory
44 for COM wrapper if not shutting down. #78315
46 2006-09-04 Jonathan Chambers <joncham@gmail.com>
48 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
49 allocated for vtable. If this finalizer runs before all clients
50 are done with it (Image(s) in this case) we crash on windows. #78315
52 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
54 * Bitmap.cs: Fix exceptions for LockBits.
56 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
58 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
59 original exception). Found with Gendarme.
60 * Color.cs: Remove the double-check lock. Found with Gendarme.
61 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
63 2006-08-28 Jonathan Chambers <joncham@gmail.com>
65 * ComIStreamMarshaler.cs: Do not free memory allocated for
66 Com Callable Wrapper for stream. When Image created from stream
67 is destroyed, it calls Release on CCW interface. Somehow we seem
68 to be destroying Stream CCW before Image is destroyed. Fixes
69 crash on exit on Windows. #78315
71 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
73 * SystemColors.jvm.cs: fix array size for NET_2_0
75 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
77 * ColorConverter.cs: Catch the case where the integer part of the
78 color doesn't fit into a 32bit integer.
79 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
80 method. Fixed string handling on FromHtml method. Fixed all parameter
83 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
85 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
86 GdipSetImageAttributesColorMatrix definition.
87 * FontConverter.cs: Fix compiler warnings.
89 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
91 * TextureBrush.cs: Remove private Image member as we cannot, without
92 cloning it (which removes the advantage of caching it), return it for
93 the Image property *and* we cannot dispose of it properly (Dispose
96 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
98 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
100 * Image.cs: Cast the uint into an int for the Width property.
102 2006-08-12 Duncan Mak <duncan@novell.com>
104 * gdipFunctions.cs (GdipLoadImageFromStream):
105 (GdipSaveImageToStream): Don't include these methods when
106 compiling the unit tests.
108 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
110 * gdipFunctions.cs: return -1 when stream.Length throws.
112 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
114 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
115 use the object size instead of the structure size when copying.
117 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
119 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
120 to match MS boundary between GDI+ and SD.
122 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
124 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
126 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
128 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
129 ToLogFont even if GDI+ has that value to 0.
131 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
133 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
134 Read the XOR and AND masks in a single read.
136 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
138 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
140 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
142 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
143 * Region.cs: Fix unit tests wrt libgdiplus return value change.
145 2006-08-01 Jonathan Chambers <joncham@gmail.com>
147 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
150 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
152 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
155 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
157 * Image.cs: Ensure we're setting the nativeObject to NULL before
158 throwing any exception while disposing (and avoid possible double
159 freeing). Avoid multiple casts in Clone method.
160 * Pen.cs: Ensure the internal pen's brush is always disposed
161 correctly. Avoid making a reference to the internal brush.
162 * SolidBrush.cs: Avoid setting color when cloning the solid brush
163 as the .ctor(IntPtr) always does this job.
165 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
167 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
168 image size is invalid (to match MS behaviour), also ensure that the
169 Graphics instance is disposed even if CheckStatus throws an exception.
171 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
173 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
174 Avoid double-cast when dealing with SolidBrush.
176 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
178 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
179 GdipIsOutlineVisiblePathPoint[I] methods.
180 * FontFamily.cs: Delay the call to refreshName until it is actually
183 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185 * Color.cs: when deserializing from an MS generated stream, the value
186 for known colors was 0. These changes make our Color handle that case.
187 We won't serialize the name for known colors either, but the value will
188 be there, so we only check for a 0 value on a known color once.
191 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
193 * Font.cs: Change default charset to 1. Ensure we always call the
194 CheckStatus method after calling GDI+. Added null checks to match MS
196 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
197 pointers but names. Simplify the Generic* static properties by reusing
198 the .ctor code. Fixed ToString to match MS output. Removed
199 GetStyleCheck as it failed when multiple styles were provided (flags).
200 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
203 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
205 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
206 (e.g. Bmp) and long (e.g. guid) names.
208 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
210 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
211 introduced a regression in the converter (not catched by other unit
214 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
216 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
217 GdipCreateRegionHrgn functions.
218 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
221 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
223 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
224 CreateInstance if some values are missing from the dictionary, while
225 1.x throws an NullReferenceException.
226 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
227 CreateInstance if some values are missing from the dictionary, while
228 1.x throws an NullReferenceException.
229 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
230 CreateInstance if some values are missing from the dictionary, while
231 1.x throws an NullReferenceException.
232 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
234 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
236 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
237 * Graphics.cs: Added checks for null Rectangle[F] arrays in
238 FillRectangles methods and removed the check for 0-length (MS throws).
239 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
240 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
242 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
244 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
245 dispose of it anytime). Make sure we're disposing our cached brush
246 when disposing the pen.
248 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
250 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
251 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
252 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
253 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
254 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
255 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
256 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
257 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
258 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
259 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
261 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * ImageAnimator.cs: get the FrameDelay from the image properties, if
264 available. Remove ^Ms.
266 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
268 * Pen.cs: Get the pen color from the solid brush (when applicable).
269 Added missing validations for most properties. Always return a clone
270 of the internal brush (so no one can dispose of it in our back).
272 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
276 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
278 * Bitmap.cs: (Clone) use the 'format' argument instead of the
281 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
283 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
284 array is empty, don't invoke GDI+. Fixed bug #78408.
286 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
288 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
290 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
292 * Icon.cs: Don't require width/height to be non-0 when creating from
293 serialized data, just require them to be square
295 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
297 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
300 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
302 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
303 (in the class status library) a note that this isn't supported with
306 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
308 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
310 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
312 * PointF.cs: Add operators + and - between PointF and SizeF in the
313 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
314 missing in corcompare results).
316 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
318 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
319 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
320 BeginContainer methods that use rectangles and on TextContrast property
321 (all aren't currently supported in libgdiplus).
323 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
325 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
326 libgdiplus). Fixed minor extra/missing for corcompare.
328 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
330 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
332 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
334 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
335 and set proper transparency. Also fixed broken calculation of AND
336 size when reading the icon. NDocGui now shows pretty buttons.
338 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
340 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
341 * Region.cs: Remove old todo that were fixed in libgdiplus.
342 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
343 attribute to Tag property. FromStream(Stream,bool,bool) is available
344 in Fx 1.1 (probably since SP1).
346 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
348 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
349 libgdiplus doesn't use the numberOfSegments argument.
351 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
353 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
354 GdipAddPathLine2I methods (to allow adding a single point).
356 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
358 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
359 GdipAddStringI wrapper methods.
361 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
363 * Bitmap.cs: throw when the target pixel format differs from the one
364 of the image and it's an indexed format. We were failing in UnlockBits
367 2006-04-25 Miguel de Icaza <miguel@novell.com>
369 * FontConverter.cs (FontUnitConverter): implement. CorCompare
370 for some reason does not dig into nested classes, match the
373 (FontNameConverter): Return the fonts available on the system.
375 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
377 * Icon.cs: We need to or, not and our alpha values into the
378 palette. Also, we need to actually store the altered palette
379 on the bitmap, since we are altering a copy.
381 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
383 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
385 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
388 - GdipGetFontCollectionFamilyList: No need for complicated
389 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
390 - GdipDeletePrivateFontCollection: We need to pass a ref to the
391 structure. This was causing nasty crashes.
392 - GdipGetFamilyName: Switched to use StringBuilder instead of
394 * FontFamily.cs: Simplified the refreshName method, less error-prone now
396 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
398 * Brush.cs: Remove unused code.
399 * FontFamily.cs: Remove warnings from build.
400 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
402 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
404 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
406 * Graphics.cs: Free the memory we get from XGetVisualInfo.
408 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
410 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
411 in every case. This has been known (in the past) to cause crashes
412 in Cairo. If still true then we need to find out why!
414 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
416 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
417 it was causing crashes in the finalizers (bug #77464)
419 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
421 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
422 the start_buf cached bytes whenever Seek() is actually called. If
423 Seek is not called (an invalid 'whence' value), then the buffer is
424 not invalidated. This fixes a bug with TIFF loading.
426 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
428 * Image.cs (ISerializable.GetObjectData): Save the image in it's
429 original format. (Fixes #77673)
431 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
432 Peter Dennis Bartok <pbartok@novell.com>
435 - ToLogFont: Reworked to allow running under MS runtime and to
436 support it being called with both boxed structs and formatted
437 classes (MS runtime PtrToStructure cannot marshal boxed value
438 types, but Marshal.AsAny can)
439 - Switched all usage of LOGFONTA to more generic CharSet-driven
441 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
442 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
443 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
444 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
445 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
446 (needed because of ToLogFont fix)
448 2006-02-18 Duncan Mak <duncan@novell.com>
450 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
451 possible IndexOutOfRangeException.
453 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
455 * Image.cs, Bitmap.cs: Removed unneeded casts
456 * Icon.cs: Fixed code to be 64bit safe
458 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
460 * Font.cs: Fixes 77407
462 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
464 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
465 even if GDIPlus.CheckStatus throws an exception;
466 * Image.cs: Ensure unmanaged memory is free correctly even if
467 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
468 case is unclear to me (and unimplemented in libgdiplus);
469 * Region.cs: Ensure unmanaged memory is free correctly in
470 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
472 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
474 * gdipFunctions.cs: New gdiplus imports
475 * Font.cs: Use gdiplus calls to get font height and size
477 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
479 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
480 * Region.cs: Updated TODO to reflect current status.
482 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
484 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
486 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
488 * Icon.cs: The code wrongly assumed that the stride for the icon
489 would be the same as the stride for the bitmap. This was causing
492 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
494 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
495 which when calling down to MS GDI+ will create an image
496 where neither GetPixel or Save can be used on.
498 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
500 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
501 * Region.cs: Implemented .ctor(RegionData)
503 2006-01-13 Miguel de Icaza <miguel@novell.com>
505 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
506 by our Windows.Forms implementation.
508 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
510 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
511 default DPI are required (i.e. init both value in both cases).
512 * Region.cs: Added null check to match MS behaviour (exception type)
513 and avoid NRE (before CheckStatus is called). Added security demands
514 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
516 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
518 * gdipFunctions.cs: Do not call GdiplusShutdown for
519 now as it causes a crash on MS GDI+.
521 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
523 * Font.jvm.cs: charset support.
525 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
527 * Graphics.cs (Flush): Make sure nativeObject is not null
529 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
531 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
533 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
535 * Bitmap.jvm.cs: Fix MakeTransparent.
537 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
539 * Graphics.cs: Add new deephs support to CopyFromScreen
541 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
543 * BufferedGraphicsManager.cs: Fixes signature
545 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
548 - Implemented FromLogFont
549 - Implemented ToLogFont
552 - Added GdipGetLogFontW method
553 - Specified charset for GdipGetLogFontA method
554 * gdipStructs.cs: Added LOGFONTW structure
556 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
558 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
560 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
563 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
565 * gdipFunctions.cs: DllExports need it to implement
566 new Graphics.CopyFromScreen .Net 2.0 methods
567 * IDeviceContext.cs: New .Net 2.0 interface
568 * Color.cs: Fixes for new .Net 2.0 KnowColors
569 * PointF.cs: New .Net 2.0 Add/Subtract methods
570 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
571 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
572 * SizeF.cs: New .Net 2.0 Add/Subtract methods
573 * FontConverter.cs: New .Net 2.0 fixes
574 * SystemColors.cs: New standard SystemColors for .Net 2.0
575 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
576 * CharacterRange.cs: : New .Net 2.0 methods
577 * Size.cs: New .Net 2.0 Add/Subtract methods
578 * SystemPens.cs: New standard SystemPens for .Net 2.0
579 * Bitmap.cs: New .Net 2.0 methods
580 * Region.cs: New .Net 2.0 methods
581 * Brush.cs: New .Net 2.0 constructor
582 * Icon.cs: New .Net 2.0 Constructors and methods
583 * Point.cs: New .Net 2.0 Add/Subtract methods
584 * BufferedGraphicsManager.cs: New .Net 2.0 class
585 * Graphics.cs: New methods for .Net 2.0 and fixes
586 * BufferedGraphics.cs: New .Net 2.0 class
587 * Font.cs: New .Net 2.0 properties
588 * Image.cs: New .Net 2.0 tag property
589 * KnownColor.cs: New .Net 2.0 know colors
590 * CopyPixelOperation.cs: New .Net 2.0 enum
591 * SystemFonts.cs: New .Net 2.0 class
592 * BufferedGraphicsContext.cs: New .Net 2.0 class
594 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
596 * SystemIcons.jvm.cs: refactoring.
598 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
600 * Icon.cs: TARGET_JVM changes.
602 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
604 * Image.jvm.cs: fixed Save, flush output stream
606 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
608 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
610 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
612 * ColorConverter.cs: fixed ConvertFrom, to be able
613 to convert from three digit notation color (#abc)
615 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
617 * Bitmap.jvm.cs: open a correct stream.
619 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
621 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
623 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
625 * FontFamily.jvm.cs: fix for custom font collection
627 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
629 * FontFamily.jvm.cs: fixed GetName
631 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
633 * Bitmap.jvm.cs: fixed InternalSave() error handling
634 * Image.jvm.cs: fixed Save() error handling
636 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
638 * FontFamily.jvm.cs: Refactoring.
640 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
642 * Font.jvm.cs: Refactoring.
644 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
646 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
647 MeasureString support
649 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
651 * FontFamily.jvm.cs: correctly initialize fontcollection
653 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
655 * FontFamily.jvm.cs: DrawMargin, refactoring.
657 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
659 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
660 Differentiate standard and AntiAlias stroking
662 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
664 * Graphics.jvm.cs: added UnitConversion property
665 * FontFamily.jvm.cs: refactoring
666 * Font.jvm.cs: refactoring
668 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
671 - Implemented serialization constructor
672 - Implemented GetObjectData()
674 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
676 * StringFormat.jvm.cs: Refactoring
678 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
680 * Image.cs: Default format for MemoryBMP should be Png
682 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
684 * Bitmap.jvm.cs: fixed InternalSave
685 * Image.jvm.cs: fixed Save
687 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
689 * Image.jvm.cs: fixed redolution properties
691 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
693 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
694 fixed clone, Initialize
696 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
698 * Brush.cs: Don't delete the brush if the display handle is no longer
699 valid, otherwise cairo will try to use the handle and crash and burn
701 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
703 * Graphics.jvm.cs: DrawImage refactoring
705 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
707 * Graphics.jvm.cs: Clipping refactoring
708 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
709 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
710 TranslateClip, VisibleClipBounds
712 2005-10-21 Miguel de Icaza <miguel@novell.com>
714 * Pen.cs: Add support for returning the Brush from Pens created
715 with a color constructor.
717 Plus: code style police, else does not go on its own line.
719 * Graphics.cs: Add various ArgumentNull checks.
721 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
723 * Image.jvm.cs: make Clone abstract
725 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
727 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
729 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
731 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
732 * PlainImage.jvm.cs: fixed Clone
733 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
735 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
737 * Brush.jvm.cs: added InternalClone() method
738 changed transformation methods access level
739 * TextureBrush.jvm.cs: refactoring, fixed clone()
741 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
743 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
744 matrix singularity added
745 * Font.jvm.cs: implemetated ISerializable
746 * Pen.jvm.cs: fixed DashPattern property,
747 fixed GetNativeObject() dash pattern calculation
749 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
751 * SystemColors.cs: Fixes the Win32 light and lightlight colours
753 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
755 * SystemColors.cs: Fixes the Win32 system colors including the color
756 name and the knownColor properties.
758 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
760 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
761 conversion, it's less overhead than StringBuilder. (Part of the
762 bugfix for #74871 and #75534)
764 * gdipFunctions: Changed signature for GdipGetFamilyName to just
765 have an IntPtr for the buffer
767 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
769 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
772 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
774 * SystemColor.cs: Added code used to generate properties, updated with
777 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
779 * SystemColor.cs: Make internal names predictable to allow scripted
780 generation of color table
782 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
784 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
787 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
790 - Changed properties to return colors from fields. This allows
791 updating the colors via reflection, for example from MWF themes.
792 - Added code to retrieve system colors via Win32 GetSysColors if
793 running on Win32, this makes us compatible with Microsoft instead
794 of returning static colors on Win32. Unix platforms still will
795 use the static colors
796 * Color.cs: Added UpdateKnownColor() method to allow updating of
797 the KnownColors array
799 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
801 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
802 when imageAttr is null.
804 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
806 * Brush.jvm.cs: fixed transform methods, createContext
807 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
809 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
811 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
812 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
813 * PlainImage.jvm.cs: added metadata props, fixed ctor
814 * PlainImageCollection.jvm.cs: fixed class access
816 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
818 * Graphics.cs: Fixes exception type at FromImage method
820 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
822 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
824 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
826 * Graphics.jvm.cs: fixed DrawImage
828 2005-09-19 Miguel de Icaza <miguel@novell.com>
830 * Graphics.cs: Removed restriction on the images that can be
831 loaded. Indexed images *can* be loaded
833 2005-09-18 Miguel de Icaza <miguel@novell.com>
835 * Image.cs: introduce a workaround that catches errors on systems
836 that lack GDI+ as this is being triggered too easily when we
837 enumerate attributes on loaded classes.
839 The real bug to fix is #76062.
841 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
843 * Image.cs: Implemented FromHbitmap.
845 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
847 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
848 the JIT won't add demands for UnmanagedCode.
849 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
850 so the JIT won't add demands for UnmanagedCode on Mac OSX.
851 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
852 (+ overloads) and GetHicon methods.
853 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
854 FromHwndInternal and ReleaseHdcInternal methods (which are all public
855 despite their names).
857 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
859 * Graphics.jvm.cs: text transform, headless session
861 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
863 * Bitmap.jvm.cs: native object refactoring
864 * Image.jvm.cs: native object refactoring
865 * Graphics.jvm.cs: fixed access to image native object
866 * TextureBrush.jvm.cs: fixed access to image native object
867 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
869 2005-09-14 Geoff Norton <gnorton@customerdna.com>
871 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
872 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
873 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
875 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
877 * Graphics.jvm.cs: transform, container, thin pen
879 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
881 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
882 * Pen.jvm.cs: fixing transform, pen fitting
884 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
886 * Region.jvm.cs: IsVisible is about intersection
888 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
890 * ImageConverter.cs: Use default TypeDescriptor implementation of
893 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
895 * Graphics.jvm.cs: fixing clipping with rotate transform
897 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
899 * Region.jvm.cs: default region is infinite
901 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
903 * Graphics.jvm.cs: fixing clipping stuff
905 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
907 * Bitmap.jvm.cs: fixed bitamp accessors
908 * Image.jvm.cs: fixed image accessors
910 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
911 * AdvancedStroke.jvm.cs: fix matrix translate
912 * Graphics.jvm.cs: fix matrix concatenation order
914 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
916 * Brush.jvm.cs: added transform methods
918 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
920 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
921 implementing fitting, output transform
922 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
924 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
926 * ColorTranslator.cs: perform case insensitive check
928 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
930 * gdipFunctions.cs: define new functions
931 * Bitmap.cs: fixes image loading and exceptions
932 * Image.cs: fixes image loading and exceptions
934 Thanks Kornél Pál for its help
936 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
938 * Brush.jvm.cs: added brush transform field
940 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
942 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
944 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
946 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
947 Graphics.jvm.cs: adjust stroke before widening
949 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
951 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
954 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
956 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
957 convert string to int before checking number of components.
958 * RectangleConverter.cs: same.
959 * SizeConverter.cs: same.
961 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
963 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
964 convert individual components. Special case string containing hex
965 prefix. Convert components before checking count.
967 2005-08-25 Marek Safar <marek.safar@seznam.cz>
969 * gdipFunctions.cs: GetIconInfo new user32 method.
970 GdipGetDC uses IntPtr.
972 * gdipStructs.cs: Defined IconInfo struct.
974 * Graphics.cs: FromImage throws exception when image has an indexed format.
977 * Icon.cs: Implemented FromHandle, Dispose.
979 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
981 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
983 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
985 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
986 Fixed SmoothingMode property
988 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
990 * Brushes: Do not create the objects every time that they are requested
991 as in Pens we create and cache them only once when need it. This also
992 fixes the Equals method between two objects requested to Brushes
994 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
996 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
997 * Brush.cs Fixes Dispose to avoid non-disposing some objects
998 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
999 * Region.cs: Dipose always frees if the resource was allocated
1001 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1003 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1004 from gdiplus have been released
1006 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1008 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1009 * Color.cs: Fixed java NativeObject property
1010 * Image.jvm.cs: Fixed Save method
1012 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1014 * Icon.jvm.cs: match Bitmap internal constructor change
1015 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1016 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1018 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1020 * Color.cs: To match MS.NET, throw ArgumentException instead of
1021 ArgumentOutOfRangeException when color is not between 0 and 255.
1022 * RectangleConverter.cs: Take culture into account when converting
1023 to/from string. Use culture's ListSeparator as separator character.
1025 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1027 * Color.cs: Fixed line endings. Set eol-style to native.
1028 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1029 * Size.cs: Set eol-style to native.
1030 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1031 * SizeConverter.cs: Take culture into account when converting to/from
1032 string. Set eol-style to native.
1033 * Point.cs: Fixed line endings. Set eol-style to native.
1034 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1035 * PointConverter.cs: Take culture into account when converting to/from
1036 string. Set eol-style to native.
1037 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1039 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1041 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1043 * Graphics.jvm.cs: Fixed InterpolationMode property
1045 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1047 * Graphics.jvm.cs: Fixed DrawImage
1049 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1051 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1052 appears to be what MS.NET uses.
1054 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1056 * Point.cs: Use invariant culture for converting numbers to string.
1060 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1062 * Color.cs: Fixed ToString for uninitialized color.
1063 * ColorConverter.cs: Support conversion from whitespace-only string to
1064 Color.Empty. Fixed conversion from Color.Empty and known colors to
1067 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1069 * Graphics.jvm.cs: Initial properties implementation
1071 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1073 * Graphics.jvm.cs: DrawImage refactoring
1075 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1077 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1078 Added UpdateInternalTransform
1079 Fixed DrawImage, Transform, ConcatenateTransform
1081 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1083 * Icon.jvm.cs: Internal constructor from bitmap
1084 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1086 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1088 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1089 (all methods that use Graphics object)
1091 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1093 * Graphics.jvm.cs: Refactoring
1095 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1097 * Graphics.jvm.cs: Fixed Clear, Refactoring
1099 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1101 * Graphics.jvm.cs: Fixed FillClosedCurve
1103 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1105 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1106 rectangles touch each other.
1108 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1110 * Graphics.jvm.cs: Fixed DrawCurve.
1112 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1114 * StrokeFactory.jvm.cs: use correct stroke
1116 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1118 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1121 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1123 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1125 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1127 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1130 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1132 * Graphics.jvm.cs: Refactoring
1134 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1136 * Graphics.jvm.cs: Fixed DrawPolygon
1138 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1140 * Graphics.jvm.cs: Refactoring
1141 * Pen.jvm.cs: setting awt.Stroke as a base
1143 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1145 * Graphics.jvm.cs: Refactoring
1147 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1149 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1151 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1153 * Rectangle.cs: Intersect fixed
1154 * RectandleF.cs: Intersect and Inflate fixed
1156 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1158 * Point.cs: Produce same ToString result as dotnet
1160 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1162 * Color.cs: GetHashCode is affected by Name, too
1164 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1166 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1168 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1170 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1172 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1174 * SolidBrush.jvm.cs: fix a typo
1176 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1178 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1179 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1180 Font.jvm.cs: Added TARGET_JVM implementation
1182 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1184 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1186 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1188 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1190 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1192 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1194 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1196 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1198 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1200 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1202 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1204 * Color.cs: TARGET_JVM - NativeObject property
1206 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1208 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1210 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1212 * RectangleF.cs: Fixes IsEmpty logic
1214 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1216 * Graphics.cs: implements FromHwndInternal
1219 2005-06-13 Peter Bartok <pbartok@novell.com>
1221 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1222 through an intermediary step, which turns it into a 32bit version.
1225 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1227 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1228 removed some unnecessary code
1229 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1230 positions beyond the size of stream
1232 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1234 * Font.cs: fix platform checks.
1236 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1239 - Fixes is empty method IsEmpty logic
1240 - Fixes Contains method logic
1241 - Fixes IntersectsWith logic
1244 - Fixes is empty method IsEmpty logic
1245 - Fixes Contains method logic
1246 - Fixes IntersectsWith logic
1248 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1250 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1251 destructors. Some methods renamed. Removed unnecessary variables.
1253 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1255 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1256 and modified the Palette property to call them. This non-
1257 persistent behaviour was discovered by trial and error with
1258 Microsoft's implementation. In fact, the Palette property
1259 does not behave like a property at all! It is the only way an
1260 instance of System.Drawing.Imaging.ColorPalette can be created,
1261 and it reflects a backing store that is only updated when the
1262 property 'set' method is called. Also updated Clone () since
1263 the palette is no longer cached at image load time.
1264 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1265 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1266 As such a function is not listed in MSDN nor given in
1267 Microsoft's implementation, I have made it a private function
1268 within the class that uses it.
1270 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1272 * Graphics.cs: Revised DrawString methods
1274 2005-03-22 Peter Bartok <pbartok@novell.com>
1276 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1279 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1281 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1282 * gdipFunctions.cs: Modified conditional compilation syntax
1283 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1284 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1286 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1288 * Bitmap.cs: Add null check into ctor.
1290 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1292 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1293 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1294 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1296 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1298 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1300 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1302 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1303 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1304 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1305 * Image.cs: uses new Win32 Stream functions when need it
1307 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1309 * Color.cs: Fix GetSaturation() again and remove
1312 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1314 * Color.cs: New, correct implementations for GetHue(),
1315 GetBrightness() and GetSaturation().
1317 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1319 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1320 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1321 * Image.cs: Use PlatformID.Unix under NET_2_0.
1323 2005-05-05 Miguel de Icaza <miguel@novell.com>
1325 * Bitmap.cs, Icon.cs (constructor): Use
1326 GetManifestResourceStream(Type,string) in the constructor that
1329 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1331 * PointF.cs: Make serialization compatible with MS.
1333 2005-04-10 Geoff Norton <gnorton@customerdna.com>
1337 Use CGContextSynchronize instead of CGContextFlush. This saves
1338 on average 20000 ticks per drawing operation.
1340 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1342 * Color.cs: take into account the name color in == and != operators
1343 * Font.cs: Use Equals instead of == to compare the family name
1345 - Removes generic fontfamilies cache (done at libgdiplus level)
1346 - Fixes Equals method
1348 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1350 * Pen.cs: remove locks. They are done at gdiplus level
1351 * Brush.cs: remove locks. They are done at gdiplus level
1352 * Image.cs: remove locks. They are done at gdiplus level
1354 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1356 * Icon.cs: Finished Icon(Type, String) ctor
1358 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1360 * gdipFunctions.cs: fixes GdipGetImagePalette signature
1361 * Image.cs: Implements Palette property using gdiplus
1363 2005-03-17 Peter Bartok <pbartok@novell.com>
1366 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1367 method, now includes a get header delegate
1368 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
1369 the image type even on non-seekable streams
1370 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1371 via StreamGetHeaderImpl
1372 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1373 the new StreamGetHeader delegate
1375 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1377 * Pen.cs: Fixes dispose method to allow to be called multiple times
1378 * Graphics.cs: matrix are saved and restored at gdiplus level
1380 2005-02-24 Geoff Norton <gnorton@customerdna.com>
1382 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1383 so they dont get garbage collected before use.
1385 2005-02-11 Peter Bartok <pbartok@novell.com>
1387 * gdipFunctions.cs: Fixed prototype to match previous checkin
1389 2005-02-11 Peter Bartok <pbartok@novell.com>
1391 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1392 it really is a pointer)
1394 2005-02-10 Geoff Norton <gnorton@customerdna.com>
1396 * Icon.cs: Implement GetObjectData ()
1397 * Image.cs: Implement GetObjectData ()
1399 2005-02-09 Geoff Norton <gnorton@customerdna.com>
1401 * Icon.cs: Implement deserializer
1402 * Bitmap.cs: Implement deserializer
1404 2005-02-06 Ben Maurer <bmaurer@ximian.com>
1406 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1408 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1410 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1412 2005-02-02 Jackson Harper <jackson@ximian.com>
1414 * Region.cs: The default region constructor creates and infinite
1415 region, not an empty one.
1417 2005-01-27 Peter Bartok <pbartok@novell.com>
1419 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1420 of HSV numbers. Previous implementation returned wrong numbers and NaN
1421 on achromatic colors
1423 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
1425 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1426 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1427 : Implemented support for InstanceDescriptor.
1429 2005-01-26 Peter Bartok <pbartok@novell.com>
1431 * Icon.cs (ToBitmap): Now sets transparency in according to
1434 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1436 * gdipFunctions.cs: Fixes GdipGet* function signatures
1437 * FontFamily.cs: Fixes GdipGet* function calls
1438 * Font.cs: Fixes ToString method
1440 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1442 * Graphics.cs: calls XCloseDisplay on X11 when need it
1443 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1445 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
1447 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1449 2004-12-16 Peter Bartok <pbartok@novell.com>
1451 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1452 equivalent to the gdi+ native object
1454 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1455 equivalent to the gdi+ native object
1457 2004-12-09 Geoff Norton <gnorton@customerdna.com>
1459 * carbonFunctions.cs: New carbon functions/structures
1460 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1462 2004-12-08 Geoff Norton <gnorton@customerdna.com>
1464 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
1465 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1467 2004-12-07 Geoff Norton <gnorton@customerdna.com>
1469 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
1470 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1472 2004-12-06 Miguel de Icaza <miguel@ximian.com>
1474 * FontFamily.cs: This one is static.
1476 2004-11-25 Ravindra <rkumar@novell.com>
1478 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1479 type from int to Status type.
1481 2004-11-25 Marek Safar <marek.safar@seznam.cz>
1483 * Image.cs: Add CheckStatus to SaveAdd.
1485 2004-11-22 Ravindra <rkumar@novell.com>
1487 * Graphics.cs: Fixed null values handling in all overloads of
1488 MeasureString method.
1490 2004-11-18 Ravindra <rkumar@novell.com>
1492 * gdipFunctions.cs: Removed the .so extension from a DllImport
1495 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1497 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
1500 2004-11-03 Miguel de Icaza <miguel@ximian.com>
1502 * TextureBrush.cs (Clone): While cloning, it is not enough to let
1503 GDIPlus clone the underlying data, we must alos clone the managed
1506 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1507 errors in the future, set the lock on the object before doing any
1508 other tests, not after.
1510 (Clone): While cloning, it is not enough to let
1511 GDIPlus clone the underlying data, we must alos clone the managed
1514 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1515 errors in the future.
1517 Set the lock in the object before checkign disposed.
1519 * SolidBrush.cs (Clone): While cloning, it is not enough to let
1520 GDIPlus clone the underlying data, we must alos clone the managed
1523 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1524 errors in the future.
1526 2004-10-28 Ravindra <rkumar@novell.com>
1528 * gdipFunctions.cs: Added checks for null stream in the
1529 StreamHelper internal class.
1530 * Icon.cs: Removed an ugly hack that used temp files in
1531 ToBitmap () method. We use MemoryStream instead.
1533 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1535 * Font.cs: fixes bug 66533
1537 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1539 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1540 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1541 lock operations after conversation with Miguel. Do not really
1544 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1546 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1548 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1550 * Bitmap.cs: Fixes MakeTransparent method
1552 2004-10-13 Ravindra <rkumar@novell.com>
1554 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1555 member out of private constructor to class initialization.
1556 So that, we get it right even if Graphics is not instantiated.
1557 This fixes the problem we face (otherwise) when we make first
1558 call to Graphics.FromHwnd () method.
1560 2004-10-08 Ravindra <rkumar@novell.com>
1562 * Image.cs: Suppress finalization in Dispose () method.
1564 2004-10-04 Ravindra <rkumar@novell.com>
1566 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1568 2004-09-29 Jackson Harper <jackson@ximian.com>
1570 * Graphics.cs: Use FromHdcInternal to set the X display
1571 handle. Add a flag to check if we are on unix so we aren't calling
1572 Environment.OSVersion.Platform all the time. Mad props to Peter
1575 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1577 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1578 ToLogFont: Implemented.
1580 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1582 GdipCreateFontFromLogfontA: A new extern call.
1584 2004-09-13 Ravindra <rkumar@novell.com>
1586 * Graphics.cs: MSDN says that using image width and height gives
1587 better performance, hence we are using image width and height to
1588 avoid autoscaling in DrawImageUnscaled.
1590 2004-09-10 Ravindra <rkumar@novell.com>
1592 * Graphics.cs: Implemented DrawIcon methods and fixed
1593 DrawImageUnscaled method implementation.
1595 2004-08-21 Jackson Harper <jackson@ximian.com>
1597 * ImageAnimator.cs: Run animator as a background thread so we do
1600 2004-08-21 Ravindra <rkumar@novell.com>
1602 * gdipFunctions.cs: Modified exception message to include the case
1603 of missing required libraries for different formats.
1605 2004-08-10 Jackson Harper <jackson@ximian.com>
1607 * SystemColors.cs: Make Highlight colour match colour from windows
1608 classic color scheme.
1610 2004-07-30 Ravindra <rkumar@novell.com>
1612 * Font.cs: Fixed Height property implementation and implemented
1613 GetHeight method and its overloads.
1615 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1617 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1618 P/Invoke function for Image.
1619 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1621 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1623 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1624 GdipGetAllPropertyItems P/Invoke function for Image.
1625 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1626 * Image.cs: Corrected implementation of PropertyItems property.
1628 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1630 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1631 P/Invoke function for Image.
1632 * Image.cs: Changed implementation of PropertyIdList property.
1634 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1636 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1637 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1639 2004-07-21 Ravindra <rkumar@novell.com>
1641 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1642 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1644 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1646 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1647 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1648 * gdipFunctions.cs: new GDI function calls
1650 2004-07-16 Ravindra <rkumar@novell.com>
1652 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1654 2004-07-15 Ravindra <rkumar@novell.com>
1656 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1658 2004-07-13 Ravindra <rkumar@novell.com>
1660 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1661 This was redundant. It was kept in previous checkin to avoid
1664 2004-07-13 Ravindra <rkumar@novell.com>
1666 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1668 2004-07-09 Peter Bartok <pbartok@novell.com>
1669 * Graphics.cs: Added support required for new managed SWF library
1670 * gdipFunctions.cs: Added XOpenDisplay definition/import
1672 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1674 * gdipFunctions.cs: fixes bug 61050
1676 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1678 * ImageAnimator.cs: Rewrote complete implementation.
1680 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1682 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1683 If read function was called after seek function call, the
1684 implementation was returning data from bytes already peeked and
1685 not from the new position in stream, which we have seeked.
1687 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1689 * Graphics.cs: added MeasureString wrappers
1691 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1693 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1695 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1697 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1699 2004-06-18 Ravindra <rkumar@novell.com>
1701 * FontConverter.cs: Implemented the missing functions.
1702 * Font.cs: Added some notes.
1704 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1706 * gdipFunctions.cs: Modified Function signature for
1707 GdipSaveImageToDelegate_linux() method for saving tiff images
1709 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1712 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1714 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1715 and Size, required by TIFFCodec. Modifed Function signature for
1716 GdipLoadImageFromDelegate_linux() method.
1717 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1720 2004-06-11 Ravindra <rkumar@novell.com>
1722 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1723 from out int to out IntPtr.
1724 * SolidBrush.cs: Same.
1726 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1728 * Image.cs: API signature fixes, meaning DisposeResources is now
1729 private and marked InitFromStream internal
1731 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1733 * FontFamily.cs: simplifies object destruction and fixes
1735 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1737 * FontFamily.cs: added destructor
1738 * Graphics.cs: added destructor to stop leaking, remove debugging code
1741 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1743 * gdipFunctions.cs: added GdipSaveAddImage
1744 * Image.cs: added SaveAdd methods
1746 2004-06-02 Peter Bartok <pbartok@novell.com>
1747 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1748 (This fixes bug #59479)
1750 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1752 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1753 * Region.cs: Removed extra ComVisible attribute from Clone().
1755 2004-06-01 Ravindra <rkumar@novell.com>
1757 * Pen.cs: Added a note on Dispose method.
1758 * Brush.cs: Fixed Dispose method.
1759 * SolidBrush.cs: Fixed Dispose method.
1761 2004-05-28 Ravindra <rkumar@novell.com>
1763 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1765 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1766 rectangles implementation (This is basically done to avoid lots
1767 of brush and pen setup happening in libgdiplus.)
1769 2004-05-27 Ravindra <rkumar@novell.com>
1771 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1773 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1775 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1778 2004-05-26 Ravindra <rkumar@novell.com>
1780 * Color.cs: Corrected Color.Green property.
1782 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1783 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1785 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1787 * Icon.cs: Fixed issue with size property.
1789 2004-05-18 Ravindra <rkumar@novell.com>
1791 * Pen.cs: Added value checks in DashPattern and CompoundArray
1794 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1796 * Graphics.cs: fixed warning
1797 * ImageAnimator.cs: fixed warning
1798 * FontConverter.cs: fixed public API
1800 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1802 * gdipFunctions.cs: Fixed prototype for
1803 GdipGetEncoderParameterList
1805 * Image.cs: Reworked Save functions to handle EncoderParameters.
1806 Implemented GetEncoderParameterList
1807 Also removed unused setGDIPalette internal method.
1809 2004-05-14 Peter Bartok <pbartok@novell.com>
1810 * StringFormat.cs: Added CharacterRange handling
1811 * Graphics.cs: Implemented MeasureCharacterRanges method
1813 2004-05-14 Peter Bartok <pbartok@novell.com>
1814 * Graphics.cs: Added error check
1816 2004-05-14 Duncan Mak <duncan@ximian.com>
1817 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1818 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1819 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1821 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1822 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1824 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1825 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1827 2004-05-13 Peter Bartok <pbartok@novell.com>
1828 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1831 2004-05-12 Peter Bartok <pbartok@novell.com>
1832 * Image.cs: Implemented GetThumbnailImage
1834 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1835 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1836 FromXDrawable(IntPtr, IntPtr) internal.
1838 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1839 * Color.cs: work for API compatibilty: private date, todos
1840 * Font.cs: work for API compatibilty: private date, todos
1841 * FontFamily.cs: work for API compatibilty: private date, todos
1842 * Graphics.cs: work for API compatibilty: private date, todos
1843 * Icon.cs: work for API compatibilty: private date, todos
1844 * Image.cs: work for API compatibilty: private date, todos
1845 * ImageAnimator.cs: work for API compatibilty: private date, todos
1846 * Point.cs: work for API compatibilty: private date, todos
1847 * PointF.cs: work for API compatibilty: private date, todos
1848 * Rectangle.cs: work for API compatibilty: private date, todos
1849 * RectangleF.cs: work for API compatibilty: private date, todos
1850 * Region.cs: work for API compatibilty: private date, todos
1851 * Size.cs: work for API compatibilty: private date, todos
1852 * SizeF.cs: work for API compatibilty: private date, todos
1853 * SolidBrush.cs: work for API compatibilty: private date, todos
1854 * StringFormat.cs: work for API compatibilty: private date, todos
1855 * SystemPens.cs: work for API compatibilty: private date, todos
1856 * TextureBrush.cs: work for API compatibilty: private date, todos
1857 * gdipStructs.cs: work for API compatibilty: private date, todos
1859 2004-05-12 Ravindra <rkumar@novell.com>
1861 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1862 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1863 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1864 Added missing attributes and some coding style fixes.
1865 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1868 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1870 * ImageAnimator.cs: Implemented first version.
1872 2004-05-11 Ravindra <rkumar@novell.com>
1874 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1877 2004-05-10 Ravindra <rkumar@novell.com>
1879 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1880 for the same. Added few related P/Invokes for Pen also.
1882 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1884 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1886 2004-05-06 Ravindra <rkumar@novell.com>
1888 * RectangleConverter.cs: Implemented GetProperties () method.
1889 * SizeConverter.cs: Implemented GetProperties () method.
1890 * PointConverter.cs: Implemented GetProperties () method.
1891 * FontConverter.cs: Implemented some of the methods.
1893 2004-05-06 Ravindra <rkumar@novell.com>
1895 * Color.cs: Fixed Name property.
1896 * ColorTranslator.cs: Fixed the existing methods and implemented
1897 the missing methods.
1898 * ColorConverter.cs: Fixed the existing methods and implemented
1899 the missing methods. Also, fixed coding style.
1901 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1902 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1904 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1905 * Image.cs: raw_format should be handled by GDI+
1906 * Bitmap.cs: raw_format should be handled by GDI+
1908 2004-05-04 Ravindra <rkumar@novell.com>
1910 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1911 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1912 properties and SetLineCap method. In constructors use IntPtr instead
1914 * SolidBrush.cs: Modified exception message.
1915 * TextureBrush.cs: Fixed Transform property.
1916 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1917 LinearGradientBrush.cs.
1919 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1921 * Image.cs: Implemented FrameDimensionsList property.
1923 2004-04-30 Ravindra <rkumar@novell.com>
1925 * gdipFunctions.cs: Added few more P/Invoke calls for
1926 lineargradient brush and added one case statement in
1929 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1931 * Image.cs: takes into account MemoryBmp format when saving
1933 2004-04-30 Ravindra <rkumar@novell.com>
1935 * StringFormat.cs: Added checks for status.
1937 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1939 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1940 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1942 2004-04-30 Ravindra <rkumar@novell.com>
1944 * Graphics.cs: Added checks for status.
1945 * Image.cs: Added a check for status.
1946 * FontFamily.cs: Added checks for status.
1948 2004-04-29 Peter Bartok <pbartok@novell.com>
1950 * Brushes.cs: Fixed bug #52695. No longer creates a new
1951 brush for every request and behaves Microsoft compatible
1953 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1955 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1956 its ClsID instead of the formatID (as GDI+ expects)
1958 2004-04-29 Ravindra <rkumar@novell.com>
1960 * Font.cs: Added checks for status.
1961 * Bitmap.cs: Added checks for status.
1962 * Pen.cs: Added checks for status.
1964 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1966 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1967 Converted to unix format from dos format.
1969 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1971 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1973 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1975 * gdipStructs.cs: added GdipImageCodecInfo struct
1977 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1979 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1981 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1983 * ImageConverter.cs: Added exception message.
1984 * IconConverter.cs: Added exception message.
1985 * ImageFormatConverter.cs: Implemented first version.
1987 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1989 * ImageConverter.cs: Implemented first version.
1991 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1993 * IconConverter.cs: Implemented first version.
1995 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1997 * Image.cs: Corrected implementation of Property RawFormat.
1998 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2000 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2002 * Bitmap.cs: Resolved a compile time error.
2003 * Image.cs: Changed the implementation of few methods to progress
2004 with ImageAnimator class.
2005 * gdipFunctions.cs: Added few linux only function calls.
2006 * Icon.cs: Removed unused variable from code.
2008 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2010 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2012 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2014 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2015 serialization for Bitmaps. (Bugzilla #52568)
2017 2004-04-23 Ravindra <rkumar@novell.com>
2019 * RectangleConverter.cs: Fixed ConvertTo () method.
2020 * SizeConverter.cs: Fixed ConvertTo () method.
2021 * PointConverter.cs: Fixed ConvertTo () method.
2023 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2024 * ImageAnimator.cs: Implemented CanAnimate() method.
2026 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2027 * Image.cs: added RotateFlip and RemovePropertyItem calls
2029 2004-04-22 Ravindra <rkumar@novell.com>
2031 * RectangleConverter.cs: Implemented. Also changed file format
2033 * Rectangle.cs: Fixed ToString method.
2034 * RectangleF.cs: Fixed ToString method.
2036 2004-04-22 Ravindra <rkumar@novell.com>
2038 * SizeConverter.cs: Implemented some of the functions.
2039 * PointConveter.cs: Implemented.
2040 * gdipFunctions.cs: Corrected one typo.
2041 * Brushes.cs: Added a comment.
2043 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2045 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2046 returning portions of the peek buffer back. Fixes #57379.
2048 2004-04-21 Peter Bartok <pbartok@novell.com>
2049 * Font.cs: Implemented Font.FromHfont method
2050 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2051 * gdipFunctions.cs: Added imports for functions required to support
2052 Font.FromHfont method
2054 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2055 * RectangleConverter.cs: stubbed out
2056 * Font.cs : added missing members
2058 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2059 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2061 2004-04-16 Ravindra <rkumar@novell.com>
2063 * Pen.cs: GC should be allowed to collect any pen including
2065 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2066 including system brushes.
2067 * Brushes.cs: Coding style.
2068 * Pens.cs: Objects created by Pens are not modifiable on
2069 MS.NET, so we are now. Also, coding style fixes.
2070 * SystemPens.cs: Removed static constructor and changed file
2072 * SystemBrushes.cs: Some cosmetic changes.
2074 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2075 * Icon.cs: Implemented more missing bits and fixed the problem
2076 of icon not getting saved in proper format
2078 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2079 * Icon.cs: Implemented more missing bits
2081 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2082 * Icon.cs: Implemented few more missing bits
2084 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2085 * Icon.cs: Implemented first version
2087 2004-04-11 Peter Bartok <pbartok@novell.com>
2088 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2089 the code and using our own private gdiplus function when on Unix and using Win32
2090 functions when running on Windows
2091 * gdipStructs.cs: Added LOGFONTA structure
2092 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2094 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2096 * Image.cs: Save should use encoder.FormatID, not Clsid
2098 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2099 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2100 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2102 2004-04-06 Duncan Mak <duncan@ximian.com>
2104 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2106 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2107 * Region.cs: fixes GetRegionScans
2108 * gdipFunctions.cs: fixes GetRegionScans
2110 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2112 * gdipFunctions.cs: Added stream delegate helpers for
2113 stream loading/saving on linux
2115 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2116 loading/saving image data.
2118 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2119 * Region.cs: implemented new methods
2120 * Graphics.cs: implemented new methods
2122 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2123 * Region.cs: implemented
2125 2004-04-01 Duncan Mak <duncan@ximian.com>
2127 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2129 * gdipFunctions.cs (GdipAddPathCurveI):
2130 (GdipAddPathCurve2, GdipAddPathCurve2I):
2131 (GdipAddPathCurve3, GdipAddPathCurve3I):
2132 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2133 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2136 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2137 * Image.cs: implemented a few GDI+ wrapper calls
2139 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2140 * Bitmap.cs: remove redundant data already present at Image.cs
2141 * Image.cs: use GDI+ functions to get image details
2142 * StringFormat.cs: missing constructor and property
2144 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2145 * FontFamily.cs: added missing members and style clean
2146 * Graphics.cs: fixed signature of DrawArc and DrawPie
2147 * Image.cs: added missing members, fixes
2148 * StringFormat.cs: missing constructor and property
2150 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2151 * Graphics.cs: Added missing DrawImage GDI+ calls
2152 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2154 2004-03-23 Ravindra <rkumar@novell.com>
2155 * gdipFunctions.cs: Added few more P/Invoke calls for
2156 LinearGradientBrush.
2158 2004-03-22 Ravindra <rkumar@novell.com>
2159 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2160 and did few coding style fixes.
2162 2004-03-18 Ravindra <rkumar@novell.com>
2163 * Brush.cs: Fixed Dispose method.
2164 * SolidBrush.cs: Fixed clone method.
2165 * TextureBrush.cs: Fixed clone method.
2166 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2168 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2170 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2172 2004-03-10 Ravindra <rkumar@novell.com>
2173 * Pen.cs: Implemented PenType property.
2174 * Brush.cs: Coding style.
2176 2004-03-06 Ravindra <rkumar@novell.com>
2177 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2178 for PathGradientBrush.
2180 2004-03-06 Ravindra <rkumar@novell.com>
2181 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2184 2004-03-04 Duncan Mak <duncan@ximian.com>
2186 * Region.cs: Indentation.
2188 * RectangleF.cs: Changed the internal structure from a PointF,
2189 SizeF to floats in order to match the layout from the C API.
2191 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2192 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2194 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2195 * gdipFunctions.cs: Added functions for ImageAttributes
2197 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2198 * Icon.cs: Missing function stubs added
2199 * Icon.cs: Missing function stubs added
2200 * IconConverter.cs: Missing function stubs added
2201 * ImageAnimator.cs: Missing function stubs added
2202 * ImageConverter.cs: Missing function stubs added
2203 * ImageFormatConverter.cs: Missing function stubs added
2205 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2206 * Font.cs: Allow multiple styles
2208 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2209 * StringFormat.cs: Clone method
2211 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2212 * font.cs: fixes, Clone, and ToString
2214 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2215 * gdipFunctions.cs: MeasureString
2216 * Graphics.cs : MeasureString
2218 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2219 * Font.cs: destructor and unit conversion
2220 * Graphics.cs : system dpi support
2222 2004-02-13 Ravindra <rkumar@novell.com>
2223 * Pen.cs: Fixed some bugs.
2224 * TextureBrush.cs: Fixed some bugs.
2226 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2227 * gdipFunctions.cs: Added ImageCodecInfo functions
2228 * Image.cs: Added few methods
2230 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2231 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2233 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2234 * gdipFunctions.cs: Added Image class functions
2235 * Image.cs: Added few methods
2237 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2238 * graphics.cs: fixes parameters for DrawStrings functions
2240 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2242 * SRDescriptionAttribute.cs: Added and implemented
2243 * ToolboxBitmapAttribute.cs: Implemented a few members
2244 * SystemIcons.cs: Stubbed
2245 * StringFormat.cs: Implemented method
2246 * Region.cs: Added Todo, fixed attribute
2247 * Size.cs: Added attribute
2248 * SizeF.cs: Added attribute
2249 * RectangleF.cs: Added attributes
2250 * Rectangle.cs: Added attributes
2251 * PointF.cs: Added attribute
2252 * Point.cs: Added attribute
2254 2004-02-06 Ravindra <rkumar@novell.com>
2256 * Brush.cs: Renamed GetException method to CheckStatus
2257 and moved it to gdipFunctions.cs.
2258 * gdipFunctions.cs: Added CheckStatus method.
2259 * SolidBrush.cs: Using CheckStatus method.
2260 * TextureBrush.cs: Using CheckStatus method.
2261 * gdipEnums.cs: Added a missing value.
2263 2004-02-05 Ravindra <rkumar@novell.com>
2265 * Brush.cs: Added a missing namespace.
2267 2004-02-05 Ravindra <rkumar@novell.com>
2269 * gdipFunctions.cs: Added methods for HatchBrush and
2271 * SolidBrush.cs: Added checks for status.
2272 * Brush.cs: Added support for HatchBrush and TextureBrush
2273 types in internal CreateBrush() method.
2275 2004-02-03 Jordi Mas <jordi@ximian.com>
2276 * Font.cs: Setup font properties
2278 2004-02-03 Ravindra <rkumar@novell.com>
2280 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2281 method from TextureBrush.cs to Brush.cs.
2282 * Brush.cs: Made GetException (Status) method internal.
2284 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2286 * gdipFunctions.cs: Added methods for Image class.
2288 2004-01-30 Ravindra <rkumar@novell.com>
2290 * TextureBrush.cs: Added more methods to complete it.
2291 * gdipFunctions.cs: Added methods for TextureBrush class.
2293 2004-01-30 Ravindra <rkumar@novell.com>
2295 * gdipFunctions.cs: Added methods for TextureBrush class.
2297 2004-01-30 Ravindra <rkumar@novell.com>
2299 * Pen.cs: Modified to handle TextureBrush also.
2300 * Bitmap.cs: Added one internal constructor.
2301 * TextureBrush.cs: Implemented.
2303 2004-01-29 Duncan Mak <duncan@ximian.com>
2306 * Graphics.cs: Indentation fixes, removed long dangling lines and
2309 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2312 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2314 * FontFamily.cs: Implemented few methods and a constructor
2316 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2318 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2319 * FontFamily.cs: Implemented missing functionalities.
2321 2004-01-24 Duncan Mak <duncan@ximian.com>
2323 * Graphics.cs (DrawPath): Implemented.
2325 2004-01-23 Ravindra <rkumar@novell.com>
2327 * Point.cs: ToString modified.
2328 * PointF.cs: ToString modified.
2329 * Size.cs: ToString modified.
2330 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2333 2004-01-21 Jordi Mas i Hernàndez
2334 * Bitmap.cs: Several new methods added.
2336 2004-01-21 Duncan Mak <duncan@ximian.com>
2338 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2339 OutAttribute to the array argument. This fixes the PathPoints
2340 property in System.Drawing.Drawing2D.GraphicsPath.
2342 2004-01-20 Ravindra <rkumar@novell.com>
2344 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2345 this property was hanging and getting was throwing a NullRef
2346 Exception. Earlier we were passing Matrix object to and fro
2347 which was causing the problem. Now, we are using IntPtr.
2348 Thanks to Duncan for helping me.
2349 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2350 together. If color is set, a SolidBrush automatically gets
2351 set with the same color, Pen loses the old brush object.
2352 If a SolidBrush is set, Pen.Color gets the value same as that
2353 of brush color losing the old value. Pen shows this behavior
2355 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2356 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2358 2004-01-19 Duncan Mak <duncan@ximian.com>
2360 * gdipFunctions.cs: Import functions for GraphicsPath.
2362 2004-01-14 Ravindra <rkumar@novell.com>
2364 * SolidBrush.cs: Made SolidBrush to initialize its color
2367 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2369 2004-01-11 Duncan Mak <duncan@ximian.com>
2371 * Bitmap.cs (LockBits):
2372 * Graphics.cs (DrawString): Removed reference to GpRectF.
2374 2004-01-09 Duncan Mak <duncan@ximian.com>
2376 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2377 Removed. Didn't know that structs are laid out sequentially by
2378 default. We don't need these anymore.
2380 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
2382 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2384 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
2386 * Graphics.cs: fix compile error on Windows builds for out
2387 parameter state in call to GdipSaveGraphics
2389 2004-01-10 Ravindra <rkumar@novell.com>
2391 * All Enums: Made serializable.
2393 * Image.cs: Corrected signature of Dispose(bool) method.
2395 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
2396 Corrected coding style mistakes of my previous commit.
2398 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2400 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2402 * StringFormat.cs: Inherits MarshalByRefObject.
2404 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2406 2004-01-08 Ravindra <rkumar@novell.com>
2408 * Pen.cs: Added isModifiable (bool) variable. It is required to
2409 make Pens created by SystemPens.cs unmodifiable. All property
2410 setters are modified for this.
2412 * SolidBrush.cs: Added isModifiable variable (bool). It is
2413 required to make Brushes created by SystemBrushes.cs unmodifiable.
2414 All property setters are modified for this.
2416 * SystemBrushes.cs: Modified all the properties as per the .NET
2417 specs, so that Brushes are not created every time. Also, missing
2418 properties are added.
2420 * SystemPens.cs: Modified all the properties as per the .NET
2421 specs, so that Brushes are not created every time. Also, missing
2422 properties are added.
2424 2003-12-12 Miguel de Icaza <miguel@ximian.com>
2426 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2429 2004-01-06 Duncan Mak <duncan@ximian.com>
2431 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2433 2003-12-21 Duncan Mak <duncan@ximian.com>
2435 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2436 up to the GDI+ implementation.
2437 (RotateTransform): Uncommented.
2439 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2442 2003-12-13 Todd Berman <tberman@sevenl.net>
2444 * Font.cs: Implementing a couple things for porting purposes
2445 * SystemBrushes.cs: ^
2446 * StringFormat.cs: ^^
2448 2003-11-28 Duncan Mak <duncan@ximian.com>
2450 * Pen.cs (CompoundArray): Hide this for now.
2452 2003-11-28 Duncan Mak <duncan@ximian.com>
2454 * Brush.cs (CreateBrush): new internal factory method for creating
2455 specific brushes based on the internal (GDI+ C API) BrushType
2457 (Brush (IntPtr)): new internal constructor.
2459 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2461 (Pen (IntPtr)): new internal constructor.
2462 (Pen (Brush, float)): Use GdipCreateBrush2.
2463 (Clone): Implemented using GdipClonePen.
2464 (Alignment, Brush, Color, Width): Use GDI+ implementations
2466 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2467 Implemented these properties.
2468 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2469 (MultiplyTransform, ResetTransform, RotateTransform):
2470 (ScaleTransform, TranslateTransform): Implemented these methods.
2472 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2474 * gdipEnums.cs (BrushType): Added new GDI+ enum.
2476 * gdipFunctions.cs: Imported new Brush and Pen functions.
2478 2003-11-22 Duncan Mak <duncan@ximian.com>
2481 (GdipResetWorldTransform, GdipSetWorldTransform):
2482 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2484 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2485 (transform): Removed this field. Always use the
2486 matrix associated in the GpGraphics ptr.
2487 (DrawBeziers): Implemented.
2488 (DrawLine): Don't need to manually invoke the transform now.
2489 (MultiplyTransform, ResetTransform):
2490 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2491 (Transform): Instead of storing a Matrix in managed code, use
2492 equivalent GDI+ functions.
2494 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2496 * SizeConverter.cs: fixed class signature and implemented some methods.
2498 2003-11-17 Duncan Mak <duncan@ximian.com>
2500 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2502 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2504 2003-11-17 Duncan Mak <duncan@ximian.com>
2506 * Bitmap.cs (LockBits):
2507 * Graphics.cs (DrawString): Use GpRectF.
2509 * gdipFunctions.cs: Updated method signatures.
2511 * Graphics.cs (MultiplyTransform): Implemented using
2512 GdipMultiplyWorldTransform from GDI+.
2514 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2515 GpRect, to be more consistent with the C naming.
2517 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2519 * Graphics.cs: Implement the other DrawString overloads .
2521 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2523 * gdipStructs.cs (GdipRectF): Added utility constructor
2525 2003-11-15 Duncan Mak <duncan@ximian.com>
2527 * gdipFunctions.cs: Imported matrix functions.
2529 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2531 * Bitmap.cs: Added Attributes
2532 * ColorTranslator.cs: Added private constructor
2533 * Font.cs: Added Attributes
2534 * FontFamily.cs: sealed
2535 * Icon.cs: Added Attributes
2536 * IconConverter.cs: Fixed signature
2537 * Image.cs: Added attributes
2539 * ImageConverter.cs:
2540 * ImageFormatConverter.cs:
2547 * TextureBrush.cs: Fixed signature
2548 * Color.cs: Added attributes
2553 * SizeF.cs: Added attributes
2554 * ContentAlignment.cs: Added attribute
2556 2003-11-13 Duncan Mak <duncan@ximian.com>
2558 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2561 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2562 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2563 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2565 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2567 * gdipFunctions.cs copy image in Bitmap constructor
2569 2003-11-06 Duncan Mak <duncan@ximian.com>
2570 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2571 angle parameters for the integer case.
2572 (DrawBezier): Hook it up with GdipDrawBezier.
2573 (DrawEllipse): Fix Width, Height ordering.
2575 2003-11-05 Duncan Mak <duncan@ximian.com>
2577 * Graphics.cs (DrawPie):
2578 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2581 2003-10-28 Duncan Mak <duncan@ximian.com>
2583 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2584 (FillEllipse, FillPolygon): implemented.
2585 (RenderingOrigin): implemented.
2587 * gdipFunctions.cs: Added new GDI+ equivalents.
2589 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2591 * Image.cs small fixes
2593 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2595 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2597 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2599 * SystemBrushes.cs: Some more brushe3s.
2601 * SystemPens.cs: More pens.
2603 * Pen.cs: Implement IDisposable, ICloneable.
2605 * Region.cs: Add some more stubs here.
2607 * StringFormat.cs: Add some more code here.
2609 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2611 * Image.cs: Kill the InternalImageInfo, everything is now done in
2612 terms of Image and BitmapData.
2614 * Rectangle.cs: Make this one also sequential, change from using
2615 Point + Size to use x, y, width, height; So we can use GdiPlus.
2617 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2618 BitmapData class argument, and instead use the [In,Out]
2619 attributes, which will do struct marshalling on the fields. Now
2620 we can use C#'s BitmapData directly to talk to Gdiplus.
2622 * gdipStructs.cs: Every internal structure that has to talk to
2623 Gdi+ is properly prefixed, to minimize the confussion.
2625 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2626 Compute the stride here where we have the BPP information,
2627 allocate a buffer of the proper size, and pass this to
2628 GdipCreateBitmapFromScan0
2630 * Image.cs: Implement Dispose pattern.
2632 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2635 * gdipStructs.cs DrawString function added
2637 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2640 * gdipStructs.cs added
2643 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2652 implementation changed to gdi+
2654 2003-09-08 Duncan Mak <duncan@ximian.com>
2656 * Factories.cs (DefaultImplementationNamespace): Change it from
2657 "XrImpl" to "Cairo".
2659 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2661 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2664 2003-08-08 Duncan Mak <duncan@ximian.com>
2666 * Graphics.cs (DrawBezier): Fixed.
2668 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2669 * Graphics.cs delegate Dispose to implementation
2671 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2673 * FontConverter.cs: stub it out so that system.web compiles.
2675 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2676 * Image.cs InternalImageInfo class improved
2678 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2680 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2681 is set, default to Win32Impl
2683 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2684 * Image.cs implementation added
2686 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2688 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2690 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2692 * StringFormat.cs: Changes to become CLS-compliant
2694 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2696 * Factories.cs: Remove debugging message.
2698 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2699 * Color.cs code generation program modified
2701 2003-06-29 Alexandre Pigolkine
2702 * Graphics.cs image drawing
2704 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2707 supply KnowColor enum value to save Enum.Parse at runtime
2709 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2710 * Graphics.cs coordinate transformations
2711 * Image.cs small fix
2713 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2715 * FontFamily.cs more implementation
2717 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2719 * FontFamily.cs more implementation
2721 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2722 * Graphics.cs few more calls to implementation
2724 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2725 * Bitmap.cs BITMAP declaration removed
2726 * Graphics.cs few more calls to implementation
2727 * Image.cs InternalImageInfo structure, image read/write functions
2730 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2731 * Factories.cs analyse environment variable and machine.config to select implementation
2732 * Image.cs PixelFormat property added
2734 2003-04-30 Nick Drochak <ndrochak@gol.com>
2736 * Factories.cs: Change weird characters that broke build on windows.
2738 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2740 * ColorConverter.cs:
2741 (ConvertFrom): return a system or named color if there's one that fits
2742 teh values parsed with Color.FromArgb.
2744 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2754 delegate function calls to implementation
2756 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2760 * SystemBrushes.cs switch to Linux style line terminators
2762 2003-03-29 Alan Tam <Tam@SiuLung.com>
2763 * ToolboxBitmapAttribute
2764 stubbed more constructors and fixed base class
2766 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2768 added stubs to compile SWF
2771 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2776 small changes to be able to run SWF apps
2778 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2780 * Graphics.cs: stubbed out all the methods.
2782 2003-02-08 Piers Haken <piersh@friskit.com>
2784 * fixed case of pens.cs and font.cs
2786 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2793 2002-11-21 Dennis Hayes (dennish@raytek.com)
2794 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2798 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2800 * ColorTranslator.cs (FromHtml): Implement.
2802 2002-10-14 Dennis Hayes (dennish@raytek.com)
2804 * changed using namespace from Drawing2d to Drawing2D
2806 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2808 * Fixes the enum values in the following enums
2809 * ContentAlignment.cs:
2813 * RotateFlipType.cs:
2814 * StringAligment.cs:
2815 * StringDigitSubstitute.cs:
2816 * StringFormatFlags.cs:
2817 * StringTrimming.cs:
2819 * SolidBrush.cs: Easy implementation
2820 * Brushes.cs: Implementation based on SolidBrush and Color class.
2821 * Brush.cs: Fixes based on the status web).
2822 * CharacterRange.cs: Implemented the missing Lenth property.
2824 2002-9-14 Dennis Hayes (dennish@raytek.com)
2827 * removed personal template that should not have been checked in
2829 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2831 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2834 2002-9-14 DennisHayes <dennish@raytek.com>
2842 * ImageFormatConverter.cs
2844 * RectangleConverter.cs
2853 * ToolboxBitmapAttribute.cs
2854 * Added null classes for most/all classes, Many stubs, and some implmentation
2856 2002-9-2 DennisHayes <dennish@raytek.com>
2863 * Added stubs, implmentation
2865 2002-9-2 DennisHayes <dennish@raytek.com>
2867 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2868 but this should at least save someone some typing.
2869 * CharacterRange.cs :Implmented
2870 * Region.cs : stub needed for system.windows.forms
2872 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2874 * ColorTranslator.cs: use Color.Name.
2876 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2878 * Color.cs: implemented SystemColors and NamedColors properties that
2879 are used by ColorConverter, removed public constructor, use
2880 SystemColors, and misc. fixes to make it behave as MS (ToString,
2881 parsing names, FromKnownColor,...).
2883 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2884 trying to get the color from its name.
2886 * SystemColors.cs: new file.
2888 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2890 * Color.cs: changed static properties to use FromArgbNamed. Also
2891 modified the program included in comments that get the values for
2894 (FromArgbNamed): build named colors.
2895 (FromKnownColor): fixed.
2896 (FromName): use a hash to look up colors by name.
2897 (FillColorNames): create the hash of colors.
2898 (Equals): compare values and name.
2899 (ToString): improved.
2901 * ColorTranslator.cs: implemented ToHtml.
2903 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2905 * Color.cs: added TypeConverter attribute.
2907 * ColorConverter.cs: added constructor.
2909 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2911 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2913 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2915 * Bitmap.cs : using System.IO
2916 * ColorTranslator.cs : Stubbed off build breakers.
2917 * Image.cs : Stub off IDisposable and ICloneable.
2919 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2921 * Bitmap.cs: Ximian is the new copyright holder now.
2924 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2926 * Uppercased several files.
2928 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2930 * color.cs: Fixed a typo in GetSaturation ().
2932 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2934 * Bitmap.cs: Added method headers.
2936 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2938 * Bitmap.cs: Added, no implementation's done, yet.
2940 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2942 * Rectangle.cs : Add a doc comment.
2943 * RectangleF.cs : New struct implementation.
2945 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2947 * Rectangle.cs : New struct implementation.
2949 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2951 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2953 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2955 * Point.cs : New. Implementation of System.Drawing.Point struct.