Commit graph

3638 commits

Author SHA1 Message Date
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
a684fd80e7 [directfb] Silence compiler warning 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
Chris Wilson
d64ef35521 Include cairo-perf in make check
Although cairo-perf is not written to perform explicit failure testing of
cairo, it does generate long sequences of cairo operations which often
trigger unexpected errors. By including it with make check, it becomes
even easier for the programmer to check that one has not broken cairo in
terms of expected behaviour or performance.
2007-04-19 23:12:09 +01:00
Behdad Esfahbod
0ffb021e9b [cairo-mutex] If no mutex implementation is found, should #error instead of #warning
otherwise we will cause compile errors before the sanity check macros get
a chance to err.
2007-04-19 16:53:24 -04:00
Behdad Esfahbod
813cdd7150 [configure.in] Support --disable-pthread
Also allows for --enable-pthread=yes which will make configure abort
if pthread is not found (as opposed to silently disabling it).
2007-04-19 16:53:24 -04:00
Chris Wilson
6d01e89988 Add callgrind output files to CLEANFILES and .gitignore. 2007-04-19 21:46:00 +01:00
Chris Wilson
2c79f8b75b Fix command line for running cairo-perf under valgrind.
The CAIRO_PERF_ENVIRONMENT slipped into the middle of the command line
instead of at the start.
2007-04-19 21:42:13 +01:00
Behdad Esfahbod
3631c11eb4 [cairo-mutex] Switch to HAVE_WINDOWS_H to use Win32 mutexes 2007-04-19 16:38:23 -04:00
Behdad Esfahbod
d2a824a191 [cairo-commit] Update attribution headers in cairo-mutex-private.h 2007-04-19 16:37:36 -04:00
Behdad Esfahbod
12dfd8bb4b [cairo-mutex] Warn if no mutex definition found and let sanity macros err
about undefined CAIRO_MUTEX macros.
2007-04-19 16:36:43 -04:00
Behdad Esfahbod
6aa823841d [cairo-mutex] Support non-reentrant compilation if CAIRO_NO_MUTEX defined
to 1.
2007-04-19 16:36:10 -04:00
Behdad Esfahbod
e5980f69ad [cairo-commit] Just warn for BeOS and let the sanity check macros err
about undefined CAIRO_MUTEX macros.
2007-04-19 16:31:47 -04:00
Behdad Esfahbod
8ebb054ff9 [cairo-mutex] Prefer "#if CAIRO_SOMETHING" over "#if defined CAIRO_SOMETHING" 2007-04-19 16:30:21 -04:00
Behdad Esfahbod
97c1974780 [cairo-mutex] Add default implementation for CAIRO_MUTEX_INIT
that uses CAIRO_MUTEX_NIL_INITIALIZER.  This used to be the
implementation for pthread because pthread_mutex_init() is
broken.  See d48bb4fbe8.
2007-04-19 16:26:21 -04:00
Behdad Esfahbod
6d2a2dd6d9 [cairo-mutex] Add default no-op implementation for CAIRO_MUTEX_FINI 2007-04-19 16:24:16 -04:00
Behdad Esfahbod
2067d6fa90 [cairo-mutex] Use CAIRO_MUTEX_NOOP when applicable 2007-04-19 16:23:14 -04:00
Behdad Esfahbod
5dda76c90f [cairo-mutex] Err if at least one of mutex macros are not defined 2007-04-19 16:22:02 -04:00
Behdad Esfahbod
f771b9157c [cairo-mutex] Define and use CAIRO_MUTEX_USE_GENERIC_INITIALIZATION
We use the generic initialization if CAIRO_MUTEX_INITIALIZE is not
defined.
2007-04-19 16:21:13 -04:00
Behdad Esfahbod
4fc52e2d49 [cairo-mutex] Define CAIRO_MUTEX_NOOP 2007-04-19 16:19:48 -04:00
Behdad Esfahbod
f9dd8fd0ef [cairo-mutex] Inlucde cairo-features.h and config.h
Previously we were lucky enough to have them included before us
2007-04-19 16:19:25 -04:00
Behdad Esfahbod
4e754cf3df [cairo-truetype-subset] Shut gcc warning up 2007-04-19 16:07:15 -04:00
Behdad Esfahbod
4141e752e2 [cairo-freelist] Remove redundant struct declarations 2007-04-19 16:07:15 -04:00
Behdad Esfahbod
ea817c560c [cairo-mutex] Remove unneeded #undef CAIRO_MUTEX_EXTERNAL 2007-04-19 16:07:15 -04:00
Behdad Esfahbod
0b281085b5 [cairo-mutex] Err on unintended inclusion of cairo-mutex-list-private.h 2007-04-19 16:07:15 -04:00
Behdad Esfahbod
47be7280bf [cairo-mutex] Remove multiple-inclusion guards from cairo-mutex-list-private.h
This is a list header file.  We should not prevent it from multiple
inclusions.
2007-04-19 16:07:15 -04:00
Chris Wilson
55ea0466e2 Embed simple clip XRectangles in cairo_xlib_surface_t
Toolkits like GTK+ almost always set a simple rectangular clip mask before
any cairo operation, so avoid the allocation for this simple case by
embedding a small number of XRectangles into the surface structure.
2007-04-19 20:37:06 +01:00
Mathias Hasselmann
7906a99340 Define INT32 limits on MSVC as noticed by Hans-Jürgen Schäler 2007-04-19 14:54:30 +02:00
Mathias Hasselmann
cc8841645c Properly use CAIRO_MUTEX_{INIT,FINI} and remove CAIRO_MUTEX_LIST_PRIVATE_H sentinal before explicitly including the mutex list. 2007-04-19 13:47:45 +02:00