2007-07-28 Andy Wingo <wingo@pobox.com> * tests/unit-tests/api-stability.scm (test-api): `warn', not `warning'. * NEWS: Update. * configure.ac: Bump version. * tests/unit-tests/cairo.api: Updated. * tests/unit-tests/Makefile.am (%.api.update): Update API from within dev environment. * doc/README: New file, describes how the docs work. * doc/Makefile.am (EXTRA_DIST): Add README and the doc generation scripts to the dist. * doc/generate-doc-defuns: Support taking doc overrides from an overrides file. * doc/defuns-cairo.xml.texi: Regenerated. * doc/Makefile.am: Use the overrides file when generating the defuns, and a dist fix. * doc/overrides.texi: New file. Overriden docs should go here. 2007-07-21 Andy Wingo <wingo@pobox.com> * guile-cairo/guile-cairo.c (cairo-image-surface-get-height) (cairo-image-surface-get-stride) * guile-cairo/guile-cairo-enum-types.c (cairo-path-data-type-get-values): Fix some names after manually looking over the API export list. * tests/unit-tests/api-stability.scm: * tests/unit-tests/Makefile.am: Dist the api file. Indicate the api file location via an environment variable; makes the check generic at the same time as fixing distcheck issues. * tests/unit-tests/Makefile.am: Add api-stability.scm check, and a rule to regenerate a .api file. * tests/unit-tests/update-api: New file, a script to update a .api file. * tests/unit-tests/cairo.api: New file, the set of symbols exported by (cairo). * tests/unit-tests/api-stability.scm: New file, a unit test that checks that no symbol that cairo exports is ever removed from its API. 2007-07-17 Andy Wingo <wingo@pobox.com> * doc/www/news/index.scm (page): Update for release. == Guile-Cairo 1.3.93 released == * configure.ac: * NEWS: Update for release. * doc/www/template.scm (templatize): Enable documentation. * doc/section-cairo-matrix.xml.texi (cairo_matrix_t): Regenerate. * doc/Makefile.am (www): Add docs generation to web doc procedure. * doc/www/docs/index.scm (page): New document. * doc/docbook-to-guile-doc (docbook->guile-doc): Update so that it works. * cairo/cairo-procedures.txt: Regenerate. * doc/defuns-*.texi: * doc/section-*.texi: Add generated docs. To update, "make generate-defuns" or "make generate-stubs"; but generate-stubs probably shouldn't be run again. * doc/docbook-to-guile-doc (docbook->guile-doc): Update for function name change. Perhaps doesn't work now... * TODO: Work on this a bit. * doc/guile-cairo.texi: New wrapper for cairo docs. * doc/generate-doc-stubs: * doc/generate-doc-defuns: New scripts, use new code from guile-gnome's gtk-doc.scm. * doc/Makefile.am: Add a first pass at a docs Makefile.am. More to come. 2007-07-01 Andy Wingo <wingo@pobox.com> * cairo/cairo-procedures.txt: Add the docs to bzr. A bit large. * cairo/config.scm.in: Encode docs location here. * cairo/Makefile.am: Install docs. Add rule to rebuild docs. * cairo.scm: Hook into the documentation system to so that our documentation is available. * doc/docbook-to-guile-doc: New file, generates docstrings for the bindings. A bit ghetto. 2007-06-12 Andy Wingo <wingo@pobox.com> * doc/www/news/index.scm (page): Add release news entry. * doc/release: Fix up. == Guile-Cairo 1.3.92 released == * configure.ac: Bump version to 1.3.92. * doc/release: Update. * NEWS: Update. 2007-06-08 Andy Wingo <wingo@pobox.com> * doc/www/news/index.scm (page): Fix news ordering. * guile-cairo/guile-cairo.c (guile_cairo_read_func, guile_cairo_write_func): New static functions that can be passed to the streaming functions. (cairo-surface-write-to-png, cairo-image-surface-create-from-png) (cairo-pdf-surface-create, cairo-ps-surface-create) (cairo-svg-surface-create): Move the filename argument to the end, and make it optional; if not supplied use the current input/output ports. * TODO: Streaming functions: check! * README: Update readme with bits about output-to-ports. * doc/release: Update with some details. * doc/www/news/index.scm: Add news entry about release. == Guile-Cairo 1.3.91 released == * configure.ac: Bump version to 1.3.91 for release. * NEWS: Update. * doc/release: Add howto on release process. 2007-06-07 Andy Wingo <wingo@pobox.com> * doc/www/dev/index.scm (page): Update to show that we support cairo 1.2. Patch by: Steve Tell <tell telltronics.org> * configure.ac: Reduce cairo requirement to 1.2.0. * guile-cairo/guile-cairo.c: * guile-cairo/guile-cairo-vector-types.h: * guile-cairo/guile-cairo-vector-types.c: * guile-cairo/guile-cairo-enum-types.c: Add #ifdefs around cairo 1.4 code. 2007-06-07 Andy Wingo <wingo@pobox.com> * guile-cairo/guile-cairo.h: Include libguile.h, so that includers don't have to think about include order. * guile-cairo/guile-cairo.c (cairo-set-source-rgba): Fix problem where this function was mistakenly named set-source-rgb. * cairo/vector-types.scm (define-accessors, define-vector-type): It turns out you can't vector-ref an f64vector; use the specific accessors instead. 2007-05-21 Andy Wingo <wingo@pobox.com> * guile-cairo/guile-cairo-enum-types.h: Include <cairo-svg.h> if we are wrapping cairo_svg_version_t. 2007-05-20 Andy Wingo <wingo@pobox.com> * guile-cairo/guile-cairo.c (scm_init_cairo): Add guard against multiple instantiations. * guile-cairo/guile-cairo.h: Include cairo.h header. 2007-05-18 Andy Wingo <wingo@pobox.com> * configure.ac: Change version to 1.3.90. * Makefile.am (SUBDIRS): * configure.ac: * doc/: Add doc/ directory, which currently just holds the web site. * README: Use guile-user as a mailing list. * configure.ac: * guile-cairo.pc.in: * Makefile.am (pkgconfig_DATA): Add pkg-config file. * NEWS: * HACKING: Add hacking and news files. * guile-cairo/guile-cairo.c: Finish cairo_status error checking, what a drag. (scm_c_check_cairo_status): Fix scm_error args. * guile-cairo/guile-cairo.c: Beginnings of cairo_status error checking. * guile-cairo/guile-cairo.c: Wrap functions for creating and manipulating PDF, PS, and SVG surfaces. * guile-cairo/guile-cairo-enum-types.h: * guile-cairo/guile-cairo-enum-types.c: Wrap SVG version type. * TODO: Update. * TODO: Update. * AUTHORS: I'm the author :) * COPYING: * guile-cairo/guile-cairo.h: * guile-cairo/guile-cairo.c: * guile-cairo/guile-cairo-vector-types.h: * guile-cairo/guile-cairo-vector-types.c: * guile-cairo/guile-cairo-smob-types.h: * guile-cairo/guile-cairo-smob-types.c: * guile-cairo/guile-cairo-enum-types.h: * guile-cairo/guile-cairo-enum-types.c: * cairo.scm: * cairo/vector-types.scm: * cairo/config.scm.in: Fix up license: it is LGPL 2.1 or higher. * TODO: Update. * guile-cairo/guile-cairo.c (cairo-surface-write-to-png): Fix number of arguments. * README: Flesh out. * guile-cairo/guile-cairo.h: Include <guile-cairo.h>, not <guile-cairo/guile-cairo.h>. * guile-cairo/Makefile.am: * cairo/Makefile.am: Install the library as libguile-cairo.so; I do not anticipate needing binary-incompat changes, and if we do need them, we can rename the library. * TODO: Update. * README: New file, half-complete. * guile-cairo/guile-cairo-enum-types.c: Add introspection procedures for the enumerated types. * TODO: Add a TODO. * cairo.scm (cairo): Fix up imports and exports. * guile-cairo/guile-cairo.c (cairo-surface-set-fallback-resolution): Fix name. * cairo/Makefile.am (module_DATA): * cairo/vector-types.scm: New module, defines constructors and accessors for vector types. * guile-cairo/guile-cairo.c (SCM_DEFINE_PUBLIC): Add matrix functions. 2007-05-17 Andy Wingo <wingo@pobox.com> * guile-cairo/guile-cairo-smob-types.c (scm_to_cairo) (scm_to_cairo_surface, scm_to_cairo_pattern) (scm_to_cairo_font_face, scm_to_cairo_scaled_font) (scm_to_cairo_font_options, scm_to_cairo_path): Check that the scm values are of the right type. * guile-cairo/guile-cairo.h: Expose scm_c_check_cairo_status. * guile-cairo/guile-cairo.c: Update constructors and other functions to use "take" functions as appropriate. * guile-cairo/guile-cairo-smob-types.h: * guile-cairo/guile-cairo-smob-types.c (scm_take_cairo) (scm_take_cairo_surface, scm_take_cairo_pattern) (scm_take_cairo_font_face, scm_take_cairo_scaled_font): Add take variants to refcounted types, that do not reference their arguments. (scm_take_cairo_font_options, scm_take_cairo_path): Rename to "take" instead of "from", indicating that these functions take ownership of their args. * guile-cairo/guile-cairo.c: 164 functions! Pretty much finished. * guile-cairo/guile-cairo.c: Define more functions; only about 20 to go. * guile-cairo/guile-cairo.c: Define about 80 functions. Still not done. * guile-cairo/guile-cairo-smob-types.c (scm_cairo_font_options_equalp, scm_init_cairo_smob_types): Add equal? handler for font options. * Move C module and includes into guile-cairo dir; it seems I might have to fight bzr for this one. 2007-05-16 Andy Wingo <wingo@pobox.com> * cairo/guile-cairo-types.c: Some more types wrapped, time for sleep. 2007-05-15 Andy Wingo <wingo@pobox.com> * Initial import. Doesn't do much.