Carl Worth
eecfec86f1
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.
2004-12-20 09:53:06 +00:00
Alexander Larsson
5c1c5e67dc
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.
2004-12-20 09:43:59 +00:00
Carl Worth
8fe87a32a8
Add Alexander Larsson to AUTHORS list.
2004-12-20 08:58:38 +00:00
Carl Worth
cc0c442d04
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 <alexl@redhat.com>.
2004-12-20 08:56:50 +00:00
Carl Worth
e3fe2138fe
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.
2004-12-20 08:52:47 +00:00
Carl Worth
682202fdfa
Disabled test that was killing my machine for some reason. Scary.
2004-12-20 08:08:29 +00:00
Carl Worth
725d363877
Change return value from cairo_status_t to cairo_int_status_t to match definition in cairo_surface_backend_t.
2004-12-20 07:38:38 +00:00
Carl Worth
31534f264c
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.
2004-12-20 07:32:45 +00:00
Alexander Larsson
e291f1d882
Special case solid color rectangle fills.
2004-12-20 06:15:21 +00:00
Carl Worth
a827069cc5
Fix to find reference images in local directory when run directly, (rather than by "make check").
2004-12-17 13:23:32 +00:00
Carl Worth
5c33c78c8c
Add bug about invalidating font caches.
2004-12-17 11:31:05 +00:00
Øyvind Kolås
e656b1f3ba
normalizing ChangeLog headers
2004-12-06 00:01:45 +00:00
David Reveman
cb0364a28c
Revert clipping changes
2004-12-01 16:27:18 +00:00
Carl Worth
e5d50e0759
Fix typo: LPGL->LGPL.
2004-11-29 18:25:23 +00:00
Carl Worth
d098370411
Remove unintentional copyright statement from user-generated output image.
2004-11-29 14:11:26 +00:00
Carl Worth
5c143241df
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.
2004-11-23 13:38:09 +00:00
Carl Worth
7478ea5051
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 <assert.h> 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 <assert.h> 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.
2004-11-23 12:53:46 +00:00
Carl Worth
78f1206bf8
Don't destroy a NULL font.
2004-11-14 10:07:54 +00:00
Carl Worth
2b76ec2d46
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).
2004-11-13 19:46:18 +00:00
Stuart Parmenter
d29237e9c0
Added GDI+ backend to Cairo.
2004-11-12 14:46:23 +00:00
Carl Worth
b6a2e10301
Move declarations above statements to satisfy pre-C99 compilers. Thanks to Michael Johnson <ahze@ahze.net>.
2004-11-12 06:12:20 +00:00
Carl Worth
10deb4c4ae
Added BUG entry
2004-11-11 12:15:12 +00:00
Carl Worth
fe728e5532
(draw): Move x_off, y_off calculation outside of loop to emphasize loop-independence.
2004-11-09 14:27:32 +00:00
Carl Worth
9dacc32fbc
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.
2004-11-09 14:22:37 +00:00
Dave Beckett
a373313c73
Fix the bit that patch --reverse failed to do. "cvs diff -r1.256 ChangeLog" is just my change now.
2004-11-08 14:15:31 +00:00
Dave Beckett
186f14eeb6
Restore the huge bit of ChangeLog I just deleted, then add my 6 lines.
2004-11-08 14:08:16 +00:00
Dave Beckett
9d03237884
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
2004-11-08 13:33:42 +00:00
Graydon Hoare
ed08ea6bba
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.
2004-11-05 10:57:50 +00:00
Carl Worth
12a86de2c4
Add new test demonstrating assertion failure in cairo_cache_lookup.
...
Add new test showing problems with rotated text.
2004-11-04 14:23:50 +00:00
David Reveman
ca61417f7d
Tracking changes to glitz
2004-11-03 15:28:37 +00:00
David Reveman
f1cf7d4331
Fixed return status of _cairo_gstate_clip
2004-11-03 15:05:24 +00:00
Olivier Andrieu
32cde60a05
remove cairo_ft_font_destroy() prototype.
2004-11-01 07:58:27 +00:00
Carl Worth
0340265ce4
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.
2004-10-28 08:48:07 +00:00
Carl Worth
2473e782ca
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.
2004-10-28 08:36:42 +00:00
Carl Worth
327dc6f2ae
Add note on reverted tessellation regression bugs.
2004-10-27 13:19:39 +00:00
Carl Worth
d18aad05f3
Increment CAIRO_VERSION to 0.2.0.
...
Add notes for snapshot 0.2.0.
2004-10-27 13:13:39 +00:00
Carl Worth
377983fdf3
Update release instructions for new release-publish target.
...
Add release-check and release-publish targets copied from libpixman.
2004-10-27 11:59:56 +00:00
Carl Worth
39d57762a6
Fix to always link tests against locally built library, not installed version.
2004-10-27 11:42:45 +00:00
Carl Worth
1839d679b1
Put the tag command back which was accidentally removed from the instructions.
2004-10-27 10:53:44 +00:00
Carl Worth
667fa8fc15
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.
2004-10-27 10:48:58 +00:00
Carl Worth
944b1721e1
Suggest "cvs -q update -Ad" as an alternative to checkout.
2004-10-27 09:43:22 +00:00
Carl Worth
ed1ad71417
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.
2004-10-27 09:37:34 +00:00
Carl Worth
19d3fc2399
Switch from two different buggy mod macros to a new MOD macro which should work in C89 or C99.
2004-10-27 07:26:36 +00:00
Carl Worth
083de72017
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.
2004-10-26 18:19:55 +00:00
Carl Worth
240276d792
Shell doesn't like whitespace around assignment operator.
2004-10-26 16:59:22 +00:00
Carl Worth
211b19b475
Add paragraph on new features.
2004-10-26 16:31:31 +00:00
Carl Worth
f8e632ab1e
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.
2004-10-26 14:38:43 +00:00
Carl Worth
bf8374dba2
Convert all files to utf-8. Add copyright information to cairo_png_surface.c.
2004-10-21 18:40:50 +00:00
Carl Worth
215d5c5a46
Fix comparison so that it results in a stable sort. This should fix some rendering bugs due to broken pens.
2004-10-21 18:26:25 +00:00
Carl Worth
de115d07c3
Add items on custom caps and getting access to hidden image data
2004-10-21 08:55:46 +00:00