head 1.33; access; symbols cairo-ocaml-1-0-0:1.29 cairo-ocaml-0-9-0:1.23 cairo-ocaml-0-6-0:1.22 cairo-ocaml-0-5-2:1.21 cairo-ocaml-0-4:1.17 cairo-ocaml-0-3:1.16 cairo-ocaml-before_drop_oo_api:1.5; locks; strict; comment @# @; 1.33 date 2007.11.04.21.56.22; author oandrieu; state Exp; branches; next 1.32; commitid srgtgMijIMCI1jEs; 1.32 date 2007.08.26.23.10.28; author oandrieu; state Exp; branches; next 1.31; commitid VOj9iVEFnwVyGjvs; 1.31 date 2006.11.08.23.42.34; author oandrieu; state Exp; branches; next 1.30; 1.30 date 2006.02.09.15.57.11; author oandrieu; state Exp; branches; next 1.29; commitid 778443eb66544567; 1.29 date 2005.12.13.22.42.02; author oandrieu; state Exp; branches; next 1.28; commitid 1865439f4e394567; 1.28 date 2005.12.13.22.34.31; author oandrieu; state Exp; branches; next 1.27; commitid fb5439f4c764567; 1.27 date 2005.12.13.22.31.26; author oandrieu; state Exp; branches; next 1.26; commitid c5b439f4bbd4567; 1.26 date 2005.11.03.14.47.03; author oandrieu; state Exp; branches; next 1.25; commitid 4ad1436a22e64567; 1.25 date 2005.11.03.14.35.57; author oandrieu; state Exp; branches; next 1.24; commitid 4595436a201b4567; 1.24 date 2005.09.14.16.47.54; author cworth; state Exp; branches; next 1.23; commitid 35574328543a4567; 1.23 date 2005.08.11.00.33.41; author oandrieu; state Exp; branches; next 1.22; commitid ded42fa9cd64567; 1.22 date 2005.08.10.23.46.02; author oandrieu; state Exp; branches; next 1.21; commitid 7ee342fa91ac4567; 1.21 date 2005.07.18.21.10.27; author oandrieu; state Exp; branches; next 1.20; commitid 15f342dc1ac24567; 1.20 date 2005.07.18.19.11.05; author oandrieu; state Exp; branches; next 1.19; commitid 69da42dbfec74567; 1.19 date 2005.05.26.23.56.11; author oandrieu; state Exp; branches; next 1.18; commitid 3b4f429662194567; 1.18 date 2005.05.22.20.03.15; author oandrieu; state Exp; branches; next 1.17; commitid a504290e57e4567; 1.17 date 2005.03.09.00.40.22; author oandrieu; state Exp; branches; next 1.16; 1.16 date 2005.03.01.22.19.52; author oandrieu; state Exp; branches; next 1.15; 1.15 date 2005.01.26.00.54.15; author oandrieu; state Exp; branches; next 1.14; 1.14 date 2004.11.08.21.05.10; author oandrieu; state Exp; branches; next 1.13; 1.13 date 2004.11.01.15.50.28; author oandrieu; state Exp; branches; next 1.12; 1.12 date 2004.10.28.13.46.01; author oandrieu; state Exp; branches; next 1.11; 1.11 date 2004.10.18.00.27.35; author oandrieu; state Exp; branches; next 1.10; 1.10 date 2004.07.06.17.22.02; author oandrieu; state Exp; branches; next 1.9; 1.9 date 2004.06.18.13.50.29; author oandrieu; state Exp; branches; next 1.8; 1.8 date 2004.04.15.23.59.37; author oandrieu; state Exp; branches; next 1.7; 1.7 date 2004.03.24.10.57.27; author oandrieu; state Exp; branches; next 1.6; 1.6 date 2004.03.24.10.39.24; author oandrieu; state Exp; branches; next 1.5; 1.5 date 2004.02.22.22.45.56; author oandrieu; state Exp; branches; next 1.4; 1.4 date 2004.02.22.22.41.26; author oandrieu; state Exp; branches; next 1.3; 1.3 date 2004.02.22.19.21.08; author oandrieu; state Exp; branches; next 1.2; 1.2 date 2003.12.17.14.05.50; author oandrieu; state Exp; branches; next 1.1; 1.1 date 2003.12.05.16.55.03; author cworth; state Exp; branches; next ; desc @@ 1.33 log @2007-11-04 Olivier Andrieu * src/ml_cairo.c: fix a C compiler warning * src/cairo.ml, src/ml_cairo_font.c: fix typos @ text @2007-11-04 Olivier Andrieu * src/ml_cairo.c: fix a C compiler warning * src/cairo.ml, src/ml_cairo_font.c: fix typos 2007-08-27 Olivier Andrieu * src/ml_cairo_bigarr.c: fix compilation with OCaml 3.10 2006-11-09 Olivier Andrieu * configure.ac: require cairo 1.2, bump version number to 1.2 * src/*: syc with cairo 1.2 * src/ml_cairo_lablgtk.c: require GTK+ 2.8 now 2006-02-09 Olivier Andrieu * src/cairo_svg.mli, src/cairo_svg.mli, src/ml_cairo_svg.c: support for the SVG backend. * test/basket.ml: test SVG output. 2005-12-13 Olivier Andrieu * src/cairo_ps.mli, src/cairo_ps.mli, src/ml_cairo_ps.c: add Cairo_ps.set_dpi * src/Makefile, src*gtkcairo*: drop gtkcairo support. * src/*lablgtk*: sync cairo_lablgtk module with the gdk_cairo_* API of GTK+ 2.8. * test/*: adapt 2005-11-03 Olivier Andrieu * configure.ac: require cairo 1.0, bump version number to 1.0 * src/cairo.ml, src/cairo.mli, src/ml_cairo.c: version information APIs 2005-11-03 Olivier Andrieu * src/ml_cairo_pattern.c, src/ml_cairo_matrix.c, src/ml_cairo.c: fixes for archs with ARCH_ALIGN_DOUBLE (patch from Samuel Mimram). 2005-09-14 Carl Worth * configure.ac: Add freetype2 to PKG_CHECK_MODULES call in addition to cairo. * src/Makefile: Remove .depend as part of make clean. 2005-08-11 Olivier Andrieu * src/* : adapt to cairo-0.9.0 * configure.ac: bump version number to 0.9.0.0 2005-08-11 Olivier Andrieu * src/* : adapt to cairo-0.6.0 * Makefile, config.make.in, configure.ac: specify version number in the configure.ac file 2005-07-18 Olivier Andrieu * src/cairo_ft.ml, src/cairo_ft.mli, src/ml_cairo_ft.c: re-enable freetype font backend bindings * test/font.ml: adapt * src/cairo.mli, src/cairo_png.mli: use `Any surface instead of 'a surface everywhere 2005-07-18 Olivier Andrieu * configure.ac, README: require cairo 0.5.2 * src/*: adapt to cairo 0.5.1 and 0.5.2 API changes (new status values and functions, new pattern functions) * test/knockout.ml: adapt to API change 2005-05-27 Olivier Andrieu * src/cairo.ml, src/cairo.mli: remove BAD_NESTING error status * src/cairo_pdf.*, src/cairo_ps.*, src/cairo_png.*: surface creation function take an ocaml channel as argument * src/ml_cairo.c: new stream functions for ocaml channels support * src/ml_cairo_*.c: adapt, some code cleanups * test/basket.ml: adapt, some fixes 2005-05-22 Olivier Andrieu * src/*: adjust to big API shakeup. Remove Cairo_channel module, add Cairo_ps, Cairo_pdf, Cairo_png. GtkCairo and Cairo_ft disabled for now. * test/*: adjust to big API shakeup. * configure.ac, README: require cairo 0.5.0 2005-03-08 Olivier Andrieu * src/ml_cairo_ft.c, src/cairo_ft.ml, src/cairo_ft.mli: * src/ml_cairo.c, src/cairo.ml, src/cairo.mli: adjust to API changes * src/ml_cairo.c (cairo_current_font): adjust reference counting 2005-03-01 Olivier Andrieu * src/ml_svg_cairo.c, src/svg_cairo.ml, src/svg_cairo.mli : add libsvg-cairo bindings * test/svg2png.ml : ocaml version of svg2png * * : configure stuff 2005-02-27 Olivier Andrieu * test/Makefile, test/kapow.ml : add the kapow example program. 2005-01-26 Olivier Andrieu * configure.ac: require cairo 0.3.0 * support/ocaml.m4 : quote stuff to stop auto* moaning. * src/cairo_channel.ml*: add .ml file, add convenience function Cairo_channel.open_out. * src/cairo.ml*, src/ml_cairo.c: add PDF backend, add status querying functions, a Cairo.copy convenience function. * src/*.c: some tidying. 2004-11-08 Olivier Andrieu * configure.ac: require Cairo 0.2.0 * src/ml_cairo.c (ml_cairo_current_font): do not increase the refcount. 2004-11-01 Olivier Andrieu * src/cairo.ml, src/cairo.mli, src/ml_cairo.c: use int instead of float for the width and height of the PNG target * src/cairo_ft.ml, src/cairo_ft.mli, src/ml_cairo_ft.c: minimal support for freetype/fontconfig font backend. * test/font.ml: example/test program 2004-10-28 Olivier Andrieu * src/*.c: beautify code, run it through indent. * src/ml_cairo.[ch]: direcly map enums to caml variants. * configure.ac: do not fail if GTK+ is missing. * test/spline.ml: do not use POINTER_MOTION_HINT, apparently that's evil. 2004-10-18 Olivier Andrieu * src/cairo.ml, src/cairo.mli: s/ct/cr/ * src/ml_cairo_wrappers.[ch]: add comparison and hash function for custom values. * src/cairo.{ml,mli}, src/ml_cairo.[ch], src/ml_cairo_status.[ch]: allow suspending raise of exception on error. 2004-07-06 Olivier Andrieu * src/cairo_gtkcairo.ml, src/cairo_gtkcairo.mli: the signal is now "paint" 2004-06-18 Olivier Andrieu * src/cairo.mli: doc formatting * src/ml_cairo.c, src/ml_cairo_wrappers.h: silence compiler warnings 2004-04-16 Olivier Andrieu * src/cairo.ml, src/cairo.mli: support patterns * configure.ac: require Cairo 0.1.21 * test/knockout.ml: update for pattern 2004-03-24 Olivier Andrieu * src/cairo.ml, src/cairo.mli: add line_to_point and curve_to_point for consistency. 2004-03-24 Olivier Andrieu * src/Makefile, src/ocairo*, src/cairo_lablgtk.*, src/cairo_gtkcairo.*: get rid of the mostly useless OO version of the API. * test/Makefile, test/oknockout.ml, test/spline.ml, test/cube.ml: update examples accordingly. 2004-02-22 Olivier Andrieu * Makefile, src/cairo.ml, src/cairo.mli, src/ocairo.ml, src/ocairo.mli, src/ml_cairo.c, src/ml_cairo_bigarr.c, src/ml_cairo_channel.c, src/ml_cairo_wrappers.h: * make the code safer for exotic archs (WIN32, ARCH_ALIGN_DOUBLE) * rename ps_finalise to finalise * test/Makefile, test/demo.ml: added a translation of cairo-demo.c * src/cairo.ml, src/cairo.mli, src/ml_cairo.c, src/ml_cairo.h, src/ml_cairo_lablgtk.c, src/Makefile, src/ml_cairo_path.c, test/basket.ml: added support for cairo_current_path and cairo_current_path_flat. 2003-12-17 02:15 Olivier Andrieu * configure.ac, src/cairo.ml, src/cairo.mli, src/ml_cairo.c, src/ml_cairo_bigarr.c, src/ocairo.ml, src/ocairo.mli, test/Makefile, test/text.ml: text API work 2003-12-13 15:10 Olivier Andrieu * configure.ac, src/ml_cairo.c: optional PS backend 2003-12-05 23:34 Olivier Andrieu * src/ml_cairo_lablgtk.c: drop cairo-config.h 2003-12-05 17:54 Carl Worth * configure.ac, src/ml_cairo_lablgtk.c, ChangeLog: * src/ml_cairo_lablgtk.c (cairo_lablgtk_surface_create_for_drawable): Track cairo change from CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. * configure.ac: Now depend on cairo >= 0.1.15 2003-12-05 01:02 Olivier Andrieu * src/ml_cairo_lablgtk.c: add missing cairo-config include 2003-12-04 19:35 Olivier Andrieu * configure.ac, src/ml_cairo_lablgtk.c: new xlib backend config stuff 2003-12-03 23:17 Olivier Andrieu * .cvsignore, src/ocairo_gtkcairo.ml, src/ocairo_gtkcairo.mli, test/cube.ml: support redraw signal of GtkCairo 2003-11-26 20:45 tag cairo-ocaml-0-2 2003-11-26 20:45 Olivier Andrieu * Makefile, config.make.in, src/Makefile: added dist Makefile target 2003-11-22 16:28 Olivier Andrieu * support/ocaml.m4: update ocaml.m4 2003-11-22 16:27 Olivier Andrieu * src/ml_cairo.c: forgot some Double_array_tag 2003-11-22 16:24 Olivier Andrieu * src/: ml_cairo.h, ml_cairo_lablgtk.c: use a Val_cairo_format_t 2003-11-18 20:18 Olivier Andrieu * configure.ac: check for lablgtk2 specifically 2003-11-18 20:15 Olivier Andrieu * src/: cairo.ml, cairo.mli, ocairo.ml, ocairo.mli: add Cairo.move_to_point and changed field names for Cairo.glyph 2003-11-18 20:14 Olivier Andrieu * src/ml_cairo.c: missing bytecode functions 2003-11-18 20:02 tag cairo-ocaml-0-1 @ 1.32 log @2007-08-27 Olivier Andrieu * src/ml_cairo_bigarr.c: fix compilation with OCaml 3.10 @ text @d1 5 @ 1.31 log @* configure.ac: require cairo 1.2, bump version number to 1.2 * src/*: syc with cairo 1.2 * src/ml_cairo_lablgtk.c: require GTK+ 2.8 now @ text @d1 4 @ 1.30 log @* src/cairo_svg.mli, src/cairo_svg.mli, src/ml_cairo_svg.c: support for the SVG backend. * test/basket.ml: test SVG output. @ text @d1 6 @ 1.29 log @* src/*lablgtk*: sync cairo_lablgtk module with the gdk_cairo_* API of GTK+ 2.8. * test/*: adapt @ text @d1 7 @ 1.28 log @* src/Makefile, src*gtkcairo*: drop gtkcairo support. @ text @d7 4 @ 1.27 log @* src/cairo_ps.mli, src/cairo_ps.mli, src/ml_cairo_ps.c: add Cairo_ps.set_dpi @ text @d6 2 @ 1.26 log @* configure.ac: require cairo 1.0, bump version number to 1.0 * src/cairo.ml, src/cairo.mli, src/ml_cairo.c: version information APIs @ text @d1 5 @ 1.25 log @* src/ml_cairo_pattern.c, src/ml_cairo_matrix.c, src/ml_cairo.c: fixes for archs with ARCH_ALIGN_DOUBLE (patch from Samuel Mimram). VS: ---------------------------------------------------------------------- @ text @d3 6 @ 1.24 log @ 2005-09-14 Carl Worth * configure.ac: Add freetype2 to PKG_CHECK_MODULES call in addition to cairo. * src/Makefile: Remove .depend as part of make clean. @ text @d1 6 @ 1.23 log @dapt to cairo-0.9.0 @ text @d1 7 @ 1.22 log @adapt to cairo-0.6.0 @ text @d3 6 @ 1.21 log @* src/cairo_ft.ml, src/cairo_ft.mli, src/ml_cairo_ft.c: re-enable freetype font backend bindings * test/font.ml: adapt * src/cairo.mli, src/cairo_png.mli: use `Any surface instead of 'a surface everywhere @ text @d1 7 @ 1.20 log @* configure.ac, README: require cairo 0.5.2 * src/*: adapt to cairo 0.5.1 and 0.5.2 API changes (new status values and functions, new pattern functions) * test/knockout.ml: adapt to API change @ text @d3 10 @ 1.19 log @* stream-based backends can now use a caml channel * fixes @ text @d1 9 @ 1.18 log @adapt to cairo big API shakeup @ text @d1 13 @ 1.17 log @fixes, API changes in the font part @ text @d1 10 @ 1.16 log @add libsvg-cairo bindings @ text @d1 7 @ 1.15 log @* add PDF backend * sync with Cairo snapshot 0.3.0 @ text @d1 13 @ 1.14 log @* configure.ac: require Cairo 0.2.0 * src/ml_cairo.c (ml_cairo_current_font): do not increase the refcount. @ text @d1 13 @ 1.13 log @minimal support for freetype/fontconfig font backend @ text @d1 7 @ 1.12 log @* src/*.c: beautify code, run it through indent. * src/ml_cairo.[ch]: direcly map enums to caml variants. * configure.ac: do not fail if GTK+ is missing. * test/spline.ml: do not use POINTER_MOTION_HINT, apparently that's evil. @ text @d1 10 @ 1.11 log @* src/cairo.ml, src/cairo.mli: s/ct/cr/ * src/ml_cairo_wrappers.[ch]: add comparsion and hash function for custom values. * src/cairo.{ml,mli}, src/ml_cairo.[ch], src/ml_cairo_status.[ch]: allow suspending raise of exception on error. @ text @d1 11 d16 1 a16 1 * src/ml_cairo_wrappers.[ch]: add comparsion and hash function for @ 1.10 log @gtkcairo widget signal is now "paint", not "redraw" @ text @d1 10 @ 1.9 log @2004-06-18 Olivier Andrieu * src/cairo.mli: doc formatting * src/ml_cairo.c, src/ml_cairo_wrappers.h: silence compiler warnings @ text @d1 5 @ 1.8 log @support patterns (requires cairo 0.1.21) @ text @d1 7 @ 1.7 log @add Cairo.line_to_point and Cairo.curve_to_point @ text @d1 8 @ 1.6 log @removed OO API @ text @d1 5 @ 1.5 log @forgot to commit some bits @ text @d1 9 @ 1.4 log @wrap cairo_current_path and cairo_current_path_flat @ text @d14 3 a16 2 src/ml_cairo_lablgtk.c, src/Makefile, test/basket.ml: added support for cairo_current_path and cairo_current_path_flat @ 1.3 log @various small fixes @ text @d13 4 @ 1.2 log @complete ChangeLog @ text @d1 12 @ 1.1 log @ * src/ml_cairo_lablgtk.c (cairo_lablgtk_surface_create_for_drawable): Track cairo change from CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. * configure.ac: Now depend on cairo >= 0.1.15 @ text @d1 1 a1 1 2003-12-05 Carl Worth d3 3 a5 3 * src/ml_cairo_lablgtk.c (cairo_lablgtk_surface_create_for_drawable): Track cairo change from CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. d7 1 a7 1 * configure.ac: Now depend on cairo >= 0.1.15 d9 64 @