Commit graph

92 commits

Author SHA1 Message Date
Behdad Esfahbod
cd72167ede [xlib] Get rid of _cairo_xlib_test_disable_render
in favor of cairo_boilerplate_xlib_surface_disable_render.
2007-04-21 02:08:38 -04:00
Behdad Esfahbod
8ae02fa470 [boilerplate] Minor indentation fix 2007-04-21 02:08:37 -04:00
Chris Wilson
5135bcf414 cairo-boilerplate - use xmalloc and friends
Prefer to abort gracefully if we run out of memory (or simply to protect
them from memfault).
2007-04-20 19:08:07 +01:00
Behdad Esfahbod
abcd929c57 [boilerplate] Add cairo_boilerplate_format_from_content 2007-04-20 00:52:04 -04:00
Behdad Esfahbod
97624dc488 [boilerplate] Strip test-surfaces boilerplate into cairo-boilerplate-test-surfaces* 2007-04-20 00:52:04 -04:00
Behdad Esfahbod
2e709321d8 [boilerplate] Move xasprintf to xmalloc.c 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
5331445c12 [boilerplate] Cleanup includes in cairo-boilerplate-beos.cpp 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
56e916d40c [boilerplate] Fix typos in cairo-boilerplate-glitz.c 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
06718b0da6 [boilerplate] Remove leftover call to cairo_test_log 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
99737a60cb [boilerplate] Clean up includes and remove unnecessary ones 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
4b569f13d7 [boilerplate] Strip win32 boilerplate into cairo-boilerplate-win32* 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
0a03d66fff [boilerplate] Rename create_win32_surface to _cairo_boilerplate_win32_create_surface 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
5ee882d394 [boilerplate] Remove empty cleanup_win32 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
23e6abc3fc [boilerplate] Strip glitz boilerplate into cairo-boilerplate-glitz* 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
7d576a3767 [boilerplate] Minor indentation fix 2007-04-20 00:52:03 -04:00
Behdad Esfahbod
06b657ccf1 [boilerplate] Strip xcb boilerplate into cairo-boilerplate-xcb* 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
65f636649d [boilerplate] Strip svg boilerplate into cairo-boilerplate-svg* 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
8c9960675b [boilerplate] Strip pdf boilerplate into cairo-boilerplate-pdf* 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
d9ce7de575 [boilerplate] Rename xcairo_surface_set_user_data to cairo_boilerplate_surface_set_user_data
and make it public.
2007-04-20 00:52:02 -04:00
Behdad Esfahbod
df6b8ecc89 [boilerplate] Strip ps boilerplate into cairo-boilerplate-ps* 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
6461f0d120 [boilerplate] Remove unused variables 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
f2d6275352 [boilerplate] Fix renaming typo 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
d5535c993b [boilerplate/test] Move vector_ignored_tests from boilerplate/ to test/ 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
d6dc4f9783 [boilerplate] Add a boolean is_vector to boilerplate target type
This is used to move the skip-these-tests-for-vector code into
cairo-test which it belongs.
2007-04-20 00:52:02 -04:00
Behdad Esfahbod
0b5e2dbaa8 [boilerplate] Sort backend entries in Makefile.am alphabetically 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
be0320c4f8 [boilerplate] Properly namespace boilerplate methods
in preparation for ripping them into per-backend files.
2007-04-20 00:52:02 -04:00
Behdad Esfahbod
9b660a3d54 [boilerplate] Strip xlib boilerplate into cairo-boilerplate-xlib* 2007-04-20 00:52:02 -04:00
Behdad Esfahbod
d945f64346 [boilerplate] Move includes around 2007-04-20 00:52:01 -04:00
Behdad Esfahbod
0130cca692 [boilerplate] Rename test-directfb to boilerplate-directfb 2007-04-20 00:52:01 -04:00
Behdad Esfahbod
fb2c0daa09 [boilerplate] Rename test-beos to boilerplate-beos 2007-04-20 00:52:01 -04:00
Behdad Esfahbod
01760286b3 [boilerplate] Rename quartz-boilerplate to boilerplate-quartz 2007-04-20 00:52:01 -04:00
Behdad Esfahbod
157074c794 [boilerplate] Add cairo_boilerplate_get/free_targets
This means, test and perf suites now share the same target handling
code, including parsing CAIRO_TEST_TARGET.
2007-04-18 19:46:30 -04:00
Behdad Esfahbod
47c02a6bd6 [boilerplate] s/_cairo_test_content_name/cairo_boilerplate_content_name/g 2007-04-18 19:15:16 -04:00
Chris Wilson
3a3fb0031d Update .gitignore
Add .*.sw? (vim swapfiles).
Add *~ (backup files).
Add *.gcno and *.gcda (gcov intermediates).
2007-04-16 15:08:54 +01:00
Carl Worth
fcf49a5613 boilerplate: Cleanup conditional compilation ofcairo-quartz-boilerplate.c
It's much nicer to use automake to conditionally compile a file,
instead of always compiling it and conditionally having the compiler
see an empty file.
2007-04-13 12:02:11 -07:00
Carl Worth
054c28a09d boilerplate: Add error checking for cairo_surface_write_to_png 2007-04-11 02:50:49 -07:00
Carl Worth
0a54ca2d23 boilerplate: Add error checking for cairo_surface_set_user_data 2007-04-11 02:50:42 -07:00
Chris Wilson
274c20c27a cairo-boilerplate - handle failure to set user data
After failing to set the user data on a surface, clean up and return NULL.
2007-04-09 15:02:17 +01:00
Chris Wilson
b95577a931 Protect boilerplate_xlib_synchronize from alloc failure.
Don't call XDestroyImage on a NULL image.
2007-04-06 12:18:49 -07:00
Chris Wilson
5c24711ee6 Restore gcov functionality
Add -lgcov to the shared library else the test programs fail to link.
Add a couple of lcov convenience targets to generate the coverage reports.
2007-04-04 10:13:13 +01:00
Brian Ewins
3646839060 [boilerplate] split quartz out to avoid symbol clash.
Quartz and Xlib both define Picture and Cursor, and clashed in
cairo-boilerplate.c. Splitting quartz out allows a single mac 
build with --enable-quartz --enable-atsui.
2007-04-04 01:16:30 +01:00
Carl Worth
aba2b299db boilerplate: Add EXTRA_LTLIBRARIES to CLEANFILES to allow make distcleancheck to pass. 2007-03-19 23:50:13 -07:00
Behdad Esfahbod
d27c42cc3f [boilerplate] Don't build in make all 2007-03-19 17:42:06 -04:00
Behdad Esfahbod
cd78da36f6 [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00
Behdad Esfahbod
994dd1a134 [boilerplate] Prefer top_builddir to top_srcdir
This may fix some build problems the Ubuntu guys are experiencing
with out-of-tree builds.
2007-03-13 05:14:18 -04:00
Behdad Esfahbod
ff06ea1abf [boilerplate] Add correct dependency on libcairo.la 2007-03-01 19:12:58 -05:00
Behdad Esfahbod
1dd647e265 [TODO] Add/remove items 2007-02-28 16:59:47 -05:00
Behdad Esfahbod
5f5afac8f4 [boilerplate/test-paginated] Issue a show_page before writing buffer
This is needed since cairo-test does not issue a show_page now, and
the one coming from paginated layer is too late (around finish).

The way we force the show_page is kinda funny.  That is, we create
a temporary cairo_t and call cairo_show_page() on it.  But works.
2007-02-28 14:32:11 -05:00
Vladimir Vukicevic
4c201723ce [quartz] Rename nquartz to quartz 2007-02-20 12:15:35 -08:00
M Joonas Pihlaja
c13a1a2ed0 Replace point sampling in the fill-degenerate-sort-order with rendering.
Clean up the test to not even check the ps backend as per:

http://lists.freedesktop.org/archives/cairo/2006-December/008806.html
2006-12-07 02:31:10 +02:00