commit 995ed33726ac1e840ea1d6a28f48d6883a4bad59 Author: Carl Worth Date: Wed Aug 24 09:29:39 2005 +0000 Increment CAIRO_VERSION to 1.0.0 and libtool versioning to 4:2:2. ChangeLog | 5 +++++ configure.in | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) commit 95c1d5470151d4f9778a840847c9b532da1ef9f7 Author: Carl Worth Date: Wed Aug 24 09:26:28 2005 +0000 Fix typos. Add CAIRO_STATUS_INVALID_DASH. ChangeLog | 4 ++++ NEWS | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) commit 766f63567c8ecfc6881781054ac792e6252b8106 Author: Carl Worth Date: Wed Aug 24 09:12:37 2005 +0000 Unabbreviate "eg." to "for example,". ChangeLog | 4 ++++ README | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 2cd76fc77f5455fb2bb141a4e75b3ced0004a1e2 Author: Carl Worth Date: Wed Aug 24 08:46:02 2005 +0000 Update name from "0.5 porting guide" to "1.0 porting guide." ChangeLog | 5 +++++ PORTING_GUIDE | 14 +++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) commit aa4b9f4b00c5cf7be0f525caa2419b00a0dc26b5 Author: Carl Worth Date: Wed Aug 24 08:28:00 2005 +0000 Some text cleanups from Øyvind KolÃ¥s. ChangeLog | 5 +++++ README | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit d86f5af717baf1e44df3d10633c46482ed44b9da Author: Carl Worth Date: Wed Aug 24 08:12:22 2005 +0000 Add Amaury Jacquot. AUTHORS | 1 + ChangeLog | 4 ++++ 2 files changed, 5 insertions(+) commit ccc7a2f115960514ba43f24e85df9472b0fd4c60 Author: Carl Worth Date: Wed Aug 24 08:07:24 2005 +0000 Fix typo. ChangeLog | 4 ++++ RELEASING | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit f4188a4680140c280bdf28c26020488d976b1dde Author: Carl Worth Date: Wed Aug 24 07:58:07 2005 +0000 Fix typos. AUTHORS | 2 +- ChangeLog | 5 +++++ README | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit bd510d8b4b7ab22a8699d55734e22b57648752d8 Author: Tor Lillqvist Date: Wed Aug 24 07:56:45 2005 +0000 Drop PDF and PS backend and FT font API from Win32 DLL entry points for now. ChangeLog | 5 +++++ src/Makefile.am | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) commit d86b741b4e9fdae422f7ef8c791ce779812b2be9 Author: Carl Worth Date: Wed Aug 24 07:16:01 2005 +0000 Fix typos. ChangeLog | 4 ++++ README | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 83b2f98d4955149c0d9941ed42ea51bf0d6cc993 Author: Carl Worth Date: Wed Aug 24 06:50:51 2005 +0000 Move glitz into the experimental list. ChangeLog | 4 ++++ README | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 9fde3cc0e3eea213c0f0fdfd8ca571fe63f4ddc9 Author: Carl Worth Date: Wed Aug 24 06:48:02 2005 +0000 Put glitz in the experimental section. Give glitz the experimental treatment, (disable it by default. ChangeLog | 7 +++++++ INSTALL | 2 +- configure.in | 8 ++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) commit 19c25d63c2c4dd7a178e90df81b711ba667cbdd1 Author: Carl Worth Date: Wed Aug 24 06:17:39 2005 +0000 Add some more detailed build instructions. ChangeLog | 4 +++ INSTALL | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 117 insertions(+), 5 deletions(-) commit 985d8571d2266715229d5e1e9d2037897240d6ce Author: Billy Biggs Date: Wed Aug 24 06:09:11 2005 +0000 Fix some minor typos in the doc. ChangeLog | 5 +++++ src/cairo.c | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) commit b5a7a195791007e3c367b92a1fcc628699ca8043 Author: Carl Worth Date: Wed Aug 24 06:07:58 2005 +0000 Disable ATSUI by default as well. ChangeLog | 4 ++++ configure.in | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 3a9f977817b287e56f54760aece3105771a7dcc1 Author: Carl Worth Date: Wed Aug 24 05:43:48 2005 +0000 Add pointer to http://bugs.freedesktop.org. BUGS | 12 ++++++++++++ ChangeLog | 4 ++++ 2 files changed, 16 insertions(+) commit 9282036cd354a5714655ce4ad7859a99a1800b19 Author: Carl Worth Date: Wed Aug 24 05:36:05 2005 +0000 Add more detailed notes on what is required to compile cairo on Mac OS X or win32. ChangeLog | 5 +++++ README | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) commit 4569aeda97c15084998eb956a659ad1ace302819 Author: Carl Worth Date: Wed Aug 24 05:28:28 2005 +0000 Change upload directory from snapshots to releases now thatwe're doing stable releases of cairo. ChangeLog | 6 ++++++ Makefile.am | 4 ++-- RELEASING | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) commit 18ef8944dc318b240791070ef5282b4037bd2441 Author: Carl Worth Date: Wed Aug 24 05:25:51 2005 +0000 Give PostScript and PDF backends the experimental treatment, disabling them by default. ChangeLog | 5 +++++ configure.in | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) commit 5ca5ddde0b505403a3a129c2c743c8e5f8fa9b90 Author: Carl Worth Date: Wed Aug 24 05:21:50 2005 +0000 Add notes for 1.0 release. Thanks to Owen Taylor. Note that PS and PDF backends are experimental. Note the progress that has been completed so that 1.0 is ready now. ChangeLog | 9 +++++++ NEWS | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README | 4 ++-- ROADMAP | 28 ++++++++++++++-------- 4 files changed, 111 insertions(+), 12 deletions(-) commit 112094a350c4ed3a936a748f55bcbae7eac4e5c1 Author: Carl Worth Date: Wed Aug 24 02:25:39 2005 +0000 Update documentation for most path construction functions. Add discussion of the effects on the current point to all functions. Rephrase the wording of the relative functions. Big rewrite of cairo_arc description. Add discussion of join not caps to cairo_close_path. ChangeLog | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 235838d49f966804970fa06715e2e89b92f39c9f Author: Keith Packard Date: Wed Aug 24 01:47:13 2005 +0000 Use new device_x_scale/device_y_scale surface fields to set the device coordinate space to the nominal pixels. Treat more alpha values as translucent (up to 0.999) Fix emit_image to actually use a temporary image when necessary. Change PS coordinate space to match cairo (top-down), adjust PS output to use new space. Find more cases where PS output was not supported and fall back to image surface. reviewed by: cworth ChangeLog | 28 ++++++++++ src/cairo-ps-surface.c | 146 +++++++++++++++++++++++++++++++------------------ 2 files changed, 121 insertions(+), 53 deletions(-) commit 5198e71eaf07538307843a58a57f4551411f40b6 Author: Keith Packard Date: Wed Aug 24 01:42:19 2005 +0000 _cairo_surface_show_glyphs may return UNSUPPORTED in which case a call to scaled_font->backend->show_glyphs is needed. reviewed by: cworth ChangeLog | 8 ++++++++ src/cairo-meta-surface.c | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) commit e4166936b9d2e1197efcdc378a6113a6c68a41ed Author: Keith Packard Date: Wed Aug 24 01:39:56 2005 +0000 Add device_x_scale and device_y_scale to surface so that the coordinate system seen by the backend can differ from the nominal device coordinate space used by the application. Useful for printer backends where the device coordinate space should be in pixels while the user visible device space is in points. There is no API to set these values; the backends using this functionality should do that themselves before the first cairo_t is created. reviewed by: cworth ChangeLog | 27 ++++++++++++++++++++++++ src/cairo-gstate-private.h | 4 ++-- src/cairo-gstate.c | 51 ++++++++++++++++++++++++++++++++++++---------- src/cairo-surface.c | 10 +++++---- src/cairoint.h | 2 ++ 5 files changed, 77 insertions(+), 17 deletions(-) commit 77a0ae7439bba5b442fc7c3bee5eb61ebfe24abb Author: Carl Worth Date: Wed Aug 24 01:13:36 2005 +0000 Fix cairo_show_text to advance the current point. Add documentation for cairo_show_text. Add test to verify that the current-point-advancing behavior of cairo_show_text is working. Remove bug about cairo_show_text not advancing the current point. BUGS | 4 --- ChangeLog | 15 ++++++++ src/cairo.c | 54 ++++++++++++++++++++++++---- test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/show-text-current-point-ref.png | Bin 0 -> 1606 bytes test/show-text-current-point.c | 68 +++++++++++++++++++++++++++++++++++ 7 files changed, 134 insertions(+), 11 deletions(-) commit 5ac2d216ab5322869cd2540c7cc2cda579eaf85e Author: Carl Worth Date: Wed Aug 24 00:19:52 2005 +0000 Update documentation for most path construction functions. Add discussion of the effects on the current point to all functions. Rephrase the wording of the relative functions. Big rewrite of cairo_arc description. Add discussion of join not caps to cairo_close_path. ChangeLog | 4 ++ src/cairo.c | 130 +++++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 93 insertions(+), 41 deletions(-) commit 4f44cd809db5c72638d14963870848eba9f266d1 Author: Carl Worth Date: Tue Aug 23 23:20:53 2005 +0000 Minor doc edit. ChangeLog | 4 ++++ src/cairo.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit ef8b5b6a50667792a1cbdd5d338c8f0a154855ff Author: Carl Worth Date: Tue Aug 23 23:13:35 2005 +0000 Minor doc edits. ChangeLog | 4 ++++ doc/public/tmpl/cairo-matrix.sgml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 4047fa507720c01a9ac0377de92ddc71ff2f359f Author: Carl Worth Date: Tue Aug 23 22:48:13 2005 +0000 Prefer cairo over Cairo when not at the beginning of a sentence. ChangeLog | 8 ++++++++ doc/public/tmpl/cairo-matrix.sgml | 2 +- doc/public/tmpl/cairo-status.sgml | 2 +- doc/public/tmpl/cairo-types.sgml | 2 +- doc/public/tmpl/cairo.sgml | 6 +++--- 5 files changed, 14 insertions(+), 6 deletions(-) commit 0b616d20dd77aaa4549759a49d72dd1007290ebb Author: Billy Biggs Date: Tue Aug 23 21:36:08 2005 +0000 Add a long description. Fix a typo. Document the return value of cairo_scaled_font_reference(). Document the width and height parameters of cairo_xlib_surface_set_drawable(). ChangeLog | 9 +++++++++ doc/public/tmpl/cairo-image.sgml | 7 +++++-- doc/public/tmpl/cairo.sgml | 2 +- src/cairo-font.c | 2 ++ src/cairo-xlib-surface.c | 2 ++ 5 files changed, 19 insertions(+), 3 deletions(-) commit 86889a55de043b1357af39a2446b948068d54179 Author: Billy Biggs Date: Tue Aug 23 21:10:39 2005 +0000 Document the rest of the path functions (except the two text ones, which should coordinate with their corresponding non-path versions). Minor shuffling. ChangeLog | 9 ++++ doc/public/cairo-sections.txt | 18 ++++---- doc/public/tmpl/cairo-paths.sgml | 87 ++++++++++++++++++++++--------------- doc/public/tmpl/cairo-text.sgml | 19 --------- src/cairo.c | 92 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 163 insertions(+), 62 deletions(-) commit 1e054fa3966341c08069d90daa0a430571539d3f Author: Kristian Høgsberg Date: Tue Aug 23 20:08:21 2005 +0000 More minor edits. AUTHORS | 2 +- ChangeLog | 5 +++++ README | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) commit ebb54333561b4b4e85660687f1188999435f1a7a Author: Billy Biggs Date: Tue Aug 23 19:54:11 2005 +0000 Minor edits. ChangeLog | 4 ++++ README | 16 +++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) commit 326911a749979104fbcd60e5af93f902257a5389 Author: Billy Biggs Date: Tue Aug 23 19:52:09 2005 +0000 Update the long description of cairo_matrix_t to match the current sources. Add cairo_path_data_t. Some documentation updates and improvements. ChangeLog | 11 +++++ doc/public/tmpl/cairo-matrix.sgml | 30 +++++-------- doc/public/tmpl/cairo-paths.sgml | 6 +++ src/cairo-ft-font.c | 5 +-- src/cairo-path-data.c | 4 +- src/cairo-pattern.c | 4 +- src/cairo.c | 89 ++++++++++++++++++++++++------------- src/cairo.h | 92 ++++++++++++++++++++------------------- 8 files changed, 139 insertions(+), 102 deletions(-) commit ee3e72e6a9e777aec5a0993352de1f8e77065989 Author: Carl Worth Date: Tue Aug 23 19:34:20 2005 +0000 Add suppression for uninitialized data in fbBltOne. ChangeLog | 5 +++++ test/.valgrind-suppressions | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) commit 0b063224a6d72ea025720060abf0781d4df81757 Author: Carl Worth Date: Tue Aug 23 19:31:10 2005 +0000 Big update in preparation for 1.0. ChangeLog | 4 ++ README | 149 ++++++++++++++++++++++++++++++++++++++++++++------------------ 2 files changed, 110 insertions(+), 43 deletions(-) commit 83aae920630ec9be77fc80cb544c6272859f4460 Author: Carl Worth Date: Tue Aug 23 17:36:20 2005 +0000 Added several names to the AUTHORS file (since 2005-01-24): Josh Aas Billy Biggs Damien Carbery Steve Chaplin Tomasz Cholewo John Ehresman Behdad Esfahbod Bertram Felgenhauer J. Ali Harlow Adrian Johnson Michael Johnson Øyvind KolÃ¥s Martin Kretzschmar Tor Lillqvist Luke-Jr Jeff Muizelaar Peter Nilsson Geoff Norton Robert O'Callahan Mike Owens Stuart Parmenter Tim Rowley Jason Dorje Short Travis Spencer Malcolm Tredinnick AUTHORS | 29 +++++++++++++++++++++++++++-- ChangeLog | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 58 insertions(+), 5 deletions(-) commit b4d43d7fddd9d0843a97a8f321cafc646f59d76d Author: Billy Biggs Date: Tue Aug 23 16:31:59 2005 +0000 Experimental Quartz and XCB backends removed from the public doc for now. ChangeLog | 5 +++++ doc/public/cairo-docs.xml | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit f5c16c2e4815306308de5c884d11ff9888229986 Author: Owen Taylor Date: Tue Aug 23 15:16:37 2005 +0000 Reverse the help text for --enable-xcb, --enable-quartz. ChangeLog | 5 +++++ configure.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit b8d610c56e77afe6e27514d8a1ce76bd9aaf8274 Author: Owen Taylor Date: Tue Aug 23 15:11:44 2005 +0000 Disable XCB and Quartz backends unless explicitely enabled. Add a big warning message if they are enabled about bugs and API instability. ChangeLog | 6 ++++++ configure.in | 19 +++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) commit 00af78735e02a0384ada84d57cd208f06bcaaadc Author: Owen Taylor Date: Tue Aug 23 14:53:08 2005 +0000 Rip out all the code for doing anything other than linear interpolation between color stops, instead of doing different funky things based on pattern->filter. (#4184) ChangeLog | 7 ++++++ src/cairo-pattern.c | 66 +++-------------------------------------------------- 2 files changed, 10 insertions(+), 63 deletions(-) commit 48b3a1cacd9d486c0e279ea8fadfb2fd4e3207a0 Author: Owen Taylor Date: Tue Aug 23 14:52:38 2005 +0000 Check for AlphaBlend() with GetProcAddress() to support older compilation environments like MSVC 6. (Also fixes this portion of the code to run on Win98 and Win95, but much of the rest of cairo-win32-* won't work in that environment) (#3926, Hans Breuer, Christian Biesinger, based on code originally from Mozilla) Remove WINVER define, since it was there only for AlphaBlend(). src/cairo-win32-private.h | 6 ------ 1 file changed, 6 deletions(-) commit c4c1c4db96549e4ffcbd0ee081661d54522860c9 Author: Carl Worth Date: Tue Aug 23 14:51:51 2005 +0000 Remove assert statements that violate two intentional instances of ref_count == 0. ChangeLog | 6 ++++++ src/cairo-font.c | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) commit 2dfb7a662f63642d63a91e39ea1828957fab0705 Author: Carl Worth Date: Tue Aug 23 14:37:09 2005 +0000 Fix memory leak of pattern. ChangeLog | 4 ++++ test/text-pattern.c | 2 ++ 2 files changed, 6 insertions(+) commit a96a4a7ce6c402ab96a9e06b453d9c2203fad7bb Author: Owen Taylor Date: Tue Aug 23 14:30:52 2005 +0000 Check for AlphaBlend() with GetProcAddress() to support older compilation environments like MSVC 6. (Also fixes this portion of the code to run on Win98 and Win95, but much of the rest of cairo-win32-* won't work in that environment) (#3926, Hans Breuer, Christian Biesinger, based on code originally from Mozilla) Remove WINVER define, since it was (hopefully) there only for AlphaBlend(). ChangeLog | 13 ++++++ src/cairo-win32-surface.c | 109 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 105 insertions(+), 17 deletions(-) commit 6d8df3957dc0223b35b119788d9c0f460b06141a Author: Owen Taylor Date: Tue Aug 23 14:12:01 2005 +0000 Call _get_pattern_load_flags() on the resolved pattern, not the input pattern. (Further fix from sunmoon1997) ChangeLog | 6 ++++++ src/cairo-ft-font.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit f219b83466f926ee48ba6abbf69ec723c9eba685 Author: Carl Worth Date: Tue Aug 23 14:04:28 2005 +0000 if users attempt to twice destroy or re-reference a destroyed object. The condition for detecting this case is a ref_count of 0. Reviewed by: otaylor Fixes bug #4198 ChangeLog | 17 +++++++++++++++++ src/cairo-font.c | 8 ++++++++ src/cairo-pattern.c | 4 ++++ src/cairo-surface.c | 4 ++++ src/cairo.c | 4 ++++ 5 files changed, 37 insertions(+) commit a0ecb16417a4c3f92b0a7682b84be702480748b4 Author: Carl Worth Date: Tue Aug 23 13:57:00 2005 +0000 Move CAIRO_CONTENT_VALID and CAIRO_FORMAT_VALID from the public cairo.h to the private cairoint.h where they belong. ChangeLog | 7 +++++++ src/cairo.h | 9 --------- src/cairoint.h | 9 +++++++++ 3 files changed, 16 insertions(+), 9 deletions(-) commit f229b1abfb01d3c42cba1dec36a271fe75c503a9 Author: Owen Taylor Date: Tue Aug 23 13:34:14 2005 +0000 when creating the temporary mask, do glyph ADD mask, not (glyph IN source) ADD mask. Set the mask as having component alpha when it's 4-channel. test/text-antialias-subpixel.c test/Makefile.am: No longer XFAIL. test/text-antialias-gray.c test/text-antialias-subpixel.c Don't turn off metrics hinting, it doesn't make sense. Update. ChangeLog | 15 +++++++++++++++ src/cairo-ft-font.c | 10 ++++++---- test/Makefile.am | 1 - test/text-antialias-gray-ref.png | Bin 723 -> 727 bytes test/text-antialias-gray.c | 1 - test/text-antialias-none-ref.png | Bin 277 -> 278 bytes test/text-antialias-none.c | 1 - test/text-antialias-subpixel-ref.png | Bin 1079 -> 1081 bytes test/text-antialias-subpixel.c | 4 +--- 9 files changed, 22 insertions(+), 10 deletions(-) commit c11f0376d4c4aec3ff1c849f333aad2ce56f06bd Author: Carl Worth Date: Tue Aug 23 12:48:17 2005 +0000 Revise the description of indentation and tabs to be clear (I hope). CODING_STYLE | 29 ++++++++++++++++++++++++----- ChangeLog | 5 +++++ 2 files changed, 29 insertions(+), 5 deletions(-) commit 317af5618c01d1be86308aebc0e87d7752a7e309 Author: Carl Worth Date: Tue Aug 23 10:55:00 2005 +0000 Fix inadvertent commit of incorrect reference image test/text-antialias-subpixel-ref.png | Bin 970 -> 1079 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit 9aa1f4d868c7fdad6412205538697899fe760dca Author: Carl Worth Date: Tue Aug 23 10:39:27 2005 +0000 Clear to opaque white at the beginning of the test so that the 0 alpha values in the destination don't cause bizarre results. (main): Note that only the image backend should fail now. Add new reference image. ChangeLog | 9 +++++++++ test/Makefile.am | 1 + test/text-antialias-subpixel-ref.png | Bin 0 -> 970 bytes test/text-antialias-subpixel.c | 5 ++++- 4 files changed, 14 insertions(+), 1 deletion(-) commit 9e68e0ceef2519b28e582fdaa8f2a8a33401735a Author: Carl Worth Date: Tue Aug 23 10:11:16 2005 +0000 Add more comments on the improved state of this bug. Commit a reference image generated with cairo_text_path; cairo_fill. (We may not require getting this exact result, but I think it is worth examining the differences closely.) ChangeLog | 9 +++++++++ test/text-rotate-ref.png | Bin 0 -> 12446 bytes test/text-rotate.c | 39 +++++++++++++++++++++++++++++++++++++-- 3 files changed, 46 insertions(+), 2 deletions(-) commit 985c919b9fca504125df024e511eacf42a001985 Author: Carl Worth Date: Tue Aug 23 09:10:45 2005 +0000 Add docs-publish target to build and push documentation, (since our nightly server-side cron job is not working right now). ChangeLog | 6 ++++++ Makefile.am | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit 0c2aa6e6abda77b67af91b32721b228097326d6d Author: Carl Worth Date: Tue Aug 23 08:21:46 2005 +0000 Move comment about missing cleanup of caches on XCloseDisplay from BUGS to a _cairo_xlib_close_display. Also covered in bug #4120. BUGS | 7 ------- ChangeLog | 7 +++++++ src/cairo-xlib-screen.c | 3 +++ 3 files changed, 10 insertions(+), 7 deletions(-) commit 60f9c8d9fd914004e183adaf2bbba76b08c4e950 Author: Carl Worth Date: Tue Aug 23 07:51:56 2005 +0000 Remove caps-sub-paths from the XFAIL list since it is fixed now. ChangeLog | 6 ++++++ test/Makefile.am | 1 - test/caps-sub-paths.c | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) commit 256456b708292b200e49107e360bfb45b7eb5bf0 Author: Carl Worth Date: Tue Aug 23 07:44:14 2005 +0000 Fix for bug #4205: Abstract the cap-addition code from the end of the stroke operation into a new _cairo_stroker_add_caps function. Call the new _cairo_stroker_add_caps at the beginning of every move_to so that we get caps on every subpath and not just the last one. ChangeLog | 13 ++++++++++++ src/cairo-path-stroke.c | 55 +++++++++++++++++++++++++++++++------------------ 2 files changed, 48 insertions(+), 20 deletions(-) commit 55a517991e0d2435a58cab7fd61e272048eddbe8 Author: Billy Biggs Date: Tue Aug 23 05:54:38 2005 +0000 Add libpixman.la to the libcairo_la_DEPENDENCIES line so that changes to pixman get picked up. ChangeLog | 5 +++++ src/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 099060f9254e972ae2d28f51815b75da01736a8f Author: Owen Taylor Date: Tue Aug 23 05:18:48 2005 +0000 Some fixes for warnings from sparse (Part of #4208, Kjartan Maraas) Use NULL, not 0. Fix C99'ism of mixed code and declarations. ChangeLog | 10 ++++++++++ src/cairo-matrix.c | 13 +++++++------ test/cairo-test.c | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) commit 704874c16538f0653f37be253f2fc3d89963667d Author: Carl Worth Date: Tue Aug 23 01:55:29 2005 +0000 caps only added to last subpath: COVERED by test/caps-sub-paths and bug #4205. BUGS | 4 ---- ChangeLog | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) commit eb206f0a12aac21807bfba5414ad0ed34a62fc37 Author: Carl Worth Date: Tue Aug 23 01:50:25 2005 +0000 Use the expect_failure variant of cairo_test so that make check prints the reason this test fails. ChangeLog | 5 +++++ test/caps-sub-paths.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 4b0ed008ba51a4e2e9f62c360f6ae8dcb708817c Author: Carl Worth Date: Tue Aug 23 01:02:16 2005 +0000 Add test to demonstrate bug #4205, missing caps on all but last sub-path in a complex path. ChangeLog | 9 +++++++ test/.cvsignore | 1 + test/Makefile.am | 4 +++ test/caps-sub-paths-ref.png | Bin 0 -> 164 bytes test/caps-sub-paths.c | 63 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 77 insertions(+) commit 65bfc03e7284301fc1cea4b88de72f7928f3857a Author: Carl Worth Date: Tue Aug 23 00:03:09 2005 +0000 Remove discussion of the BAD_NESTING restriction from the documentation of cairo_create. No such restriction exists anymore. ChangeLog | 6 ++++++ src/cairo.c | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) commit c0bbf9ac08020cafdb7de4dae5099e9cf196802c Author: Carl Worth Date: Tue Aug 23 00:00:42 2005 +0000 Fix for bug #4192: New function to handle both calling FT_Done_Face on unscaled->face and decrementing font_map->num_open_faces. Call new _font_map_release_face_lock_held as approporiate. Assert that (font_map->num_open_faces == 0) when we're done, to help guarantee the bug is fixed. Don't call FT_Done_Face anymore, instead assert that (unscaled->face == NULL) by the time this function is called. Prefer TRUE/FALSE as values for cairo_bool_t have_scale. ChangeLog | 26 ++++++++++++++++++++++++++ src/cairo-ft-font.c | 50 ++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 62 insertions(+), 14 deletions(-) commit dc907490e35c26ebb7d1fd106963f754d389ad82 Author: Billy Biggs Date: Mon Aug 22 22:23:54 2005 +0000 Add version.xml to content_files so it will be copied to the right place for DESTDIR builds. ChangeLog | 5 +++++ doc/public/Makefile.am | 1 + 2 files changed, 6 insertions(+) commit a68097a219543160ea6ff12628626dcdb070f97e Author: Billy Biggs Date: Mon Aug 22 22:11:44 2005 +0000 Rework the index for the reference manual. Update descriptions and add new files for added sections. ChangeLog | 33 ++ doc/public/cairo-docs.xml | 50 +- doc/public/cairo-sections.txt | 262 ++++++---- doc/public/tmpl/cairo-font-options.sgml | 194 ++++++++ doc/public/tmpl/cairo-font.sgml | 268 +--------- doc/public/tmpl/cairo-ft.sgml | 18 +- doc/public/tmpl/cairo-glitz.sgml | 4 +- doc/public/tmpl/cairo-image.sgml | 73 +++ doc/public/tmpl/cairo-matrix.sgml | 5 +- doc/public/tmpl/cairo-paths.sgml | 207 ++++++++ doc/public/tmpl/cairo-pattern.sgml | 92 ++-- doc/public/tmpl/cairo-pdf.sgml | 4 +- doc/public/tmpl/cairo-png.sgml | 26 +- doc/public/tmpl/cairo-ps.sgml | 4 +- doc/public/tmpl/cairo-quartz.sgml | 4 +- doc/public/tmpl/cairo-scaled-font.sgml | 110 +++++ doc/public/tmpl/cairo-status.sgml | 63 +++ doc/public/tmpl/cairo-surface.sgml | 53 +- doc/public/tmpl/cairo-text.sgml | 189 ++++++++ doc/public/tmpl/cairo-transforms.sgml | 127 +++++ doc/public/tmpl/cairo-types.sgml | 42 ++ doc/public/tmpl/cairo-version.sgml | 54 +++ doc/public/tmpl/cairo-win32-fonts.sgml | 57 +++ doc/public/tmpl/cairo-win32.sgml | 40 +- doc/public/tmpl/cairo-xcb-xrender.sgml | 4 +- doc/public/tmpl/cairo-xcb.sgml | 4 +- doc/public/tmpl/cairo-xlib.sgml | 4 +- doc/public/tmpl/cairo.sgml | 833 ++++---------------------------- 28 files changed, 1588 insertions(+), 1236 deletions(-) commit 2d9d744f8c8a9fdf011a292ef6e823605d000f23 Author: Owen Taylor Date: Mon Aug 22 20:43:23 2005 +0000 Make cairo_ft_unscaled_font_backend static. Add missing static. Use NULL, not 0. Use void in the definition of void functions, not (). Make non-exported cairo_pattern_nil_* static. ChangeLog | 17 +++++++++++++++++ src/cairo-font.c | 6 +++--- src/cairo-ft-font.c | 4 ++-- src/cairo-gstate.c | 2 +- src/cairo-pattern.c | 8 ++++---- src/cairo-ps-surface.c | 2 +- src/cairo-xlib-surface.c | 2 +- 7 files changed, 29 insertions(+), 12 deletions(-) commit c792e6783c8424805b83c50a8c3fd9afa3ab8ed9 Author: Carl Worth Date: Mon Aug 22 17:20:29 2005 +0000 ref_counts will go negative: COVERED by https://bugs.freedesktop.org/show_bug.cgi?id=4198 BUGS | 6 ------ ChangeLog | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) commit 0fb5b1d4c44be43c9463fe8818aea1aed88facc5 Author: Carl Worth Date: Mon Aug 22 16:56:43 2005 +0000 Remove several entries in an effort to obsolete the BUGS file in favor of bugzilla and cairo/test. Specifically: cairo_image_surface_create should clear image: NOTABUG. The user can clear if desired, and cairo clearing unconditionally would be performance overhead). cairo_clip is really slow: FIXED/COVERED. Since the time this entry was added we've got rectangular, pixel-alignend clipping optimized. And there's a bug in bugzilla (https://bugs.freedesktop.org/show_bug.cgi?id=4191) for optimizing IN. self-intersecting path is wrong: COVERED by test/self-intersecting.c. Cairo is crashing Xnest: NEEDINFO. Is this still happening? Xfake has been working quite well for a very long time now. font-size=0 in SVG does bad things: FIXED. BUGS | 37 ------------------------------------- ChangeLog | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 37 deletions(-) commit 23baafbaa8d3295f109030637b5e73102e48ea8a Author: Bertram Felgenhauer Date: Mon Aug 22 16:52:40 2005 +0000 remove. ChangeLog | 5 +++++ src/cairo-matrix.c | 31 ------------------------------- src/cairoint.h | 4 ---- 3 files changed, 5 insertions(+), 35 deletions(-) commit 988310429036dd94ee0bb75b4c6a2fb7c930d448 Author: Bertram Felgenhauer Date: Mon Aug 22 16:50:30 2005 +0000 correct the calculation of the error bound. ChangeLog | 5 +++++ src/cairo-arc.c | 20 ++++++-------------- 2 files changed, 11 insertions(+), 14 deletions(-) commit c0905759b059cf679674019c5c4dd09971bedab9 Author: Bertram Felgenhauer Date: Mon Aug 22 16:48:28 2005 +0000 use new function. strip comment of derivation for major axis length. use _cairo_matrix_get_affine to retrieve matrix entries. new function split out of cairo-pen.c. UTF8-ify the comment that explains the calculation. ChangeLog | 12 +++++ src/cairo-matrix.c | 145 +++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-pen.c | 154 ++++------------------------------------------------- src/cairoint.h | 3 ++ 4 files changed, 170 insertions(+), 144 deletions(-) commit c7a35fbd3121f728ff40706cdf2a1ef8ac8e18a6 Author: Bertram Felgenhauer Date: Mon Aug 22 16:29:56 2005 +0000 use correctly transposed version of the matrix and fix up the comments above to use row vector notation. ChangeLog | 6 ++++++ src/cairo-pen.c | 26 ++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) commit 46dd21e795549481d9db8d90c399e683ef1205c7 Author: Tor Lillqvist Date: Mon Aug 22 15:49:04 2005 +0000 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. ChangeLog | 14 ++++++++++++++ Makefile.am | 16 ++++++++++++++++ configure.in | 4 ++++ src/Makefile.am | 36 +++++++++++++++++++++++++++++++++++- 4 files changed, 69 insertions(+), 1 deletion(-) commit aa6b2c386be0e7a09f53da3fa08c061f01151e55 Author: Owen Taylor Date: Mon Aug 22 15:19:03 2005 +0000 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. ChangeLog | 11 +++++++++++ configure.in | 1 + src/cairo-ft-font.c | 36 +++++++++++++++++++++++++++++++++++- 3 files changed, 47 insertions(+), 1 deletion(-) commit 190dc79a2831ca86523f2e710e6b4152d0947694 Author: Carl Worth Date: Mon Aug 22 13:59:52 2005 +0000 Fix typo that was causing make dist to fail. ChangeLog | 5 +++++ test/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 2ea856a21d2d392c0959e726c430e7fed87be97c Author: Owen Taylor Date: Mon Aug 22 12:15:28 2005 +0000 When width/height are 0, copy the src to the dest, don't just return. (#3017) pixman/ChangeLog | 5 +++++ pixman/src/pixregion.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 31e4ade4abf716718c2f38e594f02b5b488e0d86 Author: Owen Taylor Date: Mon Aug 22 08:45:46 2005 +0000 Use floor(0.5+x) rather than round(), which is C99. (David Hollenberg) ChangeLog | 5 +++++ test/text-rotate.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit b217f95fa0b8b818cbed8630c16fe8725f430c49 Author: Owen Taylor Date: Mon Aug 22 08:33:54 2005 +0000 Set LC_ALL=C rather than LANG and LC_NUMERIC to be robust against whatever settings the user has. (Martin Dobias) ChangeLog | 5 +++++ autogen.sh | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit fdb5e2aa473a83cda9a3ecfab2fa47cdf40ffe65 Author: Billy Biggs Date: Sun Aug 21 21:04:52 2005 +0000 Optimize away calls to cairo_paint_with_alpha() if the alpha value given is <= 0. Add a new macro CAIRO_ALPHA_IS_ZERO. ChangeLog | 7 +++++++ src/cairo.c | 4 ++++ src/cairoint.h | 1 + 3 files changed, 12 insertions(+) commit 89a4e13d73e3761e8b8b5d5fa0882d4ecb6423b1 Author: Billy Biggs Date: Sun Aug 21 21:02:32 2005 +0000 Fix a typo in the last change. pixman/ChangeLog | 4 ++++ pixman/src/pixman-remap.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 16ce285251afa9c6e125a51df0d8a487c0bf5bbd Author: Billy Biggs Date: Sun Aug 21 20:49:47 2005 +0000 Remove warning about fbCompositeTrans_0888xnx0888 not being tested on big-endian, it's not helpful at this point. Only define _cairo_pixman_have_mmx for fbHaveMMX when the symbol will actually exist. pixman/ChangeLog | 8 ++++++++ pixman/src/fbpict.c | 23 +++++++++++------------ pixman/src/pixman-remap.h | 2 ++ 3 files changed, 21 insertions(+), 12 deletions(-) commit 33599bc6b64ed987c1894e88bc680028f28453a7 Author: Billy Biggs Date: Sun Aug 21 14:10:39 2005 +0000 Fix for bug #4172: Use _cairo_fixed_to_double and _cairo_double_to_fixed when converting between double and 16.16 fixed point. These functions round nicely, and solve some inconsistencies in rendering between my PPC and x86 machines. Thanks to Owen Taylor for suggesting the fix. The above change does affect linear gradients slightly, but it seems worth it. Update the reference images to follow. ChangeLog | 17 +++++++++++++++++ src/cairo-pattern.c | 8 ++++---- test/gradient-alpha-ref.png | Bin 153 -> 154 bytes test/linear-gradient-ref.png | Bin 12744 -> 12719 bytes test/text-pattern-ref.png | Bin 2728 -> 2731 bytes 5 files changed, 21 insertions(+), 4 deletions(-) commit e3e7046cd7ee629fe085cf081fd3aa2581782bf5 Author: Owen Taylor Date: Sun Aug 21 12:13:17 2005 +0000 Remove stray doc sentence that wasn't meant to be committed. ChangeLog | 5 +++++ src/cairo-surface.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) commit 17845df95b80d2a9586ba44fc5ade2c311a62c4c Author: Billy Biggs Date: Sun Aug 21 11:41:44 2005 +0000 Fix for bug #4165: Use pointer comparison for coincident points to ensure a well-defined ordering, and avoid setting discard on both points. This fixes problems with my Mac's implementation of qsort. Final patch by Bertram Felgenhauer. Update reference images after the change. ChangeLog | 18 ++++++++++++++++++ src/cairo-hull.c | 7 ++++++- test/clip-operator-ref.png | Bin 37330 -> 37330 bytes test/linear-gradient-ref.png | Bin 12724 -> 12744 bytes test/operator-clear-ref.png | Bin 4992 -> 4988 bytes test/operator-source-ref.png | Bin 19957 -> 19958 bytes test/unantialiased-shapes-ref.png | Bin 4450 -> 4449 bytes test/unbounded-operator-ref.png | Bin 11937 -> 11929 bytes 8 files changed, 24 insertions(+), 1 deletion(-) commit d93d56caeffb80ac92a0432ad1ebdecee5c0e2b6 Author: Owen Taylor Date: Sun Aug 21 11:23:58 2005 +0000 Check automake- if automake isn't sufficiently new. (#3593, Philip Van Hoof) ChangeLog | 5 +++++ autogen.sh | 29 +++++++++++++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) commit 2396b502a5de39ee44d53af971b7382a1f130a87 Author: Owen Taylor Date: Sun Aug 21 09:57:19 2005 +0000 When invoked as, say, ../autogen.sh, switch to the sourcedir to run the auto*. Based on corresponding code in GTK+'s autogen.sh. (#3402, Thomas Fitzsimmons) Update from gtk-doc CVS, bringing in some minor output changes. (Eliminate the *** from the messages that don't indicate errors.) Use += for EXTRA_DIST, since gtk-doc.make already defines it. ChangeLog | 13 +++++++++++++ autogen.sh | 13 ++++++++++++- doc/public/Makefile.am | 5 +++-- gtk-doc.make | 12 ++++++------ 4 files changed, 34 insertions(+), 9 deletions(-) commit 5462c8a5856f1b3b81889ac3a714e47b047e1984 Author: Owen Taylor Date: Sun Aug 21 09:27:52 2005 +0000 Check for FT_Load_Sfnt_Table and disable the PDF/PS backends if not found. (#4144, Billy Biggs) ChangeLog | 5 +++++ configure.in | 13 +++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) commit 1ce62becd11bbc929b75ea6d47fad477ad965962 Author: Owen Taylor Date: Sun Aug 21 08:53:56 2005 +0000 Fix the handling of backend->clone_similar == NULL. (#4161, Christian Biesinger) ChangeLog | 6 ++++++ src/cairo-surface.c | 11 ++++++----- src/cairoint.h | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) commit 8e9e40d75201ea4d21b53ab51d1326f6f858c57c Author: Owen Taylor Date: Sun Aug 21 08:24:41 2005 +0000 Improve the documentation of internal functions. (Based on a patch from Christian Biesinger, #4162) ChangeLog | 5 +++++ src/cairo-surface.c | 24 ++++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) commit 65f90287bb922357e77b759b5e0db5d2c3698fc4 Author: Owen Taylor Date: Sun Aug 21 08:11:24 2005 +0000 Recognize gentoo's (and maybe other distro's) modified server vendor string, where extra text is added to the upstream value. (#4068, reported by Doug Goldstein, others. Patch from Mart Raudsepp) ChangeLog | 8 ++++++++ src/cairo-xlib-surface.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit af614d2de601c997f3a2cbae535fb0e96110a386 Author: Owen Taylor Date: Sun Aug 21 08:06:06 2005 +0000 Don't try to transform val->image when it is NULL. (#4163, Mathias Hasselmann) ChangeLog | 6 ++++++ src/cairo-ft-font.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) commit f823dfd9328f1aab0155257fcf9bb3aa45455867 Author: Billy Biggs Date: Sat Aug 20 21:28:57 2005 +0000 Fix for bug #4140: Dereference the pixel value correctly on big endian systems. pixman/ChangeLog | 7 +++++++ pixman/src/icrect.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) commit d1bdd1313ee351e2ec7e4af1cf68143827f59694 Author: Carl Worth Date: Sat Aug 20 07:56:05 2005 +0000 Fix for bug #4142: Disable xlib tests on X servers without the Render, since they currently just crash there. A better long-term fix would be to do some useful tests in this case. Thanks to Tim Mooney. ChangeLog | 9 +++++++++ test/cairo-test.c | 12 ++++++++++++ 2 files changed, 21 insertions(+) commit 4a7a09b4ab4e8608d2f23661ddaf301f4508d42a Author: Owen Taylor Date: Sat Aug 20 05:23:52 2005 +0000 Include Xfree86-4.5 in the blacklist. (Reported by Andrew Benton) ChangeLog | 6 ++++++ src/cairo-xlib-surface.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit b9da101879afc6ab960e43f94d1e0a2fc10b3aac Author: Billy Biggs Date: Fri Aug 19 23:05:13 2005 +0000 Fix for bug #4096: Improve the performance of png reading by adding special cases for fully transparent and fully opaque alpha, and using the standard optimization for 8-bit division by 255. Add an INLINE macro for gcc. ChangeLog | 11 +++++++++++ src/cairo-png.c | 28 +++++++++++++++++++++------- src/cairoint.h | 6 ++++++ 3 files changed, 38 insertions(+), 7 deletions(-) commit 465ff187869b118f30666de83e5327ea4d174df7 Author: Carl Worth Date: Fri Aug 19 16:37:56 2005 +0000 From Bertram Felgenhauer : Add regression test for bug #4137 (fixed earlier). ChangeLog | 10 +++++ test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/rectangle-rounding-error-ref.png | Bin 0 -> 298 bytes test/rectangle-rounding-error.c | 69 ++++++++++++++++++++++++++++++++++ 5 files changed, 83 insertions(+) commit 33b45c157273fbe8f8a24e5c0a333639b1a51f4a Author: Billy Biggs Date: Fri Aug 19 14:42:57 2005 +0000 No need to include cairo-pdf.h. ChangeLog | 4 ++++ test/pixman-rotate.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) commit 3ec312f7289192cca3ce71d8bafee27f49cf2aa2 Author: Carl Worth Date: Fri Aug 19 14:37:42 2005 +0000 Fix for bug #4137: Fix to round properly. ChangeLog | 7 +++++++ src/cairo-fixed.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 1f68f77a10e0d93e2a73000faa1bb0097c8b056a Author: Owen Taylor Date: Fri Aug 19 14:05:14 2005 +0000 Ignore really small fonts, since size zero fonts give xpdf fits. (#2938) ChangeLog | 6 ++++++ src/cairo-pdf-surface.c | 8 ++++++++ 2 files changed, 14 insertions(+) commit 9d0211b2632e3a0c83331a037efd7670c91b79cd Author: Carl Worth Date: Fri Aug 19 13:00:23 2005 +0000 Fix to actually test scaled_font->status instead of just having a comment that claims to test it. Thanks to Behdad Esfahbod . ChangeLog | 7 +++++++ src/cairo-font.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 8eb912577b51c9feb7c078620b42f8fa858e02b0 Author: Owen Taylor Date: Fri Aug 19 12:55:00 2005 +0000 We need the call to fixup_unbounded when we optimize the RENDER operator to XCopyArea as well. ChangeLog | 6 ++++++ src/cairo-xlib-surface.c | 23 ++++++++++++----------- 2 files changed, 18 insertions(+), 11 deletions(-) commit 7468ed35a1c2607bd305caa93c5f9bf9c9e0be18 Author: Carl Worth Date: Fri Aug 19 12:08:42 2005 +0000 Fixes for a general problem of which bug #4094 was a specific instance: Don't change the status value if it already holds an error. This avoids destroying "first error" information and also avoids attempting to write read-only data, (eg. from nil objects). Don't set an error on the same object if it is in an error state to begin with, just return immediately. This is intended to reduce (eventual) error prints to the first cause of an error for any given object, instead of a continual spew. ChangeLog | 51 ++++++++++ src/cairo-font.c | 11 +- src/cairo-pattern.c | 10 +- src/cairo-surface.c | 18 ++-- src/cairo-win32-font.c | 4 +- src/cairo.c | 267 +++++++++++++------------------------------------ 6 files changed, 142 insertions(+), 219 deletions(-) commit 2b72a4eee80e73f0553779a281e6ef5f0587519e Author: Carl Worth Date: Fri Aug 19 12:02:14 2005 +0000 Fix for bug #2729: 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). Add documentation. Add new CAIRO_STATUS_INVALID_DASH. Add dash-offfset-negative test from Owen. churn ChangeLog | 20 ++++++++ doc/public/tmpl/cairo.sgml | 5 +- src/cairo-gstate.c | 45 +++++++++++++---- src/cairo.c | 35 ++++++++++++-- src/cairo.h | 9 +++- test/.cvsignore | 1 + test/Makefile.am | 4 ++ test/dash-offset-negative-ref.png | Bin 0 -> 155 bytes test/dash-offset-negative.c | 99 ++++++++++++++++++++++++++++++++++++++ 9 files changed, 203 insertions(+), 15 deletions(-) commit a2e798b5a126a0aaf7043b817120986889538acf Author: Kristian Høgsberg Date: Fri Aug 19 10:36:43 2005 +0000 Add this missing fuction. Document this funtion. ChangeLog | 8 ++++++++ src/cairo-pdf-surface.c | 10 ++++++++++ src/cairo-ps-surface.c | 21 +++++++++++++++++++++ 3 files changed, 39 insertions(+) commit b626dff5b9783ba8916365478c583551d7d97a23 Author: Carl Worth Date: Fri Aug 19 07:39:47 2005 +0000 Fix for bug #3915: Add new NULL_POINTER nil pattern. Check for surface == NULL and return a nil pattern. Verify that the above fix works. ChangeLog | 12 ++++++++++++ src/cairo-pattern.c | 14 ++++++++++++++ test/nil-surface.c | 40 ++++++++++++++++++++++++++++++++++++++-- 3 files changed, 64 insertions(+), 2 deletions(-) commit 435fb3c65f3edd7687a332f274545abf7e601965 Author: Carl Worth Date: Thu Aug 18 23:10:37 2005 +0000 Fix for bug #4088: New function to return the current nil pattern depending on the status. Add missing early bailout on surface->status with error propagation to the pattern. Related cleanups for cairo_pattern_t: Don't check other->status since this is a static function. Add missing early bailout on other->status. Cleanup identifier names. Track rename of nil patterns. Don't call _cairo_error for pre-existing errors. Take care to initialize some fields to that _cairo_pattern_release_surface will work even after an error. Track rename of cairo_solid_pattern_nil to cairo_pattern_nil. New test to ensure that a file-not-found error will propagate from a surface, through a pattern, and onto a cairo_t. ChangeLog | 48 ++++++++++++++++++++ src/cairo-pattern.c | 113 ++++++++++++++++++++++++----------------------- src/cairo.c | 2 +- src/cairoint.h | 2 +- test/.cvsignore | 1 + test/Makefile.am | 2 + test/nil-surface-ref.png | Bin 0 -> 107 bytes test/nil-surface.c | 73 ++++++++++++++++++++++++++++++ 8 files changed, 184 insertions(+), 57 deletions(-) commit 0e56f2ea0acb1f5359294b5da5f60b05673d75e3 Author: Carl Worth Date: Thu Aug 18 22:43:39 2005 +0000 Suppress a pthread initialization error now that tests are linked with -lpthread. ChangeLog | 5 +++++ test/.valgrind-suppressions | 11 +++++++++++ 2 files changed, 16 insertions(+) commit 45cea5efc8b16a9645e72b722353cc27a009af13 Author: Carl Worth Date: Thu Aug 18 22:31:04 2005 +0000 Fix documentation comment to use & in place of &. ChangeLog | 5 +++++ src/cairo-pattern.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit d809e829806c68b87939e6598986d45cbd3862b9 Author: Billy Biggs Date: Thu Aug 18 19:13:06 2005 +0000 Special case alpha values of 0 and 0xff. (fbCompositeSrc_8888x8888mmx): Add an MMX implementation for a common operation when using pixman. Prototype for the new function. Call the new function where appropriate. pixman/ChangeLog | 12 ++++++++ pixman/src/fbmmx.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++------ pixman/src/fbmmx.h | 12 ++++++++ pixman/src/fbpict.c | 16 +++++++++-- 4 files changed, 108 insertions(+), 12 deletions(-) commit f5afeec18a95b75102087abbf7497a45ff6d80c6 Author: Billy Biggs Date: Thu Aug 18 18:46:30 2005 +0000 Special case projective transforms so we can avoid doing the expensive 64-bit math. Unroll the bilinear interpolation loops for an extra boost. pixman/ChangeLog | 6 ++ pixman/src/fbcompose.c | 235 +++++++++++++++++++++++++++++++++---------------- 2 files changed, 163 insertions(+), 78 deletions(-) commit 5932a501ca5d8b3e4e60c77dac9a8af2c7943dd7 Author: Owen Taylor Date: Thu Aug 18 17:22:23 2005 +0000 Fix tests to just disable FreeType if a too-old FreeType is found, rather than erroring out. (#2298) Reviewed by: krh ChangeLog | 7 +++++++ configure.in | 38 ++++++++++++++++++++++---------------- 2 files changed, 29 insertions(+), 16 deletions(-) commit c1b5a19624a850885996a6e0778098e77c0fd683 Author: Owen Taylor Date: Thu Aug 18 17:19:54 2005 +0000 Fix offset passed in for source patterns. (#2333, Tim Rowley) Fix font to Vera Sans rather than "Sans" ChangeLog | 7 +++++++ src/cairo-xlib-surface.c | 18 +++++++++--------- test/.cvsignore | 1 + test/text-pattern-ref.png | Bin 2869 -> 2728 bytes test/text-pattern.c | 9 ++++++--- 5 files changed, 23 insertions(+), 12 deletions(-) commit 8f93bcfa47fbdfd20949d09ed677eb5e4d90b12b Author: Carl Worth Date: Thu Aug 18 17:11:42 2005 +0000 Update the roadmap. Remove difficulty rating from completed tasks. Note that PostScript/PDF is (grudgingly) done as far as 1.0 is concerned, but there is more work to completing this that is slipped beyond 1.0. Note that the deadlock bug is fixed as of 0.9.2. Update who is working on what for performance. Add some new detail for post-1.0 PostScript/PDF work. Slip the overlapping source/dest Render workaround past 1.0. ChangeLog | 10 +++++++++ ROADMAP | 73 ++++++++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 61 insertions(+), 22 deletions(-) commit 16f66dc31499afbf64e319562f01aac96edae52e Author: Owen Taylor Date: Thu Aug 18 16:22:23 2005 +0000 Add a test for bug #2333 (Tim Rowley) ChangeLog | 4 +++ test/Makefile.am | 3 ++ test/text-pattern-ref.png | Bin 0 -> 2869 bytes test/text-pattern.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) commit 31341327bfa171845ec3e921151cee6f861c2da8 Author: Owen Taylor Date: Thu Aug 18 15:50:36 2005 +0000 Implement new equations for CLEAR and SOURCE CLEAR: (mask IN clip) ? 0 : dest SOURCE: (mask IN clip) ? src : dest That behave more like what people expect. CLEAR and SOURCE are now bounded. Assert that SOURCE and CLEAR aren't passed to these functions. Assert that SOURCE and CLEAR aren't passed to these functions when there is a mask. Do fixups for SOURCE and CLEAR as well as unbounded operators, since in the absence of a mask, we need SOURCE to work correctly (don't care about CLEAR) _cairo_ft_font_show_glyphs) Consistently use CLEAR/TRANSPARENT (source doesn't matter) rather than SOURCE/TRANSPARENT when clearing rectangles. src/cairo-xlib-surface.c src/cairo-surface.c: Use IN rather than SOURCE as an example of an unbounded operator in docs. Remove CLEAR/SOURCE columns since they are no longer unbounded. test/operator-clear.c test/operator-source Makefile.am: Add targetted tests of CLEAR/SOURCE. ChangeLog | 38 ++++++ src/cairo-font.c | 5 + src/cairo-ft-font.c | 4 +- src/cairo-gstate.c | 219 +++++++++++++++++++++++++--------- src/cairo-image-surface.c | 4 +- src/cairo-surface.c | 14 ++- src/cairo-xlib-surface.c | 6 +- test/.cvsignore | 2 + test/Makefile.am | 6 + test/clip-operator-ref.png | Bin 38336 -> 37330 bytes test/operator-clear-ref.png | Bin 0 -> 4992 bytes test/operator-clear.c | 214 +++++++++++++++++++++++++++++++++ test/operator-source-ref.png | Bin 0 -> 19957 bytes test/operator-source.c | 253 ++++++++++++++++++++++++++++++++++++++++ test/unbounded-operator-ref.png | Bin 14178 -> 11937 bytes test/unbounded-operator.c | 4 +- 16 files changed, 706 insertions(+), 63 deletions(-) commit ff9654e677a916da7a3fcc97ac0547f128e71436 Author: Carl Worth Date: Thu Aug 18 14:34:10 2005 +0000 Fix to not leak surface->cgImage on out-of-memory (thanks to Josh Aas ). ChangeLog | 7 +++++++ src/cairo-quartz-surface.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit a82cf0eb7bdfb7f500c1652f6b9635a94e830289 Author: Carl Worth Date: Thu Aug 18 09:46:20 2005 +0000 Fix to not right-shift a negative number when called with an argument of 0. ChangeLog | 5 +++++ src/cairo-fixed.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 7a9d2070402d75356ffee258517c5434dc232000 Author: Carl Worth Date: Thu Aug 18 09:19:21 2005 +0000 Disable not-yet-implemented quartz stuff. ChangeLog | 5 +++++ test/cairo-test.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 93e521ce1976cef6978fcbccf78b3ed98a544d51 Author: Billy Biggs Date: Thu Aug 18 08:28:08 2005 +0000 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. ChangeLog | 15 +++++++++++++++ configure.in | 1 + doc/public/.cvsignore | 4 +--- doc/public/Makefile.am | 3 +++ doc/public/cairo-docs.xml | 8 +++++++- doc/public/version.xml.in | 1 + 6 files changed, 28 insertions(+), 4 deletions(-) commit 3422d8760f54e403bda12aa58dc5256bb132ebf3 Author: Carl Worth Date: Thu Aug 18 08:22:29 2005 +0000 Clear setgid bit on regular files prior to tarring up a release. ChangeLog | 5 +++++ Makefile.am | 19 +++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) commit 24ba58e7f56a45f09501c9f58d177633dfda1ecd Author: Billy Biggs Date: Thu Aug 18 06:01:40 2005 +0000 For the source operator, the output should be cleared if the mask is zero. This fixes the MMX code to match the fbcompose code. Fix a logic mistake that caused the MMX functions not to be used in many cases. pixman/ChangeLog | 9 +++++++++ pixman/src/fbmmx.c | 12 ++++++++++++ pixman/src/fbpict.c | 7 +++---- 3 files changed, 24 insertions(+), 4 deletions(-) commit 260e8abfe0903b3b2955e2397e974308a1ca40bd Author: Kristian Høgsberg Date: Wed Aug 17 21:19:30 2005 +0000 Fix typo in freetype configure check. ChangeLog | 4 ++++ configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 4ebe0b63cc5487661c8016ef9f80aa7890772517 Author: Billy Biggs Date: Wed Aug 17 21:14:02 2005 +0000 Only mangle exported symbols. This is sufficient and makes debugging a lot easier. pixman/ChangeLog | 5 + pixman/src/pixman-remap.h | 274 +++------------------------------------------- 2 files changed, 19 insertions(+), 260 deletions(-) commit 75b0541bdfb77ef456e09b1b92ccb0d2e9245ae3 Author: Kristian Høgsberg Date: Wed Aug 17 15:57:45 2005 +0000 Try to use pkg-config to detect freetype2, then fall back to the existing freetype-config based check. ChangeLog | 5 +++++ cairo.pc.in | 4 ++-- configure.in | 56 +++++++++++++++++++++++++++++++++++++------------------- 3 files changed, 44 insertions(+), 21 deletions(-) commit 639680e5fe2592c76d19e8102919ef3062371883 Author: Carl Worth Date: Wed Aug 17 09:51:09 2005 +0000 Fixes for bug #4110: Don't call _cairo_ft_unscaled_font_init_key in the from_face case, just clear filename and id instead. Initialize unscaled->base first so that initialization order matches the structure declaration order. Fix to accept a NULL string and hash it identically to a zero-length string. Add a test that calls cairo_ft_font_create_for_ft_face to demonstrate bug #4110. ChangeLog | 18 ++++++- src/cairo-cache.c | 2 +- src/cairo-ft-font.c | 28 +++++------ test/.cvsignore | 1 + test/Makefile.am | 5 ++ test/ft-font-create-for-ft-face.c | 102 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 140 insertions(+), 16 deletions(-) commit f5f21a768d71f2a6897b5290f74fd41116c43966 Author: Billy Biggs Date: Tue Aug 16 21:04:02 2005 +0000 Fix the filter-nearest-offset test to actually test CAIRO_FILTER_NEAREST. ChangeLog | 5 +++++ test/filter-nearest-offset.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit c892ee36d94532a395dc11d4d954611ce4f353c7 Author: Billy Biggs Date: Tue Aug 16 19:54:05 2005 +0000 Fix a typo in the last commit. pixman/ChangeLog | 4 ++++ pixman/src/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 0398085a6fb2e7bddba6529e7a205781347759d1 Author: Billy Biggs Date: Tue Aug 16 18:38:38 2005 +0000 Split the MMX code into a separate libtool library to avoid applying the MMX CFLAGS to all of the pixman code. Idea and code from Owen Taylor. Update the mangling header file to include the MMX symbols. pixman/ChangeLog | 9 +++++++++ pixman/src/Makefile.am | 7 +++++-- pixman/src/pixman-remap.h | 21 +++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) commit 18f3357c99fdecb3eede41f24fbd086ab4700677 Author: Owen Taylor Date: Tue Aug 16 18:22:16 2005 +0000 src/cairoint.h: Split out a couple of useful utility functions. src/cairo-clip.c src/cairo-gstate.c: Use them. Move code to fill a pixman_region16_t to here. Document. Use _cairo_surface_fill_region(). Add a return status, use regions to simplify. src/cairoint.h Handle the return value from _cairo_surface_composite_fixup_unbounded(). src/cairo-surface.c src/cairoint.h (_cairo_surface_composite_shape_fixup_unbounded): Add a variant of _cairo_surface_composite_fixup_unbounded() to avoid creating a dummy cairo_surface_attributes_t. Use _cairo_surface_composite_shape_fixup_unbounded(). Call _cairo_surface_composite_shape_fixup_unbounded(), since the source might still be restricted, even though the mask is unbounded. Restore the rectangle optizations when drawing with unbounded operators by adding a clear for the extra area after drawing the rectangles. ChangeLog | 44 +++++++ src/Makefile.am | 1 + src/cairo-clip.c | 47 ++----- src/cairo-gstate.c | 144 ++++++++++----------- src/cairo-image-surface.c | 90 +++++++------ src/cairo-region.c | 83 ++++++++++++ src/cairo-surface.c | 322 ++++++++++++++++++++++++++++++++-------------- src/cairo-xlib-surface.c | 84 ++++++------ src/cairoint.h | 50 +++++-- 9 files changed, 565 insertions(+), 300 deletions(-) commit ae15c7d32166b6408ee7e1dc8a817a4c510ae3c3 Author: Billy Biggs Date: Tue Aug 16 16:52:35 2005 +0000 Add a check for the MMX intrinsics used by pixman. gcc >= 3.4 is required. ChangeLog | 5 +++++ configure.in | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) commit 9ae7d8a13b065fc44966eceb28976aa2b009e46b Author: Billy Biggs Date: Tue Aug 16 16:50:25 2005 +0000 Port MMX code from xserver to pixman. Add an fbpict.c ported from the latest in xserver/fb, including hooks to the MMX code where appropriate. This replaces the old ic.c file. Replaced by fbpict.c. Move some X server macros from fbpict.c up into icint.h to keep the diff small. Add fbmmx and fbpict.c, remove ic.c. Add a check for the MMX intrinsics. gcc >= 3.4 is required. pixman/ChangeLog | 53 + pixman/configure.in | 32 + pixman/src/Makefile.am | 10 +- pixman/src/fbmmx.c | 2503 +++++++++++++++++++++++++++++++++++++++++ pixman/src/fbmmx.h | 228 ++++ pixman/src/{ic.c => fbpict.c} | 647 +++++++---- pixman/src/icint.h | 30 + 7 files changed, 3286 insertions(+), 217 deletions(-) commit a2a89e858af70262de276c8568baabf91e00dbb2 Author: Carl Worth Date: Tue Aug 16 16:41:10 2005 +0000 Rename cairo_printf_format to CAIRO_PRINTF_FORMAT. Fix syntax error in the case of an empty definition. (Thanks to Vladimir Vukicevic). ChangeLog | 6 ++++++ src/cairoint.h | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit b7737163bc8c8d60967e025b71d30f9827d45801 Author: Kristian Høgsberg Date: Sun Aug 14 19:25:05 2005 +0000 Zero out 'entry', not 'unscaled' when evicting face from cache. ChangeLog | 5 +++++ src/cairo-ft-font.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 52c5d89ae58e50a788f6d1ab79e9159c944c426e Author: Kristian Høgsberg Date: Sat Aug 13 17:38:23 2005 +0000 Fix a mismatch between printf arguments and format string (thanks to Adrian Johnson). Add macro to mark printf like functions. ChangeLog | 9 +++++++++ src/cairo-ps-surface.c | 4 ++-- src/cairoint.h | 10 +++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) commit 28958e368cfe50198188407da10c66510d9c9515 Author: Owen Taylor Date: Sat Aug 13 08:12:17 2005 +0000 Change docREEL back to doc. (Found by Kjartan Maraas) ChangeLog | 5 +++++ Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 0a2a4045daf9cdd9952918499152f88c6387709a Author: Carl Worth Date: Sat Aug 13 05:46:40 2005 +0000 Fix typo ('internal' should have been 'external'). ChangeLog | 4 ++++ NEWS | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 2ebf274db4a21f11739ff6603a47fdf49571e3e9 Author: Carl Worth Date: Sat Aug 13 05:33:21 2005 +0000 Increment CAIRO_VERSION to 0.9.3 after tagging RELEASE_0_9_2. Slight rewording of announcement email. ChangeLog | 8 ++++++++ Makefile.am | 8 ++++++-- configure.in | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) commit b3a4f29f830dbcb57ef3d1e4c3c140126752043b Author: Carl Worth Date: Sat Aug 13 05:00:20 2005 +0000 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. ChangeLog | 20 +++++++------- NEWS | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- RELEASING | 10 +++---- configure.in | 8 +++--- 4 files changed, 99 insertions(+), 27 deletions(-) commit 3f24b949a070aebaeaa465ccd09604bda0be717b Author: Carl Worth Date: Sat Aug 13 04:22:46 2005 +0000 Fix unterminated comment that eliminated cairo_pattern_add_color_stop_rgba. ChangeLog | 5 +++++ src/cairo-pattern.c | 1 + 2 files changed, 6 insertions(+) commit fd8a70f4b6b919682f2609e0dda08aa1564d8ccf Author: Carl Worth Date: Sat Aug 13 04:17:36 2005 +0000 Add missing notes on soname and user-space locking for cairo_set_source() to the 0.9.0 release notes. Document cairo_pattern_add_color_stop_rgb, cairo_pattern_add_color_stop_rgba, cairo_pattern_set_matrix, and cairo_pattern_get_matrix. Add note on user-space locking to the documentation for cairo_set_source(). ChangeLog | 18 ++++++++++ NEWS | 34 ++++++++++++++++++- src/cairo-pattern.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++--- src/cairo.c | 5 +++ 4 files changed, 148 insertions(+), 5 deletions(-) commit 620de68bea6fa4e287d565b293202114200deec4 Author: Carl Worth Date: Sat Aug 13 03:26:18 2005 +0000 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. ChangeLog | 16 ++++++++++++++++ configure.in | 7 ++----- src/cairoint.h | 41 +++++++++-------------------------------- test/Makefile.am | 4 ++++ 4 files changed, 31 insertions(+), 37 deletions(-) commit 615a32107d8174b71b0a7cbb504d79913a6e159d Author: Carl Worth Date: Sat Aug 13 02:21:07 2005 +0000 Minor, cosmetic changes: Reowrd comment to be more clear. Prefer return of address of base field rather than cast. Whitespace fix. ChangeLog | 13 +++++++++++++ src/cairo-ft-font.c | 7 ++++--- 2 files changed, 17 insertions(+), 3 deletions(-) commit a8b6ad3e88e5b13434ab4fbac1e86e6a9076e636 Author: Carl Worth Date: Sat Aug 13 02:02:39 2005 +0000 Shuffle functions around to put them in a sane order within the file. There should be no functional change here. ChangeLog | 11 ++ src/cairo-ft-font.c | 367 +++++++++++++++++++++++++--------------------------- 2 files changed, 187 insertions(+), 191 deletions(-) commit 47d5bbeafc3a763988b66d8dbffff5426655213d Author: Carl Worth Date: Sat Aug 13 01:38:55 2005 +0000 Add hash_entry field to cairo_scaled_font_t so that it can be hashed. Convert the font_face/matrix/ctm/options => cairo_scaled_font_t mapping from a two-layer cairo-cache.c implementation to a single cairo-hash.c implementation backed by a simple array for the secondary cache. Reviewed by: keithp ChangeLog | 22 +++ src/cairo-font.c | 592 ++++++++++++++++++++++++------------------------------- src/cairoint.h | 6 +- 3 files changed, 288 insertions(+), 332 deletions(-) commit be9698e6ada908a09a306dd0a2c7d824ffc824c8 Author: Behdad Esfahbod Date: Sat Aug 13 01:17:06 2005 +0000 Move checks for invalid number of points before the calls that use the points. ChangeLog | 6 ++++++ src/cairo-path-data.c | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) commit c5ac41755d1df2083b86dcf8b25f96c3aa7d22ed Author: Behdad Esfahbod Date: Sat Aug 13 01:04:55 2005 +0000 Fix conversion to short, to get a uniform range even for 0xffff. In other words, a color component of of (1.0 - epsilon) would convert to 0xffff, not 0xfffe. ChangeLog | 6 ++++++ src/cairo-color.c | 28 +++++++++------------------- 2 files changed, 15 insertions(+), 19 deletions(-) commit 20f92f48917393631c87d5f633a1055920b044a9 Author: Behdad Esfahbod Date: Sat Aug 13 00:20:45 2005 +0000 Generate sh1sum instead of md5sum. Use gpg to sign it. You need gpg set up. ChangeLog | 10 ++++++++-- Makefile.am | 40 +++++++++++++++++++++++++++------------- RELEASING | 10 ++++++---- 3 files changed, 41 insertions(+), 19 deletions(-) commit a201637c7224b921948b79e4244dcc4f99f76cdf Author: Carl Worth Date: Fri Aug 12 23:50:17 2005 +0000 Move tag from an instruction in RELEASING to an automated step at the end of release-publish. ChangeLog | 6 ++++++ Makefile.am | 2 ++ RELEASING | 9 +++------ 3 files changed, 11 insertions(+), 6 deletions(-) commit 21dff93be5fd8fff1e4de96afaf8ff12cb7a850a Author: Behdad Esfahbod Date: Fri Aug 12 21:35:31 2005 +0000 Check that the micro component of the version number is even. Fixed the pattern to find all public header files. ChangeLog | 9 ++++++++- Makefile.am | 16 ++++++++++++++-- RELEASING | 6 ++---- 3 files changed, 24 insertions(+), 7 deletions(-) commit 027157feb6a3761eca1edb4eb547ca07081c33e2 Author: Billy Biggs Date: Thu Aug 11 21:07:26 2005 +0000 Fix to be correct for arbitrary xDst values. pixman/ChangeLog | 5 +++++ pixman/src/icrect.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 63 insertions(+), 6 deletions(-) commit 56d299d277f5a31f72d4a203673fbb026b7bb33f Author: Carl Worth Date: Thu Aug 11 16:52:43 2005 +0000 Fix inverted sense of assert statement which led to lots of unpleasant crashes. ChangeLog | 5 +++++ doc/public/cairo-sections.txt | 5 +++++ src/cairo-font.c | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) commit ba9cb14cdf7d89132232aa3121f8e60d5982dc34 Author: Carl Worth Date: Thu Aug 11 14:59:27 2005 +0000 Add hash_entry field to cairo_font_face_t so that it can (optionally) be hashed. Complete the remainder of the simple -> toy renaming. Convert the family/slant/weight -> cairo_toy_font_face_t mapping to use cairo-hash.c rather than cairo-cache.c. ChangeLog | 16 +++ src/cairo-font.c | 360 ++++++++++++++++++++++++------------------------------- src/cairoint.h | 4 +- 3 files changed, 178 insertions(+), 202 deletions(-) commit d1dbd031cca9fbef2381e98e626e75c357dd4f53 Author: Carl Worth Date: Thu Aug 11 14:49:07 2005 +0000 Move implementation of filename/id => cairo_ft_unscaled_font_t from cairo-cache.c to cairo-hash.c, with new cairo_ft_unscaled_font_map. Add cairo_unscaled_font->hash_entry so that unscaled fonts can live in hash tables. ChangeLog | 46 ++++++ src/cairo-ft-font.c | 435 +++++++++++++++++++++++++++------------------------- src/cairoint.h | 1 + 3 files changed, 273 insertions(+), 209 deletions(-) commit 34c9e242c85cfe5cb2b53182bea07513f38c9c78 Author: Carl Worth Date: Thu Aug 11 06:35:20 2005 +0000 Re-order cairo_scaled_font->font_face parameter to maintain the font_face,font_matrix,ctm,options order that prevails throughout the implementation. Add font_face parameter to _cairo_scaled_font_init. Remove const qualifier from toy_face parameter to creat_toy, as these functions may reference the font face. Track addition of font_face parameter to _cairo_scaled_font_init. Implement font_face parameter to _cairo_scaled_font_init, moving the reference of the font_face from _cairo_inner_font_cache_create_entry. Add a font_face parameter in addition to the unscaled_font parameter. Track new font_face parameter to _cairo_ft_scaled_font_create. Whitespace touchup. Reviewed by: otaylor ChangeLog | 31 ++++++++++++++++++++++++++++++ src/cairo-atsui-font.c | 4 ++-- src/cairo-font.c | 7 +++---- src/cairo-ft-font.c | 52 +++++++++++++++++++++++++++++--------------------- src/cairo-win32-font.c | 11 ++++++++--- src/cairoint.h | 5 +++-- 6 files changed, 77 insertions(+), 33 deletions(-) commit b25c1203d8d313d9b44f29e4b0d1329dddd42dbe Author: Billy Biggs Date: Wed Aug 10 22:03:00 2005 +0000 Add support for filling 1bpp images (used to clear A1 masks). pixman/ChangeLog | 5 +++++ pixman/src/icrect.c | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) commit 58c51ff1378ce749b78a2edac622100c8873efb8 Author: Billy Biggs Date: Wed Aug 10 21:12:10 2005 +0000 Update to match the output from libpixman. ChangeLog | 5 +++++ test/clip-operator-ref.png | Bin 37486 -> 38336 bytes 2 files changed, 5 insertions(+) commit 910d824b3df8cc72a52c44b1177045d91b83051b Author: Billy Biggs Date: Wed Aug 10 21:10:11 2005 +0000 Port fbcompose.c from xserver into pixman. Add #defines for gradients, convolution filters, and indexed colour formats to keep the patch small. Use pixman regions instead of X server regions as appropriate. Remove iccompose.c, replaced by fbcompose.c. Add a slightly-trimmed version of fbpict.h from xserver/fb to make the port smaller and cleaner. Use the redundant fbpict.h defines and add in the struct for indexed colour support. Remove defines now in fbpict.h. Add some constants and types required by fbcompose.c Add fbcompose.c and fbpict.h, remove iccompose.c. reviewed by: cworth and Jeff Muizelaar at various stages pixman/ChangeLog | 89 + pixman/src/Makefile.am | 3 +- pixman/src/fbcompose.c | 3617 ++++++++++++++++++++++++++++++++++++ pixman/src/fbpict.h | 356 ++++ pixman/src/ic.c | 46 +- pixman/src/iccompose.c | 2837 ---------------------------- pixman/src/icimage.h | 35 +- pixman/src/pixman-xserver-compat.h | 16 + 8 files changed, 4082 insertions(+), 2917 deletions(-) commit 0b991f9633b2b2285132c7100aea43dcb15c7ca8 Author: Carl Worth Date: Wed Aug 10 20:25:57 2005 +0000 Thanks to Olivier Andrieu: Add mention of cairo_get_antialias. Fix to mention cairo_surface_flush by its correct name, (rather than the non-existent cairo_flush). ChangeLog | 8 ++++++++ NEWS | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit ce5a493c70e530ee5aaec9acafb63d871d79d583 Author: Carl Worth Date: Wed Aug 10 16:04:26 2005 +0000 Fix id to be cairo rather than libglade. (Thanks to Christian Biesinger). ChangeLog | 5 +++++ doc/public/cairo-docs.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit ae63b95211f32f169af37dc03956f9d23fd6794d Author: Carl Worth Date: Wed Aug 10 15:58:25 2005 +0000 Augment existing CAIRO_VERSION_MAJOR/MINOR/MICRO and CAIRO_VERSION_STRING with CAIRO_VERSION_ENCODE and CAIRO_VERSION. Add functions for run-time access: cairo_version cairo_version_string ChangeLog | 11 +++++++++++ src/cairo.c | 42 ++++++++++++++++++++++++++++++++++++++++++ src/cairo.h | 16 ++++++++++++++++ 3 files changed, 69 insertions(+) commit bdd8cbddeedec584fc859c5c092ce67c3a1830eb Author: Carl Worth Date: Wed Aug 10 14:30:15 2005 +0000 From Travis Spencer : Fix typo causing a syntax error. ChangeLog | 8 ++++++++ src/cairo-xcb-surface.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit eacc1e95a536cbdbf0fe7a09cfa9fb519b401b50 Author: Keith Packard Date: Wed Aug 10 13:32:06 2005 +0000 Place private include directives before CAIRO_CFLAGS in case pixman remains installed in the system. ChangeLog | 6 ++++++ test/Makefile.am | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit a05fcce1650e4b4b360056c072e09fdd7b193f5b Author: Keith Packard Date: Wed Aug 10 13:27:48 2005 +0000 Union with empty rectangle should yield SUCCESS, not FAILURE pixman/ChangeLog | 5 +++++ pixman/src/pixregion.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 0fc4192104fe7f3e147fe9a80eada779fd0265fc Author: Carl Worth Date: Wed Aug 10 12:36:51 2005 +0000 From Keith Packard , 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. ChangeLog | 36 ++++++ Makefile.am | 4 +- cairo.pc.in | 2 +- configure.in | 18 ++- pixman/Makefile.am | 57 +-------- pixman/src/Makefile.am | 8 +- pixman/src/icint.h | 2 +- pixman/src/pixman-remap.h | 302 ++++++++++++++++++++++++++++++++++++++++++++++ pixman/src/pixman.h | 3 +- src/Makefile.am | 4 +- test/Makefile.am | 1 + 11 files changed, 364 insertions(+), 73 deletions(-) commit bbf0d98a54ca15a7d5ba3f34851a9dd8d9ba07c4 Author: Vladimir Vukicevic Date: Wed Aug 10 11:40:11 2005 +0000 Additional fix for 0-width/0-height glyphs. ChangeLog | 5 +++++ src/cairo-glitz-surface.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 8df9bfecadda5bc98d2fe484f6ea55110ac99b2c Author: Carl Worth Date: Wed Aug 10 11:30:45 2005 +0000 Change release instructions to indicate new odd-micro version for in-progress development, and even-micro for released versions. Do a bit of snapshot->release renaming. ChangeLog | 9 +++++++++ Makefile.am | 4 ++-- RELEASING | 41 ++++++++++++++++++++++------------------- 3 files changed, 33 insertions(+), 21 deletions(-) commit 82fbb9c381adf9e7b7b6c5fac52c175b8859e419 Author: Carl Worth Date: Wed Aug 10 11:08:38 2005 +0000 Patch from Behdad Esfahbod : 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. ChangeLog | 11 +++++++++++ configure.in | 31 ++++++++++++++++++++++--------- src/cairo-features.h.in | 6 ++++++ 3 files changed, 39 insertions(+), 9 deletions(-) commit 52ec34a157d0d0ef5af49f767a50672b84ebb9e6 Author: Carl Worth Date: Wed Aug 10 06:52:40 2005 +0000 Add cairo_private to the few pieces of data that were missing it. ChangeLog | 6 ++++++ src/cairo-path-data-private.h | 2 +- src/cairoint.h | 12 ++++++------ 3 files changed, 13 insertions(+), 7 deletions(-) commit 8042a0d219131acfbeb6ed54b078ad2bc26ccbef Author: Vladimir Vukicevic Date: Tue Aug 9 13:42:54 2005 +0000 Don't crash on 0-width or 0-height glyphs; also correctly initialize entry->key.base.memory with the image cache image. Free allocated entry in case of error to avoid leaking memory. ChangeLog | 9 +++++++++ src/cairo-glitz-surface.c | 35 +++++++++++++++++++++++++++++++++-- src/cairo-xlib-surface.c | 3 +++ 3 files changed, 45 insertions(+), 2 deletions(-) commit cedf233052f8e173c671e614207bd63e2b7add4b Author: Carl Worth Date: Tue Aug 9 13:01:14 2005 +0000 Add cairo_private to several function prototypes that were missing it. ChangeLog | 8 ++++++++ src/cairo-arc-private.h | 4 ++-- src/cairo-ft-private.h | 4 ++-- src/cairo-meta-surface-private.h | 4 ++-- src/cairoint.h | 26 +++++++++++++------------- 5 files changed, 27 insertions(+), 19 deletions(-) commit a391bb451a9521efa9526fe8acba97f96540d4be Author: Carl Worth Date: Tue Aug 9 12:35:09 2005 +0000 Note that sane clipping is done now. Add release versions for previously completed items. Ignore unantialiased-shapes. ChangeLog | 7 +++++++ ROADMAP | 12 +++++------- test/.cvsignore | 1 + 3 files changed, 13 insertions(+), 7 deletions(-) commit 6ece52cd0572800006d87109e8818c514d5b88ca Author: Tor Lillqvist Date: Tue Aug 9 10:05:35 2005 +0000 Get cairo_toy_font_face_t type right. ChangeLog | 5 +++++ src/cairo-atsui-font.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 018015d802c170c1578efcdb9efecec08f11ab99 Author: Carl Worth Date: Tue Aug 9 09:27:39 2005 +0000 Add -head to CAIRO_VERSION after tagging with RELEASE_0_9_0. ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 4bec3d6af49f9a720121617819700bc700ba5951 Author: Carl Worth Date: Mon Aug 8 21:06:44 2005 +0000 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. ChangeLog | 7 ++++++ NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 4 ++-- 3 files changed, 86 insertions(+), 2 deletions(-) commit 9a088c2fad17af0564936a3b88c9d306c72f11de Author: Carl Worth Date: Mon Aug 8 21:02:11 2005 +0000 Add missing cairo-debug.h which was hold up make distcheck. ChangeLog | 5 +++++ src/Makefile.am | 1 + 2 files changed, 6 insertions(+) commit 4d2b8bddded15662015466046039650c20231bbf Author: Carl Worth Date: Mon Aug 8 20:57:13 2005 +0000 Fix typo that was holding up make distcheck from working. ChangeLog | 5 +++++ test/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 1278ade2297e027906ca12c7471891a08188b115 Author: Billy Biggs Date: Mon Aug 8 18:36:56 2005 +0000 Declare _cairo_path_nil as extern. ChangeLog | 4 ++++ src/cairo-path-data-private.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 53444c286ef45fa0054ba6ab94dac11016e9600c Author: Billy Biggs Date: Mon Aug 8 18:35:22 2005 +0000 Add a new API for disabling antialiasing of shapes drawn by cairo. This is a hint and is not supported by all backends. Store the antialiasing mode in the gstate and pass it to the backend for trapezoid rendering and for clipping. Pass the antialiasing parameter down to the backend where appropriate. Pass the antialiasing parameter down to the backend where appropriate. Add support for A1 format trapezoid rendering, and remove the _create_mask_image function, creating a temporary image from memory we allocate and clear. Support A1 masks to disable antialiasing using the RENDER extension when requested. Support A1 masks to disable antialiasing using the RENDER extension when requested. Blindly pass through the antialising parameter. Add the antialiasing parameter but don't support it. Add a test case and a reference image from the latest libpixman. Add the new antialiasing disabling API to the docs. Update progress on a parameter to disable antialiasing. reviewed by: cworth, otaylor ChangeLog | 74 +++++++++++++++++++++++++++ TODO | 2 +- doc/public/cairo-sections.txt | 4 +- doc/public/tmpl/cairo-font.sgml | 10 ---- doc/public/tmpl/cairo.sgml | 28 +++++++++++ src/cairo-clip-private.h | 2 + src/cairo-clip.c | 15 ++++-- src/cairo-glitz-surface.c | 1 + src/cairo-gstate-private.h | 1 + src/cairo-gstate.c | 49 ++++++++++++++---- src/cairo-image-surface.c | 71 ++++++++++++++------------ src/cairo-meta-surface-private.h | 3 ++ src/cairo-meta-surface.c | 11 +++- src/cairo-pdf-surface.c | 4 +- src/cairo-ps-surface.c | 12 +++-- src/cairo-surface.c | 20 ++++++-- src/cairo-xcb-surface.c | 11 +++- src/cairo-xlib-surface.c | 22 ++++++-- src/cairo.c | 40 +++++++++++++++ src/cairo.h | 46 +++++++++-------- src/cairoint.h | 18 +++++-- test/Makefile.am | 3 ++ test/unantialiased-shapes-ref.png | Bin 0 -> 4450 bytes test/unantialiased-shapes.c | 103 ++++++++++++++++++++++++++++++++++++++ 24 files changed, 450 insertions(+), 100 deletions(-) commit 578b45c9032fd00b68fc1709d61e915d74a527c7 Author: Carl Worth Date: Mon Aug 8 17:32:24 2005 +0000 Ignore clip-operator and unbounded-operator. ChangeLog | 4 ++++ test/.cvsignore | 2 ++ 2 files changed, 6 insertions(+) commit 8bdad8ffa2962c9dff1e86e9bd131d588a1ebd2f Author: Carl Worth Date: Mon Aug 8 15:50:55 2005 +0000 Fix gnome-announce-list address. ChangeLog | 4 ++++ RELEASING | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit d51a35543ca405dda788eb6433e6bb30dc3c7cf5 Author: Owen Taylor Date: Mon Aug 8 14:27:01 2005 +0000 Don't free the glyph if the entry doesn't have a glyph. (Maybe #3909, Carlos Garnacho Parro) ChangeLog | 6 ++++++ src/cairo-xlib-surface.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 69f140b654df878b9ba86d61062d235bbebef7a2 Author: Carl Worth Date: Mon Aug 8 14:13:50 2005 +0000 Add a return value after ASSERT_NOT_REACHED to quiet an anxious compiler. ChangeLog | 5 +++++ src/cairo-gstate.c | 1 + 2 files changed, 6 insertions(+) commit 8478804d9818deb3a1f86e8e22200c40f83962bf Author: Owen Taylor Date: Mon Aug 8 14:11:00 2005 +0000 Fix accidentally committed line. ChangeLog | 5 +++++ src/cairo-gstate.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 7caa7cccf2e5aff083d5a88fbace0b24430397de Author: Kristian Høgsberg Date: Mon Aug 8 13:50:59 2005 +0000 Update doc comment. ChangeLog | 5 +++++ src/cairo-surface.c | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) commit d4b24dc974bd4298c1ad8d06efc4f3dfea68ee03 Author: Owen Taylor Date: Mon Aug 8 13:50:02 2005 +0000 Add reference images test/clip-operator-ref.png | Bin 0 -> 37486 bytes test/unbounded-operator-ref.png | Bin 0 -> 14178 bytes 2 files changed, 0 insertions(+), 0 deletions(-) commit 8f19aaf9a8a60aa2eb86e25946d04f293ed703db Author: Owen Taylor Date: Mon Aug 8 13:46:11 2005 +0000 Add a function to test whether a cairo_operator_t is bounded (does nothing for 0 src/mask) cairoint.h: Add a helper function to take clearing areas that are outside the source/mask but are cleared by unbounded operations. src/cairo-xlib-surface.c (_cairo_xlib_surface_composite): Use _cairo_surface_composite_fixup_unbounded() as needed. src/cairo-image-surface.c src/cairint.h: Keep track of whether the surface has a clip or not ... we need this for determining when we can bypass an intermediate mask for composite_trapezoids(). Create an intermediate mask of the right size with pixman_add_trapezoids() and composite that. When rendering with an unbounded operator, create the intermediate mask ourselves and render with ADD to that, then composite the result. Create an intermediate surface the size of the extents, render the glyphs to that then composite the results. Add the size of the glyph Compute the size of the glyph mask, then use _cairo_surface_composite_fixup_unbounded(). Use the right mask format. (Unrelated bugfix) New function taking a drawing function as a parameter to encapsulate shared logic between compositing trapezoid, glyphs, and masks. Use _cairo_gstate_clip_and_composite(). Also fix extents computations for unbounded operators. src/cairo-clip.c src/cairo-clip-private.h (_cairo_clip_combine_to_surface): Add the destination as an extra parameter to allow combining to an intermediate surface. tests/unbounded-operator.c tests/Makefile.am: Add a test for the operation of the 6 unbounded operators against different shapes. tests/clip-operator.c tests/Makefile.am: Add a test that tests surface clipping with different shapes against all the operators. Make use OVER like the name and description. With fixed semantics, SOURCE does something different. ChangeLog | 60 ++ src/cairo-clip-private.h | 9 +- src/cairo-clip.c | 22 +- src/cairo-ft-font.c | 122 +++- src/cairo-gstate.c | 733 +++++++++++++++---------- src/cairo-image-surface.c | 126 ++++- src/cairo-surface.c | 151 +++++ src/cairo-xlib-surface.c | 214 +++++++- src/cairoint.h | 23 +- test/Makefile.am | 6 + test/clip-operator.c | 205 +++++++ test/composite-integer-translate-over-repeat.c | 2 +- test/unbounded-operator.c | 201 +++++++ 13 files changed, 1520 insertions(+), 354 deletions(-) commit 31ef9a80e95c5b84439b5d668d11ab3480d22a22 Author: Carl Worth Date: Sat Aug 6 17:00:59 2005 +0000 Remove several bugs that have been fixed. BUGS | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) commit 1fadb8065600d5b9cbab9a14232e08daec450e4d Author: Carl Worth Date: Sat Aug 6 16:57:14 2005 +0000 Remove several bugs that have been fixed. Slip group support off of the 1.0 roadmap. Update status of clipping work which otaylor is working on. Update for progress on cairo_surface_mark_dirty (committed), non-antialiased rendering (patch), cairo_arc_to (patch), consistent error handling (committed), cairo_content_t (committed). Remove details for some completed items. Don't crash if font_face is NULL, (this is a documented mechanism for returning to the default font_face). BUGS | 29 ------------------------ ChangeLog | 16 ++++++++++++++ ROADMAP | 22 +++++++++--------- TODO | 65 +++++------------------------------------------------- src/cairo-gstate.c | 2 +- 5 files changed, 34 insertions(+), 100 deletions(-) commit 2f1024f83fc971516224b910cec8d3e787740c53 Author: Carl Worth Date: Sat Aug 6 16:38:33 2005 +0000 Fix to return &_cairo_font_face_nil instead of NULL on error. ChangeLog | 5 +++++ src/cairo.c | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) commit 8c52b287f37f8361653030024d7a4a42fc6e54ed Author: Jeff Muizelaar Date: Sat Aug 6 15:10:36 2005 +0000 Give reason for failure. ChangeLog | 4 ++++ test/a8-mask.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 158b338fb2817996c5191332951b6957416c2e77 Author: Owen Taylor Date: Sat Aug 6 10:22:07 2005 +0000 Remove a non-sensical XXX that crept in at some point; for a solid color, there is no difference between premultiplied and non-premultiplied colors. ChangeLog | 7 +++++++ src/cairo-win32-font.c | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) commit f367e693322b1cf04040521080cc65403c292a28 Author: Carl Worth Date: Sat Aug 6 00:09:17 2005 +0000 Fix up some stale comments. Rename _cairo_ft_scaled_font_create_for_unscaled to its proper name of _cairo_ft_scaled_font_create (which is available now that _cairo_ft_scaled_font_create_toy has its correct name). Also prefer 'scaled_font' over 'f' as an identifier. ChangeLog | 11 +++++++++++ src/cairo-ft-font.c | 46 ++++++++++++++++++++++++---------------------- 2 files changed, 35 insertions(+), 22 deletions(-) commit e63e0578b1edf2b60c818b3e6741cf97c5a53359 Author: Carl Worth Date: Fri Aug 5 23:41:41 2005 +0000 Unify initialization for _cairo_ft_unscaled_font_create_from_face and _cairo_ft_unscaled_font_create_from_filename through new _cairo_ft_unscaled_font_init. ChangeLog | 9 +++++ src/cairo-ft-font.c | 102 ++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 80 insertions(+), 31 deletions(-) commit c4a806f21c2b6c3081b953497daf25108a734787 Author: Carl Worth Date: Fri Aug 5 22:37:29 2005 +0000 Rename _ft_font_face_backend to be preoperly namespaced as _cairo_ft_font_face_backend. ChangeLog | 6 ++++++ src/cairo-ft-font.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit ff147497e54ef7573b35bd023d11e4e7d4272979 Author: Carl Worth Date: Fri Aug 5 22:35:04 2005 +0000 Rename cairo_ft_font_face->next_face to next. ChangeLog | 6 ++++++ src/cairo-ft-font.c | 18 ++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) commit cfcab8fe4467095381c7a4d32182580649db6f00 Author: Carl Worth Date: Fri Aug 5 22:29:06 2005 +0000 Include cairo-hash-private.h. Add cairo-hash.c and cairo-hash-private.h since we're actually going to start using them now. ChangeLog | 8 ++++++++ src/Makefile.am | 2 ++ src/cairoint.h | 2 ++ 3 files changed, 12 insertions(+) commit de87ebcc1c53d9daa4f77b618766215b1723778e Author: Jeff Muizelaar Date: Fri Aug 5 22:17:08 2005 +0000 Fix problems in render fb implementation found by rendercheck: - fbCombineSaturate was pointed at fbCombineDisjointOver, instead of fbCombineDisjointOverReverse as it should. Instead, point fbCombineDisjointOverReverse at fbCombineSaturate (which is likely to be faster). - fix previously-unused fbCombineSaturate implementation. - fbCombineMaskAlphaC was just a copy of fbCombineMaskValueC. Make it do what it's supposed to (return a cs.alpha). - fbCombineAtopC didn't invert the source alpha value. - fix copy'n'paste errors in fbCombine(Dis/Con)jointGeneralC, also source alpha wasn't treated in a component fashion. From anholt. pixman/ChangeLog | 20 +++++ pixman/src/iccompose.c | 195 ++++++++++++++++++++++++++++++++++--------------- 2 files changed, 156 insertions(+), 59 deletions(-) commit 71e560a8fa78d9fd6f83cce820de9f4acb3829eb Author: Jeff Muizelaar Date: Fri Aug 5 21:35:51 2005 +0000 Temporarily disable the 24bpp WORKING_UNALIGNED_INT because of a crash when using electric-fence when accessing hte last pixel of a drawable (last pixel is 3 bytes, read it as a 4 byte word, and you're reading one extra pixel, which doesn't normally matter, but does in a few rare cases). Should be easy to work around, but that will come later. From jaymz pixman/ChangeLog | 11 +++++++++++ pixman/src/iccompose.c | 10 +++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) commit 417a66da5e8a98583661d08703a5c5562732678a Author: Carl Worth Date: Fri Aug 5 21:33:41 2005 +0000 Simplify the implementation by taking advantage of the fact that destroy and reference are safe for NULL, and that reference returns its argument. ChangeLog | 7 +++++++ src/cairo-gstate.c | 7 ++----- 2 files changed, 9 insertions(+), 5 deletions(-) commit 80b944418cab51fcc2178080fe0c9a5ffd512479 Author: Carl Worth Date: Fri Aug 5 21:27:21 2005 +0000 Rename two functions: _cairo_gstate_unset_font -> _cairo_gstate_unset_scaled_font _cairo_gstate_ensure_font -> _cairo_gstate_ensure_scaled_font ChangeLog | 17 +++++++++++++++++ src/cairo-gstate.c | 40 ++++++++++++++++++++-------------------- 2 files changed, 37 insertions(+), 20 deletions(-) commit 75e3d2883409220350a688716c908bea7b6e2c13 Author: Carl Worth Date: Fri Aug 5 21:02:25 2005 +0000 Entagle the cairo_unscaled_font_t typedef. ChangeLog | 4 ++++ src/cairoint.h | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit c14f2252b1b3a4499e65c13a146b9f8c5e9c5550 Author: Carl Worth Date: Fri Aug 5 20:53:09 2005 +0000 Rename font_face_backend->create_font to scaled_font_create. Group the scaled_font prototypes together. A little more simple -> toy renaming. A little more simple -> toy renaming. Track rename of font_face_backend->scaled_font_create. ChangeLog | 19 +++++++++++++++++++ src/cairo-font.c | 42 +++++++++++++++++++++--------------------- src/cairo-ft-font.c | 14 +++++++------- src/cairo-gstate.c | 8 ++++---- src/cairo-win32-font.c | 14 +++++++------- src/cairoint.h | 30 +++++++++++++++--------------- 6 files changed, 73 insertions(+), 54 deletions(-) commit 9c1fe21cd70bed9fd9e77ec757751df723cb9c42 Author: Carl Worth Date: Fri Aug 5 20:30:43 2005 +0000 Rather gratuitous (though mostly harmless) whitespace changes for font backend tables. ChangeLog | 5 +++ src/cairoint.h | 104 ++++++++++++++++++++++++++++++++------------------------- 2 files changed, 63 insertions(+), 46 deletions(-) commit 4ad365f1834bf0204e44156a62b8e8539fb65ef9 Author: Carl Worth Date: Fri Aug 5 20:15:19 2005 +0000 Document the implicit closing of sub-paths for cairo_fill and cairo_fill_preserve. ChangeLog | 5 +++++ src/cairo.c | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit d150513c6af3a7d1f52d7251ab0d097337f40ab3 Author: Carl Worth Date: Fri Aug 5 17:27:57 2005 +0000 Rename parameters to scalend_font_backend from font to scaled_font. ChangeLog | 5 +++++ src/cairoint.h | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) commit b482e1e25e57c7ae1422f4737a2702d3cb53c0eb Author: Carl Worth Date: Fri Aug 5 17:00:38 2005 +0000 Rename scaled_font_backend->destroy to the more accurate fini, (since it frees only the dependent data within the scaled_font and not the scaled_font itself). Track rename of scaled_font_backend->fini. ChangeLog | 12 ++++++++++++ src/cairo-atsui-font.c | 4 ++-- src/cairo-font.c | 2 +- src/cairo-ft-font.c | 4 ++-- src/cairo-win32-font.c | 4 ++-- src/cairoint.h | 2 +- 6 files changed, 20 insertions(+), 8 deletions(-) commit 76f80cc42e442abaf52d6582d16be91258f3f8a9 Author: Carl Worth Date: Fri Aug 5 16:44:20 2005 +0000 Rename scaled_font_backend->create to create_toy. Move declaration of cairo_simple_font_face_t from cairo_font.c to cairoint.h and rename it cairo_toy_font_face_t. Rework create_toy to accept a cairo_toy_font_face_t rather than separate family, slant, and weight. Track change in create_toy interface. Partial rename of simple->toy. It's not complete as this is a step in the process of merging in a large patch of mine which actually removes most of the affected code. ChangeLog | 22 ++++++++++++++++++++++ src/cairo-atsui-font.c | 21 +++++++++------------ src/cairo-font.c | 33 ++++++++++----------------------- src/cairo-ft-font.c | 21 ++++++++++----------- src/cairo-win32-font.c | 21 ++++++++++----------- src/cairoint.h | 23 ++++++++++++++++------- 6 files changed, 77 insertions(+), 64 deletions(-) commit 8d0452c1ee7ba7466b7bb06ec5c4e9746fce2482 Author: Carl Worth Date: Fri Aug 5 15:49:52 2005 +0000 ignore a8-mask ChangeLog | 4 ++++ test/.cvsignore | 1 + 2 files changed, 5 insertions(+) commit 5925e3520fbf6223804d5c5e81698d7cdd888620 Author: Carl Worth Date: Fri Aug 5 15:48:42 2005 +0000 Patch memory leaks. ChangeLog | 4 ++++ test/a8-mask.c | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) commit 53bd9879bb802606789be76e5653e2fb6781f676 Author: Jeff Muizelaar Date: Fri Aug 5 15:07:45 2005 +0000 Add a test case for CAIRO_FORMAT_A8 masks that fails with libpixman. ChangeLog | 8 ++++++ test/Makefile.am | 4 +++ test/a8-mask-ref.png | Bin 0 -> 128 bytes test/a8-mask.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+) commit 549b7ff2a66335dc18434790895d4b4a25a76ba4 Author: Carl Worth Date: Fri Aug 5 15:01:55 2005 +0000 Bump automake_min_vers up to 1.7 since we clearly don't work with 1.4 anymore. ChangeLog | 5 +++++ autogen.sh | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) commit ec93e241b0cf161216dab27eeee3917a71230aa7 Author: Jeff Muizelaar Date: Fri Aug 5 12:26:33 2005 +0000 Fix fbGetDrawable Patch from Billy Biggs . pixman/ChangeLog | 6 ++++++ pixman/src/pixman-xserver-compat.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit 3ef2488265a1671d42224f4dca1b62c007ef5b0a Author: Jeff Muizelaar Date: Fri Aug 5 12:14:12 2005 +0000 Fix some of the 4 bit per channel PICT definitions Patch from Billy Biggs . pixman/ChangeLog | 6 ++++++ pixman/src/icint.h | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit 2b20b7a23022a22a460b9441984ccdb7fdce5061 Author: Jeff Muizelaar Date: Fri Aug 5 11:44:49 2005 +0000 Fix up the fast-path compositing operators; those are useful for sources without alpha, but can't be used for sources with alpha. Also, replaced fbCompositeSrcSrc_nxn with call to fbBlt as this function must handle 1, 4, 8, 16, 24, 32 bpp objects. Would be nice to optimize fbBlt for common cases involving 8, 16, 24 and 32bpp. From Keith Packard. pixman/ChangeLog | 17 +++ pixman/src/ic.c | 432 +++++++++++++++++++++++++++++-------------------------- 2 files changed, 244 insertions(+), 205 deletions(-) commit 594ba3ef69509d9c13258449f4b636bc52d77cd4 Author: Jeff Muizelaar Date: Fri Aug 5 11:23:51 2005 +0000 use the newly added buffer_diff_noalpha for comparing buffers of CAIRO_FORMAT_RGB24. ChangeLog | 6 ++++++ test/xlib-surface.c | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 12 deletions(-) commit 5f78feda5d9819f82ff99911b90cd09e228466a9 Author: Jeff Muizelaar Date: Fri Aug 5 11:15:04 2005 +0000 rewrite buffer_diff to be endian safe and add a new fuction buffer_diff_noalpha ChangeLog | 7 +++++ test/buffer-diff.c | 83 +++++++++++++++++++++++++++++++++++++----------------- test/buffer-diff.h | 14 ++++++++- 3 files changed, 77 insertions(+), 27 deletions(-) commit 2e1eaa88ff07fbd2048c76587cd6b9ca565fa047 Author: Carl Worth Date: Fri Aug 5 10:46:40 2005 +0000 Remove CAIRO_BEGIN_DECLS and CAIRO_END_DECLS which don't belong here. ChangeLog | 5 +++++ doc/public/cairo-sections.txt | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit 7d88cdd15bbf8ccb82b7bd45313396ea6f93054f Author: Carl Worth Date: Fri Aug 5 10:43:07 2005 +0000 Remove unused variable. ChangeLog | 4 ++++ test/surface-finish-twice.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) commit e59d1dff7f8096c497ca4e70df1259b16c264f25 Author: Carl Worth Date: Fri Aug 5 10:40:32 2005 +0000 Ignore cairo-clip-private.h. Drop non-existent cairo-atsui.xml. Fix misnamed parameters in comment blocks. Include config.h so HAVE_UNISTD_H gets picked up as necessary. ChangeLog | 16 ++++++++++++++++ doc/public/Makefile.am | 1 + doc/public/cairo-docs.xml | 1 - src/cairo-font.c | 7 ++----- test/cairo-test.c | 4 ++++ 5 files changed, 23 insertions(+), 6 deletions(-) commit 59d7f60249c9b0d01b01548907c792c324cb9bc8 Author: Carl Worth Date: Fri Aug 5 10:30:31 2005 +0000 Add some missing declarations to the appropriate sections. churn Rename cairo_path_nil to _cairo_path_nil since it may be exported, and tag it cairo_private to try to avoid exporting it. Qualify it as const well. Track new name of _cairo_path_nil and cast away the const as required. ChangeLog | 19 +++++++++++++++++++ doc/public/cairo-sections.txt | 5 +++++ doc/public/tmpl/cairo-font.sgml | 18 ++++++++++++++++++ doc/public/tmpl/cairo-surface.sgml | 9 +++++++++ doc/public/tmpl/cairo-xlib.sgml | 11 +++++++++++ doc/public/tmpl/cairo.sgml | 7 +++++++ src/cairo-path-data-private.h | 2 +- src/cairo-path-data.c | 8 ++++---- src/cairo.c | 4 ++-- 9 files changed, 76 insertions(+), 7 deletions(-) commit a2dc18fd0c89e267bd810d42c8e0965487a22058 Author: Carl Worth Date: Fri Aug 5 10:05:29 2005 +0000 Remove include of math.h since cairoint.h does it more carefully, (for annoying platforms for which just including math.h without extra defines is not enough). Replace Cairo with cairo. Include config.h so HAVE_UNISTD_H gets picked up as necessary. Fix non-UTF-8 copyright symbol. ChangeLog | 14 ++++++++++++++ src/cairo-arc.c | 2 -- src/cairo-matrix.c | 1 - src/cairo.c | 2 +- test/buffer-diff.c | 4 ++++ test/cairo-test.c | 2 +- 6 files changed, 20 insertions(+), 5 deletions(-) commit 72f40f58bbaf1b80c82f9447007cd4c8d7a4916f Author: Carl Worth Date: Fri Aug 5 10:03:04 2005 +0000 More obnoxious tmpl churn doc/public/tmpl/cairo-font.sgml | 2 ++ doc/public/tmpl/cairo-pattern.sgml | 1 + doc/public/tmpl/cairo-surface.sgml | 1 + doc/public/tmpl/cairo.sgml | 1 + 4 files changed, 5 insertions(+) commit 2eabc47b853f08614d829acecb277388dcb4e046 Author: Carl Worth Date: Fri Aug 5 09:49:38 2005 +0000 Sort cairo-clip.c src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0586daaa2927bfde9605487eef8e9b95c49d7d2f Author: Carl Worth Date: Fri Aug 5 07:48:18 2005 +0000 Patch from John Ehresman to aid win32 compilation: Define snprintf as _snprintf when under the influence of _MSC_VER. Define int32_t and friends as __int32 and friends when under the influence of _MSC_VER. Make include of unistd.h conditional on HAVE_UNISTD_H. ChangeLog | 16 ++++++++++++++++ src/cairo-output-stream.c | 4 ++++ src/cairo-wideint.h | 14 +++++++++++++- test/buffer-diff.c | 2 ++ test/cairo-test.c | 6 ++++++ test/read-png.c | 14 +++++++++++++- 6 files changed, 54 insertions(+), 2 deletions(-) commit fd27af574d544d8adfd8cb6d5ac84837e6db43d2 Author: Kristian Høgsberg Date: Thu Aug 4 23:10:26 2005 +0000 Patch from Adrian Johnson Remap composite glyps to use subset font glyph indices. ChangeLog | 8 ++++++ src/cairo-font-subset.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 77 insertions(+), 3 deletions(-) commit ebf985c87688f090c27c3906a6b441522b2f702a Author: Kristian Høgsberg Date: Thu Aug 4 22:45:59 2005 +0000 New files. Move code for manipulating cairo_clip_t out into cairo_clip_* functions and put them in cairo-clip.c. Rewrite to use new cairo_clip_t functions for manipulating the clip state, change the clip_and_composite_trapezoids call tree to use cairo_clip_t instead of cairo_gstate_t. Use new cairo_clip_t function to maintain clip state while replaying. Pass fill rule and tolerance directly, to break gstate dependency. New function. Set the clip for a surface as specified by the cairo_clip_t. Move translate_traps() from cairo-gstate.c to here and rename it. Reviewed by: otaylor ChangeLog | 29 +++ src/Makefile.am | 2 + src/cairo-clip-private.h | 118 +++++++++ src/cairo-clip.c | 457 ++++++++++++++++++++++++++++++++ src/cairo-gstate-private.h | 41 +-- src/cairo-gstate.c | 637 +++++++-------------------------------------- src/cairo-meta-surface.c | 132 +++++----- src/cairo-path-fill.c | 20 +- src/cairo-surface.c | 23 +- src/cairo-traps.c | 29 +++ src/cairoint.h | 35 ++- 11 files changed, 849 insertions(+), 674 deletions(-) commit 27573750eb9f2655d0b4cb5640a9f3f6c1316bc0 Author: Kristian Høgsberg Date: Thu Aug 4 18:44:29 2005 +0000 Change *_reference() functions to return the object being referenced. ChangeLog | 14 ++++++++++++++ src/cairo-font-subset.c | 3 +-- src/cairo-font.c | 26 ++++++++++++++++++-------- src/cairo-ft-font.c | 6 ++---- src/cairo-glitz-surface.c | 3 +-- src/cairo-gstate.c | 11 ++++++----- src/cairo-image-surface.c | 3 +-- src/cairo-meta-surface.c | 3 +-- src/cairo-pattern.c | 13 ++++++++----- src/cairo-pdf-surface.c | 9 +++++---- src/cairo-surface.c | 26 +++++++++++++++++++++++--- src/cairo-xcb-surface.c | 3 +-- src/cairo-xlib-surface.c | 3 +-- src/cairo.c | 8 ++++++-- src/cairo.h | 10 +++++----- src/cairoint.h | 2 +- 16 files changed, 94 insertions(+), 49 deletions(-) commit a8ccf316201e5241bcde2359f6dcbe3557cca79b Author: Tor Lillqvist Date: Thu Aug 4 15:53:30 2005 +0000 Check for render bug involving repeated patterns with a general transform matrix. ChangeLog | 8 ++++++++ src/cairo-xlib-surface.c | 40 ++++++++++++++++++++++++++++++---------- 2 files changed, 38 insertions(+), 10 deletions(-) commit b5ab1741e9f9e73283dd18266834ecae2b03d93e Author: Carl Worth Date: Thu Aug 4 13:22:15 2005 +0000 Originally 2005-07-13 Carl Worth Export opaque cairo_ft_unscaled_font_t and change _cairo_ft_unscaled_font_[un]lock_face to accept cairo_ft_unscaled_font_t rather than cairo_unscaled_font_t. Cast explicitly to cairo_ft_unscaled_font_t to track change in prototype of _cairo_ft_unscaled_font_[un]lock_face. Lots of renaming to use consistent namespacing: ft_font_transform_t -> cairo_ft_font_transform_t ft_font_face_t -> cairo_ft_font_face_t ft_unscaled_font_t -> cairo_ft_unscaled_font_t Add missing _cairo prefix to many functions. Disambiguate _ft_scaled_font_create and _cairo_ft_scaled_font_create by renaming the former to _cairo_ft_scaled_font_create_for_unscaled. Reviewed by: otaylor ChangeLog | 28 +++++++ src/cairo-font-subset.c | 18 +++- src/cairo-ft-font.c | 215 +++++++++++++++++++++++------------------------- src/cairo-ft-private.h | 6 +- 4 files changed, 150 insertions(+), 117 deletions(-) commit b45f68876528050107b6e8c4b24fb8edb7ded12e Author: Carl Worth Date: Wed Aug 3 10:32:50 2005 +0000 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. ChangeLog | 14 ++++++++++++++ configure.in | 30 +++++++++++++++++++++++------- test/cairo-test.c | 2 ++ test/text-cache-crash.c | 14 -------------- 4 files changed, 39 insertions(+), 21 deletions(-) commit ba87f1324fda84ea816ad8f18442444c2ad1ed93 Author: Billy Biggs Date: Mon Aug 1 18:01:24 2005 +0000 Optimize spans where the same value is being added to multiple pixels. This improves the speed of rasterizing wide trapezoids. Add an INLINE macro that matches the one from fbpict.h in xserver/fb. pixman/ChangeLog | 10 +++ pixman/src/fbedge.c | 230 ++++++++++++++++++++++++++++++++++++++++++++++------ pixman/src/icint.h | 6 ++ 3 files changed, 220 insertions(+), 26 deletions(-) commit 500cc6fed1858d5e9240ce61bbbf00781ae4c097 Author: Owen Taylor Date: Mon Aug 1 14:39:01 2005 +0000 src/cairo-gstate.c src/cairo-gstate-private.h: Store the inverse CTM at the time of cairo_gstate_set_source() to "lock" the user space matrix. Move the source pattern transformation to the outside of _cairo_gstate_clip_and_composite_trapezoids() instead of doing it at the leaves. Change size of output surface for aesthetics. Updated to correspond to the current definition. Remove source-surface-scale-paint. reviewed by: cworth ChangeLog | 23 +++++- src/cairo-gstate-private.h | 1 + src/cairo-gstate.c | 119 ++++++++++++++++++-------------- test/Makefile.am | 1 - test/source-surface-scale-paint-ref.png | Bin 147 -> 139 bytes test/source-surface-scale-paint.c | 5 +- 6 files changed, 91 insertions(+), 58 deletions(-) commit c525c684ca712c5c5acd5431ec061bfab364cef5 Author: Carl Worth Date: Mon Aug 1 13:33:47 2005 +0000 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. ChangeLog | 55 ++++++++++++++++++++++++++++++++++++ Makefile.am | 3 ++ configure.in | 7 +++++ src/Makefile.am | 1 + src/cairo-debug.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-debug.h | 48 +++++++++++++++++++++++++++++++ src/cairo-features.h.in | 8 ++++++ src/cairo-font.c | 39 ++++++++++++++++++++------ src/cairo-ft-font.c | 13 +++++++++ src/cairo-xlib-screen.c | 53 +++++++++++++++++++++++++++++------ src/cairo-xlib-surface.c | 26 +++++++++++++++-- src/cairo.h | 8 ------ src/cairoint.h | 13 +++++++++ test/cairo-test.c | 6 ++++ test/cairo-test.h | 1 + test/xlib-surface.c | 2 ++ 16 files changed, 329 insertions(+), 27 deletions(-) commit 480951827e567db89f88e71e7ba20f4fa4633c1b Author: Owen Taylor Date: Mon Aug 1 11:45:42 2005 +0000 src/cairo.h src/cairoint.h src/cairo-surface.c: Add cairo_mark_dirty[_rectangle]() and cairo_flush() for Implement a cairo_flush() that restores the original clip. Also restore the original flush when a surface is finished. Check off the item. ChangeLog | 11 +++++ ROADMAP | 2 +- doc/public/cairo-sections.txt | 3 ++ doc/public/tmpl/cairo-surface.sgml | 28 +++++++++++ src/cairo-surface.c | 97 +++++++++++++++++++++++++++++++++++++- src/cairo-win32-surface.c | 16 +++++-- src/cairo.h | 13 +++++ src/cairoint.h | 11 +++++ 8 files changed, 176 insertions(+), 5 deletions(-) commit 392a2746ef051d16be303477170511ef38dcf753 Author: Amaury Jacquot Date: Mon Aug 1 06:57:09 2005 +0000 fix typo pixman/ChangeLog | 4 ++++ pixman/NEWS | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit cd78d99642bdf1171d21083a6947c77ff00b599e Author: Billy Biggs Date: Sun Jul 31 11:19:47 2005 +0000 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 ChangeLog | 10 ++++++++++ configure.in | 14 ++++++++++++++ src/cairo-ft-font.c | 8 +++++++- 3 files changed, 31 insertions(+), 1 deletion(-) commit b4ae3371b34ca67e98df5e73147adcd6b7853e1d Author: Billy Biggs Date: Sun Jul 31 11:03:35 2005 +0000 Cast away the const on the nil surface to avoid a compiler warning. ChangeLog | 5 +++++ src/cairo-quartz-surface.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 31e0d694294ef17037a0b464615916e065a81385 Author: Billy Biggs Date: Sat Jul 30 22:21:12 2005 +0000 Pass the options down to the scaled font object to keep things compiling. ChangeLog | 5 +++++ src/cairo-atsui-font.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit b47c0050f985856d0c47a43d3a1b3cc8f18dbd32 Author: Keith Packard Date: Sat Jul 30 12:57:54 2005 +0000 Replace wide integer divide algorithms with trivial bit-at-a-time code. Original code was of unclear provenance, this new code is completely different. ChangeLog | 11 ++ src/cairo-wideint.c | 461 ++++++---------------------------------------------- src/cairo-wideint.h | 6 +- 3 files changed, 60 insertions(+), 418 deletions(-) commit 05d84a0a1e1f4f4cb750ab6828a1e09ffa73b0f0 Author: Jeff Muizelaar Date: Sat Jul 30 10:23:21 2005 +0000 Finish up merging the optimization work from jaymz. pixman/ChangeLog | 10 ++ pixman/src/ic.c | 316 +++++++++++++++++++++++-------------------------- pixman/src/icblt.c | 4 +- pixman/src/iccompose.c | 13 +- 4 files changed, 170 insertions(+), 173 deletions(-) commit bdfb7f4db0b48cf3882241b4b547082f68410567 Author: Jeff Muizelaar Date: Sat Jul 30 09:43:51 2005 +0000 s/uint(8|16|32)_t/CARD(8|16|32)/ pixman/ChangeLog | 17 +++ pixman/src/iccompose.c | 280 ++++++++++++++++++++++++------------------------- 2 files changed, 157 insertions(+), 140 deletions(-) commit 5ebf2c5d967fb84a2e102254421057af9bcd307a Author: Jeff Muizelaar Date: Sat Jul 30 08:48:25 2005 +0000 Add some optimizations from jaymz. Also adds some compile warnings that will hopefully go away as we continue merging. pixman/ChangeLog | 9 + pixman/src/ic.c | 595 +++++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 504 insertions(+), 100 deletions(-) commit 172e535ee05ab725ed1a951b31077843d112e7ca Author: Carl Worth Date: Fri Jul 29 15:35:19 2005 +0000 Remove completed 0.6 tasks. Add cairo_surface_flush to the cairo_surface_mark_dirty task. ChangeLog | 5 +++++ ROADMAP | 25 ++++--------------------- 2 files changed, 9 insertions(+), 21 deletions(-) commit ef4209a8a1fdcf7226bec2c6481a4f8239d63ec3 Author: Tor Lillqvist Date: Fri Jul 29 15:31:48 2005 +0000 src/cairo-quartz-surface.c (_cairo_quartz_surface_acquire_dest_image): Minor updates to keep quartz backend limping along. ChangeLog | 6 ++++++ src/cairo-atsui-font.c | 1 + src/cairo-quartz-surface.c | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) commit 449087745b520c64113102f5c62bc5a8beba6c98 Author: Owen Taylor Date: Fri Jul 29 12:45:01 2005 +0000 src/cairo-font.c src/cairo-ft-font.c src/cairo-win32-font.c src/cairoint.h: Move the font options into the base cairo_scaled_font_t object so that we have them available to use when we are removing a scaled font from the cache. (http://bugzilla.gnome.org/show_bug.cgi?id=#311299, Ali Akcaagac, Behdad Esfahbod) ChangeLog | 9 +++++++++ src/cairo-font.c | 8 ++++++++ src/cairo-ft-font.c | 7 ++----- src/cairo-win32-font.c | 4 +--- src/cairoint.h | 17 ++++++++++------- 5 files changed, 30 insertions(+), 15 deletions(-) commit a0ca6026ad0ea049198e17dbda379d4737078053 Author: Carl Worth Date: Thu Jul 28 15:58:09 2005 +0000 Run the mask pattern through the CTM in the same way as the source pattern. This fixes the bug demonstrated by the mask-ctm and mask-surface-ctm tests so they should no longer fail. ChangeLog | 7 +++++++ src/cairo-gstate.c | 16 ++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) commit 26289b366434103eda1dd619d8bad0e9394724d6 Author: Carl Worth Date: Thu Jul 28 15:55:00 2005 +0000 Add two new tests: mask-ctm mask-surface-ctm demonstrating that masks are not currently being modified by the CTM. ChangeLog | 13 +++++++ test/.cvsignore | 2 ++ test/Makefile.am | 6 ++++ test/mask-ctm-ref.png | Bin 0 -> 129 bytes test/mask-ctm.c | 82 ++++++++++++++++++++++++++++++++++++++++++ test/mask-surface-ctm-ref.png | Bin 0 -> 129 bytes test/mask-surface-ctm.c | 75 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 178 insertions(+) commit 5f6c5026e66c6325f2decf25300abede587fa4dc Author: Carl Worth Date: Thu Jul 28 15:38:50 2005 +0000 CC gnome-announce-list@gnome.org on cairo release announcements. ChangeLog | 5 +++++ RELEASING | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 3dd93a930f618df42f71c5961764753d0d53306b Author: Carl Worth Date: Thu Jul 28 14:58:25 2005 +0000 Add -head to LIBPIXMAN_VERSION after tagging with SNAPSHOT_0_1_6. pixman/ChangeLog | 5 +++++ pixman/RELEASING | 2 +- pixman/configure.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 6d8d18e2dcdb2c829ec25659c1397f258c6b5a6b Author: Carl Worth Date: Thu Jul 28 14:41:36 2005 +0000 Add notes for snapshot 0.1.6. Increment version to 0.1.6. pixman/ChangeLog | 6 ++++++ pixman/NEWS | 24 ++++++++++++++++++++++++ pixman/configure.in | 2 +- 3 files changed, 31 insertions(+), 1 deletion(-) commit 61e28ec71f5492671d633ccf9459b6654f33edd6 Author: Carl Worth Date: Thu Jul 28 12:45:26 2005 +0000 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_6_0. ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit b9861b3e877776c5fe5b8b30fe76ced8ff846923 Author: Carl Worth Date: Thu Jul 28 11:51:38 2005 +0000 Added notes for snapshot 0.6.0 Increment CAIRO_VERSION to 0.6.0 ChangeLog | 6 +++ NEWS | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 3 files changed, 153 insertions(+), 1 deletion(-) commit 0e0f2571a4e6a1d99f8a3fe6e357cb49a51c30e2 Author: Carl Worth Date: Thu Jul 28 11:46:01 2005 +0000 Remove const qualifiers that only make things happy with a from-cvs version of freetype. Now we should be back to being happy with a released version. ChangeLog | 11 +++++++++++ src/cairo-ft-font.c | 10 +++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit d4056b1d1570f1e7c8636a54d2cd1b2a2ca8eb9c Author: Carl Worth Date: Thu Jul 28 11:42:33 2005 +0000 Add missing cast. src/cairo-png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08e810f5c1d2c71eb44a800ac6e4b334436aa5cf Author: Carl Worth Date: Thu Jul 28 11:41:37 2005 +0000 Remove text-antialias-subpixel-ref.png from the list since it doesn't exist yet. ChangeLog | 6 ++++++ test/Makefile.am | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) commit 3f385a0330f4cf5775feada0cac1df9ef165a539 Author: Carl Worth Date: Thu Jul 28 11:34:47 2005 +0000 More doc/public/tmpl churn. ChangeLog | 4 ++++ doc/public/tmpl/cairo.sgml | 1 + 2 files changed, 5 insertions(+) commit 1481fa5132ab66de40de270668024bc07ed64bcf Author: Carl Worth Date: Thu Jul 28 11:33:11 2005 +0000 Add text-antialias-{gray|none|subpixel}-ref.png so they get distributed. ChangeLog | 6 ++++++ test/Makefile.am | 3 +++ 2 files changed, 9 insertions(+) commit e604017c77e5c4b755d447b6efdf489417002986 Author: Dave Beckett Date: Thu Jul 28 11:22:36 2005 +0000 Use cairo_surface_status(image) instead of testing for NULL from cairo_image_surface_create_from_png to enable testing when srcdir != builddir again. ChangeLog | 7 +++++++ test/cairo-test.c | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) commit ddae93c72c15bca63931d3db6cfa2d2e8d368e7d Author: Carl Worth Date: Thu Jul 28 10:51:37 2005 +0000 Note that consistent error handling is done now. ChangeLog | 4 ++++ NEWS | 6 ++++++ ROADMAP | 7 ++----- 3 files changed, 12 insertions(+), 5 deletions(-) commit 6efd4bf4d5f0f788db4020facb556d5b6aac1e6e Author: Carl Worth Date: Thu Jul 28 10:47:40 2005 +0000 Fix to call _cairo_error and return 0 on surface-type mismatch. ChangeLog | 6 ++++++ src/cairo-image-surface.c | 10 ++++++++++ 2 files changed, 16 insertions(+) commit 1e66aee352d092cbd39cac196cdf1b3681ec4c17 Author: Owen Taylor Date: Thu Jul 28 10:43:27 2005 +0000 configure.in Makefile.am: Skip tests/ directory if libpng was disabled. (#3423, reported by Steve Chaplin) ChangeLog | 5 +++++ Makefile.am | 8 +++++++- configure.in | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) commit a83124a3eeff1602c199a961b36d75a51ce96843 Author: Carl Worth Date: Thu Jul 28 10:41:08 2005 +0000 Fix so that one of three different error status values will be returned: CAIRO_STATUS_NO_MEMORY CAIRO_STATUS_FILE_NOT_FOUND CAIRO_STATUS_READ_ERROR Add new CAIRO_STATUS_FILE_NOT_FOUND. Add new _cairo_surface_nil_read_error and _cairo_surface_nil_file_not_found. Test the new FILE_NOT_FOUND error. ChangeLog | 21 +++++++++++++++++++++ src/cairo-png.c | 32 +++++++++++++++++++++----------- src/cairo-surface.c | 32 ++++++++++++++++++++++++++++++++ src/cairo.c | 4 +++- src/cairo.h | 4 +++- src/cairoint.h | 2 ++ test/create-from-png.c | 13 +++++++++++-- 7 files changed, 93 insertions(+), 15 deletions(-) commit fe44b2406d30fc89ac6579bdd749b5c76e9257d8 Author: Stuart Parmenter Date: Thu Jul 28 10:37:41 2005 +0000 src/cairo-win32-font.c src/cairo-win32-surface.c Use surface->base.status instead of just surface on cairo_win32_surface_t *s ChangeLog | 7 +++++++ src/cairo-win32-font.c | 4 ++-- src/cairo-win32-surface.c | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) commit cff61fbf0d85dfdebd8b522f8efda02ec2da412f Author: Owen Taylor Date: Thu Jul 28 10:24:59 2005 +0000 Disable PS surface build if no freetyp ChangeLog | 4 ++++ configure.in | 51 ++++++++++++++++++++++++++++----------------------- 2 files changed, 32 insertions(+), 23 deletions(-) commit 9c70498e72f86937e02101a13d02b429fb47efd2 Author: Owen Taylor Date: Thu Jul 28 10:15:35 2005 +0000 Pass -1 not 1 to RestoreDC to restore to the last SaveDC. (#3905, Stuart Parmenter ChangeLog | 6 ++++++ src/cairo-win32-font.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 95beb7be6720230f65c2d2c642efd71cbbc92873 Author: Owen Taylor Date: Thu Jul 28 10:02:54 2005 +0000 Patch from Martin Kretzschmar , #3798 prevent sign-extension of masks.*_mask on 64bit architectures. ditto. ChangeLog | 9 +++++++++ src/cairo-xcb-surface.c | 8 ++++---- src/cairo-xlib-surface.c | 8 ++++---- 3 files changed, 17 insertions(+), 8 deletions(-) commit 02c6aec91df93f523768e8bb6ff20c0fc0bc18fb Author: Owen Taylor Date: Thu Jul 28 09:54:03 2005 +0000 dest_image) src/cairo-quartz-surface.c (_cairo_quartz_surface_acquire_dest_image) src/cairo-xcb-surface.c (_cairo_xcb_surface_acquire_source,dest_image): src/cairo-xlib-surface.c (_cairo_xlib_surface_acquire_source,dest_image): Set image_extra to NULL to avoid purify warnings. (#3777, Stuart Parmenter) ChangeLog | 8 ++++++++ src/cairo-image-surface.c | 4 +++- src/cairo-quartz-surface.c | 1 + src/cairo-xcb-surface.c | 2 ++ src/cairo-xlib-surface.c | 4 +++- 5 files changed, 17 insertions(+), 2 deletions(-) commit 5d7c796c1830663772dd681026e2d5dd952826b8 Author: Carl Worth Date: Thu Jul 28 09:46:38 2005 +0000 Remove all create_in_error functions as they were just muddling up the memory management semantics: _cairo_path_data_create_in_error _cairo_pattern_create_in_error _cairo_surface_create_in_error Don't bother with extra check of other->status to anticipate and try to prevent cairo_surface_create_similar from returning through cairo_surface_create_in_error. Just return &_cairo_surface|pattern|path_nil rather than _cairo_surface|pattern|path_create_in_error. After checking surface->status from a cairo__surface_create function, just return CAIRO_STATUS_NO_MEMORY since that's the only error we'll get from one of these create functions. Remove unnecessary check for gstate == NULL; Fix old check for image == NULL instead of image->base.status. Add missing check of surface->image_base.status after creating surface->image. Add missing check of surface->base.status after creating surface. ChangeLog | 67 +++++++++++++++++++++++++++++++++++++++++ doc/public/tmpl/cairo-font.sgml | 1 + src/cairo-ft-font.c | 6 ++-- src/cairo-glitz-surface.c | 16 +++++----- src/cairo-gstate.c | 25 +++------------ src/cairo-image-surface.c | 4 +-- src/cairo-path-data-private.h | 5 ++- src/cairo-path-data.c | 34 +-------------------- src/cairo-pattern.c | 37 ++--------------------- src/cairo-png.c | 20 +++++++----- src/cairo-ps-surface.c | 8 ++--- src/cairo-quartz-surface.c | 5 +++ src/cairo-surface.c | 46 ++++++++++++---------------- src/cairo-win32-font.c | 2 +- src/cairo-win32-surface.c | 7 +++-- src/cairo-xcb-surface.c | 6 +++- src/cairo-xlib-surface.c | 12 ++++++-- src/cairo.c | 44 ++++++++++++--------------- src/cairoint.h | 8 ++--- 19 files changed, 173 insertions(+), 180 deletions(-) commit b9fe1b74665e528e6114bd833028a8f62ecfa869 Author: Owen Taylor Date: Thu Jul 28 09:29:46 2005 +0000 src/cairo-font.c src/cairoint.h: Define _cairo_font_face_nil. (cairo_font_face_reference, cairo_font_face_destroy cairo_font_face_set_user_data): Handle a nil font face. (cairo_font_face_status): New function. src/cairo-ft-font.c (cairo_ft_font_face_create_for_pattern): src/cairo-ft-font.c (cairo_ft_font_face_create_for_ft_face): src/cairo-win32-font.c (cairo_win32_font_face_create_for_logfontw): Return _cairo_font_face_nil on out-of-memory. Check return of _cairo_simple_font_face_create(). Error out if font_face has a status. Handle a nil surface. ChangeLog | 23 ++++++++++++++++++++ src/cairo-font.c | 57 +++++++++++++++++++++++++++++++++++++++++++------- src/cairo-ft-font.c | 26 +++++++++++++++++------ src/cairo-gstate.c | 21 ++++++++++++------- src/cairo-surface.c | 3 +++ src/cairo-win32-font.c | 6 ++++-- src/cairo.h | 3 +++ src/cairoint.h | 3 +++ 8 files changed, 120 insertions(+), 22 deletions(-) commit d7699f0c072a6820007280a167b86a95adf8a54e Author: Owen Taylor Date: Wed Jul 27 19:13:39 2005 +0000 Remove text-antialias-none which is now fixed. No longer xfail. ChangeLog | 7 +++++++ test/Makefile.am | 1 - test/text-antialias-none.c | 3 +-- 3 files changed, 8 insertions(+), 3 deletions(-) commit 7143d8b7aee74ed4d75985158bf3dda147f3d21d Author: Owen Taylor Date: Wed Jul 27 16:23:11 2005 +0000 Go back to returning NULL. src/cairoint.h src/cairo-ft-font.c: Stop exporting _cairo_scaled_font_nil, since we dont' need it publically any more. return surface->status not status. (Fixes warning) ChangeLog | 13 +++++++++++++ src/cairo-font.c | 2 +- src/cairo-ft-font.c | 4 ++-- src/cairo-surface.c | 2 +- src/cairo-win32-font.c | 6 ++---- src/cairoint.h | 2 -- 6 files changed, 19 insertions(+), 10 deletions(-) commit 2b5d9c8e007f4198b1c48bce53491842f065a759 Author: Carl Worth Date: Wed Jul 27 15:39:34 2005 +0000 Add CAIRO_STATUS_INVALID_CONTENT, CAIRO_STATUS_INVALID_FORMAT, and CAIRO_STATUS_INVALID_VISUAL. Change functions to return type of void: cairo_scaled_font_extents cairo_surface_finish Add new functions to query object status: cairo_scaled_font_status cairo_surface_status Implementation of new error handling scheme for cairo_surface_t and cairo_scaled_font_t. Track change in return value of cairo_surface_finish. ChangeLog | 42 +++++ doc/public/tmpl/cairo-surface.sgml | 1 + doc/public/tmpl/cairo.sgml | 3 + src/cairo-array.c | 5 + src/cairo-atsui-font.c | 3 - src/cairo-font.c | 113 +++++++++++-- src/cairo-ft-font.c | 35 ++-- src/cairo-glitz-surface.c | 63 +++++--- src/cairo-gstate.c | 38 +++-- src/cairo-image-surface.c | 76 +++++---- src/cairo-meta-surface.c | 6 +- src/cairo-path-data.c | 2 + src/cairo-pattern.c | 83 ++++++++-- src/cairo-pdf-surface.c | 24 ++- src/cairo-png.c | 38 +++-- src/cairo-ps-surface.c | 69 ++++---- src/cairo-quartz-surface.c | 17 +- src/cairo-surface.c | 322 +++++++++++++++++++++++++++--------- src/cairo-win32-font.c | 17 +- src/cairo-win32-surface.c | 42 +++-- src/cairo-xcb-surface.c | 33 ++-- src/cairo-xlib-surface.c | 52 +++--- src/cairo.c | 323 ++++++++++++++++++++----------------- src/cairo.h | 14 +- src/cairoint.h | 28 +++- test/surface-finish-twice.c | 9 +- 26 files changed, 994 insertions(+), 464 deletions(-) commit c884c4c541abe380500e24a55ec017677d56db19 Author: Owen Taylor Date: Wed Jul 27 15:04:03 2005 +0000 Turn off antialiasing for rendering to alpha surfaces. ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit 7b2b9df4e7b3c76b4dd40f865d7b6c55d3a0747c Author: Owen Taylor Date: Wed Jul 27 14:11:58 2005 +0000 Fix units for stride return to be FbStip-sized. : ---------------------------------------------------------------------- pixman/ChangeLog | 5 +++++ pixman/src/icint.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 255913de9ef5da40604d55ca8d0d53ac606f7710 Author: Carl Worth Date: Wed Jul 27 13:28:15 2005 +0000 Note that the XFAIL tests all need to be fixed before 1.0. Add three new tests for testing the various antialiasing options for text rendering. ChangeLog | 15 +++++++ ROADMAP | 4 ++ test/.cvsignore | 3 ++ test/Makefile.am | 8 ++++ test/text-antialias-gray-ref.png | Bin 0 -> 723 bytes test/text-antialias-gray.c | 77 ++++++++++++++++++++++++++++++++++++ test/text-antialias-none-ref.png | Bin 0 -> 277 bytes test/text-antialias-none.c | 78 +++++++++++++++++++++++++++++++++++++ test/text-antialias-subpixel.c | 82 +++++++++++++++++++++++++++++++++++++++ 9 files changed, 267 insertions(+) commit 8cb451962b4be046024264fd6251f26ea1bf033c Author: Carl Worth Date: Wed Jul 27 09:23:29 2005 +0000 Fix typo that caused cairo_image_surface_create_from_png_stream to segfault. Closes bug #3863 (thanks to Steve Chaplin). Add a test to actually call cairo_image_surface_create_from_png_stream. ChangeLog | 13 +++++ src/cairo-png.c | 2 +- test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/create-from-png-stream-ref.png | Bin 0 -> 100 bytes test/create-from-png-stream.c | 95 ++++++++++++++++++++++++++++++++++++ test/create-from-png.c | 4 +- 7 files changed, 116 insertions(+), 2 deletions(-) commit e859afecceb9e22ab8f42ca533c37a71b7ccec51 Author: Owen Taylor Date: Wed Jul 27 06:45:37 2005 +0000 Deal with glyphs with entry->im->image NULL. (This can happen if fonts have size-zero bitmaps for some characters, for example) (http://bugzilla.gnome.org/show_bug.cgi?id=311709, Sangu Kim) ChangeLog | 7 +++++ src/cairo-xlib-surface.c | 73 ++++++++++++++++++++++++++++++++---------------- 2 files changed, 56 insertions(+), 24 deletions(-) commit e056a72ec8316fa586d18d771923ace44c56291c Author: Owen Taylor Date: Wed Jul 27 04:07:46 2005 +0000 FreeType bitmaps may only be padded out to 8-bit boundaries, not 32-bit boundaries. (_render_glyph_bitmap): Fix sign error in using glyphslot->bitmap_left ChangeLog | 6 ++++++ src/cairo-ft-font.c | 21 +++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) commit 1467168326b57f11ae7080e8d9fc3816b6dc3a3c Author: David Reveman Date: Tue Jul 26 22:36:00 2005 +0000 Fix infinite loop bug in xlib backend ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit ea1218a434fb4077d27a4d8310e4ce3415102c58 Author: Carl Worth Date: Mon Jul 25 16:23:05 2005 +0000 Replace all occurences of refcount with ref_count. Replace refcounted with reference-counted. ChangeLog | 12 ++++++++++++ doc/public/language-bindings.xml | 2 +- src/cairo-font.c | 20 ++++++++++---------- src/cairo-ft-font.c | 4 ++-- src/cairo-glitz-surface.c | 10 +++++----- src/cairo-pdf-surface.c | 10 +++++----- src/cairoint.h | 6 +++--- 7 files changed, 38 insertions(+), 26 deletions(-) commit 85b74d82164e7908842d42bb1b11e8cf8c876b82 Author: Owen Taylor Date: Mon Jul 25 12:29:23 2005 +0000 src/cairo.[ch] src/cairo-gstate-private.h src/cairo-gstate.c src/cairoint.c: Add cairo_{get,set}_font_options(). Add cairo-xlib-private.h Update reviewed by: cworth ChangeLog | 11 +++++++++ doc/public/Makefile.am | 1 + doc/public/cairo-sections.txt | 2 ++ doc/public/tmpl/cairo-xlib-xrender.sgml | 1 + doc/public/tmpl/cairo-xlib.sgml | 1 + doc/public/tmpl/cairo.sgml | 18 ++++++++++++++ src/cairo-font-options.c | 2 +- src/cairo-gstate-private.h | 1 + src/cairo-gstate.c | 22 +++++++++++++++++ src/cairo.c | 43 +++++++++++++++++++++++++++++++++ src/cairo.h | 8 ++++++ src/cairoint.h | 8 ++++++ 12 files changed, 117 insertions(+), 1 deletion(-) commit fcd8867a47ce77163def423a37bb517870f6cc35 Author: Owen Taylor Date: Sun Jul 24 05:18:15 2005 +0000 Fix size of allocated buffer for vertical subpixel rendering. (Reported by Fryderyk Dziarmagowski, http://bugzilla.gnome.org/show_bug.cgi?id=310935) (_get_pattern_load_flags): Fix a problem where we were OR'ing multiple FT_LOAD_* flags together. Fix reversed check for subpixel or not. ChangeLog | 11 +++++++++++ src/cairo-ft-font.c | 20 +++++++++++++------- src/cairo-xlib-screen.c | 2 +- 3 files changed, 25 insertions(+), 8 deletions(-) commit 55e2a0a03128bff86765b14179dd87af792dc4cc Author: Carl Worth Date: Sat Jul 23 10:05:54 2005 +0000 Testing UseNewInfoFtmStrings hack commit c8d754803181105c53cd389c0dd762dd473630fb Author: Carl Worth Date: Sat Jul 23 09:54:54 2005 +0000 Testing UseNewInfoFtmStrings hack commit d527428bb6775c82b3c0cc6cbb364f08317a3d17 Author: Malcolm Tredinnick Date: Sat Jul 23 09:48:13 2005 +0000 Slight change to previous commit based on feedback from cworth. src/cairo.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 563dddd81cc06f1d17c1a6880b4e6a3e5d05da97 Author: Malcolm Tredinnick Date: Sat Jul 23 09:36:00 2005 +0000 Add some missing parameters for API docs. ChangeLog | 5 +++++ src/cairo-ft-font.c | 9 +++++---- src/cairo.h | 33 +++++++++++++++++++++++++++------ 3 files changed, 37 insertions(+), 10 deletions(-) commit 9fb898898ed3bc6458a365eac43861f1a77a08d0 Author: Owen Taylor Date: Sat Jul 23 05:37:23 2005 +0000 src/cairo-xlib-private.h src/cairo-xlib-screen.c: Switch to using Screen * not screen number to match surface code. Get the screen info for the right screen for the surface. ChangeLog | 8 ++++++++ src/cairo-xlib-private.h | 4 ++-- src/cairo-xlib-screen.c | 5 +++-- src/cairo-xlib-surface.c | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) commit 399b00a99b2bbc1c56a05974c936aa69a08021f5 Author: Owen Taylor Date: Fri Jul 22 15:15:15 2005 +0000 Protect against division by zero in various places. (http://bugzilla.gnome.org/show_bug.cgi?id=311299, reported by Ali Akcaag ChangeLog | 5 ++++ src/cairo-ft-font.c | 70 ++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 55 insertions(+), 20 deletions(-) commit 5fb1c8033358f45c523b07be6b7e36c91e772a58 Author: Owen Taylor Date: Fri Jul 22 07:15:57 2005 +0000 Patch from Tor Lillqvist Define TT_PRIM_CSPLINE if it wasn't in the headers. (_get_system_quality): Add missing variable smoothing_type. ChangeLog | 8 ++++++++ src/cairo-win32-font.c | 4 ++++ 2 files changed, 12 insertions(+) commit e9c321e66bb2b813783b1504011eb70bf8bdb3f6 Author: Carl Worth Date: Fri Jul 22 06:20:53 2005 +0000 Initial import of preliminary tutorial pieces. doc/tutorial/slides/.cvsignore | 7 + doc/tutorial/slides/Makefile | 7 + doc/tutorial/slides/cairo-blank.svg | 487 +++++++++++++++++++++++++ doc/tutorial/slides/cairo-code.svg | 508 +++++++++++++++++++++++++++ doc/tutorial/slides/cairo-separator.svg | 491 ++++++++++++++++++++++++++ doc/tutorial/slides/cairo-title.svg | 373 ++++++++++++++++++++ doc/tutorial/slides/cairo.svg | 508 +++++++++++++++++++++++++++ doc/tutorial/slides/circle-cairo-large.png | Bin 0 -> 3362 bytes doc/tutorial/slides/circle-cairo.png | Bin 0 -> 1429 bytes doc/tutorial/slides/circle-ooo-large.png | Bin 0 -> 1491 bytes doc/tutorial/slides/circle-ooo.png | Bin 0 -> 383 bytes doc/tutorial/slides/expander-fuzzy-large.png | Bin 0 -> 1300 bytes doc/tutorial/slides/expander-fuzzy.png | Bin 0 -> 296 bytes doc/tutorial/slides/expander-sharp-large.png | Bin 0 -> 929 bytes doc/tutorial/slides/expander-sharp.png | Bin 0 -> 183 bytes doc/tutorial/slides/fuzzies.svg | 11 + doc/tutorial/slides/jaggies.svg | 11 + doc/tutorial/slides/tutorial.xml | 468 ++++++++++++++++++++++++ doc/tutorial/src/.cvsignore | 7 + doc/tutorial/src/Makefile | 30 ++ doc/tutorial/src/cairo-tutorial-gtk.h | 116 ++++++ doc/tutorial/src/cairo-tutorial-pdf.h | 74 ++++ doc/tutorial/src/cairo-tutorial-png.h | 74 ++++ doc/tutorial/src/cairo-tutorial-xlib.h | 219 ++++++++++++ doc/tutorial/src/cairo-tutorial.h | 41 +++ doc/tutorial/src/circle.c | 22 ++ doc/tutorial/src/expander.c | 16 + 27 files changed, 3470 insertions(+) commit dd9d984ab90904f47faaf6d3de900c136add010e Author: Carl Worth Date: Fri Jul 22 02:04:59 2005 +0000 Get the case right. It's cairo, not Cairo. ChangeLog | 4 ++++ src/cairoint.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit a7b38c6826fe6f9d9a02ed94ddd5d955313f9c78 Author: Carl Worth Date: Thu Jul 21 21:02:11 2005 +0000 Note that sub-pixel text rendering is done now. ChangeLog | 4 ++++ ROADMAP | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 857c9fe1c4808ffe534de7eff0d3479cc439fbea Author: Owen Taylor Date: Thu Jul 21 18:12:21 2005 +0000 The FT_LOAD_TARGET_* flags aren't separate bitfields, but rather an embedded subfield, so test with FT_LOAD_TARGET_MODE (val->key.flags) == FT_RENDER_LCD, and similar. ChangeLog | 6 ++++++ src/cairo-ft-font.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit 3c0bfb39758172cca78611338de1848ea9595522 Author: Keith Packard Date: Thu Jul 21 14:31:28 2005 +0000 Add ARGB glyph support. Change Bi-level glyph support to use A1 format. Support bit/byte swapping of glyph image data in the Xlib backend. reviewed by: cworth, otaylor ChangeLog | 24 ++++ src/cairo-ft-font.c | 325 ++++++++++++++++++++++++++++++++++++++++------- src/cairo-xlib-surface.c | 218 ++++++++++++++++++++++++++++--- src/cairoint.h | 4 - 4 files changed, 504 insertions(+), 67 deletions(-) commit a3ad7dc0b9f3495d7797653ba2ffb326e92393fa Author: Carl Worth Date: Thu Jul 21 11:26:31 2005 +0000 Whitespace fixes. ChangeLog | 5 +++++ src/cairo-ft.h | 5 +++-- src/cairo-quartz.h | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) commit 9c6299c164e567311816a129125cf3a86148c018 Author: David Reveman Date: Thu Jul 21 08:50:20 2005 +0000 Fix empty glyph issue in glitz backend ChangeLog | 5 +++++ src/cairo-glitz-surface.c | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit b3dfbe94c3ec7713904cf5bd1872a0480f96f03a Author: Keith Packard Date: Thu Jul 21 08:45:57 2005 +0000 Add cairo_xlib_surface_set_drawable which changes the target drawable for an xlib cairo_t to another which shares the same format, screen and display. reviewed by: otaylor, cworth ChangeLog | 11 +++++++++++ ROADMAP | 2 +- src/cairo-xlib-surface.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ src/cairo-xlib.h | 6 ++++++ 4 files changed, 62 insertions(+), 1 deletion(-) commit 464ce69689045614a0c44037c77e1261c3fecda5 Author: Carl Worth Date: Thu Jul 21 07:41:20 2005 +0000 Note that cairo_font_options_t is done now. ChangeLog | 4 ++++ ROADMAP | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-) commit 075cf23cdc071b170e591fd07ff6c272d561d3ee Author: Owen Taylor Date: Thu Jul 21 06:52:13 2005 +0000 src/cairo-font-options.c src/cairo.h src/cairoint.h src/Makefile.am: Add an opaque cairo_font_options_t structure. src/cairo-font.c src/cairo.h src/cairoint.h: Add a cairo_font_options_t object to cairo_scaled_font_create(). src/cairo-surface.c src/cairoint.h: Add virtualized cairo_surface_get_font_options() to get the font options for a surface. Adapt to cairo_scaled_font_create() change. Add an implementation of get_font_options() that turns off metrics hinting. src/cairo-xlib-screen.c src/cairo-xlib-private.h: Add a "screen info" structure that holds (for now) information about the default font options for the screen. Implement get_font_options() src/cairo-ft-font.c src/cairo-ft.h: Add functions to apply a cairo_font_options_t to a FcPattern or get the load flags for a cairo_font_options_t. Adapt to font options additions. Add support for non-antialiased rendering of scalable fonts. Add support for turning off metrics hinting. Adapt to font options additions. doc/public/Makefile.am doc/public/cairo-sections.txt: Update. reviewed by: cworth ChangeLog | 37 +++ doc/public/Makefile.am | 3 + doc/public/cairo-sections.txt | 29 ++- doc/public/tmpl/cairo-font.sgml | 184 ++++++++++++++ doc/public/tmpl/cairo-ft.sgml | 9 + doc/public/tmpl/cairo-pattern.sgml | 23 ++ doc/public/tmpl/cairo-surface.sgml | 13 +- doc/public/tmpl/cairo.sgml | 27 +- src/Makefile.am | 3 +- src/cairo-font-options.c | 352 ++++++++++++++++++++++++++ src/cairo-font.c | 32 ++- src/cairo-ft-font.c | 504 ++++++++++++++++++++++++++----------- src/cairo-ft.h | 3 + src/cairo-gstate.c | 5 +- src/cairo-pdf-surface.c | 13 +- src/cairo-surface.c | 27 ++ src/cairo-win32-font.c | 101 +++++--- src/cairo-xlib-private.h | 54 ++++ src/cairo-xlib-screen.c | 345 +++++++++++++++++++++++++ src/cairo-xlib-surface.c | 22 +- src/cairo.h | 154 +++++++++++- src/cairoint.h | 17 ++ 22 files changed, 1762 insertions(+), 195 deletions(-) commit a43c9eb7b0b73493735ffa176154073604da33e6 Author: Carl Worth Date: Thu Jul 21 00:35:07 2005 +0000 Finally grepped through and fixed up the last remaining calls to cairo_pattern_release_surface. ChangeLog | 11 ++++++++++ src/cairo-glitz-surface.c | 56 ++++++++++++++++++++++++++++------------------- 2 files changed, 44 insertions(+), 23 deletions(-) commit 133d7f0b441d3ba255a9a36163e7446f24f7601b Author: Carl Worth Date: Wed Jul 20 23:30:08 2005 +0000 Fix yet another file that I missed when I made the cairo_pattern_release_surface change. You would think that I would have grepped for all uses of this function by now. ChangeLog | 8 ++++++++ src/cairo-xcb-surface.c | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit 63331a8d9218424ecf176b0b34a53fc8723fede9 Author: Carl Worth Date: Wed Jul 20 21:54:35 2005 +0000 Mark cairo_xlib_surface_create as complete. Move cairo_xlib_surface_set_drawable from 0.6 to 1.0 since it is an API addition, not a change. ChangeLog | 6 ++++++ ROADMAP | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) commit 689fdfb6ea7460aec6283414a79bbf17a2d03eae Author: Carl Worth Date: Wed Jul 20 19:23:19 2005 +0000 Fix macro to not consider CAIRO_FORMAT_ARGB32 (==0) as a valid cairo_content_t. ChangeLog | 7 +++++++ src/cairo.h | 8 +++++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit 88cf98fe334577fc3ecd84e179479b3b60f55c91 Author: Keith Packard Date: Wed Jul 20 18:52:31 2005 +0000 Add Screen* arguments to: cairo_xlib_surface_create_with_xrender_format cairo_xlib_surface_create_for_bitmap Required to correctly identify when two Xlib surfaces are compatible with Core and Render rendering requests. cairo_xlib_surface_create can determine the screen given the required Visual * reviewed by: otaylor ChangeLog | 27 +++++++++++ src/cairo-xlib-surface.c | 116 +++++++++++++++++++++++++++++++++-------------- src/cairo-xlib-xrender.h | 1 + src/cairo-xlib.h | 1 + test/cairo-test.c | 1 + 5 files changed, 112 insertions(+), 34 deletions(-) commit d1b1167ec5f5d89bec9f27f1e253cad0baba3b98 Author: Carl Worth Date: Wed Jul 20 18:31:17 2005 +0000 Move all API changes from 1.0 to 0.6. Other 1.0 API issues are strictly additions. ChangeLog | 5 +++ ROADMAP | 121 ++++++++++++++++++++------------------------------------------ 2 files changed, 43 insertions(+), 83 deletions(-) commit b0b2f8021a6eb60c3b0d434f65f1c636540aeeb6 Author: Carl Worth Date: Mon Jul 18 14:36:39 2005 +0000 Add valgrind suppressions for libpng/libz use of uninitialized data. There are clearly bugs here that are not cairo's fault as zeroing the buffer before writing the png image actually causes more errors(\!). And, notably, setting all the data to random bytes usually makes the errors go away. Change the check-valgrind target to include the .valgrind-suppresions file and to tee output into valgrind.log. ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd587375e327da08b5da01beccb1ebb8bb2d1e3d Author: Carl Worth Date: Mon Jul 18 14:35:54 2005 +0000 Add valgrind suppressions for libpng/libz use of uninitialized data. There are clearly bugs here that are not cairo's fault as zeroing the buffer before writing the png image actually causes more errors(\!). And, notably, setting all the data to random bytes usually makes the errors go away. Change the check-valgrind target to include the .valgrind-suppresions file and to tee output into valgrind.log. ChangeLog | 13 +++++++++++++ test/.valgrind-suppressions | 26 ++++++++++++++++++++++++++ test/Makefile.am | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) commit 0adea66c73bb8dec0e45a900815d98c029221219 Author: Carl Worth Date: Mon Jul 18 11:51:42 2005 +0000 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_2. ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 0e40baa9a7bd08abd15bfdc666c6e2d21d791e82 Author: Carl Worth Date: Mon Jul 18 09:23:33 2005 +0000 Fix the quartz backend so that it at least compiles again. This change is slipped in before 0.5.2 was pushed out and tagged. ChangeLog | 8 ++++++++ src/cairo-quartz-surface.c | 11 ++++------- 2 files changed, 12 insertions(+), 7 deletions(-) commit b65393917cade57d65ef92aa3510d7e3724f476d Author: Carl Worth Date: Mon Jul 18 08:31:24 2005 +0000 Added notes for snapshot 0.5.2 Increment CAIRO_VERSION to 0.5.2 ChangeLog | 6 +++++ NEWS | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 3 files changed, 81 insertions(+), 1 deletion(-) commit f0fae1d1bcde4f469cf6e00272fd4530875d283f Author: Carl Worth Date: Mon Jul 18 08:23:21 2005 +0000 Fix leak of pattern. ChangeLog | 5 +++++ test/composite-integer-translate-over-repeat.c | 1 + 2 files changed, 6 insertions(+) commit 751e059f5c506138c478fbcc2e9dfe8e92aaa3ab Author: Carl Worth Date: Mon Jul 18 08:04:16 2005 +0000 Note some progress. New helper function to help create an image surface from a PNG file, while taking the srcdir environment variable into consideration. Rename the pattern creating helper function to match. Use new cairo_test_create_surface_from_png so that non-srcdir builds work. Track change in cairo_test_create_pattern_from_png. ChangeLog | 19 +++++++++++++++++++ ROADMAP | 8 ++++---- test/cairo-test.c | 16 +++++++++++++--- test/cairo-test.h | 6 ++++-- test/composite-integer-translate-over.c | 2 +- test/composite-integer-translate-source.c | 2 +- test/mask.c | 2 +- test/trap-clip.c | 2 +- 8 files changed, 44 insertions(+), 13 deletions(-) commit 584954859ead08491cd5ed04aec54aae6b1048b8 Author: Carl Worth Date: Sun Jul 17 22:15:57 2005 +0000 Add note that Xlib caches need to be cleand up on close of display. BUGS | 7 +++++++ ChangeLog | 5 +++++ 2 files changed, 12 insertions(+) commit c36fd95f6ed1dbdb9c7053f8ba5c58623d6095b8 Author: Jeff Muizelaar Date: Sat Jul 16 11:27:32 2005 +0000 Add call to fbCompositeSrcSrc_nxn that I missed. pixman/ChangeLog | 5 +++++ pixman/src/ic.c | 6 ++++++ 2 files changed, 11 insertions(+) commit d3661b0d53bf0c3c4132d8d02f8527019d65fc6b Author: Carl Worth Date: Fri Jul 15 13:59:47 2005 +0000 Remove cairo_private qualifier from .c files, (we only need it in the .h files). ChangeLog | 6 ++++++ src/cairo-font.c | 2 +- src/cairo-surface.c | 18 +++++++++--------- 3 files changed, 16 insertions(+), 10 deletions(-) commit 8ad8aa63605610eaec78cdbfea321148c02be331 Author: Vladimir Vukicevic Date: Fri Jul 15 13:45:19 2005 +0000 Use XCopyArea when possible, for optimization and bug workaround. Exercise XCopyArea, XRenderComposite, and XSetTile/XFillRectangle paths for _cairo_xlib_surface_composite ChangeLog | 10 ++ ROADMAP | 2 +- src/cairo-xlib-surface.c | 117 +++++++++++++++------ test/.cvsignore | 3 + test/Makefile.am | 11 +- test/composite-integer-translate-over-ref.png | Bin 0 -> 15397 bytes ...composite-integer-translate-over-repeat-ref.png | Bin 0 -> 401 bytes test/composite-integer-translate-over-repeat.c | 61 +++++++++++ test/composite-integer-translate-over.c | 42 ++++++++ test/composite-integer-translate-source-ref.png | Bin 0 -> 16385 bytes test/composite-integer-translate-source.c | 42 ++++++++ 11 files changed, 255 insertions(+), 33 deletions(-) commit 2534057cb5df78eb5aa79c24317e4a97f6c0f2c6 Author: Carl Worth Date: Fri Jul 15 10:39:59 2005 +0000 Add new check-valgrind target for running the test suite under the influence of valgrind. Fix memory leak when reference image is not found. ChangeLog | 8 ++++++++ test/Makefile.am | 3 +++ test/buffer-diff.c | 4 +++- 3 files changed, 14 insertions(+), 1 deletion(-) commit 07d09acf2a9a8341f281cfe235325a52a20cd750 Author: Carl Worth Date: Fri Jul 15 01:38:38 2005 +0000 Fix a few memory leaks (missing cairo_pattern_destroy in 3 places). ChangeLog | 6 ++++++ test/mask.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 3a053c1e58962c3fb9eae11954651270244cabae Author: Carl Worth Date: Fri Jul 15 01:05:56 2005 +0000 Fix memory leak, (missing _cairo_pattern_fini). ChangeLog | 5 +++++ src/cairo-gstate.c | 1 + 2 files changed, 6 insertions(+) commit 89a9771b60906092cca1b5e7582be3ae140b9bc2 Author: Carl Worth Date: Fri Jul 15 00:56:58 2005 +0000 Remove errant line of code that was inadvertently committed recently. ChangeLog | 5 +++++ test/cairo-test.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) commit 3e05319bf8584d88fc34825d79c138f0e9f8a297 Author: Carl Worth Date: Thu Jul 14 17:55:58 2005 +0000 Fix leak of surface. ChangeLog | 4 ++++ test/surface-finish-twice.c | 2 ++ 2 files changed, 6 insertions(+) commit 6df1baa395ad11c1a22dd5279d6281b3ee149e94 Author: Carl Worth Date: Thu Jul 14 17:52:17 2005 +0000 Call _cairo_array_fini on the several array objects to patch memory leaks. ChangeLog | 6 ++++++ src/cairo-pdf-surface.c | 10 ++++++++++ 2 files changed, 16 insertions(+) commit df181620c0e6ca889013435d1ae5d0ffddfeec9d Author: Carl Worth Date: Thu Jul 14 16:56:08 2005 +0000 Eek. Yet _more_ fixups for _cairo_pattern_release_surface missed earlier. ChangeLog | 7 +++++++ src/cairo-xlib-surface.c | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit 174056f7364892b07177f9e7cbda2821ca6c9ac9 Author: Stuart Parmenter Date: Thu Jul 14 16:50:58 2005 +0000 blue and green values were swapped in the DO_SOURCE case. ChangeLog | 5 +++++ src/cairo-win32-surface.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 40edca337e3976ddca98caafcbab950000e66880 Author: Carl Worth Date: Thu Jul 14 16:18:39 2005 +0000 Rewrite to use cairo_image_surface_create_from_png rather than custom read_png_argb32. In addition to being simpler, this eliminates the leak of the image data buffer. Add calls to cairo_pattern_destroy to close two memory leaks. ChangeLog | 10 ++++++++++ test/cairo-test.c | 19 ++++++++----------- test/trap-clip.c | 2 ++ 3 files changed, 20 insertions(+), 11 deletions(-) commit d8500060a972de9ca0f202d9cfb73460446dfc17 Author: Carl Worth Date: Thu Jul 14 15:47:18 2005 +0000 Fix up one more call to _cairo_pattern_release_surface missed in the previous commit. ChangeLog | 6 ++++++ src/cairo-pattern.c | 50 ++++++++++++++++++++++++-------------------------- 2 files changed, 30 insertions(+), 26 deletions(-) commit 3cd006bb2b3986aefaf6cf9002735c430e4bc172 Author: Carl Worth Date: Thu Jul 14 15:10:47 2005 +0000 Fix to accept a cairo_pattern_t rather than a cairo_surface_t as the primary argument. Track change in _cairo_pattern_release_surface and also pass the appropriate pattern for each acquired surface. The previous backend mismatch was causing memory leaks. Remove stale comment. Add missing fclose to keep valgrind happy about memory leaks. ChangeLog | 19 +++++++++++++++++++ src/cairo-image-surface.c | 6 +++--- src/cairo-pattern.c | 13 +++++++++---- src/cairo-xlib-surface.c | 1 - src/cairoint.h | 2 +- test/xlib-surface.c | 4 ++++ 6 files changed, 36 insertions(+), 9 deletions(-) commit 288f0f7f49849c74c1025804ecb7076b3485b8f2 Author: Carl Worth Date: Thu Jul 14 12:50:28 2005 +0000 Make the per-backend test results print XFAIL rather than FAIL for expected failures. ChangeLog | 6 ++++++ test/cairo-test.c | 12 ++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) commit 6f6c9196c8248f469a9f3b54f886816430c86ac4 Author: Carl Worth Date: Thu Jul 14 12:25:41 2005 +0000 Fix comment describing test result. It's not enough that all tested backends are successful. We also require that at least one backend is actually tested. ChangeLog | 7 +++++++ test/cairo-test.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 456e3ffc4ddd496823dce6551b0545ce5c9530d4 Author: Carl Worth Date: Thu Jul 14 12:20:42 2005 +0000 Don't consider a test to fail if it can't create a surface at all (eg. no X server is available). Instead mark this backend as untested and only consider the overall test a success if all tested backend are successful. ChangeLog | 8 ++++++++ test/cairo-test.c | 31 ++++++++++++++++++++++++++----- test/cairo-test.h | 3 ++- 3 files changed, 36 insertions(+), 6 deletions(-) commit 0c3ee348f890879154089f23ea37bfaa2bfcd87a Author: Carl Worth Date: Thu Jul 14 11:48:40 2005 +0000 Add missing (putatively unreachable) return value. ChangeLog | 5 +++++ src/cairo-ps-surface.c | 1 + 2 files changed, 6 insertions(+) commit 14ea7b583b90142bcec829716a0077d969b847e3 Author: Carl Worth Date: Thu Jul 14 11:45:39 2005 +0000 Remove the copying of the region. This was a workaround for a missing copy bug in libpixman that has since been fixed. So now it was just a memory leak. ChangeLog | 7 +++++++ src/cairo-image-surface.c | 15 +-------------- 2 files changed, 8 insertions(+), 14 deletions(-) commit 171b053347c83d2a1f234b553510ef3f72f22f29 Author: Carl Worth Date: Thu Jul 14 11:41:00 2005 +0000 Whitespace fix. (pixman_image_destroy): Fix leak of the clip region associated with an image. (NOTE: xserver/render doesn't have the same bug since it has FreePicture that calls into both DestroyPicture and DestroyPictureClip separately). pixman/ChangeLog | 8 ++++++++ pixman/src/icimage.c | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 513e9e6fe5bbd8dda3e90c89d200f34104b27646 Author: Carl Worth Date: Thu Jul 14 11:24:56 2005 +0000 Patch memory leak of png_info object. ChangeLog | 5 +++++ src/cairo-png.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 574b702029894f035791a99600130b16f30ddd55 Author: Carl Worth Date: Thu Jul 14 11:17:12 2005 +0000 Rename create-for-png test to create-from-png to match the naming of the cairo_image_surface_create_from_png function. ChangeLog | 10 +++++++ test/.cvsignore | 2 +- test/Makefile.am | 6 ++-- test/create-for-png-ref.png | Bin 100 -> 0 bytes test/create-for-png.c | 69 -------------------------------------------- test/create-from-png.c | 4 +-- 6 files changed, 16 insertions(+), 75 deletions(-) commit c41e9d698f5dbc318819fb958618b704dbc5388a Author: Carl Worth Date: Thu Jul 14 11:11:15 2005 +0000 Patch a few memory leaks. ChangeLog | 6 ++++++ test/cairo-test.c | 47 ++++++++++++++++++++++++++--------------------- 2 files changed, 32 insertions(+), 21 deletions(-) commit 3a469446376eb23bd4a852417b0a319b914805b9 Author: Kristian Høgsberg Date: Wed Jul 13 12:32:51 2005 +0000 Use the _cairo_surface_*() functions when replaying. Fold the "locate fallbacks" pass into the postscript output pass, and add a simple, first implementation of image fallbacks. ChangeLog | 9 ++ src/cairo-meta-surface-private.h | 1 + src/cairo-meta-surface.c | 35 +++-- src/cairo-ps-surface.c | 286 +++++++++++++++++++-------------------- 4 files changed, 163 insertions(+), 168 deletions(-) commit aafc2e749725fab0684cce6e36b130f838696912 Author: Carl Worth Date: Wed Jul 13 11:34:37 2005 +0000 Rename CAIRO_FONT_BACKEND_DEFAULT to the more accurate CAIRO_SCALED_FONT_BACKEND_DEFAULT. ChangeLog | 7 +++++++ src/cairo-font.c | 3 ++- src/cairoint.h | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-) commit 6725cc9d7f9b44f930478c337073d372272407de Author: Carl Worth Date: Wed Jul 13 11:01:25 2005 +0000 New predicates to allow checking for cairo_ft derivates of generic font type. Add explicit checks for cairo_ft derivatives of generic fonts rather than just blindly assuming that's what we get. ChangeLog | 15 +++++++++++++++ src/cairo-font-subset.c | 4 ++++ src/cairo-ft-font.c | 12 ++++++++++++ src/cairo-ft-private.h | 6 ++++++ src/cairo-pdf-surface.c | 8 ++++++++ src/cairo-ps-surface.c | 12 ++++++++++++ 6 files changed, 57 insertions(+) commit dda555de995e2af3cc49e3e2ed9e2444c8622a55 Author: Carl Worth Date: Tue Jul 12 14:43:37 2005 +0000 Remove destroy notifier. This simplifies the implementation a bit, and no anticipated use of cairo_hash_table_t in cairo needs the destroy notifier. Most uses will be hash-backed object create/destroy functions. (_cairo_hash_table_destroy): Document that it is now a fatal error to call _cairo_hash_table_destroy on a non-empty hash table. (_cairo_hash_table_insert): Document that it is now a fatal error to insert an entry with a key that matches an existing entry. (_cairo_hash_table_random_entry): Add predicate function so that the user can select a random entry satisying the given predicate. (_cairo_hash_table_remove): Change return type to void since failure is really not possible here. ChangeLog | 22 +++++++++ src/cairo-hash-private.h | 25 +++++++---- src/cairo-hash.c | 115 +++++++++++++++++++++-------------------------- 3 files changed, 90 insertions(+), 72 deletions(-) commit efb413c084c51c08875ab2f356484718ff4f91dd Author: Carl Worth Date: Mon Jul 11 16:24:19 2005 +0000 Add note that glyph measurement performance needs to improve. ChangeLog | 1 + ROADMAP | 3 +++ 2 files changed, 4 insertions(+) commit 4329b709639c2dd3a6ec0cf113877323abfcbc2c Author: Carl Worth Date: Mon Jul 11 16:09:55 2005 +0000 Fix typo (cairo_ft_options_t -> cairo_font_options_t). ChangeLog | 1 + ROADMAP | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit abdaf7555f467e2df248430853e9dd8bf3c4056d Author: Carl Worth Date: Mon Jul 11 16:07:08 2005 +0000 Add cache lock deadlock problem to roadmap for 0.5.2. Disable mutex locks, (making the caches non-thread-safe again, just like they were in the last snapshot and before). ChangeLog | 8 ++++++++ ROADMAP | 9 +++++++++ src/cairoint.h | 48 ++++++++++++++++++++++++++++++++++++------------ 3 files changed, 53 insertions(+), 12 deletions(-) commit e9d42ab9f9b6def69c8de976fb3482b9559ffb9c Author: Carl Worth Date: Mon Jul 11 14:03:51 2005 +0000 ROADMAP: Add recent API change proposals (cairo_ft_options_t, cairo_xlib_surface_create needs to be screen aware, and cairo_xlib_surface_set_drawable). ChangeLog | 3 +++ ROADMAP | 15 +++++++++++++++ 2 files changed, 18 insertions(+) commit 9cddbaf8e6d4aef89017baf6bf10d8d34a47b0ef Author: Carl Worth Date: Mon Jul 11 13:37:43 2005 +0000 ROADMAP: Note progress on cairo_meta_surface_t, ARGB text, and group support. ChangeLog | 2 ++ ROADMAP | 11 ++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) commit 48e5806f1e30e1e46a18442a568ed99daab78f66 Author: Carl Worth Date: Mon Jul 11 13:29:45 2005 +0000 Note that the cairo_content_t work is done. Note that this function is computing an incorrect result. ChangeLog | 7 +++++++ ROADMAP | 4 ++-- src/cairo-arc.c | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) commit 2ff04df85219828c0058155ba7038a23bd264ebc Author: Jeff Muizelaar Date: Sat Jul 9 19:00:36 2005 +0000 Begin merging in newer fb code. The code comes from keithp: Initial import of Composite extension along with name change from Apportion. Added some accelerated code to fbpict to make this initial hack a bit faster. "real" extension bits to follow. pixman/ChangeLog | 12 ++++ pixman/src/ic.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 187 insertions(+), 2 deletions(-) commit 1d48dc6cdb653b95c4353613399972663c71e68e Author: Jeff Muizelaar Date: Sat Jul 9 18:13:14 2005 +0000 More misc merging. Mostly s/pixman_composite/fbComposite/. pixman/ChangeLog | 12 ++++++++++ pixman/src/ic.c | 72 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 48 insertions(+), 36 deletions(-) commit 36a57bcdcbb0025250bfa037fbd7e7c08819e43b Author: Jeff Muizelaar Date: Sat Jul 9 15:47:43 2005 +0000 More misc merging. Mostly stuff like s/uint32_t/CARD32/. pixman/ChangeLog | 16 ++ pixman/src/ic.c | 626 +++++++++++++++++++++++++++---------------------------- 2 files changed, 329 insertions(+), 313 deletions(-) commit 9a2ba48b298c3bf4b462e1030b105efaf9fd015c Author: Carl Worth Date: Fri Jul 8 10:12:28 2005 +0000 Give enum tags an underscore prefix to match the style of the struct tags. Add new cairo_content_t and change cairo_surface_create_similar to accept a cairo_content_t rather than a cairo_format_t. Change surface backend create_similar call to accept a cairo_content_t rather than a cairo_format_t. Fix all calls into create_similar to pass a cairo_content_t rather than a cairo_format_t. ChangeLog | 44 +++++++++++++++++++ src/cairo-glitz-surface.c | 41 +++++++++--------- src/cairo-gstate.c | 10 ++--- src/cairo-image-surface.c | 52 +++++++++++++++++++++-- src/cairo-meta-surface.c | 4 +- src/cairo-pattern.c | 2 +- src/cairo-pdf-surface.c | 4 +- src/cairo-ps-surface.c | 10 ++--- src/cairo-quartz-surface.c | 11 +++-- src/cairo-surface.c | 36 ++++++++++++---- src/cairo-win32-surface.c | 9 ++-- src/cairo-xcb-surface.c | 6 ++- src/cairo-xlib-surface.c | 8 ++-- src/cairo.h | 103 ++++++++++++++++++++++++++++----------------- src/cairoint.h | 14 ++++-- test/mask.c | 4 +- test/pixman-rotate.c | 2 +- test/source-clip.c | 2 +- 18 files changed, 256 insertions(+), 106 deletions(-) commit 9fd2f0a25c4954e839d79de00ff14b1990ae39eb Author: Carl Worth Date: Thu Jul 7 01:15:21 2005 +0000 Add a missing word. Note that the BadMatch bug has been resolved. CODING_STYLE | 4 ++-- ChangeLog | 6 ++++++ ROADMAP | 9 ++++++--- 3 files changed, 14 insertions(+), 5 deletions(-) commit f766e06d25334cd8d75d28d105b6a2fa62f08702 Author: Carl Worth Date: Wed Jul 6 14:52:01 2005 +0000 Remove CAIRO_STATUS_NO_TARGET_SURFAC and add CAIRO_STATUS_INVALID_STATUS. Don't check for gstate->target == NULL anymore as the API now guarantees it never occurs. Check that path->status is a valid status value and cause an INVALID_STATUS error otherwise. Test the new CAIRO_STATUS_INVALID_STATUS error case in cairo_append_path. ChangeLog | 18 ++++++++++++++++++ src/cairo-gstate.c | 9 --------- src/cairo.c | 18 +++++++++++++----- src/cairo.h | 27 ++++++++++++++------------- test/path-data.c | 15 +++++++++++++++ 5 files changed, 60 insertions(+), 27 deletions(-) commit eb12e493084ace63cebf9eb95b07953a952a817f Author: Carl Worth Date: Wed Jul 6 11:23:39 2005 +0000 Require libpixman >= 0.1.5, (since 0.1.4 crashes on some X servers). ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit ad0e040fb6625c9fcc76b99c65f3caff098fd256 Author: Carl Worth Date: Tue Jul 5 22:30:59 2005 +0000 Disable the compilation of the _ps_locate_fallbacks code which, inaddition to being broken, appears to not currently be used. ChangeLog | 6 ++++++ src/cairo-ps-surface.c | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) commit e314e86cc1eb5feafee621ece4be79d897eb2850 Author: David Reveman Date: Mon Jul 4 03:58:43 2005 +0000 Use frame buffer objects for accelerated offscreen drawing in glitz backend ChangeLog | 9 +++ configure.in | 2 +- src/cairo-glitz-surface.c | 156 ++++++++++++++++++---------------------------- 3 files changed, 72 insertions(+), 95 deletions(-) commit 7a923e6dddcefa643ef059e8eef0ebeba7e383ee Author: Kristian Høgsberg Date: Fri Jul 1 12:45:35 2005 +0000 Rewrite postscript backend to generate more interesting output than the current big-image implementation, using meta surfaces for font subsetting and image fallbacks. Remove obsolete comment. Make a couple of stylistic changes and add _cairo_output_stream_write_hex_string. Add _cairo_surface_intersect_clip_path so we can replay path clipping. ChangeLog | 15 + src/cairo-meta-surface.c | 6 - src/cairo-output-stream.c | 28 +- src/cairo-ps-surface.c | 1261 +++++++++++++++++++++++++++++++++++++++------ src/cairo-surface.c | 17 + src/cairoint.h | 11 + 6 files changed, 1167 insertions(+), 171 deletions(-) commit 7ab5dbfa7547bd0d8a99e4d0fcd34d8a55722a11 Author: Kristian Høgsberg Date: Fri Jul 1 12:22:23 2005 +0000 Add meta surface implementation. Add cairo-meta-surface.c and cairo-meta-surface-private.h ChangeLog | 8 + src/Makefile.am | 2 + src/cairo-meta-surface-private.h | 151 ++++++++++ src/cairo-meta-surface.c | 601 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 762 insertions(+) commit 4e01c4aa2f8427113153fe569b6cf22388ba0882 Author: Carl Worth Date: Wed Jun 29 17:05:31 2005 +0000 Remove debugging printfs. ChangeLog | 7 ++++++- src/cairo-hash.c | 4 ---- 2 files changed, 6 insertions(+), 5 deletions(-) commit aad6dce6bc9adc829e719345c5df954d9464cefb Author: Carl Worth Date: Wed Jun 29 17:02:37 2005 +0000 Add _cairo_hash_table_random_entry. Fix to update live_entries. style changes. Add code to shrink table as well as to grow it. Call new version of resize so that table will grow or shrink as needed on insert and remove. ChangeLog | 18 +++++++ src/cairo-hash-private.h | 5 +- src/cairo-hash.c | 138 +++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 139 insertions(+), 22 deletions(-) commit e7ffbb4179b388304d4aadda66eb6c641758f91b Author: Carl Worth Date: Wed Jun 29 15:02:10 2005 +0000 Rewrite hash table to use a single cairo_hash_entry_t* rather than void *key and void *value. This is slightly more painful to use, but lends itself to a more memory-efficient implementation. Add documentation. ChangeLog | 12 ++ src/cairo-hash-private.h | 58 ++++++--- src/cairo-hash.c | 332 +++++++++++++++++++++++++---------------------- 3 files changed, 235 insertions(+), 167 deletions(-) commit 82f244eca84b37886bd0b118dc44ec04342d7a26 Author: Carl Worth Date: Wed Jun 29 07:04:34 2005 +0000 Rework the cache code as a hast table with a much simpler interface, (no object derviation is required to use it). Remove extraneous prototype for non-existent _cairo_cache_reference. ChangeLog | 14 ++ src/cairo-hash-private.h | 85 +++++++ src/cairo-hash.c | 643 ++++++++++++++++++++--------------------------- src/cairoint.h | 3 - 4 files changed, 374 insertions(+), 371 deletions(-) commit 5ab8a3085ee4c5cab7d07d233530d74c2d978d94 Author: Kristian Høgsberg Date: Tue Jun 28 15:58:42 2005 +0000 New functions to create a cairo_pattern_t corresponding to a solid color and a translucent color respectively. Document a few pattern functions. ChangeLog | 7 +++ src/cairo-pattern.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo.c | 37 +++---------- src/cairo.h | 8 +++ 4 files changed, 171 insertions(+), 29 deletions(-) commit e7442a4523603642c4805058140a7ad23fc0489d Author: Tor Lillqvist Date: Tue Jun 28 15:03:53 2005 +0000 Implement. reviewed by: otaylor ChangeLog | 7 +++ src/cairo-win32-font.c | 133 +++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 135 insertions(+), 5 deletions(-) commit 6d65ee6fc40ed1dcf7cc2f50413afc207520b299 Author: Owen Taylor Date: Tue Jun 28 13:28:53 2005 +0000 Also flag older XFree86 servers as buggy-repeat. ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 3 +++ 2 files changed, 8 insertions(+) commit e0982300cad9cf9873c28f69e025dd9a278934f0 Author: Tor Lillqvist Date: Tue Jun 28 11:52:42 2005 +0000 Prevent crash on empty string. ChangeLog | 5 +++++ src/cairo-atsui-font.c | 17 ++++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) commit f3b7d3dfd8d2bec03969bc5a52fb41473b88c747 Author: Owen Taylor Date: Tue Jun 28 05:02:27 2005 +0000 Fix stray commit marker ChangeLog | 1 - 1 file changed, 1 deletion(-) commit 3b0c3d0ee84f991347df12249f944c780dde99f8 Author: Keith Packard Date: Sat Jun 25 23:24:19 2005 +0000 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 ChangeLog | 33 ++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ src/cairo-cache.c | 24 ++++++++++++++-------- src/cairo-font.c | 28 ++++++++++++++++--------- src/cairo-ft-font.c | 6 ++++-- src/cairo-hash.c | 24 ++++++++++++++-------- src/cairo-xlib-surface.c | 53 +++++++++++++++--------------------------------- src/cairoint.h | 23 +++++++++++++++++++++ 8 files changed, 132 insertions(+), 67 deletions(-) commit 574f7f560bf2cc851ad4f3267840e37fa06611fa Author: Jeff Muizelaar Date: Sat Jun 25 15:03:17 2005 +0000 Merge over most of the low-hanging renames from xserver/fb. pixman/ChangeLog | 34 +++ pixman/src/ic.c | 30 +-- pixman/src/icblt.c | 34 +-- pixman/src/icbltone.c | 32 +-- pixman/src/iccompose.c | 498 ++++++++++++++++++------------------- pixman/src/icint.h | 296 ++++++++++++---------- pixman/src/icrop.h | 18 +- pixman/src/icutil.c | 2 +- pixman/src/pixman-xserver-compat.h | 4 +- 9 files changed, 501 insertions(+), 447 deletions(-) commit be38e07c4e511c075f9a30c67a4385bbb1d30594 Author: Jeff Muizelaar Date: Sat Jun 25 14:41:38 2005 +0000 Fix broken build on older gcc's caused by overzealous s/IC_/FB_/g pixman/ChangeLog | 5 +++++ pixman/src/icint.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 5f0e8de3e5721d55328b6b06922f7b29b49cc5cb Author: Owen Taylor Date: Sat Jun 25 13:51:22 2005 +0000 Add mostly useless (other than perhaps 90-degree rotation) code for transforming bitmap glyphs. ChangeLog | 8 +++- src/cairo-ft-font.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 142 insertions(+), 2 deletions(-) commit 13a27d19d4e8748a4233b70cdd4a223865d3d57c Author: Carl Worth Date: Sat Jun 25 02:00:17 2005 +0000 From: J. Ali Harlow" Reviewed by: Vladimir Vukicevic Update win32 backend to match current API, so it actually builds once again. ChangeLog | 22 ++++++++++++++++++++++ src/cairo-win32-surface.c | 19 +++++++++++-------- test/Makefile.am | 4 ++-- 3 files changed, 35 insertions(+), 10 deletions(-) commit 64d5b34a9843e63d36c605abe7cdd56bacabccee Author: Jeff Muizelaar Date: Fri Jun 24 20:13:19 2005 +0000 s/Ic/Fb/g This gets read of most of the [Ii][cC]'s the rest will probably dealt with on a case by case basis. trimmed function list again. pixman/ChangeLog | 26 +++ pixman/src/ic.c | 108 +++++----- pixman/src/icblt.c | 268 +++++++++++------------ pixman/src/icbltone.c | 174 +++++++-------- pixman/src/iccolor.c | 20 +- pixman/src/iccompose.c | 288 ++++++++++++------------- pixman/src/icformat.c | 10 +- pixman/src/icimage.c | 36 ++-- pixman/src/icimage.h | 70 +++--- pixman/src/icint.h | 426 ++++++++++++++++++------------------- pixman/src/icpixels.c | 28 +-- pixman/src/icrect.c | 6 +- pixman/src/icrop.h | 66 +++--- pixman/src/icstipple.c | 20 +- pixman/src/ictrap.c | 6 +- pixman/src/ictri.c | 20 +- pixman/src/icutil.c | 4 +- pixman/src/pixman-xserver-compat.h | 2 +- 18 files changed, 802 insertions(+), 776 deletions(-) commit 42fc090745c8d262b8348b9f7a6c204e9a9b2379 Author: Jeff Muizelaar Date: Fri Jun 24 18:28:19 2005 +0000 selective s/Ic/fb/g. I took out the list of functions because it was ridiculously long. pixman/ChangeLog | 16 ++ pixman/src/ic.c | 96 +++++----- pixman/src/icblt.c | 34 ++-- pixman/src/icbltone.c | 96 +++++----- pixman/src/iccompose.c | 466 ++++++++++++++++++++++++------------------------- pixman/src/icimage.h | 2 +- pixman/src/icint.h | 30 ++-- pixman/src/icrop.h | 26 +-- pixman/src/icstipple.c | 2 +- pixman/src/icutil.c | 42 ++--- 10 files changed, 413 insertions(+), 397 deletions(-) commit 43e3e7eeff6ff0f9fc0b161f70dfa0f5071a087e Author: Jeff Muizelaar Date: Fri Jun 24 18:21:15 2005 +0000 s/IC_/FB_/g dd #define FB_BITS IC_BITS so that FB_BITS get defined early enough pixman/ChangeLog | 18 ++++ pixman/src/ic.c | 4 +- pixman/src/icblt.c | 106 +++++++++++------------ pixman/src/icbltone.c | 76 ++++++++--------- pixman/src/icint.h | 168 ++++++++++++++++++------------------- pixman/src/icpixels.c | 6 +- pixman/src/icrop.h | 4 +- pixman/src/icstipple.c | 6 +- pixman/src/icutil.c | 16 ++-- pixman/src/pixman-xserver-compat.h | 2 + pixman/src/pixman.h | 3 +- 11 files changed, 215 insertions(+), 194 deletions(-) commit d469cc18eb21f69f8546f1d35ea44509c6eac329 Author: Carl Worth Date: Fri Jun 24 15:14:31 2005 +0000 Remove stray character. ChangeLog | 5 +++++ src/cairo-ft-font.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 05e2ffa00ad672d33f1c204237f54a006f2e5c94 Author: Carl Worth Date: Fri Jun 24 15:09:41 2005 +0000 Prefer descriptive variable names over single-character names. Remove unneeded XGlpyhInfo field from glyphset_cache_entry_t. ChangeLog | 12 +++++ src/cairo-xlib-surface.c | 135 +++++++++++++++++++++++------------------------ 2 files changed, 78 insertions(+), 69 deletions(-) commit 87008a44d3043e48376cb3bee3702226ec5bcac7 Author: Owen Taylor Date: Fri Jun 24 15:06:40 2005 +0000 Handle rendering bitmap glyphslots as well as outline glyphslots. When setting the scale for a non-scalable font, use the nearest available size (FreeType won't set the glyph metrics otherwise.) ChangeLog | 9 ++ src/cairo-ft-font.c | 269 ++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 218 insertions(+), 60 deletions(-) commit 81fa936fd2153e62411a5fbd3e8e5a43bc493d74 Author: Jeff Muizelaar Date: Thu Jun 23 19:41:07 2005 +0000 s/IcCombine/fbCombine/ pixman/ChangeLog | 31 ++++++ pixman/src/iccompose.c | 272 ++++++++++++++++++++++++------------------------- 2 files changed, 167 insertions(+), 136 deletions(-) commit e77d9776ae5217e9317209815b3195366a84f70f Author: Jeff Muizelaar Date: Thu Jun 23 19:39:12 2005 +0000 s/pixman_compositeOperand/FbCompositeOperand/g. pixman/ChangeLog | 59 ++++++ pixman/src/iccompose.c | 552 ++++++++++++++++++++++++------------------------- pixman/src/icimage.h | 20 +- 3 files changed, 345 insertions(+), 286 deletions(-) commit 373e7f68b1c076eab08f2bc6b249dae4e8ac9bf4 Author: Jeff Muizelaar Date: Thu Jun 23 19:35:45 2005 +0000 s/pixman_bits_t/FbBits/s pixman/ChangeLog | 31 ++++++++++++++ pixman/src/ic.c | 14 +++--- pixman/src/icblt.c | 80 +++++++++++++++++----------------- pixman/src/icbltone.c | 44 +++++++++---------- pixman/src/iccompose.c | 114 ++++++++++++++++++++++++------------------------- pixman/src/icimage.c | 6 +-- pixman/src/icstipple.c | 8 ++-- 7 files changed, 164 insertions(+), 133 deletions(-) commit aa07c01cb5d1f0c41067ee005b6db4481d5d8b58 Author: Jeff Muizelaar Date: Thu Jun 23 19:33:34 2005 +0000 more merging: 630. Fix incorrect datatype for the pixmap width in fbCompositeSrcAdd_8000x8000(), and add some small optimisations (#A.1423, Keith Packard). pixman/ChangeLog | 12 +++++++++++- pixman/src/ic.c | 36 ++++++++++++++++++++++-------------- 2 files changed, 33 insertions(+), 15 deletions(-) commit 81ec18369736888bea6d4d79d0de6ed00e8ca802 Author: Jeff Muizelaar Date: Thu Jun 23 19:30:12 2005 +0000 Start the xserver/fb -> libpixman merging with a copy optimization. pixman/ChangeLog | 7 +++++++ pixman/src/icblt.c | 26 +++++++++++++++++++++++++- pixman/src/icint.h | 1 + 3 files changed, 33 insertions(+), 1 deletion(-) commit adeff84bc2eba19bb3f667297e594a1ef86ae2a9 Author: Carl Worth Date: Thu Jun 23 15:52:37 2005 +0000 Add ARGB text to 1.0 roadmap. ChangeLog | 4 ++++ ROADMAP | 2 ++ 2 files changed, 6 insertions(+) commit 609ef32bfa13c09d3a6de5c6631458109445eda0 Author: Owen Taylor Date: Thu Jun 23 13:05:07 2005 +0000 Improve last ChangeLog entry a bit ChangeLog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ff27263f3968d8f97534ce218bfde0392908cf6c Author: Owen Taylor Date: Thu Jun 23 12:58:49 2005 +0000 Only unpremultiply ARGB32 data. Call png_write_info() *before* we set up the write conversion... it doesn't work after. ChangeLog | 6 ++++++ src/cairo-png.c | 47 ++++++++++++++++++++++++++++++++++++----------- 2 files changed, 42 insertions(+), 11 deletions(-) commit 3b20ab66b89527c25c1fbfff8ed1ff672196520f Author: Carl Worth Date: Thu Jun 23 12:45:38 2005 +0000 Add workaround for Render's overlapping source/dest bug to the 0.5.2 roadmap. ChangeLog | 5 +++++ ROADMAP | 4 ++++ 2 files changed, 9 insertions(+) commit 03c7b6aa7a5d2b97b7f892296f2a46ae56dde5b2 Author: Carl Worth Date: Wed Jun 22 22:12:09 2005 +0000 Add link to BadMatch bug. ChangeLog | 6 ++++-- ROADMAP | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) commit b04b434db189904b108ab5167e61a286ea8225d2 Author: Carl Worth Date: Wed Jun 22 17:09:08 2005 +0000 Update ROADMAP with some comments on 0.5.2. Add documentation for cairo_set_source_surface and fix some typos in other documentation blocks. ChangeLog | 6 ++++++ ROADMAP | 16 ++++++++-------- src/cairo.c | 29 ++++++++++++++++++++++++++--- 3 files changed, 40 insertions(+), 11 deletions(-) commit 687f3d78d6b1fe1fb03980c70537bea331bbcf28 Author: Øyvind KolÃ¥s Date: Wed Jun 22 09:49:48 2005 +0000 minor whitespace and spellfix ChangeLog | 4 ++++ doc/public/language-bindings.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit b1130276d59a219e70d43dd1d199ddf391fa3330 Author: Kristian Høgsberg Date: Tue Jun 21 15:38:51 2005 +0000 Split out font subsetting code from here, and put it here. ChangeLog | 7 + src/Makefile.am | 91 +++--- src/cairo-font-subset-private.h | 68 +++++ src/cairo-font-subset.c | 645 +++++++++++++++++++++++++++++++++++++++ src/cairo-pdf-surface.c | 657 ++-------------------------------------- 5 files changed, 784 insertions(+), 684 deletions(-) commit 7283ba6d470950e0e49f33fc25f3358113dda51e Author: Tor Lillqvist Date: Tue Jun 21 09:54:58 2005 +0000 allow building against < 10.3 SDK. ChangeLog | 4 ++++ src/cairo-atsui-font.c | 12 ++++++++++++ 2 files changed, 16 insertions(+) commit adee31be18e20112c7da49675b93d37cc66ee263 Author: Carl Worth Date: Mon Jun 20 17:06:10 2005 +0000 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_1. ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 86869f02b9206eaeac331ff8945dacf4d840df98 Author: Carl Worth Date: Mon Jun 20 17:01:36 2005 +0000 Force distcheck to enable gtk-doc. ChangeLog | 4 ++++ Makefile.am | 2 ++ doc/public/tmpl/cairo.sgml | 19 ------------------- 3 files changed, 6 insertions(+), 19 deletions(-) commit d7ef15d4b48820a072e4f4525fa83b23dc2cdf5d Author: Carl Worth Date: Mon Jun 20 16:35:40 2005 +0000 Added notes for snapshot 0.5.1 Increment CAIRO_VERSION to 0.5.1 ChangeLog | 6 ++++ NEWS | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 3 files changed, 109 insertions(+), 1 deletion(-) commit 74e3cc672f4b687d48caabe53a9c611868e27904 Author: Carl Worth Date: Mon Jun 20 16:31:17 2005 +0000 Fix abbreviated ChangeLog ChangeLog | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ea2a04d901947106d15978c077cad61b7b7c9b26 Author: Owen Taylor Date: Mon Jun 20 15:48:46 2005 +0000 Workaround for https://bugs.freedesktop.org/show_bug.cgi?id=3566 Detect servers with a bug in repeating surfaces by checking vendor string and version. For such surfaces Save clip rects when setting a clip region on a surface so that we set the right clip for the surface's GC if we create it later. ChangeLog | 13 +++ doc/public/tmpl/cairo.sgml | 19 +++ src/cairo-xlib-surface.c | 282 ++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 300 insertions(+), 14 deletions(-) commit 1ce9be95415c43b9db73b80f2641cc3a8eee9215 Author: Carl Worth Date: Mon Jun 20 12:54:15 2005 +0000 Make out parameters optional. Style cleanup. ChangeLog | 5 +++++ src/cairo-matrix.c | 42 +++++++++++++++++++++++------------------- 2 files changed, 28 insertions(+), 19 deletions(-) commit ab668278b060f3708bd1418c5707ceda74b9e2b4 Author: Carl Worth Date: Mon Jun 20 11:09:51 2005 +0000 Abstract CAIRO_ALPHA_IS_OPAQUE out for general internal use. Optimize to defer to cairo_paint if the alpha value is actually opaque. ChangeLog | 9 +++++++++ src/cairo-pattern.c | 2 +- src/cairo.c | 5 +++++ src/cairoint.h | 2 ++ 4 files changed, 17 insertions(+), 1 deletion(-) commit f15ec64e7f2cfb9071c05ec072e49f364dbc4164 Author: Carl Worth Date: Mon Jun 20 09:59:23 2005 +0000 Rip out cairo_set_error_notfiy function as it is clear that it is not the right approach. Remove error-notify test. ChangeLog | 12 +++++ doc/public/tmpl/cairo.sgml | 19 -------- src/cairo-private.h | 3 -- src/cairo.c | 32 -------------- src/cairo.h | 14 ------ test/.cvsignore | 1 - test/Makefile.am | 2 - test/error-notify.c | 108 --------------------------------------------- 8 files changed, 12 insertions(+), 179 deletions(-) commit 3b8da5f213c3d0cf4357b29207639357241938bb Author: Carl Worth Date: Fri Jun 17 23:22:20 2005 +0000 Remove references to repeat and matrix fields that no longer exist. ChangeLog | 5 +++++ doc/public/tmpl/cairo-pattern.sgml | 4 ++-- doc/public/tmpl/cairo.sgml | 23 +++++++++++++++++++++-- src/cairo-xcb-surface.c | 3 --- 4 files changed, 28 insertions(+), 7 deletions(-) commit 92222f8bcaca41304ddd6a49a7e9d731a6a15820 Author: Owen Taylor Date: Fri Jun 17 16:19:08 2005 +0000 Fix width/height typo. ChangeLog | 6 ++++++ src/cairo-xcb-surface.c | 2 +- src/cairo-xlib-surface.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 66f8b1202ed82e4e88a63c6c385aded852186e68 Author: Kristian Høgsberg Date: Fri Jun 17 13:25:19 2005 +0000 Remove matrix, filter and repeat from the cairo_surface_t struct. ChangeLog | 10 ++++++++++ src/cairo-glitz-surface.c | 3 --- src/cairo-image-surface.c | 6 +++--- src/cairo-pattern.c | 6 ------ src/cairo-pdf-surface.c | 2 +- src/cairo-surface.c | 4 ---- src/cairo-xlib-surface.c | 3 --- src/cairoint.h | 16 ---------------- 8 files changed, 14 insertions(+), 36 deletions(-) commit 9318742aa434c1e8dd7c71ae07632383f8f7c59b Author: Carl Worth Date: Fri Jun 17 11:24:24 2005 +0000 cairo_reference and cairo_destroy shouldn't behave differently when cr->status indicates an error. Fix this bug that just slipped back in. Remove useless conditional return at the end of a void function. Fix so that after calling _cairo_error the most that any cairo entry function ever does is return a previously computed value. ChangeLog | 14 ++++++++++++++ src/cairo.c | 39 +++++++++++++++++++-------------------- 2 files changed, 33 insertions(+), 20 deletions(-) commit c71f0904f19beb7b5916fc229fe02c78ab296bae Author: Kristian Høgsberg Date: Fri Jun 17 10:48:47 2005 +0000 Remove the path clipping entry from the list. ChangeLog | 4 ++++ TODO | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) commit 7c811e0ac604e71ab67937c5a0842a6d01c67fbe Author: Carl Worth Date: Thu Jun 16 12:31:56 2005 +0000 update documentation build stuff doc/public/cairo-sections.txt | 2 ++ doc/public/tmpl/cairo-pattern.sgml | 2 ++ doc/public/tmpl/cairo.sgml | 2 ++ 3 files changed, 6 insertions(+) commit d6eca5a45f220d806491af518ba8ce16b524e01d Author: Carl Worth Date: Thu Jun 16 12:20:46 2005 +0000 Reorder fields of cairo_private_t to match initialization order. Call error_notify callback if set. (cairo_create): Initialize error_notify callback to NULL. (cairo_set_error_notify): New function to allow the user to set an error notify callback. New cairo_set_error_notify prototye. New test for cairo_set_error_notify. ChangeLog | 17 +++++++++ src/cairo-private.h | 8 +++- src/cairo.c | 39 +++++++++++++++++-- src/cairo.h | 14 +++++++ test/.cvsignore | 1 + test/Makefile.am | 2 + test/error-notify.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 184 insertions(+), 5 deletions(-) commit 18c2d12b9ed98aea7f8ebe2b97b9406a6acb4d29 Author: Carl Worth Date: Wed Jun 15 16:52:11 2005 +0000 Add CAIRO_STATUS_DESTROYED to TODO list. Note progress on consistent error handling. Fix typo in documentation comment for _cairo_surface_get_current_clip_serial. ChangeLog | 9 +++++++++ ROADMAP | 4 +++- TODO | 1 + src/cairo-surface.c | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) commit 615d50976735a544da6888dc608495d130878400 Author: Owen Taylor Date: Wed Jun 15 16:04:19 2005 +0000 Remove --only-section-tmpl; it doesn't really work currently :-(. ChangeLog | 5 + doc/public/Makefile.am | 2 +- doc/public/tmpl/cairo-font.sgml | 121 ++++ doc/public/tmpl/cairo-ft.sgml | 36 ++ doc/public/tmpl/cairo-glitz.sgml | 9 + doc/public/tmpl/cairo-matrix.sgml | 131 ++++ doc/public/tmpl/cairo-pattern.sgml | 154 +++++ doc/public/tmpl/cairo-pdf.sgml | 33 + doc/public/tmpl/cairo-png.sgml | 40 ++ doc/public/tmpl/cairo-ps.sgml | 33 + doc/public/tmpl/cairo-quartz.sgml | 11 + doc/public/tmpl/cairo-surface.sgml | 75 +++ doc/public/tmpl/cairo-win32.sgml | 45 ++ doc/public/tmpl/cairo-xcb-xrender.sgml | 13 + doc/public/tmpl/cairo-xcb.sgml | 35 ++ doc/public/tmpl/cairo-xlib-xrender.sgml | 13 + doc/public/tmpl/cairo-xlib.sgml | 35 ++ doc/public/tmpl/cairo.sgml | 1039 +++++++++++++++++++++++++++++++ src/cairo-ft-font.c | 2 +- src/cairo-win32-font.c | 2 +- 20 files changed, 1831 insertions(+), 3 deletions(-) commit a3906e65aaca3a9aaee0f42e49a53585f684ef3e Author: Owen Taylor Date: Wed Jun 15 12:44:52 2005 +0000 Use a clip region when rendering a non-solid pattern through a rectangular path ... trapezoid rasterization is just too slow to use that path when we aren't forced to do so. ChangeLog | 7 +++++++ src/cairo-gstate.c | 25 ++++++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) commit fac3cd46b38d8ad45e0f6b1d112318cce289a8b4 Author: Carl Worth Date: Wed Jun 15 10:58:52 2005 +0000 (cairo_test_for_target): And add missing parenthesis. ChangeLog | 1 + test/cairo-test.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 0b122003e7b1e45d28b535a5f5577544d1666510 Author: Carl Worth Date: Wed Jun 15 10:56:31 2005 +0000 Track removal of cairo_status_string. ChangeLog | 4 ++++ test/cairo-test.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) commit ac17f1ce68b829908e6329890b08eb7ef47d9910 Author: Carl Worth Date: Wed Jun 15 10:54:00 2005 +0000 Add cairo_finish to TODO list. Note that cairo_satus_string has now been removed. ChangeLog | 5 +++++ TODO | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 4834b8e7f0be882e08ce0166750eb69e161e2a2c Author: Carl Worth Date: Wed Jun 15 10:52:01 2005 +0000 Remove cairo_status_string function which can now be replaced by: cairo_status_to_string (cairo_status (cr)); This allows consistent handling of status values for things like cairo_pattern_status where there is now cairo_pattern_status_string function. ChangeLog | 12 ++++++++++++ src/cairo.c | 6 ------ src/cairo.h | 6 ++---- 3 files changed, 14 insertions(+), 10 deletions(-) commit e3c92f26134460117e58bf37bd6a5d2c90ca49a6 Author: Carl Worth Date: Wed Jun 15 10:46:49 2005 +0000 Add _cairo_error so we have a single function which all errors can pass through. This allows the user to set a breakpoint on error and will allow us to augment error handling later as necessary. Make all assignements to cr->status go through the new _cairo_error function. Remove CAIRO_CHECK_SANITY macro. ChangeLog | 41 ++++ src/cairo.c | 639 ++++++++++++++++++++++++++++++++++-------------------------- 2 files changed, 400 insertions(+), 280 deletions(-) commit e749cf524caafe1c20c8ceba510974abb490a67e Author: Carl Worth Date: Wed Jun 15 10:41:41 2005 +0000 Remove cairo-atsui section since cairo-atsui.h is currently empty. Add cairo_path_data_type_t and cairo_path_data_t. Add pdf-clip and pdf-clip.pdf. ChangeLog | 8 ++++++++ doc/public/cairo-sections.txt | 7 ++----- test/.cvsignore | 2 ++ 3 files changed, 12 insertions(+), 5 deletions(-) commit 476fe9a66e2be74e65fe2f4e42bda5f4c8b244a0 Author: Kristian Høgsberg Date: Tue Jun 14 19:45:22 2005 +0000 Implement path clipping and refactor _cairo_gstate_clip() out in three different functions corresponding to the three different clipping modes. Add NULL pointers for intersect_clip_path. New test case to exercise PDF clipping code. ChangeLog | 36 ++++++++ src/cairo-glitz-surface.c | 1 + src/cairo-gstate-private.h | 16 +++- src/cairo-gstate.c | 222 +++++++++++++++++++++++++++++++-------------- src/cairo-image-surface.c | 1 + src/cairo-pdf-surface.c | 101 +++++++++++++++++++-- src/cairo-ps-surface.c | 1 + src/cairo-quartz-surface.c | 1 + src/cairo-surface.c | 116 +++++++++++++++-------- src/cairo-win32-surface.c | 1 + src/cairo-xcb-surface.c | 1 + src/cairo-xlib-surface.c | 1 + src/cairoint.h | 71 +++++++++++---- test/Makefile.am | 11 ++- test/pdf-clip.c | 134 +++++++++++++++++++++++++++ 15 files changed, 583 insertions(+), 131 deletions(-) commit 663e39a63c6ae223dc3095d29fd95bc8885c74f2 Author: Carl Worth Date: Tue Jun 14 15:38:15 2005 +0000 Remove Boolean 'drawable' parameter from the create_similar surface backend function since nothing anywhere is actually using this parameter. ChangeLog | 23 +++++++++++++++++++++++ src/cairo-glitz-surface.c | 9 ++++----- src/cairo-image-surface.c | 1 - src/cairo-pdf-surface.c | 1 - src/cairo-ps-surface.c | 1 - src/cairo-quartz-surface.c | 1 - src/cairo-surface.c | 6 ++---- src/cairo-win32-surface.c | 2 -- src/cairo-xcb-surface.c | 3 +-- src/cairo-xlib-surface.c | 3 +-- src/cairoint.h | 2 -- 11 files changed, 31 insertions(+), 21 deletions(-) commit d2ddfe42a9d66a8b369afb75e6e758af145def3e Author: Tor Lillqvist Date: Tue Jun 14 14:12:00 2005 +0000 Correct extents for text with a general tranform. ChangeLog | 5 +++++ src/cairo-win32-font.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit bb7eeeb7498dad5b6bd70d1497b049a80d77af11 Author: Carl Worth Date: Tue Jun 14 11:58:14 2005 +0000 Remove comment suggesting ambiguity of whether cairo_get_target references the surface, (we decided as part of the API shakeup that cairo functions returning pointers to internal objects do not automatically take a reference). ChangeLog | 7 +++++++ src/cairo.h | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) commit 8084fb9b095fb28d39d26f223e73be1867d4f0bc Author: Carl Worth Date: Mon Jun 13 16:53:52 2005 +0000 Add new _cairo_pattern_create_in_error. Propagate error values from cr->status to pattern->status. ChangeLog | 9 +++++++++ src/cairo-pattern.c | 31 +++++++++++++++++++++++++++++++ src/cairo.c | 4 +--- src/cairoint.h | 3 +++ 4 files changed, 44 insertions(+), 3 deletions(-) commit 14ae3ce3ade3448f3c3d6ae0344ab4785afa96aa Author: Carl Worth Date: Mon Jun 13 16:36:40 2005 +0000 No longer need to check for NULL after creating a pattern. Propagate status errors from pattern->status to cr->status. Originally 2005-05-08 Owen Taylor : src/cairo-pattern.c src/cairoint.h: If allocation of pattern objects fails, return special static nil pattern objects. If adding a color stop fails to allocate memory, set pattern->status. (And fix a memory leak.) Make public functions return when pattern->status is set, (and no longer return a cairo_status_t). src/cairo-pattern.c src/cairo.h doc/public/cairo-sections.txt: Add cairo_pattern_status() Check the status of gstate->source and of mask patterns passed in. ChangeLog | 25 ++++++ doc/public/cairo-sections.txt | 1 + src/cairo-gstate.c | 24 +++++- src/cairo-pattern.c | 188 ++++++++++++++++++++++++++++++------------ src/cairo.c | 34 +++++--- src/cairo.h | 16 ++-- src/cairoint.h | 6 +- 7 files changed, 219 insertions(+), 75 deletions(-) commit 15fb5e0d27a1fc7743894792a168980363df5d71 Author: Carl Worth Date: Mon Jun 13 16:35:03 2005 +0000 Originally 2005-05-08 Owen Taylor : If cairo_create() fails, return a special static object, cairo_nil. Don't return early if cr->status is set. cr->status should not affect reference counting. Ignore any magic object with a reference count of -1. ChangeLog | 14 ++++++++++++++ src/cairo.c | 26 ++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) commit 01e1844e9ceb58edb3ef6351f2163264611635fe Author: Carl Worth Date: Mon Jun 13 16:29:26 2005 +0000 Originally 2005-06-02 Carl Worth : Add a status field to cairo_path_t. Add documentation for the new approach for handling errors in these functions---always returning a valid pointer with at least a status. (cairo_append_path): Propagate path status errors to the context. Add note to documentation on initializing path->status. Add missing cairo_private qualifier to a couple functions. Track new status field in cairo_path_t. (cairo_path_destroy): Don't destroy cairo_path_nil. Add documentation. (_cairo_path_data_create): (_cairo_path_data_create_flat): (_cairo_path_data_append_to_context): Add documentation. (_cairo_path_data_create_in_error): New function to create a placeholder cairo_path_t just to propagate a cairo_status_t error. ChangeLog | 26 ++++++++++++ src/cairo-path-data-private.h | 11 ++--- src/cairo-path-data.c | 98 ++++++++++++++++++++++++++++++++++++------- src/cairo.c | 50 +++++++++++++++++----- src/cairo.h | 1 + 5 files changed, 156 insertions(+), 30 deletions(-) commit 730fb40455118894d970c0cb1a9b37880660889e Author: Carl Worth Date: Sat Jun 11 01:09:15 2005 +0000 Make these functions static, which allows slightly less awkward error handling within them. ChangeLog | 8 ++++++++ src/cairo-gstate.c | 22 ++++++++++++++++------ src/cairoint.h | 13 ------------- 3 files changed, 24 insertions(+), 19 deletions(-) commit df19a5aa7e0aa37a0d33eb3946f5492db0307ff3 Author: Carl Worth Date: Sat Jun 11 00:06:04 2005 +0000 Provide font-backend-specific macros for FONT_FAMILY_DEFAULT. Change CAIRO_FT_FONT_FAMILY_DEFAULT from "serif" to "" to allow the actual default to come from the system/user configuration. ChangeLog | 7 +++++++ src/cairoint.h | 10 +++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit ff2dee65bdff0e3bce239a6617b7acb680d5ad27 Author: Carl Worth Date: Fri Jun 10 23:47:23 2005 +0000 Pull the enum out from inside cairo_path_data_t and give it a name of cairo_path_data_type_t. This allows C++ programs to see the enum values. It also allows variables to be declared of this type for manually constructing a cairo_path_t. ChangeLog | 7 +++++++ src/cairo.h | 14 ++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) commit 4c37790a22a029332d182dc21bff4a72a976bbf8 Author: Carl Worth Date: Fri Jun 10 13:23:24 2005 +0000 Add 'consistent error handling' to 1.0 roadmap. (This isn't new, we just forgot to list it here before). Big cleanup to remove finished items. Also, split the file up to separate TODO items that affect the API from items that do not. ChangeLog | 3 +++ ROADMAP | 4 ++++ 2 files changed, 7 insertions(+) commit 2a1c88064508938124c0700b8939303c579df188 Author: Carl Worth Date: Fri Jun 10 13:19:45 2005 +0000 Big cleanup to remove finished items. Also, split the file up to separate TODO items that affect the API from items that do not. ChangeLog | 8 ++- TODO | 183 ++++++++++++++++++++++++++------------------------------------ 2 files changed, 83 insertions(+), 108 deletions(-) commit 6cd484a4c0d6a6a67c1922746a2c21b5f46bff38 Author: Carl Worth Date: Fri Jun 10 12:46:49 2005 +0000 Originally: 2005-06-09 Carl Worth Rework occurrences of 'if (status == CAIRO_STATUS_SUCCESS)' to use 'if (status)' instead where trivial. ChangeLog | 14 ++++++++++++++ src/cairo-pdf-surface.c | 8 +++++--- src/cairo-xcb-surface.c | 16 ++++++++++------ src/cairo-xlib-surface.c | 16 ++++++++++------ 4 files changed, 39 insertions(+), 15 deletions(-) commit 31dcb954fe2b8269563dbcd05c9ce0c1ca2f9a16 Author: Carl Worth Date: Fri Jun 10 12:18:20 2005 +0000 Remove STATUS_OK macro which was not being used universally. ChangeLog | 18 ++++++++++++++++ src/cairo-font.c | 12 +++++------ src/cairo-ft-font.c | 6 +++--- src/cairo-glitz-surface.c | 22 ++++++++++++-------- src/cairo-gstate.c | 52 +++++++++++++++++++++++------------------------ src/cairo-image-surface.c | 6 +++--- src/cairo-pattern.c | 2 +- src/cairo-pdf-surface.c | 4 ++-- src/cairo-png.c | 10 ++++++--- src/cairo-surface.c | 10 ++++----- src/cairo-win32-font.c | 32 ++++++++++++++++------------- src/cairo-win32-surface.c | 34 ++++++++++++++++--------------- src/cairo-xcb-surface.c | 6 +++--- src/cairo-xlib-surface.c | 6 +++--- src/cairoint.h | 2 -- 15 files changed, 127 insertions(+), 95 deletions(-) commit e6eef091152a7bcdcc6119224fa1aa1bfea5a823 Author: Carl Worth Date: Thu Jun 9 12:27:02 2005 +0000 Remove trailing comma from enum values which gcc 4.0 does not want to see (Luis Villa). Closes bug #3502. ChangeLog | 5 +++++ src/cairo.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 23976d00b2cfb4640a0e0119247ae7d8f7f2ad73 Author: Owen Taylor Date: Thu Jun 9 07:26:40 2005 +0000 Add -I$(top_builddir)/src for cairo-features.h (Tomasz Cholewo) ChangeLog | 5 +++++ test/Makefile.am | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit c1c8c57b90659287e43c2fd591e74df4c696cb09 Author: Keith Packard Date: Tue Jun 7 23:28:12 2005 +0000 Font matrix was output incorrectly; the implicit mirror-in-y transformation was not computed correctly, missing a negation of the 'xy' component. ChangeLog | 7 +++++++ src/cairo-pdf-surface.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 4f2f520dcec441be34628d233456ad252ff14f58 Author: Carl Worth Date: Fri Jun 3 16:45:46 2005 +0000 Allow NULL as a valid value for several objects. That is, calling reference or destroy on these objects will simply do nothing, successfully. Remove extra whitespace. ChangeLog | 20 ++++++++++++++++++++ src/cairo-atsui-font.c | 1 - src/cairo-font.c | 31 +++++++++++++++++++++++++++---- src/cairo-ft-font.c | 7 +++++++ src/cairo-glitz-surface.c | 2 +- src/cairo-path-data.c | 17 +++++++++++++++++ src/cairo-pdf-surface.c | 6 ++++++ src/cairo-win32-font.c | 3 +++ 8 files changed, 81 insertions(+), 6 deletions(-) commit 7b4a65dba4b37111ec56b9cbb5d462bc08d4b0db Author: Kristian Høgsberg Date: Fri Jun 3 16:40:15 2005 +0000 When clipping, update the clip surface to a new surface the size of the intersection of the old clip surface and the extents of the new clip path. ChangeLog | 6 ++++ src/cairo-gstate.c | 75 ++++++++++++++++++++++++++++++++++++++---------- test/clip-twice-ref.png | Bin 751 -> 1191 bytes test/clip-twice.c | 6 ++++ 4 files changed, 72 insertions(+), 15 deletions(-) commit 7c47633b2c74e329f04b9f1ebde4c05c409d73c0 Author: Carl Worth Date: Fri Jun 3 16:22:26 2005 +0000 Remove unused cache->refcount and _cairo_cache_reference(). Remove gratuitous nesting as recommended in CODING_STYLE. ChangeLog | 9 +++++++++ src/cairo-cache.c | 28 ++++++++-------------------- src/cairo-hash.c | 28 ++++++++-------------------- src/cairoint.h | 1 - 4 files changed, 25 insertions(+), 41 deletions(-) commit 756e991b91465c6da933368d66f19e54849815dd Author: Carl Worth Date: Fri Jun 3 16:16:44 2005 +0000 Fix name of _cairo_user_data_array_destroy to be _cairo_user_data_array_fini. ChangeLog | 8 ++++++++ src/cairo-array.c | 6 +++--- src/cairo-font.c | 2 +- src/cairo-surface.c | 2 +- src/cairoint.h | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) commit 42c1fb7c918ceb7920ddc8b6b75b38fd757d3a06 Author: Carl Worth Date: Fri Jun 3 16:08:28 2005 +0000 Rename functions to match the naming scheme used by cairo-cache.c and all other users of it. Though it's quite likely that glitz had this right and now everything could be changed to match it instead. I'll save that for some day when we're cleaning up the cache code. ChangeLog | 12 ++++++++++++ src/cairo-glitz-surface.c | 14 +++++++------- 2 files changed, 19 insertions(+), 7 deletions(-) commit 97ac61700ae8d2fcf055fdad12533671895f539b Author: Carl Worth Date: Fri Jun 3 15:56:52 2005 +0000 Fix spelling errors. CODING_STYLE | 6 +++--- ChangeLog | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) commit 56990720358ea18b026f952101ddd674a5fbb268 Author: Carl Worth Date: Fri Jun 3 15:54:40 2005 +0000 Fix Freudian unwrapped line in paragraph describing why long lines should be wrapped. CODING_STYLE | 5 +++-- ChangeLog | 7 ++++++- src/cairo-gstate-private.h | 1 - 3 files changed, 9 insertions(+), 4 deletions(-) commit 36beed9bf1b3ddef42e0fb1a46035ed4a6afa4f7 Author: Carl Worth Date: Fri Jun 3 14:51:57 2005 +0000 Add CODING_STYLE document to standardize on some style issues. Standardize brace handling around all else clauses according to new CODING_STYLE guidelines. CODING_STYLE | 211 ++++++++++++++++++++++++++++++++++++++++++++++ ChangeLog | 21 ++++- src/cairo-atsui-font.c | 6 +- src/cairo-cache.c | 6 ++ src/cairo-ft-font.c | 5 +- src/cairo-glitz-surface.c | 6 +- src/cairo-gstate.c | 4 + src/cairo-hash.c | 6 ++ src/cairo-matrix.c | 2 + src/cairo-pattern.c | 16 +++- src/cairo-pdf-surface.c | 6 +- src/cairo-spline.c | 16 ++-- src/cairo-wideint.c | 6 +- src/cairo-win32-font.c | 3 +- src/cairo-xlib-surface.c | 13 ++- 15 files changed, 297 insertions(+), 30 deletions(-) commit f87fd91bcf06a1e7a9332005b5d88d6b55c82548 Author: Kristian Høgsberg Date: Fri Jun 3 10:28:42 2005 +0000 Patch from Tomasz Cholewo : Store the index of the checksum instea of a pointer to the location. ChangeLog | 8 ++++++++ src/cairo-pdf-surface.c | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit bb00e0fce5a92693e20fde64b039fd4d105b82eb Author: Carl Worth Date: Fri Jun 3 09:38:39 2005 +0000 Move internal convenience up from _cairo_gstate_set_source_solid to _cairo_set_source_solid so that all set_source functions flow through cairo_set_source. ChangeLog | 9 +++++++++ src/cairo-gstate.c | 18 ------------------ src/cairo.c | 20 ++++++++++++++++++-- src/cairoint.h | 4 ---- 4 files changed, 27 insertions(+), 24 deletions(-) commit 4914eac983a92b7c424c217fdbaf13bb772cb1b9 Author: Carl Worth Date: Wed Jun 1 13:36:20 2005 +0000 Remove obsolete _cairo_gstate_set_target_surface, folding its contents into _cairo_gstate_init, most of which disappears due to constant folding. Ensure that gstate->next is initialized even if _cairo_pattern_create_solid fails. Remove unused _cairo_xcb_surface_set_clip_region. ChangeLog | 11 +++++++++ src/cairo-gstate.c | 60 ++++--------------------------------------------- src/cairo-xcb-surface.c | 8 ------- 3 files changed, 15 insertions(+), 64 deletions(-) commit c56938e568b3c4a5118e2f050214bb1906329153 Author: Carl Worth Date: Wed Jun 1 13:24:10 2005 +0000 Rename CAIRO_OK to STATUS_OK. No intended changes in functionality. ChangeLog | 18 ++++++++++++++++++ src/cairo-font.c | 12 ++++++------ src/cairo-ft-font.c | 6 +++--- src/cairo-glitz-surface.c | 6 +++--- src/cairo-gstate.c | 48 +++++++++++++++++++++++------------------------ src/cairo-image-surface.c | 6 +++--- src/cairo-pattern.c | 2 +- src/cairo-pdf-surface.c | 4 ++-- src/cairo-png.c | 6 +++--- src/cairo-surface.c | 10 +++++----- src/cairo-win32-font.c | 26 ++++++++++++------------- src/cairo-win32-surface.c | 4 ++-- src/cairo-xcb-surface.c | 6 +++--- src/cairo-xlib-surface.c | 6 +++--- src/cairoint.h | 2 +- 15 files changed, 90 insertions(+), 72 deletions(-) commit 045ba795dabacbb9153015ce0d4cb0881cd0d863 Author: Carl Worth Date: Wed Jun 1 13:19:52 2005 +0000 Rename gstate->surface to gstate->target. No intended changes in functionality. ChangeLog | 6 +++ src/cairo-gstate-private.h | 2 +- src/cairo-gstate.c | 114 ++++++++++++++++++++++----------------------- 3 files changed, 64 insertions(+), 58 deletions(-) commit 6c62cf76435153c6fdc165d229ee02e52c5c0db5 Author: Carl Worth Date: Wed Jun 1 13:13:10 2005 +0000 Remove unused fields from cairo_gstate_t, (font_family, font_slant, font_weight). Reorder fields to match between declaration and initialization and to put the most problematic fields (surface and source) at the end. No intended changes in functionality. ChangeLog | 9 +++++++++ src/cairo-gstate-private.h | 14 +++++--------- src/cairo-gstate.c | 14 +++++++------- 3 files changed, 21 insertions(+), 16 deletions(-) commit 707a2c97a1cb709ccf60899576467b898f658481 Author: Carl Worth Date: Wed Jun 1 13:10:57 2005 +0000 Add self-intersecting to the list of expected failures. ChangeLog | 5 +++++ test/Makefile.am | 1 + 2 files changed, 6 insertions(+) commit 48fbc201c787512076934c40f15e173dbff771c3 Author: Carl Worth Date: Wed Jun 1 11:03:50 2005 +0000 Add self-intersecting test which demonstrates the long-standing bug with stroking self-intersecting paths. ChangeLog | 9 +++++ test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/self-intersecting-ref.png | Bin 0 -> 242 bytes test/self-intersecting.c | 89 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) commit 37a48e674c575eaf36a3d9e8d84ea21f70da9a5b Author: Carl Worth Date: Wed Jun 1 00:29:24 2005 +0000 Fix bug in converting box to rectangle that left clip_rect.height uninitialized, (leading to unpredictable, intermittent test failures). ChangeLog | 7 +++++++ src/cairo-gstate.c | 2 +- src/cairo-traps.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) commit 7bb6dfdaa2cd1c7b6c673edce27045678938bd18 Author: Carl Worth Date: Tue May 31 16:05:06 2005 +0000 Add new function cairo_status_to_string an reimplement cairo_status_string in terms of the new function. ChangeLog | 7 +++++++ doc/public/cairo-sections.txt | 1 + doc/public/tmpl/cairo-win32.sgml | 2 -- doc/public/tmpl/cairo-xcb-xrender.sgml | 2 -- doc/public/tmpl/cairo-xlib-xrender.sgml | 2 -- src/cairo.c | 10 ++++++++-- src/cairo.h | 3 +++ 7 files changed, 19 insertions(+), 8 deletions(-) commit 63428d3cc77bc08d1db9e228ddf37a153a0cc221 Author: Olivier Andrieu Date: Thu May 26 17:35:35 2005 +0000 : Fix memory leak ChangeLog | 7 ++++++- src/cairo-path-data.c | 16 ++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) commit ae96f5db6cb357ae9432d66a9590e11e6c7d9cca Author: Keith Packard Date: Thu May 26 13:02:31 2005 +0000 Split clipping into separate source and destination operand clips. By default, source operands are not affected by any client clipping. This matches the desired semantics for cairo. When this code is ported back to the X server, that will have to select the clipping option which clip source operands to the client clip. pixman/ChangeLog | 15 +++++++++++++++ pixman/src/iccompose.c | 20 +++++++++++++------- pixman/src/icimage.c | 37 ++++++++++++++++++++++++++++++++----- pixman/src/icimage.h | 9 ++++++--- 4 files changed, 66 insertions(+), 15 deletions(-) commit 45a966f69528c86dd6e3d4736805803b80de9f9b Author: Keith Packard Date: Thu May 26 11:35:44 2005 +0000 Replace nesting-only surface clipping with gstate contained serial-number tracked clipping sets that are loaded into the surface on demand just before each rendering operation. This permits multiple cairo_t contexts to reference a surface without regard to ordering of operations among the contexts. Also in this patch is a change to the xlib surface that creates two separate Pictures, one for source and one for destination operands which separates the source clipping from destination clipping. Cairo now specifies that sources are never clipped by any clipping applied to them as destinations. Move cairo_clip_t (renamed from cairo_clip_rec_t) from cairoint.h to cairo-gstate-private.h. Eliminate stack of clip state from surfaces. Add new surface clipping API. Manage clip objects entirely within the gstate, loading the whole thing into the surface just before drawing. Source surfaces need not have clipping modified as the surface interface now specifies that source surfaces are always unclipped. Eliminate nested clipping contexts, leaving clip management entirely to the gstate. Create new clip API for the gstate which uses per-surface serial numbers to match gstate clipping against current surface clipping values. Surfaces no longer track clipping regions at all, so the old _cairo_surface_get_clip_extents has been replaced with _cairo_surface_get_extents. For PDF/PS surfaces, this function is expected to return a rectangle covering the entire fixed point coordinate space to leave rendering unclipped by the surface. Region clipping capability is now signalled by a non-NULL function pointer in set_clip_region. Each surface now contains two Pictures, one for source and one for destination operands so that source operands are never clipped by destination clipping. CAIRO_STATUS_BAD_NESTING removed self-copy now passes (Xlib only, until libpixman changes land) reviewed by: krh, otaylor, cworth ChangeLog | 95 +++++++++++++++ src/cairo-gstate-private.h | 30 ++++- src/cairo-gstate.c | 286 ++++++++++++++++++++++++-------------------- src/cairo-pattern.c | 28 ----- src/cairo-surface.c | 292 ++++++++++++++++++++------------------------- src/cairo-xcb-surface.c | 2 +- src/cairo-xlib-surface.c | 123 ++++++++++++------- src/cairo.c | 2 - src/cairo.h | 7 +- src/cairoint.h | 72 ++++++----- test/Makefile.am | 1 - test/self-copy.c | 3 +- 12 files changed, 541 insertions(+), 400 deletions(-) commit be903f4c2232bfa8b48c1dca60ad5cf65f403c77 Author: Olivier Andrieu Date: Thu May 26 03:31:28 2005 +0000 trivial doc fixes. ChangeLog | 4 ++++ src/cairo.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 17a5c3a3daef92ee1702edd4ca007590d5606ae6 Author: Carl Worth Date: Tue May 24 16:08:39 2005 +0000 Re-synch with latest from gtk-doc CVS tree. Add --only-section-tmpl option so that changes to inline documentation does not lead to churn in the .sgml template files. Commit new templates now that gtk-doc has ripped all the inline portions out. New template files added for new sections. Update to match current API. Make parameter names match those in the .c file and its documentation. ChangeLog | 33 + doc/public/.cvsignore | 3 + doc/public/Makefile.am | 3 + doc/public/cairo-sections.txt | 102 ++- doc/public/tmpl/cairo-font.sgml | 129 ---- doc/public/tmpl/cairo-ft.sgml | 36 - doc/public/tmpl/cairo-glitz.sgml | 9 - doc/public/tmpl/cairo-matrix.sgml | 157 ----- doc/public/tmpl/cairo-pattern.sgml | 151 ----- doc/public/tmpl/cairo-pdf.sgml | 21 - doc/public/tmpl/cairo-png.sgml | 40 -- doc/public/tmpl/cairo-ps.sgml | 17 - doc/public/tmpl/cairo-quartz.sgml | 11 - doc/public/tmpl/cairo-surface.sgml | 145 ---- doc/public/tmpl/cairo-win32.sgml | 21 + doc/public/tmpl/cairo-xcb-xrender.sgml | 21 + doc/public/tmpl/cairo-xcb.sgml | 17 - doc/public/tmpl/cairo-xlib-xrender.sgml | 21 + doc/public/tmpl/cairo-xlib.sgml | 26 - doc/public/tmpl/cairo.sgml | 1108 ------------------------------- gtk-doc.make | 26 +- src/cairo-xcb.h | 2 +- 22 files changed, 177 insertions(+), 1922 deletions(-) commit d41465d89a4df689d56d4a6cf06d6615ddf1b3ce Author: Carl Worth Date: Sun May 22 11:12:46 2005 +0000 Protect less-than and greater-than symbols in documentation string. ChangeLog | 3 +++ doc/public/tmpl/cairo-atsui.sgml | 9 --------- doc/public/tmpl/cairo-pdf.sgml | 22 +++++----------------- doc/public/tmpl/cairo-ps.sgml | 6 +++++- doc/public/tmpl/cairo-xcb.sgml | 9 +++++++-- doc/public/tmpl/cairo-xlib.sgml | 17 ++++------------- doc/public/tmpl/cairo.sgml | 1 + src/cairo.c | 2 +- 8 files changed, 26 insertions(+), 43 deletions(-) commit e90a5c89900ec2034628b8894ada7bef272326a6 Author: Carl Worth Date: Sun May 22 09:08:23 2005 +0000 Not that a patch has been submitted for consistent error handling. Fix documentation string for cairo_create so that it might actualyl appear in the manual. ChangeLog | 8 ++++++++ TODO | 2 +- src/cairo.c | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) commit b16dafe5539676874dff783ba1c31dc5a65cf9a4 Author: Carl Worth Date: Wed May 18 10:23:48 2005 +0000 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_1_5. pixman/ChangeLog | 5 +++++ pixman/configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 17c740eb6bb7567a0ac70afd339d1a0cc0bb979e Author: Carl Worth Date: Wed May 18 10:13:14 2005 +0000 Add notes for snapshot 0.1.5. Increment version to 0.1.5. pixman/ChangeLog | 6 ++++++ pixman/NEWS | 18 ++++++++++++++++++ pixman/configure.in | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) commit b1301f401336a29f63a8b5990969e03593f1808a Author: Carl Worth Date: Wed May 18 09:41:47 2005 +0000 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_0. ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit f083b21c76b3a3f542b93d32a40cd5deccc0c985 Author: Carl Worth Date: Wed May 18 09:27:24 2005 +0000 Clear pointers to NULL after destroying/freeing them. pixman/ChangeLog | 5 +++++ pixman/src/icimage.c | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit 55a7bb718ffe9598b8c39902023e68355836592f Author: Carl Worth Date: Wed May 18 09:25:54 2005 +0000 Declare pixman_fixed16_16_t properly as int32_t rather than just int. Reported by Lance Fetters. pixman/ChangeLog | 5 +++++ pixman/src/pixman.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit f030aec810d74a60a44c35bf7815b9e94743cd65 Author: Carl Worth Date: Tue May 17 18:39:56 2005 +0000 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 ChangeLog | 9 ++ NEWS | 304 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PORTING_GUIDE | 257 +++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 4 files changed, 571 insertions(+), 1 deletion(-) commit 3f9573b7bb3f3066ad3e20908edd4af30cac3284 Author: Carl Worth Date: Tue May 17 15:23:53 2005 +0000 Bring up to date with Keith's latest improvements to cairo-xlib-surface.c: Add some comments about how and why masks are computed. Generalize overflow detection in mask computation. Expand on pixman format conversion comment. Fix the broken visual->format case. ChangeLog | 11 +++++++++- src/cairo-xcb-surface.c | 53 ++++++++++++++++++++++++++++--------------------- 2 files changed, 40 insertions(+), 24 deletions(-) commit f0923288c58f42bf45dc6658a504b14faec6df53 Author: Carl Worth Date: Tue May 17 12:40:55 2005 +0000 Two fixes from Kristion Høgsberg: Fix to close the file if we opened it. Grab the status from out of the stream _before_ we destroy the stream. ChangeLog | 12 ++++++++++++ src/cairo-output-stream.c | 9 ++++++++- src/cairo-pdf-surface.c | 5 ++++- 3 files changed, 24 insertions(+), 2 deletions(-) commit b4710711b8e39738587249f04a41ae99c5eae981 Author: Keith Packard Date: Tue May 17 12:21:56 2005 +0000 Add some comments about how and why masks are computed. Generalize overflow detection in mask computation. Expand on pixman format conversion comment. ChangeLog | 7 +++++++ src/cairo-xlib-surface.c | 32 ++++++++++++++++++++------------ 2 files changed, 27 insertions(+), 12 deletions(-) commit e72c41f95b8ae262f82d9023174c88f4e9c02fe3 Author: Carl Worth Date: Tue May 17 11:28:26 2005 +0000 Fix documentation to not mention set_size for the _for_bitmap functions. ChangeLog | 6 ++++++ src/cairo-xcb-surface.c | 6 +----- src/cairo-xlib-surface.c | 6 +----- 3 files changed, 8 insertions(+), 10 deletions(-) commit 5cc39a708c623cbe6a8c5efdad538778b2fbadd7 Author: Carl Worth Date: Tue May 17 09:13:02 2005 +0000 Remove #ifdef munging since we once again support either #if or #ifdef. ChangeLog | 5 +++++ RELEASING | 7 +++++-- util/cairo-api-update | 1 - 3 files changed, 10 insertions(+), 3 deletions(-) commit ec84ace5a6830778d29d36f9fc87361e8545f57b Author: Carl Worth Date: Tue May 17 09:08:23 2005 +0000 Update instructions to match output of 'make distcheck' Add private headers and flesh out CLEANFILES so that 'make distcheck' actually passes. ChangeLog | 9 +++++++++ RELEASING | 7 ++++--- src/Makefile.am | 4 ++++ test/Makefile.am | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) commit 366aa98a792460bda8de70bc7eb342950e214ce3 Author: Carl Worth Date: Tue May 17 08:34:44 2005 +0000 Fix more deprecation macros src/cairo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 23b7ac25edae4992c78b20f02d538bd717799f95 Author: Carl Worth Date: Tue May 17 08:26:37 2005 +0000 Add a few more REPLACED_BY and DEPRECATED_BY definitions. Add some helpful warnings. ChangeLog | 7 +++++++ src/cairo.h | 17 ++++++++++++++++- util/cairo-api-update | 8 ++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) commit f82a3b2b557c91be0f6e6e26f89c5f7ef90b426a Author: Carl Worth Date: Tue May 17 06:12:52 2005 +0000 Add cairo-xlib-xrender.h which was missed from an earlier commit. ChangeLog | 5 +++++ src/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 30d7ede3dfdc256180e4447debd0be6d69c699b7 Author: Carl Worth Date: Tue May 17 06:11:32 2005 +0000 Update cairo-xcb.h to provide the same style of interface as cairo-xlib.h. Update to match new cairo_xcb_surface_t create functions. ChangeLog | 14 ++ src/Makefile.am | 2 +- src/cairo-xcb-surface.c | 410 ++++++++++++++++++++++++++++-------------------- src/cairo-xcb-xrender.h | 62 ++++++++ src/cairo-xcb.h | 21 ++- test/cairo-test.c | 115 ++++++++++++-- 6 files changed, 427 insertions(+), 197 deletions(-) commit f67f5003df306de40416f24bc652fc4630cf5808 Author: Carl Worth Date: Tue May 17 06:08:01 2005 +0000 Avoid shifting 32-bit quanity by 32 bits, which is undefined behavior. ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 0c05b23b3165ec6908c28f56b3446cf43dff44a2 Author: Carl Worth Date: Tue May 17 06:05:13 2005 +0000 Rework of cairo_xlib_surface create functions by Keith Packard: Add cairo_xlib_surface_create_with_render_format. Reduce Xlib constructors down to two simple forms. Add width, height to constructors and eliminate any synchronous size queries from the implementation. Update to match new cairo_xlib_surface_t create functions. ChangeLog | 18 ++ src/cairo-xlib-surface.c | 453 +++++++++++++++++++++++++---------------------- src/cairo-xlib-xrender.h | 62 +++++++ src/cairo-xlib.h | 15 +- test/cairo-test.c | 14 +- test/xlib-surface.c | 10 +- 6 files changed, 342 insertions(+), 230 deletions(-) commit 84bc5a32d6b3ad366698c14a01f7a4898f1cd25c Author: Carl Worth Date: Tue May 17 05:58:01 2005 +0000 Remove destroy_closure from cairo_output_stream_t interface. Remove destroy_closure argument from cairo_pdf_surface_create_for_stream. Rename width,height to width_in_points, height_in_points for better clarity. Brush a bunch of dust off of the PS backend and bring it up to date with the latest API conventions from the PDF backend. These include: accepting a filename rather than a FILE in the primary constructor, providing a stream-based interface for more flexibility, and accepting a surface size in device-space units (points) rather than inches. Make it a little more clear that the width and height being passed around are in units of points. Update to the latest cairo-ps.h changes as described above. Notice how much more sane things become now that the surface size is described in device-space units. ChangeLog | 27 ++++++++ src/cairo-output-stream.c | 23 ++----- src/cairo-pdf-surface.c | 13 ++-- src/cairo-pdf.h | 17 +++--- src/cairo-ps-surface.c | 153 ++++++++++++++++++++++++++++------------------ src/cairo-ps.h | 19 ++++-- src/cairoint.h | 1 - test/pdf-surface.c | 11 ++-- test/ps-surface.c | 13 +--- 9 files changed, 164 insertions(+), 113 deletions(-) commit 9bf26e8e73e0bafd7361ae38d485c9b9b17794b1 Author: Carl Worth Date: Tue May 17 01:05:35 2005 +0000 Add simple test for ps surface backend (modeled after pdf-surface.c). Add print message telling user to examine resulting file. ChangeLog | 10 +++++ test/.cvsignore | 2 + test/Makefile.am | 5 +++ test/pdf-surface.c | 2 + test/ps-surface.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 141 insertions(+) commit 189161118faeb3a6d5d7b625f16ffbef22231c93 Author: Carl Worth Date: Tue May 17 00:54:09 2005 +0000 Update PDF test case to make sure we're actually getting the right paper size, image scaling etc. And it should now be easier to see if cairo is happy by manually viewing the resulting PDF file. ChangeLog | 7 ++++++ test/pdf-surface.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 62 insertions(+), 7 deletions(-) commit 9bf669a790cfda9950a8fa204de541133c671bd9 Author: Carl Worth Date: Tue May 17 00:39:17 2005 +0000 Fix to include cairo-xlib.h, (which also fixes test/xlib-surface.c). ChangeLog | 5 +++++ src/cairo-xlib-test.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 91dcaea6a2cd9a169e8b0a23a1a0902cd42b3a93 Author: Carl Worth Date: Tue May 17 00:34:10 2005 +0000 Update to the latest PDF surface API changes: use filename not FILE* and use surface dimension in points, not inches. ChangeLog | 6 ++++++ test/pdf-surface.c | 18 ++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) commit 200bcda18859699832ea2cf8d86abd57b501aecc Author: Keith Packard Date: Mon May 16 22:31:36 2005 +0000 Initialize op->stops[0].scale = 0. This scale value is used only when computing gradient values before the defined range, in which case stop 0 is used for both ends of the interpolation, making the value of 'scale' not actually matter, except that valgrind notices we're using an undefined value. ChangeLog | 11 +++++++++++ src/cairo-pattern.c | 7 +++++++ 2 files changed, 18 insertions(+) commit e5b31bca7c0a7d7eb4dec303fb652c26652c3f60 Author: Carl Worth Date: Mon May 16 15:05:56 2005 +0000 Remove quarter-over test name accidentally added to Makefile. ChangeLog | 6 ++++++ test/.cvsignore | 1 - test/Makefile.am | 3 --- 3 files changed, 6 insertions(+), 4 deletions(-) commit ea410111d38145e7c74558951b1d895ebaf6f8dc Author: Kristian Høgsberg Date: Mon May 16 11:41:42 2005 +0000 Take a filename instead of a FILE pointer. ChangeLog | 7 +++++++ src/cairo-output-stream.c | 20 +++++++++++++++++--- src/cairo-pdf-surface.c | 24 ++++++++++++------------ src/cairo-pdf.h | 10 ++++------ src/cairoint.h | 2 +- 5 files changed, 41 insertions(+), 22 deletions(-) commit 60b0a05df73cef4a67d111a282b20ce1fd5081e6 Author: Carl Worth Date: Sat May 14 14:01:46 2005 +0000 Brush the dust off the XCB backend and get it compiling and working again. This patch makes the XCB surface API match that of the Xlib surface API as of yesterday. But, it's already stale as the Xlib API changed again. So we'll need one more revision of the XCB backend before the next snapshot. Add support for testing of the xcb backend as well. ChangeLog | 24 +++ src/cairo-xcb-surface.c | 404 +++++++++++++++++++++++++++++++++++++++--------- src/cairo-xcb.h | 22 ++- test/.cvsignore | 2 + test/Makefile.am | 3 + test/cairo-test.c | 47 +++++- test/cairo-test.h | 2 - 7 files changed, 427 insertions(+), 77 deletions(-) commit 6a1af1999dfb79f05341ea6c4bf0e23795db01bc Author: Carl Worth Date: Sat May 14 13:51:59 2005 +0000 Cleanup output a bit, move verbose messages to test-specific log file. ChangeLog | 7 +++++++ test/cairo-test.c | 6 +++++- test/pdf-surface.c | 1 + test/xlib-surface.c | 31 ++++++++++++++++++------------- 4 files changed, 31 insertions(+), 14 deletions(-) commit 53e6fdb8855ad7bc54ec40ebf6609cccb6eac54c Author: Carl Worth Date: Sat May 14 13:22:25 2005 +0000 Fix the last commit so it actually compiles now. ChangeLog | 8 +++++++- src/cairo-xlib-surface.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit 55366995b6783309493af8a9f88560b6ad3494ff Author: Carl Worth Date: Sat May 14 10:15:11 2005 +0000 Fix a few documentation typos in the recent xlib surface rework. ChangeLog | 7 +++++++ src/cairo-xlib-surface.c | 17 +++++++++-------- test/.cvsignore | 1 + 3 files changed, 17 insertions(+), 8 deletions(-) commit 95859dc2c6975f072696374b90e1108626a99830 Author: Carl Worth Date: Sat May 14 10:03:56 2005 +0000 Add an #error if cairo-foo.h is included when cairo was compiled without support for the foo backend. ChangeLog | 13 +++++++++++++ src/cairo-atsui.h | 3 +++ src/cairo-ft.h | 3 +++ src/cairo-glitz.h | 3 +++ src/cairo-pdf.h | 3 +++ src/cairo-ps.h | 3 +++ src/cairo-quartz.h | 3 +++ src/cairo-win32.h | 6 ++++-- src/cairo-xcb.h | 3 +++ src/cairo-xlib.h | 3 +++ 10 files changed, 41 insertions(+), 2 deletions(-) commit f797eaac1ce939a0a890ab2157f42d2ae3421dda Author: Carl Worth Date: Sat May 14 10:00:27 2005 +0000 Update for change in cairo_pdf_surface_create which no longer accepts DPI values. ChangeLog | 5 +++++ test/pdf-surface.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) commit bef4b1371676444e51dcd73f1ec52024265c1f5b Author: Owen Taylor Date: Fri May 13 17:54:43 2005 +0000 src/cairo-xlib-surface.c src/cairo-xlib.h doc/public/cairo-sections.txt: Drop the _for_pixmap() and _for_window() out of the create functions and use some lazy cleverness to sniff the information out as needed. src/cairo-xlib-surface.c src/cairo-xlib-test.h Makefile.am: add cairo_test_xlib_disable_render() to turn off RENDER for tests. Test various different types of Xlib surface creation. Remove left-over include of Xrender.h. ChangeLog | 16 +++ doc/public/Makefile.am | 1 + doc/public/cairo-sections.txt | 5 +- doc/public/tmpl/cairo-xlib.sgml | 20 +--- src/Makefile.am | 2 +- src/cairo-xlib-surface.c | 190 +++++++++++++++++++---------- src/cairo-xlib-test.h | 55 +++++++++ src/cairo-xlib.h | 18 +-- test/Makefile.am | 5 + test/cairo-test.c | 4 +- test/xlib-surface.c | 260 ++++++++++++++++++++++++++++++++++++++++ 11 files changed, 479 insertions(+), 97 deletions(-) commit 15ecc8776327ee076274d4234f36ab584956c073 Author: Kristian Høgsberg Date: Fri May 13 14:04:22 2005 +0000 Make this a varg function and use the new _cairo_output_stream_vprintf() function to format extra dict contents. Reimplement the printf logic so we can special case formatting of doubles to be locale independent and trim trailing zeros. ChangeLog | 9 +++ src/cairo-output-stream.c | 156 ++++++++++++++++++++++++++++++++++++++++++---- src/cairo-pdf-surface.c | 86 +++++++++++++------------ src/cairoint.h | 5 ++ 4 files changed, 203 insertions(+), 53 deletions(-) commit b9db66eb17754da628894a4e43943f3fbef88406 Author: Kristian Høgsberg Date: Fri May 13 09:26:20 2005 +0000 Rename cairo_pdf_surface_create_for_callback() to cairo_pdf_surface_create_for_stream(), and change PDF constructors to take width and height as points and move PPI setting to cairo_pdf_surface_set_ppi() ChangeLog | 8 ++++ src/cairo-pdf-surface.c | 120 +++++++++++++++++++++--------------------------- src/cairo-pdf.h | 23 +++++----- 3 files changed, 73 insertions(+), 78 deletions(-) commit 9ebf15e9600c5a5c741cd1540478bb18f236b55d Author: Owen Taylor Date: Fri May 13 08:09:24 2005 +0000 Fix misplaced goto. ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 7c4a2b1d6e10808bac483b5f2b01efa70bca2c02 Author: Carl Worth Date: Thu May 12 23:11:55 2005 +0000 Fix image->data to be unsigned Track change in signedness of data member/parameter. ChangeLog | 13 +++++++++++++ src/cairo-glitz-surface.c | 2 +- src/cairo-image-surface.c | 6 +++--- src/cairo-xlib-surface.c | 6 +++--- src/cairoint.h | 6 +++--- 5 files changed, 23 insertions(+), 10 deletions(-) commit d5ca4e37d7b761ccc4fc500c5ba615526a4a38c7 Author: Carl Worth Date: Thu May 12 23:09:58 2005 +0000 Update xcb backend to compile after recent API changes: Fix missing return value. (_cairo_xcb_surface_acquire_source_image): Remove calls to non-existent cairo_surface functions. (_cairo_xcb_surface_set_matrix): Update for new matrix member names. (_cairo_xcb_surface_get_extents): Fix typo. ChangeLog | 11 +++++++++++ src/cairo-xcb-surface.c | 25 +++++++++++-------------- 2 files changed, 22 insertions(+), 14 deletions(-) commit 949daa1bc98cdd34a6c3d7b3ca69fd06e88883e4 Author: Keith Packard Date: Thu May 12 20:25:07 2005 +0000 libpixman creates an A8 format object and sometimes forgets to destroy (when the bounds of the trapezoids are empty). Avoids creating the format object in that case. reviewed by: cworth pixman/ChangeLog | 9 +++++++++ pixman/src/ictrap.c | 13 ++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) commit 27d9c575a77e0b6dc995e348c4877bc0092a4571 Author: Carl Worth Date: Thu May 12 11:02:35 2005 +0000 Add new test for bug in cairo_paint_with_alpha not transforming the source. Use a transformed copy of the source just like we do in all the other calls to cairo_surface_composite. Fixes the bug tested by test/paint-with-alpha. ChangeLog | 13 +++++++++ src/cairo-gstate.c | 6 +++- test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/paint-with-alpha-ref.png | Bin 0 -> 164 bytes test/paint-with-alpha.c | 64 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 86 insertions(+), 1 deletion(-) commit 52f41b7bf08a5e3a599ef6ebc7273f057ada4fa6 Author: Keith Packard Date: Thu May 12 08:04:22 2005 +0000 _get_mask_extents creates a pixman region but neglects to destroy it. reviewed by: otaylor ChangeLog | 8 ++++++++ src/cairo-gstate.c | 2 ++ 2 files changed, 10 insertions(+) commit e4e5b1f00ded346f40c788fa9b6cfdd3164c1241 Author: Owen Taylor Date: Wed May 11 16:32:44 2005 +0000 Handle more cases by assuming no-super-luminescent colors. ChangeLog | 5 +++++ src/cairo-win32-surface.c | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) commit b913a81c3482f4dc8bc452d91bfaf64b416523f3 Author: T Rowley Date: Wed May 11 16:01:56 2005 +0000 Revive quartz backend. Set fill type repeat on source surface. (_cairo_glitz_surface_show_glyphs): Add missing cairo operator to glitz operator conversion. (_cairo_glitz_surface_show_glyphs): Only render glyphs with non zero size. Fix bounding box computation. ChangeLog | 21 +++++++++ src/cairo-surface.c | 18 ++++---- src/cairo-win32-font.c | 36 +++++++-------- src/cairo-win32-surface.c | 111 +++++++++++++++++++++++++++++++++++++--------- test/Makefile.am | 5 ++- test/cairo-test.c | 9 ++-- 6 files changed, 149 insertions(+), 51 deletions(-) commit 3be31fee9ae5d1740f71ea829ba26df7569c976c Author: Tor Lillqvist Date: Wed May 11 15:39:26 2005 +0000 Revive quartz backend. ChangeLog | 6 ++ src/cairo-atsui-font.c | 140 +++++++++++++++------------------------------ src/cairo-atsui.h | 3 - src/cairo-quartz-surface.c | 18 ++++-- 4 files changed, 65 insertions(+), 102 deletions(-) commit ac278285c8a243c42a50e7d1f5cfc875a12401b2 Author: David Reveman Date: Wed May 11 13:53:18 2005 +0000 Avoid empty glyphs ChangeLog | 2 ++ src/cairo-glitz-surface.c | 63 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 46 insertions(+), 19 deletions(-) commit bd168e15ca9dbd2a02ad5e2f7df1a661d534d679 Author: David Reveman Date: Wed May 11 13:30:56 2005 +0000 Fix fill_rectangles and show_glyphs in glitz backend ChangeLog | 7 +++++++ src/cairo-glitz-surface.c | 12 +++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) commit 59c2730b1d5fa511494858e599735948ce1cf394 Author: Owen Taylor Date: Tue May 10 21:06:01 2005 +0000 src/cairo-xlib-surface.c src/cairo-xlib.h: Remove leftover cairo_xlib_surface_create(). ChangeLog | 5 +++++ doc/public/cairo-sections.txt | 1 - doc/public/tmpl/cairo-xlib.sgml | 13 ------------- src/cairo-xlib-surface.c | 16 ---------------- src/cairo-xlib.h | 8 -------- 5 files changed, 5 insertions(+), 38 deletions(-) commit 0c7c2246681dad0b69d6ea0438f18916dbb0e0a4 Author: Owen Taylor Date: Tue May 10 20:45:54 2005 +0000 src/cairo.c src/cairo-path-data.c src/cairo-path-data-private.h: Pass the gstate to _cairo_path_data_create[_flat] and use _cairo_gstate_backend_to_user() so as to properly handle the surface device offset. ChangeLog | 7 +++++++ src/cairo-path-data-private.h | 6 ++---- src/cairo-path-data.c | 38 ++++++++++++++++---------------------- src/cairo.c | 8 ++------ 4 files changed, 27 insertions(+), 32 deletions(-) commit 4e1cce108b641fbb6931ffa1d10aa1e4aef0329c Author: Carl Worth Date: Tue May 10 20:38:21 2005 +0000 Don't use return when calling a void function (thanks to Damien Carbery ). Closes bug #3134. ChangeLog | 6 ++++++ src/cairo-arc.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit b05c85eafb953fbe082b67875865ae4e4ca56ed2 Author: Carl Worth Date: Tue May 10 20:25:38 2005 +0000 Removing mucking around with stderr and add a cairo_test_log function instead. Switch all error messages from fprintf(stderr,...) to cairo_test_log(...). ChangeLog | 14 ++++++++++++++ test/buffer-diff.c | 17 +++++++++-------- test/cairo-test.c | 45 +++++++++++++++++++++++++++++---------------- test/cairo-test.h | 3 +++ test/create-for-png.c | 2 +- test/create-from-png.c | 2 +- test/pdf-surface.c | 2 +- test/read-png.c | 9 +++++---- test/trap-clip.c | 4 ++-- test/xmalloc.c | 5 +++-- 10 files changed, 68 insertions(+), 35 deletions(-) commit 40796148b87eea991a9c624061a978821f108de6 Author: Carl Worth Date: Tue May 10 14:54:48 2005 +0000 Fix URLs for glitz and xlibs, (thanks to Jason Dorje Short ). ChangeLog | 5 +++++ configure.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 6f3215cb7ff9c9ccb1728192765578ebb9352ac1 Author: Carl Worth Date: Tue May 10 14:48:05 2005 +0000 Update to current canonical URL for XCB. ChangeLog | 4 ++++ configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 3253534a824cf3b81ea5b6abeaea0e4b414834d2 Author: Carl Worth Date: Tue May 10 12:42:32 2005 +0000 Don't guess and make our own definitions for uint8_t, etc. Just error out if we can't find a suitable header file. Fix to use fixed-size type so that this code works when sizeof(unsigned long) != 32. Thanks to Manish Singh. ChangeLog | 11 +++++++++++ src/cairo-png.c | 22 +++++++++++----------- src/cairo-wideint.h | 9 ++------- test/read-png.c | 28 +++++++++++++++++++++------- 4 files changed, 45 insertions(+), 25 deletions(-) commit c66ca528e037381f485b53bb36b2e9a735c2b8f5 Author: Carl Worth Date: Tue May 10 12:22:41 2005 +0000 Fix cairo_get_font_matrix to actually use its out-parameter. And change the return type to void. ChangeLog | 8 ++++++++ src/cairo-gstate.c | 7 ++++--- src/cairo.c | 10 +++++----- src/cairo.h | 5 +++-- src/cairoint.h | 5 +++-- 5 files changed, 23 insertions(+), 12 deletions(-) commit 7b46c815d2652a02aca77a3a962a37e22e9d04fb Author: Owen Taylor Date: Mon May 9 16:33:59 2005 +0000 Get the glyphslot point *after* we get the FT_Face. (Robert O'Callahan) ChangeLog | 5 +++++ src/cairo-ft-font.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 01b2526ceb77e43f653f2909f6ff998a956d72a5 Author: Carl Worth Date: Mon May 9 10:41:17 2005 +0000 Fix deprecation macro to point to the right function, (thanks to John Ellson). ChangeLog | 5 +++++ src/cairo.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 14c690472cf893978331dcf25cc50d43609928ad Author: Carl Worth Date: Mon May 9 09:12:52 2005 +0000 Push cairo_matrix_t const-correctness down through the entire implmentation, (expanding on preliminary work by Robert O'Callahan ) ChangeLog | 25 +++++++++++++++++++++++++ src/cairo-font.c | 18 +++++++++--------- src/cairo-ft-font.c | 19 ++++++++++--------- src/cairo-gstate.c | 11 ++++++----- src/cairo-image-surface.c | 2 +- src/cairo-matrix.c | 19 +++++++++++-------- src/cairo-pattern.c | 7 ++++--- src/cairo.c | 10 ++++++---- src/cairo.h | 30 +++++++++++++++++------------- src/cairoint.h | 45 ++++++++++++++++++++++++--------------------- 10 files changed, 113 insertions(+), 73 deletions(-) commit 31b4e5b4ecda4b3733f39b5f1f759cc59f953836 Author: Carl Worth Date: Mon May 9 08:34:57 2005 +0000 Change cairo-features again so that either #if or #ifdef will work to test any feature. ChangeLog | 6 ++++++ configure.in | 44 +++++++++++--------------------------------- src/cairo-features.h.in | 22 +++++++++++----------- 3 files changed, 28 insertions(+), 44 deletions(-) commit 2e72b70124f678ba0bd21db318345a6583cb9cbd Author: Owen Taylor Date: Sat May 7 14:31:01 2005 +0000 doc/public/language-bindings.xml doc/public/cairo-doc.xml doc/public/Makefile.am: Document suggested conventions and techniques for many aspects of creating a language binding for Cairo. ChangeLog | 7 + doc/public/language-bindings.xml | 726 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 733 insertions(+) commit 35248a17fd2cb1f4ff2bf312c092f853551bb9eb Author: Owen Taylor Date: Sat May 7 10:35:35 2005 +0000 Update. ChangeLog | 4 ++ doc/public/cairo-sections.txt | 19 +-------- doc/public/tmpl/cairo-glitz.sgml | 9 ----- doc/public/tmpl/cairo-pdf.sgml | 33 ---------------- doc/public/tmpl/cairo-ps.sgml | 13 ------- doc/public/tmpl/cairo-quartz.sgml | 11 ------ doc/public/tmpl/cairo-surface.sgml | 25 +++++++----- doc/public/tmpl/cairo-xcb.sgml | 12 ------ doc/public/tmpl/cairo-xlib.sgml | 10 ----- doc/public/tmpl/cairo.sgml | 79 ++++++++++---------------------------- 10 files changed, 41 insertions(+), 174 deletions(-) commit bc794062600a774a71045055deae5ad28483d7ec Author: Carl Worth Date: Fri May 6 22:42:52 2005 +0000 Point to both cairo_set_source_rgba and cairo_paint_with_alpha in deprecation of cairo_set_alpha. ChangeLog | 6 ++++++ src/cairo.h | 2 +- util/cairo-api-update | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) commit 750cc8143dda4e6194880dfc314a296424b325e5 Author: Carl Worth Date: Fri May 6 21:59:10 2005 +0000 Make idempotent substitutions that extend old names: cairo_select_font -> cairo_select_font_face cairo_pattern_add_color_stop -> cairo_pattern_add_color_stop_rgba by only substituting if the old name is not immediately followed by an underscore. Tweak the substitution slightly to allow the script to be run on the cairo source itself, (eg. avoid changing the REPLACED_BY and DEPRECATED_BY macros that must mention the old names). ChangeLog | 15 +++++++++++++++ util/cairo-api-update | 7 ++++--- 2 files changed, 19 insertions(+), 3 deletions(-) commit 10c88d424485c7f001e9e03c121aa7c3b55336cc Author: Carl Worth Date: Fri May 6 21:33:22 2005 +0000 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. ChangeLog | 26 ++++++++++ configure.in | 135 +++++++++++++++++++----------------------------- src/cairo-atsui.h | 2 +- src/cairo-cache.c | 6 +-- src/cairo-features.h.in | 24 ++++----- src/cairo-ft-private.h | 2 +- src/cairo-ft.h | 2 +- src/cairo-glitz.h | 2 +- src/cairo-hash.c | 6 +-- src/cairo-pdf.h | 2 +- src/cairo-ps.h | 2 +- src/cairo-quartz.h | 2 +- src/cairo-win32.h | 2 +- src/cairo-xcb.h | 2 +- src/cairo-xlib.h | 2 +- src/cairo.c | 7 ++- src/cairo.h | 4 +- src/cairoint.h | 12 ++--- test/cairo-test.c | 16 +++--- util/cairo-api-update | 1 + 20 files changed, 127 insertions(+), 130 deletions(-) commit 9939e01b693a885496cfa82430b91c11a121269e Author: Carl Worth Date: Fri May 6 21:25:56 2005 +0000 Remove deprecated cairo_get_rgb_color that was accidentally missed in the recent purge of deprecated functions. ChangeLog | 9 +++++++++ src/cairo-gstate.c | 6 ------ src/cairo-pattern.c | 19 ------------------- src/cairo.c | 25 ------------------------- src/cairo.h | 3 --- src/cairoint.h | 10 ---------- 6 files changed, 9 insertions(+), 63 deletions(-) commit 4fff218fc4e1cdce281b916ecb6b616e581601e0 Author: Carl Worth Date: Fri May 6 21:19:49 2005 +0000 Update to track new CAIRO_OPERATOR names. Fix documentation to refer to functions by their current names. Update to track latest API (in currently unused function). ChangeLog | 14 ++++++++++++++ src/cairo-gstate.c | 2 +- src/cairo-surface.c | 2 +- src/cairo-win32-surface.c | 6 +++--- src/cairo-xcb-surface.c | 12 ++++++------ test/select-font-no-show-text.c | 4 ++-- 6 files changed, 27 insertions(+), 13 deletions(-) commit 7bf02c12ab3aafae5f6cf8519401d1272b183d30 Author: Carl Worth Date: Fri May 6 14:20:05 2005 +0000 Fix return type from cairo_status_t to cairo_int_status_t. ChangeLog | 5 +++++ src/cairo-glitz-surface.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit c7afce2ffdbc1e2d4eae2ba5a85dfff4ad3016ad Author: Carl Worth Date: Fri May 6 13:42:45 2005 +0000 Note that cairo_mask, and "just eliminate a bunch of functions are now done". Note that all backwards-compatible and backwards-incompatible cahnges for the API Shakeup are now done. Sort "new functionality" of API Shakeup into its own category. ChangeLog | 10 ++++++++++ ROADMAP | 17 ++++++++--------- TODO | 31 +++++++++++++++++-------------- 3 files changed, 35 insertions(+), 23 deletions(-) commit d7fe527e0f48f23821b7283d8d003fd1f6a3f899 Author: Carl Worth Date: Fri May 6 13:32:53 2005 +0000 Eliminate the following deprecated functions from cairo's interface: cairo_copy cairo_get_path cairo_get_path_flat cairo_matrix_create cairo_matrix_destroy cairo_matrix_copy cairo_matrix_get_affine cairo_surface_set_repeat cairo_surface_set_matrix cairo_surface_get_matrix cairo_surface_set_filter cairo_surface_get_filter Also, eliminate all support for compiling against, or running with old, deprecated names for functions. Deal with all of the removals. ChangeLog | 65 ++++++++++ src/cairo-ft-font.c | 8 +- src/cairo-gstate.c | 15 --- src/cairo-image-surface.c | 1 - src/cairo-matrix.c | 116 ++++-------------- src/cairo-pattern.c | 17 ++- src/cairo-pdf-surface.c | 10 +- src/cairo-surface.c | 79 ------------ src/cairo-xlib-surface.c | 8 +- src/cairo.c | 145 ---------------------- src/cairo.h | 265 ++++++++++++---------------------------- src/cairoint.h | 19 +-- test/cairo-test.c | 7 +- test/gradient-alpha.c | 16 +-- test/mask.c | 8 +- test/move-to-show-surface.c | 5 +- test/select-font-no-show-text.c | 6 +- test/set-source.c | 4 +- test/text-cache-crash.c | 16 +-- test/text-rotate.c | 6 +- test/transforms.c | 2 +- test/translate-show-surface.c | 5 +- test/trap-clip.c | 8 +- util/cairo-api-update | 48 ++++++-- 24 files changed, 274 insertions(+), 605 deletions(-) commit a790a2ea79507cae9564006ac32e27a0fcca8d60 Author: Carl Worth Date: Fri May 6 13:26:16 2005 +0000 Rename and re-order the cairo_operator_t enum to names that abbreviate less and are easier to understand, (eg. CAIRO_OPERATOR_DEST_OVER instead of CAIRO_OPEERATOR_OVER_REVERSE). ChangeLog | 20 ++++++++++++++++++++ src/cairo-glitz-surface.c | 43 ++++++++++++++++++++++++++++++------------- src/cairo-gstate.c | 2 +- src/cairo-image-surface.c | 30 +++++++++++++++++++----------- src/cairo-ps-surface.c | 4 ++-- src/cairo-surface.c | 2 +- src/cairo-xlib-surface.c | 23 +++++++++++++---------- src/cairo.h | 17 ++++++++++------- test/cairo-test.c | 2 +- test/mask.c | 4 ++-- 10 files changed, 99 insertions(+), 48 deletions(-) commit d6fc5ee5e97f60972ec80fcfc52f0cf8b780d2a9 Author: Carl Worth Date: Fri May 6 13:23:41 2005 +0000 Remove cairo_set_target_surface and all other backend-specific cairo_set_target functions. Require a cairo_surface_t* to call cairo_create. Port to use new cairo_create interface. Rewrite all tests that were using cairo_set_target_surface to instead create a temporary cairo_t, (eventually to be replaced with cairo_begin_group). ChangeLog | 42 ++++ src/cairo-glitz.h | 4 - src/cairo-gstate.c | 28 +-- src/cairo-pdf.h | 18 -- src/cairo-ps.h | 8 - src/cairo-quartz-surface.c | 24 --- src/cairo-quartz.h | 6 - src/cairo-surface.c | 2 +- src/cairo-win32.h | 4 - src/cairo-xcb.h | 7 - src/cairo-xlib.h | 7 - src/cairo.c | 429 ++++---------------------------------- src/cairo.h | 86 +++----- src/cairoint.h | 11 +- test/cairo-test.c | 100 +++++---- test/clip-nesting.c | 9 +- test/mask.c | 10 +- test/path-data.c | 13 +- test/pdf-surface.c | 13 +- test/pixman-rotate.c | 35 ++-- test/scale-source-surface-paint.c | 1 - test/self-copy.c | 2 +- test/source-clip.c | 5 +- test/source-surface-scale-paint.c | 1 - test/surface-pattern.c | 25 ++- 25 files changed, 245 insertions(+), 645 deletions(-) commit cea1de7579fad18ca6c9ec9bb29660970ec283b3 Author: Owen Taylor Date: Fri May 6 12:00:22 2005 +0000 src/cairo.[ch] doc/public/cairo-sections.txt: Add cairo_paint_with_alpha(). Fix segfault when mask == NULL. test/mask.c test/mask-ref.png: Add testing of cairo_paint_with_alpha(). test/coverage.c test/coverage-ref.png: Remove ... it's not testing anything that mask doesn't test better. ChangeLog | 13 +++ doc/public/Makefile.am | 3 +- doc/public/cairo-docs.xml | 8 +- doc/public/cairo-sections.txt | 2 + doc/public/tmpl/cairo.sgml | 31 ++++--- src/cairo-pattern.c | 4 +- src/cairo.c | 31 +++++++ src/cairo.h | 4 + test/Makefile.am | 4 - test/coverage-ref.png | Bin 25904 -> 0 bytes test/coverage.c | 185 ------------------------------------------ test/mask-ref.png | Bin 58954 -> 87846 bytes test/mask.c | 7 ++ 13 files changed, 83 insertions(+), 209 deletions(-) commit 7f79e048b96dd3e2b2c798047aff312560de5006 Author: David Reveman Date: Wed May 4 05:45:59 2005 +0000 Add glyph caching to glitz backend ChangeLog | 4 + src/cairo-glitz-surface.c | 856 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 859 insertions(+), 1 deletion(-) commit 8e485ec8c203f7fd1ce1cf4adc0c491732c97ecb Author: Kristian Høgsberg Date: Tue May 3 14:28:50 2005 +0000 Fills as paths patch originally by Owen Taylor. Make sure we have a current point for the relative path operators. Add fill_path backend method. Implement fill_path in the PDF backend. ChangeLog | 21 +++++++++ src/cairo-gstate.c | 8 ++++ src/cairo-path.c | 9 ++++ src/cairo-pdf-surface.c | 116 ++++++++++++++++++++++++++++++++++++++++++++---- src/cairo-surface.c | 13 ++++++ src/cairoint.h | 13 ++++++ 6 files changed, 171 insertions(+), 9 deletions(-) commit 05ccd7685420be7c7213e68462e1fcc4c01bad3c Author: Carl Worth Date: Tue May 3 08:33:32 2005 +0000 Originally 2005-04-20 Carl Worth Remove cairo_show_surface. Add new cairo_set_source_surface. Remove _cairo_gstate_show_surface. Replace calls to cairo_show_surface with cairo_set_source_surface; cairo_paint. Fix messages to prefer - over _. Fix documentation. Three new tests to exercise set_source_surface more completely, (two of these are expected failures dues to outstanding bugs). ChangeLog | 31 ++++++ src/cairo-gstate.c | 188 +------------------------------- src/cairo-png.c | 11 +- src/cairo.c | 49 +++++---- src/cairo.h | 20 +--- test/.cvsignore | 10 +- test/Makefile.am | 128 ++++++++++++---------- test/cairo-test.c | 2 +- test/create-for-png.c | 6 +- test/create-from-png.c | 6 +- test/filter-nearest-offset-ref.png | Bin 0 -> 254 bytes test/filter-nearest-offset.c | 107 ++++++++++++++++++ test/move-to-show-surface.c | 5 +- test/pixman-rotate.c | 3 +- test/scale-source-surface-paint-ref.png | Bin 0 -> 147 bytes test/scale-source-surface-paint.c | 65 +++++++++++ test/source-surface-scale-paint-ref.png | Bin 0 -> 147 bytes test/source-surface-scale-paint.c | 65 +++++++++++ test/translate-show-surface.c | 3 +- 19 files changed, 399 insertions(+), 300 deletions(-) commit 8283381f120c0d5a4d3d770a541a576974cfdf89 Author: Carl Worth Date: Tue May 3 08:16:47 2005 +0000 Add suggestion for copy-on-write regions to fix clip region problems. Fix check for old headers to respect DESTDIR, (to work better when cross-compiling, etc.). Thanks to Luke-Jr . ChangeLog | 9 +++++++++ TODO | 4 ++++ src/Makefile.am | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) commit e227a106850ccced4e55bbc5cd5f139c6139aa2a Author: Owen Taylor Date: Mon May 2 14:20:07 2005 +0000 Changes the sign of extents->descent to match win32 backend and the conventional convention. Document cairo_font_extents_t. ChangeLog | 8 ++++++++ src/cairo-ft-font.c | 2 +- src/cairo.h | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 53 insertions(+), 4 deletions(-) commit 7dbd1f4401eb892ea58c147a61f02535d30318ab Author: Owen Taylor Date: Mon May 2 13:39:30 2005 +0000 src/cairo-surface.c src/cairoint.h: Add _cairo_surface_begin/end to save and restore the clip state of a surface. Copy and store clip regions set on a surface so that we can save and restore them. Add a CAIRO_STATUS_BAD_NESTING error for interleaved use of two cairo_t's on the same surface. Also, add a skeleton doc comment for cairo_status_t. src/cairo.c src/cairo-gstate.c src/cairoint.h: Use _cairo_surface_begin/end to replace _cairo_gstate_restore_external_state. Use _cairo_surface_begin/end to save the state of a surface when we start drawing at it and restore it at the end. Check that the save level of the surface is what we expect on drawing operations and fail with CAIRO_STATUS_BAD_NESTING otherwise. src/cairo-pattern.c src/cairoint.h (_cairo_pattern_acquire_surface_for_surface) (_cairo_pattern_release_surface): Surround use of pattern->surface with _cairo_surface->begin/end so we don't clip surfaces used as sources. test/clip-nesting.c test/Makefile.am: Test of destinatin clipping with the nested creation of cairo_t's for the same context. test/source-clip.c test/Makefile.am: Test that clipping on a source as a destination doesn't affect use of it as a source. XFAIL test for copying from a surface as a source to itself as a destination with a clip. ChangeLog | 35 +++++++++ doc/public/tmpl/cairo.sgml | 1 + src/cairo-gstate-private.h | 1 + src/cairo-gstate.c | 75 +++++++++++++------ src/cairo-pattern.c | 82 ++++++++++++++------ src/cairo-surface.c | 181 +++++++++++++++++++++++++++++++++++++++------ src/cairo.c | 14 +++- src/cairo.h | 29 +++++++- src/cairoint.h | 21 ++++-- test/Makefile.am | 11 +++ test/clip-nesting-ref.png | Bin 0 -> 1050 bytes test/clip-nesting.c | 101 +++++++++++++++++++++++++ test/self-copy-ref.png | Bin 0 -> 291 bytes test/self-copy.c | 90 ++++++++++++++++++++++ test/source-clip-ref.png | Bin 0 -> 180 bytes test/source-clip.c | 85 +++++++++++++++++++++ 16 files changed, 649 insertions(+), 77 deletions(-) commit 4ce3d3fb266908f2fe98564bf7dad387420dba9c Author: Keith Packard Date: Mon May 2 12:36:20 2005 +0000 Use correct arguments to compute absolute positions. Test cairo_rel_move_to, cairo_rel_line_to and cairo_rel_curve_to reviewed by: cworth ChangeLog | 12 +++++++++++ src/cairo-path.c | 8 ++++---- test/Makefile.am | 7 +++++-- test/rel-path-ref.png | Bin 0 -> 212 bytes test/rel-path.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 77 insertions(+), 6 deletions(-) commit 1464e35fde29e0a03a7ce033327a2f00396f71b0 Author: Owen Taylor Date: Mon May 2 11:42:41 2005 +0000 not mask.png. (Pointed out by Carl) ChangeLog | 5 +++++ test/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 79b2a79f2d9ba8dbef44d04656fa84d83836ac6c Author: Owen Taylor Date: Mon May 2 11:01:18 2005 +0000 src/cairo.[ch] src/cairo-gstate.c: Add cairo_mask() and cairo_mask_surface(). test/maks.c tests/Makefile.am tests/mask-ref.png: Add a comprehensive tests for cairo_mask(). Updated ChangeLog | 10 ++ doc/public/cairo-sections.txt | 2 + doc/public/tmpl/cairo.sgml | 20 ++++ src/cairo-gstate.c | 259 +++++++++++++++++++++++++++++++----------- src/cairo.c | 62 ++++++++++ src/cairo.h | 10 ++ src/cairoint.h | 4 + test/Makefile.am | 3 + test/mask-ref.png | Bin 0 -> 58954 bytes test/mask.c | 241 +++++++++++++++++++++++++++++++++++++++ 10 files changed, 544 insertions(+), 67 deletions(-) commit 0c40f66c04bffa1847d37cf9c64e48db9e76f51f Author: Kristian Høgsberg Date: Sun May 1 22:30:58 2005 +0000 Also call _cairo_gstate_ensure_font() for this function. ChangeLog | 5 +++++ src/cairo-gstate.c | 4 ++++ 2 files changed, 9 insertions(+) commit 388a8d491d43901a6608174daad284c35a10ea6c Author: Owen Taylor Date: Thu Apr 28 13:41:00 2005 +0000 Add a item about reworking cairo_format_t. ChangeLog | 4 ++++ ROADMAP | 6 ++++++ TODO | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) commit 2dd5f40bc052a48c964acefe43005d727c045238 Author: Owen Taylor Date: Thu Apr 28 11:16:52 2005 +0000 Set image->pCompositeClip here. (IcComputeCompositeRegion) src/icrect.c (pixman_color_rects): Remove workaround clipping to the clientClip. pixman/ChangeLog | 7 +++++++ pixman/src/icimage.c | 23 ++++++++++++++++------- pixman/src/icrect.c | 2 -- 3 files changed, 23 insertions(+), 9 deletions(-) commit 2a6e7ef7c3d42f2e51eefdd218f43f7272faf594 Author: Carl Worth Date: Thu Apr 28 11:15:47 2005 +0000 Replace annoying _ in output image filenames with - for better consistency. ChangeLog | 6 ++++++ test/.cvsignore | 4 ++-- test/cairo-test.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit f3bc5e55541b53c414d066a1f6afb89e55f68a08 Author: Carl Worth Date: Wed Apr 27 14:09:41 2005 +0000 Use 1 instead of 0 for width and height to avoid BadValue errors from XCreatePixmap. ChangeLog | 6 ++++++ test/cairo-test.c | 5 +++++ 2 files changed, 11 insertions(+) commit 2f5b0808b8e19af0c8c9e5fbaef4051404f7d7e7 Author: Carl Worth Date: Wed Apr 27 13:33:25 2005 +0000 Add support for testing multiple backends, courtesy of cairo_surface_write_to_png. Currently, only image and xlib backends are fullk hooked-up, but other backends should be quite easy to add for anyone skilled in the appropriate art. ChangeLog | 18 +++ test/.cvsignore | 3 +- test/buffer-diff.c | 98 ++++++++++++++-- test/buffer-diff.h | 18 ++- test/cairo-test.c | 323 ++++++++++++++++++++++++++++++++++++++--------------- test/cairo-test.h | 1 + test/read-png.c | 4 + test/xmalloc.h | 2 + 8 files changed, 362 insertions(+), 105 deletions(-) commit eabc32a0114ba86a450539e3fbde4cabab8d6b8f Author: Owen Taylor Date: Wed Apr 27 13:02:20 2005 +0000 Don't use pixman_compositeSrc_8888x8888 when the source is x8r8g8b8 or x8b8g8r8. pixman/ChangeLog | 5 +++++ pixman/src/ic.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit c382f9daf091331a37df61a8cfe883b7606af66b Author: Owen Taylor Date: Wed Apr 27 10:16:47 2005 +0000 src/cairo-traps.c src/cairoint.h (_cairo_traps_init_box): New function to create a single trapezoid box. src/cairo.c src/cairo-gstate.c src/cairoint.h: Move the implementation of cairo_paint() into cairo-gstate.c for a better fix for the problem with backend/user coordinate confusion. Also no longer clear the current path on cairo_paint() ChangeLog | 11 +++++++++++ src/cairo-gstate.c | 30 +++++++++++++++++++++++++++--- src/cairo-traps.c | 37 +++++++++++++++++++++++++++++++++++++ src/cairo.c | 26 +------------------------- src/cairoint.h | 11 +++++++---- 5 files changed, 83 insertions(+), 32 deletions(-) commit 153e0c5eab461320280c61e6f702b53eeeecfe82 Author: Carl Worth Date: Tue Apr 26 19:04:48 2005 +0000 Build rectangle with an identity matrix in place so that the entire target surface will be filled even when there is a transformation in place. ChangeLog | 6 ++++++ src/cairo.c | 14 ++++++++++++++ 2 files changed, 20 insertions(+) commit 1c316ca07ad352c2cb9a522c6babef89b2e0d001 Author: Carl Worth Date: Tue Apr 26 18:56:37 2005 +0000 Add test to demonstrate bug in cairo_paint when under a non-identity transformation. ChangeLog | 8 ++++++++ test/.cvsignore | 2 ++ test/Makefile.am | 3 +++ test/paint-ref.png | Bin 0 -> 116 bytes test/paint.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) commit 86a17d5357a0164e418f57a3f0d383c429782858 Author: Owen Taylor Date: Tue Apr 26 15:28:01 2005 +0000 Updated. src/cairo-png.c src/cairo.h: Fix up some doc build issues. ChangeLog | 6 +++ doc/public/cairo-sections.txt | 27 +++++++++--- doc/public/tmpl/cairo-pattern.sgml | 15 ++++++- doc/public/tmpl/cairo-png.sgml | 31 +++++++++++--- doc/public/tmpl/cairo.sgml | 86 ++++++++++++++++++++++++++++++++++++-- src/cairo-png.c | 27 +++--------- src/cairo.h | 2 +- 7 files changed, 155 insertions(+), 39 deletions(-) commit 2847ff9d6e715c1926a10b6c0278f1274d0765a3 Author: Carl Worth Date: Tue Apr 26 13:05:51 2005 +0000 Note that cairo_paint and cairo_clip/fill/stroke_preserve are all done now. ChangeLog | 6 ++++++ ROADMAP | 8 ++++---- TODO | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) commit 1baa4d132903e21395dc66ca792164e2ef8885d2 Author: Carl Worth Date: Tue Apr 26 12:38:06 2005 +0000 Originally: 2005-04-19 Carl Worth Add cairo_stroke_preserve, cairo_fill_preserve, and cairo_clip_preserve. Rip the path out of cairo_gstate_t. Add path to cairo_t. Bring in most of the path code that used to live in cairo-gstate.c Move arc generation code into its own file. Accept path+ctm_inverse+tolerance instead of gstate. Absorb flattening and device space->user space conversion that used to be in _cairo_gstate_intepret_path. Prefer cairo_fixed_t parameters over ciaro_point_t for cross-file interfaces. Track changes in _cairo_path_fixed interfaces. Port to use cairo_fill_preserve rather than cairo_save/cairo_restore which no longer work for saving the path. Remove get and set of current point since it is no longer affected by cairo_save and cairo_restore. Add get and set testing for cairo_matrix_t. ChangeLog | 40 +++ TODO | 2 +- src/Makefile.am | 1 + src/cairo-arc-private.h | 57 ++++ src/cairo-arc.c | 296 ++++++++++++++++++ src/cairo-ft-font.c | 60 ++-- src/cairo-gstate-private.h | 4 - src/cairo-gstate.c | 677 +++--------------------------------------- src/cairo-path-data-private.h | 8 +- src/cairo-path-data.c | 239 ++++++++++++--- src/cairo-path.c | 93 +++--- src/cairo-private.h | 4 + src/cairo.c | 321 +++++++++++++++++--- src/cairo.h | 10 +- src/cairoint.h | 159 ++++------ test/fill-and-stroke.c | 8 +- test/get-and-set.c | 37 +-- 17 files changed, 1106 insertions(+), 910 deletions(-) commit 618792c8c041ee2004acf1ff411e0adbe94a3e63 Author: Carl Worth Date: Tue Apr 26 09:43:39 2005 +0000 Add very simple test to generate PDF output, (no automated verification yet). Track PNG interface changes, (no more include of cairo-png.h, cairo_surface_write_png renamed to cairo_surface_write_to_png). ChangeLog | 14 +++++++++++ test/.cvsignore | 1 + test/Makefile.am | 2 ++ test/cairo-test.c | 4 +--- test/cairo-test.h | 1 + test/create-for-png.c | 2 -- test/create-from-png.c | 2 -- test/pdf-surface.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ test/pixman-rotate.c | 1 - 9 files changed, 84 insertions(+), 8 deletions(-) commit a5f734455c00f1031f19494717b02a5de2687ec0 Author: Kristian Høgsberg Date: Mon Apr 25 21:52:13 2005 +0000 Prototypes moved to cairo.h, this file removed. ChangeLog | 2 ++ src/cairo-png.h | 58 --------------------------------------------------------- 2 files changed, 2 insertions(+), 58 deletions(-) commit 28e7bbea652efa58b28217bd0cdfe2599a6ae7c7 Author: Kristian Høgsberg Date: Mon Apr 25 21:36:38 2005 +0000 Renamed from cairo_surface_write_png_to_stream() for consistency. (cairo_surface_write_to_png): Renamed from cairo_surface_write_png() for consistency. ChangeLog | 7 +++++++ src/cairo-png.c | 9 +++++---- src/cairo.h | 6 +++--- 3 files changed, 15 insertions(+), 7 deletions(-) commit 87009d692b5a37fc91db19819c46216ed6b3c4e3 Author: Kristian Høgsberg Date: Mon Apr 25 20:42:54 2005 +0000 Factor out bulk of the code into a new callback based function, write_png(). Call it with a stdio write callback. (cairo_surface_write_png_to_stream): New function to write a surface to a PNG stream. (cairo_image_surface_create_from_png): Likewise, move most of the code to read_png(), clean up error handling and reduce this function to calling read_png() with a stdio based read function. (cairo_image_surface_create_from_png_stream): New function to create an image surface from a PNG stream. New functions to get widht and height of an image surface. Add new prototype and error codes. Adjust to new PNG API. ChangeLog | 21 ++++ src/cairo-image-surface.c | 32 ++++++ src/cairo-png.c | 245 +++++++++++++++++++++++++++++++++++----------- src/cairo.c | 4 + src/cairo.h | 68 ++++++++++--- test/cairo-test.c | 4 +- test/create-for-png.c | 19 ++-- test/create-from-png.c | 19 ++-- 8 files changed, 316 insertions(+), 96 deletions(-) commit e55161d2b2ea27d5174c2674544b3aaf6748134d Author: Owen Taylor Date: Mon Apr 25 19:38:44 2005 +0000 Initialize the saved_dc_bitmap field here as well ... not strictly needed, but cleaner. (Reported by Peter Arsoff) ChangeLog | 6 ++++++ src/cairo-win32-surface.c | 1 + 2 files changed, 7 insertions(+) commit 1c756648fc4b5984cb721571bc4cbd68d8c95b29 Author: Kristian Høgsberg Date: Sat Apr 23 11:58:18 2005 +0000 Finalize the correct pattern. ChangeLog | 5 +++++ src/cairo-gstate.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 70211bdbca78c944bc1447eb6216c8e84e14db23 Author: Kristian Høgsberg Date: Fri Apr 22 17:32:12 2005 +0000 Only check PNG signature if we read all the bytes. Don't fclose() the FILE argument (Steve Chaplin ). Rename to cairo_image_surface_create_for_png() to cairo_image_surface_create_from_png() and change FILE arguments for this function and cairo_surface_write_png() to be a filename argument instead. ChangeLog | 11 +++++++++++ src/Makefile.am | 2 -- src/cairo-png.c | 61 +++++++++++++++++++++++++++++++-------------------------- src/cairo-png.h | 6 ++---- src/cairo.h | 11 +++++++++++ 5 files changed, 57 insertions(+), 34 deletions(-) commit 0f0a6a57a31f06d250f0684a49b6bb57084d65b2 Author: Kristian Høgsberg Date: Thu Apr 21 15:18:14 2005 +0000 Handle backends that don't have a set_clip_region implementation (PDF). ChangeLog | 5 +++++ src/cairo-surface.c | 3 +++ 2 files changed, 8 insertions(+) commit 9c10b54e5e98a5c5beca48c51ea930c2072ff6bc Author: Carl Worth Date: Tue Apr 19 16:29:04 2005 +0000 Add new cairo_paint function. Add new get_extents function to the surface backend interface. Add function to query current clip_extents. Implement the new get_extents function for each backend. Save the clip extents from set_clip_region and implement _cairo_surface_get_clip_extents. Abstract away the evil XGetGeometry roundtrip in _cairo_xlib_surface_get_size. Rewrite a couple of tests to call cairo_paint. ChangeLog | 35 ++++++++++++++++ src/cairo-glitz-surface.c | 15 +++++++ src/cairo-gstate.c | 7 ++++ src/cairo-image-surface.c | 22 ++++++++++ src/cairo-pdf-surface.c | 22 +++++++++- src/cairo-ps-surface.c | 20 +++++++++ src/cairo-quartz-surface.c | 12 +++++- src/cairo-surface.c | 39 ++++++++++++++++- src/cairo-win32-surface.c | 18 ++++++++ src/cairo-xcb-surface.c | 15 +++++++ src/cairo-xlib-surface.c | 87 +++++++++++++++++++++++++------------- src/cairo.c | 31 +++++++++++++- src/cairo.h | 3 ++ src/cairoint.h | 101 ++++++++++++++++++++++++++++----------------- test/gradient-alpha.c | 3 +- test/linear-gradient.c | 3 +- 16 files changed, 358 insertions(+), 75 deletions(-) commit 60ec322241ef01930ae63195651249a97ddbe6f7 Author: Carl Worth Date: Tue Apr 19 06:38:07 2005 +0000 Update API Shakeup chart to indicate that cairo_paint and cairo_fill_preserve patches have been sent. ChangeLog | 5 +++++ TODO | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit f13b13a70e987443b572264014647f27237d4cc0 Author: Carl Worth Date: Mon Apr 18 16:26:14 2005 +0000 Add a test of a repeating surface pattern. ChangeLog | 8 +++++ test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/surface-pattern-ref.png | Bin 0 -> 194 bytes test/surface-pattern.c | 75 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 87 insertions(+) commit aef8f9b1a01f712c52d74ea0556dbe9092035b48 Author: Carl Worth Date: Mon Apr 18 05:25:57 2005 +0000 Mark a couple of items that are now complete. Add test case that fills and strokes the same shapes, (in preparation for testing cairo_fill_preserve patch). ChangeLog | 11 +++++++ ROADMAP | 14 ++++----- test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/fill-and-stroke-ref.png | Bin 0 -> 279 bytes test/fill-and-stroke.c | 67 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 89 insertions(+), 7 deletions(-) commit ea82928aa74b87c8feab5e8424ba739b070680fe Author: Carl Worth Date: Thu Apr 14 15:02:47 2005 +0000 Update API Shakeup chart to indicate that cairo_set_source is done. ChangeLog | 5 +++++ TODO | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 828094aef860c8087564c93408846a4e81eec20d Author: Carl Worth Date: Thu Apr 14 14:42:26 2005 +0000 and delete: cairo_set_pattern -> cairo_set_source cairo_get_pattern -> cairo_get_source cairo_set_rgb_color -> cairo_set_source_rgb -> cairo_set_source_rgba cairo_set_alpha -> cairo_get_alpha -> Note that we'll likely want to add cairo_set_source_surface. Add _cairo_stock_color helper function. Improve some interfaces: _cairo_color_init _cairo_color_init_rgb _cairo_color_set_rgb -> _cairo_color_init_rgba _cairo_color_set_alpha _cairo_color_multiply_alpha _cairo_color_get_rgb -> _cairo_color_get_rbga _cairo_color_get_rgba_premultiplied Add cairo_stock_t and some helper macros: CAIRO_COLOR_WHITE CAIRO_COLOR_BLACK CAIRO_COLOR_TRANSPARENT Fix cairo_pattern_t by eliminating pattern->alpha. Fix cairo_solid_pattern_t to use cairo_color_t rather than three doubles. Track removal of pattern->alpha, simplifying the code considerably Track _cairo_color interface changes. Remove gstate->alpha. Propagate down set_source renamings. cairo_pattern_add_color_stop -> cairo_pattern_add_color_stop_rgba and add: cairo_pattern_add_color_stop_rgb Remove pattern->alpha, simplifying the code considerably. Track pattern and color interface changes. Add const where appropriate on cairo_color_t*. Add private type inspection predicate. (cairo_xlib_surface_set_size): Add check for surface type mismatch, (no useful error reporting yet, though). Note coverage as en expected failure. Improve line wrap on expected failure messages. Port all tests to new cairo_set_source interfaces. ChangeLog | 84 ++++++++++++ src/cairo-color.c | 120 +++++++++++++---- src/cairo-glitz-surface.c | 94 ++++---------- src/cairo-gstate-private.h | 3 +- src/cairo-gstate.c | 147 ++++++++------------- src/cairo-pattern.c | 318 +++++++++++++++++---------------------------- src/cairo-pdf-surface.c | 8 +- src/cairo-ps-surface.c | 9 +- src/cairo-surface.c | 35 +++-- src/cairo-xlib-surface.c | 18 +++ src/cairo.c | 146 +++++++++++---------- src/cairo.h | 55 ++++---- src/cairoint.h | 92 +++++++------ test/Makefile.am | 1 + test/cairo-test.c | 2 +- test/clip-twice.c | 3 +- test/coverage.c | 23 ++-- test/fill-rule.c | 2 +- test/line-width.c | 2 +- test/linear-gradient.c | 31 ++--- test/pixman-rotate.c | 13 +- test/set-source.c | 16 +-- test/text-rotate.c | 9 +- test/trap-clip.c | 11 +- 24 files changed, 628 insertions(+), 614 deletions(-) commit c0d9c13d0403673a7fe994664a4f616c71301474 Author: Carl Worth Date: Thu Apr 14 14:02:03 2005 +0000 Make gradient change color in addition to just changing alpha in order to highlight distinction between interpolating in premultiplied vs. non-premultiplied space. ChangeLog | 8 ++++++++ test/gradient-alpha-ref.png | Bin 146 -> 153 bytes test/gradient-alpha.c | 8 ++++---- 3 files changed, 12 insertions(+), 4 deletions(-) commit 65209fc39cb0257b2e55e7dfa509be5a5ef65f05 Author: Carl Worth Date: Thu Apr 14 10:02:58 2005 +0000 Improve instructions for when to add a test to the XFAIL list. Print explanations for expected failures. ChangeLog | 11 +++++++++++ test/Makefile.am | 30 ++++++++++++++++-------------- test/cairo-test.c | 9 +++++++++ test/cairo-test.h | 5 +++++ test/pixman-rotate.c | 4 +++- test/text-rotate.c | 4 +++- 6 files changed, 47 insertions(+), 16 deletions(-) commit d1eb620a195170ac0761b3376e4cd97d7a46cf02 Author: Carl Worth Date: Thu Apr 14 09:31:21 2005 +0000 Add gradient-alpha test in preparation for upcoming cairo_set_source patch. ChangeLog | 8 ++++++ test/.cvsignore | 1 + test/Makefile.am | 3 +++ test/gradient-alpha-ref.png | Bin 0 -> 146 bytes test/gradient-alpha.c | 62 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+) commit 95a6f1941a1ff32b3ef792e5db2a942d7c85bf07 Author: Carl Worth Date: Thu Apr 14 09:13:48 2005 +0000 Add set-source test in preparation for upcoming cairo_set_source patch. ChangeLog | 8 +++++ test/.cvsignore | 3 +- test/Makefile.am | 7 ++-- test/set-source-ref.png | Bin 0 -> 120 bytes test/set-source.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+), 3 deletions(-) commit 080f331edd6c64dd93785f35e05b532aa2f72512 Author: Owen Taylor Date: Thu Apr 14 06:05:59 2005 +0000 Remove a stray free() (#3029, Carl Worth) Note that the bug is fixed. ChangeLog | 7 +++++++ src/cairo-font.c | 1 - test/select-font-no-show-text.c | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) commit 66688da5e4485a369750bd5600134a94c281d985 Author: Carl Worth Date: Wed Apr 13 14:51:59 2005 +0000 Set freed pointer to NULL. Fix to actually set surface->finished when done. Closes bug #2950 as documented in test/surface-finish-twice.c. Note that this bug is fixed. ChangeLog | 11 +++++++++++ src/cairo-image-surface.c | 4 +++- src/cairo-surface.c | 11 +++++++++-- test/surface-finish-twice.c | 4 ++++ 4 files changed, 27 insertions(+), 3 deletions(-) commit 0fe6378bdb83b550ad10b007463d7fb12ef742a9 Author: Carl Worth Date: Wed Apr 13 14:48:02 2005 +0000 Add new test to exercise crash when calling cairo_surface_finish twice on the same surface. ChangeLog | 8 ++++++ test/.cvsignore | 1 + test/Makefile.am | 2 ++ test/surface-finish-twice.c | 70 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) commit f4b2f59c056ca3a84b89412a617994cb1837fd4a Author: Carl Worth Date: Wed Apr 13 14:45:05 2005 +0000 Add new set-surface-no-show-text test. Be sure to call cairo_destroy even if the image size is 0,0 so that we can test bugs triggered during cleanup. ChangeLog | 11 ++++++++ test/.cvsignore | 2 ++ test/Makefile.am | 2 ++ test/cairo-test.c | 1 + test/select-font-no-show-text.c | 60 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+) commit f3af02bb0e098824a23b000adfa7a86a48390ddf Author: Carl Worth Date: Wed Apr 13 14:24:20 2005 +0000 Temporarily remove all text from this test case until we come up with an approach for drawing the same text with different freetype configurations. ChangeLog | 7 +++++++ test/coverage-ref.png | Bin 44324 -> 25904 bytes test/coverage.c | 6 ++++++ 3 files changed, 13 insertions(+) commit 21268bc35938c18783c428f6b3c267b85191b78c Author: Owen Taylor Date: Wed Apr 13 14:04:33 2005 +0000 Fix a comment from last commit src/cairo-traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8feb2717eb20ca2764a1c367a4f7e30bf1ad8537 Author: Owen Taylor Date: Wed Apr 13 14:03:17 2005 +0000 Fix ChangeLog entry ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 542e6c8c90a76bb9ccbedd95c8c65103c68ae6b6 Author: Owen Taylor Date: Wed Apr 13 14:01:50 2005 +0000 Work around a pair of libpixman bugs (denegerate trapezoids from tesellator, pixman_region_union_rect() failing on width/height zero rectangles) ChangeLog | 6 ++++++ src/cairo-traps.c | 7 +++++++ 2 files changed, 13 insertions(+) commit 1de5ace6c22b457d4c712b9d8c9e8fb87e927c43 Author: Carl Worth Date: Wed Apr 13 13:01:54 2005 +0000 Fix typo TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a16a634f97a9948d6a98ed89664f74bf36e0f1ae Author: Owen Taylor Date: Wed Apr 13 11:23:43 2005 +0000 src/cairoint.h src/cairo-traps.c: Add _cairo_traps_extract_region for converting trapezoids into a pixman region. Represent all rectangular pixel-aligned regions as regions, not just single rectangles. Split into manageable pieces, optimize rectangular pixel- aligned regions by using _cairo_surface_fill_rectangles() or _cairo_surface_set_clip_region() as appropriate. tests/trap-clip.c tests/trap-clip-ref.png tests/Makefile.am: Add a test for trapezoids clipping. Add an index. ChangeLog | 18 ++ doc/public/cairo-docs.xml | 3 + src/cairo-gstate.c | 586 +++++++++++++++++++++++++++++++--------------- src/cairo-traps.c | 55 +++++ src/cairoint.h | 4 + test/Makefile.am | 5 +- test/trap-clip-ref.png | Bin 0 -> 71701 bytes test/trap-clip.c | 213 +++++++++++++++++ 8 files changed, 688 insertions(+), 196 deletions(-) commit 3bec073a7c7ae946d1a61769a694760dd3fcb890 Author: Carl Worth Date: Tue Apr 12 13:24:48 2005 +0000 Note that bug is now fixed. ChangeLog | 4 ++++ test/translate-show-surface.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 173bc22a62681d1dc0807f16f387e3f41d3653c0 Author: Carl Worth Date: Tue Apr 12 11:50:25 2005 +0000 Replace errant use of aclocal with , as reported by Martin Hedenfalk. Closes bug #3000. ChangeLog | 5 +++++ autogen.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 369d1bf28f589d4aee7773180038a9564f14db19 Author: Carl Worth Date: Tue Apr 12 09:14:14 2005 +0000 Default to CAIRO_FILTER_GOOD rather than CAIRO_FILTER_BEST. Optimize to use CAIRO_FILTER_NEAREST when the pattern matrix is an integer translation. ChangeLog | 11 +++++++++++ src/cairo-pattern.c | 3 ++- src/cairo-surface.c | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) commit 439a94cc7b5f8982d469cdb6665be3cd21944cc5 Author: Carl Worth Date: Tue Apr 12 07:57:46 2005 +0000 Use CAIRO_FILTER_BEST by default rather than CAIRO_FILTER_NEAREST. ChangeLog | 7 +++++++ src/cairo-pattern.c | 2 +- src/cairo-surface.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) commit 8f6fc777d1f032f829fcd1e6134dbf761e6df5d0 Author: Carl Worth Date: Tue Apr 12 07:12:08 2005 +0000 Offset the src pattern by (0,0)->CTM. This fixes test/translate-show-surface. Use unsigned cahr* to match new prototype for cairo_image_surface_create_for_data. ChangeLog | 9 +++++++++ src/cairo-glitz-surface.c | 4 ++-- src/cairo-gstate.c | 17 +++++++++++++++-- 3 files changed, 26 insertions(+), 4 deletions(-) commit 8f7ea593bab3c30f1e99e48f78285d18b3724ee1 Author: Carl Worth Date: Mon Apr 11 14:04:56 2005 +0000 Add new test demonstrating bug in the sequence: cairo_translate; cairo_show_surface. ChangeLog | 9 +++++ test/.cvsignore | 1 + test/Makefile.am | 5 ++- test/translate-show-surface-ref.png | Bin 0 -> 100 bytes test/translate-show-surface.c | 77 ++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+), 1 deletion(-) commit a70e8f7c9e5ffc07ef867196bda3c9996212c8a6 Author: Carl Worth Date: Mon Apr 11 11:30:28 2005 +0000 Add deprecation alias from cairo_scale_font to cairo_set_font_size. ChangeLog | 5 +++++ src/cairo.c | 1 + 2 files changed, 6 insertions(+) commit 9ba4dce8110dc02d9faa255918a64c332da80a7a Author: Carl Worth Date: Mon Apr 11 11:20:08 2005 +0000 Add deprecation alias from cairo_select_font to cairo_select_font_face. ChangeLog | 5 +++++ src/cairo.c | 1 + 2 files changed, 6 insertions(+) commit cf9ea3007828a46c5297a8882b6272ad30d12ba8 Author: Owen Taylor Date: Mon Apr 11 09:18:51 2005 +0000 src/cairo.h doc/public/cairo-sections.txt src/cairo-matrix.c: Update. Include cairo-font.xml ChangeLog | 7 +++ doc/public/Makefile.am | 13 +++--- doc/public/cairo-docs.xml | 1 + doc/public/cairo-sections.txt | 54 ++++++++++++++-------- doc/public/tmpl/cairo-font.sgml | 12 +++++ doc/public/tmpl/cairo-matrix.sgml | 61 ++++++++++++------------- doc/public/tmpl/cairo-pattern.sgml | 6 +++ doc/public/tmpl/cairo-pdf.sgml | 30 +++++++++++++ doc/public/tmpl/cairo-png.sgml | 21 +++++++++ doc/public/tmpl/cairo-surface.sgml | 6 +++ doc/public/tmpl/cairo-xcb.sgml | 12 +++++ doc/public/tmpl/cairo.sgml | 91 +++++++++++++++++++++++++++++++------- src/cairo-matrix.c | 2 - src/cairo.h | 8 ++-- 14 files changed, 249 insertions(+), 75 deletions(-) commit df997b3f5be6e04fe20da82ad0ee24a33732a4f0 Author: Carl Worth Date: Mon Apr 11 06:56:10 2005 +0000 Indentation changes ROADMAP | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) commit 2a616d68422c7029434a3d1d22ab668f23bd55bc Author: Carl Worth Date: Fri Apr 8 14:06:32 2005 +0000 Move include of pixman.h from cairo.h to cairoint.h since libpixman isn't part of cairo's public interface. Use unsigned long rather than uint32_t since we no longer have pixman.h setting that type up for us. Remove unused variable user_data_copy. ChangeLog | 13 +++++++++++++ src/cairo-font.c | 2 -- src/cairo.h | 1 - src/cairoint.h | 1 + test/move-to-show-surface.c | 3 +-- 5 files changed, 15 insertions(+), 5 deletions(-) commit 584cb301456bd4ee9d92fa3becd148440df57d3b Author: Carl Worth Date: Fri Apr 8 13:44:22 2005 +0000 Add ROADMAP file with an initial stab at 1.0 items. ChangeLog | 4 ++++ ROADMAP | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ TODO | 8 ++++---- 3 files changed, 78 insertions(+), 4 deletions(-) commit c803908d95d0022463d138f0caee949b14d0cadb Author: Owen Taylor Date: Fri Apr 8 13:14:17 2005 +0000 src/cairo.h src/cairo-font.c src/cairoint.h doc/public/cairo-sections.txt: Add cairo_font_face_set/get_user_data(). src/cairo-array.c src/cairoint.h src/cairo-surface.c: Refactor user data code from cairo-surface.c into cairo_user_data_array_t. Switch these types to be like cairo_surface_t where the generic code frees the wrapper object. src/cairo-atsui-font.c src/cairo-ft-font.c src/cairo-win32-font.c: Fix up for the above changes. Implement a complicated mutual-referencing scheme to make sure that a face from cairo_ft_font_face_create_for_ft_face() is freed only when the FT_Face is no longer needed. Update the docs to describe how to figure out when the FT_Face can be freed. Fix refcount leaks when creating fonts. Remove excess call to _cairo_unscaled_font_reference(). Remove stray initialization of font matrix to the identity. test/user-data.c: Fix a bug when setting/unsetting a key with a free key slot before it, add that to the test case. Don't append an element when user_data is NULL. ChangeLog | 42 +++++++++++ doc/public/cairo-sections.txt | 2 + doc/public/tmpl/cairo-font.sgml | 18 +++-- doc/public/tmpl/cairo-matrix.sgml | 12 ---- doc/public/tmpl/cairo-pattern.sgml | 6 -- doc/public/tmpl/cairo-surface.sgml | 6 -- doc/public/tmpl/cairo.sgml | 13 ---- src/cairo-array.c | 139 +++++++++++++++++++++++++++++++++++++ src/cairo-atsui-font.c | 2 - src/cairo-font.c | 67 +++++++++++++++++- src/cairo-ft-font.c | 97 +++++++++++++++++--------- src/cairo-gstate.c | 1 - src/cairo-pdf-surface.c | 2 - src/cairo-surface.c | 71 ++----------------- src/cairo-win32-font.c | 3 - src/cairo.h | 54 ++++++++------ src/cairoint.h | 24 ++++++- test/user-data.c | 4 ++ 18 files changed, 393 insertions(+), 170 deletions(-) commit 7aa5b71e8cc42bdcc935ad0990a0ac434dd0aa0e Author: Dave Beckett Date: Fri Apr 8 12:42:28 2005 +0000 Update to track changes to cairo_matrix_t interface. ChangeLog | 5 +++++ src/cairo-glitz-surface.c | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) commit 30f0d517aa73d5d00b5a2bed2f549f9c662a39a7 Author: Carl Worth Date: Fri Apr 8 10:03:17 2005 +0000 Eliminate internal use of deprecated cairo_matrix_copy. Change cairo_get_matrix to accept a pointer to the return value cairo_matrix_t rather than returning the value directly. ChangeLog | 15 +++++++++++++++ src/cairo-gstate.c | 18 ++++++------------ src/cairo-matrix.c | 1 - src/cairo.c | 27 ++++----------------------- src/cairo.h | 7 ++----- src/cairoint.h | 5 +---- 6 files changed, 28 insertions(+), 45 deletions(-) commit 745627ff1b0cf97760cbd613668f79c9b63a57c2 Author: Carl Worth Date: Fri Apr 8 04:43:06 2005 +0000 Don't try to return a value (even a void value) from a void function. Closes bug #2931. ChangeLog | 6 ++++++ src/cairo-matrix.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit 43435b69e14d4039b0537dfdc96cbcebd164175f Author: Carl Worth Date: Thu Apr 7 15:00:46 2005 +0000 Remove broken code for defining uint64_t. ChangeLog | 5 +++++ src/cairo-wideint.h | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) commit 9bef5b6f148d08b5f0e13bd768b6e7e2a4697c0b Author: Carl Worth Date: Thu Apr 7 14:25:00 2005 +0000 Change to allow NULL backend function pointers to indicate unsupported functions. Eliminate stub functions and replace with NULL in surface backend table. ChangeLog | 22 +++++++++ src/cairo-glitz-surface.c | 16 +------ src/cairo-image-surface.c | 16 +------ src/cairo-pdf-surface.c | 61 +++---------------------- src/cairo-ps-surface.c | 79 +++----------------------------- src/cairo-quartz-surface.c | 109 ++++----------------------------------------- src/cairo-surface.c | 86 +++++++++++++++++------------------ src/cairo-win32-surface.c | 64 +++----------------------- src/cairo-xcb-surface.c | 18 ++------ src/cairo-xlib-surface.c | 16 +------ 10 files changed, 99 insertions(+), 388 deletions(-) commit ac6f15e2450e4e08d833355e626df0358d81c2ec Author: Owen Taylor Date: Thu Apr 7 13:29:32 2005 +0000 src/cairo.[ch] src/cairoint.h src/cairo-gstate.c docs/public/cairo-sections.txt: cairo_select_font() => cairo_select_font_face() cairo_scale_font() => cairo_set_font_size() cairo_transform_font() => cairo_set_font_matrix() Add cairo_get_font_matrix(). Make cairo_set_font_face() not reset the font matrix. Default the font matrix to SCALE(10). Document cairo_select_font_face(). test/text-cache-crash.c (draw) test/text-rotate.c (draw): Use cairo_set_font_size(). src/cairo-font.c src/cairo.h: Fix up some parameter names for docs. ChangeLog | 17 ++++++++++ doc/public/cairo-sections.txt | 10 ++++-- doc/public/tmpl/cairo-font.sgml | 12 +++++-- doc/public/tmpl/cairo.sgml | 18 +++++++--- src/cairo-font.c | 8 ++--- src/cairo-gstate.c | 50 +++++++++++----------------- src/cairo.c | 73 ++++++++++++++++++++++++++++++----------- src/cairo.h | 32 +++++++++++------- src/cairoint.h | 30 ++++++++--------- test/coverage.c | 2 +- test/text-cache-crash.c | 6 ++-- test/text-rotate.c | 2 +- 12 files changed, 163 insertions(+), 97 deletions(-) commit 62212867d4228d5834ea16858a8569765977bdd9 Author: Carl Worth Date: Thu Apr 7 12:56:43 2005 +0000 Minor changes to header file inclusion recommended by Oleg Smolsky for better portability to MSVC. ChangeLog | 10 ++++++++++ src/cairo-gstate.c | 1 - src/cairo-png.c | 3 ++- src/cairo-win32-font.c | 2 +- src/cairo-win32-surface.c | 2 +- src/cairo-win32.h | 1 + src/cairoint.h | 4 ++++ 7 files changed, 19 insertions(+), 4 deletions(-) commit 4a3a6e871965b1f2ab113cb50a4687a54a231856 Author: Owen Taylor Date: Thu Apr 7 12:38:02 2005 +0000 Fix various compilation errors. ChangeLog | 4 +++ src/cairo-win32-font.c | 83 ++++++++++++++++++++++++-------------------------- 2 files changed, 44 insertions(+), 43 deletions(-) commit 3ea3186f165c2d73403534982094518473156989 Author: Carl Worth Date: Thu Apr 7 12:35:33 2005 +0000 Use a preprocessor macro to get a literal value in the array size declaration, (for better portability to lame compilers that can't deal with a const int variable for the array size). Reported by Oleg Smolsky. ChangeLog | 1 + src/cairo-png.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 88a62f07df27a5e6501678e3aec1882e367901be Author: Carl Worth Date: Thu Apr 7 12:33:06 2005 +0000 Use a preprocessor macro to get a literal value in the array size declaration, (for better portability to lame compilers that can't deal with a const int variable for the array size). Reported by Oleg Smolsky. ChangeLog | 7 +++++++ src/cairo-png.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit d4209c331f0823c585643e6a7197107321ba2049 Author: Carl Worth Date: Thu Apr 7 12:05:52 2005 +0000 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 ). ChangeLog | 10 ++++++++++ configure.in | 1 + src/cairo-wideint.h | 23 +++++++++++++++++------ src/cairoint.h | 10 ---------- 4 files changed, 28 insertions(+), 16 deletions(-) commit 945e6c24586e124a346818c9a2b15f4693b8ae9f Author: Carl Worth Date: Thu Apr 7 11:18:40 2005 +0000 Fix to return non-zero status on error. ChangeLog | 4 ++++ test/imagediff.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 47824dee31acdaf5ad6488dd2714e9f28c936aa2 Author: Owen Taylor Date: Thu Apr 7 11:03:59 2005 +0000 src/cairo.h src/cairo-gstate.c src/cairo-font.c: Add a cairo_font_face_t type to hold a description of a font face. Replace cairo_set_font() with cairo_set_font_face(). src/cairoint.h src/cairo-font.c src/cairo-gstate.c: Add "cairo_simple_font_face" for family/weight/slant and use it to implement font naming for the toy API. src/cairo-ft.h src/cairo-ft-font.c cairo-win32.h cairo-win32-font.c: Switch the FreeType and Win32 backends over to using cairo_font_face_t. src/cairo.h src/cairo-font.c src/cairo-ft-font.c src/cairo-win32-font.c: Pass in font matrix and CTM separately rather than as a composite scale when creating fonts; allows removing font_matrix argument to metrics functions. src/cairoint.h src/cairo-font.c src/cairo-ft-font.c src/cairo-win32-font.c: Remove cairo_font_scale_t type, just use cairo_matrix_t and ignore translations. src/cairo-ft.h src/cairo-ft-font.c: Remove cairo_ft_font_get_pattern() -- it can't work for all FreeType backend fonts and doesn't seem particularly useful. Rename cairo_font_get_extents() to cairo_font_extents() split font functions into a separate section. Fix locking order problem. Add caches for simple font faces and from cairo_font_face_t to cairo_scaled_font_t. src/cairo.h src/cairoint.h src/cairo-font.c src/cairo-win32-font.c src/cairo-ft-font.c src/cairo-gstate.c src/cairo-gstate-private.h: Rename cairo_font_t to cairo_scaled_font_t. ChangeLog | 43 ++ doc/public/cairo-sections.txt | 47 +- doc/public/tmpl/cairo-font.sgml | 118 +++++ doc/public/tmpl/cairo-ft.sgml | 23 +- doc/public/tmpl/cairo-matrix.sgml | 27 +- doc/public/tmpl/cairo-pdf.sgml | 38 +- doc/public/tmpl/cairo-png.sgml | 24 - doc/public/tmpl/cairo-surface.sgml | 5 +- doc/public/tmpl/cairo.sgml | 130 +----- src/cairo-font.c | 875 ++++++++++++++++++++++++++++++++----- src/cairo-ft-font.c | 829 ++++++++++++++++++----------------- src/cairo-ft-private.h | 2 +- src/cairo-ft.h | 19 +- src/cairo-gstate-private.h | 3 +- src/cairo-gstate.c | 211 ++++----- src/cairo-pdf-surface.c | 16 +- src/cairo-surface.c | 4 +- src/cairo-win32-font.c | 564 ++++++++++++------------ src/cairo-win32-surface.c | 2 +- src/cairo-win32.h | 13 +- src/cairo-xlib-surface.c | 18 +- src/cairo.c | 79 +--- src/cairo.h | 77 ++-- src/cairoint.h | 184 ++++---- 24 files changed, 2033 insertions(+), 1318 deletions(-) commit d135938efd443e4adce63cf8c5926ac421b2d3ed Author: Carl Worth Date: Thu Apr 7 10:01:49 2005 +0000 Rework the cairo_matrix_t interface in several ways. Expose a struct for cairo_matrix_t. Add new function to return current matrix: cairo_get_matrix Deprecate the following functions (in documentation): cairo_matrix_create cairo_matrix_destroy cairo_matrix_get_affine Rename: cairo_matrix_set_affine -> cairo_matrix_init cairo_matrix_set_identity -> cairo_matrix_init_identity Add other new matrix initialization functions: cairo_matrix_init_translate cairo_matrix_init_scale cairo_matrix_init_rotate Change return type of almost all cairo_matrix functions from cairo_status_t to void. Track changes to cairo_matrix_t interface. Add a test case showing the same path drawn under various transforms, (including skews set directly by initializing a cairo_matrix_t). ChangeLog | 46 ++++++ TODO | 2 +- src/cairo-atsui-font.c | 6 +- src/cairo-ft-font.c | 12 +- src/cairo-gstate.c | 48 ++++--- src/cairo-image-surface.c | 12 +- src/cairo-matrix.c | 354 ++++++++++++++++++++++------------------------ src/cairo-pattern.c | 18 ++- src/cairo-pdf-surface.c | 20 +-- src/cairo-pen.c | 4 +- src/cairo-surface.c | 10 +- src/cairo-win32-font.c | 14 +- src/cairo-xlib-surface.c | 12 +- src/cairo.c | 26 +++- src/cairo.h | 70 ++++++--- src/cairoint.h | 38 ++--- test/.cvsignore | 1 + test/Makefile.am | 5 +- test/transforms-ref.png | Bin 0 -> 302 bytes test/transforms.c | 111 +++++++++++++++ 20 files changed, 502 insertions(+), 307 deletions(-) commit 92060c12ee2acc38541ec2398abba5e1569278de Author: Carl Worth Date: Wed Apr 6 13:01:13 2005 +0000 Make handling of unsigned char* vs. char* consistent. Change all parameters that are actual string data from unsigned char* to char* (cairo_text_extents, cairo_show_text, cairo_text_path). Change all data buffers from char* to unsigned char* (cairo_write_func_t). Track changes from unsigned char* to char*. Convert to unsigned only at the internal interface to unicode processing. Track change from char* to unsigned char*. ChangeLog | 22 ++++++++++++++++++++++ src/cairo-atsui-font.c | 13 +++++++------ src/cairo-font.c | 8 ++++---- src/cairo-ft-font.c | 14 +++++++------- src/cairo-gstate.c | 8 ++++---- src/cairo-output-stream.c | 6 +++--- src/cairo.c | 6 +++--- src/cairo.h | 16 ++++++++-------- src/cairoint.h | 18 +++++++++--------- test/move-to-show-surface.c | 2 +- 10 files changed, 68 insertions(+), 45 deletions(-) commit 957ceac0c63b70d1a32b64d0d6a89cb1b9bca2c5 Author: Carl Worth Date: Wed Apr 6 12:20:02 2005 +0000 Fix reversed arguments in call to calloc. ChangeLog | 5 +++++ src/cairo-cache.c | 5 +++-- src/cairo-hash.c | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit a6d9b6a671faf6cc726af12d4f4e706262c2bd6b Author: Carl Worth Date: Mon Apr 4 09:47:12 2005 +0000 Change type of data parameter from char* to unsigned char*. Propagate the unsigned char* change down the stack. Add cast since XImage uses char* rather than unsigned char*. Fix memory leak of image data. Switch to use cairo_surface_write_png rather than a custom write_png_argb32. Add test to exercise the cairo_image_surface_create_for_png function. ChangeLog | 35 ++++++++++++++++++-- src/cairo-ft-font.c | 2 +- src/cairo-image-surface.c | 2 +- src/cairo-pattern.c | 8 ++--- src/cairo-png.c | 9 ++++-- src/cairo-xlib-surface.c | 2 +- src/cairo.c | 2 +- src/cairo.h | 4 +-- test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/buffer-diff.c | 6 ++-- test/buffer-diff.h | 4 ++- test/cairo-test.c | 14 ++++---- test/cairo-test.h | 2 ++ test/create-for-png-ref.png | Bin 0 -> 100 bytes test/create-for-png.c | 74 +++++++++++++++++++++++++++++++++++++++++++ test/create-from-png-ref.png | Bin 0 -> 100 bytes test/create-from-png.c | 74 +++++++++++++++++++++++++++++++++++++++++++ test/write-png.c | 2 +- test/write-png.h | 2 +- 20 files changed, 221 insertions(+), 25 deletions(-) commit 770d4c55b4b576875b73249f29ad7840fb5da7e5 Author: Carl Worth Date: Mon Apr 4 09:25:47 2005 +0000 Remove items for PNG backend removal and trapezoid reasterization re-implementation since they have been completed. ChangeLog | 6 ++++++ TODO | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) commit 027057bf62fe0df78261af338f6d2f190433792b Author: Carl Worth Date: Mon Apr 4 06:49:19 2005 +0000 Drop cairo_default_matrix since it is now always identical to cairo_identity_matrix. Remove gstate->pixels_per inch. Change default matrix to always be the identity matrix. Drop pixels_per_inch function from surface backend interface as it is no longer needed. ChangeLog | 24 ++++++++++++++++++++++++ src/cairo-glitz-surface.c | 7 ------- src/cairo-gstate-private.h | 2 -- src/cairo-gstate.c | 28 ++-------------------------- src/cairo-image-surface.c | 8 -------- src/cairo-pdf-surface.c | 10 ---------- src/cairo-ps-surface.c | 10 ---------- src/cairo-quartz-surface.c | 9 --------- src/cairo-surface.c | 6 ------ src/cairo-win32-surface.c | 8 -------- src/cairo-xcb-surface.c | 8 -------- src/cairo-xlib-surface.c | 8 -------- src/cairo.c | 30 ++++++++++++++++++------------ src/cairo.h | 7 ++----- src/cairoint.h | 10 ---------- 15 files changed, 46 insertions(+), 129 deletions(-) commit 5778c77382f3a81b77aca1d224d0ad7626bcd5d2 Author: Carl Worth Date: Sat Apr 2 06:00:32 2005 +0000 Use the current point to offset just the destination, not the source and destination. With this fix, cairo_show_surface should work with the current point at places other than the origin. Move move-to-show-surface off the expected failure list. Add comment indicating that bug is resolved. Don't use diff to compare images, just imagediff. ChangeLog | 15 +++++++++++++++ src/cairo-gstate.c | 4 ++-- test/Makefile.am | 1 - test/move-to-show-surface.c | 9 +++++++++ test/testsvg | 4 ++-- 5 files changed, 28 insertions(+), 5 deletions(-) commit 9e405876e86ce004cd69b87a10c1bf7ce7d1b436 Author: Carl Worth Date: Sat Apr 2 05:18:11 2005 +0000 Style and indentation fixes. cast to quiet new gcc-4 warnings. Initialize variables to quiet new gcc-4 warnings. Use unsigned char* as expected by freetype, libpng, Xlib, and zlib. Propagate unsigned char* down from cairo_text_extents. ChangeLog | 29 +++++++++++++++++++++++++++++ src/cairo-font.c | 6 +++--- src/cairo-ft-font.c | 7 ++++--- src/cairo-gstate.c | 12 ++++++------ src/cairo-image-surface.c | 2 +- src/cairo-pdf-surface.c | 4 ++-- src/cairo-png.c | 4 ++-- src/cairo-ps-surface.c | 4 ++-- src/cairo-unicode.c | 28 ++++++++++++++-------------- src/cairo-xlib-surface.c | 5 +++-- src/cairo.c | 34 ++++++++++++++++++---------------- src/cairo.h | 14 +++++++------- src/cairoint.h | 36 ++++++++++++++++++------------------ 13 files changed, 109 insertions(+), 76 deletions(-) commit 7636e901841a800dd5d032963fca6a7c9ef1be99 Author: Carl Worth Date: Fri Apr 1 18:00:00 2005 +0000 Update API shakeup chart. Add a standin for the function that should be cairo_set_target_image which should then have some other name. We can straighten that mess out when we eliminate the set_target functions. Add deprecation alias for cairo_current_pattern. Deprecate cairo_surface_create_for_image in favor of cairo_image_surface_create_for_data. ChangeLog | 16 +++++++++++++++ TODO | 6 +++--- src/cairo-image-surface.c | 1 + src/cairo-surface.c | 11 ----------- src/cairo.c | 50 +++++++++++++++++++++++++++++++++++++++++++---- src/cairo.h | 21 +++++++++++--------- src/cairoint.h | 1 - 7 files changed, 78 insertions(+), 28 deletions(-) commit 5abf7786c070a3baf220599d6e3b71e56911ba5f Author: Kristian Høgsberg Date: Thu Mar 31 13:25:44 2005 +0000 Remove this function now that the PNG backend is gone. ChangeLog | 5 +++++ src/cairo.c | 28 ---------------------------- 2 files changed, 5 insertions(+), 28 deletions(-) commit 19a918e624a398c315e511e580bc048b81d58849 Author: Carl Worth Date: Wed Mar 30 14:00:31 2005 +0000 Fix typo I had introduced into Jason's patch that made configure fail. ChangeLog | 5 +++++ configure.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 13b1b705f41efd33dfb5d1fa9ddb3c22f353055f Author: Carl Worth Date: Wed Mar 30 13:34:51 2005 +0000 A few fixes courtesy of Jason Dorje Short : Disable PS backend if zlib is not found. Fix mistyped parameter. Fix missing return value. ChangeLog | 12 ++++++++++++ configure.in | 6 ++++++ src/cairo-win32-font.c | 2 +- src/cairo-win32-surface.c | 4 +++- 4 files changed, 22 insertions(+), 2 deletions(-) commit 811fe63f84983efa7aec984dfb4a4aed365bab02 Author: Tor Lillqvist Date: Wed Mar 30 09:31:49 2005 +0000 src/cairo-gstate.c (_cairo_gstate_stroke_extents): call _cairo_pen_init so that the result takes into account the caps. ChangeLog | 5 +++++ src/cairo-gstate.c | 2 ++ 2 files changed, 7 insertions(+) commit a7a4aa34f89b9a65ad00da6048e86301ad7d21cc Author: Tor Lillqvist Date: Tue Mar 29 11:54:01 2005 +0000 src/cairo-xlib.h: include Xlib.h to fix solaris build bustage. ChangeLog | 4 ++++ src/cairo-xlib.h | 1 + 2 files changed, 5 insertions(+) commit a55a640e542c483a286b9481d8b9ee1fb96a8c4a Author: Tor Lillqvist Date: Tue Mar 29 11:48:58 2005 +0000 src/cairo-wideint.h: add preprocessor tests for stdint.h/inttypes.h src/cairoint.h: add preprocessor tests for stdint.h/inttypes.h ChangeLog | 6 ++++++ src/cairo-wideint.h | 12 ++++++++++-- src/cairoint.h | 11 ++++++++++- 3 files changed, 26 insertions(+), 3 deletions(-) commit 72cc8f96fe75ccb79fd0d136b99020f5bc64e05b Author: Tor Lillqvist Date: Tue Mar 29 11:45:52 2005 +0000 src/pixman.h: add AIX to the test for inttypes.h pixman/ChangeLog | 4 ++++ pixman/src/pixman.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 78b022b1d18dff1627a054bae1ef1fcc87ba2cbb Author: Tor Lillqvist Date: Tue Mar 29 11:24:10 2005 +0000 Update quartz backend to compilable/workable version and re-enable. ChangeLog | 8 + configure.in | 2 +- src/cairo-atsui-font.c | 1228 +++++++++++++++++++++----------------------- src/cairo-quartz-surface.c | 383 +++++++------- 4 files changed, 768 insertions(+), 853 deletions(-) commit 35b9e3c45d8a4c2aa24eff5acb04d0e1eb7bc6ba Author: Carl Worth Date: Tue Mar 29 00:02:19 2005 +0000 More _/- renames in the test directory. ChangeLog | 5 + test/.cvsignore | 24 ++-- test/Makefile.am | 66 +++++----- test/buffer-diff.c | 2 +- test/buffer_diff.c | 73 ----------- test/buffer_diff.h | 38 ------ test/cairo-test.c | 8 +- test/cairo_test.c | 263 -------------------------------------- test/cairo_test.h | 55 -------- test/clip-twice.c | 4 +- test/clip_twice-ref.png | Bin 751 -> 0 bytes test/clip_twice.c | 74 ----------- test/coverage.c | 2 +- test/fill-rule.c | 4 +- test/fill_rule-ref.png | Bin 1979 -> 0 bytes test/fill_rule.c | 132 ------------------- test/get-and-set.c | 4 +- test/get_and_set.c | 151 ---------------------- test/imagediff.c | 6 +- test/leaky-polygon.c | 4 +- test/leaky_polygon-ref.png | Bin 255 -> 0 bytes test/leaky_polygon.c | 84 ------------ test/line-width.c | 4 +- test/line_width-ref.png | Bin 171 -> 0 bytes test/line_width.c | 65 ---------- test/linear-gradient.c | 4 +- test/linear_gradient-ref.png | Bin 12724 -> 0 bytes test/linear_gradient.c | 143 --------------------- test/move-to-show-surface.c | 4 +- test/move_to_show_surface-ref.png | Bin 100 -> 0 bytes test/move_to_show_surface.c | 71 ---------- test/path-data.c | 4 +- test/path_data-ref.png | Bin 387 -> 0 bytes test/path_data.c | 179 -------------------------- test/pixman-rotate.c | 4 +- test/pixman_rotate-ref.png | Bin 260 -> 0 bytes test/pixman_rotate.c | 80 ------------ test/read-png.c | 2 +- test/read_png.c | 166 ------------------------ test/read_png.h | 45 ------- test/text-cache-crash.c | 4 +- test/text-rotate.c | 4 +- test/text_cache_crash.c | 135 ------------------- test/text_rotate.c | 119 ----------------- test/user_data.c | 78 ----------- test/write-png.c | 2 +- test/write_png.c | 99 -------------- test/write_png.h | 35 ----- 48 files changed, 83 insertions(+), 2163 deletions(-) commit d9c2be3dcd27baa91b67cc9179bc98e06805a365 Author: Carl Worth Date: Mon Mar 28 14:30:40 2005 +0000 Renamed a bunch of files to use - rather than _ as a separator. Copy happened in the master repository to preserve history, so this is just a big remove. ChangeLog | 7 + src/Makefile.am | 68 +- src/cairo_array.c | 134 --- src/cairo_atsui_font.c | 807 -------------- src/cairo_cache.c | 518 --------- src/cairo_color.c | 97 -- src/cairo_fixed.c | 91 -- src/cairo_font.c | 475 -------- src/cairo_ft_font.c | 1538 -------------------------- src/cairo_glitz_surface.c | 1299 ---------------------- src/cairo_gstate.c | 2618 -------------------------------------------- src/cairo_hull.c | 202 ---- src/cairo_image_surface.c | 675 ------------ src/cairo_matrix.c | 656 ----------- src/cairo_output_stream.c | 147 --- src/cairo_path.c | 504 --------- src/cairo_path_bounds.c | 184 ---- src/cairo_path_data.c | 275 ----- src/cairo_path_fill.c | 210 ---- src/cairo_path_stroke.c | 852 -------------- src/cairo_pattern.c | 1325 ---------------------- src/cairo_pdf_surface.c | 2278 -------------------------------------- src/cairo_pen.c | 589 ---------- src/cairo_polygon.c | 172 --- src/cairo_ps_surface.c | 403 ------- src/cairo_quartz_surface.c | 392 ------- src/cairo_slope.c | 103 -- src/cairo_spline.c | 288 ----- src/cairo_surface.c | 958 ---------------- src/cairo_traps.c | 740 ------------- src/cairo_unicode.c | 340 ------ src/cairo_wideint.c | 1024 ----------------- src/cairo_win32_font.c | 1252 --------------------- src/cairo_win32_surface.c | 908 --------------- src/cairo_xcb_surface.c | 946 ---------------- src/cairo_xlib_surface.c | 1669 ---------------------------- 36 files changed, 41 insertions(+), 24703 deletions(-) commit 18c8846bc068e59137cf8cf4a94ad37822e28fae Author: Carl Worth Date: Mon Mar 28 14:06:40 2005 +0000 Sorted API shakeup chart. ChangeLog | 4 ++++ TODO | 31 ++++++++++++++++++------------- 2 files changed, 22 insertions(+), 13 deletions(-) commit bd5bbb6ce2e0f3a9296e3fec017ace10ee8068d3 Author: Kristian Høgsberg Date: Mon Mar 28 13:58:26 2005 +0000 New PNG utility functions. Reverse the naming of the pdf constructors so the callback based ones have the long names. ChangeLog | 9 ++ configure.in | 18 +-- src/Makefile.am | 4 +- src/cairo-features.h.in | 4 +- src/cairo-pdf-surface.c | 24 +-- src/cairo-pdf.h | 52 +++---- src/cairo-png.c | 336 ++++++++++++++++++++++++++++++++++++++++ src/cairo-png.h | 20 +-- src/cairo.c | 43 +++--- src/cairo_pdf_surface.c | 24 +-- src/cairo_png_surface.c | 402 ------------------------------------------------ 11 files changed, 438 insertions(+), 498 deletions(-) commit 33d2ec2eb8b97e51fc3e24fdfa97ee7b89e734a1 Author: Jamey Sharp Date: Fri Mar 25 11:47:38 2005 +0000 Fix "implicit declaration" warning in cairo.c by moving cairo_xcb_surface_create prototype into cairo-xcb.h. ChangeLog | 7 +++++++ src/cairo-xcb-surface.c | 6 ------ src/cairo-xcb.h | 6 ++++++ src/cairo_xcb_surface.c | 6 ------ 4 files changed, 13 insertions(+), 12 deletions(-) commit 410e3ae8f20176f1a18b5394dfa753a277221a7f Author: Carl Worth Date: Wed Mar 23 14:36:29 2005 +0000 Clean up names of cairo_path internals. ChangeLog | 5 + src/cairo-path-fixed-private.h | 14 +- src/cairo-path.c | 293 ++++++++++++++++++++--------------------- src/cairo_path.c | 293 ++++++++++++++++++++--------------------- 4 files changed, 304 insertions(+), 301 deletions(-) commit 5170c1f4d2e554ad03450513046ff8c27150f6ee Author: Carl Worth Date: Wed Mar 23 14:17:40 2005 +0000 Remove unneeded includes of cairo-path-fixed-private.h. Fix indentation. ChangeLog | 9 +++++++++ src/cairo-ft-font.c | 2 +- src/cairo-path-fill.c | 1 - src/cairo-path-stroke.c | 1 - src/cairo_ft_font.c | 2 +- src/cairo_path_fill.c | 1 - src/cairo_path_stroke.c | 1 - 7 files changed, 11 insertions(+), 6 deletions(-) commit 9bcfb831fa6355b61700b2c5f466711296971a07 Author: Carl Worth Date: Wed Mar 23 14:02:36 2005 +0000 More updates to the API Shakeup chart. ChangeLog | 4 ++++ TODO | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit f218c14b9da7950b49bdab76965db22ec470d5de Author: Carl Worth Date: Wed Mar 23 13:52:54 2005 +0000 Rename cairo_path_real_t to cairo_path_fixed_t and fix all _cairo_path functions to be named as _cairo_path_fixed functions. Track name change of cairo_path_real_t and _cairo_path_fixed functions. ChangeLog | 37 ++++++++++ src/cairo-font.c | 2 +- src/cairo-ft-font.c | 26 +++---- src/cairo-gstate-private.h | 2 +- src/cairo-gstate.c | 66 +++++++++--------- src/cairo-path-bounds.c | 18 ++--- src/cairo-path-fill.c | 20 +++--- src/cairo-path-fixed-private.h | 2 +- src/cairo-path-stroke.c | 34 ++++----- src/cairo-path.c | 74 ++++++++++---------- src/cairo_font.c | 2 +- src/cairo_ft_font.c | 26 +++---- src/cairo_gstate.c | 66 +++++++++--------- src/cairo_path.c | 74 ++++++++++---------- src/cairo_path_bounds.c | 18 ++--- src/cairo_path_fill.c | 20 +++--- src/cairo_path_stroke.c | 34 ++++----- src/cairoint.h | 152 ++++++++++++++++++++++------------------- 18 files changed, 360 insertions(+), 313 deletions(-) commit 0ba7a082afa91476129f2cbdbc48360b4f83efec Author: Carl Worth Date: Wed Mar 23 13:52:11 2005 +0000 Remove CAIRO_BEGIN_DECLS and CAIRO_END_DECLS as they are not needed for private headers. Add ASSERT_NOT_REACHED macro. Rewrite in terms of cairo_copt_path and cairo_copy_path_flat in preparation for removing cairo_gstate_interpret_path. ChangeLog | 11 +++++++ src/cairo-path-data-private.h | 4 --- src/cairo.c | 69 +++++++++++++++++++++++++++++++++++-------- src/cairoint.h | 6 ++++ 4 files changed, 73 insertions(+), 17 deletions(-) commit cb5bbd0aa75ad55a7f0f61c718c32f9b9f5af45e Author: Carl Worth Date: Wed Mar 23 13:50:51 2005 +0000 Begin the process of breaking up cairoint.h, moving structure definitions of cairo_t, cairo_gstate_t, and cairo_path_real_t into their own header files. Track changes to header files, reaching into the new private headers where necessary. ChangeLog | 17 +++++++++ src/cairo-gstate-private.h | 85 +++++++++++++++++++++++++++++++++++++++++ src/cairo-gstate.c | 2 + src/cairo-path-fill.c | 3 ++ src/cairo-path-fixed-private.h | 74 ++++++++++++++++++++++++++++++++++++ src/cairo-path-stroke.c | 3 ++ src/cairo-path.c | 2 + src/cairo-pen.c | 2 + src/cairo-private.h | 47 +++++++++++++++++++++++ src/cairo.c | 2 + src/cairo_gstate.c | 2 + src/cairo_path.c | 2 + src/cairo_path_fill.c | 3 ++ src/cairo_path_stroke.c | 3 ++ src/cairo_pen.c | 2 + src/cairoint.h | 86 +----------------------------------------- 16 files changed, 251 insertions(+), 84 deletions(-) commit 9bb171515986fa26dd12ae19e684db847a614960 Author: Carl Worth Date: Wed Mar 23 13:49:32 2005 +0000 Move surface-specific cairo_t functions to cairo.c. Remove functions that have now moved to cairo.c. A few new files to ignore now with new compilation mode using a libtool helper library. ChangeLog | 20 ++++ src/cairo-glitz-surface.c | 19 ---- src/cairo-pdf-surface.c | 75 ------------- src/cairo-ps-surface.c | 40 ------- src/cairo-win32-surface.c | 21 ---- src/cairo-xcb-surface.c | 24 ----- src/cairo-xlib-surface.c | 41 ------- src/cairo.c | 265 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_glitz_surface.c | 19 ---- src/cairo_pdf_surface.c | 75 ------------- src/cairo_png_surface.c | 23 ---- src/cairo_ps_surface.c | 40 ------- src/cairo_win32_surface.c | 21 ---- src/cairo_xcb_surface.c | 24 ----- src/cairo_xlib_surface.c | 41 ------- test/.cvsignore | 5 +- 16 files changed, 288 insertions(+), 465 deletions(-) commit 12de3807b48d6c5f133983a0de1498f93e0c84a6 Author: Carl Worth Date: Wed Mar 23 13:31:01 2005 +0000 Add backwards-compatibility for recently renamed functions. ChangeLog | 5 +++++ src/cairo.h | 12 ++++++++++++ 2 files changed, 17 insertions(+) commit b381eb8045683e51cbd052bb724cab9969677cb6 Author: Carl Worth Date: Sun Mar 20 23:23:19 2005 +0000 Rename functions to eliminate abbreviations: cairo_concat_matrix -> cairo_transform cairo_transform_point -> cairo_user_to_device cairo_transform_distance -> cairo_user_to_device_distance cairo_inverse_transform_point -> cairo_device_to_user cairo_inverse_transform_distance-> cairo_device_to_user_distance cairo_init_clip -> cairo_reset_clip ChangeLog | 19 +++++++ src/cairo-gstate.c | 29 +++++----- src/cairo-matrix.c | 10 ++-- src/cairo.c | 159 ++++++++++++++++++++++++++++++++++++++++++++++++----- src/cairo.h | 14 ++--- src/cairo_gstate.c | 29 +++++----- src/cairo_matrix.c | 10 ++-- src/cairoint.h | 16 +++--- 8 files changed, 220 insertions(+), 66 deletions(-) commit ba5bf28fbcc41925f49700be02365850b7e445d7 Author: Carl Worth Date: Fri Mar 18 14:31:11 2005 +0000 Update API shakeup chart. ChangeLog | 4 ++++ TODO | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit c629df861673bd9e60cf7a3babd83f0f5bb257f0 Author: Carl Worth Date: Fri Mar 18 14:28:53 2005 +0000 * src/cairo.c: (cairo_copy_path), (cairo_copy_path_flat), (cairo_append_path): Rename cairo_copy_path_data, cairop_copy_path_data_flat, and cairo_append_path_data to cairo_copy_path, cairo_copy_path_flat, and cairo_append_path. Add new cairo_path_t, containing a cairo_path_data_t array and an explicit length. Remove CAIRO_PATH_END_PATH terminator from cairo_path_data_t. Rename the internal path object from cairo_path_t to cairo_path_real_t. ChangeLog | 36 +++++++++++++++++++++ src/cairo-atsui-font.c | 4 +-- src/cairo-font.c | 2 +- src/cairo-ft-font.c | 10 +++--- src/cairo-gstate.c | 2 +- src/cairo-path-bounds.c | 4 ++- src/cairo-path-data-private.h | 10 +++--- src/cairo-path-data.c | 65 ++++++++++++++++++++----------------- src/cairo-path-fill.c | 4 ++- src/cairo-path-stroke.c | 4 ++- src/cairo-path.c | 62 ++++++++++++++++++++---------------- src/cairo.c | 56 ++++++++++++++++---------------- src/cairo.h | 74 ++++++++++++++++++++++++++++--------------- src/cairo_atsui_font.c | 4 +-- src/cairo_font.c | 2 +- src/cairo_ft_font.c | 10 +++--- src/cairo_gstate.c | 2 +- src/cairo_path.c | 62 ++++++++++++++++++++---------------- src/cairo_path_bounds.c | 4 ++- src/cairo_path_data.c | 65 ++++++++++++++++++++----------------- src/cairo_path_fill.c | 4 ++- src/cairo_path_stroke.c | 4 ++- src/cairoint.h | 64 ++++++++++++++++++++----------------- test/path-data.c | 60 +++++++++++++++++++++-------------- test/path_data.c | 60 +++++++++++++++++++++-------------- 25 files changed, 402 insertions(+), 272 deletions(-) commit 987a13b814d2d84cff719a817f9f73a5b7aa38f2 Author: Kristian Høgsberg Date: Fri Mar 18 12:26:03 2005 +0000 Remove return statements from these functions (bug #2137). ChangeLog | 6 ++++++ src/cairo-pdf-surface.c | 20 ++++++++++---------- src/cairo_pdf_surface.c | 20 ++++++++++---------- 3 files changed, 26 insertions(+), 20 deletions(-) commit 84a6da8f07a5f0352a342ed8d599b52ab32dfe6f Author: Carl Worth Date: Fri Mar 18 11:15:25 2005 +0000 Remove unused libcairo_freetype_sources (thanks to Damien Carbery). Closes bug #2673. ChangeLog | 6 ++++++ TODO | 2 +- src/Makefile.am | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) commit 2ad590a0eebe8c03cb956dfaf0ce79c485c2ce3c Author: Owen Taylor Date: Thu Mar 17 13:27:26 2005 +0000 doc fix - 90 degrees is MI_PI/2 radians. src/cairo.c src/cairo_matrix.c src/cairo_ft_font.c src/cairo_ps_surface.c src/cairo_quartz_surface.c src/cairo_win32_font.c src/cairo_win32_surface.c src/cairo_xlib_surface.c: Cairo is only capitalized at the beginning of sentences. ChangeLog | 11 +++++++++++ src/cairo-ft-font.c | 2 +- src/cairo-matrix.c | 4 ++-- src/cairo-ps-surface.c | 4 ++-- src/cairo-quartz-surface.c | 6 +++--- src/cairo-win32-font.c | 2 +- src/cairo-win32-surface.c | 6 +++--- src/cairo-xlib-surface.c | 12 ++++++------ src/cairo.c | 4 ++-- src/cairo_ft_font.c | 2 +- src/cairo_matrix.c | 4 ++-- src/cairo_ps_surface.c | 4 ++-- src/cairo_quartz_surface.c | 6 +++--- src/cairo_win32_font.c | 2 +- src/cairo_win32_surface.c | 6 +++--- src/cairo_xlib_surface.c | 12 ++++++------ 16 files changed, 49 insertions(+), 38 deletions(-) commit 58420806bbbe3970747edc2efaa155651377a370 Author: Kristian Høgsberg Date: Thu Mar 17 13:13:56 2005 +0000 From Tor Lillqvist : Open output PNG files in binary mode. ChangeLog | 7 +++++++ test/cairo-test.c | 4 ++-- test/cairo_test.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit e66e4c7b8c7aa80e3a71caebefae06cd2d6b468e Author: Owen Taylor Date: Thu Mar 17 12:57:42 2005 +0000 src/cairo.h src/cairo_surface.c src/cairo-xlib.h src/cairo_xlib_surface.c: Move cairo_xlib_surface_set_device_offset() to a generic cairo_surface_set_device_offset(). Take the surface's device offset into account. Update. ChangeLog | 11 ++++ doc/public/cairo-sections.txt | 6 +- doc/public/tmpl/cairo-pdf.sgml | 34 +++++++++++ doc/public/tmpl/cairo-surface.sgml | 19 ++++++ doc/public/tmpl/cairo-xlib.sgml | 10 ---- doc/public/tmpl/cairo.sgml | 13 ++++ src/cairo-gstate.c | 119 ++++++++++++++++++++++++++----------- src/cairo-surface.c | 30 ++++++++++ src/cairo-xlib-surface.c | 111 +++++----------------------------- src/cairo-xlib.h | 5 -- src/cairo.h | 5 ++ src/cairo_gstate.c | 119 ++++++++++++++++++++++++++----------- src/cairo_surface.c | 30 ++++++++++ src/cairo_xlib_surface.c | 111 +++++----------------------------- src/cairoint.h | 3 + 15 files changed, 350 insertions(+), 276 deletions(-) commit 0b09748296ea3f0ebb554061ef248373b8437947 Author: Owen Taylor Date: Thu Mar 17 11:24:00 2005 +0000 Fix the docs to to correctly describe the order of transformation for muliply/scale/rotate/translate. (cairo_matrix_translate): Fix translate/rotate typo in the parameter descriptions. ChangeLog | 7 +++++++ src/cairo-matrix.c | 35 ++++++++++++++++++++++------------- src/cairo_matrix.c | 35 ++++++++++++++++++++++------------- 3 files changed, 51 insertions(+), 26 deletions(-) commit 1e7138175667e55dad7e0ca8ebadd0a1a50f0fa8 Author: Kristian Høgsberg Date: Thu Mar 17 07:32:28 2005 +0000 Forgot to add this file. ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit b481b858412876f015a2fcba286b0cc5cadf4d0c Author: Kristian Høgsberg Date: Thu Mar 17 07:30:05 2005 +0000 ChangeLog src/cairo-output-stream.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_output_stream.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 294 insertions(+) commit 0f52fb2289b8369f0d66a779338e18818746ad7d Author: Kristian Høgsberg Date: Wed Mar 16 12:15:29 2005 +0000 Dont call user data destroy function if it's NULL. Add test case for user data with NULL destroy function. ChangeLog | 11 ++++++++++- src/cairo-surface.c | 4 ++-- src/cairo_surface.c | 4 ++-- test/user-data.c | 8 ++++++++ test/user_data.c | 8 ++++++++ 5 files changed, 30 insertions(+), 5 deletions(-) commit 6993c086ebaa9a98b1794f2c483013ec51cc41ec Author: Kristian Høgsberg Date: Wed Mar 16 12:08:41 2005 +0000 Add cairo_output_stream.c Add new errors, CAIRO_STATUS_WRITE_ERROR and CAIRO_STATUS_SURFACE_FINISHED, add cairo_surface_finish() prototype, add cairo_write_func_t. Add strings for new errors, documentation fix. Rename surface destroy functions to finish and change them to not free the surface. Change PDF surface constructors to take a write function in the general case and add stdio convenience constructors. Change destroy function to finish for cairo_pdf_surface. Change implementation to use cairo_output_stream_t functions for output. Use _cairo_surface_show_glyphs instead of calling function pointer directly. Add prototypes for cairo output stream functions, rename destroy to finish in cairo_surface_backend_t and add finished flag to cairo_surface_t. Add cairo_surface_finish() and call it from cairo_surface_destroy(). Check the finished flag in cairo_surface_t in functions that change the surface. ChangeLog | 38 +++ src/Makefile.am | 1 + src/cairo-font.c | 19 +- src/cairo-glitz-surface.c | 11 +- src/cairo-image-surface.c | 8 +- src/cairo-pdf-surface.c | 849 ++++++++++++++++++++++++++-------------------- src/cairo-pdf.h | 40 ++- src/cairo-ps-surface.c | 8 +- src/cairo-surface.c | 116 ++++++- src/cairo-win32-surface.c | 6 +- src/cairo-xcb-surface.c | 6 +- src/cairo-xlib-surface.c | 8 +- src/cairo.c | 6 +- src/cairo.h | 22 +- src/cairo_font.c | 19 +- src/cairo_glitz_surface.c | 11 +- src/cairo_image_surface.c | 8 +- src/cairo_pdf_surface.c | 849 ++++++++++++++++++++++++++-------------------- src/cairo_png_surface.c | 8 +- src/cairo_ps_surface.c | 8 +- src/cairo_surface.c | 116 ++++++- src/cairo_win32_surface.c | 6 +- src/cairo_xcb_surface.c | 6 +- src/cairo_xlib_surface.c | 8 +- src/cairoint.h | 49 ++- 25 files changed, 1415 insertions(+), 811 deletions(-) commit 5fecf69e2c41ed1957fdde8b0208e7a4aa031466 Author: Owen Taylor Date: Tue Mar 15 16:25:30 2005 +0000 src/cairo-xlib.h src/cairo_xlib_surface.c: Rework set of contructors for XLib surfaces. Add cairo_xlib_surface_set_size(). src/cairo-xlib.h src/cairo_xlib_surface.c: Add cairo_xlib_surface_set_device_offset(). Rewrite for clarity and efficiency. Use a temporary pixmap to avoid possible BadMatch when fetch from windows. src/cairo.[ch] src/cairo-xlib.h: Fix some parameter names for the docs. Update ChangeLog | 21 ++ doc/public/cairo-sections.txt | 5 + doc/public/tmpl/cairo-surface.sgml | 4 +- doc/public/tmpl/cairo-xlib.sgml | 55 ++++ src/cairo-xlib-surface.c | 583 ++++++++++++++++++++++++++----------- src/cairo-xlib.h | 38 ++- src/cairo.c | 2 +- src/cairo.h | 2 +- src/cairo_xlib_surface.c | 583 ++++++++++++++++++++++++++----------- 9 files changed, 955 insertions(+), 338 deletions(-) commit 30e771d8118a6b240f483b4d0db26bb970e88181 Author: Carl Worth Date: Mon Mar 14 11:49:12 2005 +0000 Add reference image. ChangeLog | 4 ++++ test/path-data-ref.png | Bin 0 -> 387 bytes test/path_data-ref.png | Bin 0 -> 387 bytes 3 files changed, 4 insertions(+) commit f385e5f3e47dec22aa48df02f3f19b06fe0b8780 Author: Carl Worth Date: Mon Mar 14 11:14:13 2005 +0000 Fixes to force tests to run against locally compiled version (thanks to Manish Singh). ChangeLog | 5 +++++ test/Makefile.am | 36 +++++++++++++++++++----------------- 2 files changed, 24 insertions(+), 17 deletions(-) commit a98430092f5f43cfa6eee555a56d91575d92cd62 Author: Carl Worth Date: Fri Mar 11 14:29:15 2005 +0000 Added some documentation, so we get some churn here. New functions: cairo_copy_path_data, cairo_copy_path_data_flat, and cairo_append_path_data. Add new implementation for cairo_copy_path_data and cairo_append_path_data. New test for new path_data functions. ChangeLog | 19 +++ doc/public/cairo-sections.txt | 11 ++ doc/public/tmpl/cairo-surface.sgml | 22 +++ doc/public/tmpl/cairo.sgml | 43 ++++++ src/Makefile.am | 2 + src/cairo-path-data-private.h | 57 ++++++++ src/cairo-path-data.c | 268 +++++++++++++++++++++++++++++++++++++ src/cairo.c | 88 +++++++++++- src/cairo.h | 100 +++++++++++++- src/cairo_path_data.c | 268 +++++++++++++++++++++++++++++++++++++ test/.cvsignore | 3 + test/Makefile.am | 3 + test/path-data.c | 167 +++++++++++++++++++++++ test/path_data.c | 167 +++++++++++++++++++++++ 14 files changed, 1210 insertions(+), 8 deletions(-) commit db616356c1dd6a8a30c681e3380003ada1f3234c Author: Owen Taylor Date: Fri Mar 11 12:09:00 2005 +0000 Set format->depth correctly instead of just using the bpp. pixman/ChangeLog | 5 +++++ pixman/src/icformat.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 1f5394ffe91ee8a7bd4c15cbec3a8ac3956d949e Author: Kristian Høgsberg Date: Thu Mar 10 09:28:50 2005 +0000 *** empty log message *** ChangeLog | 5 +++++ src/cairo-surface.c | 18 ++++++++++++++++++ src/cairo_surface.c | 18 ++++++++++++++++++ 3 files changed, 41 insertions(+) commit b032d02322a656a3cfc02d0ea788680c12689d1f Author: Kristian Høgsberg Date: Thu Mar 10 09:22:20 2005 +0000 Fix assert()'s using = instead of ==. Move xunlink call below the xasprintf that builds the filename to unlink. ChangeLog | 7 +++++++ test/cairo-test.c | 4 ++-- test/cairo_test.c | 4 ++-- test/user-data.c | 4 ++-- test/user_data.c | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) commit 05a7c69c904119ee08df40b8e3f7154614fcbf8e Author: Carl Worth Date: Thu Mar 10 09:02:41 2005 +0000 API Shakeup status update. ChangeLog | 4 ++++ TODO | 15 ++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) commit c67ba13a6e715fa3bd4e785ed72c093f791e2774 Author: Carl Worth Date: Thu Mar 10 08:59:11 2005 +0000 Originally: 2005-02-24 Carl Worth Add const qualifier to cairo_user_data_key_t arguments. Originally: 2005-02-15 Kristian Høgsberg Add these two functions to set and get user data on an surface. Function prototypes for new functions. Test case for user data functions. ChangeLog | 18 ++++++++ doc/public/tmpl/cairo-atsui.sgml | 3 ++ doc/public/tmpl/cairo-ft.sgml | 3 ++ doc/public/tmpl/cairo-glitz.sgml | 3 ++ doc/public/tmpl/cairo-matrix.sgml | 3 ++ doc/public/tmpl/cairo-pattern.sgml | 3 ++ doc/public/tmpl/cairo-pdf.sgml | 3 ++ doc/public/tmpl/cairo-png.sgml | 3 ++ doc/public/tmpl/cairo-ps.sgml | 3 ++ doc/public/tmpl/cairo-quartz.sgml | 3 ++ doc/public/tmpl/cairo-surface.sgml | 3 ++ doc/public/tmpl/cairo-xcb.sgml | 3 ++ doc/public/tmpl/cairo-xlib.sgml | 3 ++ doc/public/tmpl/cairo.sgml | 48 +++++++++++++------- src/cairo-surface.c | 90 ++++++++++++++++++++++++++++++++++++++ src/cairo.h | 33 ++++++++++++++ src/cairo_surface.c | 90 ++++++++++++++++++++++++++++++++++++++ src/cairoint.h | 1 + test/.cvsignore | 3 +- test/Makefile.am | 5 ++- test/user-data.c | 70 +++++++++++++++++++++++++++++ test/user_data.c | 70 +++++++++++++++++++++++++++++ 22 files changed, 444 insertions(+), 20 deletions(-) commit 12abad4759286d8642cd02f258fba0749ea20b8b Author: Carl Worth Date: Wed Mar 9 17:43:59 2005 +0000 Move filename initialization up to before first use. Add test for the most trivial cairo_get and cairo_set functions. ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) commit 0daf6b1745fa6a64652849f280da42781aeb296b Author: Carl Worth Date: Wed Mar 9 14:34:26 2005 +0000 Move filename initialization up to before first use. Add test for the most trivial cairo_get and cairo_set functions. test/Makefile.am | 17 +++--- test/cairo-test.c | 22 ++++---- test/cairo_test.c | 22 ++++---- test/get-and-set.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++ test/get_and_set.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 336 insertions(+), 27 deletions(-) commit c3bd9b1b8d55d1128a7f70096b7135a80c6c9bed Author: Carl Worth Date: Wed Mar 9 13:58:20 2005 +0000 Change the draw function under test to return a cairo_test_status_t so that it can indicate test failure even if there is no result image. ChangeLog | 17 +++++++++++++++++ test/cairo-test.c | 20 +++++++++++++++++--- test/cairo-test.h | 2 +- test/cairo_test.c | 20 +++++++++++++++++--- test/cairo_test.h | 2 +- test/clip-twice.c | 4 +++- test/clip_twice.c | 4 +++- test/coverage.c | 4 +++- test/fill-rule.c | 4 +++- test/fill_rule.c | 4 +++- test/leaky-polygon.c | 4 +++- test/leaky_polygon.c | 4 +++- test/line-width.c | 4 +++- test/line_width.c | 4 +++- test/linear-gradient.c | 4 +++- test/linear_gradient.c | 4 +++- test/move-to-show-surface.c | 4 +++- test/move_to_show_surface.c | 4 +++- test/pixman-rotate.c | 4 +++- test/pixman_rotate.c | 4 +++- test/text-cache-crash.c | 4 +++- test/text-rotate.c | 4 +++- test/text_cache_crash.c | 4 +++- test/text_rotate.c | 4 +++- 24 files changed, 110 insertions(+), 27 deletions(-) commit 80b2742952eeadc116bef8865f55ecb47b4a0a5e Author: Carl Worth Date: Wed Mar 9 13:56:37 2005 +0000 fix typos. ChangeLog | 1 + TODO | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 2fbdcf208216a8c383ce2ddfded4763ba700ed5a Author: Carl Worth Date: Wed Mar 9 12:53:01 2005 +0000 Update API Shakeup planning chart. ChangeLog | 4 ++++ TODO | 56 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 34 insertions(+), 26 deletions(-) commit 6d4653fe22c0d24d650b094a1e271c37a9a11eb1 Author: Carl Worth Date: Wed Mar 9 12:35:36 2005 +0000 Rename all the cairo_current functions to cairo_get functions instead. Add documentation for all of these functions (and a few others as well). Add support so that old binarys should still run and old source should still compile, (though we'll rip that out again on the API Shakeup flag day). ChangeLog | 34 ++++ doc/public/cairo-sections.txt | 53 +++--- src/cairo-ft-font.c | 8 +- src/cairo-gstate.c | 42 ++--- src/cairo-path.c | 2 +- src/cairo.c | 423 ++++++++++++++++++++++++++++++++++++------ src/cairo.h | 125 ++++++++----- src/cairo_ft_font.c | 8 +- src/cairo_gstate.c | 42 ++--- src/cairo_path.c | 2 +- src/cairoint.h | 36 ++-- test/pixman-rotate.c | 2 +- test/pixman_rotate.c | 2 +- 13 files changed, 578 insertions(+), 201 deletions(-) commit 36820ec40a4c2cd246d23d23e6d8ef15dd4c6504 Author: Carl Worth Date: Tue Mar 8 19:34:04 2005 +0000 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_4_0. ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 980eff38e494223de00e7ded706f6beaca27fce1 Author: Carl Worth Date: Tue Mar 8 19:30:19 2005 +0000 Commit workaround to prevent make distcheck from making bogus complaints that gtk-doc is not enabled. ChangeLog | 4 ++++ gtk-doc.make | 8 +++++++- test/Makefile.am | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) commit e586688e6bed6b148c6920be35741305c95f0ca6 Author: Carl Worth Date: Tue Mar 8 19:25:39 2005 +0000 Look for png images in ${srcdir}/filename as well, so that make distcheck can still find them. Add romedalen.png to EXTRA_DIST so the tests can pass from the tar file. Fix typo: cairo-win3 -> cairo-win32. Add cairo-win32.xml to the list, so it gets generated as well. Add pointer to new win32 documentation. ChangeLog | 15 +++++++++++++++ NEWS | 4 ++++ doc/public/cairo-docs.xml | 1 + doc/public/cairo-sections.txt | 2 +- test/Makefile.am | 3 ++- test/cairo-test.c | 9 +++++++++ test/cairo_test.c | 9 +++++++++ 7 files changed, 41 insertions(+), 2 deletions(-) commit 0c67d496a35e7f069faeaba32bfde697dc949e9f Author: Carl Worth Date: Tue Mar 8 17:36:24 2005 +0000 Increment CAIRO_VERSION to 0.4.0 Added notes for snapshot 0.4.0 ChangeLog | 6 +++ NEWS | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 3 files changed, 129 insertions(+), 1 deletion(-) commit 627338ab4a270f54235c3356640f7feff4df7079 Author: Carl Worth Date: Tue Mar 8 14:30:14 2005 +0000 Fix accidental commit of diff, rather than ref image. test/coverage-ref.png | Bin 2148 -> 44324 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit c05059f62fc70e94ed864559212a223debe30915 Author: Carl Worth Date: Tue Mar 8 14:25:54 2005 +0000 Update coverage-ref.png due to seemingly harmless, though not entirely understood changes. test/coverage-ref.png | Bin 44331 -> 2148 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit 246a07022aa97614c8961526cf3e2b06e8d5774b Author: Carl Worth Date: Tue Mar 8 13:44:14 2005 +0000 Shared function for checking unlink errrors. (cairo_test): Move all error messages to test-specific log files for quieter test output. Make pixman_rotate an expected failure. ChangeLog | 8 ++++++++ test/Makefile.am | 6 ++---- test/cairo-test.c | 48 ++++++++++++++++++++++++++++++++++-------------- test/cairo_test.c | 48 ++++++++++++++++++++++++++++++++++-------------- 4 files changed, 78 insertions(+), 32 deletions(-) commit 4dcccab806f56f54bd21541c9a90a9439f8ccbbe Author: Carl Worth Date: Tue Mar 8 08:51:48 2005 +0000 Require libpixman >= 0.1.4. ChangeLog | 4 ++++ configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 74416f2d9aa4529ca8951f0d276e06a148c632fb Author: Kristian Høgsberg Date: Mon Mar 7 21:22:42 2005 +0000 Return CAIRO_STATUS_SUCCESS even if we don't implement masks yet, so we don't set cr->status to CAIRO_INT_STATUS_UNSUPPORTED. ChangeLog | 6 ++++++ src/cairo-pdf-surface.c | 2 +- src/cairo_pdf_surface.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit c4697bc572f60340978df6662caad0e0755acc58 Author: Carl Worth Date: Mon Mar 7 14:23:07 2005 +0000 Disable the "new" intersection code so that the incorrect fill problems (test/fill_rule) go away. ChangeLog | 3 +++ src/cairo-traps.c | 28 ++++++++++++++++++++++++++-- src/cairo_traps.c | 28 ++++++++++++++++++++++++++-- 3 files changed, 55 insertions(+), 4 deletions(-) commit 864496a10a2a99c27c8dcd90efb7cb1759036ef3 Author: Carl Worth Date: Mon Mar 7 13:50:30 2005 +0000 Increment version to 0.1.4-head post-snapshot. pixman/ChangeLog | 2 ++ pixman/configure.in | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit dfcd68ecca8f6a627ba406cbd4123a3a1c5cac40 Author: Carl Worth Date: Mon Mar 7 13:20:52 2005 +0000 Add notes on using -head suffix for PIXMAN_VERSION. pixman/ChangeLog | 2 ++ pixman/RELEASING | 28 +++++++++++++++++----------- 2 files changed, 19 insertions(+), 11 deletions(-) commit 32fbb0afae691d18c23d7fe996d33cd134f58fcb Author: Carl Worth Date: Mon Mar 7 12:40:29 2005 +0000 Make configure fail if no font backend is available. Point the user at freetype and fontconfig. ChangeLog | 5 +++++ configure.in | 10 ++++++++++ 2 files changed, 15 insertions(+) commit 5804df2bcc1d0d697a2e4c4b7620d742e10fd450 Author: Carl Worth Date: Mon Mar 7 12:16:33 2005 +0000 Add notes for snapshot 0.1.4. Increment version to 0.1.4. pixman/ChangeLog | 6 ++++++ pixman/NEWS | 22 ++++++++++++++++++++++ pixman/configure.in | 2 +- 3 files changed, 29 insertions(+), 1 deletion(-) commit e7607bb379641f1f07a08e02214db63c0ed637a4 Author: Owen Taylor Date: Sun Mar 6 12:05:23 2005 +0000 Comment and clean up the gradient computation. (_cairo_linear_pattern_classify): Determine if a linear gradient is horizontal or vertical. (_cairo_pattern_acquire_surface_for_gradient): Optimize horizontal/vertical gradients with a repeating surface. Test case for linear gradients at angles and with a rotated pattern matrix. ChangeLog | 12 ++++ src/cairo-pattern.c | 119 ++++++++++++++++++++++++++++++------ src/cairo_pattern.c | 119 ++++++++++++++++++++++++++++++------ test/Makefile.am | 3 + test/linear-gradient-ref.png | Bin 0 -> 12724 bytes test/linear-gradient.c | 141 +++++++++++++++++++++++++++++++++++++++++++ test/linear_gradient-ref.png | Bin 0 -> 12724 bytes test/linear_gradient.c | 141 +++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 497 insertions(+), 38 deletions(-) commit 023d91123229dfb7db1c9e28b3981037660cc5a6 Author: David Reveman Date: Sun Mar 6 05:16:19 2005 +0000 Fix gradient acceleration in glitz backend ChangeLog | 9 ++++++ src/cairo-glitz-surface.c | 76 ++++++++++++++++++++++++++++++----------------- src/cairo_glitz_surface.c | 76 ++++++++++++++++++++++++++++++----------------- 3 files changed, 107 insertions(+), 54 deletions(-) commit 50b483042dc8b02fdcf8cc04bccf24b68dab76d6 Author: Owen Taylor Date: Fri Mar 4 10:43:24 2005 +0000 src/cairo_win32_font.c src/cairo_win32_surface.c: Update for recent backend interface changes. Reenable win32 backend by default. ChangeLog | 7 +++++ src/cairo-win32-font.c | 17 ++++++++---- src/cairo-win32-surface.c | 67 ++++++++++++++--------------------------------- src/cairo_win32_font.c | 17 ++++++++---- src/cairo_win32_surface.c | 67 ++++++++++++++--------------------------------- 5 files changed, 71 insertions(+), 104 deletions(-) commit f6dcd38c8cb65bfdc621efb9fad06b7c06704e69 Author: Carl Worth Date: Fri Mar 4 10:07:22 2005 +0000 Fix accidental reversal of condition in previous patch. ChangeLog | 6 ++++++ src/cairo-glitz-surface.c | 2 +- src/cairo_glitz_surface.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 66af5f9f3600b514801958d0c796a815ea4e31ee Author: Owen Taylor Date: Fri Mar 4 09:41:34 2005 +0000 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. ChangeLog | 6 ++++++ configure.in | 2 +- src/cairo-glitz-surface.c | 28 ++++++++++++++++++++----- src/cairo-pattern.c | 53 +++++++++++++++++++++++++++++++++++++++++++---- src/cairo-win32-surface.c | 4 ++-- src/cairo_glitz_surface.c | 28 ++++++++++++++++++++----- src/cairo_pattern.c | 53 +++++++++++++++++++++++++++++++++++++++++++---- src/cairo_win32_surface.c | 4 ++-- src/cairoint.h | 3 +++ 9 files changed, 158 insertions(+), 23 deletions(-) commit c4443533e8e8fc3bbac6bfe935d1c8bb7421a710 Author: Carl Worth Date: Fri Mar 4 07:53:09 2005 +0000 Intersect bounds of trapezoids with the bounds of the destination surface before creating an intermediate surface. pixman/ChangeLog | 6 ++++++ pixman/src/ictrap.c | 28 +++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) commit b1545db06697221af7078ab09894d378893e1162 Author: Carl Worth Date: Fri Mar 4 07:31:49 2005 +0000 Add comment from xserver's mitrap.c. pixman/ChangeLog | 5 +++++ pixman/src/ictrap.c | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 4552898cfb11f7bc5161a713217dd964956437b7 Author: David Reveman Date: Thu Mar 3 20:16:23 2005 +0000 Update xcb backend ChangeLog | 4 + configure.in | 4 +- src/cairo-xcb-surface.c | 457 +++++++++++++++++++++++++++++++++--------------- src/cairo_xcb_surface.c | 457 +++++++++++++++++++++++++++++++++--------------- 4 files changed, 630 insertions(+), 292 deletions(-) commit f54f78525a1d4fcf535cf7c7a47c40073889081e Author: David Reveman Date: Thu Mar 3 19:09:24 2005 +0000 Fixed variable assignments in configure.in ChangeLog | 2 ++ configure.in | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 378fb57051e6b1246c975a58f5fafa426935d6e1 Author: David Reveman Date: Thu Mar 3 18:55:28 2005 +0000 Add more mask surface acceleration to glitz backend ChangeLog | 4 ++ src/cairo-glitz-surface.c | 101 +++++++++++++++++++++++++++++++++++++++++----- src/cairo_glitz_surface.c | 101 +++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 188 insertions(+), 18 deletions(-) commit 01b87c7d99c157b560733edd9431a01a59752f6c Author: David Reveman Date: Thu Mar 3 18:46:49 2005 +0000 Add overall alpha acceleration using mask surface ChangeLog | 3 +++ src/cairo-pattern.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- src/cairo_pattern.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 91 insertions(+), 8 deletions(-) commit 50b5344d7d8ff16c06b89deefe9de520848de706 Author: David Reveman Date: Thu Mar 3 18:39:06 2005 +0000 Pass mask to composite operation as pattern ChangeLog | 16 ++++++ src/cairo-ft-font.c | 7 ++- src/cairo-glitz-surface.c | 126 ++++++++++++++++++++++++++++++++-------------- src/cairo-gstate.c | 21 ++++++-- src/cairo-image-surface.c | 82 +++++++++++++++++------------- src/cairo-pattern.c | 44 ++++++++++++++++ src/cairo-pdf-surface.c | 11 ++-- src/cairo-ps-surface.c | 2 +- src/cairo-surface.c | 14 +++--- src/cairo-xlib-surface.c | 88 +++++++++++++++++--------------- src/cairo_ft_font.c | 7 ++- src/cairo_glitz_surface.c | 126 ++++++++++++++++++++++++++++++++-------------- src/cairo_gstate.c | 21 ++++++-- src/cairo_image_surface.c | 82 +++++++++++++++++------------- src/cairo_pattern.c | 44 ++++++++++++++++ src/cairo_pdf_surface.c | 11 ++-- src/cairo_png_surface.c | 4 +- src/cairo_ps_surface.c | 2 +- src/cairo_surface.c | 14 +++--- src/cairo_xlib_surface.c | 88 +++++++++++++++++--------------- src/cairoint.h | 21 ++++++-- 21 files changed, 564 insertions(+), 267 deletions(-) commit a97f4cce5e13cfa2dc3b843b3b37cb14cb16cf65 Author: David Reveman Date: Thu Mar 3 18:20:28 2005 +0000 Removed surface backend functions set_matrix, set_filter and set_repeat ChangeLog | 13 ++++++++++++ src/cairo-glitz-surface.c | 24 +++------------------- src/cairo-image-surface.c | 26 ------------------------ src/cairo-pdf-surface.c | 24 ---------------------- src/cairo-ps-surface.c | 30 ---------------------------- src/cairo-surface.c | 8 +++----- src/cairo-xlib-surface.c | 51 +++++++++++++++++++++++++++-------------------- src/cairo_glitz_surface.c | 24 +++------------------- src/cairo_image_surface.c | 26 ------------------------ src/cairo_pdf_surface.c | 24 ---------------------- src/cairo_png_surface.c | 30 ---------------------------- src/cairo_ps_surface.c | 30 ---------------------------- src/cairo_surface.c | 8 +++----- src/cairo_xlib_surface.c | 51 +++++++++++++++++++++++++++-------------------- src/cairoint.h | 12 ----------- 15 files changed, 83 insertions(+), 298 deletions(-) commit 36b69fc7f4ff090f5d5eb6e9db4c13cbf25971a6 Author: David Reveman Date: Thu Mar 3 18:04:51 2005 +0000 Major update to glitz backend ChangeLog | 5 + configure.in | 2 +- src/cairo-glitz-surface.c | 1097 ++++++++++++++++++++++++++------------------- src/cairo_glitz_surface.c | 1097 ++++++++++++++++++++++++++------------------- 4 files changed, 1278 insertions(+), 923 deletions(-) commit 6c915293119afefd0701cd6719917d2990f6a3e0 Author: David Reveman Date: Thu Mar 3 18:02:23 2005 +0000 Add pixman_add_trapezoids pixman/ChangeLog | 5 +++++ pixman/src/ictrap.c | 18 +++++++++++++++++- pixman/src/pixman.h | 9 ++++++++- 3 files changed, 30 insertions(+), 2 deletions(-) commit 019d381b4076a5716cae3708f0109d0815d7d6ef Author: David Reveman Date: Thu Mar 3 17:40:04 2005 +0000 Change to cairo_surface_t like structure of of cairo_pattern_t ChangeLog | 29 ++ configure.in | 4 +- src/cairo-gstate.c | 89 +++-- src/cairo-image-surface.c | 149 ++++--- src/cairo-pattern.c | 971 +++++++++++++++++++++++++++------------------- src/cairo-pdf-surface.c | 92 ++--- src/cairo-ps-surface.c | 6 +- src/cairo-xlib-surface.c | 201 +++++----- src/cairo_gstate.c | 89 +++-- src/cairo_image_surface.c | 149 ++++--- src/cairo_pattern.c | 971 +++++++++++++++++++++++++++------------------- src/cairo_pdf_surface.c | 92 ++--- src/cairo_ps_surface.c | 6 +- src/cairo_xlib_surface.c | 201 +++++----- src/cairoint.h | 174 +++++---- 15 files changed, 1867 insertions(+), 1356 deletions(-) commit 849a7ca8ef2abd94ccf90ec6cb732e9c742777f1 Author: Carl Worth Date: Thu Mar 3 14:27:31 2005 +0000 Port from render/mipict.c. Merge in optimization from render/mitrap.c for op==ADD and solid alpha src. pixman/ChangeLog | 7 +++++++ pixman/src/icimage.c | 31 +++++++++++++++++++++++++++++++ pixman/src/icimage.h | 3 +++ pixman/src/ictrap.c | 9 ++++++++- 4 files changed, 49 insertions(+), 1 deletion(-) commit e533d2faebccc9fbb02aa681cb93df26e4284929 Author: Carl Worth Date: Thu Mar 3 13:54:40 2005 +0000 Add a few more things that might be helpful when moving more files over from xserver. pixman/ChangeLog | 6 ++++++ pixman/src/pixman-xserver-compat.h | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) commit f482f2be49080921ef49c31def57933f72e3b646 Author: Carl Worth Date: Thu Mar 3 13:52:49 2005 +0000 Move definitions of MIN and MAX macros from ictrap.c to icint.h. pixman/ChangeLog | 6 ++++++ pixman/src/icint.h | 3 +++ pixman/src/ictrap.c | 5 +---- 3 files changed, 10 insertions(+), 4 deletions(-) commit 76d89e825763bffc3114d6e8a269eb5aea023267 Author: Carl Worth Date: Thu Mar 3 13:47:04 2005 +0000 Remove dead "if (!format)" code which also makes things more in synch with the server's mitrap.c. pixman/ChangeLog | 6 ++++ pixman/src/ictrap.c | 84 ++++++++++++++++++++--------------------------------- 2 files changed, 38 insertions(+), 52 deletions(-) commit 15bb06aaa07546fd6b853671012d28c1fa942f3f Author: Carl Worth Date: Thu Mar 3 13:36:30 2005 +0000 Restore original copyright and license which must have been inadvertently changed. pixman/ChangeLog | 5 +++++ pixman/src/ictrap.c | 40 +++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 21 deletions(-) commit b01798ea13327ea9048bdbffb4b98b172b8bbe3f Author: Carl Worth Date: Wed Mar 2 07:44:53 2005 +0000 Fix comment to clarify that libpixman regards the xserver repository as its canonical upstream for some files. pixman/ChangeLog | 4 ++++ pixman/src/pixman-xserver-compat.h | 21 +++++++++++++-------- 2 files changed, 17 insertions(+), 8 deletions(-) commit 6d50e485fa1d95f27608bb33608e6d696145c9bb Author: Carl Worth Date: Wed Mar 2 07:43:33 2005 +0000 Convert file encodings from ISO-8859 to UTF-8. pixman/ChangeLog | 9 +++++++++ pixman/src/ic.c | 2 +- pixman/src/icblt.c | 2 +- pixman/src/icbltone.c | 2 +- pixman/src/iccolor.c | 2 +- pixman/src/iccompose.c | 2 +- pixman/src/icformat.c | 2 +- pixman/src/icimage.c | 2 +- pixman/src/icimage.h | 2 +- pixman/src/icint.h | 2 +- pixman/src/icpixels.c | 4 ++-- pixman/src/icrect.c | 2 +- pixman/src/icrop.h | 2 +- pixman/src/icstipple.c | 2 +- pixman/src/ictransform.c | 2 +- pixman/src/ictrap.c | 2 +- pixman/src/ictri.c | 2 +- pixman/src/icutil.c | 2 +- pixman/src/pixman.h | 4 ++-- pixman/src/slim_internal.h | 2 +- 20 files changed, 30 insertions(+), 21 deletions(-) commit 2dcb6cd345a5221ddb7356c0a2743a49183dea6d Author: Carl Worth Date: Tue Mar 1 15:04:48 2005 +0000 Note that cairo_output_stream_t patch has been reviewed. ChangeLog | 4 ++++ TODO | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 06bed80b9ed9b6941663855fdde178278becb376 Author: Carl Worth Date: Tue Mar 1 14:50:57 2005 +0000 Fix uninitialized value for status, (reported by Manish Singh). ChangeLog | 5 +++++ src/cairo-gstate.c | 4 ++-- src/cairo_gstate.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) commit 85db25b8a1eba2ce6dd54faa7f496bbb08c1b02f Author: Kristian Høgsberg Date: Sun Feb 27 11:21:39 2005 +0000 Fix this function again. Problem with signed/unsigned types reported by Jeff Muizelaar . ChangeLog | 6 ++++++ src/cairo-gstate.c | 17 ++++++++++------- src/cairo_gstate.c | 17 ++++++++++------- 3 files changed, 26 insertions(+), 14 deletions(-) commit db2eb5d4cb442d8a8bdd705c18c69bf2e4d9ee39 Author: Kristian Høgsberg Date: Sun Feb 27 11:02:48 2005 +0000 Remove newline in comment which was confusing gtk-doc. Document these functions. ChangeLog | 8 ++++++++ src/cairo-image-surface.c | 36 ++++++++++++++++++++++++++++++++++++ src/cairo.h | 1 - src/cairo_image_surface.c | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 1 deletion(-) commit cac994f1f842622e056e51637225fc6e2474866e Author: Carl Worth Date: Fri Feb 25 14:06:19 2005 +0000 Note that "user data" and "setters and getters" patches have been reviewed. Remove a few more TODO notes: cleanup cairo_snippets: DONE cairo_surface_finish: Now in API Shakeup snapping code: Decided against this ChangeLog | 8 ++++++++ TODO | 13 ++----------- 2 files changed, 10 insertions(+), 11 deletions(-) commit f343b0b44a8411a133d2a94ead7faa2e58648f97 Author: Carl Worth Date: Fri Feb 25 13:31:00 2005 +0000 From David Reveman: Rewrite to use cairo_bool_t for legibility. ChangeLog | 7 +++++++ src/cairo-matrix.c | 6 +++--- src/cairo_matrix.c | 6 +++--- src/cairoint.h | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) commit ebec6df7a77f1c778b69e36d562423a3ffd6edfb Author: Carl Worth Date: Fri Feb 25 13:03:42 2005 +0000 From David Reveman: Simplify code to eliminate a goto. ChangeLog | 7 +++++++ src/cairo-gstate.c | 26 ++++++++++---------------- src/cairo_gstate.c | 26 ++++++++++---------------- 3 files changed, 27 insertions(+), 32 deletions(-) commit 03e7e13cb1412c29ebd1f1c8b46db3849e089557 Author: Carl Worth Date: Fri Feb 25 12:58:49 2005 +0000 From David Reveman: Clean up the mess that was the misnamed _cairo_gstate_create_pattern. ChangeLog | 11 +++++++++++ src/cairo-gstate.c | 55 +++++++++++++++++------------------------------------- src/cairo_gstate.c | 55 +++++++++++++++++------------------------------------- 3 files changed, 45 insertions(+), 76 deletions(-) commit 1a043bbf26a02d240f24f0aca1bf848e7e203f1d Author: Carl Worth Date: Fri Feb 25 12:52:47 2005 +0000 Don't put an off-by-one n_stops into cairo_shader_op_t. (_cairo_shader_op_find_color_stops): Put search for two color stops containing a given offset into its own function. Handle the case of before first and after last stop by returning the nearest stop twice. (_cairo_pattern_calc_color_at_pixel): Handle case of no color stops by returning a transparent pixel. ChangeLog | 11 +++++++ src/cairo-pattern.c | 91 +++++++++++++++++++++++++++++++++++------------------ src/cairo_pattern.c | 91 +++++++++++++++++++++++++++++++++++------------------ src/cairoint.h | 2 -- 4 files changed, 131 insertions(+), 64 deletions(-) commit 8ad3ab22e447e5fc2e93333b5958c37ef63fb392 Author: Owen Taylor Date: Thu Feb 24 15:48:07 2005 +0000 Remove a left-over debug printf. ChangeLog | 4 ++++ src/cairo-win32-surface.c | 3 --- src/cairo_win32_surface.c | 3 --- 3 files changed, 4 insertions(+), 6 deletions(-) commit aca0708fc828f75dd31142cdc20e5650c706d37e Author: Carl Worth Date: Thu Feb 24 14:06:03 2005 +0000 Fix memory leak when realloc fails due to out-of-memory. ChangeLog | 5 +++++ src/cairo-pattern.c | 12 ++++++------ src/cairo_pattern.c | 12 ++++++------ 3 files changed, 17 insertions(+), 12 deletions(-) commit a64b7e51eeefb61676c8579cc870fec9e2463529 Author: Owen Taylor Date: Thu Feb 24 12:51:33 2005 +0000 Instead of counting on ordering deletion to work (apparently it didn't on older Windows), save the initial bitmap created with the DC and reselect that into the DC. (Based on a patch by Hans Breuer) ChangeLog | 10 +++++- src/cairo-win32-private.h | 10 ++++++ src/cairo-win32-surface.c | 91 ++++++++++++++++++++++++++--------------------- src/cairo_win32_surface.c | 91 ++++++++++++++++++++++++++--------------------- 4 files changed, 119 insertions(+), 83 deletions(-) commit de7d69aff9784cb19289d6709e18fb890ed39ecb Author: Carl Worth Date: Thu Feb 24 12:30:23 2005 +0000 Add pixman_rotate to ignore list. ChangeLog | 4 ++++ test/.cvsignore | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 04fefd1b281e3fcba0b81cee2acf68f8c97381c8 Author: Carl Worth Date: Thu Feb 24 12:28:51 2005 +0000 Fixes from David Reveman with minor cleanups by Carl Worth: Handle new failure possibility of _cairo_gstate_init. (_cairo_gstate_init): Handle possible failure of _cairo_pattern_create_solid. (_cairo_gstate_set_pattern): Reference new pattern before destroying existing pattern to handle the case where they are the same. (_cairo_gstate_set_rgb_color): Handle possible failure of _cairo_pattern_create_solid. ChangeLog | 14 ++++++++++++++ src/cairo-gstate.c | 24 ++++++++++++++++++------ src/cairo_gstate.c | 24 ++++++++++++++++++------ src/cairoint.h | 2 +- 4 files changed, 51 insertions(+), 13 deletions(-) commit 12d19423f608916753596cf736c89274d381964d Author: Carl Worth Date: Thu Feb 24 10:09:44 2005 +0000 Fix typo (pointed out by Kristian Høgsberg). ChangeLog | 4 ++++ src/cairo.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 724cf1ce71f55783ec3d759804aaba4b4a88bd7e Author: Owen Taylor Date: Thu Feb 24 08:20:14 2005 +0000 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. ChangeLog | 12 ++++++++++++ cairo.pc.in | 2 +- configure.in | 6 ++++-- src/cairo-win32-surface.c | 10 ++++++---- src/cairo_win32_surface.c | 10 ++++++---- 5 files changed, 29 insertions(+), 11 deletions(-) commit b210c00c30c5e191be230d9675bb00ce5cf57393 Author: Carl Worth Date: Thu Feb 24 08:07:39 2005 +0000 Remove many TODO items that have now been absorbed by the API shakeup. Remove comparison with PostScript as there's nothing interesting there left unimplemented, (and cairo is already establishing its own conventions in naming and behavior that deviate from PostScript). ChangeLog | 6 +++ TODO | 167 -------------------------------------------------------------- 2 files changed, 6 insertions(+), 167 deletions(-) commit 77826a97565d48073b5725ca60b25b66bed73ab5 Author: Carl Worth Date: Thu Feb 24 07:39:20 2005 +0000 Fix typo (pointed out by Mike Emmel) ChangeLog | 4 ++++ src/cairoint.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 748115a88d9b058837e7a2bc690e2c98fc2253bc Author: Carl Worth Date: Wed Feb 23 14:56:55 2005 +0000 Add entries from API Shakeup. ChangeLog | 4 ++++ TODO | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) commit dcfb0d8a2b9eeffd52ca42635c6cf12a0705bd66 Author: Carl Worth Date: Tue Feb 22 11:35:03 2005 +0000 Switch from broken cworth@isi.edu address to canonical cworth@cworth.org address. ChangeLog | 37 +++++++++++++++++++++++++++++++++++++ README | 2 +- src/cairo-color.c | 2 +- src/cairo-features.h.in | 2 +- src/cairo-fixed.c | 2 +- src/cairo-font.c | 2 +- src/cairo-glitz.h | 2 +- src/cairo-gstate.c | 2 +- src/cairo-hull.c | 2 +- src/cairo-image-surface.c | 2 +- src/cairo-matrix.c | 2 +- src/cairo-path-bounds.c | 2 +- src/cairo-path-fill.c | 2 +- src/cairo-path-stroke.c | 2 +- src/cairo-path.c | 2 +- src/cairo-pdf.h | 2 +- src/cairo-pen.c | 2 +- src/cairo-png.h | 2 +- src/cairo-polygon.c | 2 +- src/cairo-ps-surface.c | 2 +- src/cairo-ps.h | 2 +- src/cairo-quartz.h | 2 +- src/cairo-slope.c | 2 +- src/cairo-spline.c | 2 +- src/cairo-surface.c | 2 +- src/cairo-traps.c | 2 +- src/cairo-xcb-surface.c | 2 +- src/cairo-xcb.h | 2 +- src/cairo-xlib-surface.c | 2 +- src/cairo-xlib.h | 2 +- src/cairo.c | 2 +- src/cairo.h | 2 +- src/cairo_color.c | 2 +- src/cairo_fixed.c | 2 +- src/cairo_font.c | 2 +- src/cairo_gstate.c | 2 +- src/cairo_hull.c | 2 +- src/cairo_image_surface.c | 2 +- src/cairo_matrix.c | 2 +- src/cairo_path.c | 2 +- src/cairo_path_bounds.c | 2 +- src/cairo_path_fill.c | 2 +- src/cairo_path_stroke.c | 2 +- src/cairo_pen.c | 2 +- src/cairo_png_surface.c | 2 +- src/cairo_polygon.c | 2 +- src/cairo_ps_surface.c | 2 +- src/cairo_slope.c | 2 +- src/cairo_spline.c | 2 +- src/cairo_surface.c | 2 +- src/cairo_traps.c | 2 +- src/cairo_xcb_surface.c | 2 +- src/cairo_xlib_surface.c | 2 +- src/cairoint.h | 4 ++-- 54 files changed, 91 insertions(+), 54 deletions(-) commit 604e333be2567e8877bec71d46107897717a1be6 Author: Carl Worth Date: Tue Feb 22 11:32:02 2005 +0000 Convert to utf-8 encoding. ChangeLog | 6 ++++++ src/cairo-atsui-font.c | 2 +- src/cairo-atsui.h | 2 +- src/cairo_atsui_font.c | 2 +- test/write-png.c | 4 ++-- test/write_png.c | 4 ++-- 6 files changed, 13 insertions(+), 7 deletions(-) commit 6b537f24660f180ba7acd6865ca11170711c3eff Author: Carl Worth Date: Tue Feb 22 10:43:26 2005 +0000 Temporarily disable XCB backend by default. ChangeLog | 4 ++++ configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 272df99aabee9d678c98e5f31f2b9f0ede7778e3 Author: Carl Worth Date: Mon Feb 21 13:29:22 2005 +0000 Add only-just-better-than-ASCII-art diagram showing all macros used in locating sub-pixel sample rows/columns. Add missing protective parentheses around macro parameter usage. pixman/ChangeLog | 8 +++++++ pixman/src/renderedge.h | 61 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 58 insertions(+), 11 deletions(-) commit 6d70b286f5ff86a3855636de7165b30a5a45968c Author: Carl Worth Date: Mon Feb 21 12:57:27 2005 +0000 Move definition of __inline for non-gcc from ic.c to icint.h so it applies to more code in the implementation. pixman/ChangeLog | 6 ++++++ pixman/src/ic.c | 5 ----- pixman/src/icint.h | 6 ++++-- 3 files changed, 10 insertions(+), 7 deletions(-) commit 30a02c8e172a9caece7526fbe87b060fc74e5041 Author: Carl Worth Date: Mon Feb 21 08:22:47 2005 +0000 Revert accidental commit. ChangeLog | 5 +++++ src/cairo-pattern.c | 6 ++---- src/cairo.h | 10 +--------- src/cairo_pattern.c | 6 ++---- 4 files changed, 10 insertions(+), 17 deletions(-) commit c8a98b109a5f7b02455aaf717066757a13652eb8 Author: Carl Worth Date: Mon Feb 21 08:17:42 2005 +0000 Fix y offset to use dst_y instead of dst_x, (caught by David Reveman). ChangeLog | 5 +++++ src/cairo-pattern.c | 6 ++++-- src/cairo-surface.c | 2 +- src/cairo.h | 11 ++++++++++- src/cairo_pattern.c | 6 ++++-- src/cairo_surface.c | 2 +- 6 files changed, 25 insertions(+), 7 deletions(-) commit 81fd7e53e3e053f8f3fdc9a528cce9e01c4e5c68 Author: Owen Taylor Date: Sun Feb 20 18:19:10 2005 +0000 Fix line endings (reported by Hans Breuer) ChangeLog | 5 ++ src/cairo-win32.h | 142 +++++++++++++++++++++++++++--------------------------- 2 files changed, 76 insertions(+), 71 deletions(-) commit d106bb2f3cbd5c498b6964c86e5bca4cfa74936c Author: Kristian Høgsberg Date: Wed Feb 16 09:34:47 2005 +0000 Patches from Mike Owens : Free rows if we fail early in this function. Clean up path if we run out of memory. ChangeLog | 10 ++++++++++ src/cairo-path.c | 2 ++ src/cairo_path.c | 2 ++ src/cairo_png_surface.c | 18 ++++++++++-------- 4 files changed, 24 insertions(+), 8 deletions(-) commit 8c8ced257379bdca4c37b312cb353e4f592f8cd2 Author: Carl Worth Date: Tue Feb 15 15:07:25 2005 +0000 Added testsvg script test/testsvg | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 9597c0b791d68d258618773996da67cf8f07113f Author: Kristian Høgsberg Date: Sun Feb 13 20:36:28 2005 +0000 Initialize array element size correctly. ChangeLog | 6 ++++++ src/cairo-pdf-surface.c | 2 +- src/cairo_pdf_surface.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 0502a5a63c3feea954a2d45441d56b7546a50554 Author: Kristian Høgsberg Date: Sun Feb 13 12:41:42 2005 +0000 Patches from Owen Taylor: Emit text as octal escapes, to avoid problems with \, \r, ), etc. (_cairo_pdf_document_write_fonts): Change /Flags to be 4 (symbolic), not 32 (non-symbolic), otherwise acroread gets confuse. (cairo_pdf_ft_font_write_cmap_table): Use a 1,0 cmap subtable, not a 0,0, to conform to the PDF spec. ChangeLog | 12 ++++++++++++ src/cairo-pdf-surface.c | 8 ++++---- src/cairo_pdf_surface.c | 8 ++++---- 3 files changed, 20 insertions(+), 8 deletions(-) commit 2cd01deb4d3ea3a722ef4d10839eef8577b81e5c Author: Carl Worth Date: Sun Feb 13 11:57:52 2005 +0000 Use LC_NUMERIC=C so that decimal separator works in version checks. ChangeLog | 5 +++++ autogen.sh | 1 + 2 files changed, 6 insertions(+) commit d4ae84f39764dc2ced9d6807dbb5fe7f23c6eebe Author: Owen Taylor Date: Sat Feb 12 18:23:04 2005 +0000 Fix x2/x1 typo. ChangeLog | 5 +++++ src/cairo-gstate.c | 2 +- src/cairo_gstate.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit f3f63f39245bade5d70d546bf8acfe1bd0a6f7f8 Author: Carl Worth Date: Sat Feb 12 13:01:39 2005 +0000 Return all-zero extents if string is NULL. ChangeLog | 5 +++++ src/cairo.c | 10 ++++++++++ 2 files changed, 15 insertions(+) commit b33f37ff040dbc3c7e7b9dcffdd1cccca1a11b20 Author: Kristian Høgsberg Date: Sat Feb 12 12:59:53 2005 +0000 Make clipping fast path fast. When we have a clipping region set, intersect it against the drawing extents to determine the bounding box for the visible drawing. ChangeLog | 8 ++++++++ src/cairo-gstate.c | 34 ++++++++++++++++++++++++++++++++++ src/cairo.c | 2 +- src/cairo_gstate.c | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 1 deletion(-) commit 063ba1f51df750cc3d9e340bd355cc1cc41f88df Author: Carl Worth Date: Thu Feb 10 07:46:46 2005 +0000 Add bug for cairo_show_surface under non-default CTM. AUTHORS | 2 +- BUGS | 16 ++++++++++++++++ ChangeLog | 4 ++++ 3 files changed, 21 insertions(+), 1 deletion(-) commit 0c07ddf729f0b4d2625dec90fbec6321f4908424 Author: Kristian Høgsberg Date: Mon Feb 7 10:15:46 2005 +0000 Argh, committed conflict marker in ChangeLog - fixed. ChangeLog | 1 - 1 file changed, 1 deletion(-) commit 7296349eaa23f2e697e5553d7a1fd0b818aad47f Author: Kristian Høgsberg Date: Mon Feb 7 09:38:43 2005 +0000 New test case which exposes off-by-one rotation error in pixman. ChangeLog | 6 ++++ test/Makefile.am | 7 ++-- test/pixman-rotate-ref.png | Bin 0 -> 260 bytes test/pixman-rotate.c | 78 +++++++++++++++++++++++++++++++++++++++++++++ test/pixman_rotate-ref.png | Bin 0 -> 260 bytes test/pixman_rotate.c | 78 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 167 insertions(+), 2 deletions(-) commit 67ffc273eff916f9b1a2f4cc308683c0e4c0660a Author: Owen Taylor Date: Sun Feb 6 15:07:17 2005 +0000 src/cairo_gstate.c src/cairo.c: Allow cairo_set_font (cr, NULL) to unset the current font and return the cairo_t to the the "use the font from cairo_select_font() state". ChangeLog | 6 ++++++ src/cairo-gstate.c | 11 +++++++---- src/cairo.c | 2 +- src/cairo_gstate.c | 11 +++++++---- 4 files changed, 21 insertions(+), 9 deletions(-) commit b93f42fae1080590fbf7050ba810155d37664843 Author: Owen Taylor Date: Sun Feb 6 12:00:28 2005 +0000 Return the right status. (Reported by Hans Breuer.) ChangeLog | 5 +++++ src/cairo-win32-font.c | 2 +- src/cairo_win32_font.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 991ac7bacc758698052ea4ac6ada449c5cf6ab45 Author: Owen Taylor Date: Sun Feb 6 11:51:07 2005 +0000 Add AC_PREREQ(2.54) to help the Debian auto-guess-which-configure-version hack. pixman/ChangeLog | 5 +++++ pixman/configure.in | 2 ++ 2 files changed, 7 insertions(+) commit 092c5ca5583512c9689397f355d3d0b7a09c882e Author: Owen Taylor Date: Sat Feb 5 21:42:47 2005 +0000 Free glyph_indices, not glyphs. (Reported by Hans Breuer.) ChangeLog | 5 +++++ src/cairo-win32-font.c | 4 ++-- src/cairo_win32_font.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) commit eb01786729b3d56f47ddf593fd5cc826d5c75064 Author: Carl Worth Date: Sat Feb 5 17:17:19 2005 +0000 Add message stating why glitz backend is disabled. ChangeLog | 4 ++++ configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit b0ee983a7def6752d5bff7481c4af487db757b36 Author: Owen Taylor Date: Sat Feb 5 17:01:29 2005 +0000 Don't free *glyphs when succeeding! (Reported by Øyvind KolÃ¥s) Temporarily disable glitz by default. ChangeLog | 7 +++++++ configure.in | 2 +- src/cairo-ft-font.c | 2 -- src/cairo_ft_font.c | 2 -- 4 files changed, 8 insertions(+), 5 deletions(-) commit 5707a69bfc9ce5525b2177f68c4e810c84b2f73f Author: Carl Worth Date: Fri Feb 4 08:04:36 2005 +0000 Generate an error during make install if old cairo headers are found in includedir, (rather than includedir/cairo where the new ones are going). ChangeLog | 6 ++++++ src/Makefile.am | 10 ++++++++++ 2 files changed, 16 insertions(+) commit 56d84bb85677df147063f2bc8eef583a6bdd5cae Author: Owen Taylor Date: Thu Feb 3 15:24:35 2005 +0000 Fix missing cairo_ft_font_unlock_face(). Fix problem when no entry could be found. ChangeLog | 8 +++++++ src/cairo-cache.c | 2 +- src/cairo-ft-font.c | 64 +++++++++++++++++++++++++++++++---------------------- src/cairo-hash.c | 2 +- src/cairo_cache.c | 2 +- src/cairo_ft_font.c | 64 +++++++++++++++++++++++++++++++---------------------- 6 files changed, 87 insertions(+), 55 deletions(-) commit 587dff8a7191e7e2e4c6778b58af5dc16e39bf3f Author: Carl Worth Date: Thu Feb 3 06:19:51 2005 +0000 Commit old change to ChangeLog that got missed before: test/imagediff.c Add new testsvg script and accompanying imagediff program, (for interim SVG-based test suites while we wait for the standard cairo test suite to mature). Split buffer_diff out into its own file for the purpose of imagediff. ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) commit 913e39b6eef18a59c21b07ff92e4c5d078335ded Author: Owen Taylor Date: Wed Feb 2 23:14:55 2005 +0000 src/cairo_font.c src/cairo.h doc/public/cairo-sections.txt: Add cairo_font_extents(). src/cairo_win32_font.c src/cairo-win32.h doc/public/cairo-sections.txt: Rename cairo_font_create_for_logfont() into cairo_font_create_for_logfontw() to make clear what it takes. Don't add cairo_font_create_for_logfonta() for now. ChangeLog | 12 +++++++++++- doc/public/cairo-sections.txt | 3 ++- src/cairo-font.c | 44 +++++++++++++++++++++++++++++++++++++++++++ src/cairo-gstate.c | 26 ++++--------------------- src/cairo-win32-font.c | 9 +++++---- src/cairo-win32.h | 4 ++-- src/cairo.h | 29 ++++++++++++++++------------ src/cairo_font.c | 44 +++++++++++++++++++++++++++++++++++++++++++ src/cairo_gstate.c | 26 ++++--------------------- src/cairo_win32_font.c | 9 +++++---- 10 files changed, 138 insertions(+), 68 deletions(-) commit 749a8c1e7b387845beeae9c10eac7c6b041eaff7 Author: Owen Taylor Date: Wed Feb 2 19:52:22 2005 +0000 src/cairo_win32_font.c doc/public/cairo-sections.txt doc/public/Makefile.am: Add windows functions to the docs. ChangeLog | 15 +++++++++++++++ doc/public/Makefile.am | 3 ++- doc/public/cairo-sections.txt | 11 +++++++++++ src/cairo-win32-font.c | 2 +- src/cairo_win32_font.c | 2 +- 5 files changed, 30 insertions(+), 3 deletions(-) commit 72a44202343031762d761acce55d75881356448f Author: Owen Taylor Date: Wed Feb 2 18:57:40 2005 +0000 Add some functions to select the font into a device context with the intention to enable callers to use, e.g, Uniscribe. Use 'hdc' not 'dc' for param/variable name. Return immediately if height or width is 0. ChangeLog | 13 ++ src/cairo-win32-font.c | 331 +++++++++++++++++++++++++++++++--------------- src/cairo-win32-surface.c | 8 +- src/cairo-win32.h | 10 ++ src/cairo_win32_font.c | 331 +++++++++++++++++++++++++++++++--------------- src/cairo_win32_surface.c | 8 +- 6 files changed, 483 insertions(+), 218 deletions(-) commit 199c41dafee1559570c250d22a97dc1667d657f3 Author: Owen Taylor Date: Tue Feb 1 21:45:51 2005 +0000 Mostly-functioning Win32 font backend; no glyph paths yet. Turn on building of the Win32 font backend. src/cairo-win32-private.h src/Makefile.am: Private header for the Win32 backend. src/cairo-win32-private.h src/cairo_win32_surface.c: Internally export _cairo_win32_print_gdi_error() for use in the font code. src/cairo-win32-private.h src/cairo_win32_surface.c: Add _cairo_win32_surface_create_dib to create a DIB surface. src/cairo-win32-private.h src/cairo_win32_surface.c: Add _cairo_surface_is_win32() Check for vasnprintf. Add a simple fixed-buffer size snprintf fallback in the absence of vasnprintf. ChangeLog | 25 ++ configure.in | 4 +- src/Makefile.am | 2 +- src/cairo-win32-font.c | 806 ++++++++++++++++++++++++++++++---------------- src/cairo-win32-private.h | 77 +++++ src/cairo-win32-surface.c | 97 +++--- src/cairo-win32.h | 2 +- src/cairo_win32_font.c | 806 ++++++++++++++++++++++++++++++---------------- src/cairo_win32_surface.c | 97 +++--- test/cairo-test.c | 29 +- test/cairo_test.c | 29 +- 11 files changed, 1343 insertions(+), 631 deletions(-) commit 211d115f1835e1f724709a2b8b55ab203326fa9a Author: Kristian Høgsberg Date: Tue Feb 1 20:47:43 2005 +0000 Pretend we support compositing of solid color or gradient patterns to prevent image fallback. (emit_pattern): New function, code factored out from _cairo_pdf_surface_composite_trapezoids. (_cairo_pdf_surface_show_glyphs): Use emit_pattern here so we get pattern support for text. Fix typo. ChangeLog | 12 ++++ src/cairo-ft-font.c | 2 +- src/cairo-pdf-surface.c | 155 +++++++++++++++++++++++++++--------------------- src/cairo_ft_font.c | 2 +- src/cairo_pdf_surface.c | 155 +++++++++++++++++++++++++++--------------------- 5 files changed, 186 insertions(+), 140 deletions(-) commit 32ada34ddb85038f4098a301f57113b19e87ed14 Author: Owen Taylor Date: Tue Feb 1 16:29:17 2005 +0000 Commit earlier missed new file src/cairo_unicode.c src/cairoint.h src/Makefile.am: Add _cairo_utf8_to_utf16(), _cairo_utf8_to_ucs4() based on code from GLib. src/cairo-unicode.c | 340 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_unicode.c | 340 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 680 insertions(+) commit 711d7965c87550901653bb8713b4604c441cb5c3 Author: Owen Taylor Date: Tue Feb 1 15:06:33 2005 +0000 src/cairo_unicode.c src/cairoint.h src/Makefile.am: Add _cairo_utf8_to_utf16(), _cairo_utf8_to_ucs4() based on code from GLib. Add CAIRO_STATUS_INVALID_STRING Use _cairo_utf8_to_ucs4(). Add cairo_bool_t Add TRUE/FALSE definitions. src/cairo.[ch] src/cairoint.h src/cairo_gstate.c: switch cairo_in_stroke/cairo_in_fill and all the functions used to implement them over to cairo_bool_t. ChangeLog | 17 + doc/public/cairo-sections.txt | 1 + doc/public/tmpl/cairo.sgml | 7 + doc/reference/.cvsignore | 20 -- src/Makefile.am | 1 + src/cairo-ft-font.c | 41 +-- src/cairo-gstate.c | 4 +- src/cairo-traps.c | 18 +- src/cairo-win32-font.c | 787 ++++++++++++++++++++++++++++++++++-------- src/cairo-win32-surface.c | 83 ++--- src/cairo-win32.h | 20 +- src/cairo.c | 4 +- src/cairo.h | 23 +- src/cairo_ft_font.c | 41 +-- src/cairo_gstate.c | 4 +- src/cairo_traps.c | 18 +- src/cairo_win32_font.c | 787 ++++++++++++++++++++++++++++++++++-------- src/cairo_win32_surface.c | 83 ++--- src/cairoint.h | 26 +- 19 files changed, 1469 insertions(+), 516 deletions(-) commit f4ccbb4615841c509e6ada7c12f469634732c4e4 Author: Owen Taylor Date: Mon Jan 31 16:41:06 2005 +0000 Forgotten commit: src/cairo_gdip_font.cpp src/cairo_gdip_surface.cpp: Remove remnants of a GDI+ based backend. src/cairo_gdip_font.cpp | 665 ----------------------------------------- src/cairo_gdip_surface.cpp | 727 --------------------------------------------- 2 files changed, 1392 deletions(-) commit 86c8755e59a7f2000fc8a44811d06afae2d0dbb7 Author: Owen Taylor Date: Mon Jan 31 16:11:37 2005 +0000 configure.in src/cairo-features.h.in: Add a check for the Windows platform and --enable-win32. Also add some (currently always off) stubs for native Win32 fonts. Make building the PDF backend conditional on having FreeType. src/Makefile.am src/cairo_win32_surface.c src/cairo_win32_font.c src/cairo-win32.h: Add a Win32 backend using GDI and software fallbacks Font code is not yet there yet, but it works with the fontconfig backend. src/cairo_gdip_font.cpp src/cairo_gdip_surface.cpp: Remove remnants of a GDI+ based backend. Prefer platform-specific font backends to the fontconfig backend. ChangeLog | 20 + configure.in | 117 ++++-- src/Makefile.am | 12 + src/cairo-features.h.in | 4 + src/cairo-surface.c | 2 +- src/cairo-win32-font.c | 380 +++++++++++++++++++ src/cairo-win32-surface.c | 932 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-win32.h | 61 +++ src/cairo_surface.c | 2 +- src/cairo_win32_font.c | 380 +++++++++++++++++++ src/cairo_win32_surface.c | 932 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairoint.h | 22 +- 12 files changed, 2827 insertions(+), 37 deletions(-) commit 26148a1d15b710b8f2ce850f8704bf44b0c3d484 Author: Owen Taylor Date: Mon Jan 31 08:50:22 2005 +0000 src/cairoint.h src/cairo_image_surface.c src/cairo_pdf_surface.c src/cairo_png_surface.c src/cairo_surface.c src/cairo_xlib_surface.c: Replace the get_image()/set_image() backend operations with a more specific {acquire,release}_{source,dest}_image() and clone_similar(). src/cairoint.h src/cairo_pattern.c: Replace _cairo_pattern_get_surface() with a _cairo_pattern_begin_draw()/_cairo_pattern_end_draw() pair. Save the format for which an image is created so we can access it later. (Needed for the _cairo_xlib_surface_clone_similar()) src/cairoint.h src/cairo_image_surface.c: Add _cairo_surface_is_image(). Add CAIRO_OK(status) to check for CAIRO_STATUS_SUCCESS. In the absence of of RENDER, make cairo_xlib_surface_create_similar() return an image surface. Don't try to use RENDER to composite glyphs in the absence of the RENDER extension. ChangeLog | 31 ++++ src/cairo-image-surface.c | 160 ++++++++++++------ src/cairo-pattern.c | 358 +++++++++++++++++++++++++---------------- src/cairo-pdf-surface.c | 79 +++++++-- src/cairo-ps-surface.c | 59 +++++-- src/cairo-surface.c | 402 ++++++++++++++++++++++++++++++++++++++++------ src/cairo-xlib-surface.c | 332 +++++++++++++++++++++++++------------- src/cairo_image_surface.c | 160 ++++++++++++------ src/cairo_pattern.c | 358 +++++++++++++++++++++++++---------------- src/cairo_pdf_surface.c | 79 +++++++-- src/cairo_png_surface.c | 57 +++++-- src/cairo_ps_surface.c | 59 +++++-- src/cairo_surface.c | 402 ++++++++++++++++++++++++++++++++++++++++------ src/cairo_xlib_surface.c | 332 +++++++++++++++++++++++++------------- src/cairoint.h | 99 +++++++++--- 15 files changed, 2182 insertions(+), 785 deletions(-) commit 608a52ff9390f98a8e5269e6362f4ad8d07ec2c5 Author: Owen Taylor Date: Sun Jan 30 11:37:48 2005 +0000 Update composite-over-white code to use a pattern, not a surface. (to match _cairo_surface_composite API change.) ChangeLog | 6 ++++++ src/cairo-ps-surface.c | 23 ++++++----------------- src/cairo_ps_surface.c | 23 ++++++----------------- 3 files changed, 18 insertions(+), 34 deletions(-) commit dca785faafb4baf2a5626e5191b3c3739b0b42b7 Author: Owen Taylor Date: Sun Jan 30 11:28:14 2005 +0000 Fixes from David Reveman: Don't save to surface part of the union when the pattern isn't a surface pattern. (_cairo_pattern_get_surface): Create the new surface at the width and height of the source. Add cairo-ft-private.h ChangeLog | 12 ++++++++++++ src/Makefile.am | 2 +- src/cairo-pattern.c | 52 +++++++++++++++++++++++++--------------------------- src/cairo_pattern.c | 52 +++++++++++++++++++++++++--------------------------- 4 files changed, 63 insertions(+), 55 deletions(-) commit a24f2f909e29dd3ad1c7241a9d3f5c6580ac6a3e Author: Kristian Høgsberg Date: Fri Jan 28 12:27:23 2005 +0000 Update prototype to eliminate warning. Remember to reference surfaces when copying patterns. Don't call _gstate_create_pattern for internally created patterns. (_cairo_gstate_show_surface): Don't change the surface matrix here, it's done later when we set it up as a pattern. Correct clip_twice-ref.png filename. Add these. Fix broken intersection code. ChangeLog | 22 +++++++++++++++++++++ src/cairo-gstate.c | 51 +++++++++++-------------------------------------- src/cairo-pattern.c | 4 ++++ src/cairo_gstate.c | 51 +++++++++++-------------------------------------- src/cairo_pattern.c | 4 ++++ src/cairo_png_surface.c | 2 +- src/cairoint.h | 3 +++ test/Makefile.am | 2 +- 8 files changed, 57 insertions(+), 82 deletions(-) commit 4c329eecb9d956c2553376d76308bdff032216a8 Author: Kristian Høgsberg Date: Thu Jan 27 21:14:04 2005 +0000 Make sure we always return a surface similar to dst in the gradient case. ChangeLog | 5 ++++- src/cairo-pattern.c | 31 ++++++++++++++++++++++++------- src/cairo_pattern.c | 31 ++++++++++++++++++++++++------- src/cairoint.h | 9 --------- 4 files changed, 52 insertions(+), 24 deletions(-) commit 79c8b29c3be5179f52db8a726f138137d63ae765 Author: Kristian Høgsberg Date: Thu Jan 27 19:57:31 2005 +0000 Fold _cairo_pattern_get_image into _cairo_pattern_get_surface and make sure we always return a surface of the same type as dest. Use _cairo_pattern_get_surface instead of _cairo_pattern_get_image. Remove use of _cairo_xlib_surface_clone_similar since _cairo_pattern_get_surface always gives us an xlib surface for the pattern. Clean up error handling code in _cairo_xlib_surface_show_glyphs. Add missing cairo_surface_destroy and tidy up offset calculations as suggested by Owen. Simplify code for computing the extents of clipping area, by introducing a couple of cairo_rectangle_t functions. ChangeLog | 20 ++++++++ src/cairo-glitz-surface.c | 10 ++-- src/cairo-image-surface.c | 31 +++++++----- src/cairo-pattern.c | 102 ++++++++++++++------------------------ src/cairo-xlib-surface.c | 122 ++++++++++++---------------------------------- src/cairo_glitz_surface.c | 10 ++-- src/cairo_image_surface.c | 31 +++++++----- src/cairo_pattern.c | 102 ++++++++++++++------------------------ src/cairo_xlib_surface.c | 122 ++++++++++++---------------------------------- 9 files changed, 206 insertions(+), 344 deletions(-) commit 8e90ae2f6527e39fca55e5c3e1472e067cdfe159 Author: Kristian Høgsberg Date: Thu Jan 27 17:21:13 2005 +0000 Simplify code for computing the extents of clipping area, by introducing a couple of cairo_rectangle_t functions. ChangeLog | 8 ++ src/cairo-gstate.c | 302 +++++++++++++++++++++-------------------------------- src/cairo_gstate.c | 302 +++++++++++++++++++++-------------------------------- src/cairoint.h | 5 +- 4 files changed, 243 insertions(+), 374 deletions(-) commit e0de000336976ddd69243ae775cb40946b730c5b Author: Owen Taylor Date: Thu Jan 27 15:46:16 2005 +0000 src/cairo.[ch] src/cairo_font.c src/cairo_ft_font.c src/cairo_ps_surface.c src/cairo_xlib_surface.c: Move docs from docs/reference, with a fair bit of addition and rewriting. Remove old-format docs. Add a AC_PREREQ(2.54) (Jason Dorje Short) ChangeLog | 11 + configure.in | 2 + doc/public/tmpl/cairo-matrix.sgml | 2 +- doc/reference/ChangeLog | 16 -- doc/reference/README | 11 - doc/reference/crossreference.rb | 30 --- doc/reference/doc.xml | 223 --------------------- doc/reference/xml/cairo_arc.xml | 40 ---- doc/reference/xml/cairo_arc_negative.xml | 40 ---- doc/reference/xml/cairo_clip.xml | 35 ---- doc/reference/xml/cairo_close_path.xml | 35 ---- doc/reference/xml/cairo_copy.xml | 54 ----- doc/reference/xml/cairo_create.xml | 34 ---- doc/reference/xml/cairo_current_alpha.xml | 35 ---- doc/reference/xml/cairo_current_fill_rule.xml | 35 ---- doc/reference/xml/cairo_current_font.xml | 37 ---- doc/reference/xml/cairo_current_font_extents.xml | 40 ---- doc/reference/xml/cairo_current_line_cap.xml | 35 ---- doc/reference/xml/cairo_current_line_join.xml | 35 ---- doc/reference/xml/cairo_current_line_width.xml | 35 ---- doc/reference/xml/cairo_current_matrix.xml | 41 ---- doc/reference/xml/cairo_current_miter_limit.xml | 35 ---- doc/reference/xml/cairo_current_operator.xml | 35 ---- doc/reference/xml/cairo_current_point.xml | 47 ----- doc/reference/xml/cairo_current_rgb_color.xml | 53 ----- doc/reference/xml/cairo_current_target_surface.xml | 34 ---- doc/reference/xml/cairo_current_tolerance.xml | 35 ---- doc/reference/xml/cairo_curve_to.xml | 70 ------- doc/reference/xml/cairo_default_matrix.xml | 35 ---- doc/reference/xml/cairo_destroy.xml | 38 ---- doc/reference/xml/cairo_fill.xml | 35 ---- doc/reference/xml/cairo_fill_rule_t.xml | 40 ---- doc/reference/xml/cairo_font_glyph_extents.xml | 72 ------- doc/reference/xml/cairo_font_t.xml | 25 --- doc/reference/xml/cairo_format_t.xml | 52 ----- doc/reference/xml/cairo_ft_font_create.xml | 59 ------ .../xml/cairo_ft_font_create_for_ft_face.xml | 69 ------- doc/reference/xml/cairo_ft_font_get_pattern.xml | 49 ----- doc/reference/xml/cairo_ft_font_lock_face.xml | 61 ------ doc/reference/xml/cairo_ft_font_unlock_face.xml | 44 ---- doc/reference/xml/cairo_glyph_t.xml | 62 ------ doc/reference/xml/cairo_hit.xml | 36 ---- doc/reference/xml/cairo_identity_matrix.xml | 35 ---- doc/reference/xml/cairo_in_fill.xml | 34 ---- doc/reference/xml/cairo_in_stroke.xml | 34 ---- .../xml/cairo_inverse_transform_distance.xml | 47 ----- .../xml/cairo_inverse_transform_point.xml | 47 ----- doc/reference/xml/cairo_line_cap_t.xml | 43 ---- doc/reference/xml/cairo_line_to.xml | 47 ----- doc/reference/xml/cairo_matrix_copy.xml | 41 ---- doc/reference/xml/cairo_matrix_create.xml | 34 ---- doc/reference/xml/cairo_matrix_destroy.xml | 35 ---- doc/reference/xml/cairo_matrix_invert.xml | 35 ---- doc/reference/xml/cairo_matrix_multiply.xml | 47 ----- doc/reference/xml/cairo_matrix_rotate.xml | 41 ---- doc/reference/xml/cairo_matrix_scale.xml | 47 ----- doc/reference/xml/cairo_matrix_set_identity.xml | 35 ---- doc/reference/xml/cairo_matrix_t.xml | 33 --- .../xml/cairo_matrix_transform_distance.xml | 47 ----- doc/reference/xml/cairo_matrix_transform_point.xml | 47 ----- doc/reference/xml/cairo_matrix_translate.xml | 47 ----- doc/reference/xml/cairo_move_to.xml | 47 ----- doc/reference/xml/cairo_new_path.xml | 35 ---- doc/reference/xml/cairo_operator_t.xml | 47 ----- doc/reference/xml/cairo_pop_group.xml | 35 ---- doc/reference/xml/cairo_push_group.xml | 35 ---- doc/reference/xml/cairo_rectangle.xml | 47 ----- doc/reference/xml/cairo_reference.xml | 35 ---- doc/reference/xml/cairo_rel_curve_to.xml | 70 ------- doc/reference/xml/cairo_rel_line_to.xml | 47 ----- doc/reference/xml/cairo_rel_move_to.xml | 47 ----- doc/reference/xml/cairo_restore.xml | 36 ---- doc/reference/xml/cairo_rotate.xml | 41 ---- doc/reference/xml/cairo_save.xml | 36 ---- doc/reference/xml/cairo_scale.xml | 47 ----- doc/reference/xml/cairo_scale_font.xml | 41 ---- doc/reference/xml/cairo_select_font.xml | 53 ----- doc/reference/xml/cairo_set_alpha.xml | 42 ---- doc/reference/xml/cairo_set_dash.xml | 53 ----- doc/reference/xml/cairo_set_fill_rule.xml | 41 ---- doc/reference/xml/cairo_set_font.xml | 52 ----- doc/reference/xml/cairo_set_line_cap.xml | 41 ---- doc/reference/xml/cairo_set_line_join.xml | 41 ---- doc/reference/xml/cairo_set_line_width.xml | 41 ---- doc/reference/xml/cairo_set_miter_limit.xml | 41 ---- doc/reference/xml/cairo_set_operator.xml | 42 ---- doc/reference/xml/cairo_set_pattern.xml | 41 ---- doc/reference/xml/cairo_set_rgb_color.xml | 54 ----- doc/reference/xml/cairo_set_target_drawable.xml | 45 ----- doc/reference/xml/cairo_set_target_image.xml | 58 ------ doc/reference/xml/cairo_set_target_png.xml | 51 ----- doc/reference/xml/cairo_set_target_ps.xml | 52 ----- doc/reference/xml/cairo_set_target_surface.xml | 41 ---- doc/reference/xml/cairo_set_target_xcb.xml | 58 ------ doc/reference/xml/cairo_set_tolerance.xml | 41 ---- doc/reference/xml/cairo_show_glyphs.xml | 46 ----- doc/reference/xml/cairo_show_text.xml | 41 ---- doc/reference/xml/cairo_status.xml | 35 ---- doc/reference/xml/cairo_status_string.xml | 35 ---- doc/reference/xml/cairo_stroke.xml | 35 ---- doc/reference/xml/cairo_stroke_path.xml | 35 ---- doc/reference/xml/cairo_surface_clip_restore.xml | 35 ---- doc/reference/xml/cairo_surface_destroy.xml | 35 ---- doc/reference/xml/cairo_surface_get_matrix.xml | 41 ---- doc/reference/xml/cairo_surface_reference.xml | 35 ---- doc/reference/xml/cairo_surface_set_filter.xml | 41 ---- doc/reference/xml/cairo_surface_set_matrix.xml | 41 ---- doc/reference/xml/cairo_surface_set_repeat.xml | 41 ---- doc/reference/xml/cairo_surface_t.xml | 17 -- doc/reference/xml/cairo_t.xml | 23 --- doc/reference/xml/cairo_text_extents.xml | 47 ----- doc/reference/xml/cairo_text_extents_t.xml | 76 ------- doc/reference/xml/cairo_transform_distance.xml | 47 ----- doc/reference/xml/cairo_transform_font.xml | 41 ---- doc/reference/xml/cairo_transform_point.xml | 47 ----- doc/reference/xml/cairo_translate.xml | 47 ----- doc/reference/xml/skeleton.xml | 30 --- src/cairo-font.c | 13 ++ src/cairo-ft-font.c | 107 ++++++++++ src/cairo-ps-surface.c | 16 ++ src/cairo-xlib-surface.c | 16 ++ src/cairo.c | 162 +++++++++++++++ src/cairo.h | 126 +++++++++++- src/cairo_font.c | 13 ++ src/cairo_ft_font.c | 107 ++++++++++ src/cairo_ps_surface.c | 16 ++ src/cairo_xlib_surface.c | 16 ++ 127 files changed, 601 insertions(+), 4984 deletions(-) commit 56c96d014047c8759dcec6777416466f87aba354 Author: Kristian Høgsberg Date: Thu Jan 27 12:28:17 2005 +0000 Update these two once again, this time generated using libpixman-0.1.3 without leaky circles. ChangeLog | 7 +++++++ test/clip-twice-ref.png | Bin 793 -> 751 bytes test/clip_twice-ref.png | Bin 793 -> 751 bytes test/coverage-ref.png | Bin 44373 -> 44331 bytes 4 files changed, 7 insertions(+) commit 73cdfa0b2ba3222958483245a48daf483f3c74f6 Author: Kristian Høgsberg Date: Thu Jan 27 11:59:55 2005 +0000 [ Grr... previous commit from test/, missed the ChangLog changes ] Fix missing rounding in these two functions. Update these to versions with properly rounded alpha values. Move clip_twice out of XFAIL now that rounding works. Add new test cases. ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 81d03b3048b238099ae29a4baba84d5870353540 Author: Kristian Høgsberg Date: Thu Jan 27 11:40:29 2005 +0000 Fix missing rounding in these two functions. Update these to versions with properly rounded alpha values. Move clip_twice out of XFAIL now that rounding works. Add new test cases. test/.cvsignore | 2 ++ test/Makefile.am | 3 +-- test/clip-twice-ref.png | Bin 869 -> 793 bytes test/clip_twice-ref.png | Bin 869 -> 793 bytes test/coverage-ref.png | Bin 44332 -> 44373 bytes test/read-png.c | 6 +++--- test/read_png.c | 6 +++--- test/write-png.c | 6 +++--- test/write_png.c | 6 +++--- 9 files changed, 15 insertions(+), 14 deletions(-) commit 0f5b7d82deb8941705b703ef27d442ca7627bf41 Author: Owen Taylor Date: Thu Jan 27 11:35:25 2005 +0000 configure.in Makefile.am docs/Makefile.am docs/public/*: Add framework for doing docs via gtk-doc. src/cairo.[ch] src/cairo-matrix.c: Add some inline docs for arcs and matrices. gtk-doc.m4 acinclude.m4: Check in files from gtk-doc to make the dependency on gtk-doc optional. Add --enable-gtk-doc to the default args. ChangeLog | 14 + Makefile.am | 2 +- acinclude.m4 | 53 ++ autogen.sh | 2 +- configure.in | 5 + doc/.cvsignore | 2 + doc/Makefile.am | 2 + doc/public/.cvsignore | 15 + doc/public/Makefile.am | 45 ++ doc/public/cairo-docs.xml | 30 ++ doc/public/cairo-overrides.txt | 0 doc/public/cairo-sections.txt | 238 +++++++++ doc/public/cairo.types | 0 doc/public/tmpl/.cvsignore | 1 + doc/public/tmpl/cairo-atsui.sgml | 25 + doc/public/tmpl/cairo-ft.sgml | 63 +++ doc/public/tmpl/cairo-glitz.sgml | 34 ++ doc/public/tmpl/cairo-matrix.sgml | 193 +++++++ doc/public/tmpl/cairo-pattern.sgml | 154 ++++++ doc/public/tmpl/cairo-pdf.sgml | 42 ++ doc/public/tmpl/cairo-png.sgml | 40 ++ doc/public/tmpl/cairo-ps.sgml | 42 ++ doc/public/tmpl/cairo-quartz.sgml | 38 ++ doc/public/tmpl/cairo-surface.sgml | 112 ++++ doc/public/tmpl/cairo-xcb.sgml | 28 + doc/public/tmpl/cairo-xlib.sgml | 39 ++ doc/public/tmpl/cairo.sgml | 1012 ++++++++++++++++++++++++++++++++++++ gtk-doc.make | 157 ++++++ src/cairo-matrix.c | 162 ++++++ src/cairo.c | 47 ++ src/cairo.h | 26 +- src/cairo_matrix.c | 162 ++++++ 32 files changed, 2782 insertions(+), 3 deletions(-) commit 17ec6f1482ed63ea15e317e78eafab52786cee55 Author: Kristian Høgsberg Date: Thu Jan 27 10:46:20 2005 +0000 The overall idea of this rewrite is that we want to pass the source pattern all the way down into the backends. The motivation for this is that not all backends want a surface for the source operand, and by passing the pattern down, backends can choose to convert it to a surface if they need that. The patch removes the create_surface function pointer from the surface vtable and moves much of that code into a couple of helper functions. The composite, compsite_trapezoids, and show_glyphs backend functions are updated to take a cairo_pattern_t instead of a surface as the source. Change these functions to not create a surface for the pattern and just pass the pattern down to the backend functions. New function to translate a set of trapezoids. Break out the code to adjust and restore surface transformation and repeat settings into _cairo_pattern_prepare_surface and _cairo_pattern_restore_surface. Split cairo_pattern_create_for_surface into an init function and a create function. Utility functions to create a surface from a pattern. Update these backends to work with the new pattern API. Glitz work by David Reveman. Update these to pass through the new set of args. Update this reference image as we now render it correctly. ChangeLog | 62 ++++ src/cairo-font.c | 20 +- src/cairo-ft-font.c | 19 +- src/cairo-glitz-surface.c | 827 ++++++++++++++++++++++------------------------ src/cairo-gstate.c | 363 ++++++++++---------- src/cairo-image-surface.c | 79 +++-- src/cairo-pattern.c | 207 ++++++++---- src/cairo-pdf-surface.c | 72 +--- src/cairo-ps-surface.c | 15 +- src/cairo-surface.c | 142 ++------ src/cairo-xlib-surface.c | 102 ++++-- src/cairo_font.c | 20 +- src/cairo_ft_font.c | 19 +- src/cairo_glitz_surface.c | 827 ++++++++++++++++++++++------------------------ src/cairo_gstate.c | 363 ++++++++++---------- src/cairo_image_surface.c | 79 +++-- src/cairo_pattern.c | 207 ++++++++---- src/cairo_pdf_surface.c | 72 +--- src/cairo_png_surface.c | 19 +- src/cairo_ps_surface.c | 15 +- src/cairo_surface.c | 142 ++------ src/cairo_xlib_surface.c | 102 ++++-- src/cairoint.h | 102 +++--- test/coverage-ref.png | Bin 43819 -> 44332 bytes 24 files changed, 1960 insertions(+), 1915 deletions(-) commit 2654df6afb424e41d7cc3752a9d7b9c27c3efc92 Author: Kristian Høgsberg Date: Wed Jan 26 21:46:01 2005 +0000 New test case to verify that the clip surface is correctly updated when extending an existing clip path. ChangeLog | 4 +++ test/Makefile.am | 21 +++++++++----- test/clip-twice-ref.png | Bin 0 -> 869 bytes test/clip-twice.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ test/clip_twice-ref.png | Bin 0 -> 869 bytes test/clip_twice.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 162 insertions(+), 7 deletions(-) commit 79d9b82ff3a803a0895fd57156cb39dc0a54e926 Author: Kristian Høgsberg Date: Wed Jan 26 14:21:53 2005 +0000 Set alpha to 1 before setting clip mask. Added the right reference PNG. Running test against stock 0.3.0 gives the expected results. ChangeLog | 5 +++++ test/coverage-ref.png | Bin 629 -> 43819 bytes test/coverage.c | 1 + 3 files changed, 6 insertions(+) commit d4fb5c92407f31291041f421360ea83a209ea2ad Author: Kristian Høgsberg Date: Wed Jan 26 13:41:55 2005 +0000 New test case, covering various combinations of pattern types, drawing operations and clipping. Currently fails, for some combinations, coverage-ref.png is just a placeholder. Added this PNG from cairo-snippets to use for pattern fills. expose PNG loading to test cases. ChangeLog | 13 ++++ test/Makefile.am | 7 +- test/cairo-test.c | 23 +++++++ test/cairo-test.h | 4 ++ test/cairo_test.c | 23 +++++++ test/cairo_test.h | 4 ++ test/coverage-ref.png | Bin 0 -> 629 bytes test/coverage.c | 181 ++++++++++++++++++++++++++++++++++++++++++++++++++ test/romedalen.png | Bin 0 -> 80944 bytes 9 files changed, 253 insertions(+), 2 deletions(-) commit 6dce601fd3cd7f6c8ebe72240e6be7c223ccbdcb Author: Carl Worth Date: Wed Jan 26 09:10:15 2005 +0000 Use 32-bits for pixman_bits_t, even on 64-bit platforms. This should fix bug #2335 as well as rendering problems seen on 64-bit platforms. pixman/ChangeLog | 6 ++++++ pixman/src/pixman.h | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) commit dfee909d51aa62d731512d6a66ad3d7478c41089 Author: Alexander Larsson Date: Wed Jan 26 06:49:16 2005 +0000 Fix access to uninitialized data key must be first element in cache entry ChangeLog | 8 ++++++++ src/cairo-ft-font.c | 4 +++- src/cairo-xlib-surface.c | 2 +- src/cairo_ft_font.c | 4 +++- src/cairo_xlib_surface.c | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) commit 2a7a9d00cc2aa124b5c914dcaf978cbf7ddeddbb Author: Carl Worth Date: Tue Jan 25 14:45:31 2005 +0000 test/imagediff.c Add new testsvg script and accompanying imagediff program, (for interim SVG-based test suites while we wait for the standard cairo test suite to mature). Split buffer_diff out into its own file for the purpose of imagediff. test/.cvsignore | 1 + test/Makefile.am | 5 ++++ test/buffer-diff.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++ test/buffer-diff.h | 38 ++++++++++++++++++++++++ test/buffer_diff.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++ test/buffer_diff.h | 38 ++++++++++++++++++++++++ test/cairo-test.c | 61 +++++++-------------------------------- test/cairo_test.c | 61 +++++++-------------------------------- test/imagediff.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ test/write-png.c | 7 ++--- test/write-png.h | 4 +-- test/write_png.c | 7 ++--- test/write_png.h | 4 +-- 13 files changed, 340 insertions(+), 116 deletions(-) commit e5e0880d6761bac2482ec5e1af44a89c9e0b10d9 Author: David Reveman Date: Tue Jan 25 12:25:29 2005 +0000 Update mail address AUTHORS | 2 +- ChangeLog | 4 ++++ src/cairo-glitz-surface.c | 2 +- src/cairo_glitz_surface.c | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) commit b35c7a3ee5df3cac5d5060df6f251947f168e8ec Author: David Reveman Date: Tue Jan 25 12:21:32 2005 +0000 Track changes to glitz ChangeLog | 4 +++ configure.in | 2 +- src/cairo-glitz-surface.c | 67 +++++++++++++++++++++-------------------------- src/cairo_glitz_surface.c | 67 +++++++++++++++++++++-------------------------- 4 files changed, 65 insertions(+), 75 deletions(-) commit 71f65cbad209bce433f8aca4809a99216856e53d Author: David Reveman Date: Tue Jan 25 12:11:02 2005 +0000 Add missing include directive so xcb backend compile again ChangeLog | 5 +++++ src/cairo-xcb-surface.c | 1 + src/cairo_xcb_surface.c | 1 + 3 files changed, 7 insertions(+) commit b321202d18443e4140093c41a17ac0bf10f9059f Author: Carl Worth Date: Tue Jan 25 11:48:59 2005 +0000 Fixed rounding of glyph positioning. ChangeLog | 5 +++++ src/cairo-ft-font.c | 6 +++--- src/cairo_ft_font.c | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) commit a812c7a06606f6c6b050fca6ad86a7b94564c1a2 Author: Owen Taylor Date: Tue Jan 25 10:56:50 2005 +0000 Chec pdf_font for NULL, not font. ChangeLog | 5 +++++ src/cairo-pdf-surface.c | 2 +- src/cairo_pdf_surface.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 55a8b62ec4650c9e730a431880b2d68614275d57 Author: Alexander Larsson Date: Tue Jan 25 06:50:33 2005 +0000 Fix typo that made cairo-ft.h not get installed ChangeLog | 5 +++++ src/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit fe0c66a821591b15de0ed4f6781243ed9beb4f55 Author: Carl Worth Date: Mon Jan 24 09:17:10 2005 +0000 Add Shawn T. Amundson, Calum Robinson, and Owen Taylor. AUTHORS | 7 +++++-- ChangeLog | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) commit e2afdd14588f1352e35777eb1d817f3559b297bd Author: Carl Worth Date: Mon Jan 24 09:10:51 2005 +0000 Conditionally install header files only for backends that are compiled. Thanks to Shawn T. Amundson . ChangeLog | 4 ++++ src/Makefile.am | 58 +++++++++++++++++++++++++++++++++------------------------ 2 files changed, 38 insertions(+), 24 deletions(-) commit 31f05254ffabd660b27b26af082ca75ac724c9d7 Author: Carl Worth Date: Mon Jan 24 09:01:52 2005 +0000 Qualify color argument as const. Closes bug #2336. ChangeLog | 6 ++++++ src/cairo-color.c | 3 ++- src/cairo_color.c | 3 ++- src/cairoint.h | 3 ++- 4 files changed, 12 insertions(+), 3 deletions(-) commit c58f6a4bcf20b1f2a50629100457e4025a7de19b Author: Dave Beckett Date: Sun Jan 23 15:16:57 2005 +0000 Protect switch on hintstyle with #ifdef FC_HINT_STYLE. ChangeLog | 5 +++++ src/cairo-ft-font.c | 8 ++++---- src/cairo_ft_font.c | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) commit 7114a77ce1f25c4e4cd6840daf49ce34cdc11826 Author: Carl Worth Date: Sun Jan 23 12:49:56 2005 +0000 Add instructions for handling the new -head suffix of CAIRO_VERSION at release-time. Append -head to CAIRO_VERSION to indicate state between snapshots. ChangeLog | 12 ++++++++++++ RELEASING | 24 +++++++++++++++--------- configure.in | 2 +- src/cairo-gstate.c | 6 ++++++ src/cairo_gstate.c | 6 ++++++ 5 files changed, 40 insertions(+), 10 deletions(-) commit 7275be538b37c0e102f62b98e6e8489eaf64e715 Author: Owen Taylor Date: Fri Jan 21 15:43:55 2005 +0000 Call _cairo_gstate_ensure_font(). Don't reference the returned font. ChangeLog | 5 +++++ src/cairo-gstate.c | 8 ++++++-- src/cairo_gstate.c | 8 ++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) commit e613961f948495b06e60542dee85d513cf459ad2 Author: Owen Taylor Date: Fri Jan 21 15:31:15 2005 +0000 Make dependence on FC_HINT_STYLE conditional. (reported by Abraham Egnor) Use FT_LOAD_MONOCHROME if FT_LOAD_TARGET_MONO isn't defined for compatibility with older FreeType. ChangeLog | 9 +++++++++ src/cairo-ft-font.c | 12 ++++++++++++ src/cairo_ft_font.c | 12 ++++++++++++ 3 files changed, 33 insertions(+) commit 97424a3c2a4172dd3a686d0d41f7c7781b670814 Author: Owen Taylor Date: Fri Jan 21 14:33:47 2005 +0000 Change cairo_font_t to refer to a font scaled to a particular output device resolution. src/cairoint.h src/cairo_font.c src/cairo_ft_font.c src/cairo_xlib_surface.c src/cairo_pdf_surface.c src/cairo_gstate.c src/cairo.c: Switch many internal methods from handling cairo_unscaled_font_t and cairo_font_scale_t pairs to handling cairo_font_t. src/cairo-ft-private.h src/cairo_ft_fontc: Add some internal interfaces for use by the FreeType backend. Clear the gstate's current font when the transform or target surface changes. src/cairo.h src/cairo_ft_font.c: Rename cairo_ft_font_pattern to cairo_ft_font_get_pattern(). src/cairo.h src/cairo_ft_font.c: Make cairo_ft_font_create() and cairo_ft_font_create_for_ft_face() take a font scale; make the latter take load_flags for FT_Load_Glyph() as well. Change cairo_ft_font_face() to Xft-style cairo_ft_font_lock_face, cairo_ft_font_unlock_face. Remove the name/slant/weight=>unscaled font cache, it didn't work with the new cairo_font_t setup. If it turns out to be needed, it can be added back in some other form. src/cairoint.h src/cairo_font.c: Add a 'flags' field to cairo_glyph_cache_key_t, we use it for load flags with freetype backend. Switch the caching to be from resolved fontconfig pattern => file; keep only a fixed number of FT_Face objects open at once, similar to FreeType. src/cairo_gstate.c src/cairoint.h: Add public cairo_font_glyph_extents, use it to implement _cairo_gstate_glyph_extents(). Add refcounting for glyph cache elements; there was an bug where elements got ejected from the cache and freed before they could be used. src/cairoint.h src/cairo_cache.c (_cairo_cache_random_entry()) New function to return a random entry in the cache matching a predicate; reuse the internals for the previous _random_live_entry(). src/cairoint.h src/cairo_cache.c (_cairo_cache_lookup()): Add an optional created_entry return value. src/cairo_ft_font.c src/cairo_xlib_surface.c: Adapt to _cairo_cache_lookup() change. Support max_memory == 0 to indicate an unbounded cache. src/cairoint.h src/cairo_cache.c (_cairo_cache_remove()): Add a function to manually remove entries from the cache. Update for changes, document cairo_matrix_t, cairo_glyph_t, etc. src/cairo.h src/cairo-atsui.h src/cairo-ft.h src/cairo-glitz.h src/cairo-pdf.h src/cairo-png.h src/cairo-ps.h src/cairo-quartz.h src/cairo-xcb.h src/cairo-xlib.h: Add CAIRO_BEGIN/END_DECLS for extern "C", use it on all public headers. Move header guards outermost. Fix encoding. ChangeLog | 74 ++ doc/reference/doc.xml | 21 +- doc/reference/xml/cairo_current_font.xml | 4 +- doc/reference/xml/cairo_font_glyph_extents.xml | 72 ++ doc/reference/xml/cairo_font_t.xml | 25 + doc/reference/xml/cairo_ft_font_create.xml | 59 ++ .../xml/cairo_ft_font_create_for_ft_face.xml | 69 ++ doc/reference/xml/cairo_ft_font_get_pattern.xml | 49 + doc/reference/xml/cairo_ft_font_lock_face.xml | 61 ++ doc/reference/xml/cairo_ft_font_unlock_face.xml | 44 + doc/reference/xml/cairo_glyph_t.xml | 62 ++ doc/reference/xml/cairo_matrix_t.xml | 24 +- doc/reference/xml/cairo_set_font.xml | 16 +- doc/reference/xml/cairo_show_glyphs.xml | 2 +- doc/reference/xml/cairo_text_extents_t.xml | 49 +- src/cairo-atsui.h | 9 +- src/cairo-cache.c | 104 +- src/cairo-font.c | 410 +++----- src/cairo-ft-font.c | 1047 ++++++++++++-------- src/cairo-ft-private.h | 63 ++ src/cairo-ft.h | 31 +- src/cairo-glitz.h | 9 +- src/cairo-gstate.c | 323 +++--- src/cairo-hash.c | 104 +- src/cairo-pdf-surface.c | 63 +- src/cairo-pdf.h | 9 +- src/cairo-png.h | 11 +- src/cairo-ps.h | 9 +- src/cairo-quartz-surface.c | 2 +- src/cairo-quartz.h | 9 +- src/cairo-xcb.h | 9 +- src/cairo-xlib-surface.c | 55 +- src/cairo-xlib.h | 9 +- src/cairo.h | 29 +- src/cairo_cache.c | 104 +- src/cairo_font.c | 410 +++----- src/cairo_ft_font.c | 1047 ++++++++++++-------- src/cairo_gstate.c | 323 +++--- src/cairo_pdf_surface.c | 63 +- src/cairo_quartz_surface.c | 2 +- src/cairo_xlib_surface.c | 55 +- src/cairoint.h | 157 +-- 42 files changed, 3118 insertions(+), 1979 deletions(-) commit 90689370267f3c02d6be62e3e8c85cccdad6f577 Author: Carl Worth Date: Fri Jan 21 12:48:11 2005 +0000 Increment CAIRO_VERSION to 0.3.0 Add notes for snapshot 0.3.0 ChangeLog | 6 ++- NEWS | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 2 +- 3 files changed, 176 insertions(+), 3 deletions(-) commit f697490665735c5b5a469b81b16e8075eb355ba7 Author: Carl Worth Date: Fri Jan 21 11:27:56 2005 +0000 Update reference images for new rasterization in libpixman 0.1.3. ChangeLog | 5 +++++ test/fill-rule-ref.png | Bin 1983 -> 1979 bytes test/fill_rule-ref.png | Bin 1983 -> 1979 bytes test/leaky-polygon-ref.png | Bin 264 -> 255 bytes test/leaky_polygon-ref.png | Bin 264 -> 255 bytes test/line-width-ref.png | Bin 167 -> 171 bytes test/line_width-ref.png | Bin 167 -> 171 bytes 7 files changed, 5 insertions(+) commit 1463fbb6c90a9a6faff0d4d1b65d375e416dafd4 Author: Carl Worth Date: Fri Jan 21 11:20:55 2005 +0000 Update since directory changed after server compromise. ChangeLog | 5 +++++ Makefile.am | 2 +- RELEASING | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) commit fdf1ed1185916b77dc36564f637ebe147acb537d Author: Carl Worth Date: Fri Jan 21 11:18:46 2005 +0000 Fix typo pixman/RELEASING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 886d457c2f16faa0f570fcf98680df5e5123a641 Author: Carl Worth Date: Fri Jan 21 11:16:03 2005 +0000 Fix snapshot URL in description pixman/RELEASING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4b072cc7d266a059871bb76043fa8d0394410671 Author: Carl Worth Date: Fri Jan 21 11:10:07 2005 +0000 Add notes for snapshot 0.1.3. Increment version to 0.1.3 Add reminder to diff pixman.h to look for API changes since the last snapshot. pixman/ChangeLog | 7 +++++++ pixman/NEWS | 22 ++++++++++++++++++++++ pixman/RELEASING | 8 +++++++- pixman/configure.in | 2 +- 4 files changed, 37 insertions(+), 2 deletions(-) commit c3e41a966c5fb0b503dfba48f13a585509c62530 Author: Carl Worth Date: Fri Jan 21 10:59:33 2005 +0000 Add missing files to satisfy make distcheck. pixman/ChangeLog | 3 +++ pixman/src/Makefile.am | 2 ++ 2 files changed, 5 insertions(+) commit 1c4286c2a8323fdadc5112d25acf3cf7ba0d32da Author: Carl Worth Date: Fri Jan 21 10:54:51 2005 +0000 Update for changed www directory on server. pixman/ChangeLog | 3 +++ pixman/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit fd8974f2adfcb46870dec15d4a90763a89ede42a Author: Carl Worth Date: Fri Jan 21 10:52:55 2005 +0000 Add pixman-xserver-compat.h, (that was supposed to go in a couple of commits ago). pixman/ChangeLog | 3 ++ pixman/src/pixman-xserver-compat.h | 98 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) commit dfa7b94c9c9aea61a1ae786139e21152d6e8e34a Author: Carl Worth Date: Fri Jan 21 10:38:42 2005 +0000 Avoid buffer ovverrun when trapezoid's right edge is on a pixel boundary. pixman/ChangeLog | 3 +++ pixman/src/fbedgeimp.h | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) commit 13225d4d3baa78b3020586c6e9b4601111792903 Author: Carl Worth Date: Fri Jan 21 10:26:28 2005 +0000 Switch to use new fbRasterizeTrapezoid. Gut old IcRasterizeTrapezoid implementation. Remove lots of code, (and all the bugs with it). Replace IcRasterizeTrapezoid with fbRasterizeTrapezoid. Add a couple of missing typedefs. Minor changes to allow things to compile within libpixman tree, (replace xserver include directives with pixman-xserver-compat.h and sprinkle a few const qualifiers). Add sources for new point-sampling rasterization. pixman/ChangeLog | 19 + pixman/src/Makefile.am | 4 + pixman/src/fbedge.c | 12 +- pixman/src/fbtrap.c | 20 +- pixman/src/icint.h | 18 +- pixman/src/ictransform.c | 2 - pixman/src/ictrap.c | 1337 +--------------------------------------------- pixman/src/ictri.c | 4 +- pixman/src/renderedge.c | 8 +- pixman/src/renderedge.h | 6 +- 10 files changed, 53 insertions(+), 1377 deletions(-) commit c64e2ccd06edfc9b148ca620d218f84c7bb93378 Author: Carl Worth Date: Fri Jan 21 09:26:44 2005 +0000 Merge in changes from xserver, (mostly just whitespace). pixman/ChangeLog | 5 +++++ pixman/src/fbtrap.c | 21 ++++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) commit d466c33d1df2a30aa8a8c38f2b9861cb36bf3c1e Author: Carl Worth Date: Thu Jan 20 20:45:38 2005 +0000 Add a bunch of missing include directives, (now that cairo.h has been cleaned up). ChangeLog | 7 ++++++- test/cairo-test.c | 4 ++++ test/cairo_test.c | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) commit da1b3c147b9151cef55f0e1c567c897d066bf594 Author: Carl Worth Date: Thu Jan 20 20:41:40 2005 +0000 Created new public header cairo-atsui.h. Build fixes for Quartz backend courtesy of Geoff Norton : Fix check for atsui font backend. Add conditional compilation for cairo_atsui_font.c and cairo_ft_font.c. Add missing include of cairo-quartz.h. Add include of Carbon/Carbon.h. Advertise availability of Quartz surface. Install cairo-quartz.h, and conditionally compile cairo_quartz_surface.c. Add autofoo checks to detect quartz backend. ChangeLog | 26 ++++++++++++++++++++++++++ configure.in | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 56 insertions(+), 3 deletions(-) commit 0ad3789985161fe0fe9908ce993aa7ac2d95e8c4 Author: Carl Worth Date: Thu Jan 20 20:36:25 2005 +0000 Created new public header cairo-atsui.h. Build fixes for Quartz backend courtesy of Geoff Norton : Fix check for atsui font backend. Add conditional compilation for cairo_atsui_font.c and cairo_ft_font.c. Add missing include of cairo-quartz.h. Add include of Carbon/Carbon.h. Advertise availability of Quartz surface. Install cairo-quartz.h, and conditionally compile cairo_quartz_surface.c. Add autofoo checks to detect quartz backend. src/Makefile.am | 18 ++++++++++++++++- src/cairo-atsui-font.c | 13 ++++++------ src/cairo-atsui.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-features.h.in | 2 ++ src/cairo-quartz-surface.c | 7 +------ src/cairo-quartz.h | 2 ++ src/cairo_atsui_font.c | 13 ++++++------ src/cairo_quartz_surface.c | 7 +------ 8 files changed, 87 insertions(+), 25 deletions(-) commit b646ecfe08601af5587b0f3e10e0bf2e62e355c6 Author: Carl Worth Date: Thu Jan 20 08:28:54 2005 +0000 Track various renamings. Insert new includes for backend-specific header files. Remove redundant include of cairo-features.h. Rename header-exclusion macro from _CAIRO_H_ to CAIRO_H. Remove platform-specific grubbing for cairo-features.h and pixman.h in odd places. Remove all backend-specific prototypes, (as they are now in their own header files). Remove deprecated Remove printf. Convert to utf-8. Use the proper name for multiple-header exclusion (CAIRO_FEATURES_H). Track rename of FREETYPE_FONT_FEATURE to FT_FONT_FEATURE. Split cairo.h up into cairo.h, cairo-ft.h, cairo-glitz.h, cairo-pdf.h, cairo-png.h, cairo-ps.h, cairo-xcb.h, cairo-xlib.h. Update for rename of cairo_wideint.h to cairo-wideint.h. Rename CAIRO_HAS_FREETYPE_FONT to CAIRO_HAS_FT_FONT, (to match cairo_ft_font functions and cairo-ft.h). Update for public header files now in /cairo. ChangeLog | 45 ++++++- cairo.pc.in | 3 +- configure.in | 10 +- src/Makefile.am | 27 +++-- src/cairo-features.h.in | 8 +- src/cairo-ft-font.c | 2 + src/cairo-ft.h | 62 ++++++++++ src/cairo-glitz-surface.c | 1 + src/cairo-glitz.h | 53 +++++++++ src/cairo-pdf-surface.c | 4 + src/cairo-pdf.h | 62 ++++++++++ src/cairo-png.h | 59 ++++++++++ src/cairo-ps-surface.c | 1 + src/cairo-ps.h | 63 ++++++++++ src/cairo-quartz.h | 56 +++++++++ src/cairo-xcb.h | 54 +++++++++ src/cairo-xlib-surface.c | 1 + src/cairo-xlib.h | 71 +++++++++++ src/cairo.c | 2 - src/cairo.h | 197 +------------------------------ src/cairo_ft_font.c | 2 + src/cairo_gdip_font.cpp | 1 - src/cairo_gdip_surface.cpp | 1 - src/cairo_glitz_surface.c | 1 + src/cairo_pdf_surface.c | 4 + src/cairo_png_surface.c | 1 + src/cairo_ps_surface.c | 1 + src/cairo_wideint.h | 285 --------------------------------------------- src/cairo_xlib_surface.c | 1 + src/cairoint.h | 6 +- 30 files changed, 580 insertions(+), 504 deletions(-) commit 68d5ba661d5d0ba0a604a3c947f43f629a6a6bb9 Author: Carl Worth Date: Wed Jan 19 12:12:42 2005 +0000 Allow NULL values for return pointers so that the user can easily get partial results from cairo_matrix_get_affine, cairo_current_point, and cairo_current_color_rgb as needed. ChangeLog | 7 +++++++ src/cairo-color.c | 9 ++++++--- src/cairo-gstate.c | 6 ++++-- src/cairo-matrix.c | 17 ++++++++++++++--- src/cairo_color.c | 9 ++++++--- src/cairo_gstate.c | 6 ++++-- src/cairo_matrix.c | 17 ++++++++++++++--- 7 files changed, 55 insertions(+), 16 deletions(-) commit 429c1f42b5942ebd8b3170e462418880c7cf5e2e Author: Carl Worth Date: Wed Jan 19 11:39:06 2005 +0000 Fix int* vs. size_t* confusion, (currently in favor of int* but only because that's easier to implement). Thanks to John Ellson . Closes bug #2328. ChangeLog | 7 +++++++ src/cairo-ft-font.c | 4 ++-- src/cairo_ft_font.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit 6fb833a84c8cbdba299f3ba4f23e8c4434491cad Author: Kristian Høgsberg Date: Wed Jan 19 08:03:53 2005 +0000 Add byteswap macros missing for bigendian architectures. ChangeLog | 5 +++++ src/cairo-pdf-surface.c | 2 ++ src/cairo_pdf_surface.c | 2 ++ 3 files changed, 9 insertions(+) commit cc58bc3b9b6f46d7953f9a088208f6df1c11a497 Author: Carl Worth Date: Wed Jan 19 07:55:28 2005 +0000 Remove fill_rule and leaky_polygon from expected failures list. Both of these bugs have fixes, (fill_rule is fixed by reverting cairo_traps.c to 1.16, and leaky_polygon is fixed in a newer libpixman). ChangeLog | 5 +++++ test/Makefile.am | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit 27532eda85897f2b2f99d17108174c479a47cf5c Author: Carl Worth Date: Wed Jan 19 07:11:14 2005 +0000 Remove const qualifiers from the header file as well. ChangeLog | 3 +++ src/cairo-wideint.h | 74 ++++++++++++++++++++++++++--------------------------- src/cairo_wideint.h | 74 ++++++++++++++++++++++++++--------------------------- 3 files changed, 77 insertions(+), 74 deletions(-) commit 8605b6ae5a0035580683488ba8057f7877f74a9f Author: Carl Worth Date: Wed Jan 19 07:07:00 2005 +0000 Remove useless const qualifier from functions returning simple values, (quiets the warning in gcc4). Thanks to John Ellson . Closes bug #2299. ChangeLog | 5 ++++ src/cairo-wideint.c | 82 ++++++++++++++++++++++++++--------------------------- src/cairo_wideint.c | 82 ++++++++++++++++++++++++++--------------------------- 3 files changed, 87 insertions(+), 82 deletions(-) commit f493efa92d1e945cfb02b4a83b87c48c2788ea5d Author: Carl Worth Date: Wed Jan 19 05:32:32 2005 +0000 Add bugs on cairo_surface_create_for_image, bad names for cairo_font_set_transform and cairo_font_current_transform, segfault on AMD64. BUGS | 16 +++++++++++++++- ChangeLog | 7 +++++++ 2 files changed, 22 insertions(+), 1 deletion(-) commit d894196840aa8363de6f167e6a2b4d59ad9cf977 Author: Carl Worth Date: Tue Jan 18 11:54:23 2005 +0000 Add pristine files from the X server containing Keith's newer point-sampling implementation of trapezoid rasterization. The plan is to munge these files as little as possible to make them work within libpixman, (so that it will be easier to share patches between libpixman and the X server). pixman/ChangeLog | 13 +++ pixman/src/fbedge.c | 134 +++++++++++++++++++++++++++ pixman/src/fbedgeimp.h | 134 +++++++++++++++++++++++++++ pixman/src/fbtrap.c | 235 ++++++++++++++++++++++++++++++++++++++++++++++++ pixman/src/renderedge.c | 197 ++++++++++++++++++++++++++++++++++++++++ pixman/src/renderedge.h | 120 +++++++++++++++++++++++++ 6 files changed, 833 insertions(+) commit e1eec5cf0ef9efa2358b27cdb61a45987ce290e4 Author: Kristian Høgsberg Date: Mon Jan 17 14:59:49 2005 +0000 Fix double free in error path. (cairo_pdf_ft_font_create): Reference the unscaled font to keep the FT_Face around. (cairo_pdf_ft_font_generate): Initialize end to avoid compiler warning; bail out if table write fails. Fixes from Owen. ChangeLog | 9 +++++++++ src/cairo-pdf-surface.c | 26 ++++++++++++++++---------- src/cairo_pdf_surface.c | 26 ++++++++++++++++---------- 3 files changed, 41 insertions(+), 20 deletions(-) commit 2c6939b7acb3dc931fd723eee84f51a5a692f444 Author: Kristian Høgsberg Date: Mon Jan 17 09:40:00 2005 +0000 Add preliminary text support, including support for truetype font subsetting. Change type of 'surface' argument in show_glyphs to void * as it is for all other surface virtual functions. Update accordingly. Add check for endianess. Fix bug in array growing loop. (_cairo_array_append): Accept NULL for elements argument, in which case we just allocate space in the array. ChangeLog | 17 + configure.in | 1 + src/cairo-array.c | 18 +- src/cairo-pdf-surface.c | 894 +++++++++++++++++++++++++++++++++++++++++++++-- src/cairo-xlib-surface.c | 10 +- src/cairo_array.c | 18 +- src/cairo_pdf_surface.c | 894 +++++++++++++++++++++++++++++++++++++++++++++-- src/cairo_xlib_surface.c | 10 +- src/cairoint.h | 7 +- 9 files changed, 1798 insertions(+), 71 deletions(-) commit be7b745a43b4cbfec7e5ca24185f32ee83856163 Author: Kristian Høgsberg Date: Mon Jan 17 09:18:37 2005 +0000 Take image_rotate-ref.png out of EXTRA_DIST until we can actually render it correctly. (XFAIL_TESTS): Update with new known bugs. Add font backend selection options. ChangeLog | 11 ++++++ configure.in | 89 ++++++++++++++++++++++++++++++++++++------------- src/cairo-features.h.in | 4 +++ src/cairo.h | 4 +-- src/cairoint.h | 8 +++-- test/Makefile.am | 15 +++++---- 6 files changed, 97 insertions(+), 34 deletions(-) commit 0e2e28c71726a5346ec13a6a5681421d1929628f Author: Marco Pesenti Gritti Date: Sun Jan 16 08:35:14 2005 +0000 Add native Mac OS X support. src/cairo-atsui-font.c | 806 +++++++++++++++++++++++++++++++++++++++++++++ src/cairo-quartz-surface.c | 397 ++++++++++++++++++++++ src/cairo.h | 32 +- src/cairo_atsui_font.c | 806 +++++++++++++++++++++++++++++++++++++++++++++ src/cairo_quartz_surface.c | 397 ++++++++++++++++++++++ src/cairoint.h | 21 +- 6 files changed, 2455 insertions(+), 4 deletions(-) commit 4358135bc9ef8da04906f7491008231608f837c2 Author: John Ellson Date: Sat Jan 15 10:53:13 2005 +0000 Was using the wrong extents variable. reviewed by: Keith Packard ChangeLog | 7 +++++++ src/cairo-gstate.c | 4 ++-- src/cairo_gstate.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit b0de4a7d094e16fda4e9124caa867df78b607d8c Author: Carl Worth Date: Thu Jan 13 18:08:57 2005 +0000 (IcRasterizeTrapezoid): Fix the above correction so that it doesn't force 0 alpha when the left edge is positioned above but slopes so as to contain some of the pixel. pixman/ChangeLog | 3 +++ pixman/src/ictrap.c | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 46baad20ee702ab20903dc48db6ec984604e405c Author: Carl Worth Date: Thu Jan 13 14:53:13 2005 +0000 Force alpha to 0 when the left edge is entirely above top. (This is a workaround for some bizarre edge effects in the current algorithm). pixman/ChangeLog | 6 ++++++ pixman/src/ictrap.c | 14 ++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 3016995b0d391d233a951db07cbcce49144aef2c Author: Carl Worth Date: Thu Jan 13 14:50:35 2005 +0000 test/Makefile.am Add leaky_polygon test for trapezoid rasterization corner case. ChangeLog | 5 +++ test/.cvsignore | 1 + test/Makefile.am | 3 ++ test/leaky-polygon-ref.png | Bin 0 -> 264 bytes test/leaky-polygon.c | 82 +++++++++++++++++++++++++++++++++++++++++++++ test/leaky_polygon-ref.png | Bin 0 -> 264 bytes test/leaky_polygon.c | 82 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 173 insertions(+) commit 3ae8c1ca654807a1f76b18931a29425f59c77436 Author: David Reveman Date: Thu Jan 13 14:48:15 2005 +0000 Replace struct cairo_surface_backend with cairo_surface_backend_t ChangeLog | 5 +++++ src/cairo-xcb-surface.c | 2 +- src/cairo_xcb_surface.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit a2af89b04a53e2f2fb4a9d7ea4ff879e80d20cd7 Author: Carl Worth Date: Thu Jan 13 06:50:23 2005 +0000 Replace all structure tags to have _ prefix. struct cairo_foo -> struct _cairo_foo Also, prefer cairo_foo_t over struct _cairo_foo in .c files. ChangeLog | 11 +++++++ src/cairo-font.c | 9 +++-- src/cairo-ft-font.c | 6 ++-- src/cairo-glitz-surface.c | 4 +-- src/cairo-xlib-surface.c | 4 +-- src/cairo.h | 10 +++--- src/cairo_font.c | 9 +++-- src/cairo_ft_font.c | 6 ++-- src/cairo_glitz_surface.c | 4 +-- src/cairo_xlib_surface.c | 4 +-- src/cairoint.h | 84 +++++++++++++++++++++++------------------------ 11 files changed, 80 insertions(+), 71 deletions(-) commit 5235dbb80f966acf8d4fe4bdf75766803824e7af Author: Carl Worth Date: Wed Jan 12 14:40:14 2005 +0000 A NULL cairo_t * is not sane. Add freetype flags so that things work with freetype in a non-standard location, (a little extra work here since freetype doesn't use pkg-config). Add several items culled from recent mailing list discussions. Add bugs on cache locking and surface pattern scaling. BUGS | 7 +++++++ ChangeLog | 16 ++++++++++++++++ TODO | 21 +++++++++++++++++++++ cairo.pc.in | 4 ++-- src/cairo.c | 3 +++ 5 files changed, 49 insertions(+), 2 deletions(-) commit 4796dc0b26d5f56eecc4e208afc6b99ee4a7483e Author: Carl Worth Date: Wed Jan 12 14:38:22 2005 +0000 Add big_star_path which shows we still have fill bugs, (even now that little_star_path is working). test/fill-rule-ref.png | Bin 408 -> 1983 bytes test/fill-rule.c | 58 +++++++++++++++++++++++++++++++++++++++++-------- test/fill_rule-ref.png | Bin 408 -> 1983 bytes test/fill_rule.c | 58 +++++++++++++++++++++++++++++++++++++++++-------- 4 files changed, 98 insertions(+), 18 deletions(-) commit 72832b97606066681b640a7b7fda9fc434fd7e4c Author: Keith Packard Date: Tue Jan 11 14:52:16 2005 +0000 Scale factors shouldn't include mirroring. int32x32_64_mul and int64x64_128_mul are different from their unsigned compatriots ChangeLog | 11 +++++++++++ src/cairo-matrix.c | 5 +++++ src/cairo-wideint.c | 28 +++++++++++++++++++++++++++- src/cairo-wideint.h | 10 ++++------ src/cairo_matrix.c | 5 +++++ src/cairo_wideint.c | 28 +++++++++++++++++++++++++++- src/cairo_wideint.h | 10 ++++------ 7 files changed, 83 insertions(+), 14 deletions(-) commit 18680d494b7aa14ec1a8cfac602abdb993482266 Author: Øyvind KolÃ¥s Date: Tue Jan 11 13:50:13 2005 +0000 renamed CAIRO_COLOR_DEFAULT to CAIRO_COLOR_WHITE ChangeLog | 5 +++++ src/cairo-color.c | 8 ++++---- src/cairo_color.c | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) commit c7e80e6bffc43de0f0ffadb9f2b3037bd9b18954 Author: Øyvind KolÃ¥s Date: Tue Jan 11 13:36:41 2005 +0000 reverted accidental change ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 3 --- src/cairo_xlib_surface.c | 3 --- 3 files changed, 5 insertions(+), 6 deletions(-) commit 7dd4d7aad48ae1c454f28d0a61916ef833b5ef78 Author: Øyvind KolÃ¥s Date: Tue Jan 11 13:28:50 2005 +0000 changed default paint color to opaque black ChangeLog | 7 +++++++ src/cairo-color.c | 4 ++-- src/cairo-gstate.c | 2 +- src/cairo-xlib-surface.c | 3 +++ src/cairo_color.c | 4 ++-- src/cairo_gstate.c | 2 +- src/cairo_xlib_surface.c | 3 +++ 7 files changed, 19 insertions(+), 6 deletions(-) commit ad2225c6f4f18570cbd5e4391788458533895bb8 Author: Keith Packard Date: Tue Jan 11 10:03:01 2005 +0000 Fix math library detection to use autotools helper Remove cache memory usage assertions as single objects can be larger than the cache size Decompose font matrix transformations into a couple of helper routines. Return all metrics in font space. Eliminate compiler warning Expect glyph metrics to be in font space. Compute text extents by fetching one glyph metric at a time, transforming to user space and computing the overall bounding box. use 'sincos' where available. Scale factors now ensure the non-scale transform is area preserving. Scale factors requires another parameter to mark the fixed axis. Change license to LGPL Mark int32x32_64_mul as broken (which it still is) Ensure each glyph is located as close to the specified position as possible interface change to _cairo_matrix_compute_scale_factors ChangeLog | 48 ++++++++++++++ cairo.pc.in | 4 +- configure.in | 8 ++- src/Makefile.am | 2 +- src/cairo-cache.c | 6 +- src/cairo-ft-font.c | 126 +++++++++++++++++++++++++++++------ src/cairo-glitz-surface.c | 1 + src/cairo-gstate.c | 164 +++++++++++++++++++++++++++++----------------- src/cairo-hash.c | 6 +- src/cairo-matrix.c | 51 ++++++++++---- src/cairo-wideint.c | 46 ++++++++----- src/cairo-wideint.h | 49 +++++++++----- src/cairo-xlib-surface.c | 33 ++++++---- src/cairo_cache.c | 6 +- src/cairo_ft_font.c | 126 +++++++++++++++++++++++++++++------ src/cairo_glitz_surface.c | 1 + src/cairo_gstate.c | 164 +++++++++++++++++++++++++++++----------------- src/cairo_matrix.c | 51 ++++++++++---- src/cairo_wideint.c | 46 ++++++++----- src/cairo_wideint.h | 49 +++++++++----- src/cairo_xlib_surface.c | 33 ++++++---- src/cairoint.h | 2 +- 22 files changed, 733 insertions(+), 289 deletions(-) commit dc0d812f6c78bfc3e4cbf717cf09a4524d8f149c Author: Carl Worth Date: Fri Jan 7 12:14:40 2005 +0000 Restore extern tag for variable declarations, (accidentally removed when recently removing extern from function prototypes). pixman/ChangeLog | 7 +++++++ pixman/src/icint.h | 2 +- pixman/src/icrop.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) commit a85013680566ec945a87dc49ea97d946a57b8c71 Author: Kristian Høgsberg Date: Thu Jan 6 23:20:07 2005 +0000 Add -lz to CAIRO_LIBS when compiling the PDF backend. Don't use compressBound, since it's only available in zlib 1.2 and newer. ChangeLog | 8 ++++++++ configure.in | 4 ++++ src/cairo-pdf-surface.c | 8 +++++++- src/cairo_pdf_surface.c | 8 +++++++- 4 files changed, 26 insertions(+), 2 deletions(-) commit f4a51d915461b1ac6cb1183a428e7b3afa47ec2a Author: Carl Worth Date: Thu Jan 6 21:28:07 2005 +0000 Add Owen's new equation to fix clipping: ((src Op dest) In clip) Add (dest Out clip) ChangeLog | 5 +++++ TODO | 20 +++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) commit cf354e9924d8e36593ba1f441cd345703dc1ebcd Author: Carl Worth Date: Thu Jan 6 10:28:10 2005 +0000 Added cairo_show_surface_mask and note about clipping problems. ChangeLog | 1 + TODO | 14 ++++++++++++++ 2 files changed, 15 insertions(+) commit a513fa18c7ff7c13f54a4098ba97cb1173b1e39d Author: Carl Worth Date: Thu Jan 6 08:51:48 2005 +0000 Added some TODO items from mailing list traffic. ChangeLog | 4 ++++ TODO | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) commit c9f545672a0a8a101c9979ab07085b019f55598a Author: Kristian Høgsberg Date: Wed Jan 5 17:46:31 2005 +0000 Implement image compression (taken from cairo_ps_surface.c). ChangeLog | 6 ++++- src/cairo-pdf-surface.c | 62 +++++++++++++++++++++++++++++++++++-------------- src/cairo_pdf_surface.c | 62 +++++++++++++++++++++++++++++++++++-------------- 3 files changed, 93 insertions(+), 37 deletions(-) commit b1ec8ae13e9a42c6f9e102a73774dfaeb38dafda Author: Kristian Høgsberg Date: Wed Jan 5 14:29:31 2005 +0000 New PDF backend. Add PDF surface constructors. New file - generic array implementation. Add cairo_array prototypes. Add cairo_array.c and cairo_pdf_surface.c. AUTHORS | 1 + ChangeLog | 8 + configure.in | 17 + src/Makefile.am | 6 + src/cairo-array.c | 130 +++++ src/cairo-features.h.in | 2 + src/cairo-pdf-surface.c | 1314 ++++++++++++++++++++++++++++++++++++++++++++ src/cairo.h | 25 + src/cairo_array.c | 130 +++++ src/cairo_gdip_surface.cpp | 4 + src/cairo_pdf_surface.c | 1314 ++++++++++++++++++++++++++++++++++++++++++++ src/cairoint.h | 34 ++ 12 files changed, 2985 insertions(+) commit c90bd12ec7fdb548b58903f1f357840888b25871 Author: Carl Worth Date: Tue Jan 4 11:55:36 2005 +0000 Do nothing if src image has width or height == 0 to avoid potential divide-by-zero. pixman/ChangeLog | 5 +++++ pixman/src/ic.c | 6 ++++++ 2 files changed, 11 insertions(+) commit 7a5a3cb208b079dfe453ad532a8939bed394cff9 Author: Carl Worth Date: Thu Dec 23 13:49:56 2004 +0000 Remove unused CAIRO_TRAPS_GROWTH_INC. Resize arrays by doubling rather than by linear increments. Add new bug exposed centi_unfinished.svg. BUGS | 7 +++++++ ChangeLog | 10 ++++++++++ TODO | 2 ++ src/cairo-polygon.c | 5 ++--- src/cairo-spline.c | 5 ++--- src/cairo-traps.c | 2 -- src/cairo_polygon.c | 5 ++--- src/cairo_spline.c | 5 ++--- src/cairo_traps.c | 2 -- 9 files changed, 27 insertions(+), 16 deletions(-) commit f76d898cf1f14305e1cc984d0f2f40c831aa9014 Author: Carl Worth Date: Thu Dec 23 11:10:08 2004 +0000 Rename __internal_linkage to pixman_private. Track rename to pixman_private and move it to before the function return value to quiet gcc warnings about visibility attribute ignored for non-class type. pixman/ChangeLog | 15 +++++++++++++++ pixman/configure.in | 12 ++++++++++++ pixman/src/Makefile.am | 2 +- pixman/src/icimage.h | 24 ++++++++++++------------ pixman/src/icint.h | 36 ++++++++++++++++++------------------ pixman/src/icrop.h | 6 +++--- pixman/src/slim_internal.h | 15 ++++++++------- 7 files changed, 69 insertions(+), 41 deletions(-) commit cd21775ef9ee1c4ef2742abd50a6edc99bfbe639 Author: Carl Worth Date: Thu Dec 23 11:00:01 2004 +0000 Fix to actually call pixman_fill_rect_32bpp in the 32 bpp case. Thanks to TOKUNAGA Hiroyuki . (pixman_fill_rect_8bpp, pixman_fill_rect_32bpp): Fix typo in naming: bbp -> bpp. pixman/ChangeLog | 8 ++++++++ pixman/src/icrect.c | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit e5d48545e027316e8ace74eada9e6b682d219595 Author: Carl Worth Date: Tue Dec 21 13:22:44 2004 +0000 Rename __internal_linkage to cairo_private and move it to the beginning of the line for function declarations. Also, drop unneeded "extern" from function declarations. ChangeLog | 8 + src/cairo-wideint.h | 4 +- src/cairo_wideint.h | 4 +- src/cairoint.h | 417 ++++++++++++++++++++++++++-------------------------- 4 files changed, 220 insertions(+), 213 deletions(-) commit 1a21b8289fcbfb808852d152f13f0ff0da935c9c Author: Carl Worth Date: Tue Dec 21 13:14:45 2004 +0000 With thanks to Kristian Høgsberg : Tag a few private functions/data that were missing __internal_linkage. Mark cache backends as static. ChangeLog | 11 +++++++++++ src/cairo-font.c | 6 ++---- src/cairo-ft-font.c | 3 +-- src/cairo-wideint.h | 20 ++++++++++---------- src/cairo-xlib-surface.c | 2 +- src/cairo_font.c | 6 ++---- src/cairo_ft_font.c | 3 +-- src/cairo_wideint.h | 20 ++++++++++---------- src/cairo_xlib_surface.c | 2 +- src/cairoint.h | 11 +++++------ 10 files changed, 44 insertions(+), 40 deletions(-) commit 8ffb7df16c137a87b14039f6e17d090f9e73468f Author: Carl Worth Date: Tue Dec 21 12:57:33 2004 +0000 Change "head -1" to more standard "head -n 1". ChangeLog | 5 +++++ autogen.sh | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 153bf60b3a68266196a007167fc44b7df66ee73b Author: Alexander Larsson Date: Mon Dec 20 12:22:50 2004 +0000 Fix bug in earlier change. ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 4 +++- src/cairo_xlib_surface.c | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) commit eecfec86f1646f185555fd1fb0a65a0a345fa49a Author: Carl Worth Date: Mon Dec 20 09:53:06 2004 +0000 Re-enabled __internal_linkage for all internal functions. Now avoid the warning by moving the * from the return type after the __internal_linkage macro. It looks awaful, but it keeps the compiler quiet. BUGS | 12 ------------ ChangeLog | 7 +++++++ src/cairoint.h | 34 ++++++++++++---------------------- 3 files changed, 19 insertions(+), 34 deletions(-) commit 5c1c5e67dc18c3ad96a1d885b4c7331d48036158 Author: Alexander Larsson Date: Mon Dec 20 09:43:59 2004 +0000 Add _cairo_gstate_restore_external_state, _cairo_fixed_integer_floor and _cairo_fixed_integer_ceil. Call _cairo_gstate_restore_external_state on restore. Fix cache-misses. Implement floor and ceil Restore surface clip region on restroe. (_calculate_region_for_intermediate_clip_surface), (_cairo_gstate_clip_and_composite_trapezoids), (_cairo_gstate_show_surface), (_cairo_gstate_show_glyphs): Create intermediate clip surfaces of the minimal required size. ChangeLog | 26 +++++ src/cairo-cache.c | 10 +- src/cairo-fixed.c | 18 ++++ src/cairo-gstate.c | 295 +++++++++++++++++++++++++++++++++++++++++------------ src/cairo-hash.c | 10 +- src/cairo.c | 6 ++ src/cairo_cache.c | 10 +- src/cairo_fixed.c | 18 ++++ src/cairo_gstate.c | 295 +++++++++++++++++++++++++++++++++++++++++------------ src/cairoint.h | 10 ++ 10 files changed, 554 insertions(+), 144 deletions(-) commit 8fe87a32a8bf4754a24e27aad74c1f1f5dbe9fc7 Author: Carl Worth Date: Mon Dec 20 08:58:38 2004 +0000 Add Alexander Larsson to AUTHORS list. AUTHORS | 1 + ChangeLog | 2 ++ 2 files changed, 3 insertions(+) commit cc0c442d0480723d7c594b262962041f3a45817f Author: Carl Worth Date: Mon Dec 20 08:56:50 2004 +0000 Split off from _cairo_xlib_surface_create to avoid roundtrip when size is already known. (cairo_xlib_surface_create): Simplified to just call XGetGeometry that defer to _cairo_xlib_surface_create_with_size. Add comment about remaining roundtrip and possible plans to eliminate it later with a new interface requiring width/height. Thanks to Alexander Larsson . ChangeLog | 1 + 1 file changed, 1 insertion(+) commit e3fe2138fe9b1446690e75ac87aba2b6aeacd3c0 Author: Carl Worth Date: Mon Dec 20 08:52:47 2004 +0000 Split off from _cairo_xlib_surface_create to avoid roundtrip when size is already known. (cairo_xlib_surface_create): Simplified to just call XGetGeometry that defer to _cairo_xlib_surface_create_with_size. Add comment about remaining roundtrip and possible plans to eliminate it later with a new interface requiring width/height. ChangeLog | 8 +++++++ src/cairo-xlib-surface.c | 62 +++++++++++++++++++++++++++++++++++------------- src/cairo_xlib_surface.c | 62 +++++++++++++++++++++++++++++++++++------------- 3 files changed, 100 insertions(+), 32 deletions(-) commit 682202fdfa37c040c45ebb8b4191f2dfaca8f064 Author: Carl Worth Date: Mon Dec 20 08:08:29 2004 +0000 Disabled test that was killing my machine for some reason. Scary. ChangeLog | 5 +++++ test/text-cache-crash.c | 20 ++++++++++++++++++++ test/text_cache_crash.c | 20 ++++++++++++++++++++ 3 files changed, 45 insertions(+) commit 725d363877e5aaa49c3cc57efda621c0d4f8b1bd Author: Carl Worth Date: Mon Dec 20 07:38:38 2004 +0000 Change return value from cairo_status_t to cairo_int_status_t to match definition in cairo_surface_backend_t. ChangeLog | 5 +++++ src/cairo-image-surface.c | 2 +- src/cairo_image_surface.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 31534f264cb5bb9cbbcf2cf82dfe9cb7ea021726 Author: Carl Worth Date: Mon Dec 20 07:32:45 2004 +0000 Add bug about gcc 3.4 warning: '__visibility__' attribute ignored on non-class types. Remove __internal_linkage macro from all functions returning pointers to shut up warning from gcc 3.4. BUGS | 12 ++++++++++++ ChangeLog | 8 ++++++++ src/cairoint.h | 34 ++++++++++++++++++++++------------ 3 files changed, 42 insertions(+), 12 deletions(-) commit e291f1d88254e69986aa6abe7c44540621fffeab Author: Alexander Larsson Date: Mon Dec 20 06:15:21 2004 +0000 Special case solid color rectangle fills. pixman/ChangeLog | 7 +++ pixman/src/icrect.c | 174 +++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 158 insertions(+), 23 deletions(-) commit a827069cc521935eb75211668f2331ac078ecb41 Author: Carl Worth Date: Fri Dec 17 13:23:32 2004 +0000 Fix to find reference images in local directory when run directly, (rather than by "make check"). ChangeLog | 3 +++ test/cairo-test.c | 2 +- test/cairo_test.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit 5c33c78c8ca551abc5bf28bb7cd1c29d60687ed5 Author: Carl Worth Date: Fri Dec 17 11:31:05 2004 +0000 Add bug about invalidating font caches. BUGS | 4 ++++ ChangeLog | 4 ++++ 2 files changed, 8 insertions(+) commit e656b1f3ba99641e82e603fe5dcbc0c0cc8b8f31 Author: Øyvind KolÃ¥s Date: Mon Dec 6 00:01:45 2004 +0000 normalizing ChangeLog headers ChangeLog | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cb0364a28c4b9c950bf736f1ef87e0d884f864a3 Author: David Reveman Date: Wed Dec 1 16:27:18 2004 +0000 Revert clipping changes ChangeLog | 6 ++++++ src/cairo-gstate.c | 6 +++++- src/cairo_gstate.c | 6 +++++- 3 files changed, 16 insertions(+), 2 deletions(-) commit e5d50e075937c0d34808451ead09f8a5537f9f6d Author: Carl Worth Date: Mon Nov 29 18:25:23 2004 +0000 Fix typo: LPGL->LGPL. COPYING | 2 +- ChangeLog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit d098370411b934ef60b99ca585ae7c100f98867d Author: Carl Worth Date: Mon Nov 29 14:11:26 2004 +0000 Remove unintentional copyright statement from user-generated output image. ChangeLog | 6 ++++++ src/cairo-ps-surface.c | 2 -- src/cairo_ps_surface.c | 2 -- 3 files changed, 6 insertions(+), 4 deletions(-) commit 5c143241df52440ac9e1f9a7aa7b130bae622c5e Author: Carl Worth Date: Tue Nov 23 13:38:09 2004 +0000 Note that text_cache_crash is expected to fail. Add test to demonstrate bug when item is too big for cache. Really remove that refcount assertion this time. ChangeLog | 9 +++++++++ src/cairo-cache.c | 3 --- src/cairo-hash.c | 3 --- src/cairo_cache.c | 3 --- test/Makefile.am | 2 +- test/text-cache-crash.c | 6 ++++++ test/text_cache_crash.c | 6 ++++++ 7 files changed, 22 insertions(+), 10 deletions(-) commit 7478ea5051306cf38ed29d9c9faa4c0263f413b8 Author: Carl Worth Date: Tue Nov 23 12:53:46 2004 +0000 Add note that bug has been fixed. (main): Instrumentation code for testing cache destruction. Support tests that produce no output, (don't check image if (width,height) == (0,0)). Add #include here rather than in multiple .c files. Add const qualifier to static cache_arrangements table. (_cache_sane_state): Remove refcount assertion as it it false during the cairo_cache_destroy. (_cache_sane_state): #include moved up to cairoint.h (_entry_destroy): Fix bug in assertion (used_memory >= entry->memory), not >. (_cairo_cache_destroy): Fix timing of refcount decrement so that the destroy function actually works. BUGS | 7 +++++++ ChangeLog | 21 +++++++++++++++++++++ src/cairo-cache.c | 15 +++++++-------- src/cairo-hash.c | 15 +++++++-------- src/cairo_cache.c | 15 +++++++-------- src/cairoint.h | 8 +++----- test/cairo-test.c | 7 +++++++ test/cairo_test.c | 7 +++++++ test/text-cache-crash.c | 32 +++++++++++++++++++++++++++----- test/text_cache_crash.c | 32 +++++++++++++++++++++++++++----- 10 files changed, 120 insertions(+), 39 deletions(-) commit 78f1206bf8d71d56117fa5dee95b1314f7b1421c Author: Carl Worth Date: Sun Nov 14 10:07:54 2004 +0000 Don't destroy a NULL font. ChangeLog | 5 +++++ src/cairo-gstate.c | 4 ++-- src/cairo_gstate.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) commit 2b76ec2d467ff3cf1f23431729ed3a8887cdfcdb Author: Carl Worth Date: Sat Nov 13 19:46:18 2004 +0000 Unconditionally destroy the old font, (otherwise, if the same font was selected twice in a row, a reference was lost to it, leading to assertion failures). ChangeLog | 7 +++++++ src/cairo-gstate.c | 15 ++++----------- src/cairo_gstate.c | 15 ++++----------- 3 files changed, 15 insertions(+), 22 deletions(-) commit d29237e9c0a93595bbca4506f35cbaec33080198 Author: Stuart Parmenter Date: Fri Nov 12 14:46:23 2004 +0000 Added GDI+ backend to Cairo. ChangeLog | 4 + src/cairo_gdip_font.cpp | 666 +++++++++++++++++++++++++++++++++++++++++ src/cairo_gdip_surface.cpp | 724 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1394 insertions(+) commit b6a2e10301a6670b9678afcc7fda8c1826dd72c8 Author: Carl Worth Date: Fri Nov 12 06:12:20 2004 +0000 Move declarations above statements to satisfy pre-C99 compilers. Thanks to Michael Johnson . ChangeLog | 7 +++++++ src/cairo-font.c | 5 ++--- src/cairo-ft-font.c | 7 +++---- src/cairo_font.c | 5 ++--- src/cairo_ft_font.c | 7 +++---- 5 files changed, 17 insertions(+), 14 deletions(-) commit 10deb4c4ae149cb3677f84aef0a8f72d4e919074 Author: Carl Worth Date: Thu Nov 11 12:15:12 2004 +0000 Added BUG entry BUGS | 5 +++++ ChangeLog | 2 ++ 2 files changed, 7 insertions(+) commit fe728e55323c999a97075e3f6906f978cda2f7ce Author: Carl Worth Date: Tue Nov 9 14:27:32 2004 +0000 (draw): Move x_off, y_off calculation outside of loop to emphasize loop-independence. test/text-rotate.c | 16 ++++++++-------- test/text_rotate.c | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) commit 9dacc32fbc4acd00795805244dd0d2a4faa48818 Author: Carl Worth Date: Tue Nov 9 14:22:37 2004 +0000 Increase size and increase number of different angles drawn. (draw): Fix broken usage of extents (missing bearings), add stroked bounding box (shifted out by 0.5 units to just abut the text), and increase position adjustments to make room for this larger box. ChangeLog | 9 +++++++++ test/text-rotate.c | 32 ++++++++++++++++++-------------- test/text_rotate.c | 32 ++++++++++++++++++-------------- 3 files changed, 45 insertions(+), 28 deletions(-) commit a373313c736b61e00118afd8a631a99b852e3bde Author: Dave Beckett Date: Mon Nov 8 14:15:31 2004 +0000 Fix the bit that patch --reverse failed to do. "cvs diff -r1.256 ChangeLog" is just my change now. ChangeLog | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 128 insertions(+), 1 deletion(-) commit 186f14eeb627a047af495f68efd75480b52501fe Author: Dave Beckett Date: Mon Nov 8 14:08:16 2004 +0000 Restore the huge bit of ChangeLog I just deleted, then add my 6 lines. ChangeLog | 349 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 220 insertions(+), 129 deletions(-) commit 9d032378848167e7dc9a66e4f8c5423abe3798c7 Author: Dave Beckett Date: Mon Nov 8 13:33:42 2004 +0000 require libpixman 0.1.2 since src/cairo_glitz_surface.c depends on two new functions of 0.1.2 - pixman_format_get_masks and pixman_image_get_format ChangeLog | 226 ++--------------------------------------------------------- configure.in | 2 +- 2 files changed, 8 insertions(+), 220 deletions(-) commit ed08ea6bba0ad1528b0073e7ef6c4bfa7f6b5154 Author: Graydon Hoare Date: Fri Nov 5 10:57:50 2004 +0000 Change the signs of a variety of metrics, which were backwards. Return early if we found a rectangular clip at all, not just in error case. Give render glyphset entry the negative bbox offsets it wants, not the bearings. ChangeLog | 10 ++++++++++ src/cairo-ft-font.c | 34 +++++++++++++++++++++++----------- src/cairo-gstate.c | 2 +- src/cairo-image-surface.c | 4 ++-- src/cairo-xlib-surface.c | 41 +++++++++++++++++++++++++++++++++++++++-- src/cairo_ft_font.c | 34 +++++++++++++++++++++++----------- src/cairo_gstate.c | 2 +- src/cairo_image_surface.c | 4 ++-- src/cairo_xlib_surface.c | 41 +++++++++++++++++++++++++++++++++++++++-- 9 files changed, 140 insertions(+), 32 deletions(-) commit 12a86de2c4dbcd44797a4ddf719c6450c6a4e4b0 Author: Carl Worth Date: Thu Nov 4 14:23:50 2004 +0000 Add new test demonstrating assertion failure in cairo_cache_lookup. Add new test showing problems with rotated text. ChangeLog | 8 ++++ Makefile.am | 1 - RELEASING | 2 +- test/.cvsignore | 2 + test/Makefile.am | 13 ++++-- test/cairo-test.h | 1 + test/cairo_test.h | 1 + test/text-cache-crash.c | 85 ++++++++++++++++++++++++++++++++++++ test/text-rotate.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++ test/text_cache_crash.c | 85 ++++++++++++++++++++++++++++++++++++ test/text_rotate.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 419 insertions(+), 5 deletions(-) commit ca61417f7d7562862affd0381b741df260f4a3bb Author: David Reveman Date: Wed Nov 3 15:28:37 2004 +0000 Tracking changes to glitz ChangeLog | 11 +++ configure.in | 2 +- src/cairo-glitz-surface.c | 227 +++++++++++++++++++++++++++++++--------------- src/cairo_glitz_surface.c | 227 +++++++++++++++++++++++++++++++--------------- 4 files changed, 322 insertions(+), 145 deletions(-) commit f1cf7d43318cf0841aed5cc82e1583eb3222c079 Author: David Reveman Date: Wed Nov 3 15:05:24 2004 +0000 Fixed return status of _cairo_gstate_clip ChangeLog | 4 ++++ src/cairo-gstate.c | 2 +- src/cairo_gstate.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit 32cde60a0568fd1a0377b5346f419a212bc0628d Author: Olivier Andrieu Date: Mon Nov 1 07:58:27 2004 +0000 remove cairo_ft_font_destroy() prototype. ChangeLog | 4 ++++ src/cairo.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) commit 0340265ce470e12ed434cbcde56f44a01e06c046 Author: Carl Worth Date: Thu Oct 28 08:48:07 2004 +0000 Abort release-publish if there's already a published tar file with the current version. (release-publish): Add code to update the LATEST-package-version file. pixman/ChangeLog | 7 +++++++ pixman/Makefile.am | 25 ++++++++++++++++--------- pixman/RELEASING | 8 +++++--- 3 files changed, 28 insertions(+), 12 deletions(-) commit 2473e782ca5e92cb70837daf4d2950253170fe66 Author: Carl Worth Date: Thu Oct 28 08:36:42 2004 +0000 Abort release-publish if there's already a published tar file with the current version. (release-publish): Add code to update the LATEST-package-version file. ChangeLog | 7 +++++++ Makefile.am | 16 +++++++++++++--- RELEASING | 10 ++++++---- 3 files changed, 26 insertions(+), 7 deletions(-) commit 327dc6f2ae304aa0536123bf8224a53290f72c29 Author: Carl Worth Date: Wed Oct 27 13:19:39 2004 +0000 Add note on reverted tessellation regression bugs. ChangeLog | 1 + NEWS | 8 ++++++++ 2 files changed, 9 insertions(+) commit d18aad05f33b903ec2ce2d5b5159ea1193af819c Author: Carl Worth Date: Wed Oct 27 13:13:39 2004 +0000 Increment CAIRO_VERSION to 0.2.0. Add notes for snapshot 0.2.0. .cvsignore | 1 + ChangeLog | 4 +++ NEWS | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- RELEASING | 6 ++++- configure.in | 2 +- 5 files changed, 84 insertions(+), 8 deletions(-) commit 377983fdf320cf98061fed9cec1870712855871a Author: Carl Worth Date: Wed Oct 27 11:59:56 2004 +0000 Update release instructions for new release-publish target. Add release-check and release-publish targets copied from libpixman. ChangeLog | 6 ++++++ Makefile.am | 40 ++++++++++++++++++++++++++++++++++ RELEASING | 71 +++++++++++++++++++++++++++++-------------------------------- 3 files changed, 80 insertions(+), 37 deletions(-) commit 39d57762a65f8b16e27c56435217cc96e8c68a23 Author: Carl Worth Date: Wed Oct 27 11:42:45 2004 +0000 Fix to always link tests against locally built library, not installed version. ChangeLog | 3 +++ test/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 1839d679b1a9b60b9c153183df8380061fdd7e64 Author: Carl Worth Date: Wed Oct 27 10:53:44 2004 +0000 Put the tag command back which was accidentally removed from the instructions. pixman/ChangeLog | 3 +++ pixman/RELEASING | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 667fa8fc15044f1d488aa98a74c29206b921d57e Author: Carl Worth Date: Wed Oct 27 10:48:58 2004 +0000 Add new test for cairo_set_fill_rule. Also demonstrate some of the current tessellation bugs with the version of the code that is in CVS. ChangeLog | 6 ++++ test/.cvsignore | 1 + test/Makefile.am | 26 +++++++++----- test/fill-rule-ref.png | Bin 0 -> 408 bytes test/fill-rule.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ test/fill_rule-ref.png | Bin 0 -> 408 bytes test/fill_rule.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 204 insertions(+), 9 deletions(-) commit 944b1721e1910bc4d8caa97ae946b769f9ad2d8a Author: Carl Worth Date: Wed Oct 27 09:43:22 2004 +0000 Suggest "cvs -q update -Ad" as an alternative to checkout. pixman/ChangeLog | 1 + pixman/RELEASING | 3 +++ 2 files changed, 4 insertions(+) commit ed1ad714174abd3354d2dc3991b596d83f6330bf Author: Carl Worth Date: Wed Oct 27 09:37:34 2004 +0000 Update date since 0.1.2 release didn't get pushed out until today. Update release instructions to include new release-publish target. Add release-check and release-publish targets to simplify the release process. pixman/.cvsignore | 2 +- pixman/ChangeLog | 11 +++++++++++ pixman/Makefile.am | 42 ++++++++++++++++++++++++++++++++++++++++ pixman/NEWS | 2 +- pixman/RELEASING | 57 ++++++++++++++++++++++-------------------------------- pixman/TODO | 10 ++++++++++ 6 files changed, 88 insertions(+), 36 deletions(-) commit 19d3fc2399a05a3802b1cb2ced55139fa85a68b8 Author: Carl Worth Date: Wed Oct 27 07:26:36 2004 +0000 Switch from two different buggy mod macros to a new MOD macro which should work in C89 or C99. pixman/ChangeLog | 5 +++++ pixman/NEWS | 7 ++++--- pixman/src/ic.c | 10 ++++------ pixman/src/iccompose.c | 18 ++++++++---------- pixman/src/icint.h | 10 +++++++++- 5 files changed, 30 insertions(+), 20 deletions(-) commit 083de7201755e1b4b322cf2308607f8f3c60a9d8 Author: Carl Worth Date: Tue Oct 26 18:19:55 2004 +0000 Find reference images in so that make distcheck will work. Add header files so that make distcheck is happy. (INCLUDES): Add -D_GNU_SOURCE for asprintf. Someone motivated may want to find a more portable approach. (EXTRA_DIST): Add reference images for the sake of make distcheck. ChangeLog | 9 +++++++++ test/Makefile.am | 26 +++++++++++++++++++++----- test/cairo-test.c | 29 ++++++++++++++++++----------- test/cairo_test.c | 29 ++++++++++++++++++----------- 4 files changed, 66 insertions(+), 27 deletions(-) commit 240276d7920d1c03e32e9a90f826f891f3cd3fcf Author: Carl Worth Date: Tue Oct 26 16:59:22 2004 +0000 Shell doesn't like whitespace around assignment operator. ChangeLog | 3 +++ configure.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 211b19b47575741a70901c10fe0e2d9aec8aa37b Author: Carl Worth Date: Tue Oct 26 16:31:31 2004 +0000 Add paragraph on new features. ChangeLog | 2 ++ test/README | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit f8e632ab1e0673cecd2ea68b3c0e6747b74d7cd6 Author: Carl Worth Date: Tue Oct 26 14:38:43 2004 +0000 Add initial regression test suite. Don't AC_SUBST a dozen different FOO_CFLAGS and FOO_LIBS. Instead, incrementally build up just CAIRO_CFLAGS and CAIRO_LIBS. Don't list flags that should get picked up via dependency information through Requires. Add description of move_to_show_surface. BUGS | 11 +++ ChangeLog | 27 ++++++ Makefile.am | 2 +- cairo.pc.in | 2 +- configure.in | 41 +++++--- src/Makefile.am | 4 +- test/.cvsignore | 10 ++ test/Makefile.am | 29 ++++++ test/README | 55 +++++++++++ test/cairo-test.c | 191 ++++++++++++++++++++++++++++++++++++++ test/cairo-test.h | 50 ++++++++++ test/cairo_test.c | 191 ++++++++++++++++++++++++++++++++++++++ test/cairo_test.h | 50 ++++++++++ test/line-width-ref.png | Bin 0 -> 167 bytes test/line-width.c | 63 +++++++++++++ test/line_width-ref.png | Bin 0 -> 167 bytes test/line_width.c | 63 +++++++++++++ test/move-to-show-surface-ref.png | Bin 0 -> 100 bytes test/move-to-show-surface.c | 69 ++++++++++++++ test/move_to_show_surface-ref.png | Bin 0 -> 100 bytes test/move_to_show_surface.c | 69 ++++++++++++++ test/read-png.c | 166 +++++++++++++++++++++++++++++++++ test/read-png.h | 45 +++++++++ test/read_png.c | 166 +++++++++++++++++++++++++++++++++ test/read_png.h | 45 +++++++++ test/write-png.c | 102 ++++++++++++++++++++ test/write-png.h | 35 +++++++ test/write_png.c | 102 ++++++++++++++++++++ test/write_png.h | 35 +++++++ test/xmalloc.c | 58 ++++++++++++ test/xmalloc.h | 35 +++++++ 31 files changed, 1698 insertions(+), 18 deletions(-) commit bf8374dba260c80ae8ee33c1eb5bddf39ae649f4 Author: Carl Worth Date: Thu Oct 21 18:40:50 2004 +0000 Convert all files to utf-8. Add copyright information to cairo_png_surface.c. ChangeLog | 31 +++++++++++++++++++++++++++++++ src/cairo-cache.c | 2 +- src/cairo-color.c | 2 +- src/cairo-fixed.c | 2 +- src/cairo-font.c | 2 +- src/cairo-ft-font.c | 2 +- src/cairo-glitz-surface.c | 2 +- src/cairo-gstate.c | 2 +- src/cairo-hash.c | 2 +- src/cairo-hull.c | 2 +- src/cairo-image-surface.c | 2 +- src/cairo-matrix.c | 2 +- src/cairo-path-bounds.c | 2 +- src/cairo-path-fill.c | 2 +- src/cairo-path-stroke.c | 2 +- src/cairo-path.c | 2 +- src/cairo-pattern.c | 2 +- src/cairo-pen.c | 2 +- src/cairo-polygon.c | 2 +- src/cairo-ps-surface.c | 2 +- src/cairo-slope.c | 2 +- src/cairo-spline.c | 2 +- src/cairo-surface.c | 2 +- src/cairo-traps.c | 2 +- src/cairo-xcb-surface.c | 2 +- src/cairo-xlib-surface.c | 2 +- src/cairo.c | 2 +- src/cairo.h | 2 +- src/cairo_cache.c | 2 +- src/cairo_color.c | 2 +- src/cairo_fixed.c | 2 +- src/cairo_font.c | 2 +- src/cairo_ft_font.c | 2 +- src/cairo_glitz_surface.c | 2 +- src/cairo_gstate.c | 2 +- src/cairo_hull.c | 2 +- src/cairo_image_surface.c | 2 +- src/cairo_matrix.c | 2 +- src/cairo_path.c | 2 +- src/cairo_path_bounds.c | 2 +- src/cairo_path_fill.c | 2 +- src/cairo_path_stroke.c | 2 +- src/cairo_pattern.c | 2 +- src/cairo_pen.c | 2 +- src/cairo_png_surface.c | 37 +++++++++++++++++++++++++++++++++++++ src/cairo_polygon.c | 2 +- src/cairo_ps_surface.c | 2 +- src/cairo_slope.c | 2 +- src/cairo_spline.c | 2 +- src/cairo_surface.c | 2 +- src/cairo_traps.c | 2 +- src/cairo_xcb_surface.c | 2 +- src/cairo_xlib_surface.c | 2 +- src/cairoint.h | 2 +- 54 files changed, 120 insertions(+), 52 deletions(-) commit 215d5c5a46b7523faa31d2f1d087123a7fd54f32 Author: Carl Worth Date: Thu Oct 21 18:26:25 2004 +0000 Fix comparison so that it results in a stable sort. This should fix some rendering bugs due to broken pens. ChangeLog | 4 ++++ src/cairo-hull.c | 7 +++++-- src/cairo_hull.c | 7 +++++-- 3 files changed, 14 insertions(+), 4 deletions(-) commit de115d07c35ec59e65d27bbfeced9af5a9df43c0 Author: Carl Worth Date: Thu Oct 21 08:55:46 2004 +0000 Add items on custom caps and getting access to hidden image data ChangeLog | 3 +++ TODO | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) commit 07677744429a5664af30dcbae5bd67d26ba64401 Author: Carl Worth Date: Thu Oct 21 08:51:52 2004 +0000 Add COPYING-LGPL-2.1 and COPYING-MPL-1.1 to the distribution. Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit fe2b2c0abf64ad67f9f128c29d2ecd24d8fbac2a Author: Carl Worth Date: Thu Oct 21 08:31:21 2004 +0000 Makefile.am ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) commit ce5f903ea84c398f0766fefdafc4f0866fc2c429 Author: Carl Worth Date: Wed Oct 13 11:13:51 2004 +0000 Fix email address in ChangeLog pixman/ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06788edb0af0b1c15823022747c58e5d595d9960 Author: Carl Worth Date: Wed Oct 13 11:01:42 2004 +0000 Add notes for snapshot 0.1.2 Increment version to 0.1.2 pixman/ChangeLog | 6 ++++++ pixman/NEWS | 24 ++++++++++++++++++++++++ pixman/configure.in | 3 +-- 3 files changed, 31 insertions(+), 2 deletions(-) commit d8b24a4ee035071db8b65c1fcc37ef467b70e2c7 Author: Carl Worth Date: Wed Oct 13 08:18:38 2004 +0000 automake 1.4 seems to be sufficient. Don't require 1.6. ChangeLog | 5 +++++ autogen.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit f9b0020850ac62f37989e6828a69ddaa421d722b Author: Keith Packard Date: Tue Oct 12 14:17:23 2004 +0000 Compute extents of cairo_traps_t on the fly using approximate method which is correct given the way cairo generates trapezoids. Avoid zero-dimensioned pixmaps ChangeLog | 11 +++++ src/cairo-traps.c | 105 +++++++++++++++++++++++++---------------------- src/cairo-xlib-surface.c | 2 +- src/cairo_traps.c | 105 +++++++++++++++++++++++++---------------------- src/cairo_xlib_surface.c | 2 +- src/cairoint.h | 1 + 6 files changed, 126 insertions(+), 100 deletions(-) commit 047ce336000d595bcc123bb3647c44d239e1b89a Author: Carl Worth Date: Tue Oct 12 14:09:37 2004 +0000 Fix a few typos in pen vertex math description. ChangeLog | 4 ++++ src/cairo-pen.c | 6 +++--- src/cairo_pen.c | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) commit cc890b9cf4d2a38e13ae48e16589c4fd02678f99 Author: Keith Packard Date: Tue Oct 12 12:29:29 2004 +0000 Adapt function from Walter Brisken to compute pen ellipse major axis length and use that to compute the required number of pen vertices. reviewed by: Carl Worth ChangeLog | 9 ++ src/cairo-pen.c | 273 +++++++++++++++++++++++++++++++++++++++++++++++++++----- src/cairo_pen.c | 273 +++++++++++++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 511 insertions(+), 44 deletions(-) commit 30131aa4638f9bba6148114d3c60770592d6583b Author: Graydon Hoare Date: Fri Oct 8 12:09:49 2004 +0000 Add cairo_cache.c Rewrite using temporary glyph arrays New file. Remove old glyph cache code. (_cairo_font_scale) (_cairo_font_transform): Remove font-transforming code. (_cairo_font_text_extents) (_cairo_font_text_bbox) (_cairo_font_show_text) (_cairo_font_text_path): Remove text-API code. (_cairo_font_cache_key_t): New structure type. (_font_cache_hash) (_font_cache_keys_equal) (_font_cache_create_entry) (_font_cache_destroy_entry) (_font_cache_destroy_cache): New font cache code. (_global_font_cache) (_lock_global_font_cache) (_unlock_global_font_cache) (_get_global_font_cache): New global font cache. (_cairo_font_text_to_glyphs) (_cairo_glyph_cache_hash) (_cairo_glyph_cache_keys_equal) (_image_glyph_cache_create_entry) (_image_glyph_cache_destroy_entry) (_image_glyph_cache_destroy_cache): New glyph cache code. (_global_image_glyph_cache) (_cairo_lock_global_image_glyph_cache) (_cairo_unlock_global_image_glyph_cache) (_cairo_get_global_image_glyph_cache): New global glyph cache. (_cairo_font_cache_backend): New structure. (_cairo_image_cache_backend): Likewise. (_cairo_font_create): Reimplement in terms of font cache. (_cairo_font_init): Remove matrix and glyph cache related code. (_cairo_font_copy): Likewise. (_cairo_font_show_glyphs): Delegate to surface when possible. (_cairo_font_glyph_extents) (_cairo_font_glyph_bbox) (_cairo_font_glyph_path) (_cairo_font_font_extents) (_cairo_font_show_glyphs): Rename to as cairo_unscaled_font_XXX, and add scale parameter. New structure types. (_create_from_face) (_reference_font_val) (_destroy_font_val) (_create_from_library_and_pattern): New functions. (_ft_font_cache_hash) (_ft_font_cache_keys_equal) (_ft_font_cache_create_entry) (_ft_font_cache_destroy_entry) (_ft_font_cache_destroy_cache): New ft font cache code. (_global_ft_cache) (_lock_global_ft_cache) (_unlock_global_ft_cache) (_get_global_ft_cache): New global ft font cache. (_ft_font_cache_backend): New structure. (_cairo_ft_font_create): Rewrite to use cache. (_cairo_ft_font_destroy): Likewise. (_cairo_ft_font_copy): Remove. (_install_font_matrix): Rename as _install_font_scale. (_utf8_to_glyphs): Rename as _cairo_ft_font_text_to_glyphs. (_cairo_ft_font_text_to_glyphs): Use cache for metrics. (_cairo_ft_font_extents): Accept size, use scaled metrics. (_cairo_ft_font_glyph_extents) (_cairo_ft_font_glyph_bbox) (_cairo_ft_font_show_glyphs) (_cairo_ft_font_glyph_path): Modify to use size, cache. (_cairo_ft_font_text_extents) (_cairo_ft_font_text_bbox) (_cairo_ft_font_show_text) (_cairo_ft_font_text_path): Remove text-API code. (cairo_ft_font_create) (cairo_ft_font_create_for_ft_face) (cairo_ft_font_face) (cairo_ft_font_pattern): Rewrite using ft_font_val_t. Just reference font. (_cairo_gstate_fini): Finalize font matrix. (_cairo_gstate_default_matrix): Initialize font matrix. (_cairo_gstate_clip): Re-enable clipping rectangle. (_cairo_gstate_select_font) (_cairo_gstate_set_font): Set font matrix to identity. (_cairo_gstate_scale_font): Scale font matrix, not font. (_cairo_gstate_transform_font): Transform font matrix, not font. (_cairo_gstate_set_font_transform): Install as font matrix, not in font. (_build_font_scale): New helper function. (_cairo_gstate_text_to_glyphs): New function. (_cairo_gstate_current_font_extents) (_cairo_gstate_glyph_extents) (_cairo_gstate_show_glyphs) (_cairo_gstate_glyph_path): Rewrite using font matrix and size. (_cairo_gstate_text_path (_cairo_gstate_text_extents) (_cairo_gstate_show_text): Remove text-API code. Minor bug fix. (_cairo_xlib_surface_show_glyphs): New function. (_cairo_xlib_surface_backend): Add reference to new function. (glyphset_cache_t) (glyphset_cache_entry_t): New structure types. (_next_xlib_glyph): New helper function. (_xlib_glyphset_cache_create_value) (_xlib_glyphset_cache_destroy_cache) (_xlib_glyphset_cache_destroy_value) (_xlib_glyphset_cache_backend): New glyphset cache code. (_xlib_glyphset_caches) (_lock_xlib_glyphset_caches) (_unlock_xlib_glyphset_caches) (_get_glyphset_cache): New global glyphset cache. Add NULL entry for show_glyphs. Add NULL entry for show_glyphs. Add NULL entry for show_glyphs. Add NULL entry for show_glyphs. Add NULL entry for show_glyphs. New structure type. (cairo_cache_entry_base_t) (cairo_cache_arrangement_t) (cairo_cache_t): New structure types. (_cairo_cache_init) (_cairo_cache_reference) (_cairo_cache_destroy) (_cairo_cache_lookup) (_cairo_hash_string): New cache functions. (CAIRO_IMAGE_GLYPH_CACHE_MEMORY_DEFAULT) (CAIRO_XLIB_GLYPH_CACHE_MEMORY_DEFAULT) (CAIRO_FONT_CACHE_NUM_FONTS_DEFAULT) (CAIRO_FT_CACHE_NUM_FONTS_DEFAULT): New constants. (cairo_font_scale_t) (cairo_glyph_cache_key_t) (cairo_image_glyph_cache_entry_t): New structure types. (_cairo_lock_global_image_glyph_cache) (_cairo_unlock_global_image_glyph_cache) (_cairo_get_global_image_glyph_cache) (_cairo_glyph_cache_hash) (_cairo_glyph_cache_keys_equal): New functions for glyph caches. (cairo_font_backend_t): Remove text-API calls, add scale params, remove copy call. (cairo_surface_backend_t): Add show_glyphs entry. (cairo_glyph_surface_t) (cairo_glyph_surface_node_t): Remove old glyph cache structures. (cairo_unscaled_font_t): New structure type. (cairo_font): Remove glyph cache member, add pointer to unscaled. (cairo_gstate): Add font_matrix member, change to hold unscaled. (_cairo_gstate_set_font_transform) (_cairo_gstate_current_font_transform) (_cairo_gstate_text_to_glyphs): New functions. (_cairo_gstate_text_path (_cairo_gstate_text_extents) (_cairo_gstate_show_text) (_cairo_font_text_extents) (_cairo_font_text_bbox) (_cairo_font_show_text) (_cairo_font_text_path): Remove text-API code. (_cairo_font_glyph_extents) (_cairo_font_glyph_bbox) (_cairo_font_glyph_path) (_cairo_font_font_extents) (_cairo_font_show_glyphs): Add scale parameter. ChangeLog | 190 +++++++++ src/Makefile.am | 1 + src/cairo-cache.c | 454 ++++++++++++++++++++++ src/cairo-font.c | 659 ++++++++++++++++++------------- src/cairo-ft-font.c | 965 +++++++++++++++++++++++++++++----------------- src/cairo-glitz-surface.c | 3 +- src/cairo-gstate.c | 526 +++++++++++++------------ src/cairo-hash.c | 454 ++++++++++++++++++++++ src/cairo-image-surface.c | 3 +- src/cairo-ps-surface.c | 3 +- src/cairo-xcb-surface.c | 3 +- src/cairo-xlib-surface.c | 529 ++++++++++++++++++++++++- src/cairo.c | 53 ++- src/cairo_cache.c | 454 ++++++++++++++++++++++ src/cairo_font.c | 659 ++++++++++++++++++------------- src/cairo_ft_font.c | 965 +++++++++++++++++++++++++++++----------------- src/cairo_glitz_surface.c | 3 +- src/cairo_gstate.c | 526 +++++++++++++------------ src/cairo_image_surface.c | 3 +- src/cairo_png_surface.c | 3 +- src/cairo_ps_surface.c | 3 +- src/cairo_xcb_surface.c | 3 +- src/cairo_xlib_surface.c | 529 ++++++++++++++++++++++++- src/cairoint.h | 413 ++++++++++++-------- 24 files changed, 5485 insertions(+), 1919 deletions(-) commit 56ccb883761ff0781954705795f78b8e5a1591d4 Author: David Reveman Date: Mon Oct 4 04:55:46 2004 +0000 Do not use VBOs and PBOs for immediate mode drawing ChangeLog | 7 +++ configure.in | 2 +- src/cairo-glitz-surface.c | 118 +++++++++++++++++++++------------------------- src/cairo_glitz_surface.c | 118 +++++++++++++++++++++------------------------- 4 files changed, 118 insertions(+), 127 deletions(-) commit 978e2dd0d613a6c043014b62df0c1ac7ae076581 Author: Jamey Sharp Date: Thu Sep 30 13:34:19 2004 +0000 Update for minor XCB API change. ChangeLog | 5 +++++ src/cairo-xcb-surface.c | 2 +- src/cairo_xcb_surface.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 96dfd5db6488f4b649c429471da14362c7697503 Author: David Reveman Date: Sun Sep 19 22:11:04 2004 +0000 Important fixes to glitz format handling ChangeLog | 11 +++++++++++ src/cairo-glitz-surface.c | 29 ++++++++++++++++++++--------- src/cairo_glitz_surface.c | 29 ++++++++++++++++++++--------- 3 files changed, 51 insertions(+), 18 deletions(-) commit c150ea0855428f56cc12d83f4bdafec7f1ce6ce8 Author: David Reveman Date: Wed Sep 15 09:55:40 2004 +0000 Improved format handling, pixel transfers and gradients ChangeLog | 8 +++++ src/cairo-glitz-surface.c | 74 ++++++++++++++++++++++++++++++----------------- src/cairo_glitz_surface.c | 74 ++++++++++++++++++++++++++++++----------------- 3 files changed, 104 insertions(+), 52 deletions(-) commit 3deeb1d1784cced73d94e8274e5c1650189b85d4 Author: David Reveman Date: Sun Sep 12 15:34:00 2004 +0000 Get pixel masks from pixman image format ChangeLog | 2 ++ src/cairo-glitz-surface.c | 27 +++++++++++---------------- src/cairo_glitz_surface.c | 27 +++++++++++---------------- 3 files changed, 24 insertions(+), 32 deletions(-) commit 3a1931baba4c453226a2d0c307352569c6b2bfab Author: David Reveman Date: Sun Sep 12 06:06:50 2004 +0000 Added pixman_format_get_masks and fixed a few format issues pixman/AUTHORS | 2 +- pixman/ChangeLog | 9 +++++++++ pixman/src/icformat.c | 35 ++++++++++++++++++++++++++++++++++- pixman/src/icimage.c | 6 ++++++ pixman/src/pixman.h | 10 +++++++++- 5 files changed, 59 insertions(+), 3 deletions(-) commit 93c27d48a3783dbf318392170edfec78af42fd4f Author: David Reveman Date: Sun Sep 12 05:09:32 2004 +0000 cairo_surface_t pointer to cairo_surface_set_repeat ChangeLog | 3 +++ src/cairo-glitz-surface.c | 2 +- src/cairo_glitz_surface.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit d0e30df8cb32550e2075efc2d1fa342fa6d8ca8b Author: David Reveman Date: Sat Sep 11 19:55:24 2004 +0000 Added function for setting component alpha pixman/AUTHORS | 1 + pixman/ChangeLog | 6 ++++++ pixman/src/icimage.c | 9 +++++++++ pixman/src/icint.h | 1 + pixman/src/pixman.h | 6 +++++- 5 files changed, 22 insertions(+), 1 deletion(-) commit 1ba0de94fb774d1f3f8e082004adadfe897e285e Author: David Reveman Date: Sat Sep 11 19:42:40 2004 +0000 Fixed clipping pixman/ChangeLog | 4 ++++ pixman/src/icimage.c | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit 81d66588587e506781a91e7378b39f728202b317 Author: David Reveman Date: Sat Sep 11 19:33:23 2004 +0000 Byte-order fix pixman/ChangeLog | 5 +++++ pixman/configure.in | 2 ++ pixman/src/icint.h | 13 +++++++++++++ 3 files changed, 20 insertions(+) commit c5786fd0fe0f0b69f3896e77705282c211ba7a77 Author: David Reveman Date: Sat Sep 11 19:27:59 2004 +0000 Added support for both transform and repeat pixman/AUTHORS | 1 + pixman/ChangeLog | 7 +++++++ pixman/src/ic.c | 8 ++++++++ pixman/src/iccompose.c | 46 ++++++++++++++++++++++++++++++++++++++++++---- pixman/src/icimage.h | 3 +++ 5 files changed, 61 insertions(+), 4 deletions(-) commit 4af8faee061b3b90e71badf36040daa0b8edb7d1 Author: David Reveman Date: Sat Sep 11 19:05:46 2004 +0000 Pickup repeat setting when cloning surface ChangeLog | 5 +++++ src/cairo-glitz-surface.c | 2 ++ src/cairo_glitz_surface.c | 2 ++ 3 files changed, 9 insertions(+) commit 7abd103d2eb0fb7099527f16634c80df247c7a65 Author: Carl Worth Date: Sat Sep 11 13:29:59 2004 +0000 Require automake 1.6 rather than 1.7 since it seems to work just fine. ChangeLog | 5 +++++ autogen.sh | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 786904f1aa0dc24f9c206387312eec81e42784d8 Author: David Reveman Date: Sat Sep 11 07:59:27 2004 +0000 Tracking color stop coordinate changes to glitz's gradient filters ChangeLog | 5 +++++ configure.in | 2 +- src/cairo-glitz-surface.c | 4 ++-- src/cairo_glitz_surface.c | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) commit 27d2de8c2d0ebdabf80321bf59d7e680093b4e33 Author: David Reveman Date: Sat Sep 11 04:23:17 2004 +0000 Replaced the gl backend with the new glitz backend ChangeLog | 18 + cairo.pc.in | 2 +- configure.in | 36 +- src/Makefile.am | 10 +- src/cairo-features.h.in | 2 +- src/cairo-glitz-surface.c | 907 +++++++++++++++++++++++++++++++++++++++++++ src/cairo.h | 14 +- src/cairo_gl_surface.c | 967 ---------------------------------------------- src/cairo_glitz_surface.c | 907 +++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 1864 insertions(+), 999 deletions(-) commit 211cf9a2ce2f15402062ebc87f82a2b45b0cfde2 Author: Carl Worth Date: Sat Sep 4 07:29:16 2004 +0000 Add the MPL as a new license option, in addition to the LGPL. ChangeLog | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) commit 0f3ce6a24010b9d1416f218c447b5c68a0df85ea Author: Carl Worth Date: Sat Sep 4 06:38:34 2004 +0000 Add the MPL as a new license option, in addition to the LGPL. COPYING | 519 ++-------------------------------------------- COPYING-LGPL-2.1 | 510 +++++++++++++++++++++++++++++++++++++++++++++ COPYING-MPL-1.1 | 470 +++++++++++++++++++++++++++++++++++++++++ ChangeLog | 8 + src/cairo-color.c | 37 +++- src/cairo-features.h.in | 41 ++-- src/cairo-fixed.c | 41 ++-- src/cairo-font.c | 37 +++- src/cairo-gstate.c | 37 +++- src/cairo-hull.c | 37 +++- src/cairo-image-surface.c | 37 +++- src/cairo-matrix.c | 37 +++- src/cairo-path-bounds.c | 37 +++- src/cairo-path-fill.c | 37 +++- src/cairo-path-stroke.c | 37 +++- src/cairo-path.c | 37 +++- src/cairo-pen.c | 37 +++- src/cairo-polygon.c | 37 +++- src/cairo-ps-surface.c | 37 +++- src/cairo-slope.c | 37 +++- src/cairo-spline.c | 37 +++- src/cairo-surface.c | 37 +++- src/cairo-xcb-surface.c | 37 +++- src/cairo-xlib-surface.c | 37 +++- src/cairo.c | 38 +++- src/cairo.h | 37 +++- src/cairo_color.c | 37 +++- src/cairo_fixed.c | 41 ++-- src/cairo_font.c | 37 +++- src/cairo_gstate.c | 37 +++- src/cairo_hull.c | 37 +++- src/cairo_image_surface.c | 37 +++- src/cairo_matrix.c | 37 +++- src/cairo_path.c | 37 +++- src/cairo_path_bounds.c | 37 +++- src/cairo_path_fill.c | 37 +++- src/cairo_path_stroke.c | 37 +++- src/cairo_pen.c | 37 +++- src/cairo_polygon.c | 37 +++- src/cairo_ps_surface.c | 37 +++- src/cairo_slope.c | 37 +++- src/cairo_spline.c | 37 +++- src/cairo_surface.c | 37 +++- src/cairo_xcb_surface.c | 37 +++- src/cairo_xlib_surface.c | 37 +++- src/cairoint.h | 37 +++- 46 files changed, 2142 insertions(+), 932 deletions(-) commit 31d0ddbf2a6acecea8ffede9f3f3942dcbc9c035 Author: Carl Worth Date: Sat Aug 14 07:21:52 2004 +0000 Make a copy of the region since pixman is currently taking ownership of it (ugh). Thanks to Vladimir Vukicevic and Peter Dennis Bartok . AUTHORS | 2 ++ ChangeLog | 6 ++++++ src/cairo-image-surface.c | 15 ++++++++++++++- src/cairo_image_surface.c | 15 ++++++++++++++- 4 files changed, 36 insertions(+), 2 deletions(-) commit adabb18408157299940413a80a6c943de96296d5 Author: Carl Worth Date: Sat Aug 14 06:35:30 2004 +0000 Explicitly set LANG=C to fix the awk string->number conversion for user with locales that don't match ASCII digit conventions. ChangeLog | 6 ++++++ autogen.sh | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 62e4b869cd17c2fd5103d9e61656a4451624f6b9 Author: Carl Worth Date: Tue Aug 3 11:49:20 2004 +0000 Temporarily disable rectangle-based clipping optimization as it's not working (see cairo_snippets/xxx_clip_rectangle for a test case). ChangeLog | 6 ++++++ src/cairo-gstate.c | 9 +++++++++ src/cairo_gstate.c | 9 +++++++++ 3 files changed, 24 insertions(+) commit e5afa03605e4e8eda39ecbf589796d1c51b8452a Author: Carl Worth Date: Mon Aug 2 17:04:00 2004 +0000 Fix to explicitly refer to GNU Lesser Public License 2.1 rather than the Library Public License version 2 or 'any later version' ChangeLog | 2 ++ src/cairo-color.c | 12 +++++------- src/cairo-features.h.in | 12 +++++------- src/cairo-fixed.c | 12 +++++------- src/cairo-font.c | 12 +++++------- src/cairo-gstate.c | 12 +++++------- src/cairo-hull.c | 12 +++++------- src/cairo-image-surface.c | 12 +++++------- src/cairo-matrix.c | 12 +++++------- src/cairo-path-bounds.c | 12 +++++------- src/cairo-path-fill.c | 12 +++++------- src/cairo-path-stroke.c | 12 +++++------- src/cairo-path.c | 12 +++++------- src/cairo-pen.c | 12 +++++------- src/cairo-polygon.c | 12 +++++------- src/cairo-ps-surface.c | 12 +++++------- src/cairo-slope.c | 12 +++++------- src/cairo-spline.c | 12 +++++------- src/cairo-surface.c | 12 +++++------- src/cairo-xcb-surface.c | 12 +++++------- src/cairo-xlib-surface.c | 12 +++++------- src/cairo.c | 12 +++++------- src/cairo.h | 12 +++++------- src/cairo_color.c | 12 +++++------- src/cairo_fixed.c | 12 +++++------- src/cairo_font.c | 12 +++++------- src/cairo_gstate.c | 12 +++++------- src/cairo_hull.c | 12 +++++------- src/cairo_image_surface.c | 12 +++++------- src/cairo_matrix.c | 12 +++++------- src/cairo_path.c | 12 +++++------- src/cairo_path_bounds.c | 12 +++++------- src/cairo_path_fill.c | 12 +++++------- src/cairo_path_stroke.c | 12 +++++------- src/cairo_pen.c | 12 +++++------- src/cairo_polygon.c | 12 +++++------- src/cairo_ps_surface.c | 12 +++++------- src/cairo_slope.c | 12 +++++------- src/cairo_spline.c | 12 +++++------- src/cairo_surface.c | 12 +++++------- src/cairo_xcb_surface.c | 12 +++++------- src/cairo_xlib_surface.c | 12 +++++------- src/cairoint.h | 12 +++++------- 43 files changed, 212 insertions(+), 294 deletions(-) commit d5e92dd1c80eda83cc808abad0c8ce0905d453f7 Author: Carl Worth Date: Mon Aug 2 13:13:28 2004 +0000 Change from MIT license to LGPL. COPYING | 532 ++++++++++++++++++++++++++++++++++++++++++++-- ChangeLog | 30 +++ src/cairo-color.c | 34 ++- src/cairo-features.h.in | 34 ++- src/cairo-fixed.c | 34 ++- src/cairo-font.c | 34 ++- src/cairo-gstate.c | 34 ++- src/cairo-hull.c | 34 ++- src/cairo-image-surface.c | 34 ++- src/cairo-matrix.c | 34 ++- src/cairo-path-bounds.c | 34 ++- src/cairo-path-fill.c | 34 ++- src/cairo-path-stroke.c | 34 ++- src/cairo-path.c | 34 ++- src/cairo-pen.c | 34 ++- src/cairo-polygon.c | 34 ++- src/cairo-ps-surface.c | 34 ++- src/cairo-slope.c | 34 ++- src/cairo-spline.c | 34 ++- src/cairo-surface.c | 34 ++- src/cairo-xcb-surface.c | 34 ++- src/cairo-xlib-surface.c | 34 ++- src/cairo.c | 34 ++- src/cairo.h | 34 ++- src/cairo_color.c | 34 ++- src/cairo_fixed.c | 34 ++- src/cairo_font.c | 34 ++- src/cairo_gstate.c | 34 ++- src/cairo_hull.c | 34 ++- src/cairo_image_surface.c | 34 ++- src/cairo_matrix.c | 34 ++- src/cairo_path.c | 34 ++- src/cairo_path_bounds.c | 34 ++- src/cairo_path_fill.c | 34 ++- src/cairo_path_stroke.c | 34 ++- src/cairo_pen.c | 34 ++- src/cairo_polygon.c | 34 ++- src/cairo_ps_surface.c | 34 ++- src/cairo_slope.c | 34 ++- src/cairo_spline.c | 34 ++- src/cairo_surface.c | 34 ++- src/cairo_xcb_surface.c | 34 ++- src/cairo_xlib_surface.c | 34 ++- src/cairoint.h | 34 ++- 44 files changed, 1128 insertions(+), 862 deletions(-) commit b0a6de8f0b3830fd0af521945dcaa98d62ac69d2 Author: Carl Worth Date: Mon Aug 2 12:14:57 2004 +0000 Fix copyright attributions mistakenly attributed to University of Southern California rather than to David Reveman. src/cairo-pattern.c | 33 ++++++++++++++++----------------- src/cairo_gl_surface.c | 33 ++++++++++++++++----------------- src/cairo_pattern.c | 33 ++++++++++++++++----------------- 3 files changed, 48 insertions(+), 51 deletions(-) commit a9bc4e1f5eb2d9ea78ce7c11bcb7a96d9c349f9e Author: Carl Worth Date: Mon Aug 2 11:51:57 2004 +0000 Note that cairo_clip is fixed now. BUGS | 6 +++--- ChangeLog | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) commit 0e3770e82074f76302190b853302e21113400ece Author: Øyvind KolÃ¥s Date: Sun Aug 1 23:03:02 2004 +0000 s/ct/cr/ ChangeLog | 5 +++++ src/cairo.h | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) commit fe2ca7e7afbbb78425bb271416e69dde9bafa102 Author: Jamey Sharp Date: Sat Jul 24 19:30:05 2004 +0000 Updating for XCB API change around iterators. ChangeLog | 5 +++++ src/cairo-xcb-surface.c | 8 ++++---- src/cairo_xcb_surface.c | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) commit 7f87ea9a9e05541ecbc8cab04e214d15a606e3fb Author: David Reveman Date: Tue Jul 20 01:39:23 2004 +0000 Tracking changes to glitz ChangeLog | 11 +++++++++ src/cairo_gl_surface.c | 66 ++++++++++++++++++++++++-------------------------- 2 files changed, 42 insertions(+), 35 deletions(-) commit c95e622675ca9370f74e68e2356103e503d2a9ca Author: David Reveman Date: Fri Jul 16 10:25:31 2004 +0000 Fixed typo in earlier memory leak fix ChangeLog | 5 +++++ src/cairo-font.c | 5 ++++- src/cairo_font.c | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) commit b306adead8b49a7aff0957a0c5aa8fd93825ff8c Author: David Reveman Date: Thu Jul 15 13:38:21 2004 +0000 Fixed glyph cache memory leak ChangeLog | 5 +++++ src/cairo-font.c | 3 +++ src/cairo_font.c | 3 +++ 3 files changed, 11 insertions(+) commit 49f691ec0b3c4b780456b99c199a9be9548454af Author: Carl Worth Date: Sun Jul 11 18:51:55 2004 +0000 Don't call _cairo_surface_set_clip_region with a NULL surface. ChangeLog | 5 +++++ src/cairo-gstate.c | 5 +++-- src/cairo_gstate.c | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit d7a392bf3015a9bc53397a277fe2003e00411ffe Author: Carl Worth Date: Fri Jul 9 13:47:46 2004 +0000 Fix numerical problem that could lead to infinite loops. ChangeLog | 5 +++++ src/cairo-gstate.c | 9 +++++---- src/cairo_gstate.c | 9 +++++---- 3 files changed, 15 insertions(+), 8 deletions(-) commit 63468474d732f7e707cafb216051be7802defd00 Author: Dave Beckett Date: Fri Jul 9 12:47:06 2004 +0000 Report versions of commands on failure. Try to get version numbers from newer GNU --version formats. autogen.sh | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 2277d8fd4fcc2529cf2584db2f252cfb38a0b3bf Author: Dave Beckett Date: Fri Jul 9 09:16:41 2004 +0000 Require automake 1.7 (and thus aclocal 1.7) which requires autoconf 2.54. Changed since newer libtools may fail to work with older automake versions such as 1.4. I bet this will annoy people with older tool chains :( ChangeLog | 7 ++++++ autogen.sh | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 1 deletion(-) commit 259cbd0a9bb17ca35ff27b719f935ce85e877af3 Author: Carl Worth Date: Mon Jul 5 09:17:22 2004 +0000 Remove errant semicolon from macro definition. ChangeLog | 5 +++++ src/cairo.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 8b9c42e8ce3135aad4d9adc5be1c4b984c190604 Author: Carl Worth Date: Thu Jul 1 13:38:23 2004 +0000 Add missing ChangeLog entry. Add description of current tessellation bugs. BUGS | 5 +++++ ChangeLog | 12 ++++++++++++ 2 files changed, 17 insertions(+) commit ad398d9bda70a1e49edf126bd8576edf63b4b7a6 Author: David Reveman Date: Mon Jun 21 15:13:52 2004 +0000 Glitz updates and a minor clipping fix ChangeLog | 16 +++++ configure.in | 2 +- src/cairo-gstate.c | 26 +++++--- src/cairo_gl_surface.c | 163 +++++++++++++++++++++++++++++++------------------ src/cairo_gstate.c | 26 +++++--- 5 files changed, 156 insertions(+), 77 deletions(-) commit 5230af4e5ad1faee3bb340ce4495e935a807b399 Author: Keith Packard Date: Wed Jun 16 18:16:04 2004 +0000 Fix image data length computation (XCB doesn't do this part). ChangeLog | 6 ++++++ src/cairo-xcb-surface.c | 4 ++-- src/cairo_xcb_surface.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit 1e72b87b933615bbcc8b977c02b4587db0c01bde Author: David Reveman Date: Fri Jun 11 08:08:27 2004 +0000 Software multi-sample support ChangeLog | 11 +++++++++ configure.in | 2 +- src/cairo_gl_surface.c | 66 +++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 69 insertions(+), 10 deletions(-) commit 06ef87276e4f070e73db8c408cb1411e8cd8467b Author: David Reveman Date: Fri Jun 11 06:20:17 2004 +0000 Pre-multiply gradients after color interpolation ChangeLog | 11 +++++++++++ src/cairo-gstate.c | 12 ++++++++++-- src/cairo-pattern.c | 37 ++++++++++++++++++++----------------- src/cairo_gstate.c | 12 ++++++++++-- src/cairo_pattern.c | 37 ++++++++++++++++++++----------------- src/cairoint.h | 1 - 6 files changed, 71 insertions(+), 39 deletions(-) commit f82f1ba380d9c2b4e9f41092ee149ccac0881f2e Author: Carl Worth Date: Fri May 28 12:47:00 2004 +0000 These two fixes are from David Reveman : Move NULL test from create_similar_scratch to create_similar_solid. Fix for when surface->backend != image->backend, but the backend does use images for similar surfaces. src/cairo-font.c | 6 ++++-- src/cairo-surface.c | 14 ++++++-------- src/cairo_font.c | 6 ++++-- src/cairo_surface.c | 14 ++++++-------- 4 files changed, 20 insertions(+), 20 deletions(-) commit 41f549a870aee35840e6e76f82d4d625c5b8ff25 Author: Keith Packard Date: Fri May 28 12:37:15 2004 +0000 Add WARN_CFLAGS, autodetection for 64/128 bit ints and cairo_wideint.[ch] Check status return from _cairo_gstate_glyph_extents Quiet compiler warnings about uninitialized variables Switch to alternate exact line intersection code. Add 64/128-bit wide integer arithmetic. Switch to stdint.h types (and new wide types). ChangeLog | 44 +++ configure.in | 16 + src/Makefile.am | 4 +- src/cairo-pattern.c | 4 + src/cairo-surface.c | 2 +- src/cairo-traps.c | 118 ++++-- src/cairo-wideint.c | 986 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-wideint.h | 272 +++++++++++++ src/cairo_pattern.c | 4 + src/cairo_png_surface.c | 3 + src/cairo_surface.c | 2 +- src/cairo_traps.c | 118 ++++-- src/cairo_wideint.c | 986 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_wideint.h | 272 +++++++++++++ src/cairoint.h | 31 +- 15 files changed, 2785 insertions(+), 77 deletions(-) commit 878c76807ab6c4eae60701d50a1bc7c9fadce2da Author: David Reveman Date: Mon May 24 02:44:59 2004 +0000 Moved CAIRO_CHECK_SANITY below declarations ChangeLog | 4 ++++ src/cairo.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit cdad6472111848e5167f3d71c7b4e7c3e9b2ebb6 Author: David Reveman Date: Mon May 24 02:28:05 2004 +0000 Added glyph caching ChangeLog | 53 ++++++++++ NEWS | 6 ++ src/cairo-font.c | 221 ++++++++++++++++++++++++++++++++++++++++- src/cairo-ft-font.c | 248 ++++++++++++++++++++++++++++++++-------------- src/cairo-gstate.c | 41 ++++---- src/cairo-image-surface.c | 1 + src/cairo-ps-surface.c | 1 + src/cairo-surface.c | 28 +++++- src/cairo-xcb-surface.c | 3 +- src/cairo-xlib-surface.c | 3 +- src/cairo_font.c | 221 ++++++++++++++++++++++++++++++++++++++++- src/cairo_ft_font.c | 248 ++++++++++++++++++++++++++++++++-------------- src/cairo_gl_surface.c | 18 +++- src/cairo_gstate.c | 41 ++++---- src/cairo_image_surface.c | 1 + src/cairo_png_surface.c | 1 + src/cairo_ps_surface.c | 1 + src/cairo_surface.c | 28 +++++- src/cairo_xcb_surface.c | 3 +- src/cairo_xlib_surface.c | 3 +- src/cairoint.h | 84 +++++++++++++++- 21 files changed, 1032 insertions(+), 222 deletions(-) commit 23026d5ab65201793ac19b459e3e7e05a090e435 Author: Graydon Hoare Date: Thu May 20 16:42:56 2004 +0000 Add sanity checking feature configury. Add sanity checking feature. Add sanity checking. Add prototypes. New functions. New function. Use fixed functions. (_cairo_gstate_clip): Arithmetic fixes. (_cairo_gstate_clip_and_composite_trapezoids): (_cairo_gstate_show_surface): (_cairo_gstate_show_text): (_cairo_gstate_show_glyphs): Corrections to clipping. Add XCopyArea fast path. (_cairo_xlib_surface_set_clip_region): Drive clip to drawable. ChangeLog | 29 ++++ configure.in | 14 ++ src/cairo-features.h.in | 2 + src/cairo-fixed.c | 11 ++ src/cairo-gstate.c | 351 ++++++++++++++++++++++++++++++++++++++--------- src/cairo-matrix.c | 24 ++++ src/cairo-xlib-surface.c | 52 ++++++- src/cairo.c | 187 ++++++++++++++++++++++++- src/cairo_fixed.c | 11 ++ src/cairo_gstate.c | 351 ++++++++++++++++++++++++++++++++++++++--------- src/cairo_matrix.c | 24 ++++ src/cairo_xlib_surface.c | 52 ++++++- src/cairoint.h | 9 ++ 13 files changed, 982 insertions(+), 135 deletions(-) commit aab2fe8c059cc41451ddf5e0719f18d77ef354f4 Author: Carl Worth Date: Mon May 17 08:03:17 2004 +0000 Do nothing when passed a NULL string. ChangeLog | 5 +++++ src/cairo.c | 3 +++ 2 files changed, 8 insertions(+) commit 4511a6cc7f52f461fb79635a6fc1ba9cafdcc66d Author: Øyvind KolÃ¥s Date: Tue May 11 13:59:09 2004 +0000 changed CAIRO_FILTER_DEFAULT to CAIRO_FILTER_BEST to make gradients easier. ChangeLog | 5 +++++ src/cairoint.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit cdf8739c0968831d12a3b7c22e34296488eb1fa9 Author: David Reveman Date: Tue May 11 11:20:06 2004 +0000 Removed pattern_offset ChangeLog | 12 ++++++++++++ src/cairo-gstate.c | 8 -------- src/cairo-pattern.c | 10 ++-------- src/cairo-surface.c | 8 +++----- src/cairo_gstate.c | 8 -------- src/cairo_pattern.c | 10 ++-------- src/cairo_surface.c | 8 +++----- src/cairoint.h | 1 - 8 files changed, 22 insertions(+), 43 deletions(-) commit 2f7b4a3ad7a0760af023d350685d1acfdc528d2c Author: Carl Worth Date: Tue May 11 08:19:47 2004 +0000 Increment CAIRO_VERSION to 0.1.23. Added notes for snapshot 0.1.23. Add reminder to mention incompatible API changes in NEWS. Re-order steps to avoid clobbering pre-existing tar files. ChangeLog | 10 ++++++++++ NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ RELEASING | 28 +++++++++++++++------------- configure.in | 2 +- 4 files changed, 67 insertions(+), 14 deletions(-) commit b743ed0342d0e6696df159e9739781fbcb1fac33 Author: Carl Worth Date: Tue May 11 06:52:19 2004 +0000 Several people have reported that cairo_clip is not working right now. And it's always been slow. BUGS | 6 ++++++ ChangeLog | 5 +++++ 2 files changed, 11 insertions(+) commit 4162e1f16b6ea9d162872dcc2b6b612e0dcb7523 Author: David Reveman Date: Tue May 11 05:31:16 2004 +0000 Better surface pattern support ChangeLog | 10 +++++++ configure.in | 2 +- src/cairo_gl_surface.c | 77 +++++++++++++++++++++++++++++++++++++------------- 3 files changed, 68 insertions(+), 21 deletions(-) commit 1e20a2db0fa26c6882bc00f8ea00cbf1e4619884 Author: Carl Worth Date: Fri May 7 18:52:01 2004 +0000 Bail on NULL utf8 string. Don't add two consecutive, identical points when decomposing the spline, (which was leading to an infinte loop in the stroke algorithm when it found a slope of (0,0)). ChangeLog | 9 +++++++++ TODO | 4 ++-- src/cairo-ft-font.c | 2 +- src/cairo-spline.c | 7 +++++++ src/cairo.h | 1 + src/cairo_ft_font.c | 2 +- src/cairo_spline.c | 7 +++++++ 7 files changed, 28 insertions(+), 4 deletions(-) commit 9faef192afc6a1606518a8e6a0a8e4e27351d920 Author: Carl Worth Date: Thu May 6 05:50:23 2004 +0000 Leave clientClipType as CT_NONE if region is NULL (thanks to Vladimir Vukicevic ). pixman/AUTHORS | 1 + pixman/ChangeLog | 6 ++++++ pixman/src/icimage.c | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) commit c7230543b06d3ec4070073fbc55f344d09b26ea5 Author: Carl Worth Date: Tue May 4 12:00:22 2004 +0000 (_cairo_png_surface_copy_page): Don't close a file we didn't open. ChangeLog | 1 + src/cairo_png_surface.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 7398aa8e1e4328a85f8d2de0c5180712cfa842e8 Author: Carl Worth Date: Tue May 4 09:25:54 2004 +0000 Move all libpng-related code into copy_page. (unpremultiply_data): Add missing unpremultiply step. (_cairo_png_surface_copy_page): Move PNG output to copy_page. Add support for A8 and A1 images. Remove time from header (we may want to add it again later, but for now it messes up my test suite). (_cairo_png_surface_destroy): Call copy_page if it hasn't been called already. (_cairo_png_surface_show_page): Add implementation. BUGS | 4 + ChangeLog | 12 +++ src/cairo_png_surface.c | 232 ++++++++++++++++++++++++++++-------------------- 3 files changed, 153 insertions(+), 95 deletions(-) commit 423ea55410d86c8c8cc4fb5219941bcbdeab2a33 Author: David Reveman Date: Tue May 4 04:01:18 2004 +0000 Corrected some confusing comments about the math used for radial gradients ChangeLog | 5 +++++ src/cairo-pattern.c | 24 ++++++++++++++++-------- src/cairo_pattern.c | 24 ++++++++++++++++-------- 3 files changed, 37 insertions(+), 16 deletions(-) commit 1876568f208f3067449988bad896be756eacacaf Author: David Reveman Date: Sat May 1 05:50:46 2004 +0000 cairo_surface_t pointer to cairo_surface_set_matrix ChangeLog | 5 +++++ src/cairo_gl_surface.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit c0df5d4b1a28bb95e83cbfa232b1f4722d999c93 Author: Carl Worth Date: Thu Apr 29 22:09:05 2004 +0000 Don't set pattern_offset by the current point. Perhaps we can eliminate pattern_offset altogether now? ChangeLog | 6 ++++++ src/cairo-gstate.c | 4 ---- src/cairo_gstate.c | 4 ---- 3 files changed, 6 insertions(+), 8 deletions(-) commit f516564f987b7030f52273d66c69acef4222ef29 Author: David Reveman Date: Thu Apr 29 20:26:56 2004 +0000 Updated linear and radial patterns ChangeLog | 25 ++++++ configure.in | 2 +- src/cairo-gstate.c | 2 +- src/cairo-pattern.c | 226 +++++++++++++++++++++++++++---------------------- src/cairo_gl_surface.c | 80 +++++++---------- src/cairo_gstate.c | 2 +- src/cairo_pattern.c | 226 +++++++++++++++++++++++++++---------------------- src/cairoint.h | 7 +- 8 files changed, 315 insertions(+), 255 deletions(-) commit c9c882d2b28f8bb9656224eed8adba5a5395b294 Author: Carl Worth Date: Thu Apr 29 07:26:53 2004 +0000 Added a BUG and a TODO item BUGS | 9 ++++++++- TODO | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) commit 09698566e1b238830eca1085a65f6292195805a9 Author: David Reveman Date: Wed Apr 28 02:14:23 2004 +0000 Support compositing with mask surface when mask is solid or multi-texturing is available ChangeLog | 8 ++++++++ src/cairo_gl_surface.c | 17 ++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) commit 37f6590708061a79f1b3b34efe550935b3a03d8c Author: David Reveman Date: Sun Apr 25 05:11:07 2004 +0000 Fixed conversion of pixman_box16_t to glitz_rectangle_t ChangeLog | 3 +++ src/cairo_gl_surface.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit f870f16e98d4a3dcfdc2ab28f532fb510dc59124 Author: David Reveman Date: Sun Apr 25 04:02:37 2004 +0000 Converted shading routines to use fixed point values. ChangeLog | 31 +++++++ src/cairo-pattern.c | 237 +++++++++++++++++++++++++------------------------ src/cairo-surface.c | 8 +- src/cairo_gl_surface.c | 36 +++++--- src/cairo_pattern.c | 237 +++++++++++++++++++++++++------------------------ src/cairo_surface.c | 8 +- src/cairoint.h | 25 +++++- 7 files changed, 327 insertions(+), 255 deletions(-) commit c82011dddd3d7f5ac50d61077cfa2c5dcb17a952 Author: Carl Worth Date: Fri Apr 23 10:08:53 2004 +0000 Fixed several function prototype mismatches between internal header file and implementation (thanks to Carlos Romero and gcc-3.4). ChangeLog | 8 ++++++++ src/cairo-gstate.c | 2 +- src/cairo-surface.c | 2 +- src/cairo_gstate.c | 2 +- src/cairo_surface.c | 2 +- src/cairoint.h | 16 ++++++++-------- 6 files changed, 20 insertions(+), 12 deletions(-) commit e172b7cec739ca57f9034d62029e00283a9ab84c Author: David Reveman Date: Thu Apr 22 02:22:36 2004 +0000 Fixed pattern source offset ChangeLog | 10 ++++++++++ src/cairo-gstate.c | 8 ++++---- src/cairo-pattern.c | 30 ++++++++++++++---------------- src/cairo-surface.c | 14 +++++++------- src/cairo_gl_surface.c | 10 +++++----- src/cairo_gstate.c | 8 ++++---- src/cairo_pattern.c | 30 ++++++++++++++---------------- src/cairo_surface.c | 14 +++++++------- src/cairoint.h | 2 +- 9 files changed, 66 insertions(+), 60 deletions(-) commit c15c7b93647d997b7ba13e9fb511d5a5505cdc22 Author: David Reveman Date: Tue Apr 20 12:35:44 2004 +0000 Fixed missing limits.h includes ChangeLog | 11 +++++++++++ src/cairo-pattern.c | 2 +- src/cairo-traps.c | 4 ++-- src/cairo_pattern.c | 2 +- src/cairo_traps.c | 4 ++-- src/cairoint.h | 4 ++++ 6 files changed, 21 insertions(+), 6 deletions(-) commit eff1670123efce23f09d8015a9db00a9b7ae98a5 Author: Carl Worth Date: Fri Apr 16 08:56:45 2004 +0000 Added notes for snapshot 0.1.22. Now depends on libpixman 0.1.1. Bump version to 0.1.22. ChangeLog | 5 +++++ NEWS | 5 +++++ configure.in | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) commit b0f8dcdc83d3487a5016d813a4ee3284784b78c1 Author: Carl Worth Date: Fri Apr 16 08:52:00 2004 +0000 Add RELEASING file pixman/RELEASING | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit a8106bae111dddf240ceb071bfb686a8d3cac782 Author: Carl Worth Date: Fri Apr 16 08:50:11 2004 +0000 Add notes for snapshot 0.1.1 Increment LIBPIXMAN_VERSION to 0.1.1 pixman/ChangeLog | 4 ++++ pixman/NEWS | 23 +++++++++++++++++++++++ pixman/configure.in | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) commit 3a29d7a5310b0e4bc76eb7a852a41d9b4634de31 Author: Carl Worth Date: Fri Apr 16 08:33:20 2004 +0000 Track pixman fixes to PIXMAN_FORMAT_NAME_*. Explicitly add cases for all enum values to eliminate compiler warnings. Remove proposal for surface_clip interface as cairo_clip should be able to cover this case now. Added bug concerning negative ref_counts. BUGS | 6 ++++++ ChangeLog | 13 +++++++++++++ src/cairo-image-surface.c | 4 ++-- src/cairo.h | 13 ------------- src/cairo_image_surface.c | 4 ++-- src/cairo_png_surface.c | 8 ++++++++ 6 files changed, 31 insertions(+), 17 deletions(-) commit 821a9f2f6c663429abbacce89383af6171f65225 Author: Carl Worth Date: Fri Apr 16 08:32:53 2004 +0000 Fix bogus names such as PIXMAN_FORMAT_NAME_AR_GB32 that were left over from a broken search-and-replace. Normalize structure defintions, (eg. struct _pixman_region16_t -> struct pixman_region16). Normalize indentation. Fix alphabetization. pixman/AUTHORS | 2 +- pixman/ChangeLog | 16 +++++ pixman/src/icformat.c | 6 +- pixman/src/icimage.c | 4 +- pixman/src/icimage.h | 30 ++++---- pixman/src/icint.h | 6 +- pixman/src/icrect.c | 8 +-- pixman/src/ictrap.c | 2 +- pixman/src/pixman.h | 177 +++++++++++++++++++++++----------------------- pixman/src/pixregion.c | 70 +++++++++--------- pixman/src/pixregionint.h | 16 ++--- 11 files changed, 177 insertions(+), 160 deletions(-) commit aa83e5c2c1fee1eb52f829f6cfd2e170e369e720 Author: David Reveman Date: Fri Apr 9 14:30:38 2004 +0000 Bump version to 0.1.21 ChangeLog | 4 ++++ NEWS | 16 ++++++++++++++++ configure.in | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) commit 73df0e81cb6a5d43a1325f4722a7236bd554738f Author: David Reveman Date: Fri Apr 9 14:19:47 2004 +0000 Added OpenGL surface backend AUTHORS | 1 + ChangeLog | 12 + cairo.pc.in | 2 +- configure.in | 26 ++ src/Makefile.am | 9 +- src/cairo-features.h.in | 2 + src/cairo-pattern.c | 14 +- src/cairo-surface.c | 12 +- src/cairo.h | 16 + src/cairo_gl_surface.c | 821 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_pattern.c | 14 +- src/cairo_surface.c | 12 +- 12 files changed, 912 insertions(+), 29 deletions(-) commit f713fe43cf18c221a840caab710dfdb25aaf6898 Author: David Reveman Date: Fri Apr 9 14:14:56 2004 +0000 Automatically detect available backends ChangeLog | 4 ++++ configure.in | 55 ++++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 44 insertions(+), 15 deletions(-) commit 69b9f89da7c510fafc172fd30d1a970e7c8ca69b Author: Carl Worth Date: Wed Apr 7 11:03:40 2004 +0000 Add note that announcement needs to include the URL RELEASING | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 2e891bdd33e9b3d2c8b9297d01eacde317ebae22 Author: Carl Worth Date: Tue Apr 6 20:13:11 2004 +0000 Added notes for snapshot 0.1.20. Added new RELEASING file. ChangeLog | 6 +++++ NEWS | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- RELEASING | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 149 insertions(+), 2 deletions(-) commit b26a742bcfe2c81b99c2c5e26acc10ad259cb4ef Author: David Reveman Date: Tue Apr 6 09:45:17 2004 +0000 Added new pattern API src/cairo-pattern.c | 716 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_pattern.c | 716 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1432 insertions(+) commit e309090d2a18a896c67e731151b973b530f76980 Author: David Reveman Date: Tue Apr 6 09:36:12 2004 +0000 Added new pattern API ChangeLog | 82 +++++++ cairo.pc.in | 2 +- configure.in | 7 +- src/Makefile.am | 4 +- src/cairo-ft-font.c | 21 +- src/cairo-gstate.c | 528 +++++++++++++++++++++++++--------------------- src/cairo-image-surface.c | 23 +- src/cairo-ps-surface.c | 10 +- src/cairo-surface.c | 108 ++++++++++ src/cairo-traps.c | 37 ++++ src/cairo-xcb-surface.c | 11 +- src/cairo-xlib-surface.c | 15 +- src/cairo.c | 33 ++- src/cairo.h | 75 ++++++- src/cairo_ft_font.c | 21 +- src/cairo_gstate.c | 528 +++++++++++++++++++++++++--------------------- src/cairo_image_surface.c | 23 +- src/cairo_png_surface.c | 10 +- src/cairo_ps_surface.c | 10 +- src/cairo_surface.c | 108 ++++++++++ src/cairo_traps.c | 37 ++++ src/cairo_xcb_surface.c | 11 +- src/cairo_xlib_surface.c | 15 +- src/cairoint.h | 150 ++++++++++++- 24 files changed, 1339 insertions(+), 530 deletions(-) commit b17b04aa388541c0880698aed0f03796a3146d49 Author: Carl Worth Date: Fri Apr 2 08:01:09 2004 +0000 Move weight after slant to match the order in cairo_select_font. Added notes on DPI for image-based backends and on proposal for new cairo_text_glyphs function. Added BUG about cairo_show_text not advancing the current point. BUGS | 4 ++++ ChangeLog | 11 +++++++++++ TODO | 22 ++++++++++++++++++++++ src/cairo.h | 11 +++++------ 4 files changed, 42 insertions(+), 6 deletions(-) commit 72667ec5680c77fc0e89fcfe71e6fa72467991ff Author: Carl Worth Date: Tue Mar 30 18:55:48 2004 +0000 Add -lz. ChangeLog | 4 ++++ src/Makefile.am | 3 ++- src/cairo-ft-font.c | 2 +- src/cairo_ft_font.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) commit 9459871bbf4f027354c781b7d6bc1b9f6a4d1e05 Author: Carl Worth Date: Tue Mar 30 18:45:00 2004 +0000 Add checks for Xrender.h in xrender.pc is not found. Remove AC_HELP_STRING to be compatible with older versions of autoconf (thanks to Bill Spitzak ). AUTHORS | 1 + ChangeLog | 4 ++++ cairo.pc.in | 2 +- configure.in | 18 ++++++++++++------ 4 files changed, 18 insertions(+), 7 deletions(-) commit 76478e4ad004e25d1f0e71be660983eb85b8285e Author: Carl Worth Date: Tue Mar 30 17:49:30 2004 +0000 Add question on semantics with empty region. Fix missing return value. Export for internal use. (_cairo_image_abstract_surface_set_clip_region): Add silly wrapper to match the backend interface. Remove unused variables. ChangeLog | 12 ++++++++++++ src/cairo-gstate.c | 4 ---- src/cairo-image-surface.c | 17 +++++++++++++---- src/cairo-xlib-surface.c | 7 +++++-- src/cairo_gstate.c | 4 ---- src/cairo_image_surface.c | 17 +++++++++++++---- src/cairo_xlib_surface.c | 7 +++++-- src/cairoint.h | 6 +++++- 8 files changed, 53 insertions(+), 21 deletions(-) commit c7d2b0e0531633630823090a7d85c14b916275c0 Author: Carl Worth Date: Tue Mar 30 17:24:29 2004 +0000 Add proposal for cairo_xlib_surface_set_size. Added note about problem with cairo_scale_font. AUTHORS | 2 +- BUGS | 27 +++++++++++++++++++++++++++ ChangeLog | 6 ++++++ TODO | 13 ++++++++----- src/cairo.h | 5 +++++ 5 files changed, 47 insertions(+), 6 deletions(-) commit 3cd25474937c1ae2dbd17d28aaa5c7868f3902ef Author: Olivier Andrieu Date: Tue Mar 23 10:33:32 2004 +0000 Implement _set_clip_region by delegating it to the image backend. Add a stub. Add missing (?) cairo_init_clip ChangeLog | 11 +++++++++++ src/cairo-ps-surface.c | 5 +++-- src/cairo-xcb-surface.c | 11 ++++++++++- src/cairo.h | 3 +++ src/cairo_png_surface.c | 13 ++++++++++++- src/cairo_ps_surface.c | 5 +++-- src/cairo_xcb_surface.c | 11 ++++++++++- 7 files changed, 52 insertions(+), 7 deletions(-) commit e576aeb222b5f7378cb01fd6df05e6daf43094dd Author: Øyvind KolÃ¥s Date: Mon Mar 22 17:56:35 2004 +0000 cairo usage is crashing Xnest BUGS | 8 ++++++++ 1 file changed, 8 insertions(+) commit 1d51df571348d8ebd8f978cfc5cff06e7b35b248 Author: Dave Beckett Date: Sat Mar 20 09:54:15 2004 +0000 Move the PNG_CFLAGS/_LIBS substitutes outside the conditional, to match what is already done for XCB. Do the same for XRENDER_CFLAGS/LIBS. ChangeLog | 4 ++++ configure.in | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit ad255ad599d607ed1b16f2ac87ce64546a76bd16 Author: Dave Beckett Date: Sat Mar 20 08:20:40 2004 +0000 Substitute PNG_CFLAGS, PNG_LIBS on the configure path when use_png is not enabled to prevent the substituions being undefined. ChangeLog | 6 ++++++ configure.in | 3 +++ 2 files changed, 9 insertions(+) commit 94551db67c610582be115bdc18ad4169c9f7db92 Author: Graydon Hoare Date: Fri Mar 19 15:47:25 2004 +0000 Add. finalize and copy clip.region. Detect rectangular clips and push down to backend. Add set_clip_region slot. (cairo_clip_rec_t): Add region slot. (_cairo_gstate_init_clip) (_cairo_surface_set_clip_region): Prototype. Add. Add. Add. not implemented. ChangeLog | 25 +++++++++ src/cairo-gstate.c | 133 +++++++++++++++++++++++++++++++++++++++++++--- src/cairo-image-surface.c | 12 ++++- src/cairo-ps-surface.c | 12 ++++- src/cairo-surface.c | 5 ++ src/cairo-xlib-surface.c | 50 +++++++++++++++-- src/cairo.c | 9 ++++ src/cairo_gstate.c | 133 +++++++++++++++++++++++++++++++++++++++++++--- src/cairo_image_surface.c | 12 ++++- src/cairo_ps_surface.c | 12 ++++- src/cairo_surface.c | 5 ++ src/cairo_xlib_surface.c | 50 +++++++++++++++-- src/cairoint.h | 11 ++++ 13 files changed, 445 insertions(+), 24 deletions(-) commit 9e793ee5fceb1c6d41438f304eb01b481962fcb8 Author: Jamey Sharp Date: Wed Mar 17 09:44:26 2004 +0000 Fixed for latest XCB API. XCB headers can co-exist with Xlib headers now, so Cairo may be compiled with both backends in the same library. http://freedesktop.org/Software/XCBCompletedTasks#17_Mar_2004 ChangeLog | 10 ++++ src/cairo-surface.c | 1 + src/cairo-xcb-surface.c | 123 +++++++++++++++++++++++++----------------------- src/cairo.h | 4 +- src/cairo_surface.c | 1 + src/cairo_xcb_surface.c | 123 +++++++++++++++++++++++++----------------------- 6 files changed, 142 insertions(+), 120 deletions(-) commit e7f3335baf9cb7955e27115a2975db1eed71434a Author: Thomas Hunger Date: Thu Feb 26 14:47:21 2004 +0000 added missing links for rectangle and curve_to function doc/reference/doc.xml | 4 ++++ 1 file changed, 4 insertions(+) commit f1b56497b10efe7cf70f6a9768dbeeff12efa031 Author: Thomas Hunger Date: Thu Feb 26 14:32:12 2004 +0000 added functions to describe the new backends, added text_extents function doc/reference/doc.xml | 12 +++++ doc/reference/xml/cairo_set_target_drawable.xml | 45 +++++++++++++++++++ doc/reference/xml/cairo_set_target_png.xml | 51 ++++++++++++++++++++++ doc/reference/xml/cairo_set_target_ps.xml | 52 ++++++++++++++++++++++ doc/reference/xml/cairo_set_target_surface.xml | 2 +- doc/reference/xml/cairo_set_target_xcb.xml | 58 +++++++++++++++++++++++++ doc/reference/xml/cairo_text_extents.xml | 47 ++++++++++++++++++++ doc/reference/xml/cairo_text_extents_t.xml | 29 +++++++++++++ 8 files changed, 295 insertions(+), 1 deletion(-) commit 02329029583bbc481b76ff3ce149c2bbec1bc096 Author: Carl Worth Date: Thu Feb 26 08:55:03 2004 +0000 Fix typo ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 529b16f119fb2c203a10c1d46c3810fd177da2fc Author: Carl Worth Date: Thu Feb 26 08:54:42 2004 +0000 Add Jordi and Olvier to the AUTHORS file. Fix broken return value for nchars (thanks to Jordi Mas ). AUTHORS | 2 ++ ChangeLog | 7 +++++++ TODO | 6 +++--- src/cairo-ft-font.c | 2 +- src/cairo_ft_font.c | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) commit bd5c27207aaa89ac4c55c55006f6253006c2a8b8 Author: Olivier Andrieu Date: Tue Feb 24 12:39:29 2004 +0000 forgot the SUBST for PNG_REQUIRES configure.in | 1 + 1 file changed, 1 insertion(+) commit 995097752e18dffbbbdf4c80d29efb02e1bfdecf Author: Olivier Andrieu Date: Tue Feb 24 12:29:25 2004 +0000 PNG backend ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 3b85dd1f9da71f886e48cb4cbe5a4edd0c9e6024 Author: Olivier Andrieu Date: Tue Feb 24 12:28:49 2004 +0000 Add PNG backend (cairo_set_target_png and cairo_png_surface_create). src/cairo-features.h.in | 2 + src/cairo.h | 25 ++++ src/cairo_png_surface.c | 314 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 341 insertions(+) commit 0a07e28683ef94f393fbc20aedf6d21bd58c9aa9 Author: Olivier Andrieu Date: Tue Feb 24 12:27:52 2004 +0000 autoconf support for the PNG backend. Bump version to 0.1.19. cairo.pc.in | 2 +- configure.in | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) commit 13911e3d67f272920fa0a66ec6dcb8f910f771cd Author: Olivier Andrieu Date: Tue Feb 24 12:27:13 2004 +0000 PNG backend support, removed references to X_LIBS and X_CFLAGS. src/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit cf069c127a5721f15876485c717a45f5e1d9f4e1 Author: Carl Worth Date: Tue Feb 24 12:22:56 2004 +0000 Fix email address for Anders Carlsson. pixman/AUTHORS | 2 +- pixman/ChangeLog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 0e02e71cf54331aa54eee2d39433be117bae1b7d Author: Carl Worth Date: Tue Feb 24 10:45:26 2004 +0000 Add attribution for many people who have made generous contributions to cairo. This list was generated by sifting through the ChangeLog. Please let me know if I have missed anyone. Add some historical notes on cairo development, prior to when we began to maintain this NEWS file. Add pointer to cairographics.org. Fix to use cairo rather than Cairo when not at the beginning of a sentence. Remove cairo_current_path, cairo_current_path_flat, cairo_text_extents, cairo_glyph_extents, cairo_text_path, and cairo_glyph_path from the TODO list as they have all been implemented now. AUTHORS | 16 +++++++++++++++- ChangeLog | 18 ++++++++++++++++++ NEWS | 35 ++++++++++++++++++++++++++++++++++- README | 3 ++- TODO | 5 +---- 5 files changed, 70 insertions(+), 7 deletions(-) commit 431548c3d8a998d9b8b5615469b500d3e11edc06 Author: Carl Worth Date: Tue Feb 24 10:41:11 2004 +0000 Added attribution for several authors after sifting through the ChangeLog. pixman/AUTHORS | 24 ++++++++++++++++-------- pixman/ChangeLog | 5 +++++ 2 files changed, 21 insertions(+), 8 deletions(-) commit faa43926612d6edcdf6caf895399a459cf55f72e Author: Thomas Hunger Date: Tue Feb 24 07:18:45 2004 +0000 applied patch from Ravindra fixing missing lines in doc.xml doc/reference/doc.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 554726563f67d3a8428b03e2af41f4a88baffc5e Author: Thomas Hunger Date: Fri Feb 20 14:23:17 2004 +0000 added missing xml/cairo_set_target_image.xml doc/reference/xml/cairo_arc.xml | 4 +- doc/reference/xml/cairo_arc_negative.xml | 4 +- doc/reference/xml/cairo_current_font.xml | 4 +- doc/reference/xml/cairo_current_font_extents.xml | 2 +- doc/reference/xml/cairo_curve_to.xml | 2 +- doc/reference/xml/cairo_rectangle.xml | 4 +- doc/reference/xml/cairo_rel_curve_to.xml | 10 ++-- doc/reference/xml/cairo_set_font.xml | 4 +- doc/reference/xml/cairo_set_target_image.xml | 58 ++++++++++++++++++++++++ doc/reference/xml/cairo_set_target_surface.xml | 2 +- doc/reference/xml/cairo_show_glyphs.xml | 2 +- doc/reference/xml/cairo_show_text.xml | 2 +- doc/reference/xml/cairo_transform_font.xml | 2 +- 13 files changed, 79 insertions(+), 21 deletions(-) commit c3fe1bbe33f65b28cc6fdcc3945a77a6cd233c3f Author: Carl Worth Date: Tue Feb 17 18:47:34 2004 +0000 Add comment indication cairo_copy will be going away at some point. Some indentation fixes. ChangeLog | 3 +++ src/cairo.h | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 122b2d850459b3acfcd5194018bd78da1dde14b7 Author: Carl Worth Date: Tue Feb 17 18:38:23 2004 +0000 Bump version to 0.1.18. Includes new functions cairo_current_path, cairo_current_path_flat, cairo_surface_get_filter. Support for XCB backend. Fixes for building in cygwin. Adds cairo_surface_get_filter. Add new path query functions. Implement support for cairo_current_path and cairo_current_path_flat. These functions just provide an interface to _cairo_path_interpret and take care of mapping from device space back to user space. ChangeLog | 20 +++++++ configure.in | 2 +- src/cairo-gstate.c | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo.c | 37 +++++++++++++ src/cairo.h | 25 +++++++-- src/cairo_gstate.c | 152 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/cairoint.h | 8 +++ 7 files changed, 392 insertions(+), 4 deletions(-) commit 9349c95f28f574747ec24b010f9a9e40327dc466 Author: Carl Worth Date: Fri Feb 13 06:13:19 2004 +0000 Add some notes from JG's TODO list on the wiki: http://cairographics.org/CairoToDoList. (Also testing automated mailing to cairo-commit list). ChangeLog | 6 ++++++ TODO | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit b55f1076793229d182463100ed9de2a68dd3c77b Author: Carl Worth Date: Thu Feb 12 19:02:33 2004 +0000 Add typedefs for new callbacks to be used by cairo_current_path: cairo_move_to_func, cairo_line_to_func, cairo_curve_to_func, and cairo_close_path_func. cairo_path.last_move_point and cairo_path.current_point are now fixed-point not doubles for consistency. Now accept 4 explicit function pointers rather than a structure. Eliminate unnecessary done_path callback. Track change in _cairo_path_interpret. Code previously in done_path callback is now here immediately after call to _cairo_path_interpret. Internal _cairo_path API modified to accept fixed-point data everywhere. Much cleaner this way. Have to convert doubles to fixed-point to track changes in _cairo_path API. Keep data in fixed-point rather than going through intermediate doubles. Track changes in _cairo_path API. New function to help when working with freetype. ChangeLog | 47 ++++++++++++++++++++ src/cairo-fixed.c | 7 +++ src/cairo-ft-font.c | 56 +++++++++++++++--------- src/cairo-gstate.c | 88 ++++++++++++++++++++++++++++++-------- src/cairo-path-bounds.c | 23 +++------- src/cairo-path-fill.c | 58 +++++++++---------------- src/cairo-path-stroke.c | 107 ++++++++++++++++++++-------------------------- src/cairo-path.c | 111 ++++++++++++++++++++++-------------------------- src/cairo-traps.c | 2 +- src/cairo.h | 13 ++++++ src/cairo_fixed.c | 7 +++ src/cairo_ft_font.c | 56 +++++++++++++++--------- src/cairo_gstate.c | 88 ++++++++++++++++++++++++++++++-------- src/cairo_path.c | 111 ++++++++++++++++++++++-------------------------- src/cairo_path_bounds.c | 23 +++------- src/cairo_path_fill.c | 58 +++++++++---------------- src/cairo_path_stroke.c | 107 ++++++++++++++++++++-------------------------- src/cairo_traps.c | 2 +- src/cairoint.h | 63 +++++++++++++++------------ 19 files changed, 573 insertions(+), 454 deletions(-) commit 810037bc7c7707337fb1e7682b36651f6a7c4e04 Author: Jamey Sharp Date: Mon Feb 2 23:24:14 2004 +0000 Ported the Xlib surface backend to XCB. ChangeLog | 9 + configure.in | 19 ++ src/Makefile.am | 9 +- src/cairo-features.h.in | 2 + src/cairo-xcb-surface.c | 776 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo.h | 13 + src/cairo_xcb_surface.c | 776 ++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 1602 insertions(+), 2 deletions(-) commit 34e0e7eec8a1a8434c5ad52fb754f2bbaf224ced Author: Graydon Hoare Date: Mon Feb 2 11:20:44 2004 +0000 New predicate. (_cairo_xlib_surface_set_filter): Skip filterless servers. (_cairo_xlib_surface_clone_similar): Fix typo. ChangeLog | 7 +++++++ src/cairo-xlib-surface.c | 8 +++++--- src/cairo_xlib_surface.c | 8 +++++--- 3 files changed, 17 insertions(+), 6 deletions(-) commit b66bbf48790238174efd1491bfcd8c0d77f43f13 Author: Graydon Hoare Date: Fri Jan 30 14:44:18 2004 +0000 New "filter" field. New function. (cairo_surface_set_filter): Store filter in surface. Declare. Copy filter setting. (_cairo_xlib_surface_set_filter): Use constants from Xrender.h ChangeLog | 11 +++++++++++ src/cairo-surface.c | 7 +++++++ src/cairo-xlib-surface.c | 18 ++++++++---------- src/cairo.h | 3 +++ src/cairo_surface.c | 7 +++++++ src/cairo_xlib_surface.c | 18 ++++++++---------- src/cairoint.h | 1 + 7 files changed, 45 insertions(+), 20 deletions(-) commit 62520eb2d15808934c0e76dc8f4fe02b01b11e64 Author: Carl Worth Date: Sat Jan 24 01:56:26 2004 +0000 Fix to use tessellate_polygon instead of tessellate_rectangle as the matrix may have skewed the coordinates into a non-rectangular shape. ChangeLog | 5 +++++ src/cairo-path-stroke.c | 25 +++++++++++++++++++------ src/cairo_path_stroke.c | 25 +++++++++++++++++++------ 3 files changed, 43 insertions(+), 12 deletions(-) commit f1d98d27a65ec2c7e04a018e69aee44e1d525ed7 Author: Carl Worth Date: Sat Jan 24 01:50:55 2004 +0000 Remove dead-code (useless n++). pixman/ChangeLog | 5 +++++ pixman/src/iccompose.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) commit f05248faefe3d3c2e4445faf373f826ded496b8b Author: Carl Worth Date: Sat Jan 24 01:46:20 2004 +0000 Add missing break statements to switch. ChangeLog | 5 +++++ src/cairo-xlib-surface.c | 6 ++++++ src/cairo_xlib_surface.c | 6 ++++++ 3 files changed, 17 insertions(+) commit 6d465f4e439f2b01214618040af7a5cf7e230c2a Author: Thomas Hunger Date: Fri Jan 23 14:13:20 2004 +0000 added and updated documentation concerning text handling doc/reference/doc.xml | 4 ++ doc/reference/xml/cairo_arc.xml | 40 ++++++++++++++ doc/reference/xml/cairo_arc_negative.xml | 40 ++++++++++++++ doc/reference/xml/cairo_current_font.xml | 37 +++++++++++++ doc/reference/xml/cairo_current_font_extents.xml | 40 ++++++++++++++ doc/reference/xml/cairo_curve_to.xml | 70 ++++++++++++++++++++++++ doc/reference/xml/cairo_operator_t.xml | 54 +++++------------- doc/reference/xml/cairo_rectangle.xml | 47 ++++++++++++++++ doc/reference/xml/cairo_rel_curve_to.xml | 70 ++++++++++++++++++++++++ doc/reference/xml/cairo_select_font.xml | 18 +++++- doc/reference/xml/cairo_set_font.xml | 40 ++++++++++++++ doc/reference/xml/cairo_show_glyphs.xml | 46 ++++++++++++++++ doc/reference/xml/cairo_show_text.xml | 4 +- doc/reference/xml/cairo_transform_font.xml | 41 ++++++++++++++ 14 files changed, 506 insertions(+), 45 deletions(-) commit 077fcb36da9d7edf8f7689ca913abce2c311925f Author: Richard Worth Date: Thu Jan 22 21:05:08 2004 +0000 Add '-no-undefined' to end of libpixman_la_LDFLAGS tp enable building shared libary under cygwin. Remove all 'extern ' and ' __external_linkage' (macro for __declspec(dllexport) and __declspec(dllimport)) from function declarations. These are no longer needed for cygwin. pixman/ChangeLog | 10 +++++ pixman/src/Makefile.am | 2 +- pixman/src/pixman.h | 107 ++++++++++++++++++++++--------------------------- 3 files changed, 58 insertions(+), 61 deletions(-) commit 5c490d216050fc5261811805d81dc5de98004794 Author: Richard Worth Date: Thu Jan 22 20:47:24 2004 +0000 Add '-no-undefined' to end of libcairo_la_LDFLAGS to enable building shared library under cygwin. Remove all 'extern ' and ' __external_linkage' (macro for __declspec(dllexport) and __declspec(dllimport)) from function declarations. These are no longer needed for cygwin. Changed type of _line_segs_intersect_ceil from 'static cairo_fixed_t' to 'static int' to match definition. This was necessary to compile under cygwin. ChangeLog | 14 +++ src/Makefile.am | 2 +- src/cairo-traps.c | 2 +- src/cairo.h | 249 ++++++++++++++++++++++++++---------------------------- src/cairo_traps.c | 2 +- 5 files changed, 135 insertions(+), 134 deletions(-) commit 22792e2e7a118c7ef97f89617a5932e412453fe4 Author: Carl Worth Date: Wed Dec 17 13:17:13 2003 +0000 Remove trailing commas from enum, (some compilers like to complain about this). pixman/ChangeLog | 5 +++++ pixman/src/pixman.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit decf8b395cc277d60267c75e3685ac4ead731d63 Author: Carl Worth Date: Wed Dec 17 12:59:37 2003 +0000 Remove trailing commas from enums, (some compilers like to complain about them). ChangeLog | 5 +++++ README | 13 ++++++------- src/cairo.h | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) commit 2eb2408ca786fab6234239d4ade689af8589ac1b Author: Dave Beckett Date: Tue Dec 16 09:42:19 2003 +0000 Replace requiring libpixregion, libic with libpixman. ChangeLog | 4 ++++ README | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 75a7541cf1a8456780dbf446624a2a751fc24346 Author: Carl Worth Date: Tue Dec 16 08:29:01 2003 +0000 Fix typo NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aa7c663ea844b8caf230b428ee593e785172d66d Author: Carl Worth Date: Tue Dec 16 08:27:17 2003 +0000 Add more notes culled from the ChangeLog. ChangeLog | 4 ++++ NEWS | 35 ++++++++++++++++++++++++++++++----- 2 files changed, 34 insertions(+), 5 deletions(-) commit a194d9ecd43e164e93899bad9ce82b63cd8712c7 Author: Carl Worth Date: Tue Dec 16 08:06:49 2003 +0000 Begin maintaining NEWS file. Add notes on 0.1.17. ChangeLog | 2 ++ NEWS | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) commit fb93261e3739fd15f8001c8d3631c4baabf3482c Author: Carl Worth Date: Tue Dec 16 07:20:20 2003 +0000 Bump version to 0.1.17 for new functions: cairo_text_extents, cairo_glyph_extents, cairo_text_path, cairo_glyph_path. Re-enable cairo_text_path and cairo_glyph_path. Add missing transformation. Initial implementation of glyph_path. ChangeLog | 19 +++++++++ configure.in | 2 +- src/cairo-ft-font.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++----- src/cairo-gstate.c | 10 ++++- src/cairo.c | 3 -- src/cairo.h | 8 +--- src/cairo_ft_font.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++----- src/cairo_gstate.c | 10 ++++- src/cairoint.h | 3 +- 9 files changed, 236 insertions(+), 37 deletions(-) commit bf40046a4ea5c92de6afbf8b77ba0610ff8c05ba Author: Carl Worth Date: Tue Dec 16 07:10:48 2003 +0000 Move all current_point state fields from cairo_gstate_t to cairo_path_t. Add current_point state. (_cairo_path_current_point): New function. (_cairo_path_rel_move_to): (_cairo_path_rel_line_to): (_cairo_path_rel_curve_to): New functions. Eliminate current_point state. (_cairo_gstate_show_text): (_cairo_gstate_text_path): Use new _cairo_path_current_point. ChangeLog | 31 +++++++++++++ src/cairo-gstate.c | 130 +++++++++-------------------------------------------- src/cairo-path.c | 110 +++++++++++++++++++++++++++++++++++++++++++-- src/cairo_gstate.c | 130 +++++++++-------------------------------------------- src/cairo_path.c | 110 +++++++++++++++++++++++++++++++++++++++++++-- src/cairoint.h | 23 ++++++++-- 6 files changed, 302 insertions(+), 232 deletions(-) commit b5983fab84409209c4af6bdd7cd5bdcf8cc7bb93 Author: Carl Worth Date: Tue Dec 16 06:58:10 2003 +0000 A couple of changes missed in the last batch of commits (reordering so that path is final argument). ChangeLog | 4 ++++ src/cairo-ft-font.c | 12 ++++++------ src/cairo_ft_font.c | 12 ++++++------ 3 files changed, 16 insertions(+), 12 deletions(-) commit 368b4d269b48f19af5ba0d01613356f3bfa5e982 Author: Carl Worth Date: Tue Dec 16 06:50:37 2003 +0000 Change cairo_font_backend_t to use a void * for the abstract font. Put create, copy, and destroy as the first functions in the list. Fix text_path and glyph_path so that the path to be returned is the last argument. Add x,y arguments to text_path. Compute x,y now needed by cairo_font_text_path. (_cairo_gstate_glyph_path): Track change in cairo_font_text/glyph_path (path argument is now last). Switch to new macro-based mechanism for including freetype headers. (cairo_ft_font_face): (cairo_ft_font_pattern): Minor cleanup. (_cairo_ft_font_copy): (_cairo_ft_font_destroy): (_utf8_to_glyphs): (_cairo_ft_font_font_extents): (_cairo_ft_font_glyph_extents): (_cairo_ft_font_text_extents): (_cairo_ft_font_show_glyphs): (_cairo_ft_font_show_text): Track changes to cairo_font_backend_t interface. Track changes to cairo_font_backend_t interface. ChangeLog | 31 +++++++++++ src/cairo-font.c | 15 +++--- src/cairo-ft-font.c | 148 ++++++++++++++++++++++++++-------------------------- src/cairo-gstate.c | 30 +++++++++-- src/cairo_font.c | 15 +++--- src/cairo_ft_font.c | 148 ++++++++++++++++++++++++++-------------------------- src/cairo_gstate.c | 30 +++++++++-- src/cairoint.h | 90 ++++++++++++++++---------------- 8 files changed, 295 insertions(+), 212 deletions(-) commit c18a81e25259100c28c384333578fa6ce1374d21 Author: Carl Worth Date: Tue Dec 16 06:15:53 2003 +0000 Change instances of Cairo to cairo where necessary. Add note about broken dashing on splines. ChangeLog | 5 +++++ TODO | 64 ++++++++++++++++++++++++++++++++------------------------------- 2 files changed, 38 insertions(+), 31 deletions(-) commit dea75c833335f05230bb0c3d252553ce369909eb Author: Carl Worth Date: Mon Dec 15 19:00:15 2003 +0000 Rename cairo_text_exextents_t fields: left_side_bearing -> x_bearing ascent -> y_bearing right_side_bearing (replaced by) width descent (replaced by) height ChangeLog | 12 ++++++++++++ src/cairo-ft-font.c | 16 ++++++++-------- src/cairo-gstate.c | 16 ++++++++-------- src/cairo.h | 8 ++++---- src/cairo_ft_font.c | 16 ++++++++-------- src/cairo_gstate.c | 16 ++++++++-------- 6 files changed, 48 insertions(+), 36 deletions(-) commit 39bb4f1d99a23c8668fd73f4616f8811b9db1f4b Author: Carl Worth Date: Mon Dec 15 18:26:51 2003 +0000 Need to divide out the scale factor to return user-space extents. (_cairo_gstate_glyph_extents): Don't transform glyph locations as they're not relevant to extents. Clean up implementation. (_cairo_ft_font_glyph_extents): Initial implementation. Thanks to John Ellson for most of the work on this function. (_cairo_ft_font_show_text): Clean to use num_glyphs not nglyphs. Re-enable cairo_text/glyph_extents. ChangeLog | 19 +++++++++++ src/cairo-ft-font.c | 98 ++++++++++++++++++++++++++++++++++++++++++----------- src/cairo-gstate.c | 45 +++++++++++++----------- src/cairo.c | 2 -- src/cairo.h | 5 ++- src/cairo_ft_font.c | 98 ++++++++++++++++++++++++++++++++++++++++++----------- src/cairo_gstate.c | 45 +++++++++++++----------- src/cairoint.h | 3 ++ 8 files changed, 232 insertions(+), 83 deletions(-) commit 9d4fe7e36990e39f849b0983daff6bf0b690458a Author: Carl Worth Date: Mon Dec 15 18:02:03 2003 +0000 Move this function from cairo_ft_font.c (_get_scale_factors). ChangeLog | 3 +++ src/cairo-ft-font.c | 18 ++---------------- src/cairo-matrix.c | 19 +++++++++++++++++++ src/cairo_ft_font.c | 18 ++---------------- src/cairo_matrix.c | 19 +++++++++++++++++++ 5 files changed, 45 insertions(+), 32 deletions(-) commit 0095dcb49d5a10f8ab62aeff1809587250a09575 Author: Carl Worth Date: Mon Dec 15 17:26:25 2003 +0000 Fix minor errors in fixed/floating-point conversion. ChangeLog | 3 +++ src/cairo-ft-font.c | 10 ++++------ src/cairo_ft_font.c | 10 ++++------ 3 files changed, 11 insertions(+), 12 deletions(-) commit 1cd1330aa3967fb57a646a60e4fcb478c631cda6 Author: Carl Worth Date: Mon Dec 15 14:20:56 2003 +0000 font->show_glyphs no longer accepts an offset point. _utf8_to_glyphs now accepts a point by which each glyph should be offset. (cairo_ft_font_backend): Remove evil void * casts on function pointers. Fix to not require a current point. Move initialization of current device-space point from setup_text_rendering_context to _cairo_gstate_show_text. (_cairo_gstate_show_glyphs): Fix to not reference current point. ChangeLog | 22 ++++++++++++++++++++++ src/cairo-font.c | 4 +--- src/cairo-ft-font.c | 40 ++++++++++++++++++++-------------------- src/cairo-gstate.c | 34 ++++++++++++++++------------------ src/cairo_font.c | 4 +--- src/cairo_ft_font.c | 40 ++++++++++++++++++++-------------------- src/cairo_gstate.c | 34 ++++++++++++++++------------------ src/cairoint.h | 4 ---- 8 files changed, 96 insertions(+), 86 deletions(-) commit 8b00a61e8b2f6dbbe7e19a40959fada69469106c Author: Dave Beckett Date: Fri Dec 12 16:00:19 2003 +0000 Add compatibility defines FONTCONFIG_LIBS, X_LIBS, XRENDER_LIBS to keep automake happy - they look like automake variable names. ChangeLog | 6 ++++++ src/Makefile.am | 8 ++++++++ 2 files changed, 14 insertions(+) commit b694e4d1ffa480c0ec151a3030eb2dfca63b5b93 Author: Dave Beckett Date: Fri Dec 12 15:11:23 2003 +0000 (libpixman_la_SOURCES): slim_export.h slim_import.h gone. pixman/ChangeLog | 1 + pixman/src/Makefile.am | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) commit d9febe2fb4e14efefb4463a74bb9e6758c8cccfc Author: Dave Beckett Date: Fri Dec 12 15:10:12 2003 +0000 src/Makefile.am: Remove LIBPIXMAN_CFLAGS/LIBS cruft. pixman/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit 09abb6df40522318f106a0d612fa2b7c98ddca8c Author: Dave Beckett Date: Fri Dec 12 15:09:55 2003 +0000 Remove LIBPIXMAN_CFLAGS/LIBS cruft. pixman/src/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 2309a8b98ace453aabcc955df369ca19bc3f4f54 Author: Carl Worth Date: Fri Dec 12 12:00:50 2003 +0000 Add comment about building in a font. Check for NULL return value from cairo_ft_font_create. ChangeLog | 6 ++++++ src/cairo-font.c | 6 ++++++ src/cairo-ft-font.c | 3 +++ src/cairo_font.c | 6 ++++++ src/cairo_ft_font.c | 3 +++ 5 files changed, 24 insertions(+) commit e232072c12d5bd4bc1d093658428007e47114a2e Author: Carl Worth Date: Fri Dec 12 11:44:16 2003 +0000 Add conditionals for ps_surface functions, etc. Get rid of AC_PATH_XTRA. Instead, find X includes/libraries only via pkg-config xrender. Switch option from --without-x to --disable-xlib Add option --disable-ps Add -lz only if ps_surface backend is compiled. ChangeLog | 12 ++++++++++++ cairo.pc.in | 2 +- configure.in | 28 +++++++++++++++++++++++----- src/Makefile.am | 8 +++++--- src/cairo-features.h.in | 2 ++ src/cairo.h | 10 ++++++++++ 6 files changed, 53 insertions(+), 9 deletions(-) commit a02d8aaa595b4893f9b25715c0bd5fbc8ee7b3c8 Author: Carl Worth Date: Fri Dec 12 11:02:07 2003 +0000 Add missing definitions from slim_import.h. ChangeLog | 5 +++++ src/cairo.h | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit 47000a1737c02fc2cebcdfbefb9eb505f8824341 Author: Carl Worth Date: Fri Dec 12 10:51:21 2003 +0000 Updated .cvsignore pixman/.cvsignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 0278468fc1f68bc40348a3a387baa72dca357256 Author: Carl Worth Date: Fri Dec 12 10:47:59 2003 +0000 Fold contents of slim_export/import.h directly into this file to avoid dependence on external slim package. Use quote-based include now that slim_internal is an internal file. Follow convention of other files for multi-inclusion guard (_IC_INT_H_) Remove cruft. pixman/ChangeLog | 15 ++++++++++++++ pixman/configure.in | 8 ------- pixman/src/icint.h | 8 +++---- pixman/src/pixman.h | 13 ++++++++---- pixman/src/pixregion.c | 2 +- pixman/src/slim_export.h | 54 ------------------------------------------------ pixman/src/slim_import.h | 53 ----------------------------------------------- 7 files changed, 29 insertions(+), 124 deletions(-) commit 849c780a63ecb0733f0cbe5cc90f2e9a1b77b7f7 Author: Carl Worth Date: Thu Dec 11 13:04:39 2003 +0000 Rename surface->ic_image to surface->pixman_image. Rename functions and indentifiers with ic_ in the name that were missed by the recent renaming. Fix indentation problems left by the recent renaming. Shift everything over from libic/libpixregion/slim to libpixman. Many thanks to Dave Beckett for all of the heavy lifting with this renaming effort. ChangeLog | 24 +++++++ src/cairo-image-surface.c | 160 +++++++++++++++++++++++----------------------- src/cairo_image_surface.c | 160 +++++++++++++++++++++++----------------------- src/cairoint.h | 2 +- 4 files changed, 185 insertions(+), 161 deletions(-) commit 5b38b14ff2bf8cfc74f5f14339d3aeff0d01a769 Author: Carl Worth Date: Thu Dec 11 12:43:58 2003 +0000 Directly fold in slim stuff rather than depending on it from an external package. Switch from libic to libpixman. Include pixman.h not ic.h. (__external_linkage): Directly fold in slim stuff rather than depending on it from an external package. Look for libpixman instead of libic and slim. ChangeLog | 16 +++++++ cairo.pc.in | 2 +- configure.in | 2 +- src/Makefile.am | 2 +- src/cairo-image-surface.c | 120 +++++++++++++++++++++++----------------------- src/cairo-ps-surface.c | 2 +- src/cairo.h | 15 +++--- src/cairo_image_surface.c | 120 +++++++++++++++++++++++----------------------- src/cairo_ps_surface.c | 2 +- src/cairoint.h | 30 +++++++++++- 10 files changed, 177 insertions(+), 134 deletions(-) commit 18ae004832b6bf3d12a8ee4e9199bc847a46031f Author: Andrew Chant Date: Thu Dec 11 11:12:59 2003 +0000 cairo_select_font: _cairo_font_create: _cairo_gstate_select_font: cairo_ft_font_create: change char * family to const char * family ChangeLog | 8 ++++++++ src/cairo-font.c | 2 +- src/cairo-ft-font.c | 2 +- src/cairo-gstate.c | 2 +- src/cairo.c | 2 +- src/cairo.h | 2 +- src/cairo_font.c | 2 +- src/cairo_ft_font.c | 2 +- src/cairo_gstate.c | 2 +- src/cairoint.h | 4 ++-- 10 files changed, 18 insertions(+), 10 deletions(-) commit c2696a7d8d6158345f0d386b8aa90c4634a7e254 Author: Carl Worth Date: Thu Dec 11 10:01:10 2003 +0000 Replace mysterious image->depth == 32 ? 24 : image->depth with simply image->depth. ChangeLog | 6 ++++++ src/cairo-xlib-surface.c | 2 +- src/cairo_xlib_surface.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 6cd6ac5a0572666990c6db9492ddf9fc0579a71a Author: Carl Worth Date: Thu Dec 11 09:35:07 2003 +0000 Add xrender to cairo.pc Renders line if needed. ChangeLog | 5 +++++ cairo.pc.in | 2 +- configure.in | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) commit b95d2066a56f656df0a1be5fe32115a186d4e46a Author: Carl Worth Date: Thu Dec 11 07:03:41 2003 +0000 Fix to use shifts and masks for endianness-correct PS image generation. Rename bgr to rgb now that the byte order issues are clear. ChangeLog | 7 +++++++ src/cairo-ps-surface.c | 27 +++++++++++++-------------- src/cairo_ps_surface.c | 27 +++++++++++++-------------- 3 files changed, 33 insertions(+), 28 deletions(-) commit 9da5af44f4e999cf4394e114cdb799bb4dd054ad Author: Dave Beckett Date: Wed Dec 10 15:42:01 2003 +0000 Correct some more renames where the order of the renaming caused later renames to fail due to earlier prefixes failing. pixman/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) commit b24029f4d05b2ba6951f0442dc68033f9727bda4 Author: Dave Beckett Date: Wed Dec 10 15:41:14 2003 +0000 fixes for wrong order of renames pixman/update.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) commit af1ab1a9f25bf7465ae5d4addcfa99a82bddd5e0 Author: Dave Beckett Date: Wed Dec 10 15:39:45 2003 +0000 Correct some more renames where the order of the renaming caused later renames to fail due to earlier prefixes failing. pixman/src/ic.c | 2 +- pixman/src/icformat.c | 12 ++++++------ pixman/src/icimage.c | 4 ++-- pixman/src/ictrap.c | 2 +- pixman/src/ictri.c | 6 +++--- pixman/src/pixman.h | 20 ++++++++++---------- pixman/src/pixregion.c | 12 ++++++------ 7 files changed, 29 insertions(+), 29 deletions(-) commit 4409b9fff97a34256c70de0c579d279557cd6017 Author: Dave Beckett Date: Wed Dec 10 15:27:11 2003 +0000 Add rename fixes pixman/update.pl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 22b133453dbf54ada09399535b632b2e66f97e73 Author: Dave Beckett Date: Wed Dec 10 15:25:38 2003 +0000 Correct over-eager renames of the form pixman_thing_tName into pixman_thing_name. It was inevitable really this would happen! pixman/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit 4ecffdf8b9d7cf0a9bbd46d140d8b552957ee485 Author: Dave Beckett Date: Wed Dec 10 15:23:11 2003 +0000 Correct over-eager renames of the form pixman_thing_tName into pixman_thing_name. It was inevitable really this would happen! pixman/src/iccolor.c | 4 +- pixman/src/iccompose.c | 4 +- pixman/src/icformat.c | 24 +++++----- pixman/src/icimage.c | 48 +++++++++---------- pixman/src/icimage.h | 4 +- pixman/src/icint.h | 16 +++---- pixman/src/icpixels.c | 8 ++-- pixman/src/icrect.c | 10 ++-- pixman/src/ictransform.c | 2 +- pixman/src/ictrap.c | 32 ++++++------- pixman/src/ictri.c | 42 ++++++++--------- pixman/src/pixman.h | 34 +++++++------- pixman/src/pixregion.c | 116 +++++++++++++++++++++++----------------------- pixman/src/pixregionint.h | 4 +- 14 files changed, 174 insertions(+), 174 deletions(-) commit 0070bd372cdc8c2383c78e1d0f90552f9167526b Author: Dave Beckett Date: Wed Dec 10 14:28:55 2003 +0000 Added helper script for updating names in source. pixman/ChangeLog | 2 + pixman/update.pl | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) commit c2d04cfb0b83ddc90f8fce58c53228abf4ca6d9f Author: Dave Beckett Date: Wed Dec 10 14:26:22 2003 +0000 Rename exported Ic* and PixRegion* functions, types, enums to be prefixed pixman (or PIXMAN for enum values) pixman/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit 94988dbe09e93e0de0ee1706b8f2e1caf79b5238 Author: Dave Beckett Date: Wed Dec 10 14:20:05 2003 +0000 Rename exported Ic* and PixRegion* functions, types, enums to be prefixed pixman (or PIXMAN for enum values) pixman/src/ic.c | 190 ++++++------ pixman/src/icblt.c | 74 ++--- pixman/src/icbltone.c | 42 +-- pixman/src/iccolor.c | 14 +- pixman/src/iccompose.c | 714 +++++++++++++++++++++--------------------- pixman/src/icformat.c | 40 +-- pixman/src/icimage.c | 156 +++++----- pixman/src/icimage.h | 110 +++---- pixman/src/icint.h | 290 ++++++++--------- pixman/src/icpixels.c | 20 +- pixman/src/icrect.c | 64 ++-- pixman/src/icrop.h | 22 +- pixman/src/icstipple.c | 6 +- pixman/src/ictransform.c | 6 +- pixman/src/ictrap.c | 82 ++--- pixman/src/ictri.c | 110 +++---- pixman/src/icutil.c | 28 +- pixman/src/pixman.h | 332 ++++++++++---------- pixman/src/pixregion.c | 770 +++++++++++++++++++++++----------------------- pixman/src/pixregionint.h | 26 +- 20 files changed, 1548 insertions(+), 1548 deletions(-) commit e39e756403b44bd77aa89f17b1241249565431e2 Author: Dave Beckett Date: Wed Dec 10 14:04:15 2003 +0000 libpixman is the pixel manipulation library pixman/ChangeLog | 2 ++ 1 file changed, 2 insertions(+) commit 2841a7184299882c45f8364fb6c0798ffdb00471 Author: Dave Beckett Date: Wed Dec 10 13:29:40 2003 +0000 libpixman is the pixel manipulation library pixman/README | 6 +++--- pixman/libpixman.pc.in | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 05bcf7a4b50f7c711ab66971912d0d752a59fcd6 Author: Dave Beckett Date: Tue Dec 9 16:10:29 2003 +0000 Initial version with the following changes to do the merging: Change ic.h/pixregion.h headers inclusions to be pixman.h Removed ic.h, merged into pixman.h Merged pixregion.h (former name and CVS history of this file) and ic.h (now CVS deleted here). Updated for libpixregion,libic to libpixman source merges. Added -I$(srcdir) so we get internal headers from here even when srcdir != builddir. Updated for libpixregion,libic to libpixman package name, dependencies. Merge of libic, slim AUTHORS, COPYING, README Initial repository copy of libpixregion, libic, slim CVS. Constructed a merged ChangeLog below via emacs VC mode (which rocks!) pixman/ChangeLog | 351 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 351 insertions(+) commit 7ba9ad29733e25399bf6f70232ce97f065d43d91 Author: Dave Beckett Date: Tue Dec 9 16:09:33 2003 +0000 Change ic.h/pixregion.h headers inclusions to be pixman.h pixman/src/icint.h | 4 ++-- pixman/src/pixregionint.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit b76a5ccf7f78b68ff7eeea84af7930e09854581b Author: Dave Beckett Date: Tue Dec 9 16:08:36 2003 +0000 Removed ic.h, merged into pixman.h pixman/src/ic.h | 304 -------------------------------------------------------- 1 file changed, 304 deletions(-) commit 08e0943c9f175df5647258937977fc584cb15a94 Author: Dave Beckett Date: Tue Dec 9 16:08:16 2003 +0000 Merged pixregion.h (former name and CVS history of this file) and ic.h (now CVS deleted here). pixman/src/pixman.h | 309 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 304 insertions(+), 5 deletions(-) commit 9b086c333057d824aabcc7af1a66fa707152835c Author: Dave Beckett Date: Tue Dec 9 16:06:52 2003 +0000 Updated for libpixregion,libic to libpixman source merges. Added -I$(srcdir) so we get internal headers from here even when srcdir != builddir. pixman/src/Makefile.am | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) commit d5bcf9e4f03017c474eae8c96a673f7348c8959c Author: Dave Beckett Date: Tue Dec 9 16:05:24 2003 +0000 Updated for libpixregion,libic to libpixman package name, dependencies. pixman/Makefile.am | 7 +++++-- pixman/configure.in | 18 +++++++++--------- pixman/libpixman.pc.in | 7 +++---- 3 files changed, 17 insertions(+), 15 deletions(-) commit 43129191fe6d829cd0ebb5da9bdbbf5aac3a4b3c Author: Dave Beckett Date: Tue Dec 9 15:59:18 2003 +0000 Merge of libic, slim AUTHORS, COPYING, README pixman/AUTHORS | 6 ++++++ pixman/COPYING | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ pixman/README | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) commit f59f92836c610dd27c24d75fcc17bfdb4921f336 Author: Carl Worth Date: Mon Dec 8 18:07:56 2003 +0000 Allow names of all autofoo programs to be overridden via environment variables. pixman/ChangeLog.libic | 5 +++++ pixman/ChangeLog.libpixregion | 5 +++++ pixman/autogen.sh | 18 +++++++++++++----- 3 files changed, 23 insertions(+), 5 deletions(-) commit 0949a86dd1cbe301c2d6ffc1aa4606d31b62cc39 Author: Carl Worth Date: Mon Dec 8 17:39:32 2003 +0000 Track change in cairo_path_callbacks interface. ChangeLog | 6 ++++++ src/cairo-path-bounds.c | 46 ++++++++++++++++++++++++++++++---------------- src/cairo_path_bounds.c | 46 ++++++++++++++++++++++++++++++---------------- 3 files changed, 66 insertions(+), 32 deletions(-) commit 08553e75b7db97a3176e40768231c88f9b8eeabd Author: Carl Worth Date: Mon Dec 8 13:38:26 2003 +0000 Clean up cairo_path_callbacks to have move_to, line_to, curve_to, abd close_path instead of add_edge, add_spline, and done_sub_path. Much, much nicer. Provide cairo_polygon_move_to and cairo_polygon_line_to instead of cairo_polygon_add_point. Track change in cairo_polygon interface. ChangeLog | 16 +++ src/cairo-path-fill.c | 101 ++++++++++++++----- src/cairo-path-stroke.c | 253 +++++++++++++++++++++++++++++------------------- src/cairo-path.c | 56 ++--------- src/cairo-pen.c | 2 +- src/cairo-polygon.c | 56 +++++------ src/cairo_path.c | 56 ++--------- src/cairo_path_fill.c | 101 ++++++++++++++----- src/cairo_path_stroke.c | 253 +++++++++++++++++++++++++++++------------------- src/cairo_pen.c | 2 +- src/cairo_polygon.c | 56 +++++------ src/cairoint.h | 22 ++--- 12 files changed, 554 insertions(+), 420 deletions(-) commit 6aff3cbf96dca64e755075add11acc7fc35d6ebd Author: Carl Worth Date: Mon Dec 8 12:31:22 2003 +0000 Bump version to 0.1.16 since it actually has a hope of building, (due to fix for broken cairo-xlib.h includes). ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 76e2cd9a743538222fe77f11e95e174fadd1b308 Author: Carl Worth Date: Fri Dec 5 10:47:42 2003 +0000 Don't include obsolete cairo-xlib.h. ChangeLog | 2 ++ src/cairo-xlib-surface.c | 1 - src/cairo_xlib_surface.c | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) commit 97666464c0a38d5904869af1c742c87c3be15067 Author: Carl Worth Date: Fri Dec 5 10:30:39 2003 +0000 Allow names of all autofoo programs to be overridden via environment variables. ChangeLog | 3 +++ autogen.sh | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit 928095693bff00e38b6d369ee0e7931f136f9082 Author: Carl Worth Date: Fri Dec 5 08:53:07 2003 +0000 Bump version to 0.1.15 for new CAIRO_HAS_XLIB_SURFACE macro. Add missing #include Rename cairo-config.h to cairo-features.h. Rename XLIB_BACKEND_DEFINE to XLIB_SURFACE_FEATURE. Rename AM_CONDITIONAL HAVE_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. Rename user-visibile macro CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. ChangeLog | 14 ++++++++++++++ configure.in | 12 ++++++------ src/.cvsignore | 2 +- src/Makefile.am | 4 ++-- src/{cairo-config.h.in => cairo-features.h.in} | 2 +- src/cairo.h | 10 ++++++---- 6 files changed, 30 insertions(+), 14 deletions(-) commit aae17d3b6b15881f7bd8c4fac6a14a0c7b6729e6 Author: Carl Worth Date: Wed Dec 3 12:27:44 2003 +0000 Bumped version to 0.1.14 to indicate dropped cairo-xlib.h and new cairo-config.h. New support for "./configure --without-x" to compile without the xlib backend. Many thanks to Sasha V. . We do three things here: Make the pkg-config check for xrender conditional, set XLIB_BACKEND_DEFINE to either CAIRO_HAS_XLIB_BACKEND or CAIRO_HAS_NO_XLIB_BACKEND to be substituted into cairo-config.h, and set an AM_CONDITIONAL for HAVE_XLIB_BACKEND to enable conditional compilation of cairo_xlib_surface.c. Perhaps that could be simplified a tad, but it's what we have working now. Also split up various PKG_CHECK_MODULES into separate checks. Remove errant reference to cairo_gstate_set_drawable. Move xlib-specific calls in from old cairo-xlib.h, now guarded in #ifdef CAIRO_HAS_XLIB_BACKEND. Make compilation of cairo_xlib_surface.c conditional. (INCLUDES, libcairo_la_LIBADD): Add the new variables from splitting up the PKG_CHECK_MODULES calls. ChangeLog | 28 ++++++++++++++++++++++ configure.in | 19 +++++++++++++-- src/.cvsignore | 1 + src/Makefile.am | 14 +++++++---- src/{cairo-xlib.h => cairo-config.h.in} | 42 ++++----------------------------- src/cairo.h | 28 ++++++++++++++++++++++ src/cairoint.h | 5 ---- 7 files changed, 88 insertions(+), 49 deletions(-) commit 9cf63b0390b71693a0eb3ba2e6065f7d3f6e240c Author: Carl Worth Date: Wed Dec 3 07:14:59 2003 +0000 Add -lz for the compress function used in the PS backend. ChangeLog | 5 +++++ cairo.pc.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit ae96c8ab929513710cb11d71697759c4c3484aff Author: Keith Packard Date: Mon Dec 1 10:59:57 2003 +0000 Add note about degenerate path caps being broken ChangeLog | 5 +++++ TODO | 3 +++ 2 files changed, 8 insertions(+) commit 3369c676f0c8a6ce1e7531250a29726b650ecfcf Author: Carl Worth Date: Tue Nov 25 07:45:34 2003 +0000 Bump version to 0.1.5 for new 64-bit fixes. One more fix needed for 64-bit machine (alpha in this case). Thanks to Jakub Bogusz . pixman/ChangeLog.libic | 8 ++++++++ pixman/src/icutil.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 765a1ad0fd63abb055bb1cc2e1e2f48541cc5d81 Author: Carl Worth Date: Fri Nov 21 06:22:02 2003 +0000 Use 0 and 1 not False and True, (to avoid false dependency on X headers). Use cairo_point_double_t not XPointDouble, (to avoid false dependency on X headers). Thanks to "Sasha V." for pointing these out. ChangeLog | 10 ++++++++++ src/cairo-path-stroke.c | 2 +- src/cairo-polygon.c | 4 ++-- src/cairo_path_stroke.c | 2 +- src/cairo_polygon.c | 4 ++-- 5 files changed, 16 insertions(+), 6 deletions(-) commit 567f28e62a6d8dee7edd7357f01dd04562b3d071 Author: Carl Worth Date: Tue Nov 18 13:21:29 2003 +0000 Bump version to 0.1.13 for new freetype header compatibility. Fix comments regarding freetype version checking. ChangeLog | 6 ++++++ configure.in | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit a26c3d4a5925bf971dfac5be0ee492e5c7cb51a2 Author: James Henstridge Date: Tue Nov 18 07:28:16 2003 +0000 add FREETYPE_CFLAGS/LIBS to Libs/Cflags rather than requiring "freetype2", which doesn't exist in anything but the most recent version of freetype. add freetype cflags/libs substitutions. ChangeLog | 9 +++++++++ cairo.pc.in | 6 +++--- configure.in | 9 +++++++-- 3 files changed, 19 insertions(+), 5 deletions(-) commit 97cfea914d5276bd575264827293c3dfe458e678 Author: Carl Worth Date: Tue Nov 18 06:18:05 2003 +0000 Fix build for new freetype header include mechanism, (thanks to Christof Petig ) ChangeLog | 5 +++++ src/cairo.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 75ced44ae08358f1e8f64ecd1e93b69996e4b595 Author: Carl Worth Date: Mon Nov 17 07:43:06 2003 +0000 Fixes needed to compile libic on x86_64. Many thanks to David R Bacon . pixman/ChangeLog.libic | 6 ++++++ pixman/src/icrop.h | 2 +- pixman/src/icutil.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit f27af5d98d90395b6bddceecfec0d12181af5a50 Author: Carl Worth Date: Mon Nov 17 07:04:15 2003 +0000 Remove infinite looping when stroking with a line width at or close to 0.0. Thanks to Rob Buis and Noah Levitt for providing in-the-wild examples of SVG files with stroke-width:0 that demonstrated the problem, (cowboy.svg and albania.svg). Do nothing if the pen is a degenerate, single point. This happens when the line width is a very small, non-zero value. Do nothing when asked to stroke a path with a line_width of 0.0. Previously, this would lead to an infinite loop. Force negative line width to 0.0. Updated TODO list. ChangeLog | 21 +++++++++++++++++++++ TODO | 18 +++++++++++++----- src/cairo-gstate.c | 3 +++ src/cairo-pen.c | 5 +++++ src/cairo.c | 2 ++ src/cairo_gstate.c | 3 +++ src/cairo_pen.c | 5 +++++ 7 files changed, 52 insertions(+), 5 deletions(-) commit 399803d067ab60d11cd20fd5826fae281c4081ae Author: Carl Worth Date: Mon Nov 10 08:16:34 2003 +0000 Fix typo (thanks to John Ellson ) Add TODO items for intersection problem, programmatic patterns, missing text functions. ChangeLog | 8 ++++++++ TODO | 19 +++++++++++++------ configure.in | 2 +- 3 files changed, 22 insertions(+), 7 deletions(-) commit 9aa2d445b7de7a8ebdf98c8bb6a13f985ee11b86 Author: Dave Beckett Date: Sat Nov 8 10:28:04 2003 +0000 Use freetype-config to get the freetype2 compiling and linking flags rather than use pkg-config which requires a quite new freetype2 to get freetype2.pc configure.in | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit f0d9ab5b2963bf2a35f09944de0d7084c4cfaa71 Author: Carl Worth Date: Fri Nov 7 11:03:09 2003 +0000 Move declaration to beginning of function to avoid requiring a C99-compatible compiler. ChangeLog | 3 +++ 1 file changed, 3 insertions(+) commit f86a979b49d3a737afea4697eeb9bce965587e3f Author: Carl Worth Date: Thu Nov 6 18:33:28 2003 +0000 Bumped version to 0.1.12 for new cairo_in_stroke and cairo_in_fill functions. Added new cairo_in_stroke and cairo_in_fill. * src/cairo_gstate.c (_cairo_gstate_in_stroke): (_cairo_gstate_in_fill): New functions to support for cairo_in_stroke and cairo_in_fill. Many thanks to Thomas Hunger for the initial implementation which demonstrated how easy this would be and pushed me to go and write it already. Fixed to use _cairo_fixed_from_double instead of XDoubleToFixed. ChangeLog | 25 ++++++++++++++++++++++++ configure.in | 2 +- src/cairo-gstate.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- src/cairo-path.c | 20 +++++++++---------- src/cairo-traps.c | 44 +++++++++++++++++++++++++++++++++++++++++- src/cairo.c | 32 +++++++++++++++++++++++++++++++ src/cairo.h | 7 +++++++ src/cairo_gstate.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- src/cairo_path.c | 20 +++++++++---------- src/cairo_traps.c | 44 +++++++++++++++++++++++++++++++++++++++++- src/cairoint.h | 15 +++++++++++++++ 11 files changed, 294 insertions(+), 27 deletions(-) commit a3ad0527950b7e161382d25a4891f403fcd87477 Author: Carl Worth Date: Thu Nov 6 13:32:15 2003 +0000 Move declaration to beginning of function to avoid requiring a C99-compatible compiler. src/cairo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7262e1554f83d011c77603298615a25102adf414 Author: Carl Worth Date: Thu Nov 6 12:53:39 2003 +0000 Add comment pondering memory management semantics of cairo_current_target_surface. NULL out pen->vertices after free. NULL out durface->data after free. ChangeLog | 12 ++++++++++++ src/cairo-gstate.c | 5 +++++ src/cairo-image-surface.c | 4 +++- src/cairo-pen.c | 2 ++ src/cairo.h | 2 ++ src/cairo_gstate.c | 5 +++++ src/cairo_image_surface.c | 4 +++- src/cairo_pen.c | 2 ++ 8 files changed, 34 insertions(+), 2 deletions(-) commit 3262cd9f9501b91d57b54a2bf4743138bea179ee Author: Carl Worth Date: Thu Nov 6 07:56:10 2003 +0000 Removed stale version from ic.h. Better to have no version listed than the wrong one. pixman/ChangeLog.libic | 9 +++++++++ pixman/src/ic.h | 5 ----- 2 files changed, 9 insertions(+), 5 deletions(-) commit 443b8cb6a295495b293cd65a62177f5d9799dec4 Author: Carl Worth Date: Tue Nov 4 10:46:45 2003 +0000 Enable cairo_set_target_surface (cr, NULL) to work. This can be useful to force the current target surface to be finalized. ChangeLog | 4 ++++ src/cairo-gstate.c | 7 +++++++ src/cairo_gstate.c | 7 +++++++ 3 files changed, 18 insertions(+) commit 05b399242937a79b8f2242220ff8ba27041cec23 Author: Carl Worth Date: Tue Nov 4 08:58:53 2003 +0000 Add explicit fontconfig and freetype2 dependencies that were implicitly dropped along with Xft. ChangeLog | 6 ++++++ cairo.pc.in | 2 +- configure.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 9e25bb231cbe6f4a18f786cd21b59099d09fbbe2 Author: Carl Worth Date: Tue Nov 4 08:36:03 2003 +0000 TODO: Note that cairo_show_page, cairo_copy_page, PostScript backend, real text API, and text support for the image backend have now all been implemented. ChangeLog | 6 ++++++ TODO | 15 ++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) commit 8d88d5da1758732a995669e46ae10f2703331e29 Author: Carl Worth Date: Tue Nov 4 08:33:45 2003 +0000 Fix configure.in and cairo.pc.in now that cairo no longer depends on Xft. ChangeLog | 6 ++++++ cairo.pc.in | 2 +- configure.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 7765a3c6767203ca47df34822d529ad2dd4ef970 Author: Carl Worth Date: Mon Nov 3 19:17:31 2003 +0000 Add support for cairo_copy_page. Fixes so PS output can be more than one page. Bump version to 0.1.11 for new cairo_copy_page. ChangeLog | 23 +++++++++++ configure.in | 2 +- src/cairo-gstate.c | 9 +++++ src/cairo-image-surface.c | 7 ++++ src/cairo-ps-surface.c | 101 ++++++++++++++++++++++++++++++---------------- src/cairo-surface.c | 15 +++++++ src/cairo-xlib-surface.c | 7 ++++ src/cairo.c | 9 +++++ src/cairo.h | 3 ++ src/cairo_gstate.c | 9 +++++ src/cairo_image_surface.c | 7 ++++ src/cairo_ps_surface.c | 101 ++++++++++++++++++++++++++++++---------------- src/cairo_surface.c | 15 +++++++ src/cairo_xlib_surface.c | 7 ++++ src/cairoint.h | 13 +++++- 15 files changed, 255 insertions(+), 73 deletions(-) commit aa40d2e2e1d3069d5225d046f1760855c9af4132 Author: Carl Worth Date: Mon Nov 3 18:24:45 2003 +0000 Add several missing checks for out of memory ChangeLog | 14 ++++++++++++++ src/cairo-image-surface.c | 26 ++++++++++++++++++++------ src/cairo-ps-surface.c | 4 ++++ src/cairo_image_surface.c | 26 ++++++++++++++++++++------ src/cairo_ps_surface.c | 4 ++++ 5 files changed, 62 insertions(+), 12 deletions(-) commit cbc1ea78d6209d9a1fbdaa806d16797644ab0a18 Author: Carl Worth Date: Mon Nov 3 13:44:53 2003 +0000 Added __external_linkage to a few functions that were missing it. ChangeLog | 5 +++++ src/cairo.h | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) commit 0819fbb164442f0feb69617275859e5c2af3c0a1 Author: Carl Worth Date: Sat Nov 1 05:23:55 2003 +0000 Add IcImageGetDepth. Bump version to 0.1.3 pixman/ChangeLog.libic | 6 ++++++ pixman/src/ic.h | 3 +++ pixman/src/icimage.c | 6 ++++++ 3 files changed, 15 insertions(+) commit 51da155707f207691cdcc39ac46bd93bdc3a61c9 Author: Carl Worth Date: Fri Oct 31 21:56:14 2003 +0000 Fix misplacement of PS origin, (was translating vertically by width instead of height). ChangeLog | 4 ++++ src/cairo-ps-surface.c | 2 +- src/cairo_ps_surface.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit c6255f9c295dc2b273b8aa4c5ce558d6d2a05887 Author: Carl Worth Date: Fri Oct 31 21:30:35 2003 +0000 Implemented preliminary PostScript output support. Added cairo_show_page. Bumped version number to 0.1.10 ChangeLog | 29 ++++ configure.in | 2 +- src/Makefile.am | 1 + src/cairo-gstate.c | 9 ++ src/cairo-image-surface.c | 18 ++- src/cairo-ps-surface.c | 377 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-surface.c | 15 ++ src/cairo-xlib-surface.c | 7 +- src/cairo.c | 9 ++ src/cairo.h | 49 +++++- src/cairo_gstate.c | 9 ++ src/cairo_image_surface.c | 18 ++- src/cairo_ps_surface.c | 377 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_surface.c | 15 ++ src/cairo_xlib_surface.c | 7 +- src/cairoint.h | 16 +- 16 files changed, 942 insertions(+), 16 deletions(-) commit 9736375a7a106b9fd6745dcea26572a63f1334f5 Author: Carl Worth Date: Fri Oct 31 19:27:33 2003 +0000 Do nothing when radius <= 0.0, (which is much better than the current infinite loop). ChangeLog | 6 ++++++ src/cairo-gstate.c | 6 ++++++ src/cairo_gstate.c | 6 ++++++ 3 files changed, 18 insertions(+) commit 32df4d217d968123de3c03760b951b9cc891e850 Author: Carl Worth Date: Fri Oct 31 10:41:37 2003 +0000 Moved all libic-related drawing into cairo_image_surface.c ChangeLog | 66 +++++++ configure.in | 2 +- src/Makefile.am | 43 ++--- src/cairo-ft-font.c | 97 ++++++----- src/cairo-gstate.c | 118 ++++++++----- src/cairo-image-surface.c | 429 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-surface.c | 348 ++++++++++++------------------------- src/cairo-xlib-surface.c | 386 ++++++++++++++++++++++++----------------- src/cairo-xlib.h | 2 + src/cairo.c | 6 +- src/cairo.h | 92 +++++----- src/cairo_ft_font.c | 97 ++++++----- src/cairo_gstate.c | 118 ++++++++----- src/cairo_image_surface.c | 429 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_surface.c | 348 ++++++++++++------------------------- src/cairo_xlib_surface.c | 386 ++++++++++++++++++++++++----------------- src/cairoint.h | 109 ++++++++---- 17 files changed, 1999 insertions(+), 1077 deletions(-) commit 6dca2ab9d3c6e3801ce7887b9ad40f45385f00f0 Author: Carl Worth Date: Thu Oct 30 18:39:20 2003 +0000 Fixed a few memory leaks ChangeLog | 8 ++++++++ src/cairo-xlib-surface.c | 40 ++++++++++++++++++++++++++++++++++------ src/cairo_xlib_surface.c | 40 ++++++++++++++++++++++++++++++++++------ 3 files changed, 76 insertions(+), 12 deletions(-) commit eb40d4b82e9e2b103d12064101b5026b1781794d Author: Carl Worth Date: Thu Oct 30 13:28:34 2003 +0000 Update copyright information in COPYING COPYING | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit 5a9cf4f1a1c096d729cf50b8c0422325d44a5018 Author: Carl Worth Date: Thu Oct 30 12:39:49 2003 +0000 A set of changes to eliminate the static FT_Library field, (which could introduce nasty problems with respect to threading). With the new code, each font created with the toy API will own its own FT_Library. Meanwhile, cairo_ft_font_create now accepts an FT_Library parameter. Bumped version number to 0.1.9 ChangeLog | 24 +++++++++++++++++++++ configure.in | 2 +- src/cairo-ft-font.c | 62 ++++++++++++++++++++++++++++++----------------------- src/cairo.h | 2 +- src/cairo_ft_font.c | 62 ++++++++++++++++++++++++++++++----------------------- 5 files changed, 96 insertions(+), 56 deletions(-) commit fb46d7390e0776e888d75533304fb5ce26dca04f Author: Carl Worth Date: Thu Oct 30 10:55:04 2003 +0000 A few cleanups to eliminate a memory leak. ChangeLog | 2 ++ src/cairo-font.c | 40 +++++----------------------------------- src/cairo-ft-font.c | 4 ++-- src/cairo-gstate.c | 8 ++++---- src/cairo_font.c | 40 +++++----------------------------------- src/cairo_ft_font.c | 4 ++-- src/cairo_gstate.c | 8 ++++---- src/cairoint.h | 8 +------- 8 files changed, 25 insertions(+), 89 deletions(-) commit 5edcd47a91456bbf0ea0313685a31862e8d452e3 Author: Carl Worth Date: Thu Oct 30 10:55:04 2003 +0000 A few cleanups to eliminate a memory leak. ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 249ff3fb3813f69603a75c7aaa39bb8db5510c49 Author: Carl Worth Date: Wed Oct 29 12:50:02 2003 +0000 Drop AC_CONFIG_AUX_DIR(config) as it was confusing "make distcheck" pixman/ChangeLog.libpixregion | 5 +++++ pixman/configure.in | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit fb811db0d2742231510a210b356530aed66f20d5 Author: Carl Worth Date: Wed Oct 29 12:21:14 2003 +0000 Drop AC_CONFIG_AUX_DIR(config) as it was confusing "make distcheck" pixman/ChangeLog.libic | 5 +++++ 1 file changed, 5 insertions(+) commit 22c167e00fd7ad6ff3383d4235fec7894b84f4a2 Author: Carl Worth Date: Wed Oct 29 10:54:26 2003 +0000 Fix memory leak of image->transform. Remove currently unused DevUnion type and IcImageChange function. pixman/ChangeLog.libic | 9 +++++++++ pixman/src/icimage.c | 3 +++ pixman/src/icimage.h | 21 --------------------- 3 files changed, 12 insertions(+), 21 deletions(-) commit b806ea9d1b42c9b48b9e7f917b43a115afd88c48 Author: Carl Worth Date: Wed Oct 29 10:46:10 2003 +0000 Bumped version to 0.1.2 to indicate new IcOperator type. pixman/ChangeLog.libic | 3 +++ 1 file changed, 3 insertions(+) commit ece5507937f0a8e9cda7829f5e614597e4668a8a Author: Carl Worth Date: Wed Oct 29 10:45:02 2003 +0000 Patch from Bryan Worth to eliminate lots of leftover, undesired dependencies on X header files. pixman/ChangeLog.libic | 41 +++++++++++++++++++++++ pixman/src/ic.c | 51 ++++++++++++++-------------- pixman/src/ic.h | 33 +++++++++++++++---- pixman/src/icblt.c | 34 +++++++++---------- pixman/src/icbltone.c | 32 +++++++++--------- pixman/src/iccolor.c | 10 +++--- pixman/src/iccompose.c | 34 +++++++++---------- pixman/src/icimage.c | 86 ++++++++++++++++++++++++------------------------ pixman/src/icimage.h | 41 +++++++++++------------ pixman/src/icint.h | 43 +++++++++++++++++------- pixman/src/icrect.c | 16 ++++----- pixman/src/ictransform.c | 10 +++--- pixman/src/ictrap.c | 26 +++++++-------- pixman/src/ictri.c | 6 ++-- 14 files changed, 271 insertions(+), 192 deletions(-) commit cf882f5d73ee0b630168f66e7fcfcb1cd96f1d2d Author: Carl Worth Date: Tue Oct 28 17:32:44 2003 +0000 Updated stale text in README ChangeLog | 5 +++++ README | 49 ++++++++++++++++++++++++------------------------- 2 files changed, 29 insertions(+), 25 deletions(-) commit 859bfd03a6132558ad08aeb0c28ae55874a695d5 Author: Carl Worth Date: Tue Oct 28 12:18:29 2003 +0000 Rename gstate->ppm to gstate->pixels_per_inch. Add new pixels_per_inch to the surface backend. ChangeLog | 12 ++++++++++++ src/cairo-gstate.c | 11 ++++------- src/cairo-surface.c | 12 +++++++++--- src/cairo-xlib-surface.c | 8 ++++++++ src/cairo_gstate.c | 11 ++++------- src/cairo_surface.c | 12 +++++++++--- src/cairo_xlib_surface.c | 8 ++++++++ src/cairoint.h | 10 ++++++++-- 8 files changed, 62 insertions(+), 22 deletions(-) commit 8bb3f7664d2a25be0dd57348fe78e268f40def4e Author: Carl Worth Date: Tue Oct 28 12:15:03 2003 +0000 Drop cairo_surface_create_similar_solid ChangeLog | 15 +++++++++++++ src/cairo-gstate.c | 64 +++++++++++++++++++++++++++++------------------------ src/cairo-surface.c | 34 ++++++++++++---------------- src/cairo.h | 14 ------------ src/cairo_gstate.c | 64 +++++++++++++++++++++++++++++------------------------ src/cairo_surface.c | 34 ++++++++++++---------------- src/cairoint.h | 8 ++++++- 7 files changed, 120 insertions(+), 113 deletions(-) commit 01378dab3e85cc9bfdd34f59bea246062d363cc4 Author: Carl Worth Date: Tue Oct 28 12:13:35 2003 +0000 Fix bug from previous commit. Must check for NULL backend function pointers before calling them. ChangeLog | 8 ++++++++ src/cairo-surface.c | 46 ++++++++++++++++++++++++++-------------------- src/cairo_surface.c | 46 ++++++++++++++++++++++++++-------------------- 3 files changed, 60 insertions(+), 40 deletions(-) commit 9d052aa9ca733d7c4008453d00c1a579fab74f92 Author: Carl Worth Date: Mon Oct 27 18:40:55 2003 +0000 Cleanup of surface->backend interface. Better type-safety and more consistent return-value handling. ChangeLog | 26 +++++++++ src/cairo-surface.c | 28 +++++++--- src/cairo-xlib-surface.c | 133 ++++++++++++++++++++++++++--------------------- src/cairo_surface.c | 28 +++++++--- src/cairo_xlib_surface.c | 133 ++++++++++++++++++++++++++--------------------- src/cairoint.h | 83 ++++++++++++++++++----------- 6 files changed, 271 insertions(+), 160 deletions(-) commit 75282a5e21e2f83cf7ed50b9aa3a4c52bb3815f9 Author: Carl Worth Date: Mon Oct 27 18:32:44 2003 +0000 Default to normal slant/weight on out-of-range values. Add missing include of fontconfig/fcfreetype.h ChangeLog | 6 ++++++ src/cairo-ft-font.c | 15 +++++++++------ src/cairo_ft_font.c | 15 +++++++++------ 3 files changed, 24 insertions(+), 12 deletions(-) commit 99fd32a8d67157a9ae09faf178bdbcfe8f9e10f0 Author: Keith Packard Date: Fri Oct 24 14:43:58 2003 +0000 A HORRIBLE KLUDGE to repad glyph images from freetype to meet libic requirements. ChangeLog | 6 ++++++ src/cairo-ft-font.c | 38 ++++++++++++++++++++++++++++++++++++-- src/cairo_ft_font.c | 38 ++++++++++++++++++++++++++++++++++++-- 3 files changed, 78 insertions(+), 4 deletions(-) commit 965ab2ff553a12a64e10047f82658a6957a0f706 Author: Carl Worth Date: Fri Oct 24 11:01:37 2003 +0000 Fixes to eliminate a few compiler warnings. Bump version to 0.1.8 for recent font API changes. ChangeLog | 19 +++++++++++++++++++ configure.in | 2 +- src/cairo-ft-font.c | 21 +++++++-------------- src/cairo-xlib-surface.c | 9 --------- src/cairo.c | 7 +++++-- src/cairo.h | 2 +- src/cairo_ft_font.c | 21 +++++++-------------- src/cairo_xlib_surface.c | 9 --------- 8 files changed, 40 insertions(+), 50 deletions(-) commit 6498351f495f4ce5a9153f6043f501c0cebc86be Author: Carl Worth Date: Fri Oct 24 10:01:34 2003 +0000 Create a font by default. Remove bogus NULL_POINTER status errors leaking to the outside. ChangeLog | 21 ++++++++++++++++ src/cairo-font.c | 70 ++++++++++++++---------------------------------------- src/cairo-gstate.c | 15 ++++-------- src/cairo_font.c | 70 ++++++++++++++---------------------------------------- src/cairo_gstate.c | 15 ++++-------- src/cairoint.h | 10 ++++---- 6 files changed, 73 insertions(+), 128 deletions(-) commit c5aace21fbf67d27b433472e6070fee98761463c Author: Graydon Hoare Date: Thu Oct 23 15:27:40 2003 +0000 missing file from commit src/cairo-ft-font.c | 574 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_ft_font.c | 574 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1148 insertions(+) commit c11a49a69e7d717c6c080198f568774047a21120 Author: Graydon Hoare Date: Thu Oct 23 15:22:28 2003 +0000 New file. Add cairo_ft_font.c Change to virtual font interface. ChangeLog | 11 ++ src/Makefile.am | 1 + src/cairo-font.c | 236 +++++++++++++++++++---------- src/cairo-gstate.c | 375 +++++++++++++++++++++++++++++++++++++---------- src/cairo-xlib-surface.c | 215 ++------------------------- src/cairo.c | 98 +++++++++++-- src/cairo.h | 135 +++++++++++++++-- src/cairo_font.c | 236 +++++++++++++++++++---------- src/cairo_gstate.c | 375 +++++++++++++++++++++++++++++++++++++---------- src/cairo_xlib_surface.c | 215 ++------------------------- src/cairoint.h | 222 ++++++++++++++++++++-------- 11 files changed, 1322 insertions(+), 797 deletions(-) commit 223da5ea188ba7755aa6257452316b2330e981ae Author: Carl Worth Date: Thu Oct 23 07:51:41 2003 +0000 Updated TODO file ChangeLog | 5 +++++ TODO | 39 +++++++++++++++++++++++---------------- 2 files changed, 28 insertions(+), 16 deletions(-) commit 2c9d1913ccc6df9adc07d77781e68d5124535fa2 Author: Carl Worth Date: Thu Oct 23 07:47:29 2003 +0000 Fixed copyright attribution to refer to "University of Southern California ChangeLog | 6 ++++++ src/cairo-color.c | 2 +- src/cairo-fixed.c | 2 +- src/cairo-font.c | 2 +- src/cairo-gstate.c | 2 +- src/cairo-hull.c | 2 +- src/cairo-matrix.c | 2 +- src/cairo-path-bounds.c | 2 +- src/cairo-path-fill.c | 2 +- src/cairo-path-stroke.c | 2 +- src/cairo-path.c | 2 +- src/cairo-pen.c | 2 +- src/cairo-polygon.c | 2 +- src/cairo-slope.c | 2 +- src/cairo-spline.c | 2 +- src/cairo-surface.c | 2 +- src/cairo-xlib-surface.c | 2 +- src/cairo-xlib.h | 2 +- src/cairo.c | 2 +- src/cairo.h | 2 +- src/cairo_color.c | 2 +- src/cairo_fixed.c | 2 +- src/cairo_font.c | 2 +- src/cairo_gstate.c | 2 +- src/cairo_hull.c | 2 +- src/cairo_matrix.c | 2 +- src/cairo_path.c | 2 +- src/cairo_path_bounds.c | 2 +- src/cairo_path_fill.c | 2 +- src/cairo_path_stroke.c | 2 +- src/cairo_pen.c | 2 +- src/cairo_polygon.c | 2 +- src/cairo_slope.c | 2 +- src/cairo_spline.c | 2 +- src/cairo_surface.c | 2 +- src/cairo_xlib_surface.c | 2 +- src/cairoint.h | 2 +- 37 files changed, 42 insertions(+), 36 deletions(-) commit 6aaa9dff25e7ff2e21af0eefd1a644029b9914d9 Author: Thomas Hunger Date: Sun Oct 19 08:46:21 2003 +0000 added some types and enums, documented more functions doc/reference/xml/cairo_current_fill_rule.xml | 2 +- doc/reference/xml/cairo_current_line_cap.xml | 2 +- doc/reference/xml/cairo_current_operator.xml | 2 +- doc/reference/xml/cairo_fill_rule_t.xml | 40 +++++++++++++++ doc/reference/xml/cairo_format_t.xml | 52 +++++++++++++++++++ doc/reference/xml/cairo_line_cap_t.xml | 43 ++++++++++++++++ doc/reference/xml/cairo_matrix_t.xml | 23 +++++++++ doc/reference/xml/cairo_operator_t.xml | 73 +++++++++++++++++++++++++++ doc/reference/xml/cairo_set_alpha.xml | 7 +-- doc/reference/xml/cairo_set_fill_rule.xml | 2 +- doc/reference/xml/cairo_set_line_cap.xml | 10 ++-- doc/reference/xml/cairo_set_line_width.xml | 6 +-- doc/reference/xml/cairo_set_operator.xml | 9 ++-- doc/reference/xml/cairo_set_pattern.xml | 8 +-- doc/reference/xml/cairo_set_rgb_color.xml | 11 ++-- doc/reference/xml/cairo_set_tolerance.xml | 8 +-- doc/reference/xml/cairo_surface_t.xml | 17 +++++++ doc/reference/xml/cairo_t.xml | 23 +++++++++ 18 files changed, 306 insertions(+), 32 deletions(-) commit 007bbe56dba5a4c83017caa4d00d697436c9cce1 Author: Thomas Hunger Date: Thu Oct 16 10:54:34 2003 +0000 started to document from top to bottom. most things are obvious doc/reference/ChangeLog | 4 ++++ doc/reference/xml/cairo_copy.xml | 21 +++++++++++++++++---- doc/reference/xml/cairo_create.xml | 4 ++-- doc/reference/xml/cairo_destroy.xml | 9 ++++++--- doc/reference/xml/cairo_in_fill.xml | 2 +- doc/reference/xml/cairo_in_stroke.xml | 2 +- doc/reference/xml/cairo_reference.xml | 6 +++--- doc/reference/xml/cairo_restore.xml | 3 ++- doc/reference/xml/cairo_save.xml | 5 +++-- doc/reference/xml/cairo_set_target_surface.xml | 7 ++++--- doc/reference/xml/skeleton.xml | 6 +++--- 11 files changed, 46 insertions(+), 23 deletions(-) commit 8f7106a9523cf4350db29cbe413bb992c1b7a960 Author: Thomas Hunger Date: Thu Oct 16 05:31:56 2003 +0000 updated xml files to look more like gtk refence and introduced crossreferencing via script doc/reference/ChangeLog | 8 +++ doc/reference/README | 6 ++ doc/reference/crossreference.rb | 30 ++++++++ doc/reference/doc.xml | 23 +++--- doc/reference/xml/cairo_clip.xml | 63 ++++++++-------- doc/reference/xml/cairo_close_path.xml | 63 ++++++++-------- doc/reference/xml/cairo_copy.xml | 70 ++++++++++-------- doc/reference/xml/cairo_create.xml | 62 ++++++++-------- doc/reference/xml/cairo_current_alpha.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_fill_rule.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_line_cap.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_line_join.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_line_width.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_matrix.xml | 70 ++++++++++-------- doc/reference/xml/cairo_current_miter_limit.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_operator.xml | 63 ++++++++-------- doc/reference/xml/cairo_current_point.xml | 77 +++++++++++--------- doc/reference/xml/cairo_current_rgb_color.xml | 84 +++++++++++++--------- doc/reference/xml/cairo_current_target_surface.xml | 62 ++++++++-------- doc/reference/xml/cairo_current_tolerance.xml | 63 ++++++++-------- doc/reference/xml/cairo_default_matrix.xml | 63 ++++++++-------- doc/reference/xml/cairo_destroy.xml | 63 ++++++++-------- doc/reference/xml/cairo_fill.xml | 63 ++++++++-------- doc/reference/xml/cairo_hit.xml | 62 ++++++++-------- doc/reference/xml/cairo_identity_matrix.xml | 63 ++++++++-------- .../xml/cairo_inverse_transform_distance.xml | 77 +++++++++++--------- .../xml/cairo_inverse_transform_point.xml | 77 +++++++++++--------- doc/reference/xml/cairo_line_to.xml | 77 +++++++++++--------- doc/reference/xml/cairo_matrix_copy.xml | 70 ++++++++++-------- doc/reference/xml/cairo_matrix_create.xml | 62 ++++++++-------- doc/reference/xml/cairo_matrix_destroy.xml | 63 ++++++++-------- doc/reference/xml/cairo_matrix_invert.xml | 63 ++++++++-------- doc/reference/xml/cairo_matrix_multiply.xml | 77 +++++++++++--------- doc/reference/xml/cairo_matrix_rotate.xml | 70 ++++++++++-------- doc/reference/xml/cairo_matrix_scale.xml | 77 +++++++++++--------- doc/reference/xml/cairo_matrix_set_identity.xml | 63 ++++++++-------- .../xml/cairo_matrix_transform_distance.xml | 77 +++++++++++--------- doc/reference/xml/cairo_matrix_transform_point.xml | 77 +++++++++++--------- doc/reference/xml/cairo_matrix_translate.xml | 77 +++++++++++--------- doc/reference/xml/cairo_move_to.xml | 77 +++++++++++--------- doc/reference/xml/cairo_new_path.xml | 63 ++++++++-------- doc/reference/xml/cairo_pop_group.xml | 63 ++++++++-------- doc/reference/xml/cairo_push_group.xml | 63 ++++++++-------- doc/reference/xml/cairo_reference.xml | 63 ++++++++-------- doc/reference/xml/cairo_rel_line_to.xml | 77 +++++++++++--------- doc/reference/xml/cairo_rel_move_to.xml | 77 +++++++++++--------- doc/reference/xml/cairo_restore.xml | 63 ++++++++-------- doc/reference/xml/cairo_rotate.xml | 70 ++++++++++-------- doc/reference/xml/cairo_save.xml | 63 ++++++++-------- doc/reference/xml/cairo_scale.xml | 77 +++++++++++--------- doc/reference/xml/cairo_scale_font.xml | 70 ++++++++++-------- doc/reference/xml/cairo_select_font.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_alpha.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_dash.xml | 84 +++++++++++++--------- doc/reference/xml/cairo_set_fill_rule.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_line_cap.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_line_join.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_line_width.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_miter_limit.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_operator.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_pattern.xml | 70 ++++++++++-------- doc/reference/xml/cairo_set_rgb_color.xml | 84 +++++++++++++--------- doc/reference/xml/cairo_set_target_surface.xml | 69 ++++++++++-------- doc/reference/xml/cairo_set_tolerance.xml | 70 ++++++++++-------- doc/reference/xml/cairo_show_text.xml | 70 ++++++++++-------- doc/reference/xml/cairo_status.xml | 63 ++++++++-------- doc/reference/xml/cairo_status_string.xml | 63 ++++++++-------- doc/reference/xml/cairo_stroke.xml | 63 ++++++++-------- doc/reference/xml/cairo_stroke_path.xml | 63 ++++++++-------- doc/reference/xml/cairo_surface_clip_restore.xml | 63 ++++++++-------- doc/reference/xml/cairo_surface_destroy.xml | 63 ++++++++-------- doc/reference/xml/cairo_surface_get_matrix.xml | 70 ++++++++++-------- doc/reference/xml/cairo_surface_reference.xml | 63 ++++++++-------- doc/reference/xml/cairo_surface_set_filter.xml | 70 ++++++++++-------- doc/reference/xml/cairo_surface_set_matrix.xml | 70 ++++++++++-------- doc/reference/xml/cairo_surface_set_repeat.xml | 70 ++++++++++-------- doc/reference/xml/cairo_transform_distance.xml | 77 +++++++++++--------- doc/reference/xml/cairo_transform_point.xml | 77 +++++++++++--------- doc/reference/xml/cairo_translate.xml | 77 +++++++++++--------- 79 files changed, 2907 insertions(+), 2321 deletions(-) commit 227bf48eff8e25dba592fbe2fcb48bfdf5d93dc3 Author: Carl Worth Date: Wed Oct 15 12:26:51 2003 +0000 Added bug about self-intersecting paths. (Really, I'm just testing the cairo-commit mailing list) BUGS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8ca1f1a8258daaf2380b794735a424e872600c31 Author: Thomas Hunger Date: Wed Oct 15 08:51:06 2003 +0000 commited documentation skeleton doc/reference/.cvsignore | 20 +++ doc/reference/ChangeLog | 4 + doc/reference/README | 5 + doc/reference/doc.xml | 173 +++++++++++++++++++++ doc/reference/xml/cairo_clip.xml | 32 ++++ doc/reference/xml/cairo_close_path.xml | 32 ++++ doc/reference/xml/cairo_copy.xml | 33 ++++ doc/reference/xml/cairo_create.xml | 32 ++++ doc/reference/xml/cairo_current_alpha.xml | 32 ++++ doc/reference/xml/cairo_current_fill_rule.xml | 32 ++++ doc/reference/xml/cairo_current_line_cap.xml | 32 ++++ doc/reference/xml/cairo_current_line_join.xml | 32 ++++ doc/reference/xml/cairo_current_line_width.xml | 32 ++++ doc/reference/xml/cairo_current_matrix.xml | 33 ++++ doc/reference/xml/cairo_current_miter_limit.xml | 32 ++++ doc/reference/xml/cairo_current_operator.xml | 32 ++++ doc/reference/xml/cairo_current_point.xml | 34 ++++ doc/reference/xml/cairo_current_rgb_color.xml | 35 +++++ doc/reference/xml/cairo_current_target_surface.xml | 32 ++++ doc/reference/xml/cairo_current_tolerance.xml | 32 ++++ doc/reference/xml/cairo_default_matrix.xml | 32 ++++ doc/reference/xml/cairo_destroy.xml | 32 ++++ doc/reference/xml/cairo_fill.xml | 32 ++++ doc/reference/xml/cairo_hit.xml | 32 ++++ doc/reference/xml/cairo_identity_matrix.xml | 32 ++++ doc/reference/xml/cairo_in_fill.xml | 34 ++++ doc/reference/xml/cairo_in_stroke.xml | 34 ++++ .../xml/cairo_inverse_transform_distance.xml | 34 ++++ .../xml/cairo_inverse_transform_point.xml | 34 ++++ doc/reference/xml/cairo_line_to.xml | 34 ++++ doc/reference/xml/cairo_matrix_copy.xml | 33 ++++ doc/reference/xml/cairo_matrix_create.xml | 32 ++++ doc/reference/xml/cairo_matrix_destroy.xml | 32 ++++ doc/reference/xml/cairo_matrix_invert.xml | 32 ++++ doc/reference/xml/cairo_matrix_multiply.xml | 34 ++++ doc/reference/xml/cairo_matrix_rotate.xml | 33 ++++ doc/reference/xml/cairo_matrix_scale.xml | 34 ++++ doc/reference/xml/cairo_matrix_set_identity.xml | 32 ++++ .../xml/cairo_matrix_transform_distance.xml | 34 ++++ doc/reference/xml/cairo_matrix_transform_point.xml | 34 ++++ doc/reference/xml/cairo_matrix_translate.xml | 34 ++++ doc/reference/xml/cairo_move_to.xml | 34 ++++ doc/reference/xml/cairo_new_path.xml | 32 ++++ doc/reference/xml/cairo_pop_group.xml | 32 ++++ doc/reference/xml/cairo_push_group.xml | 32 ++++ doc/reference/xml/cairo_reference.xml | 32 ++++ doc/reference/xml/cairo_rel_line_to.xml | 34 ++++ doc/reference/xml/cairo_rel_move_to.xml | 34 ++++ doc/reference/xml/cairo_restore.xml | 32 ++++ doc/reference/xml/cairo_rotate.xml | 33 ++++ doc/reference/xml/cairo_save.xml | 32 ++++ doc/reference/xml/cairo_scale.xml | 34 ++++ doc/reference/xml/cairo_scale_font.xml | 33 ++++ doc/reference/xml/cairo_select_font.xml | 33 ++++ doc/reference/xml/cairo_set_alpha.xml | 33 ++++ doc/reference/xml/cairo_set_dash.xml | 35 +++++ doc/reference/xml/cairo_set_fill_rule.xml | 33 ++++ doc/reference/xml/cairo_set_line_cap.xml | 33 ++++ doc/reference/xml/cairo_set_line_join.xml | 33 ++++ doc/reference/xml/cairo_set_line_width.xml | 33 ++++ doc/reference/xml/cairo_set_miter_limit.xml | 33 ++++ doc/reference/xml/cairo_set_operator.xml | 33 ++++ doc/reference/xml/cairo_set_pattern.xml | 33 ++++ doc/reference/xml/cairo_set_rgb_color.xml | 35 +++++ doc/reference/xml/cairo_set_target_surface.xml | 33 ++++ doc/reference/xml/cairo_set_tolerance.xml | 33 ++++ doc/reference/xml/cairo_show_text.xml | 33 ++++ doc/reference/xml/cairo_status.xml | 32 ++++ doc/reference/xml/cairo_status_string.xml | 32 ++++ doc/reference/xml/cairo_stroke.xml | 32 ++++ doc/reference/xml/cairo_stroke_path.xml | 32 ++++ doc/reference/xml/cairo_surface_clip_restore.xml | 32 ++++ doc/reference/xml/cairo_surface_destroy.xml | 32 ++++ doc/reference/xml/cairo_surface_get_matrix.xml | 33 ++++ doc/reference/xml/cairo_surface_reference.xml | 32 ++++ doc/reference/xml/cairo_surface_set_filter.xml | 33 ++++ doc/reference/xml/cairo_surface_set_matrix.xml | 33 ++++ doc/reference/xml/cairo_surface_set_repeat.xml | 33 ++++ doc/reference/xml/cairo_transform_distance.xml | 34 ++++ doc/reference/xml/cairo_transform_point.xml | 34 ++++ doc/reference/xml/cairo_translate.xml | 34 ++++ doc/reference/xml/skeleton.xml | 30 ++++ 82 files changed, 2763 insertions(+) commit 5f48214ad24ace45276f15111fa5b15c2956f38f Author: Carl Worth Date: Sat Oct 11 13:49:13 2003 +0000 Add extern "C" stuff to cairo-xlib.h ChangeLog | 5 +++++ src/cairo-xlib.h | 19 ++++++++++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) commit cdc84283e321a3fd14c430b8f991f60ac624204c Author: Carl Worth Date: Thu Oct 9 20:10:36 2003 +0000 Stub out NULL_POINTER error so drawing to off-screen memory still works even though text does not yet. ChangeLog | 6 ++++++ src/cairo-font.c | 14 +++++++------- src/cairo_font.c | 14 +++++++------- 3 files changed, 20 insertions(+), 14 deletions(-) commit 61726a88f24efcbabdff980abdfe1ff8301315b2 Author: Carl Worth Date: Sat Oct 4 14:34:42 2003 +0000 Generate convex hull of pen before stroking. ChangeLog | 8 ++ src/Makefile.am | 1 + src/cairo-hull.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-path-stroke.c | 4 +- src/cairo-pen.c | 115 ++++++++--------------------- src/cairo-slope.c | 40 +++++++++- src/cairo_hull.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ src/cairo_path_stroke.c | 4 +- src/cairo_pen.c | 115 ++++++++--------------------- src/cairo_slope.c | 40 +++++++++- src/cairoint.h | 6 +- 11 files changed, 534 insertions(+), 179 deletions(-) commit a249bd717c194d03d480d7803351ee6f21daf0c2 Author: Carl Worth Date: Sat Oct 4 09:06:15 2003 +0000 Remove abbreviation of "point" as "pt". Fix cairo_destrot, cairo_set_target_surface, and cairo_set_target_image to act appropriately in the face of non-zero status. ChangeLog | 12 ++++++++ src/cairo-gstate.c | 70 +++++++++++++++++++++---------------------- src/cairo-path-bounds.c | 38 +++++++++++------------ src/cairo-path-fill.c | 4 +-- src/cairo-path-stroke.c | 54 ++++++++++++++++----------------- src/cairo-path.c | 78 ++++++++++++++++++++++++------------------------ src/cairo-pen.c | 50 +++++++++++++++---------------- src/cairo-polygon.c | 36 +++++++++++----------- src/cairo-spline.c | 44 +++++++++++++-------------- src/cairo-xlib-surface.c | 2 +- src/cairo.c | 14 ++++----- src/cairo_gstate.c | 70 +++++++++++++++++++++---------------------- src/cairo_path.c | 78 ++++++++++++++++++++++++------------------------ src/cairo_path_bounds.c | 38 +++++++++++------------ src/cairo_path_fill.c | 4 +-- src/cairo_path_stroke.c | 54 ++++++++++++++++----------------- src/cairo_pen.c | 50 +++++++++++++++---------------- src/cairo_polygon.c | 36 +++++++++++----------- src/cairo_spline.c | 44 +++++++++++++-------------- src/cairo_xlib_surface.c | 2 +- src/cairoint.h | 39 +++++++++++++----------- 21 files changed, 416 insertions(+), 401 deletions(-) commit b466e068b99c71acd26ca10b8e70ad34c7e34881 Author: Carl Worth Date: Wed Oct 1 17:34:19 2003 +0000 Fix to gracefully handle a NULL pointer for gstate->font ChangeLog | 15 +++++++++++++++ src/cairo-font.c | 44 +++++++++++++++++++++++++++++++++++--------- src/cairo-gstate.c | 12 +++++++----- src/cairo_font.c | 44 +++++++++++++++++++++++++++++++++++--------- src/cairo_gstate.c | 12 +++++++----- src/cairoint.h | 17 +++++++++-------- 6 files changed, 108 insertions(+), 36 deletions(-) commit 973ee8998377f09aee66664ddf93725d6ffd416e Author: Jamey Sharp Date: Tue Sep 30 18:56:22 2003 +0000 Virtualized the font and surface backend implementations. ChangeLog | 7 + TODO | 3 - src/Makefile.am | 3 +- src/cairo-font.c | 121 +++----- src/cairo-gstate.c | 67 ++--- src/cairo-surface.c | 489 ++++++-------------------------- src/cairo-xlib-surface.c | 719 +++++++++++++++++++++++++++++++++++++++++++++++ src/cairo-xlib.h | 56 ++++ src/cairo.c | 24 -- src/cairo.h | 17 -- src/cairo_font.c | 121 +++----- src/cairo_gstate.c | 67 ++--- src/cairo_surface.c | 489 ++++++-------------------------- src/cairo_xlib_surface.c | 719 +++++++++++++++++++++++++++++++++++++++++++++++ src/cairoint.h | 130 ++++++--- 15 files changed, 1881 insertions(+), 1151 deletions(-) commit 9c964b8f8afe03f2cf37073fc8f313fae24d58c6 Author: Carl Worth Date: Tue Sep 30 14:15:28 2003 +0000 Don't copy a gstate if src->status != 0 ChangeLog | 2 ++ src/cairo.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit b1ade55559b9deb350dc3fb28ee10cbde11c3476 Author: Carl Worth Date: Tue Sep 30 13:15:09 2003 +0000 Fixed horribly botched implementation of cairo_copy. ChangeLog | 7 +++++++ src/cairo-gstate.c | 21 +++++++++++++++++++++ src/cairo.c | 11 ++++++----- src/cairo_gstate.c | 21 +++++++++++++++++++++ src/cairoint.h | 3 +++ 5 files changed, 58 insertions(+), 5 deletions(-) commit 0cd47881bd62bc8600bd29c459036105f956d3c6 Author: Carl Worth Date: Tue Sep 30 11:39:07 2003 +0000 Changed cairo_copy to copy graphics state from one cairo_t to another rather than allocating a new cairo_t. ChangeLog | 7 +++++++ configure.in | 2 +- src/cairo.c | 30 +++++++++++------------------- src/cairo.h | 6 +++--- 4 files changed, 22 insertions(+), 23 deletions(-) commit 6b582a836abe9d44034e97e5ded55a983932e022 Author: Carl Worth Date: Tue Sep 30 07:58:58 2003 +0000 Fix to delay XFreePixmap until cairo_surface_destroy. ChangeLog | 6 ++++++ src/cairo-surface.c | 7 ++++++- src/cairo_surface.c | 7 ++++++- src/cairoint.h | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) commit 9edacaf78075c3ed3a5e27da81f41ddc265acfc1 Author: Carl Worth Date: Mon Sep 29 11:55:56 2003 +0000 Bugfix from Graydon Hoare. ChangeLog | 8 +++++ TODO | 84 ----------------------------------------------------- src/cairo-surface.c | 2 +- src/cairo_surface.c | 2 +- 4 files changed, 10 insertions(+), 86 deletions(-) commit 6f87c8bc6c4b539049b089a0f90559eac0f2ffa2 Author: Carl Worth Date: Mon Sep 29 08:36:29 2003 +0000 Added cairo_arc and cairo_arc_negative. ChangeLog | 21 ++++- TODO | 52 +++++++++-- configure.in | 2 +- src/cairo-font.c | 11 ++- src/cairo-gstate.c | 268 ++++++++++++++++++++++++++++++++++++++++++++++++++++- src/cairo.c | 47 ++++++++++ src/cairo.h | 20 ++++ src/cairo_font.c | 11 ++- src/cairo_gstate.c | 268 ++++++++++++++++++++++++++++++++++++++++++++++++++++- src/cairoint.h | 12 +++ 10 files changed, 698 insertions(+), 14 deletions(-) commit 2e19ebf7663e77c9a01787fe7dd70896c62e2743 Author: Carl Worth Date: Sat Sep 27 05:08:38 2003 +0000 Removed two _print_svg headers that had been included accidentally. ChangeLog | 4 +++- src/cairoint.h | 6 ------ 2 files changed, 3 insertions(+), 7 deletions(-) commit 60d541ee6a85a63638e2d30623f703d0c8e474c7 Author: Carl Worth Date: Sat Sep 27 05:00:47 2003 +0000 Fixed some internal enums that had been mistakenly converted to lowercase at some point. ChangeLog | 7 +++++++ src/cairo-path-bounds.c | 2 +- src/cairo-path-fill.c | 4 ++-- src/cairo-path-stroke.c | 8 ++++---- src/cairo-path.c | 37 ++++++++++++++++++------------------- src/cairo-pen.c | 10 +++++----- src/cairo-spline.c | 2 +- src/cairo_path.c | 37 ++++++++++++++++++------------------- src/cairo_path_bounds.c | 2 +- src/cairo_path_fill.c | 4 ++-- src/cairo_path_stroke.c | 8 ++++---- src/cairo_pen.c | 10 +++++----- src/cairo_spline.c | 2 +- src/cairoint.h | 36 ++++++++++++++++++------------------ 14 files changed, 87 insertions(+), 82 deletions(-) commit 4dc8b3a312d0f390306131006e6d87a25e41ce58 Author: Carl Worth Date: Thu Sep 25 15:01:28 2003 +0000 Removed support for cairo_path_t and related functions. Bumped version to 0.1.5 ChangeLog | 7 ++ configure.in | 2 +- src/cairo-gstate.c | 190 ++++++++++++++++++++++++++++++----------------------- src/cairo-path.c | 188 ++++------------------------------------------------ src/cairo.c | 20 +----- src/cairo.h | 49 +------------- src/cairo_gstate.c | 190 ++++++++++++++++++++++++++++++----------------------- src/cairo_path.c | 188 ++++------------------------------------------------ src/cairoint.h | 58 ++++++++-------- 9 files changed, 273 insertions(+), 619 deletions(-) commit ca1cec0f49f837dbe541fed97280952315d2876c Author: Carl Worth Date: Thu Sep 25 08:01:38 2003 +0000 Expose a cairo_path_t object with related functions: cairo_set_path, cairo_current_path, cairo_path_move_to, cairo_path_line_to, etc. ChangeLog | 35 ++++++++++ configure.in | 2 +- src/cairo-gstate.c | 190 +++++++++++++++++++++++------------------------------ src/cairo-path.c | 188 ++++++++++++++++++++++++++++++++++++++++++++++++---- src/cairo.c | 20 +++++- src/cairo.h | 49 +++++++++++++- src/cairo_gstate.c | 190 +++++++++++++++++++++++------------------------------ src/cairo_path.c | 188 ++++++++++++++++++++++++++++++++++++++++++++++++---- src/cairoint.h | 58 ++++++++-------- 9 files changed, 654 insertions(+), 266 deletions(-) commit 17f5e712e217be701cf6555528cb81dfd22e49f8 Author: Carl Worth Date: Wed Sep 24 06:20:38 2003 +0000 Require __GNUC__ >= 3 before defining slim_hidden_def macro pixman/ChangeLog.slim | 6 ++++++ 1 file changed, 6 insertions(+) commit ba03c60ce95130e211ab9fd71c8a769f28a9fc74 Author: Carl Worth Date: Tue Sep 23 07:58:02 2003 +0000 Require __GNUC__ >= 3 before defining slim_hidden_def macro pixman/src/slim_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3d81a872cbc6a2113f9e54dffa0f6f27bba52d7 Author: Carl Worth Date: Wed Sep 17 08:48:41 2003 +0000 Updated description of PostScript comparison TODO | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 3f9a062bc62e5d66b9e984bbdce5d3b642faecdd Author: Carl Worth Date: Wed Sep 17 08:41:30 2003 +0000 Added "A comparison with PostScript" to TODO TODO | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit d3db983ab2c66e9a53ecbd53f04f56d0723cd3ee Author: Carl Worth Date: Tue Sep 16 10:28:46 2003 +0000 Fixed massive pixmap leak ChangeLog | 3 +++ src/cairo-surface.c | 4 ---- src/cairo_surface.c | 4 ---- 3 files changed, 3 insertions(+), 8 deletions(-) commit 7e46e8e6caab34f4f2be9a694d8c15d1942bff7e Author: Carl Worth Date: Tue Sep 16 06:45:19 2003 +0000 Add cairo_reference and cairo_surface_reference ChangeLog | 15 +++++++++++++++ configure.in | 2 +- src/cairo-gstate.c | 10 +++++----- src/cairo-surface.c | 2 +- src/cairo.c | 38 ++++++++++++++++++++++++++++---------- src/cairo.h | 12 +++++++++--- src/cairo_gstate.c | 10 +++++----- src/cairo_surface.c | 2 +- src/cairoint.h | 4 +--- 9 files changed, 66 insertions(+), 29 deletions(-) commit ee4bb020152525daa8ce880b0c739bdea2b92a01 Author: Carl Worth Date: Mon Sep 15 13:17:32 2003 +0000 Force explicit dependency on Xrender >= 0.6. Make _cairo_x11_surface_put_image static. ChangeLog | 6 ++++++ configure.in | 2 +- src/cairo-surface.c | 22 +++++++++++----------- src/cairo_surface.c | 22 +++++++++++----------- 4 files changed, 29 insertions(+), 23 deletions(-) commit 9c5be2cf317cdac454af3566a30fa6bb74db6e14 Author: Carl Worth Date: Mon Sep 15 07:55:10 2003 +0000 Fix for invalid restore from keithp. Began adding notes on arc support. ChangeLog | 6 ++++++ TODO | 46 ++++++++++++++++++++++++++++++++++++++++++++++ src/cairo.c | 8 +++----- 3 files changed, 55 insertions(+), 5 deletions(-) commit 1154ac5b59a3530c3f74a54ea559908816cb7e83 Author: Carl Worth Date: Mon Sep 15 07:29:44 2003 +0000 Don't try to create depth-32 pixmaps on non-Render servers. Fix massive memory leask in _cairo_surface_push_image. ChangeLog | 6 ++++++ src/cairo-surface.c | 12 ++++++++---- src/cairo_surface.c | 12 ++++++++---- 3 files changed, 22 insertions(+), 8 deletions(-) commit 4b30a924c9a61915a286c1cdf9c63e7d2b43a8db Author: Carl Worth Date: Fri Sep 12 10:53:03 2003 +0000 Added a few items to BUGS/TODO BUGS | 13 +++++++++++++ TODO | 58 +++++++--------------------------------------------------- 2 files changed, 20 insertions(+), 51 deletions(-) commit e540d4c44f7d38881c40a2eff1dab6469968b380 Author: Carl Worth Date: Tue Sep 9 17:38:10 2003 +0000 Updated calls to slim_hidden_def to track changes in slim 0.2.0 ChangeLog | 5 +++++ configure.in | 2 +- src/cairo-matrix.c | 16 ++++++++-------- src/cairo-surface.c | 16 ++++++++-------- src/cairo.c | 12 ++++++------ src/cairo_matrix.c | 16 ++++++++-------- src/cairo_surface.c | 16 ++++++++-------- 7 files changed, 44 insertions(+), 39 deletions(-) commit 1abf6689e18f2fbde965efcf1b6b3bd4d6fa22f5 Author: Carl Worth Date: Tue Sep 9 17:35:42 2003 +0000 Updated calls to slim_hidden_def to track cahnges in slim 0.2.0 pixman/ChangeLog.libic | 5 +++++ pixman/ChangeLog.libpixregion | 5 +++++ pixman/configure.in | 2 +- pixman/src/ic.c | 2 +- pixman/src/iccolor.c | 2 +- pixman/src/icformat.c | 2 +- pixman/src/icimage.c | 6 +++--- pixman/src/icrect.c | 2 +- pixman/src/pixregion.c | 6 +++--- 9 files changed, 21 insertions(+), 11 deletions(-) commit be113ebc4ab3c597e3b2a4f924397f66e5d83ada Author: Carl Worth Date: Tue Sep 9 17:33:52 2003 +0000 Bump version number to 0.2.0 pixman/ChangeLog.slim | 3 +++ 1 file changed, 3 insertions(+) commit 5d1bf0b96b7ef6eed5fb0b9089d9950d28c1c75a Author: Carl Worth Date: Tue Sep 9 17:32:07 2003 +0000 Remove ';' from slim_hidden_def. Bump version to 0.1.1 pixman/ChangeLog.slim | 8 ++++++++ pixman/src/slim_internal.h | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit 5b5c172803887e59bf86f351d60930fd10f6063b Author: Carl Worth Date: Fri Sep 5 15:29:49 2003 +0000 Preliminary support for running Cairo with X servers without the Render extension. This is still horribly slow. Removed many uses of X-specific macros, (eg. XDoubleToFixed) ChangeLog | 34 ++++++++ configure.in | 2 +- src/Makefile.am | 1 + src/cairo-fixed.c | 46 ++++++++++ src/cairo-font.c | 1 + src/cairo-gstate.c | 78 +++++++++++------ src/cairo-path-bounds.c | 8 +- src/cairo-path-stroke.c | 32 +++---- src/cairo-pen.c | 4 +- src/cairo-spline.c | 12 +-- src/cairo-surface.c | 225 +++++++++++++++++++++++++++--------------------- src/cairo-traps.c | 14 +-- src/cairo.h | 7 -- src/cairo_fixed.c | 46 ++++++++++ src/cairo_font.c | 1 + src/cairo_gstate.c | 78 +++++++++++------ src/cairo_path_bounds.c | 8 +- src/cairo_path_stroke.c | 32 +++---- src/cairo_pen.c | 4 +- src/cairo_spline.c | 12 +-- src/cairo_surface.c | 225 +++++++++++++++++++++++++++--------------------- src/cairo_traps.c | 14 +-- src/cairoint.h | 33 ++++--- 23 files changed, 573 insertions(+), 344 deletions(-) commit 4551d78c8f5579a563a446ee745a04472d372823 Author: Carl Worth Date: Fri Sep 5 15:24:45 2003 +0000 Expose functions for creating IcFormat based on IcFormatName or masks. The actual IcFormat struct is no longer exposed. Bump version number to 0.1.1 pixman/ChangeLog.libic | 22 +++++ pixman/src/ic.c | 36 ++++---- pixman/src/ic.h | 33 +++---- pixman/src/icblt.c | 1 - pixman/src/icbltone.c | 1 - pixman/src/iccolor.c | 36 +++----- pixman/src/iccompose.c | 222 ++--------------------------------------------- pixman/src/icformat.c | 117 +++++++++++++++++-------- pixman/src/icimage.c | 6 +- pixman/src/icimage.h | 11 +-- pixman/src/icint.h | 49 +++++++---- pixman/src/icpixels.c | 3 +- pixman/src/icrect.c | 4 +- pixman/src/icrop.h | 1 - pixman/src/icstipple.c | 1 - pixman/src/ictransform.c | 2 - pixman/src/ictrap.c | 20 ++--- pixman/src/ictri.c | 16 ++-- pixman/src/icutil.c | 1 - 19 files changed, 208 insertions(+), 374 deletions(-) commit 7e9a0f9cf30f507b50cbf3fc97c387bd05b534cd Author: Keith Packard Date: Fri Sep 5 13:25:46 2003 +0000 comment face computations, check for reflecting transformation to select correct face orientations check for reflecting transform when computing pen to ensure consistent pen orientation ChangeLog | 8 ++++++ src/cairo-path-stroke.c | 65 ++++++++++++++++++++++++++++++------------------- src/cairo-pen.c | 43 +++++++++++++++++++++----------- src/cairo_path_stroke.c | 65 ++++++++++++++++++++++++++++++------------------- src/cairo_pen.c | 43 +++++++++++++++++++++----------- 5 files changed, 146 insertions(+), 78 deletions(-) commit 36307e49d44a3712767749c450199b7a1ce0dea9 Author: Carl Worth Date: Fri Sep 5 10:17:22 2003 +0000 Portability fix for OpenBSD (from Michael Schubert) pixman/ChangeLog.libic | 5 +++++ 1 file changed, 5 insertions(+) commit 67275336bf0a89357fc4fda38dc5fb80a8cb90e8 Author: Carl Worth Date: Fri Sep 5 08:35:08 2003 +0000 Added cairo_copy. Bumbed version to 0.1.2. ChangeLog | 20 ++++++++++++++++++++ configure.in | 2 +- src/cairo-gstate.c | 3 +++ src/cairo.c | 55 ++++++++++++++++++++++++++---------------------------- src/cairo.h | 3 +++ src/cairo_gstate.c | 3 +++ 6 files changed, 56 insertions(+), 30 deletions(-) commit 196388abe67283364e774a75167a2e83e3884036 Author: Carl Worth Date: Fri Sep 5 07:16:45 2003 +0000 Fix crash in show_text due to missing call to ensure_source. ChangeLog | 5 +++++ src/cairo-gstate.c | 19 +++++++++++++++++++ src/cairo_gstate.c | 19 +++++++++++++++++++ 3 files changed, 43 insertions(+) commit acb8ef11ceba696312b9e52dd45318833dffb80f Author: Carl Worth Date: Thu Sep 4 16:32:21 2003 +0000 Changed DEPRECATE method to preseve binary compatibility, but break source-level compatibility. src/cairoint.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit c25eea6f10473fd1e2d61faf60289f58475b85fd Author: Carl Worth Date: Thu Sep 4 16:27:34 2003 +0000 Fixed bugs if cairo_stroke/fill called before cairo_set_rgb_color or cairo_set_target. Also fixed bug when cairo_set_rgb_color is called before cairo_set_target. BUGS | 2 - ChangeLog | 23 +++++++++ src/cairo-gstate.c | 136 ++++++++++++++++++++++++++++++++--------------------- src/cairo.c | 8 ++-- src/cairo.h | 3 +- src/cairo_gstate.c | 136 ++++++++++++++++++++++++++++++++--------------------- src/cairoint.h | 7 +-- 7 files changed, 198 insertions(+), 117 deletions(-) commit 6f731e27580870a5954ca21331b15746e371c8d3 Author: Keith Packard Date: Thu Sep 4 11:54:09 2003 +0000 added comments describing miter join code and miter limit computation. Replace XFoo with cairo_foo for double and fixed add cairo_fixed_to_double and cairo_double_to_fixed Carl says he's got similar code, so he'll have to fix things if I get this committed quickly enough. ChangeLog | 10 +++++ src/cairo-path-stroke.c | 100 +++++++++++++++++++++++++++++++++++------------- src/cairo_path_stroke.c | 100 +++++++++++++++++++++++++++++++++++------------- src/cairoint.h | 3 ++ 4 files changed, 161 insertions(+), 52 deletions(-) commit 66c091e70661f8a87658fd20707b899f9b85970c Author: Carl Worth Date: Thu Sep 4 11:21:15 2003 +0000 Fixed DEPRECATE macro so that old programs will still work src/cairo.h | 2 ++ src/cairoint.h | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit bbe8f9330bca8a1266cd3cea27742481eb2ae7e8 Author: Carl Worth Date: Thu Sep 4 06:53:02 2003 +0000 Added cairo-api-update script. ChangeLog | 3 +++ 1 file changed, 3 insertions(+) commit b9c3be767896c817786e115a0a4856a419d6ce55 Author: Carl Worth Date: Thu Sep 4 06:52:01 2003 +0000 Changed names of all cairo_get_* functions to cairo_current_*. Added magic DEPRECATE macro so that using the old names will give useful warnings/errors. Bumped version number to 0.1.1 ChangeLog | 18 ++++++++++++++ configure.in | 2 +- src/cairo-gstate.c | 30 +++++++++++------------ src/cairo.c | 67 ++++++++++++++++++++++++++++++--------------------- src/cairo.h | 57 +++++++++++++++++++++++++++++++------------ src/cairo_gstate.c | 30 +++++++++++------------ src/cairoint.h | 46 ++++++++++++++++++++++++++--------- util/cairo-api-update | 40 ++++++++++++++++++++++++++++++ 8 files changed, 204 insertions(+), 86 deletions(-) commit 1568c818dacf70463e4b71550bbf24d26f894b70 Author: Carl Worth Date: Wed Sep 3 07:14:18 2003 +0000 Add implementation of cairo_get_matrix ChangeLog | 7 +++++++ src/cairo-gstate.c | 6 ++++++ src/cairo.c | 6 ++++++ src/cairo.h | 5 +---- src/cairo_gstate.c | 6 ++++++ src/cairoint.h | 3 +++ 6 files changed, 29 insertions(+), 4 deletions(-) commit 1a6496eaec0e94a59008c3a205f92e308fbafe38 Author: Carl Worth Date: Tue Sep 2 13:36:17 2003 +0000 Portability fix for OpenBSD (from Michael Schubert) pixman/src/ic.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 44b3c4ca7875c20429d983c47437e16a01c45d3a Author: Carl Worth Date: Fri Aug 29 17:57:08 2003 +0000 Optimized _cairo_surface_composite for compositing local memory surface with an X11 server surface. ChangeLog | 7 +++++++ src/cairo-surface.c | 28 +++++++++++++++++++++++++--- src/cairo.h | 18 +++++++++--------- src/cairo_surface.c | 28 +++++++++++++++++++++++++--- 4 files changed, 66 insertions(+), 15 deletions(-) commit 0ed4d32d87695599f66568e3f966f08ca060c9c6 Author: Carl Worth Date: Fri Aug 29 17:48:48 2003 +0000 Fixed to use fabs not abs. Added pointer to Hobby's intersection paper. ChangeLog | 9 +++++++++ src/cairo-font.c | 3 ++- src/cairo-traps.c | 21 +++++++++++++++++++++ src/cairo_font.c | 3 ++- src/cairo_traps.c | 21 +++++++++++++++++++++ 5 files changed, 55 insertions(+), 2 deletions(-) commit 2ee2cfe14a446bc928d5a0945cc2a68657f8c825 Author: Keith Packard Date: Thu Aug 28 14:12:08 2003 +0000 font pixel size is always non-negative ChangeLog | 3 +++ src/cairo-font.c | 2 +- src/cairo_font.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit 4d399b9aca39f60793957e581664a968f35aee5d Author: Carl Worth Date: Tue Aug 26 07:40:17 2003 +0000 Added missing underscores to several internal functions. ChangeLog | 12 +++++ src/cairo-font.c | 6 +-- src/cairo-gstate.c | 28 ++++++------ src/cairo-matrix.c | 6 +-- src/cairo-path-fill.c | 6 +-- src/cairo-path-stroke.c | 20 ++++----- src/cairo-pen.c | 2 +- src/cairo-traps.c | 116 ++++++++++++++++++++++++------------------------ src/cairo.h | 32 ++++++------- src/cairo_font.c | 6 +-- src/cairo_gstate.c | 28 ++++++------ src/cairo_matrix.c | 6 +-- src/cairo_path_fill.c | 6 +-- src/cairo_path_stroke.c | 20 ++++----- src/cairo_pen.c | 2 +- src/cairo_traps.c | 116 ++++++++++++++++++++++++------------------------ src/cairoint.h | 53 ++++++++++------------ 17 files changed, 236 insertions(+), 229 deletions(-) commit daf4141a03fa36b4ff9a45c92cc217afe1d5172c Author: Carl Worth Date: Tue Aug 26 07:14:40 2003 +0000 Fixed anchoring/transformation of pattern for stroke/fill. ChangeLog | 7 +++++++ src/cairo-gstate.c | 32 ++++++++++++++++++++++++++------ src/cairo_gstate.c | 32 ++++++++++++++++++++++++++------ 3 files changed, 59 insertions(+), 12 deletions(-) commit 596d081d47920298ccb91ee34d867661f31f067c Author: Carl Worth Date: Mon Aug 18 18:53:16 2003 +0000 Add --enable-maintainer-mode to autogen.sh pixman/autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 48db57aea654fbd57afb627aa9ff2004358ee0c8 Author: Carl Worth Date: Mon Aug 18 18:52:46 2003 +0000 Added better warning if pkg-config is not installed. Add --enable-maintainer-mode to autogen.sh autogen.sh | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit e7eecebc271bfde162bad48b6f2c6063a9b6982e Author: Carl Worth Date: Mon Aug 18 18:45:24 2003 +0000 Fixed to give a better warning if pkg-config is not installed pixman/autogen.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 9a68366825015b66afd8496fb4eb42ce08e9849b Author: Carl Worth Date: Tue Aug 5 05:04:27 2003 +0000 Removed version requirements from dependencies on slim, libic, and Xft. configure.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 83d5f0352ca54adb5fa5caa12dbba6c7f5e7755d Author: Richard Henderson Date: Thu Jul 31 22:49:09 2003 +0000 Mark const. Likewise. Likewise. Likewise for cb. ChangeLog | 7 +++++++ src/cairo-color.c | 2 +- src/cairo-matrix.c | 2 +- src/cairo-path-bounds.c | 2 +- src/cairo-path.c | 2 +- src/cairo_color.c | 2 +- src/cairo_matrix.c | 2 +- src/cairo_path.c | 2 +- src/cairo_path_bounds.c | 2 +- 9 files changed, 15 insertions(+), 8 deletions(-) commit 9289e8a77af5a2cd7faa18c90cced6d90adad66a Author: Richard Henderson Date: Thu Jul 31 22:41:44 2003 +0000 Depend on slim. Check for slim. Include slim_{export,import}.h as needed; mark all symbols __external_linkage. Include slim_internal.h; mark all symbols __internal_linkage. Provide slim_hidden_proto symbols as needed. Provide slim_hidden_def symbols as needed. Mark static. (cairo_traps_add_trap_from_points): Likewise. ChangeLog | 14 +++ cairo.pc.in | 2 +- configure.in | 3 +- src/cairo-matrix.c | 8 ++ src/cairo-surface.c | 7 ++ src/cairo-traps.c | 8 +- src/cairo.c | 6 ++ src/cairo.h | 188 ++++++++++++++++++----------------- src/cairo_matrix.c | 8 ++ src/cairo_surface.c | 7 ++ src/cairo_traps.c | 8 +- src/cairoint.h | 280 ++++++++++++++++++++++++++++------------------------ 12 files changed, 312 insertions(+), 227 deletions(-) commit b7483e81a745d0cb933535346e35305bb2b06f2d Author: Richard Henderson Date: Thu Jul 31 20:46:21 2003 +0000 Define as __builtin_popcount when available. pixman/ChangeLog.libic | 4 ++++ pixman/src/iccolor.c | 18 ++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) commit 2d51c71a79005c70249eedb191fa59732a358789 Author: Richard Henderson Date: Thu Jul 31 10:00:08 2003 +0000 Check for slim revision. Depend on slim. Don't include icimage.h. Don't include ic.h. Include slim_{export,import}.h as appropriate. Mark all symbols __external_linkage. Include slim_import.h; mark symbols __internal_linkage; add slim hidden_proto declarations. Mark all symbols __internal_linkage. Likewise. Provide hidden definition. Likewise. Likewise. Likewise. Likewise. Make static. pixman/ChangeLog.libic | 23 ++++++++++++++++++ pixman/src/ic.c | 3 +-- pixman/src/ic.h | 66 +++++++++++++++++++++++++++++--------------------- pixman/src/iccolor.c | 1 + pixman/src/iccompose.c | 1 - pixman/src/icformat.c | 1 + pixman/src/icimage.c | 3 +++ pixman/src/icimage.h | 29 +++++++++++----------- pixman/src/icint.h | 50 +++++++++++++++++++++++--------------- pixman/src/icrect.c | 1 + pixman/src/icrop.h | 7 +++--- pixman/src/ictri.c | 8 +----- 12 files changed, 118 insertions(+), 75 deletions(-) commit f4dc2f2ee031b117aacbf4f4262ad548b8e0498a Author: Richard Henderson Date: Thu Jul 31 02:14:10 2003 +0000 Attribute visibility not present until gcc 3.3. pixman/ChangeLog.slim | 5 +++++ pixman/src/slim_internal.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 7b1d999679d6ccc08c10d6b6c8a0a41ff7176892 Author: Richard Henderson Date: Thu Jul 31 02:11:33 2003 +0000 Make everything but IcComposite static. Make everything except IcBuildCompositeOperand and IcCompositeGeneral static. Make static. (IcLaneTable): Turn into a function. (IcBltOne): Make IcLane const. (icStipple24Bits): Make static. Remove lots of now static declarations. Likewise. Make static. (icStipple2Bits, icStipple1Bits): Make static. (IcStippleTable): Turn into a function. pixman/ChangeLog.libic | 15 + pixman/src/ic.c | 32 +- pixman/src/icbltone.c | 42 +-- pixman/src/iccompose.c | 294 +++++++++--------- pixman/src/icimage.h | 801 ------------------------------------------------- pixman/src/icrop.h | 8 +- pixman/src/icutil.c | 47 +-- 7 files changed, 231 insertions(+), 1008 deletions(-) commit a1e7245d74187e21f36211762f09b1ba1b59f566 Author: Carl Worth Date: Wed Jul 30 11:50:38 2003 +0000 Committing missed ChangeLog entry pixman/ChangeLog.libic | 7 ++++++- pixman/src/ic.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) commit 713f550a938c8a492d6a40b70664af5fa6a87f80 Author: Carl Worth Date: Wed Jul 30 11:21:54 2003 +0000 fixed some typos in the libic PKG_CHECK ChangeLog | 3 +++ configure.in | 10 ++++------ 2 files changed, 7 insertions(+), 6 deletions(-) commit f4017c58575be26ab0ae5e41a9d5233e358969d8 Author: Carl Worth Date: Wed Jul 30 10:54:44 2003 +0000 Fixed IcRectangle to be compatible with XRectangle. pixman/ChangeLog.libic | 4 ++++ pixman/src/ic.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit b86e8f5a0c8a2ddac9742e229e34c81d522c4c5a Author: Carl Worth Date: Wed Jul 30 10:48:27 2003 +0000 Fixed a disagreement over whether some internal cairo_gstate_t functions had an '_' prefix or not. ChangeLog | 4 ++++ src/cairo.c | 12 ++++++------ src/cairoint.h | 22 +++++++++++----------- 3 files changed, 21 insertions(+), 17 deletions(-) commit 1ec2cb30f5862f1677670999e48475c02508d50d Author: Carl Worth Date: Wed Jul 30 10:36:50 2003 +0000 Removed false dependency on X. pixman/ChangeLog.libpixregion | 8 ++++++++ pixman/configure.in | 4 ---- pixman/src/pixman.h | 13 ++++++++----- 3 files changed, 16 insertions(+), 9 deletions(-) commit e82a135aac039eb73436137b924d00726ef87119 Author: Richard Henderson Date: Wed Jul 30 10:09:53 2003 +0000 New. Add slim.pc. New file. pixman/ChangeLog.slim | 6 ++++++ 1 file changed, 6 insertions(+) commit b9be119a3f3258df58067d24f5133b3e19dde91a Author: Richard Henderson Date: Wed Jul 30 10:06:34 2003 +0000 Run PKG_CHECK_MODULES on slim. Require slim. Mark hidden. (PixRegionCopy, PixRegionUnion): Mark hidden. Include and use X11/Xfuncproto.h. Include slim_{export,import}.h as appropriate. Mark all functions with __external_linkage. Rename include protect to _PIXREGIONINT_H_. pixman/ChangeLog.libpixregion | 11 ++++++++ pixman/configure.in | 3 +++ pixman/libpixman.pc.in | 1 + pixman/src/pixman.h | 63 ++++++++++++++++++++++++++----------------- pixman/src/pixregion.c | 8 ++++++ pixman/src/pixregionint.h | 8 +++--- 6 files changed, 65 insertions(+), 29 deletions(-) commit 9fecd258a68a915cdac26c2fce14b8706d308df0 Author: Richard Henderson Date: Wed Jul 30 09:14:22 2003 +0000 New file. New file. New file. Add them. Check for src/slim_export.h pixman/ChangeLog.slim | 11 ++++++ pixman/src/slim_export.h | 54 +++++++++++++++++++++++++ pixman/src/slim_import.h | 53 +++++++++++++++++++++++++ pixman/src/slim_internal.h | 99 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 217 insertions(+) commit e97cfd5eae9874cd665646403a6f8e5fbdf5621e Author: Carl Worth Date: Wed Jul 30 08:30:50 2003 +0000 Made all changes necessary to abandon the Xc library, (sucking the functionality up into cairo_surface_t instead). Eliminated most of the remaining X datatypes (XFixed, XPointFixed, XLineFixed, XTrapezoid). Fixed some numerical problems relating to pen initialization and intersection calculation. ChangeLog | 71 ++++++ cairo.pc.in | 2 +- configure.in | 4 +- src/Makefile.am | 8 +- src/cairo-color.c | 38 ++-- src/cairo-font.c | 2 +- src/cairo-gstate.c | 178 ++++++++------- src/cairo-path-bounds.c | 22 +- src/cairo-path-fill.c | 12 +- src/cairo-path-stroke.c | 68 +++--- src/cairo-path.c | 34 +-- src/cairo-pen.c | 134 +++++------ src/cairo-polygon.c | 9 +- src/{cairo_misc.c => cairo-slope.c} | 24 +- src/cairo-spline.c | 40 ++-- src/cairo-surface.c | 439 ++++++++++++++++++++++++++++++------ src/cairo-traps.c | 122 +++++----- src/cairo.c | 160 +++++++------ src/cairo.h | 116 ++++++---- src/cairo_color.c | 38 ++-- src/cairo_font.c | 2 +- src/cairo_gstate.c | 178 ++++++++------- src/cairo_path.c | 34 +-- src/cairo_path_bounds.c | 22 +- src/cairo_path_fill.c | 12 +- src/cairo_path_stroke.c | 68 +++--- src/cairo_pen.c | 134 +++++------ src/cairo_polygon.c | 9 +- src/cairo_slope.c | 58 +++++ src/cairo_spline.c | 40 ++-- src/cairo_surface.c | 439 ++++++++++++++++++++++++++++++------ src/cairo_traps.c | 122 +++++----- src/cairoint.h | 245 ++++++++++++++------ 33 files changed, 1923 insertions(+), 961 deletions(-) commit 2026b1c44aeeb09e7015efadd508aeec28d778fa Author: Carl Worth Date: Tue Jul 29 19:52:08 2003 +0000 Initial commit of slim shell pixman/ChangeLog.slim | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit f605294dd31feb88261d4629ddd9cb7e8793c60f Author: Carl Worth Date: Tue Jul 29 14:45:20 2003 +0000 Replaced CARD*/INT* datatypes with stdint types (vektor@dumbterm.net). pixman/src/ic.c | 456 +++++++++++++-------------- pixman/src/ic.h | 28 +- pixman/src/iccompose.c | 828 ++++++++++++++++++++++++------------------------- pixman/src/icimage.h | 534 +++++++++++++++---------------- pixman/src/icint.h | 152 ++++----- 5 files changed, 999 insertions(+), 999 deletions(-) commit 47844ba222600301bf46c521fc84d27e93586bc7 Author: Carl Worth Date: Sat Jul 26 20:38:58 2003 +0000 Fixed to not munge some internal cairot names, (such as cairo_traps_*) util/xr2cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 953b708e2c483f41bb45a3694833dd8b62b4f415 Author: Carl Worth Date: Fri Jul 25 23:16:31 2003 +0000 Do nothing in cairo_show_text when using libic. src/cairo-gstate.c | 3 +++ src/cairo_gstate.c | 3 +++ src/cairoint.h | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) commit 91739aa148b078fe9e2f1da4a16a076bc7af68e5 Author: Carl Worth Date: Fri Jul 25 13:29:07 2003 +0000 Fix error correction on intersection test to avoid needless spinning. ChangeLog | 6 ++++++ src/.cvsignore | 1 + src/cairo-traps.c | 9 ++++++--- src/cairo_traps.c | 9 ++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) commit cf24f32a5154269518369e7d10d22956da4192f3 Author: Carl Worth Date: Thu Jul 24 01:40:16 2003 +0000 Massive cleanup of polygon tessellation ChangeLog | 6 ++ src/cairo-traps.c | 199 ++++++++++++++++++------------------------------------ src/cairo_traps.c | 199 ++++++++++++++++++------------------------------------ src/cairoint.h | 1 - 4 files changed, 134 insertions(+), 271 deletions(-) commit ee146c47403520815aaac8c4b1b9bf6807c7cef0 Author: Carl Worth Date: Wed Jul 23 21:20:24 2003 +0000 Introduced cairo_fixed_*_t types. Converted several functions from floating to fixed point. ChangeLog | 18 ++++++++++++++++ src/cairo-pen.c | 8 ++----- src/cairo-traps.c | 64 ++++++++++++++++++++++++++++++++----------------------- src/cairo.c | 8 +++---- src/cairo_pen.c | 8 ++----- src/cairo_traps.c | 64 ++++++++++++++++++++++++++++++++----------------------- src/cairoint.h | 24 +++++++++++++++++++++ 7 files changed, 124 insertions(+), 70 deletions(-) commit 6ef8b5cdf46e376f917797c0cd97758e31cec8b7 Author: Carl Worth Date: Sat Jul 19 14:02:43 2003 +0000 Better fix for the previous bug. More complete and more efficient. ChangeLog | 9 +++++++++ src/cairo-traps.c | 18 +++++++----------- src/cairo_traps.c | 18 +++++++----------- 3 files changed, 23 insertions(+), 22 deletions(-) commit 92284e4ac81e92c108b60efe0ce7c5301b419d11 Author: Carl Worth Date: Sat Jul 19 05:19:32 2003 +0000 Fixed polygon tesselattion for some cases of incorrect sorting when two intersections are very near the same vertical position. src/cairo-traps.c | 6 +++--- src/cairo_traps.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 84ed2d465fecd2d2fcf0a68a9c654f220f9119d7 Author: Carl Worth Date: Fri Jul 18 12:42:49 2003 +0000 Fixed some inconsistent tag/typedef names I missed the first time. ChangeLog | 5 +++++ src/cairo-path-bounds.c | 26 +++++++++++++------------- src/cairo-path-fill.c | 26 +++++++++++++------------- src/cairo-path-stroke.c | 38 +++++++++++++++++++------------------- src/cairo-path.c | 12 ++++++------ src/cairo-pen.c | 20 ++++++++++---------- src/cairo-spline.c | 2 +- src/cairo.h | 18 +++++++++--------- src/cairo_path.c | 12 ++++++------ src/cairo_path_bounds.c | 26 +++++++++++++------------- src/cairo_path_fill.c | 26 +++++++++++++------------- src/cairo_path_stroke.c | 38 +++++++++++++++++++------------------- src/cairo_pen.c | 20 ++++++++++---------- src/cairo_spline.c | 2 +- src/cairoint.h | 32 ++++++++++++++++---------------- 15 files changed, 154 insertions(+), 149 deletions(-) commit dc1e96ae3502a81729839f4bcafcbc1fd00fc1bc Author: Carl Worth Date: Fri Jul 18 11:34:19 2003 +0000 Renamed everything from Xr* to cairo_* .cvsignore | 3 +- BUGS | 5 +- ChangeLog | 7 + Makefile.am | 4 +- README | 30 +- xr.pc.in => cairo.pc.in | 6 +- configure.in | 14 +- src/Makefile.am | 47 +- src/Xr.h | 476 ---------------- src/cairo-color.c | 80 +++ src/cairo-font.c | 171 ++++++ src/cairo-gstate.c | 1123 ++++++++++++++++++++++++++++++++++++++ src/cairo-matrix.c | 380 +++++++++++++ src/cairo-path-bounds.c | 168 ++++++ src/cairo-path-fill.c | 158 ++++++ src/cairo-path-stroke.c | 715 ++++++++++++++++++++++++ src/cairo-path.c | 436 +++++++++++++++ src/cairo-pen.c | 398 ++++++++++++++ src/cairo-polygon.c | 175 ++++++ src/cairo-spline.c | 271 +++++++++ src/cairo-surface.c | 391 +++++++++++++ src/{xrtraps.c => cairo-traps.c} | 280 +++++----- src/cairo.c | 715 ++++++++++++++++++++++++ src/cairo.h | 494 +++++++++++++++++ src/cairo_color.c | 80 +++ src/cairo_font.c | 171 ++++++ src/cairo_gstate.c | 1123 ++++++++++++++++++++++++++++++++++++++ src/cairo_matrix.c | 380 +++++++++++++ src/cairo_misc.c | 36 ++ src/cairo_path.c | 436 +++++++++++++++ src/cairo_path_bounds.c | 168 ++++++ src/cairo_path_fill.c | 158 ++++++ src/cairo_path_stroke.c | 715 ++++++++++++++++++++++++ src/cairo_pen.c | 398 ++++++++++++++ src/cairo_polygon.c | 175 ++++++ src/cairo_spline.c | 271 +++++++++ src/cairo_surface.c | 391 +++++++++++++ src/cairo_traps.c | 593 ++++++++++++++++++++ src/cairoint.h | 710 ++++++++++++++++++++++++ src/xr.c | 654 ---------------------- src/xrcolor.c | 78 --- src/xrfiller.c | 103 ---- src/xrfont.c | 169 ------ src/xrgstate.c | 1120 ------------------------------------- src/xrint.h | 708 ------------------------ src/xrmatrix.c | 378 ------------- src/xrmisc.c | 34 -- src/xrpath.c | 434 --------------- src/xrpathbounds.c | 168 ------ src/xrpathfill.c | 156 ------ src/xrpathstroke.c | 713 ------------------------ src/xrpen.c | 389 ------------- src/xrpolygon.c | 173 ------ src/xrspline.c | 269 --------- src/xrstate.c | 108 ---- src/xrstroker.c | 643 ---------------------- src/xrsurface.c | 386 ------------- util/xr2cairo | 49 ++ 58 files changed, 11733 insertions(+), 7351 deletions(-) commit 4a57fd0881b242d98ea74abb46c8c402faeb1960 Author: Anders Carlsson Date: Thu Jul 10 11:05:24 2003 +0000 Pass --enable-maintainer-mode to configure Add compiler warning flags to CFLAGS. pixman/ChangeLog.libic | 8 ++++++++ 1 file changed, 8 insertions(+) commit eefc5d5ec762881e8b59ebca4d8dbcc6d3c5e1ff Author: Anders Carlsson Date: Tue Jul 8 17:06:15 2003 +0000 Add accessor for getting a pointer to the image data. pixman/ChangeLog.libic | 6 ++++++ pixman/src/ic.h | 3 +++ pixman/src/icimage.c | 6 ++++++ 3 files changed, 15 insertions(+) commit 42529a2c7295a55005d172d2d5ed16531d0989f4 Author: Anders Carlsson Date: Tue Jul 8 16:00:55 2003 +0000 Add accessors. pixman/ChangeLog.libic | 7 +++++++ pixman/src/ic.h | 12 ++++++++++++ pixman/src/icimage.c | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+) commit a18f4ea75b43b4be130caf02e2a03e8d6570ce2f Author: Carl Worth Date: Thu Jul 3 08:22:44 2003 +0000 Added XrMatrixGetAffine ChangeLog | 3 +++ src/Xr.h | 6 ++++++ src/xrmatrix.c | 13 +++++++++++++ 3 files changed, 22 insertions(+) commit 1fc2dabbd0ee2f21ee46160cc113de4a89c94742 Author: Carl Worth Date: Thu Jul 3 08:12:51 2003 +0000 Added XrGetRGBColor and XrGetAlpha ChangeLog | 5 +++++ src/Xr.h | 6 ++++++ src/xr.c | 18 +++++++++++++++++- src/xrcolor.c | 8 ++++++++ src/xrgstate.c | 14 ++++++++++++++ src/xrint.h | 9 +++++++++ 6 files changed, 59 insertions(+), 1 deletion(-) commit 991d4447542440ac1dde67db3b8e824bda6319a9 Author: Carl Worth Date: Wed Jun 11 23:43:29 2003 +0000 Scaling by 0 now causes an InvalidMatrix error ChangeLog | 5 +++++ src/xrgstate.c | 3 +++ 2 files changed, 8 insertions(+) commit bfdd0ab71b64e371ed48f667af95131d697ff9d8 Author: Carl Worth Date: Wed May 28 19:31:30 2003 +0000 Cleanup of some stale unused code. pixman/src/ic.c | 17 ----------------- pixman/src/iccompose.c | 1 - 2 files changed, 18 deletions(-) commit 528c1aceb1e17b52017182b154399b14ed6219a1 Author: Carl Worth Date: Wed May 28 19:28:53 2003 +0000 Added XrSurfacePutImage. Fixed missing translation of clip region. ChangeLog | 10 ++++++++++ src/Xr.h | 10 ++++++++++ src/xrfont.c | 4 ++-- src/xrgstate.c | 50 ++++++++++++++++++++++++++++++++++++++------------ src/xrint.h | 7 ------- src/xrmatrix.c | 18 +++--------------- src/xrsurface.c | 19 +++++++++++++++++++ 7 files changed, 82 insertions(+), 36 deletions(-) commit c988feb05dfe63f25c37a36dce6ac76b7ee1f7c6 Author: Carl Worth Date: Thu May 15 21:16:26 2003 +0000 Changed default matrix to be 3780 user units per 1 meter physical device ChangeLog | 14 ++++++++++++++ src/Xr.h | 4 ---- src/xr.c | 2 +- src/xrgstate.c | 28 ++++++++++++++++++++++++++-- src/xrint.h | 6 ++++++ src/xrsurface.c | 6 ++++++ 6 files changed, 53 insertions(+), 7 deletions(-) commit dfc84ef8299a256264b6849ecca8392a60bdcea0 Author: Carl Worth Date: Wed May 14 21:59:42 2003 +0000 Added XrSetTargetImage. Removed _XrGStateSetTargetDrawable, (now implemented as a convenience function in xr.c) ChangeLog | 8 ++++++++ src/Xr.h | 8 ++++++++ src/xr.c | 44 ++++++++++++++++++++++++++++++++++++++++---- src/xrgstate.c | 24 ------------------------ src/xrint.h | 7 ------- 5 files changed, 56 insertions(+), 35 deletions(-) commit b3b306dfd91b4126812254380dc3a7ae77f33935 Author: Carl Worth Date: Wed May 14 18:30:57 2003 +0000 Added toplevel functions for setting surface matrix, filter. Introduced new XrMatrix object. Fixed to properly hint scaled fonts. ChangeLog | 31 +++++ README | 56 +++++--- src/Makefile.am | 4 +- src/Xr.h | 125 ++++++++++++------ src/xr.c | 107 +++++++-------- src/xrfont.c | 51 ++++---- src/xrgstate.c | 272 +++++++++++++++++++------------------- src/xrint.h | 122 +++++++---------- src/xrmatrix.c | 377 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/xrpathstroke.c | 14 +- src/xrpen.c | 8 +- src/xrsurface.c | 39 +++++- src/xrtransform.c | 301 ------------------------------------------ 13 files changed, 831 insertions(+), 676 deletions(-) commit 7e1f3f1798eace4f5a48079a949717da8b5a0d50 Author: Carl Worth Date: Wed May 14 18:09:09 2003 +0000 Fixed transform/filter support pixman/ChangeLog.libic | 4 ++++ pixman/src/ic.h | 16 ++++++++++++++++ pixman/src/iccompose.c | 38 ++++++++++++++++++++------------------ pixman/src/icimage.c | 12 +++++++++--- pixman/src/icimage.h | 4 ++-- pixman/src/icint.h | 6 ++++++ pixman/src/ictransform.c | 6 ++---- 7 files changed, 59 insertions(+), 27 deletions(-) commit 8f10ce30138ba541b71a2bb38a5d8a4249a8a478 Author: Carl Worth Date: Mon May 12 09:46:57 2003 +0000 Added XrSetPattern ChangeLog | 2 ++ src/Xr.h | 7 +++++++ src/xr.c | 9 +++++++++ src/xrgstate.c | 13 ++++++++++++- src/xrint.h | 3 +++ 5 files changed, 33 insertions(+), 1 deletion(-) commit 078e552da81600f58d53e7ac5f8ba971e0ea767a Author: Carl Worth Date: Mon May 12 09:24:17 2003 +0000 XrStroke and XrFill now both go through the same clipping. Cleaned up the three path interpreters (stroke, fill, and bounds), to each be in their own files ChangeLog | 16 ++ src/Makefile.am | 5 +- src/xrgstate.c | 140 +++++------ src/xrint.h | 83 +------ src/xrpath.c | 132 +--------- src/xrpathbounds.c | 168 +++++++++++++ src/xrpathfill.c | 156 ++++++++++++ src/xrpathstroke.c | 713 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 1135 insertions(+), 278 deletions(-) commit 9d4a8db55c751e093353f7f3b48d27244d5973b7 Author: Noah Levitt Date: Thu May 8 14:21:48 2003 +0000 Lowercase pkg-config module name and distribution tarball name. .cvsignore | 4 +++- Makefile.am | 6 +++--- configure.in | 6 +++--- xr.pc.in | 13 +++++++++++++ 4 files changed, 22 insertions(+), 7 deletions(-) commit 5f61782a7ebeccef7d551c625eb60ade18f9539e Author: Carl Worth Date: Mon May 5 09:27:09 2003 +0000 Avoid crash in IcCompositeTrapezoids when there's nothing to draw. pixman/ChangeLog.libic | 5 +++++ pixman/src/ictrap.c | 3 +++ 2 files changed, 8 insertions(+) commit 292d7bd9baf996d45275e848f258a4dbdd36cd73 Author: Carl Worth Date: Fri May 2 14:07:41 2003 +0000 Changed XrFormatRGB32 to XrFormatRGB24 ChangeLog | 8 ++++++++ src/Makefile.am | 2 +- src/Xr.h | 2 +- src/xrsurface.c | 7 ++++--- 4 files changed, 14 insertions(+), 5 deletions(-) commit 9c814d23d6b42794e9278ac7518dc4d99c77e408 Author: Carl Worth Date: Thu May 1 08:18:25 2003 +0000 Added several query functions. Experimental clip support (still incomplete) ChangeLog | 36 +++++++++++++ src/Xr.h | 47 +++++++++++++++-- src/xr.c | 67 +++++++++++++++++++++--- src/xrgstate.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- src/xrint.h | 50 +++++++++++++++++- src/xrpath.c | 132 ++++++++++++++++++++++++++++++++++++++++++++++ src/xrtraps.c | 2 +- 7 files changed, 474 insertions(+), 23 deletions(-) commit cb1e64d7bcd96da04839eb5841feeed257cf21f3 Author: Noah Levitt Date: Mon Apr 28 16:00:40 2003 +0000 Get rid of all mention of Xrender. pixman/src/icimage.h | 2 +- pixman/src/icint.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) commit 7b5270441b19a68323137034db621e0a194300aa Author: Carl Worth Date: Sat Apr 26 09:57:54 2003 +0000 Fixed memory leak pixman/ChangeLog.libic | 5 +++++ pixman/src/icimage.c | 8 +++++++- pixman/src/icimage.h | 1 + src/xrsurface.c | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) commit b2e30d233eafd0d3bb26d2db45ef1d3505327e81 Author: Carl Worth Date: Fri Apr 25 14:24:38 2003 +0000 Remove X datatypes from public interface pixman/ChangeLog.libic | 3 +++ pixman/src/ic.h | 37 +++++++++++++++++++++++++++++++------ pixman/src/icint.h | 4 +++- pixman/src/icrect.c | 6 +++--- pixman/src/ictrap.c | 23 ++++++++++++----------- pixman/src/ictri.c | 26 +++++++++++++------------- 6 files changed, 65 insertions(+), 34 deletions(-) commit c5b28ba63cba596e1c5644de5df5f5d126535773 Author: Carl Worth Date: Fri Apr 25 13:34:00 2003 +0000 Fixed libtool versioning BUGS | 1 + ChangeLog | 4 ++++ configure.in | 24 ++++++++++++++++-------- src/Makefile.am | 2 +- 4 files changed, 22 insertions(+), 9 deletions(-) commit 140285ed9b246ebca15f7810696131c54bff8dd9 Author: Carl Worth Date: Fri Apr 25 13:21:42 2003 +0000 Fixed libtool versioning pixman/configure.in | 25 +++++++++++++++++-------- pixman/src/Makefile.am | 3 ++- pixman/src/pixman.h | 3 +-- pixman/src/pixregionint.h | 2 +- 4 files changed, 21 insertions(+), 12 deletions(-) commit b4d3b8e928c43d022e3a0d9ba978be91cfc02988 Author: Carl Worth Date: Fri Apr 25 13:18:13 2003 +0000 Fixed to not reference XFixed. Fixed libtool versioning pixman/ChangeLog.libic | 7 +++++++ pixman/src/ic.h | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit cdb85050b706b2845ef8a618c033b69d5b15c6b7 Author: Carl Worth Date: Wed Apr 23 07:23:46 2003 +0000 Cleanup whitespace in configure output configure.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 5a4f65a774d833d1ef8b2a59270b0076e0760e54 Author: Carl Worth Date: Wed Apr 23 07:17:57 2003 +0000 extern "C" stuff to support C++ (Fredrik Höglund) pixman/src/ic.h | 12 ++++++++++++ src/Xr.h | 6 +++++- src/xr.c | 4 ++-- 3 files changed, 19 insertions(+), 3 deletions(-) commit 189b01b4fd4647f6d64e7c73ecb3ccf9ed180072 Author: Keith Packard Date: Tue Apr 22 22:08:58 2003 +0000 Require proper Xft version configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8bb54c2b2d4b6df4ec23a442159065277d303f30 Author: Carl Worth Date: Tue Apr 22 16:38:45 2003 +0000 Fixed typo (Owen Taylor) pixman/ChangeLog.libpixregion | 4 ++++ pixman/configure.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit e712a21abe4027abdb41180512d9c8bd5420206e Author: Carl Worth Date: Mon Apr 21 12:46:41 2003 +0000 Added Makefile.am src/.cvsignore | 1 - src/Makefile.am | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) commit 8d930fee2c5c5434084fabb7852d7921223fc5d3 Author: Carl Worth Date: Mon Apr 21 12:41:30 2003 +0000 Added Makefile.am .cvsignore | 1 - Makefile.am | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) commit ee738deaf6ff2cf7391d813876241b389a0dedaf Author: Carl Worth Date: Thu Apr 17 13:24:29 2003 +0000 Switched to autotools. Dropped XrPush/PopGroup. Supports non-X Xc rendering. .cvsignore | 19 +- AUTHORS | 1 + BUGS | 1 + COPYING | 21 ++ ChangeLog | 17 ++ INSTALL | 9 + Imakefile | 63 ---- NEWS | 0 Xr.h | 278 ----------------- autogen.sh | 28 ++ configure.in | 51 ++++ local.def | 53 ---- src/.cvsignore | 7 + src/Xr.h | 91 +++++- src/xr.c | 50 ++- src/xrfont.c | 4 +- src/xrgstate.c | 240 +++++++++------ src/xrint.h | 123 +++----- src/xrstate.c | 9 +- src/xrsurface.c | 434 +++++++++++++------------- src/xrtransform.c | 10 +- xr.c | 513 ------------------------------- xrcolor.c | 70 ----- xrfiller.c | 103 ------- xrfont.c | 170 ----------- xrgstate.c | 885 ------------------------------------------------------ xrint.h | 794 ------------------------------------------------ xrmisc.c | 34 --- xrpath.c | 432 -------------------------- xrpen.c | 389 ------------------------ xrpolygon.c | 173 ----------- xrspline.c | 269 ----------------- xrstate.c | 109 ------- xrstroker.c | 643 --------------------------------------- xrsurface.c | 323 -------------------- xrtransform.c | 301 ------------------- xrtraps.c | 589 ------------------------------------ 37 files changed, 691 insertions(+), 6615 deletions(-) commit b61b9ffc2322e09873b9e2dfb0c1da56ec1ffd61 Author: Carl Worth Date: Thu Apr 17 08:48:22 2003 +0000 Removed reliance on server headers. Reowrked IcFormat pixman/ChangeLog.libic | 50 +++++++++ pixman/src/ic.c | 40 ++++--- pixman/src/ic.h | 161 +++++++++++++++++----------- pixman/src/iccolor.c | 85 +++++++++++++++ pixman/src/iccompose.c | 26 ++++- pixman/src/icformat.c | 67 ++++++------ pixman/src/icimage.c | 115 ++++++++------------ pixman/src/icimage.h | 86 ++++++--------- pixman/src/icint.h | 285 ++++++++++++++++++++++++++++++++++++++++++++----- pixman/src/icpixels.c | 22 ++-- pixman/src/icrect.c | 107 +++++++++++-------- pixman/src/ictrap.c | 48 +++++---- pixman/src/ictri.c | 102 ++++++++++-------- 13 files changed, 798 insertions(+), 396 deletions(-) commit 2d8dfcec1bb166f8335300bd3850847a5bb1396e Author: Carl Worth Date: Wed Mar 5 10:19:48 2003 +0000 Updated to use libpixregion pixman/ChangeLog.libic | 21 +++++++++++++++++++++ pixman/src/ic.h | 22 +++++++++++++++++++++- pixman/src/icimage.h | 3 +++ pixman/src/icint.h | 41 +++-------------------------------------- 4 files changed, 48 insertions(+), 39 deletions(-) commit 88bd3a9799fd2225d84d1abed922204b3e1885e6 Author: Carl Worth Date: Tue Feb 25 10:33:10 2003 +0000 updated to use libpixregion instead of Xlib region code pixman/src/ic.c | 19 +++++------- pixman/src/ic.h | 2 ++ pixman/src/iccompose.c | 8 ++--- pixman/src/icimage.c | 81 +++++++++++++++++++++++++------------------------- pixman/src/icimage.h | 12 ++++---- pixman/src/icint.h | 4 --- pixman/src/ictrap.c | 20 +++---------- pixman/src/ictri.c | 20 ++++++++----- 8 files changed, 76 insertions(+), 90 deletions(-) commit 3eaa7a73e7ef8e24caa09a3e0318a5254c55d56f Author: Carl Worth Date: Tue Feb 25 10:28:05 2003 +0000 API cleanup pixman/ChangeLog.libpixregion | 9 +++++++++ pixman/src/pixman.h | 27 ++++++++++----------------- pixman/src/pixregion.c | 43 ++++++++++++++++++++++--------------------- 3 files changed, 41 insertions(+), 38 deletions(-) commit a837f75a8b9dafb373bcc828dcc5ade6a1d84674 Author: Carl Worth Date: Tue Feb 25 08:05:26 2003 +0000 Initial import of libpixregion pixman/.cvsignore | 13 + pixman/AUTHORS | 2 + pixman/COPYING | 42 + pixman/ChangeLog.libpixregion | 0 pixman/INSTALL | 9 + pixman/Makefile.am | 8 + pixman/NEWS | 1 + pixman/README | 15 + pixman/autogen.sh | 30 + pixman/configure.in | 46 + pixman/libpixman.pc.in | 10 + pixman/src/.cvsignore | 6 + pixman/src/Makefile.am | 12 + pixman/src/pixman.h | 157 +++ pixman/src/pixregion.c | 2538 +++++++++++++++++++++++++++++++++++++++++ pixman/src/pixregionint.h | 83 ++ 16 files changed, 2972 insertions(+) commit 56e193eaf2c24aa3799b8440708a9448de3a94e9 Author: Carl Worth Date: Fri Feb 21 14:08:28 2003 +0000 Added triangle support pixman/src/ic.h | 32 ++++++++++++ pixman/src/icimage.h | 51 ------------------- pixman/src/icint.h | 10 ++++ pixman/src/ictrap.c | 6 --- pixman/src/ictri.c | 140 ++++++++++++++++++++++++++++----------------------- 5 files changed, 118 insertions(+), 121 deletions(-) commit 8bb4eb1beb020ed679a7644579253bd21f8bc970 Author: Carl Worth Date: Fri Feb 21 13:34:50 2003 +0000 Some reorganization and cruft removal pixman/ChangeLog.libic | 5 + pixman/src/ic.c | 1973 +++++++++++++++++++++++----------------------- pixman/src/icbltone.c | 130 --- pixman/src/iccompose.c | 1 + pixman/src/icformat.c | 20 - pixman/src/icimage.c | 1639 +++++++------------------------------- pixman/src/icimage.h | 18 - pixman/src/icint.h | 221 ------ pixman/src/ictransform.c | 70 ++ pixman/src/icutil.c | 81 -- 10 files changed, 1351 insertions(+), 2807 deletions(-) commit 18edad04edf860211260a1db4a7b58fd75715cf7 Author: Carl Worth Date: Fri Feb 21 10:07:17 2003 +0000 Started cleaning up public libic interface pixman/src/ic.c | 14 +- pixman/src/ic.h | 1008 +++--------------------------------------------- pixman/src/icimage.c | 24 +- pixman/src/icint.h | 956 ++++++++++++++++++++++++++++++++++++++++++++- pixman/src/icpixels.c | 4 +- pixman/src/icstipple.c | 2 +- pixman/src/ictrap.c | 6 +- 7 files changed, 1010 insertions(+), 1004 deletions(-) commit c9bf4bab84e6c1abbdcb2b7888918fc01e5cf063 Author: Carl Worth Date: Fri Feb 21 06:51:08 2003 +0000 Initial import of libic code, (still very preliminary). pixman/ChangeLog.libic | 4 + pixman/src/ic.c | 1183 ++++++++++++++++++++ pixman/src/ic.h | 1024 +++++++++++++++++ pixman/src/icblt.c | 926 ++++++++++++++++ pixman/src/icbltone.c | 867 +++++++++++++++ pixman/src/iccompose.c | 2900 ++++++++++++++++++++++++++++++++++++++++++++++++ pixman/src/icformat.c | 139 +++ pixman/src/icimage.c | 1641 +++++++++++++++++++++++++++ pixman/src/icimage.h | 1243 +++++++++++++++++++++ pixman/src/icint.h | 68 ++ pixman/src/icpixels.c | 118 ++ pixman/src/icrect.c | 152 +++ pixman/src/icrop.h | 139 +++ pixman/src/icstipple.c | 80 ++ pixman/src/ictrap.c | 1517 +++++++++++++++++++++++++ pixman/src/ictri.c | 342 ++++++ pixman/src/icutil.c | 363 ++++++ 17 files changed, 12706 insertions(+) commit d084434770b77d0751978bf6774eca00a6e7d646 Author: Carl Worth Date: Fri Feb 14 07:22:19 2003 +0000 Fixed transformed images to not be 1 pixel too big ChangeLog | 5 +++++ src/xrgstate.c | 4 ++-- xrgstate.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) commit d4ba730ba26d6a58ba81d733a75e4ce01a4bda72 Author: Carl Worth Date: Thu Feb 6 08:06:28 2003 +0000 Fixed algebra used by XrPenVerticesNeeded to avoid sqrt() of negative numbers. ChangeLog | 6 ++++++ src/xrint.h | 3 +++ src/xrpen.c | 15 +++++++-------- src/xrtransform.c | 21 ++++++++++++++------- xrint.h | 3 +++ xrpen.c | 15 +++++++-------- xrtransform.c | 21 ++++++++++++++------- 7 files changed, 54 insertions(+), 30 deletions(-) commit a4b439eb69710a3c2053e68f7716bbf76b5ceb7f Author: Carl Worth Date: Tue Jan 28 13:49:57 2003 +0000 Added round caps/joins. Fixed initial cap. Fixed disabling of dashing. ChangeLog | 22 +++++++ src/xrgstate.c | 46 +++++++------ src/xrint.h | 33 +++++----- src/xrpen.c | 96 +++++++++++++++++++++------ src/xrstroker.c | 201 +++++++++++++++++++++++++++++++++++++------------------- src/xrtraps.c | 62 +++++++++++++---- xrgstate.c | 46 +++++++------ xrint.h | 33 +++++----- xrpen.c | 96 +++++++++++++++++++++------ xrstroker.c | 201 +++++++++++++++++++++++++++++++++++++------------------- xrtraps.c | 62 +++++++++++++---- 11 files changed, 624 insertions(+), 274 deletions(-) commit 1507f1c795478c9cde970d1a750d0602407f6986 Author: Carl Worth Date: Tue Jan 28 07:23:54 2003 +0000 Added triangle tessellation. Converted bevel joins from polygons to triangles. ChangeLog | 8 ++++++++ src/xrint.h | 3 +++ src/xrstroker.c | 26 +++++++++++++++++--------- src/xrtraps.c | 31 +++++++++++++++++++++++++++++++ xrint.h | 3 +++ xrstroker.c | 26 +++++++++++++++++--------- xrtraps.c | 31 +++++++++++++++++++++++++++++++ 7 files changed, 110 insertions(+), 18 deletions(-) commit f93c88efbf84d6a2dab3a37608ae5c73c6dd22d3 Author: Carl Worth Date: Sat Jan 25 11:12:39 2003 +0000 Fixed round joins to not fall through to miter case src/xrstroker.c | 13 +++++-------- xrstroker.c | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) commit 341c446ba2c4d9833c3366edaa9b725b3ab2c8f6 Author: Carl Worth Date: Fri Jan 24 13:56:30 2003 +0000 Fixed xrpolygon for multiple sub-polygons src/xrpolygon.c | 2 ++ xrpolygon.c | 2 ++ 2 files changed, 4 insertions(+) commit 214662761e7ea372073f4a1a496c3859f893d6ac Author: Carl Worth Date: Fri Jan 24 13:52:01 2003 +0000 Fixed miter limit handling. Added local.def ChangeLog | 9 +++++++++ Imakefile | 5 +++-- README | 7 +++++-- local.def | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/xrstroker.c | 4 ++-- xrstroker.c | 4 ++-- 6 files changed, 74 insertions(+), 8 deletions(-) commit cdae3ba6155a7c883e52f1617edd9f6ab61df830 Author: Carl Worth Date: Tue Dec 3 12:37:59 2002 +0000 Fixed holes in self-intersecting splines, (from change to winding rule parameter interface) ChangeLog | 10 ++++++++++ TODO | 14 +++++++++++--- src/xrpen.c | 2 +- src/xrstroker.c | 4 ++-- xrpen.c | 2 +- xrstroker.c | 4 ++-- 6 files changed, 27 insertions(+), 9 deletions(-) commit 7f49b9ee83e277c5615e5e7a0c64f9df53ea5c85 Author: Keith Packard Date: Thu Nov 21 11:12:20 2002 +0000 Make Xr use XFTINCLUDES as it now uses Xft Imakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c8533a2ad96080889be9b2255c3236200dcb858 Author: Carl Worth Date: Mon Nov 11 12:46:17 2002 +0000 Fixes for transformed images ChangeLog | 20 +++++++++++++++++ Xr.h | 19 +++++++++++++++- src/Xr.h | 19 +++++++++++++++- src/xr.c | 32 +++++++++++++++++++++++++++ src/xrfiller.c | 4 +++- src/xrgstate.c | 64 +++++++++++++++++++++++++++++++++++++++++++----------- src/xrint.h | 16 +++++++++++++- src/xrpen.c | 5 ++++- src/xrsurface.c | 10 ++++----- src/xrtransform.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++---- xr.c | 32 +++++++++++++++++++++++++++ xrfiller.c | 4 +++- xrgstate.c | 64 +++++++++++++++++++++++++++++++++++++++++++----------- xrint.h | 16 +++++++++++++- xrpen.c | 5 ++++- xrsurface.c | 10 ++++----- xrtransform.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 17 files changed, 398 insertions(+), 52 deletions(-) commit 405598e4e0699bf5d4e2e0e7366a780219430cc8 Author: Carl Worth Date: Mon Nov 4 00:24:44 2002 +0000 Added group support. ChangeLog | 31 ++++++++++++ Xr.h | 7 +++ src/Xr.h | 7 +++ src/xr.c | 30 +++++++++++- src/xrfont.c | 4 +- src/xrgstate.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++---------- src/xrint.h | 48 +++++++++++++++--- src/xrstate.c | 1 + src/xrsurface.c | 113 +++++++++++++++++++++++++++++++++++++----- xr.c | 30 +++++++++++- xrfont.c | 4 +- xrgstate.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++---------- xrint.h | 48 +++++++++++++++--- xrstate.c | 1 + xrsurface.c | 113 +++++++++++++++++++++++++++++++++++++----- 15 files changed, 639 insertions(+), 94 deletions(-) commit ea0104b2c04e12e16b8243b3762b6e53c58f0a72 Author: Carl Worth Date: Sat Nov 2 10:24:12 2002 +0000 Fix memory leak of image pixmap ChangeLog | 5 +++++ src/xrsurface.c | 6 ++++++ xrsurface.c | 6 ++++++ 3 files changed, 17 insertions(+) commit e39a088a29cd7676ad6f33ac0f0f2c4d5035580b Author: Carl Worth Date: Fri Nov 1 19:45:30 2002 +0000 Partial image support. ChangeLog | 24 ++++++++ Xr.h | 27 ++++++++- src/Xr.h | 27 ++++++++- src/xr.c | 56 +++++++++++++++++++ src/xrfont.c | 2 +- src/xrgstate.c | 141 +++++++++++++++++++++++++++++++++++++---------- src/xrint.h | 56 ++++++++++++++++--- src/xrsurface.c | 166 +++++++++++++++++++++++++++++++++++++++++--------------- xr.c | 56 +++++++++++++++++++ xrfont.c | 2 +- xrgstate.c | 141 +++++++++++++++++++++++++++++++++++++---------- xrint.h | 56 ++++++++++++++++--- xrsurface.c | 166 +++++++++++++++++++++++++++++++++++++++++--------------- 13 files changed, 752 insertions(+), 168 deletions(-) commit fec91ede9e8bc725551e39619b65c32ad9abf3ce Author: Carl Worth Date: Wed Oct 30 21:54:50 2002 +0000 Moved Xft/fontconfig code up from Xc to Xr. Added XrTextExtents ChangeLog | 12 +++++++++ Xr.h | 7 ++++++ src/Xr.h | 7 ++++++ src/xr.c | 14 +++++++++++ src/xrcolor.c | 8 +++--- src/xrfont.c | 44 +++++++++++++++++++-------------- src/xrgstate.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++---------- src/xrint.h | 30 ++++++++++++++++------- src/xrsurface.c | 41 +++++++++++++++++++------------ xr.c | 14 +++++++++++ xrcolor.c | 8 +++--- xrfont.c | 44 +++++++++++++++++++-------------- xrgstate.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++---------- xrint.h | 30 ++++++++++++++++------- xrsurface.c | 41 +++++++++++++++++++------------ 15 files changed, 332 insertions(+), 120 deletions(-) commit f207f1db6489742c1061349f547ba34523969482 Author: Carl Worth Date: Tue Oct 29 17:27:01 2002 +0000 Added basic font support ChangeLog | 9 ++++ Imakefile | 2 + Xr.h | 15 +++++- src/Xr.h | 15 +++++- src/xr.c | 32 +++++++++++- src/xrfont.c | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/xrgstate.c | 64 ++++++++++++++++++----- src/xrint.h | 54 ++++++++++++++++++- src/xrsurface.c | 3 ++ xr.c | 32 +++++++++++- xrfont.c | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xrgstate.c | 64 ++++++++++++++++++----- xrint.h | 54 ++++++++++++++++++- xrsurface.c | 3 ++ 14 files changed, 631 insertions(+), 36 deletions(-) commit f64ebf489ba101ff99fb7910924f04291d272057 Author: Carl Worth Date: Mon Oct 28 09:00:10 2002 +0000 Added XrStatusInvalidRestore. Fixed XrSurface memory leak. ChangeLog | 9 +++++++++ Xr.h | 3 ++- src/Xr.h | 3 ++- src/xr.c | 3 --- src/xrgstate.c | 23 +++++++++++++++++------ src/xrint.h | 9 ++++++++- src/xrstate.c | 11 ++++++----- src/xrsurface.c | 29 +++++++++++++++++++---------- xr.c | 3 --- xrgstate.c | 23 +++++++++++++++++------ xrint.h | 9 ++++++++- xrstate.c | 11 ++++++----- xrsurface.c | 29 +++++++++++++++++++---------- 13 files changed, 113 insertions(+), 52 deletions(-) commit 84da6c1f7f1877662ad3e83858e77872426e2f14 Author: Carl Worth Date: Sat Oct 26 08:00:39 2002 +0000 Added TODO, README, and .cvsignore .cvsignore | 2 ++ README | 42 ++++++++++++++++++++++++++++++++++++++++++ TODO | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) commit 06ddeffeb7f41ba535453bcbcff0c452420dfd51 Author: Carl Worth Date: Sat Oct 26 07:59:31 2002 +0000 Moved current point state to XrGState and dropped relative operators from XrPath. This is all in preparation for XrShowText, (which needs access to the current point) ChangeLog | 57 +++++++++++++- Xr.h | 8 +- src/Xr.h | 8 +- src/xr.c | 190 ++++++++++++++++++++++++++++------------------ src/xrgstate.c | 221 ++++++++++++++++++++++++++++++++++++++++-------------- src/xrint.h | 87 ++++++++++++++------- src/xrpath.c | 121 ++++++++++++++++++------------ src/xrpen.c | 12 +-- src/xrstate.c | 4 +- src/xrstroker.c | 79 +++++++++---------- src/xrtransform.c | 22 +++--- xr.c | 190 ++++++++++++++++++++++++++++------------------ xrgstate.c | 221 ++++++++++++++++++++++++++++++++++++++++-------------- xrint.h | 87 ++++++++++++++------- xrpath.c | 121 ++++++++++++++++++------------ xrpen.c | 12 +-- xrstate.c | 4 +- xrstroker.c | 79 +++++++++---------- xrtransform.c | 22 +++--- 19 files changed, 1016 insertions(+), 529 deletions(-) commit 0b6fd5b4d11a6557b762696bbfb3ea7ec5233ed3 Author: Carl Worth Date: Thu Oct 24 11:27:29 2002 +0000 Added XrSetFillRule ChangeLog | 4 ++++ Xr.h | 5 +++++ src/Xr.h | 5 +++++ src/xr.c | 6 ++++++ src/xrfiller.c | 2 +- src/xrgstate.c | 8 +++++++- src/xrint.h | 10 ++++++---- src/xrtraps.c | 6 +++--- xr.c | 6 ++++++ xrfiller.c | 2 +- xrgstate.c | 8 +++++++- xrint.h | 10 ++++++---- xrtraps.c | 6 +++--- 13 files changed, 60 insertions(+), 18 deletions(-) commit 8379c09a5b7111235da02e6cd74bcbe06e120bcd Author: Carl Worth Date: Wed Oct 23 18:30:53 2002 +0000 Fix for paths with multiple polygons disjoint in Y ChangeLog | 5 +++++ src/xrtraps.c | 5 ++++- xrtraps.c | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) commit f07852454c2f34b9582d9a74ea83d74dcdb40dcc Author: Carl Worth Date: Wed Oct 23 11:58:38 2002 +0000 Added XrConcatMatrix, XrGetStatus. Properly clip color, alpha, and tolerance values from the user. Renamed _XrTransformPointWithoutTranslate to _XrTransformDistance. Added new XrIntStatus type for error codes that are not exported. Xr.h | 16 ++++++++++++++ src/Xr.h | 16 ++++++++++++++ src/xr.c | 37 +++++++++++++++++++++++++++++++++ src/xrfiller.c | 2 +- src/xrgstate.c | 22 ++++++++++++++++---- src/xrint.h | 26 ++++++++++++++--------- src/xrpen.c | 2 +- src/xrspline.c | 4 ++-- src/xrstroker.c | 16 +++++++------- src/xrtransform.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++----- xr.c | 37 +++++++++++++++++++++++++++++++++ xrfiller.c | 2 +- xrgstate.c | 22 ++++++++++++++++---- xrint.h | 26 ++++++++++++++--------- xrpen.c | 2 +- xrspline.c | 4 ++-- xrstroker.c | 16 +++++++------- xrtransform.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 18 files changed, 312 insertions(+), 62 deletions(-) commit 88237e451e9719a211c3f2292f7679d4ac25654a Author: Carl Worth Date: Wed Oct 16 12:57:00 2002 +0000 Various cleanups, (no functional changes). Changed arguments for XrRel* from x,y to dx,dy. Changed XrError to XrStatus. Added a prefix of '_' to all internal functions Xr.h | 10 +- src/Xr.h | 10 +- src/xr.c | 146 +++++++++++++-------------- src/xrcolor.c | 8 +- src/xrfiller.c | 54 +++++----- src/xrgstate.c | 264 ++++++++++++++++++++++++------------------------- src/xrint.h | 290 +++++++++++++++++++++++++++--------------------------- src/xrmisc.c | 2 +- src/xrpath.c | 76 +++++++------- src/xrpen.c | 114 ++++++++++----------- src/xrpolygon.c | 52 +++++----- src/xrspline.c | 88 ++++++++--------- src/xrstate.c | 40 ++++---- src/xrstroker.c | 224 ++++++++++++++++++++--------------------- src/xrsurface.c | 12 +-- src/xrtransform.c | 66 ++++++------- src/xrtraps.c | 98 +++++++++--------- xr.c | 146 +++++++++++++-------------- xrcolor.c | 8 +- xrfiller.c | 54 +++++----- xrgstate.c | 264 ++++++++++++++++++++++++------------------------- xrint.h | 290 +++++++++++++++++++++++++++--------------------------- xrmisc.c | 2 +- xrpath.c | 76 +++++++------- xrpen.c | 114 ++++++++++----------- xrpolygon.c | 52 +++++----- xrspline.c | 88 ++++++++--------- xrstate.c | 40 ++++---- xrstroker.c | 224 ++++++++++++++++++++--------------------- xrsurface.c | 12 +-- xrtransform.c | 66 ++++++------- xrtraps.c | 98 +++++++++--------- 32 files changed, 1544 insertions(+), 1544 deletions(-) commit fe0606c7635ec666c3ea0695d30adefe3f47caad Author: Carl Worth Date: Tue Oct 1 04:37:42 2002 +0000 Standardized bracing-style and indentation src/xrpath.c | 8 +++----- src/xrpen.c | 30 +++++++++++++++--------------- src/xrstroker.c | 19 ++++++------------- xrpath.c | 8 +++----- xrpen.c | 30 +++++++++++++++--------------- xrstroker.c | 19 ++++++------------- 6 files changed, 48 insertions(+), 66 deletions(-) commit cf44ac0f7a2a91b11cf614bdf916f2d46234826c Author: Carl Worth Date: Tue Oct 1 04:28:20 2002 +0000 Fixed pen when it has more than 2 duplicate vertices. Imposed minimum value on tolerance to avoid infinite recursion. src/xrgstate.c | 2 ++ src/xrint.h | 1 + src/xrpen.c | 2 ++ xrgstate.c | 2 ++ xrint.h | 1 + xrpen.c | 2 ++ 6 files changed, 10 insertions(+) commit c5e37af245f02d7c2a40dd2cf457cfac25f253b5 Author: Carl Worth Date: Fri Sep 20 09:43:42 2002 +0000 Fixed rounding bug in _ComputeX. Use if statement instead of while loop to increment intersection Y value src/xrtraps.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++----------- xrtraps.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 112 insertions(+), 26 deletions(-) commit e9255b4688fe516ade5a83a41c87036e686e3d1c Author: Carl Worth Date: Tue Sep 17 14:44:52 2002 +0000 Fixed intersection test for parallel lines src/xrtraps.c | 32 ++++++++++++++++++-------------- xrtraps.c | 32 ++++++++++++++++++-------------- 2 files changed, 36 insertions(+), 28 deletions(-) commit a2265c8e1bb35c649f2606f82caefdbf8cd86272 Author: Carl Worth Date: Tue Sep 17 14:21:36 2002 +0000 Added comments describing polygon tessellation algorithm src/xrtraps.c | 25 +++++++++++++++++++++++++ xrtraps.c | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) commit d334c8bf8f6814976ba12a31643917d0ede86088 Author: Carl Worth Date: Tue Sep 17 13:38:55 2002 +0000 Cleaned up polygon tessellation code. Fixes all known problems. src/xrint.h | 3 -- src/xrtraps.c | 119 +++++++++++++++++++++++++++++++++------------------------- xrint.h | 3 -- xrtraps.c | 119 +++++++++++++++++++++++++++++++++------------------------- 4 files changed, 136 insertions(+), 108 deletions(-) commit 546b33d3627639b5ef38615ab2797f36e5d18939 Author: Carl Worth Date: Fri Sep 13 19:01:01 2002 +0000 Fixed some broken polygons by adding another sort to polygon tessellation code. src/xrtraps.c | 92 +++++++++++++++++++++++++++++++++-------------------------- xrtraps.c | 92 +++++++++++++++++++++++++++++++++-------------------------- 2 files changed, 104 insertions(+), 80 deletions(-) commit b2d0004956a17c0cfa6ee2fd6a5a4dbacc6846b9 Author: Carl Worth Date: Fri Sep 13 13:27:51 2002 +0000 Fixed _XrPenVerticesNeeded to not return negative numbers under scaling src/xrpen.c | 19 ++++++++++--------- xrpen.c | 19 ++++++++++--------- 2 files changed, 20 insertions(+), 18 deletions(-) commit 1fa0a496bb9689a5ebeacabd9cc3d05d48a1f4c3 Author: Carl Worth Date: Fri Sep 13 12:55:37 2002 +0000 Removed state from XrFiller that was redundant with state in XrPolygon. Fixed state update in XrStroker so that paths with multiple subpaths work. Simplified error-prone sorting in XrPenAddPoints. Renamed XrPenVertexTag to XrPenVertexFlag, (to allow for a single vertex that is the starting point for both the forward and reverse half-path). Xr.h | 2 -- src/Xr.h | 2 -- src/xrfiller.c | 17 +-------- src/xrint.h | 26 ++++++-------- src/xrpen.c | 104 ++++++++++++++++++++++++++------------------------------ src/xrstroker.c | 26 +++++++------- src/xrtraps.c | 12 ++++--- xrfiller.c | 17 +-------- xrint.h | 26 ++++++-------- xrpen.c | 104 ++++++++++++++++++++++++++------------------------------ xrstroker.c | 26 +++++++------- xrtraps.c | 12 ++++--- 12 files changed, 158 insertions(+), 216 deletions(-) commit 2ba3786b272b89da4f7fd264db55dc0a4744aad9 Author: Carl Worth Date: Tue Sep 10 09:51:14 2002 +0000 Fixed rendering of degenerate splines. Changed XrStrokeFace to define everything in terms of the direction of the path src/xrfiller.c | 5 ++++- src/xrint.h | 5 +++-- src/xrspline.c | 16 ++++++---------- src/xrstroker.c | 58 ++++++++++++++++++++------------------------------------- xrfiller.c | 5 ++++- xrint.h | 5 +++-- xrspline.c | 16 ++++++---------- xrstroker.c | 58 ++++++++++++++++++++------------------------------------- 8 files changed, 66 insertions(+), 102 deletions(-) commit 5f1938f26ff64d9036a5f78cdc47641427924a1d Author: Carl Worth Date: Tue Sep 10 08:01:00 2002 +0000 Fixed spline error calculation. New effort to compute spline initial/final slopes even for degenerate splines, (degenerate splines are still broken somewhere though). Imakefile | 2 + src/xrgstate.c | 25 ++++++++---- src/xrint.h | 20 +++++++--- src/xrmisc.c | 34 ++++++++++++++++ src/xrpath.c | 2 - src/xrpen.c | 22 ++++------- src/xrpolygon.c | 1 + src/xrspline.c | 118 ++++++++++++++++++++++++++++++++++++++++++++------------ src/xrtraps.c | 1 + xrgstate.c | 25 ++++++++---- xrint.h | 20 +++++++--- xrmisc.c | 34 ++++++++++++++++ xrpath.c | 2 - xrpen.c | 22 ++++------- xrpolygon.c | 1 + xrspline.c | 118 ++++++++++++++++++++++++++++++++++++++++++++------------ xrtraps.c | 1 + 17 files changed, 340 insertions(+), 108 deletions(-) commit 44ca388c90aea7ed1b04784ddf3e53b339e0eb32 Author: Carl Worth Date: Thu Sep 5 13:12:23 2002 +0000 Fix polygon stroking so last final face is rendered exactly. Fix bug in which XrPolygonAddPt with horizontal edge would then drop the next edge. src/xrint.h | 2 +- src/xrpen.c | 49 +++++++++++++++++++++++++++++-------------------- src/xrpolygon.c | 3 ++- src/xrstroker.c | 6 +----- xrint.h | 2 +- xrpen.c | 49 +++++++++++++++++++++++++++++-------------------- xrpolygon.c | 3 ++- xrstroker.c | 6 +----- 8 files changed, 66 insertions(+), 54 deletions(-) commit bc362fc2e4bcf2324eda74c5d6290f4da6645e20 Author: Carl Worth Date: Thu Sep 5 10:06:44 2002 +0000 Corrected XrPenVerticesNeeded for handling transformed pens src/xrint.h | 3 +++ src/xrpen.c | 26 ++++++++++++++++---------- src/xrtransform.c | 32 ++++++++++++++++++++++++++++++++ xrint.h | 3 +++ xrpen.c | 26 ++++++++++++++++---------- xrtransform.c | 32 ++++++++++++++++++++++++++++++++ 6 files changed, 102 insertions(+), 20 deletions(-) commit 34ab06281fe53dde2d9b12780221b91dbafe940a Author: Carl Worth Date: Wed Sep 4 16:11:35 2002 +0000 Fixed brain-damaged XrPenVertexCompareByTheta. Correctly handle degenerate miter joins src/xrpen.c | 9 ++++++++- src/xrstroker.c | 10 ++++++++++ xrpen.c | 9 ++++++++- xrstroker.c | 10 ++++++++++ 4 files changed, 36 insertions(+), 2 deletions(-) commit 13216da122ba167d8a2c0a5bca37c844ccea2026 Author: Carl Worth Date: Wed Sep 4 07:28:56 2002 +0000 Fixed pen to transform user-space radius to device space, (vertices_needed computation still broken). Pen now behaves well when an extra point is coincident with an original vertex point. Xr.h | 4 ---- src/Xr.h | 4 ---- src/xrgstate.c | 5 ++++- src/xrint.h | 2 +- src/xrpen.c | 36 +++++++++++++++++++++++++++--------- src/xrstroker.c | 47 ++++++++++++++++++++++++++++++----------------- xrgstate.c | 5 ++++- xrint.h | 2 +- xrpen.c | 36 +++++++++++++++++++++++++++--------- xrstroker.c | 47 ++++++++++++++++++++++++++++++----------------- 10 files changed, 124 insertions(+), 64 deletions(-) commit cf6f2e67d9ff908054779480699440ea2736fe68 Author: Carl Worth Date: Tue Sep 3 08:42:25 2002 +0000 Added initial spline support. Added XrSetTolerance Xr.h | 5 +- src/Xr.h | 5 +- src/xr.c | 11 ++- src/xrfiller.c | 29 +++++-- src/xrgstate.c | 10 +++ src/xrint.h | 66 +++++++++++--- src/xrpen.c | 264 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- src/xrpolygon.c | 58 +++++++++++++ src/xrspline.c | 164 ++++++++++++++++++++++++++++++++++- src/xrstroker.c | 136 +++++++++++++++++++++-------- src/xrtraps.c | 6 +- xr.c | 11 ++- xrfiller.c | 29 +++++-- xrgstate.c | 10 +++ xrint.h | 66 +++++++++++--- xrpen.c | 264 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- xrpolygon.c | 58 +++++++++++++ xrspline.c | 164 ++++++++++++++++++++++++++++++++++- xrstroker.c | 136 +++++++++++++++++++++-------- xrtraps.c | 6 +- 20 files changed, 1354 insertions(+), 144 deletions(-) commit 25011eade4e33030bd86392e44bc02c945c5c0c3 Author: Keith Packard Date: Sun Aug 18 22:55:58 2002 +0000 Add dashed line support. Needs work to simplify some case analysis. src/xrgstate.c | 10 ++- src/xrint.h | 8 ++ src/xrstroker.c | 225 ++++++++++++++++++++++++++++++++++++++++++++++++++------ xrgstate.c | 10 ++- xrint.h | 8 ++ xrstroker.c | 225 ++++++++++++++++++++++++++++++++++++++++++++++++++------ 6 files changed, 436 insertions(+), 50 deletions(-) commit f20a4a96c77a251e18dc65f1ab9c24a10007b466 Author: Carl Worth Date: Thu Aug 15 17:33:00 2002 +0000 Fixed XrPen stubs Imakefile | 2 ++ src/xrpen.c | 5 ++++- xrpen.c | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) commit 2d8f2f4946b789b5d14731e8eed77dc63dee035c Author: Carl Worth Date: Thu Aug 15 17:30:03 2002 +0000 Added xrpen/xrspline src/xrpen.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/xrspline.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ xrpen.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xrspline.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 208 insertions(+) commit c1c7ee62bcf7e412fb74552ce171fbe44f5b4e7b Author: Carl Worth Date: Thu Aug 15 17:29:26 2002 +0000 Cleaned up XrPathInterpret. Prepare for splines Imakefile | 4 ++ src/xrfiller.c | 94 ++++++++++++++++++++++++++++++++++++++++ src/xrgstate.c | 51 +++++++++++++--------- src/xrint.h | 113 ++++++++++++++++++++++++++++++++++++++++++------ src/xrpath.c | 126 +++++++++++++++++++++++++----------------------------- src/xrpolygon.c | 54 ++++++++++------------- src/xrstroker.c | 46 +++++++++++++++++++- src/xrtransform.c | 8 ---- xrfiller.c | 94 ++++++++++++++++++++++++++++++++++++++++ xrgstate.c | 51 +++++++++++++--------- xrint.h | 113 ++++++++++++++++++++++++++++++++++++++++++------ xrpath.c | 126 +++++++++++++++++++++++++----------------------------- xrpolygon.c | 54 ++++++++++------------- xrstroker.c | 46 +++++++++++++++++++- xrtransform.c | 8 ---- 15 files changed, 706 insertions(+), 282 deletions(-) commit 20f631ce22d1189410d21db077e3b38a70e06bf7 Author: Keith Packard Date: Thu Aug 15 17:19:28 2002 +0000 Add dashes, collapse stroke_style/fill_style into gstate Xr.h | 3 +++ src/Xr.h | 3 +++ src/xr.c | 9 +++++++++ src/xrgstate.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++---------- src/xrint.h | 23 +++++++++++---------- src/xrstroker.c | 19 +++++++++--------- xr.c | 9 +++++++++ xrgstate.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++---------- xrint.h | 23 +++++++++++---------- xrstroker.c | 19 +++++++++--------- 10 files changed, 168 insertions(+), 64 deletions(-) commit ba6c4971300181f64084437ba190e90c6c21cc5e Author: Keith Packard Date: Thu Aug 15 16:48:16 2002 +0000 Fix combined transforms, fix caps/joins under transform src/xrgstate.c | 2 +- src/xrpath.c | 2 ++ src/xrstroker.c | 75 ++++++++++++++++++++++++++++++++++++++++++++----------- src/xrtransform.c | 12 ++++++--- xrgstate.c | 2 +- xrpath.c | 2 ++ xrstroker.c | 75 ++++++++++++++++++++++++++++++++++++++++++++----------- xrtransform.c | 12 ++++++--- 8 files changed, 144 insertions(+), 38 deletions(-) commit 91f09687e5bebd8436e2e1c34ec153b976a3cc30 Author: Carl Worth Date: Thu Aug 15 05:22:59 2002 +0000 Added error handling (Xr shutdown) for out-of-memory handling. Started adding spline functions. Xr.h | 12 ++++++ src/Xr.h | 12 ++++++ src/xr.c | 93 ++++++++++++++++++++++++++++++++++++++---- src/xrgstate.c | 116 +++++++++++++++++++++++++++++++++++----------------- src/xrint.h | 59 +++++++++++++-------------- src/xrpath.c | 124 ++++++++++++++++++++++++++++++++++---------------------- src/xrpolygon.c | 31 +++++++++----- src/xrstate.c | 22 ++++++++-- src/xrstroker.c | 92 ++++++++++++++++------------------------- src/xrtraps.c | 94 ++++++++++++++++++++++-------------------- xr.c | 93 ++++++++++++++++++++++++++++++++++++++---- xrgstate.c | 116 +++++++++++++++++++++++++++++++++++----------------- xrint.h | 59 +++++++++++++-------------- xrpath.c | 124 ++++++++++++++++++++++++++++++++++---------------------- xrpolygon.c | 31 +++++++++----- xrstate.c | 22 ++++++++-- xrstroker.c | 92 ++++++++++++++++------------------------- xrtraps.c | 94 ++++++++++++++++++++++-------------------- 18 files changed, 804 insertions(+), 482 deletions(-) commit ba3bce9d7e3ad45db5a2ce115404bd332d868ac7 Author: Keith Packard Date: Thu Aug 15 03:50:28 2002 +0000 Note that the only rectangles could be quickly converted to traps. Add miter joins src/xrint.h | 6 ++--- src/xrstroker.c | 78 ++++++++++++++++++++++++++++++++++++++++++++------------- src/xrtraps.c | 16 +----------- xrint.h | 6 ++--- xrstroker.c | 78 ++++++++++++++++++++++++++++++++++++++++++++------------- xrtraps.c | 16 +----------- 6 files changed, 126 insertions(+), 74 deletions(-) commit e55de618e7386364032fc4985a67942cd7a825eb Author: Keith Packard Date: Wed Aug 14 19:19:33 2002 +0000 Add bevel joins src/xrgstate.c | 4 ++-- src/xrint.h | 3 +++ src/xrpath.c | 5 ----- src/xrpolygon.c | 6 ++++++ src/xrstroker.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++--------- xrgstate.c | 4 ++-- xrint.h | 3 +++ xrpath.c | 5 ----- xrpolygon.c | 6 ++++++ xrstroker.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 10 files changed, 130 insertions(+), 34 deletions(-) commit 6b1903c40e74d13a9387ff1afa5fa5d19c1b8a29 Author: Keith Packard Date: Wed Aug 14 18:32:42 2002 +0000 Prepare for joins and caps Imakefile | 4 ++++ src/xrint.h | 18 ++++++++++++++++ src/xrpath.c | 21 ++++++++++++++++-- src/xrstroker.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++----------- xrint.h | 18 ++++++++++++++++ xrpath.c | 21 ++++++++++++++++-- xrstroker.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++----------- 7 files changed, 186 insertions(+), 30 deletions(-) commit 71b804a30163404eb30df6d81a9ee3477e0d5bcb Author: Carl Worth Date: Wed Aug 14 17:32:22 2002 +0000 Fixed XrFill to implicitly call ClosePath. Broke off XrFillStyle/XrStrokeStyle src/xr.c | 1 + src/xrgstate.c | 37 +++++++++++++++++++++++++------------ src/xrint.h | 26 ++++++++++++++------------ src/xrpath.c | 27 --------------------------- src/xrstroker.c | 5 +++-- xr.c | 1 + xrgstate.c | 37 +++++++++++++++++++++++++------------ xrint.h | 26 ++++++++++++++------------ xrpath.c | 27 --------------------------- xrstroker.c | 5 +++-- 10 files changed, 86 insertions(+), 106 deletions(-) commit 466fc8700f22e6635997a5b427732d51b9d6b5cd Author: Carl Worth Date: Wed Aug 14 00:44:28 2002 +0000 Handle degenerate polygons (no edges) src/xrtraps.c | 5 ++++- xrtraps.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) commit 48bd9e5d30be831e71f12def2e521a7fa713e06a Author: Carl Worth Date: Wed Aug 14 00:39:43 2002 +0000 Total rewrite of path storage/interpretation in preparation for splines. Imakefile | 6 +- Xr.h | 33 +++-- src/Xr.h | 33 +++-- src/xr.c | 41 +++--- src/xrcolor.c | 33 +++-- src/xrgstate.c | 289 ++++++--------------------------------- src/xrint.h | 206 ++++++++++++++-------------- src/xrpath.c | 393 +++++++++++++++++++++++++++++++++++++++++++----------- src/xrpolygon.c | 104 +++++++++++++++ src/xrstate.c | 33 +++-- src/xrstroker.c | 141 ++++++++++++++++++++ src/xrsurface.c | 33 +++-- src/xrtransform.c | 33 +++-- src/xrtraps.c | 210 +++++++++-------------------- xr.c | 41 +++--- xrcolor.c | 33 +++-- xrgstate.c | 289 ++++++--------------------------------- xrint.h | 206 ++++++++++++++-------------- xrpath.c | 393 +++++++++++++++++++++++++++++++++++++++++++----------- xrpolygon.c | 104 +++++++++++++++ xrstate.c | 33 +++-- xrstroker.c | 141 ++++++++++++++++++++ xrsubpath.c | 150 --------------------- xrsurface.c | 33 +++-- xrtransform.c | 33 +++-- xrtraps.c | 210 +++++++++-------------------- 26 files changed, 1718 insertions(+), 1536 deletions(-) commit 9824dc894440bc2566206bb5f04d403d68bf24c0 Author: Carl Worth Date: Mon Aug 12 11:43:56 2002 +0000 Fixed XrPathClose to deal with empty path src/xrpath.c | 6 ++++-- xrpath.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit c2824c4ded348a6cfa56ab55db5857d3021f54ca Author: Carl Worth Date: Mon Aug 12 09:38:05 2002 +0000 Stabilized the sort used to generate traps. Discard degenerate traps Imakefile | 13 ++++--------- src/xrgstate.c | 2 +- src/xrtraps.c | 10 +++++++++- xrgstate.c | 2 +- xrtraps.c | 10 +++++++++- 5 files changed, 24 insertions(+), 13 deletions(-) commit c44bf18e78f502fb30fa62db171216289d5ee5d3 Author: Carl Worth Date: Wed Aug 7 19:49:36 2002 +0000 Fixed missing semicolon. src/xrsurface.c | 2 +- xrsurface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9ee45ab8164593f1e368b99c0d63bd4b21a4daa1 Author: Carl Worth Date: Wed Aug 7 19:48:49 2002 +0000 Fixed missing xrtraps.c src/xrtraps.c | 494 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xrtraps.c | 494 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 988 insertions(+) commit f7f194c47dbf20a9ba56bb928be78530c98bc16c Author: Carl Worth Date: Tue Jul 23 07:22:56 2002 +0000 Added ChangeLog ChangeLog | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit f8fef556d7b5eb391ce52d4307252e4a1a30b024 Author: Carl Worth Date: Tue Jul 23 07:22:23 2002 +0000 See ChangeLog for 2002-07-16 Imakefile | 10 ++- Xr.h | 79 +++++++++++++++-- src/Xr.h | 79 +++++++++++++++-- src/xr.c | 26 +++++- src/xrcolor.c | 16 ++-- src/xrgstate.c | 264 +++++++++++++++++++++++++++++++++++++------------------- src/xrint.h | 110 +++++++++++++++++------ src/xrpath.c | 6 +- src/xrsurface.c | 134 ++++++++++++++++++++++++++++ xr.c | 26 +++++- xrcolor.c | 16 ++-- xrgstate.c | 264 +++++++++++++++++++++++++++++++++++++------------------- xrint.h | 110 +++++++++++++++++------ xrpath.c | 6 +- xrpicture.c | 134 ---------------------------- xrsubpath.c | 5 +- xrsurface.c | 134 ++++++++++++++++++++++++++++ 17 files changed, 1015 insertions(+), 404 deletions(-) commit 093b754cb1014ed95baaa1bde579d033d7856e46 Author: Carl Worth Date: Fri Jun 14 15:13:44 2002 +0000 Added XrSetVisual, XrSetFormat. Fixed XrSetAlpha. Fixed transformed line widths, (added inverse CTM). Xr.h | 16 +++++++++-- src/Xr.h | 16 +++++++++-- src/xr.c | 27 +++++++++++------- src/xrcolor.c | 1 + src/xrgstate.c | 82 +++++++++++++++++++++++++++++++++++++++---------------- src/xrint.h | 38 ++++++++++++++++++++------ src/xrtransform.c | 77 +++++++++++++++++++++++++++++++++++---------------- xr.c | 27 +++++++++++------- xrcolor.c | 1 + xrgstate.c | 82 +++++++++++++++++++++++++++++++++++++++---------------- xrint.h | 38 ++++++++++++++++++++------ xrpicture.c | 60 ++++++++++++++++++++++++++++++---------- xrsubpath.c | 6 ++-- xrtransform.c | 77 +++++++++++++++++++++++++++++++++++---------------- 14 files changed, 394 insertions(+), 154 deletions(-)