Commit graph

133 commits

Author SHA1 Message Date
Tor Lillqvist
46dd21e795 Calculate LT_CURRENT_MINUS_AGE (which forms part of the DLL name on Win32), and AC_SUBST it.
Add target "zips" to create zip file based distribution for Win32.
Produce a cairo.def file for distribution by preprocessing the relevant header files and grepping for declarations of functions that start with cairo_. Works for now, will have to modify later if necessary. Use the .def file when linking on Win32.
2005-08-22 15:49:04 +00:00
Owen Taylor
aa6b2c386b Support artificial bold fonts with FC_EMBOLDEN; patch from Jackey Yang and sunmoon1997.
Check for FT_GlyphSlot_Embolden()
Call FT_GlyphSlot_Embolden for fonts where FC_EMBOLDEN is set but that aren't bold. Add another private flag for this.
2005-08-22 15:19:03 +00:00
Owen Taylor
5462c8a585 Check for FT_Load_Sfnt_Table and disable the PDF/PS backends if not found. (#4144, Billy Biggs) 2005-08-21 09:27:52 +00:00
Owen Taylor
5932a501ca Fix tests to just disable FreeType if a too-old FreeType is found, rather than erroring out. (#2298)
Reviewed by: krh
2005-08-18 17:22:23 +00:00
Billy Biggs
93e521ce19 Add an autoconf-generated version file to advertise what cairo version the manual was generated for. Idea taken from the GTK+ documentation.
Include the version number, along with the title, in a bookinfo section.
Add the version.xml.in to the dist.
Ignore version.xml.
Generate doc/public/version.xml.
2005-08-18 08:28:08 +00:00
Kristian Høgsberg
260e8abfe0 Fix typo in freetype configure check. 2005-08-17 21:19:30 +00:00
Kristian Høgsberg
75b0541bdf Try to use pkg-config to detect freetype2, then fall back to the existing freetype-config based check. 2005-08-17 15:57:45 +00:00
Billy Biggs
ae15c7d321 Add a check for the MMX intrinsics used by pixman. gcc >= 3.4 is required. 2005-08-16 16:52:35 +00:00
Carl Worth
2ebf274db4 Increment CAIRO_VERSION to 0.9.3 after tagging RELEASE_0_9_2.
Slight rewording of announcement email.
2005-08-13 05:33:21 +00:00
Carl Worth
b3a4f29f83 Added notes for release 0.9.2.
Increment CAIRO_VERSION to 0.9.2 and libtool versioning to 3:1:1.
Remove some more 'snapshot' language. Make it more clear that the libtool versioning numbers need to be updated.
2005-08-13 05:00:20 +00:00
Carl Worth
620de68bea Turn the mutex code back on. It looks like the deadlocks have disappeared as of the cairo_scaled_font_map patch from two days ago.
Setup an automake conditional for the HAVE_PTHREAD case.
Link all tests with -lpthread if available, so that we can get some testing of cairo with mutexes turned on.
2005-08-13 03:26:18 +00:00
Carl Worth
0fc4192104 From Keith Packard <keithp@keithp.com>,
Build pixman internally as a private part of cairo, with suitable name changes to avoid any visible pixman symbols in the cairo library:
Descend into pixman.
Drop libpixman from Requires.
Don't check for libpixman. Check version of pkg-config and use Requires.private instead of Requires in cairo.pc if possible. Generate pixman Makefiles.
Rip out release-publish target and installation of libpixman.pc.
Add pixman-remap.h. Drop libpixman.la target.
Fix to include config.h rather than ../config.h
This is the cpp magic to rename all pixman functions from the various fb, Fb, INT_pixman, pixman, Render, _Render, or no prefix to _cairo_pixman_ prefixes.
Include pixman-remap.h to get all the cairo-internalized names.
Add -Ipixman/src to get at pixman-remap.h.
2005-08-10 12:36:51 +00:00
Carl Worth
82fbb9c381 Patch from Behdad Esfahbod <behdad@cs.toronto.edu>:
Update to use AC_INIT and AM_INIT_AUTOMAKE in recommended ways. Add support for substituting CAIRO_VERSION_MAJOR/MINOR/MICRO into generated headers.
Add CAIRO_VERSION_MAJOR/MINOR/MICRO and CAIRO_VERSION_STRING which are generated by configure.
2005-08-10 11:08:38 +00:00
Carl Worth
018015d802 Add -head to CAIRO_VERSION after tagging with RELEASE_0_9_0. 2005-08-09 09:27:39 +00:00
Carl Worth
4bec3d6af4 Added notes for release 0.9.0.
Increment CAIRO_VERSION to 0.9.0. Increment LT_CURRENT to 2 to mark the beginning of proper soname management.
2005-08-08 21:06:44 +00:00
Carl Worth
b45f688765 Fix for bug #3951:
Add new _CHECK_FUNCS_WITH_FLAGS to abstract out the pain of temporarily setting flags for AC_CHECK_FUNCS. Use this to check for the existence of FcFini.
Make call to FcFini conditional on HAVE_FCFINI.
Remove stale comment about cleaning up memory which is now handled by cairo-test.c.
2005-08-03 10:32:50 +00:00
Carl Worth
c525c684ca New public header file.
New function to reset all static data (eg. caches) to their initial state.
Fix check-valgrind target to depend on the 'all' target.
Add check for a new, proposed, XrmFinalize function.
Add cairo-debug.c.
Move the definition of CAIRO_BEGIN_DECLS to cairo-features.h so that it can be shared between public header files, and so that it doesn't clutter cairo.h
Implement reset_static_data in all modules as required.
Call cairo_debug_reset_static_data and FcFini so that we can have all tests be valgrind-clean with respect to memory leaks and still-reachable data.
2005-08-01 13:33:47 +00:00
Billy Biggs
cd78d99642 Support versions of freetype without exact FT_Bitmap_Size.x/y_ppem values by using the pixel width and height values instead.
Add a check for FT_Bitmap_Size.y_ppem.
reviewed by: keithp
2005-07-31 11:19:47 +00:00
Carl Worth
61e28ec71f Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_6_0. 2005-07-28 12:45:26 +00:00
Carl Worth
b9861b3e87 Added notes for snapshot 0.6.0
Increment CAIRO_VERSION to 0.6.0
2005-07-28 11:51:38 +00:00
Owen Taylor
1e66aee352 configure.in Makefile.am: Skip tests/ directory if libpng was disabled. (#3423, reported by Steve Chaplin) 2005-07-28 10:43:27 +00:00
Owen Taylor
cff61fbf0d Disable PS surface build if no freetyp 2005-07-28 10:24:59 +00:00
Carl Worth
0adea66c73 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_2. 2005-07-18 11:51:42 +00:00
Carl Worth
b65393917c Added notes for snapshot 0.5.2
Increment CAIRO_VERSION to 0.5.2
2005-07-18 08:31:24 +00:00
Carl Worth
eb12e49308 Require libpixman >= 0.1.5, (since 0.1.4 crashes on some X servers). 2005-07-06 11:23:39 +00:00
David Reveman
e314e86cc1 Use frame buffer objects for accelerated offscreen drawing in glitz backend 2005-07-04 03:58:43 +00:00
Keith Packard
3b0c3d0ee8 Provide locking macros, implement with pthreads.
Add _cairo_cache_shrink_to which reduces cache memory usage to a specified level.
Change global glyph and xlib glyphset caches behaviour to only shrink cache on unlock. This is done by telling the cache code to never shrink (max_memory == 0), and then manually shrinking using _cairo_cache_shrink_to from the unlock function.
Fix Carl's variable renaming mixing (cache = cache).
reviewed by: cworth
2005-06-25 23:24:19 +00:00
Carl Worth
adee31be18 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_1. 2005-06-20 17:06:10 +00:00
Carl Worth
d7ef15d4b4 Added notes for snapshot 0.5.1
Increment CAIRO_VERSION to 0.5.1
2005-06-20 16:35:40 +00:00
Carl Worth
b1301f4013 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_0. 2005-05-18 09:41:47 +00:00
Carl Worth
f030aec810 Added porting guide to help with transition to cairo 0.5 API.
Added notes for snapshot 0.5.0
Increment CAIRO_VERSION to 0.5.0
2005-05-17 18:39:56 +00:00
Carl Worth
40796148b8 Fix URLs for glitz and xlibs, (thanks to Jason Dorje Short <jdorje@users.sf.net>). 2005-05-10 14:54:48 +00:00
Carl Worth
6f3215cb7f Update to current canonical URL for XCB. 2005-05-10 14:48:05 +00:00
Carl Worth
31b4e5b4ec Change cairo-features again so that either #if or #ifdef will work to test any feature. 2005-05-09 08:34:57 +00:00
Carl Worth
10c88d4244 Change definitions of everything in cairo-features.h to prefer #if over #ifdef.
Track #ifdef -> #if changes.
Add support to automatically change all #ifdef CAIRO_HAS to #if CAIRO_HAS.
2005-05-06 21:33:22 +00:00
Carl Worth
d4209c331f Use configure-time checks for stdint.h vs. inttypes.h vs. sys/int_types.h rather than ad-hoc system-specific macros. Also define these types manually none of these header are available. (Thanks to Jason Dorje Short <jdorje@users.sf.net>). 2005-04-07 12:05:52 +00:00
Carl Worth
19a918e624 Fix typo I had introduced into Jason's patch that made configure fail. 2005-03-30 14:00:31 +00:00
Carl Worth
13b1b705f4 A few fixes courtesy of Jason Dorje Short <jdorje@users.sf.net>:
Disable PS backend if zlib is not found.
Fix mistyped parameter.
Fix missing return value.
2005-03-30 13:34:51 +00:00
Tor Lillqvist
78b022b1d1 Update quartz backend to compilable/workable version and re-enable. 2005-03-29 11:24:10 +00:00
Kristian Høgsberg
bd5bbb6ce2 New PNG utility functions.
Reverse the naming of the pdf constructors so the callback based ones have the long names.
2005-03-28 13:58:26 +00:00
Carl Worth
36820ec40a Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_4_0. 2005-03-08 19:34:04 +00:00
Carl Worth
0c67d496a3 Increment CAIRO_VERSION to 0.4.0
Added notes for snapshot 0.4.0
2005-03-08 17:36:24 +00:00
Carl Worth
4dcccab806 Require libpixman >= 0.1.4. 2005-03-08 08:51:48 +00:00
Carl Worth
32fbb0afae Make configure fail if no font backend is available. Point the user at freetype and fontconfig. 2005-03-07 12:40:29 +00:00
Owen Taylor
66af5f9f36 src/cairoint.h src/cairo_pattern.c src/cairo_glitz_surface.c: Add _cairo_pattern_is_opaque, use it rather than pattern->alpha == 1.0. 2005-03-04 09:41:34 +00:00
David Reveman
4552898cfb Update xcb backend 2005-03-03 20:16:23 +00:00
David Reveman
f54f78525a Fixed variable assignments in configure.in 2005-03-03 19:09:24 +00:00
David Reveman
36b69fc7f4 Major update to glitz backend 2005-03-03 18:04:51 +00:00
David Reveman
019d381b40 Change to cairo_surface_t like structure of of cairo_pattern_t 2005-03-03 17:40:04 +00:00
Owen Taylor
724cf1ce71 When we created a DC/bitmap pair, delete the DC before the Bitmap so that the Bitmap will be released from the DC and can be destroyed. (Reported by Hans Breuer)
configure.in cairo.pc.in: Only require fontconfig if building FreeType font backend.
Fix output when reporting Win32 font backend.
2005-02-24 08:20:14 +00:00