2007-01-08 Alp Toker <alp@atoker.com>
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
index 71124f2497fe1e5e195eec8afc2539ead4c1aab0..1df4785500001c74800f456f17c45339e9896458 100644 (file)
@@ -1,3 +1,201 @@
+2007-01-08  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs: Implement Context.GlyphExtents().
+       * Mono.Cairo/Cairo.cs: Change other TextExtents refs to outs.
+
+2007-01-08  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs: Restore Obsolete markings for old glyph
+       methods. It is fair to assume nobody was able to use these broken
+       methods, and Obsolete is important for the ongoing API review process.
+
+2007-01-08  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs:
+       * Mono.Cairo/Surface.cs:
+       Introduce Context.SetSource(). The old method also oddly took ints
+       instead of doubles. Obsolete Context.SetSourceSurface() and
+       Surface.Show().
+
+2007-01-08  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Format.cs: Obsolete Format.ARGB32/RGB24 in favour of
+       lower caps enum members.
+
+2007-01-05  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Pattern.cs: Obsolete Pattern(Surface) ctor in favour of
+       SurfacePattern(Surface).
+
+2007-01-05  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs:
+       * Mono.Cairo/Surface.cs: Generalize to Surface.LookupSurface()
+       This method will be useful elsewhere.
+
+2007-01-04  Miguel de Icaza  <miguel@novell.com>
+
+       * Mono.Cairo/Context.cs (FromGlyphToUnManagedMemory): Deal with
+       an API limitation, the Glyph structure in Cairo is defined as
+       taking a `long' which would be 4 or 8 bytes depending on the
+       operating system.
+
+       We now cope with this by using the proper structure to the
+       unmanaged code. 
+
+2006-12-30  Alp Toker  <alp@atoker.com>
+
+       * Makefile: Enable CAIRO_1_2.
+
+2006-12-28  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/DirectFBSurface.cs: Confusion between the DirectFB
+       surface handle and Cairo surface handle was making the public
+       constructor unusable.
+
+2006-12-27  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo.dll.sources:
+       * Mono.Cairo/Context.cs:
+       * Mono.Cairo/GlitzSurface.cs: Add new surface.
+
+2006-12-27  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Cairo.cs:
+       * Mono.Cairo/Status.cs: Add new API for 1.4
+
+2006-12-07  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo/Context.cs: Add GroupTarget cases for Xcb and DirectFB
+       surfaces.
+
+2006-09-19 Jordi Mas <jordimash@gmail.com>
+
+       * Surface.cs, Cairo.cs: the parameters for Show are X,Y not witdh 
+       and height and also double not int.
+
+2006-07-21  Alp Toker  <alp@atoker.com>
+
+       * Mono.Cairo.dll.sources:
+       * Mono.Cairo/DirectFBSurface.cs:
+       * Mono.Cairo/XcbSurface.cs: Add new surfaces.
+
+2006-07-06  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs:
+       * Mono.Cairo/ImageSurface.cs: Marshal data correctly
+
+2006-07-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Context.cs:
+       * Mono.Cairo/PdfSurface.cs:
+       * Mono.Cairo/PSSurface.cs:
+       * Mono.Cairo/Cairo.cs:
+       * Mono.Cairo/XlibSurface.cs:
+       * Mono.Cairo/SvgSurface.cs: add some new surface API I missed
+
+2006-07-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Status.cs:
+       * Mono.Cairo/Context.cs:
+       * Mono.Cairo/FontFace.cs:
+       * Mono.Cairo/Surface.cs:
+       * Mono.Cairo/Format.cs:
+       * Mono.Cairo/LinearGradient.cs:
+       * Mono.Cairo/SolidPattern.cs:
+       * Mono.Cairo/Win32Surface.cs:
+       * Mono.Cairo/Pattern.cs:
+       * Mono.Cairo/SurfacePattern.cs:
+       * Mono.Cairo/ImageSurface.cs:
+       * Mono.Cairo/Cairo.cs:
+       * Mono.Cairo/Gradient.cs:
+       * Mono.Cairo/XlibSurface.cs:
+       * Mono.Cairo/RadialGradient.cs: add remaining new API for cairo 1.2
+       
+2006-07-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/FontType.cs:
+       * Mono.Cairo/PatternType.cs: add new enums for cairo 1.2
+
+2006-06-25  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Surface.cs: make Destroy() call Dispose()
+       so all the Disposable stuff happens correctly and only once
+       
+2006-06-23  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Pattern.cs:
+       * Mono.Cairo/SolidPattern.cs:
+       * Mono.Cairo/SurfacePattern.cs:
+       * Mono.Cairo/Gradient.cs:
+       * Mono.Cairo/LinearGradient.cs:
+       * Mono.Cairo/RadialGradient.cs: split the pattern/gradients
+       into their own files
+       
+2006-06-23  John Luke  <john.luke@gmail.com>
+
+       #if CAIRO_1_2 changes
+       
+       * Mono.Cairo/Surface.cs: add SetFallbackResolution
+       * Mono.Cairo/CairoAPI.cs: remove old pdf/ps api and
+       add some of the new API
+       * Mono.Cairo/SurfaceType.cs:
+       * Mono.Cairo/SvgSurface.cs:
+       * Mono.Cairo/SvgVersion.cs: add these
+       
+2006-06-23  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Surface.cs:
+       * Mono.Cairo/ImageSurface.cs:
+       * Mono.Cairo/PDFSurface.cs:
+       * Mono.Cairo/PSSurface.cs:
+       * Mono.Cairo/Win32Surface.cs:
+       * Mono.Cairo/XlibSurface.cs: split the surfaces into
+       their own files, make pdf and ps reflect what will be
+       in the cairo 1.2 api
+
+2006-06-23  John Luke  <john.luke@gmail.com>
+
+       * snippets/*.cs: use Cairo.Context instead of Cairo.Graphics
+       * Samples/*/Makefile: add to ease building of samples
+       
+2006-05-02  Zac Bowling  <zac@zacbowling.com>
+       
+       * Mono.Cairo/Surface.cs: string should be byte[]
+       * Mono.Cairo/Cairo.cs: string should be byte[]
+       (Patch from Philipp Baer <phbaer@npw.net>)
+
+2006-01-17  Alp Toker  <alp@atoker.com>
+
+       * Samples/x11/compile.sh: Remove unused gtk-sharp reference
+
+2005-12-19  Wade Berrier <wberrier@novell.com>
+
+       * Mono.Cairo/Makefile: Fix EXTRA_DIST to include samples
+
+2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>
+
+       * Mono.Cairo/Format.cs: Removed fixme, added names in .Net format
+       * Mono.Cairo/Surface.cs: Removed fixme, added static method 
+         FromBitmap() to allow creating a surface from a bitmap
+       * Mono.Cairo/Pattern.cs: Removed fixme to not tempt anyone to change
+         the name down the road
+
+2005-12-16  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/FontOptions.cs: fix bug with
+       fontOptions == null, check parameter to Merge
+       against null
+       * Mono.Cairo/Glyph.cs: add setters to properties
+       
+2005-12-16  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: organize and add missing API
+       split out enums and structs
+       * Mono.Cairo/*.cs: add enums and structs as seperate files
+       implement ==, !=, Equals, and GetHashCode for the structs
+       move public fields to properties
+
 2005-12-16  John Luke  <john.luke@gmail.com>
 
        * Mono.Cairo/Cairo.cs: