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