2007-07-07 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
1 2007-07-07  Miguel de Icaza  <miguel@novell.com>
2
3         * Mono.Cairo/Context.cs: Fix leak of the surface if set with
4         Target .
5
6         From Alp Toker: new SetSourceOveload with no x, y parameters.
7
8         From Alp Toker: Add new API call IdentityMatrix.
9
10         * Mono.Cairo/Surface.cs: Integrate another cleanup from Alp.
11
12         * Mono.Cairo/SolidPattern.cs: Add helper APIs based on Alp's patch
13         based on F-Spot code.
14
15         Integrated various patches from Alp Toker:
16         
17         * Mono.Cairo/FontFace.cs: Add to the build.
18
19         * Mono.Cairo/Context.cs: Add a number of methods that are
20         compatible with the public Cairo API, and add commented out
21         Obsoletes for the names that we had.
22
23         (MaskSurface): More descriptive parameters
24
25         (SetSourceRGB, SetSourceRGBA): Removed [Obsoletes] from as those
26         are the public Cairo names.   Use the API directly without
27         creating a helper Color.
28
29         (FontFace): New property.
30
31         * Mono.Cairo/FontFace.cs: Partial integration of Alp's work for
32         FontFace.   There are two differences: no support for owns flag,
33         and no automatic unreffing on the finalizer thread.   Instead we
34         display an error message. 
35
36         * NativeMethods.cs: Split the native methods into its own file. 
37
38         * Mono.Cairo/Context.cs: Integrate Alp's patch to not use ref in
39         the call to cairo_font_extents, but use out instead.
40
41         * Integrate Alp's patch to rename CairoAPI NativeMethod, in
42         accordance to 2.7.1 framework guidelines.
43
44         * Removed the ifdef CAIRO_1_2, the documentation already reflects
45         that things are only available on Cairo 1.2.   
46
47         * Add new API calls to query Cairo for its version
48
49 2007-05-26  John Luke  <john.luke@gmail.com>
50
51         * Mono.Cairo/Cairo.cs:
52         * Mono.Cairo/Context.cs: fix call to cairo_get_font_matrix,
53         reported by patperry@stanford.edu (Patrick Perry) in bug#81626
54
55 2007-01-15  Alp Toker  <alp@atoker.com>
56
57         * Mono.Cairo/Surface.cs:
58         * Makefile: Disable CAIRO_1_2. Patches to make the 1.2 binding work
59         are being developed out-of-tree but not ready yet.
60
61 2007-01-08  Alp Toker  <alp@atoker.com>
62
63         * Mono.Cairo/Context.cs: Implement Context.GlyphExtents().
64         * Mono.Cairo/Cairo.cs: Change other TextExtents refs to outs.
65
66 2007-01-08  Alp Toker  <alp@atoker.com>
67
68         * Mono.Cairo/Context.cs: Restore Obsolete markings for old glyph
69         methods. It is fair to assume nobody was able to use these broken
70         methods, and Obsolete is important for the ongoing API review process.
71
72 2007-01-08  Alp Toker  <alp@atoker.com>
73
74         * Mono.Cairo/Context.cs:
75         * Mono.Cairo/Surface.cs:
76         Introduce Context.SetSource(). The old method also oddly took ints
77         instead of doubles. Obsolete Context.SetSourceSurface() and
78         Surface.Show().
79
80 2007-01-08  Alp Toker  <alp@atoker.com>
81
82         * Mono.Cairo/Format.cs: Obsolete Format.ARGB32/RGB24 in favour of
83         lower caps enum members.
84
85 2007-01-05  Alp Toker  <alp@atoker.com>
86
87         * Mono.Cairo/Pattern.cs: Obsolete Pattern(Surface) ctor in favour of
88         SurfacePattern(Surface).
89
90 2007-01-05  Alp Toker  <alp@atoker.com>
91
92         * Mono.Cairo/Context.cs:
93         * Mono.Cairo/Surface.cs: Generalize to Surface.LookupSurface()
94         This method will be useful elsewhere.
95
96 2007-01-04  Miguel de Icaza  <miguel@novell.com>
97
98         * Mono.Cairo/Context.cs (FromGlyphToUnManagedMemory): Deal with
99         an API limitation, the Glyph structure in Cairo is defined as
100         taking a `long' which would be 4 or 8 bytes depending on the
101         operating system.
102
103         We now cope with this by using the proper structure to the
104         unmanaged code. 
105
106 2006-12-30  Alp Toker  <alp@atoker.com>
107
108         * Makefile: Enable CAIRO_1_2.
109
110 2006-12-28  Alp Toker  <alp@atoker.com>
111
112         * Mono.Cairo/DirectFBSurface.cs: Confusion between the DirectFB
113         surface handle and Cairo surface handle was making the public
114         constructor unusable.
115
116 2006-12-27  Alp Toker  <alp@atoker.com>
117
118         * Mono.Cairo.dll.sources:
119         * Mono.Cairo/Context.cs:
120         * Mono.Cairo/GlitzSurface.cs: Add new surface.
121
122 2006-12-27  Alp Toker  <alp@atoker.com>
123
124         * Mono.Cairo/Cairo.cs:
125         * Mono.Cairo/Status.cs: Add new API for 1.4
126
127 2006-12-07  Alp Toker  <alp@atoker.com>
128
129         * Mono.Cairo/Context.cs: Add GroupTarget cases for Xcb and DirectFB
130         surfaces.
131
132 2006-09-19 Jordi Mas <jordimash@gmail.com>
133
134         * Surface.cs, Cairo.cs: the parameters for Show are X,Y not witdh 
135         and height and also double not int.
136
137 2006-07-21  Alp Toker  <alp@atoker.com>
138
139         * Mono.Cairo.dll.sources:
140         * Mono.Cairo/DirectFBSurface.cs:
141         * Mono.Cairo/XcbSurface.cs: Add new surfaces.
142
143 2006-07-06  John Luke  <john.luke@gmail.com>
144
145         * Mono.Cairo/Cairo.cs:
146         * Mono.Cairo/ImageSurface.cs: Marshal data correctly
147
148 2006-07-01  John Luke  <john.luke@gmail.com>
149
150         * Mono.Cairo/Context.cs:
151         * Mono.Cairo/PdfSurface.cs:
152         * Mono.Cairo/PSSurface.cs:
153         * Mono.Cairo/Cairo.cs:
154         * Mono.Cairo/XlibSurface.cs:
155         * Mono.Cairo/SvgSurface.cs: add some new surface API I missed
156
157 2006-07-01  John Luke  <john.luke@gmail.com>
158
159         * Mono.Cairo/Status.cs:
160         * Mono.Cairo/Context.cs:
161         * Mono.Cairo/FontFace.cs:
162         * Mono.Cairo/Surface.cs:
163         * Mono.Cairo/Format.cs:
164         * Mono.Cairo/LinearGradient.cs:
165         * Mono.Cairo/SolidPattern.cs:
166         * Mono.Cairo/Win32Surface.cs:
167         * Mono.Cairo/Pattern.cs:
168         * Mono.Cairo/SurfacePattern.cs:
169         * Mono.Cairo/ImageSurface.cs:
170         * Mono.Cairo/Cairo.cs:
171         * Mono.Cairo/Gradient.cs:
172         * Mono.Cairo/XlibSurface.cs:
173         * Mono.Cairo/RadialGradient.cs: add remaining new API for cairo 1.2
174         
175 2006-07-01  John Luke  <john.luke@gmail.com>
176
177         * Mono.Cairo/FontType.cs:
178         * Mono.Cairo/PatternType.cs: add new enums for cairo 1.2
179
180 2006-06-25  John Luke  <john.luke@gmail.com>
181
182         * Mono.Cairo/Surface.cs: make Destroy() call Dispose()
183         so all the Disposable stuff happens correctly and only once
184         
185 2006-06-23  John Luke  <john.luke@gmail.com>
186
187         * Mono.Cairo/Pattern.cs:
188         * Mono.Cairo/SolidPattern.cs:
189         * Mono.Cairo/SurfacePattern.cs:
190         * Mono.Cairo/Gradient.cs:
191         * Mono.Cairo/LinearGradient.cs:
192         * Mono.Cairo/RadialGradient.cs: split the pattern/gradients
193         into their own files
194         
195 2006-06-23  John Luke  <john.luke@gmail.com>
196
197         #if CAIRO_1_2 changes
198         
199         * Mono.Cairo/Surface.cs: add SetFallbackResolution
200         * Mono.Cairo/CairoAPI.cs: remove old pdf/ps api and
201         add some of the new API
202         * Mono.Cairo/SurfaceType.cs:
203         * Mono.Cairo/SvgSurface.cs:
204         * Mono.Cairo/SvgVersion.cs: add these
205         
206 2006-06-23  John Luke  <john.luke@gmail.com>
207
208         * Mono.Cairo/Surface.cs:
209         * Mono.Cairo/ImageSurface.cs:
210         * Mono.Cairo/PDFSurface.cs:
211         * Mono.Cairo/PSSurface.cs:
212         * Mono.Cairo/Win32Surface.cs:
213         * Mono.Cairo/XlibSurface.cs: split the surfaces into
214         their own files, make pdf and ps reflect what will be
215         in the cairo 1.2 api
216
217 2006-06-23  John Luke  <john.luke@gmail.com>
218
219         * snippets/*.cs: use Cairo.Context instead of Cairo.Graphics
220         * Samples/*/Makefile: add to ease building of samples
221         
222 2006-05-02  Zac Bowling  <zac@zacbowling.com>
223         
224         * Mono.Cairo/Surface.cs: string should be byte[]
225         * Mono.Cairo/Cairo.cs: string should be byte[]
226         (Patch from Philipp Baer <phbaer@npw.net>)
227
228 2006-01-17  Alp Toker  <alp@atoker.com>
229
230         * Samples/x11/compile.sh: Remove unused gtk-sharp reference
231
232 2005-12-19  Wade Berrier <wberrier@novell.com>
233
234         * Mono.Cairo/Makefile: Fix EXTRA_DIST to include samples
235
236 2005-12-19  Peter Dennis Bartok  <pbartok@novell.com>
237
238         * Mono.Cairo/Format.cs: Removed fixme, added names in .Net format
239         * Mono.Cairo/Surface.cs: Removed fixme, added static method 
240           FromBitmap() to allow creating a surface from a bitmap
241         * Mono.Cairo/Pattern.cs: Removed fixme to not tempt anyone to change
242           the name down the road
243
244 2005-12-16  John Luke  <john.luke@gmail.com>
245
246         * Mono.Cairo/FontOptions.cs: fix bug with
247         fontOptions == null, check parameter to Merge
248         against null
249         * Mono.Cairo/Glyph.cs: add setters to properties
250         
251 2005-12-16  John Luke  <john.luke@gmail.com>
252
253         * Mono.Cairo/Cairo.cs: organize and add missing API
254         split out enums and structs
255         * Mono.Cairo/*.cs: add enums and structs as seperate files
256         implement ==, !=, Equals, and GetHashCode for the structs
257         move public fields to properties
258
259 2005-12-16  John Luke  <john.luke@gmail.com>
260
261         * Mono.Cairo/Cairo.cs:
262         * Mono.Cairo/Context.cs:
263         * Mono.Cairo/Pattern.cs:
264         * Mono.Cairo/Surface.cs: add MarkDirty and Flush,
265         mark Surface.Pointer obsolete in favor of Handle
266
267 2005-12-16  John Luke  <john.luke@gmail.com>
268
269         * Mono.Cairo.dll.sources:
270         * Mono.Cairo/Rectangle.cs: add
271         * Mono.Cairo/Cairo.cs: mark fill_extents and stroke extents
272         with out modifiers
273         * Mono.Cairo/Context.cs: FillExtents, and StrokeExtents return
274         a Rectangle (actually 2 points), remove previously unusable
275         versions, add an overload to Rectangle that takes a Rectangle
276         
277 2005-12-12  Mike Kestner  <mkestner@novell.com>
278
279         * Mono.Cairo/Context.cs: renamed from Graphics.cs. renamed Graphics to
280         Context and added an Obsolete subclass to minimize the pain.
281         * Mono.Cairo/Surface.cs : s/Graphics/Context.  
282         Thanks to jluke for pointing out this change was needed.
283
284 2005-12-06  John Luke  <john.luke@gmail.com>
285
286         * Mono.Cairo/Cairo.cs: fix Content and  Format values,
287         fixes the knockout/circles sample
288         * Samples/png/circles.cs:
289         * Samples/png/knockout.cs: replace circles with knockout,
290         which uses the newer style api and works
291
292 2005-12-02  Ben Maurer  <bmaurer@ximian.com>
293
294         * Mono.Cairo/Graphics.cs: Api fixups
295                 - Make Point, et al. structs like all other apis
296                 - Use properties rather than public fields
297                 - Obsolete the plurality of ways to set the color.
298
299 2005-11-27  John Luke  <john.luke@gmail.com>
300
301         * Mono.Cairo/Graphics.cs: add back FontSetSize,
302         FontSize setter, and FontFace as obsolete API
303
304 2005-11-25  John Luke  <john.luke@gmail.com>
305
306         * Mono.Cairo/Cairo.cs: add font_options* api
307         add cairo_get_font_matrix
308         * Mono.Cairo/FontOptions.cs: add
309         * Mono.Cairo/Graphics.cs: add FontOptions property,
310         remove FontSize setter and FontSetSize(),
311         remove FontFace() method as SelectFontFace already exists
312         remove non-existant TransformFont() and Font property
313         
314 2005-11-16  John Luke  <john.luke@gmail.com>
315
316         * snippets/*.cs: add snippets port
317         
318 2005-11-10  John Luke  <john.luke@gmail.com>
319
320         * Mono.Cairo/Graphics.cs:
321         * Mono.Cairo/Surface.cs: remove debugging output
322         
323 2005-10-09  Miguel de Icaza  <miguel@novell.com>
324
325         * Samples/gtk/sysdraw.cs: Fix the sample
326         
327
328 2005-09-19  John Luke  <john.luke@gmail.com>
329
330         * Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
331
332 2005-09-12  Hisham Mardam Bey  <hisham.mardambey@gmail.com>
333
334         * Samples/: Fix all samples to work with new API changes.
335
336 2005-09-12  John Luke  <john.luke@gmail.com>
337
338         * Mono.Cairo/Surface.cs: add two ImageSurface ctors
339         Obsolete Surface CreateForImage methods in favor of
340         the new ImageSurface ctors
341         * Mono.Cairo/Cairo.cs: add cairo_text_extents
342         * Mono.Cairo/Graphics.cs: add TextExtents ()
343         
344         
345 2005-09-07  John Luke  <john.luke@gmail.com>
346
347         * Mono.Cairo/Graphics.cs: the Relative path methods
348         should use a Distance not a PointD, and update some
349         parameter names for better documentation purposes
350         remove SetTargetImage (), and SetTargetDrawable ()
351         use Graphics.Target = Surface instead
352         * Mono.Cairo/Surface.cs: don't reference the surface after
353         we create it as it is not necessary
354         add the new surfaces to the surfaces hashtable on instantiation 
355         * Mono.Cairo/Pattern.cs: don't reference the pattern after
356         we create it as it is not necessary
357         
358 2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
359
360         * Samples/png: Fixed samples with new changes.
361         * Samples/x11: Fixed samples with new changes.
362         * Samples/gtk: Fixed samples with new changes.  
363
364 2005-09-06  John Luke  <john.luke@gmail.com>
365
366         * Samples/gtk/circles.cs: fix partially broken sample
367
368 2005-09-06  John Luke  <john.luke@gmail.com>
369
370         * Mono.Cairo/Surface.cs: make CreateSimilar non-static
371         and use Content instead of Format, add Surface.Status
372         * Mono.Cairo/Graphics.cs: add convenience
373         ctor to Color with an alpha of 1.0
374         add Tolerance getter, Change SetDash to compute
375         the length automatically, rename TargetSurface to Target,
376         add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
377         add Paint, PaintWithAlpha, Mask, and MaskSurface (),
378         add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
379         * Mono.Cairo/Cairo.cs: add new imports:
380         cairo_stroke_extents, cairo_fill_extents,
381         cairo_clip_preserve, cairo_mask, cairo_mask_surface,
382         cairo_paint_with_alpha, cairo_surface_status
383         add Content enum and fix cairo_surface_create_similar to use
384         Content not Format
385         
386 2005-09-05  John Luke  <john.luke@gmail.com>
387
388         * Mono.Cairo/Samples/gtk/Graphics.cs:
389         add gtk-cairo helper that will work on win32 and
390         x11 based on gtk-dotnet in gtk#, not yet tested on
391         windows
392
393 2005-09-05  John Luke  <john.luke@gmail.com>
394
395         * Mono.Cairo/Samples/win32/compile.sh: add this
396         
397 2005-09-04  John Luke  <john.luke@gmail.com>
398
399         * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
400           cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
401           cairo_font_set_transform, cairo_font_current_transform,
402           cairo_font_reference, cairo_font_destroy, cairo_status_string,
403           cairo_surface_create_similar_solid
404           rename cairo_current_line_cap to cairo_get_line_cap,
405           remove now unused delegates
406         * Mono.Cairo/Graphics.cs:
407         * Mono.Cairo/Surface.cs: update for above all found 
408           with help of mono-shlib-cop
409
410
411 2005-09-04  John Luke  <john.luke@gmail.com>
412
413         * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
414         
415 2005-09-02  John Luke  <john.luke@gmail.com>
416
417         * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
418         
419 2005-09-01  John Luke  <john.luke@gmail.com>
420
421         * Mono.Cairo/Cairo.cs: add some imports used by
422         the extra surface types
423         * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
424         remove Surface.CreateForXlib () 
425         add PdfSurface and PsSurface for future use (#if'ed out)
426         * Mono.Cairo/Graphics.cs: add ShowPage() method
427         * Samples/win32/arc.cs: add win32 sample
428         * Samples/gtk/sysdraw.cs: use XlibSurface instead of
429         Surface.CreateForXlib ()
430         * Samples/x11/*.cs: use XlibSurface instead of
431         Surface.CreateForXlib ()
432
433 2005-09-01  John Luke  <john.luke@gmail.com>
434
435         * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
436           (libcairo-2.dll) so that we can work on .net also 
437         * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
438           cairo_get_antialias and Cairo.Antialias enum
439         * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
440           property
441          
442
443 2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
444
445          * Samples: Added png and x11 samples and cleaned up gtk
446
447 2005-08-30  John Luke  <john.luke@gmail.com>
448
449         * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
450           some callback delegates outside the CairoAPI class
451         * Mono.Cairo.Matrix.cs: mark Matrix_T internal
452         * Mono.Cairo/*.cs: remove using System.Drawing;
453         * Mono.Cairo.Graphics.cs: fix IDisposable implementation
454           add overloads to MoveTo () and similar functions
455           for passing the parameters individually
456         * Makefile: remove -r:System.Drawing
457
458 2005-08-30  John Luke  <john.luke@gmail.com>
459
460         * Mono.Cairo/Cairo.cs: add import for
461         cairo_surface_write_to_png
462         * Mono.Cairo/Surface.cs: add WriteToPng method
463
464 2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
465         * Added xlib surface size / font size functions
466         * Added font matrix setting
467         
468 2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
469         * Cleanup all old methods, remove deprecated classes
470         
471 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
472         * General fixups, this is becoming ready for SVN
473
474 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
475         * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
476         * More cleanups to fonts and Graphics.cs
477
478 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
479         * Matrix.cs: binded all functions from Cairo 0.5.x
480         * Surface.cs: binded all functions from Cairo 0.5.x
481         * Pattern.cs: binded all functions from Cairo 0.5.x
482         
483 2005-07-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
484         * Removed dependency on GTK 2.7.x in Samples
485         * Added more Matrix constructors
486         * Fixed typo in enum Extend
487         * Cairo.cs: fixed matrix_init* methods (dont use ref)
488         * Matrix.cs: moved to 0.5.x API, needs more work
489         
490 2005-07-06 Hisham Mardam Bey <hisham.mardambey@gmail.com>
491         * Moved a major part of the API to follow Cairo 0.5.x
492         * *_current_* are being replaced by *_get_*
493         * move *_set_* function to new API
494         * Add SurfaceImage type
495         * Matrix operations are somehow broken right now
496         
497 2005-07-05 Hisham Mardam Bey <hisham.mardambey@gmail.com>
498         * Graphics.cs: added get for Pattern property
499         * Cairo.cs: added FontExtents / TextExtents structs
500         * Cairo.cs: added several other functions from C API
501           cairo_text_extents
502         * Started move to Cairo 0.5.x
503
504 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
505         * Graphics.cs: Added helper types (PointD, Point, Distance)
506         * Incorporated Reference() into some constructors
507         * Pattern.cs: Split patter into 3 object types
508         * Use double precision for sub-pixel rendering all over
509         * Use IntPtr.Zero instead of (IntPtr) 0
510         * Graphics.cs: Remove SetRGBColor and use Color type
511         * Matrix.cs: add Affine type as a subclass.
512
513 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
514         * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
515         * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)
516
517 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
518
519         * Cairo.cs: fixes cairo_current_matrix signature
520         * Font.cs: fixes internal _create method always returning null
521         * Graphics.cs: fixes Graphics.Matrix
522         * Matrix.cs: does not allow matrix objects without a wrapped handle
523         * Surface.cs: implements Surface.Show 
524
525 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
526
527         * Mono.Cairo/Cairo.cs: Do not use `extern string' here, as the
528         return value is owned by Cairo.
529
530 2004-05-10  Radek Doulik  <rodo@ximian.com>
531
532         * Mono.Cairo/Graphics.cs: fixed typo, pass x2, y2 to
533         cairo_curve_to instead of passing x2, x2
534
535 2004-04-25  Jordi Mas i Hernandez <jordi@ximian.com>
536         * Mono.Cairo/Pattern.cs: implemented all the new pattern API 
537         introduced in Cairo 0.1.20
538         * Font.cs: created class that encapsulates a font object creation
539         and managment.
540         * Cairo.cs: new dllexports, structs, and enums.
541         * Graphics.cs: added all the font functions, fixed the signature
542         of the methods that have changed, added new methods
543
544 2003-11-28  Miguel de Icaza  <miguel@ximian.com>
545
546         * Mono.Cairo/Object.cs: 
547
548         * Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
549         while to find out why Cairo applications would crash sometimes.
550         The problem was that Cairo.Object:TargetSurface get property would
551         create a Surface from an IntPtr, leading to having two managed
552         objects owning the same unmanaged Surface.
553
554         (Surface..ctor): Make private, so only this module can create
555         surfaces. 
556
557         (Surface.Dispose): Add disposable pattern, finalizer.
558
559         * Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
560
561 2003-10-11  Duncan Mak  <duncan@ximian.com>
562
563         * Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
564         (cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
565         (cairo_current_matrix): Signature changed, updated.
566         (cairo_surface_reference): New API.
567         (cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
568
569         * Mono.Cairo/Surface.cs:        
570         * Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
571         (Destroy): It's supposed to return void, not IntPtr.
572
573 2003-09-08  Duncan Mak  <duncan@ximian.com>
574
575         * Mono.Cairo/Surface.cs (PutImage): Removed.
576
577         * Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
578
579         * Mono.Cairo/Cairo.cs (cairo_copy): New API
580         (cairo_surface_put_image): Removed.
581
582 2003-09-05  Duncan Mak  <duncan@ximian.com>
583
584         * Mono.Cairo/Object.cs (Tolerance): Fix typo.
585
586 2003-09-04  Duncan Mak  <duncan@ximian.com>
587
588         * Mono.Cairo/Cairo.cs: Update to the new API in CVS. Change all
589         *_get_* to *_current_*. 
590         (cairo_set_target_drawable): 
591         (cairo_surface_create_for_drawable): Add CLSCompliantAttribute.
592         (cairo_current_tolerance):
593         (cairo_set_tolerance): Fix typo. Thanks Alp.
594
595         * Mono.Cairo/Object.cs: Update binding to reflect changes in the
596         API.
597
598 2003-08-12  Duncan Mak  <duncan@ximian.com>
599
600         * Mono.Cairo/Cairo.cs: csc was having trouble resolving the type
601         name because the namespace name (Cairo) is the same as the class
602         name (also Cairo). To resolve this ambiguity while keeping the
603         code looking decent, the Cairo.Cairo class is now Cairo.CairoAPI.
604
605 2003-08-12  Duncan Mak  <duncan@ximian.com>
606
607         * Mono.Cairo/Cairo.cs: Now that the namespace is called 'Cairo',
608         the enums no longer need to be nested inside the Cairo class.
609
610         * Mono.Cairo/Matrix.cs:
611         * Mono.Cairo/Object.cs:
612         * Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
613         the name of a class, esp. now that we have namespaces. So I have
614         decided to rename them.
615
616                 CairoObject        -> Cairo.Object
617                 CairoMatrixObject  -> Cairo.Matrix
618                 CairoSurfaceObject -> Cairo.Surface
619
620         I didn't like the Mono.Cairo namespace either, so they're just in
621         the Cairo namespace now. I know it's icky that the directory is
622         called Mono.Cairo, and the dll we write to is called
623         'Mono.Cairo.dll', and yet the namespace now gonna just be 'Cairo'
624         and not 'Mono.Cairo'. C'est la vie.
625         
626 2003-08-12  Duncan Mak  <duncan@ximian.com>
627
628         * Mono.Cairo/CairoObject.cs (Pattern): Re-enable this. This
629         is actually a CairoSurfaceObject (a C cairo_surface_t); the
630         CairoPatternObject is just something I made up...
631
632 2003-08-12  Nick Drochak <ndrochak@gol.com>
633
634         * Makefile: put .dll on System.Drawing reference. Fix CSC build.
635
636 2003-08-11  Duncan Mak  <duncan@ximian.com>
637
638         * makefile:
639         * Mono.Cairo.dll.sources: Added.
640
641         * Mono.Cairo/Cairo.cs:
642         * Mono.Cairo/CairoObject.cs:
643         * Mono.Cairo/CairoMatrixObject.cs: 
644         * Mono.Cairo/CairoSurfaceObject.cs: Made them build properly.
645
646 2003-08-09  Duncan Mak  <duncan@ximian.com>
647
648         * Mono.Cairo/Cairo.cs:
649         * Mono.Cairo/CairoObject.cs:
650         * Mono.Cairo/CairoMatrixObject.cs: 
651         * Mono.Cairo/CairoSurfaceObject.cs: Added Cairo binding.