add compile.sh for the win32 sample
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2005-09-05  John Luke  <john.luke@gmail.com>
2
3         * Mono.Cairo/win32/compile.sh: add this
4         
5 2005-09-04  John Luke  <john.luke@gmail.com>
6  
7         * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
8           cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
9           cairo_font_set_transform, cairo_font_current_transform,
10           cairo_font_reference, cairo_font_destroy, cairo_status_string,
11           cairo_surface_create_similar_solid
12           rename cairo_current_line_cap to cairo_get_line_cap,
13           remove now unused delegates
14         * Mono.Cairo/Graphics.cs:
15         * Mono.Cairo/Surface.cs: update for above all found 
16           with help of mono-shlib-cop
17  
18
19 2005-09-04  John Luke  <john.luke@gmail.com>
20
21         * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
22         
23 2005-09-02  John Luke  <john.luke@gmail.com>
24
25         * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
26         
27 2005-09-01  John Luke  <john.luke@gmail.com>
28
29         * Mono.Cairo/Cairo.cs: add some imports used by
30         the extra surface types
31         * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
32         remove Surface.CreateForXlib () 
33         add PdfSurface and PsSurface for future use (#if'ed out)
34         * Mono.Cairo/Graphics.cs: add ShowPage() method
35         * Samples/win32/arc.cs: add win32 sample
36         * Samples/gtk/sysdraw.cs: use XlibSurface instead of
37         Surface.CreateForXlib ()
38         * Samples/x11/*.cs: use XlibSurface instead of
39         Surface.CreateForXlib ()
40
41 2005-09-01  John Luke  <john.luke@gmail.com>
42
43         * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
44           (libcairo-2.dll) so that we can work on .net also 
45         * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
46           cairo_get_antialias and Cairo.Antialias enum
47         * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
48           property
49          
50
51 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
52
53         * Samples: Added png and x11 samples and cleaned up gtk
54
55 2005-08-30  John Luke  <john.luke@gmail.com>
56  
57         * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
58           some callback delegates outside the CairoAPI class
59         * Mono.Cairo.Matrix.cs: mark Matrix_T internal
60         * Mono.Cairo/*.cs: remove using System.Drawing;
61         * Mono.Cairo.Graphics.cs: fix IDisposable implementation
62           add overloads to MoveTo () and similar functions
63           for passing the parameters individually
64         * Makefile: remove -r:System.Drawing
65
66 2005-08-30  John Luke  <john.luke@gmail.com>
67
68         * Mono.Cairo/Cairo.cs: add import for
69         cairo_surface_write_to_png
70         * Mono.Cairo/Surface.cs: add WriteToPng method
71
72 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
73         * Added xlib surface size / font size functions
74         * Added font matrix setting
75         
76 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
77         * Cleanup all old methods, remove deprecated classes
78         
79 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
80         * General fixups, this is becoming ready for SVN
81
82 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
83         * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
84         * More cleanups to fonts and Graphics.cs
85
86 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
87         * Matrix.cs: binded all functions from Cairo 0.5.x
88         * Surface.cs: binded all functions from Cairo 0.5.x
89         * Pattern.cs: binded all functions from Cairo 0.5.x
90         
91 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
92         * Removed dependency on GTK 2.7.x in Samples
93         * Added more Matrix constructors
94         * Fixed typo in enum Extend
95         * Cairo.cs: fixed matrix_init* methods (dont use ref)
96         * Matrix.cs: moved to 0.5.x API, needs more work
97         
98 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
99         * Moved a major part of the API to follow Cairo 0.5.x
100         * *_current_* are being replaced by *_get_*
101         * move *_set_* function to new API
102         * Add SurfaceImage type
103         * Matrix operations are somehow broken right now
104         
105 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
106         * Graphics.cs: added get for Pattern property
107         * Cairo.cs: added FontExtents / TextExtents structs
108         * Cairo.cs: added several other functions from C API
109           cairo_text_extents
110         * Started move to Cairo 0.5.x
111
112 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
113         * Graphics.cs: Added helper types (PointD, Point, Distance)
114         * Incorporated Reference() into some constructors
115         * Pattern.cs: Split patter into 3 object types
116         * Use double precision for sub-pixel rendering all over
117         * Use IntPtr.Zero instead of (IntPtr) 0
118         * Graphics.cs: Remove SetRGBColor and use Color type
119         * Matrix.cs: add Affine type as a subclass.
120    
121 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
122         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
123         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
124
125 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
126
127         * Cairo.cs: fixes cairo_current_matrix signature
128         * Font.cs: fixes internal _create method always returning null
129         * Graphics.cs: fixes Graphics.Matrix
130         * Matrix.cs: does not allow matrix objects without a wrapped handle
131         * Surface.cs: implements Surface.Show 
132
133 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
134
135         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
136         return value is owned by Cairo.
137
138 2004-05-10  Radek Doulik  <rodo@ximian.com>
139
140         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
141         cairo_curve_to instead of passing x2, x2
142
143 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
144         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
145         introduced in Cairo 0.1.20
146         * Font.cs: created class that encapsulates a font object creation
147         and managment.
148         * Cairo.cs: new dllexports, structs, and enums.
149         * Graphics.cs: added all the font functions, fixed the signature
150         of the methods that have changed, added new methods
151
152 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
153
154         * Mono.Cairo/Object.cs: 
155
156         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
157         while to find out why Cairo applications would crash sometimes.
158         The problem was that Cairo.Object:TargetSurface get property would
159         create a Surface from an IntPtr, leading to having two managed
160         objects owning the same unmanaged Surface.
161
162         (Surface..ctor): Make private, so only this module can create
163         surfaces. 
164
165         (Surface.Dispose): Add disposable pattern, finalizer.
166
167         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
168
169 2003-10-11  Duncan Mak  <duncan@ximian.com>
170
171         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
172         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
173         (cairo_current_matrix): Signature changed, updated.
174         (cairo_surface_reference): New API.
175         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
176
177         * Mono.Cairo/Surface.cs:        
178         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
179         (Destroy): It's supposed to return void, not IntPtr.
180
181 2003-09-08  Duncan Mak  <duncan@ximian.com>
182
183         * Mono.Cairo/Surface.cs (PutImage): Removed.
184
185         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
186
187         * Mono.Cairo/Cairo.cs (cairo_copy): New API
188         (cairo_surface_put_image): Removed.
189
190 2003-09-05  Duncan Mak  <duncan@ximian.com>
191
192         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
193
194 2003-09-04  Duncan Mak  <duncan@ximian.com>
195
196         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
197         *_get_* to *_current_*. 
198         (cairo_set_target_drawable): 
199         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
200         (cairo_current_tolerance):
201         (cairo_set_tolerance): Fix typo. Thanks Alp.
202
203         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
204         API.
205
206 2003-08-12  Duncan Mak  <duncan@ximian.com>
207
208         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
209         name because the namespace name (Cairo) is the same as the class
210         name (also Cairo). To resolve this ambiguity while keeping the
211         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
212
213 2003-08-12  Duncan Mak  <duncan@ximian.com>
214
215         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
216         the enums no longer need to be nested inside the Cairo class.
217
218         * Mono.Cairo/Matrix.cs:
219         * Mono.Cairo/Object.cs:
220         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
221         the name of a class, esp. now that we have namespaces. So I have
222         decided to rename them.
223
224                 CairoObject        -> Cairo.Object
225                 CairoMatrixObject  -> Cairo.Matrix
226                 CairoSurfaceObject -> Cairo.Surface
227
228         I didn't like the Mono.Cairo namespace either, so they're just in
229         the Cairo namespace now. I know it's icky that the directory is
230         called Mono.Cairo, and the dll we write to is called
231         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
232         and not 'Mono.Cairo'. C'est la vie.
233         
234 2003-08-12  Duncan Mak  <duncan@ximian.com>
235
236         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
237         is actually a CairoSurfaceObject (a C cairo_surface_t); the
238         CairoPatternObject is just something I made up...
239
240 2003-08-12  Nick Drochak <ndrochak@gol.com>
241
242         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
243
244 2003-08-11  Duncan Mak  <duncan@ximian.com>
245
246         * makefile:
247         * Mono.Cairo.dll.sources: Added.
248
249         * Mono.Cairo/Cairo.cs:
250         * Mono.Cairo/CairoObject.cs:
251         * Mono.Cairo/CairoMatrixObject.cs: 
252         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
253
254 2003-08-09  Duncan Mak  <duncan@ximian.com>
255
256         * Mono.Cairo/Cairo.cs:
257         * Mono.Cairo/CairoObject.cs:
258         * Mono.Cairo/CairoMatrixObject.cs: 
259         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.