[cairo-commit] cairo/doc/public cairo-sections.txt,1.21,1.22

Carl Worth commit at pdx.freedesktop.org
Mon Jun 13 16:36:42 PDT 2005

Committed by: cworth

Update of /cvs/cairo/cairo/doc/public
In directory gabe:/tmp/cvs-serv9236/doc/public

Modified Files:
Log Message:

        * src/cairo.c (_cairo_set_source_solid),
        (cairo_set_source_surface), (cairo_mask_surface): No longer need
        to check for NULL after creating a pattern.

        * src/cairo.c (cairo_set_source), (cairo_mask): Propagate status
        errors from pattern->status to cr->status.

        Originally 2005-05-08  Owen Taylor  <otaylor at redhat.com>:

        * src/cairo-pattern.c src/cairoint.h: If allocation of pattern
        objects fails, return special static nil pattern objects.

        * src/cairo-pattern.c: If adding a color stop fails to allocate
        memory, set pattern->status. (And fix a memory leak.) Make public
        functions return when pattern->status is set, (and no longer
        return a cairo_status_t).

        * src/cairo-pattern.c src/cairo.h doc/public/cairo-sections.txt:
        Add cairo_pattern_status()

        * src/cairo-gstate.c: Check the status of gstate->source and
        of mask patterns passed in.

Index: cairo-sections.txt
RCS file: /cvs/cairo/cairo/doc/public/cairo-sections.txt,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- cairo-sections.txt	31 May 2005 23:05:06 -0000	1.21
+++ cairo-sections.txt	13 Jun 2005 23:36:40 -0000	1.22
@@ -109,6 +109,7 @@

More information about the cairo-commit mailing list