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