Port to Cairo 0.5.x. API changed a lot, added much more tests.
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
2         * General fixups, this is becoming ready for SVN
3
4 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5         * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
6         * More cleanups to fonts and Graphics.cs
7
8 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
9         * Matrix.cs: binded all functions from Cairo 0.5.x
10         * Surface.cs: binded all functions from Cairo 0.5.x
11         * Pattern.cs: binded all functions from Cairo 0.5.x
12         
13 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
14         * Removed dependency on GTK 2.7.x in Samples
15         * Added more Matrix constructors
16         * Fixed typo in enum Extend
17         * Cairo.cs: fixed matrix_init* methods (dont use ref)
18         * Matrix.cs: moved to 0.5.x API, needs more work
19         
20 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
21         * Moved a major part of the API to follow Cairo 0.5.x
22         * *_current_* are being replaced by *_get_*
23         * move *_set_* function to new API
24         * Add SurfaceImage type
25         * Matrix operations are somehow broken right now
26         
27 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
28         * Graphics.cs: added get for Pattern property
29         * Cairo.cs: added FontExtents / TextExtents structs
30         * Cairo.cs: added several other functions from C API
31           cairo_text_extents
32         * Started move to Cairo 0.5.x
33
34 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
35         * Graphics.cs: Added helper types (PointD, Point, Distance)
36         * Incorporated Reference() into some constructors
37         * Pattern.cs: Split patter into 3 object types
38         * Use double precision for sub-pixel rendering all over
39         * Use IntPtr.Zero instead of (IntPtr) 0
40         * Graphics.cs: Remove SetRGBColor and use Color type
41         * Matrix.cs: add Affine type as a subclass.
42    
43 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
44         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
45         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
46
47 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
48
49         * Cairo.cs: fixes cairo_current_matrix signature
50         * Font.cs: fixes internal _create method always returning null
51         * Graphics.cs: fixes Graphics.Matrix
52         * Matrix.cs: does not allow matrix objects without a wrapped handle
53         * Surface.cs: implements Surface.Show 
54
55 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
56
57         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
58         return value is owned by Cairo.
59
60 2004-05-10  Radek Doulik  <rodo@ximian.com>
61
62         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
63         cairo_curve_to instead of passing x2, x2
64
65 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
66         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
67         introduced in Cairo 0.1.20
68         * Font.cs: created class that encapsulates a font object creation
69         and managment.
70         * Cairo.cs: new dllexports, structs, and enums.
71         * Graphics.cs: added all the font functions, fixed the signature
72         of the methods that have changed, added new methods
73
74 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
75
76         * Mono.Cairo/Object.cs: 
77
78         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
79         while to find out why Cairo applications would crash sometimes.
80         The problem was that Cairo.Object:TargetSurface get property would
81         create a Surface from an IntPtr, leading to having two managed
82         objects owning the same unmanaged Surface.
83
84         (Surface..ctor): Make private, so only this module can create
85         surfaces. 
86
87         (Surface.Dispose): Add disposable pattern, finalizer.
88
89         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
90
91 2003-10-11  Duncan Mak  <duncan@ximian.com>
92
93         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
94         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
95         (cairo_current_matrix): Signature changed, updated.
96         (cairo_surface_reference): New API.
97         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
98
99         * Mono.Cairo/Surface.cs:        
100         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
101         (Destroy): It's supposed to return void, not IntPtr.
102
103 2003-09-08  Duncan Mak  <duncan@ximian.com>
104
105         * Mono.Cairo/Surface.cs (PutImage): Removed.
106
107         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
108
109         * Mono.Cairo/Cairo.cs (cairo_copy): New API
110         (cairo_surface_put_image): Removed.
111
112 2003-09-05  Duncan Mak  <duncan@ximian.com>
113
114         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
115
116 2003-09-04  Duncan Mak  <duncan@ximian.com>
117
118         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
119         *_get_* to *_current_*. 
120         (cairo_set_target_drawable): 
121         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
122         (cairo_current_tolerance):
123         (cairo_set_tolerance): Fix typo. Thanks Alp.
124
125         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
126         API.
127
128 2003-08-12  Duncan Mak  <duncan@ximian.com>
129
130         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
131         name because the namespace name (Cairo) is the same as the class
132         name (also Cairo). To resolve this ambiguity while keeping the
133         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
134
135 2003-08-12  Duncan Mak  <duncan@ximian.com>
136
137         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
138         the enums no longer need to be nested inside the Cairo class.
139
140         * Mono.Cairo/Matrix.cs:
141         * Mono.Cairo/Object.cs:
142         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
143         the name of a class, esp. now that we have namespaces. So I have
144         decided to rename them.
145
146                 CairoObject        -> Cairo.Object
147                 CairoMatrixObject  -> Cairo.Matrix
148                 CairoSurfaceObject -> Cairo.Surface
149
150         I didn't like the Mono.Cairo namespace either, so they're just in
151         the Cairo namespace now. I know it's icky that the directory is
152         called Mono.Cairo, and the dll we write to is called
153         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
154         and not 'Mono.Cairo'. C'est la vie.
155         
156 2003-08-12  Duncan Mak  <duncan@ximian.com>
157
158         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
159         is actually a CairoSurfaceObject (a C cairo_surface_t); the
160         CairoPatternObject is just something I made up...
161
162 2003-08-12  Nick Drochak <ndrochak@gol.com>
163
164         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
165
166 2003-08-11  Duncan Mak  <duncan@ximian.com>
167
168         * makefile:
169         * Mono.Cairo.dll.sources: Added.
170
171         * Mono.Cairo/Cairo.cs:
172         * Mono.Cairo/CairoObject.cs:
173         * Mono.Cairo/CairoMatrixObject.cs: 
174         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
175
176 2003-08-09  Duncan Mak  <duncan@ximian.com>
177
178         * Mono.Cairo/Cairo.cs:
179         * Mono.Cairo/CairoObject.cs:
180         * Mono.Cairo/CairoMatrixObject.cs: 
181         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.