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