1 2006-09-06 Kornél Pál <kornelpal@gmail.com>
3 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
4 destructor because it is freed using Release. (Proper fix for bug
5 #78315.) Free COM vtable when unloading and all objects Released.
7 2006-09-06 Jonathan Chambers <joncham@gmail.com>
9 * ComIStreamMarshaler.cs: Only deallocate memory
10 for COM wrapper if not shutting down. #78315
12 2006-09-04 Jonathan Chambers <joncham@gmail.com>
14 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
15 allocated for vtable. If this finalizer runs before all clients
16 are done with it (Image(s) in this case) we crash on windows. #78315
18 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
20 * Bitmap.cs: Fix exceptions for LockBits.
22 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
24 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
25 original exception). Found with Gendarme.
26 * Color.cs: Remove the double-check lock. Found with Gendarme.
27 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
29 2006-08-28 Jonathan Chambers <joncham@gmail.com>
31 * ComIStreamMarshaler.cs: Do not free memory allocated for
32 Com Callable Wrapper for stream. When Image created from stream
33 is destroyed, it calls Release on CCW interface. Somehow we seem
34 to be destroying Stream CCW before Image is destroyed. Fixes
35 crash on exit on Windows. #78315
37 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
39 * SystemColors.jvm.cs: fix array size for NET_2_0
41 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
43 * ColorConverter.cs: Catch the case where the integer part of the
44 color doesn't fit into a 32bit integer.
45 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
46 method. Fixed string handling on FromHtml method. Fixed all parameter
49 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
51 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
52 GdipSetImageAttributesColorMatrix definition.
53 * FontConverter.cs: Fix compiler warnings.
55 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
57 * TextureBrush.cs: Remove private Image member as we cannot, without
58 cloning it (which removes the advantage of caching it), return it for
59 the Image property *and* we cannot dispose of it properly (Dispose
62 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
64 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
66 * Image.cs: Cast the uint into an int for the Width property.
68 2006-08-12 Duncan Mak <duncan@novell.com>
70 * gdipFunctions.cs (GdipLoadImageFromStream):
71 (GdipSaveImageToStream): Don't include these methods when
72 compiling the unit tests.
74 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76 * gdipFunctions.cs: return -1 when stream.Length throws.
78 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
80 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
81 use the object size instead of the structure size when copying.
83 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
85 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
86 to match MS boundary between GDI+ and SD.
88 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
90 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
92 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
94 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
95 ToLogFont even if GDI+ has that value to 0.
97 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
99 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
100 Read the XOR and AND masks in a single read.
102 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
104 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
106 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
108 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
109 * Region.cs: Fix unit tests wrt libgdiplus return value change.
111 2006-08-01 Jonathan Chambers <joncham@gmail.com>
113 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
116 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
118 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
121 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
123 * Image.cs: Ensure we're setting the nativeObject to NULL before
124 throwing any exception while disposing (and avoid possible double
125 freeing). Avoid multiple casts in Clone method.
126 * Pen.cs: Ensure the internal pen's brush is always disposed
127 correctly. Avoid making a reference to the internal brush.
128 * SolidBrush.cs: Avoid setting color when cloning the solid brush
129 as the .ctor(IntPtr) always does this job.
131 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
133 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
134 image size is invalid (to match MS behaviour), also ensure that the
135 Graphics instance is disposed even if CheckStatus throws an exception.
137 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
139 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
140 Avoid double-cast when dealing with SolidBrush.
142 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
144 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
145 GdipIsOutlineVisiblePathPoint[I] methods.
146 * FontFamily.cs: Delay the call to refreshName until it is actually
149 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151 * Color.cs: when deserializing from an MS generated stream, the value
152 for known colors was 0. These changes make our Color handle that case.
153 We won't serialize the name for known colors either, but the value will
154 be there, so we only check for a 0 value on a known color once.
157 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
159 * Font.cs: Change default charset to 1. Ensure we always call the
160 CheckStatus method after calling GDI+. Added null checks to match MS
162 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
163 pointers but names. Simplify the Generic* static properties by reusing
164 the .ctor code. Fixed ToString to match MS output. Removed
165 GetStyleCheck as it failed when multiple styles were provided (flags).
166 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
169 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
171 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
172 (e.g. Bmp) and long (e.g. guid) names.
174 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
176 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
177 introduced a regression in the converter (not catched by other unit
180 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
182 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
183 GdipCreateRegionHrgn functions.
184 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
187 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
189 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
190 CreateInstance if some values are missing from the dictionary, while
191 1.x throws an NullReferenceException.
192 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
193 CreateInstance if some values are missing from the dictionary, while
194 1.x throws an NullReferenceException.
195 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
196 CreateInstance if some values are missing from the dictionary, while
197 1.x throws an NullReferenceException.
198 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
200 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
202 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
203 * Graphics.cs: Added checks for null Rectangle[F] arrays in
204 FillRectangles methods and removed the check for 0-length (MS throws).
205 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
206 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
208 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
210 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
211 dispose of it anytime). Make sure we're disposing our cached brush
212 when disposing the pen.
214 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
216 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
217 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
218 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
219 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
220 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
221 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
222 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
223 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
224 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
225 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
227 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * ImageAnimator.cs: get the FrameDelay from the image properties, if
230 available. Remove ^Ms.
232 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
234 * Pen.cs: Get the pen color from the solid brush (when applicable).
235 Added missing validations for most properties. Always return a clone
236 of the internal brush (so no one can dispose of it in our back).
238 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
242 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
244 * Bitmap.cs: (Clone) use the 'format' argument instead of the
247 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
249 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
250 array is empty, don't invoke GDI+. Fixed bug #78408.
252 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
254 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
256 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
258 * Icon.cs: Don't require width/height to be non-0 when creating from
259 serialized data, just require them to be square
261 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
263 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
266 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
268 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
269 (in the class status library) a note that this isn't supported with
272 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
274 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
276 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
278 * PointF.cs: Add operators + and - between PointF and SizeF in the
279 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
280 missing in corcompare results).
282 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
284 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
285 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
286 BeginContainer methods that use rectangles and on TextContrast property
287 (all aren't currently supported in libgdiplus).
289 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
291 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
292 libgdiplus). Fixed minor extra/missing for corcompare.
294 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
296 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
298 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
300 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
301 and set proper transparency. Also fixed broken calculation of AND
302 size when reading the icon. NDocGui now shows pretty buttons.
304 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
306 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
307 * Region.cs: Remove old todo that were fixed in libgdiplus.
308 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
309 attribute to Tag property. FromStream(Stream,bool,bool) is available
310 in Fx 1.1 (probably since SP1).
312 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
314 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
315 libgdiplus doesn't use the numberOfSegments argument.
317 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
319 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
320 GdipAddPathLine2I methods (to allow adding a single point).
322 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
324 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
325 GdipAddStringI wrapper methods.
327 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
329 * Bitmap.cs: throw when the target pixel format differs from the one
330 of the image and it's an indexed format. We were failing in UnlockBits
333 2006-04-25 Miguel de Icaza <miguel@novell.com>
335 * FontConverter.cs (FontUnitConverter): implement. CorCompare
336 for some reason does not dig into nested classes, match the
339 (FontNameConverter): Return the fonts available on the system.
341 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
343 * Icon.cs: We need to or, not and our alpha values into the
344 palette. Also, we need to actually store the altered palette
345 on the bitmap, since we are altering a copy.
347 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
349 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
351 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
354 - GdipGetFontCollectionFamilyList: No need for complicated
355 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
356 - GdipDeletePrivateFontCollection: We need to pass a ref to the
357 structure. This was causing nasty crashes.
358 - GdipGetFamilyName: Switched to use StringBuilder instead of
360 * FontFamily.cs: Simplified the refreshName method, less error-prone now
362 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
364 * Brush.cs: Remove unused code.
365 * FontFamily.cs: Remove warnings from build.
366 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
368 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
370 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
372 * Graphics.cs: Free the memory we get from XGetVisualInfo.
374 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
376 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
377 in every case. This has been known (in the past) to cause crashes
378 in Cairo. If still true then we need to find out why!
380 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
382 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
383 it was causing crashes in the finalizers (bug #77464)
385 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
387 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
388 the start_buf cached bytes whenever Seek() is actually called. If
389 Seek is not called (an invalid 'whence' value), then the buffer is
390 not invalidated. This fixes a bug with TIFF loading.
392 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
394 * Image.cs (ISerializable.GetObjectData): Save the image in it's
395 original format. (Fixes #77673)
397 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
398 Peter Dennis Bartok <pbartok@novell.com>
401 - ToLogFont: Reworked to allow running under MS runtime and to
402 support it being called with both boxed structs and formatted
403 classes (MS runtime PtrToStructure cannot marshal boxed value
404 types, but Marshal.AsAny can)
405 - Switched all usage of LOGFONTA to more generic CharSet-driven
407 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
408 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
409 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
410 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
411 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
412 (needed because of ToLogFont fix)
414 2006-02-18 Duncan Mak <duncan@novell.com>
416 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
417 possible IndexOutOfRangeException.
419 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
421 * Image.cs, Bitmap.cs: Removed unneeded casts
422 * Icon.cs: Fixed code to be 64bit safe
424 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
426 * Font.cs: Fixes 77407
428 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
430 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
431 even if GDIPlus.CheckStatus throws an exception;
432 * Image.cs: Ensure unmanaged memory is free correctly even if
433 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
434 case is unclear to me (and unimplemented in libgdiplus);
435 * Region.cs: Ensure unmanaged memory is free correctly in
436 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
438 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
440 * gdipFunctions.cs: New gdiplus imports
441 * Font.cs: Use gdiplus calls to get font height and size
443 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
445 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
446 * Region.cs: Updated TODO to reflect current status.
448 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
450 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
452 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
454 * Icon.cs: The code wrongly assumed that the stride for the icon
455 would be the same as the stride for the bitmap. This was causing
458 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
460 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
461 which when calling down to MS GDI+ will create an image
462 where neither GetPixel or Save can be used on.
464 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
466 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
467 * Region.cs: Implemented .ctor(RegionData)
469 2006-01-13 Miguel de Icaza <miguel@novell.com>
471 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
472 by our Windows.Forms implementation.
474 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
476 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
477 default DPI are required (i.e. init both value in both cases).
478 * Region.cs: Added null check to match MS behaviour (exception type)
479 and avoid NRE (before CheckStatus is called). Added security demands
480 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
482 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
484 * gdipFunctions.cs: Do not call GdiplusShutdown for
485 now as it causes a crash on MS GDI+.
487 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
489 * Font.jvm.cs: charset support.
491 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
493 * Graphics.cs (Flush): Make sure nativeObject is not null
495 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
497 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
499 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
501 * Bitmap.jvm.cs: Fix MakeTransparent.
503 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
505 * Graphics.cs: Add new deephs support to CopyFromScreen
507 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
509 * BufferedGraphicsManager.cs: Fixes signature
511 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
514 - Implemented FromLogFont
515 - Implemented ToLogFont
518 - Added GdipGetLogFontW method
519 - Specified charset for GdipGetLogFontA method
520 * gdipStructs.cs: Added LOGFONTW structure
522 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
524 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
526 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
529 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
531 * gdipFunctions.cs: DllExports need it to implement
532 new Graphics.CopyFromScreen .Net 2.0 methods
533 * IDeviceContext.cs: New .Net 2.0 interface
534 * Color.cs: Fixes for new .Net 2.0 KnowColors
535 * PointF.cs: New .Net 2.0 Add/Subtract methods
536 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
537 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
538 * SizeF.cs: New .Net 2.0 Add/Subtract methods
539 * FontConverter.cs: New .Net 2.0 fixes
540 * SystemColors.cs: New standard SystemColors for .Net 2.0
541 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
542 * CharacterRange.cs: : New .Net 2.0 methods
543 * Size.cs: New .Net 2.0 Add/Subtract methods
544 * SystemPens.cs: New standard SystemPens for .Net 2.0
545 * Bitmap.cs: New .Net 2.0 methods
546 * Region.cs: New .Net 2.0 methods
547 * Brush.cs: New .Net 2.0 constructor
548 * Icon.cs: New .Net 2.0 Constructors and methods
549 * Point.cs: New .Net 2.0 Add/Subtract methods
550 * BufferedGraphicsManager.cs: New .Net 2.0 class
551 * Graphics.cs: New methods for .Net 2.0 and fixes
552 * BufferedGraphics.cs: New .Net 2.0 class
553 * Font.cs: New .Net 2.0 properties
554 * Image.cs: New .Net 2.0 tag property
555 * KnownColor.cs: New .Net 2.0 know colors
556 * CopyPixelOperation.cs: New .Net 2.0 enum
557 * SystemFonts.cs: New .Net 2.0 class
558 * BufferedGraphicsContext.cs: New .Net 2.0 class
560 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
562 * SystemIcons.jvm.cs: refactoring.
564 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
566 * Icon.cs: TARGET_JVM changes.
568 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
570 * Image.jvm.cs: fixed Save, flush output stream
572 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
574 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
576 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
578 * ColorConverter.cs: fixed ConvertFrom, to be able
579 to convert from three digit notation color (#abc)
581 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
583 * Bitmap.jvm.cs: open a correct stream.
585 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
587 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
589 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
591 * FontFamily.jvm.cs: fix for custom font collection
593 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
595 * FontFamily.jvm.cs: fixed GetName
597 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
599 * Bitmap.jvm.cs: fixed InternalSave() error handling
600 * Image.jvm.cs: fixed Save() error handling
602 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
604 * FontFamily.jvm.cs: Refactoring.
606 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
608 * Font.jvm.cs: Refactoring.
610 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
612 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
613 MeasureString support
615 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
617 * FontFamily.jvm.cs: correctly initialize fontcollection
619 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
621 * FontFamily.jvm.cs: DrawMargin, refactoring.
623 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
625 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
626 Differentiate standard and AntiAlias stroking
628 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
630 * Graphics.jvm.cs: added UnitConversion property
631 * FontFamily.jvm.cs: refactoring
632 * Font.jvm.cs: refactoring
634 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
637 - Implemented serialization constructor
638 - Implemented GetObjectData()
640 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
642 * StringFormat.jvm.cs: Refactoring
644 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
646 * Image.cs: Default format for MemoryBMP should be Png
648 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
650 * Bitmap.jvm.cs: fixed InternalSave
651 * Image.jvm.cs: fixed Save
653 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
655 * Image.jvm.cs: fixed redolution properties
657 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
659 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
660 fixed clone, Initialize
662 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
664 * Brush.cs: Don't delete the brush if the display handle is no longer
665 valid, otherwise cairo will try to use the handle and crash and burn
667 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
669 * Graphics.jvm.cs: DrawImage refactoring
671 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
673 * Graphics.jvm.cs: Clipping refactoring
674 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
675 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
676 TranslateClip, VisibleClipBounds
678 2005-10-21 Miguel de Icaza <miguel@novell.com>
680 * Pen.cs: Add support for returning the Brush from Pens created
681 with a color constructor.
683 Plus: code style police, else does not go on its own line.
685 * Graphics.cs: Add various ArgumentNull checks.
687 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
689 * Image.jvm.cs: make Clone abstract
691 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
693 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
695 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
697 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
698 * PlainImage.jvm.cs: fixed Clone
699 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
701 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
703 * Brush.jvm.cs: added InternalClone() method
704 changed transformation methods access level
705 * TextureBrush.jvm.cs: refactoring, fixed clone()
707 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
709 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
710 matrix singularity added
711 * Font.jvm.cs: implemetated ISerializable
712 * Pen.jvm.cs: fixed DashPattern property,
713 fixed GetNativeObject() dash pattern calculation
715 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
717 * SystemColors.cs: Fixes the Win32 light and lightlight colours
719 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
721 * SystemColors.cs: Fixes the Win32 system colors including the color
722 name and the knownColor properties.
724 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
726 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
727 conversion, it's less overhead than StringBuilder. (Part of the
728 bugfix for #74871 and #75534)
730 * gdipFunctions: Changed signature for GdipGetFamilyName to just
731 have an IntPtr for the buffer
733 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
735 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
738 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
740 * SystemColor.cs: Added code used to generate properties, updated with
743 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
745 * SystemColor.cs: Make internal names predictable to allow scripted
746 generation of color table
748 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
750 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
753 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
756 - Changed properties to return colors from fields. This allows
757 updating the colors via reflection, for example from MWF themes.
758 - Added code to retrieve system colors via Win32 GetSysColors if
759 running on Win32, this makes us compatible with Microsoft instead
760 of returning static colors on Win32. Unix platforms still will
761 use the static colors
762 * Color.cs: Added UpdateKnownColor() method to allow updating of
763 the KnownColors array
765 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
767 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
768 when imageAttr is null.
770 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
772 * Brush.jvm.cs: fixed transform methods, createContext
773 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
775 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
777 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
778 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
779 * PlainImage.jvm.cs: added metadata props, fixed ctor
780 * PlainImageCollection.jvm.cs: fixed class access
782 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
784 * Graphics.cs: Fixes exception type at FromImage method
786 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
788 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
790 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
792 * Graphics.jvm.cs: fixed DrawImage
794 2005-09-19 Miguel de Icaza <miguel@novell.com>
796 * Graphics.cs: Removed restriction on the images that can be
797 loaded. Indexed images *can* be loaded
799 2005-09-18 Miguel de Icaza <miguel@novell.com>
801 * Image.cs: introduce a workaround that catches errors on systems
802 that lack GDI+ as this is being triggered too easily when we
803 enumerate attributes on loaded classes.
805 The real bug to fix is #76062.
807 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
809 * Image.cs: Implemented FromHbitmap.
811 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
813 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
814 the JIT won't add demands for UnmanagedCode.
815 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
816 so the JIT won't add demands for UnmanagedCode on Mac OSX.
817 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
818 (+ overloads) and GetHicon methods.
819 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
820 FromHwndInternal and ReleaseHdcInternal methods (which are all public
821 despite their names).
823 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
825 * Graphics.jvm.cs: text transform, headless session
827 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
829 * Bitmap.jvm.cs: native object refactoring
830 * Image.jvm.cs: native object refactoring
831 * Graphics.jvm.cs: fixed access to image native object
832 * TextureBrush.jvm.cs: fixed access to image native object
833 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
835 2005-09-14 Geoff Norton <gnorton@customerdna.com>
837 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
838 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
839 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
841 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
843 * Graphics.jvm.cs: transform, container, thin pen
845 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
847 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
848 * Pen.jvm.cs: fixing transform, pen fitting
850 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
852 * Region.jvm.cs: IsVisible is about intersection
854 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
856 * ImageConverter.cs: Use default TypeDescriptor implementation of
859 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
861 * Graphics.jvm.cs: fixing clipping with rotate transform
863 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
865 * Region.jvm.cs: default region is infinite
867 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
869 * Graphics.jvm.cs: fixing clipping stuff
871 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
873 * Bitmap.jvm.cs: fixed bitamp accessors
874 * Image.jvm.cs: fixed image accessors
876 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
877 * AdvancedStroke.jvm.cs: fix matrix translate
878 * Graphics.jvm.cs: fix matrix concatenation order
880 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
882 * Brush.jvm.cs: added transform methods
884 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
886 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
887 implementing fitting, output transform
888 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
890 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
892 * ColorTranslator.cs: perform case insensitive check
894 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
896 * gdipFunctions.cs: define new functions
897 * Bitmap.cs: fixes image loading and exceptions
898 * Image.cs: fixes image loading and exceptions
900 Thanks Kornél Pál for its help
902 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
904 * Brush.jvm.cs: added brush transform field
906 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
908 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
910 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
912 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
913 Graphics.jvm.cs: adjust stroke before widening
915 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
917 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
920 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
922 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
923 convert string to int before checking number of components.
924 * RectangleConverter.cs: same.
925 * SizeConverter.cs: same.
927 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
929 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
930 convert individual components. Special case string containing hex
931 prefix. Convert components before checking count.
933 2005-08-25 Marek Safar <marek.safar@seznam.cz>
935 * gdipFunctions.cs: GetIconInfo new user32 method.
936 GdipGetDC uses IntPtr.
938 * gdipStructs.cs: Defined IconInfo struct.
940 * Graphics.cs: FromImage throws exception when image has an indexed format.
943 * Icon.cs: Implemented FromHandle, Dispose.
945 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
947 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
949 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
951 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
952 Fixed SmoothingMode property
954 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
956 * Brushes: Do not create the objects every time that they are requested
957 as in Pens we create and cache them only once when need it. This also
958 fixes the Equals method between two objects requested to Brushes
960 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
962 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
963 * Brush.cs Fixes Dispose to avoid non-disposing some objects
964 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
965 * Region.cs: Dipose always frees if the resource was allocated
967 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
969 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
970 from gdiplus have been released
972 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
974 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
975 * Color.cs: Fixed java NativeObject property
976 * Image.jvm.cs: Fixed Save method
978 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
980 * Icon.jvm.cs: match Bitmap internal constructor change
981 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
982 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
984 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
986 * Color.cs: To match MS.NET, throw ArgumentException instead of
987 ArgumentOutOfRangeException when color is not between 0 and 255.
988 * RectangleConverter.cs: Take culture into account when converting
989 to/from string. Use culture's ListSeparator as separator character.
991 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
993 * Color.cs: Fixed line endings. Set eol-style to native.
994 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
995 * Size.cs: Set eol-style to native.
996 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
997 * SizeConverter.cs: Take culture into account when converting to/from
998 string. Set eol-style to native.
999 * Point.cs: Fixed line endings. Set eol-style to native.
1000 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1001 * PointConverter.cs: Take culture into account when converting to/from
1002 string. Set eol-style to native.
1003 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1005 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1007 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1009 * Graphics.jvm.cs: Fixed InterpolationMode property
1011 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1013 * Graphics.jvm.cs: Fixed DrawImage
1015 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1017 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1018 appears to be what MS.NET uses.
1020 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1022 * Point.cs: Use invariant culture for converting numbers to string.
1026 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1028 * Color.cs: Fixed ToString for uninitialized color.
1029 * ColorConverter.cs: Support conversion from whitespace-only string to
1030 Color.Empty. Fixed conversion from Color.Empty and known colors to
1033 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1035 * Graphics.jvm.cs: Initial properties implementation
1037 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1039 * Graphics.jvm.cs: DrawImage refactoring
1041 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1043 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1044 Added UpdateInternalTransform
1045 Fixed DrawImage, Transform, ConcatenateTransform
1047 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1049 * Icon.jvm.cs: Internal constructor from bitmap
1050 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1052 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1054 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1055 (all methods that use Graphics object)
1057 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1059 * Graphics.jvm.cs: Refactoring
1061 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1063 * Graphics.jvm.cs: Fixed Clear, Refactoring
1065 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1067 * Graphics.jvm.cs: Fixed FillClosedCurve
1069 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1071 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1072 rectangles touch each other.
1074 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1076 * Graphics.jvm.cs: Fixed DrawCurve.
1078 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1080 * StrokeFactory.jvm.cs: use correct stroke
1082 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1084 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1087 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1089 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1091 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1093 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1096 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1098 * Graphics.jvm.cs: Refactoring
1100 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1102 * Graphics.jvm.cs: Fixed DrawPolygon
1104 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1106 * Graphics.jvm.cs: Refactoring
1107 * Pen.jvm.cs: setting awt.Stroke as a base
1109 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1111 * Graphics.jvm.cs: Refactoring
1113 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1115 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1117 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1119 * Rectangle.cs: Intersect fixed
1120 * RectandleF.cs: Intersect and Inflate fixed
1122 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1124 * Point.cs: Produce same ToString result as dotnet
1126 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1128 * Color.cs: GetHashCode is affected by Name, too
1130 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1132 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1134 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1136 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1138 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1140 * SolidBrush.jvm.cs: fix a typo
1142 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1144 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1145 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1146 Font.jvm.cs: Added TARGET_JVM implementation
1148 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1150 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1152 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1154 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1156 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1158 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1160 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1162 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1164 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1166 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1168 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1170 * Color.cs: TARGET_JVM - NativeObject property
1172 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1174 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1176 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1178 * RectangleF.cs: Fixes IsEmpty logic
1180 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1182 * Graphics.cs: implements FromHwndInternal
1185 2005-06-13 Peter Bartok <pbartok@novell.com>
1187 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1188 through an intermediary step, which turns it into a 32bit version.
1191 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1193 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1194 removed some unnecessary code
1195 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1196 positions beyond the size of stream
1198 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1200 * Font.cs: fix platform checks.
1202 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1205 - Fixes is empty method IsEmpty logic
1206 - Fixes Contains method logic
1207 - Fixes IntersectsWith logic
1210 - Fixes is empty method IsEmpty logic
1211 - Fixes Contains method logic
1212 - Fixes IntersectsWith logic
1214 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1216 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1217 destructors. Some methods renamed. Removed unnecessary variables.
1219 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1221 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1222 and modified the Palette property to call them. This non-
1223 persistent behaviour was discovered by trial and error with
1224 Microsoft's implementation. In fact, the Palette property
1225 does not behave like a property at all! It is the only way an
1226 instance of System.Drawing.Imaging.ColorPalette can be created,
1227 and it reflects a backing store that is only updated when the
1228 property 'set' method is called. Also updated Clone () since
1229 the palette is no longer cached at image load time.
1230 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1231 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1232 As such a function is not listed in MSDN nor given in
1233 Microsoft's implementation, I have made it a private function
1234 within the class that uses it.
1236 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1238 * Graphics.cs: Revised DrawString methods
1240 2005-03-22 Peter Bartok <pbartok@novell.com>
1242 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1245 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1247 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1248 * gdipFunctions.cs: Modified conditional compilation syntax
1249 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1250 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1252 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1254 * Bitmap.cs: Add null check into ctor.
1256 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1258 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1259 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1260 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1262 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1264 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1266 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1268 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1269 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1270 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1271 * Image.cs: uses new Win32 Stream functions when need it
1273 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1275 * Color.cs: Fix GetSaturation() again and remove
1278 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1280 * Color.cs: New, correct implementations for GetHue(),
1281 GetBrightness() and GetSaturation().
1283 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1285 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1286 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1287 * Image.cs: Use PlatformID.Unix under NET_2_0.
1289 2005-05-05 Miguel de Icaza <miguel@novell.com>
1291 * Bitmap.cs, Icon.cs (constructor): Use
1292 GetManifestResourceStream(Type,string) in the constructor that
1295 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1297 * PointF.cs: Make serialization compatible with MS.
1299 2005-04-10 Geoff Norton <gnorton@customerdna.com>
1303 Use CGContextSynchronize instead of CGContextFlush. This saves
1304 on average 20000 ticks per drawing operation.
1306 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1308 * Color.cs: take into account the name color in == and != operators
1309 * Font.cs: Use Equals instead of == to compare the family name
1311 - Removes generic fontfamilies cache (done at libgdiplus level)
1312 - Fixes Equals method
1314 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1316 * Pen.cs: remove locks. They are done at gdiplus level
1317 * Brush.cs: remove locks. They are done at gdiplus level
1318 * Image.cs: remove locks. They are done at gdiplus level
1320 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1322 * Icon.cs: Finished Icon(Type, String) ctor
1324 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1326 * gdipFunctions.cs: fixes GdipGetImagePalette signature
1327 * Image.cs: Implements Palette property using gdiplus
1329 2005-03-17 Peter Bartok <pbartok@novell.com>
1332 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1333 method, now includes a get header delegate
1334 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
1335 the image type even on non-seekable streams
1336 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1337 via StreamGetHeaderImpl
1338 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1339 the new StreamGetHeader delegate
1341 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1343 * Pen.cs: Fixes dispose method to allow to be called multiple times
1344 * Graphics.cs: matrix are saved and restored at gdiplus level
1346 2005-02-24 Geoff Norton <gnorton@customerdna.com>
1348 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1349 so they dont get garbage collected before use.
1351 2005-02-11 Peter Bartok <pbartok@novell.com>
1353 * gdipFunctions.cs: Fixed prototype to match previous checkin
1355 2005-02-11 Peter Bartok <pbartok@novell.com>
1357 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1358 it really is a pointer)
1360 2005-02-10 Geoff Norton <gnorton@customerdna.com>
1362 * Icon.cs: Implement GetObjectData ()
1363 * Image.cs: Implement GetObjectData ()
1365 2005-02-09 Geoff Norton <gnorton@customerdna.com>
1367 * Icon.cs: Implement deserializer
1368 * Bitmap.cs: Implement deserializer
1370 2005-02-06 Ben Maurer <bmaurer@ximian.com>
1372 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1374 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1376 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1378 2005-02-02 Jackson Harper <jackson@ximian.com>
1380 * Region.cs: The default region constructor creates and infinite
1381 region, not an empty one.
1383 2005-01-27 Peter Bartok <pbartok@novell.com>
1385 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1386 of HSV numbers. Previous implementation returned wrong numbers and NaN
1387 on achromatic colors
1389 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
1391 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1392 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1393 : Implemented support for InstanceDescriptor.
1395 2005-01-26 Peter Bartok <pbartok@novell.com>
1397 * Icon.cs (ToBitmap): Now sets transparency in according to
1400 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1402 * gdipFunctions.cs: Fixes GdipGet* function signatures
1403 * FontFamily.cs: Fixes GdipGet* function calls
1404 * Font.cs: Fixes ToString method
1406 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1408 * Graphics.cs: calls XCloseDisplay on X11 when need it
1409 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1411 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
1413 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1415 2004-12-16 Peter Bartok <pbartok@novell.com>
1417 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1418 equivalent to the gdi+ native object
1420 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1421 equivalent to the gdi+ native object
1423 2004-12-09 Geoff Norton <gnorton@customerdna.com>
1425 * carbonFunctions.cs: New carbon functions/structures
1426 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1428 2004-12-08 Geoff Norton <gnorton@customerdna.com>
1430 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
1431 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1433 2004-12-07 Geoff Norton <gnorton@customerdna.com>
1435 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
1436 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1438 2004-12-06 Miguel de Icaza <miguel@ximian.com>
1440 * FontFamily.cs: This one is static.
1442 2004-11-25 Ravindra <rkumar@novell.com>
1444 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1445 type from int to Status type.
1447 2004-11-25 Marek Safar <marek.safar@seznam.cz>
1449 * Image.cs: Add CheckStatus to SaveAdd.
1451 2004-11-22 Ravindra <rkumar@novell.com>
1453 * Graphics.cs: Fixed null values handling in all overloads of
1454 MeasureString method.
1456 2004-11-18 Ravindra <rkumar@novell.com>
1458 * gdipFunctions.cs: Removed the .so extension from a DllImport
1461 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1463 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
1466 2004-11-03 Miguel de Icaza <miguel@ximian.com>
1468 * TextureBrush.cs (Clone): While cloning, it is not enough to let
1469 GDIPlus clone the underlying data, we must alos clone the managed
1472 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1473 errors in the future, set the lock on the object before doing any
1474 other tests, not after.
1476 (Clone): While cloning, it is not enough to let
1477 GDIPlus clone the underlying data, we must alos clone the managed
1480 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1481 errors in the future.
1483 Set the lock in the object before checkign disposed.
1485 * SolidBrush.cs (Clone): While cloning, it is not enough to let
1486 GDIPlus clone the underlying data, we must alos clone the managed
1489 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1490 errors in the future.
1492 2004-10-28 Ravindra <rkumar@novell.com>
1494 * gdipFunctions.cs: Added checks for null stream in the
1495 StreamHelper internal class.
1496 * Icon.cs: Removed an ugly hack that used temp files in
1497 ToBitmap () method. We use MemoryStream instead.
1499 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1501 * Font.cs: fixes bug 66533
1503 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1505 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1506 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1507 lock operations after conversation with Miguel. Do not really
1510 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1512 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1514 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1516 * Bitmap.cs: Fixes MakeTransparent method
1518 2004-10-13 Ravindra <rkumar@novell.com>
1520 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1521 member out of private constructor to class initialization.
1522 So that, we get it right even if Graphics is not instantiated.
1523 This fixes the problem we face (otherwise) when we make first
1524 call to Graphics.FromHwnd () method.
1526 2004-10-08 Ravindra <rkumar@novell.com>
1528 * Image.cs: Suppress finalization in Dispose () method.
1530 2004-10-04 Ravindra <rkumar@novell.com>
1532 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1534 2004-09-29 Jackson Harper <jackson@ximian.com>
1536 * Graphics.cs: Use FromHdcInternal to set the X display
1537 handle. Add a flag to check if we are on unix so we aren't calling
1538 Environment.OSVersion.Platform all the time. Mad props to Peter
1541 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1543 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1544 ToLogFont: Implemented.
1546 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1548 GdipCreateFontFromLogfontA: A new extern call.
1550 2004-09-13 Ravindra <rkumar@novell.com>
1552 * Graphics.cs: MSDN says that using image width and height gives
1553 better performance, hence we are using image width and height to
1554 avoid autoscaling in DrawImageUnscaled.
1556 2004-09-10 Ravindra <rkumar@novell.com>
1558 * Graphics.cs: Implemented DrawIcon methods and fixed
1559 DrawImageUnscaled method implementation.
1561 2004-08-21 Jackson Harper <jackson@ximian.com>
1563 * ImageAnimator.cs: Run animator as a background thread so we do
1566 2004-08-21 Ravindra <rkumar@novell.com>
1568 * gdipFunctions.cs: Modified exception message to include the case
1569 of missing required libraries for different formats.
1571 2004-08-10 Jackson Harper <jackson@ximian.com>
1573 * SystemColors.cs: Make Highlight colour match colour from windows
1574 classic color scheme.
1576 2004-07-30 Ravindra <rkumar@novell.com>
1578 * Font.cs: Fixed Height property implementation and implemented
1579 GetHeight method and its overloads.
1581 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1583 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1584 P/Invoke function for Image.
1585 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1587 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1589 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1590 GdipGetAllPropertyItems P/Invoke function for Image.
1591 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1592 * Image.cs: Corrected implementation of PropertyItems property.
1594 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1596 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1597 P/Invoke function for Image.
1598 * Image.cs: Changed implementation of PropertyIdList property.
1600 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1602 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1603 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1605 2004-07-21 Ravindra <rkumar@novell.com>
1607 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1608 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1610 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1612 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1613 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1614 * gdipFunctions.cs: new GDI function calls
1616 2004-07-16 Ravindra <rkumar@novell.com>
1618 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1620 2004-07-15 Ravindra <rkumar@novell.com>
1622 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1624 2004-07-13 Ravindra <rkumar@novell.com>
1626 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1627 This was redundant. It was kept in previous checkin to avoid
1630 2004-07-13 Ravindra <rkumar@novell.com>
1632 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1634 2004-07-09 Peter Bartok <pbartok@novell.com>
1635 * Graphics.cs: Added support required for new managed SWF library
1636 * gdipFunctions.cs: Added XOpenDisplay definition/import
1638 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1640 * gdipFunctions.cs: fixes bug 61050
1642 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1644 * ImageAnimator.cs: Rewrote complete implementation.
1646 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1648 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1649 If read function was called after seek function call, the
1650 implementation was returning data from bytes already peeked and
1651 not from the new position in stream, which we have seeked.
1653 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1655 * Graphics.cs: added MeasureString wrappers
1657 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1659 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1661 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1663 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1665 2004-06-18 Ravindra <rkumar@novell.com>
1667 * FontConverter.cs: Implemented the missing functions.
1668 * Font.cs: Added some notes.
1670 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1672 * gdipFunctions.cs: Modified Function signature for
1673 GdipSaveImageToDelegate_linux() method for saving tiff images
1675 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1678 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1680 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1681 and Size, required by TIFFCodec. Modifed Function signature for
1682 GdipLoadImageFromDelegate_linux() method.
1683 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1686 2004-06-11 Ravindra <rkumar@novell.com>
1688 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1689 from out int to out IntPtr.
1690 * SolidBrush.cs: Same.
1692 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1694 * Image.cs: API signature fixes, meaning DisposeResources is now
1695 private and marked InitFromStream internal
1697 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1699 * FontFamily.cs: simplifies object destruction and fixes
1701 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1703 * FontFamily.cs: added destructor
1704 * Graphics.cs: added destructor to stop leaking, remove debugging code
1707 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1709 * gdipFunctions.cs: added GdipSaveAddImage
1710 * Image.cs: added SaveAdd methods
1712 2004-06-02 Peter Bartok <pbartok@novell.com>
1713 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1714 (This fixes bug #59479)
1716 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1718 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1719 * Region.cs: Removed extra ComVisible attribute from Clone().
1721 2004-06-01 Ravindra <rkumar@novell.com>
1723 * Pen.cs: Added a note on Dispose method.
1724 * Brush.cs: Fixed Dispose method.
1725 * SolidBrush.cs: Fixed Dispose method.
1727 2004-05-28 Ravindra <rkumar@novell.com>
1729 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1731 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1732 rectangles implementation (This is basically done to avoid lots
1733 of brush and pen setup happening in libgdiplus.)
1735 2004-05-27 Ravindra <rkumar@novell.com>
1737 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1739 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1741 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1744 2004-05-26 Ravindra <rkumar@novell.com>
1746 * Color.cs: Corrected Color.Green property.
1748 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1749 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1751 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1753 * Icon.cs: Fixed issue with size property.
1755 2004-05-18 Ravindra <rkumar@novell.com>
1757 * Pen.cs: Added value checks in DashPattern and CompoundArray
1760 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1762 * Graphics.cs: fixed warning
1763 * ImageAnimator.cs: fixed warning
1764 * FontConverter.cs: fixed public API
1766 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1768 * gdipFunctions.cs: Fixed prototype for
1769 GdipGetEncoderParameterList
1771 * Image.cs: Reworked Save functions to handle EncoderParameters.
1772 Implemented GetEncoderParameterList
1773 Also removed unused setGDIPalette internal method.
1775 2004-05-14 Peter Bartok <pbartok@novell.com>
1776 * StringFormat.cs: Added CharacterRange handling
1777 * Graphics.cs: Implemented MeasureCharacterRanges method
1779 2004-05-14 Peter Bartok <pbartok@novell.com>
1780 * Graphics.cs: Added error check
1782 2004-05-14 Duncan Mak <duncan@ximian.com>
1783 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1784 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1785 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1787 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1788 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1790 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1791 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1793 2004-05-13 Peter Bartok <pbartok@novell.com>
1794 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1797 2004-05-12 Peter Bartok <pbartok@novell.com>
1798 * Image.cs: Implemented GetThumbnailImage
1800 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1801 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1802 FromXDrawable(IntPtr, IntPtr) internal.
1804 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1805 * Color.cs: work for API compatibilty: private date, todos
1806 * Font.cs: work for API compatibilty: private date, todos
1807 * FontFamily.cs: work for API compatibilty: private date, todos
1808 * Graphics.cs: work for API compatibilty: private date, todos
1809 * Icon.cs: work for API compatibilty: private date, todos
1810 * Image.cs: work for API compatibilty: private date, todos
1811 * ImageAnimator.cs: work for API compatibilty: private date, todos
1812 * Point.cs: work for API compatibilty: private date, todos
1813 * PointF.cs: work for API compatibilty: private date, todos
1814 * Rectangle.cs: work for API compatibilty: private date, todos
1815 * RectangleF.cs: work for API compatibilty: private date, todos
1816 * Region.cs: work for API compatibilty: private date, todos
1817 * Size.cs: work for API compatibilty: private date, todos
1818 * SizeF.cs: work for API compatibilty: private date, todos
1819 * SolidBrush.cs: work for API compatibilty: private date, todos
1820 * StringFormat.cs: work for API compatibilty: private date, todos
1821 * SystemPens.cs: work for API compatibilty: private date, todos
1822 * TextureBrush.cs: work for API compatibilty: private date, todos
1823 * gdipStructs.cs: work for API compatibilty: private date, todos
1825 2004-05-12 Ravindra <rkumar@novell.com>
1827 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1828 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1829 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1830 Added missing attributes and some coding style fixes.
1831 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1834 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1836 * ImageAnimator.cs: Implemented first version.
1838 2004-05-11 Ravindra <rkumar@novell.com>
1840 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1843 2004-05-10 Ravindra <rkumar@novell.com>
1845 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1846 for the same. Added few related P/Invokes for Pen also.
1848 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1850 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1852 2004-05-06 Ravindra <rkumar@novell.com>
1854 * RectangleConverter.cs: Implemented GetProperties () method.
1855 * SizeConverter.cs: Implemented GetProperties () method.
1856 * PointConverter.cs: Implemented GetProperties () method.
1857 * FontConverter.cs: Implemented some of the methods.
1859 2004-05-06 Ravindra <rkumar@novell.com>
1861 * Color.cs: Fixed Name property.
1862 * ColorTranslator.cs: Fixed the existing methods and implemented
1863 the missing methods.
1864 * ColorConverter.cs: Fixed the existing methods and implemented
1865 the missing methods. Also, fixed coding style.
1867 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1868 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1870 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1871 * Image.cs: raw_format should be handled by GDI+
1872 * Bitmap.cs: raw_format should be handled by GDI+
1874 2004-05-04 Ravindra <rkumar@novell.com>
1876 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1877 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1878 properties and SetLineCap method. In constructors use IntPtr instead
1880 * SolidBrush.cs: Modified exception message.
1881 * TextureBrush.cs: Fixed Transform property.
1882 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1883 LinearGradientBrush.cs.
1885 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1887 * Image.cs: Implemented FrameDimensionsList property.
1889 2004-04-30 Ravindra <rkumar@novell.com>
1891 * gdipFunctions.cs: Added few more P/Invoke calls for
1892 lineargradient brush and added one case statement in
1895 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1897 * Image.cs: takes into account MemoryBmp format when saving
1899 2004-04-30 Ravindra <rkumar@novell.com>
1901 * StringFormat.cs: Added checks for status.
1903 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1905 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1906 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1908 2004-04-30 Ravindra <rkumar@novell.com>
1910 * Graphics.cs: Added checks for status.
1911 * Image.cs: Added a check for status.
1912 * FontFamily.cs: Added checks for status.
1914 2004-04-29 Peter Bartok <pbartok@novell.com>
1916 * Brushes.cs: Fixed bug #52695. No longer creates a new
1917 brush for every request and behaves Microsoft compatible
1919 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1921 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1922 its ClsID instead of the formatID (as GDI+ expects)
1924 2004-04-29 Ravindra <rkumar@novell.com>
1926 * Font.cs: Added checks for status.
1927 * Bitmap.cs: Added checks for status.
1928 * Pen.cs: Added checks for status.
1930 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1932 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1933 Converted to unix format from dos format.
1935 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1937 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1939 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1941 * gdipStructs.cs: added GdipImageCodecInfo struct
1943 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1945 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1947 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1949 * ImageConverter.cs: Added exception message.
1950 * IconConverter.cs: Added exception message.
1951 * ImageFormatConverter.cs: Implemented first version.
1953 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1955 * ImageConverter.cs: Implemented first version.
1957 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1959 * IconConverter.cs: Implemented first version.
1961 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
1963 * Image.cs: Corrected implementation of Property RawFormat.
1964 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
1966 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
1968 * Bitmap.cs: Resolved a compile time error.
1969 * Image.cs: Changed the implementation of few methods to progress
1970 with ImageAnimator class.
1971 * gdipFunctions.cs: Added few linux only function calls.
1972 * Icon.cs: Removed unused variable from code.
1974 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
1976 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
1978 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
1980 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
1981 serialization for Bitmaps. (Bugzilla #52568)
1983 2004-04-23 Ravindra <rkumar@novell.com>
1985 * RectangleConverter.cs: Fixed ConvertTo () method.
1986 * SizeConverter.cs: Fixed ConvertTo () method.
1987 * PointConverter.cs: Fixed ConvertTo () method.
1989 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
1990 * ImageAnimator.cs: Implemented CanAnimate() method.
1992 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
1993 * Image.cs: added RotateFlip and RemovePropertyItem calls
1995 2004-04-22 Ravindra <rkumar@novell.com>
1997 * RectangleConverter.cs: Implemented. Also changed file format
1999 * Rectangle.cs: Fixed ToString method.
2000 * RectangleF.cs: Fixed ToString method.
2002 2004-04-22 Ravindra <rkumar@novell.com>
2004 * SizeConverter.cs: Implemented some of the functions.
2005 * PointConveter.cs: Implemented.
2006 * gdipFunctions.cs: Corrected one typo.
2007 * Brushes.cs: Added a comment.
2009 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2011 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2012 returning portions of the peek buffer back. Fixes #57379.
2014 2004-04-21 Peter Bartok <pbartok@novell.com>
2015 * Font.cs: Implemented Font.FromHfont method
2016 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2017 * gdipFunctions.cs: Added imports for functions required to support
2018 Font.FromHfont method
2020 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2021 * RectangleConverter.cs: stubbed out
2022 * Font.cs : added missing members
2024 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2025 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2027 2004-04-16 Ravindra <rkumar@novell.com>
2029 * Pen.cs: GC should be allowed to collect any pen including
2031 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2032 including system brushes.
2033 * Brushes.cs: Coding style.
2034 * Pens.cs: Objects created by Pens are not modifiable on
2035 MS.NET, so we are now. Also, coding style fixes.
2036 * SystemPens.cs: Removed static constructor and changed file
2038 * SystemBrushes.cs: Some cosmetic changes.
2040 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2041 * Icon.cs: Implemented more missing bits and fixed the problem
2042 of icon not getting saved in proper format
2044 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2045 * Icon.cs: Implemented more missing bits
2047 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2048 * Icon.cs: Implemented few more missing bits
2050 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2051 * Icon.cs: Implemented first version
2053 2004-04-11 Peter Bartok <pbartok@novell.com>
2054 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2055 the code and using our own private gdiplus function when on Unix and using Win32
2056 functions when running on Windows
2057 * gdipStructs.cs: Added LOGFONTA structure
2058 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2060 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2062 * Image.cs: Save should use encoder.FormatID, not Clsid
2064 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2065 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2066 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2068 2004-04-06 Duncan Mak <duncan@ximian.com>
2070 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2072 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2073 * Region.cs: fixes GetRegionScans
2074 * gdipFunctions.cs: fixes GetRegionScans
2076 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2078 * gdipFunctions.cs: Added stream delegate helpers for
2079 stream loading/saving on linux
2081 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2082 loading/saving image data.
2084 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2085 * Region.cs: implemented new methods
2086 * Graphics.cs: implemented new methods
2088 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2089 * Region.cs: implemented
2091 2004-04-01 Duncan Mak <duncan@ximian.com>
2093 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2095 * gdipFunctions.cs (GdipAddPathCurveI):
2096 (GdipAddPathCurve2, GdipAddPathCurve2I):
2097 (GdipAddPathCurve3, GdipAddPathCurve3I):
2098 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2099 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2102 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2103 * Image.cs: implemented a few GDI+ wrapper calls
2105 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2106 * Bitmap.cs: remove redundant data already present at Image.cs
2107 * Image.cs: use GDI+ functions to get image details
2108 * StringFormat.cs: missing constructor and property
2110 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2111 * FontFamily.cs: added missing members and style clean
2112 * Graphics.cs: fixed signature of DrawArc and DrawPie
2113 * Image.cs: added missing members, fixes
2114 * StringFormat.cs: missing constructor and property
2116 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2117 * Graphics.cs: Added missing DrawImage GDI+ calls
2118 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2120 2004-03-23 Ravindra <rkumar@novell.com>
2121 * gdipFunctions.cs: Added few more P/Invoke calls for
2122 LinearGradientBrush.
2124 2004-03-22 Ravindra <rkumar@novell.com>
2125 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2126 and did few coding style fixes.
2128 2004-03-18 Ravindra <rkumar@novell.com>
2129 * Brush.cs: Fixed Dispose method.
2130 * SolidBrush.cs: Fixed clone method.
2131 * TextureBrush.cs: Fixed clone method.
2132 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2134 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2136 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2138 2004-03-10 Ravindra <rkumar@novell.com>
2139 * Pen.cs: Implemented PenType property.
2140 * Brush.cs: Coding style.
2142 2004-03-06 Ravindra <rkumar@novell.com>
2143 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2144 for PathGradientBrush.
2146 2004-03-06 Ravindra <rkumar@novell.com>
2147 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2150 2004-03-04 Duncan Mak <duncan@ximian.com>
2152 * Region.cs: Indentation.
2154 * RectangleF.cs: Changed the internal structure from a PointF,
2155 SizeF to floats in order to match the layout from the C API.
2157 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2158 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2160 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2161 * gdipFunctions.cs: Added functions for ImageAttributes
2163 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2164 * Icon.cs: Missing function stubs added
2165 * Icon.cs: Missing function stubs added
2166 * IconConverter.cs: Missing function stubs added
2167 * ImageAnimator.cs: Missing function stubs added
2168 * ImageConverter.cs: Missing function stubs added
2169 * ImageFormatConverter.cs: Missing function stubs added
2171 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2172 * Font.cs: Allow multiple styles
2174 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2175 * StringFormat.cs: Clone method
2177 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2178 * font.cs: fixes, Clone, and ToString
2180 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2181 * gdipFunctions.cs: MeasureString
2182 * Graphics.cs : MeasureString
2184 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2185 * Font.cs: destructor and unit conversion
2186 * Graphics.cs : system dpi support
2188 2004-02-13 Ravindra <rkumar@novell.com>
2189 * Pen.cs: Fixed some bugs.
2190 * TextureBrush.cs: Fixed some bugs.
2192 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2193 * gdipFunctions.cs: Added ImageCodecInfo functions
2194 * Image.cs: Added few methods
2196 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2197 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2199 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2200 * gdipFunctions.cs: Added Image class functions
2201 * Image.cs: Added few methods
2203 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2204 * graphics.cs: fixes parameters for DrawStrings functions
2206 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2208 * SRDescriptionAttribute.cs: Added and implemented
2209 * ToolboxBitmapAttribute.cs: Implemented a few members
2210 * SystemIcons.cs: Stubbed
2211 * StringFormat.cs: Implemented method
2212 * Region.cs: Added Todo, fixed attribute
2213 * Size.cs: Added attribute
2214 * SizeF.cs: Added attribute
2215 * RectangleF.cs: Added attributes
2216 * Rectangle.cs: Added attributes
2217 * PointF.cs: Added attribute
2218 * Point.cs: Added attribute
2220 2004-02-06 Ravindra <rkumar@novell.com>
2222 * Brush.cs: Renamed GetException method to CheckStatus
2223 and moved it to gdipFunctions.cs.
2224 * gdipFunctions.cs: Added CheckStatus method.
2225 * SolidBrush.cs: Using CheckStatus method.
2226 * TextureBrush.cs: Using CheckStatus method.
2227 * gdipEnums.cs: Added a missing value.
2229 2004-02-05 Ravindra <rkumar@novell.com>
2231 * Brush.cs: Added a missing namespace.
2233 2004-02-05 Ravindra <rkumar@novell.com>
2235 * gdipFunctions.cs: Added methods for HatchBrush and
2237 * SolidBrush.cs: Added checks for status.
2238 * Brush.cs: Added support for HatchBrush and TextureBrush
2239 types in internal CreateBrush() method.
2241 2004-02-03 Jordi Mas <jordi@ximian.com>
2242 * Font.cs: Setup font properties
2244 2004-02-03 Ravindra <rkumar@novell.com>
2246 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2247 method from TextureBrush.cs to Brush.cs.
2248 * Brush.cs: Made GetException (Status) method internal.
2250 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2252 * gdipFunctions.cs: Added methods for Image class.
2254 2004-01-30 Ravindra <rkumar@novell.com>
2256 * TextureBrush.cs: Added more methods to complete it.
2257 * gdipFunctions.cs: Added methods for TextureBrush class.
2259 2004-01-30 Ravindra <rkumar@novell.com>
2261 * gdipFunctions.cs: Added methods for TextureBrush class.
2263 2004-01-30 Ravindra <rkumar@novell.com>
2265 * Pen.cs: Modified to handle TextureBrush also.
2266 * Bitmap.cs: Added one internal constructor.
2267 * TextureBrush.cs: Implemented.
2269 2004-01-29 Duncan Mak <duncan@ximian.com>
2272 * Graphics.cs: Indentation fixes, removed long dangling lines and
2275 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2278 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2280 * FontFamily.cs: Implemented few methods and a constructor
2282 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2284 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2285 * FontFamily.cs: Implemented missing functionalities.
2287 2004-01-24 Duncan Mak <duncan@ximian.com>
2289 * Graphics.cs (DrawPath): Implemented.
2291 2004-01-23 Ravindra <rkumar@novell.com>
2293 * Point.cs: ToString modified.
2294 * PointF.cs: ToString modified.
2295 * Size.cs: ToString modified.
2296 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2299 2004-01-21 Jordi Mas i Hernàndez
2300 * Bitmap.cs: Several new methods added.
2302 2004-01-21 Duncan Mak <duncan@ximian.com>
2304 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2305 OutAttribute to the array argument. This fixes the PathPoints
2306 property in System.Drawing.Drawing2D.GraphicsPath.
2308 2004-01-20 Ravindra <rkumar@novell.com>
2310 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2311 this property was hanging and getting was throwing a NullRef
2312 Exception. Earlier we were passing Matrix object to and fro
2313 which was causing the problem. Now, we are using IntPtr.
2314 Thanks to Duncan for helping me.
2315 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2316 together. If color is set, a SolidBrush automatically gets
2317 set with the same color, Pen loses the old brush object.
2318 If a SolidBrush is set, Pen.Color gets the value same as that
2319 of brush color losing the old value. Pen shows this behavior
2321 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2322 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2324 2004-01-19 Duncan Mak <duncan@ximian.com>
2326 * gdipFunctions.cs: Import functions for GraphicsPath.
2328 2004-01-14 Ravindra <rkumar@novell.com>
2330 * SolidBrush.cs: Made SolidBrush to initialize its color
2333 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2335 2004-01-11 Duncan Mak <duncan@ximian.com>
2337 * Bitmap.cs (LockBits):
2338 * Graphics.cs (DrawString): Removed reference to GpRectF.
2340 2004-01-09 Duncan Mak <duncan@ximian.com>
2342 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2343 Removed. Didn't know that structs are laid out sequentially by
2344 default. We don't need these anymore.
2346 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
2348 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2350 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
2352 * Graphics.cs: fix compile error on Windows builds for out
2353 parameter state in call to GdipSaveGraphics
2355 2004-01-10 Ravindra <rkumar@novell.com>
2357 * All Enums: Made serializable.
2359 * Image.cs: Corrected signature of Dispose(bool) method.
2361 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
2362 Corrected coding style mistakes of my previous commit.
2364 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2366 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2368 * StringFormat.cs: Inherits MarshalByRefObject.
2370 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2372 2004-01-08 Ravindra <rkumar@novell.com>
2374 * Pen.cs: Added isModifiable (bool) variable. It is required to
2375 make Pens created by SystemPens.cs unmodifiable. All property
2376 setters are modified for this.
2378 * SolidBrush.cs: Added isModifiable variable (bool). It is
2379 required to make Brushes created by SystemBrushes.cs unmodifiable.
2380 All property setters are modified for this.
2382 * SystemBrushes.cs: Modified all the properties as per the .NET
2383 specs, so that Brushes are not created every time. Also, missing
2384 properties are added.
2386 * SystemPens.cs: Modified all the properties as per the .NET
2387 specs, so that Brushes are not created every time. Also, missing
2388 properties are added.
2390 2003-12-12 Miguel de Icaza <miguel@ximian.com>
2392 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2395 2004-01-06 Duncan Mak <duncan@ximian.com>
2397 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2399 2003-12-21 Duncan Mak <duncan@ximian.com>
2401 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2402 up to the GDI+ implementation.
2403 (RotateTransform): Uncommented.
2405 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2408 2003-12-13 Todd Berman <tberman@sevenl.net>
2410 * Font.cs: Implementing a couple things for porting purposes
2411 * SystemBrushes.cs: ^
2412 * StringFormat.cs: ^^
2414 2003-11-28 Duncan Mak <duncan@ximian.com>
2416 * Pen.cs (CompoundArray): Hide this for now.
2418 2003-11-28 Duncan Mak <duncan@ximian.com>
2420 * Brush.cs (CreateBrush): new internal factory method for creating
2421 specific brushes based on the internal (GDI+ C API) BrushType
2423 (Brush (IntPtr)): new internal constructor.
2425 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2427 (Pen (IntPtr)): new internal constructor.
2428 (Pen (Brush, float)): Use GdipCreateBrush2.
2429 (Clone): Implemented using GdipClonePen.
2430 (Alignment, Brush, Color, Width): Use GDI+ implementations
2432 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2433 Implemented these properties.
2434 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2435 (MultiplyTransform, ResetTransform, RotateTransform):
2436 (ScaleTransform, TranslateTransform): Implemented these methods.
2438 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2440 * gdipEnums.cs (BrushType): Added new GDI+ enum.
2442 * gdipFunctions.cs: Imported new Brush and Pen functions.
2444 2003-11-22 Duncan Mak <duncan@ximian.com>
2447 (GdipResetWorldTransform, GdipSetWorldTransform):
2448 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2450 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2451 (transform): Removed this field. Always use the
2452 matrix associated in the GpGraphics ptr.
2453 (DrawBeziers): Implemented.
2454 (DrawLine): Don't need to manually invoke the transform now.
2455 (MultiplyTransform, ResetTransform):
2456 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2457 (Transform): Instead of storing a Matrix in managed code, use
2458 equivalent GDI+ functions.
2460 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2462 * SizeConverter.cs: fixed class signature and implemented some methods.
2464 2003-11-17 Duncan Mak <duncan@ximian.com>
2466 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2468 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2470 2003-11-17 Duncan Mak <duncan@ximian.com>
2472 * Bitmap.cs (LockBits):
2473 * Graphics.cs (DrawString): Use GpRectF.
2475 * gdipFunctions.cs: Updated method signatures.
2477 * Graphics.cs (MultiplyTransform): Implemented using
2478 GdipMultiplyWorldTransform from GDI+.
2480 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2481 GpRect, to be more consistent with the C naming.
2483 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2485 * Graphics.cs: Implement the other DrawString overloads .
2487 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2489 * gdipStructs.cs (GdipRectF): Added utility constructor
2491 2003-11-15 Duncan Mak <duncan@ximian.com>
2493 * gdipFunctions.cs: Imported matrix functions.
2495 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2497 * Bitmap.cs: Added Attributes
2498 * ColorTranslator.cs: Added private constructor
2499 * Font.cs: Added Attributes
2500 * FontFamily.cs: sealed
2501 * Icon.cs: Added Attributes
2502 * IconConverter.cs: Fixed signature
2503 * Image.cs: Added attributes
2505 * ImageConverter.cs:
2506 * ImageFormatConverter.cs:
2513 * TextureBrush.cs: Fixed signature
2514 * Color.cs: Added attributes
2519 * SizeF.cs: Added attributes
2520 * ContentAlignment.cs: Added attribute
2522 2003-11-13 Duncan Mak <duncan@ximian.com>
2524 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2527 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2528 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2529 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2531 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2533 * gdipFunctions.cs copy image in Bitmap constructor
2535 2003-11-06 Duncan Mak <duncan@ximian.com>
2536 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2537 angle parameters for the integer case.
2538 (DrawBezier): Hook it up with GdipDrawBezier.
2539 (DrawEllipse): Fix Width, Height ordering.
2541 2003-11-05 Duncan Mak <duncan@ximian.com>
2543 * Graphics.cs (DrawPie):
2544 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2547 2003-10-28 Duncan Mak <duncan@ximian.com>
2549 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2550 (FillEllipse, FillPolygon): implemented.
2551 (RenderingOrigin): implemented.
2553 * gdipFunctions.cs: Added new GDI+ equivalents.
2555 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2557 * Image.cs small fixes
2559 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2561 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2563 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2565 * SystemBrushes.cs: Some more brushe3s.
2567 * SystemPens.cs: More pens.
2569 * Pen.cs: Implement IDisposable, ICloneable.
2571 * Region.cs: Add some more stubs here.
2573 * StringFormat.cs: Add some more code here.
2575 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2577 * Image.cs: Kill the InternalImageInfo, everything is now done in
2578 terms of Image and BitmapData.
2580 * Rectangle.cs: Make this one also sequential, change from using
2581 Point + Size to use x, y, width, height; So we can use GdiPlus.
2583 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2584 BitmapData class argument, and instead use the [In,Out]
2585 attributes, which will do struct marshalling on the fields. Now
2586 we can use C#'s BitmapData directly to talk to Gdiplus.
2588 * gdipStructs.cs: Every internal structure that has to talk to
2589 Gdi+ is properly prefixed, to minimize the confussion.
2591 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2592 Compute the stride here where we have the BPP information,
2593 allocate a buffer of the proper size, and pass this to
2594 GdipCreateBitmapFromScan0
2596 * Image.cs: Implement Dispose pattern.
2598 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2601 * gdipStructs.cs DrawString function added
2603 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2606 * gdipStructs.cs added
2609 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2618 implementation changed to gdi+
2620 2003-09-08 Duncan Mak <duncan@ximian.com>
2622 * Factories.cs (DefaultImplementationNamespace): Change it from
2623 "XrImpl" to "Cairo".
2625 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2627 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2630 2003-08-08 Duncan Mak <duncan@ximian.com>
2632 * Graphics.cs (DrawBezier): Fixed.
2634 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2635 * Graphics.cs delegate Dispose to implementation
2637 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2639 * FontConverter.cs: stub it out so that system.web compiles.
2641 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2642 * Image.cs InternalImageInfo class improved
2644 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2646 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2647 is set, default to Win32Impl
2649 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2650 * Image.cs implementation added
2652 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2654 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2656 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2658 * StringFormat.cs: Changes to become CLS-compliant
2660 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2662 * Factories.cs: Remove debugging message.
2664 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2665 * Color.cs code generation program modified
2667 2003-06-29 Alexandre Pigolkine
2668 * Graphics.cs image drawing
2670 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2673 supply KnowColor enum value to save Enum.Parse at runtime
2675 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2676 * Graphics.cs coordinate transformations
2677 * Image.cs small fix
2679 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2681 * FontFamily.cs more implementation
2683 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2685 * FontFamily.cs more implementation
2687 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2688 * Graphics.cs few more calls to implementation
2690 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2691 * Bitmap.cs BITMAP declaration removed
2692 * Graphics.cs few more calls to implementation
2693 * Image.cs InternalImageInfo structure, image read/write functions
2696 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2697 * Factories.cs analyse environment variable and machine.config to select implementation
2698 * Image.cs PixelFormat property added
2700 2003-04-30 Nick Drochak <ndrochak@gol.com>
2702 * Factories.cs: Change weird characters that broke build on windows.
2704 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2706 * ColorConverter.cs:
2707 (ConvertFrom): return a system or named color if there's one that fits
2708 teh values parsed with Color.FromArgb.
2710 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2720 delegate function calls to implementation
2722 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2726 * SystemBrushes.cs switch to Linux style line terminators
2728 2003-03-29 Alan Tam <Tam@SiuLung.com>
2729 * ToolboxBitmapAttribute
2730 stubbed more constructors and fixed base class
2732 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2734 added stubs to compile SWF
2737 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2742 small changes to be able to run SWF apps
2744 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2746 * Graphics.cs: stubbed out all the methods.
2748 2003-02-08 Piers Haken <piersh@friskit.com>
2750 * fixed case of pens.cs and font.cs
2752 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2759 2002-11-21 Dennis Hayes (dennish@raytek.com)
2760 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2764 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2766 * ColorTranslator.cs (FromHtml): Implement.
2768 2002-10-14 Dennis Hayes (dennish@raytek.com)
2770 * changed using namespace from Drawing2d to Drawing2D
2772 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2774 * Fixes the enum values in the following enums
2775 * ContentAlignment.cs:
2779 * RotateFlipType.cs:
2780 * StringAligment.cs:
2781 * StringDigitSubstitute.cs:
2782 * StringFormatFlags.cs:
2783 * StringTrimming.cs:
2785 * SolidBrush.cs: Easy implementation
2786 * Brushes.cs: Implementation based on SolidBrush and Color class.
2787 * Brush.cs: Fixes based on the status web).
2788 * CharacterRange.cs: Implemented the missing Lenth property.
2790 2002-9-14 Dennis Hayes (dennish@raytek.com)
2793 * removed personal template that should not have been checked in
2795 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2797 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2800 2002-9-14 DennisHayes <dennish@raytek.com>
2808 * ImageFormatConverter.cs
2810 * RectangleConverter.cs
2819 * ToolboxBitmapAttribute.cs
2820 * Added null classes for most/all classes, Many stubs, and some implmentation
2822 2002-9-2 DennisHayes <dennish@raytek.com>
2829 * Added stubs, implmentation
2831 2002-9-2 DennisHayes <dennish@raytek.com>
2833 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2834 but this should at least save someone some typing.
2835 * CharacterRange.cs :Implmented
2836 * Region.cs : stub needed for system.windows.forms
2838 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2840 * ColorTranslator.cs: use Color.Name.
2842 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2844 * Color.cs: implemented SystemColors and NamedColors properties that
2845 are used by ColorConverter, removed public constructor, use
2846 SystemColors, and misc. fixes to make it behave as MS (ToString,
2847 parsing names, FromKnownColor,...).
2849 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2850 trying to get the color from its name.
2852 * SystemColors.cs: new file.
2854 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2856 * Color.cs: changed static properties to use FromArgbNamed. Also
2857 modified the program included in comments that get the values for
2860 (FromArgbNamed): build named colors.
2861 (FromKnownColor): fixed.
2862 (FromName): use a hash to look up colors by name.
2863 (FillColorNames): create the hash of colors.
2864 (Equals): compare values and name.
2865 (ToString): improved.
2867 * ColorTranslator.cs: implemented ToHtml.
2869 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2871 * Color.cs: added TypeConverter attribute.
2873 * ColorConverter.cs: added constructor.
2875 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2877 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2879 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2881 * Bitmap.cs : using System.IO
2882 * ColorTranslator.cs : Stubbed off build breakers.
2883 * Image.cs : Stub off IDisposable and ICloneable.
2885 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2887 * Bitmap.cs: Ximian is the new copyright holder now.
2890 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2892 * Uppercased several files.
2894 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2896 * color.cs: Fixed a typo in GetSaturation ().
2898 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2900 * Bitmap.cs: Added method headers.
2902 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2904 * Bitmap.cs: Added, no implementation's done, yet.
2906 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2908 * Rectangle.cs : Add a doc comment.
2909 * RectangleF.cs : New struct implementation.
2911 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2913 * Rectangle.cs : New struct implementation.
2915 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2917 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2919 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2921 * Point.cs : New. Implementation of System.Drawing.Point struct.