1 2003-11-28 Miguel de Icaza <miguel@ximian.com>
3 * Mono.Cairo/Object.cs:
5 * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
6 while to find out why Cairo applications would crash sometimes.
7 The problem was that Cairo.Object:TargetSurface get property would
8 create a Surface from an IntPtr, leading to having two managed
9 objects owning the same unmanaged Surface.
11 (Surface..ctor): Make private, so only this module can create
14 (Surface.Dispose): Add disposable pattern, finalizer.
16 * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
18 2003-10-11 Duncan Mak <duncan@ximian.com>
20 * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
21 (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
22 (cairo_current_matrix): Signature changed, updated.
23 (cairo_surface_reference): New API.
24 (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
26 * Mono.Cairo/Surface.cs:
27 * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
28 (Destroy): It's supposed to return void, not IntPtr.
30 2003-09-08 Duncan Mak <duncan@ximian.com>
32 * Mono.Cairo/Surface.cs (PutImage): Removed.
34 * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
36 * Mono.Cairo/Cairo.cs (cairo_copy): New API
37 (cairo_surface_put_image): Removed.
39 2003-09-05 Duncan Mak <duncan@ximian.com>
41 * Mono.Cairo/Object.cs (Tolerance): Fix typo.
43 2003-09-04 Duncan Mak <duncan@ximian.com>
45 * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
46 *_get_* to *_current_*.
47 (cairo_set_target_drawable):
48 (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
49 (cairo_current_tolerance):
50 (cairo_set_tolerance): Fix typo. Thanks Alp.
52 * Mono.Cairo/Object.cs: Update binding to reflect changes in the
55 2003-08-12 Duncan Mak <duncan@ximian.com>
57 * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
58 name because the namespace name (Cairo) is the same as the class
59 name (also Cairo). To resolve this ambiguity while keeping the
60 code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
62 2003-08-12 Duncan Mak <duncan@ximian.com>
64 * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
65 the enums no longer need to be nested inside the Cairo class.
67 * Mono.Cairo/Matrix.cs:
68 * Mono.Cairo/Object.cs:
69 * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
70 the name of a class, esp. now that we have namespaces. So I have
71 decided to rename them.
73 CairoObject -> Cairo.Object
74 CairoMatrixObject -> Cairo.Matrix
75 CairoSurfaceObject -> Cairo.Surface
77 I didn't like the Mono.Cairo namespace either, so they're just in
78 the Cairo namespace now. I know it's icky that the directory is
79 called Mono.Cairo, and the dll we write to is called
80 'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
81 and not 'Mono.Cairo'. C'est la vie.
83 2003-08-12 Duncan Mak <duncan@ximian.com>
85 * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
86 is actually a CairoSurfaceObject (a C cairo_surface_t); the
87 CairoPatternObject is just something I made up...
89 2003-08-12 Nick Drochak <ndrochak@gol.com>
91 * Makefile: put .dll on System.Drawing reference. Fix CSC build.
93 2003-08-11 Duncan Mak <duncan@ximian.com>
96 * Mono.Cairo.dll.sources: Added.
98 * Mono.Cairo/Cairo.cs:
99 * Mono.Cairo/CairoObject.cs:
100 * Mono.Cairo/CairoMatrixObject.cs:
101 * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
103 2003-08-09 Duncan Mak <duncan@ximian.com>
105 * Mono.Cairo/Cairo.cs:
106 * Mono.Cairo/CairoObject.cs:
107 * Mono.Cairo/CairoMatrixObject.cs:
108 * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.