[cairo-commit] cairo/test .cvsignore, 1.46, 1.47 Makefile.am, 1.82, 1.83 dash-offset-negative-ref.png, NONE, 1.1 dash-offset-negative.c, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Sat Aug 20 05:02:17 EST 2005


Committed by: cworth

Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv15351/test

Modified Files:
	.cvsignore Makefile.am 
Added Files:
	dash-offset-negative-ref.png dash-offset-negative.c 
Log Message:

2005-08-19  Carl Worth  <cworth at cworth.org>

        Fix for bug #2729:

        * src/cairo-gstate.c: (_cairo_gstate_set_dash): Adjust negative
        offsets up to their equivalent positive value. Add error checking
        for dash values, (must each be non-negative and must not be all
        zero).

        * src/cairo.c (cairo_set_dash): Add documentation.

        * src/cairo.h:
        * src/cairo.c: (cairo_status_to_string): Add new
        CAIRO_STATUS_INVALID_DASH.

        * test/.cvsignore:
        * test/Makefile.am: Add dash-offfset-negative test from Owen.

        * doc/public/tmpl/cairo.sgml: churn


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/cairo/test/.cvsignore,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- .cvsignore	19 Aug 2005 06:10:42 -0000	1.46
+++ .cvsignore	19 Aug 2005 19:02:14 -0000	1.47
@@ -12,6 +12,7 @@
 coverage
 create-from-png
 create-from-png-stream
+dash-offset-negative
 fill-and-stroke
 fill-rule
 filter-nearest-offset

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- Makefile.am	19 Aug 2005 06:10:42 -0000	1.82
+++ Makefile.am	19 Aug 2005 19:02:14 -0000	1.83
@@ -9,6 +9,7 @@
 composite-integer-translate-over-repeat \
 create-from-png			\
 create-from-png-stream		\
+dash-offset-negative		\
 fill-and-stroke			\
 fill-rule			\
 filter-nearest-offset		\
@@ -80,6 +81,7 @@
 composite-integer-translate-over-repeat-ref.png		\
 create-from-png-ref.png			\
 create-from-png-stream-ref.png		\
+dash-offset-negative-ref.png		\
 fill-and-stroke-ref.png			\
 fill-rule-ref.png			\
 filter-nearest-offset-ref.png		\
@@ -91,6 +93,7 @@
 mask-ctm-ref.png			\
 mask-surface-ctm-ref.png		\
 move-to-show-surface-ref.png		\
+nil-surface-ref.png			\
 operator-clear-ref.png			\
 operator-source-ref.png			\
 paint-ref.png				\
@@ -182,6 +185,7 @@
 composite_integer_translate_over_repeat_LDADD = $(LDADDS)
 create_from_png_LDADD = $(LDADDS)
 create_from_png_stream_LDADD = $(LDADDS)
+dash_offset_negative_LDADD = $(LDADDS)
 fill_and_stroke_LDADD = $(LDADDS)
 fill_rule_LDADD = $(LDADDS)
 filter_nearest_offset_LDADD = $(LDADDS)

--- NEW FILE: dash-offset-negative-ref.png ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: dash-offset-negative.c ---
(This appears to be a binary file; contents omitted.)



More information about the cairo-commit mailing list