[cairo-commit] cairo/test Makefile.am, 1.94,
1.95 dash-caps-joins-ref.png, NONE, 1.1 dash-caps-joins.c, 1.1, 1.2
Carl Worth
commit at pdx.freedesktop.org
Tue Sep 27 12:44:34 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/test
In directory gabe:/tmp/cvs-serv30217/test
Modified Files:
Makefile.am dash-caps-joins.c
Added Files:
dash-caps-joins-ref.png
Log Message:
2005-09-27 Carl Worth <cworth at cworth.org>
* ROADMAP: Note that bug #4409 (Dashes are missing initial caps)
is now fixed.
* src/cairo-path-stroke.c: (_cairo_stroker_add_cap),
(_cairo_stroker_add_leading_cap),
(_cairo_stroker_add_trailing_cap),
(_cairo_stroker_add_caps): Move face-flipping from inside
_cairo_stroker_add_caps to new _cairo_stroker_add_leading_cap
variant of _cairo_stoker_add_cap.
* src/cairo-path-stroke.c: (_cairo_stroker_line_to_dashed): Change
to call _cairo_stroker_add_leading_cap or
_cairo_stroker_add_trailing_cap as appropriate.
* test/Makefile.am (XFAIL_TESTS):
* test/dash-caps-joins-ref.png:
* test/dash-caps-joins.c: (main): Remove dash-caps-joins from the
XFAIL list and add reference image.
Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/test/Makefile.am,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- Makefile.am 27 Sep 2005 18:35:18 -0000 1.94
+++ Makefile.am 27 Sep 2005 19:44:32 -0000 1.95
@@ -150,7 +150,6 @@
# provide an explanation for the expected failure.
XFAIL_TESTS = \
a8-mask \
-dash-caps-joins \
filter-nearest-offset \
pixman-rotate \
self-intersecting \
--- NEW FILE: dash-caps-joins-ref.png ---
(This appears to be a binary file; contents omitted.)
Index: dash-caps-joins.c
===================================================================
RCS file: /cvs/cairo/cairo/test/dash-caps-joins.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dash-caps-joins.c 27 Sep 2005 18:35:18 -0000 1.1
+++ dash-caps-joins.c 27 Sep 2005 19:44:32 -0000 1.2
@@ -90,6 +90,5 @@
int
main (void)
{
- return cairo_test_expect_failure (&test, draw,
- "Dashes are missing initial caps: https://bugs.freedesktop.org/show_bug.cgi?id=4409");
+ return cairo_test (&test, draw);
}
More information about the cairo-commit
mailing list