Carl Worth
031943b4e4
file dash-caps-joins.c was added on branch BRANCH_1_0 on 2005-09-27 19:51:00 +0000
2005-09-27 12:44:32 +00:00
Carl Worth
e26ebe1053
file dash-caps-joins-ref.png was added on branch BRANCH_1_0 on 2005-09-27 19:51:00 +0000
2005-09-27 12:44:32 +00:00
Carl Worth
6cf8e5b58b
Add two test cases. One for caps and joins (passes), and one for dashed caps and joins, (fails, see bug #4409 ).
2005-09-27 11:35:48 +00:00
Carl Worth
effdcbb5ac
file caps-joins.c was added on branch BRANCH_1_0 on 2005-09-27 19:51:00 +0000
2005-09-27 11:35:18 +00:00
Carl Worth
2fb549133e
file caps-joins-ref.png was added on branch BRANCH_1_0 on 2005-09-27 19:51:00 +0000
2005-09-27 11:35:18 +00:00
Carl Worth
8b4d49921d
Backported from HEAD:
...
Portability improvements for win32 thanks to Hans Breuer <hans@breuer.org>:
Defined sized-integer types when under the influence of _MSC_VER and without stdint.h.
Use #error which is more portable than #warning, (and more indicative of where we want to be before the next release).
2005-09-26 15:48:06 +00:00
Carl Worth
ae40e31976
Backported from HEAD:
...
Protect inclusion of fontconfig.h with HAVE_FCFINI.
Remove stray cairo-ft.h include.
Include stddef.h for NULL.
Open the file rb.
2005-09-26 15:43:17 +00:00
Tor Lillqvist
975bfe3730
If GetGlyphOutlineW() fails, set metrics to zero. ( #3927 , Hans Breuer) (Don't print error message, as this might occur frequently with a misconfigured Pango 1.10.0.)
2005-09-26 09:09:37 +00:00
Tor Lillqvist
80b2fae5f1
Set LOGFONT::lfHeight negative. A negative lfHeight means "em height" which is what we want, and matches how other toolkits interpret font sizes on Win32. (Positive lfHeight means "cell height".) ( #4593 )
2005-09-26 09:05:14 +00:00
Tor Lillqvist
4974affc3f
Pass scratch space instead of NULL for image_extra to acquire/release_dest_image.
2005-09-20 08:23:20 +00:00
Carl Worth
e54787b78d
Avoid attempting to create a size-0 Pixmap, (to prevent the associated X error). This actually showed up when the clip region is empty. Thanks to Radek Doulík for the bug report.
...
Remove clip-all from the XFAIL list since it works now.
2005-09-19 17:27:22 +00:00
Carl Worth
e39b239171
Originally: 2005-09-19 Hans Breuer <hans@breuer.org>
...
src/cairoint.h : win32 specific definitions for CAIRO_MUTEX_DECLARE, CAIRO_MUTEX_LOCK etc. [not based on win32 mutex but critical sections]
src/cairo-win32-surface.c : add DllMain() to do global, single-threaded 'mutex' (de)initialization. No ifdefs needed, some variables would simply not be used when the respective backend would not be compiled in.
2005-09-19 14:28:39 +00:00
Billy Biggs
dbe0552ed3
Bug #4414 , reviewed by otaylor, cworth.
...
Remove -msse from the MMX CFLAGS as it causes gcc to emit SSE instructions, however the detection code only checks for processors supporting MMX and does not require SSE. Fix the MMX test to only check for MMX intrinsics and not the SSE intrinsics.
2005-09-18 19:56:32 +00:00
Billy Biggs
178909580f
Bug #4414 , reviewed by otaylor, cworth.
...
Remove CPU detection code, only include xmmintrin.h if USE_SSE is defined.
Move CPU detection code out of the MMX file and into the generic code to avoid compiling it with -mmmx and -msse. Using these options causes gcc to use MMX and SSE instructions in the CPU detection code which causes SIGILLs on older processors.
2005-09-18 19:55:54 +00:00
Carl Worth
4ea8d8544e
Tested by: John Ellson Closes bug #4408 https://bugs.freedesktop.org/show_bug.cgi?id=4408
...
Add support for dashed splines. (The antialiasing quality isn't perfect, but at least the curves are dashed now).
2005-09-16 10:25:40 +00:00
Owen Taylor
a9b89bf898
Bug #4260 , Reviewed by B. Biggs
...
Use & not && for bitwise AND.
src/fbpict.c src/fbmmx.c: Take 'dest' as an argument, if pict and dest don't match for RGB, BGR, swap result.
2005-09-16 06:43:41 +00:00
Carl Worth
a85f9916a9
Expand locking to include all modification of cairo_scaled_font and related objects.
2005-09-13 15:41:16 +00:00
Carl Worth
4a07803919
Adjust parameters to stress things a bit more, (better exposing another locking bug).
2005-09-13 12:38:06 +00:00
Carl Worth
36f4bb9837
Expand locking to encapsulate any modification to the reference count of a scaled font, rather than just modifcations of the scaled_font_map, since scaled fonts are shared between threads.
2005-09-13 12:28:00 +00:00
Carl Worth
33820b0475
Add documentation for cairo_test functions.
...
Abstract log fie creation into cairo_test_init for use by tests that don't use cairo_test().
Add new test for bug #4299 as reported by Alexey Shabalin.
2005-09-13 12:20:15 +00:00
Carl Worth
95557db5cf
file pthread-show-text.c was added on branch BRANCH_1_0 on 2005-09-13 19:22:45 +0000
2005-09-13 12:11:32 +00:00
Carl Worth
ec413ca3a4
Fix for bug #4401 as reported by Tim Mooney:
...
Don't bother checking for sincos function.
Don't use sincos function since it is apparently buggy on some platforms, (Tru64 at least).
2005-09-12 11:11:48 +00:00
Carl Worth
b9809741dd
Add includes to get sized-integers types such as uint32_t.
...
Fix declaration of image data array to be uint32_t rather than unsigned long. Fixes four out of the remaining five failures in bug #4245 .
2005-09-01 02:17:37 +00:00
Carl Worth
267f272ab0
Add call to XSynchronize, (the expected clip-all failure isn't occuring without it for some reason).
...
Note reason for expected failure.
2005-08-31 16:15:53 +00:00
Owen Taylor
d521fa3a75
Handle displays which don't match the local endianness by byteswapping on GetImage/PutImage. ( #4321 , reported by Sjoerd Simons)
2005-08-31 15:09:43 +00:00
Carl Worth
568ce86026
Increment CAIRO_VERSION to 1.1.1 after making branch tag BRANCH_1_0.
2005-08-31 14:43:31 +00:00
Carl Worth
41c321fffa
Add note to use ./autogen.sh instead of ./configure when working with source from cvs.
2005-08-31 13:52:19 +00:00
Carl Worth
eb2316ecc7
Fix test to not try to set a non-invertible matrix. (We'd gotten away with this due to round-off error on many systems). Fixes one out of six failures in bug #4245 .
2005-08-31 13:33:42 +00:00
Carl Worth
464c6dffcf
Add Radek Doulík.
...
Add test exposing a BadValue (0-size pixmap) bug in cairo-xlib-surface when everything is clipped away (thanks to Radek Doulík <rodo@novell.com>).
2005-08-31 09:00:01 +00:00
Owen Taylor
44d6afc8a8
Liberalize the ServerVendor check so that we can handle the Mandriva vendor string. ( #4298 , Frederic Crozat)
2005-08-30 10:50:27 +00:00
Owen Taylor
a4418a63d7
Use a 8xN rather than a 1xN strip for a vertical gradient. This is much more tolerant of slow compositing code, and is worth some extra expense computing the gradient. ( #4263 , found in test case from Richard Stellingwerff)
2005-08-30 10:42:17 +00:00
Owen Taylor
2120864edf
Use local labels rather than global labels in the assembly, to be robust if the code is inlined in multiple places. ( #4283 , Reported by Marco Manfredini)
2005-08-28 12:52:10 +00:00
Billy Biggs
a83537fe02
Some fixes for warnings from sparse (Part of bug #4208 , Kjartan Maraas)
...
Use NULL not 0.
2005-08-27 19:32:57 +00:00
Owen Taylor
96342fe7be
Make the check for rectangular trapezoids simpler and more accurate. ( #4220 , found using test case from Richard Stellingwerff)
...
reviewed by: cworth
2005-08-27 18:54:03 +00:00
Owen Taylor
30e3d538df
Make the vendor string check for XFree86 more liberal, to deal with older versions of gentoo that modified it in a different way. ( #4231 , fix from Billy Biggs)
2005-08-27 18:49:06 +00:00
Owen Taylor
a6acc962f7
Undef MIN/MAX before defining them in case some system header happens to define them. ( #4196 , Christian Biesinger)
2005-08-27 18:46:34 +00:00
Owen Taylor
3c53414cf3
Fix docs not to talk about %NULL returns. #4271 , Duncan Coutts.
2005-08-27 18:40:46 +00:00
Owen Taylor
c0da73e1b8
Make the code work with
...
-fomit-frame-pointer by making sure that %esp isn't modified at the point where we access output operands. (#4269 , Patch from Ronald Wahl)
2005-08-27 18:36:09 +00:00
Tor Lillqvist
03c3935471
Include the documentation, too.
2005-08-25 02:59:40 +00:00
Billy Biggs
1f975f4e82
Update formatting of the title and short description, as this actually changes how the TOC appears in devhelp.
2005-08-24 19:20:08 +00:00
Bertram Felgenhauer
241a4eb8f7
add docs-publish as a phony target
2005-08-24 17:44:16 +00:00
Carl Worth
0bcad6002a
Increment CAIRO_VERSION to 1.0.1 after tagging RELEASE_1_0_0.
2005-08-24 10:16:14 +00:00
Carl Worth
995ed33726
Increment CAIRO_VERSION to 1.0.0 and libtool versioning to 4:2:2.
2005-08-24 09:29:39 +00:00
Carl Worth
95c1d54701
Fix typos. Add CAIRO_STATUS_INVALID_DASH.
2005-08-24 09:26:28 +00:00
Carl Worth
766f63567c
Unabbreviate "eg." to "for example,".
2005-08-24 09:12:37 +00:00
Carl Worth
2cd76fc77f
Update name from "0.5 porting guide" to "1.0 porting guide."
2005-08-24 08:46:02 +00:00
Carl Worth
aa4b9f4b00
Some text cleanups from Øyvind Kolås.
2005-08-24 08:28:00 +00:00
Carl Worth
d86f5af717
Add Amaury Jacquot.
2005-08-24 08:12:22 +00:00
Carl Worth
ccc7a2f115
Fix typo.
2005-08-24 08:07:24 +00:00
Carl Worth
f4188a4680
Fix typos.
2005-08-24 07:58:07 +00:00