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