2005-07-04 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
2         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
3         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
4
5 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
6
7         * Cairo.cs: fixes cairo_current_matrix signature
8         * Font.cs: fixes internal _create method always returning null
9         * Graphics.cs: fixes Graphics.Matrix
10         * Matrix.cs: does not allow matrix objects without a wrapped handle
11         * Surface.cs: implements Surface.Show 
12
13 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
14
15         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
16         return value is owned by Cairo.
17
18 2004-05-10  Radek Doulik  <rodo@ximian.com>
19
20         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
21         cairo_curve_to instead of passing x2, x2
22
23 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
24         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
25         introduced in Cairo 0.1.20
26         * Font.cs: created class that encapsulates a font object creation
27         and managment.
28         * Cairo.cs: new dllexports, structs, and enums.
29         * Graphics.cs: added all the font functions, fixed the signature
30         of the methods that have changed, added new methods
31
32 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
33
34         * Mono.Cairo/Object.cs: 
35
36         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
37         while to find out why Cairo applications would crash sometimes.
38         The problem was that Cairo.Object:TargetSurface get property would
39         create a Surface from an IntPtr, leading to having two managed
40         objects owning the same unmanaged Surface.
41
42         (Surface..ctor): Make private, so only this module can create
43         surfaces. 
44
45         (Surface.Dispose): Add disposable pattern, finalizer.
46
47         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
48
49 2003-10-11  Duncan Mak  <duncan@ximian.com>
50
51         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
52         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
53         (cairo_current_matrix): Signature changed, updated.
54         (cairo_surface_reference): New API.
55         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
56
57         * Mono.Cairo/Surface.cs:        
58         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
59         (Destroy): It's supposed to return void, not IntPtr.
60
61 2003-09-08  Duncan Mak  <duncan@ximian.com>
62
63         * Mono.Cairo/Surface.cs (PutImage): Removed.
64
65         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
66
67         * Mono.Cairo/Cairo.cs (cairo_copy): New API
68         (cairo_surface_put_image): Removed.
69
70 2003-09-05  Duncan Mak  <duncan@ximian.com>
71
72         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
73
74 2003-09-04  Duncan Mak  <duncan@ximian.com>
75
76         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
77         *_get_* to *_current_*. 
78         (cairo_set_target_drawable): 
79         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
80         (cairo_current_tolerance):
81         (cairo_set_tolerance): Fix typo. Thanks Alp.
82
83         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
84         API.
85
86 2003-08-12  Duncan Mak  <duncan@ximian.com>
87
88         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
89         name because the namespace name (Cairo) is the same as the class
90         name (also Cairo). To resolve this ambiguity while keeping the
91         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
92
93 2003-08-12  Duncan Mak  <duncan@ximian.com>
94
95         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
96         the enums no longer need to be nested inside the Cairo class.
97
98         * Mono.Cairo/Matrix.cs:
99         * Mono.Cairo/Object.cs:
100         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
101         the name of a class, esp. now that we have namespaces. So I have
102         decided to rename them.
103
104                 CairoObject        -> Cairo.Object
105                 CairoMatrixObject  -> Cairo.Matrix
106                 CairoSurfaceObject -> Cairo.Surface
107
108         I didn't like the Mono.Cairo namespace either, so they're just in
109         the Cairo namespace now. I know it's icky that the directory is
110         called Mono.Cairo, and the dll we write to is called
111         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
112         and not 'Mono.Cairo'. C'est la vie.
113         
114 2003-08-12  Duncan Mak  <duncan@ximian.com>
115
116         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
117         is actually a CairoSurfaceObject (a C cairo_surface_t); the
118         CairoPatternObject is just something I made up...
119
120 2003-08-12  Nick Drochak <ndrochak@gol.com>
121
122         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
123
124 2003-08-11  Duncan Mak  <duncan@ximian.com>
125
126         * makefile:
127         * Mono.Cairo.dll.sources: Added.
128
129         * Mono.Cairo/Cairo.cs:
130         * Mono.Cairo/CairoObject.cs:
131         * Mono.Cairo/CairoMatrixObject.cs: 
132         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
133
134 2003-08-09  Duncan Mak  <duncan@ximian.com>
135
136         * Mono.Cairo/Cairo.cs:
137         * Mono.Cairo/CairoObject.cs:
138         * Mono.Cairo/CairoMatrixObject.cs: 
139         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.