svn path=/branches/mono-1-1-9/mcs/; revision=51207
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
index f0b2a4dc93020e0ed68415a30b39763e42708c53..b4a5171779f9364d78d2827535e1758ec3ef829e 100644 (file)
@@ -1,6 +1,307 @@
+2005-09-07  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Graphics.cs: the Relative path methods
+       should use a Distance not a PointD, and update some
+       parameter names for better documentation purposes
+       remove SetTargetImage (), and SetTargetDrawable ()
+       use Graphics.Target = Surface instead
+       * Mono.Cairo/Surface.cs: don't reference the surface after
+       we create it as it is not necessary
+       add the new surfaces to the surfaces hashtable on instantiation 
+       * Mono.Cairo/Pattern.cs: don't reference the pattern after
+       we create it as it is not necessary
+       
+2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+
+       * Samples/png: Fixed samples with new changes.
+       * Samples/x11: Fixed samples with new changes.
+       * Samples/gtk: Fixed samples with new changes.  
+
+2005-09-06  John Luke  <john.luke@gmail.com>
+
+       * Samples/gtk/circles.cs: fix partially broken sample
+
+2005-09-06  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Surface.cs: make CreateSimilar non-static
+       and use Content instead of Format, add Surface.Status
+       * Mono.Cairo/Graphics.cs: add convenience
+       ctor to Color with an alpha of 1.0
+       add Tolerance getter, Change SetDash to compute
+       the length automatically, rename TargetSurface to Target,
+       add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
+       add Paint, PaintWithAlpha, Mask, and MaskSurface (),
+       add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
+       * Mono.Cairo/Cairo.cs: add new imports:
+       cairo_stroke_extents, cairo_fill_extents,
+       cairo_clip_preserve, cairo_mask, cairo_mask_surface,
+       cairo_paint_with_alpha, cairo_surface_status
+       add Content enum and fix cairo_surface_create_similar to use
+       Content not Format
+       
+2005-09-05  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Samples/gtk/Graphics.cs:
+       add gtk-cairo helper that will work on win32 and
+       x11 based on gtk-dotnet in gtk#, not yet tested on
+       windows
+
+2005-09-05  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Samples/win32/compile.sh: add this
+       
+2005-09-04  John Luke  <john.luke@gmail.com>
+       * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
+         cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
+         cairo_font_set_transform, cairo_font_current_transform,
+         cairo_font_reference, cairo_font_destroy, cairo_status_string,
+         cairo_surface_create_similar_solid
+         rename cairo_current_line_cap to cairo_get_line_cap,
+         remove now unused delegates
+       * Mono.Cairo/Graphics.cs:
+       * Mono.Cairo/Surface.cs: update for above all found 
+         with help of mono-shlib-cop
+
+2005-09-04  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
+       
+2005-09-02  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
+       
+2005-09-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add some imports used by
+       the extra surface types
+       * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
+       remove Surface.CreateForXlib () 
+       add PdfSurface and PsSurface for future use (#if'ed out)
+       * Mono.Cairo/Graphics.cs: add ShowPage() method
+       * Samples/win32/arc.cs: add win32 sample
+       * Samples/gtk/sysdraw.cs: use XlibSurface instead of
+       Surface.CreateForXlib ()
+       * Samples/x11/*.cs: use XlibSurface instead of
+       Surface.CreateForXlib ()
+
+2005-09-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
+         (libcairo-2.dll) so that we can work on .net also 
+       * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
+         cairo_get_antialias and Cairo.Antialias enum
+       * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
+         property
+        
+
+2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+
+        * Samples: Added png and x11 samples and cleaned up gtk
+
+2005-08-30  John Luke  <john.luke@gmail.com>
+       * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
+         some callback delegates outside the CairoAPI class
+       * Mono.Cairo.Matrix.cs: mark Matrix_T internal
+       * Mono.Cairo/*.cs: remove using System.Drawing;
+       * Mono.Cairo.Graphics.cs: fix IDisposable implementation
+         add overloads to MoveTo () and similar functions
+         for passing the parameters individually
+       * Makefile: remove -r:System.Drawing
+
+2005-08-30  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add import for
+       cairo_surface_write_to_png
+       * Mono.Cairo/Surface.cs: add WriteToPng method
+
+2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+        * Added xlib surface size / font size functions
+        * Added font matrix setting
+       
+2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+        * Cleanup all old methods, remove deprecated classes
+       
+2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * General fixups, this is becoming ready for SVN
+
+2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+        * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
+       * More cleanups to fonts and Graphics.cs
+
+2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * Matrix.cs: binded all functions from Cairo 0.5.x
+       * Surface.cs: binded all functions from Cairo 0.5.x
+       * Pattern.cs: binded all functions from Cairo 0.5.x
+       
+2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * Removed dependency on GTK 2.7.x in Samples
+       * Added more Matrix constructors
+       * Fixed typo in enum Extend
+       * Cairo.cs: fixed matrix_init* methods (dont use ref)
+       * Matrix.cs: moved to 0.5.x API, needs more work
+       
+2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * Moved a major part of the API to follow Cairo 0.5.x
+       * *_current_* are being replaced by *_get_*
+       * move *_set_* function to new API
+       * Add SurfaceImage type
+       * Matrix operations are somehow broken right now
+       
+2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * Graphics.cs: added get for Pattern property
+       * Cairo.cs: added FontExtents / TextExtents structs
+       * Cairo.cs: added several other functions from C API
+         cairo_text_extents
+       * Started move to Cairo 0.5.x
+
+2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+        * Graphics.cs: Added helper types (PointD, Point, Distance)
+       * Incorporated Reference() into some constructors
+       * Pattern.cs: Split patter into 3 object types
+       * Use double precision for sub-pixel rendering all over
+       * Use IntPtr.Zero instead of (IntPtr) 0
+       * Graphics.cs: Remove SetRGBColor and use Color type
+       * Matrix.cs: add Affine type as a subclass.
+   
+2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
+       * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
+       * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
+
+2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
+
+       * Cairo.cs: fixes cairo_current_matrix signature
+       * Font.cs: fixes internal _create method always returning null
+       * Graphics.cs: fixes Graphics.Matrix
+       * Matrix.cs: does not allow matrix objects without a wrapped handle
+       * Surface.cs: implements Surface.Show 
+
+2004-05-26  Miguel de Icaza  <miguel@ximian.com>
+
+       * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
+       return value is owned by Cairo.
+
+2004-05-10  Radek Doulik  <rodo@ximian.com>
+
+       * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
+       cairo_curve_to instead of passing x2, x2
+
+2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
+       * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
+       introduced in Cairo 0.1.20
+       * Font.cs: created class that encapsulates a font object creation
+       and managment.
+       * Cairo.cs: new dllexports, structs, and enums.
+       * Graphics.cs: added all the font functions, fixed the signature
+       of the methods that have changed, added new methods
+
+2003-11-28  Miguel de Icaza  <miguel@ximian.com>
+
+       * Mono.Cairo/Object.cs: 
+
+       * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
+       while to find out why Cairo applications would crash sometimes.
+       The problem was that Cairo.Object:TargetSurface get property would
+       create a Surface from an IntPtr, leading to having two managed
+       objects owning the same unmanaged Surface.
+
+       (Surface..ctor): Make private, so only this module can create
+       surfaces. 
+
+       (Surface.Dispose): Add disposable pattern, finalizer.
+
+       * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
+
+2003-10-11  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
+       (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
+       (cairo_current_matrix): Signature changed, updated.
+       (cairo_surface_reference): New API.
+       (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
+
+       * Mono.Cairo/Surface.cs:        
+       * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
+       (Destroy): It's supposed to return void, not IntPtr.
+
+2003-09-08  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/Surface.cs (PutImage): Removed.
+
+       * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
+
+       * Mono.Cairo/Cairo.cs (cairo_copy): New API
+       (cairo_surface_put_image): Removed.
+
+2003-09-05  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/Object.cs (Tolerance): Fix typo.
+
+2003-09-04  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
+       *_get_* to *_current_*. 
+       (cairo_set_target_drawable): 
+       (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
+       (cairo_current_tolerance):
+       (cairo_set_tolerance): Fix typo. Thanks Alp.
+
+       * Mono.Cairo/Object.cs: Update binding to reflect changes in the
+       API.
+
+2003-08-12  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
+       name because the namespace name (Cairo) is the same as the class
+       name (also Cairo). To resolve this ambiguity while keeping the
+       code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
+
+2003-08-12  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
+       the enums no longer need to be nested inside the Cairo class.
+
+       * Mono.Cairo/Matrix.cs:
+       * Mono.Cairo/Object.cs:
+       * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
+       the name of a class, esp. now that we have namespaces. So I have
+       decided to rename them.
+
+               CairoObject        -> Cairo.Object
+               CairoMatrixObject  -> Cairo.Matrix
+               CairoSurfaceObject -> Cairo.Surface
+
+       I didn't like the Mono.Cairo namespace either, so they're just in
+       the Cairo namespace now. I know it's icky that the directory is
+       called Mono.Cairo, and the dll we write to is called
+       'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
+       and not 'Mono.Cairo'. C'est la vie.
+       
+2003-08-12  Duncan Mak  <duncan@ximian.com>
+
+       * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
+       is actually a CairoSurfaceObject (a C cairo_surface_t); the
+       CairoPatternObject is just something I made up...
+
+2003-08-12  Nick Drochak <ndrochak@gol.com>
+
+       * Makefile: put .dll on System.Drawing reference. Fix CSC build.
+
+2003-08-11  Duncan Mak  <duncan@ximian.com>
+
+       * makefile:
+       * Mono.Cairo.dll.sources: Added.
+
+       * Mono.Cairo/Cairo.cs:
+       * Mono.Cairo/CairoObject.cs:
+       * Mono.Cairo/CairoMatrixObject.cs: 
+       * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
+
 2003-08-09  Duncan Mak  <duncan@ximian.com>
 
-       * Mono.Cairo.Cairo.cs:
-       * Mono.Cairo.CairoObject.cs:
-       * Mono.Cairo.CairoMatrixObject.cs: 
-       * Mono.Cairo.CairoSurfaceObject.cs: Added Cairo binding.
\ No newline at end of file
+       * Mono.Cairo/Cairo.cs:
+       * Mono.Cairo/CairoObject.cs:
+       * Mono.Cairo/CairoMatrixObject.cs: 
+       * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.