1 commit d6263bec89bcd1565fb0f56a9840cd6f7761097f
2 Author: Carl Worth <cworth@cworth.org>
3 Date: Thu Apr 10 17:34:41 2008 -0700
5 Increment cairo version to 1.6.0
7 configure.in | 6 +++---
8 1 files changed, 3 insertions(+), 3 deletions(-)
10 commit 709805c26f567b7fa90d04e701ccbf1cccc34da7
11 Author: Carl Worth <cworth@cworth.org>
12 Date: Thu Apr 10 17:33:51 2008 -0700
14 NEWS: Add notes for 1.6.0 release
16 NEWS | 198 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
17 1 files changed, 190 insertions(+), 8 deletions(-)
19 commit aadbaf7d990d0d5cd7c25cc856dbcfcc357b44f1
20 Author: Carl Worth <cworth@cworth.org>
21 Date: Tue Apr 8 02:45:56 2008 -0700
23 Increment version to 1.5.20
26 1 files changed, 2 insertions(+), 2 deletions(-)
28 commit 8f123d035af0c02dc0a668a073410756edafbdd6
29 Author: Carl Worth <cworth@cworth.org>
30 Date: Tue Apr 8 02:45:31 2008 -0700
32 NEWS: Add notes for 1.5.20 snapshot
34 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
35 1 files changed, 47 insertions(+), 0 deletions(-)
37 commit f7dea9a8d3da7f57286db4b1b6300726483a0d76
38 Author: Carl Worth <cworth@cworth.org>
39 Date: Tue Apr 8 02:28:52 2008 -0700
41 Fix distcheck by renaming large-source-ref.c to large-source-ref.png (oops!)
43 test/large-source-ref.c | Bin 137 -> 0 bytes
44 test/large-source-ref.png | Bin 0 -> 137 bytes
45 2 files changed, 0 insertions(+), 0 deletions(-)
47 commit c26a7de9707e26d0552b0fedcd4bf2e0ba6542b2
48 Author: Carl Worth <cworth@cworth.org>
49 Date: Tue Apr 8 01:54:27 2008 -0700
51 Prevent potentially infinite wandering through memeory in _cairo_hull_prev_valid
53 It is possible for _cairo_hull_prev_valid to be called just once
54 right before the calling loop is going to terminate. In this
55 case we really don't want to walk off the beginning of the
56 array and start wandering.
58 Thanks to Jonathan Watt for noticing this problem:
60 https://bugzilla.mozilla.org/show_bug.cgi?id=306649#c21
62 src/cairo-hull.c | 7 ++++++-
63 1 files changed, 6 insertions(+), 1 deletions(-)
65 commit c19133eb9ab31bbdc7e82573033e513e9eb867f2
66 Author: Carl Worth <cworth@cworth.org>
67 Date: Tue Apr 8 01:34:37 2008 -0700
69 Revert "[test] Repeat tests using cairo_push_group()."
71 This reverts commit 07122e64fa9529e7ba9323988a5af1d1e7c2c55f.
73 The extra testing did find a pdf bug, and that should be fixed,
74 but the extra maintenance burden of running another iteration
75 of all tests does not seem justfied at all---particularly since
76 it looks like dozens of new reference images would be needed
79 Also, the new "failures" of the image backend with this new
80 testing look like a misunderstanding of exactly what the new
81 testing is actually drawing.
83 test/cairo-test.c | 119 +++++++---------------------------------------------
84 1 files changed, 16 insertions(+), 103 deletions(-)
86 commit c1f7655f2fd5373a74d3fbf5977ebbd84e401e25
87 Author: Carl Worth <cworth@cworth.org>
88 Date: Tue Apr 8 00:40:58 2008 -0700
90 Check surface->status and finished in cairo_surface_write_to_png
92 Without these checks, a user could hit an assertion failure
93 by passing a finished surface to cairo_surface_write_to_png.
94 Now we return a nice CAIRO_STATUS_SURFACE_FINISHED error in
97 src/cairo-png.c | 6 ++++++
98 1 files changed, 6 insertions(+), 0 deletions(-)
100 commit 33c54ed240b319acb28ef370eef5188ad42a5737
101 Author: Chris Wilson <chris@chris-wilson.co.uk>
102 Date: Mon Apr 7 22:14:04 2008 +0100
104 [test] Add large-source to exercise handling of massive images.
106 This test exercises https://bugzilla.mozilla.org/show_bug.cgi?id=424333.
108 The test is expected to fail due to issues with pixman, but cairo
109 should fail gracefully and neither crash nor cause XErrors.
111 test/.gitignore | 1 +
112 test/Makefile.am | 3 +
113 test/large-source-ref.c | Bin 0 -> 137 bytes
114 test/large-source.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++
115 4 files changed, 113 insertions(+), 0 deletions(-)
117 commit 4924d4d928666981f3e64bec685e8f90e524e62e
118 Author: Chris Wilson <chris@chris-wilson.co.uk>
119 Date: Mon Apr 7 23:48:36 2008 +0100
121 [cairo-xlib] Do not create surface with mismatching Visual and PictFormat.
123 As identified by Vladimir Vukicevic,
124 _cairo_xlib_surface_create_similar_with_format() was erroneously passing
125 down the source Visual when creating a surface with a different
128 src/cairo-xlib-surface.c | 2 +-
129 1 files changed, 1 insertions(+), 1 deletions(-)
131 commit 9aac5916bcb4a3e62194315b12961d97f193a585
132 Author: Chris Wilson <chris@chris-wilson.co.uk>
133 Date: Mon Apr 7 23:42:47 2008 +0100
135 [test/xlib-surface] Check for mismatching Visuals and XRenderPictFormats
137 Vladimir Vukicevic reported that surfaces were being created with
138 mismatching Visuals and XRenderPictFormats - and demonstated here.
140 test/xlib-surface.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
141 1 files changed, 63 insertions(+), 0 deletions(-)
143 commit f6afba8f5453b8e3af9101fa2cde4c05a67f6d4b
144 Author: Chris Wilson <chris@chris-wilson.co.uk>
145 Date: Mon Apr 7 23:25:57 2008 +0100
147 [cairo-xlib] Create Pixmap using depth from xrender_format.
149 Use the depth as specified by the xrender_format when creating the
150 pixmap (as opposed to a guess based on the cairo_format_t).
152 src/cairo-xlib-surface.c | 21 ++-------------------
153 1 files changed, 2 insertions(+), 19 deletions(-)
155 commit 922fefdde4af28f9fc1e42fcba1b315980b01dc7
156 Author: Chris Wilson <chris@chris-wilson.co.uk>
157 Date: Mon Apr 7 23:06:18 2008 +0100
159 [cairo-xlib] Handle missing RENDER during similar surface creation
161 If the xserver doesn't support the RENDER extension or simply doesn't
162 have the matching PictFormat then xrender_format might be NULL. Check
163 and fallback in this case.
165 src/cairo-xlib-surface.c | 6 ++++--
166 1 files changed, 4 insertions(+), 2 deletions(-)
168 commit 07122e64fa9529e7ba9323988a5af1d1e7c2c55f
169 Author: Chris Wilson <chris@chris-wilson.co.uk>
170 Date: Mon Apr 7 22:00:51 2008 +0100
172 [test] Repeat tests using cairo_push_group().
174 Test surfaces using similar surfaces with both CONTENT_COLOR and
175 CONTENT_COLOR_ALPHA, if applicable. This seems justified by the apparent
176 bugs in the pdf backend when going from an ARGB32 similar surface to
177 a destination RGB24 surface as well as isolated bugs in the image
180 The original goal was to try and trick the test suite into producing
181 a xlib surface with mismatching Visual/XRenderPictFormat. This succeeds,
182 although with a little bit of brute force in the xlib backend, but the
183 search to reproduce a BadMatch error fruitless.
185 test/cairo-test.c | 119 +++++++++++++++++++++++++++++++++++++++++++++-------
186 1 files changed, 103 insertions(+), 16 deletions(-)
188 commit e04e4262386b8735d2ceabbc187405cace89dc80
189 Author: Chris Wilson <chris@chris-wilson.co.uk>
190 Date: Mon Apr 7 10:56:38 2008 +0100
192 [test/get-xrender-format] Free static data on exit.
194 Free the internal caches so that valgrind reports zero leaks.
196 test/get-xrender-format.c | 3 +++
197 1 files changed, 3 insertions(+), 0 deletions(-)
199 commit e57ef66fab7cb05b84175b3cfb5c032150cfa682
200 Author: Chris Wilson <chris@chris-wilson.co.uk>
201 Date: Mon Apr 7 10:51:27 2008 +0100
203 [test/xlib-surface] Zero pixel buffers before use.
205 As we only use RGB24 surface data the alpha channel is undefined, so
206 zero it to prevent valgrind warnings.
208 test/xlib-surface.c | 24 ++++++++++++++++++++----
209 1 files changed, 20 insertions(+), 4 deletions(-)
211 commit d0672e85ef120a4e3cd0dfcbdb717afbf9526f17
212 Author: Chris Wilson <chris@chris-wilson.co.uk>
213 Date: Mon Apr 7 10:42:57 2008 +0100
215 [test/surface-source] Skip tests if we cannot create the source surface.
217 Check that the test environment supports the desired source and avoid
218 triggering asserts in the test routines.
220 test/glitz-surface-source.c | 15 ++++++++++-----
221 test/surface-source.c | 8 ++++++++
222 2 files changed, 18 insertions(+), 5 deletions(-)
224 commit 056d3c853e6660db31ee4a50d0e990a6013aa703
225 Author: Chris Wilson <chris@chris-wilson.co.uk>
226 Date: Mon Apr 7 10:35:04 2008 +0100
228 [test/stroke-image] Fix memleak.
230 Release the temporary image surface after setting it as the source.
232 test/stroke-image.c | 3 ++-
233 1 files changed, 2 insertions(+), 1 deletions(-)
235 commit e460e586d7d093c1e03052efa3bfb45a2d5cf6ef
236 Author: Carl Worth <cworth@cworth.org>
237 Date: Mon Apr 7 22:02:44 2008 -0700
239 Update several pdf-specific reference images
241 I don't know if we made minor changes to the pdf backend, or
242 if this was due to a poppler change, (we recently bumped the
243 poppler required for testing up to 0.8.0), but any way around
244 it these test results look just as good as the reference images
247 test/Makefile.am | 2 ++
248 test/clip-operator-pdf-argb32-ref.png | Bin 11429 -> 11145 bytes
249 test/ft-text-vertical-layout-type1-pdf-ref.png | Bin 0 -> 3604 bytes
250 test/ft-text-vertical-layout-type3-pdf-ref.png | Bin 0 -> 3634 bytes
251 test/push-group-pdf-ref.png | Bin 2694 -> 2807 bytes
252 test/push-group-pdf-rgb24-ref.png | Bin 2611 -> 2714 bytes
253 6 files changed, 2 insertions(+), 0 deletions(-)
255 commit fdcd1445846b59d2ffd1780dd0f6d70169036ad4
256 Author: Carl Worth <cworth@cworth.org>
257 Date: Mon Apr 7 13:30:59 2008 -0700
259 Add filter-bilinear-extents to the XFAIL list
261 This test case does show a bug, and we have lots of ideas on how
262 to fix the bug, but we want to wait until after the 1.6 release
263 before we fix it. See:
265 http://bugs.freedesktop.org/show_bug.cgi?id=15349
267 test/Makefile.am | 1 +
268 1 files changed, 1 insertions(+), 0 deletions(-)
270 commit 36246c51ba720713ebf93573da29b098e87f0bd0
271 Author: Carl Worth <cworth@cworth.org>
272 Date: Mon Apr 7 12:10:24 2008 -0700
274 Revert "_cairo_pattern_get_extents: Fix to allow for expansion based on filter"
276 This reverts commit 731e121c802a7b1c3429d1bde7a93bc471d70880.
278 This commit introduced various problems, (some likely noticeable
279 in the test suite, and others perhaps not). For some details, see
280 the latest comments in the original bug report leading to the
281 fix now being reverted:
283 http://bugs.freedesktop.org/show_bug.cgi?id=15349
285 src/cairo-pattern.c | 22 ----------------------
286 1 files changed, 0 insertions(+), 22 deletions(-)
288 commit c88adb6aee650c8c544b212f539bd5da9ed88734
289 Author: Carl Worth <cworth@cworth.org>
290 Date: Mon Apr 7 16:09:03 2008 -0700
292 Add svg-specific reference images for smask and smask-mask
294 The most recent change for the mask_id allocation fixes these
295 two test, (it fixes mask-image-mask as well, but it didn't need
296 a new reference image).
298 test/Makefile.am | 2 ++
299 test/smask-mask-svg-ref.png | Bin 0 -> 2529 bytes
300 test/smask-svg-ref.png | Bin 0 -> 3634 bytes
301 3 files changed, 2 insertions(+), 0 deletions(-)
303 commit 164e9c195c16fbed08539b859a06cc6f042fb5d9
304 Author: Carl Worth <cworth@cworth.org>
305 Date: Mon Apr 7 15:50:22 2008 -0700
307 SVG: Fix generation of mask_id identifiers
309 In tests such as smask-mask (and others) the cairo_mask operation
310 is used in the construction of a mask. In this case, the single
311 document->mask_id value was being incremented at inappropriate
314 We fix this by adding a new _cairo_svg_document_allocate_mask_id
315 that returns the current value and increments it. That way,
316 callers can hold onto this reliable value for the desired lifetime
317 that the code needs the identifier.
319 src/cairo-svg-surface.c | 18 ++++++++++++++----
320 1 files changed, 14 insertions(+), 4 deletions(-)
322 commit 8aa306ec08dcf0ae8803cdb1bda0fb31658f9e83
323 Author: Carl Worth <cworth@cworth.org>
324 Date: Mon Apr 7 14:17:40 2008 -0700
326 Add svg-specific reference images for smask-fill, smask-paint, and smask-text tests
328 test/Makefile.am | 3 +++
329 test/smask-fill-svg-ref.png | Bin 0 -> 1166 bytes
330 test/smask-paint-svg-ref.png | Bin 0 -> 2612 bytes
331 test/smask-text-svg-ref.png | Bin 0 -> 1886 bytes
332 4 files changed, 3 insertions(+), 0 deletions(-)
334 commit 3d86023281d7d18ad72be85ad8b53c29f20dfc7e
335 Author: Carl Worth <cworth@cworth.org>
336 Date: Mon Apr 7 14:09:32 2008 -0700
338 Add ps-specific reference images for smask and smask-text tests
340 test/Makefile.am | 2 ++
341 test/smask-ps-ref.png | Bin 0 -> 3669 bytes
342 test/smask-text-ps-ref.png | Bin 0 -> 2023 bytes
343 3 files changed, 2 insertions(+), 0 deletions(-)
345 commit f2a94c84a160f205ee72cc0c538a556d7d611e7b
346 Author: Carl Worth <cworth@cworth.org>
347 Date: Mon Apr 7 13:03:58 2008 -0700
349 Add underscore prefix to private _cairo_pdf_surface_set_size_internal
351 src/cairo-pdf-surface.c | 48 +++++++++++++++++++++++-----------------------
352 1 files changed, 24 insertions(+), 24 deletions(-)
354 commit 3d22902fa37623a56dee9e4a20d0dc215deabd72
355 Author: Adrian Johnson <ajohnson@redneon.com>
356 Date: Sun Apr 6 19:29:25 2008 +0930
358 Add PDF ref images for the smask tests
360 These tests render correctly in acroread 8.1.
362 test/Makefile.am | 7 +++++++
363 test/smask-fill-pdf-ref.png | Bin 0 -> 1075 bytes
364 test/smask-image-mask-pdf-ref.png | Bin 0 -> 421 bytes
365 test/smask-mask-pdf-ref.png | Bin 0 -> 3731 bytes
366 test/smask-paint-pdf-ref.png | Bin 0 -> 3800 bytes
367 test/smask-pdf-ref.png | Bin 0 -> 3800 bytes
368 test/smask-stroke-pdf-ref.png | Bin 0 -> 449 bytes
369 test/smask-text-pdf-ref.png | Bin 0 -> 1806 bytes
370 8 files changed, 7 insertions(+), 0 deletions(-)
372 commit 688fbc24c38119a505e54a8a2fd0e71e988bf969
373 Author: Adrian Johnson <ajohnson@redneon.com>
374 Date: Sun Apr 6 19:04:27 2008 +0930
376 PDF: Add a function for changing the surface size
378 The smask-fill test was failing for PDF output because in some places
379 where the surface size is changed (eg when emitting patterns or
380 smasks) the cairo_to_pdf matrix was not updated.
382 Fix this by adding a function to handle the surface size change and
383 replace all the duplicated code for changing surface size with a call
386 src/cairo-pdf-surface.c | 69 ++++++++++++++++++++++------------------------
387 1 files changed, 33 insertions(+), 36 deletions(-)
389 commit 6e5e852f739b63f0325927c70e4d4456c60d0ba9
390 Author: Carl Worth <cworth@cworth.org>
391 Date: Sun Apr 6 03:25:58 2008 -0700
393 Increment cairo version to 1.5.19 after the 1.5.18 snapshot
396 1 files changed, 1 insertions(+), 1 deletions(-)
398 commit 6d6c8aa643603c2b5fd7baedc897d4698ba8bafb
399 Author: Carl Worth <cworth@cworth.org>
400 Date: Sun Apr 6 03:11:04 2008 -0700
402 Increment cairo version to 1.5.18 and library versioning to 19:1:17
404 configure.in | 4 ++--
405 1 files changed, 2 insertions(+), 2 deletions(-)
407 commit 44cd51ada62f831e4fddd363797b3ad4568fb443
408 Author: Carl Worth <cworth@cworth.org>
409 Date: Sun Apr 6 03:10:07 2008 -0700
411 NEWS: Add notes for 1.5.18 snapshot
413 NEWS | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
414 1 files changed, 111 insertions(+), 0 deletions(-)
416 commit 3f5ce00e99bcbb17594441301ad0845007d0aedf
417 Author: Carl Worth <cworth@cworth.org>
418 Date: Sun Apr 6 03:09:45 2008 -0700
420 Add missing parens() to function name in gtk-doc comment
423 1 files changed, 1 insertions(+), 1 deletions(-)
425 commit c08e2ba974ad7f5d9343d0d815a00a8e9ad51f81
426 Author: Carl Worth <cworth@cworth.org>
427 Date: Sun Apr 6 02:56:19 2008 -0700
429 Document default opaque black source pattern.
431 src/cairo.c | 12 +++++++++---
432 1 files changed, 9 insertions(+), 3 deletions(-)
434 commit e07e1b7bbbac59ae2ea25ed762c017b477e22cc4
435 Author: Carl Worth <cworth@cworth.org>
436 Date: Sun Apr 6 02:47:32 2008 -0700
438 Document many more defaults
440 Including: fallback_resolution, fill_rule, line_cap, line_join,
441 miter_limit, font_face, font_size, and operator.
443 src/cairo-surface.c | 3 +++
444 src/cairo.c | 30 ++++++++++++++++++++++++++----
445 src/cairo.h | 10 +++++++++-
446 3 files changed, 38 insertions(+), 5 deletions(-)
448 commit a55669c325c341fa6175a193cb0d6fa30b8247c9
449 Author: Carl Worth <cworth@cworth.org>
450 Date: Sun Apr 6 02:17:33 2008 -0700
452 Document toy nature of cairo_select_font_face
454 src/cairo.c | 32 ++++++++++++++++++++++++++------
455 1 files changed, 26 insertions(+), 6 deletions(-)
457 commit d1fe0084405a49f33d4ab6d80e9398e281483900
458 Author: Carl Worth <cworth@cworth.org>
459 Date: Sun Apr 6 02:17:09 2008 -0700
461 Document default extend modes
463 src/cairo-pattern.c | 3 +++
464 src/cairo.h | 9 +++++++--
465 2 files changed, 10 insertions(+), 2 deletions(-)
467 commit abe6f9541eb1fe10c063540dbffe3499ec8a9d3e
468 Author: Carl Worth <cworth@cworth.org>
469 Date: Sun Apr 6 02:01:04 2008 -0700
471 Document EXTEND_REFLECT and EXTEND_PAD as implemented for surfaces since 1.6
473 src/cairo.h | 6 +++---
474 1 files changed, 3 insertions(+), 3 deletions(-)
476 commit 657b348e0172f3b5f2c91a406c2eca039a790ca1
477 Author: Carl Worth <cworth@cworth.org>
478 Date: Sun Apr 6 01:57:45 2008 -0700
480 README: Update dependencies
482 README | 139 +++++++++++++++++++++++++++++++++++++++++-----------------------
483 1 files changed, 89 insertions(+), 50 deletions(-)
485 commit c642a401959c183de2afa3fba2c4206aa0fdbc0c
486 Author: Carl Worth <cworth@cworth.org>
487 Date: Sun Apr 6 01:13:17 2008 -0700
489 Revert "[README] Remove the Dependencies section as it falls out of date easily"
491 This reverts commit 5f38e215ed4ec930492ee373db37a767d85a6ee8.
493 It's true that the dependencies can fall out of date, but it's really
494 unkind to not provide users with this information. I think we can
495 compromise by committing to update this information before major
498 README | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
499 1 files changed, 89 insertions(+), 0 deletions(-)
501 commit b61d1b01e94b3d8daa288b8d5d183f093d989582
502 Author: Carl Worth <cworth@cworth.org>
503 Date: Sun Apr 6 01:07:32 2008 -0700
505 Change default filter from BEST to GOOD
507 Right now the two filters are implemented identically, so there's
508 no real change for now. But in the future, it's conceivable that an
509 X server could implement some crazy, high-quality filter for BEST
510 without regard to performance, (since that's what BEST means).
512 Meanwhile, GOOD actually captures what we want by default which is
513 a good mix of both quality and performance.
515 src/cairoint.h | 2 +-
516 1 files changed, 1 insertions(+), 1 deletions(-)
518 commit 14b056945cef7e016ec07c87725348f3f0649d9f
519 Author: Carl Worth <cworth@cworth.org>
520 Date: Sun Apr 6 00:34:59 2008 -0700
522 Update smask-text reference image
524 It appears the reference image wasn't generated on a gold-standard
525 machine, (and yes, the gold standard is, *ahem* whatever happens
526 to match what Carl's machine does---eventually we'll make the test-
527 based tests less picky about system configuration like this).
529 test/smask-text-ref.png | Bin 1796 -> 1739 bytes
530 1 files changed, 0 insertions(+), 0 deletions(-)
532 commit 3a89bf4a1dd37852ca603c2ba472de73959dc69a
533 Author: Chris Wilson <chris@chris-wilson.co.uk>
534 Date: Sat Apr 5 22:01:24 2008 +0100
536 [test] Remove some redundant evals from the summary.
538 In a couple of places we used eval to execute a simple assignment -
541 test/Makefile.am | 8 ++++----
542 1 files changed, 4 insertions(+), 4 deletions(-)
544 commit fc0a2988cdcbc54292377b00fe9a82b4a7407918
545 Author: Chris Wilson <chris@chris-wilson.co.uk>
546 Date: Sat Apr 5 21:58:10 2008 +0100
548 [test] Disable jobserver with make check.
550 make -j check has the unfortunate side-effect of performing the summary
551 before the TESTS have completed, both hiding in the stream of test
552 output and making it useless. Forcibly disable the jobserver so that the
553 summary is always last at the expense of not compiling the tests in parallel.
555 test/Makefile.am | 4 +++-
556 1 files changed, 3 insertions(+), 1 deletions(-)
558 commit ae6fbe9e6e153a917f3ae8d733e88303e2816b2b
559 Author: Adrian Johnson <ajohnson@redneon.com>
560 Date: Sun Apr 6 01:08:31 2008 +1030
562 scaled-font-subsets: Special case .notdef in a new subset
564 If the .notdef glyph is the first glyph in the subset to be mapped in
565 scaled font, we do not know if the subset will scaled or unscaled. We
566 can put it in the unscaled subset as Type1-fallback will embded an
567 empty glyph if it can not get the path.
569 src/cairo-scaled-font-subsets.c | 20 +++++++++++++++-----
570 1 files changed, 15 insertions(+), 5 deletions(-)
572 commit 0d5902b7167f8cb4bfc96fd813003cd220441151
573 Author: Adrian Johnson <ajohnson@redneon.com>
574 Date: Sat Apr 5 23:33:29 2008 +1030
576 Type1-fallback: Use correct glyph metrics for .notdef glyph
578 Bug 15348 references the following PDF that was printing incorrectly
579 when running through poppler and cairo to generate PostScript.
581 http://launchpadlibrarian.net/12921700/UbuntuDesktop.pdf
583 The PostScript output had too much space between each word causing
584 strings of glyphs printed with the TJ operator to overlap.
586 The original PDF file contains an CFF font with CID Identity-H
587 encoding. The PDF file is using character code 0 (glyph 0 due to
588 Identity-H encoding) as a space character. The CFF specification
589 defines glyph 0 to be the .notdef glyph.
591 The PS backend subsets CFF fonts as a Type1-fallback
592 font. Type1-fallback creates it's own empty .notdef glyph with an
593 arbitrary glyph advance of 500. The problem here is the TJ operator
594 used to output the glyphs depends on the glyph advance being
595 correct. pdf-operators.c uses the glyph advance returned by
596 _scaled_glyph_init(). However the PostScript interpreter sees the
597 glyph advance of 500 for .notdef. This problem does not occur when
598 generating PDF as the PDF font dictionary contains an list of glyph
599 advances that override the font metrics.
601 Fix this by making Type1-fallback not treat .notdef as special and to
602 create it the path and metrics obtained from _scaled_glyph_init(). As
603 a special case, make it not fail if _scaled_glyph_init() is unable to
604 return a path for .notdef. This was probably the reason Type1-fallback
605 previously created it's own .notdef glyph as calling
606 _scaled_glyph_init(_GLYPH_INFO_PATH) for glyph 0 returns
607 CAIRO_INT_STATUS_UNSUPPORTED for some fonts.
609 This ensures the Type1-fallback font metrics match the metrics used
610 by pdf-operators.c to position the glyphs. This also results in the
611 removal of some duplicated code.
613 src/cairo-type1-fallback.c | 92 ++++++++++++++------------------------------
614 1 files changed, 29 insertions(+), 63 deletions(-)
616 commit 03d2b098ff245ff6724b1d83a121f5ce9dcd0b51
617 Author: Adrian Johnson <ajohnson@redneon.com>
618 Date: Sat Apr 5 21:15:15 2008 +1030
620 Type1-fallback: Use correct glyph advance in Type 1 charstrings
622 5050c55f93af fixed type1-fallback to use the glyph advance instead of
623 glyph width in the stored glyph metrics in the font. However it did
624 not fix the same bug in Type 2 charstrings (used by CFF fallback in
625 PDF). This problem was not noticed since the glyph widths in the PDF
626 font dictionary overrides these values.
628 Fix this in case any software reading cairo PDFs uses these values.
630 src/cairo-type1-fallback.c | 2 +-
631 1 files changed, 1 insertions(+), 1 deletions(-)
633 commit 40cee8c57879d37d77c5a93de8f7bdef28851923
634 Author: Adrian Johnson <ajohnson@redneon.com>
635 Date: Sat Apr 5 20:53:39 2008 +1030
637 Add assert to scaled_glyph_lookup in scaled-font-subsets
639 If _cairo_scaled_glyph_lookup() returns CAIRO_INT_STATUS_UNSUPPORTED
640 it will be caught by the ASSERT_NOT_REACHED in
641 _emit_unscaled_font_subset in PS/PDF. It is more useful to catch this
642 closer to the source.
644 src/cairo-scaled-font-subsets.c | 1 +
645 1 files changed, 1 insertions(+), 0 deletions(-)
647 commit 93536bf3ac251d17c4d8630cad93c37b0d4a8326
648 Author: Chris Wilson <chris@chris-wilson.co.uk>
649 Date: Sat Apr 5 09:31:22 2008 +0100
651 [test] Summarise failures per backend.
653 Enhance the test failure summary to list the tests that failed per
656 test/Makefile.am | 12 ++++++++++--
657 1 files changed, 10 insertions(+), 2 deletions(-)
659 commit 731e121c802a7b1c3429d1bde7a93bc471d70880
660 Author: Carl Worth <cworth@cworth.org>
661 Date: Fri Apr 4 19:00:28 2008 -0700
663 _cairo_pattern_get_extents: Fix to allow for expansion based on filter
665 This fixes the filter-bilinear-extents test case and the
668 bad clipping with EXTEND_NONE
669 http://bugs.freedesktop.org/show_bug.cgi?id=15349
671 Though there are still differences in the PDF and PostScript
672 backends, (primarily because we can't capture cairo's filter
673 modes in those file formats).
675 src/cairo-pattern.c | 22 ++++++++++++++++++++++
676 1 files changed, 22 insertions(+), 0 deletions(-)
678 commit 04608952e2efb9bffaa131ab39780c3e1a7430ba
679 Author: Carl Worth <cworth@cworth.org>
680 Date: Fri Apr 4 18:56:38 2008 -0700
682 Replace open-coded transformation with a call to _cairo_matrix_transform_bounding_box
684 It's a wonderful feeiling to remove duplicate code.
686 src/cairo-pattern.c | 61 ++++++++++++++++++++++----------------------------
687 1 files changed, 27 insertions(+), 34 deletions(-)
689 commit 89567f9278c002ac5e4e25ddccec88b1b1eea420
690 Author: Carl Worth <cworth@cworth.org>
691 Date: Fri Apr 4 18:28:23 2008 -0700
693 Add new filter-bilinear-extents test
695 This test exercises code that computes the extents of a surface
696 pattern with CAIRO_FILTER_BILINEAR, (where the filtering
697 effectively increases the extents of the pattern).
699 The original bug was reported by Owen Taylor here:
701 bad clipping with EXTEND_NONE
702 http://bugs.freedesktop.org/show_bug.cgi?id=15349
704 test/.gitignore | 1 +
705 test/Makefile.am | 2 +
706 test/filter-bilinear-extents-ref.png | Bin 0 -> 1340 bytes
707 test/filter-bilinear-extents.c | 91 ++++++++++++++++++++++++++++++++++
708 4 files changed, 94 insertions(+), 0 deletions(-)
710 commit 80f7aa03b35921a96683a0442f885c4b8335f3d9
711 Author: Carl Worth <cworth@cworth.org>
712 Date: Fri Apr 4 11:29:47 2008 -0700
714 Enable buggy_repeat workaround for X.Org servers < 1.4
716 This covers the known-to-broken 1.3 servers such as appeared
717 in Fedora 8. It also leaves the workaround off, (since it's
718 a severe slowdown), for the known-to-be-working 1.4.99.901
719 server as appears in Fedora 9 Betas.
721 src/cairo-xlib-display.c | 11 +++++++++++
722 1 files changed, 11 insertions(+), 0 deletions(-)
724 commit 2c8ead12a64d0deff4dc9e32c60f2815fe7c4a63
725 Author: Chris Wilson <chris@chris-wilson.co.uk>
726 Date: Fri Apr 4 17:46:54 2008 +0100
728 [xlib] Avoiding sending glyphs > XMaxRequestSize.
730 XRenderAddGlyph() does not split its image data across multiple requests
731 and so the glyph surface must be smaller than XMaxRequestSize or else
732 the server will disconnect the client, causing "Fatal IO error 104".
733 As this will require an extension to the XRender spec, we can work
734 around the issue by using our fallbacks if we detect that the glyph will
735 be too large for a single request.
737 See bugs https://bugs.freedesktop.org/show_bug.cgi?id=4339 and
738 http://bugs.freedesktop.org/show_bug.cgi?id=13266 for examples.
740 src/cairo-xlib-surface.c | 14 ++++++++++++++
741 1 files changed, 14 insertions(+), 0 deletions(-)
743 commit a4f94624b2f4a85bafbc2dc01b08788a7a88deba
744 Author: Chris Wilson <chris@chris-wilson.co.uk>
745 Date: Fri Apr 4 15:56:22 2008 +0100
747 [test] Add bilevel image test case.
749 Add a simple test to exercise the embedding of an image with a bilevel
750 alpha channel into a postscript level 3 document.
752 test/.gitignore | 1 +
753 test/Makefile.am | 2 +
754 test/bilevel-image-ref.png | Bin 0 -> 131 bytes
755 test/bilevel-image.c | 68 ++++++++++++++++++++++++++++++++++++++++++++
756 4 files changed, 71 insertions(+), 0 deletions(-)
758 commit f72799a2520feb7ed04fd14e53db59fe697a58d1
759 Author: Chris Wilson <chris@chris-wilson.co.uk>
760 Date: Fri Apr 4 14:15:58 2008 +0100
762 [configure.in] Add a link to the LTP homepage.
764 If ./configure --enable-gcov fails due to a missing LTP package, then
765 include a link to LTP homepage in the error message.
767 configure.in | 15 ++++++++-------
768 1 files changed, 8 insertions(+), 7 deletions(-)
770 commit c0593d16c7f2ca9c1ba4d05b6cbf3cf9c2f0524b
771 Author: Chris Wilson <chris@chris-wilson.co.uk>
772 Date: Fri Apr 4 12:53:13 2008 +0100
774 [pdf] Copy the glyphs for use within an smask group.
776 When constructing an smask group using PDF_SHOW_GLYPHS, we need a copy
777 of the glyphs else they'll be freed be we use them (in _show_page()).
779 src/cairo-pdf-surface.c | 9 ++++++++-
780 1 files changed, 8 insertions(+), 1 deletions(-)
782 commit a74db7e7bc092533d244123ea2ae272edf3f5d8f
783 Author: Chris Wilson <chris@chris-wilson.co.uk>
784 Date: Fri Apr 4 12:34:40 2008 +0100
786 [test] Exercise "soft" masks.
788 PDF has a concept of "soft" masks, for which it is able to construct a
789 mask out of PDF drawing operations. These tests exercise constructing
790 various masks using the high level drawing operations.
792 test/.gitignore | 7 ++
793 test/Makefile.am | 14 +++++
794 test/smask-fill-ref.png | Bin 0 -> 1223 bytes
795 test/smask-fill.c | 83 ++++++++++++++++++++++++++
796 test/smask-image-mask-ref.png | Bin 0 -> 643 bytes
797 test/smask-image-mask.c | 92 +++++++++++++++++++++++++++++
798 test/smask-mask-ref.png | Bin 0 -> 2523 bytes
799 test/smask-mask.c | 107 +++++++++++++++++++++++++++++++++
800 test/smask-paint-ref.png | Bin 0 -> 2639 bytes
801 test/smask-paint.c | 90 ++++++++++++++++++++++++++++
802 test/smask-ref.png | Bin 0 -> 3587 bytes
803 test/smask-stroke-ref.png | Bin 0 -> 1845 bytes
804 test/smask-stroke.c | 83 ++++++++++++++++++++++++++
805 test/smask-text-ref.png | Bin 0 -> 1796 bytes
806 test/smask-text.c | 92 +++++++++++++++++++++++++++++
807 test/smask.c | 130 +++++++++++++++++++++++++++++++++++++++++
808 16 files changed, 698 insertions(+), 0 deletions(-)
810 commit 2d42f5ac27494f2bfd75e7bba42fd36783e053eb
811 Author: Adrian Johnson <ajohnson@redneon.com>
812 Date: Fri Apr 4 20:29:12 2008 +1030
814 TrueType: Fix buffer check
816 bb76eb50 added some checks to ensure we do not read past the end of
817 the buffer for the loaded glyph. However the checks assumed
818 tt_composite_glyph_t has a fixed size. tt_composite_glyph_t has a
819 variable size that depends on the values with the struct.
821 src/cairo-truetype-subset.c | 16 ++++++++--------
822 1 files changed, 8 insertions(+), 8 deletions(-)
824 commit 7dbb2dec33bb91b3d89a8072283297025817d0c6
825 Author: Adrian Johnson <ajohnson@redneon.com>
826 Date: Fri Apr 4 19:48:55 2008 +1030
828 TrueType: Remove assert
830 If the status is UNSUPPORTED we should let type1-fallback subset it.
832 src/cairo-truetype-subset.c | 3 ++-
833 1 files changed, 2 insertions(+), 1 deletions(-)
835 commit 6192001816053403b8e51fc2aa44cf6d0a9baece
836 Author: Adrian Johnson <ajohnson@redneon.com>
837 Date: Fri Apr 4 19:26:00 2008 +1030
839 Add PS reference image for ft-show-glyphs-table
841 test/Makefile.am | 1 +
842 test/ft-show-glyphs-table-ps-ref.png | Bin 0 -> 5687 bytes
843 2 files changed, 1 insertions(+), 0 deletions(-)
845 commit e50324d3cc66df83120f908845657382e0020868
846 Author: Adrian Johnson <ajohnson@redneon.com>
847 Date: Fri Apr 4 19:21:40 2008 +1030
849 PS: Fix emulation of 'Td' pdf operator
851 src/cairo-ps-surface.c | 3 ++-
852 1 files changed, 2 insertions(+), 1 deletions(-)
854 commit 759793cad1459c2b70daa6adb3deb7af5fe705aa
855 Author: Chris Wilson <chris@chris-wilson.co.uk>
856 Date: Fri Apr 4 09:43:32 2008 +0100
858 Add links to the font specifications.
860 Add links to specifications for the Type1, CFF, and TrueType font file
861 formats, provided by Adrian Johnson.
863 src/cairo-cff-subset.c | 5 +++++
864 src/cairo-truetype-subset.c | 6 ++++++
865 src/cairo-type1-subset.c | 5 +++++
866 3 files changed, 16 insertions(+), 0 deletions(-)
868 commit 8a78760f15c29c72e6a945b2157fd214e8045e1e
869 Author: Carl Worth <cworth@cworth.org>
870 Date: Thu Apr 3 17:12:14 2008 -0700
872 Add new ft-show-glyphs-table test to exercise recent glyph positioning bug fix
874 Interestingly, this test case does demonstrate that cairo-pdf
875 is fixed, (where without commit f6509933a4e0 the Y positions
876 of the glyphs were inverted); however, cairo-ps is failing
877 with this test, (all the glyphs are ending up on top of each
880 test/.gitignore | 1 +
881 test/Makefile.am | 2 +
882 test/ft-show-glyphs-table-ref.png | Bin 0 -> 11439 bytes
883 test/ft-show-glyphs-table.c | 116 +++++++++++++++++++++++++++++++++++++
884 4 files changed, 119 insertions(+), 0 deletions(-)
886 commit f6509933a4e0abde3b7bca861f65e433b7e8dcf0
887 Author: Adrian Johnson <ajohnson@redneon.com>
888 Date: Fri Apr 4 08:41:08 2008 +1030
890 PDF: Fix glyph positioning bug
892 src/cairo-pdf-operators.c | 2 +-
893 1 files changed, 1 insertions(+), 1 deletions(-)
895 commit bb76eb508b2d97a4455393a12540ceb7427bc271
896 Author: Chris Wilson <chris@chris-wilson.co.uk>
897 Date: Thu Apr 3 18:36:16 2008 +0100
899 [cairo-truetype-subset] Check reads are within valid data.
901 Check cairo_truetype_font_remap_composite_glyph() does not read beyond
902 the end of the buffer loaded for the glyf.
904 src/cairo-truetype-subset.c | 16 ++++++++++++----
905 1 files changed, 12 insertions(+), 4 deletions(-)
907 commit a5e2a2ad2d03c217b9b27c537ee6a945bdc98a44
908 Author: Chris Wilson <chris@chris-wilson.co.uk>
909 Date: Thu Apr 3 18:24:00 2008 +0100
911 [cairo-truetype-subset] Prevent accesses beyond the end of the glyph array.
913 Reject the font if we try to remap a composite glyph that exists outside
914 the known set of glyphs.
916 src/cairo-truetype-subset.c | 43 ++++++++++++++++++++++++++++++-------------
917 1 files changed, 30 insertions(+), 13 deletions(-)
919 commit 13cdfed894d48b30e28296c3a27c8361bf5506fb
920 Author: Chris Wilson <chris@chris-wilson.co.uk>
921 Date: Thu Apr 3 17:43:37 2008 +0100
923 [cairo-truetype-subset] Perform a quick sanity check that glyf end >= begin.
925 Check for a bogus glyf position and prevent an integer overflow.
927 src/cairo-truetype-subset.c | 6 ++++++
928 1 files changed, 6 insertions(+), 0 deletions(-)
930 commit cfff3c3bd04df5257176d9e43add52fc6daba329
931 Author: Chris Wilson <chris@chris-wilson.co.uk>
932 Date: Thu Apr 3 17:23:48 2008 +0100
934 [cairo-array] Guard against integer overflow whilst growing the array.
936 Sanity check the arguments to _cairo_array_grow_by() such that the
937 array size does not overflow, similar to the defensive checking of
938 parameters to malloc.
940 src/cairo-array.c | 12 ++++++++----
941 src/cairoint.h | 2 +-
942 2 files changed, 9 insertions(+), 5 deletions(-)
944 commit 6101dc3e93b20294c75734d7f29e55694ed58e74
945 Author: Chris Wilson <chris@chris-wilson.co.uk>
946 Date: Thu Apr 3 14:53:17 2008 +0100
948 [cairo-pdf-surface] Do not bitswap big-endian A1 masks.
950 Pixman stores the bits A1 surfaces in native byte order, PDF stores
951 A1 masks in MSb - so only perform swapping for little-endian machines.
953 Note this also removes the extraneous packing as per the PDF spec 4.8.2:
954 "Byte boundaries are ignored, except that each row of sample data must
955 begin on a byte boundary. If the number of data bits per row is not a
956 multiple of 8, the end of the row is padded with extra bits to fill out
959 src/cairo-pdf-surface.c | 30 +++++++-----------------------
960 1 files changed, 7 insertions(+), 23 deletions(-)
962 commit 7901eb29efb04e469f4bf94e2da6fd6b79b140b0
963 Author: Chris Wilson <chris@chris-wilson.co.uk>
964 Date: Thu Apr 3 12:12:25 2008 +0100
968 Add a variant of the a8-mask test case that exercises the FORMAT_A1 code
971 test/.gitignore | 1 +
972 test/Makefile.am | 2 +
973 test/a1-mask-ref.png | Bin 0 -> 131 bytes
974 test/a1-mask.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++
975 4 files changed, 201 insertions(+), 0 deletions(-)
977 commit 5aa5aeb1f56493cf7a6bafd22c6921d8415db64e
978 Author: Chris Wilson <chris@chris-wilson.co.uk>
979 Date: Thu Apr 3 12:09:03 2008 +0100
981 [cairo-font-face] Cleanup up the font_face on the error path.
983 A missing _cairo_toy_font_face_fini() was leaking the strdup(family).
985 src/cairo-font-face.c | 1 +
986 1 files changed, 1 insertions(+), 0 deletions(-)
988 commit 048160d44c564b0265b2e740b13d6ed3b367661d
989 Author: Chris Wilson <chris@chris-wilson.co.uk>
990 Date: Thu Apr 3 12:11:44 2008 +0100
992 [.gitignore] Add test/stroke-image
994 test/.gitignore | 1 +
995 1 files changed, 1 insertions(+), 0 deletions(-)
997 commit 9e749d0a287b8038d8a8524ed74626b2d3071538
998 Author: Vladimir Vukicevic <vladimir@pobox.com>
999 Date: Wed Apr 2 23:37:24 2008 -0700
1003 src/cairo-quartz-font.c | 2 +-
1004 1 files changed, 1 insertions(+), 1 deletions(-)
1006 commit 3f9b1ceac78976f34a18b551eec376c07db40775
1007 Author: Vladimir Vukicevic <vladimir@pobox.com>
1008 Date: Wed Apr 2 16:13:53 2008 -0700
1010 [cgfont] Implement missing scaled font metrics
1012 src/cairo-quartz-font.c | 74 +++++++++++++++++++++++++++++++++++++++++++++--
1013 1 files changed, 71 insertions(+), 3 deletions(-)
1015 commit eb3eb0252b13b3d2a3b6acfd13306ff3c6b0506e
1016 Author: Chris Wilson <chris@chris-wilson.co.uk>
1017 Date: Wed Apr 2 14:53:25 2008 +0100
1019 [cairo-xlib-surface] Avoid writing to the error surface.
1021 Insert status checks during construction of temporary glyph surfaces
1022 to avoid potentially writing to the inert error object.
1024 src/cairo-xlib-surface.c | 16 ++++++++--------
1025 1 files changed, 8 insertions(+), 8 deletions(-)
1027 commit c1062bf20ab60f6335be0814de245616a8d24bd2
1028 Author: Chris Wilson <chris@chris-wilson.co.uk>
1029 Date: Wed Apr 2 10:43:39 2008 +0100
1031 [cairo-xlib-surface] Preserve Visuals for non-TrueColor similar surfaces.
1033 Previously, given a valid XRenderFormat the Visual was discarded
1034 when creating similar surfaces. However the original Visual is
1035 required to support reading back from non-TrueColor surfaces.
1037 src/cairo-xlib-surface.c | 32 ++++++++++++++++++++------------
1038 1 files changed, 20 insertions(+), 12 deletions(-)
1040 commit b3a70629f8d1f5d7c23f4369d3395af73318eb28
1041 Author: Chris Wilson <chris@chris-wilson.co.uk>
1042 Date: Wed Apr 2 09:19:11 2008 +0100
1044 [test/text-transform] Fix pattern leak.
1046 Add missing cairo_pattern_destroy.
1048 test/text-transform.c | 10 ++++------
1049 1 files changed, 4 insertions(+), 6 deletions(-)
1051 commit 37c69c0d54c4b77c96497db4d6633558d4e1300d
1052 Author: Chris Wilson <chris@chris-wilson.co.uk>
1053 Date: Mon Mar 31 21:49:34 2008 +0100
1055 [cairo-xlib] Handle malloc failures for cairo_xlib_visual_info_t.
1057 Tidy the error paths whilst handling visuals, in particular avoiding a
1058 couple of potential NULL deferences, missed status checks and fresh
1061 src/cairo-xlib-private.h | 15 +++++++++---
1062 src/cairo-xlib-screen.c | 52 +++++++++++++++++++++++++++++++--------------
1063 src/cairo-xlib-surface.c | 30 ++++++++++++++++++--------
1064 src/cairo-xlib-visual.c | 19 +++++++++++++---
1065 4 files changed, 83 insertions(+), 33 deletions(-)
1067 commit 0cd42c25a6f4be1ff27ed3a9ba7fa9a91d076e0d
1068 Author: Chris Wilson <chris@chris-wilson.co.uk>
1069 Date: Mon Mar 31 19:15:48 2008 +0100
1071 [cairo-svg-surface] Check surface status before extracting the svg target.
1073 We need to check and report the existent status, else we may try to
1074 modify the inert error object.
1076 src/cairo-svg-surface.c | 5 +++++
1077 1 files changed, 5 insertions(+), 0 deletions(-)
1079 commit 013bbda6373d84d39e080c5e0b305581a2c6919c
1080 Author: Chris Wilson <chris@chris-wilson.co.uk>
1081 Date: Mon Mar 31 19:15:16 2008 +0100
1083 [cairo-ps-surface] Check surface status before extracting the ps target.
1085 We need to check and report the existent status, else we may try to
1086 modify the inert error object.
1088 src/cairo-ps-surface.c | 5 +++++
1089 1 files changed, 5 insertions(+), 0 deletions(-)
1091 commit cebb1eef431a38c7c3a96ae60a5bee188f41dc0b
1092 Author: Chris Wilson <chris@chris-wilson.co.uk>
1093 Date: Mon Mar 31 19:09:21 2008 +0100
1095 [cairo-svg-surface] Missing status check.
1097 Check and, if necessary, propagate the error status - do not allow the
1098 status to be overwritten, potentially masking the original error.
1100 src/cairo-svg-surface.c | 3 +++
1101 1 files changed, 3 insertions(+), 0 deletions(-)
1103 commit 94db91b65ef42228c963f2d6d82da085f9148895
1104 Author: Chris Wilson <chris@chris-wilson.co.uk>
1105 Date: Mon Mar 31 15:47:45 2008 +0100
1107 [cairo-pdf-surface] Do not mask error during cleanup.
1109 Be careful to preserve the original error status whilst on the common
1110 cleanup path for _cairo_pdf_surface_emit_meta_surface().
1112 src/cairo-pdf-surface.c | 8 ++++----
1113 1 files changed, 4 insertions(+), 4 deletions(-)
1115 commit 3580b99a8f99db207b54529f5ac7d0e4325cc123
1116 Author: Chris Wilson <chris@chris-wilson.co.uk>
1117 Date: Mon Mar 31 14:25:17 2008 +0100
1119 [cairo-pdf-surface] Check surface status before extracting the pdf target.
1121 We need to check and report the existent status, else we may try to
1122 modify the inert error object.
1124 src/cairo-pdf-surface.c | 5 +++++
1125 1 files changed, 5 insertions(+), 0 deletions(-)
1127 commit 34d734365bdc1c02cf1880804ab15af48c8d03e1
1128 Author: Chris Wilson <chris@chris-wilson.co.uk>
1129 Date: Mon Mar 31 11:27:10 2008 +0100
1131 [cairo-svg-surface] Release acquired surface on error path.
1133 Ensure the surface returned from _cairo_pattern_acquire_surface() is
1134 released on the error path.
1136 src/cairo-svg-surface.c | 5 +++--
1137 1 files changed, 3 insertions(+), 2 deletions(-)
1139 commit ba2e82d138eecb451c3d0bf53d9c349fb560f039
1140 Author: Chris Wilson <chris@chris-wilson.co.uk>
1141 Date: Mon Mar 31 10:55:39 2008 +0100
1143 [cairo-ps-surface] Check error status before potential illegal dereference.
1145 After acquiring the source image, check for the error status to ensure
1146 that we do not attempt to deference an invalid surface.
1148 src/cairo-ps-surface.c | 8 +++++++-
1149 1 files changed, 7 insertions(+), 1 deletions(-)
1151 commit 767add1ee356660075aaf02283f62a23ef9bcb24
1152 Author: Chris Wilson <chris@chris-wilson.co.uk>
1153 Date: Fri Mar 28 11:51:13 2008 +0000
1155 [cairo-pdf-operators] Destroy stream on error.
1157 We cannot guarantee that a newly created error stream is a static error
1158 object, so we need to always destroy the stream on the error path. (One
1159 day this may change with the global pool of error objects...)
1161 src/cairo-pdf-operators.c | 6 +++---
1162 1 files changed, 3 insertions(+), 3 deletions(-)
1164 commit 2f06284ad6154d1f5fac1a195edbcbc9ed3432cb
1165 Author: Carl Worth <cworth@cworth.org>
1166 Date: Tue Apr 1 16:07:22 2008 -0700
1168 Increment cairo version to 1.5.17 after 1.5.16 snapshot
1171 1 files changed, 1 insertions(+), 1 deletions(-)
1173 commit 5366c8f483dc7bd40b5d0a184c9b16826007c032
1174 Author: Carl Worth <cworth@cworth.org>
1175 Date: Tue Apr 1 15:52:41 2008 -0700
1177 Increment version to 1.5.16 and library versioning to 19:0:17
1179 configure.in | 8 ++++----
1180 1 files changed, 4 insertions(+), 4 deletions(-)
1182 commit eb6721f4ccc6ac861e16ec21c7b420645c4f572b
1183 Author: Carl Worth <cworth@cworth.org>
1184 Date: Tue Apr 1 15:51:57 2008 -0700
1186 NEWS: Add notes for the cairo 1.5.16 snapshot
1188 NEWS | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1189 1 files changed, 109 insertions(+), 0 deletions(-)
1191 commit 8707892b218cb79ef544ba396d4501827b900c32
1192 Author: Carl Worth <cworth@cworth.org>
1193 Date: Tue Apr 1 15:40:54 2008 -0700
1195 Doc SGML template churn
1197 doc/public/tmpl/cairo-ft.sgml | 7 +++++++
1198 doc/public/tmpl/cairo-xlib.sgml | 7 +++++++
1199 2 files changed, 14 insertions(+), 0 deletions(-)
1201 commit 5d0b2ede52eb6d05a7d5579e6bcd1d4d1850300c
1202 Author: Carl Worth <cworth@cworth.org>
1203 Date: Tue Apr 1 15:24:48 2008 -0700
1205 Mark cairo-quartz as officially supported
1207 An especial thanks to Vladimir Vukicevic and the Mozilla
1208 Foundation for a tremendous amount of work on cairo-quartz
1209 while it has been marked as "experimental"
1211 configure.in | 6 +-----
1212 1 files changed, 1 insertions(+), 5 deletions(-)
1214 commit 07130a9061b012bb5c206dc547b4cc0cc69dcbf1
1215 Author: Carl Worth <cworth@cworth.org>
1216 Date: Tue Apr 1 15:20:42 2008 -0700
1218 Include cairoint.h first to satisfy the test suite
1220 Forgetting to include cairoint.h (or not including it first) can
1221 cause some subtle bugs due to specific feature flags not being
1224 src/cairo-quartz-font.c | 4 ++--
1225 1 files changed, 2 insertions(+), 2 deletions(-)
1227 commit 46ea00d829bc50ab5316d2257e0d1ed1d8e3f4b6
1228 Author: Carl Worth <cworth@cworth.org>
1229 Date: Tue Apr 1 14:53:55 2008 -0700
1231 More quieting of subtle potentially-uninitialized warnings
1233 The compiler isn't clever enough to notice that these
1234 variables are always initialized (in either the TrueColor
1235 or ! TrueColor conditions corresponding to the later
1236 identical conditions in which the variables are used).
1238 src/cairo-xlib-surface.c | 14 +++++++-------
1239 1 files changed, 7 insertions(+), 7 deletions(-)
1241 commit 1489e66d250c070c46cb42a1db9ea9f447f464b9
1242 Author: Carl Worth <cworth@cworth.org>
1243 Date: Tue Apr 1 14:49:03 2008 -0700
1245 Quiet a more subtle potentially-uninitialized warning
1247 The compiler isn't clever enough to notice that these
1248 variables are always initialized.
1250 src/cairo-rectangle.c | 2 +-
1251 1 files changed, 1 insertions(+), 1 deletions(-)
1253 commit afc6e3b69dcadc63b1dd26a6d67a7da20d7397fe
1254 Author: Carl Worth <cworth@cworth.org>
1255 Date: Tue Apr 1 14:40:18 2008 -0700
1257 Quiet some trivial unused and potentially-uninitialized compiler warnings
1259 src/cairo-gstate.c | 2 +-
1260 src/cairo-hull.c | 2 +-
1261 src/cairo-ps-surface.c | 2 +-
1262 src/cairo-xlib-visual.c | 2 +-
1263 4 files changed, 4 insertions(+), 4 deletions(-)
1265 commit d09b0394d59b50ffd3ea8e58f9f57ea4717de754
1266 Author: Carl Worth <cworth@cworth.org>
1267 Date: Mon Mar 31 16:50:24 2008 -0700
1269 Add some reference images that were missing from the distribution list
1271 test/Makefile.am | 10 ++++++++++
1272 1 files changed, 10 insertions(+), 0 deletions(-)
1274 commit 56800e6ea0f7153e44f0cba14c89c4239067a60e
1275 Author: Vladimir Vukicevic <vladimir@pobox.com>
1276 Date: Tue Apr 1 13:28:03 2008 -0700
1278 [quartz] Remove cairo-atsui-font.c
1280 src/cairo-atsui-font.c | 1028 ------------------------------------------------
1281 1 files changed, 0 insertions(+), 1028 deletions(-)
1283 commit 8ddae11b544c35057a96ca0bdea34b4f473ee261
1284 Author: Vladimir Vukicevic <vladimir@pobox.com>
1285 Date: Tue Apr 1 13:26:00 2008 -0700
1287 [quartz] Update documentation
1289 doc/public/tmpl/cairo-ft.sgml | 8 --------
1290 doc/public/tmpl/cairo-quartz-fonts.sgml | 25 +++++++++++++++++++++++++
1291 doc/public/tmpl/cairo-quartz.sgml | 25 +++++++------------------
1292 doc/public/tmpl/cairo-xlib.sgml | 8 --------
1293 src/cairo-quartz-font.c | 14 ++++++++++++--
1294 src/cairo-quartz-surface.c | 18 ++++++++----------
1295 6 files changed, 52 insertions(+), 46 deletions(-)
1297 commit 9a7162cfdf48f47bb8ee0a7c24c55c061e4fbc90
1298 Author: Vladimir Vukicevic <vladimir@pobox.com>
1299 Date: Tue Apr 1 13:17:14 2008 -0700
1301 [doc] Add some Quartz/CGFont documentation templates
1303 doc/public/cairo-docs.xml | 1 +
1304 doc/public/cairo-sections.txt | 14 ++++++++++++++
1305 doc/public/tmpl/cairo-quartz-fonts.sgml | 23 +++++++++++++++++++++++
1306 3 files changed, 38 insertions(+), 0 deletions(-)
1308 commit 56cabc352e44ee7cb2989dd81688f6c37c33fc21
1309 Author: Vladimir Vukicevic <vladimir@pobox.com>
1310 Date: Tue Apr 1 13:01:41 2008 -0700
1312 [quartz] Update Quartz test reference images
1314 test/Makefile.am | 3 +++
1315 test/clip-operator-quartz-ref.png | Bin 9364 -> 9539 bytes
1316 test/clip-operator-quartz-rgb24-ref.png | Bin 4359 -> 4412 bytes
1317 test/font-matrix-translation-quartz-ref.png | Bin 1041 -> 1090 bytes
1318 test/glyph-cache-pressure-quartz-ref.png | Bin 3491 -> 3654 bytes
1319 test/linear-gradient-reflect-quartz-ref.png | Bin 0 -> 878 bytes
1320 test/operator-clear-quartz-ref.png | Bin 1368 -> 1459 bytes
1321 test/operator-clear-quartz-rgb24-ref.png | Bin 1201 -> 1293 bytes
1322 test/operator-source-quartz-ref.png | Bin 4572 -> 4637 bytes
1323 test/operator-source-quartz-rgb24-ref.png | Bin 3452 -> 3533 bytes
1324 test/select-font-face-quartz-ref.png | Bin 2958 -> 2970 bytes
1325 test/show-text-current-point-quartz-ref.png | Bin 3198 -> 3093 bytes
1326 test/surface-pattern-scale-down-quartz-ref.png | Bin 0 -> 3188 bytes
1327 test/text-antialias-gray-quartz-ref.png | Bin 1039 -> 1041 bytes
1328 test/text-antialias-none-quartz-ref.png | Bin 304 -> 300 bytes
1329 test/text-antialias-subpixel-quartz-ref.png | Bin 1100 -> 1065 bytes
1330 test/text-pattern-quartz-ref.png | Bin 0 -> 2158 bytes
1331 test/text-pattern-quartz-rgb24-ref.png | Bin 1867 -> 1874 bytes
1332 test/text-rotate-quartz-ref.png | Bin 17405 -> 17820 bytes
1333 test/unbounded-operator-quartz-ref.png | Bin 4325 -> 4066 bytes
1334 test/unbounded-operator-quartz-rgb24-ref.png | Bin 1972 -> 1918 bytes
1335 21 files changed, 3 insertions(+), 0 deletions(-)
1337 commit 94b67d13f38d860f1a768f9a088e3b6f5d188f7b
1338 Author: Vladimir Vukicevic <vladimir@pobox.com>
1339 Date: Tue Apr 1 12:44:32 2008 -0700
1341 [quartz] Handle further 10.4 vs. 10.5 differences; fix text AA handling
1343 src/cairo-quartz-surface.c | 74 +++++++++++++++++++++++++------------------
1344 1 files changed, 43 insertions(+), 31 deletions(-)
1346 commit a1d1be4234f7787c078ff096b4101e300494e7d1
1347 Author: Vladimir Vukicevic <vladimir@pobox.com>
1348 Date: Thu Mar 27 23:46:53 2008 -0700
1350 [cgfont] Round surface rectangle outwards to ensure whole-pixel dimensions
1352 src/cairo-quartz-font.c | 60 +++++++++++++++++++++++++++++++++++++---------
1353 1 files changed, 48 insertions(+), 12 deletions(-)
1355 commit c064ad1b56d11950786a3fd0363e543f5aec1761
1356 Author: Vladimir Vukicevic <vladimir@pobox.com>
1357 Date: Thu Mar 27 11:42:53 2008 -0700
1359 [cgfont] Fix whitespace errors
1361 src/cairo-quartz-font.c | 4 ++--
1362 1 files changed, 2 insertions(+), 2 deletions(-)
1364 commit 2be3e67db24ac34f772b5fc1182dfb9b730dce11
1365 Author: Vladimir Vukicevic <vladimir@pobox.com>
1366 Date: Tue Mar 25 22:44:39 2008 -0700
1368 [cgfont] Add CGFont backend to replace deprecated ATSUI backend
1370 Create a new font backend that uses the CGFont API on MacOS X
1373 src/cairo-quartz-font.c | 124 ++++++++++++++++++++++++++++++++++++++++------
1374 1 files changed, 107 insertions(+), 17 deletions(-)
1376 commit 30f7fae6475c36549badf1fcc11ae39d1d79b532
1377 Author: Vladimir Vukicevic <vladimir@pobox.com>
1378 Date: Thu Mar 20 13:24:48 2008 -0700
1380 [cgfont] Add start of CGFont font backend to replace ATSUI
1382 configure.in | 10 +-
1383 src/Makefile.am | 3 +-
1384 src/cairo-atsui-font.c | 2 +-
1385 src/cairo-quartz-font.c | 590 ++++++++++++++++++++++++++++++++++++++++++++
1386 src/cairo-quartz-private.h | 5 +
1387 src/cairo-quartz-surface.c | 1 -
1388 src/cairo-quartz.h | 5 +-
1389 src/cairoint.h | 4 +-
1390 8 files changed, 611 insertions(+), 9 deletions(-)
1392 commit 9e6d6798700cf629abbd921cf744babeb49215a1
1393 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
1394 Date: Tue Apr 1 16:48:04 2008 +0200
1396 [SVG] Fix stroke-image test failure.
1398 The pattern transform inherit the object transform matrix, and that was not
1401 src/cairo-svg-surface.c | 96 +++++++++++++++++++++++++++++-----------------
1402 1 files changed, 60 insertions(+), 36 deletions(-)
1404 commit a571cc56a3e708e37fe112212fbd41ae9071a16b
1405 Author: Carl Worth <cworth@cworth.org>
1406 Date: Mon Mar 31 12:17:39 2008 -0700
1408 Update pixman dependency to recent 0.10.0 release
1411 1 files changed, 1 insertions(+), 1 deletions(-)
1413 commit e9adba9a57177a1b5755734db25d08513a30c0b7
1414 Author: Carl Worth <cworth@cworth.org>
1415 Date: Mon Mar 31 12:15:06 2008 -0700
1417 Update ps-specifc reference image for ft-text-vertical-layout-type1
1419 Presumably this minor change happened due to a recent fix in
1420 cairo-ps glyph positioning.
1422 test/ft-text-vertical-layout-type1-ps-ref.png | Bin 1911 -> 1910 bytes
1423 1 files changed, 0 insertions(+), 0 deletions(-)
1425 commit a30ed53a1ce37f68f2ee8abf0f631bcc180e0e57
1426 Author: Adrian Johnson <ajohnson@redneon.com>
1427 Date: Sun Mar 30 00:13:35 2008 +1030
1429 Add stroke-image PS/PDF ref images
1431 test/stroke-image-pdf-ref.png | Bin 0 -> 1554 bytes
1432 test/stroke-image-ps-ref.png | Bin 0 -> 1786 bytes
1433 2 files changed, 0 insertions(+), 0 deletions(-)
1435 commit a729f27f3c5770277d691257d2355ffb97e3172f
1436 Author: Adrian Johnson <ajohnson@redneon.com>
1437 Date: Sun Mar 30 00:07:05 2008 +1030
1439 Add clip-operator PS/PDF rgb24 ref images
1441 test/clip-operator-pdf-rgb24-ref.png | Bin 0 -> 6530 bytes
1442 test/clip-operator-ps-rgb24-ref.png | Bin 0 -> 4620 bytes
1443 2 files changed, 0 insertions(+), 0 deletions(-)
1445 commit 9058b9260acce8839263fccf451a982bcb1c54f3
1446 Author: Adrian Johnson <ajohnson@redneon.com>
1447 Date: Sat Mar 29 23:49:51 2008 +1030
1449 Add operator-source PDF ref images
1451 Required due to gradient rendering differences between poppler and
1454 test/operator-source-pdf-argb32-ref.png | Bin 0 -> 4694 bytes
1455 test/operator-source-pdf-rgb24-ref.png | Bin 0 -> 3848 bytes
1456 2 files changed, 0 insertions(+), 0 deletions(-)
1458 commit 47981226db1650799ddb5efba01df2564aa1a3b5
1459 Author: Adrian Johnson <ajohnson@redneon.com>
1460 Date: Sat Mar 29 23:45:31 2008 +1030
1462 Fix PDF analysis of OPERATOR_SOURCE surface patterns
1464 src/cairo-pdf-surface.c | 12 +++++++++---
1465 1 files changed, 9 insertions(+), 3 deletions(-)
1467 commit 53d1a4b0dcb3a1fa62face9d2b5b086d74b6e397
1468 Author: Adrian Johnson <ajohnson@redneon.com>
1469 Date: Sat Mar 29 23:03:02 2008 +1030
1471 Update operator-source PS ref images
1473 test/operator-source-ps-argb32-ref.png | Bin 3893 -> 3890 bytes
1474 test/operator-source-ps-rgb24-ref.png | Bin 3241 -> 3181 bytes
1475 2 files changed, 0 insertions(+), 0 deletions(-)
1477 commit b3b3e3810d6ea9e75d5accd8e0d2ad00f664b4a5
1478 Author: Adrian Johnson <ajohnson@redneon.com>
1479 Date: Sat Mar 29 19:14:18 2008 +1030
1481 PS: Clear pattern background to when using OPERATOR_SOURCE
1483 Set pattern background to white if surface content is COLOR_ALPHA or
1484 black if surface content is COLOR when operator is SOURCE.
1486 src/cairo-ps-surface.c | 43 +++++++++++++++++++++++++++----------------
1487 1 files changed, 27 insertions(+), 16 deletions(-)
1489 commit 5b8b3a9765d292d554b50df0981652d3bb4ec56f
1490 Author: Adrian Johnson <ajohnson@redneon.com>
1491 Date: Sat Mar 29 01:07:30 2008 +1030
1493 PS/PDF: Save/Restore surface clip when emitting a meta-surface pattern
1495 src/cairo-pdf-surface.c | 6 ++++++
1496 src/cairo-ps-surface.c | 6 ++++++
1497 src/cairo-surface.c | 6 ++++++
1498 src/cairoint.h | 3 +++
1499 4 files changed, 21 insertions(+), 0 deletions(-)
1501 commit e4fd9b4ea2e8cc378471c4f536236faa73467977
1502 Author: Adrian Johnson <ajohnson@redneon.com>
1503 Date: Thu Mar 27 09:06:11 2008 +1030
1505 Bump poppler version required for testing to 0.8.0
1507 The poppler specific reference images are created from the latest
1508 version of poppler in git. The main reason has been for support for
1509 knockout groups that had not yet been available in a stable release.
1511 Poppler 0.8.0 is the first stable release to include the support for
1515 1 files changed, 1 insertions(+), 1 deletions(-)
1517 commit af8928fa8bb8905515f36b4ddc51e665b4b8da56
1518 Author: Carl Worth <cworth@cworth.org>
1519 Date: Wed Mar 26 14:21:58 2008 -0700
1521 Add svg-specific reference image for ft-show-glyphs-positioning test
1523 There was no failure here, just minor rasterization differences.
1525 test/ft-show-glyphs-positioning-svg-ref.png | Bin 0 -> 6590 bytes
1526 1 files changed, 0 insertions(+), 0 deletions(-)
1528 commit fbab4bbb06d875313e9cd0dc38673b79b8460edb
1529 Author: Carl Worth <cworth@cworth.org>
1530 Date: Wed Mar 26 13:47:06 2008 -0700
1532 Update clip-operator and operator-clear reference images
1534 There were legitimate bugs in the ps and pdf backends for these
1535 tests, (particularly with the row of glyphs), but these bugs
1536 were recently fixed with:
1538 commit d89edde84de9cec9ce6f76f4f2c44dd9c1220528
1539 Author: Vladimir Vukicevic <vladimir@pobox.com>
1540 Date: Tue Mar 4 00:15:46 2008 -0800
1542 [meta] always copy glyph array before passing to _cairo_surface_show_glyphs
1544 and we just failed to notice the fix at the time.
1546 test/clip-operator-pdf-argb32-ref.png | Bin 11005 -> 11429 bytes
1547 test/clip-operator-ps-argb32-ref.png | Bin 9084 -> 9102 bytes
1548 test/operator-clear-ps-argb32-ref.png | Bin 1400 -> 1435 bytes
1549 3 files changed, 0 insertions(+), 0 deletions(-)
1551 commit 75972167a277687b1434c52e791ffe9c18fa2a7a
1552 Author: Carl Worth <cworth@cworth.org>
1553 Date: Wed Mar 26 11:31:04 2008 -0700
1555 Use floating-point offsets for color stops
1557 Previously we were using the cairo_fixed_t type which meant we've
1558 historically only been using 16 bits of precision for these offsets,
1559 and recently only 8 bits. Meanwhile, all manipulatons of offsets
1560 have been in floating-point anyway, so we might as well store them
1563 This change also prevents a rendering regression introduced with the
1564 24.8->16.16 change betwen snapshots 1.5.10 and 1.5.12 .
1566 This change affected gradient-rendering details for the clip-operator
1567 and operator-source tests, so the corresponding reference images are
1570 src/cairo-glitz-surface.c | 2 +-
1571 src/cairo-pattern.c | 10 ++++------
1572 src/cairo-pdf-surface.c | 6 +++---
1573 src/cairo-ps-surface.c | 6 +++---
1574 src/cairo-quartz-surface.c | 6 +++---
1575 src/cairo-svg-surface.c | 31 ++++++++++++++-----------------
1576 src/cairo-win32-printing-surface.c | 2 +-
1577 src/cairoint.h | 2 +-
1578 test/clip-operator-ref.png | Bin 8263 -> 8271 bytes
1579 test/operator-source-ref.png | Bin 4422 -> 4420 bytes
1580 10 files changed, 30 insertions(+), 35 deletions(-)
1582 commit 80dc1714c87c3902e70fa94e4911945986cc7920
1583 Author: Carl Worth <cworth@cworth.org>
1584 Date: Wed Mar 26 10:31:36 2008 -0700
1586 Remove unused variable
1588 src/cairo-image-surface.c | 1 -
1589 1 files changed, 0 insertions(+), 1 deletions(-)
1591 commit f676f18050383ecf26c36cdbba4ac81d2d45b042
1592 Author: Chris Wilson <chris@chris-wilson.co.uk>
1593 Date: Wed Mar 26 08:43:23 2008 +0000
1595 [cairo] Fixup make check.
1597 make check demands that all function references in the docs are suffixed
1600 src/cairo.c | 6 +++---
1601 1 files changed, 3 insertions(+), 3 deletions(-)
1603 commit 452a1de2a06b57a3ed1b149e152487505dbc04f8
1604 Author: Chris Wilson <chris@chris-wilson.co.uk>
1605 Date: Tue Mar 25 16:50:33 2008 +0000
1607 [cairo-gstate] Remove dead code.
1609 Eliminate _cairo_gstate_recursive_apply_clip_path, as its last caller
1610 was removed over 2 years ago.
1612 src/cairo-gstate.c | 21 ---------------------
1613 1 files changed, 0 insertions(+), 21 deletions(-)
1615 commit ed42916028e4f51949210de6ecf4ebc5095aa45c
1616 Author: Adrian Johnson <ajohnson@redneon.com>
1617 Date: Wed Mar 26 23:04:35 2008 +1030
1619 Win32: Fix bug in cairo_win32_font_face_create_for_hfont()
1621 Use GetObjectW for LOGFONTW.
1623 src/cairo-win32-font.c | 2 +-
1624 1 files changed, 1 insertions(+), 1 deletions(-)
1626 commit 6dc75ab0f8370154aae7719ed805c5a8bdf1c9f4
1627 Author: Carl Worth <cworth@cworth.org>
1628 Date: Tue Mar 25 10:21:50 2008 -0700
1630 Quiet compiler warnings about unhandled PIXMAN_yuy2 and PIXMAN_yv12
1632 We still don't handle these format codes of course, (they're meaningless
1633 for the context in which they're used here).
1635 Note that we previously avoided adding these to avoid people being forced
1636 to upgrade pixman just to get two enum values that cairo doesn't really
1637 care about. But now we're depending on a new pixman anyway, (for the
1638 pixman_format_code_to_masks function), so we'll go ahead and do this now.
1640 src/cairo-image-surface.c | 3 +++
1641 1 files changed, 3 insertions(+), 0 deletions(-)
1643 commit 1675713aff7311461e26d7badccb9942573f2bca
1644 Author: Carl Worth <cworth@cworth.org>
1645 Date: Tue Mar 25 16:45:21 2008 -0700
1647 Depend on pixman 0.9.7 for new pixman_format_supported_destination function
1649 This allows us to do a much more general and complete implementation of
1650 _pixman_format_from_masks and _pixman_format_to_masks so that we'll
1651 even pick up new pixman formats as they get added.
1654 src/cairo-image-surface.c | 200 +++++++++++++++++++--------------------------
1655 2 files changed, 86 insertions(+), 116 deletions(-)
1657 commit d7e5f6b6a00912e22cb5ca837d0a56d30cf59124
1658 Author: Carl Worth <cworth@cworth.org>
1659 Date: Tue Mar 25 16:32:24 2008 -0700
1661 Rename _popcount to _cairo_popcount and make it available for internal use
1663 Both cairo-image-surface.c and cairo-xlib-surface.c want to
1664 use this function now.
1666 src/cairo-xlib-surface.c | 25 ++-----------------------
1667 src/cairoint.h | 21 +++++++++++++++++++++
1668 2 files changed, 23 insertions(+), 23 deletions(-)
1670 commit 90cf7c2faf167b4b86443eb340af23cf853b146a
1671 Author: Carl Worth <cworth@cworth.org>
1672 Date: Tue Mar 25 10:40:01 2008 -0700
1674 Quiet warning about signed vs. unsigned comparison
1676 src/cairo-surface-fallback.c | 4 ++--
1677 1 files changed, 2 insertions(+), 2 deletions(-)
1679 commit 770633c05acf12b911cdbdaa94b20ccf34ce742a
1680 Author: Carl Worth <cworth@cworth.org>
1681 Date: Tue Mar 25 10:27:36 2008 -0700
1683 Quiet warnings about unhandled enum values in _cairo_surface_create_in_error
1685 src/cairo-surface.c | 18 ++++++++++++++++++
1686 1 files changed, 18 insertions(+), 0 deletions(-)
1688 commit d15c7c94bdfc714845bd88f9e3ed5317afcfce72
1689 Author: Carl Worth <cworth@cworth.org>
1690 Date: Tue Mar 25 12:12:40 2008 -0700
1692 Document performance advantage of cairo_path_extents
1694 The cairo_path_extents function can perform better than either
1695 cairo_stroke_extents or cairo_fill_extents, so provide that
1696 pointer from the documentation of the other two functions.
1698 src/cairo.c | 14 ++++++++++++--
1699 1 files changed, 12 insertions(+), 2 deletions(-)
1701 commit 8aba5b802946530ef481f1461f9894529498cd8a
1702 Author: Vladimir Vukicevic <vladimir@pobox.com>
1703 Date: Tue Mar 25 11:53:52 2008 -0700
1705 [win32] Prevent crash in create_similar if win32_surface_create fails
1707 src/cairo-win32-surface.c | 12 +++++++++---
1708 1 files changed, 9 insertions(+), 3 deletions(-)
1710 commit 49a140b04bda85c03f824dcf565f1fcdd70b8965
1711 Author: Vladimir Vukicevic <vladimir@pobox.com>
1712 Date: Tue Mar 25 11:22:43 2008 -0700
1714 [osx] additional fix to configure for multi-arch OSX builds
1716 configure.in | 3 ++-
1717 1 files changed, 2 insertions(+), 1 deletions(-)
1719 commit ae143d779ba5765f55754cb89af87b065d84ef04
1720 Author: Vladimir Vukicevic <vladimir@pobox.com>
1721 Date: Tue Mar 25 11:17:57 2008 -0700
1723 [quartz] When stroking with an image source, use the right CTM for the image
1725 Since the CTM was modified for the stroke transform, we need to reset
1726 it before calling ConcatCTM for the source transform.
1728 src/cairo-quartz-surface.c | 9 ++++-
1729 test/Makefile.am | 3 +
1730 test/stroke-image-quartz-ref.png | Bin 0 -> 1802 bytes
1731 test/stroke-image-ref.png | Bin 0 -> 1866 bytes
1732 test/stroke-image.c | 77 ++++++++++++++++++++++++++++++++++++++
1733 5 files changed, 88 insertions(+), 1 deletions(-)
1735 commit e9906ae2021904c8c3d3a4083786475c102196f7
1736 Author: Adrian Johnson <ajohnson@redneon.com>
1737 Date: Tue Mar 25 21:56:19 2008 +1030
1739 Win32-Printing: Fix fallback resolution when DC ctm is not identity
1741 And also move the _cairo_surface_set_resolution() into
1742 _cairo_win32_printing_surface_start_page as the DC ctm may be changed
1745 This bug was found in Inkscape now that they are using the cairo
1746 win32-printing surface for printing on Windows.
1748 src/cairo-win32-printing-surface.c | 19 ++++++++++++++-----
1749 1 files changed, 14 insertions(+), 5 deletions(-)
1751 commit ee3981fb92ee5fa9b049dae32421cc0015fd4bf6
1752 Author: Carl Worth <cworth@cworth.org>
1753 Date: Mon Mar 24 16:24:36 2008 -0700
1755 Add new text-transform test
1757 Previously, the test suite wasn't supplying any coverage of transformed
1760 test/.gitignore | 1 +
1761 test/Makefile.am | 1 +
1763 test/text-transform-pdf-ref.png | Bin 0 -> 3796 bytes
1764 test/text-transform-ps-ref.png | Bin 0 -> 4154 bytes
1765 test/text-transform-ref.png | Bin 0 -> 6200 bytes
1766 test/text-transform.c | 113 +++++++++++++++++++++++++++++++++++++++
1767 7 files changed, 116 insertions(+), 0 deletions(-)
1769 commit 184d9cbf9c8967b741209b9d891848c9bd37dd60
1770 Author: Adrian Johnson <ajohnson@redneon.com>
1771 Date: Mon Mar 24 12:36:37 2008 +1030
1773 Update REFERENCE_IMAGES with PS ref images
1775 for finer finer-grained-fallbacks.
1777 test/Makefile.am | 2 ++
1778 1 files changed, 2 insertions(+), 0 deletions(-)
1780 commit 2ad39157975d71735da936977dd10e66d055ece7
1781 Author: Adrian Johnson <ajohnson@redneon.com>
1782 Date: Mon Mar 24 12:32:07 2008 +1030
1784 Add PS reference images for finer-grained-fallbacks test
1786 test/finer-grained-fallbacks-ps-argb32-ref.png | Bin 0 -> 1047 bytes
1787 test/finer-grained-fallbacks-ps-rgb24-ref.png | Bin 0 -> 819 bytes
1788 2 files changed, 0 insertions(+), 0 deletions(-)
1790 commit ae9635bf33cb989f5c525800b82b81daad699e01
1791 Author: Adrian Johnson <ajohnson@redneon.com>
1792 Date: Mon Mar 24 12:16:20 2008 +1030
1794 Fix assertion in PS/PDF/Win32-print when fallback image is off the page
1796 If during analysis the bounding box of an operation or the number of
1797 traps is 0, the operation is marked as natively supported. The problem
1798 here is if the operation is unsupported by the backend, we get an
1799 assertion when the operation is replayed during
1800 CAIRO_PAGINATED_MODE_RENDER.
1802 This bug was found in Inkscape when printing to the
1803 win32_printing_surface a page that has been layed out as landscape but
1804 landscape paper had not been selected in the print dialog.
1806 Fix this by being careful not to mark unsupported operations as
1807 supported during analysis even they may not be visible on the page.
1809 src/cairo-analysis-surface.c | 73 +++++++++++++++++++++++++++++++----------
1810 1 files changed, 55 insertions(+), 18 deletions(-)
1812 commit 179ab7d2860b8ff94fe491896c50505fde7cf6af
1813 Author: Adrian Johnson <ajohnson@redneon.com>
1814 Date: Mon Mar 24 11:43:29 2008 +1030
1816 Add finer-grained-fallbacks test
1818 This reproduces the bug in PS/PDF/Win32-printing where an unsupported
1819 operation that is off the page causes an unsupported operation
1820 assertion in the backend.
1822 test/.gitignore | 1 +
1823 test/Makefile.am | 3 +
1824 test/finer-grained-fallbacks-ref.png | Bin 0 -> 796 bytes
1825 test/finer-grained-fallbacks-rgb24-ref.png | Bin 0 -> 590 bytes
1826 test/finer-grained-fallbacks.c | 111 ++++++++++++++++++++++++++++
1827 5 files changed, 115 insertions(+), 0 deletions(-)
1829 commit 9a1f7bbc357ecce351b459f883b4ebeaa6640b65
1830 Author: Benjamin Otte <otte@gnome.org>
1831 Date: Sun Mar 23 15:31:24 2008 +0100
1833 [API] unbreak CAIRO_FONT_TYPE_ATSUI
1835 commit 9d61f7db8082baf3a223c4ea41a53de372676e40 broke API by making the
1836 CAIRO_FONT_TYPE_ATSUI symbol not work anymore. However, this symbol was part of
1837 Cairo's public API and should continue working this way.
1839 src/cairo-deprecated.h | 3 ++-
1840 1 files changed, 2 insertions(+), 1 deletions(-)
1842 commit 104c2825ea66d7d5f405cc8d690d90b45e752c46
1843 Author: Chris Wilson <chris@chris-wilson.co.uk>
1844 Date: Fri Mar 21 09:11:48 2008 +0000
1846 [cairo-png] Set bKGD gray value.
1848 For PNG_COLOR_TYPE_GRAY images the bKGD value is read from white.gray
1849 which was uninitialized, triggering the "PNG warning = Ignoring attempt
1850 to write bKGD chunk out-of-range for bit_depth" reported by Emmanuel
1851 Pacaud. This patch sets the background gray value to white, the same as
1854 src/cairo-png.c | 5 ++---
1855 1 files changed, 2 insertions(+), 3 deletions(-)
1857 commit c4599324820cfb46700bf2f059c46e9245f98ea5
1858 Author: Adrian Johnson <ajohnson@redneon.com>
1859 Date: Fri Mar 21 18:12:03 2008 +1030
1861 Update PS reference images
1863 Some of the text tests require new PS specific reference images as a
1864 result of the PS glyph positioning fix.
1866 test/font-matrix-translation-ps-argb32-ref.png | Bin 749 -> 748 bytes
1867 test/font-matrix-translation-ps-rgb24-ref.png | Bin 749 -> 748 bytes
1868 test/glyph-cache-pressure-ps-ref.png | Bin 1413 -> 1454 bytes
1869 test/select-font-face-ps-ref.png | Bin 1079 -> 959 bytes
1870 test/show-text-current-point-ps-ref.png | Bin 1454 -> 1356 bytes
1871 test/text-pattern-ps-argb32-ref.png | Bin 984 -> 966 bytes
1872 test/text-pattern-ps-rgb24-ref.png | Bin 936 -> 924 bytes
1873 7 files changed, 0 insertions(+), 0 deletions(-)
1875 commit f3a5f7570104c8d48c99a2b6bd34f4142e52f099
1876 Author: Adrian Johnson <ajohnson@redneon.com>
1877 Date: Fri Mar 21 16:34:01 2008 +1030
1879 Add PS/PDF ref images for ft-show-glyphs-positioning
1881 test/Makefile.am | 2 ++
1882 test/ft-show-glyphs-positioning-pdf-ref.png | Bin 0 -> 3114 bytes
1883 test/ft-show-glyphs-positioning-ps-ref.png | Bin 0 -> 2269 bytes
1884 3 files changed, 2 insertions(+), 0 deletions(-)
1886 commit 4f56a6324f16fa58c21180cc362ee18520a59179
1887 Author: Adrian Johnson <ajohnson@redneon.com>
1888 Date: Fri Mar 21 16:30:53 2008 +1030
1890 Finish the PDF text operator decimal reduction commit
1892 Commit 158b32b60bc7e0f6488383c1d4f83203ffe97c98 reduced excess
1893 decimals emitted for the TJ operator. However it only fixed the first
1894 of the two locations in pdf-operators where the TJ position
1895 adjustments are emitted.
1897 src/cairo-pdf-operators.c | 12 +++++++++---
1898 1 files changed, 9 insertions(+), 3 deletions(-)
1900 commit 13e05bffd5cae5690fada24c7a7e2457c39e4dbf
1901 Author: Adrian Johnson <ajohnson@redneon.com>
1902 Date: Fri Mar 21 15:41:31 2008 +1030
1904 Fix PS glyph positioning bug in PDF operator emulation
1906 The emulation of the PDF 'TJ' operator in the PS prolog was
1907 incorrectly updating the glyph position between strings. The glyph
1908 position values are a negative x offset that are in 1/1000 unit of
1909 text space. We were incorrectly multiplying the number by -0.0001
1910 instead of -0.001. We also need to transform this to device space
1911 before calling rmoveto.
1913 src/cairo-ps-surface.c | 5 +++--
1914 1 files changed, 3 insertions(+), 2 deletions(-)
1916 commit 83486684520f3fd27d1118aa23462d013def83df
1917 Author: Adrian Johnson <ajohnson@redneon.com>
1918 Date: Fri Mar 21 16:06:12 2008 +1030
1920 Add ft-show-glyphs-positioning test
1922 This demonstrates the glyph positioning bug in the PS backend.
1924 test/.gitignore | 1 +
1925 test/Makefile.am | 2 +
1926 test/ft-show-glyphs-positioning-ref.png | Bin 0 -> 3444 bytes
1927 test/ft-show-glyphs-positioning.c | 167 +++++++++++++++++++++++++++++++
1928 4 files changed, 170 insertions(+), 0 deletions(-)
1930 commit 37fedd108e3defc10f2f749a3a9971287e41706c
1931 Author: Carl Worth <cworth@cworth.org>
1932 Date: Thu Mar 20 17:02:01 2008 -0700
1934 Increment cairo version to 1.5.15 after the 1.5.14 snapshot
1937 1 files changed, 1 insertions(+), 1 deletions(-)
1939 commit f4d4d7b3d0bd62af6ffd50ba9cd8df0b9a12be71
1940 Author: Carl Worth <cworth@cworth.org>
1941 Date: Thu Mar 20 16:13:28 2008 -0700
1943 Cleanup up png-test.png file in 'make clean'
1945 test/Makefile.am | 1 +
1946 1 files changed, 1 insertions(+), 0 deletions(-)
1948 commit 4ad5937648b27cd7a73a6a245ed875de92fa1c07
1949 Author: Carl Worth <cworth@cworth.org>
1950 Date: Thu Mar 20 15:55:28 2008 -0700
1952 Enable PLT avoidance for cairo_image_surface_get_data/stride
1954 src/cairo-image-surface.c | 2 ++
1955 src/cairoint.h | 2 ++
1956 2 files changed, 4 insertions(+), 0 deletions(-)
1958 commit 5d9eefccd6ff4d51e16caa8f3092d3acc33b5549
1959 Author: Carl Worth <cworth@cworth.org>
1960 Date: Thu Mar 20 15:37:04 2008 -0700
1962 Disable enum_regexp test in check-doc-syntax.h
1964 It's returning false positives on non-gtk-doc comments with non-public
1967 src/check-doc-syntax.sh | 29 +++++++++++++++++++----------
1968 1 files changed, 19 insertions(+), 10 deletions(-)
1970 commit 0c17ca52aa63a9c77cff47c4ae42bc16e5220552
1971 Author: Carl Worth <cworth@cworth.org>
1972 Date: Thu Mar 20 15:33:37 2008 -0700
1974 Mark new cairo_xlib_visual_info functions as private.
1976 src/cairo-xlib-private.h | 4 ++--
1977 1 files changed, 2 insertions(+), 2 deletions(-)
1979 commit f32f81fa1badce15403d922002f4fc59fe8b563a
1980 Author: Carl Worth <cworth@cworth.org>
1981 Date: Thu Mar 20 13:49:29 2008 -0700
1983 Increment cairo version to 1.5.14 and libtool versioning to 18:1:16
1985 configure.in | 4 ++--
1986 1 files changed, 2 insertions(+), 2 deletions(-)
1988 commit ffa50c31d38c761b4bf247d3ac27933974b819d3
1989 Author: Carl Worth <cworth@cworth.org>
1990 Date: Thu Mar 20 13:49:19 2008 -0700
1994 doc/public/tmpl/cairo-font-face.sgml | 2 +-
1995 1 files changed, 1 insertions(+), 1 deletions(-)
1997 commit 3bb0474ea7d453793199d3ce7674fbe1ee8a324d
1998 Author: Carl Worth <cworth@cworth.org>
1999 Date: Thu Mar 20 13:48:29 2008 -0700
2001 NEWS: Add notes for 1.5.14 snapshot
2003 NEWS | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
2004 1 files changed, 128 insertions(+), 1 deletions(-)
2006 commit 191440101e815fe9be23bb6fbb36114de65d8c2d
2007 Author: Carl Worth <cworth@cworth.org>
2008 Date: Thu Mar 20 12:33:17 2008 -0700
2010 Fix the REFERENCE_IMAGES list, (like always before a snapshot)
2012 test/Makefile.am | 4 ++--
2013 1 files changed, 2 insertions(+), 2 deletions(-)
2015 commit 46bbead898186349094ae69d2b16f88b80cb820e
2016 Author: Carl Worth <cworth@cworth.org>
2017 Date: Thu Mar 20 12:18:39 2008 -0700
2019 RELEASING: Clarify steps for verifying no unpushed modifications
2021 RELEASING | 7 +++----
2022 1 files changed, 3 insertions(+), 4 deletions(-)
2024 commit c91a2a2e80f2172a4174cfc3b5e821cb49633da5
2025 Author: Carl Worth <cworth@cworth.org>
2026 Date: Thu Mar 20 11:51:31 2008 -0700
2028 Track minor change in pixman filtering sample location
2030 This change in reference image was triggered by the following commit
2031 in the pixman library:
2033 commit f2d8a5caa63596739b4dc47c00daaaafd9f522e2
2034 Author: Søren Sandmann <sandmann@redhat.com>
2035 Date: Mon Mar 10 23:41:52 2008 -0400
2037 Add rounding epsilon for NEAREST filter after transformation, not before.
2039 This hasn't appeared in a pixman release yet. So for now, getting
2040 correct results is a matter of "use latest pixman". Soon we'll
2041 have a new pixman release and we'll make cairo depend on that.
2043 test/rotate-image-surface-paint-ref.png | Bin 209 -> 232 bytes
2044 1 files changed, 0 insertions(+), 0 deletions(-)
2046 commit e96f382549eb3411d461162fdd8989f4ade8b448
2047 Author: Carl Worth <cworth@cworth.org>
2048 Date: Wed Mar 19 13:00:47 2008 -0700
2050 Add support for 8-bit PseudoColor visuals
2052 This support involves allocating a 16-bit grayscale ramp as well
2053 as a 5x5x5 RGB color cube. Afterwards, the 256 colors are queried
2054 and an array is generated mapping from r3g3b3 colors to the closest
2055 available color. Both the queried colors and the reverse mapping
2056 are stored in a new visual-specific cairo_xlib_visual_info_t
2057 structure which hangs off of the cairo_xlib_screen_info_t.
2059 Both the color-cube allocation and the distance metric could be
2060 improved by someone sufficiently motivated, (for example, allocating
2061 and matching in a perceptually linear color space rather than just
2062 in RGB space). Also, making this work well in the face of a changing
2063 color map, or in the case of GrayScale, StaticGray, or DirectColor
2064 visuals are left entirely as exercises for the reader. StaticColor
2065 support should be fine as is, but is entirely untested.
2067 src/Makefile.am | 1 +
2068 src/cairo-xlib-private.h | 15 +++++
2069 src/cairo-xlib-screen.c | 49 ++++++++++++++++
2070 src/cairo-xlib-surface.c | 122 +++++++++++++++++++++++++---------------
2071 src/cairo-xlib-visual.c | 137 ++++++++++++++++++++++++++++++++++++++++++++++
2072 5 files changed, 278 insertions(+), 46 deletions(-)
2074 commit d413c5ab21efb2ccc6a4847ff387f8e39ba2f3e1
2075 Author: Carl Worth <cworth@cworth.org>
2076 Date: Wed Mar 19 14:23:35 2008 -0700
2078 xlib: Add support for arbitrary TrueColor visuals
2080 This fixes the following bugs:
2082 cairo doesn't support 8-bit truecolor visuals
2083 https://bugs.freedesktop.org/show_bug.cgi?id=7735
2085 cairo doesn't support 655 xlib format
2086 https://bugs.freedesktop.org/show_bug.cgi?id=9719
2088 src/cairo-xlib-surface-private.h | 5 +
2089 src/cairo-xlib-surface.c | 342 ++++++++++++++++++++++++++++++--------
2090 2 files changed, 276 insertions(+), 71 deletions(-)
2092 commit aeaec94fd03b9098efce9d7455f813acf22ec026
2093 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
2094 Date: Thu Mar 20 16:05:34 2008 +0100
2096 [SVG] Replace the color property by stroke.
2098 Color property doesn't support URL as value. This pacth fixes
2099 http://bugs.freedesktop.org/show_bug.cgi?id=14556 .
2101 src/cairo-svg-surface.c | 6 +++---
2102 1 files changed, 3 insertions(+), 3 deletions(-)
2104 commit 158b32b60bc7e0f6488383c1d4f83203ffe97c98
2105 Author: Adrian Johnson <ajohnson@redneon.com>
2106 Date: Tue Mar 18 22:29:59 2008 +1030
2108 PDF: Reduce excess decimals in text position offsets
2110 The numbers output in the TJ array for adjusting the horizontal
2111 position of the next glyph are in 1/1000 of the text space
2112 units. Rounding these numbers to an integer should still provide
2113 sufficient precision.
2115 We use the rounded numbers to update the text position in
2116 pdf-operators so subsequent numbers in the TJ array will compensate
2117 for the rounding error.
2119 src/cairo-pdf-operators.c | 26 ++++++++++++++++++++++----
2120 1 files changed, 22 insertions(+), 4 deletions(-)
2122 commit 222041530cd5d7f1ef6b41ea1738bf395ef1678a
2123 Author: Adrian Johnson <ajohnson@redneon.com>
2124 Date: Tue Mar 18 22:28:37 2008 +1030
2126 Use %g for printing path coordinates in pdf-operators
2128 to eliminate unnecessary decimal places in the output.
2130 src/cairo-pdf-operators.c | 8 ++++----
2131 1 files changed, 4 insertions(+), 4 deletions(-)
2133 commit d78013470b11677df88f246d893c1f019f4ae228
2134 Author: Adrian Johnson <ajohnson@redneon.com>
2135 Date: Tue Mar 18 22:27:25 2008 +1030
2137 Add %g conversion specifer to output-stream for limited precision
2139 The %g conversion specifier is for printing numbers that were at some
2140 time stored in a cairo_fixed_t type and as a result have their
2141 precision limited by the size of CAIRO_FIXED_FRAC_BITS.
2143 Using %g will limit the number of digits after the decimal point to
2144 the minimum required to preserve the available precision.
2146 src/cairo-output-stream.c | 87 +++++++++++++++++++++++++++++----------------
2147 1 files changed, 56 insertions(+), 31 deletions(-)
2149 commit f3734085a1d1d9b08004a243e28a0233f621847c
2150 Author: Adrian Johnson <ajohnson@redneon.com>
2151 Date: Tue Mar 18 22:25:46 2008 +1030
2153 Make _cairo_dtostr() static
2155 It is only used in cairo-output-stream.c
2157 src/cairo-output-stream-private.h | 3 ---
2158 src/cairo-output-stream.c | 2 +-
2159 2 files changed, 1 insertions(+), 4 deletions(-)
2161 commit 4d9e5b51aa4164cf758c6a1f84c7f831becc098b
2162 Author: Adrian Johnson <ajohnson@redneon.com>
2163 Date: Tue Mar 18 22:25:18 2008 +1030
2165 Rescale CTM used for PS/PDF stroking to reduce rounding error
2167 The PS/PDF CTM is transformed to the user space CTM when emitting
2168 paths to be stroked to ensure the correct pen shape used. However this
2169 can result in rounding errors.
2171 For example the device space point (1.234, 3.142) when transformed to
2172 a user space CTM of [100 0 0 100 0 0] will be emitted as
2175 Fix this by rescaling the user space CTM so that the path coordinates
2176 emitted to the PDF file stay within the range the maximizes the
2177 precision. The line width and dashing is also rescaled to be the same
2178 size in the rescaled CTM.
2180 src/cairo-pdf-operators.c | 70 ++++++++++++++++++++++++++++++++++++++++----
2181 1 files changed, 63 insertions(+), 7 deletions(-)
2183 commit 7f4b967c020042779748021fa32fddfc3f0def28
2184 Author: Carl Worth <cworth@cworth.org>
2185 Date: Fri Mar 14 16:51:24 2008 +0100
2187 Make CAIRO_FORMAT_STRIDE_FOR_WIDTH_BPP available to the cairo internals.
2189 src/cairo-image-surface.c | 7 ++-----
2190 src/cairoint.h | 5 +++++
2191 2 files changed, 7 insertions(+), 5 deletions(-)
2193 commit eb31c52febd615a92ef0c7204f9fa056ef01b536
2194 Author: Carl Worth <cworth@cworth.org>
2195 Date: Fri Mar 14 16:48:41 2008 +0100
2197 Make _pixman_format_to_masks accept a cairo_format_masks_t structure
2199 This makes it work similarly to _pixman_format_from_masks
2201 src/cairo-image-surface.c | 48 ++++++++++++++++++++------------------------
2202 src/cairo-xlib-surface.c | 12 +++++-----
2203 src/cairoint.h | 5 +---
2204 3 files changed, 29 insertions(+), 36 deletions(-)
2206 commit cdb1ae97f241ec6b24d64b0fa5447d26f6bc5318
2207 Author: Carl Worth <cworth@cworth.org>
2208 Date: Sun Jan 27 10:31:58 2008 -0800
2210 Move assertion failure for unsupported masks up one level
2212 We're moving the assertion up from inside _pixman_format_to_mask
2213 to its callers. This will allow us to selectively eliminate the
2214 assertion from the supported xlib backend, while leaving it in
2215 the unsupported glitz and xcb backends for now.
2217 src/cairo-image-surface.c | 62 ++++++++++++++++++++++++++------------------
2218 src/cairo-xlib-surface.c | 20 +++++++++++++-
2219 src/cairoint.h | 5 ++-
2220 3 files changed, 58 insertions(+), 29 deletions(-)
2222 commit b83b8c26f5d64fa07b56a747dec681c6626a0297
2223 Author: Adrian Johnson <ajohnson@redneon.com>
2224 Date: Mon Mar 17 23:38:34 2008 +1030
2226 Optimize generated PostScript when EXTEND_PAD is used
2228 Allow image patterns with EXTEND_PAD to use the currentfile
2231 src/cairo-ps-surface.c | 6 ++++--
2232 1 files changed, 4 insertions(+), 2 deletions(-)
2234 commit 1ab804891bb71fd742ccc7a228483c53aee282a4
2235 Author: Vladimir Vukicevic <vladimir@pobox.com>
2236 Date: Mon Mar 17 17:37:24 2008 -0700
2238 [quartz] Additional test reference images for quartz
2240 test/Makefile.am | 10 ++++++++++
2241 test/clip-operator-quartz-ref.png | Bin 0 -> 9364 bytes
2242 test/clip-operator-quartz-rgb24-ref.png | Bin 0 -> 4359 bytes
2243 test/dash-curve-quartz-ref.png | Bin 0 -> 47965 bytes
2244 test/dash-state-quartz-ref.png | Bin 0 -> 8698 bytes
2245 test/degenerate-path-quartz-ref.png | Bin 0 -> 232 bytes
2246 test/degenerate-path-quartz-rgb24-ref.png | Bin 0 -> 198 bytes
2247 test/operator-source-quartz-ref.png | Bin 0 -> 4572 bytes
2248 test/operator-source-quartz-rgb24-ref.png | Bin 0 -> 3452 bytes
2249 test/unbounded-operator-quartz-ref.png | Bin 0 -> 4325 bytes
2250 test/unbounded-operator-quartz-rgb24-ref.png | Bin 0 -> 1972 bytes
2251 11 files changed, 10 insertions(+), 0 deletions(-)
2253 commit df5087992be5f0f1e42d968559c47bf43de9cfb7
2254 Author: Vladimir Vukicevic <vladimir@pobox.com>
2255 Date: Mon Mar 17 17:37:22 2008 -0700
2257 [quartz] Fix bogus CGContextGetType warning that's printed on the console
2259 This is caused by 0x0 surfaces being special, and not having an
2260 associated cgContext.
2262 src/cairo-quartz-surface.c | 106 +++++++++++++++++++++++++++++---------------
2263 1 files changed, 70 insertions(+), 36 deletions(-)
2265 commit 9d61f7db8082baf3a223c4ea41a53de372676e40
2266 Author: Vladimir Vukicevic <vladimir@pobox.com>
2267 Date: Mon Mar 17 17:37:19 2008 -0700
2269 [quartz] Rename ATSUI font to Quartz font
2271 configure.in | 35 +++++++-------------------
2272 src/Makefile.am | 17 +++++-------
2273 src/cairo-atsui-font.c | 39 ++++++++++++-----------------
2274 src/cairo-atsui.h | 58 --------------------------------------------
2275 src/cairo-deprecated.h | 2 +
2276 src/cairo-quartz-private.h | 14 ++--------
2277 src/cairo-quartz-surface.c | 14 +++++-----
2278 src/cairo-quartz.h | 15 ++++++++++-
2280 src/cairoint.h | 10 ++++----
2281 10 files changed, 65 insertions(+), 143 deletions(-)
2283 commit e4f087b8b944a26d688afeef4b9ea7a0d0a6e9ec
2284 Author: Adrian Johnson <ajohnson@redneon.com>
2285 Date: Sun Mar 16 17:29:48 2008 +1030
2287 Factor out common stroke code in pdf-operators
2289 src/cairo-pdf-operators.c | 68 +++++++++++++++++++++-----------------------
2290 1 files changed, 32 insertions(+), 36 deletions(-)
2292 commit 8238a9fd4fa672299fd99aa95f5fcec03647f7c8
2293 Author: Adrian Johnson <ajohnson@redneon.com>
2294 Date: Sat Mar 15 22:08:52 2008 +1030
2296 Add stroke-ctm-caps to .gitignore
2298 test/.gitignore | 1 +
2299 1 files changed, 1 insertions(+), 0 deletions(-)
2301 commit 344af99d356203dce8cb97d3effa380cad0c9238
2302 Author: Adrian Johnson <ajohnson@redneon.com>
2303 Date: Sat Mar 15 22:07:01 2008 +1030
2305 Improve the PDF operators word wrapping
2307 to correctly count the columns and avoid breaking hex strings
2308 immediately after the '<' and before any hex digits have been written.
2310 src/cairo-pdf-operators.c | 34 +++++++++++++++++++++++++---------
2311 1 files changed, 25 insertions(+), 9 deletions(-)
2313 commit 0a8478ca1aa37695e84b4875e1efb3d93c7b8434
2314 Author: Vladimir Vukicevic <vladimir@pobox.com>
2315 Date: Fri Mar 14 23:23:16 2008 -0700
2317 [quartz] don't say we forced subpixel AA when we didn't
2319 Whoops. Net result was that this was disabling subpixel AA on
2320 contexts if CAIRO_ANTIALIAS_DEFAULT was being used.
2322 src/cairo-quartz-surface.c | 2 +-
2323 1 files changed, 1 insertions(+), 1 deletions(-)
2325 commit 028d352286991f7ec1da168f7f91bed6449f64e4
2326 Author: Vladimir Vukicevic <vladimir@pobox.com>
2327 Date: Fri Mar 14 23:22:08 2008 -0700
2329 [quartz] compare gradient stops as doubles, not as fixed point
2331 We use the floating-point value later, and we can end up with weirdness
2332 such as negative colors due to the precision mismatch of our fixed
2333 point vs. floating point type. So just do everything in floating
2336 src/cairo-quartz-surface.c | 5 +----
2337 1 files changed, 1 insertions(+), 4 deletions(-)
2339 commit 112bbacea3c06f844af400f34a4a2eadf25d13dd
2340 Author: Adrian Johnson <ajohnson@redneon.com>
2341 Date: Sat Mar 15 00:28:21 2008 +1030
2343 Don't use fill-stroke during analysis
2345 Instead ensure the fill and stroke are each analyzed separately.
2347 This fixes a bug in the PS output where if a fill-stroke with a
2348 translucent fill resulted in a fallback image with the stroke clipped
2351 src/cairo-meta-surface.c | 14 +++++---------
2352 1 files changed, 5 insertions(+), 9 deletions(-)
2354 commit 112b43452d302eb4ac62a20bca01bdecbfdcaaf5
2355 Author: Adrian Johnson <ajohnson@redneon.com>
2356 Date: Sat Mar 15 00:18:59 2008 +1030
2358 Fix bug in _cairo_path_fixed_is_equal
2360 Ensure the entire path is compared.
2362 src/cairo-path-fixed.c | 6 ++++--
2363 1 files changed, 4 insertions(+), 2 deletions(-)
2365 commit 7e83d6e6fb8c4b11d5d95acac4a35df8969e0944
2366 Author: Adrian Johnson <ajohnson@redneon.com>
2367 Date: Fri Mar 14 21:26:04 2008 +1030
2369 Do not use PDF fill-stroke operator with transparent fill
2371 because the PDF rendering does not match cairo. See
2372 PDF Reference 7.6.3.
2375 https://bugs.launchpad.net/inkscape/+bug/202096
2377 src/cairo-pdf-surface.c | 15 +++++----------
2378 1 files changed, 5 insertions(+), 10 deletions(-)
2380 commit 0aef7c1a34b2522d400b5a1a74567a79696216c9
2381 Author: Adrian Johnson <ajohnson@redneon.com>
2382 Date: Mon Mar 10 22:19:52 2008 +1030
2384 PDF/PS: Optimize away the stroke ctm when not required
2386 The PDF/PS backends change the ctm to user space when emitting and
2387 stroking a path. When the user space ctm does not alter the pen shape
2388 we can avoid changing the ctm.
2390 This patch optimizes the most common case where the user ctm is
2391 [1 0 0 -1 0 y] due to conversion from cairo to PDF coordinates.
2393 src/cairo-pdf-operators.c | 36 ++++++++++++++++++++++++++++--------
2394 1 files changed, 28 insertions(+), 8 deletions(-)
2396 commit 2bd15d080c562bfcbced1f6bb586cc1e3cae4555
2397 Author: Adrian Johnson <ajohnson@redneon.com>
2398 Date: Fri Mar 14 19:46:15 2008 +1030
2400 Add PS reference image for stroke-ctm-caps
2402 test/stroke-ctm-caps-ps-ref.png | Bin 0 -> 1079 bytes
2403 1 files changed, 0 insertions(+), 0 deletions(-)
2405 commit 761b4ce8dd40b8e5536a19018656c2440a61e71a
2406 Author: Jeremy Huddleston <jeremyhu@apple.com>
2407 Date: Thu Mar 13 17:45:25 2008 -0700
2409 [mac] Correctly handle endianness in multi-architecture compiles on MacOS X
2411 configure.in | 18 ++++++++++++++++++
2412 1 files changed, 18 insertions(+), 0 deletions(-)
2414 commit 4cc93881d9603c90f1318b2eb822cf2c516ecf7d
2415 Author: Vladimir Vukicevic <vladimir@pobox.com>
2416 Date: Thu Mar 13 17:30:59 2008 -0700
2418 [test] Add testcase for previous stroker regression fix
2420 Add Adrian's original testcase for reproducing the stroker device
2421 vector issue. (b4f518f917f5062537ee3c6a7a54180017b2c588)
2423 test/Makefile.am | 3 +
2424 test/stroke-ctm-caps-quartz-ref.png | Bin 0 -> 1109 bytes
2425 test/stroke-ctm-caps-ref.png | Bin 0 -> 1057 bytes
2426 test/stroke-ctm-caps.c | 86 +++++++++++++++++++++++++++++++++++
2427 4 files changed, 89 insertions(+), 0 deletions(-)
2429 commit a33351f9c677144437bef25a794b97f2ac4bb17a
2430 Author: Vladimir Vukicevic <vladimir@pobox.com>
2431 Date: Thu Mar 13 15:37:26 2008 -0700
2433 [quartz] remove some compiler warnings
2435 src/cairo-atsui-font.c | 2 +-
2436 src/cairo-quartz-image-surface.c | 4 ----
2437 2 files changed, 1 insertions(+), 5 deletions(-)
2439 commit b4f518f917f5062537ee3c6a7a54180017b2c588
2440 Author: Vladimir Vukicevic <vladimir@pobox.com>
2441 Date: Thu Mar 13 15:36:30 2008 -0700
2443 Correctly pass the device-space vector through to stroker
2445 Part of the earlier optimization caused the wrong slope to be used for
2446 some computations; this passes the correct slope vector down to
2449 src/cairo-path-stroke.c | 37 +++++++++++++++++++++++--------------
2450 test/dash-scale-ref.png | Bin 8035 -> 8058 bytes
2451 test/reflected-stroke-ref.png | Bin 4802 -> 5704 bytes
2452 3 files changed, 23 insertions(+), 14 deletions(-)
2454 commit 5050c55f93afef9b0d0651a78f2c99e06e19b55a
2455 Author: Adrian Johnson <ajohnson@redneon.com>
2456 Date: Thu Mar 13 21:35:12 2008 +1030
2458 Use the correct glyph metrics in Type1 fallback
2460 Now that the PS backend is using PDF operators, it uses the glyph
2461 metrics in the font to position each glyph in a string. This exposed a
2462 bug in Type 1 fallback where the glyph width and height was used in
2463 the charstrings instead of x_advance/y_advance. This was causing
2464 strings to print diagonally due to the no zero y_advance.
2466 src/cairo-type1-fallback.c | 8 ++++----
2467 1 files changed, 4 insertions(+), 4 deletions(-)
2469 commit ed452713cfa16e5facca8f918ef4ee4fe2ec41c3
2470 Author: Vladimir Vukicevic <vladimir@pobox.com>
2471 Date: Wed Mar 12 18:33:05 2008 -0700
2473 [win32] Use a DIB when cloning a surface for a WIN32_PRINTING dest
2475 In some cases we were creating a 1bpp temporary surface, losing all
2476 color/grayscale data while printing.
2478 Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=399388
2480 src/cairo-win32-surface.c | 16 +++++++++++++---
2481 1 files changed, 13 insertions(+), 3 deletions(-)
2483 commit 6ac3eb487cf0de0d28bf6b14852de91b09fecb05
2484 Author: Vladimir Vukicevic <vladimir@pobox.com>
2485 Date: Wed Mar 12 18:19:59 2008 -0700
2487 [quartz] correctly force subpixel AA on a context, even if defaults say otherwise
2489 In some cases (in my case, having an external monitor attached to my
2490 MBP), Quartz seems to default to grayscale AA even when it should be
2491 using subpixel AA. CGContextGetAllowsFontSmoothing returns FALSE in
2492 this case (pretty sure this is a Quartz bug). We can force subpixel
2493 AA in this case by setting CGContextSetAllowsFontSmoothing.
2495 src/cairo-quartz-surface.c | 22 +++++++++++++++++++---
2496 1 files changed, 19 insertions(+), 3 deletions(-)
2498 commit 5d11b937f1b769355a3dc7971ded40f60b001630
2499 Author: Vladimir Vukicevic <vladimir@pobox.com>
2500 Date: Wed Mar 12 18:11:57 2008 -0700
2502 [quartz] Apply fixup to unbounded operators to clear area outside of mask
2504 src/cairo-quartz-surface.c | 249 +++++++++++++++++++++++++++++++++++++++++---
2505 1 files changed, 236 insertions(+), 13 deletions(-)
2507 commit c86cbcdd644e043dc5ae2eabf5dd6afa020e2358
2508 Author: Chris Wilson <chris@chris-wilson.co.uk>
2509 Date: Wed Mar 12 17:54:54 2008 +0000
2511 [cairoint.h] Mark _cairo_image_analyze_transparency as private.
2513 Add the required cairo_private markup for make check.
2515 src/cairoint.h | 2 +-
2516 1 files changed, 1 insertions(+), 1 deletions(-)
2518 commit 222eb6f1400ab7a51632cbc18b1526664e50c2e4
2519 Author: Chris Wilson <chris@chris-wilson.co.uk>
2520 Date: Wed Mar 12 17:52:16 2008 +0000
2522 Define _BSD_SOURCE to enable prototypes for strdup, snprintf.
2524 strdup() and friends require at least _BSD_SOURCE or
2525 _XOPEN_SOURCE >= 500 to be defined for the prototypes to be included.
2526 For the time being, add the define to each source file that requires one
2527 of the BSD functions.
2529 src/cairo-cff-subset.c | 1 +
2530 src/cairo-font-face.c | 1 +
2531 src/cairo-ft-font.c | 1 +
2532 src/cairo-output-stream.c | 1 +
2533 src/cairo-pdf-surface.c | 1 +
2534 src/cairo-ps-surface.c | 1 +
2535 src/cairo-scaled-font-subsets.c | 1 +
2536 src/cairo-svg-surface.c | 3 ++-
2537 src/cairo-truetype-subset.c | 1 +
2538 src/cairo-type1-fallback.c | 1 +
2539 src/cairo-type1-subset.c | 1 +
2540 11 files changed, 12 insertions(+), 1 deletions(-)
2542 commit 2d9203c349ffba863368e85567b2e89443d51746
2543 Author: Adrian Johnson <ajohnson@redneon.com>
2544 Date: Mon Mar 10 22:30:16 2008 +1030
2546 win32-printing: Don't scale the miter limit
2548 since the miter is a ratio it should not be scaled like the other
2549 stroke parameters when the user ctm is scaled.
2551 src/cairo-win32-printing-surface.c | 2 +-
2552 1 files changed, 1 insertions(+), 1 deletions(-)
2554 commit f534fe434db38c2c24605bdfc251e0186dc7cafc
2555 Author: Adrian Johnson <ajohnson@redneon.com>
2556 Date: Mon Mar 10 17:18:07 2008 +1030
2558 PDF: Use cairo_image_analyse_transparency during analysis
2560 OPERATOR_SOURCE is only supported for opaque images. Check if and ARGB
2561 image really contains transparency before returing unsupported.
2563 src/cairo-pdf-surface.c | 38 +++++++++++++++++++++++++++++++++++++-
2564 1 files changed, 37 insertions(+), 1 deletions(-)
2566 commit 61d45c9d1f2322c7c2ee7a58e7b3d5ccfac92db2
2567 Author: Adrian Johnson <ajohnson@redneon.com>
2568 Date: Sat Feb 16 22:34:39 2008 +1030
2570 Remember the results of _cairo_image_analyze_transparency
2572 As _cairo_image_analyze_transparency() is only used on images in the
2573 meta surface, we can store the results of the image analysis and
2574 return the saved value on second and subsequent calls to analyze the
2577 Previously each image was analyzed twice - once during
2578 CAIRO_PAGINATED_MODE_ANALYZE and once during
2579 CAIRO_PAGINATED_MODE_RENDER.
2581 src/cairo-image-surface.c | 21 +++++++++++++++------
2582 src/cairo-ps-surface.c | 3 +++
2583 src/cairo-types-private.h | 3 ++-
2584 src/cairoint.h | 1 +
2585 4 files changed, 21 insertions(+), 7 deletions(-)
2587 commit 7eb8f497d8ac8ee76809f958170f1e5370744ba8
2588 Author: Adrian Johnson <ajohnson@redneon.com>
2589 Date: Sat Feb 16 22:13:43 2008 +1030
2591 Move analyze_image_transparency in to cairo-image-surface.c
2593 src/cairo-image-surface.c | 29 +++++++++++++++++++++++++++++
2594 src/cairo-ps-surface.c | 44 ++------------------------------------------
2595 src/cairo-types-private.h | 6 ++++++
2596 src/cairoint.h | 3 +++
2597 4 files changed, 40 insertions(+), 42 deletions(-)
2599 commit 00091d50a6187acd0fd35aef16a4fa5fab3c8aa9
2600 Author: Adrian Johnson <ajohnson@redneon.com>
2601 Date: Sun Mar 9 16:44:18 2008 +1030
2603 Add fallback image comment to PS output
2605 To help better understand when fallback images are used, a comment
2606 similiar to the following is included with each fallback image in the
2609 % Fallback Image: x=101, y=478, w=50, h=10 res=300dpi size=31500
2611 src/cairo-ps-surface.c | 14 ++++++++++++++
2612 1 files changed, 14 insertions(+), 0 deletions(-)
2614 commit 95acec69d8ee4fd37937f5b466c2baf612e9113a
2615 Author: Adrian Johnson <ajohnson@redneon.com>
2616 Date: Sun Mar 9 16:40:25 2008 +1030
2618 Round fallback image size up instead of down
2620 to ensure the fallback image completely covers the fallback region.
2622 src/cairo-paginated-surface.c | 4 ++--
2623 1 files changed, 2 insertions(+), 2 deletions(-)
2625 commit 94e41d5565ef72a0ef6e0235545c660aaf92b825
2626 Author: Vladimir Vukicevic <vladimir@pobox.com>
2627 Date: Sat Mar 8 17:45:47 2008 -0800
2629 [quartz] Don't force interpolation off for images
2631 Creating a CGImage with interpolation set to FALSE means that
2632 it will never be interpolated; otherwise the interoplation
2633 is controlled by the destination context's interpolation
2636 src/cairo-quartz-image-surface.c | 4 ++--
2637 src/cairo-quartz-surface.c | 2 +-
2638 2 files changed, 3 insertions(+), 3 deletions(-)
2640 commit 08e38d3f204911a793d3aa24bf2636caf3e58e20
2641 Author: Vladimir Vukicevic <vladimir@pobox.com>
2642 Date: Sat Mar 8 16:06:01 2008 -0800
2644 [quartz] align strides to 16 bytes, as per apple docs
2646 The docs indicate that doing so can yield a peformance win, so we align
2647 ARGB32/RGB24 surface strides to 16 bytes.
2649 src/cairo-quartz-surface.c | 21 ++++++++++++++-------
2650 1 files changed, 14 insertions(+), 7 deletions(-)
2652 commit 73444f16fa82b63a19aa938eb42001b5731326da
2653 Author: Vladimir Vukicevic <vladimir@pobox.com>
2654 Date: Sat Mar 8 15:31:15 2008 -0800
2656 [quartz] Don't try to call CGBitmapContextCreateImage on non-bitmap contexts
2658 src/cairo-quartz-surface.c | 8 +++++---
2659 1 files changed, 5 insertions(+), 3 deletions(-)
2661 commit 091df2c59b6dbd53a748955db359443d5d445ba4
2662 Author: Vladimir Vukicevic <vladimir@pobox.com>
2663 Date: Sat Mar 8 15:16:05 2008 -0800
2665 [quartz] properly honor text antialiasing modes in show_glyphs
2667 src/cairo-quartz-surface.c | 35 +++++++++++++++++++++++----
2668 test/Makefile.am | 2 +
2669 test/text-antialias-none-quartz-ref.png | Bin 0 -> 304 bytes
2670 test/text-antialias-subpixel-quartz-ref.png | Bin 0 -> 1100 bytes
2671 4 files changed, 32 insertions(+), 5 deletions(-)
2673 commit 4f7ac14b8fdafd9fa85e797fb6e4c974788f70fc
2674 Author: Vladimir Vukicevic <vladimir@pobox.com>
2675 Date: Sat Mar 8 19:22:13 2008 -0800
2677 [quartz] implement REPEAT/REFLECT for gradients
2679 Implement REPEAT/REFLECT for gradients in Quartz: for linear gradients,
2680 they're implemented natively (by extending the gradient region); for
2681 radial gradients, we generate a fallback image using pixman and render
2684 src/cairo-quartz-surface.c | 203 ++++++++++++++++++++++++++++++++++++++-----
2685 1 files changed, 179 insertions(+), 24 deletions(-)
2687 commit 869942a97e34b09a7bd5b8cfc54832ce9dbd08b6
2688 Author: Vladimir Vukicevic <vladimir@pobox.com>
2689 Date: Fri Mar 7 16:55:47 2008 -0800
2691 [quartz] some more quartz ref images
2693 test/Makefile.am | 2 ++
2694 test/big-line-quartz-ref.png | Bin 0 -> 1075 bytes
2695 test/big-line-quartz-rgb24-ref.png | Bin 0 -> 941 bytes
2696 3 files changed, 2 insertions(+), 0 deletions(-)
2698 commit 2e33d5f57bde82b953ebc5f9c1355327a7ac4967
2699 Author: Vladimir Vukicevic <vladimir@pobox.com>
2700 Date: Fri Mar 7 16:46:53 2008 -0800
2702 [quartz] Update a bunch of reference images
2704 Generated with Bitstream Vera font family installed, using ATSUI
2707 test/Makefile.am | 14 ++++++++++++++
2708 test/font-matrix-translation-quartz-ref.png | Bin 0 -> 1041 bytes
2709 test/glyph-cache-pressure-quartz-ref.png | Bin 0 -> 3491 bytes
2710 test/linear-gradient-quartz-ref.png | Bin 0 -> 1164 bytes
2711 test/long-dashed-lines-quartz-ref.png | Bin 0 -> 2313 bytes
2712 test/mask-quartz-ref.png | Bin 10657 -> 10682 bytes
2713 test/operator-clear-quartz-ref.png | Bin 1195 -> 1368 bytes
2714 test/operator-clear-quartz-rgb24-ref.png | Bin 1244 -> 1201 bytes
2715 test/radial-gradient-quartz-ref.png | Bin 0 -> 92334 bytes
2716 test/random-intersections-quartz-ref.png | Bin 0 -> 197778 bytes
2717 test/reflected-stroke-quartz-ref.png | Bin 0 -> 5293 bytes
2718 test/rotate-image-surface-paint-quartz-ref.png | Bin 257 -> 257 bytes
2719 test/select-font-face-quartz-ref.png | Bin 0 -> 2958 bytes
2720 test/show-text-current-point-quartz-ref.png | Bin 0 -> 3198 bytes
2721 test/text-antialias-gray-quartz-ref.png | Bin 0 -> 1039 bytes
2722 test/text-pattern-quartz-rgb24-ref.png | Bin 0 -> 1867 bytes
2723 test/text-rotate-quartz-ref.png | Bin 0 -> 17405 bytes
2724 test/trap-clip-quartz-ref.png | Bin 6171 -> 6041 bytes
2725 test/unantialiased-shapes-quartz-ref.png | Bin 0 -> 4394 bytes
2726 19 files changed, 14 insertions(+), 0 deletions(-)
2728 commit fb1378a24b5c6cd65b73aa611bb049ebb6f2b57a
2729 Author: Vladimir Vukicevic <vladimir@pobox.com>
2730 Date: Fri Mar 7 16:46:15 2008 -0800
2732 [quartz] Correctly handle gradients with non-identity pattern transform
2734 Fixes http://bugs.freedesktop.org/show_bug.cgi?id=14248
2736 src/cairo-quartz-private.h | 3 +-
2737 src/cairo-quartz-surface.c | 68 ++++++++++++++++++-------------------------
2738 2 files changed, 31 insertions(+), 40 deletions(-)
2740 commit 6c7610067f8a131a4fbba8d2b6a88c27ef229bbe
2741 Author: Vladimir Vukicevic <vladimir@pobox.com>
2742 Date: Fri Mar 7 15:35:31 2008 -0800
2744 [quartz] handle antialiasing correctly in stroke() and clip()
2746 A CoreGraphics bug was fixed so strokes are no longer incorrectly
2747 drawn with antialiasing disabled; we no longer have to ignore
2748 antialiasing for stroke(). Also, antialiasing was not being
2749 correctly set for clip(). This fixes both issues.
2751 src/cairo-quartz-surface.c | 9 ++++++---
2752 1 files changed, 6 insertions(+), 3 deletions(-)
2754 commit 21dab3c5e9fe1ff344ff809053618c2c8f0710f3
2755 Author: Vladimir Vukicevic <vladimir@pobox.com>
2756 Date: Fri Mar 7 14:49:46 2008 -0800
2758 [quartz] look up the right symbol name for CGContextGetType
2760 src/cairo-quartz-surface.c | 2 +-
2761 1 files changed, 1 insertions(+), 1 deletions(-)
2763 commit e52bad5e33e0b69b868525056c95ebd473fd6b10
2764 Author: Vladimir Vukicevic <vladimir@pobox.com>
2765 Date: Fri Mar 7 14:49:15 2008 -0800
2767 [quartz] split out (experimental) quartz-image into separate file
2769 configure.in | 15 +++++++++
2770 src/Makefile.am | 5 +++
2771 src/cairo-quartz-image-surface.c | 21 +++++++++----
2772 src/cairo-quartz-image.h | 59 ++++++++++++++++++++++++++++++++++++++
2773 src/cairo-quartz-surface.c | 10 ++----
2774 src/cairo-quartz.h | 6 ----
2775 6 files changed, 97 insertions(+), 19 deletions(-)
2777 commit b52f127c12fd7ee2b4f532954cb1e9e4eb8561b4
2778 Author: Vladimir Vukicevic <vladimir@pobox.com>
2779 Date: Thu Mar 6 16:52:54 2008 -0800
2781 [quartz] fix text rendering with gradient or image source
2783 A quirk in how CGContextShowGlyphsWithAdvances works was causing all
2784 non-solid glyphs to be rendered on top of eachother. This fixes the problem.
2786 src/cairo-quartz-surface.c | 65 ++++++++++++++++++++++++-------------------
2787 1 files changed, 36 insertions(+), 29 deletions(-)
2789 commit de515e0f9a46162dcdef3bce81702a56ac6f29bf
2790 Author: Chris Wilson <chris@chris-wilson.co.uk>
2791 Date: Thu Mar 6 08:10:16 2008 +0000
2793 [cairo-png] Revert accidental chunk from FORMAT_A1 support.
2795 Whilst splitting the patches, I left in this line which would preserve
2796 1-bit grayscale unexpanded, but without any of the other FORMAT_A1
2799 src/cairo-png.c | 4 +++-
2800 1 files changed, 3 insertions(+), 1 deletions(-)
2802 commit 8ba8a1192497ff89215f8a1657cbe88609083fb1
2803 Author: Chris Wilson <chris@chris-wilson.co.uk>
2804 Date: Tue Mar 4 13:59:57 2008 +0000
2806 [win32] make check doc fixup.
2808 Add the missing '%' to the macro as demanded by make check.
2810 src/cairo-win32-surface.c | 2 +-
2811 1 files changed, 1 insertions(+), 1 deletions(-)
2813 commit 1dd894115e03aa202941ecebe9fd3420c73645ef
2814 Author: Chris Wilson <chris@chris-wilson.co.uk>
2815 Date: Tue Mar 4 09:04:17 2008 +0000
2817 [cairo-pattern] Raise an error for _cairo_pattern_create_solid() failure.
2819 Add a missing _cairo_error() for the malloc failure in
2820 _cairo_pattern_create_solid().
2822 src/cairo-pattern.c | 5 +++--
2823 1 files changed, 3 insertions(+), 2 deletions(-)
2825 commit 5efc5238d548599a90a02d922d031a899424d1c1
2826 Author: Chris Wilson <chris@chris-wilson.co.uk>
2827 Date: Fri Feb 29 17:06:30 2008 +0000
2829 [cairo-hull] Propagate error during hull computation.
2831 Propagate the original error status instead of returning a new NO_MEMORY
2834 src/cairo-hull.c | 22 ++++++++++++----------
2835 1 files changed, 12 insertions(+), 10 deletions(-)
2837 commit 11a2444ec875aaaed12c1f1cfed5eb8e139c306d
2838 Author: Chris Wilson <chris@chris-wilson.co.uk>
2839 Date: Fri Jan 18 14:53:50 2008 +0000
2841 [cairo-png] Support generating CAIRO_FORMAT_RGB24 from PNGs.
2843 If the PNG does not have an alpha channel, then create an opaque image.
2845 src/cairo-png.c | 69 +++++++++++++++++++------
2846 test/.gitignore | 1 +
2847 test/Makefile.am | 2 +
2848 test/png.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2849 4 files changed, 204 insertions(+), 17 deletions(-)
2851 commit 06b375aee999220ce294c22fa50a3040c19d5492
2852 Author: Chris Wilson <chris@chris-wilson.co.uk>
2853 Date: Fri Feb 29 11:55:01 2008 +0000
2855 [cairo-png] Use cairo_format_stride_for_width()
2857 Use cairo_format_stride_for_width() instead of assuming the pixel size
2858 and manually calculating the row stride. This should make it easier to
2859 support loading multiple image formats in future.
2861 src/cairo-image-surface.c | 1 +
2862 src/cairo-png.c | 16 ++++++++++------
2863 src/cairoint.h | 1 +
2864 3 files changed, 12 insertions(+), 6 deletions(-)
2866 commit b181f40949a855c957dc6e7a1033981a2ed7d05a
2867 Author: Chris Wilson <chris@chris-wilson.co.uk>
2868 Date: Thu Feb 28 16:04:08 2008 +0000
2870 [test/a8-mask] Check negative strides as well.
2872 Check that we also allow surfaces to be created using a negative stride.
2874 test/a8-mask.c | 19 ++++++++++++++++++-
2875 1 files changed, 18 insertions(+), 1 deletions(-)
2877 commit b6eb1c5c92321849661198facd53510366050d45
2878 Author: Chris Wilson <chris@chris-wilson.co.uk>
2879 Date: Fri Feb 29 11:49:14 2008 +0000
2881 [cairo-image-surface] Harden cairo_format_stride_for_width().
2883 Check the user supplied values for validity and potential overflow,
2884 returning -1 in such cases, and update the documentation to warn of the
2887 src/cairo-image-surface.c | 14 ++++++++++++--
2888 1 files changed, 12 insertions(+), 2 deletions(-)
2890 commit c06d929325710c1a2cbecb8a64803ca8e1ffbec0
2891 Author: Chris Wilson <chris@chris-wilson.co.uk>
2892 Date: Thu Feb 28 16:07:57 2008 +0000
2894 [cairo-png] Further hardening against malloc failures.
2896 On some OOM paths, libpng raises a warning as opposed to an error,
2897 these were not being propagated back to the caller. We were also not
2898 checking that we did not overwrite a pre-existing error status when
2899 raising an error whilst performing I/O.
2901 src/cairo-png.c | 38 +++++++++++++++++++++++++++++---------
2902 1 files changed, 29 insertions(+), 9 deletions(-)
2904 commit c985096e6d7c04a780c055387e17ec4bb9334db3
2905 Author: Chris Wilson <chris@chris-wilson.co.uk>
2906 Date: Fri Feb 29 11:16:39 2008 +0000
2908 [cairo-xlib] Tidy usage of _cairo_error().
2910 Avoid a duplicate call to _cairo_error() and add a missing one.
2912 src/cairo-xlib-display.c | 1 +
2913 src/cairo-xlib-surface.c | 12 ++++++------
2914 2 files changed, 7 insertions(+), 6 deletions(-)
2916 commit 914f4a3ec5a310c823558c27e500a23be808b9fe
2917 Author: Chris Wilson <chris@chris-wilson.co.uk>
2918 Date: Fri Feb 29 11:15:26 2008 +0000
2920 [cairo-pattern] Tidy usage of _cairo_error().
2922 Remove the duplicate calls to _cairo_error() along the constructor
2923 error paths and a missing call to _cairo_error().
2925 src/cairo-pattern.c | 20 +++++---------------
2926 1 files changed, 5 insertions(+), 15 deletions(-)
2928 commit d9fb4d4bc55eae42f6348b142e667be454064e2c
2929 Author: Chris Wilson <chris@chris-wilson.co.uk>
2930 Date: Fri Feb 29 11:12:57 2008 +0000
2932 [cairo-ft-font] Simplify return of the nil font face during construction.
2934 Simply return the nil font face from the internal constructor rather
2935 than returning NULL and repeating the same fixup in the callers.
2937 src/cairo-ft-font.c | 12 +++---------
2938 1 files changed, 3 insertions(+), 9 deletions(-)
2940 commit fd7d5d6e1dbad6c44a607d91ee59361ee19d32f9
2941 Author: Chris Wilson <chris@chris-wilson.co.uk>
2942 Date: Fri Feb 29 11:11:47 2008 +0000
2944 [cairo-clip] Raise _cairo_error() at original error site.
2946 In a couple of places where we detect an error and return an error
2947 object to the user, we did not throw a _cairo_error().
2949 src/cairo-clip.c | 8 ++++++--
2950 1 files changed, 6 insertions(+), 2 deletions(-)
2952 commit 1654510a349d99167247d1004a481a95388cf0be
2953 Author: Chris Wilson <chris@chris-wilson.co.uk>
2954 Date: Fri Feb 29 11:10:34 2008 +0000
2956 [cairo-cff-subset] Propagate error status.
2958 Remove duplicate _cairo_error() by ensuring that the error status is
2959 always propagated from the original error site. Note that in one case
2960 this eliminates a potential _cairo_error(CAIRO_INT_STATUS_UNSUPPORTED)!
2962 src/cairo-cff-subset.c | 47 +++++++++++++++++++++++++----------------------
2963 1 files changed, 25 insertions(+), 22 deletions(-)
2965 commit 3b93d90edde7c065c6484e03e056b8605af85c4d
2966 Author: Chris Wilson <chris@chris-wilson.co.uk>
2967 Date: Fri Feb 29 10:16:05 2008 +0000
2969 [cairo-type1-fallback] Propagate original error status.
2971 _cairo_error() has already been called at the originating error site, so
2972 remove the duplicate (hard-coded!) call at the return statement.
2974 src/cairo-type1-fallback.c | 10 ++++++----
2975 1 files changed, 6 insertions(+), 4 deletions(-)
2977 commit 141c54cd276ae86f6677fa8f66a118264d4287bf
2978 Author: Chris Wilson <chris@chris-wilson.co.uk>
2979 Date: Fri Feb 29 08:54:33 2008 +0000
2981 [cairo-truetype-subset] Remove duplicate _cairo_error().
2983 _cairo_error() has already been called at the originating error site, so
2984 remove the duplicate call at the return statement.
2986 src/cairo-truetype-subset.c | 7 ++-----
2987 1 files changed, 2 insertions(+), 5 deletions(-)
2989 commit d89edde84de9cec9ce6f76f4f2c44dd9c1220528
2990 Author: Vladimir Vukicevic <vladimir@pobox.com>
2991 Date: Tue Mar 4 00:15:46 2008 -0800
2993 [meta] always copy glyph array before passing to _cairo_surface_show_glyphs
2995 _cairo_surface_show_glyphs is allowed to mutate the glyph array; if it's
2996 handed the internal array that the meta surface holds, then any subsequent
2997 playback (such as for fine-grained fallbacks) will result in incorrect
3000 Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=419917
3001 (I was unable to create a simple cairo testcase to demonstrate the problem.)
3003 src/cairo-meta-surface.c | 24 +++++++++++++++---------
3004 1 files changed, 15 insertions(+), 9 deletions(-)
3006 commit 4a1f65b63e891436f5896b1ccb0af26dd4b9cfe1
3007 Author: Vladimir Vukicevic <vladimir@pobox.com>
3008 Date: Mon Mar 3 21:16:12 2008 -0800
3010 Fix msvc compilation issue in cairo-compiler-private.h
3012 __WIN32__ is not a standard define set by MSVC; we have to check for
3013 __WIN32__ (for mingw/gcc) and for _MSC_VER, for MSVC.
3015 src/cairo-compiler-private.h | 2 +-
3016 1 files changed, 1 insertions(+), 1 deletions(-)
3018 commit 4588b016d389bb678ab55f7dbbf2bf8cdf597bc1
3019 Author: Vladimir Vukicevic <vladimir@pobox.com>
3020 Date: Mon Mar 3 20:00:08 2008 -0800
3022 [quartz] compilation fix
3024 I'm an idiot and forgot to stg refresh, apparently.
3026 src/cairo-quartz-surface.c | 2 +-
3027 1 files changed, 1 insertions(+), 1 deletions(-)
3029 commit 2f9350424fd7eb03ecbdbdee2831944d4e9c35af
3030 Author: Vladimir Vukicevic <vladimir@pobox.com>
3031 Date: Mon Mar 3 17:43:41 2008 -0800
3033 [win32] Treat all incoming HDCs as RGB24, regardless of depth
3035 Assuming A8/A1 doesn't really make sense in any case, and doing
3036 this allows for rendering to 8bpp displays.
3038 src/cairo-win32-surface.c | 28 ++++++----------------------
3039 1 files changed, 6 insertions(+), 22 deletions(-)
3041 commit 9dd55f6fe854ec2365a5c1d264e39ca03f6eceb5
3042 Author: Vladimir Vukicevic <vladimir@pobox.com>
3043 Date: Mon Mar 3 17:40:21 2008 -0800
3045 [quartz] use CGContextGetType API if available
3047 We need to have a way to figure out if a context is a bitmap context;
3048 the current method works, but it prints a warning to the system console
3049 if called on a non-bitmap context. There's a private CGContextGetType
3050 API that seems to let us get this information.
3052 src/cairo-quartz-surface.c | 17 ++++++++++++++++-
3053 1 files changed, 16 insertions(+), 1 deletions(-)
3055 commit 5b334b274778f588c997d674c111a8bbf91be1df
3056 Author: Antoine Azar <cairo@antoineazar.com>
3057 Date: Fri Feb 29 03:49:55 2008 -0500
3059 fixed compilation typo on win32
3061 src/cairo-win32-surface.c | 10 +++++-----
3062 1 files changed, 5 insertions(+), 5 deletions(-)
3064 commit 39d18ecbfda6b3c1234c5ef4a4723099990b3502
3065 Author: Claudio Ciccani <klan@directfb.org>
3066 Date: Sat Mar 1 11:07:47 2008 +0100
3068 [cairo-directfb] Fixed bug in clone_similar() (src_x added twice).
3070 src/cairo-directfb-surface.c | 2 +-
3071 1 files changed, 1 insertions(+), 1 deletions(-)
3073 commit 6295c46569de13a96816ed8e30dcefd73af1eb18
3074 Author: Carl Worth <cworth@cworth.org>
3075 Date: Thu Feb 28 17:08:40 2008 -0800
3077 INSTALL: Add notes on running autogen.sh if there is no configure script
3079 INSTALL | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
3080 1 files changed, 65 insertions(+), 6 deletions(-)
3082 commit e7e4a03dd387d264226105dc29c8541f0528fd2c
3083 Author: Carl Worth <cworth@cworth.org>
3084 Date: Thu Feb 28 16:39:42 2008 -0800
3086 get-path-extents: Fix APPROX_EQUALS to round values on both sides of the comparison
3088 test/get-path-extents.c | 7 ++++++-
3089 1 files changed, 6 insertions(+), 1 deletions(-)
3091 commit 602489b150e879bc5cab6b1ad37c107799bf05ae
3092 Author: Carl Worth <cworth@cworth.org>
3093 Date: Thu Feb 28 16:33:51 2008 -0800
3095 get-path-extents: Use APPROX_EQUALS instead of EQUALS for text path tests
3097 This is done grudgingly due to freetype rounding the coordinates
3098 of the extents when hinting is enabled.
3100 test/get-path-extents.c | 12 +++++++++---
3101 1 files changed, 9 insertions(+), 3 deletions(-)
3103 commit 50a6fe1a2aa88e1f5ba40eda21142319f98f3d0d
3104 Author: Carl Worth <cworth@cworth.org>
3105 Date: Thu Feb 28 16:32:55 2008 -0800
3107 Remove unnecessary cairo_set_tolerance call from get-path-extents test
3109 test/get-path-extents.c | 1 -
3110 1 files changed, 0 insertions(+), 1 deletions(-)
3112 commit 4a73471087f42baf07988e0f2de323ed3b18dac9
3113 Merge: 54a6191... 523c7db...
3114 Author: Carl Worth <cworth@cworth.org>
3115 Date: Thu Feb 28 16:21:11 2008 -0800
3117 Merge branch 'master' of git.cairographics.org:/git/cairo
3119 commit 54a61911f26b46b6d9b7335ac7dda746081261d9
3120 Author: Carl Worth <cworth@cworth.org>
3121 Date: Thu Feb 28 16:20:56 2008 -0800
3123 Increment version to 1.5.13 after the 1.5.12 snapshot
3126 1 files changed, 1 insertions(+), 1 deletions(-)
3128 commit 523c7dbf6db85e75624ae111179dedb570212bb2
3129 Author: Behdad Esfahbod <behdad@behdad.org>
3130 Date: Thu Feb 28 18:53:08 2008 -0500
3132 [cairo-scaled-font] Pedantic check for zero-area glyphs
3134 src/cairo-scaled-font.c | 4 ++--
3135 1 files changed, 2 insertions(+), 2 deletions(-)
3137 commit 3ec4b9a4fc96572f099d0e9679fec9e5eb97a32e
3138 Author: Carl Worth <cworth@cworth.org>
3139 Date: Thu Feb 28 15:46:22 2008 -0800
3141 Increment cairo version to 1.5.12 and libtool versioning to 18:0:16
3143 configure.in | 6 +++---
3144 1 files changed, 3 insertions(+), 3 deletions(-)
3146 commit bf99e355d9d24a4820dc93b49321b15318501b61
3147 Author: Carl Worth <cworth@cworth.org>
3148 Date: Thu Feb 28 15:45:11 2008 -0800
3150 Clarify that 16-bit limit still exists in pixman
3152 NEWS | 19 ++++++++++---------
3153 1 files changed, 10 insertions(+), 9 deletions(-)
3155 commit 4cc174f72f635e885b5f5fdc3d67789d3952cd2e
3156 Author: Carl Worth <cworth@cworth.org>
3157 Date: Thu Feb 28 15:41:36 2008 -0800
3159 Mark the big-line test as XFAIL
3161 test/Makefile.am | 1 +
3162 test/big-line.c | 3 ++-
3163 2 files changed, 3 insertions(+), 1 deletions(-)
3165 commit 5d0bc97b2000a7b7e40a7a3918f09d90bdf5376a
3166 Author: Carl Worth <cworth@cworth.org>
3167 Date: Thu Feb 28 15:35:46 2008 -0800
3169 Fix incorrect reference images for big-line test
3171 I mistakenly generated the original reference images with
3172 a 16.16 version of cairo, (which manifests a different
3173 buggy behavior than does the current 24.8 cairo).
3175 test/big-line-ps-ref.png | Bin 1161 -> 1148 bytes
3176 test/big-line-ps-rgb24-ref.png | Bin 809 -> 830 bytes
3177 test/big-line-ref.png | Bin 1421 -> 1486 bytes
3178 test/big-line-rgb24-ref.png | Bin 1231 -> 1308 bytes
3179 4 files changed, 0 insertions(+), 0 deletions(-)
3181 commit 4c7784e91eb953b905f187dda2a76dc102d73d01
3182 Author: Jody Goldberg <jody@gnome.org>
3183 Date: Thu Feb 28 15:23:53 2008 -0800
3185 Fix PDF ouput when cross-compiling with mingw
3187 Need to use __WIN32__ instead of _MSC_VER to select _snprintf in
3188 place of snprintf when cross compiling. Otherwise all all %ld
3189 arguments get misprinted resulting in broken PDF output.
3191 src/cairo-compiler-private.h | 5 ++++-
3192 src/cairo-output-stream.c | 5 +----
3193 2 files changed, 5 insertions(+), 5 deletions(-)
3195 commit 3d9db511c6990481add24f14225e36ea4d3f62d5
3196 Author: Carl Worth <cworth@cworth.org>
3197 Date: Thu Feb 28 15:07:50 2008 -0800
3199 Remove references to PIXMAN_yuy2 and PIXMAN_yv12 enum values
3201 These were added in cb5ea8abfdf2c92241d4dea8bb827648697fd8e9 to
3202 quiet a compiler warning. We're reverting them now to avoid
3203 gratuitously requiring a new pixman version just to pick up two
3204 enum values that we aren't actually using.
3206 src/cairo-image-surface.c | 3 ---
3207 1 files changed, 0 insertions(+), 3 deletions(-)
3209 commit a8e5c6b924447bb1303589cc31792a6c4bcc27ec
3210 Author: Carl Worth <cworth@cworth.org>
3211 Date: Thu Feb 28 15:05:12 2008 -0800
3215 src/cairo-fixed-private.h | 2 +-
3216 1 files changed, 1 insertions(+), 1 deletions(-)
3218 commit 307a7448ea89c5cf2805bc3a8da31c5ea77e4542
3219 Author: Larry Ewing <lewing@novell.com>
3220 Date: Thu Feb 28 15:02:23 2008 -0800
3222 Add big-line test showing a 24.8 failure
3224 test/.gitignore | 1 +
3225 test/Makefile.am | 5 +++
3226 test/big-line-ps-ref.png | Bin 0 -> 1161 bytes
3227 test/big-line-ps-rgb24-ref.png | Bin 0 -> 809 bytes
3228 test/big-line-ref.png | Bin 0 -> 1421 bytes
3229 test/big-line-rgb24-ref.png | Bin 0 -> 1231 bytes
3230 test/big-line.c | 69 ++++++++++++++++++++++++++++++++++++++++
3231 7 files changed, 75 insertions(+), 0 deletions(-)
3233 commit 81175110ab44e74fe04f2bc8ed3c9983e23a82c6
3234 Author: Carl Worth <cworth@cworth.org>
3235 Date: Thu Feb 28 14:36:47 2008 -0800
3237 NEWS: Add notes for cairo 1.5.12
3239 NEWS | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3240 1 files changed, 94 insertions(+), 0 deletions(-)
3242 commit fbd29a4025fc3bca3812d205230151e8c6e80f49
3243 Author: Carl Worth <cworth@cworth.org>
3244 Date: Thu Feb 28 14:36:32 2008 -0800
3246 Fix 'make doc-publish' for when run twice on the same day
3249 1 files changed, 1 insertions(+), 0 deletions(-)
3251 commit 8d515344c4ecded58566b704a740766f85359876
3252 Author: Carl Worth <cworth@cworth.org>
3253 Date: Thu Feb 28 14:35:57 2008 -0800
3255 Add cairo-quartz to the manual
3257 doc/public/Makefile.am | 1 -
3258 doc/public/cairo-docs.xml | 2 +-
3259 doc/public/cairo-sections.txt | 11 ++++++++
3260 doc/public/tmpl/cairo-quartz.sgml | 49 ++++++++++++++++++++++++++++++++++++
3261 doc/public/tmpl/cairo-surface.sgml | 1 +
3262 5 files changed, 62 insertions(+), 2 deletions(-)
3264 commit c8c77f01f7429b43dba4840698497187ff4d5779
3265 Author: Carl Worth <cworth@cworth.org>
3266 Date: Thu Feb 28 13:02:27 2008 -0800
3268 Fix typo in documentation
3270 src/cairo-quartz-image-surface.c | 2 +-
3271 1 files changed, 1 insertions(+), 1 deletions(-)
3273 commit fa4b91fcac9b83cb66ac98dbcb395bd7b75c7560
3274 Author: Carl Worth <cworth@cworth.org>
3275 Date: Thu Feb 28 12:56:31 2008 -0800
3277 Add missing reference images to make distcheck happily
3279 test/Makefile.am | 28 ++++++++++++++++++++++------
3280 1 files changed, 22 insertions(+), 6 deletions(-)
3282 commit a95b22858fa5d65600faf5163966e18760a3cf35
3283 Merge: c84ec58... 67d5437...
3284 Author: Carl Worth <cworth@cworth.org>
3285 Date: Thu Feb 28 12:30:13 2008 -0800
3289 commit 67d543716e294f4af330c52dcc9597e16267425e
3290 Author: Carl Worth <cworth@cworth.org>
3291 Date: Wed Feb 27 20:39:53 2008 -0800
3293 PS: Fix to never break the final ~> that terminates a base85 stream.
3295 This was recently broken in commit 40d5082c24819968a5ee5a8f72e3b9cd61cb6105
3296 which uses a base85-stream but without strings for encapsulating image
3297 data. The bug was that the protection for ~> was only being applied
3298 to the string encodings rather than all base85 streams.
3300 We got lucky recently that the 24.8 change just happened to put the ~>
3301 sequence on the line-wrap boundary so the test suite tripped up the
3302 bug. Otherwise, we could have missed this for quite some time.
3304 src/cairo-ps-surface.c | 16 ++++++++--------
3305 1 files changed, 8 insertions(+), 8 deletions(-)
3307 commit c84ec585123be1802b50665e192b80daf14fdd2b
3308 Author: Carl Worth <cworth@cworth.org>
3309 Date: Wed Feb 27 16:24:10 2008 -0800
3311 Add some missing .gitignore entries
3313 test/.gitignore | 5 ++++-
3314 1 files changed, 4 insertions(+), 1 deletions(-)
3316 commit 1df0b001b5b3e1062fa3c3a9070391105fe3d4ba
3317 Author: Carl Worth <cworth@cworth.org>
3318 Date: Wed Feb 27 15:08:18 2008 -0800
3320 Change cairo's fixed-point format from 16.16 to 24.8
3322 The additional 8 bits of integer allows device space to be 256
3323 times larger before applications need to start worrying about
3324 any issues with overflow. So this should help in many cases.
3325 And the loss of 8 bits of sub-pixel precision shouldn't cause
3326 any harm at all---16 was really much more than necessary.
3328 With this change the details of rasterization for several tests
3329 are changed slightly, (particularly on arcs, for example), so
3330 many reference images are updated here.
3332 NOTE: This change is currently breaking get-path-extents for
3333 ps/pdf/svg as well as push-group for ps. We do not yet know
3334 the reasons for these new failures.
3336 src/cairo-fixed-type-private.h | 2 +-
3337 test/clip-operator-ref.png | Bin 8262 -> 8263 bytes
3338 test/clip-twice-ref.png | Bin 1191 -> 1362 bytes
3339 test/clip-twice-rgb24-ref.png | Bin 1120 -> 1198 bytes
3340 test/copy-path-ps-argb32-ref.png | Bin 442 -> 0 bytes
3341 test/copy-path-ps-ref.png | Bin 0 -> 474 bytes
3342 test/copy-path-ps-rgb24-ref.png | Bin 440 -> 0 bytes
3343 test/linear-gradient-ps-ref.png | Bin 718 -> 779 bytes
3344 test/mask-ref.png | Bin 8381 -> 8476 bytes
3345 test/mask-svg-argb32-ref.png | Bin 8389 -> 8527 bytes
3346 test/meta-surface-pattern-svg-argb32-ref.png | Bin 3896 -> 3924 bytes
3347 test/operator-clear-ps-argb32-ref.png | Bin 1437 -> 1400 bytes
3348 test/operator-source-ref.png | Bin 4422 -> 4422 bytes
3349 test/push-group-ref.png | Bin 3005 -> 3126 bytes
3350 test/push-group-rgb24-ref.png | Bin 2849 -> 2961 bytes
3351 test/random-intersections-ps-ref.png | Bin 89253 -> 89253 bytes
3352 test/random-intersections-ref.png | Bin 132210 -> 148722 bytes
3353 test/text-pattern-svg-argb32-ref.png | Bin 1749 -> 1733 bytes
3354 test/text-rotate-ps-ref.png | Bin 6859 -> 6878 bytes
3355 test/trap-clip-ref.png | Bin 5723 -> 5772 bytes
3356 test/unantialiased-shapes-ref.png | Bin 3968 -> 4459 bytes
3357 21 files changed, 1 insertions(+), 1 deletions(-)
3359 commit 0532cb5c03bac394e22ac4200e8bebc3d959b21c
3360 Author: Carl Worth <cworth@cworth.org>
3361 Date: Wed Feb 27 13:18:39 2008 -0800
3363 Remove reference images for text-zero-len
3365 This test isn't generating any image output, so it's silly to
3366 have a 60x60 reference image for that. Not only that, but the
3367 rgb24 cases have always been failing due to a missing rgb24-
3368 specific reference image, (but pdiff had been hiding that).
3370 test/Makefile.am | 1 +
3371 test/text-zero-len-ref.png | Bin 130 -> 0 bytes
3372 test/text-zero-len.c | 4 +---
3373 3 files changed, 2 insertions(+), 3 deletions(-)
3375 commit 427a73ab31e2dce9d98820ba921b216176cde182
3376 Author: Carl Worth <cworth@cworth.org>
3377 Date: Wed Feb 27 12:43:37 2008 -0800
3379 Add ps-specific reference images for two recently-added tests
3381 test/Makefile.am | 2 ++
3382 test/long-dashed-lines-ps-ref.png | Bin 0 -> 1516 bytes
3383 test/reflected-stroke-ps-ref.png | Bin 0 -> 3898 bytes
3384 3 files changed, 2 insertions(+), 0 deletions(-)
3386 commit 676c869d794f824b6e624d0b9b5c960870102406
3387 Author: Carl Worth <cworth@cworth.org>
3388 Date: Wed Feb 27 11:24:59 2008 -0800
3390 Add some new ps-specific reference images
3392 These are necessary now due to the recent change to use pdiff
3393 only when the differences are less than a particular threshold.
3395 test/Makefile.am | 8 ++++++++
3396 test/caps-joins-ps-ref.png | Bin 0 -> 1459 bytes
3397 test/close-path-ps-ref.png | Bin 0 -> 309 bytes
3398 test/infinite-join-ps-ref.png | Bin 0 -> 218 bytes
3399 test/leaky-polygon-ps-ref.png | Bin 0 -> 354 bytes
3400 test/rectilinear-miter-limit-ps-ref.png | Bin 0 -> 221 bytes
3401 test/self-copy-ps-ref.png | Bin 0 -> 335 bytes
3402 test/skew-extreme-ps-ref.png | Bin 0 -> 1048 bytes
3403 test/text-rotate-ps-ref.png | Bin 0 -> 6859 bytes
3404 test/transforms-ps-ref.png | Bin 0 -> 418 bytes
3405 10 files changed, 8 insertions(+), 0 deletions(-)
3407 commit 1889427e78f2501df78a42c5e75c696745b517a7
3408 Author: Vladimir Vukicevic <vladimir@pobox.com>
3409 Date: Wed Feb 27 12:35:56 2008 -0500
3411 Fix usage of rectangle_int16_t in ps surface, and rename types
3413 The rectangle_int16_t usage was causing failures on 24.8 (due to a wrong
3414 pointer used to get_extents); I removed all the specific int16/int32 typedefs
3415 to avoid this situation in the future.
3417 src/cairo-ps-surface.c | 2 +-
3418 src/cairo-types-private.h | 47 ++++++++++++++++++++------------------------
3419 2 files changed, 22 insertions(+), 27 deletions(-)
3421 commit 4f7d3063520b987d3df3bcebfaeed9489b16b12d
3422 Author: Chris Wilson <chris@chris-wilson.co.uk>
3423 Date: Wed Feb 27 10:11:08 2008 +0000
3425 [cairo-paginated-surface] Fix enum compiler warning.
3427 Add a CAIRO_SURFACE_TYPE_QUARTZ_IMAGE to the switch to suppress a
3430 src/cairo-paginated-surface.c | 1 +
3431 1 files changed, 1 insertions(+), 0 deletions(-)
3433 commit cb5ea8abfdf2c92241d4dea8bb827648697fd8e9
3434 Author: Chris Wilson <chris@chris-wilson.co.uk>
3435 Date: Thu Feb 21 16:03:42 2008 +0000
3437 [cairo-image-surface] Compiler warnings and whitespace.
3439 Silence a couple of enum compiler warnings and tweak the whitespace.
3441 src/cairo-image-surface.c | 45 ++++++++++++++++++++++++---------------------
3442 1 files changed, 24 insertions(+), 21 deletions(-)
3444 commit 22600e2393f2ec5ebe40213c49599167523ddf20
3445 Author: Chris Wilson <chris@chris-wilson.co.uk>
3446 Date: Fri Feb 22 17:07:45 2008 +0000
3448 [cairo-gstate] Remove a couple of impossible guards.
3450 Delete a couple of superfluous gstate != NULL guards.
3452 src/cairo-gstate.c | 6 ------
3453 1 files changed, 0 insertions(+), 6 deletions(-)
3455 commit 37e597f1e553a98d06c5334aa95b918ed303e89e
3456 Author: Chris Wilson <chris@chris-wilson.co.uk>
3457 Date: Fri Feb 22 17:03:51 2008 +0000
3459 [cairo-gstate] Propagate the error from _cairo_gstate_clone().
3461 Propagate the true status value back from the _cairo_gstate_init_copy()
3462 instead of assuming that is a NO_MEMORY and re-raising the error in the
3465 src/cairo-gstate.c | 22 +++++++++++-----------
3466 1 files changed, 11 insertions(+), 11 deletions(-)
3468 commit 127d7f43ea7043bba1d276d9721e80a702d9fd46
3469 Author: Chris Wilson <chris@chris-wilson.co.uk>
3470 Date: Thu Feb 21 15:56:34 2008 +0000
3472 [cairo-path-bounds] _cairo_path_fixed_bounds() can fail...
3474 I was wrong in my assertion that the call to
3475 _cairo_path_fixed_interpret_flat() could not possibly fail with the
3476 given _cairo_path_bounder_* callbacks - as I had missed the implicit
3477 spline decomposition. (An interesting exercise would be to avoid the
3478 spline allocation...) As a result we do have to check and propagate the
3479 status return through the call stack.
3481 src/cairo-analysis-surface.c | 8 ++++++--
3482 src/cairo-gstate.c | 12 +++++++++---
3483 src/cairo-path-bounds.c | 10 +++++-----
3484 src/cairo.c | 10 +++++++---
3485 src/cairoint.h | 4 ++--
3486 5 files changed, 29 insertions(+), 15 deletions(-)
3488 commit 65a8a279430a08e6f28b1e0354e9f18fda1a0ad7
3489 Author: Chris Wilson <chris@chris-wilson.co.uk>
3490 Date: Tue Feb 26 14:14:38 2008 +0000
3492 [test] Add reflected-stroke to exercise stroking with a reflected ctm.
3494 Parts of the stroker depend upon whether we have in effect a reflection
3495 matrix (one whose determinant < 0). This test incopororates the same
3496 drawing under the a couple of reflections to exercise stroking under
3497 matrices with both positive and negative determinants.
3499 test/.gitignore | 1 +
3500 test/Makefile.am | 2 +
3501 test/reflected-stroke-ref.png | Bin 0 -> 4802 bytes
3502 test/reflected-stroke.c | 100 +++++++++++++++++++++++++++++++++++++++++
3503 4 files changed, 103 insertions(+), 0 deletions(-)
3505 commit 76f0613e5f1244557eab31945d7e7c757d987304
3506 Author: Chris Wilson <chris@chris-wilson.co.uk>
3507 Date: Tue Feb 26 09:50:51 2008 +0000
3509 [test] Add long-dashed-lines to exercise _cairo_box_intersects_line_segment().
3511 Draw a few rectangles whose vertices are outside the bounds of the
3512 surface, but whose segments cross the surface. This exercises the new
3513 dashed stroker optimisation which tries to determine whether the line
3516 test/.gitignore | 1 +
3517 test/Makefile.am | 2 +
3518 test/long-dashed-lines-ref.png | Bin 0 -> 2116 bytes
3519 test/long-dashed-lines.c | 75 ++++++++++++++++++++++++++++++++++++++++
3520 4 files changed, 78 insertions(+), 0 deletions(-)
3522 commit cdeffc69d9daa931c3c4ffcbb9e093180da45fe5
3523 Author: Chris Wilson <chris@chris-wilson.co.uk>
3524 Date: Tue Feb 26 13:04:33 2008 +0000
3526 [cairo-quartz-surface] Make check fixup.
3528 A couple of minor corrections to satisfy make check.
3530 src/cairo-quartz-surface.c | 6 +++---
3531 1 files changed, 3 insertions(+), 3 deletions(-)
3533 commit 40f4750f5ec53ca9ca6e3d621fefb2bd1687909e
3534 Author: Adrian Johnson <ajohnson@redneon.com>
3535 Date: Tue Feb 26 23:17:04 2008 +1030
3537 Use PDF 're' operator for rectangle paths
3539 Modify cairo-pdf-operators.c to emit to 're' path operator when the
3540 path contains only a rectangle. This can only be done when the path is
3541 logically equivilent to the the path drawn by the 're'
3542 operator. Otherwise dashed strokes may start on the wrong line.
3544 ie the path must be equivalent to:
3546 cairo_move_to (cr, x, y);
3547 cairo_rel_line_to (cr, width, 0);
3548 cairo_rel_line_to (cr, 0, height);
3549 cairo_rel_line_to (cr, -width, 0);
3550 cairo_close_path (cr);
3552 which is also equivilent to cairo_rectangle().
3554 src/cairo-path-fixed.c | 24 ++++++++++++++++++++++++
3555 src/cairo-pdf-operators.c | 36 +++++++++++++++++++++++++++++-------
3556 src/cairo-ps-surface.c | 2 ++
3557 src/cairoint.h | 4 ++++
3558 4 files changed, 59 insertions(+), 7 deletions(-)
3560 commit 7acfee38b1ac6ef2292d754c7103bd65d58f72d8
3561 Author: Vladimir Vukicevic <vladimir@pobox.com>
3562 Date: Mon Feb 25 21:44:04 2008 -0500
3564 [atsui] Make default font 'Helvetica'
3566 The previous default font was Monaco, which is a fixed-pitch font; Helvetica
3567 is more inline with the other platform defaults.
3569 src/cairoint.h | 2 +-
3570 1 files changed, 1 insertions(+), 1 deletions(-)
3572 commit 9979f786acaf0ebba1bf97e40aeba66287a3c743
3573 Author: Vladimir Vukicevic <vladimir@pobox.com>
3574 Date: Mon Feb 25 21:27:33 2008 -0500
3576 [test] update degenerate-pen test
3578 pdiff was hiding a rgb24 failure here, as the test was drawing using
3579 black ink on the default black background. Instead, explicitly fill
3580 the surface with white first.
3582 test/degenerate-pen-ps-argb32-ref.png | Bin 795 -> 0 bytes
3583 test/degenerate-pen-ps-ref.png | Bin 0 -> 865 bytes
3584 test/degenerate-pen-quartz-ref.png | Bin 0 -> 1144 bytes
3585 test/degenerate-pen-ref.png | Bin 788 -> 1139 bytes
3586 test/degenerate-pen.c | 4 ++++
3587 5 files changed, 4 insertions(+), 0 deletions(-)
3589 commit baec928a69b5b763b30766cddfb1473e4e05fc3c
3590 Author: Vladimir Vukicevic <vladimir@pobox.com>
3591 Date: Mon Feb 25 21:06:36 2008 -0500
3593 [quartz] More mask fixes -- handle all types via fallback mask image
3595 src/cairo-quartz-surface.c | 79 +++++++++++++++++++++++++++++++---------
3596 test/mask-quartz-ref.png | Bin 0 -> 10657 bytes
3597 test/mask-quartz-rgb24-ref.png | Bin 0 -> 8418 bytes
3598 3 files changed, 62 insertions(+), 17 deletions(-)
3600 commit 3fcd0be52215e1d8a59560d6b0919fb3f53b7a28
3601 Author: Vladimir Vukicevic <vladimir@pobox.com>
3602 Date: Mon Feb 25 21:06:35 2008 -0500
3604 Use pdiff only if the pixel difference is less than a limit
3606 test/buffer-diff.c | 24 +++++++++++++++++-------
3607 1 files changed, 17 insertions(+), 7 deletions(-)
3609 commit 1dfb1bd45fbe08392e233af67f464b2776de9f19
3610 Author: Vladimir Vukicevic <vladimir@pobox.com>
3611 Date: Mon Feb 25 21:06:28 2008 -0500
3613 [quartz] update test suite images for quartz
3615 test/dash-scale-quartz-ref.png | Bin 0 -> 8079 bytes
3616 test/leaky-dash-quartz-ref.png | Bin 0 -> 241 bytes
3617 test/line-width-scale-quartz-ref.png | Bin 0 -> 6434 bytes
3618 test/mask-alpha-quartz-argb32-ref.png | Bin 0 -> 641 bytes
3619 test/meta-surface-pattern-quartz-ref.png | Bin 0 -> 4572 bytes
3620 test/meta-surface-pattern-quartz-rgb24-ref.png | Bin 0 -> 4063 bytes
3621 test/new-sub-path-quartz-ref.png | Bin 386 -> 383 bytes
3622 test/over-above-source-quartz-ref.png | Bin 0 -> 530 bytes
3623 test/over-above-source-quartz-rgb24-ref.png | Bin 0 -> 456 bytes
3624 test/over-around-source-quartz-ref.png | Bin 0 -> 612 bytes
3625 test/over-around-source-quartz-rgb24-ref.png | Bin 0 -> 491 bytes
3626 test/over-between-source-quartz-ref.png | Bin 0 -> 570 bytes
3627 test/over-between-source-quartz-rgb24-ref.png | Bin 0 -> 467 bytes
3628 test/rotate-image-surface-paint-quartz-ref.png | Bin 0 -> 257 bytes
3629 test/trap-clip-quartz-ref.png | Bin 5814 -> 6171 bytes
3630 15 files changed, 0 insertions(+), 0 deletions(-)
3632 commit b439e638087d6e76d14ca42cd59dba3915dcc8e8
3633 Author: Vladimir Vukicevic <vladimir@pobox.com>
3634 Date: Mon Feb 25 21:06:25 2008 -0500
3636 [quartz] fix mask to correctly take CTM into account
3638 src/cairo-quartz-surface.c | 40 ++++++++--------------------------------
3639 1 files changed, 8 insertions(+), 32 deletions(-)
3641 commit a4975ab1173957a293aad8ccac51d1e43cab86da
3642 Author: Vladimir Vukicevic <vladimir@pobox.com>
3643 Date: Mon Feb 25 21:06:23 2008 -0500
3645 [quartz] Optimize path handling where possible
3647 src/cairo-path-fill.c | 66 +----------------------------------
3648 src/cairo-path-fixed.c | 81 ++++++++++++++++++++++++++++++++++++++++++++
3649 src/cairo-quartz-surface.c | 11 ++++++
3650 src/cairoint.h | 7 ++++
3651 4 files changed, 101 insertions(+), 64 deletions(-)
3653 commit 63711b1d4a61f21db070f30b9c153d0923cc24bb
3654 Author: Vladimir Vukicevic <vladimir@pobox.com>
3655 Date: Mon Feb 25 21:06:21 2008 -0500
3657 [quartz] Add quartz-image-surface type
3659 src/Makefile.am | 2 +-
3660 src/cairo-quartz-image-surface.c | 370 +++++++++++++++++++++++++++++
3661 src/cairo-quartz-private.h | 31 +++-
3662 src/cairo-quartz-surface.c | 476 ++++++++++++++++++--------------------
3663 src/cairo-quartz.h | 6 +
3665 6 files changed, 634 insertions(+), 255 deletions(-)
3667 commit ecb54b96967ae0d1b5ec3a4d0955f46dd68f2b8b
3668 Author: Behdad Esfahbod <behdad@behdad.org>
3669 Date: Mon Feb 25 19:48:58 2008 -0500
3671 [test/get-path-extents] Don't use short-circuit && operators
3673 That causes some tests to be skipped if the preceding test failed.
3675 test/get-path-extents.c | 143 ++++++++++++++++++++--------------------------
3676 1 files changed, 62 insertions(+), 81 deletions(-)
3678 commit be316b7cfae90878d05869329c85c9617019bbec
3679 Author: Behdad Esfahbod <behdad@behdad.org>
3680 Date: Mon Feb 25 19:36:22 2008 -0500
3682 [test]/get-path-extents] Use %g instead of %f to print doubles
3684 test/get-path-extents.c | 2 +-
3685 1 files changed, 1 insertions(+), 1 deletions(-)
3687 commit 7c8c9cf334b8687ffe2d6f614e234bd1662689e6
3688 Author: Adrian Johnson <ajohnson@redneon.com>
3689 Date: Mon Feb 25 21:50:37 2008 +1030
3691 PDF: Support OPERATOR_SOURCE when pattern is opaque
3693 src/cairo-pdf-surface.c | 12 ++++++++----
3694 1 files changed, 8 insertions(+), 4 deletions(-)
3696 commit 35295546ef63821c5eee5336ec73eef2e03a035d
3697 Author: Adrian Johnson <ajohnson@redneon.com>
3698 Date: Fri Feb 22 22:06:25 2008 +1030
3700 Add mask pdf ref images
3702 The mask test pdf output is now correct. Poppler ref images
3703 are required due to minor gradient rendering differences.
3705 test/mask-pdf-argb32-ref.png | Bin 0 -> 7834 bytes
3706 test/mask-pdf-rgb24-ref.png | Bin 0 -> 7383 bytes
3707 2 files changed, 0 insertions(+), 0 deletions(-)
3709 commit 1df969158c83b31acbcf0963913bc4d4a9d20730
3710 Author: Adrian Johnson <ajohnson@redneon.com>
3711 Date: Fri Feb 22 21:59:47 2008 +1030
3713 Refresh clip-operator ps/pdf ref images
3715 Because the meta surface analysis fix increased the size of some of
3716 the fallback images.
3718 test/clip-operator-pdf-argb32-ref.png | Bin 9096 -> 11005 bytes
3719 test/clip-operator-ps-argb32-ref.png | Bin 9062 -> 9084 bytes
3720 2 files changed, 0 insertions(+), 0 deletions(-)
3722 commit eae259168fc4318f2a67f3107f953648e7ab925e
3723 Author: Adrian Johnson <ajohnson@redneon.com>
3724 Date: Fri Feb 22 21:07:31 2008 +1030
3726 Using correct surface size and clip when analyzing meta surface patterns
3728 The surface size and clip needs to be saved before and restored after
3729 replaying meta surface patterns back to the analysis surface. The clip
3730 is reset and the correct surface size is set before replaying the meta
3733 src/cairo-analysis-surface.c | 20 ++++++++++++++++++++
3734 1 files changed, 20 insertions(+), 0 deletions(-)
3736 commit 0db2c67cc5b29623070465f2cf6eafbff174ed30
3737 Author: Adrian Johnson <ajohnson@redneon.com>
3738 Date: Thu Feb 21 20:51:20 2008 +1030
3740 PS: Replace gsave/grestore with q/Q
3742 src/cairo-ps-surface.c | 8 ++++----
3743 1 files changed, 4 insertions(+), 4 deletions(-)
3745 commit 187ace8024ffadc3ee0b69bbd99c52d189cb7be2
3746 Author: Adrian Johnson <ajohnson@redneon.com>
3747 Date: Fri Feb 22 19:36:11 2008 +1030
3749 PS: Make debug code compile
3751 src/cairo-ps-surface.c | 6 +++---
3752 1 files changed, 3 insertions(+), 3 deletions(-)
3754 commit 8f0ec1174ad3c7a59ecdcf7724b8e8b96801b3e0
3755 Author: Carl Worth <cworth@cworth.org>
3756 Date: Thu Feb 21 08:05:27 2008 -0800
3758 Patch hole in fabric of time-space continuum
3761 1 files changed, 1 insertions(+), 1 deletions(-)
3763 commit 70bb2abed04ed25abccbb2d6a5bdc58136701b0a
3764 Author: Behdad Esfahbod <behdad@behdad.org>
3765 Date: Wed Feb 20 20:54:01 2008 -0500
3767 [cairo-ft] Handle font sizes smaller than 1px correctly
3769 The FT_Set_Char_Size() docs say it replaces sizes smaller than 1.0 with 1.0.
3770 So, we can't use x_scale and y_scale values less than one. The fix is easy thouh,
3771 cap them to 1.0 and let the FT transform do the scaling down.
3773 src/cairo-ft-font.c | 36 ++++++++++++++++++++++--------------
3774 1 files changed, 22 insertions(+), 14 deletions(-)
3776 commit dcab5019d5d9cb70aed0f473642ee840b785c4af
3777 Author: Carl Worth <cworth@cworth.org>
3778 Date: Wed Feb 20 17:35:48 2008 -0800
3780 Add poppler-specific reference image for radial-gradient
3782 This is justified by the previously mentioned bug on poppler
3783 gradients. Note that this test only passes with a patch
3784 to fix a bug in poppler (not yet upstream). Here it is:
3786 PATCH: Keep 'cairo_shape' and 'cairo' consistent
3787 https://bugs.freedesktop.org/show_bug.cgi?id=14593
3789 test/Makefile.am | 1 +
3791 test/radial-gradient-pdf-ref.png | Bin 0 -> 79490 bytes
3792 3 files changed, 2 insertions(+), 0 deletions(-)
3794 commit 70b683363f6e37d8952c8f857dd687022a02ada5
3795 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
3796 Date: Wed Feb 20 23:46:27 2008 +0100
3798 [SVG] Fix a8-mask test failure.
3800 For A8 and A1 masks, the embedded mask image doesn't have an alpha channel.
3801 In this case, the feColorMatrix should not be used, since it's goal is to
3802 discard the color channels and to only keep the alpha one (which is what
3803 we want when we have an ARGB32 mask image, since SVG uses all the channels
3804 for the mask operation, where cairo only use the alpha channel).
3806 src/cairo-svg-surface.c | 21 ++++++++++++++++-----
3807 1 files changed, 16 insertions(+), 5 deletions(-)
3809 commit c5d056aaebe51d2c3430807de559b0d8ab3431d5
3810 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
3811 Date: Wed Feb 20 21:42:24 2008 +0100
3813 [SVG] Fix the extend-reflect-similar test failure.
3815 SVG doesn't support extend reflect for image pattern, and there isn't
3816 any trivial way to emulate this feature. So we use the image fallback
3817 for now. This fix also forces an image fallback for extend-reflect, but
3818 in the end, it generates more or less the same file (one big image for
3819 the pattern). No other test is forced to use an image fallback by this
3822 src/cairo-svg-surface.c | 7 ++++++-
3823 1 files changed, 6 insertions(+), 1 deletions(-)
3825 commit 1d236521a527d8b07962d1d671daff35134f4d31
3826 Author: Carl Worth <cworth@cworth.org>
3827 Date: Wed Feb 20 10:00:41 2008 -0800
3829 Increment cairo version to 1.5.11 after the 1.5.10 snapshot
3832 1 files changed, 1 insertions(+), 1 deletions(-)
3834 commit 83489f623f1239a731c5377d634ea8e9b782d448
3835 Author: Carl Worth <cworth@cworth.org>
3836 Date: Wed Feb 20 10:00:31 2008 -0800
3840 doc/public/tmpl/cairo-paths.sgml | 10 +++++++++-
3841 1 files changed, 9 insertions(+), 1 deletions(-)
3843 commit 0f2ecb5ec65ff13c3aafbe57600c1906f3fe7978
3844 Author: Carl Worth <cworth@cworth.org>
3845 Date: Wed Feb 20 08:24:32 2008 -0800
3847 Update REFERENCE_IMAGES for distcheck
3849 test/Makefile.am | 64 +++++++++++++++++++++++++++++++++++++++--------------
3850 1 files changed, 47 insertions(+), 17 deletions(-)
3852 commit ee62a5fad6a32a6997600caac8b292aef4e2fe54
3853 Author: Carl Worth <cworth@cworth.org>
3854 Date: Wed Feb 20 08:08:52 2008 -0800
3856 Mention that cairo_get_current_point is void again
3859 1 files changed, 4 insertions(+), 0 deletions(-)
3861 commit 118657136d3323f4769bee28ec2435a61540f0eb
3862 Author: Carl Worth <cworth@cworth.org>
3863 Date: Wed Feb 20 08:06:39 2008 -0800
3865 Increment cairo version to 1.5.10 and libtool versioning to 17:0:15
3867 configure.in | 6 +++---
3868 1 files changed, 3 insertions(+), 3 deletions(-)
3870 commit 5aacc54c430a982b51992d6fac186b955e478045
3871 Author: Carl Worth <cworth@cworth.org>
3872 Date: Wed Feb 20 08:02:45 2008 -0800
3874 NEWS: Add notes for cairo 1.5.10
3876 NEWS | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
3877 1 files changed, 94 insertions(+), 5 deletions(-)
3879 commit f954db72dd33de837296ede353ad9823b0e32fcd
3880 Author: Carl Worth <cworth@cworth.org>
3881 Date: Wed Feb 20 06:24:48 2008 -0800
3883 Add svg-specific reference image for mask-alpha
3885 There's no apparent bug here.
3887 test/mask-alpha-svg-argb32-ref.png | Bin 0 -> 615 bytes
3888 1 files changed, 0 insertions(+), 0 deletions(-)
3890 commit c197c684a6b002ad8549d92f15d7f68b7c0068bd
3891 Author: Carl Worth <cworth@cworth.org>
3892 Date: Wed Feb 20 05:58:42 2008 -0800
3894 Update ps-specific reference images for ghostscript 8.61
3896 I was wrong in the previous message where I said I had ghostscript 8.61
3897 installed. I do now, (and "gs --version" says the same thing), and
3898 here are the new reference images.
3900 test/clip-fill-rule-ps-argb32-ref.png | Bin 322 -> 310 bytes
3901 test/clip-fill-rule-ps-rgb24-ref.png | Bin 309 -> 302 bytes
3902 test/dash-caps-joins-ps-argb32-ref.png | Bin 3854 -> 3870 bytes
3903 test/dash-caps-joins-ps-rgb24-ref.png | Bin 3852 -> 3870 bytes
3904 test/dash-curve-ps-ref.png | Bin 27206 -> 27293 bytes
3905 test/dash-state-ps-argb32-ref.png | Bin 8652 -> 0 bytes
3906 test/dash-state-ps-ref.png | Bin 0 -> 10219 bytes
3907 test/dash-state-ps-rgb24-ref.png | Bin 8650 -> 0 bytes
3908 test/dash-zero-length-ps-argb32-ref.png | Bin 319 -> 0 bytes
3909 test/dash-zero-length-ps-ref.png | Bin 0 -> 319 bytes
3910 test/dash-zero-length-ps-rgb24-ref.png | Bin 0 -> 304 bytes
3911 test/degenerate-pen-ps-argb32-ref.png | Bin 771 -> 795 bytes
3912 test/font-matrix-translation-ps-argb32-ref.png | Bin 785 -> 749 bytes
3913 test/font-matrix-translation-ps-rgb24-ref.png | Bin 783 -> 749 bytes
3914 test/ft-text-vertical-layout-type1-ps-ref.png | Bin 1894 -> 1911 bytes
3915 test/ft-text-vertical-layout-type3-ps-ref.png | Bin 1879 -> 1867 bytes
3916 test/glyph-cache-pressure-ps-ref.png | Bin 1667 -> 1413 bytes
3917 test/gradient-alpha-ps-argb32-ref.png | Bin 179 -> 189 bytes
3918 test/line-width-scale-ps-argb32-ref.png | Bin 3903 -> 0 bytes
3919 test/line-width-scale-ps-ref.png | Bin 0 -> 3911 bytes
3920 test/line-width-scale-ps-rgb24-ref.png | Bin 3901 -> 0 bytes
3921 test/linear-gradient-ps-argb32-ref.png | Bin 613 -> 0 bytes
3922 test/linear-gradient-ps-ref.png | Bin 0 -> 718 bytes
3923 test/linear-gradient-ps-rgb24-ref.png | Bin 613 -> 0 bytes
3924 test/linear-gradient-reflect-ps-ref.png | Bin 315 -> 314 bytes
3925 test/meta-surface-pattern-ps-argb32-ref.png | Bin 3246 -> 3257 bytes
3926 test/meta-surface-pattern-ps-rgb24-ref.png | Bin 3823 -> 3873 bytes
3927 test/new-sub-path-ps-argb32-ref.png | Bin 559 -> 556 bytes
3928 test/operator-clear-ps-argb32-ref.png | Bin 1409 -> 1437 bytes
3929 test/operator-source-ps-argb32-ref.png | Bin 4026 -> 3893 bytes
3930 test/operator-source-ps-rgb24-ref.png | Bin 3366 -> 3241 bytes
3931 test/pixman-rotate-ps-argb32-ref.png | Bin 411 -> 0 bytes
3932 test/pixman-rotate-ps-rgb24-ref.png | Bin 392 -> 0 bytes
3933 test/random-intersections-ps-argb32-ref.png | Bin 89733 -> 0 bytes
3934 test/random-intersections-ps-ref.png | Bin 0 -> 89253 bytes
3935 test/random-intersections-ps-rgb24-ref.png | Bin 89733 -> 0 bytes
3936 test/select-font-face-ps-ref.png | Bin 1352 -> 1079 bytes
3937 test/show-text-current-point-ps-ref.png | Bin 1475 -> 1454 bytes
3938 test/text-pattern-ps-argb32-ref.png | Bin 998 -> 984 bytes
3939 test/text-pattern-ps-rgb24-ref.png | Bin 969 -> 936 bytes
3940 test/text-rotate-ps-argb32-ref.png | Bin 7156 -> 0 bytes
3941 test/text-rotate-ps-rgb24-ref.png | Bin 7156 -> 0 bytes
3942 test/trap-clip-ps-argb32-ref.png | Bin 5715 -> 5591 bytes
3943 test/trap-clip-ps-rgb24-ref.png | Bin 5630 -> 5512 bytes
3944 44 files changed, 0 insertions(+), 0 deletions(-)
3946 commit 8d2d4130146d16676c9ed6cf7d82d6aeaadf1c56
3947 Author: Carl Worth <cworth@cworth.org>
3948 Date: Wed Feb 20 05:11:53 2008 -0800
3950 Expand the documentation of cairo/test/README
3952 Add notes on CAIRO_REF_DIR and the version requirements of
3953 poppler and ghostscript necessary for getting no failures.
3955 test/README | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++-------
3956 1 files changed, 87 insertions(+), 12 deletions(-)
3958 commit 4d42f569007f23e4cf9713c14f8c3dc640cf0f2c
3959 Author: Carl Worth <cworth@cworth.org>
3960 Date: Wed Feb 20 04:22:58 2008 -0800
3962 Update ps-specific reference images
3964 Presumably these are due to ghostscript version churn. I don't
3965 know what version was used in the past, but we're going to be
3966 more careful about documenting versions now.
3968 The ghostscript package I used here advertises itself as "8.61"
3969 and "gs --version" reports 8.15.3.
3971 ...ft-text-vertical-layout-type1-ps-argb32-ref.png | Bin 1879 -> 0 bytes
3972 test/ft-text-vertical-layout-type1-ps-ref.png | Bin 0 -> 1894 bytes
3973 ...ft-text-vertical-layout-type3-ps-argb32-ref.png | Bin 1882 -> 0 bytes
3974 test/ft-text-vertical-layout-type3-ps-ref.png | Bin 0 -> 1879 bytes
3975 test/text-pattern-ps-rgb24-ref.png | Bin 969 -> 969 bytes
3976 5 files changed, 0 insertions(+), 0 deletions(-)
3978 commit 78b270601ce54545a0c68075a60a3b85a2f37adb
3979 Author: Carl Worth <cworth@cworth.org>
3980 Date: Wed Feb 20 03:49:16 2008 -0800
3982 Add poppler-specific reference image for source-clip-scale
3984 This one doesn't have any associated poppler bug report. The
3985 rendering by poppler is totally reasonable, and not problematic
3986 at all with respect to what the test is actually testing for.
3988 test/source-clip-scale-pdf-ref.png | Bin 0 -> 113 bytes
3989 1 files changed, 0 insertions(+), 0 deletions(-)
3991 commit 64b7489a50808bd660a47615d0775842c77dd0f2
3992 Author: Carl Worth <cworth@cworth.org>
3993 Date: Wed Feb 20 03:47:34 2008 -0800
3995 Add poppler-specific reference image for push-group
3997 This is justified by the following new bug report:
3999 Incorrect clipping of group object (regression?)
4000 https://bugs.freedesktop.org/show_bug.cgi?id=14580
4002 test/README | 5 +++++
4003 test/push-group-pdf-ref.png | Bin 0 -> 2694 bytes
4004 test/push-group-pdf-rgb24-ref.png | Bin 0 -> 2611 bytes
4005 3 files changed, 5 insertions(+), 0 deletions(-)
4007 commit 7aaa3e67c5016357e28476b10d768101e1e5bd41
4008 Author: Carl Worth <cworth@cworth.org>
4009 Date: Wed Feb 20 03:38:07 2008 -0800
4011 Add poppler-specific reference images for tests needing EXTEND_PAD
4013 This is justified by the following new bug report:
4015 Poppler should paint images with CAIRO_EXTEND_PAD
4016 https://bugs.freedesktop.org/show_bug.cgi?id=14578
4018 The four affected tests are:
4022 rotate-image-surface-paint
4023 scale-source-surface-paint
4025 test/README | 9 +++++++--
4026 test/paint-source-alpha-pdf-ref.png | Bin 0 -> 473 bytes
4027 test/paint-with-alpha-pdf-ref.png | Bin 0 -> 466 bytes
4028 test/rotate-image-surface-paint-pdf-rgb24-ref.png | Bin 0 -> 207 bytes
4029 test/scale-source-surface-paint-pdf-rgb24-ref.png | Bin 0 -> 198 bytes
4030 5 files changed, 7 insertions(+), 2 deletions(-)
4032 commit fdd046edccf283bfedb59733516f6110cc96ea82
4033 Author: Carl Worth <cworth@cworth.org>
4034 Date: Wed Feb 20 03:23:38 2008 -0800
4036 Add poppler-specific reference image for text-pattern
4038 This is justified with the following new bug report:
4040 Poppler renders patterned text as black
4041 https://bugs.freedesktop.org/show_bug.cgi?id=14577
4043 test/README | 6 ++++++
4044 test/text-pattern-pdf-argb32-ref.png | Bin 0 -> 1823 bytes
4045 test/text-pattern-pdf-rgb24-ref.png | Bin 0 -> 508 bytes
4046 3 files changed, 6 insertions(+), 0 deletions(-)
4048 commit 43302f0408d92138ac12afcd855d44c430074859
4049 Author: Carl Worth <cworth@cworth.org>
4050 Date: Wed Feb 20 03:15:17 2008 -0800
4052 Re-enable pdf tests with gradients and add poppler-based reference images
4054 This freezes the current (buggy) poppler result in the test suite
4055 so that we will notice any future regressions.
4057 boilerplate/cairo-boilerplate-pdf.c | 42 --------------------
4058 test/README | 47 +++++++++++++++++++++++
4059 test/gradient-alpha-pdf-argb32-ref.png | Bin 0 -> 126 bytes
4060 test/gradient-alpha-pdf-rgb24-ref.png | Bin 0 -> 121 bytes
4061 test/gradient-alpha.c | 3 +-
4062 test/linear-gradient-pdf-ref.png | Bin 0 -> 935 bytes
4063 test/linear-gradient-reflect-pdf-argb32-ref.png | Bin 0 -> 248 bytes
4064 test/linear-gradient-reflect-pdf-rgb24-ref.png | Bin 0 -> 248 bytes
4065 test/linear-gradient.c | 3 +-
4066 test/text-pattern.c | 3 +-
4067 test/trap-clip-pdf-argb32-ref.png | Bin 0 -> 5809 bytes
4068 test/trap-clip-pdf-rgb24-ref.png | Bin 0 -> 5768 bytes
4069 test/trap-clip.c | 3 +-
4070 13 files changed, 51 insertions(+), 50 deletions(-)
4072 commit 635fed77676f2446cbedfcf52a85f96e32c3a241
4073 Author: Carl Worth <cworth@cworth.org>
4074 Date: Wed Feb 20 02:24:28 2008 -0800
4076 Re-enable some pdf tests now that poppler has knockout support
4078 We had several pdf tests disabled waiting for this bug fix:
4080 Poppler does not correctly handle knockout groups
4081 https://bugs.freedesktop.org/show_bug.cgi?id=12185
4083 That's in place for poppler now, so we're turning the tests
4084 back on. Some of the affected tests now pass perfectly:
4091 Some just needed new reference images:
4094 clip-operator-pdf-argb32
4096 The remaining tests still fail, but none of the failures can
4097 obviously be ascribed to just poppler problems:
4099 clip-operator-pdf-rgb24
4103 The first two have some serious problems, while in the case
4104 of unbounded-operator the problem is extremely minor (a white
4105 grid appears in the background where the reference image is
4108 boilerplate/cairo-boilerplate-pdf.c | 13 -------------
4109 test/clip-operator-pdf-argb32-ref.png | Bin 0 -> 9096 bytes
4110 test/operator-clear-pdf-argb32-ref.png | Bin 0 -> 1438 bytes
4111 test/operator-clear-pdf-rgb24-ref.png | Bin 0 -> 1170 bytes
4112 4 files changed, 0 insertions(+), 13 deletions(-)
4114 commit 98189d860e2c4219f994dd19fb199fcf4b457852
4115 Author: Carl Worth <cworth@cworth.org>
4116 Date: Wed Feb 20 01:43:51 2008 -0800
4118 svg: Add support for flattening SOURCE painting when there's nothing beneath it
4120 This avoids unnecessary rasterization in many cases when using
4121 cairo_surface_create_similar with an SVG surface. Because of that
4122 it eliminates test-suite failures for the -similar cases where we
4123 have svg-specific reference images. Namely:
4125 font-matrix-translation, ft-text-vertical-layout-type1,
4126 ft-text-vertical-layout-type3, mask, meta-surface-pattern,
4127 paint-source-alpha, paint-with-alpha, rotate-image-surface-paint,
4128 scale-source-surface-paint, source-clip-scale, text-pattern,
4131 In all of these cases the test suite was kindly noticing that we
4132 weren't getting the same 'native' SVG output that was desired.
4134 src/cairo-svg-surface.c | 15 +++++++++++----
4135 1 files changed, 11 insertions(+), 4 deletions(-)
4137 commit e7c6e291a64391004ae7bafc4d69830af5b0c8b1
4138 Author: Carl Worth <cworth@cworth.org>
4139 Date: Wed Feb 20 01:43:22 2008 -0800
4141 Add svg-specific reference images for meta-surface-pattern test
4143 test/meta-surface-pattern-svg-argb32-ref.png | Bin 0 -> 3896 bytes
4144 test/meta-surface-pattern-svg-rgb24-ref.png | Bin 0 -> 4593 bytes
4145 2 files changed, 0 insertions(+), 0 deletions(-)
4147 commit a1867412210db667a02e7b656729e2cf6a64a2d7
4148 Author: Carl Worth <cworth@cworth.org>
4149 Date: Wed Feb 20 01:38:59 2008 -0800
4151 cairo-svg: Make operation_supported depend on analyze_operation instead of the other way around.
4153 This prepares for analyze_operation to be able to return more than
4154 just two values, (which will allow the svg backend to take advantage
4155 of CAIRO_INT_STATUS_FLATTEN_TRANSPARENCY).
4157 src/cairo-svg-surface.c | 27 +++++++++++++++------------
4158 1 files changed, 15 insertions(+), 12 deletions(-)
4160 commit 8f11c4583f58f97c348aafcd71db059ac7791fe7
4161 Author: Carl Worth <cworth@cworth.org>
4162 Date: Mon Feb 18 17:32:35 2008 -0800
4164 Revert "[meta-surface] Adjust tolerance when replaying to surfaces with device scale"
4166 This reverts commit 7f21bfb0a8265095d68bb5ff6afae7553683a776.
4168 We don't yet have consensus on whether this is a good change or not.
4169 So for now, we're favoring the existing behavior until we can work
4172 src/cairo-meta-surface.c | 11 +++++------
4173 1 files changed, 5 insertions(+), 6 deletions(-)
4175 commit 1747718406b3450bc8869f0e050f9a18b3036030
4176 Author: Carl Worth <cworth@cworth.org>
4177 Date: Thu Feb 14 12:27:47 2008 -0800
4179 Add a spline to the degenerate-pen test case
4181 This was triggering an infinite loop (with 24.8 fixed-point) just before
4184 NOTE: I usually put bug demonstrations just before the fixes, but this
4185 one was quite harsh---not only was cairo looping infinitely, but it
4186 was appending to an array on each iteration---so not kind at all.
4188 test/degenerate-pen-ps-argb32-ref.png | Bin 374 -> 771 bytes
4189 test/degenerate-pen-ref.png | Bin 278 -> 788 bytes
4190 test/degenerate-pen.c | 3 +++
4191 3 files changed, 3 insertions(+), 0 deletions(-)
4193 commit d6d81c92b501b32be6c48d134683ebd51f63c134
4194 Author: Carl Worth <cworth@cworth.org>
4195 Date: Sat Feb 16 13:27:02 2008 -0800
4197 Eliminate a potential infinite loop in spline stroking
4199 Sometimes > rather than >= can make a bug difference. The infinite loop
4202 Infinite loop when scaling very small values using 24.8
4203 http://bugs.freedesktop.org/show_bug.cgi?id=14280
4205 Note that that particular test case only exposes the infinite
4206 loop when using 24.8 instead of 16.16 fixed-point values by
4207 setting CAIRO_FIXED_FRAC_BITS to 8.
4209 src/cairo-pen.c | 13 ++++++++++++-
4210 1 files changed, 12 insertions(+), 1 deletions(-)
4212 commit 770b058c9e53c6d0e3a3f600cd5a9631eee39dff
4213 Author: Carl Worth <cworth@cworth.org>
4214 Date: Sat Feb 16 13:17:49 2008 -0800
4216 Remove _cairo_slope_[counter_]clockwise
4218 These two functions were hiding away some important details
4219 about strictness of inequalities. Also, the callers differ
4220 on the strictness they need. Everything is cleaner and more
4221 flexible by making the callers just call _cairo_slope_compare
4224 src/cairo-path-stroke.c | 2 +-
4225 src/cairo-pen.c | 30 ++++++++++++++++--------------
4226 src/cairo-slope.c | 23 -----------------------
4227 src/cairoint.h | 6 ------
4228 4 files changed, 17 insertions(+), 44 deletions(-)
4230 commit 2d22d698d32575fd883d2be072c041709254c86d
4231 Author: Carl Worth <cworth@cworth.org>
4232 Date: Thu Feb 14 11:50:26 2008 -0800
4234 Make _cairo_slope_compare return a non-zero result for slopes that differ by pi
4236 This was an initial attempt to fix the infinite loop bug
4239 Infinite loop when scaling very small values using 24.8
4240 http://bugs.freedesktop.org/show_bug.cgi?id=14280
4242 This doesn't actually fix that bug, but having a more robust
4243 comparison function can only be a good thing.
4245 src/cairo-slope.c | 30 ++++++++++++++++++++++++++++--
4246 1 files changed, 28 insertions(+), 2 deletions(-)
4248 commit 9292c0a1b509ecea8415cdbc21415d9ce7615e04
4249 Author: Chris Wilson <chris@chris-wilson.co.uk>
4250 Date: Wed Feb 20 10:54:14 2008 +0000
4252 [gitignore] Ignore cairo-no-features.h
4254 Add the autogenerated header to the ignore list.
4256 src/.gitignore | 1 +
4257 1 files changed, 1 insertions(+), 0 deletions(-)
4259 commit e6a8768a0446b9e537bb77bd309ad5719fe74451
4260 Author: Chris Wilson <chris@chris-wilson.co.uk>
4261 Date: Wed Feb 20 10:53:15 2008 +0000
4263 [cairo-scaled-font-subsets] Fix memleak on failure to reserve .notdef glyph.
4265 Remember to destroy the sub_font if we fail to reserve the .notdef glyph
4266 during construction.
4268 Whilst in the vicinity, adjust the function prototype to remove
4269 duplicated calls to _cairo_error().
4271 src/cairo-scaled-font-subsets.c | 57 ++++++++++++++++++++------------------
4272 1 files changed, 30 insertions(+), 27 deletions(-)
4274 commit e208f31236af6b2012d725696485f96fe4acd863
4275 Author: Chris Wilson <chris@chris-wilson.co.uk>
4276 Date: Tue Feb 19 15:14:37 2008 +0000
4278 [cairo-surface] Check surface status on internal paths as well.
4280 Return any error status on the surface to the caller.
4282 src/cairo-surface.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
4283 1 files changed, 49 insertions(+), 1 deletions(-)
4285 commit 1d59daecfe1078ba2ad56f80b35c934312dc4f6b
4286 Author: Chris Wilson <chris@chris-wilson.co.uk>
4287 Date: Tue Feb 19 15:13:53 2008 +0000
4289 [cairo-pdf-operators] Cleanup word_wrap_stream
4291 Ensure that the stream is destroyed on the error paths.
4293 src/cairo-pdf-operators.c | 10 +++++++---
4294 1 files changed, 7 insertions(+), 3 deletions(-)
4296 commit aac5650beebb40068767a7d3ffedf634a3da5002
4297 Author: Chris Wilson <chris@chris-wilson.co.uk>
4298 Date: Tue Feb 19 14:39:13 2008 +0000
4300 [pdf-operators] Missing private markup.
4302 Fixup make check by adding the required cairo_private markup.
4304 src/cairo-pdf-operators-private.h | 2 +-
4305 1 files changed, 1 insertions(+), 1 deletions(-)
4307 commit eaaa1415a9becb8f11ddde4094fcf0aec6d1458f
4308 Author: Adrian Johnson <ajohnson@redneon.com>
4309 Date: Wed Feb 20 21:05:23 2008 +1030
4311 Change PDF newline characters from \r\n to \n
4313 The PDF backend has always used "\r\n" for the newline character.
4314 There was no particular reason for this choice. PDF allows "\n", "\r",
4315 or "\r\n" as the end of line marker.
4317 Since the PS backend (which uses "\n") has started sharing
4318 cairo-pdf-operators.c with the PDF backend, the PS output has been
4319 getting mixed "\n" and "\r\n" newlines.
4321 Fix this by changing the PDF backend to use "\n".
4323 src/cairo-pdf-operators.c | 40 +-
4324 src/cairo-pdf-surface.c | 878 ++++++++++++++++++++++----------------------
4325 2 files changed, 459 insertions(+), 459 deletions(-)
4327 commit 24c319fbae9ea4a43bf4e1fdf94d069b4ad78904
4328 Author: Bertram Felgenhauer <int-e@gmx.de>
4329 Date: Sat Feb 16 09:22:01 2008 +0100
4331 [perf] add tests for magnified and minified image sources.
4332 With this change, cairo's performance testsuite will catch performance
4333 regressions in pixman's fbFetchTransformed path.
4335 perf/cairo-perf-cover.c | 34 ++++++++++++++++++++++++++++++++++
4336 1 files changed, 34 insertions(+), 0 deletions(-)
4338 commit 21049a9a5eb7ba0873771428bde0db8f8b1ece08
4339 Author: Antoine Azar <cairo@antoineazar.com>
4340 Date: Mon Feb 18 23:57:38 2008 -0500
4342 Added cairo-misc.c to makefile
4344 src/Makefile.win32 | 1 +
4345 1 files changed, 1 insertions(+), 0 deletions(-)
4347 commit f2d21e73827d81da559ee4cd046bfb02dfd66a83
4348 Author: Vladimir Vukicevic <vladimir@pobox.com>
4349 Date: Mon Feb 18 17:18:51 2008 -0800
4351 [stroker] fix _compute_normalized_device_slope to return correct sign
4353 The optimization to avoid sqrt() for horizontal/vertical lines in
4354 _compute_normalized_device_slope was causing us to return a negative
4355 magnitude with a positive slope for left-to-right and bottom-to-top
4356 lines, instead of always returning a positive magnitude and a slope
4357 with an appropriate sign.
4359 src/cairo-path-stroke.c | 18 ++++++++++++++----
4360 1 files changed, 14 insertions(+), 4 deletions(-)
4362 commit 8fb624dbf2c660fbbf6d6964f7876656e1b62e41
4363 Author: Adrian Johnson <ajohnson@redneon.com>
4364 Date: Sun Feb 17 19:49:39 2008 +1030
4366 Use correct prefix for _cairo_pdf_operators_stroke
4368 s/operator/operators/
4370 src/cairo-pdf-operators-private.h | 10 +++++-----
4371 src/cairo-pdf-operators.c | 10 +++++-----
4372 src/cairo-pdf-surface.c | 20 ++++++++++----------
4373 src/cairo-ps-surface.c | 10 +++++-----
4374 4 files changed, 25 insertions(+), 25 deletions(-)
4376 commit d2a1576941e46fb71eda8b27bd3df4de691df6ff
4377 Author: Adrian Johnson <ajohnson@redneon.com>
4378 Date: Sun Feb 17 19:48:01 2008 +1030
4380 PDF/PS: Fix mismatched save restore when using fill-stroke
4382 src/cairo-pdf-surface.c | 11 +++++++++--
4383 1 files changed, 9 insertions(+), 2 deletions(-)
4385 commit 3a05b5d2d5989386e1500ffcf8738ca89ef8457d
4386 Author: Adrian Johnson <ajohnson@redneon.com>
4387 Date: Sun Feb 17 19:45:45 2008 +1030
4389 PDF/PS: No need to use save/restore for solid colors
4391 src/cairo-pdf-surface-private.h | 1 +
4392 src/cairo-pdf-surface.c | 7 +++++--
4393 2 files changed, 6 insertions(+), 2 deletions(-)
4395 commit c7204adcf3ff6614aae75c4c1c5ef0fc5269d834
4396 Author: Behdad Esfahbod <behdad@behdad.org>
4397 Date: Sun Feb 17 02:32:00 2008 -0500
4399 [cairo-misc.c] Add misc functions to this file
4401 Anything functions that doesn't group with other functions enough to
4402 justify its own file should go here now.
4404 src/Makefile.am | 1 +
4405 src/cairo-gstate.c | 79 ----------
4406 src/cairo-misc.c | 407 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4407 src/cairo.c | 287 ------------------------------------
4408 4 files changed, 408 insertions(+), 366 deletions(-)
4410 commit a1360322c4e2867d7060a7f65bf0d96d9af36174
4411 Author: Adrian Johnson <ajohnson@redneon.com>
4412 Date: Sun Feb 17 17:16:53 2008 +1030
4414 PS: Remove unused code
4416 src/cairo-ps-surface.c | 9 ---------
4417 1 files changed, 0 insertions(+), 9 deletions(-)
4419 commit 2dfe32a0ff9272ade481796f0f25fd83863c7600
4420 Author: Adrian Johnson <ajohnson@redneon.com>
4421 Date: Sun Feb 17 16:45:15 2008 +1030
4423 Implement PDF fill-stroke
4425 src/cairo-meta-surface.c | 15 ++++++-
4426 src/cairo-pdf-operators-private.h | 8 +++
4427 src/cairo-pdf-operators.c | 51 ++++++++++++++++++++-
4428 src/cairo-pdf-surface.c | 92 +++++++++++++++++++++++++++++++++++++
4429 4 files changed, 164 insertions(+), 2 deletions(-)
4431 commit 1e7fa4b9f5c478bcb7c49667192f239c2bd1d03e
4432 Author: Behdad Esfahbod <behdad@behdad.org>
4433 Date: Sat Feb 16 22:47:31 2008 -0500
4435 [cairo-pdf-operators] Pass matrix by reference, not by value
4437 src/cairo-pdf-operators-private.h | 4 ++--
4438 src/cairo-pdf-operators.c | 8 ++++----
4439 src/cairo-pdf-surface.c | 12 ++++++------
4440 src/cairo-ps-surface.c | 9 +++++----
4441 4 files changed, 17 insertions(+), 16 deletions(-)
4443 commit 357f2334f0bd518815c80905e451b6ac1ba43553
4444 Author: Adrian Johnson <ajohnson@redneon.com>
4445 Date: Sat Feb 16 20:37:16 2008 +1030
4447 PDF: Allow word_wrap_stream to split hex strings
4449 src/cairo-pdf-operators.c | 50 +++++++++++++++++++++++++++++++++++++++-----
4450 1 files changed, 44 insertions(+), 6 deletions(-)
4452 commit 204a27aadb2390b62bd75857d8736b34870f79b1
4453 Author: Adrian Johnson <ajohnson@redneon.com>
4454 Date: Sat Feb 16 20:35:42 2008 +1030
4456 PDF: Word wrap _cairo_pdf_operators_show_glyphs output
4458 src/cairo-pdf-operators.c | 38 ++++++++++++++++++++++++--------------
4459 1 files changed, 24 insertions(+), 14 deletions(-)
4461 commit bcb0395288128da7dd8f24c503b8badacc806720
4462 Author: Behdad Esfahbod <behdad@behdad.org>
4463 Date: Fri Feb 15 15:56:29 2008 -0500
4467 src/cairo-font-options.c | 2 +-
4468 1 files changed, 1 insertions(+), 1 deletions(-)
4470 commit 536e1963b774038d9afc7fbf63303e118b0250a2
4471 Author: Shailendra Jain <shailen.n.jain@gmail.com>
4472 Date: Fri Feb 15 13:21:29 2008 +0000
4474 Compile fix for AIX.
4476 Minor correction for a build failure on AIX:
4477 "mozilla/gfx/cairo/cairo/src/cairo-gstate.c", line 45.43: 1506-294 (S)
4478 Syntax error in expression on #if directive.
4480 (Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=415867.)
4482 src/cairo-gstate.c | 2 +-
4483 src/cairo-matrix.c | 2 +-
4484 test/invalid-matrix.c | 2 +-
4485 3 files changed, 3 insertions(+), 3 deletions(-)
4487 commit 31a67c5f22eb2cbb94878d47be19b32ff319c5b3
4488 Author: Chris Wilson <chris@chris-wilson.co.uk>
4489 Date: Fri Feb 15 13:16:58 2008 +0000
4491 [pdf] Minor make check fix.
4493 Add a missing '%' in the documentation.
4495 src/cairo-pdf-operators.c | 2 +-
4496 1 files changed, 1 insertions(+), 1 deletions(-)
4498 commit 9e9fda047879f0336c2627483c78499af8ef5458
4499 Author: Chris Wilson <chris@chris-wilson.co.uk>
4500 Date: Tue Feb 12 11:16:37 2008 +0000
4502 [test/bitmap-font] Destroy the font options after use.
4504 Fix the leak of the font options.
4506 test/bitmap-font.c | 2 ++
4507 1 files changed, 2 insertions(+), 0 deletions(-)
4509 commit 92970ec83687435e75e60110cb7434670515ae57
4510 Author: Chris Wilson <chris@chris-wilson.co.uk>
4511 Date: Mon Feb 11 17:00:30 2008 +0000
4513 [test/invalid-matrix] Test detection of infinities.
4515 Feed infinities into the API and check that we correctly return
4518 test/invalid-matrix.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++++-
4519 1 files changed, 122 insertions(+), 1 deletions(-)
4521 commit 012f68e043d3594fa6cb5235eafb1ca1bfe2d099
4522 Author: Chris Wilson <chris@chris-wilson.co.uk>
4523 Date: Mon Feb 11 16:48:24 2008 +0000
4525 [test/invalid-matrix] Check scale(0,0)
4527 Test that INVALID_MATRIX is returned if the user calls cairo_scale(0,0)
4528 or a variant thereof.
4530 test/invalid-matrix.c | 16 ++++++++++++++++
4531 1 files changed, 16 insertions(+), 0 deletions(-)
4533 commit eb7488e1e67b872d29d1bd459bb7994ad3789576
4534 Author: Chris Wilson <chris@chris-wilson.co.uk>
4535 Date: Mon Feb 11 16:45:18 2008 +0000
4537 [test/invalid-matrix] Promote incorrect status warning to an error.
4539 As the last warning for an incorrect status has been resolved, throw an
4540 error if we regress and no longer report an INVALID_MATRIX under testing.
4542 test/invalid-matrix.c | 3 ++-
4543 1 files changed, 2 insertions(+), 1 deletions(-)
4545 commit fc732c3aaa53d8abcea46ad28da696ad08d09b63
4546 Author: Chris Wilson <chris@chris-wilson.co.uk>
4547 Date: Mon Feb 11 16:17:34 2008 +0000
4549 [cairo-scaled-font] Create error objects on demand.
4551 In order to correctly report the error back to the user during the
4552 creation of a scaled font, we need to support a nil object per error.
4553 Instead of statically allocating all possible errors, lazily allocate
4554 the nil object the first time we need to report a particular error.
4556 This fixes the misreporting of an INVALID_MATRIX or NULL_POINTER that
4557 are common user errors during the construction of a scaled font.
4559 src/cairo-debug.c | 2 +
4560 src/cairo-mutex-list-private.h | 1 +
4561 src/cairo-scaled-font.c | 65 +++++++++++++++++++++++++++++++++++----
4562 src/cairo.c | 10 +-----
4564 src/cairoint.h | 15 ++++++++-
4565 test/font-options.c | 2 +-
4566 7 files changed, 79 insertions(+), 18 deletions(-)
4568 commit 38fcc015a5106e5007035c22355da863b3bc9def
4569 Author: Chris Wilson <chris@chris-wilson.co.uk>
4570 Date: Mon Feb 11 16:14:40 2008 +0000
4572 [cairo-ft-font] Propagate error detected during determination of scale factors.
4574 Ensure that if an invalid matrix is detected when creating the toy font,
4575 the error is propagated to the caller.
4577 src/cairo-ft-font.c | 8 +++++---
4578 1 files changed, 5 insertions(+), 3 deletions(-)
4580 commit ad265cc9f26a20f2336747d69b28bc6ca0d91f4b
4581 Author: Chris Wilson <chris@chris-wilson.co.uk>
4582 Date: Mon Feb 11 14:58:21 2008 +0000
4584 [cairo-font-options] Disallow use of NULL font-options.
4586 Partial revert of commit 0086db893cba90dc73824d77c661d2965ad48112.
4588 This is a follow to the earlier commit that allowed creation of scaled
4589 fonts using a NULL font options (by interpreting the NULL as meaning
4590 use the default options) to reflect the comments made by Behdad
4591 (http://lists.cairographics.org/archives/cairo/2008-January/012714.html).
4593 The intent is that the public font options getter/setter API has similar
4594 defensive behaviour to that of the core objects - i.e. do not overwrite
4595 the nil object and if the object is in error then return the default
4596 value. For the indirect use of a NULL/nil font options (e.g. creation of
4597 scaled fonts), then an error should be returned rather than crashing.
4599 src/cairo-font-face.c | 8 ++----
4600 src/cairo-font-options.c | 36 ++++++++++++-------------------
4601 src/cairo-ft-font.c | 8 ++----
4602 src/cairo-scaled-font.c | 13 +++--------
4603 src/cairo-win32-font.c | 4 +-
4604 src/cairo.c | 10 +++-----
4605 test/font-options.c | 51 ++++++++++++++++++++++++++-------------------
4606 7 files changed, 59 insertions(+), 71 deletions(-)
4608 commit 790eaef71cbd30e1994c9499ab553f2ef5e5d620
4609 Author: Chris Wilson <chris@chris-wilson.co.uk>
4610 Date: Mon Feb 11 10:31:33 2008 +0000
4612 [boilerplage] Add getopts to the boilerplate library.
4614 Remember to compile the _cairo_getopts() function into the boilerplate
4615 convenience library for cairo-perf.
4617 boilerplate/Makefile.am | 14 ++++++++------
4618 1 files changed, 8 insertions(+), 6 deletions(-)
4620 commit fe93038ef343c769b38b9e7f15c1be415e6bcdd9
4621 Author: Chris Wilson <chris@chris-wilson.co.uk>
4622 Date: Fri Feb 8 08:36:34 2008 +0000
4624 [test/font-options] Check for HAVE_FCFINI
4626 Only pull in the fontconfig headers if we actually use FcFini().
4628 test/font-options.c | 2 ++
4629 1 files changed, 2 insertions(+), 0 deletions(-)
4631 commit 2eb03b8cf2b2c0520d018127b377071a8a63799d
4632 Author: Chris Wilson <chris@chris-wilson.co.uk>
4633 Date: Thu Feb 7 17:07:43 2008 +0000
4635 [cairo-ps-surface] Tidy return from _analyze_image_transparency().
4637 _analyze_image_transparency() only returned SUCCESS, so use the return
4638 parameter to pass back the transparency type instead of using an out
4641 src/cairo-ps-surface.c | 37 +++++++++++++------------------------
4642 1 files changed, 13 insertions(+), 24 deletions(-)
4644 commit bc83e028b8d12223164263a9f9cfc822ed40f8c8
4645 Author: Chris Wilson <chris@chris-wilson.co.uk>
4646 Date: Thu Feb 7 11:47:11 2008 +0000
4648 [cairo-output-stream] Add format(printf) markup.
4650 Add CAIRO_PRINTF_FORMAT attribute to the printf-esque output stream
4651 functions, and fixup the one warning caught by the compiler.
4653 src/cairo-output-stream-private.h | 6 ++++--
4654 src/cairo-pdf-surface.c | 4 ++--
4655 2 files changed, 6 insertions(+), 4 deletions(-)
4657 commit 4430157841d4b55061c6af58576cfe6ec66fcfe5
4658 Author: Chris Wilson <chris@chris-wilson.co.uk>
4659 Date: Wed Feb 6 11:37:13 2008 +0000
4661 [test] Summarise the tests failures per backend.
4663 After the summary, show the total number of failures per backend.
4665 test/Makefile.am | 15 +++++++++++++++
4666 1 files changed, 15 insertions(+), 0 deletions(-)
4668 commit af88d4d9ae66152ac885531bfc73a47eb78d1d03
4669 Author: Chris Wilson <chris@chris-wilson.co.uk>
4670 Date: Wed Jan 30 15:20:50 2008 +0000
4672 [test/a8-mask] Fix memleak.
4674 Destroy the auxiallary surfaces and contexts.
4676 test/a8-mask.c | 14 ++++++++------
4677 1 files changed, 8 insertions(+), 6 deletions(-)
4679 commit a3f071aee707e66e637587f1e9ae327b21243a60
4680 Author: Chris Wilson <chris@chris-wilson.co.uk>
4681 Date: Wed Jan 30 15:19:49 2008 +0000
4683 [cairo-ft-font] Tidy usage of cairo_error().
4685 Remove a redundant use of cairo_error(NO_MEMORY).
4687 src/cairo-ft-font.c | 7 +++----
4688 1 files changed, 3 insertions(+), 4 deletions(-)
4690 commit a4c960a93cf5f37819b933d19f92e17e6c047c66
4691 Author: Chris Wilson <chris@chris-wilson.co.uk>
4692 Date: Fri Jan 18 17:14:17 2008 +0000
4694 [test] Add tests using each backend as a source.
4696 Inspired by bug 7362 (painting a glitz surface onto an xlib surface
4697 crashes cairo) and the lack of coverage for
4698 _cairo_paginated_surface_acquire_source_image(), these tests attempt
4699 to use each backend as a source surface for all the other backends.
4700 For example, this checks that one can construct a PS file ready for
4701 printing and then copy that surface to an image/xlib for previewing.
4703 test/.gitignore | 6 +
4704 test/Makefile.am | 19 +++-
4705 test/glitz-surface-source-ref.png | Bin 0 -> 268 bytes
4706 test/glitz-surface-source.c | 196 +++++++++++++++++++++++++++++++++++++
4707 test/image-surface-source-ref.png | Bin 0 -> 268 bytes
4708 test/image-surface-source.c | 35 +++++++
4709 test/pdf-surface-source-ref.png | Bin 0 -> 268 bytes
4710 test/pdf-surface-source.c | 41 ++++++++
4711 test/ps-surface-source-ref.png | Bin 0 -> 268 bytes
4712 test/ps-surface-source.c | 41 ++++++++
4713 test/surface-source.c | 93 +++++++++++++++++
4714 test/svg-surface-source-ref.png | Bin 0 -> 268 bytes
4715 test/svg-surface-source.c | 41 ++++++++
4716 test/xlib-surface-source-ref.png | Bin 0 -> 268 bytes
4717 test/xlib-surface-source.c | 76 ++++++++++++++
4718 15 files changed, 544 insertions(+), 4 deletions(-)
4720 commit f59f22eecba7cbf2151e01533ba936ca94d25056
4721 Author: Chris Wilson <chris@chris-wilson.co.uk>
4722 Date: Tue Jan 29 09:29:10 2008 +0000
4724 [check] Only build documents during make check if we have GTK_DOC
4726 Check that gtk-doc has been enabled before running attempting to build
4727 the docs during make check.
4729 doc/public/Makefile.am | 2 ++
4730 1 files changed, 2 insertions(+), 0 deletions(-)
4732 commit e5f0253b67801ad79eb881e189b9835aea0fcf57
4733 Author: Chris Wilson <chris@chris-wilson.co.uk>
4734 Date: Tue Jan 29 09:07:14 2008 +0000
4736 [cairo-surface] Hide the compiler warnings.
4738 Assign the return value from _cairo_surface_set_error() to hide the
4741 src/cairo-surface.c | 18 ++++++++++++------
4742 1 files changed, 12 insertions(+), 6 deletions(-)
4744 commit 53c1ed25abb7e8e22b24aa64fcd29d210c6b7903
4745 Author: Chris Wilson <chris@chris-wilson.co.uk>
4746 Date: Tue Jan 29 08:52:28 2008 +0000
4748 [test/a1-sample-image] Fix the memleak.
4750 Destroy the surface after use.
4752 test/a1-image-sample.c | 2 ++
4753 1 files changed, 2 insertions(+), 0 deletions(-)
4755 commit 5efc88e9108df2331772cc22dc52ef0a9cc93869
4756 Author: Chris Wilson <chris@chris-wilson.co.uk>
4757 Date: Tue Jan 29 08:50:25 2008 +0000
4759 [xmalloc] Hide valgrind warning.
4761 Allocate the string to the next integer boundary to hide a valgrind
4764 boilerplate/xmalloc.c | 27 +++++++++++++++++++--------
4765 1 files changed, 19 insertions(+), 8 deletions(-)
4767 commit 1faf208093a8cce77d2f7d6b248bc1eb1bd19a8a
4768 Author: Chris Wilson <chris@chris-wilson.co.uk>
4769 Date: Fri Jan 18 14:41:03 2008 +0000
4771 [cairo-png] Improve error return for invalid parameters.
4773 Only translate an UNSUPPORTED error into a SURFACE_TYPE_MISMATCH, all
4774 others can be returned to the user unadulterated.
4776 PNG doesn't support width==0 or height==0 and generates an error
4777 whilst writing - which without further information is assumed to be
4778 a NO_MEMORY error. So check the image size at the start and return a
4779 WRITE_ERROR for a zero sized image.
4781 src/cairo-png.c | 24 +++++++++++++-----------
4782 1 files changed, 13 insertions(+), 11 deletions(-)
4784 commit d0cc1d929119d2e05578a60af3b873af1d7f6b13
4785 Author: Chris Wilson <chris@chris-wilson.co.uk>
4786 Date: Fri Jan 18 14:34:41 2008 +0000
4788 [cairo-pdf-surface] Minor code tidy.
4790 Remove code duplication.
4792 src/cairo-pdf-surface.c | 6 ++----
4793 1 files changed, 2 insertions(+), 4 deletions(-)
4795 commit d7ce0582f1eb86b2af5964820378b75297822dd1
4796 Author: Chris Wilson <chris@chris-wilson.co.uk>
4797 Date: Thu Jan 17 23:18:46 2008 +0000
4799 [test/font-options] Check the defaults values.
4801 Exercise the getters by checking that a fresh cairo_font_options_t has
4804 test/font-options.c | 24 ++++++++++++++++++++----
4805 1 files changed, 20 insertions(+), 4 deletions(-)
4807 commit f40f24e272cf05a7a727217ae7a35844bf95f5d2
4808 Author: Chris Wilson <chris@chris-wilson.co.uk>
4809 Date: Thu Jan 17 23:05:53 2008 +0000
4811 [test/invalid] Test cairo_translate() and friends for NaN safety.
4813 Pass NaNs to cairo_translate() and friends and check that they raise
4814 an INVALID_MATRIX error.
4816 test/invalid-matrix.c | 37 +++++++++++++++++++++++++++++++++++++
4817 1 files changed, 37 insertions(+), 0 deletions(-)
4819 commit 896da0305a09e53518d6d1af6f58bbfaf3ddc89c
4820 Author: Adrian Johnson <ajohnson@redneon.com>
4821 Date: Fri Feb 15 23:54:55 2008 +1030
4823 Win32-printing: Fix meta surface patterns
4825 Ensure the win32-printing surface has the same fixes for meta surface
4826 patterns with more than one level of push/pop group that PS/PDF
4827 received in 060f384310e887f7f431a98e847b8a36fc303a0c
4829 src/cairo-win32-printing-surface.c | 28 ++++++++++++++++------------
4830 1 files changed, 16 insertions(+), 12 deletions(-)
4832 commit fbde0fb872a3af78236f4cbc8024d4df245de9c8
4833 Author: Adrian Johnson <ajohnson@redneon.com>
4834 Date: Fri Feb 15 08:17:25 2008 +1030
4836 Update PS ref images
4838 test/degenerate-pen-ps-argb32-ref.png | Bin 390 -> 374 bytes
4839 test/extend-reflect-ps-ref.png | Bin 0 -> 153322 bytes
4840 test/extend-reflect-similar-ps-ref.png | Bin 0 -> 153322 bytes
4841 test/glyph-cache-pressure-ps-ref.png | Bin 0 -> 1667 bytes
4842 test/meta-surface-pattern-ps-argb32-ref.png | Bin 0 -> 3246 bytes
4843 test/meta-surface-pattern-ps-rgb24-ref.png | Bin 0 -> 3823 bytes
4844 test/random-intersections-ps-argb32-ref.png | Bin 89416 -> 89733 bytes
4845 test/random-intersections-ps-rgb24-ref.png | Bin 89414 -> 89733 bytes
4846 test/select-font-face-ps-ref.png | Bin 0 -> 1352 bytes
4847 test/show-text-current-point-ps-ref.png | Bin 0 -> 1475 bytes
4848 test/text-pattern-ps-argb32-ref.png | Bin 997 -> 998 bytes
4849 test/text-rotate-ps-argb32-ref.png | Bin 7198 -> 7156 bytes
4850 test/text-rotate-ps-rgb24-ref.png | Bin 7196 -> 7156 bytes
4851 test/trap-clip-ps-argb32-ref.png | Bin 5700 -> 5715 bytes
4852 test/trap-clip-ps-rgb24-ref.png | Bin 5616 -> 5630 bytes
4853 15 files changed, 0 insertions(+), 0 deletions(-)
4855 commit 40d5082c24819968a5ee5a8f72e3b9cd61cb6105
4856 Author: Adrian Johnson <ajohnson@redneon.com>
4857 Date: Sun Feb 10 14:53:17 2008 +1030
4859 PS: Use currentfile as the image data source
4861 When the emitted image is not inside a PS procedure we can use the
4862 currentfile operator as the datasource instead of an array of strings.
4863 This avoids having to read to entire image data into printer memory
4864 before the image can be decoded. This improves the performance and
4865 reduces the chance of running out of memory on printers with limited
4868 src/cairo-ps-surface-private.h | 1 +
4869 src/cairo-ps-surface.c | 268 +++++++++++++++++++++++++---------------
4870 2 files changed, 168 insertions(+), 101 deletions(-)
4872 commit fe334bb476bb1d7496b197b47ac60167e3fb10bd
4873 Author: Adrian Johnson <ajohnson@redneon.com>
4874 Date: Sun Feb 10 14:52:39 2008 +1030
4876 PS: Use InterleaveType 2 for image and mask
4878 To be able to use the currentfile operator we need to combine the
4879 image data and mask data into the one data source. InterleaveType 2
4880 scan line interleaves the image and data.
4882 src/cairo-ps-surface.c | 129 +++++++++++++++++------------------------------
4883 1 files changed, 47 insertions(+), 82 deletions(-)
4885 commit b053aaba80e1118ddd7f9c695f6491458f4f5794
4886 Author: Adrian Johnson <ajohnson@redneon.com>
4887 Date: Tue Feb 5 22:46:01 2008 +1030
4889 PS: Don't use patterns for fill surface extend none
4891 _ps_surface_fill() can also avoid using PS patterns for EXTEND_NONE
4892 surface patterns. A clip path is set around the fill path then the
4895 src/cairo-ps-surface.c | 38 ++++++++++++++++++++++++++++++--------
4896 1 files changed, 30 insertions(+), 8 deletions(-)
4898 commit 2324a48c95d88ae0b6a066bfc9b6722f42945efa
4899 Author: Adrian Johnson <ajohnson@redneon.com>
4900 Date: Tue Feb 5 22:35:06 2008 +1030
4902 Update rotate-image-surface-paint ps ref image
4904 test/rotate-image-surface-paint-ps-argb32-ref.png | Bin 276 -> 0 bytes
4905 test/rotate-image-surface-paint-ps-ref.png | Bin 0 -> 275 bytes
4906 test/rotate-image-surface-paint-ps-rgb24-ref.png | Bin 274 -> 0 bytes
4907 3 files changed, 0 insertions(+), 0 deletions(-)
4909 commit 67374af22fe60c27517dd3bef2c8f3cc2f683b12
4910 Author: Adrian Johnson <ajohnson@redneon.com>
4911 Date: Tue Feb 5 22:31:58 2008 +1030
4913 PS: Don't use patterns for paint surface extend none
4915 This is the first of four patches intended to fix the bug reported in
4917 http://lists.cairographics.org/archives/cairo/2007-December/012226.html
4919 Previously the PS backend would draw all cairo patterns (except solid
4920 colors) by emitting a PS pattern. As PS does not support non repeating
4921 patterns, the PS backend would set a large repeat step to ensure that
4922 only one copy of the pattern is on the page.
4924 Some printers with limited memory are unable to print large images
4925 inside a pattern. This was probably because when using patterns the
4926 printer tries to keep the uncompressed image in memory so it can tile
4929 When painting surface patterns with the extend mode EXTEND_NONE we do
4930 not need to use PS patterns. The image or meta surface commands can be
4933 src/cairo-ps-surface-private.h | 2 +
4934 src/cairo-ps-surface.c | 234 +++++++++++++++++++++++++++-------------
4935 2 files changed, 162 insertions(+), 74 deletions(-)
4937 commit 6f9d71c10bf3e38c88378950037d1c81a2413617
4938 Author: Adrian Johnson <ajohnson@redneon.com>
4939 Date: Thu Feb 7 00:28:19 2008 +1030
4941 Make PS backend use cairo-pdf-operators.c
4944 - Replace PS prolog with new prolog that emulates PDF operators
4945 - Remove the [1 0 0 -1 0 height] ctm on each page. PS and PDF surfaces
4946 now both transform all output to PS/PDF coordinates.
4947 - Invert images to match PDF images where (0,0) is top left
4948 - emit_surface_pattern now uses the same transform as PDF
4949 - move the special dash handling into cairo-pdf-operators.c
4951 src/cairo-pdf-operators.c | 82 ++++-
4952 src/cairo-ps-surface-private.h | 4 +
4953 src/cairo-ps-surface.c | 767 +++++++--------------------------------
4954 3 files changed, 219 insertions(+), 634 deletions(-)
4956 commit 49f755ed2d517adabcdbe9f3834ff18b220dfa7f
4957 Author: Adrian Johnson <ajohnson@redneon.com>
4958 Date: Wed Jan 30 20:42:28 2008 +1100
4960 PS: Remove the Type 3 outline glyph code
4962 This code is never used because outline glyphs that go through the
4963 fallback path are always embedded with Type 1 fallback. The only fonts
4964 that are embedded as Type 3 are bitmap fonts.
4966 src/cairo-ps-surface.c | 54 ++++-------------------------------------------
4967 1 files changed, 5 insertions(+), 49 deletions(-)
4969 commit 0c6a362122657d5c9804fa7f45c3404aef052688
4970 Author: Adrian Johnson <ajohnson@redneon.com>
4971 Date: Wed Jan 30 20:38:17 2008 +1100
4973 pdf-operators: only one path matrix is required
4975 The PDF emit path orginally had two matrix transforms in the path
4976 struct. One for strokes and one for fill/clip. As only one transform
4977 at a time is ever used this can be simplified.
4979 src/cairo-pdf-operators.c | 41 ++++++++---------------------------------
4980 1 files changed, 8 insertions(+), 33 deletions(-)
4982 commit 5639643efe12bee4252e8cb433d343999e34ec32
4983 Author: Adrian Johnson <ajohnson@redneon.com>
4984 Date: Wed Jan 30 20:16:08 2008 +1100
4986 Add PS linecap path workarounds to pdf_operators
4988 So that pdf_operators can be used by the PS backend. PDF also needs
4991 src/cairo-pdf-operators.c | 123 +++++++++++++++++++++++++++++++-------------
4992 1 files changed, 86 insertions(+), 37 deletions(-)
4994 commit 0987fdee24d60573249a7fa3acc15e67454bd8b3
4995 Author: Adrian Johnson <ajohnson@redneon.com>
4996 Date: Wed Jan 30 17:22:52 2008 +1100
4998 Add word_wrap stream to pdf-operators
5000 The word_wrap stream in ps-surface will be removed in a later commit.
5002 src/cairo-pdf-operators.c | 114 +++++++++++++++++++++++++++++++++++++++++++++
5003 1 files changed, 114 insertions(+), 0 deletions(-)
5005 commit d05f08bceebe832844ab97a5660af4fa1452697d
5006 Author: Behdad Esfahbod <behdad@behdad.org>
5007 Date: Tue Feb 12 15:44:21 2008 -0500
5009 [configure.in] Make PS/PDF/SVG default enabled
5011 Previously they were default auto-detected. We really want people
5012 have to go out of their way to not build them, hence the change.
5014 configure.in | 6 +++---
5015 1 files changed, 3 insertions(+), 3 deletions(-)
5017 commit fd3181c7bfdb468557d8c845a016b19c5a897955
5018 Author: Adrian Johnson <ajohnson@redneon.com>
5019 Date: Tue Feb 12 20:22:38 2008 +1030
5021 PDF: Remove stale comments
5023 src/cairo-pdf-surface.c | 23 -----------------------
5024 1 files changed, 0 insertions(+), 23 deletions(-)
5026 commit bdb857a78b41d926b1c239cf988539842a72130b
5027 Author: Adrian Johnson <ajohnson@redneon.com>
5028 Date: Tue Feb 12 20:19:03 2008 +1030
5030 PDF: Fix uninitialized variable in previous commit
5032 src/cairo-pdf-surface.c | 1 +
5033 1 files changed, 1 insertions(+), 0 deletions(-)
5035 commit ba6788fc968477cfae6ed76414dd91b21671d028
5036 Author: Kristian Høgsberg <krh@redhat.com>
5037 Date: Mon Feb 11 13:44:48 2008 -0500
5039 [pdf] Use compressed PDF stream instead of compress_dup()
5041 The deflate stream has bounded (constant) memory overhead, whereas
5042 compress_dup() allocates memory proportional to the uncompressed data.
5044 This replaces compress_dup() usage with a compressed PDF stream for
5045 emitting images, alpha masks and font subsets, and eliminates the
5046 compress_dup() function.
5048 src/cairo-pdf-surface.c | 204 +++++++++++++----------------------------------
5049 1 files changed, 55 insertions(+), 149 deletions(-)
5051 commit e68584d3a16da7db30bc53a42fa8367c8356bd7e
5052 Author: Behdad Esfahbod <behdad@behdad.org>
5053 Date: Fri Feb 8 17:36:59 2008 -0500
5055 [xlib] Move multiple CAIRO_MUTEX_INITIALIZE into one place they all end up anyway
5057 src/cairo-xlib-surface.c | 8 ++------
5058 1 files changed, 2 insertions(+), 6 deletions(-)
5060 commit 0626cac6dba91d0ee20458858275745b7c6a1bfd
5061 Author: Peter Weilbacher <mozilla@weilbacher.org>
5062 Date: Fri Feb 8 15:09:19 2008 +0100
5064 [os2] fix typo in comment
5066 src/cairo-os2-surface.c | 2 +-
5067 1 files changed, 1 insertions(+), 1 deletions(-)
5069 commit b4fe25d9afff5d5b0ebaa315ad0e42f36853d5d1
5070 Author: Peter Weilbacher <mozilla@weilbacher.org>
5071 Date: Fri Feb 8 15:04:49 2008 +0100
5073 [os2] only call FcInit/Fini when compiled with FT font backend
5075 src/cairo-os2-surface.c | 6 +++++-
5076 1 files changed, 5 insertions(+), 1 deletions(-)
5078 commit 5e9cdcca00a490f3a36b4229f5353d795ca53a5d
5079 Author: Antoine Azar <cairo@antoineazar.com>
5080 Date: Thu Feb 7 17:09:41 2008 -0500
5082 Fixed rounding function call
5084 test/get-path-extents.c | 2 +-
5085 1 files changed, 1 insertions(+), 1 deletions(-)
5087 commit 80e11a85a95c5f2c814eef90a8e6ab60c8835104
5088 Author: Vladimir Vukicevic <vladimir@pobox.com>
5089 Date: Thu Feb 7 14:36:39 2008 -0800
5091 [pdf] restore alpha_size back to correct bit size
5093 src/cairo-pdf-surface.c | 6 +++++-
5094 1 files changed, 5 insertions(+), 1 deletions(-)
5096 commit 95db215cc15d228fcb38bc43d2d918fccec0a9cd
5097 Author: Azar@.(none) <Azar@.(none)>
5098 Date: Fri Feb 1 18:45:59 2008 -0800
5100 Some fixes and improvements to the Win32 build
5102 Makefile.win32 | 32 ++++-
5103 boilerplate/Makefile.win32 | 25 +++-
5104 boilerplate/cairo-boilerplate-getopt.c | 250 ++++++++++++++++++++++++++++++++
5105 boilerplate/cairo-boilerplate-getopt.h | 63 ++++++++
5106 boilerplate/cairo-boilerplate.h | 4 +
5107 perf/Makefile.win32 | 54 ++++++-
5108 perf/cairo-perf.c | 7 +-
5109 perf/cairo-perf.h | 2 +-
5110 perf/world-map.c | 2 +
5111 src/Makefile.win32 | 36 ++++-
5112 test/Makefile.win32 | 25 +++-
5113 test/font-matrix-translation.c | 2 +-
5114 test/pdiff/Makefile.win32 | 3 +
5115 13 files changed, 470 insertions(+), 35 deletions(-)
5117 commit 7800cfd7de347bb8c54fc36ed886018a2d9ec503
5118 Author: Carl Worth <cworth@cworth.org>
5119 Date: Wed Feb 6 17:00:29 2008 -0800
5121 Add several Makefile.win32 files to EXTRA_DIST
5123 Otherwise, these files were being omitted from the tar files.
5126 boilerplate/Makefile.am | 2 ++
5127 perf/Makefile.am | 2 ++
5128 src/Makefile.am | 2 ++
5129 test/Makefile.am | 2 ++
5130 5 files changed, 10 insertions(+), 0 deletions(-)
5132 commit ac743e25fa7f8bd720219a5c909fe8bbd20b11b2
5133 Author: Carl Worth <cworth@cworth.org>
5134 Date: Thu Jan 31 16:13:44 2008 +1100
5136 cairo_xlib_surface_create_similar: Pass the original drawable to XCreatePixmap
5138 Previously we were passing the root window of the same screen.
5139 Letting the X server know the actual Drawable for which we're
5140 trying to be similar allows the X server to be more efficient.
5142 src/cairo-xlib-surface.c | 4 ++--
5143 1 files changed, 2 insertions(+), 2 deletions(-)
5145 commit cb9f9086a1c8ad312cfc5314fc8e352a6046d75e
5146 Merge: c11b036... a9b0e54...
5147 Author: Peter Weilbacher <mozilla@weilbacher.org>
5148 Date: Thu Feb 7 00:07:20 2008 +0100
5150 Merge branch 'master' of ssh://pmw@git.freedesktop.org/git/cairo
5152 commit c11b036b75f3c71ff57ff4578b388bf5e35b2057
5153 Author: Peter Weilbacher <mozilla@weilbacher.org>
5154 Date: Thu Feb 7 00:03:33 2008 +0100
5156 [os2] Improve documentation
5158 Move the API documentation for the OS/2 backend from the .h file to the .c file and use the correct format.
5160 src/cairo-os2-surface.c | 139 +++++++++++++++++++++++++++++++++++++++++++++++
5161 src/cairo-os2.h | 115 ---------------------------------------
5162 2 files changed, 139 insertions(+), 115 deletions(-)
5164 commit a9b0e54d386811dc750b5e676a0dfd84c32f4625
5165 Author: Vladimir Vukicevic <vladimir@pobox.com>
5166 Date: Wed Feb 6 13:52:33 2008 -0800
5168 Avoid buffer overflow in ps/pdf surface
5170 A few places weren't using _cairo_malloc_*; fixed.
5172 src/cairo-pdf-surface.c | 22 ++++++++++++++++------
5173 src/cairo-ps-surface.c | 4 ++--
5174 2 files changed, 18 insertions(+), 8 deletions(-)
5176 commit bf1f7f70b61b5bb657b2531dab63c541ac8fb59d
5177 Author: Vladimir Vukicevic <vladimir@pobox.com>
5178 Date: Wed Feb 6 13:01:52 2008 -0800
5180 Do correct calculation of pen dimensions for stroke optimization
5182 src/cairo-path-stroke.c | 33 +++++++++++++--------------------
5183 src/cairo-rectangle.c | 2 +-
5184 src/cairo-stroke-style.c | 17 +++++++++++++++++
5185 src/cairoint.h | 11 ++++++++++-
5186 4 files changed, 41 insertions(+), 22 deletions(-)
5188 commit e104fcab1c8c8d9a7a7962a1dbea0c87867c8f9a
5189 Author: Alp Toker <alp@atoker.com>
5190 Date: Thu Jan 31 01:33:50 2008 +0000
5192 Introduce cairo_has_current_point()
5194 cairo_has_current_point() can be used to determine whether a current
5195 point is defined. We introduce this new symbol with a boolean return
5196 value to avoid the versioning ambiguity of modifying
5197 cairo_get_current_point(). This way we also don't have to map what
5198 should be a routine operation to an error condition as was previously
5201 doc/public/cairo-sections.txt | 1 +
5202 src/cairo.c | 25 +++++++++++++++++++++++--
5204 3 files changed, 27 insertions(+), 2 deletions(-)
5206 commit 1f0c3d06895ebcbfbae252e6b7298da0b64b37a9
5207 Author: Alp Toker <alp@atoker.com>
5208 Date: Thu Jan 31 00:54:52 2008 +0000
5210 Revert "Change cairo_get_current_point() to return cairo_status_t instead of void"
5212 This reverts commit b3eea75d1f7b56c2046b5387a5eb186d8f154184.
5214 Reverted in favour of an alternative approach.
5220 src/cairo.c | 22 ++++------------------
5222 2 files changed, 5 insertions(+), 19 deletions(-)
5224 commit 4c005f7ce385f3f8b161cffac11bb9766f4ef9a9
5225 Author: Azar@.(none) <Azar@.(none)>
5226 Date: Fri Feb 1 14:29:24 2008 -0800
5228 replaced round with _cairo_lround. Round doesn't compile on Win32
5230 test/get-path-extents.c | 2 +-
5231 1 files changed, 1 insertions(+), 1 deletions(-)
5233 commit 1d93e148766ded8f3105277f944849f6297974fb
5234 Author: Vladimir Vukicevic <vladimir@pobox.com>
5235 Date: Tue Feb 5 16:14:51 2008 -0800
5237 Followup patch to dashed stroke optimization
5239 Make sure that we don't test lines that start or end inside the box,
5240 since our algorithm will find intersections on the wrong ends on the
5241 line, and not count them.
5243 src/cairo-rectangle.c | 10 ++++++++--
5244 1 files changed, 8 insertions(+), 2 deletions(-)
5246 commit 7b788ce7cace4fd24c568248c22b4ec6c88b563b
5247 Author: Vladimir Vukicevic <vladimir@pobox.com>
5248 Date: Tue Feb 5 15:04:38 2008 -0800
5250 Update test ref images that changed with stroking changes
5252 test/dash-scale-ref.png | Bin 7908 -> 8035 bytes
5253 1 files changed, 0 insertions(+), 0 deletions(-)
5255 commit 4471e58c12c20723f1ddac3d0284239be6eb27a8
5256 Author: Vladimir Vukicevic <vladimir@pobox.com>
5257 Date: Mon Feb 4 03:55:55 2008 -0800
5259 Optimize dashed strokes, part 2
5261 Pass down the bounding box to the stroker, and avoid doing expensive
5262 calculations for dash segments that are outside the box.
5264 src/cairo-path-stroke.c | 122 ++++++++++++++++++++++++++++++++---------------
5265 src/cairo-rectangle.c | 94 ++++++++++++++++++++++++++++++++++++
5266 src/cairo-traps.c | 8 +++
5267 src/cairoint.h | 10 ++++
5268 4 files changed, 195 insertions(+), 39 deletions(-)
5270 commit afbd82671fe5ebebe5d58bef3d372312be1c5aeb
5271 Author: Vladimir Vukicevic <vladimir@pobox.com>
5272 Date: Sat Feb 2 23:48:16 2008 -0800
5274 Optimize stroker by hoisting some calculations out of loops
5276 sqrt and a few other floating-point operations were being done
5277 repeatedly within a loop; those are now precalculated and passed
5280 src/cairo-path-stroke.c | 142 +++++++++++++++++++++++++++++------------------
5281 1 files changed, 87 insertions(+), 55 deletions(-)
5283 commit bda0baa255801dbc21b63b364eff32de98dd6c7f
5284 Author: Vladimir Vukicevic <vladimir@pobox.com>
5285 Date: Tue Feb 5 15:04:15 2008 -0800
5287 Fix text-zero-len on ATSUI to not infinite loop
5289 src/cairo-atsui-font.c | 11 +++++++++++
5290 1 files changed, 11 insertions(+), 0 deletions(-)
5292 commit 03256d0f2be15e7ba57bc041f8cdfc1c3e718660
5293 Author: Vladimir Vukicevic <vladimir@pobox.com>
5294 Date: Tue Feb 5 15:04:11 2008 -0800
5296 Remove get-xrender-format from list of tests to be run on all platforms
5298 test/Makefile.am | 1 -
5299 1 files changed, 0 insertions(+), 1 deletions(-)
5301 commit 6140776b4e7d5787467606fbe8a961dbee6bd9fb
5302 Author: Adrian Johnson <ajohnson@redneon.com>
5303 Date: Tue Feb 5 00:22:26 2008 +1030
5305 Update operator-source ps ref images
5307 test/operator-source-ps-argb32-ref.png | Bin 4053 -> 4026 bytes
5308 test/operator-source-ps-rgb24-ref.png | Bin 2567 -> 3366 bytes
5309 2 files changed, 0 insertions(+), 0 deletions(-)
5311 commit dee6e27537a26e93266c0a2d2071ad8d4ed2c9ee
5312 Author: Adrian Johnson <ajohnson@redneon.com>
5313 Date: Tue Feb 5 00:12:48 2008 +1030
5315 Add dash-curve ps ref image
5317 test/dash-curve-ps-ref.png | Bin 0 -> 27206 bytes
5318 1 files changed, 0 insertions(+), 0 deletions(-)
5320 commit 2b0da0503baba111085a23e5e5e5feb8788d6650
5321 Author: Adrian Johnson <ajohnson@redneon.com>
5322 Date: Tue Feb 5 00:02:17 2008 +1030
5324 Ensure PS/PDF miter is >= 1.0
5326 The PS Language Reference requires the PS miter to be >= 1.
5328 The PDF Reference does not specify miter limits however acroread fails
5329 to display pages when the miter is < 1. Older versions of ghostscript
5330 crash when the PDF miter is < 1.
5332 src/cairo-pdf-operators.c | 2 +-
5333 src/cairo-ps-surface.c | 2 +-
5334 2 files changed, 2 insertions(+), 2 deletions(-)
5336 commit 381fcf01d71d6c83183f9764507ebbafd783d18a
5337 Author: Adrian Johnson <ajohnson@redneon.com>
5338 Date: Sun Feb 3 20:05:41 2008 +1030
5340 Update over-around-source ps ref image
5342 test/over-around-source-ps-argb32-ref.png | Bin 637 -> 632 bytes
5343 1 files changed, 0 insertions(+), 0 deletions(-)
5345 commit 9dda017af9bffeda59756cb3b15028ae83ed19ef
5346 Author: Adrian Johnson <ajohnson@redneon.com>
5347 Date: Sun Feb 3 19:53:35 2008 +1030
5349 Update gradient-alpha ps ref images
5351 test/gradient-alpha-ps-argb32-ref.png | Bin 187 -> 179 bytes
5352 test/gradient-alpha-ps-rgb24-ref.png | Bin 184 -> 179 bytes
5353 2 files changed, 0 insertions(+), 0 deletions(-)
5355 commit 3f943a98f69b90b066217b19c47851ce03e50551
5356 Author: Adrian Johnson <ajohnson@redneon.com>
5357 Date: Sun Feb 3 19:49:23 2008 +1030
5359 Add linear-gradient-reflect ps ref image
5361 test/linear-gradient-reflect-ps-ref.png | Bin 0 -> 315 bytes
5362 1 files changed, 0 insertions(+), 0 deletions(-)
5364 commit a74e6692341daeff9ab266b3b29fcc8b8e917d88
5365 Author: Adrian Johnson <ajohnson@redneon.com>
5366 Date: Sun Feb 3 19:34:53 2008 +1030
5368 PS: Implement reflected surface patterns
5370 The image/meta-pattern is written once. A PS pattern twice the size of
5371 the cairo pattern is created and the surface drawn four times in a
5372 reflect pattern inside the PS pattern.
5374 This fixes the extend-reflect and extend-reflect-similar PS test
5377 src/cairo-ps-surface.c | 41 +++++++++++++++++++++++++++++++++--------
5378 1 files changed, 33 insertions(+), 8 deletions(-)
5380 commit 7c5bc5fde819014f62ebb9bac86d4529f056956d
5381 Author: Adrian Johnson <ajohnson@redneon.com>
5382 Date: Sun Feb 3 18:58:02 2008 +1030
5384 Add operator-clear ps ref image
5386 test/operator-clear-ps-argb32-ref.png | Bin 0 -> 1409 bytes
5387 1 files changed, 0 insertions(+), 0 deletions(-)
5389 commit 06b2d009ba50a2908fd9c93ff3e467f511b233cf
5390 Author: Adrian Johnson <ajohnson@redneon.com>
5391 Date: Sun Feb 3 18:50:14 2008 +1030
5393 Update clip-operator ps ref image
5395 test/clip-operator-ps-argb32-ref.png | Bin 8594 -> 9062 bytes
5396 1 files changed, 0 insertions(+), 0 deletions(-)
5398 commit 13663d1d500a6c2254097011e66199d6dd81c62d
5399 Author: Adrian Johnson <ajohnson@redneon.com>
5400 Date: Sun Feb 3 17:10:56 2008 +1030
5402 PS: Implement linear gradient repeat and reflect
5404 src/cairo-ps-surface.c | 250 +++++++++++++++++++++++++++++++++++++-----------
5405 1 files changed, 196 insertions(+), 54 deletions(-)
5407 commit 92a2e851df6668f60c63165466d2ee85dd600f47
5408 Author: Adrian Johnson <ajohnson@redneon.com>
5409 Date: Sat Feb 2 23:00:30 2008 +1030
5411 Update operator-source PS ref images
5413 test/operator-source-ps-argb32-ref.png | Bin 3885 -> 4053 bytes
5414 test/operator-source-ps-rgb24-ref.png | Bin 3548 -> 2567 bytes
5415 2 files changed, 0 insertions(+), 0 deletions(-)
5417 commit 367e50137eb1b2b3952a87c580eed08a79fd211f
5418 Author: Adrian Johnson <ajohnson@redneon.com>
5419 Date: Sat Feb 2 20:59:56 2008 +1030
5421 PDF: Use correct surface size when emitting patterns
5423 Store the surface size in each pattern and smask group and use this
5424 size when the pattern/group is emitted. This is required as a pattern
5425 or group may be used from a meta surface with a different size to the
5426 PDF surface. However the pattern or group is emitted after the the meta
5427 surface content has been emitted and the surface size has been
5428 restored to the the page size.
5430 This fixes the following pdf test failures:
5431 extend-reflect-similar
5432 extend-repeat-similar
5435 src/cairo-pdf-surface-private.h | 4 +++
5436 src/cairo-pdf-surface.c | 53 ++++++++++++++++++++++++++++++++++----
5437 2 files changed, 51 insertions(+), 6 deletions(-)
5439 commit d08d5c421a45c4e5f30b308823e90a86f1ec2052
5440 Author: Carl Worth <cworth@cworth.org>
5441 Date: Wed Jan 30 05:35:50 2008 -0800
5443 Increment cairo version to 1.5.9 after the 1.5.8 snapshot
5446 1 files changed, 1 insertions(+), 1 deletions(-)
5448 commit 4ccb8cb29546432858e778e1b88cada1327f6f45
5449 Author: Carl Worth <cworth@cworth.org>
5450 Date: Wed Jan 30 05:16:26 2008 -0800
5452 Add some more reference images to REFERENCE_IMAGES
5454 test/Makefile.am | 3 +++
5455 1 files changed, 3 insertions(+), 0 deletions(-)
5457 commit b31a7a904f8413c34970beabce6fecf6e1fdc925
5458 Author: Carl Worth <cworth@cworth.org>
5459 Date: Wed Jan 30 05:13:53 2008 -0800
5461 Increment cairo version to 1.5.8 and libtool version to 16:0:14
5463 configure.in | 6 +++---
5464 1 files changed, 3 insertions(+), 3 deletions(-)
5466 commit ca10920cc9f3a673e2199112541d5a1472423c47
5467 Author: Carl Worth <cworth@cworth.org>
5468 Date: Wed Jan 30 05:07:20 2008 -0800
5470 Add a1-image-sample and a1-traps-sample reference images to the dist list
5472 test/Makefile.am | 2 ++
5473 1 files changed, 2 insertions(+), 0 deletions(-)
5475 commit 2fee01e2d40715defe9143456101533c1f1aafcf
5476 Author: Carl Worth <cworth@cworth.org>
5477 Date: Wed Jan 30 04:54:39 2008 -0800
5479 check-doc-syntax.sh: Fix for non-srcdir builds (such as make distcheck)
5481 src/check-doc-syntax.sh | 5 +----
5482 1 files changed, 1 insertions(+), 4 deletions(-)
5484 commit 78022f3aa16cf8a629aec4595c5a542ca68a78cc
5485 Author: Carl Worth <cworth@cworth.org>
5486 Date: Wed Jan 30 04:54:05 2008 -0800
5488 Add doc/public test scripts to EXTRA_DIST
5490 This prevents failures of make distcheck
5492 doc/public/Makefile.am | 1 +
5493 1 files changed, 1 insertions(+), 0 deletions(-)
5495 commit d49b1220b2feeca82050de05c9c01012e8420acb
5496 Author: Carl Worth <cworth@cworth.org>
5497 Date: Wed Jan 30 04:52:23 2008 -0800
5499 Remove extend-pad-similar test case
5501 This seems redundant with the recent testing of all test cases
5502 against similar surfaces. Plus, it hasn't had a reference image
5503 anyway which was causing problems with the recent extra checks
5504 for missing reference images.
5506 test/Makefile.am | 3 -
5507 test/extend-pad-similar.c | 105 ---------------------------------------------
5508 2 files changed, 0 insertions(+), 108 deletions(-)
5510 commit 7d2fda54f9bf6ae48cf8048b4836dea7f20cccee
5511 Author: Carl Worth <cworth@cworth.org>
5512 Date: Wed Jan 30 04:23:19 2008 -0800
5514 NEWS: Add notes for the 1.5.8 snapshot
5516 NEWS | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5517 1 files changed, 103 insertions(+), 0 deletions(-)
5519 commit 3b0adf4f5ac78e3f19b4e19267da2aa1b3c7d57b
5520 Author: Jeff Muizelaar <jeff@infidigm.net>
5521 Date: Tue Jan 29 09:07:54 2008 -0800
5523 Use ADD instead of IN for clipping.
5525 ADD is already special-cased by pixman, so using it instead avoids hitting
5526 the slower general path.
5528 src/cairo-clip.c | 34 ++++++++++++++++++++++++++++++++--
5529 1 files changed, 32 insertions(+), 2 deletions(-)
5531 commit fa6aedf2d68941bf8532bf487d5412cfc508e0a9
5532 Author: Carl Worth <cworth@cworth.org>
5533 Date: Tue Jan 29 09:01:47 2008 -0800
5535 Fix typo in printf arguments in error message
5537 test/font-matrix-translation.c | 2 +-
5538 1 files changed, 1 insertions(+), 1 deletions(-)
5540 commit e2bb36fe08546e6461fcbd40f5f3f81e5efc7686
5541 Author: Carl Worth <cworth@cworth.org>
5542 Date: Tue Jan 29 08:41:21 2008 -0800
5544 wAdd proper error propagation to _cairo_matrix_compute_scale_factors
5546 Before there was just an assert statement here that the
5547 determinant of the matrix was not infinite. That was bogus
5548 since a user-provided can end up here. So instead, do the
5549 correct error propagation of any CAIRO_STATUS_INVALID_MATRIX
5552 This eliminates the current failure of the invalid-matrix
5555 src/cairo-atsui-font.c | 56 ++++++++++++++++++++++++++++++++++------------
5556 src/cairo-ft-font.c | 20 +++++++++++-----
5557 src/cairo-matrix.c | 7 ++++-
5558 src/cairo-scaled-font.c | 13 +++++++---
5559 src/cairo-win32-font.c | 20 ++++++++++------
5560 src/cairoint.h | 4 +-
5561 6 files changed, 83 insertions(+), 37 deletions(-)
5563 commit 849322235764f570a4a3a1217960d096d16165cf
5564 Author: Carl Worth <cworth@cworth.org>
5565 Date: Tue Jan 29 05:40:39 2008 -0800
5567 Initialize return values for cairo_*_extents in case of error
5569 Previously we left the return values alone, which set the
5570 user up for a nasty trap, (using potentially uninitialized
5571 values with no indication that there was an error). So now
5572 we initialize these values to 0.0 if the cairo_t is in error.
5574 The fixed functions include:
5577 cairo_stroke_extents
5582 src/cairo.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++----
5583 1 files changed, 50 insertions(+), 4 deletions(-)
5585 commit 6bdba4b4be5e66ffa61e164f8098b76d848e8f32
5586 Author: Carl Worth <cworth@cworth.org>
5587 Date: Tue Jan 29 05:27:10 2008 -0800
5589 Add missing libcairo_font_subset_sources to fix the build
5591 src/Makefile.am | 2 ++
5592 1 files changed, 2 insertions(+), 0 deletions(-)
5594 commit 3d82056cee0ba960ebb61877fec8aa646e60e990
5595 Author: Nis Martensen <nis.martensen@web.de>
5596 Date: Tue Jan 29 05:32:24 2008 -0500
5600 src/cairo.h | 4 ++--
5601 src/check-doc-syntax.sh | 4 ++--
5602 2 files changed, 4 insertions(+), 4 deletions(-)
5604 commit b28f4f57f21ac4091c9457873abe1465ec3f7fed
5605 Author: Behdad Esfahbod <behdad@behdad.org>
5606 Date: Tue Jan 29 04:32:39 2008 -0500
5608 [src/Makefile.am] Reorganize
5610 Main goal was to be able to pass list of all cairo sources, enabled or
5611 not, to check-doc-syntax.sh such that it doesn't check *.h, *.c, *.cpp
5612 because that can be annoying when bisecting.
5614 src/Makefile.am | 352 +++++++++++++++++++++++++---------------------
5615 src/check-doc-syntax.sh | 5 +-
5616 2 files changed, 195 insertions(+), 162 deletions(-)
5618 commit 41a57007939a3e206647fda1b6e5a554ca125c5f
5619 Author: Adrian Johnson <ajohnson@redneon.com>
5620 Date: Tue Jan 29 20:27:06 2008 +1100
5622 Fix undefined macro that was preventing the tests from compiling
5624 test/pattern-getters.c | 28 ++++++++++++++--------------
5625 1 files changed, 14 insertions(+), 14 deletions(-)
5627 commit cfce362375963502c4d29089b369d8e5ce2b7dcb
5628 Author: Behdad Esfahbod <behdad@behdad.org>
5629 Date: Tue Jan 29 01:27:47 2008 -0500
5631 [cairo_operator_t] Mark DestAtop unbounded and document boundedness
5633 src/cairo.h | 7 ++++++-
5634 1 files changed, 6 insertions(+), 1 deletions(-)
5636 commit f9b90e475ed6009e58e5f11ac713f9ea639a6900
5637 Author: Behdad Esfahbod <behdad@behdad.org>
5638 Date: Tue Jan 29 01:20:03 2008 -0500
5640 [doc] Fix cairo_operator_t docs to make Carl (and Keith) happy
5642 src/cairo.h | 17 ++++++++++++-----
5643 1 files changed, 12 insertions(+), 5 deletions(-)
5645 commit 9ee7a48b33f11a42b0ffd12a9192a328e35233f3
5646 Author: Behdad Esfahbod <behdad@behdad.org>
5647 Date: Tue Jan 29 00:50:48 2008 -0500
5649 [Makefile.am] Minor wording change
5652 1 files changed, 1 insertions(+), 1 deletions(-)
5654 commit 013781137ff4940d0b9e04b656c20af37bbd5333
5655 Author: Behdad Esfahbod <behdad@behdad.org>
5656 Date: Tue Jan 29 00:42:51 2008 -0500
5658 [cairo-image-surface.c] Cleanup stride checking and improve docs
5660 src/cairo-image-surface.c | 16 ++++++++--------
5661 1 files changed, 8 insertions(+), 8 deletions(-)
5663 commit 8e3250b8564a346c61e926a6aa61f18ae3f60c93
5664 Author: Behdad Esfahbod <behdad@behdad.org>
5665 Date: Tue Jan 29 00:36:38 2008 -0500
5667 [Makefile.am] Remove ROADMAP and TODO from dist files
5669 Makefile.am | 4 +---
5670 1 files changed, 1 insertions(+), 3 deletions(-)
5672 commit 81e4cc3bd7d1fec659a19f8b37253aaebe12c99b
5673 Author: Behdad Esfahbod <behdad@behdad.org>
5674 Date: Tue Jan 29 00:36:16 2008 -0500
5676 [cairo_image_surface_create_for_data] Document stride error status
5678 src/cairo-image-surface.c | 4 +++-
5679 1 files changed, 3 insertions(+), 1 deletions(-)
5681 commit 6153a3b620641b1fb7b64a050a168482d2a42f2c
5682 Author: Behdad Esfahbod <behdad@behdad.org>
5683 Date: Tue Jan 29 00:34:00 2008 -0500
5685 [doc] Run check-doc-syntax.sh for SGML docs too
5687 doc/public/Makefile.am | 4 ++--
5688 doc/public/check-doc-syntax.sh | 11 +++++++++++
5689 src/check-doc-syntax.sh | 33 ++++++++++++++++++++++++---------
5690 3 files changed, 37 insertions(+), 11 deletions(-)
5692 commit 3f7d301786ce345cc4221f434bda6751e9b97ad1
5693 Author: Behdad Esfahbod <behdad@behdad.org>
5694 Date: Mon Jan 28 23:56:23 2008 -0500
5696 [src/check-doc-syntax.sh] Skip test if GNU grep is not available
5698 src/check-doc-syntax.sh | 7 ++++++-
5699 1 files changed, 6 insertions(+), 1 deletions(-)
5701 commit 247e1011995b0241526262cc36eb34c7e5edd47c
5702 Author: Carl Worth <cworth@cworth.org>
5703 Date: Mon Jan 28 21:24:56 2008 -0800
5705 Fix bitmap-font test by using near-equality for double comparison
5707 test/bitmap-font.c | 11 ++++++-----
5708 test/cairo-test.h | 2 ++
5709 test/pattern-getters.c | 4 +---
5710 3 files changed, 9 insertions(+), 8 deletions(-)
5712 commit 468caac068d3d25507d901f069e3e55731a27ae9
5713 Author: Behdad Esfahbod <behdad@behdad.org>
5714 Date: Mon Jan 28 23:30:09 2008 -0500
5716 [configure.in] Minor change to cairo-features.h comments to make tests pass
5719 1 files changed, 1 insertions(+), 1 deletions(-)
5721 commit b4c7a0dc6e996e47390ae544f82024afbb7859ed
5722 Author: Behdad Esfahbod <behdad@behdad.org>
5723 Date: Mon Jan 28 23:27:10 2008 -0500
5725 [doc] Document CAIRO_HAS_* macros. We now finally have real 100% coverage.
5727 doc/public/Makefile.am | 2 ++
5728 doc/public/cairo-sections.txt | 9 +++++++++
5729 doc/public/tmpl/cairo-ft.sgml | 8 ++++++++
5730 doc/public/tmpl/cairo-pdf.sgml | 8 ++++++++
5731 doc/public/tmpl/cairo-png.sgml | 9 +++++++++
5732 doc/public/tmpl/cairo-ps.sgml | 8 ++++++++
5733 doc/public/tmpl/cairo-svg.sgml | 8 ++++++++
5734 doc/public/tmpl/cairo-win32-fonts.sgml | 8 ++++++++
5735 doc/public/tmpl/cairo-win32.sgml | 8 ++++++++
5736 doc/public/tmpl/cairo-xlib-xrender.sgml | 8 ++++++++
5737 doc/public/tmpl/cairo-xlib.sgml | 8 ++++++++
5738 11 files changed, 84 insertions(+), 0 deletions(-)
5740 commit 47e0ecbea51cae73a85db277972b80eff0c4b9f6
5741 Author: Behdad Esfahbod <behdad@behdad.org>
5742 Date: Mon Jan 28 23:26:35 2008 -0500
5744 [configure.in] Generate a cairo-no-features.h with macros for disabled supported backends
5745 to trick gtk-doc with it.
5747 configure.in | 33 ++++++++++++++++++++++++++++++++-
5748 src/Makefile.am | 6 +++---
5749 src/check-headers.sh | 2 +-
5750 3 files changed, 36 insertions(+), 5 deletions(-)
5752 commit 9d8990b6bdec8e574e37346c363b3a850a246452
5753 Author: Behdad Esfahbod <behdad@behdad.org>
5754 Date: Mon Jan 28 23:23:00 2008 -0500
5756 [doc] Remove excess paranthesis
5758 src/cairo-xlib-surface.c | 2 +-
5759 1 files changed, 1 insertions(+), 1 deletions(-)
5761 commit 6e495e94886dfa80f11f675a4b7fa3a767671cc0
5762 Author: Behdad Esfahbod <behdad@behdad.org>
5763 Date: Mon Jan 28 23:10:28 2008 -0500
5765 [doc] More syntax fixes
5767 doc/public/tmpl/cairo-version.sgml | 4 ++--
5768 1 files changed, 2 insertions(+), 2 deletions(-)
5770 commit a00d71968285fc8c49903c1c84835a8be32cfbd3
5771 Author: Behdad Esfahbod <behdad@behdad.org>
5772 Date: Mon Jan 28 23:05:00 2008 -0500
5774 [configure.in] Add commented-out #undef's for disable stable backends in cairo-features.h
5776 configure.in | 8 ++++++++
5777 1 files changed, 8 insertions(+), 0 deletions(-)
5779 commit 6a089247a180cbc85e222520d2d93914434027be
5780 Author: Behdad Esfahbod <behdad@behdad.org>
5781 Date: Mon Jan 28 22:45:06 2008 -0500
5783 [doc] Rename cairo-font.sgml to cairo-font-face.sgml
5785 doc/public/cairo-docs.xml | 2 +-
5786 doc/public/cairo-sections.txt | 2 +-
5787 doc/public/tmpl/cairo-font-face.sgml | 112 ++++++++++++++++++++++++++++++++++
5788 doc/public/tmpl/cairo-font.sgml | 112 ----------------------------------
5789 4 files changed, 114 insertions(+), 114 deletions(-)
5791 commit 1d17a7f7811b15c72a4091663e01a448f538bc68
5792 Author: Behdad Esfahbod <behdad@behdad.org>
5793 Date: Mon Jan 28 22:42:46 2008 -0500
5795 [doc] Document the surface type of win32-printing surface being different
5797 doc/public/tmpl/cairo-win32.sgml | 11 ++++++++++-
5798 1 files changed, 10 insertions(+), 1 deletions(-)
5800 commit a55f65b5d29060a7f8033ceea211252431d20b77
5801 Author: Behdad Esfahbod <behdad@behdad.org>
5802 Date: Mon Jan 28 22:25:37 2008 -0500
5806 src/cairo-pattern.c | 4 ++--
5807 1 files changed, 2 insertions(+), 2 deletions(-)
5809 commit 52cc603db1a805a0b3a8d7eba3171cd2785f10a7
5810 Author: Behdad Esfahbod <behdad@behdad.org>
5811 Date: Mon Jan 28 22:10:20 2008 -0500
5813 [doc] Stricter syntax check for type names, update test
5815 src/cairo-array.c | 2 +-
5816 src/cairo-cache-private.h | 2 +-
5817 src/cairo-font-face.c | 4 ++--
5818 src/cairo-ft-font.c | 4 ++--
5819 src/cairo-image-surface.c | 2 +-
5820 src/cairo-paginated-private.h | 8 ++++----
5821 src/cairo-ps-surface.c | 2 +-
5822 src/cairo-ps.h | 2 +-
5823 src/cairo-region-private.h | 2 +-
5824 src/cairo-scaled-font-subsets-private.h | 16 ++++++++--------
5825 src/cairo-scaled-font.c | 2 +-
5826 src/cairo-svg.h | 2 +-
5827 src/cairo-types-private.h | 2 +-
5828 src/cairo-win32-font.c | 2 +-
5830 src/cairo.h | 24 ++++++++++++------------
5831 src/cairoint.h | 2 +-
5832 src/check-doc-syntax.sh | 9 +++++----
5833 18 files changed, 45 insertions(+), 44 deletions(-)
5835 commit b790c5a6bcdd890c16d21753407188ed200ce445
5836 Author: Behdad Esfahbod <behdad@behdad.org>
5837 Date: Mon Jan 28 21:53:44 2008 -0500
5839 [doc] Replace 'NOTE' by 'Note' and add it to test
5841 src/cairo-bentley-ottmann.c | 2 +-
5842 src/cairo-cache.c | 4 ++--
5843 src/cairo-ft-font.c | 4 ++--
5844 src/cairo-lzw.c | 4 ++--
5845 src/cairo-output-stream-private.h | 2 +-
5846 src/cairo-paginated-private.h | 4 ++--
5847 src/cairo-path.c | 2 +-
5848 src/cairo-pen.c | 4 ++--
5849 src/cairo-scaled-font.c | 4 ++--
5850 src/cairo-slope.c | 2 +-
5851 src/cairo-surface.c | 4 ++--
5852 src/cairo-win32-surface.c | 4 ++--
5853 src/cairo-xcb-surface.c | 4 ++--
5854 src/cairo-xlib-surface.c | 4 ++--
5855 src/cairo.c | 4 ++--
5856 src/check-doc-syntax.sh | 7 +++++++
5857 16 files changed, 33 insertions(+), 26 deletions(-)
5859 commit f0633f4449c39a8f78c582790fb5dc85899b5d82
5860 Author: Behdad Esfahbod <behdad@behdad.org>
5861 Date: Mon Jan 28 21:49:57 2008 -0500
5863 [doc] Make sure all function names in docs are followed by ()
5865 src/cairo-array.c | 2 +-
5866 src/cairo-base85-stream.c | 3 +--
5867 src/cairo-beos-surface.cpp | 2 +-
5868 src/cairo-cache-private.h | 4 ++--
5869 src/cairo-debug.c | 4 ++--
5870 src/cairo-deflate-stream.c | 3 +--
5871 src/cairo-ft-font.c | 4 ++--
5872 src/cairo-image-surface.c | 4 ++--
5873 src/cairo-output-stream-private.h | 3 +--
5874 src/cairo-output-stream.c | 3 +--
5875 src/cairo-paginated-private.h | 2 +-
5876 src/cairo-path-fixed-private.h | 2 +-
5877 src/cairo-path.c | 6 +++---
5878 src/cairo-pdf-surface.c | 4 ++--
5879 src/cairo-ps-surface.c | 6 +++---
5880 src/cairo-quartz-surface.c | 2 +-
5881 src/cairo-scaled-font-subsets-private.h | 2 +-
5882 src/cairo-scaled-font.c | 8 ++++----
5883 src/cairo-surface.c | 6 +++---
5884 src/cairo-svg-surface.c | 4 ++--
5885 src/cairo-traps.c | 2 +-
5886 src/cairo-types-private.h | 4 ++--
5887 src/cairo-unicode.c | 3 +--
5888 src/cairo.c | 30 ++++++++++++++----------------
5889 src/cairo.h | 22 +++++++++++-----------
5890 src/cairoint.h | 8 ++++----
5891 26 files changed, 68 insertions(+), 75 deletions(-)
5893 commit 9ba8f6b1b0a4fbf2407e0dbd767f043c6920344c
5894 Author: Behdad Esfahbod <behdad@behdad.org>
5895 Date: Mon Jan 28 21:49:26 2008 -0500
5897 [src/check-doc-syntax.sh] Check for various doc syntax consistency rules
5899 src/Makefile.am | 2 +-
5900 src/check-doc-syntax.sh | 36 ++++++++++++++++++++++++++++++++++++
5901 2 files changed, 37 insertions(+), 1 deletions(-)
5903 commit e15fcdd74734e922183afd4732ec4ba090f313c9
5904 Author: Behdad Esfahbod <behdad@behdad.org>
5905 Date: Mon Jan 28 21:48:23 2008 -0500
5907 [doc] Improve syntax
5909 doc/public/tmpl/cairo-font.sgml | 7 +++++--
5910 doc/public/tmpl/cairo-matrix.sgml | 2 +-
5911 doc/public/tmpl/cairo-pattern.sgml | 12 +++++++++---
5912 doc/public/tmpl/cairo-status.sgml | 5 +++--
5913 doc/public/tmpl/cairo-surface.sgml | 8 +++++++-
5914 doc/public/tmpl/cairo-xcb-xrender.sgml | 3 ++-
5915 doc/public/tmpl/cairo-xcb.sgml | 3 ++-
5916 doc/public/tmpl/cairo-xlib-xrender.sgml | 3 ++-
5917 doc/public/tmpl/cairo-xlib.sgml | 3 ++-
5918 9 files changed, 33 insertions(+), 13 deletions(-)
5920 commit 587508528c4a318649ecb347b96fbc89a40175ea
5921 Author: Behdad Esfahbod <behdad@behdad.org>
5922 Date: Mon Jan 28 21:12:16 2008 -0500
5924 [doc] Minor improvement
5926 doc/public/tmpl/cairo-beos.sgml | 4 ++--
5927 1 files changed, 2 insertions(+), 2 deletions(-)
5929 commit fd5dfedbb75593539eeda92013042ce5423a65c4
5930 Author: Behdad Esfahbod <behdad@behdad.org>
5931 Date: Mon Jan 28 21:02:44 2008 -0500
5933 [doc/public/check-doc-coverage.sh] Test that doc coverage is 100%
5937 doc/public/Makefile.am | 2 +
5938 doc/public/check-doc-coverage.sh | 43 ++++++++++++++++++++++++++++++++++++++
5939 2 files changed, 45 insertions(+), 0 deletions(-)
5941 commit c133ee5acc7c97fcd43d61f5aad160ca96c47941
5942 Author: Behdad Esfahbod <behdad@behdad.org>
5943 Date: Mon Jan 28 21:00:21 2008 -0500
5945 [doc] Improve docs for new API
5947 src/cairo-image-surface.c | 8 ++++----
5948 src/cairo-xlib-surface.c | 20 +++++++++++++-------
5949 2 files changed, 17 insertions(+), 11 deletions(-)
5951 commit 0d898f2badf41d3b0ae5ee88943c44cf49690f5d
5952 Author: Behdad Esfahbod <behdad@behdad.org>
5953 Date: Mon Jan 28 20:49:44 2008 -0500
5955 [doc] Make sure all type names in docs are prefixed by #
5957 src/cairo-array.c | 2 +-
5958 src/cairo-bentley-ottmann.c | 4 ++--
5959 src/cairo-cache-private.h | 4 ++--
5960 src/cairo-cache.c | 2 +-
5961 src/cairo-fixed-type-private.h | 2 +-
5962 src/cairo-font-face.c | 12 ++++++------
5963 src/cairo-font-options.c | 2 +-
5964 src/cairo-ft-font.c | 12 ++++++------
5965 src/cairo-gstate.c | 8 ++++----
5966 src/cairo-hash.c | 2 +-
5967 src/cairo-image-surface.c | 4 ++--
5968 src/cairo-matrix.c | 10 +++++-----
5969 src/cairo-mutex-type-private.h | 6 +++---
5970 src/cairo-pattern.c | 10 +++++-----
5971 src/cairo-pdf-surface.c | 2 +-
5972 src/cairo-png.c | 2 +-
5973 src/cairo-ps-surface.c | 12 ++++++------
5974 src/cairo-quartz-surface.c | 2 +-
5975 src/cairo-rectangle.c | 8 ++++----
5976 src/cairo-region.c | 2 +-
5977 src/cairo-scaled-font-subsets-private.h | 8 ++++----
5978 src/cairo-scaled-font.c | 8 ++++----
5979 src/cairo-traps.c | 2 +-
5980 src/cairo-types-private.h | 2 +-
5981 src/cairo-win32-surface.c | 2 +-
5982 src/cairo-xlib-surface.c | 4 ++--
5983 src/cairo.c | 4 ++--
5984 src/cairo.h | 16 ++++++++--------
5985 src/cairoint.h | 4 ++--
5986 29 files changed, 79 insertions(+), 79 deletions(-)
5988 commit 9ecde82d35ead4975ce110bb2012264e3ca9d2e1
5989 Author: Behdad Esfahbod <behdad@behdad.org>
5990 Date: Mon Jan 28 20:48:48 2008 -0500
5992 [doc] Make sure all macro names in docs are prefixed by %
5994 src/cairo-array.c | 6 ++--
5995 src/cairo-bentley-ottmann.c | 8 +++---
5996 src/cairo-cache.c | 6 ++--
5997 src/cairo-deprecated.h | 2 +-
5998 src/cairo-directfb.h | 4 +-
5999 src/cairo-fixed-type-private.h | 2 +-
6000 src/cairo-freelist-private.h | 4 +-
6001 src/cairo-ft-font.c | 6 ++--
6002 src/cairo-gstate.c | 14 +++++-----
6003 src/cairo-hash.c | 36 +++++++++++++-------------
6004 src/cairo-image-surface.c | 4 +-
6005 src/cairo-lzw.c | 14 +++++-----
6006 src/cairo-meta-surface.c | 6 ++--
6007 src/cairo-mutex-private.h | 4 +-
6008 src/cairo-mutex-type-private.h | 24 +++++++++---------
6009 src/cairo-os2.h | 6 ++--
6010 src/cairo-output-stream-private.h | 6 ++--
6011 src/cairo-paginated-private.h | 4 +-
6012 src/cairo-path-fill.c | 2 +-
6013 src/cairo-path.c | 12 ++++----
6014 src/cairo-pattern.c | 2 +-
6015 src/cairo-pdf-surface.c | 2 +-
6016 src/cairo-png.c | 10 +++---
6017 src/cairo-ps-surface.c | 12 ++++----
6018 src/cairo-scaled-font-subsets-private.h | 42 +++++++++++++++---------------
6019 src/cairo-scaled-font.c | 4 +-
6020 src/cairo-surface-fallback.c | 6 ++--
6021 src/cairo-surface.c | 10 +++---
6022 src/cairo-svg-surface.c | 4 +-
6023 src/cairo-types-private.h | 4 +-
6024 src/cairo-win32-font.c | 4 +-
6025 src/cairo-win32-surface.c | 10 +++---
6026 src/cairo-xcb-surface.c | 2 +-
6027 src/cairo-xlib-surface.c | 4 +-
6028 src/cairo.c | 26 +++++++++---------
6029 src/cairo.h | 10 +++---
6030 src/cairoint.h | 6 ++--
6031 src/test-fallback-surface.c | 4 +-
6032 38 files changed, 166 insertions(+), 166 deletions(-)
6034 commit 099c3c2602b59fbf9424044caa1fec7eb92f71df
6035 Author: Behdad Esfahbod <behdad@behdad.org>
6036 Date: Mon Jan 28 20:32:35 2008 -0500
6038 [doc] Another enum nick expansion
6040 src/cairo-scaled-font.c | 2 +-
6041 1 files changed, 1 insertions(+), 1 deletions(-)
6043 commit 72feed5b54e1aa725c3c5238b21946b6250503fe
6044 Author: Behdad Esfahbod <behdad@behdad.org>
6045 Date: Mon Jan 28 20:16:01 2008 -0500
6047 [doc] Update templates for recently added APIs
6049 doc/public/cairo-sections.txt | 2 ++
6050 doc/public/tmpl/cairo-image.sgml | 10 ++++++++++
6051 doc/public/tmpl/cairo-paths.sgml | 2 +-
6052 doc/public/tmpl/cairo-status.sgml | 1 +
6053 doc/public/tmpl/cairo-xlib-xrender.sgml | 9 +++++++++
6054 5 files changed, 23 insertions(+), 1 deletions(-)
6056 commit b7d43d235c01480b5a5a34db6fea8a3d86161d91
6057 Author: Behdad Esfahbod <behdad@behdad.org>
6058 Date: Mon Jan 28 20:14:52 2008 -0500
6060 [src/check-*] Shut make up
6062 src/check-def.sh | 4 ++--
6063 src/check-plt.sh | 2 +-
6064 2 files changed, 3 insertions(+), 3 deletions(-)
6066 commit dd7ce762946ec03fc115310c7e295b3327d7e805
6067 Author: Behdad Esfahbod <behdad@behdad.org>
6068 Date: Mon Jan 28 19:54:27 2008 -0500
6070 [doc] Expand a couple nicks to full enum names
6072 src/cairo.h | 4 ++--
6073 1 files changed, 2 insertions(+), 2 deletions(-)
6075 commit c624ff46541b311c226ad7a026db3495b59dee41
6076 Author: Behdad Esfahbod <behdad@behdad.org>
6077 Date: Mon Jan 28 19:45:10 2008 -0500
6079 [cairo_operator_t] Improve docs
6081 src/cairo.h | 8 +++++---
6082 1 files changed, 5 insertions(+), 3 deletions(-)
6084 commit f1271babcd4df1140019b258ca0af0d7da0d1328
6085 Author: Behdad Esfahbod <behdad@behdad.org>
6086 Date: Mon Jan 28 19:37:46 2008 -0500
6088 [doc] Add Long_Description and some See_Also for all chapters
6090 doc/public/tmpl/cairo-atsui.sgml | 6 +++-
6091 doc/public/tmpl/cairo-beos.sgml | 7 ++++-
6092 doc/public/tmpl/cairo-font-options.sgml | 11 +++++++--
6093 doc/public/tmpl/cairo-font.sgml | 12 +++++++++-
6094 doc/public/tmpl/cairo-ft.sgml | 7 ++++-
6095 doc/public/tmpl/cairo-glitz.sgml | 7 ++++-
6096 doc/public/tmpl/cairo-image.sgml | 15 +++++++------
6097 doc/public/tmpl/cairo-matrix.sgml | 5 ++-
6098 doc/public/tmpl/cairo-paths.sgml | 4 ++-
6099 doc/public/tmpl/cairo-pattern.sgml | 13 ++++++++---
6100 doc/public/tmpl/cairo-pdf.sgml | 7 ++++-
6101 doc/public/tmpl/cairo-png.sgml | 7 ++++-
6102 doc/public/tmpl/cairo-ps.sgml | 7 ++++-
6103 doc/public/tmpl/cairo-quartz.sgml | 7 ++++-
6104 doc/public/tmpl/cairo-scaled-font.sgml | 13 ++++++++---
6105 doc/public/tmpl/cairo-status.sgml | 17 ++++++++++++++-
6106 doc/public/tmpl/cairo-surface.sgml | 8 +++++-
6107 doc/public/tmpl/cairo-svg.sgml | 7 ++++-
6108 doc/public/tmpl/cairo-text.sgml | 34 ++++++++++++++++++++++++++++--
6109 doc/public/tmpl/cairo-transforms.sgml | 10 +++++++-
6110 doc/public/tmpl/cairo-types.sgml | 4 +-
6111 doc/public/tmpl/cairo-win32-fonts.sgml | 7 ++++-
6112 doc/public/tmpl/cairo-win32.sgml | 7 ++++-
6113 doc/public/tmpl/cairo-xcb-xrender.sgml | 10 +++++++-
6114 doc/public/tmpl/cairo-xcb.sgml | 8 ++++++-
6115 doc/public/tmpl/cairo-xlib-xrender.sgml | 12 ++++++++--
6116 doc/public/tmpl/cairo-xlib.sgml | 8 ++++++-
6117 doc/public/tmpl/cairo.sgml | 4 ++-
6118 28 files changed, 201 insertions(+), 63 deletions(-)
6120 commit 73b184fb9c41f26365c99dbb5f81aa5166632722
6121 Author: Behdad Esfahbod <behdad@behdad.org>
6122 Date: Mon Jan 28 19:19:27 2008 -0500
6124 [src] Fix gtk-doc warnings
6126 src/cairo-scaled-font.c | 2 +-
6127 src/cairo-surface.c | 2 +-
6128 src/cairo.c | 6 +++---
6129 3 files changed, 5 insertions(+), 5 deletions(-)
6131 commit 8709b943c6f0025c65081b23ea24ce606150cf49
6132 Author: Carl Worth <cworth@cworth.org>
6133 Date: Mon Jan 28 16:15:28 2008 -0800
6135 Fix some documentation typos
6137 src/cairo.h | 6 +++---
6138 1 files changed, 3 insertions(+), 3 deletions(-)
6140 commit e48d7ca802acba300aee99def0eb01727fe2f58a
6141 Author: Carl Worth <cworth@cworth.org>
6142 Date: Mon Jan 28 16:11:39 2008 -0800
6144 Add example to documentation of cairo_pattern_set_filter
6146 It's helpful to let the reade know about cairo_get_source here.
6148 src/cairo-pattern.c | 11 +++++++++++
6149 1 files changed, 11 insertions(+), 0 deletions(-)
6151 commit cd26fa266b51ffd91aa9f2c60dd353c53729291e
6152 Author: Carl Worth <cworth@cworth.org>
6153 Date: Mon Jan 28 16:10:10 2008 -0800
6155 Add documentation for cairo_filter_t
6157 src/cairo.h | 18 ++++++++++++++++++
6158 1 files changed, 18 insertions(+), 0 deletions(-)
6160 commit 7c00269e00332974c3a2843272f84960a90b9fb7
6161 Author: Carl Worth <cworth@cworth.org>
6162 Date: Sun Jan 27 12:36:19 2008 -0800
6164 Add pdf-specific reference images for meta-surface-pattern
6166 This test has been "failing" ever since we had native
6167 replay of metasurfaces to pdf. But looking at the results,
6168 they are actually superior to the image-backend reference
6171 test/meta-surface-pattern-pdf-ref.png | Bin 0 -> 4111 bytes
6172 test/meta-surface-pattern-pdf-rgb24-ref.png | Bin 0 -> 4009 bytes
6173 2 files changed, 0 insertions(+), 0 deletions(-)
6175 commit 9cd198d200e4470d3451581b9e672a87d5d91719
6176 Author: Carl Worth <cworth@cworth.org>
6177 Date: Mon Jan 28 15:37:22 2008 -0800
6179 Test the no-Render-extension-available case in get-xrender-format
6181 test/get-xrender-format.c | 13 ++++++++++++-
6182 1 files changed, 12 insertions(+), 1 deletions(-)
6184 commit d7fd3bd536465881446686305622d31fdc6fd48f
6185 Author: Carl Worth <cworth@cworth.org>
6186 Date: Sun Jan 27 12:14:51 2008 -0800
6188 Add get-xrender-format test to test cairo_xlib_surface_get_xrender_format
6190 test/.gitignore | 1 +
6191 test/Makefile.am | 5 ++
6192 test/get-xrender-format.c | 104 +++++++++++++++++++++++++++++++++++++++++++++
6193 3 files changed, 110 insertions(+), 0 deletions(-)
6195 commit cc94dce25085fef936b7cb36cf9fc41569668eba
6196 Author: Carl Worth <cworth@cworth.org>
6197 Date: Mon Jan 28 15:26:15 2008 -0800
6199 Return NULL from cairo_xlib_surface_get_xrender_format without an error
6201 The NULL return value will only happen if the X Render extension
6202 is not available. We've already got that NULL return value
6203 documented, so it's not an error if the user asks for it. In
6204 particular, it's definitely not a surface-type mismatch.
6206 src/cairo-xlib-surface.c | 6 +-----
6207 1 files changed, 1 insertions(+), 5 deletions(-)
6209 commit 3c018a6e5abe099fa916f45ecf0c8e9dd5771fae
6210 Author: Carl Worth <cworth@cworth.org>
6211 Date: Sun Jan 27 12:13:13 2008 -0800
6213 Add new API cairo_xlib_surface_get_render_format
6215 src/cairo-xlib-surface.c | 27 +++++++++++++++++++++++++++
6216 src/cairo-xlib-xrender.h | 3 +++
6217 2 files changed, 30 insertions(+), 0 deletions(-)
6219 commit 88811540722d891b987efa6fa8edcbab7e10feeb
6220 Author: Carl Worth <cworth@cworth.org>
6221 Date: Sun Jan 27 11:12:14 2008 -0800
6223 Add missing cairo_private (for _pixman_format_to_masks)
6225 src/cairoint.h | 2 +-
6226 1 files changed, 1 insertions(+), 1 deletions(-)
6228 commit 3841cc0932ac77540c306c1c70a6171d7d00cf3e
6229 Author: Carl Worth <cworth@cworth.org>
6230 Date: Mon Jan 28 15:12:38 2008 -0800
6232 Clarify the documentation of stride within cairo_image_surface_create_for_data
6234 src/cairo-image-surface.c | 23 +++++++++++++++--------
6235 1 files changed, 15 insertions(+), 8 deletions(-)
6237 commit 13a5624277adf7e87f66d674ce8073013b53bece
6238 Author: Carl Worth <cworth@cworth.org>
6239 Date: Mon Jan 28 14:29:36 2008 -0800
6241 Rename cairo_image_surface_stride_for_width to cairo_format_stride_for_width
6243 Thanks for Behdad for the suggested name improvement. Also, make
6244 it more clear that the stride passed to cairo_image_surface_create_for_data
6245 should come from calling cairo_format_stride_for_width with the
6248 src/cairo-image-surface.c | 21 +++++++++++----------
6249 src/cairo.h | 4 ++--
6250 test/a8-mask.c | 11 ++++++-----
6251 3 files changed, 19 insertions(+), 17 deletions(-)
6253 commit dc67de3d8b6154b74a243cd7b63e45f343520256
6254 Author: Carl Worth <cworth@cworth.org>
6255 Date: Sat Jan 26 23:12:14 2008 -0800
6257 Add cairo_image_surface_stride_for_width
6259 Document this function as a required call to get the correct
6260 stride value before calling cairo_image_surface_create_for_data.
6261 This means that previously-failing calls with non-multiple-of-4
6262 stride values are now documented as errors. Also, we now have
6263 the possibility of moving to more stringent alignment constraints,
6264 (one can imagine doing 64-bit or 128-bit boundaries for example).
6266 src/cairo-image-surface.c | 60 +++++++++++++++++----
6267 src/cairo-surface.c | 3 +
6269 src/cairo.h | 8 +++-
6270 test/Makefile.am | 4 --
6271 test/a8-mask.c | 132 +++++++++++++++++++++++++++++++++++++++------
6272 6 files changed, 179 insertions(+), 32 deletions(-)
6274 commit b151cb0709364bed03e4918b79f26ef3243948ca
6275 Author: Carl Worth <cworth@cworth.org>
6276 Date: Sat Jan 26 16:42:26 2008 -0800
6278 Rename cairo_format_width to cairo_format_bits_per_pixel and correct its logic
6280 src/cairo-image-surface.c | 6 +++---
6281 src/cairo-scaled-font.c | 3 ++-
6282 src/cairoint.h | 4 ++--
6283 3 files changed, 7 insertions(+), 6 deletions(-)
6285 commit 538ace5b51c968a81ea1d4c8d7538f0a227661c6
6286 Author: Nis Martensen <nis.martensen@web.de>
6287 Date: Sat Jan 26 19:11:26 2008 +0100
6289 re-indent xml after removal of structuring level
6291 doc/public/cairo-docs.xml | 76 ++++++++++++++++++++++----------------------
6292 1 files changed, 38 insertions(+), 38 deletions(-)
6294 commit 642e1af892353d55edd6ebe71720fb541c9deb22
6295 Author: Nis Martensen <nis.martensen@web.de>
6296 Date: Sat Jan 26 19:05:16 2008 +0100
6298 remove empty tutorial stub and one level of structuring
6300 doc/public/cairo-docs.xml | 6 ------
6301 1 files changed, 0 insertions(+), 6 deletions(-)
6303 commit be93e61d70f4e32069448b79cca7eacab6035c6c
6304 Author: Nis Martensen <nis.martensen@web.de>
6305 Date: Sat Jan 26 18:44:32 2008 +0100
6307 Add index of new symbols in 1.6
6309 doc/public/cairo-docs.xml | 3 +++
6310 1 files changed, 3 insertions(+), 0 deletions(-)
6312 commit 0874834ec4606c5ff960588077d5310927d560ba
6313 Author: Nis Martensen <nis.martensen@web.de>
6314 Date: Sat Jan 26 16:59:21 2008 +0100
6316 Describe cairo_operator_t, add link to operators/ wiki page
6318 src/cairo.h | 28 ++++++++++++++++++++++++++++
6319 1 files changed, 28 insertions(+), 0 deletions(-)
6321 commit b18bc660c6d5d5018b4cfaf0eaf0278669cac1ac
6322 Author: Behdad Esfahbod <behdad@behdad.org>
6323 Date: Mon Jan 28 02:33:58 2008 -0500
6325 [test/font-matrix-translation] Fix function signature
6327 test/font-matrix-translation.c | 13 ++++++++++---
6328 1 files changed, 10 insertions(+), 3 deletions(-)
6330 commit 936edecb35b94213997fdb172f0256c658f416aa
6331 Author: Vladimir Vukicevic <vladimir@pobox.com>
6332 Date: Sun Jan 27 16:52:39 2008 -0800
6334 [quartz] only use DrawTiledImage if transformed image is integer aligned
6336 This Quartz API seems to only tile at integer coordinates; if the source image is
6337 scaled to anything less than integer-aligned, seams appear between tiles. Detect
6338 this and fall back to slower but more general CGPattern path.
6340 src/cairo-quartz-surface.c | 144 +++++++++++++++++++++++--------------------
6341 1 files changed, 77 insertions(+), 67 deletions(-)
6343 commit 182b02240192c03b1fae5367573962d527f8aad4
6344 Author: Vladimir Vukicevic <vladimir@pobox.com>
6345 Date: Sat Jan 26 10:57:20 2008 -0800
6347 [win32] Fix initial clip region test
6349 I misread the docs; GetClipBox's return value doesn't necessarily correspond to
6350 GetClipRgn's region type.
6352 src/cairo-win32-surface.c | 3 +--
6353 1 files changed, 1 insertions(+), 2 deletions(-)
6355 commit 0e737632905e61f4d76b6b2c4e5908d75a5cddda
6356 Author: Behdad Esfahbod <behdad@behdad.org>
6357 Date: Sun Jan 27 02:19:47 2008 -0500
6359 [src] Fix make check
6361 src/cairo-quartz-surface.c | 4 ++--
6362 1 files changed, 2 insertions(+), 2 deletions(-)
6364 commit b3eea75d1f7b56c2046b5387a5eb186d8f154184
6365 Author: Behdad Esfahbod <behdad@behdad.org>
6366 Date: Sat Jan 26 13:56:08 2008 -0500
6368 Change cairo_get_current_point() to return cairo_status_t instead of void
6370 So we can return CAIRO_STATUS_NO_CURRENT_POINT. Previously it wasn't easy
6371 to fetch that information.
6373 src/cairo.c | 22 ++++++++++++++++++----
6375 2 files changed, 19 insertions(+), 5 deletions(-)
6377 commit 79383841520af3a7de3018befca37be6a037f9ba
6378 Author: Behdad Esfahbod <behdad@behdad.org>
6379 Date: Fri Jan 25 19:48:36 2008 -0500
6381 [doc] Update list of private header files
6383 doc/public/Headers.mk | 10 ++++++++++
6384 1 files changed, 10 insertions(+), 0 deletions(-)
6386 commit 58f6aed93d137b77a2550bcace16f8d5573d45ef
6387 Author: Behdad Esfahbod <behdad@behdad.org>
6388 Date: Fri Jan 25 19:47:07 2008 -0500
6390 [doc] Update for recent API changes
6392 doc/public/tmpl/cairo-paths.sgml | 2 ++
6393 doc/public/tmpl/cairo-status.sgml | 1 +
6394 doc/public/tmpl/cairo-surface.sgml | 2 --
6395 3 files changed, 3 insertions(+), 2 deletions(-)
6397 commit 45e7ba356d308f67f674a20484a55d41fe922d13
6398 Author: Behdad Esfahbod <behdad@behdad.org>
6399 Date: Fri Jan 25 19:46:43 2008 -0500
6401 [cairo-pdf-operators] Reformat typedef to not confuse gtk-doc
6403 src/cairo-pdf-operators-private.h | 7 +++----
6404 1 files changed, 3 insertions(+), 4 deletions(-)
6406 commit 756420a780e870bed6f174ca7f3f14421d1ff7d2
6407 Author: Behdad Esfahbod <behdad@behdad.org>
6408 Date: Fri Jan 25 19:38:27 2008 -0500
6410 [cairo_surface_show/copy_page()] Make them return void, like cairo_show/copy_page() do
6412 src/cairo-gstate.c | 6 ++++--
6413 src/cairo-paginated-surface.c | 12 ++++++++----
6414 src/cairo-surface.c | 33 ++++++++++++++++++---------------
6415 src/cairo-svg-surface.c | 5 +++--
6416 src/cairo.h | 4 ++--
6417 5 files changed, 35 insertions(+), 25 deletions(-)
6419 commit c4ec5539ca7380dccf1a2f797e536c7273b5c2b5
6420 Author: Nis Martensen <nis.martensen@web.de>
6421 Date: Fri Jan 25 19:13:13 2008 -0500
6423 [cairo-surface] Fix doc typo
6425 src/cairo-surface.c | 2 +-
6426 1 files changed, 1 insertions(+), 1 deletions(-)
6428 commit ab188f2e90b49fc4e07f04dc512f9fb9864efa0b
6429 Author: Behdad Esfahbod <behdad@behdad.org>
6430 Date: Fri Jan 25 17:44:26 2008 -0500
6432 [cairo-ft] Disable embedded bitmaps if hinting style NONE is requested
6434 src/cairo-ft-font.c | 11 ++++++++---
6435 1 files changed, 8 insertions(+), 3 deletions(-)
6437 commit 2df9944a8ac48cb43845e56c5483bf77dafda584
6438 Author: Behdad Esfahbod <behdad@behdad.org>
6439 Date: Fri Jan 25 17:12:34 2008 -0500
6441 [.gitignore] Add check-has-hidden-symbols.i
6443 src/.gitignore | 1 +
6444 1 files changed, 1 insertions(+), 0 deletions(-)
6446 commit 3d2144b6af07ca44b6fbf1c96080b7e2b7c0285c
6447 Author: Behdad Esfahbod <behdad@behdad.org>
6448 Date: Fri Jan 25 17:06:11 2008 -0500
6450 [cairo-ft] Fix font metrics computation for bitmap fonts and no metrics-hinting
6452 Preivously we were returning NAN font metrics. Fixed now. Makes bitmap-font
6455 src/cairo-ft-font.c | 7 ++++++-
6456 1 files changed, 6 insertions(+), 1 deletions(-)
6458 commit c621d8d7191bfa8c1bca533bf9d53d514d01f529
6459 Author: Vladimir Vukicevic <vladimir@pobox.com>
6460 Date: Fri Jan 25 15:01:44 2008 -0800
6462 [ps] Pad image mask lines out to full lines
6464 The PostScript backend was generating image masks with packed mask
6465 bits, when PS seems to expect each line of the mask to be padded out
6468 Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=407360
6470 src/cairo-ps-surface.c | 8 +++++++-
6471 1 files changed, 7 insertions(+), 1 deletions(-)
6473 commit bae496df11247a1e4aff8b0df3356701f8a11792
6474 Author: Behdad Esfahbod <behdad@behdad.org>
6475 Date: Fri Jan 25 08:03:32 2008 -0500
6477 [test/bitmap-font] Test under all combinations of hinting, test font metrics too
6479 This is now failing as we compute NAN font metrics for bitmap-only fonts under
6480 disabled metrics hinting. A very infamous bug excercised with PangoCairo's PDF
6483 test/bitmap-font.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++----
6484 1 files changed, 94 insertions(+), 8 deletions(-)
6486 commit 20c8531243c2f2ee220bd1f234cdba6fc3d6d4c7
6487 Author: Behdad Esfahbod <behdad@behdad.org>
6488 Date: Fri Jan 25 07:14:07 2008 -0500
6490 [test/text-zero-len] Test text and font extents for font size 0
6492 test/text-zero-len.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++-
6493 1 files changed, 50 insertions(+), 2 deletions(-)
6495 commit 83bd590760629b61898ed403e273046545f26767
6496 Author: Behdad Esfahbod <behdad@behdad.org>
6497 Date: Fri Jan 25 07:02:25 2008 -0500
6499 [test] Test that cairo_text_extents() and cairo_scaled_font_text_extents() match
6502 test/font-matrix-translation.c | 31 ++++++++++++++++++++++++++++++-
6503 1 files changed, 30 insertions(+), 1 deletions(-)
6505 commit 4c432b09557f52fa35be981743272b33baca6232
6506 Author: Behdad Esfahbod <behdad@behdad.org>
6507 Date: Fri Jan 25 04:16:44 2008 -0500
6509 [cairo-scaled-font] Fix bug in glyphs bounding box computation
6511 In 02970ac8cf27bc9d42cf27848a97019d9dd13b6d Vlad introduced the following
6512 innocent-looking change:
6514 - short min_x = INT16_MAX, max_x = INT16_MIN;
6515 - short min_y = INT16_MAX, max_y = INT16_MIN;
6516 + cairo_point_int_t min = { CAIRO_RECT_INT_MIN, CAIRO_RECT_INT_MIN };
6517 + cairo_point_int_t max = { CAIRO_RECT_INT_MAX, CAIRO_RECT_INT_MAX };
6519 Well, read it carefully... yeah. That caused each show glyph operation
6520 upload a mask the size of the surface. With evince/poppler and certain
6521 PDF files that each glyph is rendered in its own cairo_show_glyphs()
6522 call, that meant a 20x slowdown in rendering a page of PDF.
6524 If still wondering what's wrong with that change, here is the answer:
6526 - cairo_point_int_t min = { CAIRO_RECT_INT_MIN, CAIRO_RECT_INT_MIN };
6527 - cairo_point_int_t max = { CAIRO_RECT_INT_MAX, CAIRO_RECT_INT_MAX };
6528 + cairo_point_int_t min = { CAIRO_RECT_INT_MAX, CAIRO_RECT_INT_MAX };
6529 + cairo_point_int_t max = { CAIRO_RECT_INT_MIN, CAIRO_RECT_INT_MIN };
6533 src/cairo-scaled-font.c | 4 ++--
6534 1 files changed, 2 insertions(+), 2 deletions(-)
6536 commit 8983208f456c6f570698df46174faa0208d6de5f
6537 Author: Behdad Esfahbod <behdad@behdad.org>
6538 Date: Fri Jan 25 01:00:21 2008 -0500
6540 [configure.in] Require pixman >= 0.9.6
6542 I was experiencing very weird rendering problems and crashes in evince with
6543 pixman 0.9.4. Upgrading to pixman 0.9.6 fixed the all. Lets just require it.
6546 1 files changed, 1 insertions(+), 1 deletions(-)
6548 commit 5dfe47a3f14ee8597395dc53ff57fd429e9804cd
6549 Author: Behdad Esfahbod <behdad@behdad.org>
6550 Date: Fri Jan 25 00:35:11 2008 -0500
6552 [cairo-scaled-font] Unbreak it after my recent commit
6556 src/cairo-scaled-font.c | 41 +++++++++++++++++++----------------------
6557 1 files changed, 19 insertions(+), 22 deletions(-)
6559 commit efd3a965244305a069ec231b7ec28cff8d6c67c8
6560 Author: Behdad Esfahbod <behdad@behdad.org>
6561 Date: Thu Jan 24 23:35:06 2008 -0500
6563 [cairo-scaled-font] Don't err on font size 0, really
6565 First, seems like we were rejecting degenerate font matrix right away
6566 at the constructor. Don't do that.
6568 Next, PS/PDF were inverting the font scale matrix, assuming that it's
6569 invertible. We now keep the inverse too, so they can use it. For the
6570 case of a size 0 font, both the scale matrix and its invert are set to
6571 0,0,0,0. That's safe, even if slightly inconsistent.
6573 src/cairo-pdf-surface.c | 5 +----
6574 src/cairo-ps-surface.c | 5 +----
6575 src/cairo-scaled-font-private.h | 1 +
6576 src/cairo-scaled-font.c | 19 ++++++++-----------
6577 4 files changed, 11 insertions(+), 19 deletions(-)
6579 commit 45f269e33020d8d7cf247926712b9c64c1fb8959
6580 Author: Behdad Esfahbod <behdad@behdad.org>
6581 Date: Thu Jan 24 22:39:28 2008 -0500
6583 [cairo-scaled-font] Oops, return err if not handling it
6585 src/cairo-scaled-font.c | 4 ++++
6586 1 files changed, 4 insertions(+), 0 deletions(-)
6588 commit 6d0dc3e0760e6bc6b0eceab48674410b4e865287
6589 Author: Behdad Esfahbod <behdad@behdad.org>
6590 Date: Thu Jan 24 22:24:23 2008 -0500
6592 [cairo-scaled-font] Don't err on font size 0
6594 src/cairo-scaled-font.c | 18 ++++++++++++++++--
6595 1 files changed, 16 insertions(+), 2 deletions(-)
6597 commit ea9afecc9aaa87c2df14dc9126c75ac0e3e5b13f
6598 Author: Vladimir Vukicevic <vladimir@pobox.com>
6599 Date: Thu Jan 24 11:48:02 2008 -0800
6601 [quartz] Do dynamic symbol lookups for 10.4/10.5 optimization symbols
6603 The gcc-__attribute-__ based weak linking was causing all sorts of problems;
6604 do dlsym lookups at runtime instead.
6606 src/cairo-quartz-surface.c | 39 ++++++++++++++++++++++++++++-----------
6607 1 files changed, 28 insertions(+), 11 deletions(-)
6609 commit 287de2ce5883daa4238c534e0d4890cb640d7fb7
6610 Author: Vladimir Vukicevic <vladimir@pobox.com>
6611 Date: Wed Jan 23 21:30:42 2008 -0800
6613 [quartz] Clean up unused APIs a bit
6615 The data parameter from get_image was never really used; get rid of it and clean up
6616 callers. Also get rid of a chunk of dead code in release_dest_image.
6618 src/cairo-quartz-surface.c | 76 +++++++------------------------------------
6619 1 files changed, 13 insertions(+), 63 deletions(-)
6621 commit b96c6c26c2d6b0b5f79ee569ece602338c4146b2
6622 Author: Vladimir Vukicevic <vladimir@pobox.com>
6623 Date: Thu Jan 24 11:04:26 2008 -0800
6625 [win32] Print non-black/white text correctly in show_glyphs
6627 src/cairo-win32-printing-surface.c | 6 +++---
6628 1 files changed, 3 insertions(+), 3 deletions(-)
6630 commit 8e7c0db8018b258fc367da1e5502e9e13bad098c
6631 Author: Vladimir Vukicevic <vladimir@pobox.com>
6632 Date: Thu Jan 24 11:01:55 2008 -0800
6634 [win32] Better tracking of initial clip
6636 There were a few corner cases that the win32 surface was failing
6637 at when there was an initial clip set; the win32-printing surface
6638 had more serious problems when painting meta surface patterns.
6639 This cleans up the initial DC clip tracking for both surfaces.
6641 src/cairo-win32-printing-surface.c | 69 +++++-------
6642 src/cairo-win32-private.h | 23 +++-
6643 src/cairo-win32-surface.c | 221 +++++++++++++++++++++++++-----------
6644 3 files changed, 197 insertions(+), 116 deletions(-)
6646 commit c05e3b08b4cfa820a18e33b5012a6138b931788f
6647 Author: Carl Worth <cworth@cworth.org>
6648 Date: Thu Jan 24 09:51:58 2008 -0800
6650 Remove ROADMAP and TODO, mentioning their URLs in README
6652 We're maintaining these as part of cairo's website now,
6653 rather than as part of the source code.
6656 ROADMAP | 149 ---------------------------------------------------------------
6657 TODO | 111 -----------------------------------------------
6658 3 files changed, 8 insertions(+), 270 deletions(-)
6660 commit 21823842775988c0b58e3868dce053544ed246e2
6661 Author: Behdad Esfahbod <behdad@behdad.org>
6662 Date: Wed Jan 23 15:06:52 2008 -0500
6664 [test] Minor fix for check-ref-dups rule
6666 test/Makefile.am | 3 ++-
6667 1 files changed, 2 insertions(+), 1 deletions(-)
6669 commit e7c0a69dcb627abb677f84473a9e3857b2d89a69
6670 Author: Behdad Esfahbod <behdad@behdad.org>
6671 Date: Wed Jan 23 14:57:42 2008 -0500
6673 [test] Also check for reference images listed in Makefile.am but missing
6674 in git, and if this is not a git checkout, in source directory.
6676 test/Makefile.am | 36 +++++++++++++++++++++++++++---------
6677 1 files changed, 27 insertions(+), 9 deletions(-)
6679 commit 188765c8e857c88a66656a454a3dbd27c32170f7
6680 Author: Bertram Felgenhauer <int-e@gmx.de>
6681 Date: Wed Jan 23 19:22:18 2008 +0100
6683 improve comments for the pixman transformation anchoring math.
6685 src/cairo-matrix.c | 14 +++++++++++++-
6686 1 files changed, 13 insertions(+), 1 deletions(-)
6688 commit b6c723644302c43b7aae098338092e578fe2f007
6689 Author: Bertram Felgenhauer <int-e@gmx.de>
6690 Date: Wed Jan 23 18:09:20 2008 +0100
6692 update reference images for some non-aa testcases
6694 test/rectangle-rounding-error-ref.png | Bin 298 -> 231 bytes
6695 test/rotate-image-surface-paint-ref.png | Bin 232 -> 209 bytes
6696 test/unantialiased-shapes-ref.png | Bin 4449 -> 3968 bytes
6697 3 files changed, 0 insertions(+), 0 deletions(-)
6699 commit 5a0b15d2c9b5e9ef3aed1f01e8ea28a3f2c36216
6700 Author: Bertram Felgenhauer <int-e@gmx.de>
6701 Date: Wed Jan 23 18:02:02 2008 +0100
6703 anchor pattern transformations at the pattern origin
6704 This keeps the rounding errors due to the conversion to 16.16 fixed point
6705 numbers small and improves cairo's translation invariance.
6707 src/cairo-matrix.c | 23 +++++++++++++++++++++++
6708 1 files changed, 23 insertions(+), 0 deletions(-)
6710 commit 431e846c03b39495ac57834a8b65b7499472ef1b
6711 Author: Vladimir Vukicevic <vladimir@pobox.com>
6712 Date: Tue Jan 22 16:30:37 2008 -0800
6714 cairo_point_int32_t is really int32_t, not int16_t
6718 src/cairo-types-private.h | 2 +-
6719 1 files changed, 1 insertions(+), 1 deletions(-)
6721 commit 02970ac8cf27bc9d42cf27848a97019d9dd13b6d
6722 Author: Vladimir Vukicevic <vladimir@pobox.com>
6723 Date: Tue Jan 22 15:32:11 2008 -0800
6725 Fix usage of cairo_rectangle_int16_t leading to memory corruption
6727 cairo_rectangle_int16_t was being used in a number of places instead
6728 of cairo_rectangle_int_t, which led to memory corruption when cairo was
6729 using a fixed point format with a bigger space than 16.16 (such as 24.8).
6731 src/cairo-analysis-surface.c | 3 +++
6732 src/cairo-pdf-surface.c | 6 +++---
6733 src/cairo-scaled-font.c | 24 ++++++++++++------------
6734 src/cairo-surface-fallback.c | 9 ++-------
6735 src/cairo-win32-private.h | 2 +-
6736 src/cairo-xcb-surface.c | 4 ++--
6737 src/cairo-xlib-surface.c | 4 ++--
6738 src/cairoint.h | 2 +-
6739 8 files changed, 26 insertions(+), 28 deletions(-)
6741 commit 1109ccfb4e5b078581a3b4a7e2d152681fa863ec
6742 Author: Behdad Esfahbod <behdad@behdad.org>
6743 Date: Tue Jan 22 17:44:47 2008 -0500
6745 [ROADMAP] Add item: Make cairo-ft respect FC_FT_FACE pattern element
6748 1 files changed, 2 insertions(+), 0 deletions(-)
6750 commit 5024650d4d8d4fa890a531d9e54fed7beef8e2c1
6751 Author: Behdad Esfahbod <behdad@behdad.org>
6752 Date: Tue Jan 22 12:45:50 2008 -0500
6754 [test] Only summarize check results for the tests tested!
6756 test/Makefile.am | 2 +-
6757 1 files changed, 1 insertions(+), 1 deletions(-)
6759 commit 18181f12ae6c412fea984484355ff8bc1dfccb54
6760 Author: Carl Worth <cworth@cworth.org>
6761 Date: Tue Jan 22 06:25:19 2008 -0800
6763 Make Carl return from his time-traveling expedition
6765 test/rectilinear-miter-limit.c | 2 +-
6766 1 files changed, 1 insertions(+), 1 deletions(-)
6768 commit 95f3b425e6fb31b364b08e53e072fac4f5ed0733
6769 Author: Behdad Esfahbod <behdad@behdad.org>
6770 Date: Tue Jan 22 01:03:02 2008 -0500
6772 [cairo-path-stroke] Use M_SQRT2 for constant value
6774 src/cairo-path-stroke.c | 8 ++++----
6775 src/cairoint.h | 4 ++++
6776 2 files changed, 8 insertions(+), 4 deletions(-)
6778 commit 1931ce1b3d491afe4f23670c82e428f95eb25e6d
6779 Author: Behdad Esfahbod <behdad@behdad.org>
6780 Date: Tue Jan 22 00:36:25 2008 -0500
6782 [cairo-operator] Remove unused cairo-operator.c
6784 src/Makefile.am | 1 -
6785 src/cairo-operator.c | 119 --------------------------------------------------
6786 src/cairoint.h | 7 ---
6787 3 files changed, 0 insertions(+), 127 deletions(-)
6789 commit 47cf7ed769891b00abf96d14de6e79c0fa893cf9
6790 Author: Carl Worth <cworth@cworth.org>
6791 Date: Mon Jan 21 16:45:41 2008 -0800
6793 Test and document that fill rule has no effect on cairo_path_extents
6796 test/get-path-extents.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++
6797 2 files changed, 51 insertions(+), 2 deletions(-)
6799 commit 1ca186f51134e7d5969937760b068caba0070d31
6800 Author: Carl Worth <cworth@cworth.org>
6801 Date: Mon Jan 21 16:34:24 2008 -0800
6803 Disable rectilinear stroke optimization for small miter limit values
6805 This fixes the bug that was causing the recently added
6806 rectilinear-miter-limit test case to fail. It passes
6809 src/cairo-path-stroke.c | 6 ++++++
6810 1 files changed, 6 insertions(+), 0 deletions(-)
6812 commit 32efcc94627e8890969c4b36a78c831ced6f8d62
6813 Author: Carl Worth <cworth@cworth.org>
6814 Date: Mon Jan 21 16:32:48 2008 -0800
6816 Add new rectilinear-miter-limit test to demonstrate bug
6818 We're failing to respect the miter limit in the rectilinear
6819 stroke optimization code.
6821 test/.gitignore | 1 +
6822 test/Makefile.am | 2 +
6823 test/rectilinear-miter-limit-ref.png | Bin 0 -> 177 bytes
6824 test/rectilinear-miter-limit.c | 80 ++++++++++++++++++++++++++++++++++
6825 4 files changed, 83 insertions(+), 0 deletions(-)
6827 commit 326342962daa694d876c03194e8a6c1b13f9a8d2
6828 Author: Carl Worth <cworth@cworth.org>
6829 Date: Mon Jan 21 15:20:07 2008 -0800
6831 Rename trailing_move_to_point to move_to_point
6833 And prefer TRUE and FALSE literals over 1 and 0.
6835 src/cairo-path-bounds.c | 24 +++++++++++++-----------
6836 1 files changed, 13 insertions(+), 11 deletions(-)
6838 commit c480eedbb58dd03dd4b9b87b3985758ffbce7113
6839 Author: Carl Worth <cworth@cworth.org>
6840 Date: Mon Jan 21 14:56:21 2008 -0800
6842 Test and document extents of degenerate "dots"
6844 It's a common idiom to stroke degenerate sub-paths made with
6845 cairo_move_to(x,y);cairo_rel_line_to(0,0) to draw dots. Test
6846 that we get the desired extents from cairo_fill_extents,
6847 cairo_stroke_extents, and cairo_path_extents for these cases.
6849 Also document that the cairo_path_extents result is equivalent
6850 to the limit of stroking with CAIRO_LINE_CAP_ROUND, (so that
6851 these "dot" points are included), as the line width
6854 src/cairo.c | 6 +++---
6855 test/get-path-extents.c | 28 ++++++++++++++++++++++++++++
6856 2 files changed, 31 insertions(+), 3 deletions(-)
6858 commit 55e0dddf0408046ea0ded419ebe45099a4eb563e
6859 Author: Carl Worth <cworth@cworth.org>
6860 Date: Mon Jan 21 14:45:06 2008 -0800
6862 Add cairo_path_extents testing to several cases missing it
6864 With these degenerate shapes, cairo_path_extents still returns
6865 a zero-area rectangle, but with a non-zero offset.
6867 test/get-path-extents.c | 12 ++++++++----
6868 1 files changed, 8 insertions(+), 4 deletions(-)
6870 commit 63df3a82a3a4a035edf89152995a324449616059
6871 Author: Carl Worth <cworth@cworth.org>
6872 Date: Mon Jan 21 13:47:05 2008 -0800
6874 Fix cairo_path_extents to ignore lone cairo_move_to points.
6876 Update the documentation as well.
6878 src/cairo-path-bounds.c | 11 ++++++++++-
6879 src/cairo.c | 40 +++++++++++++++++++++++++---------------
6880 2 files changed, 35 insertions(+), 16 deletions(-)
6882 commit c15cab8b6855540436e457465c4766812c6def55
6883 Author: Carl Worth <cworth@cworth.org>
6884 Date: Mon Jan 21 13:34:53 2008 -0800
6886 Correct near-pangram to be an actual pangram
6888 This wasn't affecting the test quality at all, but it did annoy
6889 me to see this mistake.
6891 test/get-path-extents.c | 2 +-
6892 1 files changed, 1 insertions(+), 1 deletions(-)
6894 commit ed695bdb9b1e4500f796c7f07a7cc2f3832b2a39
6895 Author: Carl Worth <cworth@cworth.org>
6896 Date: Mon Jan 21 13:33:46 2008 -0800
6898 Define repeated string literal once
6900 test/get-path-extents.c | 10 ++++++----
6901 1 files changed, 6 insertions(+), 4 deletions(-)
6903 commit 80df194b77a4caac1d58132341f034596e500bda
6904 Author: Carl Worth <cworth@cworth.org>
6905 Date: Mon Jan 21 12:14:49 2008 -0800
6907 Clarify documentation of cairo_{fill,stroke,path}_extents
6909 Mostly just adding more cross-references between the documentation
6910 of these three similar functions.
6912 src/cairo.c | 36 +++++++++++++++++++++++++-----------
6913 1 files changed, 25 insertions(+), 11 deletions(-)
6915 commit eba04b7fbcc7fdbf075ad1372208908634459178
6916 Author: Brian Ewins <Brian.Ewins@gmail.com>
6917 Date: Sun Jan 20 03:22:12 2008 +0000
6919 [path] use new interpret_flat infrastructure for path_populate
6921 refactor to reduce duplication of flattening code.
6923 src/cairo-path.c | 50 +++++++++++++-------------------------------------
6924 1 files changed, 13 insertions(+), 37 deletions(-)
6926 commit 3270ae6a65105787942da8309fa874ee65bc79fe
6927 Author: Brian Ewins <Brian.Ewins@gmail.com>
6928 Date: Sun Jan 20 03:21:41 2008 +0000
6930 [path] Use new interpret_flat infrastructure for path_count.
6932 Refactor to reduce duplication of path flattening code.
6934 src/cairo-path-bounds.c | 6 ----
6935 src/cairo-path.c | 62 +++++++++++++---------------------------------
6936 2 files changed, 18 insertions(+), 50 deletions(-)
6938 commit 4177208be63caa3128eaf07428f3d4617fcd18e0
6939 Author: Brian Ewins <Brian.Ewins@gmail.com>
6940 Date: Fri Nov 16 22:43:43 2007 +0000
6942 [cairo] Add cairo_path_extents()
6944 This new function gets the extents of the current path, whether
6945 or not they would be inked by a 'fill'. It differs from
6946 cairo_fill_extents() when the area enclosed by the path is 0.
6948 Includes documentation and updated test.
6950 doc/public/cairo-sections.txt | 1 +
6951 doc/public/tmpl/cairo-paths.sgml | 10 ++++++++++
6952 src/cairo-gstate.c | 11 +++++++++++
6953 src/cairo.c | 30 ++++++++++++++++++++++++++++++
6954 src/cairo.h | 5 +++++
6955 src/cairoint.h | 7 +++++++
6956 test/get-path-extents.c | 33 +++++++++++++++++++++++----------
6957 7 files changed, 87 insertions(+), 10 deletions(-)
6959 commit d923457c0f40c9b34ee75d4d47b9bd0c3edfe669
6960 Author: Brian Ewins <Brian.Ewins@gmail.com>
6961 Date: Sat Jan 19 22:31:49 2008 +0000
6963 [path-fixed] make _cairo_path_fixed_bounds use _cairo_path_fixed_interpret_flat
6965 _cairo_path_fixed_bounds can use the new _interpret_flat mechanism; this
6966 results in tighter bounds; previously the bounds followed the control
6967 points of the beziers, whereas now they are the bounds of the curve.
6969 src/cairo-analysis-surface.c | 2 +-
6970 src/cairo-path-bounds.c | 39 ++++++++++++++-------------------------
6971 src/cairoint.h | 3 ++-
6972 3 files changed, 17 insertions(+), 27 deletions(-)
6974 commit 1471b3f00acddecdfc2617a62ab0e584f319dc1c
6975 Author: Brian Ewins <Brian.Ewins@gmail.com>
6976 Date: Sat Jan 19 22:31:10 2008 +0000
6978 [path-fixed] add _cairo_path_fixed_interpret_flat
6980 _cairo_path_fixed_interpret_flat flattens the path as it
6981 interprets it, meaning that a curve_to callback is not
6984 src/cairo-path-fixed.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++
6985 src/cairoint.h | 9 ++++
6986 2 files changed, 108 insertions(+), 0 deletions(-)
6988 commit 3339c32b0aa44c4bae6e534f90d26aa342e3d717
6989 Author: Behdad Esfahbod <behdad@behdad.org>
6990 Date: Sun Jan 20 02:56:26 2008 -0500
6992 [cairoint.h] Move MSC inline macros into cairo-compiler-private.h
6995 src/cairo-compiler-private.h | 10 ++++++++++
6996 src/cairoint.h | 11 -----------
6997 2 files changed, 10 insertions(+), 11 deletions(-)
6999 commit ac17ce0f89b494a404756c8d24b21a7fb354218e
7000 Author: Behdad Esfahbod <behdad@behdad.org>
7001 Date: Sun Jan 20 02:54:16 2008 -0500
7003 [cairo-fixed/wideint-private.h] Split out typedefs from prototypes
7004 such that the type definitions can be used from boilerplate without exposing
7007 src/Makefile.am | 2 +
7008 src/cairo-fixed-private.h | 34 +---------
7009 src/cairo-fixed-type-private.h | 70 ++++++++++++++++++++
7010 src/cairo-types-private.h | 2 +-
7011 src/cairo-wideint-private.h | 71 +--------------------
7012 src/cairo-wideint-type-private.h | 130 ++++++++++++++++++++++++++++++++++++++
7013 src/cairoint.h | 1 +
7014 7 files changed, 208 insertions(+), 102 deletions(-)
7016 commit f072d815d40e6fd44369424b68d54cea22da3a26
7017 Author: Peter Weilbacher <mozilla@weilbacher.org>
7018 Date: Sat Jan 19 20:48:39 2008 -0500
7020 [cairo-ft] Fix typo in comment
7022 src/cairo-ft-font.c | 2 +-
7023 1 files changed, 1 insertions(+), 1 deletions(-)
7025 commit 0fb800ff2258d4642a2188a7f219db9620450bc2
7026 Author: Peter Weilbacher <mozilla@weilbacher.org>
7027 Date: Sat Jan 19 20:47:59 2008 -0500
7029 [cairo-ft] Add FC_PIXEL_SIZE as double, not int
7031 src/cairo-ft-font.c | 2 +-
7032 1 files changed, 1 insertions(+), 1 deletions(-)
7034 commit 8887fb35936bb48acadc19a0c71d1b81ec8b481d
7035 Author: Adrian Johnson <ajohnson@redneon.com>
7036 Date: Sun Jan 20 01:14:19 2008 +1030
7038 Fix PS/PDF Type 1 font embedding when glyph 0 is used
7040 cairo-scaled-fonts-subsets.c reserves position 0 in each subset for
7041 glyph 0 (.notdef) as the font embedding of each font type requires
7042 .notdef as the first glyph. For some reason this was done by reserving
7043 the position then inserting glyph 0 in the collect function instead of
7044 just adding the glyph to the hash table when the subset is
7045 created. The problem this caused was that when an application called
7046 show_glyphs() with glyph 0, the glyph was added to the hash table
7047 (because it was not already there) resulting in two .notdef glyphs in
7048 the subset. This resulted in breakage in the Type 1 subsetting where
7049 the second .notdef was not emitted and all subsequent glyphs were
7050 moved up one place resulting in incorrect font encoding in the PS/PDF
7053 Fix this by adding .notdef to the subset hash table when the subset is
7058 src/cairo-scaled-font-subsets.c | 36 +++++++++++++++++++-----------------
7059 1 files changed, 19 insertions(+), 17 deletions(-)
7061 commit 574bdd01fd5df8f378c901de5cd9b24bd720ad37
7062 Author: Adrian Johnson <ajohnson@redneon.com>
7063 Date: Sun Jan 20 00:26:09 2008 +1030
7065 Type1-subset: Add newline to the end of the font
7067 as some fonts do not have a newline at the end of the last line
7069 src/cairo-type1-subset.c | 3 +++
7070 1 files changed, 3 insertions(+), 0 deletions(-)
7072 commit ec272fbd0980e8124d87ff5c17a5b751876fc9e2
7073 Author: Adrian Johnson <ajohnson@redneon.com>
7074 Date: Sat Jan 19 12:46:24 2008 +1030
7076 Fix PDF extend-reflect test failure
7078 Previously, when emitting image patterns the PDF backend used
7079 _cairo_pattern_acquire_surface to get the image. For reflected images
7080 this would return an image containing four images in a reflect
7081 pattern. When drawn in a PDF pattern (which only does repeating
7082 patterns) this would create the reflected pattern in PDF.
7084 For some reason _cairo_pattern_acquire_surface is no longer returning
7085 a reflected image pattern.
7087 This is fixed by only using _cairo_surface_acquire_source_image to get
7088 the image and using the same code as is used for reflected
7089 meta-surface patterns to created a reflected pattern by drawing four
7090 transformed copies of the image inside the PDF patten.
7092 This is the better way to implement reflected images as we are no
7093 longer embedding an image four times larger than the original.
7095 src/cairo-pdf-surface.c | 67 ++++++++++++++++++++++------------------------
7096 1 files changed, 32 insertions(+), 35 deletions(-)
7098 commit 50d0767c8bf4c738b86e10be09d5c4fd7e14a05f
7099 Author: Carl Worth <cworth@cworth.org>
7100 Date: Fri Jan 18 12:41:57 2008 -0800
7102 Add a1-image-sample and a1-traps-sample tests
7104 Both of these currently fail due to bugs in the way pixman does
7107 test/.gitignore | 2 +
7108 test/Makefile.am | 2 +
7109 test/a1-image-sample-ref.png | Bin 0 -> 148 bytes
7110 test/a1-image-sample.c | 83 ++++++++++++++++++++++++++++++++++++++++++
7111 test/a1-traps-sample-ref.png | Bin 0 -> 148 bytes
7112 test/a1-traps-sample.c | 72 ++++++++++++++++++++++++++++++++++++
7113 test/cairo-test.c | 2 +
7114 7 files changed, 161 insertions(+), 0 deletions(-)
7116 commit c11790fded69ed476e7740ed86e4a66bf878d2d3
7117 Author: Carl Worth <cworth@cworth.org>
7118 Date: Wed Jan 16 16:32:36 2008 -0800
7120 Quiet a warning about switch without some cairo_surface_type_t enum values
7122 src/cairo-paginated-surface.c | 10 ++++++++++
7123 1 files changed, 10 insertions(+), 0 deletions(-)
7125 commit 1d6c2d578fa717906ba8fd0a897c52033179e938
7126 Author: Carl Worth <cworth@cworth.org>
7127 Date: Wed Jan 16 16:19:40 2008 -0800
7129 Remove some gratuitous assert statements
7131 Calling assert immediately after assigning a literal value is
7134 src/cairo-image-surface.c | 5 +----
7135 1 files changed, 1 insertions(+), 4 deletions(-)
7137 commit eabd28a655f8ddc73ff71583bb658db796e932cd
7138 Author: Adrian Johnson <ajohnson@redneon.com>
7139 Date: Fri Jan 18 21:53:04 2008 +1030
7141 win32-printing: define GRADIENT_FILL_RECT_H bug #14107
7143 Older versions of mingw do not define this.
7145 src/cairo-win32-printing-surface.c | 4 ++++
7146 1 files changed, 4 insertions(+), 0 deletions(-)
7148 commit 0086db893cba90dc73824d77c661d2965ad48112
7149 Author: Chris Wilson <chris@chris-wilson.co.uk>
7150 Date: Thu Jan 17 22:31:05 2008 +0000
7152 [cairo-font-options] Treat NULL as a default cairo_font_options_t
7154 Interpret a NULL cairo_font_options_t as the default values - i.e
7155 as if it were a fresh pointer returned by cairo_font_options_create().
7157 src/cairo-font-face.c | 8 +++--
7158 src/cairo-font-options.c | 51 +++++++++++++++++++++-----
7159 src/cairo-ft-font.c | 16 +++++---
7160 src/cairo-gstate.c | 2 +-
7161 src/cairo-scaled-font.c | 18 ++++++---
7162 src/cairo-win32-font.c | 4 +-
7163 src/cairo.c | 10 +++--
7164 test/.gitignore | 1 +
7165 test/Makefile.am | 12 ++++---
7166 test/font-options.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++
7167 10 files changed, 177 insertions(+), 36 deletions(-)
7169 commit 02d0e070638f668bf50a8ce2174c21e5614dd6c4
7170 Author: Chris Wilson <chris@chris-wilson.co.uk>
7171 Date: Thu Jan 17 21:39:31 2008 +0000
7173 [cairo-font-options] Use cairo_font_options_status() rather open-coding.
7175 By switching to cairo_font_options_status() instead of checking against
7176 the _cairo_font_options_nil error object, the API is protected from NULL
7179 src/cairo-font-options.c | 16 ++++++++--------
7180 1 files changed, 8 insertions(+), 8 deletions(-)
7182 commit b15e91d2b6c229dfe3da4a354306915cc42f75bd
7183 Author: Chris Wilson <chris@chris-wilson.co.uk>
7184 Date: Thu Jan 17 21:11:00 2008 +0000
7186 [cairo-font-options] Check for a NULL cairo_font_options_t
7188 On IRC Drakou reported a user error whereby cairo_scaled_font_create()
7189 was called with a NULL cairo_font_options_t. However, instead of
7190 reporting the error back to the user, cairo instead segfaulted trying
7191 to dereference the NULL pointer!
7193 Add a guard to check that the options is not NULL.
7195 src/cairo-font-options.c | 4 +++-
7196 1 files changed, 3 insertions(+), 1 deletions(-)
7198 commit 630536f17681b083db658414d68db2c0eb167af3
7199 Author: Chris Wilson <chris@chris-wilson.co.uk>
7200 Date: Thu Jan 17 17:44:57 2008 +0000
7202 [test/extend-*] Add various cairo_pattern_set_extend() test cases.
7204 Add various test cases to exercise
7205 _cairo_pattern_acquire_surface_for_surface(), most notably using similar
7206 source surfaces to provide coverage of the non-image surface branch.
7208 test/.gitignore | 4 +
7209 test/Makefile.am | 11 +++-
7210 test/cairo-test.c | 2 -
7211 test/extend-pad-similar.c | 105 +++++++++++++++++++++++++++++++++++
7212 test/extend-reflect-similar-ref.png | Bin 0 -> 153571 bytes
7213 test/extend-reflect-similar.c | 56 ++++++++++++++++++
7214 test/extend-reflect.c | 2 +
7215 test/extend-repeat-ref.png | Bin 0 -> 108622 bytes
7216 test/extend-repeat-similar-ref.png | Bin 0 -> 108622 bytes
7217 test/extend-repeat-similar.c | 56 ++++++++++++++++++
7218 test/extend-repeat.c | 34 +++++++++++
7219 11 files changed, 267 insertions(+), 3 deletions(-)
7221 commit dec2daeaf396be9dc6e8952417cc615d3a607926
7222 Author: Chris Wilson <chris@chris-wilson.co.uk>
7223 Date: Thu Jan 17 15:34:51 2008 +0000
7225 [cairo-{ps,pdf}-surface] Assert the font is supported during emission.
7227 Add an ASSERT_NOT_REACHED to the tail of the font subset emission
7228 functions - as they should always, at least, be supported by the
7231 src/cairo-pdf-surface.c | 2 ++
7232 src/cairo-ps-surface.c | 2 ++
7233 2 files changed, 4 insertions(+), 0 deletions(-)
7235 commit bde68fd4d6271daf8ca374e472deab95a9a7acff
7236 Author: Chris Wilson <chris@chris-wilson.co.uk>
7237 Date: Thu Jan 17 15:06:13 2008 +0000
7239 [cairo-scaled-font] Propagate the error to the font.
7241 If we encounter an error whilst using the font backend to convert the
7242 text to the glyphs, flag the scaled font with that error.
7244 src/cairo-scaled-font.c | 7 +++----
7245 1 files changed, 3 insertions(+), 4 deletions(-)
7247 commit d664e3253e3c310c34264eb0070c2c3c309e071b
7248 Author: Chris Wilson <chris@chris-wilson.co.uk>
7249 Date: Thu Jan 17 15:05:10 2008 +0000
7251 [cairo-scaled-font] Typo.
7253 s/ZERO_EXENTS/ZERO_EXTENTS/
7255 src/cairo-scaled-font.c | 8 ++++----
7256 1 files changed, 4 insertions(+), 4 deletions(-)
7258 commit fcdc525dde52c3bf7124d00a98b6be64ca522cb9
7259 Author: Chris Wilson <chris@chris-wilson.co.uk>
7260 Date: Thu Jan 17 14:47:43 2008 +0000
7262 [cairo-xlib] Remove the NULL safeguards.
7264 No need to guarding against the pointer being NULL on internal functions
7265 as no path can call the function will a NULL pointer and no path should
7266 ever try, which in any case it would be better to crash immediately.
7268 src/cairo-xlib-display.c | 7 +------
7269 src/cairo-xlib-screen.c | 6 ------
7270 2 files changed, 1 insertions(+), 12 deletions(-)
7272 commit 7b1a0eddacb290ae0d67fa974da1697b2c9ce38c
7273 Author: Chris Wilson <chris@chris-wilson.co.uk>
7274 Date: Thu Jan 17 13:51:21 2008 +0000
7276 [test/get-path-extents] Exercise cairo_scaled_font_text_extents()
7278 Compare cairo_scaled_font_text_extents() to cairo_text_extents() in
7279 order to provide test coverage of cairo_scaled_font_text_extents().
7281 test/get-path-extents.c | 19 ++++++++++++++++++-
7282 1 files changed, 18 insertions(+), 1 deletions(-)
7284 commit dbc97c2576320126e0cddd833ac88320af995d77
7285 Author: Chris Wilson <chris@chris-wilson.co.uk>
7286 Date: Thu Jan 17 13:41:19 2008 +0000
7288 [text] Set the extents on the error paths.
7290 Ensure the text extents are initialized (zeroed) if we encounter an
7291 error along for any of the text extents functions.
7293 src/cairo-scaled-font.c | 19 ++++++++++++++++---
7294 src/cairo.c | 35 +++++++++++++++++++----------------
7295 2 files changed, 35 insertions(+), 19 deletions(-)
7297 commit aec7ae67aa72f3105232fa7a66c1ea013c840da1
7298 Author: Chris Wilson <chris@chris-wilson.co.uk>
7299 Date: Thu Jan 17 13:28:55 2008 +0000
7301 [test/text-zero-len] Test the public cairo_scaled_font_* with NULLs.
7303 Pass NULL to cairo_scaled_font_(text|glyph)_extents() to test the
7304 consistency of the extents API.
7306 test/text-zero-len.c | 33 +++++++++++++++++++++++++++++++++
7307 1 files changed, 33 insertions(+), 0 deletions(-)
7309 commit 390e22894b093184e489ea762ffc29eeb1c81d2b
7310 Author: Chris Wilson <chris@chris-wilson.co.uk>
7311 Date: Thu Jan 17 13:13:40 2008 +0000
7313 [test/in-fill-trapezoid] Add a few holes.
7315 Complete the coverage of _cairo_trap_contains() by cutting holes out of
7318 test/in-fill-trapezoid.c | 20 ++++++++++++++++++++
7319 1 files changed, 20 insertions(+), 0 deletions(-)
7321 commit da9c43329ad09ccf48f8a71d28848f111af7ecb5
7322 Author: Chris Wilson <chris@chris-wilson.co.uk>
7323 Date: Thu Jan 17 11:22:19 2008 +0000
7325 [test/in-fill-trapezoid] Add test to exercise _cairo_trap_contains().
7327 A simple test to provide coverage of _cairo_trap_contains(), though
7328 not yet seeking boundary conditions.
7330 test/.gitignore | 1 +
7331 test/Makefile.am | 1 +
7332 test/in-fill-trapezoid.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++
7333 3 files changed, 68 insertions(+), 0 deletions(-)
7335 commit f638e5ea355cf0268a4b099ce7b8b98c69df6b67
7336 Author: Chris Wilson <chris@chris-wilson.co.uk>
7337 Date: Thu Jan 17 11:03:50 2008 +0000
7339 [cairo-region] Review status propagation.
7341 Check that the error status is propagated from _cairo_region_*.
7343 src/cairo-clip.c | 2 +-
7344 src/cairo-glitz-surface.c | 50 ++++++++++++++++++++++++--------------------
7345 src/cairo-surface.c | 7 +----
7346 3 files changed, 30 insertions(+), 29 deletions(-)
7348 commit 248f0060e5317f53a688ea0e0aea2997824fa996
7349 Author: Chris Wilson <chris@chris-wilson.co.uk>
7350 Date: Thu Jan 17 10:10:55 2008 +0000
7352 [cairo-analysis-surface] Return the nil surface rather than NULL.
7354 On error return a nil surface that represents the error rather than
7355 making the assumption of a NO_MEMORY error in the caller.
7357 src/cairo-analysis-surface.c | 5 +----
7358 src/cairo-paginated-surface.c | 5 ++---
7359 2 files changed, 3 insertions(+), 7 deletions(-)
7361 commit dd13a00541ebd85bb7687add8b76fa3fb1d82b95
7362 Author: Chris Wilson <chris@chris-wilson.co.uk>
7363 Date: Thu Jan 17 10:09:22 2008 +0000
7365 [test/get-path-extents] Check extents of degenerate paths.
7367 Ensure that degenerate paths have zero extents.
7369 test/get-path-extents.c | 35 +++++++++++++++++++++++++++++++++++
7370 1 files changed, 35 insertions(+), 0 deletions(-)
7372 commit 3f202c081d211d5ac6c28ce96cd0f57f8bb26aac
7373 Author: Chris Wilson <chris@chris-wilson.co.uk>
7374 Date: Wed Jan 16 23:42:24 2008 +0000
7376 [Makefile.am] Another path massage for lcov.
7378 Beware the inline functions in the headers that are now being pulled
7379 into the boilerplate code.
7381 Makefile.am | 5 ++++-
7382 1 files changed, 4 insertions(+), 1 deletions(-)
7384 commit 9ebfa8b5fb82596341b9ca0f19c362f24a7ff782
7385 Author: Chris Wilson <chris@chris-wilson.co.uk>
7386 Date: Wed Jan 16 20:35:41 2008 +0000
7388 [Makefile.am] Couple check-ref-missing into release-check
7390 Verify that all the reference images checked into git will be included
7391 within the distribution tarball as early as possible in the release
7394 Makefile.am | 6 +++++-
7395 test/Makefile.am | 16 ++++++++++++----
7396 2 files changed, 17 insertions(+), 5 deletions(-)
7398 commit f9a80c06b40634ffef00770731d3b433e465a1b9
7399 Author: Chris Wilson <chris@chris-wilson.co.uk>
7400 Date: Wed Jan 16 23:28:27 2008 +0000
7402 [cairo-path-stroke] Convert degenerate splines into lines.
7404 This fixes a discrepancy in the stoker between splines and lines,
7405 whereby the stroker failed to add a dash for a zero length spline.
7407 src/cairo-path-stroke.c | 4 ++--
7408 1 files changed, 2 insertions(+), 2 deletions(-)
7410 commit 2621a323a0ccfe33ff42ed17536db0dc89473a9f
7411 Author: Chris Wilson <chris@chris-wilson.co.uk>
7412 Date: Wed Jan 16 23:24:41 2008 +0000
7414 [test/dash-curve] Add a new test case for dashes along splines.
7416 Modify the dash-state test case and use curves instead of lines -
7417 exercises _cairo_stroker_curve_to_dashed() and degenerate splines.
7419 test/.gitignore | 1 +
7420 test/Makefile.am | 2 +
7421 test/dash-curve-ref.png | Bin 0 -> 39642 bytes
7422 test/dash-curve.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++
7423 4 files changed, 77 insertions(+), 0 deletions(-)
7425 commit bb41fa22e3d3b1fe4b3e802ecf7d8041eacda3fd
7426 Author: Chris Wilson <chris@chris-wilson.co.uk>
7427 Date: Wed Jan 16 23:21:53 2008 +0000
7429 [Makefile.am] Further massage lcov paths for srcdir != builddir.
7431 The lcov scripts generate incorrect absolute paths to the builddir for
7432 source files - so convert them to srcdir using sed.
7434 Makefile.am | 4 ++--
7435 1 files changed, 2 insertions(+), 2 deletions(-)
7437 commit 0a4ced5a2659b168fe8d1a6e3917f79fd5c66ae5
7438 Author: Carl Worth <cworth@cworth.org>
7439 Date: Wed Jan 16 10:47:46 2008 -0800
7441 Increment version to 1.5.7 after the 1.5.6 snapshot
7444 1 files changed, 1 insertions(+), 1 deletions(-)
7446 commit d2a02d4f5ccb1c6dc7f8cca0c322b72f1638d25b
7447 Author: Carl Worth <cworth@cworth.org>
7448 Date: Wed Jan 16 10:34:17 2008 -0800
7450 Remove check-has-hidden-symbols.i on 'make distclean'
7452 Without this, 'make distcheck' fails so releases don't happen.
7454 src/Makefile.am | 1 +
7455 1 files changed, 1 insertions(+), 0 deletions(-)
7457 commit 5c3a0b5c0044bff1262d583e38f84d48d407f0d9
7458 Author: Carl Worth <cworth@cworth.org>
7459 Date: Wed Jan 16 10:22:44 2008 -0800
7461 Add miter-precision-ref.png tothe distribution.
7463 test/Makefile.am | 1 +
7464 1 files changed, 1 insertions(+), 0 deletions(-)
7466 commit cb1ddc4e475ff783960925139e85f6fada56213a
7467 Author: Carl Worth <cworth@cworth.org>
7468 Date: Wed Jan 16 10:10:39 2008 -0800
7470 Replace -I($builddir) with -I. to avoid breaking non-srcdir builds.
7472 This variable was expanding to an empty string, so the next -I flag
7473 was getting completely swallowed. Let's avoid being clever and just
7474 use . which is what we want in the expansion anyway.
7476 src/Makefile.am | 2 +-
7477 1 files changed, 1 insertions(+), 1 deletions(-)
7479 commit ad8d03967a2b68ab88a428df6b9d68e76002a88f
7480 Author: Carl Worth <cworth@cworth.org>
7481 Date: Tue Jan 15 15:50:54 2008 -0800
7483 Increment version to 1.5.6 and to 15:0:13
7485 configure.in | 8 ++++----
7486 1 files changed, 4 insertions(+), 4 deletions(-)
7488 commit fe27f4b9a34946b121b4259f057fdf3c52d1371b
7489 Author: Carl Worth <cworth@cworth.org>
7490 Date: Tue Jan 15 15:47:48 2008 -0800
7492 NEWS: Add notes for cairo 1.5.6
7494 NEWS | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
7495 1 files changed, 95 insertions(+), 5 deletions(-)
7497 commit 1bccbd88c38c4438e94cf8936228c75e47be0af4
7498 Author: Chris Wilson <chris@chris-wilson.co.uk>
7499 Date: Wed Jan 16 16:33:22 2008 +0000
7501 [cairo-pdf-surface] Review error propagation from output stream.
7503 Ensure that errors encountered whilst processing the output stream are
7504 propagated back to the surface (and the user).
7506 src/cairo-pdf-surface.c | 291 ++++++++++++++++++++++++-----------------------
7507 1 files changed, 147 insertions(+), 144 deletions(-)
7509 commit 20151fc53401dcc53ef3ab6a78c91a0a02afe497
7510 Author: Chris Wilson <chris@chris-wilson.co.uk>
7511 Date: Wed Jan 16 16:33:22 2008 +0000
7513 [cairo-ps-surface] Review error propagation during surface creation.
7515 Track the error during surface creation so that it can be returned to
7516 the user via _cairo_surface_create_in_error().
7518 src/cairo-ps-surface.c | 36 +++++++++++++++++-------------------
7519 1 files changed, 17 insertions(+), 19 deletions(-)
7521 commit 3daa63693c2f8f9cc3c7fa41ef1e4d69bd67b3cc
7522 Author: Chris Wilson <chris@chris-wilson.co.uk>
7523 Date: Wed Jan 16 16:33:22 2008 +0000
7525 [cairo-svg-surface] Review error propagation during surface creation.
7527 Track the error during surface creation so that it can be returned to
7528 the user via _cairo_surface_create_in_error().
7530 src/cairo-svg-surface.c | 124 +++++++++++++++++++++++++----------------------
7531 1 files changed, 66 insertions(+), 58 deletions(-)
7533 commit 7111b18c27d7ee0439339a6aa72f0e4244f883f9
7534 Author: Chris Wilson <chris@chris-wilson.co.uk>
7535 Date: Wed Jan 16 16:23:23 2008 +0000
7537 [cairo-surface] Introduce _cairo_surface_create_in_error().
7539 Unexport all the static error surfaces and use a function to select
7540 the appropriate error surface for the status.
7542 src/cairo-array.c | 3 +-
7543 src/cairo-glitz-surface.c | 20 ++----
7544 src/cairo-image-surface.c | 136 ++++--------------------------------
7545 src/cairo-meta-surface.c | 12 +--
7546 src/cairo-os2-surface.c | 22 +++----
7547 src/cairo-paginated-surface.c | 8 ++-
7548 src/cairo-pdf-surface.c | 11 +--
7549 src/cairo-png.c | 38 ++++++----
7550 src/cairo-ps-surface.c | 9 +--
7551 src/cairo-quartz-surface.c | 32 +++-----
7552 src/cairo-surface-fallback.c | 6 +-
7553 src/cairo-surface.c | 62 +++++++++++-----
7554 src/cairo-svg-surface.c | 20 ++----
7555 src/cairo-win32-printing-surface.c | 10 +--
7556 src/cairo-win32-surface.c | 37 ++++------
7557 src/cairo-xcb-surface.c | 18 ++---
7558 src/cairo-xlib-surface.c | 26 +++-----
7560 src/cairoint.h | 6 +-
7561 src/test-fallback-surface.c | 5 +-
7562 src/test-meta-surface.c | 18 +++--
7563 src/test-paginated-surface.c | 5 +-
7564 22 files changed, 185 insertions(+), 323 deletions(-)
7566 commit 5cbc45488e276cb6e6ecfa7bc7dd4fae342de85e
7567 Author: Chris Wilson <chris@chris-wilson.co.uk>
7568 Date: Wed Jan 16 16:29:19 2008 +0000
7570 [cairo-output-stream] Introduce _cairo_output_stream_create_in_error()
7572 Use a utility function to wrap an incoming error status into a new
7573 error stream. As a side-effect, all error streams must be destroyed as
7574 in the general case the caller can not distinguish between a static
7575 error object and one allocated to hold an unusual error status.
7577 src/cairo-base85-stream.c | 3 +++
7578 src/cairo-deflate-stream.c | 7 ++-----
7579 src/cairo-output-stream-private.h | 3 +++
7580 src/cairo-output-stream.c | 26 ++++++++++++++++++++++++--
7581 src/cairo-ps-surface.c | 10 +++++++---
7582 src/cairo-type1-fallback.c | 8 ++++----
7583 src/cairo-type1-subset.c | 5 +++--
7584 7 files changed, 46 insertions(+), 16 deletions(-)
7586 commit 2c10c7559db11ccf511e119f4d4fb2da97508786
7587 Author: Chris Wilson <chris@chris-wilson.co.uk>
7588 Date: Wed Jan 16 13:37:48 2008 +0000
7590 [Makefile.am] Add -I$(builddir) for .c.i target
7592 Updated the CPP command so that it can find <cairo-features.h> in the
7593 local build directory.
7595 src/Makefile.am | 2 +-
7596 1 files changed, 1 insertions(+), 1 deletions(-)
7598 commit e49db8ed3ea5727e00e2734a8877af860371be69
7599 Author: Carl Worth <cworth@cworth.org>
7600 Date: Wed Jan 16 08:11:51 2008 -0800
7602 Fix create-for-stream test to log its failure properly
7604 Without this, a failure of this test won't be nicely reported
7605 in the post-make-check summary. (Also fix a silly little typo
7606 in the svg-clip test.)
7608 test/Makefile.am | 1 -
7609 test/create-for-stream.c | 13 +++++++++++--
7610 test/svg-clip.c | 2 +-
7611 3 files changed, 12 insertions(+), 4 deletions(-)
7613 commit 57c2b75c229ac7811c573548ae50e6b0e4ecf862
7614 Author: Vladimir Vukicevic <vladimir@pobox.com>
7615 Date: Tue Jan 15 14:27:14 2008 -0800
7617 [quartz] Store the CGFontRef and reuse it for rendering
7619 Previously the CGFontRef was recreated each time in show_glyphs; this
7620 caused the font to get re-embedded in any PDF files that were being
7621 generated through Quartz.
7623 src/cairo-atsui-font.c | 18 ++++++++++++++++++
7624 src/cairo-quartz-private.h | 3 +++
7625 src/cairo-quartz-surface.c | 10 ++--------
7626 3 files changed, 23 insertions(+), 8 deletions(-)
7628 commit 968eaf3c44f37ada9c1d7005fc84ead797e11b58
7629 Author: Chris Wilson <chris@chris-wilson.co.uk>
7630 Date: Mon Jan 14 18:09:32 2008 +0000
7632 [cairo-xlib] Fixup --disable-xlib-xrender
7634 Fixup the headers and boilerplate to compile and run correctly when
7635 configured with --disable-xlib-xrender.
7637 boilerplate/Makefile.am | 2 +-
7638 boilerplate/cairo-boilerplate-xlib-private.h | 2 +
7639 boilerplate/cairo-boilerplate-xlib.c | 29 +++++++++++++++----------
7640 boilerplate/cairo-boilerplate.c | 2 +-
7641 src/Makefile.am | 2 +-
7642 src/cairo-freelist-private.h | 3 +-
7643 src/cairo-xlib-display.c | 1 +
7644 src/cairo-xlib-private.h | 6 +----
7645 src/cairo-xlib-screen.c | 1 +
7646 src/cairo-xlib-surface-private.h | 2 +
7647 src/cairo-xlib-surface.c | 6 +++++
7648 src/cairo-xlib-xrender-private.h | 3 --
7649 src/cairo-xlib-xrender.h | 8 +++---
7650 test/xlib-surface.c | 1 -
7651 14 files changed, 38 insertions(+), 30 deletions(-)
7653 commit 22d7f311f7733a57ece5d91708b2b5da9b71de86
7654 Author: Behdad Esfahbod <behdad@behdad.org>
7655 Date: Mon Jan 14 16:14:02 2008 -0500
7657 [scaled-font] Upgrade glyph mask as needed in case of mixed-format glyphs
7659 In ecb895803b9d2a3fd142f4a2c694ca08c5581f0e Carl made fallback show_glyphs
7660 always use a A8 mask in case of mixed-format glyphs. That's suboptimal if
7661 there are ARGB32 glyphs. Using masks smartly we can implement the desired
7664 src/cairo-image-surface.c | 18 +++++++++++++++
7665 src/cairo-scaled-font.c | 54 +++++++++++++++++++++++++--------------------
7666 src/cairoint.h | 3 ++
7667 3 files changed, 51 insertions(+), 24 deletions(-)
7669 commit a5e5c1b5b04dd1d1138e96b7f4c097f14a1cd2cd
7670 Author: Chris Wilson <chris@chris-wilson.co.uk>
7671 Date: Sun Jan 13 15:00:58 2008 +0000
7673 [test] Add a custom hook to summarise the failures.
7675 Add a check-local hook that scans the log fails and displays a list
7676 of failed tests (and the failing targets).
7678 test/Makefile.am | 18 ++++++++++++++++++
7679 1 files changed, 18 insertions(+), 0 deletions(-)
7681 commit 8d6249b2c1200dfaf3e98c40e82ab2796e9ef28c
7682 Author: Chris Wilson <chris@chris-wilson.co.uk>
7683 Date: Sun Jan 13 11:40:53 2008 +0000
7685 [cairo-scaled-font] Add missing matrix guard to cairo_scaled_font_create().
7687 cairo_scaled_font_create() did not check the user supplied ctm was valid,
7688 triggering an assertion later when computing the scale factors.
7690 src/cairo-scaled-font.c | 3 +++
7691 1 files changed, 3 insertions(+), 0 deletions(-)
7693 commit 3f59ef95482db478230bb7634209bb826b6a06d0
7694 Author: Chris Wilson <chris@chris-wilson.co.uk>
7695 Date: Sun Jan 13 11:21:39 2008 +0000
7697 [cairo-matrix] Tidy usage of HAVE_ISFINITE.
7699 Use a macro to switch between isfinite() and its fallback in order to
7700 avoid using an #ifdef from within a function.
7702 src/cairo-gstate.c | 25 ++++++-------------------
7703 src/cairo-matrix.c | 25 ++++++-------------------
7704 2 files changed, 12 insertions(+), 38 deletions(-)
7706 commit 5e32dcf863cc8f40e2679c8c8c42e3ac927ab3c9
7707 Author: Chris Wilson <chris@chris-wilson.co.uk>
7708 Date: Sun Jan 13 11:10:28 2008 +0000
7710 [cairo-gstate] Check that the matrix remains invertible.
7712 Ensure that the ctm remains invertible after multiplying the user
7713 supplied matrices. Although the arguments are checked so that they are
7714 valid per se, we double check that the result after multiplication is
7715 still a valid invertible matrix. This should catch pathological cases
7716 where the user concatenates a long series of matrix operations, which
7717 either exceed our numerical limits or become degenerate through rounding
7720 src/cairo-gstate.c | 16 ++++++++++++++++
7721 1 files changed, 16 insertions(+), 0 deletions(-)
7723 commit 2f600affaa9ac3537013c69643878731a2f4389e
7724 Author: Chris Wilson <chris@chris-wilson.co.uk>
7725 Date: Sun Jan 13 11:02:55 2008 +0000
7727 [cairo-gstate] Add isfinite guards to the transformation ops.
7729 If we have isfinite() available use it to check that the user supplied
7730 arguments are valid.
7732 src/cairo-gstate.c | 21 +++++++++++++++++++++
7733 1 files changed, 21 insertions(+), 0 deletions(-)
7735 commit 3fed79d1c24f07618243bb197b44a9fd106aebbc
7736 Author: Chris Wilson <chris@chris-wilson.co.uk>
7737 Date: Sun Jan 13 10:28:11 2008 +0000
7739 [cairo-paginated-surface] Set error on surface for operations done its behalf.
7741 Ensure that the error is propagated to the target surface if we fail
7742 whilst performing an operation on its behalf, for example set the size
7743 of the paginated surface.
7745 src/cairo-paginated-surface.c | 5 +++--
7746 1 files changed, 3 insertions(+), 2 deletions(-)
7748 commit 481b88dd6b19c267feaf05652974225e86aa8007
7749 Author: Chris Wilson <chris@chris-wilson.co.uk>
7750 Date: Sat Jan 12 20:35:56 2008 +0000
7752 [cairo-pattern] Add an ASSERT_NOT_REACHED
7754 On the default case for an unknown pattern type, add an assert that the
7755 code is never reached, and just in case upgrade the error to a fatal
7756 PATTERN_TYPE_MISMATCH.
7758 src/cairo-pattern.c | 3 ++-
7759 1 files changed, 2 insertions(+), 1 deletions(-)
7761 commit 973d5fa8a50fbb0fb760f2e32a227a6238d074da
7762 Author: Chris Wilson <chris@chris-wilson.co.uk>
7763 Date: Sat Jan 12 11:04:03 2008 +0000
7767 A couple of tests were out of order, causing a bit of confusion in the
7770 test/.gitignore | 2 +-
7771 test/Makefile.am | 6 +++---
7772 2 files changed, 4 insertions(+), 4 deletions(-)
7774 commit ac98c9e572135f5f46303ce49e6a04f86efe2676
7775 Author: Chris Wilson <chris@chris-wilson.co.uk>
7776 Date: Sat Jan 12 10:49:48 2008 +0000
7778 [test/rel-path] Check that invalid relative paths raise an error.
7780 Check that NO_CURRENT_PATH is raised if a relative path op is used
7783 test/rel-path.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
7784 1 files changed, 66 insertions(+), 0 deletions(-)
7786 commit 6cc75cfe5b962566938189b5a7dd63135e981300
7787 Author: Chris Wilson <chris@chris-wilson.co.uk>
7788 Date: Sat Jan 12 10:30:15 2008 +0000
7790 [cairo] Harden the text API against NULL strings.
7792 Handle NULL strings in cairo_show_(text|glyph),
7793 cairo_(text|glyph)_(extents|path) without crashing.
7795 src/cairo.c | 6 ++++++
7796 1 files changed, 6 insertions(+), 0 deletions(-)
7798 commit 864dab828b4c860668adb48ff9361e9969b5259f
7799 Author: Chris Wilson <chris@chris-wilson.co.uk>
7800 Date: Sat Jan 12 10:01:36 2008 +0000
7802 [test/text-zero-len] Test passing NULLs to the API.
7804 Check that the public API handles NULL - at the moment the code
7805 is a little inconsistent and crashes!
7807 test/text-zero-len.c | 45 ++++++++++++++++++++++++++++++++++++++++++++-
7808 1 files changed, 44 insertions(+), 1 deletions(-)
7810 commit ae1e044e328deec7a430de3724a7ae0ad958d22d
7811 Author: Chris Wilson <chris@chris-wilson.co.uk>
7812 Date: Sat Jan 12 00:31:42 2008 +0000
7814 [cairo-matrix] Use isfinite() to check matrix determinant.
7816 The current NaN check is insufficient as it classifies inf as a valid
7817 determinant. We can improve the test by using isfinite() - but only
7818 when it is available. We use the feature test macros as being the
7819 simplest way of determining the presence of isfinite() as it may be
7820 implemented as a macro, making checking for its usability troublesome
7823 src/cairo-matrix.c | 20 ++++++++++++++++++++
7824 1 files changed, 20 insertions(+), 0 deletions(-)
7826 commit 3610841910714f0bca07caeb606be9c69fd9d4c8
7827 Author: Kouhei Sutou <kou@cozmixng.org>
7828 Date: Fri Jan 11 14:36:05 2008 -0800
7830 Fix typo in comment.
7832 src/cairo-quartz-surface.c | 2 +-
7833 1 files changed, 1 insertions(+), 1 deletions(-)
7835 commit 0b9124069271593be390d9835fcd1527b20770e3
7836 Author: Chris Wilson <chris@chris-wilson.co.uk>
7837 Date: Fri Jan 11 21:55:52 2008 +0000
7839 [check-plt.sh] Ensure that $MAKE is defined.
7841 Copy the check from check-def.sh now that $MAKE is also used in
7844 src/check-plt.sh | 1 +
7845 1 files changed, 1 insertions(+), 0 deletions(-)
7847 commit 92c744978f0c08456cf0ec8dca87abebf6a6d150
7848 Author: Chris Wilson <chris@chris-wilson.co.uk>
7849 Date: Fri Jan 11 21:54:58 2008 +0000
7851 [Makefile.am] Tweak the flags passed to CPP.
7853 Adjust the flags passed to $(CPP) to match those used in the
7854 surrounding targets (splint and sparse), which should improve their
7857 src/Makefile.am | 2 +-
7858 1 files changed, 1 insertions(+), 1 deletions(-)
7860 commit 36f5d69a1165f81e97b50c64dde33fa19db36326
7861 Author: Behdad Esfahbod <behdad@behdad.org>
7862 Date: Fri Jan 11 16:48:55 2008 -0500
7864 [src/Makefile.am] Tweak includes a bit
7866 src/Makefile.am | 4 ++--
7867 1 files changed, 2 insertions(+), 2 deletions(-)
7869 commit ed113ef4229e23d137b2673f233a23064f51ff24
7870 Author: Chris Wilson <chris@chris-wilson.co.uk>
7871 Date: Fri Jan 11 21:13:05 2008 +0000
7873 [check] Move the hidden symbol check into check-{def,plt}.sh
7875 Behdad, once again the arbiter of good taste, objected to the use of
7876 the dotfile within the Makefile, and suggested that one calls $MAKE to
7877 pre-process the source file from within the check scripts.
7879 Doing so removes the ugly wart added to Makefile.am...
7881 src/Makefile.am | 14 +++++---------
7882 src/check-def.sh | 4 ++--
7883 src/check-has-hidden-symbols.c | 11 +----------
7884 src/check-plt.sh | 4 ++--
7885 4 files changed, 10 insertions(+), 23 deletions(-)
7887 commit bcf0c442b91b553b226c78d254906f7127013391
7888 Merge: ecb8958... 8a6a0b4...
7889 Author: Carl Worth <cworth@cworth.org>
7890 Date: Fri Jan 11 12:30:15 2008 -0800
7892 Merge branch 'master' of git.cairographics.org:/git/cairo into cairo
7894 commit ecb895803b9d2a3fd142f4a2c694ca08c5581f0e
7895 Author: Carl Worth <cworth@cworth.org>
7896 Date: Fri Jan 11 12:28:49 2008 -0800
7898 Migrate glyph mask to A8 in case of mixed-format glyphs.
7900 This fixes the remaining image-backend problems with bug 13479:
7902 Ugly Courier New font with cairo 1.4.12
7903 https://bugs.freedesktop.org/show_bug.cgi?id=13479
7905 although the xlib-backend had been fixed previously.
7907 Specifically, if an A1 glyph is first encountered, then subsequent
7908 glyphs will still be rendered with antialiasing, (previously they
7909 would be rendered very poorly without antialiasing).
7911 Similarly, if the first glyph encountered has component-alpha
7912 sub-pixel antialiasing and then an A1 or A8 glyph is encountered
7913 then all glyphs will rendered in A8 (grayscale antialiasing).
7914 Previously, the non-subpixel-antialiased glyphs would not appear
7917 src/cairo-scaled-font.c | 50 ++++++++++++++++++++++++++++++++++++++++++++--
7918 1 files changed, 47 insertions(+), 3 deletions(-)
7920 commit 8a6a0b43dc249acb0ad8cb9c6f16360294bcfdc3
7921 Author: Chris Wilson <chris@chris-wilson.co.uk>
7922 Date: Fri Jan 11 18:47:19 2008 +0000
7924 [check] Replace compiled symbol visibility checker with shell script.
7926 Behdad Esfahbod objected to the execution of a compiled program to check
7927 symbol visibility as it makes cross-compilation more difficult.
7929 Instead of executing the program, this method conditionally exports
7930 a variable if cairo uses symbol hiding and scans the executable for
7931 that symbol in a similar manner to check-def.sh. This has the slight
7932 advantage of using the Makefile for performing the compilation, rather
7933 than attempting to invoke $(CPP) from a shell script within the test
7936 src/Makefile.am | 12 ++++++++----
7937 src/cairo-compiler-private.h | 5 ++---
7938 src/check-def.sh | 11 ++++++-----
7939 src/check-has-hidden-symbols.c | 12 ++++++++++++
7940 src/check-plt.sh | 14 ++++++++------
7941 src/compiler-supports-visibility.c | 6 ------
7942 6 files changed, 36 insertions(+), 24 deletions(-)
7944 commit 982f65081f987e2c44f05942411c031bd32fd968
7945 Author: Chris Wilson <chris@chris-wilson.co.uk>
7946 Date: Fri Jan 11 17:25:33 2008 +0000
7948 [cairoint.h] Compile time check for a font backend.
7950 Add a paranoid check that at least one font backend is available - this
7951 should have been already caught by configure, but it should help if a new
7952 font backend is ever added.
7954 src/cairoint.h | 5 +++++
7955 1 files changed, 5 insertions(+), 0 deletions(-)
7957 commit 6d3ed950ea075ff2a5a569365b46c3cfc4152787
7958 Author: Chris Wilson <chris@chris-wilson.co.uk>
7959 Date: Fri Jan 11 16:16:20 2008 +0000
7961 [check] Skip def/plt tests if the compiler doesn't support symbol hiding.
7963 Compile a trivial program such that it reports whether cairo is hiding
7964 its internal symbols and skip the tests that depend upon it.
7966 This prevents false errors, such as bug 12726, where the user is
7967 presented with a scary make check failure.
7969 src/Makefile.am | 5 +++++
7970 src/cairo-compiler-private.h | 3 +++
7971 src/check-def.sh | 5 +++++
7972 src/check-plt.sh | 5 +++++
7973 src/compiler-supports-visibility.c | 6 ++++++
7974 5 files changed, 24 insertions(+), 0 deletions(-)
7976 commit be146f02e0e220aa70217bf348beef301a56f898
7977 Author: Chris Wilson <chris@chris-wilson.co.uk>
7978 Date: Fri Jan 11 15:28:52 2008 +0000
7980 [Makefile.am] Update cairo.def after the set of enabled features is modified.
7982 Bug 13342 corresponds with a rebuild of cairo after removing
7983 --enable-glitz from the configure line. Under these circumstances,
7984 the remaining installable headers are not modified and therefore
7985 cairo.def is not rebuilt and still expects to find a reference to
7986 cairo_glitz_surface_create. The solution is to rebuild cairo.def after
7987 any modification to the 'public' headers (installable or otherwise).
7989 src/Makefile.am | 2 +-
7990 1 files changed, 1 insertions(+), 1 deletions(-)
7992 commit c26784dbb6d3c90f9e3fa722efa0f9f4fd59bd4c
7993 Author: Chris Wilson <chris@chris-wilson.co.uk>
7994 Date: Fri Jan 11 14:04:56 2008 +0000
7996 [configure] Version bump for $(EXEEXT)
7998 Adrian Johnson found that adding $(EXEEXT) to TESTS broke the build
7999 under mingw. After a bit of investigation, the issue was tracked down
8000 to being caused by automake-1.7. Bump the autotools version
8001 requirements to avoid the breakage.
8003 configure.in | 6 ++++--
8004 1 files changed, 4 insertions(+), 2 deletions(-)
8006 commit 2574cc35b3478e7333bd4953e90a3edc5f7c4f16
8007 Author: Adrian Johnson <ajohnson@redneon.com>
8008 Date: Fri Jan 11 22:07:26 2008 +1030
8010 win32-printing: Do not clip and paint with an empty path
8012 For non solid patterns _fill and _show_glyphs sets a clip
8013 path then paints the pattern. Previously if the path is empty
8014 SelectClipPath did not set clip. This was probably the cause
8015 of bug 13657 where the entire page was black.
8017 Fix this by not painting anything if the path is empty.
8019 src/cairo-win32-printing-surface.c | 8 ++++++--
8020 src/cairo-win32-private.h | 1 +
8021 2 files changed, 7 insertions(+), 2 deletions(-)
8023 commit 7ef4caaf11379cb50a08520f729552553de60660
8024 Author: Adrian Johnson <ajohnson@redneon.com>
8025 Date: Fri Jan 11 22:06:51 2008 +1030
8027 win32-printing: use fill instead of clip for non win32 fonts
8029 Non Windows fonts are drawn by getting the outline path, setting
8030 this is the clip path, and painting the source pattern. For
8031 solid colors this can avoid the clip and just do a fill.
8033 src/cairo-win32-printing-surface.c | 14 ++++++++++++--
8034 1 files changed, 12 insertions(+), 2 deletions(-)
8036 commit ef56a6fd93d6192ee1f1948d11c75878aea40f4e
8037 Author: Adrian Johnson <ajohnson@redneon.com>
8038 Date: Fri Jan 11 22:05:54 2008 +1030
8040 PS: Don't use language level check in EPS
8042 As 'showpage' and 'quit' can not be used in EPS.
8044 src/cairo-ps-surface.c | 16 ++++++++--------
8045 1 files changed, 8 insertions(+), 8 deletions(-)
8047 commit b703199525ca02274ef5a8474cdae0cb70705964
8048 Author: Adrian Johnson <ajohnson@redneon.com>
8049 Date: Fri Jan 11 22:05:13 2008 +1030
8051 Type1-subset: Font name may be NULL
8053 If the FreeType face->family_name is NULL use a CairoFont-x-y name.
8055 src/cairo-type1-subset.c | 37 ++++++++++++++++++++++++-------------
8056 1 files changed, 24 insertions(+), 13 deletions(-)
8058 commit 6418a8be8719c9a969d9ec1f8624c841db9d2b90
8059 Author: Chris Wilson <chris@chris-wilson.co.uk>
8060 Date: Thu Jan 10 21:35:05 2008 +0000
8062 [test/.valgrind-suppressions] Update for amd64/sid
8064 Update the valgrind suppressions for the libz and Xrm spam.
8066 test/.valgrind-suppressions | 20 +++++++++++++++++---
8067 1 files changed, 17 insertions(+), 3 deletions(-)
8069 commit 2e5f278da11369073eefeeedff7211bacb31ace1
8070 Author: Chris Wilson <chris@chris-wilson.co.uk>
8071 Date: Thu Jan 10 22:11:42 2008 +0000
8073 [cairo-pattern] Free the copied pattern on error.
8075 Free the locally allocated pattern if the copy fails.
8077 src/cairo-pattern.c | 10 +++++++++-
8078 1 files changed, 9 insertions(+), 1 deletions(-)
8080 commit db246f2fa22920a996a32f11233228e9af1d1abb
8081 Author: Chris Wilson <chris@chris-wilson.co.uk>
8082 Date: Thu Jan 10 21:32:47 2008 +0000
8084 [cairo-traps] Typo caught by valgrind.
8086 ==3429== Conditional jump or move depends on uninitialised value(s)
8087 ==3429== at 0x4E3FB0F: _cairo_box_round_to_rectangle (cairo-fixed-private.h:196)
8088 ==3429== by 0x4E34B29: _cairo_clip_intersect_to_rectangle (cairo-clip.c:162)
8089 ==3429== by 0x4E31943: cairo_push_group_with_content (cairo.c:495)
8090 ==3429== by 0x403044: draw (clip-zero.c:48)
8091 ==3429== by 0x404221: cairo_test_expecting (cairo-test.c:377)
8092 ==3429== by 0x64701C3: (below main) (libc-start.c:222)
8094 Caused by setting extents->p2.y to zero twice.
8096 src/cairo-traps.c | 2 +-
8097 1 files changed, 1 insertions(+), 1 deletions(-)
8099 commit 10f6ef98f645d9f9f54d88fcf18683771258d36f
8100 Author: Chris Wilson <chris@chris-wilson.co.uk>
8101 Date: Thu Jan 10 17:50:45 2008 +0000
8103 [gitignore] Add mkinstalldirs.
8105 Ignore another autoconf utility script.
8108 1 files changed, 1 insertions(+), 0 deletions(-)
8110 commit da769b53e89b1f1ff91886a12a388e5fadec47bb
8111 Author: Chris Wilson <chris@chris-wilson.co.uk>
8112 Date: Thu Jan 10 17:23:56 2008 +0000
8114 [configure.in] Fixup usage of _CHECK_FUNCS_WITH_FLAGS within PKG_CHECK_MODULE.
8116 An unwanted side-effect of the recent fix for the paranoid extra check
8117 for a usable library was that it broke the logic for the absence of the
8120 configure.in | 11 ++++++-----
8121 1 files changed, 6 insertions(+), 5 deletions(-)
8123 commit 409e91b576ad992b41c66c952931c4a3e652dbf9
8124 Author: Chris Wilson <chris@chris-wilson.co.uk>
8125 Date: Thu Jan 10 15:53:54 2008 +0000
8127 [cairo-pdf-surface] Review error handling.
8129 Ensure all errors are propagated back to the caller with locally
8130 allocated resources destroy as required.
8132 src/cairo-pdf-surface.c | 261 ++++++++++++++++++++++++++++++++---------------
8133 1 files changed, 177 insertions(+), 84 deletions(-)
8135 commit 6134600988a6b5fcbc72f7897bfc83b37949b677
8136 Author: Chris Wilson <chris@chris-wilson.co.uk>
8137 Date: Tue Jan 8 14:14:33 2008 +0000
8139 [cairo-pdf-surface] Skip emitting the font subset if not among resources.
8141 Do not emit the font_subset if we did not successfully add it to the list
8142 of font resources - can only happen after an error
8144 src/cairo-pdf-surface.c | 35 +++++++++++++++++++++++------------
8145 1 files changed, 23 insertions(+), 12 deletions(-)
8147 commit 755a4bb51b458fbc059b6306e371d9dc1c906b04
8148 Author: Chris Wilson <chris@chris-wilson.co.uk>
8149 Date: Thu Jan 10 15:30:42 2008 +0000
8151 [test] Win32 printing backend testing depends upon ghostscript
8153 Using the Win32 printing backend requires ghostscript, so only enable
8154 those tests if we detect 'gs' during configure.
8156 boilerplate/cairo-boilerplate.c | 2 ++
8157 configure.in | 17 +++++++++++++++++
8158 2 files changed, 19 insertions(+), 0 deletions(-)
8160 commit 02b0743458655f44ffc4d429b4ac355df42071f1
8161 Author: Chris Wilson <chris@chris-wilson.co.uk>
8162 Date: Thu Jan 10 15:22:16 2008 +0000
8164 [cairo-pattern] Rearrange CAIRO_MUTEX_INITIALIZE.
8166 test/pattern-get-type exposes a bug whereby we try to acquire the
8167 _cairo_pattern_solid_pattern_cache_lock before initializing the
8168 mutexes. To fix this move the CAIRO_MUTEX_INITIALIZE() from the
8169 depths of _cairo_pattern_init() and perform it at the public entry
8172 src/cairo-pattern.c | 14 ++++++++++++--
8173 1 files changed, 12 insertions(+), 2 deletions(-)
8175 commit cbe8d3855efd1254089c1c855c337df326ea52d7
8176 Author: Chris Wilson <chris@chris-wilson.co.uk>
8177 Date: Thu Jan 10 15:14:15 2008 +0000
8179 [test] Fixup make check for mingw
8181 Add EXEEXT to TESTS so that mingw builds the correct target.
8183 perf/Makefile.am | 8 +-
8184 test/Makefile.am | 313 +++++++++++++++++++++++++++---------------------------
8185 2 files changed, 161 insertions(+), 160 deletions(-)
8187 commit 9ae4b219e1c5b7a8c139b004a97d86a1ce1d408c
8188 Author: Chris Wilson <chris@chris-wilson.co.uk>
8189 Date: Thu Jan 10 14:47:16 2008 +0000
8191 [test/solid-pattern-cache-stress] Check for drand48().
8193 Apply an alternative rand() function if drand48() is not available for
8197 test/solid-pattern-cache-stress.c | 12 ++++++++++--
8198 2 files changed, 11 insertions(+), 3 deletions(-)
8200 commit 648289c639618cc31394f889f6e329ddcaca41ee
8201 Author: Chris Wilson <chris@chris-wilson.co.uk>
8202 Date: Thu Jan 10 14:36:57 2008 +0000
8204 [configure.in] Add paranoid double checking for (svg|pdf)2png
8206 Due to my incomplete cross-build environment, configure detects the
8207 presence of rsvg and poppler, but they cannot be used. To make my life
8208 easier, add a check similar to that used for fontconfig to ensure the
8209 libraries are usable before compiling the optional test utilites.
8211 configure.in | 6 ++++--
8212 1 files changed, 4 insertions(+), 2 deletions(-)
8214 commit 909c57ce158e41bf2761f82b2678dc1f390051d2
8215 Author: Chris Wilson <chris@chris-wilson.co.uk>
8216 Date: Thu Jan 10 12:45:58 2008 +0000
8218 [cairo-pdf-operators] Be consistent in error checks.
8220 Consistently check the output status at the end of each function -
8221 helps with early error detection and even improves test code coverage!
8223 src/cairo-pdf-operators.c | 39 ++++++++++++++++++++-------------------
8224 1 files changed, 20 insertions(+), 19 deletions(-)
8226 commit 4ffb0a80b3aa9e54804082a24c58db0d2527073d
8227 Author: Chris Wilson <chris@chris-wilson.co.uk>
8228 Date: Thu Jan 10 12:51:07 2008 +0000
8230 [cairo-paginated-surface] Call the abstract cairo_surface_show_page ().
8232 Use the generic surface layer cairo_surface_show_page() instead of
8233 directly calling cairo_paginated_surface_show_page(), as the higher
8234 level performs more error checking.
8236 src/cairo-paginated-surface.c | 2 +-
8237 1 files changed, 1 insertions(+), 1 deletions(-)
8239 commit 9d49c4b10e636c0868d15c50cb1d2a724000fc07
8240 Author: Chris Wilson <chris@chris-wilson.co.uk>
8241 Date: Thu Jan 10 14:18:25 2008 +0000
8243 [configure] Print version info in summary.
8245 Add the cairo version to the configure summary.
8247 configure.in | 3 ++-
8248 1 files changed, 2 insertions(+), 1 deletions(-)
8250 commit ea4dec08f7c62ad3c3e81aa06ce0dd5a08936c45
8251 Author: Chris Wilson <chris@chris-wilson.co.uk>
8252 Date: Thu Jan 10 13:50:42 2008 +0000
8254 [configure.in] Fixup fontconfig check.
8256 Correct the check for FcFini() so that the result is actually used.
8258 configure.in | 4 ++--
8259 1 files changed, 2 insertions(+), 2 deletions(-)
8261 commit f4e7e7d6b4bb8e96dc8aef1ac673b8d64f65634c
8262 Author: Chris Wilson <chris@chris-wilson.co.uk>
8263 Date: Thu Jan 10 13:08:23 2008 +0000
8265 [cairo-path-bounds] _cairo_path_fixed_bounds() should never fail.
8267 _cairo_path_fixed_bounds() should never fail so change return type
8268 to void and update caller.
8270 src/cairo-analysis-surface.c | 12 ++++--------
8271 src/cairo-path-bounds.c | 8 ++++----
8272 2 files changed, 8 insertions(+), 12 deletions(-)
8274 commit 5fad969317186520ebbe09f3767907fb3bfd6164
8275 Author: Chris Wilson <chris@chris-wilson.co.uk>
8276 Date: Mon Jan 7 10:03:51 2008 +0000
8278 [cairo-ft-font] Destroy unscaled font ref on error.
8280 Destroy the local reference taken to the unscaled font if we encounter
8281 an error whilst creating the derived scaled font.
8283 src/cairo-ft-font.c | 2 ++
8284 1 files changed, 2 insertions(+), 0 deletions(-)
8286 commit 3b1411167c7d9fd94536c69de54dacfaf820e916
8287 Author: Chris Wilson <chris@chris-wilson.co.uk>
8288 Date: Thu Jan 10 12:55:08 2008 +0000
8290 [headers] Brute force fixup of including cairoint.h from boilerplate.
8292 More the majority of the typedefs from cairoint.h to
8293 cairo-types-private.h and fixup cairo-pdf-operators-private.h to
8294 avoid including cairoint.h.
8296 A better approach would seem to be to rationalise cairoint.h so that it
8297 only provides the symbol aliasing, moving the types and functions to
8298 more appropriate private headers. However, this fixes the immediate
8299 problem of running make check!
8301 src/cairo-pdf-operators-private.h | 3 +-
8302 src/cairo-types-private.h | 169 ++++++++++++++++++++++++++++++++++++
8303 src/cairoint.h | 170 +------------------------------------
8304 3 files changed, 172 insertions(+), 170 deletions(-)
8306 commit 40142d4bf4184dcae21c85d909d33ddaa4822636
8307 Author: Adrian Johnson <ajohnson@redneon.com>
8308 Date: Thu Jan 10 02:57:30 2008 +1030
8310 Set the PS level to to minimum required
8312 A problem with the previous commit for checking the PS level is that
8313 with the default PS level of 3 it prevents PS files from printing on
8314 Level 2 printers even if no Level 3 operators are used.
8316 As the PS header is created after the page content has been generated,
8317 it is easy to check the PS Level actually required and set this in the
8318 header and PS level check code.
8320 src/cairo-ps-surface-private.h | 1 +
8321 src/cairo-ps-surface.c | 10 +++++++---
8322 2 files changed, 8 insertions(+), 3 deletions(-)
8324 commit 9bccc968466e6b83ceccb76680d5f54912424e8e
8325 Author: Adrian Johnson <ajohnson@redneon.com>
8326 Date: Thu Jan 10 02:34:02 2008 +1030
8328 Add PS Level check to PS output
8330 http://bugzilla.mozilla.org/show_bug.cgi?id=406376
8332 reported problems with cairo PostScipt output printing black boxes
8333 instead of images. This was found to caused by printing Level 3
8334 PostScript to a Level 2 printer.
8336 Add some PostScript code to to the cairo PS prolog to check the
8337 language level of the printer. If the printer can not print the job, a
8338 message stating the required language level is printed and the job is
8341 src/cairo-ps-surface.c | 16 ++++++++++++----
8342 1 files changed, 12 insertions(+), 4 deletions(-)
8344 commit f20a1a40c3f6d95b4dc89ae4198ad81b7092450c
8345 Author: Adrian Johnson <ajohnson@redneon.com>
8346 Date: Wed Jan 9 01:20:34 2008 +1030
8348 Fix MSVC 2008 compiler warnings - bug 13698
8350 src/cairo-win32-surface.c | 4 ++--
8351 1 files changed, 2 insertions(+), 2 deletions(-)
8353 commit 47bebc8f1d0b6524f8d1eff1fa3f981f1e4c4c33
8354 Author: Adrian Johnson <ajohnson@redneon.com>
8355 Date: Wed Jan 9 01:18:44 2008 +1030
8357 Fix win32-font problems with Type 1 fonts
8359 This should fix the problems reported in
8361 http://lists.cairographics.org/archives/cairo/2007-November/012172.html
8363 The problem is that GetCharacterPlacement() used in
8364 _win32_scaled_font_text_to_glyphs returns utf16 instead of glyph
8365 indices when Type 1 fonts are used.
8367 This has been fixed by using GetGlyphIndices instead of
8368 GetCharacterPlacement if the font is a Type 1.
8370 _win32_scaled_font_map_glyphs_to_unicode has been fixed work with Type 1
8371 glyph indices. It now uses GetFontUnicodeRanges and GetGlyphIndices
8372 to do the reverse lookup.
8374 src/cairo-win32-font.c | 261 ++++++++++++++++++++++++++++++++++++++++--------
8375 1 files changed, 218 insertions(+), 43 deletions(-)
8377 commit 25f24e79f84e0c04a8c6944cc6e018e9eb2df997
8378 Author: Adrian Johnson <ajohnson@redneon.com>
8379 Date: Mon Jan 7 21:19:35 2008 +1030
8381 PDF: Update the PDF page structure comment
8383 src/cairo-pdf-surface.c | 68 +++++-----------------------------------------
8384 1 files changed, 8 insertions(+), 60 deletions(-)
8386 commit 21f842f0dfd5dd3cc1fd3b56db034fc4e209adaa
8387 Author: Adrian Johnson <ajohnson@redneon.com>
8388 Date: Mon Jan 7 21:17:26 2008 +1030
8390 PDF: Remove copy_page
8392 Now that the content stream is no longer split into multiple streams
8393 it is not possible to implement a copy_page function that shares the
8394 common content between pages.
8396 Remove this function so the paginated surface will rewrite the
8397 content from the meta surface.
8399 src/cairo-pdf-surface.c | 15 +--------------
8400 1 files changed, 1 insertions(+), 14 deletions(-)
8402 commit e2adb921f8b7619410db971d1524cbeab2dd6102
8403 Author: Adrian Johnson <ajohnson@redneon.com>
8404 Date: Mon Jan 7 21:15:18 2008 +1030
8406 PDF: Put each fallback image in a separate group
8408 Each fallback image needs to be in a separate group in the knockout
8409 group. Otherwise transparent edges of adjacent fallback images will
8410 composite with each other creating visible seams between the images.
8412 src/cairo-pdf-surface-private.h | 2 +-
8413 src/cairo-pdf-surface.c | 26 ++++++++++++++++++++------
8414 2 files changed, 21 insertions(+), 7 deletions(-)
8416 commit d6a84302a07d2b7e67584029fdb7a882ad246a09
8417 Author: Adrian Johnson <ajohnson@redneon.com>
8418 Date: Mon Jan 7 21:11:46 2008 +1030
8420 Fix analysis of transformed meta surfaces
8422 src/cairo-analysis-surface.c | 11 ++++++++---
8423 1 files changed, 8 insertions(+), 3 deletions(-)
8425 commit 3c725d50db43b848b4ad8f35bcabd5b1d0395924
8426 Author: Adrian Johnson <ajohnson@redneon.com>
8427 Date: Mon Jan 7 21:09:04 2008 +1030
8429 PDF: Make _SOURCE operator work inside meta surface patterns
8431 src/cairo-pdf-surface.c | 16 +++++++++++++---
8432 1 files changed, 13 insertions(+), 3 deletions(-)
8434 commit 6d6b74ac4ce3a9bcab45c338fc31e5a83823cde6
8435 Author: Adrian Johnson <ajohnson@redneon.com>
8436 Date: Mon Jan 7 21:08:09 2008 +1030
8438 PDF: Support _OPERATOR_SOURCE when nothing under the operation
8440 CAIRO_OPERATOR_SOURCE operations on the PDF backend are now natively
8441 supported when there is nothing already underneath the operation.
8443 src/cairo-pdf-surface.c | 64 +++++++++++++++++++++-------------------------
8444 1 files changed, 29 insertions(+), 35 deletions(-)
8446 commit e195cb551caa40f309127ac7a39e4a17653966c8
8447 Author: Adrian Johnson <ajohnson@redneon.com>
8448 Date: Mon Jan 7 21:05:36 2008 +1030
8450 Add FALLBACK mode to paginated surface
8452 The PDF surface needs to know when the fallback images start so it can
8453 close off the content stream and create a knockout transparency group
8454 for the fallback images. Currently it does this by looking for
8455 operations with CAIRO_OPERATOR_SOURCE. PDF returns unsupported for
8456 _SOURCE during the analysis phase so _SOURCE will never appear during
8457 native operations. However this prevents the PDF surface from
8458 supporting _SOURCE operations that can be natively supported. For
8459 example a _SOURCE operation with nothing painting under it can be
8460 converted to _OVER and natively supported.
8462 A third mode, CAIRO_PAGINATED_MODE_FALLBACK, has been added. The
8463 paginated surface will set this mode before it paints finer-grained
8466 src/cairo-paginated-private.h | 22 +++++++++++++---------
8467 src/cairo-paginated-surface.c | 4 +++-
8468 src/cairo-pdf-surface.c | 2 +-
8469 src/cairo-types-private.h | 3 ++-
8470 4 files changed, 19 insertions(+), 12 deletions(-)
8472 commit d2a5d1ace64cb9efabcb065e7fc28667dd8f779d
8473 Author: Adrian Johnson <ajohnson@redneon.com>
8474 Date: Mon Jan 7 21:04:06 2008 +1030
8476 PDF: Remove the remaining code for splitting the content
8478 across multiple streams. This fixes the problem reported here
8480 http://lists.cairographics.org/archives/cairo/2007-December/012197.html
8482 src/cairo-pdf-surface-private.h | 20 +--
8483 src/cairo-pdf-surface.c | 429 +++++++++++----------------------------
8484 2 files changed, 123 insertions(+), 326 deletions(-)
8486 commit 099810b6c39cc6b5529f740282b64185cf56c8d7
8487 Author: Adrian Johnson <ajohnson@redneon.com>
8488 Date: Mon Jan 7 20:59:22 2008 +1030
8490 PDF: Perform all clipping in the content stream
8492 Previously this was done in a separate group. Now that the PDF backend
8493 has been re-organized to not interrupt the content stream the clipping
8494 can be done in the same stream.
8496 src/cairo-pdf-surface.c | 104 +++++-----------------------------------------
8497 1 files changed, 12 insertions(+), 92 deletions(-)
8499 commit 83630b1c70b24035b333ccfbbda8b67bd5fdd32e
8500 Author: Adrian Johnson <ajohnson@redneon.com>
8501 Date: Mon Jan 7 20:55:56 2008 +1030
8503 PDF: Emit all patterns after content stream
8505 To fix this performance issue
8507 http://lists.cairographics.org/archives/cairo/2007-December/012197.html
8509 the PDF surface needs to avoid starting and stopping the content
8510 stream every time it emits a pattern. This patch makes the PDF surface
8511 store a list of all patterns used while the content stream is written
8512 out then write out all the patterns after the content stream is
8515 src/cairo-pdf-surface-private.h | 48 ++-
8516 src/cairo-pdf-surface.c | 1128 ++++++++++++++++++++++-----------------
8517 2 files changed, 687 insertions(+), 489 deletions(-)
8519 commit b4e0864b960887fd71de85d514cb3e855c276080
8520 Author: Adrian Johnson <ajohnson@redneon.com>
8521 Date: Mon Jan 7 20:42:15 2008 +1030
8523 Use _cairo_pattern_create_copy() in cairo-surface.c
8525 Use _cairo_pattern_create_copy()/cairo_pattern_destroy() instead of
8526 _cairo_pattern_init_copy()/_cairo_pattern_fini() so the PDF backend
8527 can reference the patterns and destroy them later.
8529 src/cairo-surface.c | 84 +++++++++++++++++++++++++-------------------------
8530 1 files changed, 42 insertions(+), 42 deletions(-)
8532 commit 6ead8feaf3f87e12e686092386dddcc2faa62b7f
8533 Author: Adrian Johnson <ajohnson@redneon.com>
8534 Date: Mon Jan 7 20:41:43 2008 +1030
8536 Add _cairo_pattern_create_copy()
8538 src/cairo-pattern.c | 28 ++++++++++++++++++++++++++++
8539 src/cairoint.h | 4 ++++
8540 2 files changed, 32 insertions(+), 0 deletions(-)
8542 commit 26c6159b1e2f5481fb18f5f06f01063002dd6c98
8543 Author: Adrian Johnson <ajohnson@redneon.com>
8544 Date: Mon Jan 7 20:36:32 2008 +1030
8546 Move the PDF drawing operators into cairo-pdf-operators.c
8548 By defining PostScript functions the same as the PDF drawing
8549 operators, this code can be shared by both the PDF and PS backends.
8551 src/Makefile.am | 1 +
8552 src/cairo-pdf-operators-private.h | 106 ++++++++
8553 src/cairo-pdf-operators.c | 531 +++++++++++++++++++++++++++++++++++++
8554 src/cairo-pdf-surface-private.h | 3 +-
8555 src/cairo-pdf-surface.c | 442 ++++---------------------------
8556 5 files changed, 687 insertions(+), 396 deletions(-)
8558 commit a0e0aae32dfe44cca088736d10d208f328d50a34
8559 Author: Adrian Johnson <ajohnson@redneon.com>
8560 Date: Mon Jan 7 20:34:55 2008 +1030
8562 PDF: Remove the Type 3 outline glyph code
8564 This code is never used because outline glyphs that go through the
8565 fallback path are always embedded with Type 1 fallback. The only fonts
8566 that are embedded as Type 3 are bitmap fonts.
8568 src/cairo-pdf-surface.c | 90 +++-------------------------------------------
8569 1 files changed, 6 insertions(+), 84 deletions(-)
8571 commit 5b3f6405d8045d73d31d7e2e30db08e81e9e2360
8572 Author: Adrian Johnson <ajohnson@redneon.com>
8573 Date: Sun Jan 6 16:15:32 2008 +1030
8575 PDF: Fix gradient-zero-stops test failure
8577 src/cairo-pdf-surface.c | 24 ++++++++++++++++++++++++
8578 1 files changed, 24 insertions(+), 0 deletions(-)
8580 commit fb7407c9c4548fc033164790759c4e480b9d8fa0
8581 Author: Adrian Johnson <ajohnson@redneon.com>
8582 Date: Sun Jan 6 15:58:46 2008 +1030
8584 PS: Fix gradient-zero-stops test failure
8586 src/cairo-ps-surface.c | 18 ++++++++++++++++++
8587 1 files changed, 18 insertions(+), 0 deletions(-)
8589 commit f440d894e668994721248dc6c95a936a839870db
8590 Author: Chris Wilson <chris@chris-wilson.co.uk>
8591 Date: Sat Jan 5 21:20:45 2008 +0000
8593 Check errno for appropriate error return.
8595 After using fopen() and friends check the global errno to determine the
8596 most appropriate error return - especially important when running
8597 memfault, where correct reporting of NO_MEMORY errors is required.
8599 src/cairo-output-stream.c | 12 ++++++++++--
8600 src/cairo-png.c | 10 ++++++++--
8601 src/cairo-ps-surface.c | 11 ++++++++++-
8602 3 files changed, 28 insertions(+), 5 deletions(-)
8604 commit 68a441e582c6c887e65800302906ddd35cb0291e
8605 Author: Chris Wilson <chris@chris-wilson.co.uk>
8606 Date: Sat Jan 5 19:34:42 2008 +0000
8608 [cairo-analysis-surface] Return early if the traps is empty.
8610 If the mask is empty, there is nothing to do, so return an early SUCCESS.
8612 src/cairo-analysis-surface.c | 8 ++++----
8613 1 files changed, 4 insertions(+), 4 deletions(-)
8615 commit 481fd3b4c8d3972ce21399f81b2021a57ed58f00
8616 Author: Chris Wilson <chris@chris-wilson.co.uk>
8617 Date: Sat Jan 5 19:33:21 2008 +0000
8619 [cairo-traps] Return zero extents if it contains no traps.
8621 Previously, _cairo_traps_extents () returned the extents
8622 p1={INT_MAX, INT_MAX} p2={INT_MIN, INT_MIN} for an empty traps leading
8623 to integer overflow when computing the width using p2-p1 and causing
8624 further overflows within libpixman. [For example this caused the
8625 allocation of massive regions with test/mask and the PS backend.]
8627 src/cairo-gstate.c | 6 +++---
8628 src/cairo-traps.c | 6 +++++-
8629 2 files changed, 8 insertions(+), 4 deletions(-)
8631 commit be126b6842e979dbcb306b2f9f41a2114a149b9a
8632 Author: Chris Wilson <chris@chris-wilson.co.uk>
8633 Date: Sat Jan 5 19:22:57 2008 +0000
8635 [cairo-analysis-surface] Check for an empty transformed bbox.
8637 After transforming the bbox, check that it has not been projected into
8640 src/cairo-analysis-surface.c | 10 ++++++++--
8641 1 files changed, 8 insertions(+), 2 deletions(-)
8643 commit d9461733af36f2960525a9b33accf500447f5c64
8644 Author: Chris Wilson <chris@chris-wilson.co.uk>
8645 Date: Fri Jan 4 16:43:54 2008 +0000
8647 [cairo-ps-surface] Use ctime_r when available.
8649 Use the thread-safe (and non-allocating) ctime_r() instead of ctime()
8650 if supported by the platform.
8653 src/cairo-ps-surface.c | 7 ++++++-
8654 2 files changed, 7 insertions(+), 2 deletions(-)
8656 commit 7cf9a6e4e39b18f4967afdb7c3c71eca5f4ba8c7
8657 Author: Keith Packard <keithp@keithp.com>
8658 Date: Thu Jan 3 18:37:53 2008 -0800
8660 Directly check the miter corner to detect wild miters.
8662 The original test for wild miters would only work with a square transform
8663 (and, in fact, the original code required an identity transform). Instead of
8664 fixing that, I replaced it with a more obvious test which makes sure the
8665 miter corner lies between the two faces and not out in space somewhere.
8667 src/cairo-path-stroke.c | 139 +++++++++++++++++++----------------------------
8668 1 files changed, 57 insertions(+), 82 deletions(-)
8670 commit 552cf1dbd32eb5933bc93bb3c1ef0fca9d4066aa
8671 Author: Vladimir Vukicevic <vladimir@pobox.com>
8672 Date: Fri Jan 4 16:19:14 2008 -0800
8674 Fix cairo_surface_fallback_snapshot's use of release_source_image
8676 &image_extra was being passed instead of image_extra to release; the
8677 bug only manifested itself when the particular backend did something
8680 src/cairo-surface-fallback.c | 4 ++--
8681 1 files changed, 2 insertions(+), 2 deletions(-)
8683 commit 81e029edda8c0404c6f0bd1b618e77fb55777c64
8684 Author: Keith Packard <keithp@keithp.com>
8685 Date: Thu Jan 3 18:17:24 2008 -0800
8687 Add new miter-precision test. Checks miter joins at many scales.
8689 This demonstrates an error in cairo where miter joins are replaced with
8690 bevels at high scale factors due to a test added to eliminate wild miters
8691 drawn when the line faces are nearly parallel.
8693 test/.gitignore | 1 +
8694 test/Makefile.am | 1 +
8695 test/miter-precision-ref.png | Bin 0 -> 931 bytes
8696 test/miter-precision.c | 80 ++++++++++++++++++++++++++++++++++++++++++
8697 4 files changed, 82 insertions(+), 0 deletions(-)
8699 commit b796a2f69d043f6884f42befdc156cb1c527d217
8700 Author: Chris Wilson <ickle@cube.(none)>
8701 Date: Thu Jan 3 23:00:27 2008 +0000
8703 [cairo] Update CAIRO_STATUS_LAST_STATUS
8705 A couple of new errors have been added without updating the LAST_STATUS
8710 2 files changed, 2 insertions(+), 1 deletions(-)
8712 commit c67d99787cb75cd4d773871675b4201b3bf3d5bf
8713 Author: Chris Wilson <chris@chris-wilson.co.uk>
8714 Date: Thu Jan 3 17:33:33 2008 +0000
8716 [test/surface-pattern-big-scaled-down] Kill the surface leaks.
8718 Destroy the surface and pattern after use.
8720 test/Makefile.am | 1 +
8721 test/surface-pattern-big-scale-down-ref.png | Bin 0 -> 226 bytes
8722 test/surface-pattern-big-scale-down.c | 11 ++++++++---
8723 3 files changed, 9 insertions(+), 3 deletions(-)
8725 commit 6a7a07adf98729fc054ea9e7727c5b3c099ae7ee
8726 Author: Chris Wilson <chris@chris-wilson.co.uk>
8727 Date: Thu Jan 3 16:37:17 2008 +0000
8729 [test] Update distribution list of ref images.
8731 Add missing *-ps-rgb24-ref.png images, and a couple of tests to .gitignore.
8733 test/.gitignore | 3 +++
8734 test/Makefile.am | 34 ++++++++++++++++++++++++++++++++++
8735 2 files changed, 37 insertions(+), 0 deletions(-)
8737 commit 399f7c24e31a802e623cf9d63311f3ed7f3a3659
8738 Author: Chris Wilson <chris@chris-wilson.co.uk>
8739 Date: Tue Oct 9 23:24:35 2007 +0100
8741 [cairo-pdf-surface] Continue to close streams even after error.
8743 Do not return after encountering the first error whilst closing streams,
8744 but continue to close any auxiliary streams before finally reporting the
8745 error. Also during finalize check that we have closed any streams that
8746 may have been left open after encountering an error.
8748 src/cairo-pdf-surface.c | 54 ++++++++++++++++++++++++++++++++++++++--------
8749 1 files changed, 44 insertions(+), 10 deletions(-)
8751 commit 42e77c1077f389357faab214d7ad8bc18709cb31
8752 Author: Chris Wilson <chris@chris-wilson.co.uk>
8753 Date: Tue Oct 9 16:59:45 2007 +0100
8755 [cairo-pdf-surface] Destroy closed streams.
8757 Destroy the streams when closing groups in order to free the associated
8760 src/cairo-pdf-surface.c | 4 ++--
8761 1 files changed, 2 insertions(+), 2 deletions(-)
8763 commit 42bfe370f8df800419c1c7acbec1a7e51077d462
8764 Author: Chris Wilson <chris@chris-wilson.co.uk>
8765 Date: Thu Jan 3 14:46:40 2008 +0000
8767 [cairo-pdf-surface] Propagate error from emit_glyph().
8769 Propagate the error and return early rather than setting the error on
8770 the surface and continuing.
8772 src/cairo-pdf-surface.c | 31 ++++++++++++++++++++-----------
8773 1 files changed, 20 insertions(+), 11 deletions(-)
8775 commit 2a8e80f59ef61cff30d643bdd6ad2306d6068c5c
8776 Author: Chris Wilson <chris@chris-wilson.co.uk>
8777 Date: Thu Jan 3 10:34:37 2008 +0000
8779 [cairo-gstate] Rearrange invalid-matrix guards.
8781 Test for an invalid matrix before use. Whilst this has no effect on the
8782 result, an INVALID_MATRIX error will be raised on the context, placing
8783 the guards first makes the code obviously safe and avoids manipulation
8784 of invalid matrices.
8786 src/cairo-gstate.c | 15 ++++++++-------
8787 1 files changed, 8 insertions(+), 7 deletions(-)
8789 commit e89cc8fa15ac418175e58ee41359a923bbc26f73
8790 Author: Chris Wilson <chris@chris-wilson.co.uk>
8791 Date: Tue Dec 18 09:23:29 2007 +0000
8793 [cairo-scaled-fonts-subsets] Memleak and error reporting.
8795 Fix leaks of strings and hash table from
8796 _cairo_scaled_font_subset_create_glyph_names().
8798 Whilst we are in the vicinity, review the error handling.
8800 src/cairo-ft-font.c | 8 ++-
8801 src/cairo-pdf-surface.c | 12 ++++-
8802 src/cairo-scaled-font-subsets.c | 94 ++++++++++++++++++++-------------------
8803 src/cairo-win32-font.c | 6 ++-
8804 src/cairoint.h | 2 +-
8805 5 files changed, 68 insertions(+), 54 deletions(-)
8807 commit 51f37995c9cb5efa22a36a0199e24a684fa61279
8808 Author: Chris Wilson <chris@chris-wilson.co.uk>
8809 Date: Wed Jan 2 11:06:03 2008 +0000
8811 Remove cairo_private from *.c files.
8813 The cairo_private markup is only required in the headers, so cleanup the
8814 couple of remaining occurrences in the source files.
8816 src/cairo-clip.c | 2 +-
8817 src/cairo-scaled-font-subsets.c | 2 +-
8818 2 files changed, 2 insertions(+), 2 deletions(-)
8820 commit 48fd65cdb50cd1fa0a6ada5edf7ef307586eb5fd
8821 Author: Chris Wilson <chris@chris-wilson.co.uk>
8822 Date: Wed Jan 2 10:59:44 2008 +0000
8824 [cairo-svg-surface] Propagate the original error status.
8826 Return the error status from the paginated surface instead of
8827 hard-coding a bare CAIRO_STATUS_NO_MEMORY.
8829 src/cairo-svg-surface.c | 2 +-
8830 1 files changed, 1 insertions(+), 1 deletions(-)
8832 commit ba392488cb926c2697b8ccfa7337da1e66d78baa
8833 Author: Chris Wilson <chris@chris-wilson.co.uk>
8834 Date: Wed Jan 2 10:58:13 2008 +0000
8836 [cairo-ps-surface] Wrap error site with _cairo_error().
8838 Wrap the original allocation error site with _cairo_error().
8840 src/cairo-ps-surface.c | 2 +-
8841 1 files changed, 1 insertions(+), 1 deletions(-)
8843 commit 4442acc96601db21a788e088040cb1f2fccdf400
8844 Author: Chris Wilson <chris@chris-wilson.co.uk>
8845 Date: Wed Jan 2 10:54:30 2008 +0000
8847 [cairo-atsui-font] Minor _cairo_error() tidy.
8849 Inline the use of _cairo_error() for slightly improved readability.
8851 src/cairo-atsui-font.c | 3 +--
8852 1 files changed, 1 insertions(+), 2 deletions(-)
8854 commit 2a0267639a39cacada89c59451faa8051041e436
8855 Author: Chris Wilson <chris@chris-wilson.co.uk>
8856 Date: Wed Jan 2 10:52:28 2008 +0000
8858 [cairo-ps-surface] Wrap error site with _cairo_error().
8860 Markup the original error site for CAIRO_STATUS_TEMP_FILE_ERROR with
8863 src/cairo-ps-surface.c | 4 ++--
8864 1 files changed, 2 insertions(+), 2 deletions(-)
8866 commit cc5bd4725564d0add79c764b35acff78e43d0c00
8867 Author: Chris Wilson <chris@chris-wilson.co.uk>
8868 Date: Wed Jan 2 10:50:55 2008 +0000
8870 [cairo-svg-surface] Wrap a couple of error sites with _cairo_error().
8872 Wrap a couple of bare CAIRO_STATUS_NO_MEMORY with a call to
8875 src/cairo-svg-surface.c | 4 ++--
8876 1 files changed, 2 insertions(+), 2 deletions(-)
8878 commit daf77ed3cb0d24f35ebb43760d6ba6de639d4636
8879 Author: Chris Wilson <chris@chris-wilson.co.uk>
8880 Date: Wed Jan 2 10:41:06 2008 +0000
8882 [cairo-type1-subset] Remove the unused return value.
8884 Nobody actually used the index returned by
8885 cairo_type1_font_subset_use_glyph(), so remove it.
8887 src/cairo-type1-subset.c | 9 +++------
8888 1 files changed, 3 insertions(+), 6 deletions(-)
8890 commit fd8bf678536877d9b016264d40a101a1fd2d9e25
8891 Author: Chris Wilson <chris@chris-wilson.co.uk>
8892 Date: Wed Jan 2 10:37:58 2008 +0000
8894 [cairo-truetype-subset] Propagate error from failing to allocate padding.
8896 Before filling the padding, check that we have successfully allocated
8897 the buffer - otherwise propagate the failure.
8899 src/cairo-truetype-subset.c | 51 +++++++++++++++++++++++++++----------------
8900 1 files changed, 32 insertions(+), 19 deletions(-)
8902 commit ad0a2524ffdc9cc949d11de3aa51c429f13e12b7
8903 Author: Claudio Ciccani <klan@directfb.org>
8904 Date: Wed Jan 2 15:09:58 2008 +0100
8906 [cairo-directfb] Optimize blend functions in fill_rectangles(), too.
8908 src/cairo-directfb-surface.c | 25 ++++++++++++++++++++++++-
8909 1 files changed, 24 insertions(+), 1 deletions(-)
8911 commit 060f384310e887f7f431a98e847b8a36fc303a0c
8912 Author: Adrian Johnson <ajohnson@redneon.com>
8913 Date: Sat Dec 29 00:26:11 2007 +1030
8915 Fix PS/PDF meta surface patterns
8917 This was failing with more than one level of push/pop group. The
8918 problem was that the meta surface replay in PS/PDF emit_meta_surface
8919 was replaying all the meta surface commands insteads of only the
8920 natively supported commands. The analysis surface has also been
8921 changed to replay meta surface patterns back to the one analysis
8922 surface instead of creating a separate analysis surface for each
8923 pattern. The analysis surface now transforms bounding boxes with the
8924 meta surface pattern matrix so that fallback regions are correctly
8927 src/cairo-analysis-surface.c | 44 +++++++++++++++++++++++++++++++---------
8928 src/cairo-meta-surface.c | 18 +---------------
8929 src/cairo-paginated-surface.c | 1 +
8930 src/cairo-pdf-surface.c | 4 ++-
8931 src/cairo-ps-surface.c | 20 ++++++++++++------
8932 5 files changed, 52 insertions(+), 35 deletions(-)
8934 commit 4fa46e3caaffb54f4419887418d8d0ea39816092
8935 Author: Adrian Johnson <ajohnson@redneon.com>
8936 Date: Sat Dec 29 00:15:03 2007 +1030
8938 Implement a win32 tmpfile() function
8940 Bug report and proposed patch at:
8941 http://lists.cairographics.org/archives/cairo/2007-December/012529.html
8943 On Windows the tmpfile() function creates the file in the root
8944 directory. This will fail if the user does not have write access to the
8947 Implement _cairo_win32_tmpfile() that is #defined as tmpfile() on
8948 Windows. This function uses GetTempPath() and GetTempFileName() to
8949 create the temporary file. CreateFile() is used to open the file so
8950 the DELETE_ON_CLOSE flag can be set.
8952 src/Makefile.am | 3 +-
8953 src/cairo-win32.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8954 src/cairoint.h | 6 +++
8955 3 files changed, 106 insertions(+), 1 deletions(-)
8957 commit dcacad932334bbcc3cf6b1df3b37412db5017116
8958 Author: Adrian Johnson <ajohnson@redneon.com>
8959 Date: Sat Dec 29 00:13:24 2007 +1030
8961 PS: Use _TEMP_FILE_ERROR for temp file errors
8963 src/cairo-ps-surface.c | 18 +++++++++++++++---
8964 1 files changed, 15 insertions(+), 3 deletions(-)
8966 commit bd44d114a6d4271a4a15cf7d70a996e73a86751c
8967 Author: Adrian Johnson <ajohnson@redneon.com>
8968 Date: Sat Dec 29 00:12:44 2007 +1030
8970 Add CAIRO_STATUS_TEMP_FILE_ERROR
8973 src/cairo.h | 4 +++-
8974 2 files changed, 5 insertions(+), 1 deletions(-)
8976 commit e82b0f46b2ea6ebcee5ea5cc09e9ab5c6cc383fb
8977 Author: Chris Wilson <chris@chris-wilson.co.uk>
8978 Date: Wed Nov 14 00:45:24 2007 +0000
8980 [cairo-path-fixed] Consolidate cairo_path_buf_t when copying.
8982 When copying the cairo_path_fixed_t, consolidate the list of
8983 dynamically allocated cairo_path_buf_t into a single buffer.
8985 src/cairo-path-fixed.c | 33 +++++++++++++++++++++++++--------
8986 1 files changed, 25 insertions(+), 8 deletions(-)
8988 commit e0187ad49b754c4024f1999155ed248616028582
8989 Author: Chris Wilson <chris@chris-wilson.co.uk>
8990 Date: Thu Dec 27 12:46:13 2007 +0000
8992 [cairo-path-fixed] Ensure the points array is naturally aligned, take 2.
8994 By enlarging buf_size to ensure the correct alignment of the points
8995 array with the cairo_path_buf_t block, we can efficiently use the
8996 padding bytes to store more ops.
8998 src/cairo-path-fixed.c | 12 ++++++------
8999 1 files changed, 6 insertions(+), 6 deletions(-)
9001 commit d8169b8cef041b4dbcea44e050df28659f4846aa
9002 Author: Chris Wilson <chris@chris-wilson.co.uk>
9003 Date: Thu Dec 27 10:45:25 2007 +0000
9005 [cairo-path-fixed] Ensure the array of points is correctly aligned.
9007 In http://bugs.gentoo.org/show_bug.cgi?id=203282, it was identified that
9008 the cairo_path_buf was causing unaligned accesses (thus generating SIGBUS
9009 on architectures like the SPARC) to its array of points. As we manually
9010 allocate a single block of memory for the cairo_path_buf_t and its
9011 arrays, we must also manually ensure correct alignment - as opposed to
9012 cairo_path_buf_fixed_t for which the compiler automatically aligns the
9015 src/cairo-path-fixed.c | 9 ++++++---
9016 1 files changed, 6 insertions(+), 3 deletions(-)
9018 commit 7f69c2588b33d415f544c2ee24d85c83a8d7cd69
9019 Author: Chris Wilson <chris@chris-wilson.co.uk>
9020 Date: Thu Dec 20 21:15:41 2007 +0000
9022 [cairo-ps-surface] Missing status checks.
9024 Check and propagate the error status.
9026 src/cairo-ps-surface.c | 53 +++++++++++++++++++++++++++++------------------
9027 1 files changed, 33 insertions(+), 20 deletions(-)
9029 commit 51523aec8177224d3f64f55ca2e61c64fe801a56
9030 Author: Chris Wilson <chris@chris-wilson.co.uk>
9031 Date: Thu Dec 20 21:15:08 2007 +0000
9033 [cairo-meta-surface] Remove redundant _cairo_error().
9035 Remove the _cairo_error() from the return, as it has already been called
9036 immediately after the error was first detected.
9038 src/cairo-meta-surface.c | 2 +-
9039 1 files changed, 1 insertions(+), 1 deletions(-)
9041 commit 146484e3122958212d4a69fff97d392451dcbeaa
9042 Author: Chris Wilson <chris@chris-wilson.co.uk>
9043 Date: Thu Dec 20 21:13:31 2007 +0000
9045 [valgrind] Update zlib suppressions.
9047 Match the zlib library as found on hardy+dbgsym.
9049 test/.valgrind-suppressions | 37 +++++++++++++++++++++++++++++++++++++
9050 1 files changed, 37 insertions(+), 0 deletions(-)
9052 commit d4d3873bccea82bb3ae20bfcbab3158fa5df41b3
9053 Author: Chris Wilson <chris@chris-wilson.co.uk>
9054 Date: Thu Dec 20 18:21:46 2007 +0000
9056 [cairo] Correct the documentation for cairo_get_group_target().
9058 cairo_get_group_target() can never return NULL, but will always
9059 return the current destination surface.
9061 src/cairo.c | 20 +++++++++++---------
9062 1 files changed, 11 insertions(+), 9 deletions(-)
9064 commit 3bf06c336629d9a485fdb150058897e5a6a30b45
9065 Author: Chris Wilson <chris@chris-wilson.co.uk>
9066 Date: Thu Dec 20 18:15:48 2007 +0000
9068 [test/*] Create new surfaces using the group target.
9070 cairo_get_target() returns the original surface passed to
9071 cairo_create(), and not the current destination as required when
9072 testing drawing to the same surface using multiple contexts.
9074 For completeness we also use the group target when creating similar
9075 surfaces within the tests (to check that similar surfaces of similar
9076 surfaces also work).
9078 perf/cairo-perf-cover.c | 4 ++--
9079 test/cairo-test.c | 2 +-
9080 test/clip-nesting.c | 2 +-
9081 test/clip-operator.c | 2 +-
9082 test/clip-zero.c | 2 +-
9083 test/device-offset-positive.c | 2 +-
9084 test/device-offset.c | 2 +-
9085 test/get-clip.c | 2 +-
9086 test/get-path-extents.c | 2 +-
9087 test/invalid-matrix.c | 2 +-
9088 test/mask.c | 4 ++--
9089 test/meta-surface-pattern.c | 2 +-
9090 test/operator-clear.c | 2 +-
9091 test/operator-source.c | 4 ++--
9092 test/pixman-rotate.c | 2 +-
9093 test/self-copy.c | 2 +-
9094 test/source-clip-scale.c | 2 +-
9095 test/source-clip.c | 2 +-
9096 test/svg-clip.c | 2 +-
9097 test/unbounded-operator.c | 2 +-
9098 20 files changed, 23 insertions(+), 23 deletions(-)
9100 commit 643834e7aa3e90678276453439017359ef942c9e
9101 Author: Chris Wilson <chris@chris-wilson.co.uk>
9102 Date: Thu Dec 20 17:51:48 2007 +0000
9104 [cairo-surface] Return UNSUPPORTED for acquire_(dest|source)_image.
9106 If the backend does not support fallbacks ie backend->acquire_dest_image
9107 or backend->acquire_source_image is NULL, then return
9108 CAIRO_INT_STATUS_UNSUPPORTED rather than attempt to jump to the NULL
9111 src/cairo-surface.c | 8 +++++++-
9112 1 files changed, 7 insertions(+), 1 deletions(-)
9114 commit 14454e12d8df606ed4b79c6e7cda4071b00ee581
9115 Author: Chris Wilson <chris@chris-wilson.co.uk>
9116 Date: Thu Dec 20 17:49:06 2007 +0000
9118 [cairo-test] Wrap test function with cairo_save/restore().
9120 Restore the context to the original state before blitting the
9121 group surface in order to remove any residual state such as a clip path.
9123 test/cairo-test.c | 2 ++
9124 1 files changed, 2 insertions(+), 0 deletions(-)
9126 commit d0119a5aa24a8b426ec64bb2eaa205b7f08ae58a
9127 Author: Behdad Esfahbod <behdad@behdad.org>
9128 Date: Thu Dec 20 12:30:35 2007 -0500
9130 [cairo-unicode] Don't compile _cairo_utf8_to_utf16 on Linux
9132 The _cairo_utf8_to_utf16() is only used in win32 and atsui font backends.
9133 Don't build it if none of those two are available.
9135 src/cairo-unicode.c | 2 ++
9136 src/cairoint.h | 5 +++++
9137 2 files changed, 7 insertions(+), 0 deletions(-)
9139 commit 281b11aef14f04b12639028e2a76bbdc7a1a32bf
9140 Author: Chris Wilson <chris@chris-wilson.co.uk>
9141 Date: Thu Dec 20 17:11:03 2007 +0000
9143 [cairo-test] Use CAIRO_OPERATOR_SOURCE when painting the group surface.
9145 To correctly copy a surface onto the destination irrespective of its
9146 content requires the SOURCE operator. Forgetting to do so here causes
9147 uninitialized pixels to be mixed into the result and the failure of
9148 many tests for the similar surface. Oops...
9150 test/cairo-test.c | 1 +
9151 1 files changed, 1 insertions(+), 0 deletions(-)
9153 commit ed3fccec01257a7c52694150cda9ea1059c33585
9154 Author: Chris Wilson <chris@chris-wilson.co.uk>
9155 Date: Mon Dec 17 22:37:31 2007 +0000
9157 [pdiff] Avoid the memleak for small surfaces.
9159 Allocate the arrays after the guard against small surfaces to avoid
9162 test/pdiff/pdiff.c | 40 +++++++++++++++++++++++++++-------------
9163 1 files changed, 27 insertions(+), 13 deletions(-)
9165 commit df938a515bd59138421b6ab4419966805d027b52
9166 Author: Chris Wilson <chris@chris-wilson.co.uk>
9167 Date: Mon Dec 17 21:39:25 2007 +0000
9169 [cairo-path-bounds] Check for the empty path.
9171 Avoid returning uninitialized variables if we're asked to find the
9172 bounds of an empty path - in which case we just return a rectangle
9173 of zero width and height similar to the empty clip region.
9175 src/cairo-path-bounds.c | 18 ++++++++----------
9176 1 files changed, 8 insertions(+), 10 deletions(-)
9178 commit c2adfb4052f72e1e6e6d283de3428b5453dac537
9179 Author: Jim Meyering <jim@meyering.net>
9180 Date: Sat Dec 15 16:42:25 2007 +0100
9182 Don't leak memory upon failed realloc.
9184 * cairo-glitz-surface.c (_cairo_glitz_surface_composite_trapezoids):
9186 Signed-off-by: Jim Meyering <meyering@redhat.com>
9188 src/cairo-glitz-surface.c | 6 ++++--
9189 1 files changed, 4 insertions(+), 2 deletions(-)
9191 commit 45951345983f100e935af2fe2f5397d64c195f98
9192 Author: Behdad Esfahbod <behdad@behdad.org>
9193 Date: Tue Dec 18 16:00:21 2007 -0500
9195 [directfb] Fix header include order to include cairoint.h first
9197 src/cairo-directfb-surface.c | 5 ++---
9198 1 files changed, 2 insertions(+), 3 deletions(-)
9200 commit 18f4f02f723cd005c159c8a0044dd385d551f022
9201 Author: Nis Martensen <nis.martensen@web.de>
9202 Date: Tue Dec 18 15:59:19 2007 -0500
9204 [src/check-cairoint.sh] Fix typo in shell script
9206 src/check-cairoint.sh | 2 +-
9207 1 files changed, 1 insertions(+), 1 deletions(-)
9209 commit 8343d6cc2a5e9198e1205e431de018f74107d9d8
9210 Author: Chris Wilson <chris@chris-wilson.co.uk>
9211 Date: Mon Dec 17 13:42:07 2007 +0000
9213 Replace various uses of CAIRO_STACK_BUF_SIZE with a single macro.
9215 In http://bugs.freedesktop.org/show_bug.cgi?id=13699, Pavel Vozenilek
9216 reports a duplicate define for computing the appropriate length for an
9217 on-stack array. The macro in question, and a few other places, was
9218 performing CAIRO_STACK_BUF_SIZE/sizeof(stack[0]) so we can simplify
9219 them slightly by using a common macro.
9221 src/cairo-bentley-ottmann.c | 2 +-
9222 src/cairo-gstate.c | 10 ++++------
9223 src/cairo-image-surface.c | 12 ++----------
9224 src/cairo-region.c | 4 +---
9225 src/cairo-surface.c | 2 +-
9226 src/cairo-traps.c | 4 +---
9227 src/cairo-xlib-surface.c | 7 ++-----
9228 src/cairoint.h | 2 ++
9229 8 files changed, 14 insertions(+), 29 deletions(-)
9231 commit 627a8b4a2f2824f156893382561f563d0aa9e90d
9232 Author: Benjamin Otte <otte@gnome.org>
9233 Date: Mon Dec 17 12:42:14 2007 +0100
9235 [directfb] replace u32 with uint32_t
9237 This fix makes it compile for me again
9239 src/cairo-directfb-surface.c | 6 +++---
9240 1 files changed, 3 insertions(+), 3 deletions(-)
9242 commit 9637ffc62fab1b42ceb764d1b42e70654e0cbe2b
9243 Author: Behdad Esfahbod <behdad@behdad.org>
9244 Date: Mon Dec 17 01:55:15 2007 -0500
9246 [cairo-xlib] Minor cleanup and add comment
9248 src/cairo-xlib-surface.c | 7 +++++--
9249 1 files changed, 5 insertions(+), 2 deletions(-)
9251 commit 83963d2a9ec445e23cfbe692b877177a9d9d135e
9252 Author: Behdad Esfahbod <behdad@behdad.org>
9253 Date: Mon Dec 17 01:19:53 2007 -0500
9255 [cairo-ft] Revert "Force non-AA text when using a bitmap strike with only scaling transform." (#13479)
9257 The reasoning for that commit was that fonts with bitmap strikes should be
9258 rendered with antialiasing off for those (hopefully) few glyphs that don't
9261 However, it turns out, there are fonts that have some, but very few, bitmaps,
9262 and this changed forces non-AA rendering on them. We now support multiple
9263 glyph formats per font in the Xlib backend, so backing this out to let every
9264 glyph render as is. Fontconfig rules can be used to force AA off on a per-font
9267 This reverts commit 06af5c2891b89da28581c30afcde06c5442884db.
9269 src/cairo-ft-font.c | 24 ------------------------
9270 1 files changed, 0 insertions(+), 24 deletions(-)
9272 commit 805b668260c47e6d3d854361fcc53f12bd2a57e1
9273 Author: Behdad Esfahbod <behdad@behdad.org>
9274 Date: Mon Dec 17 01:14:27 2007 -0500
9276 [cairo-xlib] Support scale fonts with glyphs of multiple formats (#13479)
9278 We maintain three Xrender glyphsets per scaled font, one for each of A1, A8,
9279 and ARGB32. This is required to correctly support fonts with bitmaps for
9280 some glyphs but not all.
9282 src/cairo-xlib-surface.c | 179 +++++++++++++++++++++++++++++++++++-----------
9283 1 files changed, 136 insertions(+), 43 deletions(-)
9285 commit f6dd037cf3231c2dd0550b0f2e6f3179202c299f
9286 Author: Carl Worth <cworth@cworth.org>
9287 Date: Fri Dec 14 14:02:43 2007 -0800
9289 Remove rasterization when a paginated surace is used as a source
9291 This was an old workaround for a bug that seems to no longer
9292 exist. Thanks to Donn Ingle for pointing out the problem.
9294 src/cairo-paginated-surface.c | 34 ----------------------------------
9295 1 files changed, 0 insertions(+), 34 deletions(-)
9297 commit 9b3ce8b17ab8179131ae45a227d76241916f42e8
9298 Author: Adrian Johnson <ajohnson@redneon.com>
9299 Date: Wed Dec 12 23:41:53 2007 +1030
9301 PS: Use the correct bounding box in Type 3 fonts
9303 Previously this was a fixed size.
9305 src/cairo-ps-surface.c | 44 +++++++++++++++++++++++++++++++++++++-------
9306 1 files changed, 37 insertions(+), 7 deletions(-)
9308 commit afdd53d35f53cfe3440c38531c112a586d3d7486
9309 Author: Adrian Johnson <ajohnson@redneon.com>
9310 Date: Wed Dec 12 23:35:56 2007 +1030
9312 PS: Return the status for emit_image and gradients
9314 src/cairo-ps-surface.c | 21 +++++++++++++++------
9315 1 files changed, 15 insertions(+), 6 deletions(-)
9317 commit 55f5c4ffda5df9064bd0a5a6a2cf1a09b058afbb
9318 Author: Boying Lu <brian.lu@sun.com>
9319 Date: Wed Dec 12 21:05:57 2007 +1030
9321 Remove cairo_private from static declaration
9323 src/cairo-paginated-surface.c | 2 +-
9324 1 files changed, 1 insertions(+), 1 deletions(-)
9326 commit 942e3d53088a4d2b05c86d3f82b76cfbe707b3b5
9327 Author: Claudio Ciccani <klan@directfb.org>
9328 Date: Tue Dec 11 15:50:05 2007 +0100
9330 [cairo-directfb] Support some environment variables
9332 Added a couple of (boolean) env. vars affecting the backend:
9333 CAIRO_DIRECTFB_NO_ACCEL, disables acceleration
9334 CAIRO_DIRECTFB_ARGB_FONT, enables using ARGB fonts instead of A8
9336 src/cairo-directfb-surface.c | 99 ++++++++++++++++++++++++++++++++---------
9337 src/cairo-directfb.h | 12 +++++-
9338 2 files changed, 88 insertions(+), 23 deletions(-)
9340 commit f3cec9d1c2a4d43cd734aae4bc7f8e7410a5e89a
9341 Merge: 08516d9... c26084a...
9342 Author: Claudio Ciccani <klan@directfb.org>
9343 Date: Mon Dec 10 22:58:06 2007 +0100
9345 Merge branch 'master' of git+ssh://klan@git.freedesktop.org/git/cairo
9347 commit c26084a45fcb6ac467cad8bdcedfb2f524b857fc
9348 Author: Behdad Esfahbod <behdad@behdad.org>
9349 Date: Mon Dec 10 14:38:09 2007 -0500
9351 Pass $(MAKE) to test shell scripts (#13591)
9353 src/Makefile.am | 2 +-
9354 src/check-def.sh | 3 ++-
9355 2 files changed, 3 insertions(+), 2 deletions(-)
9357 commit 78dac47399038cc9a05b82b01c4e4b35132f0784
9358 Author: Behdad Esfahbod <behdad@behdad.org>
9359 Date: Mon Dec 3 02:31:40 2007 -0500
9361 [util/malloc-stats.c] Add a public function malloc_stats()
9363 Apparently glibc already provides the function:
9365 void malloc_stats (void);
9367 So, like we do for backtrace_symbols(), override the public symbol.
9368 It still is defined as __destructor__ and runs at program finalization.
9370 util/malloc-stats.c | 5 ++---
9371 1 files changed, 2 insertions(+), 3 deletions(-)
9373 commit 08516d97a1b34cbb119d6d842ae31e4cb4e08740
9374 Author: Claudio Ciccani <klan@directfb.org>
9375 Date: Mon Dec 10 18:54:01 2007 +0100
9377 [cairo-directfb] Merging from directfb.org
9379 - Improved performance in case of surface conversion: allocate a shadow buffer that can only grow
9380 - Fixed support for small surfaces (less than 8x8)
9381 - Optimize the blending function according to the surface format
9382 - Added _directfb_categorize_operation(): selects the blitting function according to the transform matrix
9383 - Avoid inverting the matrix when doing a simple StretchBlit()
9384 - Use TextureTriangles() instead of StretchBlit() when scale factors are negative
9385 - Added support for ARGB32 fonts (converted to A8 internally)
9386 - Removed unused functions (flush() and mark_dirty_rectangle())
9389 src/cairo-directfb-surface.c | 847 +++++++++++++++++++++++-------------------
9390 1 files changed, 466 insertions(+), 381 deletions(-)
9392 commit dd71ac910c3c176687fe4da582876bf46becf6d5
9393 Author: Benjamin Otte <otte@gnome.org>
9394 Date: Mon Dec 10 13:17:09 2007 +0100
9399 1 files changed, 1 insertions(+), 1 deletions(-)
9401 commit 1f1f96d6459014a236611edf811a60225a652044
9402 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9403 Date: Sat Dec 8 22:32:16 2007 +0100
9405 [SVG] Fix a minor issue when emitting a radial gradient with r1 == r2.
9407 Minor because I don't know how the output is supposed to look in this case.
9409 src/cairo-svg-surface.c | 15 ++++++++-------
9410 1 files changed, 8 insertions(+), 7 deletions(-)
9412 commit 19680f545a1620d944322775c1b85b0e5f93fa0f
9413 Author: Brian Ewins <Brian.Ewins@gmail.com>
9414 Date: Thu Dec 6 21:31:15 2007 +0000
9416 [quartz] fix gradient-zero-stops crash (moz#407104)
9418 Fixes failure in gradient-zero-stops test, reported
9419 by Boris Zbarsky (thanks!) as Mozill a bug#407104.
9421 src/cairo-quartz-surface.c | 12 ++++++++++++
9422 1 files changed, 12 insertions(+), 0 deletions(-)
9424 commit e6c34bb6912d2801ee6c0d56ec0e98739c786e9f
9425 Author: Brian Ewins <Brian.Ewins@gmail.com>
9426 Date: Thu Dec 6 21:31:14 2007 +0000
9428 [quartz] refactor gradient handling
9430 Avoid checking the gradient type twice. This refactor
9431 also makes it easier to check when the gradient has no stops,
9432 and will make it easier to separate out the different
9433 implementations of EXTEND_REPEAT, REFLECT for linear and
9436 src/cairo-quartz-surface.c | 206 +++++++++++++++++++++++---------------------
9437 1 files changed, 107 insertions(+), 99 deletions(-)
9439 commit b81c8473bd0b8b829dc7eba9a105890f0c2f1158
9440 Author: Brian Ewins <Brian.Ewins@gmail.com>
9441 Date: Thu Dec 6 21:31:10 2007 +0000
9443 [test] add test for gradient with no stops
9445 Boris Zbarsky reported a bug where having zero stops in a
9446 gradient pattern would crash in the quartz surface. This
9447 test checks for that case. Mozilla bug#407104.
9449 This also crashes testing pdf; and the ps, svg surfaces
9450 look suspicious (they reference stops[0]) but I havent
9451 been able to test them yet.
9453 test/Makefile.am | 3 +
9454 test/gradient-zero-stops-ref.png | Bin 0 -> 105 bytes
9455 test/gradient-zero-stops-rgb24-ref.png | Bin 0 -> 105 bytes
9456 test/gradient-zero-stops.c | 66 ++++++++++++++++++++++++++++++++
9457 4 files changed, 69 insertions(+), 0 deletions(-)
9459 commit a7ae9c45d924effdd61390267eb216302a270d8e
9460 Author: Peter Weilbacher <mozilla@weilbacher.org>
9461 Date: Thu Dec 6 16:46:28 2007 +0100
9463 [os2] add memory allocation wrappers for pixel buffers
9465 Add ability to use OS/2 APIs instead of C library functions to manage
9466 pixel buffer allocations. This is to work around heap fragmentation.
9467 This implements two wrapper functions which replace _cairo_alloc_abc and
9468 free and when compiled with OS2_USE_PLATFORM_ALLOC the OS/2 functions
9469 DosAllocMem and DosFreeMem will be used for allocation/deallocation.
9471 Also try to minimize the heap when shutting down the cairo library.
9473 src/cairo-os2-surface.c | 108 +++++++++++++++++++++++++++++++++++------------
9474 1 files changed, 81 insertions(+), 27 deletions(-)
9476 commit be79779331ee29c0bfb74b728227719bb5dead6e
9477 Author: Carl Worth <cworth@cworth.org>
9478 Date: Wed Dec 5 09:24:17 2007 -0800
9480 Restrict initial buggy version to X.Org 6.7 rather than 6.0
9482 Also add some comments describing the test.
9484 src/cairo-xlib-display.c | 9 ++++++++-
9485 1 files changed, 8 insertions(+), 1 deletions(-)
9487 commit d4138d1161c6b683fd0ef62a8d49ccf4ec4674bc
9488 Author: Bernardo Innocenti <bernie@codewiz.org>
9489 Date: Wed Dec 5 07:04:09 2007 -0500
9491 Fix version check for buggy_repeat on modular Xserver 1.x
9493 The versioning of the X server has restarted from 1.0 in the
9494 modular build. So we adjust the text to avoid considering
9495 the new servers buggy.
9497 src/cairo-xlib-display.c | 2 +-
9498 1 files changed, 1 insertions(+), 1 deletions(-)
9500 commit 946b8fedb57fc0c70e4f82b2151433768479a11c
9501 Author: Carl Worth <cworth@cworth.org>
9502 Date: Wed Dec 5 02:30:58 2007 -0800
9507 1 files changed, 3 insertions(+), 3 deletions(-)
9509 commit 94a35c7b71b2219d68e81272ce6328e46ae0e91e
9510 Author: Carl Worth <cworth@cworth.org>
9511 Date: Wed Dec 5 02:28:20 2007 -0800
9513 Fix version number typo
9516 1 files changed, 1 insertions(+), 1 deletions(-)
9518 commit 6f2ec12b882e49b425b22145592243b8ce75b6a4
9519 Author: Carl Worth <cworth@cworth.org>
9520 Date: Wed Dec 5 02:26:05 2007 -0800
9522 Increment version to 1.5.5 after the 1.5.4 snapshot
9525 1 files changed, 1 insertions(+), 1 deletions(-)
9527 commit e0c0275e1764502cfd1d0e93e374b4ed396f0073
9528 Author: Carl Worth <cworth@cworth.org>
9529 Date: Wed Dec 5 02:06:33 2007 -0800
9531 Increment version to 1.5.4 and to 14:1:12
9533 configure.in | 4 ++--
9534 1 files changed, 2 insertions(+), 2 deletions(-)
9536 commit 11aaf992fb5d3d86f261ba48306adfaace9f96ea
9537 Author: Carl Worth <cworth@cworth.org>
9538 Date: Wed Dec 5 01:52:03 2007 -0800
9540 NEWS: Add notes for 1.5.4
9542 NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9543 1 files changed, 57 insertions(+), 0 deletions(-)
9545 commit 150564c7f8792fa2217fc2574e9e1925c9cd500f
9546 Author: Vladimir Vukicevic <vladimir@pobox.com>
9547 Date: Tue Dec 4 14:05:47 2007 -0800
9549 [quartz] use rectangle_int_t, not rectangle_int16_t
9551 src/cairo-quartz-surface.c | 2 +-
9552 1 files changed, 1 insertions(+), 1 deletions(-)
9554 commit e8574022f949559c069da30f11dee8680fc59586
9555 Author: Vladimir Vukicevic <vladimir@pobox.com>
9556 Date: Tue Dec 4 13:54:32 2007 -0800
9558 [quartz] cleanup: remove trailing whitespace
9560 src/cairo-quartz-surface.c | 22 +++++++++++-----------
9561 1 files changed, 11 insertions(+), 11 deletions(-)
9563 commit ee01a94726b3c0782fa182c9e874b2ed57e71aca
9564 Author: Vladimir Vukicevic <vladimir@pobox.com>
9565 Date: Tue Dec 4 13:53:03 2007 -0800
9567 [quartz] Use CGContextDrawTiledImage if available
9569 Use this 10.5-only method if available, as it greatly speeds up
9570 tiled image rendering (EXTEND_REPEAT).
9572 src/cairo-quartz-surface.c | 96 +++++++++++++++++++++++++++++---------------
9573 1 files changed, 64 insertions(+), 32 deletions(-)
9575 commit 2c25033e14d7d9f705c27683dfb093318d67910b
9576 Author: Vladimir Vukicevic <vladimir@pobox.com>
9577 Date: Tue Dec 4 13:49:59 2007 -0800
9579 [quartz] Handle creating 0x0 surfaces
9581 Make all 0x0 surfaces be no-ops when used in a rendering operation.
9583 src/cairo-quartz-surface.c | 109 ++++++++++++++++++++++++++++++++++---------
9584 test/.gitignore | 1 +
9585 test/Makefile.am | 1 +
9586 test/clip-zero.c | 80 ++++++++++++++++++++++++++++++++
9587 4 files changed, 168 insertions(+), 23 deletions(-)
9589 commit 407ed0a6e7183c4fc6da1e988fada19c82ccef8a
9590 Author: Chris Wilson <chris@chris-wilson.co.uk>
9591 Date: Mon Dec 3 09:59:52 2007 +0000
9593 [Makefile.am] Add lcov-clean to distclean.
9595 Clean the gcov temporary files when doing a full clean - spotted in a
9596 patch by Patrick Hulin to adapt cairo's lcov targets to glib.
9599 1 files changed, 2 insertions(+), 0 deletions(-)
9601 commit 9c732594039b164a1e08125c35ec9d04278f0cbf
9602 Author: Chris Wilson <chris@chris-wilson.co.uk>
9603 Date: Sun Dec 2 17:55:35 2007 +0000
9605 [Makefile.am] Wrap lcov make targets within an AM_CONDITIONAL.
9607 Hide 'make lcov' and friends unless the user has actually enabled lcov
9608 supported during configure.
9610 Makefile.am | 17 ++++++++++++-----
9611 configure.in | 4 ++++
9612 2 files changed, 16 insertions(+), 5 deletions(-)
9614 commit 5f38e215ed4ec930492ee373db37a767d85a6ee8
9615 Author: Behdad Esfahbod <behdad@behdad.org>
9616 Date: Sat Dec 1 22:44:54 2007 -0500
9618 [README] Remove the Dependencies section as it falls out of date easily
9620 README | 89 ----------------------------------------------------------------
9621 1 files changed, 0 insertions(+), 89 deletions(-)
9623 commit b46bb58e11f9d7b7fa68a64ca887c9b996b8f6f2
9624 Author: Behdad Esfahbod <behdad@behdad.org>
9625 Date: Sat Dec 1 20:41:55 2007 -0500
9627 [configure.in] Bump freetype required version to 2.1.9 (#13482)
9629 configure.in | 8 ++++----
9630 1 files changed, 4 insertions(+), 4 deletions(-)
9632 commit b701b4263048c3641f77796b9ea7bdc60b9815f7
9633 Author: Adrian Johnson <ajohnson@redneon.com>
9634 Date: Sun Dec 2 01:36:43 2007 +1030
9636 win32: Implement _cairo_win32_scaled_font_init_glyph_surface()
9638 This is required when using win32 bitmap fonts with PS/PDF surfaces.
9640 src/cairo-win32-font.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++-
9641 1 files changed, 61 insertions(+), 2 deletions(-)
9643 commit 1441e165f2338bc6a8e2945baca77611ff417b2f
9644 Author: Adrian Johnson <ajohnson@redneon.com>
9645 Date: Sun Dec 2 00:50:28 2007 +1030
9647 Fix regression in Type1 Fallback
9649 As a result of the changes to improve the status checking,
9650 _cairo_type2_charstrings_init() was failing due to the failure
9651 status returned when the font->output stream is destroyed.
9652 This is because _cairo_type2_charstrings_init() does not
9653 create an output stream.
9655 Fix this by initializing font->output to NULL and only
9656 destroy it if not NULL.
9658 src/cairo-type1-fallback.c | 6 ++++--
9659 1 files changed, 4 insertions(+), 2 deletions(-)
9661 commit e6166f7b442ae55128b417559e48250c287e49b6
9662 Author: Behdad Esfahbod <behdad@behdad.org>
9663 Date: Sat Dec 1 04:19:39 2007 -0500
9665 Convert bash scripts to regular sh ones for greater portability
9667 perf/cairo-perf-diff | 31 ++++++++++++++++---------------
9668 src/check-def.sh | 12 ++++++------
9669 src/check-plt.sh | 6 +++---
9670 3 files changed, 25 insertions(+), 24 deletions(-)
9672 commit 0d932f43fe17b2b65d9e52ff8f9c16122b525223
9673 Author: Carl Worth <cworth@cworth.org>
9674 Date: Fri Nov 30 16:19:45 2007 -0800
9676 Explicitly call bash for bash-specific scripts
9678 Thanks to Solaris-using Brian Cameron for pointing out that our
9679 shell scripts are bash-specific. We'd be glad if someone cared to
9680 rewrite them to not require bash, but for now let's have truth in
9681 advertising at least.
9683 perf/cairo-perf-diff | 2 +-
9684 src/check-def.sh | 2 +-
9685 src/check-plt.sh | 2 +-
9686 3 files changed, 3 insertions(+), 3 deletions(-)
9688 commit f4b93cceb7fb83de558ed058915f92d4f75c1a6a
9689 Author: Adrian Johnson <ajohnson@redneon.com>
9690 Date: Thu Nov 29 23:18:45 2007 +1030
9692 PS: Use correct glyphs widths for Type 3 fonts
9694 Previously the widths were set to 0.
9696 src/cairo-ps-surface.c | 8 +++++++-
9697 1 files changed, 7 insertions(+), 1 deletions(-)
9699 commit 2729af6c123983c1599fae9f7a0fac88ad320d7c
9700 Author: Adrian Johnson <ajohnson@redneon.com>
9701 Date: Thu Nov 29 23:07:47 2007 +1030
9703 PS: Fix the Type 3 FontBBox
9705 This was previously a fixed size. Make it [0 0 0 0] the same as the
9708 src/cairo-ps-surface.c | 2 +-
9709 1 files changed, 1 insertions(+), 1 deletions(-)
9711 commit 77aab8fdbb62e4e0ec0260651db7255d168cb25e
9712 Author: Adrian Johnson <ajohnson@redneon.com>
9713 Date: Thu Nov 29 23:03:40 2007 +1030
9715 PS: Don't emit an image for Type 3 .notdef glyph
9717 Make the .notdef procedure an empty procedure instead
9718 of creating an empty image mask. This reduced the size
9721 src/cairo-ps-surface.c | 18 ++++++++++--------
9722 1 files changed, 10 insertions(+), 8 deletions(-)
9724 commit 78e8d3d9bd2d4652f636a668a3fa53ef9edfd9ae
9725 Author: Adrian Johnson <ajohnson@redneon.com>
9726 Date: Thu Nov 29 22:54:54 2007 +1030
9728 PS: Fix the bounding boxes of Type 3 glyphs
9730 When viewing with ghostscript the glyphs were clipped
9732 src/cairo-ps-surface.c | 4 ++--
9733 1 files changed, 2 insertions(+), 2 deletions(-)
9735 commit 97b0d8b3c376f7848514debbe0697a2159a26eb9
9736 Author: Adrian Johnson <ajohnson@redneon.com>
9737 Date: Thu Nov 29 22:36:07 2007 +1030
9739 PS: Make Type 3 fonts text selectable
9741 Put the glyph names in the Encoding array the same as is done for
9742 Type 1 and Type42 fonts.
9744 Acroread and Evince are still unable to correctly extract the text
9745 after conversion with ps2pdf. However examining the pdf file shows
9746 the glyph names are correct so this is probably a limitation of
9747 Acroread and Evince.
9749 src/cairo-ps-surface.c | 46 ++++++++++++++++++++++++++++++----------------
9750 1 files changed, 30 insertions(+), 16 deletions(-)
9752 commit 5e8f60531a09f357db38c4b646b1bbd29b97a891
9753 Author: Adrian Johnson <ajohnson@redneon.com>
9754 Date: Thu Nov 29 09:20:01 2007 +1030
9756 PS: Ensure that xyshow operator has a pair of offsets for each glyph
9758 The last entry should have been "0 0" instead of "0".
9760 src/cairo-ps-surface.c | 2 +-
9761 1 files changed, 1 insertions(+), 1 deletions(-)
9763 commit ba239a474a5cab36098b8f4a98f36aa6281f7da9
9764 Author: Brian Ewins <Brian.Ewins@gmail.com>
9765 Date: Sun Nov 18 20:30:49 2007 +0000
9767 [quartz] zero memory on bitmap creation
9769 7 quartz/argb32/similar tests were showing failures due to
9770 random bits being set. The problem turned out to be that the
9771 initial test surface was not cleared before the similar surface
9772 was created by push_group. The problem behaviour is more obvious
9773 if you run the tests with MallocScribble=1.
9775 Fix this by calling memset after bitmap allocation; the multiplication
9776 here cannot overflow since we already checked that in malloc_ab.
9778 src/cairo-quartz-surface.c | 2 ++
9779 1 files changed, 2 insertions(+), 0 deletions(-)
9781 commit 58e828a9a31b91c80336fc4ce323b061226dde2b
9782 Author: Brian Ewins <Brian.Ewins@gmail.com>
9783 Date: Sun Jul 1 16:11:07 2007 +0100
9785 [quartz] fill with alpha for EXTEND_NONE
9787 The implementation of EXTEND_NONE was not filling areas outside
9788 the image with rgba(0,0,0,0). This showed up on the operator-source
9789 test, the fix makes the quartz and image renderings identical.
9791 src/cairo-quartz-surface.c | 22 ++++++++++++++++++++++
9792 1 files changed, 22 insertions(+), 0 deletions(-)
9794 commit 39b8ddf07994747c039ee74c64a0cc97a4c7776a
9795 Author: Vladimir Vukicevic <vladimir@pobox.com>
9796 Date: Thu Nov 15 11:57:40 2007 -0800
9798 [win32] Remove double-free in win32 font code in init_glyph_path
9802 src/cairo-win32-font.c | 1 -
9803 1 files changed, 0 insertions(+), 1 deletions(-)
9805 commit 50d5f5a4e6d7424694b0b27fc0c3a00c9eb203bb
9806 Author: Vladimir Vukicevic <vladimir@pobox.com>
9807 Date: Thu Nov 15 11:56:56 2007 -0800
9809 [quartz] Fix gradients; the wrong color field was being used
9811 The wrong color field was being used, effectively making gradients always
9812 have transparent black as their color stops.
9814 src/cairo-quartz-surface.c | 24 ++++++++++++------------
9815 1 files changed, 12 insertions(+), 12 deletions(-)
9817 commit bcb0f57e5eca58480e24251777f0b967e1aadefe
9818 Author: Brian Ewins <Brian.Ewins@gmail.com>
9819 Date: Wed Nov 14 01:50:34 2007 +0000
9821 [quartz] remove double malloc in dashing code.
9823 fdash is reallocated without being released, and is
9824 allocated at the wrong size too.
9826 src/cairo-quartz-surface.c | 5 +----
9827 1 files changed, 1 insertions(+), 4 deletions(-)
9829 commit e6bc049465730a9640a1038104210d14aad4b3cb
9830 Author: Brian Ewins <Brian.Ewins@gmail.com>
9831 Date: Tue Nov 13 00:43:59 2007 +0000
9833 [quartz] typo checking for malloc failure
9835 The check after the malloc of cg_advances looked at the wrong
9838 src/cairo-quartz-surface.c | 2 +-
9839 1 files changed, 1 insertions(+), 1 deletions(-)
9841 commit bb2674207cf01386c6338511d2462694187fff36
9842 Author: Brian Ewins <Brian.Ewins@gmail.com>
9843 Date: Mon Nov 12 23:56:01 2007 +0000
9845 [quartz] fix leak in show_glyphs
9847 In cairo_quartz_show_glyphs we may leak the source if
9848 there is a failure to malloc the glyph arrays. Fix this.
9850 src/cairo-quartz-surface.c | 30 ++++++++++++++++++------------
9851 1 files changed, 18 insertions(+), 12 deletions(-)
9853 commit 7ad34c1bdc6417ca0e2e1075b67ca09c5318db75
9854 Author: Brian Ewins <Brian.Ewins@gmail.com>
9855 Date: Mon Nov 12 23:52:52 2007 +0000
9857 [quartz] fix for cairo_reset_clip()
9859 src/cairo-quartz-surface.c | 3 +++
9860 1 files changed, 3 insertions(+), 0 deletions(-)
9862 commit 717ccbcf0c12fcfa840396378812919c9e151d57
9863 Author: Brian Ewins <Brian.Ewins@gmail.com>
9864 Date: Mon Nov 12 23:51:39 2007 +0000
9866 Revert "[quartz] handle 0x0 surfaces."
9868 This reverts commit 2fd50a7897efaed4dabaf75a6ed8828f16c14d36.
9869 Spoke too soon, quartz doesn't like creating those 0x0
9870 images; while the tests pass, its putting warnings in the logs.
9871 Reverting to make a better fix.
9873 src/cairo-quartz-surface.c | 2 +-
9874 1 files changed, 1 insertions(+), 1 deletions(-)
9876 commit 2fd50a7897efaed4dabaf75a6ed8828f16c14d36
9877 Author: Brian Ewins <Brian.Ewins@gmail.com>
9878 Date: Sun Nov 11 01:29:00 2007 +0000
9880 [quartz] handle 0x0 surfaces.
9882 Some tests, like invalid-matrix, generate a 0x0 bitmap; in
9883 the quartz backend this caused a nil surface to be returned,
9884 whereas the tests expect a quartz surface. Other surfaces
9885 return a backend-specific surface with a zero-sized bitmap,
9886 quartz should do the same.
9888 Fixes the tests ft-font-create-for-ft-face, get-and-set,
9889 get-clip, invalid-matrix, line-width-zero,
9890 select-font-no-show-text, solid-pattern-cache-stress,
9891 surface-finish-twice, and text-cache-crash.
9893 src/cairo-quartz-surface.c | 2 +-
9894 1 files changed, 1 insertions(+), 1 deletions(-)
9896 commit 0359ad6c8da56a44697498bd8b74fbc029cbe930
9897 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9898 Date: Sun Nov 11 00:18:19 2007 +0100
9900 Compilation warning suppression (char as array subscript).
9902 cairo_path_op_t is a char, and can't be directly used as array subscript.
9904 src/cairo-path-fixed.c | 4 ++--
9905 1 files changed, 2 insertions(+), 2 deletions(-)
9907 commit 1b71af7e61bd6c55b78e1a9a4c56b93d0b1134ed
9908 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9909 Date: Sun Nov 11 00:14:34 2007 +0100
9911 Fix _cairo_path_fixed_init_copy.
9913 All the copied data buffers except the first one weren't completely
9914 initialized (num_ops and num_points). That was the cause of the failure
9915 of some vector surface tests, like random-intersections.
9917 src/cairo-path-fixed.c | 2 ++
9918 1 files changed, 2 insertions(+), 0 deletions(-)
9920 commit 3554c31e3d28ad5aad35c8fe4c6bb8ce7d297dde
9921 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9922 Date: Sat Nov 10 10:43:43 2007 +0100
9924 [SVG] Add missing image to REFERENCE_IMAGES list.
9926 test/Makefile.am | 1 +
9927 1 files changed, 1 insertions(+), 0 deletions(-)
9929 commit 916d82586ec196bfb3124850e68ef66a63464e72
9930 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9931 Date: Sat Nov 10 10:24:21 2007 +0100
9933 [SVG] Indentation fixes.
9935 src/cairo-svg-surface.c | 130 +++++++++++++++++++++++-----------------------
9936 1 files changed, 65 insertions(+), 65 deletions(-)
9938 commit 8edc3ed4857795387007e7c4997f30d7ceec57ac
9939 Merge: 3bc8a8d... 77e9b05...
9940 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9941 Date: Sat Nov 10 10:10:50 2007 +0100
9943 Merge branch 'master' of git+ssh://emmanuel@git.cairographics.org/git/cairo
9945 commit 3bc8a8d1d0e07e857b203a7872862437b8333b25
9946 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9947 Date: Sat Nov 10 10:10:03 2007 +0100
9949 [SVG] Remove spurious semicolon when emitting mask url.
9951 src/cairo-svg-surface.c | 2 +-
9952 1 files changed, 1 insertions(+), 1 deletions(-)
9954 commit b68968ffd1864d591e4fc08fed55c12ece95ec55
9955 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
9956 Date: Sat Nov 10 10:07:12 2007 +0100
9958 [SVG] Fix opacity of combined stroke and fill.
9960 When emitting combined stroke and fill, cairo SVG backend was using the opacity
9961 two times, instead of using fill-opacity and stroke-opacity, leading to
9964 I've updated the mask test reference images for the SVG output, since it seems
9965 there's a bug in librsvg when fill-opacity is used in the mask image.
9966 I've checked the SVG output with batik, and it looks fine.
9968 src/cairo-svg-surface.c | 25 +++++++++++++------------
9969 test/mask-svg-argb32-ref.png | Bin 8405 -> 8389 bytes
9970 test/mask-svg-rgb24-ref.png | Bin 0 -> 7935 bytes
9971 3 files changed, 13 insertions(+), 12 deletions(-)
9973 commit 77e9b05b2b011ce964287ff493c2b421977107ee
9974 Author: Brian Ewins <Brian.Ewins@gmail.com>
9975 Date: Sat Nov 10 01:34:03 2007 +0000
9977 [test] support using a previous build as a reference
9979 Allow using a previous test output directory as a source of
9980 reference images. To make use of this, set the environment
9981 variable 'CAIRO_REF_DIR' to point at an old test directory,
9982 relative to the current test directory.
9984 This is useful for testing backends when reference images haven't
9985 been created yet, or which the current reference image structure
9986 can't accomodate, like multiple font backends.
9988 test/README | 8 ++++++++
9989 test/cairo-test.c | 17 ++++++++++++++++-
9990 2 files changed, 24 insertions(+), 1 deletions(-)
9992 commit f8ee0cdf186bfb30bdeb487b63d42f274c1073ce
9993 Author: Brian Ewins <Brian.Ewins@gmail.com>
9994 Date: Sat Nov 10 01:34:01 2007 +0000
9996 [test] Link to the correct reference image.
9998 The generated test html guesses the names of the reference
9999 images used in the tests. This is quite often wrong, and
10000 makes it harder to change policy in cairo-test. Teach
10001 make-html.pl to parse the log for the path to the reference image.
10003 test/make-html.pl | 102 +++++++++++++++++++++++-----------------------------
10004 1 files changed, 45 insertions(+), 57 deletions(-)
10006 commit 15fc1bbefb49fefedca53c47ccfc7edace0acbfe
10007 Author: Brian Ewins <Brian.Ewins@gmail.com>
10008 Date: Sat Nov 10 01:33:47 2007 +0000
10010 [test] log tested paths so that they can be parsed.
10012 The test logs currently do not record the paths of
10013 image output, the reference images tested against, and
10014 the diffs created. This means that make-html.pl has to
10015 duplicate the policy in cairo-test.c. Fix this by teaching
10016 cairo-test.c to log the paths.
10018 test/cairo-test.c | 4 +++-
10019 1 files changed, 3 insertions(+), 1 deletions(-)
10021 commit 28412f780ebf52914aa374bb2bdd3d539bd29241
10022 Author: Vladimir Vukicevic <vladimir@pobox.com>
10023 Date: Tue Nov 6 16:11:06 2007 -0800
10025 [win32-printing] bail out early if we don't have anything to do in paint_surf
10027 src/cairo-win32-printing-surface.c | 5 +++++
10028 1 files changed, 5 insertions(+), 0 deletions(-)
10030 commit d72bb8c12efcffe7c576afe63212b2fe47e8154c
10031 Author: Vladimir Vukicevic <vladimir@pobox.com>
10032 Date: Tue Nov 6 16:08:59 2007 -0800
10034 [win32] Fix FIXED_to_fixed when cairo's fixed format isn't 16.16
10036 src/cairo-win32-font.c | 10 ++++------
10037 1 files changed, 4 insertions(+), 6 deletions(-)
10039 commit 0901b83ca56e197d5c96d71ab8cfe53f21b4c8bb
10040 Author: Vladimir Vukicevic <vladimir@pobox.com>
10041 Date: Tue Nov 6 15:49:57 2007 -0800
10043 [win32] Don't use GetGlyphOutline on non-TrueType fonts
10045 win32-glyph-metrics.patch: GetGlyphOutline only works on Truetype fonts,
10046 so for non-Truetype fonts, assume no left or right bearing and use the
10047 font ascent and descent for the glyph extents.
10049 src/cairo-win32-font.c | 44 +++++++++++++++++++++++++++++++-------------
10050 1 files changed, 31 insertions(+), 13 deletions(-)
10052 commit f11f7524b62df29aa377382f5ceeda8c3beb2d54
10053 Author: Vladimir Vukicevic <vladimir@h-232.office.mozilla.org>
10054 Date: Tue Nov 6 15:40:30 2007 -0800
10056 [quartz] work around Quartz bugs with images bigger than a certain size
10058 Quartz has a bug with images greater than (signed) 16 bits in height; avoid
10059 creating or working with those. Also fixes some memory leaks.
10061 Patch from John Daggett.
10063 src/cairo-quartz-surface.c | 61 ++++++++++++++++++++++++++++++++++++++++++-
10064 1 files changed, 59 insertions(+), 2 deletions(-)
10066 commit 95ede9ea59eb1e2d7fe10fbc698f3f9fff192e79
10067 Author: Vladimir Vukicevic <vladimir@h-232.office.mozilla.org>
10068 Date: Tue Nov 6 15:06:06 2007 -0800
10070 Use correct surface resolution when creating paginated fallback image
10072 If a surface resolution is set via _cairo_surface_set_resolution, it
10073 needs to be used when the fallback image is created. The user sets
10074 the fallback resolution on the paginated surface, so we need
10075 to divide that by the resolution of the actual (target) surface, not
10076 the paginated surface.
10078 src/cairo-paginated-surface.c | 4 ++--
10079 1 files changed, 2 insertions(+), 2 deletions(-)
10081 commit 9b8d9f2859ce66b742c887eb673407a84095f488
10082 Author: Vladimir Vukicevic <vladimir@h-232.office.mozilla.org>
10083 Date: Tue Nov 6 14:54:59 2007 -0800
10085 [win32] Skip doing some work if we can't call StretchDIBits
10087 src/cairo-win32-printing-surface.c | 6 ++++++
10088 1 files changed, 6 insertions(+), 0 deletions(-)
10090 commit fa7e36669ae24fdbb5bd89a9fc1b6906408a5823
10091 Author: Vladimir Vukicevic <vladimir@h-232.office.mozilla.org>
10092 Date: Tue Nov 6 14:53:09 2007 -0800
10094 [quartz] Fix for 10.5 SDK; the FloatToFixed macro started doing strange things
10096 src/cairo-quartz-surface.c | 8 ++++++++
10097 1 files changed, 8 insertions(+), 0 deletions(-)
10099 commit 236c52b095661be395021d511d2dca0b532f83e9
10100 Author: Vladimir Vukicevic <vladimir@h-232.office.mozilla.org>
10101 Date: Tue Nov 6 14:52:24 2007 -0800
10103 Handle overflow/underflow gracefully when converting to 16.16 fixed
10105 src/cairo-fixed-private.h | 22 +++++++++++++++++++---
10106 1 files changed, 19 insertions(+), 3 deletions(-)
10108 commit 5b0a0fe7a230f99a43916a16bfd2d26882bad46b
10109 Author: Carl Worth <cworth@cworth.org>
10110 Date: Wed Nov 7 11:17:59 2007 -0800
10112 Mention cairo_new_sub_path in documentation of cairo_arc
10114 src/cairo.c | 3 ++-
10115 1 files changed, 2 insertions(+), 1 deletions(-)
10117 commit 62d64e12aa9264a17c9bb7d6ae154a1778f0c7e1
10118 Author: Chris Wilson <chris@chris-wilson.co.uk>
10119 Date: Tue Nov 6 14:24:52 2007 +0000
10121 [cairo-pdf-surface] Create a new path for an empty clip.
10123 If the clip path is empty, then we need to start a new path otherwise
10124 the clip is ineffective.
10126 src/cairo-pdf-surface.c | 36 ++++++++++++++++++++++--------------
10127 1 files changed, 22 insertions(+), 14 deletions(-)
10129 commit b4057b8643cf02439b6033d7443d0d4c42220a62
10130 Author: Chris Wilson <chris@chris-wilson.co.uk>
10131 Date: Tue Nov 6 09:45:54 2007 +0000
10133 [cairo-clip] Special case using an empty clip path.
10135 Detect when the user calls cairo_clip() with an empty clip path and
10136 mark the clip as all_clipped.
10138 src/cairo-clip.c | 6 ++++++
10139 1 files changed, 6 insertions(+), 0 deletions(-)
10141 commit 2f0867b43fbc9a385a32a2a39895f4c3559f6ddf
10142 Author: Chris Wilson <chris@chris-wilson.co.uk>
10143 Date: Tue Nov 6 09:44:03 2007 +0000
10145 [cairo-surface] Handle the all clipped out case.
10147 Explicitly handle a clip which represents that the entire surface is
10150 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13084.
10152 src/cairo-surface.c | 61 +++++++++++++++++++++++++++++++++++++++++++-------
10153 1 files changed, 52 insertions(+), 9 deletions(-)
10155 commit 641215b2b018e98b298db5042360e2e22ab5a0aa
10156 Author: Chris Wilson <chris@chris-wilson.co.uk>
10157 Date: Mon Nov 5 22:22:42 2007 +0000
10159 [test/clip-all] Combine text and everything clipped out.
10161 https://bugs.freedesktop.org/show_bug.cgi?id=13084 demonstrates a
10162 regression where the clip is ignored by the xlib backend whilst
10163 rendering text. Therefore we extend the current test cases to combine
10164 a clip that represents everything clipped out with the rendering of
10165 text. For completeness, we add a new test case that exactly mimics the
10166 sequence of cairo operations that lead to the discovery of this bug -
10167 namely the rendering of text with an empty clip path.
10169 test/Makefile.am | 2 +
10170 test/clip-all.c | 10 ++++++
10171 test/clip-empty-ref.png | Bin 0 -> 118 bytes
10172 test/clip-empty.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++
10173 4 files changed, 84 insertions(+), 0 deletions(-)
10175 commit 55b530ffef2bce96d57919563c6c9b58f02f8fb8
10176 Author: Behdad Esfahbod <behdad@behdad.org>
10177 Date: Mon Nov 5 14:47:27 2007 -0500
10179 [PS] Fix compiler warnings
10181 src/cairo-ps-surface.c | 14 +++++++-------
10182 1 files changed, 7 insertions(+), 7 deletions(-)
10184 commit 570714b2b4e0b7aea58142bcba37a9eb7945cf09
10185 Author: Behdad Esfahbod <behdad@behdad.org>
10186 Date: Mon Aug 14 21:34:40 2006 -0400
10188 [test/fallback-resolution] set tolerance to a large value to see how it performs
10189 in different fallback resolutions.
10191 test/fallback-resolution.c | 1 +
10192 1 files changed, 1 insertions(+), 0 deletions(-)
10194 commit 5acbef20213ad354cc835f6d15811e333ee38e74
10195 Author: Behdad Esfahbod <behdad@behdad.org>
10196 Date: Mon Aug 14 21:34:03 2006 -0400
10198 [test] fallback-resolution: center text
10200 test/fallback-resolution.c | 5 ++++-
10201 1 files changed, 4 insertions(+), 1 deletions(-)
10203 commit 7f21bfb0a8265095d68bb5ff6afae7553683a776
10204 Author: Behdad Esfahbod <behdad@behdad.org>
10205 Date: Mon Aug 14 21:33:13 2006 -0400
10207 [meta-surface] Adjust tolerance when replaying to surfaces with device scale
10209 such that we get a consistent look with different fallback resolutions.
10211 src/cairo-meta-surface.c | 11 ++++++-----
10212 1 files changed, 6 insertions(+), 5 deletions(-)
10214 commit 4270cd3358fabf0d3e6ac4e866099b172082b592
10215 Author: Richard Hult <richard@imendio.com>
10216 Date: Mon Nov 5 10:05:07 2007 +0000
10218 [atsui] Use ascent+descent+leading to get the distance between baselines
10220 The height is currently mapped to the atsui metrics property capHeight, which
10221 is documented as "The height of a capital letter in the font from the baseline
10222 to the top of the letter".
10224 That doesn't match what height is in cairo, it should be the disctance between
10225 baselines. This patch that fixes that (and makes webkit on GTK+ OS X
10228 src/cairo-atsui-font.c | 2 +-
10229 1 files changed, 1 insertions(+), 1 deletions(-)
10231 commit 3141b21c0c581dabc09a6ec9cdf0a071701b0e42
10232 Author: Brian Ewins <Brian.Ewins@gmail.com>
10233 Date: Mon Nov 5 10:05:04 2007 +0000
10235 [configure.in] fix atsui experimental warning
10237 The 'experimental' warning for atsui was appearing
10238 for --enable-quartz not --enable-atsui as it should.
10240 configure.in | 2 +-
10241 1 files changed, 1 insertions(+), 1 deletions(-)
10243 commit b3ef306f84944a45b389c1f4bfeae910baf5bcb0
10244 Author: Chris Wilson <ickle@cube.localdomain>
10245 Date: Mon Nov 5 09:09:14 2007 +0000
10247 [cairo-atomic] Add a few more cpus that are known to have atomic access.
10249 Add x86_64 and arm to the list of cpus which do not require memory
10250 barriers for reading and writing integers/pointers atomically.
10252 configure.in | 6 ++++++
10253 1 files changed, 6 insertions(+), 0 deletions(-)
10255 commit bd5ed9a3988910a41748b7d78a265a2968a48f23
10256 Author: Chris Wilson <ickle@cube.localdomain>
10257 Date: Mon Nov 5 09:05:25 2007 +0000
10259 [cairo-atomic] Declare the mutex for NEEDS_MEMORY_BARRIER.
10261 Whilst NEED_MEMORY_BARRIER should be a subset of ! HAS_ATOMIC_OPS,
10262 until we have accurate configure tests NEED_MEMORY_BARRIER may be
10263 invoked independently.
10265 src/cairo-mutex-list-private.h | 2 +-
10266 1 files changed, 1 insertions(+), 1 deletions(-)
10268 commit 901b0c97523a2da00ccf91cf4cee3bf55ce989b5
10269 Author: Chris Wilson <chris@chris-wilson.co.uk>
10270 Date: Sun Nov 4 11:55:25 2007 +0000
10272 [cairo-path-fixed] Exponentially enlarge cairo_path_buf_t.
10274 Allocate subsequent path bufs twice as large as the previous buf,
10275 whilst still embedding a small initial buf into cairo_path_fixed_t
10276 that handles the most frequent usage.
10278 src/cairo-path-fill.c | 2 +-
10279 src/cairo-path-fixed-private.h | 20 ++++++---
10280 src/cairo-path-fixed.c | 89 ++++++++++++++++++++++++----------------
10281 3 files changed, 68 insertions(+), 43 deletions(-)
10283 commit 92a18464bae40b19a26402eb2aa4950cac04c3a0
10284 Author: Chris Wilson <chris@chris-wilson.co.uk>
10285 Date: Sat Nov 3 10:41:55 2007 +0000
10287 [cairo-surface] Avoid allocation for common case of 1 box.
10289 _cairo_surface_fill_region(): avoid allocating the array of boxes if we
10290 know that the region only contains one box and is therefore defined by its
10293 src/cairo-surface.c | 48 ++++++++++++++++++++++++++++--------------------
10294 1 files changed, 28 insertions(+), 20 deletions(-)
10296 commit e60a7c39cdcdfd474c4f6cc3b4612870726f55dc
10297 Author: Chris Wilson <chris@chris-wilson.co.uk>
10298 Date: Thu Oct 25 10:24:01 2007 +0100
10300 [cairo-atomic] Check whether we can access int/pointers atomically.
10302 Add a configure check to determine whether the host cpu can read/write
10303 cairo_atomic_t without an explicit memory barrier, and update the macros
10304 within cairo-atomic-private.h to reflect this knowledge.
10306 configure.in | 15 +++++++++++++++
10307 src/cairo-atomic-private.h | 20 +++++++++++++++-----
10308 2 files changed, 30 insertions(+), 5 deletions(-)
10310 commit 76667b4c2a4243a52ab0dbe372151a9ca7dfe931
10311 Author: Adrian Johnson <ajohnson@redneon.com>
10312 Date: Sat Nov 3 16:53:54 2007 +1030
10314 ROADMAP: Mark set PS level complete
10317 1 files changed, 1 insertions(+), 1 deletions(-)
10319 commit 6d2615d449a9df6a8a7e3b5e5370b06dc14912f5
10320 Author: Chris Wilson <chris@chris-wilson.co.uk>
10321 Date: Fri Nov 2 09:17:59 2007 +0000
10323 [test/degenerate-pen] Add missing return value.
10325 Carl - he likes to test us occasionally to make sure we're paying
10326 attention. Well, that's the excuse I use...
10328 test/degenerate-pen.c | 2 ++
10329 1 files changed, 2 insertions(+), 0 deletions(-)
10331 commit eb0b16837b7cbf63e4b49fb5c22cd392658033d8
10332 Author: Chris Wilson <chris@chris-wilson.co.uk>
10333 Date: Thu Nov 1 22:11:01 2007 +0000
10335 [cairo-spline] Eliminate redundant _cairo_fixed_to_double().
10337 Inline and unroll PointDistanceSquaredToSegment() and eliminate the
10338 multiple conversions between fixed point and doubles. This simple
10339 transformation both shrinks the code and wins a few percent in path
10340 intensive benchmarks such as fuckhergently.swf
10342 src/cairo-spline.c | 107 +++++++++++++++++++++++++--------------------------
10343 1 files changed, 52 insertions(+), 55 deletions(-)
10345 commit 2a25e226588404da2970f473bdeb0d2ce106ce58
10346 Author: Chris Wilson <chris@chris-wilson.co.uk>
10347 Date: Thu Nov 1 19:49:19 2007 +0000
10349 [cairo-spline] Reduce stack requirements during recursive refinement.
10351 By splitting out the knot vectors into a smaller, separate structure, we
10352 can dramatically reduce the stack allocation for each level of recursion.
10353 Secondly we can have the storage requirements by modifying the first set
10354 of knots in-place, thus we need only allocate stack space for the knots
10355 covering the deferred half of the spline.
10357 src/cairo-spline.c | 94 ++++++++++++++++++++++++++--------------------------
10358 src/cairoint.h | 13 ++++---
10359 2 files changed, 55 insertions(+), 52 deletions(-)
10361 commit b311c414a27b7374540671b3ef7153b30def0451
10362 Author: Chris Wilson <chris@chris-wilson.co.uk>
10363 Date: Thu Nov 1 19:40:25 2007 +0000
10365 [cairo] Use NULL instead of a bare 0.
10367 Silence a sparse warning.
10369 src/cairo.c | 10 +++++-----
10370 1 files changed, 5 insertions(+), 5 deletions(-)
10372 commit fd5c5178189d2035f3e25919c7453fa4e1c5a76a
10373 Author: Chris Wilson <chris@chris-wilson.co.uk>
10374 Date: Thu Nov 1 19:39:02 2007 +0000
10376 [cairo-scaled-font] Zero extents on early error.
10378 Ensure that the output extents of cairo_scaled_font_glyph_extents(),
10379 are zeroed if we return early due to being passed by the user a
10380 cairo_scaled_font_t with an error set.
10382 src/cairo-scaled-font.c | 9 ++++++++-
10383 1 files changed, 8 insertions(+), 1 deletions(-)
10385 commit cee6aa016b9d96d3430187d44397df2b311de8bc
10386 Author: Chris Wilson <chris@chris-wilson.co.uk>
10387 Date: Thu Nov 1 19:30:19 2007 +0000
10389 [cairo-paginated-surface] Mark the backend static.
10391 Only used within the file, so do not expose outside the library.
10393 src/cairo-paginated-surface.c | 4 ++--
10394 1 files changed, 2 insertions(+), 2 deletions(-)
10396 commit 6e0151df469b67ea56c36f7b0050b5d5c959c67d
10397 Author: Chris Wilson <chris@chris-wilson.co.uk>
10398 Date: Thu Nov 1 19:29:00 2007 +0000
10400 [cairo-atomic] Rearrange code under the correct ifdefs.
10402 The atomic get/set depend upon NEED_MEMORY_BARRIER which is separate
10403 from HAVE_ATOMIC_OPS.
10405 src/cairo-atomic.c | 24 +++++++++++++-----------
10406 1 files changed, 13 insertions(+), 11 deletions(-)
10408 commit a26118cf5bf4063a4bdac2bece1bba0be776c801
10409 Author: Chris Wilson <chris@chris-wilson.co.uk>
10410 Date: Wed Oct 31 16:37:09 2007 +0000
10412 [cairo-png] Check for feof whilst reading.
10414 We need to check for both ferror() and feof() when handling short reads.
10416 src/cairo-png.c | 2 +-
10417 1 files changed, 1 insertions(+), 1 deletions(-)
10419 commit 61143e5b21ea4c2687c1cef012eb0758a7cb378a
10420 Author: Chris Wilson <chris@chris-wilson.co.uk>
10421 Date: Wed Oct 31 16:34:51 2007 +0000
10423 [cairo-png] Handle missing PNG_SETJMP_SUPPORTED
10425 If libpng has not been compiled with jmpbuf support, then we cannot
10426 atempt to use it - in which case we fall back to png's default error
10429 src/cairo-png.c | 16 ++++++++++++----
10430 1 files changed, 12 insertions(+), 4 deletions(-)
10432 commit c37a8ace818770ce3f07c2a7147088231d559e44
10433 Author: Adrian Johnson <ajohnson@redneon.com>
10434 Date: Thu Nov 1 00:01:16 2007 +1030
10436 Round floats in output-stream to 6 significant digits after decimal
10438 The previous commit increased the precision of floats from 6 digits
10439 after the decimal point to 18 digits to correct rounding errors with
10440 very small numbers. However most of the time this extra precision is
10441 not required and results in increased PS/PDF output.
10443 This commit makes the precision after the decimal point 6 significant
10444 digits. For example:
10451 src/cairo-output-stream.c | 41 +++++++++++++++++++++++++++++++++++++++--
10452 1 files changed, 39 insertions(+), 2 deletions(-)
10454 commit 8297daff896ca9d803959edb3c1955977594fab9
10455 Author: Behdad Esfahbod <behdad@behdad.org>
10456 Date: Wed Oct 31 02:41:33 2007 -0400
10458 [cairo-output-stream] Write out floats to 18 digits after decimal point
10460 We write floats using %f as the scientific format used by smarter %g is
10461 invalid in PS/PDF. %f however by default rounds to five digits after
10462 decimal point. This was causing precision loss and making the newly
10463 added degenerate-pen test fail for PDF. We now print up to 18 digits
10464 which is as many bits doubles can accomodate. We can be smarter, but
10465 that's for another commit.
10467 src/cairo-output-stream.c | 2 +-
10468 1 files changed, 1 insertions(+), 1 deletions(-)
10470 commit 04793175ace1312ac88570407ee28db4dde9a93c
10471 Author: Carl Worth <cworth@cworth.org>
10472 Date: Tue Oct 30 22:49:10 2007 -0700
10474 Increment cairo version to 1.5.3 after the 1.5.2 snapshot
10476 configure.in | 2 +-
10477 1 files changed, 1 insertions(+), 1 deletions(-)
10479 commit ee5dc04aaf81d6ce9c496c7966ceebfbd6ab12fb
10480 Author: Carl Worth <cworth@cworth.org>
10481 Date: Tue Oct 30 22:33:24 2007 -0700
10483 Add missing images to REFERENCE_IMAGES list
10485 Otherwise, these don't get included in the generated tar file
10486 and the test suite doesn't pass when run from that tar file,
10487 (like 'make distcheck' tests).
10489 test/Makefile.am | 4 ++++
10490 1 files changed, 4 insertions(+), 0 deletions(-)
10492 commit 194029b63afa24eff8264f10a1c5a79d90e7fdd9
10493 Author: Carl Worth <cworth@cworth.org>
10494 Date: Tue Oct 30 22:15:55 2007 -0700
10496 Increment cairo version to 1.5.2 and libtool versioning to 14:0:12
10498 configure.in | 8 ++++----
10499 1 files changed, 4 insertions(+), 4 deletions(-)
10501 commit 06af5c2891b89da28581c30afcde06c5442884db
10502 Author: Keith Packard <keithp@koto.keithp.com>
10503 Date: Tue Oct 30 22:00:59 2007 -0700
10505 Force non-AA text when using a bitmap strike with only scaling transform.
10507 When the current font size matches one of the available fixed sizes, and
10508 the overall transform has only scaling components, FreeType will use the
10509 fixed size bitmaps by default. For glyphs which do not have bitmaps,
10510 force them to be rendered in monochrome instead of anti-aliased so
10511 that they all match nicely.
10513 src/cairo-ft-font.c | 24 ++++++++++++++++++++++++
10514 1 files changed, 24 insertions(+), 0 deletions(-)
10516 commit f09f02a6e82df0efb66696fca857a412e7d12672
10517 Author: Carl Worth <cworth@cworth.org>
10518 Date: Tue Oct 30 21:57:47 2007 -0700
10520 Add notes for 1.5.2 snapshot
10522 NEWS | 252 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10523 1 files changed, 252 insertions(+), 0 deletions(-)
10525 commit 448c9314252bba779194d2b01950b8738b26fd13
10526 Author: Carl Worth <cworth@cworth.org>
10527 Date: Tue Oct 30 17:09:56 2007 -0700
10529 Fix degenerate-pen test case by removing the triggering assertion
10531 Instead we choose either the first or last pen vertex as
10534 This makes the degenerate-pen pass stop failing on an
10535 assertion, and passes for most backends. It's still failing
10536 for the PDF backend, but that looks like a new, PDF-specific
10539 src/cairo-pen.c | 16 +++++++++++++++-
10540 1 files changed, 15 insertions(+), 1 deletions(-)
10542 commit 5e76f652842d36086f500735f67cfd1d2f3e3edf
10543 Author: Carl Worth <cworth@cworth.org>
10544 Date: Tue Oct 30 17:00:33 2007 -0700
10546 Add degenerate-pen test case.
10548 This demonstrates the assertion failure pointed out by
10549 Benjamin Otte here:
10551 [cairo] Assertion 'i < pen->num_vertices' failed in 1.4.10
10552 http://lists.cairographics.org/archives/cairo/2007-August/011282.html
10554 test/.gitignore | 1 +
10555 test/Makefile.am | 1 +
10556 test/degenerate-pen-ps-argb32-ref.png | Bin 0 -> 390 bytes
10557 test/degenerate-pen-ref.png | Bin 0 -> 278 bytes
10558 test/degenerate-pen.c | 104 +++++++++++++++++++++++++++++++++
10559 5 files changed, 106 insertions(+), 0 deletions(-)
10561 commit 53378301d42eabc1ebedca983092f522299bd18e
10562 Author: Carl Worth <cworth@cworth.org>
10563 Date: Tue Oct 30 13:13:29 2007 -0700
10565 Update URLs for pixman to point to cairographics.org
10568 configure.in | 2 +-
10569 2 files changed, 5 insertions(+), 4 deletions(-)
10571 commit 6957aa27e8df55ed3ef1e0cfc62c714ad9b644ee
10572 Merge: 00d701f... 8d8724e...
10573 Author: Carl Worth <cworth@cworth.org>
10574 Date: Tue Oct 30 09:45:59 2007 -0700
10576 Merge in fix for get-path-extents test case.
10578 With independent fixes on both branches, the test case now
10579 passes completely. Hurrah!
10581 commit 8d8724e80462593f6fee434cf972a67cb4ded282
10582 Author: Carl Worth <cworth@cworth.org>
10583 Date: Tue Oct 30 09:45:45 2007 -0700
10585 Improve brace readability for multi-line conditional
10587 src/cairo.c | 7 +++++--
10588 1 files changed, 5 insertions(+), 2 deletions(-)
10590 commit f43f0c104045a88de87c5ebf28309a5ba728203e
10591 Author: Carl Worth <cworth@cworth.org>
10592 Date: Tue Oct 30 09:44:42 2007 -0700
10594 Fix remaining two calls to _cairo_path_fixed_get_current_point
10596 The previous commit failed to fix up two callers to the
10597 _cairo_path_fixed_get_current_point function, (and since
10598 C doesn't distinguish between an enum and our integer-as-
10599 Boolean, the compiler didn't complain).
10601 Fortunately, though, the test suite did complain, as the
10602 bug introduced a new failure into the get-path-extents
10603 test, and git-bisect helpfully pointed to the previous
10606 With this fix, the new failure of get-path-extents is
10607 eliminated, (though, in this branch the arc-based failure
10608 of that test still exists).
10610 src/cairo-ft-font.c | 3 +--
10611 src/cairo-win32-font.c | 3 +--
10612 2 files changed, 2 insertions(+), 4 deletions(-)
10614 commit 00d701ff7de68609aa8cec7871d93b27a108fd14
10615 Author: Carl Worth <cworth@cworth.org>
10616 Date: Mon Oct 29 17:55:28 2007 -0700
10618 Limit miters for small angles
10620 This fixes the current failure get-path-extents, which is a
10621 demonstration of the following bug:
10623 cairo_stroke_extents() gives wrong result for arcs in some cases
10624 https://bugs.freedesktop.org/show_bug.cgi?id=7245
10626 Many thanks to Michael Urman whose review of early versions of
10627 this work found a fatal mistake in my algebra.
10629 src/cairo-path-stroke.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++-
10630 1 files changed, 75 insertions(+), 1 deletions(-)
10632 commit 9bf0a640d203a880cae5c6a8bf3602344d03cb68
10633 Author: Carl Worth <cworth@cworth.org>
10634 Date: Mon Oct 29 16:24:13 2007 -0700
10636 Add figure illustrating derivation of miter limit
10638 And use sin in the first place rather than the more awkward
10641 src/cairo-path-stroke.c | 43 ++++++++++++++++++++++++++++++++++++-------
10642 1 files changed, 36 insertions(+), 7 deletions(-)
10644 commit abeba1e69be3d4500107f10e50e1f0e7cae8c78f
10645 Author: Carl Worth <cworth@cworth.org>
10646 Date: Mon Oct 29 16:22:15 2007 -0700
10648 Annoying churn of sgml templates
10650 doc/public/tmpl/cairo-ps.sgml | 53 ++++++++++++++++++++++++++++++++
10651 doc/public/tmpl/cairo-surface.sgml | 19 +++++++++++
10652 doc/public/tmpl/cairo-win32-fonts.sgml | 10 ++++++
10653 doc/public/tmpl/cairo-win32.sgml | 9 +++++
10654 4 files changed, 91 insertions(+), 0 deletions(-)
10656 commit 0d42af2427d1de27845cb8a6b3d290a562c28fc6
10657 Author: Chris Wilson <chris@chris-wilson.co.uk>
10658 Date: Tue Oct 30 11:13:44 2007 +0000
10660 [cairo-surface] Fix typo in doc.
10662 s/INVALUE_FORMAT/INVALID_FORMAT/
10664 src/cairo-surface.c | 2 +-
10665 1 files changed, 1 insertions(+), 1 deletions(-)
10667 commit 39664b7cac7244ac901cb361442ca2967d74a542
10668 Author: Chris Wilson <chris@chris-wilson.co.uk>
10669 Date: Tue Oct 30 11:01:40 2007 +0000
10671 [cairo-path] Return CAIRO_STATUS_SUCCESS.
10673 If we have already returned the error status, then it is cleaner (and
10674 the common idiom) to use 'return CAIRO_STATUS_SUCCESS' rather than
10677 src/cairo-path.c | 2 +-
10678 1 files changed, 1 insertions(+), 1 deletions(-)
10680 commit e57df319633f8ebd0249096d76c9058f31f9835b
10681 Author: Chris Wilson <chris@chris-wilson.co.uk>
10682 Date: Tue Oct 30 10:58:16 2007 +0000
10684 [cairo-path] Make _cairo_path_nil static.
10686 _cairo_path_nil is only used within cairo-path.c, so there is no reason
10687 to expose it to the rest of the libary.
10689 src/cairo-path-private.h | 2 --
10690 src/cairo-path.c | 2 +-
10691 2 files changed, 1 insertions(+), 3 deletions(-)
10693 commit 6fdb7f129c8154e288ee40765fa63ffaeebaf8fd
10694 Author: Chris Wilson <chris@chris-wilson.co.uk>
10695 Date: Tue Oct 30 10:42:22 2007 +0000
10697 Simplify return value from cairo_path_fixed_get_current_point().
10699 The only caller of cairo_path_fixed_get_current_point(), used the status
10700 return to determine whether or not the path had a current point (and did
10701 not propagate the error) - for which we had already removed the
10702 _cairo_error() markup. Now we reduce the boolean status return to a
10703 cairo_bool_t, with a net reduction in code.
10705 src/cairo-path-fixed.c | 11 ++++-------
10706 src/cairo.c | 13 +++++--------
10707 src/cairoint.h | 2 +-
10708 3 files changed, 10 insertions(+), 16 deletions(-)
10710 commit 4a2ab87e1a19921e2ae496f375c1144d2710d0c4
10711 Author: Chris Wilson <chris@chris-wilson.co.uk>
10712 Date: Mon Oct 29 12:04:33 2007 +0000
10714 [cairo-surface] Add the usual guards to _cairo_surface_set_font_options().
10716 Adrian Johnson hit a SEGV after
10717 _cairo_paginaged_surface_create_image_surface() tried to set the font
10718 options on an error surface after running out of memory. So add the
10719 usual checks that the surface is not a snapshot, or in an error state or
10720 finished before modifying its font options.
10722 src/cairo-surface.c | 13 +++++++++++++
10723 1 files changed, 13 insertions(+), 0 deletions(-)
10725 commit bb6d36561c5f50d869236b2bb4d10afd627f9a1d
10726 Author: Chris Wilson <chris@chris-wilson.co.uk>
10727 Date: Sat Oct 27 17:29:54 2007 +0100
10729 [test/get-path-extents] Add link to bug report.
10731 Add a link to the original bug report for the broken extents with arcs.
10732 [http://bugs.freedesktop.org/show_bug.cgi?id=7245]
10734 test/get-path-extents.c | 1 +
10735 1 files changed, 1 insertions(+), 0 deletions(-)
10737 commit a69d4731300b430b802222d317698c313c75a31a
10738 Author: Carl Worth <cworth@cworth.org>
10739 Date: Fri Oct 26 22:58:57 2007 -0700
10741 Fix typo in _cairo_gstate_fini
10743 Obrigado a Luiz Americo Pereira Camara <luizmed@oi.com.br>
10745 src/cairo-gstate.c | 2 +-
10746 1 files changed, 1 insertions(+), 1 deletions(-)
10748 commit 0c02b998f9e8589a90b2e744392995903b94414f
10749 Author: Chris Wilson <chris@chris-wilson.co.uk>
10750 Date: Fri Oct 26 18:06:36 2007 +0100
10752 [cairo-gstate] Allow angle==0 whilst rotating.
10754 Cut'n'paste error whilst copying the NaN check from
10755 _cairo_gstate_scale() flagged the no rotation case as an error.
10757 src/cairo-gstate.c | 5 ++++-
10758 1 files changed, 4 insertions(+), 1 deletions(-)
10760 commit ce44cd65238d38dd6958bf1f7b8ffb9d0e8723c3
10761 Author: Chris Wilson <chris@chris-wilson.co.uk>
10762 Date: Thu Oct 25 00:01:21 2007 +0100
10764 [cairo-gstate] Add a missing _cairo_error() markup.
10766 Missed calling _cairo_error() for the CAIRO_STATUS_NULL_POINTER
10767 returned by _cairo_gstate_init(). Rearrange the code to avoid the
10768 overly complicated return statement. We note that _cairo_gstate_init()
10769 is special as _cairo_gstate_fini() will always be called, even if an
10770 error is thrown, and so do not do the usual cleanup in the case of an
10771 aborted initialization.
10773 src/cairo-gstate.c | 28 +++++++++++++++++++---------
10774 1 files changed, 19 insertions(+), 9 deletions(-)
10776 commit 4ce785e6a9433e7c862efaa6ef9c113412bf51a5
10777 Author: Chris Wilson <chris@chris-wilson.co.uk>
10778 Date: Wed Oct 24 21:58:08 2007 +0100
10780 [cairo-gstate] Add NaN check to rotate.
10782 Check the user input to _cairo_gstate_rotate() for invalid numbers.
10784 src/cairo-gstate.c | 3 +++
10785 1 files changed, 3 insertions(+), 0 deletions(-)
10787 commit 6295a296b0064f0959ca7f39e1d8d00fa51b6251
10788 Author: Chris Wilson <chris@chris-wilson.co.uk>
10789 Date: Wed Oct 24 21:29:54 2007 +0100
10791 [cairo-gstate] Check scale sx * sy != 0.
10794 "If you really want to match when the determinant is non-zero in the
10795 resulting matrix, use sx*sy != 0. This appears the same as sx&&sy but
10796 may also catch when underflow makes the determinant zero."
10798 Return CAIRO_STATUS_INVALID_MATRIX if we know the user input will
10799 generate a degenerate matrix. For additional paranoia we could recompute
10800 and validate the inverse each time as well.
10802 src/cairo-gstate.c | 6 +++---
10803 1 files changed, 3 insertions(+), 3 deletions(-)
10805 commit 483ebe866df539460861a05f5d5e8e56ab2f5430
10806 Author: Chris Wilson <chris@chris-wilson.co.uk>
10807 Date: Wed Oct 24 19:32:00 2007 +0100
10809 [cairo-test] Remove executable flag from source files.
10811 chmod a-x test/cairo-test.[ch]
10813 0 files changed, 0 insertions(+), 0 deletions(-)
10815 commit 1651359ffbda4c14eaf4e79b6deced4f2c247686
10816 Author: Chris Wilson <chris@chris-wilson.co.uk>
10817 Date: Wed Oct 24 18:35:41 2007 +0100
10819 [cairo-perf-diff-files] Only use a valid initializer for min_test.
10821 Do not assume that the tests[0] is a valid test, but instead scan for
10822 the first test that has a name (i.e. is not a terminator).
10824 perf/cairo-perf-diff-files.c | 9 +++++++--
10825 1 files changed, 7 insertions(+), 2 deletions(-)
10827 commit 38c779e7d672151d25cd596149485fcc9f21c298
10828 Author: Chris Wilson <chris@chris-wilson.co.uk>
10829 Date: Tue Oct 23 12:57:26 2007 +0100
10831 [cairo-perf-diff-files] Check for terminator before comparing tests.
10833 Only the name of the terminating test is set so check that the current
10834 test is not the terminator before comparing.
10836 perf/cairo-perf-diff-files.c | 23 ++++++++++++++++-------
10837 1 files changed, 16 insertions(+), 7 deletions(-)
10839 commit e3248a21841cfcbc285d76e2299485f9822857f1
10840 Author: Chris Wilson <chris@chris-wilson.co.uk>
10841 Date: Mon Oct 22 09:34:55 2007 +0100
10843 [cairo-matrix] Check user input for invalid numbers.
10845 Supplement the guards for scale==0 with checks that the user does not
10846 attempt to translate or scale by invalid numbers.
10848 src/cairo-gstate.c | 5 +++++
10849 1 files changed, 5 insertions(+), 0 deletions(-)
10851 commit 8888afe9a4269e2d740d309186159fe946e57eaf
10852 Author: Adrian Johnson <ajohnson@redneon.com>
10853 Date: Mon Oct 22 23:05:25 2007 +0930
10855 PDF: Fix meta surface patterns with EXTEND_REFLECT
10857 src/cairo-pdf-surface.c | 34 +++++++++++++++++++++++++++++-----
10858 1 files changed, 29 insertions(+), 5 deletions(-)
10860 commit f073a83251e56f641a522764c5cab1d71a786a60
10861 Author: Adrian Johnson <ajohnson@redneon.com>
10862 Date: Mon Oct 22 00:02:23 2007 +0930
10864 win32-printing: fix error in comment
10866 boilerplate/cairo-boilerplate-win32-printing.c | 21 +++++++++++----------
10867 1 files changed, 11 insertions(+), 10 deletions(-)
10869 commit fb2bf3e250b39078476d3df4bdbb81201ef00a96
10870 Author: Adrian Johnson <ajohnson@redneon.com>
10871 Date: Sun Oct 21 23:50:57 2007 +0930
10873 win32-printing: remove unused code
10875 src/cairo-win32-printing-surface.c | 17 -----------------
10876 1 files changed, 0 insertions(+), 17 deletions(-)
10878 commit b854d1e1b57680f244939b90b03911a5300f34d6
10879 Author: Adrian Johnson <ajohnson@redneon.com>
10880 Date: Sun Oct 21 23:50:28 2007 +0930
10882 win32-printing: fix typo in comment
10884 src/cairo-win32-printing-surface.c | 2 +-
10885 1 files changed, 1 insertions(+), 1 deletions(-)
10887 commit 2d68c46b779909b5cc493a62db1228ea504ff52a
10888 Author: Adrian Johnson <ajohnson@redneon.com>
10889 Date: Sun Oct 21 23:49:58 2007 +0930
10891 win32-printing: fix dash-caps-joins test failure
10893 src/cairo-win32-printing-surface.c | 11 ++++++-----
10894 1 files changed, 6 insertions(+), 5 deletions(-)
10896 commit 5fa62250456745907dd97fdb9030481bdc91a8dd
10897 Author: Adrian Johnson <ajohnson@redneon.com>
10898 Date: Sun Oct 21 23:49:33 2007 +0930
10900 win32-printing: Add test boilerplate
10902 Testing win32-printing requires setting the default printer to
10903 a PostScript level 3 color printer. The PostScript output is
10904 saved to a file and converted to png using ghostscript.
10906 boilerplate/Makefile.am | 2 +
10907 boilerplate/cairo-boilerplate-win32-printing.c | 308 ++++++++++++++++++++++++
10908 boilerplate/cairo-boilerplate-win32-private.h | 15 ++
10909 boilerplate/cairo-boilerplate.c | 11 +
10910 4 files changed, 336 insertions(+), 0 deletions(-)
10912 commit e63b5e5201a79a8af4bd1d5acb524f067b5f2794
10913 Author: Adrian Johnson <ajohnson@redneon.com>
10914 Date: Sun Oct 21 23:47:35 2007 +0930
10916 win32-printing: Use the surface ctm in show_glyphs
10918 show_glyphs needs to scale the font by the current CTM.
10920 src/cairo-win32-printing-surface.c | 14 ++++++++++++++
10921 1 files changed, 14 insertions(+), 0 deletions(-)
10923 commit ac9831ea55bd62f0ed427230ad80348768415852
10924 Author: Adrian Johnson <ajohnson@redneon.com>
10925 Date: Sun Oct 21 23:46:52 2007 +0930
10927 win32-printing: fix stroke rounding problems
10929 The win32 CTM is changed to user space to set the stroke parameters.
10930 As win32 uses integers for stroke parameters this will cause rounding
10931 problems depending on the CTM used.
10933 This is fixed by factoring out a scale from the user space CTM so that
10934 xx, xy, yx, and yy in the CTM are all < 1. This preserves the shape
10935 of the transformation while ensuring that the CTM does not cause
10936 rounding problems. The stroke parameters are multiplied by the scale
10939 src/cairo-win32-printing-surface.c | 35 +++++++++++++++++++++++++++++------
10940 1 files changed, 29 insertions(+), 6 deletions(-)
10942 commit 89fe7b2ff09d19d3bdc84a8ee871e15716ff3539
10943 Author: Adrian Johnson <ajohnson@redneon.com>
10944 Date: Sun Oct 21 23:45:40 2007 +0930
10946 win32-printing: fix rounding problems when using pattern matrix
10948 When using meta surface patterns, the win32 CTM is changed to the
10949 inverted pattern matrix then the meta surface is replayed to the
10950 surface. The problem with this is that win32 uses integer coordinates
10951 for GDI functions. A pattern matrix that scale the CTM up will cause
10952 rounding errors in the position of each path in the pattern.
10954 This is fixed by always keeping the win32 CTM set to the identity
10955 matrix. The CTM is stored in the surface and all coordinates are
10956 transformed by the CTM before calling GDI functions.
10958 src/cairo-win32-printing-surface.c | 167 +++++++++++++++++++++++++++++-------
10959 src/cairo-win32-private.h | 2 +
10960 2 files changed, 138 insertions(+), 31 deletions(-)
10962 commit af01d9b8fabc2422eb7db144171d52fab95c4387
10963 Author: Adrian Johnson <ajohnson@redneon.com>
10964 Date: Sun Oct 21 23:43:27 2007 +0930
10966 win32-printing: add meta surface pattern support
10968 src/cairo-win32-printing-surface.c | 251 ++++++++++++++++++++++++++++--------
10969 src/cairo-win32-private.h | 1 +
10970 2 files changed, 200 insertions(+), 52 deletions(-)
10972 commit dae1b352c60e6a63ec2131f788fec230fd583d3d
10973 Author: Adrian Johnson <ajohnson@redneon.com>
10974 Date: Sun Oct 21 23:42:54 2007 +0930
10976 update cairo-sections.txt
10978 doc/public/cairo-sections.txt | 1 +
10979 1 files changed, 1 insertions(+), 0 deletions(-)
10981 commit c8da2a7dedb8352bb623954c3ac40244b86eeb24
10982 Author: Adrian Johnson <ajohnson@redneon.com>
10983 Date: Sun Oct 21 23:42:22 2007 +0930
10985 win32-printing: check if images are opaque
10987 Don't use fallback for argb32 images with all alpha == 255.
10989 src/cairo-win32-printing-surface.c | 57 ++++++++++++++++++++++++++++++++++++
10990 1 files changed, 57 insertions(+), 0 deletions(-)
10992 commit 9eb5747755f8c57bd6ba04925e193503fe194462
10993 Author: Adrian Johnson <ajohnson@redneon.com>
10994 Date: Sun Oct 21 23:41:31 2007 +0930
10996 win32-printing: Add missing struct initializers
10998 src/cairo-win32-printing-surface.c | 4 +++-
10999 1 files changed, 3 insertions(+), 1 deletions(-)
11001 commit 8f6abdbc26ee15451b5a386610f7d5a7a9114d63
11002 Author: Brian Ewins <Brian.Ewins@gmail.com>
11003 Date: Sat Oct 20 23:41:46 2007 +0100
11005 [quartz] return status instead of CGPatternRef
11007 Returning status improves error handling, since
11008 returning NULL doesn't let us distinguish different
11011 src/cairo-quartz-surface.c | 20 +++++++++++---------
11012 1 files changed, 11 insertions(+), 9 deletions(-)
11014 commit cfb26fdf0f490b4902106b50d02628cffd53a0eb
11015 Author: Brian Ewins <Brian.Ewins@gmail.com>
11016 Date: Sat Oct 20 23:41:32 2007 +0100
11018 [quartz] return status instead of cairo_quartz_surface_t
11020 Returning status improves error handling, since
11021 returning NULL doesn't let us distinguish different
11024 src/cairo-quartz-surface.c | 32 ++++++++++++++++++--------------
11025 1 files changed, 18 insertions(+), 14 deletions(-)
11027 commit dec3099585eeb184ed51b5c720eb891314d7ea51
11028 Author: Brian Ewins <Brian.Ewins@gmail.com>
11029 Date: Sat Oct 20 22:45:30 2007 +0100
11031 [quartz] return status instead of CGShadingRef
11033 Returning status improves error handling, since
11034 returning NULL doesn't let us distinguish different
11035 types of error. Suggested by Chris Wilson.
11037 src/cairo-quartz-surface.c | 30 ++++++++++++++++--------------
11038 1 files changed, 16 insertions(+), 14 deletions(-)
11040 commit 481ce2b8cb2dc376419e7d6cbdd73bd4ebcd5b5b
11041 Author: Brian Ewins <Brian.Ewins@gmail.com>
11042 Date: Sun Jul 1 14:37:57 2007 +0100
11044 implement clipping with surface masks.
11046 This implements clipping using CGContextClipToMask, which
11047 means that it will only have an effect on OS X 10.4+.
11048 No additional tests pass with this fix - mainly due to
11049 text effects and problems with the IN, OUT, DEST_IN, DEST_ATOP
11052 src/cairo-quartz-surface.c | 43 +++++++++++++++++++++++++++++++++++++++++++
11053 1 files changed, 43 insertions(+), 0 deletions(-)
11055 commit b9c065df74027b06e15e105fee5e4a4d350e0abf
11056 Author: Brian Ewins <Brian.Ewins@gmail.com>
11057 Date: Sun Jun 24 23:53:47 2007 +0100
11059 fix dash-zero-length test
11061 Quartz was failing the dash-zero-length test for odd numbers
11062 of dashes; it seems cairo wants 3 dashes to be on-off-on,
11063 off-on-off, wheras quartz uses on-off-on, on-off-on. Fixed
11064 by doubling the number of dashes used.
11066 src/cairo-quartz-surface.c | 16 +++++++++++-----
11067 1 files changed, 11 insertions(+), 5 deletions(-)
11069 commit f334ee0397963e12c9efcb2690792aac83734661
11070 Author: Brian Ewins <Brian.Ewins@gmail.com>
11071 Date: Sun Jun 24 01:17:58 2007 +0100
11073 Implement EXTEND_NONE for gradients.
11075 Fixes linear and radial gradients, which were displaying with
11076 extend_pad when extend_none was requested. Makes the
11077 radial-gradient test pass.
11079 src/cairo-quartz-surface.c | 6 ++++--
11080 1 files changed, 4 insertions(+), 2 deletions(-)
11082 commit 0eeec372c0e7849d81bde8c8c5bf491919f51a6e
11083 Author: Brian Ewins <Brian.Ewins@gmail.com>
11084 Date: Sat Jun 23 23:36:32 2007 +0100
11086 call _cairo_error on failure
11088 Call _cairo_error to enable setting a breakpoint on quartz errors.
11090 src/cairo-quartz-surface.c | 1 +
11091 1 files changed, 1 insertions(+), 0 deletions(-)
11093 commit 8c8ec63903f8ad67a88394eff1359607bb93cf88
11094 Author: Brian Ewins <Brian.Ewins@gmail.com>
11095 Date: Sat Jun 23 12:34:24 2007 +0100
11097 do not return a cairo_status_t of UNSUPPORTED
11099 We had a bug which converted cairo_int_status_t to cairo_status_t,
11100 causing an assertion; reported at http://developer.imendio.com/node/128.
11101 Return the generic out of memory error instead.
11103 src/cairo-quartz-surface.c | 9 +++++++--
11104 1 files changed, 7 insertions(+), 2 deletions(-)
11106 commit 6fec51990e90901ebafbb872a9e618cb70d17911
11107 Author: Brian Ewins <Brian.Ewins@gmail.com>
11108 Date: Mon Jun 18 00:07:33 2007 +0100
11110 do not ignore errors, return NULL instead (moz#874315)
11112 In the quartz backend there are occasional errors where returning NULL
11113 can be used to signal that an error has occured.
11115 Mozilla bug #874315.
11117 src/cairo-quartz-surface.c | 37 ++++++++++++++++++++++++++++---------
11118 1 files changed, 28 insertions(+), 9 deletions(-)
11120 commit 07fd091e3e6b925c588b9a16f6f10efcd46615c2
11121 Author: Brian Ewins <Brian.Ewins@gmail.com>
11122 Date: Mon Jun 18 00:07:33 2007 +0100
11124 do not ignore errors in setup_source
11126 In setup_source we were ignoring a return value, but we can't relay
11127 it to the caller. This patch treats the error as an unsupported
11130 src/cairo-quartz-surface.c | 6 +++++-
11131 1 files changed, 5 insertions(+), 1 deletions(-)
11133 commit b6b9cef7136453f97543173bcb2ade46b1c46b77
11134 Author: Brian Ewins <Brian.Ewins@gmail.com>
11135 Date: Tue Jun 19 21:13:39 2007 +0100
11137 do not ignore errors when creating styles.
11139 This fixes statuses being ignored when calling
11140 CreateSizedCopyOfStyle. As a side effect, it cleans up
11141 two other bugs - the font object was sometimes not
11142 freed, and a the scaled font mutex was aquired recursively,
11143 causing a hang in the invalid-matrix test.
11145 src/cairo-atsui-font.c | 37 ++++++++++++++++++++++++++-----------
11146 1 files changed, 26 insertions(+), 11 deletions(-)
11148 commit 4885a12c6863321a566e7103bf6dccdd5d13a986
11149 Author: Brian Ewins <Brian.Ewins@gmail.com>
11150 Date: Mon Jun 18 00:07:33 2007 +0100
11152 do not ignore ATSUI errors.
11154 This fixes multiple instances where the return value of an ATSUI
11155 call was ignored and converts them into CAIRO_STATUS_NO_MEMORY.
11156 As a side effect it fixes a utf8 array not being freed.
11158 src/cairo-atsui-font.c | 74 ++++++++++++++++++++++++++++++++++++++++++------
11159 1 files changed, 65 insertions(+), 9 deletions(-)
11161 commit b498c928be73635614596243d17a922e9d5ff008
11162 Author: Brian Ewins <Brian.Ewins@gmail.com>
11163 Date: Mon Jun 18 00:07:33 2007 +0100
11165 do not ignore errors in glyph paths
11167 When interpreting glyph paths in ATSUI callbacks we were ignoring
11168 the cairo status. We need to return this to the caller. In order
11169 to do this we introduce a custom OSStatus code in the range that
11172 src/cairo-atsui-font.c | 30 ++++++++++++++++++++++++------
11173 1 files changed, 24 insertions(+), 6 deletions(-)
11175 commit 95c708c717a367205845cefc81ae0afd9bd3d18f
11176 Author: Brian Ewins <Brian.Ewins@gmail.com>
11177 Date: Mon Jun 18 00:07:33 2007 +0100
11179 propagate cairo_status_t return values
11181 There are several places in the quartz surface where we ignored
11182 the returned status. This fixes the simple cases where the error
11183 can just be returned to the caller.
11185 src/cairo-quartz-surface.c | 16 +++++++++++++---
11186 1 files changed, 13 insertions(+), 3 deletions(-)
11188 commit 7072959e3da0e8814cfd5193f8915aeb1341cc37
11189 Author: Brian Ewins <Brian.Ewins@gmail.com>
11190 Date: Sat Oct 20 11:46:54 2007 +0100
11192 Fix to support new similar tests.
11194 The patch to repeat tests for similar surfaces changed the
11195 format of the test log files, which were parsed to produce
11196 index.html. This fixes the parser to understand those changes.
11198 test/make-html.pl | 136 +++++++++++++++++++++++++++++------------------------
11199 1 files changed, 75 insertions(+), 61 deletions(-)
11201 commit ae2535e4cb7c09eda1be13079d7a23b262aaef7b
11202 Author: Chris Wilson <chris@chris-wilson.co.uk>
11203 Date: Fri Oct 19 23:25:57 2007 +0100
11205 [cairo-perf] Run performance tests over similar surfaces as well.
11207 Immediately repeat the performance test against a similar surface to
11208 ensure that they introduce no regressions. Primarily introduced to
11209 sanity check the change to use XShmPixmaps instead of XPixmaps in the
11210 xlib backend, but it should be generally useful.
11212 perf/cairo-perf.c | 121 +++++++++++++++++++++++++++++++++--------------------
11213 1 files changed, 75 insertions(+), 46 deletions(-)
11215 commit 081507a09e61e1e4a048e40f8ba67a76aa76bbef
11216 Author: Chris Wilson <chris@chris-wilson.co.uk>
11217 Date: Fri Oct 19 22:26:28 2007 +0100
11219 [cairo-test] Repeat tests for similar surfaces.
11221 Having noticed strange discrepancies creeping into similar surfaces
11222 whilst working on the xlib backend, I thought it wise to also run
11223 the test harness against similar targets. For consistency, only
11224 targets whose similar surface use the same backend are included.
11226 This can be disabled by exporting CAIRO_TEST_IGNORE_SIMILAR=1.
11228 test/cairo-test.c | 173 ++++++++++++++++++++++++++++++++++------------------
11229 1 files changed, 113 insertions(+), 60 deletions(-)
11231 commit 3211d810d31a6607c8d78a50f577a8ca8eb705e6
11232 Author: Chris Wilson <chris@chris-wilson.co.uk>
11233 Date: Fri Oct 19 22:45:15 2007 +0100
11235 [cairo-xlib] Check source for XRender support.
11237 Do not rely on the assumption that if the destination has render support
11238 then the source has it as well - breaks when the boilerplate disables
11239 render support for a surface.
11241 Similarly do not set the XRender attributes on the source surface
11242 unless it actually has a xrender_format.
11244 src/cairo-xlib-surface.c | 17 +++++++++--------
11245 1 files changed, 9 insertions(+), 8 deletions(-)
11247 commit 5c08226a0f7bc373a96fe75d15ad854910eb3265
11248 Author: Chris Wilson <chris@chris-wilson.co.uk>
11249 Date: Fri Oct 19 16:04:33 2007 +0100
11251 [cairo-clip] Avoid work when all clipped out.
11253 When the clip mask is empty we perform actions like composite 0x0
11254 surfaces, which results in a lot of unnecessary work and allocations.
11255 Avoid doing work when we know everything is clip out and take the
11256 liberty of freeing any memory associated with the clop state.
11258 src/cairo-clip-private.h | 2 +
11259 src/cairo-clip.c | 86 +++++++++++++++++++++++++++++++++++++++++-----
11260 2 files changed, 79 insertions(+), 9 deletions(-)
11262 commit c70c2cf6d6a71df54515175af0cb1651b67bdb86
11263 Author: Chris Wilson <chris@chris-wilson.co.uk>
11264 Date: Fri Oct 19 23:31:36 2007 +0100
11266 [Makefile.am] Fix ${top_srcdir}/libtool
11268 libtool exists in the top level build directory, but in a couple of
11269 places we refer to the top level source directory.
11271 perf/Makefile.am | 4 ++--
11272 test/Makefile.am | 2 +-
11273 2 files changed, 3 insertions(+), 3 deletions(-)
11275 commit 76e3b3cdc3dda986d420637cfc2445aca481a863
11276 Author: Behdad Esfahbod <behdad@behdad.org>
11277 Date: Fri Oct 19 15:02:03 2007 -0400
11279 [cairo-xlib] Release glyph surfaces if we made them to be generated
11281 The reasoning is that right now, applications render glyphs to images,
11282 upload it to the X server, and keep a local copy in the cache. The X
11283 server works hard to reuse glyph renderings, by hashing glyph images and
11284 reusing them. So we are wasting memory in cairo apps that don't use the
11285 glyph surface after uploading to the server, which is the case if you
11286 don't use the glyph in an image surface. The patch does not release the
11287 glyph surface if it already existed in the cache, so, worst case
11288 scenario is that we render the glyph twice, if you first use it with
11289 xlib, then with image surface. That effect should be negligible.
11291 src/cairo-xlib-surface.c | 83 +++++++++++++++++++++++++++++++++++-----------
11292 1 files changed, 63 insertions(+), 20 deletions(-)
11294 commit 8ae778273799ee9f6d3c13e9c41730daeda2c743
11295 Author: Chris Wilson <chris@chris-wilson.co.uk>
11296 Date: Thu Oct 18 20:07:12 2007 +0100
11298 [cairo-xlib-surface] Match content to xrender_format using the channel masks.
11300 _xrender_format_to_content() was using the channel offset to determine
11301 whether the format supported a content type.
11302 For example, the XRenderPictFormat for the A8 format looks like:
11303 direct.alpha = 0; direct.alphaMask = 0xff;
11304 direct.red = 0; direct.redMask = 0x00;
11305 direct.green = 0; direct.greenMask = 0x00;
11306 direct.blue = 0; direct.blueMask = 0x00;
11307 which _xrender_format_to_content() matched as CAIRO_CONTENT_COLOR.
11309 Switch to using the channel masks for deducing content type.
11311 src/cairo-xlib-surface.c | 8 ++++----
11312 1 files changed, 4 insertions(+), 4 deletions(-)
11314 commit b7d8763c58165817f3238def4d1771ce8575139e
11315 Author: Chris Wilson <chris@chris-wilson.co.uk>
11316 Date: Thu Oct 18 19:42:21 2007 +0100
11318 [check-plt] Use -W flag to readelf.
11320 Pass -W to readelf so that the output (in particular the function name)
11321 is not clipped to fit within 80 characters.
11323 src/check-plt.sh | 2 +-
11324 1 files changed, 1 insertions(+), 1 deletions(-)
11326 commit 01eb16977359c7953dbabb52e1f6a132d93839f3
11327 Author: Chris Wilson <chris@chris-wilson.co.uk>
11328 Date: Thu Oct 18 19:28:00 2007 +0100
11330 [test/.gitignore] Add *.exe.so
11332 Ignore these winegcc output files.
11334 test/.gitignore | 1 +
11335 1 files changed, 1 insertions(+), 0 deletions(-)
11337 commit c64335a9a846ba18411a720f6e69e511b15e2c6b
11338 Author: Chris Wilson <chris@chris-wilson.co.uk>
11339 Date: Wed Oct 17 23:12:49 2007 +0100
11341 [cairo-scaled-font-subsets] Simplify boolean return code.
11343 _cairo_sub_font_lookup_glyph() was returning either a NULL_POINTER
11344 error or success whereas its only caller was using it as a simple
11345 predicate and handled the 'error' rather than propagate it upwards.
11347 src/cairo-scaled-font-subsets.c | 20 +++++++++-----------
11348 1 files changed, 9 insertions(+), 11 deletions(-)
11350 commit 379b9b79fa77be1bf9b5e0581b2363e80b0a8c88
11351 Author: Chris Wilson <chris@chris-wilson.co.uk>
11352 Date: Wed Oct 17 20:41:57 2007 +0100
11354 [cairo-xlib] Move the buggy_repeat discovery to the display_t.
11356 The VendorString parsing (to detect broken Xserver versions) was being
11357 performed for each surface creation, but as it is a display invariant
11358 we can save a small amount of work by storing the result on the
11359 cairo_xlib_display_t.
11361 src/cairo-xlib-display.c | 9 +++++++++
11362 src/cairo-xlib-private.h | 1 +
11363 src/cairo-xlib-surface.c | 9 +--------
11364 3 files changed, 11 insertions(+), 8 deletions(-)
11366 commit 5e09653e5dca60902423938737195e38ccde1b95
11367 Author: Chris Wilson <chris@chris-wilson.co.uk>
11368 Date: Tue Oct 16 15:30:50 2007 +0100
11370 [test/rgb24-ignore-alpha] Destroy the surface after use.
11372 Destroy the surface so that valgrind doesn't complain about the memory
11375 test/rgb24-ignore-alpha.c | 2 ++
11376 1 files changed, 2 insertions(+), 0 deletions(-)
11378 commit bd3dd72262772f1b2dfd8335630163f2e3bfacac
11379 Author: Chris Wilson <chris@chris-wilson.co.uk>
11380 Date: Tue Oct 16 15:29:59 2007 +0100
11382 [pdiff] Reorganise the inner loops of the convolution.
11384 Reorder the indices and introduce a couple of temporary accumulators to
11385 improve cache access.
11387 test/pdiff/lpyramid.c | 27 +++++++++++++++------------
11388 1 files changed, 15 insertions(+), 12 deletions(-)
11390 commit fa9201b9c98b18ea18fbee1e5608f20335a02131
11391 Author: Chris Wilson <chris@chris-wilson.co.uk>
11392 Date: Tue Oct 16 15:27:33 2007 +0100
11394 [pdiff] Check for too small images.
11396 The Laplacian pyramid can only work on images larger than 3x3 due to the
11397 size of its convolution kernel. So if the image is too small return an
11398 error (-1) before attempting to construction the pyramid.
11400 test/pdiff/pdiff.c | 3 +++
11401 1 files changed, 3 insertions(+), 0 deletions(-)
11403 commit 3b1cc128dc4223ac88f7824dca223ed0f84df5d9
11404 Author: Chris Wilson <chris@chris-wilson.co.uk>
11405 Date: Tue Oct 16 10:55:04 2007 +0100
11407 [cairo-ft-font] Add paranoid error checking to Fc* operations.
11409 Check the return status when using Fc*() functions to modify the pattern
11410 and propagate the failure (if necessary).
11412 src/cairo-ft-font.c | 178 +++++++++++++++++++++++++++++-------------------
11413 src/cairo-ft-private.h | 1 -
11414 2 files changed, 108 insertions(+), 71 deletions(-)
11416 commit a55f1abf7cdc0276fe1eb85db969f33d0df4fe75
11417 Author: Chris Wilson <chris@chris-wilson.co.uk>
11418 Date: Tue Oct 16 10:29:45 2007 +0100
11420 [cairo-clip] Pass the local pattern to create_similar_solid().
11422 Avoid the short-lived pattern allocation within
11423 _cairo_surface_create_similar_solid() by providing the local solid
11424 pattern to use as the source.
11426 src/cairo-clip.c | 12 +++++++-----
11427 1 files changed, 7 insertions(+), 5 deletions(-)
11429 commit 7ff80234e3823547395819f96d7f7673df9ce9df
11430 Author: Chris Wilson <chris@chris-wilson.co.uk>
11431 Date: Tue Oct 16 10:37:45 2007 +0100
11433 [cairo-path-fixed] Drop the _cairo_error() markup.
11435 Do not use _cairo_error(CAIRO_STATUS_NO_CURRENT_POINT) within
11436 _cairo_path_fixed_get_current_point() as the only caller,
11437 cairo_get_current_point(), expects and handles that status.
11439 src/cairo-path-fixed.c | 7 +++++--
11440 1 files changed, 5 insertions(+), 2 deletions(-)
11442 commit 189feaf352f59b0a049202552024578715ef8cc7
11443 Author: Chris Heath <chris@heathens.co.nz>
11444 Date: Mon Oct 15 17:31:50 2007 -0400
11446 [autogen.sh] Tolerate tput failure (#12757)
11448 autogen.sh | 4 ++--
11449 1 files changed, 2 insertions(+), 2 deletions(-)
11451 commit 4660561cb548ab8d1eca724fda4d3658c95d4c04
11452 Author: Adrian Johnson <ajohnson@redneon.com>
11453 Date: Sun Oct 14 19:05:06 2007 +0930
11455 PDF: Add support for CAIRO_FORMAT_A1 images
11457 src/cairo-pdf-surface.c | 43 ++++++++++++++++++++++++++++++++++++-------
11458 1 files changed, 36 insertions(+), 7 deletions(-)
11460 commit 39044157da03d598b816a459979f3d0e6285e023
11461 Author: Adrian Johnson <ajohnson@redneon.com>
11462 Date: Sun Oct 14 19:04:33 2007 +0930
11464 PDF: Add support for linear gradients with REPEAT and REFLECT
11466 src/cairo-pdf-surface.c | 226 +++++++++++++++++++++++++++++++++++++++--------
11467 1 files changed, 188 insertions(+), 38 deletions(-)
11469 commit 5af1b2280b2cf952624d587496158a98df0ee504
11470 Author: Adrian Johnson <ajohnson@redneon.com>
11471 Date: Sun Oct 14 00:04:21 2007 +0930
11473 Make PostScript output text selectable
11475 The glyph names used in the Type42 and Type1 fallback fonts are now of
11476 the form "/uniXXXX" where XXXX is the unicode character for each
11477 glyph. When converted to pdf (eg using ps2pdf), pdf viewers are now
11478 able to correctly extract the text.
11480 src/cairo-ps-surface.c | 36 ++++++--
11481 src/cairo-scaled-font-subsets-private.h | 15 +++
11482 src/cairo-scaled-font-subsets.c | 159 +++++++++++++++++++++++++++++++
11483 src/cairo-type1-fallback.c | 18 +++-
11484 src/cairoint.h | 1 +
11485 5 files changed, 219 insertions(+), 10 deletions(-)
11487 commit e347a7a7c394fc2638faa2ff52e4b96545ac1ee3
11488 Author: Adrian Johnson <ajohnson@redneon.com>
11489 Date: Sat Oct 13 22:59:20 2007 +0930
11491 PS: Add support for images with bilevel alpha
11493 This patch eliminates two sources of fallback images. The alpha value
11494 of each pixel in argb32 images are checked. If all alpha values are
11495 255 the image is treated the same as rgb24 images. If all alpha values
11496 are either 0 or 255 and the PS level is 3, a Type 3 image (image +
11499 src/cairo-ps-surface.c | 519 ++++++++++++++++++++++++++++++++++++------------
11500 1 files changed, 388 insertions(+), 131 deletions(-)
11502 commit af5cdde34d003b7d5943b169c160b91b8f7d10f3
11503 Author: Adrian Johnson <ajohnson@redneon.com>
11504 Date: Sat Oct 13 22:15:48 2007 +0930
11506 PS/Win32-printing: remove redundant checks from _analyze_operation
11508 The check for supported operators is performed earlier in this
11509 functions so these two checks in not required.
11511 src/cairo-ps-surface.c | 6 ------
11512 src/cairo-win32-printing-surface.c | 6 ------
11513 2 files changed, 0 insertions(+), 12 deletions(-)
11515 commit ff35ffd2a7baa775e2ef73b844e783434c149057
11516 Author: Adrian Johnson <ajohnson@redneon.com>
11517 Date: Sat Oct 13 22:09:04 2007 +0930
11519 Add meta-surface-pattern test
11521 test/.gitignore | 1 +
11522 test/Makefile.am | 1 +
11523 test/meta-surface-pattern-ref.png | Bin 0 -> 3072 bytes
11524 test/meta-surface-pattern-rgb24-ref.png | Bin 0 -> 3162 bytes
11525 test/meta-surface-pattern.c | 131 +++++++++++++++++++++++++++++++
11526 5 files changed, 133 insertions(+), 0 deletions(-)
11528 commit 0b3f530973049737f942219452d991d76b65b724
11529 Author: Adrian Johnson <ajohnson@redneon.com>
11530 Date: Sat Oct 13 21:49:50 2007 +0930
11532 Add PS reference images for tests using gradients
11534 test/clip-operator-ps-argb32-ref.png | Bin 0 -> 8594 bytes
11535 test/gradient-alpha-ps-argb32-ref.png | Bin 0 -> 187 bytes
11536 test/gradient-alpha-ps-rgb24-ref.png | Bin 0 -> 184 bytes
11537 test/linear-gradient-ps-argb32-ref.png | Bin 0 -> 613 bytes
11538 test/linear-gradient-ps-rgb24-ref.png | Bin 0 -> 613 bytes
11539 test/operator-source-ps-argb32-ref.png | Bin 0 -> 3885 bytes
11540 test/operator-source-ps-rgb24-ref.png | Bin 0 -> 3548 bytes
11541 test/text-pattern-ps-argb32-ref.png | Bin 0 -> 997 bytes
11542 test/text-pattern-ps-rgb24-ref.png | Bin 0 -> 969 bytes
11543 test/trap-clip-ps-argb32-ref.png | Bin 5810 -> 5700 bytes
11544 test/trap-clip-ps-rgb24-ref.png | Bin 0 -> 5616 bytes
11545 11 files changed, 0 insertions(+), 0 deletions(-)
11547 commit e66ce8cbc6e53b4b07a9af6bb7d2294ada0782c0
11548 Author: Adrian Johnson <ajohnson@redneon.com>
11549 Date: Sat Oct 13 21:28:19 2007 +0930
11551 PS: Add linear and radial gradient support
11553 src/cairo-ps-surface.c | 321 +++++++++++++++++++++++++++++++++++++++++++-----
11554 1 files changed, 291 insertions(+), 30 deletions(-)
11556 commit 583059e4a3e86c937de13c07a50486f7ca77b335
11557 Author: Adrian Johnson <ajohnson@redneon.com>
11558 Date: Sat Oct 13 21:16:49 2007 +0930
11560 Fix bug in _gradient_is_opaque()
11562 src/cairo-pattern.c | 2 +-
11563 1 files changed, 1 insertions(+), 1 deletions(-)
11565 commit b5c36010edc92ca129a0498cf04592f8f692f800
11566 Author: Adrian Johnson <ajohnson@redneon.com>
11567 Date: Sat Oct 13 21:14:28 2007 +0930
11569 Add cairo_ps_surface_restrict_to_level() API
11571 doc/public/cairo-sections.txt | 4 ++
11572 src/cairo-ps-surface-private.h | 2 +
11573 src/cairo-ps-surface.c | 99 +++++++++++++++++++++++++++++++++++++++-
11574 src/cairo-ps.h | 25 ++++++++++
11575 4 files changed, 129 insertions(+), 1 deletions(-)
11577 commit b5fa273c9a4f730882c6edade785236e72b2b4db
11578 Author: Adrian Johnson <ajohnson@redneon.com>
11579 Date: Sat Oct 13 21:04:51 2007 +0930
11581 Add PS reference images for tests using create_similar
11583 before the PS meta surface pattern patch these tests
11584 had image fallacks in the PS output and did not require
11585 a PS reference image.
11587 test/clip-fill-rule-ps-rgb24-ref.png | Bin 0 -> 309 bytes
11588 test/clip-nesting-ps-rgb24-ref.png | Bin 0 -> 636 bytes
11589 test/clip-push-group-ps-argb32-ref.png | Bin 0 -> 179 bytes
11590 test/clip-push-group-ps-rgb24-ref.png | Bin 0 -> 179 bytes
11591 test/clip-twice-ps-rgb24-ref.png | Bin 0 -> 541 bytes
11592 test/copy-path-ps-rgb24-ref.png | Bin 0 -> 440 bytes
11593 test/dash-caps-joins-ps-rgb24-ref.png | Bin 0 -> 3852 bytes
11594 test/dash-scale-ps-rgb24-ref.png | Bin 0 -> 6316 bytes
11595 test/dash-state-ps-rgb24-ref.png | Bin 0 -> 8650 bytes
11596 test/degenerate-path-ps-rgb24-ref.png | Bin 0 -> 358 bytes
11597 test/fill-and-stroke-ps-rgb24-ref.png | Bin 0 -> 319 bytes
11598 test/fill-missed-stop-ps-rgb24-ref.png | Bin 0 -> 531 bytes
11599 test/fill-rule-ps-rgb24-ref.png | Bin 0 -> 2031 bytes
11600 test/font-matrix-translation-ps-rgb24-ref.png | Bin 0 -> 783 bytes
11601 test/leaky-dash-ps-rgb24-ref.png | Bin 0 -> 284 bytes
11602 test/line-width-scale-ps-rgb24-ref.png | Bin 0 -> 3901 bytes
11603 test/new-sub-path-ps-rgb24-ref.png | Bin 0 -> 423 bytes
11604 test/pixman-rotate-ps-argb32-ref.png | Bin 0 -> 411 bytes
11605 test/pixman-rotate-ps-rgb24-ref.png | Bin 0 -> 392 bytes
11606 test/random-intersections-ps-rgb24-ref.png | Bin 0 -> 89414 bytes
11607 test/rel-path-ps-rgb24-ref.png | Bin 0 -> 243 bytes
11608 test/rotate-image-surface-paint-ps-rgb24-ref.png | Bin 0 -> 274 bytes
11609 test/source-clip-scale-ps-argb32-ref.png | Bin 0 -> 183 bytes
11610 test/source-clip-scale-ps-rgb24-ref.png | Bin 0 -> 183 bytes
11611 test/text-rotate-ps-rgb24-ref.png | Bin 0 -> 7196 bytes
11612 25 files changed, 0 insertions(+), 0 deletions(-)
11614 commit 8520ce31be13bc939357cd45bd1b4c1967d7ff53
11615 Author: Adrian Johnson <ajohnson@redneon.com>
11616 Date: Sat Oct 13 20:17:43 2007 +0930
11618 PS: Add meta surface pattern support
11620 boilerplate/cairo-boilerplate.c | 11 +--
11621 src/cairo-ps-surface-private.h | 2 +-
11622 src/cairo-ps-surface.c | 257 ++++++++++++++++++++++++++-------------
11623 3 files changed, 177 insertions(+), 93 deletions(-)
11625 commit e5b01e67975578797b4f7875a9ba02121ff935b5
11626 Author: Chris Wilson <chris@chris-wilson.co.uk>
11627 Date: Thu Oct 11 17:54:55 2007 +0100
11629 [Makefile.am] Add missing headers and reference images.
11631 Andrew Jorgensen spotted that make dist was missing a few headers needed
11632 for compilation and running make distcheck had spurious failures. Add
11633 the missing files to the distribution and a silly one-liner to check for
11634 missing reference images.
11636 src/Makefile.am | 2 ++
11637 test/Makefile.am | 25 ++++++++++++++++++++++++-
11638 2 files changed, 26 insertions(+), 1 deletions(-)
11640 commit b7adcf67f8c640c146bada1fbeaa1cda1cfa825a
11641 Author: Chris Wilson <chris@chris-wilson.co.uk>
11642 Date: Thu Oct 11 14:11:06 2007 +0100
11644 [cairo-path-stroke] Jump to cleanup after error.
11646 Incorrect early return in _cairo_stroker_curve_to() after
11647 _cairo_stroker_join() resulted in leaking the local spline and pen.
11649 src/cairo-path-stroke.c | 2 +-
11650 1 files changed, 1 insertions(+), 1 deletions(-)
11652 commit 0222c02d9525dc8ff1ad5a2bea46e623d9db1e43
11653 Author: Chris Wilson <chris@chris-wilson.co.uk>
11654 Date: Thu Oct 11 14:01:20 2007 +0100
11656 [cairo-pdf-surface] Return UNSUPPORTED from _to_unicode_stream().
11658 Distinguish the UNSUPPORTED case where the font backend does not
11659 support conversion to unicode from other fatal errors by returning a
11660 status value rather than using stream.id == 0 to indicate any error.
11662 src/cairo-pdf-surface.c | 71 +++++++++++++++++++++++++---------------------
11663 1 files changed, 39 insertions(+), 32 deletions(-)
11665 commit 981bc12e5b9b91ce1c5abe343ace837561059658
11666 Author: Chris Wilson <chris@chris-wilson.co.uk>
11667 Date: Wed Oct 10 23:58:43 2007 +0100
11669 [cairo-ps-surface] Close a couple of memory leaks.
11671 Adjust error paths to free local resources.
11673 src/cairo-ps-surface.c | 18 +++++++++++-------
11674 1 files changed, 11 insertions(+), 7 deletions(-)
11676 commit c1db44b26501cd905fb9ca858f41632c148b6b07
11677 Author: Chris Wilson <chris@chris-wilson.co.uk>
11678 Date: Wed Oct 10 15:15:55 2007 +0100
11680 [cairo-png] Clean up volatile warning.
11682 gcc warns that 'rows' is missing a volatile qualifier - so add it.
11684 src/cairo-png.c | 2 +-
11685 1 files changed, 1 insertions(+), 1 deletions(-)
11687 commit 05702b8b6ea73fecd04dc5cc4b26ad1d46fa8850
11688 Author: Chris Wilson <chris@chris-wilson.co.uk>
11689 Date: Tue Oct 9 23:37:34 2007 +0100
11691 [cairo-pdf-surface] Free the clip path on error.
11693 If we fail to add the clip path to the current group, destroy it.
11695 src/cairo-pdf-surface.c | 14 +++++++++++---
11696 1 files changed, 11 insertions(+), 3 deletions(-)
11698 commit 8fa5f638a5f8eee4f9efe267ede20344fc7bd4e2
11699 Author: Chris Wilson <chris@chris-wilson.co.uk>
11700 Date: Tue Oct 9 23:36:52 2007 +0100
11702 [cairo-pdf-surface] Restore old_group for failed emit_meta_surface().
11704 Ensure we restore the surface->current_group if we encounter an error
11705 during _cairo_pdf_surface_emit_meta_surface() lest we leak the
11706 current_group array.
11708 src/cairo-pdf-surface.c | 27 ++++++++++++++++-----------
11709 1 files changed, 16 insertions(+), 11 deletions(-)
11711 commit 8eb9fcf67336a8e4f95366956ae6f1880af4a93e
11712 Author: Vladimir Vukicevic <vladimir@pobox.com>
11713 Date: Wed Oct 10 14:05:22 2007 -0700
11715 [win32] mask win32 printing vertex colors with 0xff00 per docs
11717 The range for the vertex color structures is 0x0000 .. 0xff00; I
11718 think that this is an error in the docs, but strip out the low bits
11721 src/cairo-win32-printing-surface.c | 11 +++++++----
11722 1 files changed, 7 insertions(+), 4 deletions(-)
11724 commit 3545ebc1357969616e2f4fa6b36565f211ea36b3
11725 Author: Vladimir Vukicevic <vladimir@pobox.com>
11726 Date: Wed Oct 10 14:01:30 2007 -0700
11728 Fix win32 printing surface copyright notice
11730 Bad copy-and-paste of license.
11732 src/cairo-win32-printing-surface.c | 4 ++--
11733 1 files changed, 2 insertions(+), 2 deletions(-)
11735 commit 0b65c301a72836f46cdcda8b8fa1e995100c7727
11736 Author: Chris Wilson <chris@chris-wilson.co.uk>
11737 Date: Tue Oct 9 23:17:42 2007 +0100
11739 [Makefile.am] Change lcov-clean to use more portable constructs.
11741 Replace xargs and rm with the binaries found by configure and drop the
11742 passing of NUL-terminated strings as that is a GNU extension.
11744 Makefile.am | 6 +++---
11745 1 files changed, 3 insertions(+), 3 deletions(-)
11747 commit b8d7d62b08576364c8c402490b6f5e4a1472d5d8
11748 Author: Chris Wilson <chris@chris-wilson.co.uk>
11749 Date: Tue Oct 9 23:12:52 2007 +0100
11751 Fix some trivial syntax warnings for -ansi.
11753 gcc -ansi -pedantic gives a few syntax warnings, principally for use of
11754 '//' comments and a comma at the end of enumerators. Apply these
11755 corrections as they are trivial.
11757 configure.in | 2 +-
11758 src/cairo-directfb-surface.c | 16 ++++++++--------
11759 src/cairo-meta-surface-private.h | 2 +-
11760 src/cairo-type1-fallback.c | 2 +-
11761 src/cairo-types-private.h | 7 +++----
11762 src/cairoint.h | 5 +++++
11763 6 files changed, 19 insertions(+), 15 deletions(-)
11765 commit 7e6ac74de17cf82f224d9f5fad3ad60e92d7690b
11766 Author: Chris Wilson <chris@chris-wilson.co.uk>
11767 Date: Wed Oct 10 14:00:56 2007 +0100
11769 [win32] Clean up compiler warnings.
11771 Fix up a few instances of unused status returns.
11773 src/cairo-win32-font.c | 89 ++++++++++++++++++++----------------
11774 src/cairo-win32-printing-surface.c | 26 +++++++----
11775 src/cairo-win32-surface.c | 24 ++++------
11776 3 files changed, 76 insertions(+), 63 deletions(-)
11778 commit bee05467a5f398eaaaa8d79b3ff0a8b119856143
11779 Author: Chris Wilson <chris@chris-wilson.co.uk>
11780 Date: Wed Oct 10 12:32:16 2007 +0100
11782 [configure.in] Initialise test_svg.
11784 Set test_svg to no prior for checking for SVG availability so that the
11785 printed summary is correct if the user explicitly disables the SVG
11786 surface on the configure command line.
11789 1 files changed, 1 insertions(+), 0 deletions(-)
11791 commit 785cb5b7e11a2786b60a995c43e9ee411ec5ec2d
11792 Author: Chris Wilson <chris@chris-wilson.co.uk>
11793 Date: Tue Oct 9 16:58:46 2007 +0100
11795 [cairo-image-surface] Dead code elimination.
11797 Remove an unreachable return and unused variable - tidy up after
11800 src/cairo-image-surface.c | 3 ---
11801 1 files changed, 0 insertions(+), 3 deletions(-)
11803 commit 2268c5907ce80fe40d54ccfac8435ee5e22d36de
11804 Author: Chris Wilson <chris@chris-wilson.co.uk>
11805 Date: Tue Oct 9 13:23:34 2007 +0100
11807 [cairo-glitz-surface] Propagate errors from set_image().
11809 Propagate errors from _cairo_glitz_surface_set_image().
11811 src/cairo-glitz-surface.c | 28 ++++++++++++++++++++--------
11812 1 files changed, 20 insertions(+), 8 deletions(-)
11814 commit 4958789b9e8bf531259b3d1ea27887a8319f7696
11815 Author: Chris Wilson <chris@chris-wilson.co.uk>
11816 Date: Tue Oct 9 12:49:08 2007 +0100
11818 [cairo-xlib-surface] Propagate error from _draw_image_surface() to surface.
11820 Instead of simply ignoring the error that may occur when we upload the
11821 destination image to the xlib surface (via XPutImage) record the error
11822 on the xlib surface.
11824 src/cairo-xlib-surface.c | 8 +++++---
11825 1 files changed, 5 insertions(+), 3 deletions(-)
11827 commit 9c65efeeb108c39e6f55c9247e7d11bfea35cb66
11828 Author: Chris Wilson <chris@chris-wilson.co.uk>
11829 Date: Tue Oct 9 11:51:48 2007 +0100
11831 [boilerplate-test-surfaces] Check show page for errors.
11833 Check that cairo_surface_show_page() did not generate any errors before
11834 reading back the image buffer and saving it as a png.
11836 boilerplate/cairo-boilerplate-test-surfaces.c | 3 +++
11837 1 files changed, 3 insertions(+), 0 deletions(-)
11839 commit caf04b1bb89c1a7668e36d5f334765a2323bd564
11840 Author: Chris Wilson <chris@chris-wilson.co.uk>
11841 Date: Tue Oct 9 11:22:46 2007 +0100
11843 [cairo-cff-subset] Propagate error status from failed append_copy().
11845 Add a couple of missing status checks for the result of
11846 cff_index_append_copy().
11848 src/cairo-cff-subset.c | 16 ++++++++++------
11849 1 files changed, 10 insertions(+), 6 deletions(-)
11851 commit ef275cd65a9f20a8a3b1fb3883aff0cc8a3bf401
11852 Author: Chris Wilson <chris@chris-wilson.co.uk>
11853 Date: Tue Oct 9 11:19:45 2007 +0100
11855 [test-meta-surface] Propagate error from show_page().
11857 Add a missing error propagation for _test_meta_surface_show_page().
11859 src/test-meta-surface.c | 8 ++++++--
11860 1 files changed, 6 insertions(+), 2 deletions(-)
11862 commit 7758e56d0c96fd113a12b2adc92c783e962feebf
11863 Author: Chris Wilson <chris@chris-wilson.co.uk>
11864 Date: Tue Oct 9 11:16:40 2007 +0100
11866 [cairo-hull] Remove a couple of redundant status returns.
11868 Those two functions unconditionally returned success, so change the
11871 src/cairo-hull.c | 10 +++-------
11872 1 files changed, 3 insertions(+), 7 deletions(-)
11874 commit 1dabfc2b271a57b4eaa13922a031ccd38a586dd1
11875 Author: Chris Wilson <chris@chris-wilson.co.uk>
11876 Date: Tue Oct 9 11:15:27 2007 +0100
11878 [cairo-clip] Propagate error status from clip_intersect_path().
11880 Propagate the error status (filtering out UNSUPPORTED) from
11881 intersect_path() when reapplying the clip path during a deep copy.
11883 src/cairo-clip.c | 51 +++++++++++++++++++++++++++++++--------------------
11884 1 files changed, 31 insertions(+), 20 deletions(-)
11886 commit 32b78fffc3b8441029ee6b48762a7d0c06bb44a8
11887 Author: Chris Wilson <chris@chris-wilson.co.uk>
11888 Date: Tue Oct 9 11:08:58 2007 +0100
11890 [cairo-traps] Simplify the status interaction of traps_grow().
11892 Simply return the error status from the traps_grow() function rather
11893 than having an assignment in the return function and then immediately
11894 another assignment of the error to the status member at its callsite.
11896 src/cairo-traps.c | 11 +++--------
11897 1 files changed, 3 insertions(+), 8 deletions(-)
11899 commit 66563eddd8ba2610fa59341b9337a30533e70d56
11900 Author: Chris Wilson <chris@chris-wilson.co.uk>
11901 Date: Tue Oct 9 09:28:35 2007 +0100
11903 [cairo-pdf-surface] Check status return after emit_meta_pattern().
11905 Add the missing status propagation.
11907 src/cairo-pdf-surface.c | 8 ++++++--
11908 1 files changed, 6 insertions(+), 2 deletions(-)
11910 commit be7d1f0f8f84ddac9e8c7dda4aa39f88806a5e39
11911 Author: Vladimir Vukicevic <vladimir@pobox.com>
11912 Date: Tue Oct 9 14:27:53 2007 -0700
11914 Simplify CAIRO_REFERENCE_COUNT_INVALID macro
11916 MSVC doesn't like the previous anonymous structure/cast, so simplify
11917 to just a bare {} structure for use as an initializer.
11919 src/cairo-reference-count-private.h | 2 +-
11920 1 files changed, 1 insertions(+), 1 deletions(-)
11922 commit 712c3cda44d7023316b93a1241e66aabde15d668
11923 Author: Vladimir Vukicevic <vladimir@pobox.com>
11924 Date: Tue Oct 9 13:56:51 2007 -0700
11926 [win32] reduce GDI object usage
11928 Only create region objects if they're necessary; this significantly reduces
11929 the number of GDI objects in use by cairo surfaces.
11931 src/cairo-win32-surface.c | 159 +++++++++++++++++++++++++--------------------
11932 1 files changed, 89 insertions(+), 70 deletions(-)
11934 commit c99d33b10e84883ade1402c3c1d1efdb4b46f66e
11935 Author: Vladimir Vukicevic <vladimir@pobox.com>
11936 Date: Tue Oct 2 10:54:44 2007 -0700
11938 [win32] return a nil surface, not NULL
11940 Missed an error return
11942 src/cairo-win32-surface.c | 2 +-
11943 1 files changed, 1 insertions(+), 1 deletions(-)
11945 commit 4dbf495515d6de933de7f567b935c5fdceed5f6f
11946 Author: Vladimir Vukicevic <vladimir@pobox.com>
11947 Date: Tue Oct 2 10:48:59 2007 -0700
11949 [win32] report error correctly if CreateCompatibleBitmap fails
11951 These errors were being dropped on the floor, leading to
11952 rendering errors in out of video memory conditions.
11954 src/cairo-win32-surface.c | 20 +++++++++++++++++++-
11955 1 files changed, 19 insertions(+), 1 deletions(-)
11957 commit 61ba63f3a0947bc89310f04e9bc1694fb6451c11
11958 Author: Vladimir Vukicevic <vladimir@pobox.com>
11959 Date: Fri Sep 21 11:18:17 2007 -0700
11961 [win32] remove ignore_operators flag from win32 printing surface
11963 Remove the ignore_operators fallback-avoiding workaround; if apps
11964 want that same behaviour, they'll have to implement it themselves
11965 by taking care when calling cairo_set_operator().
11967 src/cairo-win32-printing-surface.c | 16 ++++------------
11968 src/cairo-win32-private.h | 5 -----
11969 src/cairo-win32.h | 3 ++-
11970 3 files changed, 6 insertions(+), 18 deletions(-)
11972 commit b12ed375cf7ad02a30324616e121a1e9ab8998cb
11973 Author: Behdad Esfahbod <behdad@behdad.org>
11974 Date: Tue Oct 9 15:54:58 2007 -0400
11976 [ChangeLog.mk] Fix changelog generation rules
11978 Previously it was trying to get logs of 1.2.0..1.4 while I really meant
11979 was 1.2.0..1.4.0. It was a simple typo.
11981 ChangeLog.mk | 2 +-
11982 1 files changed, 1 insertions(+), 1 deletions(-)
11984 commit cbc4087a40aa7c6039ddadfca2a9876cb14e1bc6
11985 Author: Adrian Johnson <ajohnson@redneon.com>
11986 Date: Sat Oct 6 19:18:31 2007 +0930
11988 Type1 subset: Add check for CFF fonts
11990 src/cairo-type1-subset.c | 8 ++++++++
11991 1 files changed, 8 insertions(+), 0 deletions(-)
11993 commit a1633df6eebd9b1252d832c7a70cea6150c818d3
11994 Author: Chris Wilson <chris@chris-wilson.co.uk>
11995 Date: Fri Oct 5 17:21:00 2007 +0100
11997 [cairo-scaled-font-subsets] Increment the sub_font counter after insertion.
11999 Do not modify the parent subsets->num_sub_font until after we have
12000 successfully created the sub_font and inserted it into the hash table.
12002 src/cairo-scaled-font-subsets.c | 24 +++++++++++++++---------
12003 1 files changed, 15 insertions(+), 9 deletions(-)
12005 commit cf2f994a319da1230c5d53f3dd81e7715e44a162
12006 Author: Chris Wilson <chris@chris-wilson.co.uk>
12007 Date: Fri Oct 5 17:15:29 2007 +0100
12009 [cairo-paginated-surface] Propagate backend errors to the surface.
12011 If we call a srface backend function directly, then it our
12012 responsibility to propagate any fatal errors to the surface.
12014 src/cairo-paginated-surface.c | 57 ++++++++++++++++++++++++----------------
12015 1 files changed, 34 insertions(+), 23 deletions(-)
12017 commit 3da62fdd2848bd9d06b83534adfee2afa17828ba
12018 Author: Chris Wilson <chris@chris-wilson.co.uk>
12019 Date: Fri Oct 5 13:41:39 2007 +0100
12021 [cairo-xlib-display] Rescan the displays list during shutdown.
12023 As we drop the list mutex whilst calling the hooks during the
12024 XCloseDisplay callback, we must rescan the list when we reacquire the
12025 mutex in order to remove the display from the list.
12027 src/cairo-xlib-display.c | 48 +++++++++++++++++++++++++--------------------
12028 1 files changed, 27 insertions(+), 21 deletions(-)
12030 commit 737cbd25a6cb0bec87563926ad644da019fc9800
12031 Author: Chris Wilson <chris@chris-wilson.co.uk>
12032 Date: Fri Oct 5 13:03:47 2007 +0100
12034 [cairo-ps-surface] Cleanup ps surface after creation failure.
12036 If we fail to create the paginated wrapper for the ps surface, cleanup
12037 the resources allocated for the surface.
12039 src/cairo-ps-surface.c | 17 +++++++++++------
12040 1 files changed, 11 insertions(+), 6 deletions(-)
12042 commit 31b52779bad4122d101cdffdb03153baf6cd011e
12043 Author: Chris Wilson <chris@chris-wilson.co.uk>
12044 Date: Fri Oct 5 12:55:13 2007 +0100
12046 [cairo-boilerplate-xlib] Cleanup fallback after creation failure.
12048 Cleanup the local resource if we fail to create the X window and
12049 surface for the xlib fallback test target.
12051 boilerplate/cairo-boilerplate-xlib.c | 9 +++++++--
12052 1 files changed, 7 insertions(+), 2 deletions(-)
12054 commit b210bea6c1867ef9d5c344747d17ca216f6071bd
12055 Author: Chris Wilson <chris@chris-wilson.co.uk>
12056 Date: Fri Oct 5 12:45:36 2007 +0100
12058 [cairo-pdf-surface] Check for pdf_resource_t allocation failure.
12060 Check that the resources are actually allocated or propagate the error.
12062 src/cairo-pdf-surface.c | 12 ++++++++++++
12063 1 files changed, 12 insertions(+), 0 deletions(-)
12065 commit 5ac7ba9821cba076d7f53f6b8836a8619661018c
12066 Author: Chris Wilson <chris@chris-wilson.co.uk>
12067 Date: Fri Oct 5 12:16:23 2007 +0100
12069 [cairo-pdf-surface] Destroy local resources on failed surface creation.
12071 During _cairo_pdf_surface_create_for_stream_internal() destroy all
12072 locally allocated resources and the output stream if we fail to create
12073 the pdf surface or its paginated wrapper.
12075 src/cairo-pdf-surface.c | 29 ++++++++++++++++++++---------
12076 1 files changed, 20 insertions(+), 9 deletions(-)
12078 commit 63ddfa077c498780d46f752ec7f255b143c9f692
12079 Author: Chris Wilson <chris@chris-wilson.co.uk>
12080 Date: Fri Oct 5 12:08:40 2007 +0100
12082 [cairo-pdf-surface] Propagate error status.
12084 Add a few missing propagations of error status.
12086 src/cairo-pdf-surface.c | 45 ++++++++++++++++++++++++++++++++++-----------
12087 1 files changed, 34 insertions(+), 11 deletions(-)
12089 commit f1b6e2735c48d5a54190068c038047942f40f1d1
12090 Author: Chris Wilson <chris@chris-wilson.co.uk>
12091 Date: Fri Oct 5 11:59:13 2007 +0100
12093 [cairo-ps-surface] Propagate errors from emit_pattern().
12095 Do not discard the error status from _cairo_ps_surface_emit_pattern(),
12096 but propagate it back to the caller.
12098 src/cairo-ps-surface.c | 21 ++++++++++++++++-----
12099 1 files changed, 16 insertions(+), 5 deletions(-)
12101 commit 709f3160368417d9a9a78974b16d93ec3e5e3c14
12102 Author: Chris Wilson <chris@chris-wilson.co.uk>
12103 Date: Fri Oct 5 17:37:05 2007 +0100
12105 Cleanup a couple of warnings for use of uninitialized statuses.
12107 The compiler spotted a couple of potential uses of an uninitialized
12108 status variable - apply the obvious fixes.
12110 src/cairo-svg-surface.c | 2 +-
12111 src/cairo-type1-subset.c | 4 +++-
12112 2 files changed, 4 insertions(+), 2 deletions(-)
12114 commit 2f22510e22237283869fb2e23585504077566adf
12115 Author: Chris Wilson <chris@chris-wilson.co.uk>
12116 Date: Fri Oct 5 16:23:12 2007 +0100
12118 [cairo-xlib] Initialize the global mutexes.
12120 The xlib surface creation routines will eventually attempt to lock the
12121 global _cairo_xlib_display_mutex. Under the default environment this is
12122 a non-issue as the CAIRO_MUTEX_INITIALIZE/FINALIZE become no-ops under
12123 pthreads. However, for the sake of correctness (i.e. to silence the
12124 lockdep debugger!) insert a call to initialize the global mutexes at the
12125 start of the public entry points.
12127 src/cairo-xlib-surface.c | 6 ++++++
12128 1 files changed, 6 insertions(+), 0 deletions(-)
12130 commit d2557cd5eec7e51496d6b1b57899b2a028898a7c
12131 Author: Chris Wilson <chris@chris-wilson.co.uk>
12132 Date: Fri Oct 5 00:57:38 2007 +0100
12134 [test-paginated] Free resources if fail to create the test surface.
12136 Ensure that all the locally allocated resources are freed if we fail
12137 to allocate the paginated test surface.
12139 src/test-paginated-surface.c | 12 ++++++++++--
12140 1 files changed, 10 insertions(+), 2 deletions(-)
12142 commit 60ffeecd4888fdf824b4095c945e1b27e05c0e1d
12143 Author: Chris Wilson <chris@chris-wilson.co.uk>
12144 Date: Fri Oct 5 00:56:11 2007 +0100
12146 [test-surfaces] Mark the test backend as static.
12148 There is no need to export the test surface backends, so mark them
12151 src/test-fallback-surface.c | 4 ++--
12152 src/test-meta-surface.c | 4 ++--
12153 2 files changed, 4 insertions(+), 4 deletions(-)
12155 commit 6598973661490ce90b9f42155d8397af491b90c9
12156 Author: Chris Wilson <chris@chris-wilson.co.uk>
12157 Date: Fri Oct 5 10:23:13 2007 +0100
12159 [cairo-scaled-font-subset] Propagate errors during collection.
12161 Propagate the errors encountered whilst iterating over the scaled font
12162 subsets ie _cairo_scaled_font_subsets_foreach_scaled() and co.
12164 src/cairo-pdf-surface.c | 20 ++++++++++++--------
12165 src/cairo-ps-surface.c | 27 +++++++++++++++++++--------
12166 src/cairo-scaled-font-subsets-private.h | 2 +-
12167 src/cairo-scaled-font-subsets.c | 20 ++++++++++++++++----
12168 src/cairo-svg-surface.c | 4 +++-
12169 5 files changed, 51 insertions(+), 22 deletions(-)
12171 commit 3a2dd9d33686d6a6d1549965cacf48a7f401c086
12172 Author: Chris Wilson <chris@chris-wilson.co.uk>
12173 Date: Fri Oct 5 10:10:16 2007 +0100
12175 [cairo-png] Markup a couple of original error sites with _cairo_error().
12177 Add the _cairo_error() markup to the original error sites within the png
12178 read/write functions.
12180 src/cairo-png.c | 6 +++---
12181 1 files changed, 3 insertions(+), 3 deletions(-)
12183 commit 81243ee7ef1c3fdf3d571778c414adb64e05fa9d
12184 Author: Chris Wilson <chris@chris-wilson.co.uk>
12185 Date: Fri Oct 5 09:57:56 2007 +0100
12187 [cairo-scaled-font] Mask cannot be NULL so remove redundant check.
12189 We either generate a mask for the glyphs or throw an error and bypass
12190 the check, so at that point mask can never be NULL and we do not need
12193 src/cairo-scaled-font.c | 21 +++++++++------------
12194 1 files changed, 9 insertions(+), 12 deletions(-)
12196 commit f3d921baca02af4db5f8f1743f32e800d2f492bc
12197 Author: Chris Wilson <chris@chris-wilson.co.uk>
12198 Date: Fri Oct 5 09:53:36 2007 +0100
12200 [cairo-scaled-font] Destroy the zombie font.
12202 If we do not transfer the font to the holdovers array (because it has
12203 been removed from the cache and left in a zombie state), destroy it.
12205 src/cairo-scaled-font.c | 48 ++++++++++++++++++++++++----------------------
12206 1 files changed, 25 insertions(+), 23 deletions(-)
12208 commit 41aab58f3ae044f1baf668363376532381270ff4
12209 Author: Chris Wilson <chris@chris-wilson.co.uk>
12210 Date: Fri Oct 5 09:44:29 2007 +0100
12212 [cairo-surface] Add the usual guards to the API entry point.
12214 Add the checks for unmodifiable surfaces (snapshots, finished and error) to
12215 cairo_surface_set_fallback_resolution.
12217 src/cairo-surface.c | 12 ++++++++++++
12218 1 files changed, 12 insertions(+), 0 deletions(-)
12220 commit f3ae783c9c81106bdb3aa2d15b848d131c39cd93
12221 Author: Chris Wilson <chris@chris-wilson.co.uk>
12222 Date: Fri Oct 5 09:42:23 2007 +0100
12224 [cairo-surface-fallback] Release the acquired image on error.
12226 Add _cairo_surface_release_source_image() to the error paths.
12228 src/cairo-surface-fallback.c | 11 +++++++----
12229 1 files changed, 7 insertions(+), 4 deletions(-)
12231 commit 29a5aae958fd9c6a8ec71326c7dad679c0bf5938
12232 Author: Chris Wilson <chris@chris-wilson.co.uk>
12233 Date: Fri Oct 5 09:39:20 2007 +0100
12235 [cairo-type1-fallback] Propagate error from closing the stream.
12237 Propagate the error from destroying the font and closing the output stream.
12239 src/cairo-type1-fallback.c | 3 +--
12240 1 files changed, 1 insertions(+), 2 deletions(-)
12242 commit dd0f2d851cd4c4b2bab05668800e5379712f8ac6
12243 Author: Chris Wilson <chris@chris-wilson.co.uk>
12244 Date: Fri Oct 5 15:22:13 2007 +0100
12246 [cairo-atomic] Hide compiler warnings for _cairo_status_set_error().
12248 gcc treats cairo_status_t as an unsigned integer and so generates a
12249 warning when passing it address as signed integer pointer to
12250 _cairo_atomic_int_cmpxchg(). Use an ugly cast to hide the warning and
12251 similarly to hide the warning about the unused result.
12253 src/cairo-atomic-private.h | 8 ++++++--
12254 1 files changed, 6 insertions(+), 2 deletions(-)
12256 commit 91d18eefe7be6ad3d1fa951c7424d5843e4718f9
12257 Author: Chris Wilson <chris@chris-wilson.co.uk>
12258 Date: Fri Oct 5 15:16:28 2007 +0100
12260 [cairo-type1-subset] Propagate error status (correctly!)
12262 Adrian Johnson pointed out a couple of mistakes in my previous attempt,
12263 535e7c161b907292eac098b6b4305373558948df, to ensure propagation of errors
12264 throughout the generation of the type1 subset.
12266 This time the status member of the cairo_type1_font_subset_t is removed
12267 in favour of simply return the error status from each function. This
12268 completely avoids the issue of whether we overwrite a pre-existing error
12269 status and confustion of status returns and the status member. The
12270 removal of the status from the structure is possible due to its
12271 short-lived nature - it is not exposed outside of the
12272 _cairo_type1_subset_init() function, and is not shared by any other
12275 src/cairo-type1-subset.c | 293 +++++++++++++++++++++++-----------------------
12276 1 files changed, 146 insertions(+), 147 deletions(-)
12278 commit bd2245f8b87d85f5ea61200838c10de70e776cf5
12279 Author: Chris Wilson <chris@chris-wilson.co.uk>
12280 Date: Fri Oct 5 00:45:00 2007 +0100
12282 [cairo-svg-surface] Review error propagation.
12284 Ensure that the error status is propagated and all local resources
12285 are freed on the error path.
12287 src/cairo-svg-surface.c | 374 ++++++++++++++++++++++++++++++++++-------------
12288 1 files changed, 271 insertions(+), 103 deletions(-)
12290 commit 853b29c56fdb50c627b27fc3a767300c7551dba0
12291 Author: Chris Wilson <chris@chris-wilson.co.uk>
12292 Date: Thu Oct 4 23:30:21 2007 +0100
12294 [cairo-pdf-surface] Add some missing error propagation.
12296 Add a couple of returns where the status was being assigned but not
12299 src/cairo-pdf-surface.c | 18 ++++++++++++++----
12300 1 files changed, 14 insertions(+), 4 deletions(-)
12302 commit 323511088d0c9057c1b0fa5e7aacda5e44e2e139
12303 Author: Chris Wilson <chris@chris-wilson.co.uk>
12304 Date: Thu Oct 4 23:22:49 2007 +0100
12306 [cairo-pdf-surface] Propagate errors from close_stream.
12308 Propagate the status return from _cairo_pdf_surface_close_stream().
12310 src/cairo-pdf-surface.c | 13 +++++++++----
12311 1 files changed, 9 insertions(+), 4 deletions(-)
12313 commit 0e3f5caf9f0bbdb5acf34ae1b92eab32bf08acbf
12314 Author: Chris Wilson <chris@chris-wilson.co.uk>
12315 Date: Thu Oct 4 23:18:33 2007 +0100
12317 [cairo-pdf-surface] Propagate errors during pattern selection.
12319 Propagate error from _cairo_pdf_surface_select_pattern ().
12321 src/cairo-pdf-surface.c | 34 ++++++++++++++++++++++++++--------
12322 1 files changed, 26 insertions(+), 8 deletions(-)
12324 commit 7940e39c1820b87c5b96dec6bc59eab97be4a793
12325 Author: Chris Wilson <chris@chris-wilson.co.uk>
12326 Date: Thu Oct 4 23:15:21 2007 +0100
12328 [cairo-pdf-surface] Propagate errors from opening/closing groups.
12330 Propagate the any error encountered during _cairo_pdf_surface_open_group
12333 src/cairo-pdf-surface.c | 193 +++++++++++++++++++++++++++++++++++++----------
12334 1 files changed, 152 insertions(+), 41 deletions(-)
12336 commit 7601939a6524ad97a333fef910f3b5e69c46776c
12337 Author: Chris Wilson <chris@chris-wilson.co.uk>
12338 Date: Thu Oct 4 23:07:36 2007 +0100
12340 [cairo-deflate-stream] Return the nil stream if creating from an error stream.
12342 If _cairo_deflate_stream_create() is passed a stream in the error state,
12343 return a stream also in the error state, namely the _cairo_output_stream_nil.
12345 src/cairo-deflate-stream.c | 6 ++++++
12346 1 files changed, 6 insertions(+), 0 deletions(-)
12348 commit dbbcb5c26fba77d2a828b253c97e4770b81cf90b
12349 Author: Chris Wilson <chris@chris-wilson.co.uk>
12350 Date: Thu Oct 4 21:18:47 2007 +0100
12352 [Makefile] Correct parameters to lcov reset.
12354 lcov uses -z to zero its counters, not --reset.
12357 1 files changed, 1 insertions(+), 1 deletions(-)
12359 commit 717dcd1a2c109f48f0a419a5178fc58d5d4f9a2d
12360 Author: Chris Wilson <chris@chris-wilson.co.uk>
12361 Date: Thu Oct 4 21:17:31 2007 +0100
12363 [cairo-pdf-surface] Propagate resource allocation failure.
12365 Propagate failure of _cairo_pdf_surface_new_object().
12367 src/cairo-pdf-surface.c | 163 +++++++++++++++++++++++++++++++++++++++++++++-
12368 1 files changed, 159 insertions(+), 4 deletions(-)
12370 commit 8fb40aee97fdb3ae2cbbfa5c6a350c7b8b030005
12371 Author: Chris Wilson <chris@chris-wilson.co.uk>
12372 Date: Thu Oct 4 19:20:35 2007 +0100
12374 [cairo-image-surface] Check for errors whilst cloning.
12376 After attempting to clone an image, check the context status and return
12377 the nil surface if there was an error.
12379 src/cairo-image-surface.c | 7 +++++++
12380 1 files changed, 7 insertions(+), 0 deletions(-)
12382 commit b61931640d384707a6fc48f9ba4a4f2ddf675c32
12383 Author: Chris Wilson <chris@chris-wilson.co.uk>
12384 Date: Thu Oct 4 19:12:10 2007 +0100
12386 [cairo-ps-surface] Check the creation of output streams.
12388 Check for allocation errors during the creation of the output streams.
12390 src/cairo-ps-surface.c | 18 ++++++++++++++++--
12391 1 files changed, 16 insertions(+), 2 deletions(-)
12393 commit 353c2ab5c0e10f267a1adf3957b5d6af4e6a2e29
12394 Author: Chris Wilson <chris@chris-wilson.co.uk>
12395 Date: Thu Oct 4 19:10:42 2007 +0100
12397 [cairo-output-stream] Guard against destroying the nil streams.
12399 Add a guard to return early if we attempt to call
12400 _cairo_output_stream_destroy() on the nil cairo_output_stream_t streams.
12402 src/cairo-output-stream.c | 6 ++++++
12403 1 files changed, 6 insertions(+), 0 deletions(-)
12405 commit 7cc7bf09c1a61f407fdb054640ebf24039f985db
12406 Author: Chris Wilson <chris@chris-wilson.co.uk>
12407 Date: Thu Oct 4 18:52:50 2007 +0100
12409 [cairo-meta-surface] Propagate errors during replay to the surface.
12411 Store any fatal errors raised during the replay on the surface object.
12413 src/cairo-meta-surface.c | 5 ++++-
12414 1 files changed, 4 insertions(+), 1 deletions(-)
12416 commit 042821b566daf4aa17d662e7422d1b98858954d7
12417 Author: Chris Wilson <chris@chris-wilson.co.uk>
12418 Date: Thu Oct 4 20:05:58 2007 +0100
12420 [cairo-surface] Propagate fatal errors to the surface.
12422 Store errors raised by the backend on the surface.
12424 src/cairo-surface.c | 131 ++++++++++++++++++++++++++++-----------------------
12425 1 files changed, 72 insertions(+), 59 deletions(-)
12427 commit 535e7c161b907292eac098b6b4305373558948df
12428 Author: Chris Wilson <chris@chris-wilson.co.uk>
12429 Date: Thu Oct 4 18:45:17 2007 +0100
12431 [cairo-type1-subset] Do not mask error returns.
12433 When propagating errors, check that we do not overwrite a pre-existing
12436 src/cairo-type1-subset.c | 123 ++++++++++++++++++++++++++++++----------------
12437 1 files changed, 81 insertions(+), 42 deletions(-)
12439 commit bb8d4c0b14ec175637f57a3b51c4997c0be12a0f
12440 Author: Chris Wilson <chris@chris-wilson.co.uk>
12441 Date: Thu Oct 4 18:33:24 2007 +0100
12443 [cairo-truetype-subset] Do mask error status returns.
12445 Be careful not to overwrite existing the error status when propagating
12446 errors and to not blindly return INT_STATUS_UNSUPPORTED from
12447 load_truetype_table() as this will mask fatal errors.
12449 src/cairo-truetype-subset.c | 363 ++++++++++++++++++++++++++-----------------
12450 1 files changed, 219 insertions(+), 144 deletions(-)
12452 commit 37fd0d8967df21695d6536af1d7aedbeef2d2449
12453 Author: Chris Wilson <chris@chris-wilson.co.uk>
12454 Date: Thu Oct 4 17:12:26 2007 +0100
12456 [cairo-cff-subset] Propagate errors and review error paths.
12458 Ensure that errors get duly propagated back to the caller and all
12459 locally allocated resources are freed along error paths.
12461 src/cairo-cff-subset.c | 291 ++++++++++++++++++++++++++++++++++--------------
12462 1 files changed, 209 insertions(+), 82 deletions(-)
12464 commit add0959328117e2023db0ba2432ed29ecb93275e
12465 Author: Chris Wilson <chris@chris-wilson.co.uk>
12466 Date: Thu Oct 4 17:00:26 2007 +0100
12468 [cairo-debug] Finalize mutexes along with other static data.
12470 Initialize (so repeated calls of cairo_debug_reset_static_data() is
12471 safe) and finalize the mutexes with the reset of the static data.
12473 src/cairo-debug.c | 4 ++++
12474 1 files changed, 4 insertions(+), 0 deletions(-)
12476 commit a4f20610afd18d58a964dbe84cc90c5723b2996d
12477 Author: Chris Wilson <chris@chris-wilson.co.uk>
12478 Date: Thu Oct 4 16:37:44 2007 +0100
12480 [cairo] Protect the getters when operating on the nil object.
12482 Put a guard that checks the context's status at the start of each
12483 getter that prevents the function from trying to dereference NULL state.
12484 Use the status, as opposed to the invalid reference count, for
12485 consistency with the existing guards on some of the getters.
12487 src/cairo.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++--
12488 1 files changed, 49 insertions(+), 2 deletions(-)
12490 commit 80c06f4539962231df771b38e64834a238f410dd
12491 Author: Chris Wilson <chris@chris-wilson.co.uk>
12492 Date: Thu Oct 4 16:16:41 2007 +0100
12494 [cairo-scaled-font] Don't hold onto to a dropped font.
12496 Mark fonts that have been removed from the cache due to an error on a
12497 shared object and do not put them into the holdovers array.
12499 src/cairo-scaled-font.c | 8 ++++++--
12500 1 files changed, 6 insertions(+), 2 deletions(-)
12502 commit 6e93941a7605a3958269de195dc16f255dda7bfd
12503 Author: Chris Wilson <chris@chris-wilson.co.uk>
12504 Date: Thu Oct 4 16:04:49 2007 +0100
12506 [cairo-scaled-font] Acquire mutex around _cairo_scaled_font_glyph_path().
12508 All calls that manipulate the scaled_font->cache must hold its mutex.
12510 src/cairo-gstate.c | 2 ++
12511 1 files changed, 2 insertions(+), 0 deletions(-)
12513 commit 261971a3fb9c10c267cced53a440161f1acb4b5d
12514 Author: Chris Wilson <chris@chris-wilson.co.uk>
12515 Date: Thu Oct 4 16:03:12 2007 +0100
12517 [cairo-gstate] Fix resource leaks on error paths.
12519 Ensure that all locally allocated (or referenced) resources are freed
12520 if we later encounter an error.
12522 src/cairo-gstate.c | 22 ++++++++++++++--------
12523 1 files changed, 14 insertions(+), 8 deletions(-)
12525 commit 4e44d54f3e99b65f5e80485b22d31890ea3d6561
12526 Author: Chris Wilson <chris@chris-wilson.co.uk>
12527 Date: Thu Oct 4 15:58:21 2007 +0100
12529 [cairo-matrix] Check whether a matrix is invertible before use.
12531 Provide an early check as to whether the font matrix is invertible.
12533 src/cairo-gstate.c | 3 +++
12534 src/cairo-matrix.c | 10 ++++++++++
12535 src/cairo-scaled-font.c | 3 +++
12536 src/cairoint.h | 3 +++
12537 4 files changed, 19 insertions(+), 0 deletions(-)
12539 commit 528da4e5e131fe385a60431eb6656a542b27c70f
12540 Author: Chris Wilson <chris@chris-wilson.co.uk>
12541 Date: Thu Oct 4 15:50:40 2007 +0100
12543 [cairo-scaled-font] Freeze the font cache whilst iterating over glyphs.
12545 Prevent glyph cache removal whilst iterating over a glyph string.
12547 src/cairo-scaled-font.c | 6 ++++++
12548 1 files changed, 6 insertions(+), 0 deletions(-)
12550 commit 4b81eeb20ebe070692ef8099c00de3829da8bf69
12551 Author: Chris Wilson <chris@chris-wilson.co.uk>
12552 Date: Thu Oct 4 15:46:13 2007 +0100
12554 [cairo-scaled-font] Destroy the mask on the error path.
12556 Do not leak the mask if we encounter an error whilst tracing.
12558 src/cairo-scaled-font.c | 17 ++++++++++-------
12559 1 files changed, 10 insertions(+), 7 deletions(-)
12561 commit d0b1308cd73a6b3602e5414abf03a3bdf8d2d001
12562 Author: Chris Wilson <chris@chris-wilson.co.uk>
12563 Date: Thu Oct 4 15:43:09 2007 +0100
12565 [cairo-scaled-font] Store fatal errors on the cairo_scaled_font_t.
12567 Ensure that all fatal errors raised whilst using the font are stored on
12570 src/cairo-scaled-font.c | 35 +++++++++++++++++++++++------------
12571 1 files changed, 23 insertions(+), 12 deletions(-)
12573 commit 4c32e6bfde5d613e0eeef407b9b50c557b1878e3
12574 Author: Chris Wilson <chris@chris-wilson.co.uk>
12575 Date: Thu Oct 4 15:31:25 2007 +0100
12577 [cairo-scaled-font] Return the error status from _cairo_scaled_font_set_error()
12579 Similar to the other _cairo_*_set_error() return the error status.
12581 src/cairo-ft-font.c | 4 ++--
12582 src/cairo-scaled-font.c | 18 +++++++++---------
12583 src/cairoint.h | 2 +-
12584 3 files changed, 12 insertions(+), 12 deletions(-)
12586 commit 06ae5f1ba3bb679c145d2f7e9ed8c244abf7ff17
12587 Author: Chris Wilson <chris@chris-wilson.co.uk>
12588 Date: Thu Oct 4 15:26:09 2007 +0100
12590 [cairo-font-face] Set the error on the font.
12592 Similar to the other shared objects, store fatal errors on the shared
12593 font_face. And do not return a cached reference to an object in an
12596 src/cairo-font-face.c | 46 +++++++++++++++++++++++++++++++++++++---------
12597 src/cairo-scaled-font.c | 1 +
12598 src/cairoint.h | 4 ++++
12599 3 files changed, 42 insertions(+), 9 deletions(-)
12601 commit 4cffdf2681ba254587bd774ea49718e71535b067
12602 Author: Chris Wilson <chris@chris-wilson.co.uk>
12603 Date: Thu Oct 4 14:59:55 2007 +0100
12605 [cairo-ft-font] Always call _cairo_ft_unscaled_font_fini ().
12607 The _cairo_ft_unscaled_font_fini() was skipped during the destroy for
12608 fonts generated by cairo_ft_font_face_create_for_ft_face(). However
12609 this causes a mutex to be 'leaked' for each font.
12611 src/cairo-ft-font.c | 4 +++-
12612 1 files changed, 3 insertions(+), 1 deletions(-)
12614 commit de1f92ae14bfc4d74d8df88ae81d7b90dd6739f0
12615 Author: Chris Wilson <chris@chris-wilson.co.uk>
12616 Date: Thu Oct 4 14:51:16 2007 +0100
12618 [cairo-output-stream] Propagate error status when copying streams.
12620 During _cairo_memory_stream_copy(), if set, copy the incoming error over
12621 to the destination stream and return early.
12623 src/cairo-output-stream.c | 12 ++++++++++--
12624 1 files changed, 10 insertions(+), 2 deletions(-)
12626 commit 2c256f292fc4a9fd8414e29c4df32d347e360900
12627 Author: Chris Wilson <chris@chris-wilson.co.uk>
12628 Date: Thu Oct 4 14:35:08 2007 +0100
12630 [cairo-error] Another _cairo_error (CAIRO_STATUS_SUCCESS)!
12632 Despite double checking, I still ended up converting one too many
12635 src/cairo-truetype-subset.c | 2 +-
12636 1 files changed, 1 insertions(+), 1 deletions(-)
12638 commit bed8239f03773ad1584c8ba48ceb0b34bbe69453
12639 Author: Chris Wilson <chris@chris-wilson.co.uk>
12640 Date: Thu Oct 4 13:15:46 2007 +0100
12642 [cairo-error] Clean up all the warnings and missing _cairo_error() calls.
12644 Every time we assign or return a hard-coded error status wrap that value
12645 with a call to _cairo_error(). So the idiom becomes:
12646 status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
12648 return _cairo_error (CAIRO_STATUS_INVALID_DASH);
12650 This ensures that a breakpoint placed on _cairo_error() will trigger
12651 immediately cairo detects the error.
12653 src/cairo-analysis-surface.c | 4 +-
12654 src/cairo-array.c | 9 +--
12655 src/cairo-atsui-font.c | 18 +++---
12656 src/cairo-base85-stream.c | 2 +-
12657 src/cairo-bentley-ottmann.c | 22 +++-----
12658 src/cairo-cache.c | 4 +-
12659 src/cairo-cff-subset.c | 122 +++++++++++++++------------------------
12660 src/cairo-clip.c | 18 +++---
12661 src/cairo-deflate-stream.c | 2 +-
12662 src/cairo-directfb-surface.c | 49 +++++++---------
12663 src/cairo-font-face.c | 6 +-
12664 src/cairo-font-options.c | 4 +-
12665 src/cairo-ft-font.c | 111 ++++++++++++++---------------------
12666 src/cairo-glitz-surface.c | 89 ++++++++++++----------------
12667 src/cairo-gstate.c | 37 +++++-------
12668 src/cairo-hash.c | 10 +--
12669 src/cairo-hull.c | 2 +-
12670 src/cairo-image-surface.c | 47 ++++++---------
12671 src/cairo-lzw.c | 6 +-
12672 src/cairo-matrix.c | 4 +-
12673 src/cairo-meta-surface.c | 48 ++++++----------
12674 src/cairo-os2-surface.c | 24 ++++----
12675 src/cairo-output-stream.c | 18 +++---
12676 src/cairo-paginated-surface.c | 8 +--
12677 src/cairo-path-fixed.c | 14 ++--
12678 src/cairo-path-stroke.c | 6 +-
12679 src/cairo-path.c | 16 +++---
12680 src/cairo-pattern.c | 65 +++++++++-----------
12681 src/cairo-pdf-surface.c | 62 ++++++++-----------
12682 src/cairo-pen.c | 19 ++----
12683 src/cairo-png.c | 24 ++++----
12684 src/cairo-polygon.c | 6 +-
12685 src/cairo-ps-surface.c | 63 +++++++++-----------
12686 src/cairo-quartz-surface.c | 15 ++---
12687 src/cairo-region.c | 22 +++----
12688 src/cairo-scaled-font-subsets.c | 20 +++----
12689 src/cairo-scaled-font.c | 16 ++---
12690 src/cairo-skiplist.c | 2 +-
12691 src/cairo-spline.c | 6 +-
12692 src/cairo-stroke-style.c | 6 +-
12693 src/cairo-surface-fallback.c | 10 +--
12694 src/cairo-surface.c | 82 ++++++++++++++------------
12695 src/cairo-svg-surface.c | 24 +++-----
12696 src/cairo-traps.c | 9 +--
12697 src/cairo-truetype-subset.c | 43 ++++++--------
12698 src/cairo-type1-fallback.c | 27 ++++-----
12699 src/cairo-type1-subset.c | 30 +++++-----
12700 src/cairo-unicode.c | 20 +++----
12701 src/cairo-win32-font.c | 40 ++++++------
12702 src/cairo-win32-surface.c | 23 ++++----
12703 src/cairo-xcb-surface.c | 50 +++++++---------
12704 src/cairo-xlib-display.c | 2 +-
12705 src/cairo-xlib-surface.c | 88 +++++++++++++---------------
12707 src/cairoint.h | 8 ++-
12708 src/test-fallback-surface.c | 2 +-
12709 src/test-meta-surface.c | 6 +-
12710 src/test-paginated-surface.c | 6 +-
12711 58 files changed, 648 insertions(+), 856 deletions(-)
12713 commit d90d4bb6b99e0a912650234e28d097ea76c1cecc
12714 Author: Chris Wilson <chris@chris-wilson.co.uk>
12715 Date: Thu Oct 4 11:30:13 2007 +0100
12717 [cairo-error] Make _cairo_error() return the error status.
12719 As pointed out by Jeff Muizelaar, this allows for more concise code, as
12720 _cairo_error(CAIRO_STATUS_NO_MEMORY)
12721 return CAIRO_STATUS_NO_MEMORY
12723 return _cairo_error(CAIRO_STATUS_NO_MEMORY);
12725 src/cairo.c | 6 +++++-
12726 src/cairoint.h | 2 +-
12727 2 files changed, 6 insertions(+), 2 deletions(-)
12729 commit 71120727e190dfaf3ccbe63b3d91d90e36cff6f6
12730 Author: Chris Wilson <chris@chris-wilson.co.uk>
12731 Date: Thu Oct 4 11:13:33 2007 +0100
12733 [cairo-atomic] Use an atomic operation to set the status on a shared resource.
12735 Since the objects can be shared and may be in use simultaneously across
12736 multiple threads, setting the status needs to be atomic. We use a
12737 locked compare and exchange in order to avoid overwriting an existing
12738 error - that is we use an atomic operation that only sets the new status
12739 value if the current value is CAIRO_STATUS_SUCCESS.
12741 src/cairo-atomic-private.h | 8 ++++++++
12742 src/cairo-atomic.c | 15 +++++++++++++++
12743 src/cairo-pattern.c | 17 ++++++++---------
12744 src/cairo-scaled-font.c | 13 ++++++-------
12745 src/cairo-surface.c | 13 ++++++-------
12746 src/cairo.c | 12 +++++-------
12747 6 files changed, 48 insertions(+), 30 deletions(-)
12749 commit f4356efb64a043e7a459fe77616f3b7c92b25c49
12750 Author: Chris Wilson <chris@chris-wilson.co.uk>
12751 Date: Thu Oct 4 09:30:32 2007 +0100
12753 [malloc/error] Fixup _cairo_error (CAIRO_STATUS_SUCCESS)!
12755 At some point during the blitz, I accidentally wrote
12756 _cairo_error (CAIRO_STATUS_SUCCESS) and then proceeded to paste it into
12757 the next 30 error sites! s/CAIRO_STATUS_SUCCESS/CAIRO_STATUS_NO_MEMORY/
12759 src/cairo-glitz-surface.c | 24 ++++++++++++------------
12760 src/cairo-gstate.c | 8 ++++----
12761 src/cairo-hash.c | 6 +++---
12762 src/cairo-hull.c | 2 +-
12763 src/cairo-image-surface.c | 12 +++++++-----
12764 src/cairo-lzw.c | 4 ++--
12765 src/cairo-meta-surface.c | 10 +++++-----
12766 7 files changed, 34 insertions(+), 32 deletions(-)
12768 commit ef5f460eb1f86a73e016c1150723ae1e70b3b037
12769 Author: Chris Wilson <chris@chris-wilson.co.uk>
12770 Date: Thu Oct 4 09:08:46 2007 +0100
12772 [cairo-path] Check for an empty path in cairo_append_path().
12774 As we now generate empty paths, we must be able to handle empty paths
12775 in the user facing API. cairo_append_path() has an explicit check, and
12776 raises an error, for a NULL path->data, so we need to check the
12777 path->num_data first for empty paths.
12779 src/cairo.c | 3 +++
12780 test/copy-path.c | 15 +++++++++++++++
12781 2 files changed, 18 insertions(+), 0 deletions(-)
12783 commit 8ad56b308ae8bbecfe9873c21551a6d4b2302420
12784 Author: Chris Wilson <chris@chris-wilson.co.uk>
12785 Date: Thu Oct 4 00:38:12 2007 +0100
12787 [malloc/error] Add call to _cairo_error() after a failed malloc.
12789 Blitz all allocations to ensure that they raise a
12790 _cairo_error(CAIRO_STATUS_NO_MEMORY) on failure.
12792 src/cairo-array.c | 6 +++-
12793 src/cairo-atsui-font.c | 1 +
12794 src/cairo-base85-stream.c | 4 ++-
12795 src/cairo-bentley-ottmann.c | 12 +++++--
12796 src/cairo-cache.c | 4 ++-
12797 src/cairo-cff-subset.c | 72 +++++++++++++++++++++++++++++---------
12798 src/cairo-clip.c | 4 ++-
12799 src/cairo-deflate-stream.c | 4 ++-
12800 src/cairo-directfb-surface.c | 32 ++++++++++++-----
12801 src/cairo-font-face.c | 4 ++-
12802 src/cairo-font-options.c | 11 ++++--
12803 src/cairo-ft-font.c | 13 +++++--
12804 src/cairo-glitz-surface.c | 33 ++++++++++++++----
12805 src/cairo-gstate.c | 13 +++++--
12806 src/cairo-hash.c | 9 ++++-
12807 src/cairo-hull.c | 4 ++-
12808 src/cairo-image-surface.c | 10 ++++-
12809 src/cairo-lzw.c | 2 +
12810 src/cairo-meta-surface.c | 26 +++++++++++---
12811 src/cairo-output-stream.c | 21 +++++++++---
12812 src/cairo-paginated-surface.c | 4 ++-
12813 src/cairo-path-fixed.c | 8 +++-
12814 src/cairo-path-stroke.c | 5 ++-
12815 src/cairo-pattern.c | 5 ++-
12816 src/cairo-pdf-surface.c | 10 ++++-
12817 src/cairo-ps-surface.c | 19 +++++++---
12818 src/cairo-quartz-surface.c | 14 +++++++
12819 src/cairo-region.c | 4 ++-
12820 src/cairo-scaled-font-subsets.c | 18 +++++++---
12821 src/cairo-scaled-font.c | 3 ++
12822 src/cairo-skiplist.c | 5 ++-
12823 src/cairo-spline.c | 1 +
12824 src/cairo-stroke-style.c | 4 ++-
12825 src/cairo-surface-fallback.c | 2 +
12826 src/cairo-surface.c | 1 +
12827 src/cairo-traps.c | 5 ++-
12828 src/cairo-truetype-subset.c | 13 ++++++-
12829 src/cairo-type1-fallback.c | 7 +++-
12830 src/cairo-type1-subset.c | 26 +++++++++++---
12831 src/cairo-unicode.c | 8 +++-
12832 src/cairo-win32-font.c | 9 ++++-
12833 src/cairo-win32-surface.c | 5 ++-
12834 src/cairo-xcb-surface.c | 23 ++++++++++---
12835 src/cairo-xlib-display.c | 4 ++-
12836 src/cairo-xlib-surface.c | 19 ++++++++--
12837 src/cairo.c | 9 ++++-
12838 src/test-meta-surface.c | 4 ++-
12839 47 files changed, 404 insertions(+), 116 deletions(-)
12841 commit 66664596559c55913fb0b9c8784fe8ab862c217b
12842 Author: Chris Wilson <chris@chris-wilson.co.uk>
12843 Date: Wed Oct 3 23:25:10 2007 +0100
12845 [malloc] Take advantage of calloc() argument checking.
12847 calloc() will check its arguments for integer overflows so it is safer
12848 not to pre-multiply them.
12850 src/cairo-ft-font.c | 4 ++--
12851 src/cairo-glitz-surface.c | 2 +-
12852 src/cairo-image-surface.c | 2 +-
12853 3 files changed, 4 insertions(+), 4 deletions(-)
12855 commit e49bcde27f88e21d5b8037a0089a226096f6514b
12856 Author: Chris Wilson <chris@chris-wilson.co.uk>
12857 Date: Wed Oct 3 23:19:10 2007 +0100
12859 [malloc] Check for integer overflow when realloc'ing.
12861 Perform similar sanity checks to Vlad's _cairo_malloc_ab() but on the
12862 arguments to realloc instead.
12864 src/cairo-array.c | 4 ++--
12865 src/cairo-lzw.c | 6 +++++-
12866 src/cairo-malloc-private.h | 30 ++++++++++++++++++++++++++----
12867 src/cairo-path-stroke.c | 3 ++-
12868 src/cairo-pattern.c | 4 +++-
12869 src/cairo-pen.c | 3 ++-
12870 src/cairo-polygon.c | 3 ++-
12871 src/cairo-spline.c | 3 ++-
12872 src/cairo-traps.c | 3 ++-
12873 9 files changed, 46 insertions(+), 13 deletions(-)
12875 commit 8cba73a36c4ec42601388bb9374f3182651bfe60
12876 Author: Chris Wilson <chris@chris-wilson.co.uk>
12877 Date: Wed Oct 3 22:27:09 2007 +0100
12879 [cairo-polygon] Add a _cairo_error().
12881 Add a _cairo_error() to an originating error site.
12883 src/cairo-polygon.c | 1 +
12884 1 files changed, 1 insertions(+), 0 deletions(-)
12886 commit e767c8b50af578209f1dac3b8f2ae22835e1fee7
12887 Author: Chris Wilson <chris@chris-wilson.co.uk>
12888 Date: Wed Oct 3 22:26:03 2007 +0100
12890 [cairo-pen] Add _cairo_error().
12892 Markup a couple of originating error sites with _cairo_error().
12894 src/cairo-pen.c | 12 +++++++++---
12895 1 files changed, 9 insertions(+), 3 deletions(-)
12897 commit 7047a091748577754845a6ed7f35837e41e7d5fb
12898 Author: Adrian Johnson <ajohnson@redneon.com>
12899 Date: Wed Oct 3 23:10:15 2007 +0930
12901 TODO: Remove PDF encoding issues
12903 All PDF font encoding issues are fixed now that TrueType fonts are
12904 embedded in PDF as CIDFontType2.
12907 1 files changed, 0 insertions(+), 2 deletions(-)
12909 commit 3e70b0a388c04c61816078de058c323774edeb96
12910 Author: Adrian Johnson <ajohnson@redneon.com>
12911 Date: Wed Oct 3 23:01:59 2007 +0930
12913 ROADMAP: Mark EPS support done
12916 1 files changed, 1 insertions(+), 1 deletions(-)
12918 commit a4627177663beacd3d15699fee072f7ad2eff4a9
12919 Author: Adrian Johnson <ajohnson@redneon.com>
12920 Date: Wed Oct 3 19:55:05 2007 +0930
12922 PDF: Fix bug in font resources
12924 src/cairo-pdf-surface.c | 2 +-
12925 1 files changed, 1 insertions(+), 1 deletions(-)
12927 commit c9a9f1299c2bd5b6a8e53fdb264c233a43e0c44a
12928 Author: Chris Wilson <chris@chris-wilson.co.uk>
12929 Date: Mon Oct 1 17:00:38 2007 +0100
12931 [cairo-image-surface] Avoid trying to create surfaces with invalid strides.
12933 pixman does not (yet?) support arbitrary strides and will fail to
12934 generate an image for the data. We misinterpret that failure as a
12935 CAIRO_STATUS_NO_MEMORY, so instead return CAIRO_STATUS_INVALID_FORMAT
12936 before attempting to create the pixman image.
12938 src/cairo-image-surface.c | 5 ++++-
12939 1 files changed, 4 insertions(+), 1 deletions(-)
12941 commit e241205f0c6d823150cf018c0deb6652dd8b8d02
12942 Author: Chris Wilson <chris@chris-wilson.co.uk>
12943 Date: Mon Oct 1 16:54:16 2007 +0100
12945 [cairo-image-surface] Return correct error surfaces.
12947 Avoid returning the "generic" _cairo_surface_nil (which corresponds to
12948 CAIRO_STATUS_NO_MEMORY) when the user asks us to create a surface with
12949 an invalid format or content.
12951 src/cairo-image-surface.c | 65 ++++++++++++++++++++++++++++++++++++++++----
12952 1 files changed, 59 insertions(+), 6 deletions(-)
12954 commit b4f86638cc4b87bfaf10568ae9beb89626e26613
12955 Author: Chris Wilson <chris@chris-wilson.co.uk>
12956 Date: Mon Oct 1 17:59:57 2007 +0100
12958 [cairo-path] Don't raise an error when attempting to create an empty path.
12960 Generate a real empty path structure instead of returning
12961 _cairo_path_nil, if we have been asked to create an empty path.
12963 (Also add a couple of missing _cairo_error()s and an appropriate test
12966 Spotted by Fred Kiefer.
12968 src/cairo-path.c | 36 ++++++++++++++++++++++++------------
12969 test/copy-path.c | 17 +++++++++++++++++
12970 2 files changed, 41 insertions(+), 12 deletions(-)
12972 commit 042c382c094d1ea6f9a5a162d4d1d9ac83413233
12973 Author: Adrian Johnson <ajohnson@redneon.com>
12974 Date: Sat Sep 29 07:55:48 2007 +0930
12976 CFF Subetting: Fix for #10849
12978 This fixes the problem Apple Preview has with viewing PDFs with CFF
12981 src/cairo-cff-subset.c | 2 +-
12982 1 files changed, 1 insertions(+), 1 deletions(-)
12984 commit d837a458b95c0e1866eecaf3688dfa36e7dafe8e
12985 Author: Chris Wilson <chris@chris-wilson.co.uk>
12986 Date: Thu Sep 27 17:45:51 2007 +0100
12988 [configure] Work-around bad interaction of libtool and lcov
12990 libtool causes the .gcda files to be generated in the .libs/ directory,
12991 separate from the .c source file. lcov expects them to be in the same
12992 directory - so massage the lcov.info file to remove the reference to the
12995 Also separate the target for generating the lcov output, so that it can
12996 be run independently from triggering the tests. And improve convenience
12997 of using the other lcov targets.
12999 Makefile.am | 29 ++++++++++++++++++++---------
13000 1 files changed, 20 insertions(+), 9 deletions(-)
13002 commit abe1b89da4a2aa255a218103c7a05711d0f73b1c
13003 Author: Chris Wilson <chris@chris-wilson.co.uk>
13004 Date: Thu Sep 27 14:49:30 2007 +0100
13006 [test/get-path-extents] Test extents of cairo_text_path().
13008 Check that the text path extents match the computed metrics.
13010 test/get-path-extents.c | 38 ++++++++++++++++++++++++++++----------
13011 1 files changed, 28 insertions(+), 10 deletions(-)
13013 commit 0618818f7a4a323d2c2d0dd122e08aeaa025b3f3
13014 Author: Chris Wilson <chris@chris-wilson.co.uk>
13015 Date: Wed Sep 26 14:40:36 2007 +0100
13017 [test/get-path-extents] Test extents of an arc.
13019 Add the test case from bug 7245,
13020 https://bugs.freedesktop.org/show_bug.cgi?id=7245.
13022 test/get-path-extents.c | 24 +++++++++++++++++++-----
13023 1 files changed, 19 insertions(+), 5 deletions(-)
13025 commit 54d5dccffa402835db57231f7a6cd98d71688359
13026 Author: Adrian Johnson <ajohnson@redneon.com>
13027 Date: Wed Sep 26 22:21:26 2007 +0930
13029 PDF: Compress pattern and group streams
13031 src/cairo-pdf-surface.c | 16 +++++++++++-----
13032 1 files changed, 11 insertions(+), 5 deletions(-)
13034 commit a0a51977f48cc14c442357f472ed20e43c42829c
13035 Author: Adrian Johnson <ajohnson@redneon.com>
13036 Date: Wed Sep 26 22:21:07 2007 +0930
13038 PDF: Fix bug in font resources when same font is in multiple groups
13040 src/cairo-pdf-surface.c | 16 +++++++++++-----
13041 1 files changed, 11 insertions(+), 5 deletions(-)
13043 commit 76b9b1819251c8f3df0a5ada92a501ad83baa5a1
13044 Author: Chris Wilson <chris@chris-wilson.co.uk>
13045 Date: Wed Sep 26 00:41:31 2007 +0100
13047 [test/create-for-stream] Add the missing cairo_surface_finish().
13049 Moments after pushing the new test case did I realise the issue...
13050 We do not attempt to write out the surface to the user stream until
13051 we perform the cairo_surface_destroy() by which point we have lost
13052 the ability to interrogate the error status. We can avoid this by
13053 explicitly calling cairo_surface_finish() and then checking the
13054 error status - and we see that the error is indeed reported
13057 No bug. Nothing to see here. Please move along. (Apart from the
13058 request for the status to be return from cairo_surface_destroy!)
13060 test/create-for-stream.c | 1 +
13061 1 files changed, 1 insertions(+), 0 deletions(-)
13063 commit 1e7f0bd4d5148940fe963eb20782bffe5ee735bd
13064 Author: Chris Wilson <chris@chris-wilson.co.uk>
13065 Date: Wed Sep 26 00:28:47 2007 +0100
13067 [test/create-for-stream] Add test case for user error propagation.
13069 From bug https://bugs.freedesktop.org/show_bug.cgi?id=7049, we find
13070 that the error status from the user supplied write function to
13071 cairo_*_surface_create_for_stream is ignored and not propagated back
13072 to the surface/context - leading to silent data loss. Incorporate
13073 the suggested test case, a write function that simply returns
13074 CAIRO_STATUS_WRITE_ERROR, into create-for-stream.c.
13076 test/create-for-stream.c | 57 +++++++++++++++++++++++++++++++++++----------
13077 1 files changed, 44 insertions(+), 13 deletions(-)
13079 commit 1469de5211e84e40490fa612538986768748bd55
13080 Author: Chris Wilson <chris@chris-wilson.co.uk>
13081 Date: Tue Sep 25 23:35:25 2007 +0100
13083 [cairo-png] Propagate error from read and write funcs.
13085 Use the png_struct->error_ptr to propagate the error status from the
13086 user/stdio read and write functions through the png_error() to the
13087 cairo_surface_write_to_png*() and cairo_surface_read_from_png*()
13088 functions. From there the error is returned back to the user either
13089 directly or as the most appropriate error surface.
13091 (Fixes https://bugs.freedesktop.org/show_bug.cgi?id=6909)
13093 src/cairo-png.c | 57 +++++++++++++++++++++-----------
13094 test/create-from-png.c | 84 ++++++++++++++++++++++++++++++++++++++++++-----
13095 2 files changed, 113 insertions(+), 28 deletions(-)
13097 commit f1d84271d363cc80cdef92ec9cac2cf29783bfe0
13098 Author: Chris Wilson <chris@chris-wilson.co.uk>
13099 Date: Tue Sep 25 21:58:24 2007 +0100
13101 [cairo-atomic] Do not use Intel atomic primitives on i386.
13103 When limiting the target instruction set for compatibility with older
13104 processors, e.g. -march=i386, the Intel atomic primitives generate a
13105 call to a non-existent function, __sync_fetch_and_add_4(). To detect
13106 this scenario change the configure test from AC_TRY_COMPILE to
13107 AC_TRY_LINK which will then cause Cairo to fall back to using mutexes
13108 for its atomic operations.
13110 configure.in | 2 +-
13111 1 files changed, 1 insertions(+), 1 deletions(-)
13113 commit 03be41151d06d48d55bc1e172535829ec45a10cf
13114 Author: Chris Wilson <chris@chris-wilson.co.uk>
13115 Date: Sun Sep 23 21:08:09 2007 +0100
13117 [cairo-atomic] Rewrite reference counting using atomic ops.
13119 Introduce an opaque cairo_reference_count_t and define operations on it
13120 in terms of atomic ops. Update all users of reference counters to use
13121 the new opaque type.
13123 src/Makefile.am | 1 +
13124 src/cairo-clip-private.h | 12 +++---
13125 src/cairo-clip.c | 11 +++--
13126 src/cairo-font-face.c | 49 ++++++++++-----------
13127 src/cairo-ft-font.c | 2 +-
13128 src/cairo-image-surface.c | 2 +-
13129 src/cairo-pattern.c | 50 +++++++++++----------
13130 src/cairo-private.h | 3 +-
13131 src/cairo-reference-count-private.h | 66 ++++++++++++++++++++++++++++
13132 src/cairo-scaled-font-private.h | 3 +-
13133 src/cairo-scaled-font.c | 81 +++++++++++++++++------------------
13134 src/cairo-surface-private.h | 3 +-
13135 src/cairo-surface.c | 33 ++++++++------
13136 src/cairo-xlib-display.c | 42 ++++++++----------
13137 src/cairo-xlib-private.h | 5 +-
13138 src/cairo-xlib-screen.c | 12 +++--
13139 src/cairo.c | 23 +++++-----
13140 src/cairoint.h | 27 ++++++------
13141 18 files changed, 246 insertions(+), 179 deletions(-)
13143 commit 8b6c871c9084739460f1320cd36560a09477a83e
13144 Author: Chris Wilson <chris@chris-wilson.co.uk>
13145 Date: Fri Sep 21 10:45:55 2007 +0100
13147 [cairo-atomic] Introduce atomic ops.
13149 Test for the availability of the Intel __sync_* atomic primitives and
13150 use them to define a few operations useful for reference counting -
13151 providing a generic interface that may be targeted at more architectures
13152 in the future. If no atomic primitives are available, use a mutex based
13153 variant. If the contention on that mutex is too high, we can consider
13154 using an array of mutexes using the address of the atomic variable as
13157 configure.in | 16 ++++++++
13158 src/Makefile.am | 2 +
13159 src/cairo-atomic-private.h | 81 ++++++++++++++++++++++++++++++++++++++++
13160 src/cairo-atomic.c | 79 +++++++++++++++++++++++++++++++++++++++
13161 src/cairo-mutex-list-private.h | 3 +
13162 5 files changed, 181 insertions(+), 0 deletions(-)
13164 commit 42de1a0a7f5cc10c2bad98ef69da302ed2a1ca84
13165 Author: Chris Wilson <chris@chris-wilson.co.uk>
13166 Date: Sun Sep 23 21:00:23 2007 +0100
13168 Move GCC attributes wrapping into a separate header.
13170 The wrapping of GCC attributes (such as cairo_private) needs to be
13171 visible to any header file, including those that avoid cairoint.h such
13172 as cairo-boilerplate. To achieve this we move the pre-processor magic to
13173 its own header file and include it as required.
13175 src/Makefile.am | 1 +
13176 src/cairo-cache-private.h | 1 +
13177 src/cairo-clip-private.h | 1 +
13178 src/cairo-compiler-private.h | 115 +++++++++++++++++++++++++++++++++++++
13179 src/cairo-hash-private.h | 1 +
13180 src/cairo-mutex-private.h | 1 +
13181 src/cairo-output-stream-private.h | 1 +
13182 src/cairo-region-private.h | 2 +
13183 src/cairo-wideint-private.h | 2 +
13184 src/cairo-xlib-private.h | 5 +-
13185 src/cairoint.h | 71 +----------------------
13186 11 files changed, 131 insertions(+), 70 deletions(-)
13188 commit be327a7b49a62c684e133aad5d5d6adec30b60e6
13189 Author: Adrian Johnson <ajohnson@redneon.com>
13190 Date: Tue Sep 25 23:04:03 2007 +0930
13192 PDF: Compress the content stream
13194 The content stream compression that was previously implemented was
13195 inadvertently bypassed when the new stream handling for meta surface
13196 patterns was implemented.
13198 src/cairo-pdf-surface-private.h | 4 ++
13199 src/cairo-pdf-surface.c | 65 ++++++++++++++++++++++++++++++++------
13200 2 files changed, 58 insertions(+), 11 deletions(-)
13202 commit 99fd9449c24055fd7b3623157397fe61282e2de0
13203 Author: Adrian Johnson <ajohnson@redneon.com>
13204 Date: Tue Sep 25 21:57:46 2007 +0930
13206 PDF: Remove duplication from the resource dictionary
13208 The same font identifer was being added the resources every time it
13211 src/cairo-pdf-surface.c | 4 +---
13212 1 files changed, 1 insertions(+), 3 deletions(-)
13214 commit dc23ecb6198f1e28b6096cbef931e15407cc20a8
13215 Author: Chris Wilson <chris@chris-wilson.co.uk>
13216 Date: Sun Sep 23 21:02:31 2007 +0100
13218 [cairo-boilerplate] Do not throw an error if an exclude target is not found.
13220 If we fail to exclude a target because it was not in the list of
13221 targets - job done and no need to throw a tantrum.
13223 boilerplate/cairo-boilerplate.c | 5 -----
13224 1 files changed, 0 insertions(+), 5 deletions(-)
13226 commit 4f7c5a5033f41de94a7ea284a64f4afa0900fff1
13227 Author: Chris Wilson <chris@chris-wilson.co.uk>
13228 Date: Sun Sep 23 21:04:36 2007 +0100
13230 [cairo-region] Call _cairo_error() at original error site.
13232 Before returning a fresh CAIRO_STATUS_NO_MEMORY, remember to call
13235 src/cairo-region.c | 4 +++-
13236 1 files changed, 3 insertions(+), 1 deletions(-)
13238 commit 45feb13c2689a8f5813e60fb0c2d17e9e02fd4b5
13239 Author: Chris Wilson <chris@chris-wilson.co.uk>
13240 Date: Sun Sep 23 21:34:50 2007 +0100
13242 [cairo-clip] Avoid a malloc(0).
13244 Avoid a potential allocation of 0 bytes, and a potential NULL leading to an
13245 incorrect CAIRO_STATUS_NO_MEMORY, when copying an empty clip region.
13247 src/cairo-clip.c | 36 +++++++++++++++++++++---------------
13248 1 files changed, 21 insertions(+), 15 deletions(-)
13250 commit 77f1aa78872aa108199afd41247cf21827f7e33a
13251 Author: Adrian Johnson <ajohnson@redneon.com>
13252 Date: Sun Sep 23 17:43:44 2007 +0930
13254 Add Encapsulated PostScript support
13256 The analysis surface will calculated the tight bounding box for each
13257 page. A new paginated-surface backend function set_bounding_box() has
13258 been added for passing the page bounding box to the target surface at
13259 the end of the analysis phase.
13261 The changes to the PS file when EPS is enabled are:
13263 - Use tight bounding box instead of page size
13264 - Use save/restore to ensure PS interpreter is left in the same state
13266 src/cairo-analysis-surface-private.h | 10 ++-
13267 src/cairo-analysis-surface.c | 32 +++++++
13268 src/cairo-paginated-private.h | 19 ++++-
13269 src/cairo-paginated-surface.c | 15 +++-
13270 src/cairo-ps-surface-private.h | 3 +-
13271 src/cairo-ps-surface.c | 151 +++++++++++++++++++++++-----------
13272 6 files changed, 171 insertions(+), 59 deletions(-)
13274 commit beefbdd63864d10924360f41b244de7edf7b5f5b
13275 Author: Adrian Johnson <ajohnson@redneon.com>
13276 Date: Sun Sep 23 14:23:33 2007 +0930
13278 Add Encapsulated PostScript API
13280 doc/public/cairo-sections.txt | 2 +
13281 src/cairo-ps-surface-private.h | 2 +
13282 src/cairo-ps-surface.c | 57 ++++++++++++++++++++++++++++++++++++++++
13283 src/cairo-ps.h | 7 +++++
13284 4 files changed, 68 insertions(+), 0 deletions(-)
13286 commit b20e08999e2f6e7a72ee75a7c3fd865bf0368794
13287 Author: Adrian Johnson <ajohnson@redneon.com>
13288 Date: Sun Sep 23 11:37:02 2007 +0930
13290 Truetype Subsetting: Avoid failing when fonts are missing optional tables
13292 Previously, the TrueType subsetting would fail if any of the "cvt",
13293 "fpgm", or "prep" tables were missing from the source font. However
13294 these tables are optional and not required in the subsetted font if
13295 they do not appear in the source font.
13297 The "name" table has been removed from the subsetted font as the
13298 Type42 specification does not require this table.
13300 src/cairo-truetype-subset.c | 153 +++++++++++++++++++++++++++++++------------
13301 1 files changed, 110 insertions(+), 43 deletions(-)
13303 commit 8132b8b417c75388ce4c4671fffddaa44a5d1be0
13304 Author: Brian Ewins <Brian.Ewins@gmail.com>
13305 Date: Sun Sep 23 02:52:01 2007 +0100
13307 [type1-subset] only subset ft fonts
13309 If atsui and ft were both enabled, the code crashed trying to subset
13310 type-1 fonts; fixed by checking if fonts really are ft before using
13311 them as ft fonts. This is a temporary fix until we support subsetting
13312 across all font backends.
13314 src/cairo-type1-subset.c | 2 ++
13315 1 files changed, 2 insertions(+), 0 deletions(-)
13317 commit 6020f67f1a49cfe3844c4938d4af24c63c8424cc
13318 Author: Vladimir Vukicevic <vladimir@pobox.com>
13319 Date: Fri Sep 21 11:02:42 2007 -0700
13321 Avoid divide-by-zero when trying to allocate a 0-sized array
13323 Fix up the _cairo_malloc_* wrappers to avoid blindly dividing by zero;
13324 any attempt to allocate a zero-sized chunk of memory will result in
13327 src/cairo-malloc-private.h | 35 +++++++++++++++++++++++++----------
13328 1 files changed, 25 insertions(+), 10 deletions(-)
13330 commit c79fc9af334fd6f2d1078071d64178125561b187
13331 Author: Carl Worth <cworth@cworth.org>
13332 Date: Thu Sep 20 16:01:43 2007 -0700
13334 Add rgb24-specific reference imag for mask-alpha test
13336 test/mask-alpha-rgb24-ref.png | Bin 0 -> 599 bytes
13337 1 files changed, 0 insertions(+), 0 deletions(-)
13339 commit 59dd59ce8d4c2a35788f3f0baf3409d3a8555744
13340 Author: Adrian Johnson <ajohnson@redneon.com>
13341 Date: Sun Sep 9 22:32:36 2007 +0930
13343 Add mask-alpha test
13345 test/.gitignore | 1 +
13346 test/Makefile.am | 1 +
13347 test/mask-alpha-ref.png | Bin 0 -> 640 bytes
13348 test/mask-alpha.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++
13349 4 files changed, 92 insertions(+), 0 deletions(-)
13351 commit 12b2ab630c2343c7bd7d885cc0e773023e3d8fa8
13352 Author: Adrian Johnson <ajohnson@redneon.com>
13353 Date: Thu Sep 20 22:51:39 2007 +0930
13355 PDF: Add support for CAIRO_FORMAT_A8 images
13357 src/cairo-pdf-surface.c | 44 ++++++++++++++++++++++++++++++++------------
13358 1 files changed, 32 insertions(+), 12 deletions(-)
13360 commit 8a4adcf5f3c893505a53882a0532a220f79f4409
13361 Author: Adrian Johnson <ajohnson@redneon.com>
13362 Date: Thu Sep 20 08:57:19 2007 +0930
13364 ROADMAP: Add metadata API
13366 ROADMAP | 7 +++++++
13367 1 files changed, 7 insertions(+), 0 deletions(-)
13369 commit 6e78c6589d4af6291158b7cd9d94e3a80139e279
13370 Author: Behdad Esfahbod <behdad@behdad.org>
13371 Date: Tue Sep 18 19:50:16 2007 -0400
13373 [ROADMAP] Mark xlib IncludeInferior support done
13376 1 files changed, 2 insertions(+), 3 deletions(-)
13378 commit d8b0de01d67cdf73d8266a73f54ba1ac42fee3c9
13379 Author: Vladimir Vukicevic <vladimir@pobox.com>
13380 Date: Tue Sep 18 09:26:05 2007 -0700
13382 fix trailing whitespace
13384 src/cairo-surface.c | 4 ++--
13385 1 files changed, 2 insertions(+), 2 deletions(-)
13387 commit 4fd9acc1b321d75623a66d37c0ff299ae06fb98b
13388 Author: Vladimir Vukicevic <vladimir@pobox.com>
13389 Date: Tue Sep 4 10:30:08 2007 -0700
13391 [win32] add new win32 printing surface
13393 src/Makefile.win32 | 3 ++-
13394 1 files changed, 2 insertions(+), 1 deletions(-)
13396 commit e3c16e15e39d98f96e2ce20e397d88214f5a821e
13397 Author: Vladimir Vukicevic <vladimir@pobox.com>
13398 Date: Wed Aug 29 16:30:49 2007 -0700
13400 Make NO_MUTEX really mean no mutexes
13402 src/cairo-mutex-type-private.h | 6 +++---
13403 1 files changed, 3 insertions(+), 3 deletions(-)
13405 commit ffc16c4be2fb5a0d214cb186dee52e74dbd584cf
13406 Author: Vladimir Vukicevic <vladimir@pobox.com>
13407 Date: Wed Aug 29 16:25:58 2007 -0700
13409 [win32] Add win32 printing surface
13411 Add win32 surface intended for use with printer DCs; GDI will be used
13412 as much as possible, and the surface will be a paginated surface
13413 that supports fine-grained fallback.
13415 (Original work from Adrian Johnson; additional fixes by me.)
13417 src/Makefile.am | 2 +-
13418 src/cairo-paginated-surface.c | 37 +-
13419 src/cairo-win32-font.c | 7 +-
13420 src/cairo-win32-printing-surface.c | 1220 ++++++++++++++++++++++++++++++++++++
13421 src/cairo-win32-private.h | 66 ++-
13422 src/cairo-win32-surface.c | 78 ++-
13423 src/cairo-win32.h | 3 +
13425 8 files changed, 1376 insertions(+), 41 deletions(-)
13427 commit 284ed91ee4418baf6dd1a437a904980a2156fa48
13428 Author: Vladimir Vukicevic <vladimir@pobox.com>
13429 Date: Wed Aug 29 15:34:04 2007 -0700
13431 Let surfaces specify their native resolution, for fallback purposes
13433 src/cairo-image-surface.c | 2 ++
13434 src/cairo-paginated-surface.c | 4 ++--
13435 src/cairo-surface-private.h | 8 ++++++++
13436 src/cairo-surface.c | 24 ++++++++++++++++++++++++
13437 src/cairoint.h | 6 ++++++
13438 5 files changed, 42 insertions(+), 2 deletions(-)
13440 commit 79d975f84bcc32e91db517d71a7312e2e1d653d4
13441 Author: Behdad Esfahbod <behdad@behdad.org>
13442 Date: Wed Sep 12 17:45:11 2007 -0400
13444 [cairo-ft-font] Ignore FT_Load_Glyph errors other than out-of-memory
13445 Same for FT_Render_Glyph.
13447 When the user asks us to render a glyph that is not available in the font,
13448 it's mostly an unavoidable kind of error for them, as in, they can't
13449 avoid such a call. So it's not nice to put cairo_t in an error state and
13450 refuse any further drawying.
13452 Many PDF files are created using buggy software and cause such glpyh-not-found
13453 errors for CID 0 for example.
13455 Eventually we should propagate these kind of errors up and return it from
13456 the function call causing it, but that needs API change to add return value
13457 to all text functions, so for now we just ignore these errors.
13459 src/cairo-ft-font.c | 14 +++++++++-----
13460 1 files changed, 9 insertions(+), 5 deletions(-)
13462 commit 21ab44f11d3d20eead5d988c7a6cf48eebff08c7
13463 Author: Behdad Esfahbod <behdad@behdad.org>
13464 Date: Mon Sep 17 16:41:52 2007 -0400
13466 [ChangeLog.mk] Make make rule depend on .git/HEAD, not .git
13467 That is exactly what we want. Kristian Høgsberg suggested it.
13469 ChangeLog.mk | 2 +-
13470 1 files changed, 1 insertions(+), 1 deletions(-)
13472 commit 3f4875dbe20e1d093d70f49c32f7ddf6a6e6ef61
13473 Author: Adrian Johnson <ajohnson@redneon.com>
13474 Date: Sun Sep 16 20:26:33 2007 +0930
13476 Analysis-surface: Use pattern extents to limit show_glyphs extents
13478 src/cairo-analysis-surface.c | 12 +++++++++++-
13479 1 files changed, 11 insertions(+), 1 deletions(-)
13481 commit 14786385b40aa0ae83e3b077a82e3f34aba63f22
13482 Author: Adrian Johnson <ajohnson@redneon.com>
13483 Date: Sun Sep 16 19:43:28 2007 +0930
13485 Change paginated surface size when PS/PDF _set_size() called
13487 The finer-grained fallbacks would not work correctly if the page
13488 was set to a larger size.
13490 Add _cairo_paginated_surface_set_size() function that is called
13491 from cairo_ps_surface_set_size() and cairo_pdf_surface_set_size().
13493 src/cairo-paginated-private.h | 5 +++++
13494 src/cairo-paginated-surface.c | 23 +++++++++++++++++++++++
13495 src/cairo-pdf-surface-private.h | 2 ++
13496 src/cairo-pdf-surface.c | 14 ++++++++++----
13497 src/cairo-ps-surface-private.h | 2 ++
13498 src/cairo-ps-surface.c | 14 ++++++++++----
13499 6 files changed, 52 insertions(+), 8 deletions(-)
13501 commit 46cb7e69526e8b5663077e7409dc232a0f56800b
13502 Author: Adrian Johnson <ajohnson@redneon.com>
13503 Date: Sun Sep 16 16:32:54 2007 +0930
13505 PS: Remove initclip operator
13507 The DSC and EPS specifications do not allow the use of initclip.
13508 Instead each page is wrapped in a gsave/restore pair and a
13509 "grestore gsave" is emitted when the clip path is reset.
13511 src/cairo-ps-surface.c | 6 +++---
13512 1 files changed, 3 insertions(+), 3 deletions(-)
13514 commit e9d85235f9cceed92af428e0ab43503fe0850636
13515 Author: Adrian Johnson <ajohnson@redneon.com>
13516 Date: Sun Sep 16 16:21:10 2007 +0930
13518 PDF: Fix copy_page() bug
13520 src/cairo-pdf-surface.c | 2 ++
13521 1 files changed, 2 insertions(+), 0 deletions(-)
13523 commit a5cb48fcf269c16dd138c0ee31b138b1f13e623d
13524 Author: Adrian Johnson <ajohnson@redneon.com>
13525 Date: Sun Sep 16 16:15:10 2007 +0930
13527 PS: Remove copy_page()
13529 The DSC specification recommends not using the copypage operator as it
13530 breaks page independence.
13532 src/cairo-paginated-surface.c | 3 +--
13533 src/cairo-ps-surface.c | 14 +-------------
13534 2 files changed, 2 insertions(+), 15 deletions(-)
13536 commit 03f7a51f47717af45afbc439ce2178789449ab32
13537 Author: Ken Herron <kherron+cairo@fmailbox.com>
13538 Date: Sun Sep 16 15:56:16 2007 +0930
13540 PS output optimizations (#11442)
13542 This patches cairo-ps-surface.c to use the aliases for moveto, lineto, curveto,
13543 and closepath. It also uses selectfont to select fonts.
13545 src/cairo-ps-surface.c | 13 ++++++-------
13546 1 files changed, 6 insertions(+), 7 deletions(-)
13548 commit 1274147ce3ec855488fe4e437838b1134c494413
13549 Author: Behdad Esfahbod <behdad@behdad.org>
13550 Date: Sat Sep 15 04:03:08 2007 -0400
13552 [cairo-gstate] Fix comment about font_matrix having zero translation
13554 src/cairo-gstate.c | 9 +++++----
13555 1 files changed, 5 insertions(+), 4 deletions(-)
13557 commit 6fbe2432c6072522b9003a1e46180392010a7aad
13558 Author: Behdad Esfahbod <behdad@behdad.org>
13559 Date: Sat Sep 15 04:02:39 2007 -0400
13561 [PDF] Fix typo in comments
13563 src/cairo-pdf-surface.c | 2 +-
13564 1 files changed, 1 insertions(+), 1 deletions(-)
13566 commit dca93eb76d64194f1325d7b941fa523da7801634
13567 Author: Jeff Muizelaar <jeff@freiheit.infidigm.net>
13568 Date: Wed Sep 12 23:12:59 2007 -0400
13570 Fix theoretical NULL return from cairo_pop_group()
13572 This also makes the code more consistent as group_pattern always holds a valid
13575 src/cairo.c | 6 +++---
13576 1 files changed, 3 insertions(+), 3 deletions(-)
13578 commit 5eae45c55b3cd240945cd225631c9c782f69b50f
13579 Author: Jonathan Gramain <jonathan.gramain@gmail.com>
13580 Date: Wed Sep 12 17:43:55 2007 -0400
13582 [cairo-gstate] Fix order of matrices in _cairo_gstate_backend_to_user_rectangle()
13584 The cairo_matrix_multiply(out,a,b) docs say that it is equivalent to applying
13585 matrix a first, followed by b. Looking at _cairo_gstate_backend_to_user() we should
13586 apply device_transform_inverse followed by ctm_inverse. That's what we do now.
13588 src/cairo-gstate.c | 5 +++--
13589 1 files changed, 3 insertions(+), 2 deletions(-)
13591 commit f2910ad3e9bfd279af7f9f43013489a32b5c1747
13592 Author: Vladimir Vukicevic <vladimir@pobox.com>
13593 Date: Tue Sep 11 13:32:26 2007 -0700
13595 Update cairo-sections.txt
13597 doc/public/cairo-sections.txt | 3 +++
13598 1 files changed, 3 insertions(+), 0 deletions(-)
13600 commit 9e975757a2820303d67e8497ab6cef9368237eb5
13601 Author: Vladimir Vukicevic <vladimir@pobox.com>
13602 Date: Tue Sep 11 13:30:35 2007 -0700
13604 Export cairo_surface_{copy,show}_page
13606 This patch adds cairo_surface_copy_page and cairo_surface_show_page
13607 as public methods, leaving the previous cairo_show_page variants as
13608 shorthands. copy_page/show_page are specific to the surface, not
13609 to the context, so they need to be surface methods.
13612 boilerplate/Makefile.win32 | 4 +++
13613 boilerplate/cairo-boilerplate-test-surfaces.c | 5 +---
13614 src/cairo-gstate.c | 4 +-
13615 src/cairo-paginated-surface.c | 6 ++--
13616 src/cairo-surface.c | 27 +++++++++++++++++++++++-
13617 src/cairo-svg-surface.c | 2 +-
13618 src/cairo.c | 6 +++++
13619 src/cairo.h | 6 +++++
13620 src/cairoint.h | 8 +-----
13621 10 files changed, 50 insertions(+), 23 deletions(-)
13623 commit 7dd05b7f86da6a465bb979c2ba955655ddcf66ed
13624 Author: Vladimir Vukicevic <vladimir@pobox.com>
13625 Date: Tue Sep 11 11:27:35 2007 -0700
13627 [mlk] Free boxes in copy_rectangle_list on success
13629 Fix memory leak when copy_rectangle_list is used.
13631 src/cairo-clip.c | 2 ++
13632 1 files changed, 2 insertions(+), 0 deletions(-)
13634 commit 897350c6c5cba29b8bd7890a33ecc4d7fa9b7795
13635 Author: Adrian Johnson <ajohnson@redneon.com>
13636 Date: Sun Sep 9 19:11:12 2007 +0930
13638 PDF: Remove BC entry from Smask dictionary
13640 The BC (background color) in the smask of the recently added
13641 cairo_mask() support was causing Ghostscript to crash due to the wrong
13642 number of BC values. The BC entry has been removed as BC default color
13643 is already what we want.
13645 src/cairo-pdf-surface.c | 2 --
13646 1 files changed, 0 insertions(+), 2 deletions(-)
13648 commit 909e0be2416aa6833639439279583d1ae61777fc
13649 Author: Adrian Johnson <ajohnson@redneon.com>
13650 Date: Sun Sep 9 11:20:02 2007 +0930
13652 Add PDF support for cairo_mask()
13654 src/cairo-pdf-surface.c | 129 +++++++++++++++++++++++++++++++++++++++++++++--
13655 1 files changed, 125 insertions(+), 4 deletions(-)
13657 commit d62f8861689d8b9a9a837043fb78813f0407abd4
13658 Author: Chris Wilson <chris@chris-wilson.co.uk>
13659 Date: Wed Sep 5 08:07:41 2007 +0100
13661 [cairo-ft-font] Early detection of a zero sized bitmap.
13663 Under rare circumstances we may need to extract a surface that
13664 represents a bitmap with width==0 and rows==0. Detect this case at the
13665 start and simply return a zero-sized surface.
13667 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12284.
13669 src/cairo-ft-font.c | 6 ++++++
13670 1 files changed, 6 insertions(+), 0 deletions(-)
13672 commit d635e0103346f22e578d17c59153d292820e00d2
13673 Author: Vladimir Vukicevic <vladimir@pobox.com>
13674 Date: Thu Sep 6 12:56:59 2007 -0700
13676 Add b8g8r8 formats to cairo-image-surface
13678 Add recognition code for x8b8g8r8 and a8b8g8r8 to cairo-image-surface.
13679 (Used as the default for 24bpp by some older VNC servers.)
13681 src/cairo-image-surface.c | 22 ++++++++++++++++++++++
13682 1 files changed, 22 insertions(+), 0 deletions(-)
13684 commit 3c01efb0ee0c8911fba7627d056ec3b53dfab6e3
13685 Merge: 0682b9a... 1e21220...
13686 Author: Carl Worth <cworth@cworth.org>
13687 Date: Wed Sep 5 14:38:40 2007 -0700
13689 Merge branch adrianj/pdf-meta-surface-pattern into cairo
13691 This does introduce some reported failures from the cairo-pdf backend
13692 into the test suite. However, in all cases the output PDF files look
13693 fine when viewed with acroread. It looks like all of the problems
13694 could be fixed by using cairo_rectangle;cairo_fill along with
13695 CAIRO_EXTEND_PAD when drawing images with cairo inside poppler.
13697 However, I'm not yet filing a bug against poppler and disabling these
13698 tests because we need to _implement_ CAIRO_EXTEND_PAD before we can
13699 tell poppler to start using it.
13701 commit 0682b9a9c18640c284c7cc8ba8792a329414998e
13702 Author: Carl Worth <cworth@cworth.org>
13703 Date: Tue Sep 4 16:47:49 2007 -0700
13705 Add rgb24-ignore-alpha test
13707 This test demonstrates a bug when compositing an rgb24 image over an argb32
13708 image, (the implementation appears to be examining the alpha channel
13709 rather than ignoring it).
13711 test/.gitignore | 1 +
13712 test/Makefile.am | 1 +
13713 test/rgb24-ignore-alpha-ref.png | Bin 0 -> 116 bytes
13714 test/rgb24-ignore-alpha.c | 65 +++++++++++++++++++++++++++++++++++++++
13715 4 files changed, 67 insertions(+), 0 deletions(-)
13717 commit 84a2c8968a57ed7593db1515718115218072bc0d
13718 Author: Behdad Esfahbod <behdad@behdad.org>
13719 Date: Wed Sep 5 12:38:27 2007 -0400
13721 [test,perf] Support TARGETS_EXCLUDE make variable
13723 perf/Makefile.am | 6 ++++--
13724 test/Makefile.am | 5 +++--
13725 2 files changed, 7 insertions(+), 4 deletions(-)
13727 commit 1e21220f0e2540e3befa66e4764f75589d0eef82
13728 Author: Adrian Johnson <ajohnson@redneon.com>
13729 Date: Wed Sep 5 22:53:43 2007 +0930
13731 Create meta-surface source image with same content type as the
13734 src/cairo-meta-surface.c | 6 +++---
13735 1 files changed, 3 insertions(+), 3 deletions(-)
13737 commit 875e32178e5d990a09f3c41262d890888035f04f
13738 Author: Adrian Johnson <ajohnson@redneon.com>
13739 Date: Wed Sep 5 22:51:13 2007 +0930
13741 Eliminate unclipped CLEAR from meta-surface playback
13743 The optimization that avoids replaying commands prior to an unclipped
13744 CLEAR operation now starts playback from the first command after the
13745 CLEAR. This avoids the need to handle the unclipped CLEAR in the PDF
13748 src/cairo-meta-surface.c | 12 ++++++------
13749 1 files changed, 6 insertions(+), 6 deletions(-)
13751 commit d24f019101dd014983aeb0bf186fe2011694e2ed
13752 Author: Adrian Johnson <ajohnson@redneon.com>
13753 Date: Wed Sep 5 22:26:16 2007 +0930
13755 Add support for PDF meta-surface patterns
13757 boilerplate/cairo-boilerplate.c | 11 +--
13758 src/cairo-analysis-surface.c | 66 +++++++++
13759 src/cairo-meta-surface-private.h | 4 +
13760 src/cairo-meta-surface.c | 43 +++++-
13761 src/cairo-pdf-surface.c | 282 ++++++++++++++++++++++++++++----------
13762 src/cairo-types-private.h | 3 +-
13763 6 files changed, 317 insertions(+), 92 deletions(-)
13765 commit b85032584b32af968dc8d8a0fcfc9f3e1d2770a0
13766 Author: Behdad Esfahbod <behdad@behdad.org>
13767 Date: Wed Sep 5 00:26:56 2007 -0400
13769 [configure.in] Fix non-pkgconfig Xrender detection path (#4724)
13771 configure.in | 6 +++++-
13772 1 files changed, 5 insertions(+), 1 deletions(-)
13774 commit 1d788da5175dac34ed0298204753bf1b40dfc2b0
13775 Merge: 49ae376... e1819a2...
13776 Author: Behdad Esfahbod <behdad@behdad.org>
13777 Date: Tue Sep 4 19:12:48 2007 -0400
13779 Merge branch 'no-xrender.h' into cairo
13781 commit e1819a24fb0196218c4045616c2ba458819b7d31
13782 Author: Behdad Esfahbod <behdad@behdad.org>
13783 Date: Tue Sep 4 19:12:14 2007 -0400
13785 [cairo-xlib-xrender-private] Remove some protocol-specific macros
13787 src/cairo-xlib-xrender-private.h | 48 --------------------------------------
13788 1 files changed, 0 insertions(+), 48 deletions(-)
13790 commit 5e09126ce13c72222719b73ed3a8f504cf352583
13791 Author: Behdad Esfahbod <behdad@behdad.org>
13792 Date: Tue Sep 4 18:40:54 2007 -0400
13794 [cairo-xlib-xrender-private] Add copyright/license info for copied files
13796 src/cairo-xlib-xrender-private.h | 163 ++++++++++++++++++++++----------------
13797 1 files changed, 95 insertions(+), 68 deletions(-)
13799 commit 49ae376840a5851bf4cc281a0562acdfe03337df
13800 Author: Carl Worth <cworth@cworth.org>
13801 Date: Tue Sep 4 11:35:40 2007 -0700
13803 Fix error in description of cairo version numbers
13805 And eliminate a bit of redundant text.
13807 configure.in | 8 ++++----
13808 1 files changed, 4 insertions(+), 4 deletions(-)
13810 commit b60c0a672f1711c20f898ac76c15b6b65a63d46e
13811 Author: Chris Wilson <chris@chris-wilson.co.uk>
13812 Date: Mon Sep 3 14:33:11 2007 +0100
13814 [cairo-boilerplate] Introduce CAIRO_TEST_TARGET_EXCLUDE.
13816 As opposed to the CAIRO_TEST_TARGET env var which lists the exact
13817 targets to test, CAIRO_TEST_TARGET_EXCLUDE instead supplies a list of
13818 targets to filter from the testing set. This is useful under
13819 circumstances where the build environment prevents testing of a target,
13820 for example no DirectFB support or the glitz library is broken, but where
13821 you still want to perform the minimal check that the code compiles.
13823 boilerplate/cairo-boilerplate.c | 39 ++++++++++++++++++++++++++++++++++++++-
13824 1 files changed, 38 insertions(+), 1 deletions(-)
13826 commit 740fed62d236224fdfbfccf8c49a199851189107
13827 Author: Behdad Esfahbod <behdad@behdad.org>
13828 Date: Fri Aug 31 20:52:43 2007 -0400
13830 [xlib] Make it compile without Xrender available at compile time (#12210)
13832 src/Makefile.am | 3 +-
13833 src/cairo-xlib-display.c | 1 -
13834 src/cairo-xlib-private.h | 10 +-
13835 src/cairo-xlib-screen.c | 2 -
13836 src/cairo-xlib-surface.c | 7 +-
13837 src/cairo-xlib-xrender-private.h | 1102 ++++++++++++++++++++++++++++++++++++++
13838 6 files changed, 1110 insertions(+), 15 deletions(-)
13840 commit c8ed3e1827dd1e6e85f2a40de67c4013432ba3bf
13841 Author: Jody Goldberg <jody@gnome.org>
13842 Date: Fri Aug 31 17:00:36 2007 -0400
13844 [PDF] The symbol 'GROUP' is already used on some win32 systems; add a prefix
13846 src/cairo-pdf-surface.c | 14 +++++++-------
13847 1 files changed, 7 insertions(+), 7 deletions(-)
13849 commit c14cf02f61105b755b380bd0a5d5b9e83a97d2c9
13850 Author: Chris Wilson <chris@chris-wilson.co.uk>
13851 Date: Fri Aug 31 17:20:54 2007 +0100
13853 [cairo-surface] Add a comment about why the glyph array is not const.
13855 As penance for attempting to make the glyph array constant, add a
13856 comment block to explain that the backends rely on being able to modify
13859 src/cairo-surface.c | 8 ++++++++
13860 1 files changed, 8 insertions(+), 0 deletions(-)
13862 commit e8e3bfc1308aa30ea08ec530b6a5ddf532fd3088
13863 Author: Chris Wilson <chris@chris-wilson.co.uk>
13864 Date: Fri Aug 31 16:53:21 2007 +0100
13866 Revert "[cairo-gstate] Avoid copying untransformed glyphs."
13868 This reverts commit 919bea6dbb32746f11781cd3a94eb44f5c4a32e6.
13870 Sadly as Behdad points out some backends do modify the glyph array and,
13871 for example cairo-xlib-surface, hide this from the compiler with some
13874 src/cairo-analysis-surface.c | 2 +-
13875 src/cairo-directfb-surface.c | 2 +-
13876 src/cairo-glitz-surface.c | 2 +-
13877 src/cairo-gstate.c | 41 ++++++++-------------------------
13878 src/cairo-meta-surface.c | 2 +-
13879 src/cairo-paginated-surface.c | 2 +-
13880 src/cairo-pdf-surface.c | 2 +-
13881 src/cairo-ps-surface.c | 2 +-
13882 src/cairo-quartz-surface.c | 2 +-
13883 src/cairo-scaled-font.c | 2 +-
13884 src/cairo-surface-fallback-private.h | 2 +-
13885 src/cairo-surface-fallback.c | 4 +-
13886 src/cairo-surface.c | 4 +-
13887 src/cairo-svg-surface.c | 2 +-
13888 src/cairo-win32-font.c | 2 +-
13889 src/cairo-win32-surface.c | 2 +-
13890 src/cairo-xcb-surface.c | 20 ++++++++--------
13891 src/cairo-xlib-surface.c | 4 +-
13892 src/cairoint.h | 12 +++++-----
13893 src/test-meta-surface.c | 2 +-
13894 src/test-paginated-surface.c | 2 +-
13895 21 files changed, 47 insertions(+), 68 deletions(-)
13897 commit 919bea6dbb32746f11781cd3a94eb44f5c4a32e6
13898 Author: Chris Wilson <chris@chris-wilson.co.uk>
13899 Date: Fri Aug 31 11:24:06 2007 +0100
13901 [cairo-gstate] Avoid copying untransformed glyphs.
13903 Skip the memory duplication of the incoming glyphs if we do not need
13904 to transform them into the backend coordinate system.
13906 As a consequence we need to constify the glyphs passed to the backend
13909 src/cairo-analysis-surface.c | 2 +-
13910 src/cairo-directfb-surface.c | 2 +-
13911 src/cairo-glitz-surface.c | 2 +-
13912 src/cairo-gstate.c | 41 +++++++++++++++++++++++++--------
13913 src/cairo-meta-surface.c | 2 +-
13914 src/cairo-paginated-surface.c | 2 +-
13915 src/cairo-pdf-surface.c | 2 +-
13916 src/cairo-ps-surface.c | 2 +-
13917 src/cairo-quartz-surface.c | 2 +-
13918 src/cairo-scaled-font.c | 2 +-
13919 src/cairo-surface-fallback-private.h | 2 +-
13920 src/cairo-surface-fallback.c | 4 +-
13921 src/cairo-surface.c | 4 +-
13922 src/cairo-svg-surface.c | 2 +-
13923 src/cairo-win32-font.c | 2 +-
13924 src/cairo-win32-surface.c | 2 +-
13925 src/cairo-xcb-surface.c | 20 ++++++++--------
13926 src/cairo-xlib-surface.c | 4 +-
13927 src/cairoint.h | 12 +++++-----
13928 src/test-meta-surface.c | 2 +-
13929 src/test-paginated-surface.c | 2 +-
13930 21 files changed, 68 insertions(+), 47 deletions(-)
13932 commit 62377cbac17779fd51ec108e9704be8d3eed4935
13933 Author: Behdad Esfahbod <behdad@behdad.org>
13934 Date: Thu Aug 30 19:45:44 2007 -0400
13936 [cairo-path-fixed] Remove leftover typedef keyword
13940 src/cairo-path-fixed-private.h | 2 +-
13941 1 files changed, 1 insertions(+), 1 deletions(-)
13943 commit dd406b1ffa411b100950c0156d842e3022e4029d
13944 Author: Behdad Esfahbod <behdad@behdad.org>
13945 Date: Thu Aug 30 18:45:26 2007 -0400
13947 [cairo-path-fixed] typedef char cairo_path_fixed_op_t
13949 So it consumes one byte only, instead of the previous enum with
13950 the __attribute__((packed)) that didn't do anything on non-gcc systems.
13952 src/cairo-path-fixed-private.h | 5 +++--
13953 1 files changed, 3 insertions(+), 2 deletions(-)
13955 commit e7324454a06e1f090d4e654c9cdcb774f9fb39ab
13956 Author: Carl Worth <cworth@cworth.org>
13957 Date: Wed Aug 29 15:26:41 2007 -0700
13959 Disable radial-gradient and unbounded-operator tests for pdf
13961 These are failing due to (already reported) poppler bugs.
13963 There were also problems with the gradients in the PDF
13964 files previously, but these have recently been fixed.
13966 boilerplate/cairo-boilerplate-pdf.c | 4 +++-
13967 1 files changed, 3 insertions(+), 1 deletions(-)
13969 commit f72078fb7660b3c8a369e7bca19628416176a55e
13970 Author: Adrian Johnson <ajohnson@redneon.com>
13971 Date: Wed Aug 29 20:18:09 2007 +0930
13973 Fix unbounded operator bug in analysis surface
13975 src/cairo-analysis-surface.c | 117 +++++++++++++++++++++++-------------------
13976 1 files changed, 65 insertions(+), 52 deletions(-)
13978 commit 3216275fd9a9cd8d51b1c3a8671393912d50d899
13979 Author: Adrian Johnson <ajohnson@redneon.com>
13980 Date: Tue Aug 28 23:40:18 2007 +0930
13982 Fix PDF gradients bug
13984 The PDF surface was adding extra stops at the 0.0 and 1.0 offset when
13985 there was not already stops at these offsets. This has been replaced
13986 with code to move the coordinates of the linear gradient line in to
13987 the position of the first and last offset.
13989 src/cairo-pdf-surface.c | 63 ++++++++++++++++++++++++++++++----------------
13990 1 files changed, 41 insertions(+), 22 deletions(-)
13992 commit bdc70d1fc2a31aa829571244c54f98210e97a2cf
13993 Author: Vladimir Vukicevic <vladimir@pobox.com>
13994 Date: Wed Aug 29 12:52:00 2007 -0700
13996 [win32] call scaled_font_fini in create before returning NULL
13998 src/cairo-win32-font.c | 13 +++++++++----
13999 1 files changed, 9 insertions(+), 4 deletions(-)
14001 commit 114b07881e8b09f97394dd4fe8f2900ee9f4c348
14002 Author: Behdad Esfahbod <behdad@behdad.org>
14003 Date: Wed Aug 29 12:18:16 2007 -0400
14005 [configure.in] Make PS backend require zlib too (#12210)
14007 The PS backend uses zlib these days. Make it depend on zlib being available
14008 like PDF has been doing.
14010 configure.in | 7 ++++++-
14011 1 files changed, 6 insertions(+), 1 deletions(-)
14013 commit 7f726e57546dba4cdd96086515a372d18c1ee2a9
14014 Author: Behdad Esfahbod <behdad@behdad.org>
14015 Date: Wed Aug 29 12:15:36 2007 -0400
14017 [configure.in] Document version scheme
14019 configure.in | 4 +++-
14020 1 files changed, 3 insertions(+), 1 deletions(-)
14022 commit 93aee43690c329f43be9e7b840851267ceb17956
14023 Author: Vladimir Vukicevic <vladimir@pobox.com>
14024 Date: Tue Aug 28 16:47:24 2007 -0700
14026 Fix previous create_similar fallback patch
14028 We can't use composite, as some backends don't implement it.
14029 Use paint() instead.
14031 src/cairo-pattern.c | 32 -----------------------
14032 src/cairo-surface-fallback.c | 28 +++++++++++---------
14033 src/cairo-surface.c | 57 ++++++++++++++++++++++--------------------
14034 3 files changed, 46 insertions(+), 71 deletions(-)
14036 commit 6525d4debb6df67126b04609bb04d23d9c9bd7a6
14037 Author: Vladimir Vukicevic <vladimir@pobox.com>
14038 Date: Tue Aug 28 10:47:52 2007 -0700
14040 [win32] call free() and not scaled_font_destroy() if scaled init fails
14042 If scaled_font_destroy() is called, a deadlock can result; there's no
14043 reason to call destroy since the initialization failed (and, indeed,
14044 it might not be valid to do so anyway).
14046 src/cairo-win32-font.c | 2 +-
14047 1 files changed, 1 insertions(+), 1 deletions(-)
14049 commit ae19b1c9911f95f64657f6ddaa0c924ca7a34b88
14050 Author: Vladimir Vukicevic <vladimir@pobox.com>
14051 Date: Tue Aug 28 10:40:33 2007 -0700
14053 [win32] Add cairo_win32_font_face_create_for_logfontw_hfont
14055 Patch from: Robert O'Callahan <roc@ocallahans.org>
14057 Add cairo_win32_font_face_create_for_logfontw_hfont, allow win32
14058 scaled_fonts to rescale themselves properly to the required CTM and
14059 only use the font_face's hfont if we're sure it's appropriate.
14061 src/cairo-win32-font.c | 107 ++++++++++++++++++++++++++++++++++++++----------
14062 src/cairo-win32.h | 3 +
14063 2 files changed, 88 insertions(+), 22 deletions(-)
14065 commit 69dae7ee4ace8a92226140ce5ccb690e7f62e35c
14066 Author: Vladimir Vukicevic <vladimir@pobox.com>
14067 Date: Mon Aug 27 16:30:52 2007 -0700
14069 Implement fallback for clone_similar
14071 src/cairo-surface-fallback-private.h | 10 ++++++++
14072 src/cairo-surface-fallback.c | 41 ++++++++++++++++++++++++++++++++++
14073 src/cairo-surface.c | 6 ++++-
14074 3 files changed, 56 insertions(+), 1 deletions(-)
14076 commit 19fa097f515e72c195d10ddd64920ec71fa903ec
14077 Author: Vladimir Vukicevic <vladimir@pobox.com>
14078 Date: Mon Aug 27 15:29:24 2007 -0700
14080 [win32] Update win32 Makefiles
14082 Happy building with msys, one location for CFLAGS/etc changes (toplevel),
14083 new pdiff makefile.
14085 Makefile.win32 | 45 ++++++++++++++++++++++++++++++++++++++-----
14086 boilerplate/Makefile.win32 | 13 ++++++-----
14087 src/Makefile.win32 | 18 +++++-----------
14088 test/Makefile.win32 | 18 ++++++++++++----
14089 test/pdiff/Makefile.win32 | 18 +++++++++++++++++
14090 5 files changed, 83 insertions(+), 29 deletions(-)
14092 commit f4a8633fce5262c09b323eef212fd6efe57d8f10
14093 Author: Vladimir Vukicevic <vladimir@pobox.com>
14094 Date: Mon Aug 27 14:26:19 2007 -0700
14096 [win32] check correct surface for BitBlt support in get_subimage
14098 src/cairo-win32-surface.c | 5 ++++-
14099 1 files changed, 4 insertions(+), 1 deletions(-)
14101 commit 9aad6efd2b2ee14b0a8960a8e4de91b330ad0c4c
14102 Author: Vladimir Vukicevic <vladimir@pobox.com>
14103 Date: Mon Aug 27 14:17:50 2007 -0700
14105 Fix image_extra arg in call to _cairo_release_source_image
14107 src/cairo-surface-fallback.c | 2 +-
14108 1 files changed, 1 insertions(+), 1 deletions(-)
14110 commit 7ccae2de6d859fcac93cedbd3ecd1121e0d0a72b
14111 Author: Behdad Esfahbod <behdad@behdad.org>
14112 Date: Tue Aug 28 13:45:02 2007 -0400
14114 [perf] Make cairo-perf-diff build cairo-perf-diff-files
14116 perf/cairo-perf-diff | 10 ++++++++--
14117 1 files changed, 8 insertions(+), 2 deletions(-)
14119 commit 766346aa5cffb699206cc17114221ba7a0323565
14120 Author: Adrian Johnson <ajohnson@redneon.com>
14121 Date: Tue Aug 28 20:35:49 2007 +0930
14123 PDF: Remove unused code
14125 src/cairo-pdf-surface-private.h | 1 -
14126 src/cairo-pdf-surface.c | 18 ------------------
14127 2 files changed, 0 insertions(+), 19 deletions(-)
14129 commit ad43b7fe6bba3ba597b28b6f6668ee98cdc04a88
14130 Author: Adrian Johnson <ajohnson@redneon.com>
14131 Date: Tue Aug 28 20:35:23 2007 +0930
14133 PDF: Clean up comments
14135 src/cairo-pdf-surface.c | 20 ++++++++++----------
14136 1 files changed, 10 insertions(+), 10 deletions(-)
14138 commit a60beb2eef46b03bcb81f5204dcde49cbc090928
14139 Author: Adrian Johnson <ajohnson@redneon.com>
14140 Date: Tue Aug 28 20:34:55 2007 +0930
14142 Fix PDF regression with multipage documents
14144 src/cairo-pdf-surface.c | 7 +++++++
14145 1 files changed, 7 insertions(+), 0 deletions(-)
14147 commit 1a6b62e5995aac27527c37fd5cb6ec5e36a3f890
14148 Author: Carl Worth <cworth@cworth.org>
14149 Date: Mon Aug 27 14:45:51 2007 -0700
14151 Disable 7 cairo-pdf tests due to poppler knockout-group bug
14153 The following 7 tests currently fail with poppler due to:
14155 Poppler does not correctly handle knockout groups
14156 https://bugs.freedesktop.org/show_bug.cgi?id=12185
14158 and we've verified with acroread that the cairo-pdf output
14159 does render as intended there. The disabled tests are
14160 clip-operator, operator-clear, operator-source, over-above-source,
14161 over-around-source, over-below-source, and over-between-source.
14163 boilerplate/cairo-boilerplate-pdf.c | 25 ++++++++++++++++++-------
14164 1 files changed, 18 insertions(+), 7 deletions(-)
14166 commit 1cdd11873b18ec55521ffd744ad12c619cf9b227
14167 Author: Adrian Johnson <ajohnson@redneon.com>
14168 Date: Sat Aug 25 06:44:08 2007 +0930
14170 Add finer-grained fallback support to the PDF surface
14172 The stream handling has been changed to support writing the content to
14173 one or more group objects. Each page has a top level knockout
14174 group. The first operation in the knockout group paints another group
14175 containing the content. Fallback images are painted from the knockout
14176 group. This ensures that fallback images do not composite with any
14177 content under the image.
14179 src/cairo-paginated-surface.c | 6 +-
14180 src/cairo-pdf-surface-private.h | 55 ++-
14181 src/cairo-pdf-surface.c | 1406 ++++++++++++++++++++++++++-------------
14182 3 files changed, 982 insertions(+), 485 deletions(-)
14184 commit 1e8446609b01a3a60c3cc5b69d95d26cc9df460b
14185 Author: Carl Worth <cworth@cworth.org>
14186 Date: Mon Aug 27 14:02:55 2007 -0700
14188 Add explanation of pdf_ignored_tests with links to upstream poppler bug reports
14190 boilerplate/cairo-boilerplate-pdf.c | 29 +++++++++++++++++++++++++++++
14191 1 files changed, 29 insertions(+), 0 deletions(-)
14193 commit 463493af73a644c7031df0e396c722cf2cb227b1
14194 Author: Carl Worth <cworth@cworth.org>
14195 Date: Mon Aug 27 10:39:14 2007 -0700
14197 Remove svg2pdf and pdf2svg programs from test directory
14199 These are useful programs, but they don't belong in test/.
14200 They are never used in the test suite at all. Instead, these
14201 should exist in some demo package, or as applications in their
14204 (The motivation for the removal is that someone just encountered
14205 a build error with one of these. And I'm not interested in debugging
14206 build errors for unused components.)
14208 test/.gitignore | 1 -
14209 test/Makefile.am | 12 ------
14210 test/pdf2svg.c | 101 ------------------------------------------------------
14211 test/svg2pdf.c | 85 ---------------------------------------------
14212 4 files changed, 0 insertions(+), 199 deletions(-)
14214 commit 495c9d19bf27150783b563ed8a7a9b2e6e8c2115
14215 Author: Carl Worth <cworth@cworth.org>
14216 Date: Sat Aug 25 23:39:28 2007 -0700
14218 One more PS-specific reference image (for over-between-source)
14220 A pixman bug had kept this from being correct earlier. It
14221 works now as long as pixman includes the following fix:
14223 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d
14224 rasterize traps that extend outside of the image bounds correctly
14226 test/over-between-source-ps-argb32-ref.png | Bin 0 -> 678 bytes
14227 1 files changed, 0 insertions(+), 0 deletions(-)
14229 commit a3c3fe2296a7e8f1fdffc9f922fb647237504818
14230 Author: Carl Worth <cworth@cworth.org>
14231 Date: Sat Aug 25 19:23:13 2007 -0700
14233 Modify ps-specific reference images for ft-text-vertical tests
14235 I've been seeing failures with the PS backend for these tests
14236 for a while. This is in spite of the face that we've had a PS-
14237 specific reference image for each of these tests. I'm not sure
14238 what the difference is between my current system and the
14239 system used to generate the original ps-specific reference
14242 One thing we definitely need to do is to bundle fonts with the
14243 test suite to avoid problems like this. Another is to start
14244 documenting the systems used to generate reference images.
14245 I get very confused with ghostscript versioning, but I can
14246 at least say that "gs --version" reports 8.15.3 here, (though
14247 the package appears to have an 8.56 version).
14249 ...ft-text-vertical-layout-type1-ps-argb32-ref.png | Bin 1877 -> 1879 bytes
14250 ...ft-text-vertical-layout-type3-ps-argb32-ref.png | Bin 1879 -> 1882 bytes
14251 2 files changed, 0 insertions(+), 0 deletions(-)
14253 commit 71cc245d5a99eb6593e104b5e6727a7db13a4503
14254 Author: Carl Worth <cworth@cworth.org>
14255 Date: Sat Aug 25 19:18:44 2007 -0700
14257 Add PS-specific reference images for 4 tests
14259 The following 4 tests recently started drawing with native operations
14260 in the place of image fallbacks, so we need ps-specific reference images
14261 to account for minor rasterization differences: over-above-source,
14262 over-around-source, over-below-source, and trap-clip.
14264 test/over-above-source-ps-argb32-ref.png | Bin 0 -> 636 bytes
14265 test/over-around-source-ps-argb32-ref.png | Bin 0 -> 637 bytes
14266 test/over-below-source-ps-argb32-ref.png | Bin 0 -> 503 bytes
14267 test/trap-clip-ps-argb32-ref.png | Bin 0 -> 5810 bytes
14268 4 files changed, 0 insertions(+), 0 deletions(-)
14270 commit ae185f803a95248bcb6a8232cabedbc992b66502
14271 Author: Carl Worth <cworth@cworth.org>
14272 Date: Sat Aug 25 18:57:46 2007 -0700
14274 Add four new test to exercise interactions of native and fallback objects
14276 The new tests are: over-above-source, over-around-source, over-below-source,
14277 and over-between-source
14279 test/.gitignore | 4 ++
14280 test/Makefile.am | 4 ++
14281 test/over-above-source-ref.png | Bin 0 -> 538 bytes
14282 test/over-above-source-rgb24-ref.png | Bin 0 -> 461 bytes
14283 test/over-above-source.c | 80 ++++++++++++++++++++++++++++
14284 test/over-around-source-ref.png | Bin 0 -> 614 bytes
14285 test/over-around-source-rgb24-ref.png | Bin 0 -> 503 bytes
14286 test/over-around-source.c | 91 ++++++++++++++++++++++++++++++++
14287 test/over-below-source-ref.png | Bin 0 -> 434 bytes
14288 test/over-below-source-rgb24-ref.png | Bin 0 -> 392 bytes
14289 test/over-below-source.c | 80 ++++++++++++++++++++++++++++
14290 test/over-between-source-ref.png | Bin 0 -> 575 bytes
14291 test/over-between-source-rgb24-ref.png | Bin 0 -> 473 bytes
14292 test/over-between-source.c | 91 ++++++++++++++++++++++++++++++++
14293 14 files changed, 350 insertions(+), 0 deletions(-)
14295 commit 5929a1defbc9816a6faa6dca94ae6dc3a2dbf3df
14296 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
14297 Date: Sat Aug 25 21:28:33 2007 +0200
14299 [SVG] Suppress code duplication by using _cairo_svg_surface_emit_stroke_style
14300 from _cairo_svg_surface_stroke.
14302 src/cairo-svg-surface.c | 65 ++--------------------------------------------
14303 1 files changed, 3 insertions(+), 62 deletions(-)
14305 commit 726ed304018915815d232822cd9efb83ee1339bc
14306 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
14307 Date: Sun Jul 29 16:46:21 2007 +0200
14309 [SVG] Don't emit transform property when matrix is identity.
14311 src/cairo-svg-surface.c | 44 +++++++++++++++++++++++++-------------------
14312 1 files changed, 25 insertions(+), 19 deletions(-)
14314 commit 89881187f22b40b4afd15eed0b2c19edcba2ca09
14315 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
14316 Date: Sun Jul 29 13:33:50 2007 +0200
14318 [SVG] Implement fill_stroke method.
14320 src/cairo-svg-surface.c | 132 ++++++++++++++++++++++++++++++++++++++++++++---
14321 1 files changed, 124 insertions(+), 8 deletions(-)
14323 commit ac51fff0db73c5917a38af3f610d4751b8fec626
14324 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
14325 Date: Sat Aug 25 20:49:50 2007 +0200
14327 Add a new fill_stroke surface backend method.
14329 This method is for use in vector backends, where fill immediatly followed by
14330 stroke command with the same path can be emited in the same backend command.
14331 This commit also factorize the detection of such cases in the meta surface
14332 backend and automatically call the fill_stroke method on replay.
14334 src/cairo-meta-surface.c | 54 ++++++++++++++++++++++++++++++++++++-----
14335 src/cairo-path-fixed.c | 27 +++++++++++++++++++++
14336 src/cairo-surface.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++
14337 src/cairoint.h | 36 ++++++++++++++++++++++++++++
14338 4 files changed, 169 insertions(+), 7 deletions(-)
14340 commit 43d35e01106659ac689846a8d5875d235b0d3c9f
14341 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
14342 Date: Sat Jul 28 17:37:24 2007 +0200
14344 [SVG] fix modeline for vim.
14346 src/cairo-svg-surface.c | 2 +-
14347 1 files changed, 1 insertions(+), 1 deletions(-)
14349 commit 3ceaa6e74e4bd3f5935016c3639411b26d7f576f
14350 Merge: e3b5a65... 24075f1...
14351 Author: Carl Worth <cworth@cworth.org>
14352 Date: Fri Aug 24 08:03:44 2007 -0700
14354 Merge branch 'cairo-origin' into cairo
14356 commit e3b5a650213b98c3514a850cdb86f1178fe06833
14357 Author: Carl Worth <cworth@cworth.org>
14358 Date: Fri Aug 24 08:03:03 2007 -0700
14360 Remove build-breaking debugging helper.
14362 Sorry! Totally my fault on this one.
14364 src/cairoint.h | 2 --
14365 1 files changed, 0 insertions(+), 2 deletions(-)
14367 commit 24075f1bddbda1d90dfd6f041b8d6bdaf9c786dc
14368 Author: Chris Wilson <chris@chris-wilson.co.uk>
14369 Date: Fri Aug 24 14:16:43 2007 +0100
14371 [cairo-perf] Blacklist xlib-fallback.
14373 Do not try and create non-Render xlib surfaces as they explicitly do
14374 not support performance testing.
14376 perf/cairo-perf.c | 8 ++++++++
14377 1 files changed, 8 insertions(+), 0 deletions(-)
14379 commit 8894894d9d34d169efa39d6d86ebefcb2ba69fe1
14380 Author: Chris Wilson <chris@chris-wilson.co.uk>
14381 Date: Fri Aug 24 13:40:26 2007 +0100
14383 [cairo-boilerplate-xlib] Check that the surface will fit in the screen.
14385 Whilst testing the fallback surface, the resultant image was being
14386 clipped to the screen size. Be conservative and refuse to create
14387 windows (for CAIRO_CONTENT_COLOR surfaces) that are larger than the
14390 boilerplate/cairo-boilerplate-xlib.c | 25 +++++++++++++++++++++++++
14391 1 files changed, 25 insertions(+), 0 deletions(-)
14393 commit a29544a0b6f150384fd652aad950d1cae9809c42
14394 Author: Chris Wilson <chris@chris-wilson.co.uk>
14395 Date: Fri Aug 24 12:24:20 2007 +0100
14397 [cairo-boilerplate-xlib] Clear Render data for the non-Render fallback.
14399 As well as marking the XRender extension unavailable in
14400 _cairo_boiler_player_xlib_disable_render(), we need to clear any
14401 XRender derived information stored during the surface creation.
14403 boilerplate/cairo-boilerplate-xlib.c | 5 +++++
14404 1 files changed, 5 insertions(+), 0 deletions(-)
14406 commit 177a3b8a32f13ce92d45899367fb7758600f7b93
14407 Author: Carl Worth <cworth@cworth.org>
14408 Date: Thu Aug 23 16:13:04 2007 -0700
14410 Remove include of cairoint.h from *-private.h header files.
14412 These were recently added, (as part of sparse integration?), but they
14413 break boilerplate which reaches into at least cairo-types-private.h
14414 and cairo-scaled-font-private.h. But boilerplate cannot see cairoint.h
14415 or else it gets the internal sybol renaming, (with the INT_ prefix),
14416 and then all the test suite tests refuse to link.
14418 If this change reverts some recently-added functionality, (or
14419 cleanliness), then we'll just need to find some other way to add that
14420 back again without the breakage.
14422 src/cairo-cache-private.h | 1 -
14423 src/cairo-clip-private.h | 1 -
14424 src/cairo-fixed-private.h | 1 -
14425 src/cairo-ft-private.h | 1 -
14426 src/cairo-gstate-private.h | 1 -
14427 src/cairo-hash-private.h | 1 -
14428 src/cairo-malloc-private.h | 1 -
14429 src/cairo-mutex-private.h | 4 +++-
14430 src/cairo-mutex-type-private.h | 4 +++-
14431 src/cairo-os2-private.h | 3 +--
14432 src/cairo-output-stream-private.h | 1 -
14433 src/cairo-paginated-surface-private.h | 2 +-
14434 src/cairo-path-fixed-private.h | 2 --
14435 src/cairo-pdf-surface-private.h | 2 --
14436 src/cairo-private.h | 1 -
14437 src/cairo-ps-surface-private.h | 2 --
14438 src/cairo-region-private.h | 2 --
14439 src/cairo-scaled-font-private.h | 2 +-
14440 src/cairo-surface-private.h | 2 +-
14441 src/cairo-svg-surface-private.h | 2 --
14442 src/cairo-type1-private.h | 2 --
14443 src/cairo-wideint-private.h | 2 --
14444 src/cairo-xlib-surface-private.h | 2 --
14445 src/cairoint.h | 2 ++
14446 24 files changed, 12 insertions(+), 32 deletions(-)
14448 commit fa41ebfb7c074a6ffa6a8fe7c43207e594c6534c
14449 Author: Behdad Esfahbod <behdad@behdad.org>
14450 Date: Thu Aug 23 13:55:19 2007 -0400
14452 Fix header inclusion order
14454 Enough for now, until I figure out the right way to break cairoint.h.
14456 src/cairo-types-private.h | 105 +++++++++++++++++++++++++++------------------
14457 src/cairoint.h | 23 +---------
14458 2 files changed, 64 insertions(+), 64 deletions(-)
14460 commit d66f1ee82a10de325ee4e7579bbbaa1d301292e4
14461 Author: Behdad Esfahbod <behdad@behdad.org>
14462 Date: Thu Aug 23 13:54:37 2007 -0400
14464 [boilerplate] Build libcairoboilerplate.la in make check and make test
14466 boilerplate/Makefile.am | 2 ++
14467 boilerplate/cairo-boilerplate.c | 15 ---------------
14468 2 files changed, 2 insertions(+), 15 deletions(-)
14470 commit 5594f8b0356fc209749d01e2043559fccd3966d0
14471 Author: Behdad Esfahbod <behdad@behdad.org>
14472 Date: Thu Aug 23 00:38:00 2007 -0400
14474 [Makefile.am] Run sparse and splint once per source file
14476 Also skip .h files for splint as it causes lots of unused-function warnings.
14478 src/Makefile.am | 13 +++++++++++--
14479 1 files changed, 11 insertions(+), 2 deletions(-)
14481 commit 503ab85e44bfa02ef8391f7849826cbe07ff15d2
14482 Author: Chris Wilson <chris@chris-wilson.co.uk>
14483 Date: Thu Aug 23 15:01:02 2007 +0100
14485 Fix inadvertent executable mode flip.
14487 Clear the executable bit for cairo-scaled-font.c
14489 0 files changed, 0 insertions(+), 0 deletions(-)
14491 commit 735757a17a7c72f8598c8958b600daad941a0431
14492 Author: Behdad Esfahbod <behdad@behdad.org>
14493 Date: Wed Aug 22 02:58:37 2007 -0400
14495 [Makefile.am] Add target sparse to run sparse static source code analyzer
14497 There are still some bits not quite working.
14499 src/Makefile.am | 23 ++++++++++++++++++-----
14500 src/cairo-cache-private.h | 1 +
14501 src/cairo-clip-private.h | 1 +
14502 src/cairo-fixed-private.h | 1 +
14503 src/cairo-ft-private.h | 1 +
14504 src/cairo-gstate-private.h | 1 +
14505 src/cairo-hash-private.h | 1 +
14506 src/cairo-malloc-private.h | 1 +
14507 src/cairo-mutex-private.h | 4 +---
14508 src/cairo-mutex-type-private.h | 4 +---
14509 src/cairo-os2-private.h | 3 ++-
14510 src/cairo-output-stream-private.h | 1 +
14511 src/cairo-paginated-surface-private.h | 2 +-
14512 src/cairo-path-fixed-private.h | 2 ++
14513 src/cairo-pdf-surface-private.h | 2 ++
14514 src/cairo-private.h | 1 +
14515 src/cairo-ps-surface-private.h | 2 ++
14516 src/cairo-quartz-private.h | 2 +-
14517 src/cairo-region-private.h | 2 ++
14518 src/cairo-scaled-font-private.h | 2 +-
14519 src/cairo-surface-private.h | 2 +-
14520 src/cairo-svg-surface-private.h | 2 ++
14521 src/cairo-type1-private.h | 2 ++
14522 src/cairo-types-private.h | 2 ++
14523 src/cairo-wideint-private.h | 2 ++
14524 src/cairo-xlib-surface-private.h | 2 ++
14525 src/cairoint.h | 12 ++++++------
14526 27 files changed, 59 insertions(+), 22 deletions(-)
14528 commit bfdc3b6642a36a7728f82ae87de83244d86ba29e
14529 Author: Behdad Esfahbod <behdad@behdad.org>
14530 Date: Wed Aug 22 01:16:50 2007 -0400
14532 [Makefile.am] Move -DHAVE_CONFIG_H to the right place
14534 src/Makefile.am | 2 +-
14535 1 files changed, 1 insertions(+), 1 deletions(-)
14537 commit af6a123e95b359234d70f7a766457ff3a427c3cc
14538 Author: Behdad Esfahbod <behdad@behdad.org>
14539 Date: Wed Aug 22 01:09:21 2007 -0400
14541 [Makefile.am] Inhibit unrecognized options to splint
14543 src/Makefile.am | 2 +-
14544 1 files changed, 1 insertions(+), 1 deletions(-)
14546 commit e9d709b5caf4bc3c48259d6b40e6b95f730aa348
14547 Author: Behdad Esfahbod <behdad@behdad.org>
14548 Date: Wed Aug 22 01:07:59 2007 -0400
14550 [cairo-image-surface] Fix comment syntax
14553 src/cairo-image-surface.c | 6 +++---
14554 1 files changed, 3 insertions(+), 3 deletions(-)
14556 commit ef878345c87c57a79eda079fa5e765aba5ddf163
14557 Author: Behdad Esfahbod <behdad@behdad.org>
14558 Date: Wed Aug 22 01:07:38 2007 -0400
14560 [Makefile.am] Add target splint to run splint static source code analyzer
14562 src/Makefile.am | 3 +++
14563 1 files changed, 3 insertions(+), 0 deletions(-)
14565 commit f015091bb5361552eebfafc007bcf9e77ba5bfbf
14566 Author: Behdad Esfahbod <behdad@behdad.org>
14567 Date: Wed Aug 22 01:03:50 2007 -0400
14569 [Makefile.am] Use libcairo_la_CFLAGS instead of INCLUDES
14572 src/Makefile.am | 2 +-
14573 1 files changed, 1 insertions(+), 1 deletions(-)
14575 commit 3e5859c58f8749eaae16149577d52399a2fcf952
14576 Author: Behdad Esfahbod <behdad@behdad.org>
14577 Date: Tue Aug 21 23:02:03 2007 -0400
14579 [ROADMAP] Mark fine-grained fallbacks done
14581 ROADMAP | 7 +++++++
14583 2 files changed, 7 insertions(+), 7 deletions(-)
14585 commit 333b96f0e0a7d775b96014b91c6887cdcda3e93a
14586 Author: Carl Worth <cworth@cworth.org>
14587 Date: Fri Aug 17 10:41:03 2007 -0700
14589 Add support for image fallbacks for X servers with 555 visuals
14591 This fixes bugzilla #9993:
14593 Cairo fails with 555 X server visual
14594 https://bugs.freedesktop.org/show_bug.cgi?id=9993
14597 src/cairo-image-surface.c | 14 ++++++++++++++
14598 2 files changed, 15 insertions(+), 1 deletions(-)
14600 commit f00fb10f87d1341b91f025bb068d935355c68c70
14601 Author: Carl Worth <cworth@cworth.org>
14602 Date: Fri Aug 17 10:36:14 2007 -0700
14604 Add support for image fallbacks for X servers with 565 visuals
14606 This fixes bugzilla #10461:
14608 Cairo doesn't support 565 xlib visual
14609 https://bugs.freedesktop.org/show_bug.cgi?id=1046
14612 src/cairo-image-surface.c | 16 ++++++++++++++++
14613 2 files changed, 17 insertions(+), 1 deletions(-)
14615 commit ddb78df4c92fc8e51ca18202b59bcef7d1e1d66d
14616 Author: Carl Worth <cworth@cworth.org>
14617 Date: Fri Aug 17 10:33:25 2007 -0700
14619 Restore the error message for unsupported X server visuals
14621 Apparently, our much-beloved error message, (just look at how many people
14622 love to quote it in bugzilla entries), was removed during the switch to
14623 the new pixman. It was replaced with an obscure failure of a nil surface
14624 being returned, (leading to obscure failures or false "out of memory"
14627 So we're putting this back now, (even though we _really_ want to ensure
14628 that this message never gets printed in practice).
14630 src/cairo-image-surface.c | 12 ++++++++++++
14631 1 files changed, 12 insertions(+), 0 deletions(-)
14633 commit 72fab3675c46a773dac315fffff72cd7f887f79f
14634 Author: Carl Worth <cworth@cworth.org>
14635 Date: Fri Aug 17 10:29:37 2007 -0700
14637 Use a pixman_format_code to describe the image surface used for xlib fallbacks
14639 Previously, the code was just using cairo_format_t which is much more limited
14640 than the formats supported by pixman, (so many "odd" X server visuals would
14643 src/cairo-image-surface.c | 87 ++++++++++++++++++++++-----------
14644 src/cairo-xlib-surface.c | 117 ++++----------------------------------------
14645 src/cairoint.h | 19 +++++++-
14646 3 files changed, 87 insertions(+), 136 deletions(-)
14648 commit a9662d0aaed8685292ffe13c458182046a644fa7
14649 Author: Carl Worth <cworth@cworth.org>
14650 Date: Fri Aug 17 08:15:50 2007 -0700
14652 Eliminate fragile cairo_internal_format_t
14654 Instead we take advantage of the pixman_format_code_t
14655 that now exists in the public interface of the new, external
14658 src/cairo-image-surface.c | 152 ++++++++++++++++++++++++++++++++-------------
14659 src/cairo-pattern.c | 2 +-
14660 src/cairoint.h | 44 +------------
14661 3 files changed, 113 insertions(+), 85 deletions(-)
14663 commit 9f4e6436496fe561aa124bb2b89e1c6711684d98
14664 Author: Carl Worth <cworth@cworth.org>
14665 Date: Tue Aug 21 10:03:00 2007 -0700
14667 Ensure the Render extension is initialized before calling XESetCloseDisplay
14669 This avoids a potential crash from the Render extension being cleaned
14670 up during XCloseDisplay before the cairo CloseDisplay hook goes on to
14671 call into XRenderFreePicture.
14673 src/cairo-xlib-display.c | 9 +++++++++
14674 1 files changed, 9 insertions(+), 0 deletions(-)
14676 commit d05593a5fb9fef586171cb9973a9942a105d50d7
14677 Author: Carl Worth <cworth@cworth.org>
14678 Date: Mon Aug 20 14:50:02 2007 -0700
14680 Add a new xlib-fallback target to test xlib using image fallbacks instead of the Render extension
14682 boilerplate/cairo-boilerplate-xlib-private.h | 8 +++
14683 boilerplate/cairo-boilerplate-xlib.c | 72 ++++++++++++++++++++++++++
14684 boilerplate/cairo-boilerplate.c | 9 +++
14685 test/fill-rule.c | 2 +-
14686 4 files changed, 90 insertions(+), 1 deletions(-)
14688 commit 590717f03b4a396600734c4dac1dd0a9f140283c
14689 Author: Adrian Johnson <ajohnson@redneon.com>
14690 Date: Wed Aug 22 07:58:14 2007 +0930
14692 PS: Remove debug info from PS output
14694 The debug code is now conditionally compiled.
14696 src/cairo-ps-surface.c | 22 ++++++++++++++++++++++
14697 1 files changed, 22 insertions(+), 0 deletions(-)
14699 commit e66b2b68ab456d779524d9b4ab34acf5d38362b5
14700 Author: Carl Worth <cworth@cworth.org>
14701 Date: Tue Aug 21 14:52:54 2007 -0700
14703 Use 8-bit math to flatten color when emitting a solid pattern to PostScript
14705 This isn't necessarily more correct than the old code using the doubles,
14706 but it does result in bit-for-bit color equivalence when comparing the
14707 results against the image backend. So that's both good consistency, and
14708 more ease is using the test suite to verify things.
14710 src/cairo-ps-surface.c | 26 +++++++++++++++-----------
14711 1 files changed, 15 insertions(+), 11 deletions(-)
14713 commit bf92255edd20595a6eb220c6ee9d6aa40b244eef
14714 Author: Adrian Johnson <ajohnson@redneon.com>
14715 Date: Tue Aug 21 22:27:57 2007 +0930
14717 PS: Add finer-grained image fallback support
14719 The analysis surface now keeps track of two regions: supported
14720 operations, and unsupported operations. If the target surface returns
14721 CAIRO_INT_STATUS_FLATTEN_TRANSPARENCY, the analysis surface will check
14722 if any previous operation intersects with this operation. If there is
14723 nothing previously drawn under the operation, the status is changed to
14726 The meta surface has two new functions:
14727 _cairo_meta_surface_replay_region()
14728 _cairo_meta_surface_replay_and_create_regions()
14730 During the analysis stage, the paginated surface replays the meta
14731 surface using _cairo_meta_surface_replay_and_create_regions(). The
14732 return status from each analyzed operation is saved in the meta
14733 surface. The _cairo_meta_surface_replay_region() function allows only
14734 operations from either the supported or unsupported region to be
14735 replayed. This allows the paginated surface to replay only the
14736 supported operations before emitting a fallback image for each
14737 rectangle in the unsupported region.
14739 src/cairo-analysis-surface-private.h | 3 +
14740 src/cairo-analysis-surface.c | 358 +++++++++++++++++++++++++++++-----
14741 src/cairo-meta-surface-private.h | 34 +++-
14742 src/cairo-meta-surface.c | 78 ++++++--
14743 src/cairo-paginated-surface.c | 131 ++++++++++---
14744 src/cairo-ps-surface.c | 93 ++++++----
14745 src/cairo-region-private.h | 4 +
14746 src/cairo-region.c | 13 ++
14747 src/cairoint.h | 4 +-
14748 9 files changed, 585 insertions(+), 133 deletions(-)
14750 commit bf4bdbb6076dbe3b74534bc4308dbc9213bf628d
14751 Author: Behdad Esfahbod <behdad@behdad.org>
14752 Date: Mon Aug 20 20:29:51 2007 -0400
14754 [cairo-scaled-font] Document how glyph surfaces use device offsets
14756 src/cairo-scaled-font.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++
14757 1 files changed, 106 insertions(+), 0 deletions(-)
14759 commit 31f5aafa36015ee6ea8ff769c2e1d5841f62642f
14760 Author: Behdad Esfahbod <behdad@behdad.org>
14761 Date: Mon Feb 5 20:46:48 2007 -0500
14763 Fix device_offset misuse in all glyph surface uses
14765 Seems like all over the code, we have been using negated device_offset
14766 values for glyph surfaces. Here is all the math(!):
14768 A device_transform converts from device space (a conceptual space) to
14769 surface space. For simple cases of translation only, it's called a
14770 device_offset and is public API (cairo_surface_[gs]et_device_offset).
14771 A possibly better name for those functions could have been
14772 cairo_surface_[gs]et_origing. So, that's what they do: they set where
14773 the device-space origin (0,0) is in the surface. If the origin is inside
14774 the surface, device_offset values are positive. It may look like this:
14777 (-x,-y) <-- negative numbers
14781 |......(0,0) <---|-- device-space origin
14788 (0,0) <-- surface-space origin
14792 |......(x,y) <--|-- device_offset
14798 In other words: device_offset is the coordinates of the device-space
14799 origin relative to the top-left of the surface.
14801 We use device offsets in a couple of places:
14803 - Public API: To let toolkits like Gtk+ give user a surface that
14804 only represents part of the final destination (say, the expose
14805 area), but has the same device space as the destination. In these
14806 cases device_offset is typically negative. Example:
14813 | | | <--|-- expose area
14817 In this case, the user of cairo API can set the device_space on
14818 the expose area to (-x,-y) to move the device space origin to that
14819 of the application window, such that drawing in the expose area
14820 surface and painting it in the application window has the same
14821 effect as drawing in the application window directly. Gtk+ has
14822 been using this feature.
14824 - Glyph surfaces: In most font rendering systems, glyph surfaces
14825 have an origin at (0,0) and a bounding box that is typically
14826 represented as (x_bearing,y_bearing,width,height). Depending on
14827 which way y progresses in the system, y_bearing may typically be
14828 negative (for systems similar to cairo, with origin at top left),
14829 or be positive (in systems like PDF with origin at bottom left).
14830 No matter which is the case, it is important to note that
14831 (x_bearing,y_bearing) is the coordinates of top-left of the glyph
14832 relative to the glyph origin. That is, for example:
14834 Scaled-glyph space:
14836 (x_bearing,y_bearing) <-- negative numbers
14840 |......(0,0) <---|-- glyph origin
14844 (width+x_bearing,height+y_bearing)
14846 Note the similarity of the origin to the device space. That is
14847 exactly how we use the device_offset to represent scaled glyphs:
14848 to use the device-space origin as the glyph origin.
14850 Now compare the scaled-glyph space to device-space and surface-space
14851 and convince yourself that:
14853 (x_bearing,y_bearing) = (-x,-y) = - device_offset
14855 That's right. If you are not convinced yet, contrast the definition
14858 "(x_bearing,y_bearing) is the coordinates of top-left of the
14859 glyph relative to the glyph origin."
14861 "In other words: device_offset is the coordinates of the
14862 device-space origin relative to the top-left of the surface."
14864 and note that glyph origin = device-space origin.
14866 So, that was the bug. Fixing it removed lots of wonders and magic
14869 The way I discovered the bug was that in the user-font API, to make
14870 rendering the glyph from meta-surface to an image-surface work I had
14873 cairo_surface_set_device_offset (surface, -x_bearing, -y_bearing);
14874 _cairo_meta_surface_replay (meta_surface, surface);
14875 cairo_surface_set_device_offset (surface, x_bearing, y_bearing);
14877 This suggested that the use of device_offset for glyph origin is
14878 different from its use for rendering with meta-surface. This reminded
14879 me of the large comment in the xlib backend blaming XRender for having
14880 weird glyph space, and of a similar problem I had in the PS backend
14881 for bitmap glyph positioning (see d47388ad759b0a1a0869655a87d9b5eb6ae2445d)
14883 ...those are all fixed now.
14885 src/cairo-atsui-font.c | 4 +-
14886 src/cairo-directfb-surface.c | 4 +-
14887 src/cairo-ft-font.c | 46 +++++++++++++++++++++--------------------
14888 src/cairo-glitz-surface.c | 8 +++---
14889 src/cairo-ps-surface.c | 12 +++++-----
14890 src/cairo-scaled-font.c | 8 ++----
14891 src/cairo-svg-surface.c | 2 +-
14892 src/cairo-xcb-surface.c | 40 +----------------------------------
14893 src/cairo-xlib-surface.c | 40 +----------------------------------
14894 9 files changed, 46 insertions(+), 118 deletions(-)
14896 commit d55da1aa621d76b1411300932be5d37883b25dfa
14897 Author: Behdad Esfahbod <behdad@behdad.org>
14898 Date: Wed Feb 7 00:20:29 2007 -0800
14900 [scaled-font] Really ignore ctm translation
14902 Previously we were ignoring ctm translation in scaled fonts when hashing, but
14903 still storing it into the scaled font. Now we zero the translation components
14906 src/cairo-scaled-font.c | 8 +++++---
14907 1 files changed, 5 insertions(+), 3 deletions(-)
14909 commit a394e5870e2c5ccedfd9d116b4a42c58b459334d
14910 Author: Behdad Esfahbod <behdad@behdad.org>
14911 Date: Mon Feb 5 16:53:18 2007 -0500
14913 [cairo-image-surface] Simplify device-offset usage
14915 src/cairo-image-surface.c | 10 +++++-----
14916 1 files changed, 5 insertions(+), 5 deletions(-)
14918 commit 61f736d0d1166b050ee948ce2738feab0327ece9
14919 Author: Behdad Esfahbod <behdad@behdad.org>
14920 Date: Mon Feb 5 15:51:30 2007 -0500
14922 [cairo-paginated-surface] Add XXX mark to integer width,height arguments
14924 src/cairo-paginated-surface.c | 1 +
14925 1 files changed, 1 insertions(+), 0 deletions(-)
14927 commit f97bb5613a7fb3d92f2d730460f9c721ee13a41a
14928 Author: Vladimir Vukicevic <vladimir@pobox.com>
14929 Date: Mon Aug 20 17:32:05 2007 -0700
14931 Fix path_fixed_offset_and_scale to apply scale and offset in right order
14933 src/cairo-path-fixed.c | 24 +++++++++---------------
14934 1 files changed, 9 insertions(+), 15 deletions(-)
14936 commit 51b6cca8de3181d7b42b612ff491451c765d5811
14937 Author: Chris Wilson <chris@chris-wilson.co.uk>
14938 Date: Sat Aug 18 00:54:30 2007 +0100
14940 [cairo-perf-diff] Remove reference to pixman.
14942 Remove the use of pixman as part of the perf id as pixman is no longer
14943 an integral component of cairo.
14945 perf/cairo-perf-diff | 3 +--
14946 1 files changed, 1 insertions(+), 2 deletions(-)
14948 commit 39367b26120b6e1ad0f556911a49f28ef370115b
14949 Author: Martin Ejdestig <marejde@gmail.com>
14950 Date: Fri Aug 17 02:28:35 2007 +0200
14952 Plug possible leak of pixman_traps in _cairo_image_surface_composite_trapezoids.
14954 If width and height are 0 and pixman_traps is allocated on the heap,
14955 it would leak. Fix by simply checking width and height prior to
14956 allocating pixman_traps.
14958 src/cairo-image-surface.c | 6 +++---
14959 1 files changed, 3 insertions(+), 3 deletions(-)
14961 commit 507d7ee09951a35df8b80f0e1507ba17dbd9bfa9
14962 Author: Chris Wilson <chris@chris-wilson.co.uk>
14963 Date: Wed Jun 27 12:34:35 2007 +0100
14965 [cairo-xlib-surface] Avoid a malloc(0).
14967 Avoid a zero byte allocation (potentially returning NULL) for an array
14970 src/cairo-xlib-surface.c | 9 +++++++--
14971 1 files changed, 7 insertions(+), 2 deletions(-)
14973 commit 85d911d86c9f1dd55d79b7c429ad2b617ec345d1
14974 Author: Chris Wilson <chris@chris-wilson.co.uk>
14975 Date: Wed Jun 27 08:05:35 2007 +0100
14977 [cairo-image-surface] Avoid malloc(0)
14979 Special case width==0, height==0 to avoid allocating a 0 byte image.
14981 src/cairo-image-surface.c | 3 +++
14982 1 files changed, 3 insertions(+), 0 deletions(-)
14984 commit 7332a5e9949ca19869b003fe5a0a777adac41307
14985 Author: Chris Wilson <chris@chris-wilson.co.uk>
14986 Date: Wed Jun 27 11:32:50 2007 +0100
14988 [boilerplate/xmalloc] Special case malloc(0) and friends.
14990 malloc(0) can return NULL so double check the requested size before
14991 exiting with an out-of-memory error.
14993 boilerplate/xmalloc.c | 6 +++---
14994 src/cairo-image-surface.c | 2 +-
14995 2 files changed, 4 insertions(+), 4 deletions(-)
14997 commit 56e505298c0f5de360380ca7e968baa0e60ac828
14998 Author: Chris Wilson <chris@chris-wilson.co.uk>
14999 Date: Wed Jun 27 23:01:44 2007 +0100
15001 [cairo-truetype-subset] Avoid malloc(0).
15003 Avoid attempting to allocate a zero length subset as malloc(0) may return
15006 src/cairo-truetype-subset.c | 15 +++++++++------
15007 1 files changed, 9 insertions(+), 6 deletions(-)
15009 commit 7bd1d5ba3d081ae188fe7f8bc346071d0b8d2278
15010 Author: Chris Wilson <chris@chris-wilson.co.uk>
15011 Date: Tue Jul 3 14:14:56 2007 +0100
15013 [cairo-png] Protect against malloc(0).
15015 Avoid calling malloc(0) for an empty image.
15017 src/cairo-png.c | 21 ++++++++++++---------
15018 1 files changed, 12 insertions(+), 9 deletions(-)
15020 commit 06134df0d0670a7d00d58ebd7a20ba7174f56d16
15021 Author: Chris Wilson <chris@chris-wilson.co.uk>
15022 Date: Wed Jul 4 19:11:29 2007 +0100
15024 [cairo-pdf-surface] Check for errors during compression.
15026 Check status return from zlib's compress().
15028 src/cairo-pdf-surface.c | 5 ++++-
15029 1 files changed, 4 insertions(+), 1 deletions(-)
15031 commit 76b871d710cd81bee5fe7c2f6175f8d678ebeea5
15032 Author: Chris Wilson <chris@chris-wilson.co.uk>
15033 Date: Thu Aug 16 15:29:11 2007 +0100
15035 [cairo-image-surface] Remove status return for hard-coded CAIRO_STATUS_SUCCESS.
15037 Remove the status return if the function can only return
15038 CAIRO_STATUS_SUCCESS, and remove the then surplus conditionals.
15040 src/cairo-image-surface.c | 13 +++++--------
15041 1 files changed, 5 insertions(+), 8 deletions(-)
15043 commit 4e39e30d83fc1866a44f0b746c406ee2efb3bf6a
15044 Author: Chris Wilson <chris@chris-wilson.co.uk>
15045 Date: Mon Jul 16 09:25:38 2007 +0100
15047 [cairo-pen] Remove status from _cairo_pen_find_active_vertex_*()
15049 This pair of functions unconditionally return SUCCESS, so remove the
15050 status return and supporting tests from their callers.
15052 src/cairo-path-stroke.c | 24 ++++++------------------
15053 src/cairo-pen.c | 16 +++++-----------
15054 src/cairoint.h | 4 ++--
15055 3 files changed, 13 insertions(+), 31 deletions(-)
15057 commit b72b06cc222d88015ce78a5cddf061e903d032b5
15058 Author: Chris Wilson <chris@chris-wilson.co.uk>
15059 Date: Mon Jul 16 09:40:47 2007 +0100
15061 [cairo-pen] Remove hard-coded CAIRO_STATUS_SUCCESS from _stroke_spline_half()
15063 Remove the status return and update callers as
15064 _cairo_pen_stroke_spline_half() unconditionally returned SUCCESS.
15066 src/cairo-pen.c | 15 ++++-----------
15067 1 files changed, 4 insertions(+), 11 deletions(-)
15069 commit e24969a94ac5670a13c2737db435ac7b5bebb19c
15070 Author: Chris Wilson <chris@chris-wilson.co.uk>
15071 Date: Mon Jul 16 09:36:54 2007 +0100
15073 [cairo-pdf-surface] cairo_pattern_set_matrix guarantees invertibility.
15075 Be consistent in asserting that the pattern matrix is inverted
15076 successfully and remove a couple of redundant checks.
15078 src/cairo-pdf-surface.c | 8 ++++----
15079 1 files changed, 4 insertions(+), 4 deletions(-)
15081 commit 50ebdda3a97334e5411749cd0c309843ba8cdf44
15082 Author: Chris Wilson <chris@chris-wilson.co.uk>
15083 Date: Thu Jul 19 10:26:37 2007 +0100
15085 [cairo-pattern] Assert that the pattern->matrix is invertible.
15087 We guarantee when setting the pattern->matrix that it is invertible, so
15088 merely assert that it is so when we attempt to use its inverse.
15090 src/cairo-pattern.c | 4 ++--
15091 1 files changed, 2 insertions(+), 2 deletions(-)
15093 commit 7d853bcabcc1c55b79a05280a0eb35828b93163d
15094 Author: Chris Wilson <chris@chris-wilson.co.uk>
15095 Date: Thu Aug 16 14:34:07 2007 +0100
15097 [cairo-boilerplate-xlib] Check for NULL xrender_format before use.
15099 Testing for XRender support (xrender_format != NULL) after
15100 dereferencing said format doesn't work as intended.
15102 boilerplate/cairo-boilerplate-xlib.c | 16 ++++++++++++----
15103 1 files changed, 12 insertions(+), 4 deletions(-)
15105 commit bc635da45a32eb9b7aff6fa5f7f560ebf99092a8
15106 Author: Chris Wilson <chris@chris-wilson.co.uk>
15107 Date: Thu Aug 16 12:21:49 2007 +0100
15109 [cairo-ft-font] Decrement lock count on error.
15111 As noted in http://bugs.freedesktop.org/show_bug.cgi?id=12026 the error
15112 path of _cairo_ft_unscaled_font_lock_face() failed to reset the
15113 unscaled->lock_count before releasing the mutex and returning NULL.
15115 src/cairo-ft-font.c | 1 +
15116 1 files changed, 1 insertions(+), 0 deletions(-)
15118 commit 8881265cca73790a49068b3bab5362cb73f8deb6
15119 Author: Adrian Johnson <ajohnson@redneon.com>
15120 Date: Fri Aug 10 20:10:29 2007 +0930
15122 PDF: Fix regression in pdf_surface_set_size()
15124 src/cairo-pdf-surface.c | 1 +
15125 1 files changed, 1 insertions(+), 0 deletions(-)
15127 commit 4ca0ca153a847337452bbb237d42f6d7b0a163d0
15128 Author: Søren Sandmann Pedersen <sandmann@redhat.com>
15129 Date: Mon Aug 6 19:24:31 2007 -0400
15131 Bump pixman dependency to 0.9.4
15133 Also print the download location if the library wasn't found.
15135 configure.in | 11 +++++++----
15136 src/cairo-region-private.h | 2 +-
15137 src/cairoint.h | 2 +-
15138 test/buffer-diff.c | 2 +-
15139 4 files changed, 10 insertions(+), 7 deletions(-)
15141 commit 13cae8b5e6d3fc93c4eb1853b91ba356b572b551
15142 Author: Carl Worth <cworth@cworth.org>
15143 Date: Mon Aug 6 11:06:47 2007 -0700
15145 Ensure that a copied pattern gets its own user_data array
15147 This fixes the bug reported here:
15149 Segfault with cairo_pattern_set_user_data
15150 https://bugs.freedesktop.org/show_bug.cgi?id=11855
15152 src/cairo-pattern.c | 2 ++
15153 1 files changed, 2 insertions(+), 0 deletions(-)
15155 commit 027915717df6e203826d10da7bfdf8e26af13ee1
15156 Author: Nis Martensen <nis.martensen@web.de>
15157 Date: Wed Jul 4 07:09:00 2007 -0700
15159 Typo fixes in README files
15162 perf/README | 6 +++---
15163 test/README | 6 +++---
15164 3 files changed, 8 insertions(+), 8 deletions(-)
15166 commit 72c1f5d802c32f97ae5c0cbf899dc3a12fc28222
15167 Author: Adrian Johnson <ajohnson@redneon.com>
15168 Date: Sun Aug 5 00:50:23 2007 +0930
15170 PDF: Fix gradients regression
15172 src/cairo-pdf-surface.c | 8 ++++----
15173 1 files changed, 4 insertions(+), 4 deletions(-)
15175 commit 9bcedd3d6f0de8c380e7ab4981d32377e3c5a778
15176 Author: Vladimir Vukicevic <vladimir@pobox.com>
15177 Date: Fri Aug 3 14:18:40 2007 -0700
15179 [win32] compilation fix for win32
15181 src/cairo-win32-surface.c | 10 +++++-----
15182 1 files changed, 5 insertions(+), 5 deletions(-)
15184 commit f52aa4c13e91339e575ca2c52c9e3a1f4d95b106
15185 Author: Adrian Johnson <ajohnson@redneon.com>
15186 Date: Thu Aug 2 21:25:46 2007 +0930
15188 CFF Subsetting: fix integer encoding bug
15190 Bug report at https://bugzilla.mozilla.org/show_bug.cgi?id=368668
15192 src/cairo-cff-subset.c | 2 +-
15193 1 files changed, 1 insertions(+), 1 deletions(-)
15195 commit ef93f1897c0703c3284c85206cb1c70e23ff3fe5
15196 Author: Behdad Esfahbod <behdad@behdad.org>
15197 Date: Tue Jul 31 17:52:13 2007 -0400
15199 [configure.in] Cleanup after pixman removal and correctly check for pixman
15201 configure.in | 24 ++++--------------------
15202 1 files changed, 4 insertions(+), 20 deletions(-)
15204 commit 4cce3135e0e50d5edb3a7cc54cf413fc2242a521
15205 Author: Behdad Esfahbod <behdad@behdad.org>
15206 Date: Thu Jul 26 18:04:39 2007 -0400
15208 Clear executable flag off .c file
15210 0 files changed, 0 insertions(+), 0 deletions(-)
15212 commit 5b0e2e3e2b6823580bbc40dd1be415b7461bcbf0
15213 Author: Chris Wilson <chris@chris-wilson.co.uk>
15214 Date: Mon Jul 23 13:05:13 2007 +0100
15216 [cairo-glitz-surface] Compile fix.
15218 Minor corrections to reflect updated structures.
15220 src/cairo-glitz-surface.c | 19 +++++++++----------
15221 1 files changed, 9 insertions(+), 10 deletions(-)
15223 commit c0a7d33ac6c81dd74ee2a9daaa3749a346ef4897
15224 Author: Vladimir Vukicevic <vladimir@pobox.com>
15225 Date: Wed Jul 4 13:54:03 2007 +0200
15227 [fixpt] Fixup malloc usage to use _cairo_malloc_*
15229 Fix some introduced mallocs as a result of the fixed point patches.
15231 src/cairo-clip.c | 2 +-
15232 src/cairo-glitz-surface.c | 2 +-
15233 src/cairo-image-surface.c | 2 +-
15234 src/cairo-pattern.c | 2 +-
15235 src/cairo-xcb-surface.c | 4 ++--
15236 src/cairo-xlib-surface.c | 4 ++--
15237 6 files changed, 8 insertions(+), 8 deletions(-)
15239 commit b719592428907d2010645303fb65d38dcb8b30c0
15240 Author: Vladimir Vukicevic <vladimir@pobox.com>
15241 Date: Wed Jul 4 12:16:27 2007 +0200
15243 [fixpt] Fix up compilation post pixman merge
15245 src/cairo-pattern.c | 1 -
15246 src/cairo-region-private.h | 2 +-
15247 src/cairo-region.c | 9 +++++----
15248 src/cairo-svg-surface.c | 6 +++---
15249 4 files changed, 9 insertions(+), 9 deletions(-)
15251 commit 866b485314bfd5d8bbf865d19f6a589d08292e2a
15252 Author: Vladimir Vukicevic <vladimir@pobox.com>
15253 Date: Mon Jun 18 18:38:54 2007 -0700
15255 [fixpt] Let the compiler calculate the magic double-to-fixed value
15257 src/cairo-fixed-private.h | 14 ++------------
15258 1 files changed, 2 insertions(+), 12 deletions(-)
15260 commit 0abe5324a5b03149630a5b6496c980f83be4fd75
15261 Author: Vladimir Vukicevic <vladimir@pobox.com>
15262 Date: Mon Jun 18 18:33:29 2007 -0700
15264 [fixpt] Create cairo_region wrapper around pixman_region16_t
15266 Insulate region-using code from implementation details;
15267 at some point we'll want to switch to using 32-bit regions.
15269 src/cairo-analysis-surface-private.h | 4 +-
15270 src/cairo-analysis-surface.c | 4 +-
15271 src/cairo-clip-private.h | 4 +-
15272 src/cairo-clip.c | 182 +++++++++++++++++----------------
15273 src/cairo-directfb-surface.c | 25 +++--
15274 src/cairo-glitz-surface.c | 65 ++++++++++--
15275 src/cairo-image-surface.c | 4 +-
15276 src/cairo-pattern.c | 16 ++--
15277 src/cairo-region-private.h | 105 +++++++++++++++++++
15278 src/cairo-region.c | 173 ++++++++++++++++++++++++++++++--
15279 src/cairo-surface-fallback.c | 29 +++---
15280 src/cairo-surface.c | 63 +++++++------
15281 src/cairo-traps.c | 50 +++++-----
15282 src/cairo-win32-surface.c | 28 ++++--
15283 src/cairo-xcb-surface.c | 26 +++--
15284 src/cairo-xlib-surface.c | 28 +++---
15285 src/cairoint.h | 38 ++++++--
15286 src/test-paginated-surface.c | 2 +-
15287 18 files changed, 598 insertions(+), 248 deletions(-)
15289 commit dc035fecda0070e18a68e06f567f268fc39483f1
15290 Author: Vladimir Vukicevic <vladimir@pobox.com>
15291 Date: Mon Jun 18 17:34:36 2007 -0700
15293 [fixpt] Fix xcb surface to handle conversion to 16.16
15295 src/cairo-xcb-surface.c | 87 +++++++++++++++++++++++++++++++++++-----------
15296 1 files changed, 66 insertions(+), 21 deletions(-)
15298 commit 58d9664702308639ead888c7167e71ca605a8fe3
15299 Author: Vladimir Vukicevic <vladimir@pobox.com>
15300 Date: Mon Jun 18 17:33:44 2007 -0700
15302 [fixpt] Fix xlib surface to handle conversion to 16.16
15304 src/cairo-xlib-surface.c | 87 +++++++++++++++++++++++++++++++++++-----------
15305 1 files changed, 66 insertions(+), 21 deletions(-)
15307 commit aaf94ef6c4656d7e836e52c2a71db214a1c01b57
15308 Author: Vladimir Vukicevic <vladimir@pobox.com>
15309 Date: Mon Jun 18 17:29:04 2007 -0700
15311 [fixpt] remove dependency on some pixman types
15313 Introduce cairo_gradient_stop_t, and remove pixman dependency
15314 for core pattern types. Perform conversion from cairo types
15315 to pixman types as necessary in fallback code.
15317 src/cairo-matrix.c | 12 +++---
15318 src/cairo-pattern.c | 97 ++++++++++++++++++++++++++++++-----------
15319 src/cairo-pdf-surface.c | 8 ++--
15320 src/cairo-scaled-font.c | 6 +-
15321 src/cairo-surface-fallback.c | 10 +++-
15322 src/cairo-svg-surface.c | 87 +++++++++++++++++++------------------
15323 src/cairoint.h | 27 ++++++------
15324 7 files changed, 150 insertions(+), 97 deletions(-)
15326 commit e5fdacae1c5b7005b95db8f9065cce51ef19bf20
15327 Author: Vladimir Vukicevic <vladimir@pobox.com>
15328 Date: Mon Jun 18 17:05:34 2007 -0700
15330 [fixpt] fix up image surface to translate to 16.16 for pixman
15332 src/cairo-image-surface.c | 76 ++++++++++++++++++++++++++++++++++++++------
15333 1 files changed, 65 insertions(+), 11 deletions(-)
15335 commit be3516335cda8587d9baf5bd0097d3ce1cb64ab1
15336 Author: Vladimir Vukicevic <vladimir@pobox.com>
15337 Date: Mon Jun 18 16:56:24 2007 -0700
15339 [fixpt] Replace cairo_rectangle_int16_t with cairo_rectangle_int_t
15341 Mostly s/cairo_rectangle_int16_t/cairo_rectangle_int_t/,
15342 as well as definitions to pick cairo_rectangle_int_t.
15344 src/cairo-analysis-surface.c | 2 +-
15345 src/cairo-clip-private.h | 6 ++--
15346 src/cairo-clip.c | 12 ++++----
15347 src/cairo-directfb-surface.c | 16 +++++-----
15348 src/cairo-glitz-surface.c | 20 ++++++------
15349 src/cairo-gstate.c | 2 +-
15350 src/cairo-image-surface.c | 12 ++++----
15351 src/cairo-meta-surface.c | 2 +-
15352 src/cairo-os2-surface.c | 10 +++---
15353 src/cairo-paginated-surface.c | 6 ++--
15354 src/cairo-pattern.c | 12 ++++----
15355 src/cairo-pdf-surface.c | 4 +-
15356 src/cairo-ps-surface.c | 4 +-
15357 src/cairo-quartz-private.h | 2 +-
15358 src/cairo-quartz-surface.c | 24 ++++++++--------
15359 src/cairo-rectangle.c | 10 +++---
15360 src/cairo-region.c | 2 +-
15361 src/cairo-scaled-font.c | 2 +-
15362 src/cairo-surface-fallback-private.h | 2 +-
15363 src/cairo-surface-fallback.c | 52 +++++++++++++++++-----------------
15364 src/cairo-surface.c | 40 +++++++++++++-------------
15365 src/cairo-svg-surface.c | 4 +-
15366 src/cairo-win32-private.h | 4 +-
15367 src/cairo-win32-surface.c | 16 +++++-----
15368 src/cairo-xcb-surface.c | 18 ++++++------
15369 src/cairo-xlib-surface.c | 18 ++++++------
15371 src/cairoint.h | 48 +++++++++++++++++++------------
15372 src/test-fallback-surface.c | 12 ++++----
15373 src/test-meta-surface.c | 4 +-
15374 src/test-paginated-surface.c | 2 +-
15375 31 files changed, 191 insertions(+), 179 deletions(-)
15377 commit 9c38aa3b96a1e926ef422837fc3102e902a796fc
15378 Author: Vladimir Vukicevic <vladimir@pobox.com>
15379 Date: Mon Jun 18 16:30:09 2007 -0700
15381 [fixpt] Use _cairo_fixed_mul insted of manual multiplication
15383 src/cairo-fixed-private.h | 1 -
15384 src/cairo-path-fixed.c | 11 +++--------
15385 src/cairo-traps.c | 26 +++++++++++---------------
15386 3 files changed, 14 insertions(+), 24 deletions(-)
15388 commit 0048a26a4477d3acb5dd0231756cfaae92d240a9
15389 Author: Vladimir Vukicevic <vladimir@pobox.com>
15390 Date: Mon Jun 18 16:26:14 2007 -0700
15392 [fixpt] Make fixed point methods static inline and generic
15394 Move the fixed point methods to static inline versions in
15395 cairo-fixed-private.h, and don't hardcode fixed to be 16.16.
15397 src/cairo-fixed-private.h | 256 ++++++++++++++++++++++++++++++++++++++++++++
15398 src/cairo-fixed.c | 100 +-----------------
15399 src/cairo-quartz-surface.c | 2 +-
15400 src/cairoint.h | 37 +------
15401 4 files changed, 259 insertions(+), 136 deletions(-)
15403 commit 76c32f899af63649bf911533a2ed6b42e617da41
15404 Author: Vladimir Vukicevic <vladimir@frankenmac.mshome.net>
15405 Date: Mon Jul 2 15:09:21 2007 +0200
15407 [fixpt] Update quartz surface for new types
15409 src/cairo-quartz-surface.c | 20 ++++++++++----------
15410 1 files changed, 10 insertions(+), 10 deletions(-)
15412 commit 290daee4ce26a931a15425f380ed4f495a4bd3c1
15413 Author: Søren Sandmann <sandmann@redhat.com>
15414 Date: Tue Jul 10 10:31:23 2007 -0400
15416 Add note about pixman dependency in README
15419 1 files changed, 1 insertions(+), 1 deletions(-)
15421 commit 1fac791537d2333b084e3fbabc1a6a890433e9ed
15422 Author: Jinghua Luo <sunmoon1997@gmail.com>
15423 Date: Tue Jul 10 15:09:04 2007 +0800
15425 [Glitz] fix compilation.
15427 Separating pixman broke the compilation if glitz backend is enabled,
15428 fix it and all compiler warning as well.
15430 src/cairo-glitz-surface.c | 104 +++++++++++++++++++++++++++-----------------
15431 1 files changed, 64 insertions(+), 40 deletions(-)
15433 commit 5819be398c4eada9a6cfc8e37a532991751b4a51
15434 Author: Chris Wilson <chris@chris-wilson.co.uk>
15435 Date: Thu Jul 5 18:59:31 2007 +0100
15437 [check-plt] Ignore entries for pixman.
15439 pixman is now an external library, so we now expect PLT entries.
15441 src/check-plt.sh | 2 +-
15442 1 files changed, 1 insertions(+), 1 deletions(-)
15444 commit 35ef8419a981929b65157407485ec001b69b3391
15445 Author: Chris Wilson <chris@chris-wilson.co.uk>
15446 Date: Thu Jul 5 18:52:21 2007 +0100
15448 [cairo-matrix] Check determinant for invalid numbers.
15450 By checking matrices for invalid determinants, we can prevent the
15451 setting and application of invalid matrices.
15453 The trick used here is that NaNs, as specified by IEE754, always
15454 return FALSE in comparisons. Since we know that the square of the
15455 determinant must be positive definite, then if the comparison is
15456 FALSE the computation must have resulted in a NaN.
15458 src/cairo-matrix.c | 4 ++
15459 test/invalid-matrix.c | 94 ++++++++++++++++++++++++++++++++++++++++++------
15460 2 files changed, 86 insertions(+), 12 deletions(-)
15462 commit 7eaba5d5fbf83f66b39db42a89db3e7a892c2ea0
15463 Author: Chris Wilson <chris@chris-wilson.co.uk>
15464 Date: Thu Jul 5 15:24:11 2007 +0100
15466 [configure] Only run PostScript tests if we have ghostscript.
15468 During configure check for the ghostscript command line tool (gs) before
15469 enabling the PostScript surface tests for make check.
15471 boilerplate/cairo-boilerplate.c | 2 +-
15472 configure.in | 14 ++++++++++++++
15473 2 files changed, 15 insertions(+), 1 deletions(-)
15475 commit ef967be630dd8d0bf81ad5889d6264bebe7631d4
15476 Merge: 0c42dbb... 5c7d2d1...
15477 Author: Søren Sandmann Pedersen <sandmann@annarchy.freedesktop.org>
15478 Date: Mon Jul 2 08:33:29 2007 -0700
15480 Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/cairo
15484 pixman/src/fbcompose.c
15485 pixman/src/icimage.c
15486 pixman/src/pixmanint.h
15487 pixman/src/pixregionint.h
15490 commit 5c7d2d14d78e4dfb1ef6d2c40f0910f177e07360
15491 Author: Vladimir Vukicevic <vladimir@pobox.com>
15492 Date: Tue Jun 19 13:15:21 2007 -0700
15494 [fix] Avoid int overflow when allocating large buffers
15496 This patch introduces three macros: _cairo_malloc_ab,
15497 _cairo_malloc_abc, _cairo_malloc_ab_plus_c and replaces various calls
15498 to malloc(a*b), malloc(a*b*c), and malloc(a*b+c) with them. The macros
15499 return NULL if int overflow would occur during the allocation. See
15500 CODING_STYLE for more information.
15502 CODING_STYLE | 25 +++++++++
15503 pixman/src/fbcompose.c | 4 +-
15504 pixman/src/icimage.c | 8 ++--
15505 pixman/src/pixman.h | 7 +++
15506 pixman/src/pixmanint.h | 17 ++++++
15507 pixman/src/pixregion.c | 59 ++++++++++++++++++----
15508 pixman/src/pixregionint.h | 1 -
15509 src/cairo-atsui-font.c | 2 +-
15510 src/cairo-bentley-ottmann.c | 6 +-
15511 src/cairo-beos-surface.cpp | 4 +-
15512 src/cairo-clip.c | 10 +++-
15513 src/cairo-directfb-surface.c | 2 +-
15514 src/cairo-ft-font.c | 4 +-
15515 src/cairo-glitz-surface.c | 34 +++++++++++--
15516 src/cairo-gstate.c | 6 +-
15517 src/cairo-hull.c | 2 +-
15518 src/cairo-malloc-private.h | 104 +++++++++++++++++++++++++++++++++++++++
15519 src/cairo-meta-surface.c | 4 +-
15520 src/cairo-os2-surface.c | 9 ++--
15521 src/cairo-path.c | 2 +-
15522 src/cairo-pattern.c | 6 +-
15523 src/cairo-pdf-surface.c | 6 +-
15524 src/cairo-pen.c | 4 +-
15525 src/cairo-png.c | 6 +-
15526 src/cairo-polygon.c | 2 +-
15527 src/cairo-ps-surface.c | 4 +-
15528 src/cairo-quartz-surface.c | 8 ++--
15529 src/cairo-scaled-font-subsets.c | 4 +-
15530 src/cairo-scaled-font.c | 2 +-
15531 src/cairo-spline.c | 2 +-
15532 src/cairo-stroke-style.c | 2 +-
15533 src/cairo-surface-fallback.c | 4 +-
15534 src/cairo-surface.c | 2 +-
15535 src/cairo-svg-surface.c | 2 +-
15536 src/cairo-traps.c | 2 +-
15537 src/cairo-unicode.c | 4 +-
15538 src/cairo-win32-font.c | 6 +-
15539 src/cairo-win32-surface.c | 6 +-
15540 src/cairo-xcb-surface.c | 8 ++--
15541 src/cairo-xlib-surface.c | 6 +-
15542 src/cairoint.h | 1 +
15543 41 files changed, 308 insertions(+), 89 deletions(-)
15545 commit fc34073464c487405b6e2e0a5fa269a1ae15a02a
15546 Author: Carl Worth <cworth@cworth.org>
15547 Date: Wed Jun 27 14:38:41 2007 -0700
15549 Increment version to 1.5.1 after the 1.4.10 release
15551 configure.in | 4 ++--
15552 1 files changed, 2 insertions(+), 2 deletions(-)
15554 commit 107a74885a25e585b467c7841c6929a12aa62565
15555 Author: Carl Worth <cworth@cworth.org>
15556 Date: Wed Jun 27 14:05:56 2007 -0700
15558 Increment cairo version to 1.4.10 (and libtool versioning to 13:5:11)
15560 configure.in | 4 ++--
15561 1 files changed, 2 insertions(+), 2 deletions(-)
15563 commit f595ad2348dbd97b57d22471fdec7664f8ca7bf6
15564 Author: Carl Worth <cworth@cworth.org>
15565 Date: Wed Jun 27 14:04:27 2007 -0700
15567 Add notes to NEWS for 1.4.10
15569 NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++
15570 1 files changed, 45 insertions(+), 0 deletions(-)
15572 commit 2bf3e31da99f34328973a0866346af40748097f6
15573 Author: Carl Worth <cworth@cworth.org>
15574 Date: Wed Jun 27 11:11:36 2007 -0700
15576 Prefer local dpy variable instead of display->display
15578 This was a tiny piece of cleanup that had been erroneously included
15579 with some earlier functional changes, (so it went through a cycle
15580 of being applied and reverted). It's back now in its own commit.
15582 src/cairo-xlib-display.c | 6 +++---
15583 1 files changed, 3 insertions(+), 3 deletions(-)
15585 commit eebb0df512da50f883a417bb5e8e368dc81e35a9
15586 Author: Carl Worth <cworth@cworth.org>
15587 Date: Wed Jun 27 11:08:53 2007 -0700
15589 Revert "[cairo-xlib-display] Hide XErrors during processing of the work queue."
15591 This reverts commit 285b702ef6f73e7eb4ca0da235a287ad1e1f412f.
15593 The recent commit of 0791f342b93225849d9171aac8b738014b18bdf5 fixes
15594 the same bug that 285b702e was fixing, but without introducing any
15595 performance-killing calls to XSync. So we can drop those now.
15597 src/cairo-xlib-display.c | 17 +++--------------
15598 1 files changed, 3 insertions(+), 14 deletions(-)
15600 commit b019cb8a7a910879c7af304edbd06fd105c9d89e
15601 Author: Carl Worth <cworth@cworth.org>
15602 Date: Wed Jun 27 11:07:07 2007 -0700
15604 Revert "[cairo-xlib-surface] Check for errors before installing a NOOP error handler."
15606 This reverts commit 7016614dd90798247524f0c118f462aa2e7ef673.
15608 We want to avoid any negative performance impacts due to extra calls
15609 to XSync. The fact that X errors can be missed with this appraoch is
15610 undesirable of course---a proper fix will likely involve moving to
15611 XCB which will hopefully allow us to do the error-checking the way
15612 we want without any performance penalty.
15614 src/cairo-xlib-surface.c | 2 --
15615 1 files changed, 0 insertions(+), 2 deletions(-)
15617 commit 6d021eb4b6e319dd2bb3e5e126de07c6844d5c07
15618 Merge: 9109946... 0791f34...
15619 Author: Carl Worth <cworth@cworth.org>
15620 Date: Wed Jun 27 11:01:00 2007 -0700
15622 Merge branch 'ooo-fix' into cairo
15624 commit 0791f342b93225849d9171aac8b738014b18bdf5
15625 Author: Chris Wilson <chris@chris-wilson.co.uk>
15626 Date: Wed Jun 27 10:53:29 2007 -0700
15628 Avoid deferring resource cleanup for application drawables
15630 This eliminates X errors propagated from cairo due to cleaning up
15631 Render Pictures after the application had already destroyed the
15632 Drawable they reference. (It would be nice if the X server wouldn't
15633 complain that some cleanup work is already done, but there you
15636 This fix has been verified to fix the bug causing OpenOffice.org to
15637 crash as described here:
15639 XError on right click menus in OOo.
15640 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243811
15642 And unlike other proposed fixes for this bug, this fix does not
15643 introduce any new calls to XSync, (and thereby avoids performance
15644 concerns from those).
15646 src/cairo-xlib-surface.c | 47 +++++++++++++++++++++++++--------------------
15647 1 files changed, 26 insertions(+), 21 deletions(-)
15649 commit 0c42dbb1925efb8228fb5246e0715bee0a5ded28
15650 Author: Søren Sandmann <sandmann@redhat.com>
15651 Date: Fri Jun 15 00:39:27 2007 -0400
15653 pixman_image_set_transform() returns FALSE on failure
15655 src/cairo-pattern.c | 2 +-
15656 1 files changed, 1 insertions(+), 1 deletions(-)
15658 commit e0cff78b34558f0eed29aff5d818d1591c7bf966
15659 Author: Søren Sandmann <sandmann@redhat.com>
15660 Date: Thu Jun 14 13:42:08 2007 -0400
15662 Fix bug where _cairo_image_surface_composite_trapezoids() computed the wrong stride for aliased masks
15664 src/cairo-image-surface.c | 2 +-
15665 1 files changed, 1 insertions(+), 1 deletions(-)
15667 commit ca5760a289f287a7fafe36e69c6bdf47710c17e7
15668 Author: Søren Sandmann <sandmann@redhat.com>
15669 Date: Thu Jun 14 13:12:01 2007 -0400
15671 Fix initialization of radial patterns
15673 src/cairo-pattern.c | 2 +-
15674 1 files changed, 1 insertions(+), 1 deletions(-)
15676 commit 12cc32b674d3f1b705ef1a66bbce1ef8c4488daf
15677 Author: Søren Sandmann <sandmann@redhat.com>
15678 Date: Wed Jun 13 00:15:34 2007 -0400
15680 [pixman] Initial port to standalone pixman library.
15683 configure.in | 14 +-
15684 pixman/.gitignore | 20 -
15685 pixman/AUTHORS | 19 -
15686 pixman/COPYING | 92 -
15687 pixman/ChangeLog | 1534 -------------
15688 pixman/ChangeLog.libic | 300 ---
15689 pixman/ChangeLog.libpixregion | 47 -
15690 pixman/ChangeLog.slim | 39 -
15691 pixman/INSTALL | 9 -
15692 pixman/Makefile.am | 7 -
15693 pixman/NEWS | 135 --
15694 pixman/README | 47 -
15695 pixman/RELEASING | 81 -
15697 pixman/autogen.sh | 53 -
15698 pixman/configure.in | 92 -
15699 pixman/libpixman.pc.in | 10 -
15700 pixman/src/.gitignore | 13 -
15701 pixman/src/Makefile.am | 46 -
15702 pixman/src/Makefile.win32 | 37 -
15703 pixman/src/check-config.sh | 17 -
15704 pixman/src/check-pixmanint.sh | 17 -
15705 pixman/src/fbcompose.c | 4354 ------------------------------------
15706 pixman/src/fbedge.c | 303 ---
15707 pixman/src/fbedgeimp.h | 136 --
15708 pixman/src/fbmmx.c | 2821 -----------------------
15709 pixman/src/fbmmx.h | 298 ---
15710 pixman/src/fbpict.c | 2181 ------------------
15711 pixman/src/fbpict.h | 355 ---
15712 pixman/src/fbtrap.c | 236 --
15713 pixman/src/icblt.c | 951 --------
15714 pixman/src/icbltone.c | 743 ------
15715 pixman/src/iccolor.c | 83 -
15716 pixman/src/icformat.c | 220 --
15717 pixman/src/icimage.c | 744 ------
15718 pixman/src/icimage.h | 384 ----
15719 pixman/src/icint.h | 1070 ---------
15720 pixman/src/icpixels.c | 116 -
15721 pixman/src/icrect.c | 404 ----
15722 pixman/src/icrop.h | 137 --
15723 pixman/src/icstipple.c | 81 -
15724 pixman/src/ictransform.c | 63 -
15725 pixman/src/ictrap.c | 200 --
15726 pixman/src/ictri.c | 293 ---
15727 pixman/src/icutil.c | 287 ---
15728 pixman/src/pixman-xserver-compat.h | 125 -
15729 pixman/src/pixmanint.h | 1076 ---------
15730 pixman/src/pixregionint.h | 75 -
15731 pixman/src/renderedge.c | 196 --
15732 pixman/src/renderedge.h | 157 --
15733 pixman/update.pl | 159 --
15734 src/Makefile.am | 6 +-
15735 src/cairo-clip.c | 36 +-
15736 src/cairo-glitz-surface.c | 126 +-
15737 src/cairo-image-surface.c | 314 ++--
15738 src/cairo-pattern.c | 82 +-
15739 src/cairo-pdf-surface.c | 40 +-
15740 src/cairo-ps-surface.c | 2 +-
15741 src/cairo-surface-fallback.c | 5 +-
15742 src/cairo-surface.c | 9 +-
15743 src/cairo-svg-surface.c | 31 +-
15744 src/cairo-traps.c | 4 +-
15745 src/cairo-xlib-surface.c | 43 +-
15746 src/cairoint.h | 14 +-
15747 test/buffer-diff.c | 16 +-
15748 66 files changed, 398 insertions(+), 21221 deletions(-)
15750 commit 9109946a1a7f9341e60da7358da6535c5fac52db
15751 Author: Chris Wilson <chris@chris-wilson.co.uk>
15752 Date: Thu Jun 21 15:40:23 2007 +0100
15754 [cairo-directfb] Correct minor typo.
15756 Correct the reference to _cairo_directfb_surface_is_similar.
15758 src/cairo-directfb-surface.c | 2 +-
15759 1 files changed, 1 insertions(+), 1 deletions(-)
15761 commit 1e76aa66b23aa7b3fd7b9f7de2b563b4db814517
15762 Author: Nis Martensen <nis.martensen@web.de>
15763 Date: Tue Jun 19 17:04:48 2007 +0200
15765 Update INSTALL about status of backends
15768 1 files changed, 4 insertions(+), 2 deletions(-)
15770 commit 02f753c23ad0db7d677ae41f8d69dc566c8aaa0b
15771 Author: Carl Worth <cworth@cworth.org>
15772 Date: Mon Jun 18 18:23:06 2007 -0700
15774 Fix cairo-perf-diff to compile cairo-perf explicitly
15776 perf/cairo-perf-diff | 2 +-
15777 1 files changed, 1 insertions(+), 1 deletions(-)
15779 commit 2477e57de532fb3ebd1f6113cf51619b84b303d9
15780 Author: Vladimir Vukicevic <vladimir@pobox.com>
15781 Date: Mon Jun 18 13:58:15 2007 -0700
15783 [perf] Add pixman_region_init_rects and use in extract_region
15785 Avoid O(N*N) loop in traps_extract_region by letting us hand pixman
15786 an array of rects all at once.
15788 perf/Makefile.am | 3 +-
15789 perf/cairo-perf.c | 1 +
15790 perf/cairo-perf.h | 1 +
15791 perf/long-dashed-lines.c | 67 +++++++++++++++++++++++++++++++++++++++++++++
15792 pixman/src/pixman-remap.h | 1 +
15793 pixman/src/pixman.h | 2 +
15794 pixman/src/pixregion.c | 29 +++++++++++++++++++
15795 src/cairo-traps.c | 58 +++++++++++++++++++++++++++-----------
15796 8 files changed, 144 insertions(+), 18 deletions(-)
15798 commit 285b702ef6f73e7eb4ca0da235a287ad1e1f412f
15799 Author: Chris Wilson <chris@chris-wilson.co.uk>
15800 Date: Fri Jun 15 20:38:01 2007 +0100
15802 [cairo-xlib-display] Hide XErrors during processing of the work queue.
15804 It is possible for the resources that we defer freeing to be already
15805 destroyed and trigger an XError whilst processing the work queue. For
15806 example, the application renders to a Window and then destroys the
15807 Drawable before proceeding with more rendering. This will trigger an
15808 invalid Picture from RenderFreePicture whilst attempting to free the
15811 By ignoring the possibility that the application could allocate a fresh
15812 resource with the same ID, we can simply hide the XErrors...
15814 Fixes: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243811
15816 src/cairo-xlib-display.c | 17 ++++++++++++++---
15817 1 files changed, 14 insertions(+), 3 deletions(-)
15819 commit 7016614dd90798247524f0c118f462aa2e7ef673
15820 Author: Chris Wilson <chris@chris-wilson.co.uk>
15821 Date: Fri Jun 15 20:45:53 2007 +0100
15823 [cairo-xlib-surface] Check for errors before installing a NOOP error handler.
15825 Call XSync before ignoring errors from XGetImage to avoid hiding
15826 unassociated errors. Similarly, call XSync before reinstalling the old
15827 error handler to ensure no errors creep out of the ignored section.
15829 src/cairo-xlib-surface.c | 2 ++
15830 1 files changed, 2 insertions(+), 0 deletions(-)
15832 commit 0c5d28a4e5ce5e4dd72c0f416ce5e960e92b808b
15833 Author: Ryan Lortie <desrt@desrt.ca>
15834 Date: Wed Jun 13 18:59:22 2007 -0400
15836 [xlib] Create source xrender Picture with IncludeInferiors
15838 When an xlib surface is used as the source of a draw operation this
15839 will cause the contents of child windows to be included in the source
15840 data. The semantics of drawing to xlib surfaces are unchanged (ie:
15841 draws are still clipped by child windows overlapping the destination
15844 src/cairo-xlib-surface.c | 15 ++++++++++++++-
15845 1 files changed, 14 insertions(+), 1 deletions(-)
15847 commit 817d4b0c9a354526389290c6d5a7662713d67cd8
15848 Author: Brian Ewins <Brian.Ewins@gmail.com>
15849 Date: Sat Jun 9 19:14:05 2007 +0100
15851 [atsui] Document ATSUI
15853 Add cairo_atsui_font_face_create_for_atsu_font_id
15854 and ATSUI to the documentation. Don't enable it yet,
15855 since this is still unsupported.
15857 doc/public/tmpl/cairo-atsui.sgml | 2 +-
15858 src/cairo-atsui-font.c | 13 +++++++++++++
15859 2 files changed, 14 insertions(+), 1 deletions(-)
15861 commit fd1edaa5d386f15edacfd5596b550593ed45d627
15862 Author: Brian Ewins <Brian.Ewins@gmail.com>
15863 Date: Wed Jun 13 01:27:36 2007 +0100
15865 [quartz] remove unused code
15867 clean up warnings about unused code: removing
15868 _cairo_quartz_cairo_path_to_quartz_path and the functions
15871 src/cairo-quartz-surface.c | 47 --------------------------------------------
15872 1 files changed, 0 insertions(+), 47 deletions(-)
15874 commit d7a0816ec3d750939dd935f34b217980ee27af3f
15875 Author: Brian Ewins <Brian.Ewins@gmail.com>
15876 Date: Wed Jun 13 01:27:36 2007 +0100
15878 [quartz] move glyph array declarations
15880 Move declarations causing a warning. A separate patch from
15881 the other warning cleanups because it moves where the allocation
15884 src/cairo-quartz-surface.c | 20 ++++++++++----------
15885 1 files changed, 10 insertions(+), 10 deletions(-)
15887 commit bf39b28b77a83160e5aa037031d82f8c0843f387
15888 Author: Brian Ewins <Brian.Ewins@gmail.com>
15889 Date: Wed Jun 13 01:04:54 2007 +0100
15891 commit 75be87b4093aaa7f477d587d5a68308cade1b29c
15893 [quartz] move glyph array declarations
15895 Move declarations causing a warning. A separate patch from
15896 the other warning cleanups because it moves where the allocation
15899 src/cairo-quartz-surface.c | 27 +++++++++++++++------------
15900 1 files changed, 15 insertions(+), 12 deletions(-)
15902 commit 2034d1dbd5888c393c57f0feeb707b0411fa4480
15903 Author: Brian Ewins <Brian.Ewins@gmail.com>
15904 Date: Wed Jun 13 01:27:36 2007 +0100
15906 [quartz] pass quartz_stroke_t not CGContextRef
15908 Fix a typo where an incompatible pointer was being passed.
15910 src/cairo-quartz-surface.c | 4 ++--
15911 1 files changed, 2 insertions(+), 2 deletions(-)
15913 commit 54bbe44b08b37041c8982634837dbc79b19e6c18
15914 Author: Behdad Esfahbod <behdad@behdad.org>
15915 Date: Mon Jun 11 17:51:37 2007 -0400
15917 [TODO] Add link to Adrian's finer-grain fallback thread
15920 1 files changed, 2 insertions(+), 0 deletions(-)
15922 commit ef3c64fd13d66648f4e00affb304e8b404249f92
15923 Author: Vladimir Vukicevic <vladimir@pobox.com>
15924 Date: Mon Jun 11 09:27:11 2007 -0700
15926 [misc] Blow away last remaining $Id$ directives in sources
15928 pixman/src/fbtrap.c | 2 --
15929 src/cairo-analysis-surface-private.h | 3 +--
15930 test/rel-path.c | 2 --
15931 3 files changed, 1 insertions(+), 6 deletions(-)
15933 commit 853f23e18c28548bce4647d4e54a5cfb317ac3dc
15934 Author: Behdad Esfahbod <behdad@behdad.org>
15935 Date: Mon Jun 11 02:42:04 2007 -0400
15937 [test] Use check_PROGRAMS instead of custom made SUPPORT_PROGS
15939 It better handles $(EXEEXT) and is exactly made for this purpose.
15941 test/Makefile.am | 14 ++++++--------
15942 1 files changed, 6 insertions(+), 8 deletions(-)
15944 commit 1d86c7fa888918c32eb13adb084de78883e17c84
15945 Author: Behdad Esfahbod <behdad@behdad.org>
15946 Date: Sat Jun 9 13:48:13 2007 -0400
15948 [perf] Link to librt if available
15950 This is needed on Solaris, but also works on Linux.
15952 configure.in | 4 ++++
15953 perf/Makefile.am | 3 ++-
15954 2 files changed, 6 insertions(+), 1 deletions(-)
15956 commit 85d045f2675cf191ea1d1af66ad4cd9e57d58e67
15957 Author: Carl Worth <cworth@cworth.org>
15958 Date: Fri Jun 8 16:08:44 2007 -0700
15960 Update version to 1.4.9 after the 1.4.8 release.
15962 configure.in | 2 +-
15963 1 files changed, 1 insertions(+), 1 deletions(-)
15965 commit fea4f344c46cf5f85c6af3102333008768c55063
15966 Author: Carl Worth <cworth@cworth.org>
15967 Date: Fri Jun 8 15:49:12 2007 -0700
15969 Update version to 1.4.8 (and libtool info to 13:4:11)
15971 configure.in | 4 ++--
15972 1 files changed, 2 insertions(+), 2 deletions(-)
15974 commit 0b19ff1d3f493067fa5484151e71dfcedcd14fd1
15975 Author: Carl Worth <cworth@cworth.org>
15976 Date: Fri Jun 8 15:34:35 2007 -0700
15978 Add include of X11/Xlib.h to cairo-xlib-xrender.h
15980 This makes this header file self-sufficient. Thanks to
15981 Sam Sirlin <samuel.w.sirlin@jpl.nasa.gov> for pointing
15984 src/cairo-xlib-xrender.h | 1 +
15985 1 files changed, 1 insertions(+), 0 deletions(-)
15987 commit 8223c976d54319b58906de03fcb8fb1967105e53
15988 Author: Brian Ewins <Brian.Ewins@gmail.com>
15989 Date: Fri Jun 8 01:56:10 2007 +0100
15991 [NEWS] add note about quartz fixes
15993 We've got 11 less failures in the quartz tests this time around,
15997 1 files changed, 3 insertions(+), 0 deletions(-)
15999 commit 00063a65f758265f3ad5c0caa374d9c7d5e89932
16000 Author: Vladimir Vukicevic <vladimir@pobox.com>
16001 Date: Fri Jun 8 01:17:09 2007 +0100
16003 [quartz] fix DO_IMAGE
16005 The implementation of DO_IMAGE leaks memory via a referenced surface,
16006 and wasn't applied for strokes and glyphs. This patch corrects those
16009 src/cairo-quartz-private.h | 5 ++-
16010 src/cairo-quartz-surface.c | 83 +++++++++++++++++++++++++++-----------------
16011 2 files changed, 55 insertions(+), 33 deletions(-)
16013 commit 39e6a0090faa4e73a658c1ca0ead3040309b84a2
16014 Author: Brian Ewins <Brian.Ewins@gmail.com>
16015 Date: Fri Jun 8 01:12:24 2007 +0100
16017 [quartz] fall back on extended gradients
16019 A temporary fix for mozilla bug 379321, use an image fallback for
16020 gradients that use EXTEND_REPEAT or EXTEND_REFLECT.
16022 src/cairo-quartz-surface.c | 7 +++++++
16023 1 files changed, 7 insertions(+), 0 deletions(-)
16025 commit 7c1afdcd597331c14f256f406a3e95743f7fdad6
16026 Author: Brian Ewins <Brian.Ewins@gmail.com>
16027 Date: Mon Mar 26 00:06:23 2007 +0100
16029 [quartz] fixes the offsets in the font-matrix test
16031 Apply the font matrix offset to text on the quartz surface, if necessary.
16033 src/cairo-quartz-surface.c | 6 +++++-
16034 1 files changed, 5 insertions(+), 1 deletions(-)
16036 commit 55f1dbd0fbcbc587823ef8fa291a0af08441c775
16037 Author: Brian Ewins <Brian.Ewins@gmail.com>
16038 Date: Sun Apr 1 00:04:24 2007 +0100
16040 [quartz] ensure that line widths are scaled.
16042 cairo-gstate applies the ctm to the coordinates used in paths,
16043 but not to the line width. In quartz this ends up drawing unscaled
16044 lines. This is a minimal fix - it undoes the scaling applied to the
16045 points and then draws the path scaled correctly.
16047 src/cairo-quartz-surface.c | 72 ++++++++++++++++++++++++++++++++++---------
16048 1 files changed, 57 insertions(+), 15 deletions(-)
16050 commit 5a9de1b5c9f6cc445f9f6230937c2254ee49e7cb
16051 Author: Brian Ewins <Brian.Ewins@gmail.com>
16052 Date: Thu Jun 7 23:22:30 2007 +0100
16054 [atsui] remove unused code
16056 Remove CGAffineTransformMakeWithCairoFontScale.
16058 src/cairo-atsui-font.c | 8 --------
16059 1 files changed, 0 insertions(+), 8 deletions(-)
16061 commit 807c5ab613e7df60be452d6683c4f9f045ef62a0
16062 Author: Brian Ewins <Brian.Ewins@gmail.com>
16063 Date: Thu Jun 7 23:22:29 2007 +0100
16065 [atsui] clean up warnings
16067 Refactor code to get rid of compiler warnings.
16069 src/cairo-atsui-font.c | 11 +++++++----
16070 1 files changed, 7 insertions(+), 4 deletions(-)
16072 commit b210b09e2de2f048debad6e8881f0226b6b17060
16073 Author: Brian Ewins <Brian.Ewins@gmail.com>
16074 Date: Thu Jun 7 23:22:27 2007 +0100
16076 [quartz] implement CAIRO_EXTEND_REFLECT
16078 Implement extend-reflect by tiling a larger 2x2 grid of reflected
16081 src/cairo-quartz-surface.c | 64 ++++++++++++++++++++-----------------------
16082 1 files changed, 30 insertions(+), 34 deletions(-)
16084 commit fa5dd548b0dd2dfe523501bd40cafe7916240be1
16085 Author: Brian Ewins <Brian.Ewins@gmail.com>
16086 Date: Tue May 29 23:11:49 2007 +0100
16088 [quartz] implement CAIRO_EXTEND_NONE
16090 Implement extend-none for surface patterns, by using a single
16091 DrawImage where possible. There is some code duplication in this
16092 patch, to make it easier to edit this patch series without conflicts.
16093 A patch to remove duplicate code will be required later..
16095 src/cairo-quartz-surface.c | 61 ++++++++++++++++++++++++++++++++++++++++++-
16096 1 files changed, 59 insertions(+), 2 deletions(-)
16098 commit 147288864c8c512f3ae17c8117d3c36dbbc6d5f8
16099 Author: Brian Ewins <Brian.Ewins@gmail.com>
16100 Date: Thu Jun 7 23:22:05 2007 +0100
16102 [quartz] Refactor code to create a CGImageRef from a pattern
16104 In order to implement CAIRO_EXTEND_NONE we will need to create
16105 a CGImageRef without also creating a CGPattern. Separate the two
16108 src/cairo-quartz-surface.c | 40 +++++++++++++++++++++-------------------
16109 1 files changed, 21 insertions(+), 19 deletions(-)
16111 commit a5ee983e1cb97aff63b0c9c3a57125b37d0e3f74
16112 Author: Carl Worth <cworth@cworth.org>
16113 Date: Thu Jun 7 15:03:43 2007 -0700
16115 Update release notes for 1.4.8
16117 NEWS | 75 ++++++++++++++++++++++++++++++++++++++++++-----------------------
16118 1 files changed, 48 insertions(+), 27 deletions(-)
16120 commit e19c49269d0b236de91a5a9b5230bed7d76282ed
16121 Author: Carl Worth <cworth@cworth.org>
16122 Date: Thu Jun 7 12:19:46 2007 -0700
16124 Remove stale reference to cairo-xlib-test.h
16126 src/Makefile.am | 3 +--
16127 1 files changed, 1 insertions(+), 2 deletions(-)
16129 commit 5ded4479d6ddbbe16c631144ef987c4c02e706a6
16130 Author: Carl Worth <cworth@cworth.org>
16131 Date: Thu May 31 15:35:14 2007 -0700
16133 Fix return value of cairo_surface_write_to_png for unsupported formats
16135 For some reason this was returning CAIRO_STATUS_NULL_POINTER.
16136 Now fixed to return CAIRO_STATUS_INVALID_FORMAT.
16138 src/cairo-png.c | 2 +-
16139 1 files changed, 1 insertions(+), 1 deletions(-)
16141 commit ec63a7839457e2d14c7b1a5b64d1a79daf044222
16142 Author: Carl Worth <cworth@cworth.org>
16143 Date: Thu May 31 14:28:50 2007 -0700
16145 Add CAIRO_INTERNAL_FORMAT_RGB16_565 and prefer it over deprecated CAIRO_FORMAT_RGB16_565
16147 Also clarify the documentation for cairo_internal_format_t
16149 src/cairo-image-surface.c | 6 ++--
16150 src/cairoint.h | 52 ++++++++++++++++++++++++++------------------
16151 2 files changed, 34 insertions(+), 24 deletions(-)
16153 commit b6ee6c531c41adb57512fe0eaf21558e5d03f04b
16154 Author: Behdad Esfahbod <behdad@behdad.org>
16155 Date: Thu Jun 7 12:22:20 2007 -0400
16157 [NEWS] Add par about Chris 'ickle' Wilson's error-handling improvements work
16159 NEWS | 14 ++++++++++++++
16160 1 files changed, 14 insertions(+), 0 deletions(-)
16162 commit 2399f923d504fba6b3dcbd0a185cd3d4b29b4dcf
16163 Author: Chris Wilson <chris@chris-wilson.co.uk>
16164 Date: Mon Jun 4 19:55:23 2007 +0100
16166 [cairo-bentley-ottmann] Malloc reduction.
16168 Attempt to allocate the edges during tessellate_polygon() from the stack,
16169 if the polygon size is sufficiently small and amalgamate the separate
16170 allocations for the list of events and their sorted index into a single
16173 src/cairo-bentley-ottmann.c | 28 +++++++++++++++-------------
16174 1 files changed, 15 insertions(+), 13 deletions(-)
16176 commit ecf6f7f5147195276b3b479879cbd3db402df688
16177 Author: Chris Wilson <chris@chris-wilson.co.uk>
16178 Date: Mon Jun 4 16:35:15 2007 +0100
16180 [cairo-scaled-font] Skip the mask composition onto the surface on error.
16182 If we fail to composite the glyph onto the mask, skip compositing the
16183 mask onto the surface.
16185 src/cairo-scaled-font.c | 2 +-
16186 1 files changed, 1 insertions(+), 1 deletions(-)
16188 commit 2e60029392bca904f7035a8f403de0593193b6b9
16189 Author: Chris Wilson <chris@chris-wilson.co.uk>
16190 Date: Tue Jun 5 09:08:51 2007 +0100
16192 [cairo-ft-font] Markup error paths with _cairo_error().
16194 Behdad Esfahbod noted that in ff5af0f540ec4 I had introduce new error
16195 paths without the appropriate _cairo_error(). So review cairo-ft-font
16196 to ensure that _cairo_error() is called at the start of every error path,
16197 as close to the originating error as possible.
16199 src/cairo-ft-font.c | 58 ++++++++++++++++++++++++++++++++++++---------------
16200 1 files changed, 41 insertions(+), 17 deletions(-)
16202 commit a5e12cd9f212b12a32230263188be38c175dc0a1
16203 Author: Behdad Esfahbod <behdad@behdad.org>
16204 Date: Thu May 31 19:21:30 2007 -0400
16206 [ROADMAP] Add link for a8mask patch
16209 1 files changed, 3 insertions(+), 1 deletions(-)
16211 commit ff5af0f540ec407beb3d2a105b22f041cd770ce4
16212 Author: Chris Wilson <chris@chris-wilson.co.uk>
16213 Date: Wed May 30 15:44:59 2007 +0100
16215 [cairo-ft-font] Propagate error rather than asserting.
16217 FT_Set_Char_Size can fail due to an out-of-memory condition, so
16218 propagate the error status instead of asserting that it never fails.
16220 src/cairo-ft-font.c | 41 ++++++++++++++++++++++++++++++-----------
16221 1 files changed, 30 insertions(+), 11 deletions(-)
16223 commit de4dd4263cb5183b128a8fc80576ed7ddb239319
16224 Author: Chris Wilson <chris@chris-wilson.co.uk>
16225 Date: Fri May 11 15:15:11 2007 +0100
16227 [cairo] Propagate surface->status on cairo_t creation.
16229 Set the cairo_t status to be the surface->status when the context is
16230 created, and special case the NO_MEMORY status in order to avoid a
16231 redundant allocation.
16233 src/cairo-gstate.c | 2 +-
16234 src/cairo.c | 12 +++++-------
16235 2 files changed, 6 insertions(+), 8 deletions(-)
16237 commit 9f4efa8a3ae6cbc194d89012286990582a6c8f5d
16238 Author: Chris Wilson <chris@chris-wilson.co.uk>
16239 Date: Fri May 11 09:48:47 2007 +0100
16241 [cairo-ps-surface] Check status of glyph_lookup.
16243 Check for failure of _cairo_scaled_glyph_lookup() before preceeding to
16244 access the glyph and propagate the failure up the callstack as far as
16247 src/cairo-ps-surface.c | 14 ++++++++++----
16248 1 files changed, 10 insertions(+), 4 deletions(-)
16250 commit 8010d46de4056e6c15b6891a06ef3d784c641b82
16251 Author: Chris Wilson <chris@chris-wilson.co.uk>
16252 Date: Sun May 27 11:40:47 2007 +0100
16254 [cairo-gstate] Check scaled font status.
16256 After using the public API to access the scaled font, which only sets
16257 the status field in the font, check the scaled font status. This will
16258 then correctly propagate errors during glyph loading to the context.
16260 src/cairo-gstate.c | 4 ++--
16261 1 files changed, 2 insertions(+), 2 deletions(-)
16263 commit faf986bb25eab34eee16415f4dab6f7d5d3460d3
16264 Author: Chris Wilson <chris@chris-wilson.co.uk>
16265 Date: Tue May 29 12:39:16 2007 +0100
16267 [cairo-gstate] Check status on existing fonts.
16269 Add an initial guard in _cairo_gstate_ensure_scaled_font() and
16270 _cairo_gstate_ensure_font_face() to check that there is no prior
16271 error status on the objects.
16273 src/cairo-gstate.c | 41 +++++++++++++++++++++++------------------
16274 1 files changed, 23 insertions(+), 18 deletions(-)
16276 commit ac4b20082dd6b2e2b280d3615eebf5387da87e2f
16277 Author: Vladimir Vukicevic <vladimir@pobox.com>
16278 Date: Tue May 29 20:50:02 2007 -0700
16280 [misc] make _cairo_image_surface_nil_invalid static const
16282 src/cairo-image-surface.c | 2 +-
16283 1 files changed, 1 insertions(+), 1 deletions(-)
16285 commit 0b34e958f18f0bcfb8bc9b054fb3bbb2343d2c32
16286 Author: Vladimir Vukicevic <vladimir@pobox.com>
16287 Date: Tue May 29 17:14:41 2007 -0700
16289 [test] add XFAIL test surface-pattern-big-scale down
16291 Add test for image downscaling with large images severely limiting
16292 the destination coordinate space. See the test for more information.
16294 test/Makefile.am | 2 +
16295 test/surface-pattern-big-scale-down.c | 121 +++++++++++++++++++++++++++++++++
16296 2 files changed, 123 insertions(+), 0 deletions(-)
16298 commit 0898411d0abdfa6a02c2fb959b3a668e728fd87c
16299 Author: Kouhei Sutou <kou@cozmixng.org>
16300 Date: Mon May 28 17:05:40 2007 -0400
16302 [doc] Minor documentation fixes
16304 src/cairo-matrix.c | 2 +-
16305 src/cairo-pattern.c | 2 +-
16306 src/cairo-scaled-font.c | 2 +-
16307 src/cairo.c | 22 +++++++++++++++-------
16309 5 files changed, 19 insertions(+), 11 deletions(-)
16311 commit 4da50dfa02d7c03c32ee20c15f8304eafa0844e0
16312 Author: Luo jinghua <sunmoon1997@gmail.com>
16313 Date: Sun May 27 17:09:49 2007 +0800
16315 [cairo-xlib-surface]: flush work queue before sending glyphs to X server.
16317 After introducing a work queue for deferred destruction of X resource
16318 my firefox crashes over and over again because XRenderFreeGlyphs is trying
16319 to free a non-exist glyph (already freed). The problematic call sequence is
16320 something like below:
16321 XRenderAddGlyphs (20990204, 20069)
16322 XRenderAddGlyphs (20990204, 20069)
16323 XRenderFreeGlyphs (20990204, 20069)
16324 XRenderFreeGlyphs (20990204, 20069)
16325 You can see the two add/free glyphs is interlaced. And obviously, we'll crash
16326 at the last one. To fix this bug, we must be ensure here's no pending work
16327 to free the glyph that we want to sent.
16329 src/cairo-xlib-surface.c | 1 +
16330 1 files changed, 1 insertions(+), 0 deletions(-)
16332 commit 69bf823db1b256f19487d2f002e7b0811859e58e
16333 Author: Brian Ewins <Brian.Ewins@gmail.com>
16334 Date: Fri May 25 01:35:37 2007 +0100
16336 [atsui] use ATSGlyphGetScreenMetrics to measure glyphs.
16338 I don't know how I managed to get glyph measurement so badly wrong
16339 before, but tracing paths was not necessary, and 6x slower. The fix
16340 switches to using ATSGlyphGetScreenMetrics for all metrics, and remove
16341 the old measuring code.
16343 src/cairo-atsui-font.c | 88 +++--------------------------------------------
16344 1 files changed, 6 insertions(+), 82 deletions(-)
16346 commit 5b2b008048d2bcbb0b558a6c02aee1093311db39
16347 Author: Chris Wilson <chris@chris-wilson.co.uk>
16348 Date: Fri May 11 10:14:57 2007 +0100
16350 [cairo-scaled-font-subsets] Shortcut empty subset.
16352 If the font_subset if empty, avoid allocating zero bytes and iterating
16353 over the empty hash table.
16355 src/cairo-scaled-font-subsets.c | 4 ++++
16356 1 files changed, 4 insertions(+), 0 deletions(-)
16358 commit c175cf7b833b03c38c8ddea183333ce84c6fdfec
16359 Author: Chris Wilson <chris@chris-wilson.co.uk>
16360 Date: Thu May 17 17:04:14 2007 +0100
16362 [cairo-ft-font] Remove erroneous cached font faces.
16364 Only return a font face from the cache if it is not in an error condition.
16365 Otherwise unlink the bad font face from the cache and construct a new one.
16367 src/cairo-ft-font.c | 15 +++++++++++----
16368 1 files changed, 11 insertions(+), 4 deletions(-)
16370 commit f382c3e110f8078e83cbb9d73cfbb43b1506a11b
16371 Author: Chris Wilson <chris@chris-wilson.co.uk>
16372 Date: Fri May 11 15:31:33 2007 +0100
16374 [cairo-pattern] Fully initialise the error pattern.
16376 _cairo_pattern_fini depends on the pattern being correctly initialised,
16377 for example when calling _cairo_user_data_array_fini(), so we need to
16378 initialize the whole pattern and not just set the type to SOLID when
16379 creating a pattern for a surface in error.
16381 src/cairo-pattern.c | 2 +-
16382 1 files changed, 1 insertions(+), 1 deletions(-)
16384 commit fcdfda83655faf0eecbb2b5af09a05340fe422e6
16385 Author: Boris Zbarsky <bzbarsky@MIT.EDU>
16386 Date: Mon May 14 23:46:14 2007 -0500
16388 [quartz] implementing release_source_image (#11059)
16390 The image surface that _cairo_quartz_surface_acquire_source_image creates never
16391 seems to be released, probably because there is no release_source_image callback
16392 in the quartz code.
16394 The attached patch fixes that problem, at least insofar as the image surface
16395 itself is no longer leaking. I'm not sure whether any other cleanup needs to
16400 src/cairo-quartz-surface.c | 11 ++++++++++-
16401 1 files changed, 10 insertions(+), 1 deletions(-)
16403 commit 2c8598aafb4a8779ce94940ce91033a8c5a62ea4
16404 Author: Carl Worth <cworth@cworth.org>
16405 Date: Fri May 18 13:23:04 2007 -0700
16407 Fix typo in comment.
16409 src/cairo-pattern.c | 2 +-
16410 1 files changed, 1 insertions(+), 1 deletions(-)
16412 commit 3cb67435f805a8ea39f38194379f216ea4a69ed6
16413 Author: Carl Worth <cworth@cworth.org>
16414 Date: Fri May 18 13:22:36 2007 -0700
16416 Document behavior of color stops added with identical offsets.
16418 src/cairo-pattern.c | 13 +++++++++++++
16419 1 files changed, 13 insertions(+), 0 deletions(-)
16421 commit 1cf4ed989473e2468ea2d64bb7759084c9f6a1e4
16422 Author: Carl Worth <cworth@cworth.org>
16423 Date: Fri May 18 13:16:23 2007 -0700
16425 ROADMAP: Add bugs for 565 and 655 Visuals to the list
16427 ROADMAP | 8 +++++---
16428 1 files changed, 5 insertions(+), 3 deletions(-)
16430 commit 7260ee23ecb08e72a938a194e70dfb5e7a48c599
16431 Author: Behdad Esfahbod <behdad@behdad.org>
16432 Date: Fri May 18 11:55:37 2007 -0400
16434 [Type1] #include <ctype.h> (#10989)
16436 src/cairo-type1-subset.c | 2 ++
16437 1 files changed, 2 insertions(+), 0 deletions(-)
16439 commit 6a42ddf0f9e9e4b8dc5fa6a98ef4448f1c149789
16440 Author: Adrian Johnson <ajohnson@redneon.com>
16441 Date: Thu May 17 12:45:22 2007 +0930
16443 TrueType Subsetting: Remove post table
16445 The post table is not used now that TrueType fonts are embedded
16446 in PDF as CID fonts.
16448 src/cairo-truetype-subset.c | 34 +---------------------------------
16449 1 files changed, 1 insertions(+), 33 deletions(-)
16451 commit 67e752f75fdc561aca419f798a1650feb22e59a4
16452 Author: Adrian Johnson <ajohnson@redneon.com>
16453 Date: Thu May 17 11:48:25 2007 +0930
16455 CFF Subsetting: Filter out Unique ID from subset
16457 The subsetted font is not the same as the original font so it should not
16458 have the same XUID and UniqueID.
16460 src/cairo-cff-subset.c | 7 +++++++
16461 1 files changed, 7 insertions(+), 0 deletions(-)
16463 commit 99a6983017e1cd27f8a598487f8a72cfa6d411f1
16464 Author: Adrian Johnson <ajohnson@redneon.com>
16465 Date: Thu May 17 10:17:09 2007 +0930
16467 Ensure surface backend finish() is never called more than once.
16469 Previously if the backend finish() function returned an error status,
16470 surface->finished was not set true. This would result in the backend
16471 finish() function being called twice which in the case of the PostScript
16472 backend caused a seg fault.
16474 src/cairo-surface.c | 4 +---
16475 1 files changed, 1 insertions(+), 3 deletions(-)
16477 commit c5ae0f1232e8cef860bc1fc0b449ddf9d9063d22
16478 Author: Chris Wilson <chris@chris-wilson.co.uk>
16479 Date: Fri May 11 16:11:02 2007 +0100
16481 [cairo-truetype-subset] Avoid a potential 0 byte allocation.
16483 During _cairo_truetype_subset_init skip copying the string_offsets if
16484 the vector is empty.
16486 src/cairo-truetype-subset.c | 21 +++++++++++++--------
16487 1 files changed, 13 insertions(+), 8 deletions(-)
16489 commit e37bee3f52282a042251f2dfc8e051943fd8f1d7
16490 Author: Chris Wilson <chris@chris-wilson.co.uk>
16491 Date: Wed May 16 14:47:33 2007 +0100
16493 [cairo-pdf-surface] emit_pattern_stops() array overrun.
16495 _cairo_pdf_surface_emit_pattern_stops() tried to set the last element
16496 to have an offset of exactly 1.0, but missed and set the next element
16497 after the end of the array.
16499 src/cairo-pdf-surface.c | 2 +-
16500 1 files changed, 1 insertions(+), 1 deletions(-)
16502 commit 27de1869f5a837b79812cd4b04e17621ec0f848c
16503 Author: Chris Wilson <chris@chris-wilson.co.uk>
16504 Date: Wed May 16 13:10:58 2007 +0100
16506 [cairo-pdf-surface] Free allstops on error.
16508 Ensure the locally allocated resources are freed on the error paths.
16510 src/cairo-pdf-surface.c | 18 +++++++++---------
16511 1 files changed, 9 insertions(+), 9 deletions(-)
16513 commit 79e6c0207cb65b6bc1f38537f42632d623a1bc9a
16514 Author: Chris Wilson <chris@chris-wilson.co.uk>
16515 Date: Sat May 12 18:27:58 2007 +0100
16517 [cairo-pattern] Check for the nil surface.
16519 cairo_surface_create_similar() does not return NULL as was being checked
16520 for, but the nil surface on error. Also ensure that the returned surface
16521 is destroyed if we encounter an error whilst compositing.
16523 src/cairo-pattern.c | 26 ++++++++++++++++++++++----
16524 1 files changed, 22 insertions(+), 4 deletions(-)
16526 commit 32c0ef9f145cec8b997c011b13208362eaf03004
16527 Author: Chris Wilson <chris@chris-wilson.co.uk>
16528 Date: Sat May 12 16:20:00 2007 +0100
16530 [cairo-gstate] Remove a redundant conditional.
16532 Simplify _cairo_gstate_text_to_glyphs() with a tail call.
16534 src/cairo-gstate.c | 9 ++-------
16535 1 files changed, 2 insertions(+), 7 deletions(-)
16537 commit 37d8c18b3fc489d6336131bae6ec219cafc35718
16538 Author: Chris Wilson <chris@chris-wilson.co.uk>
16539 Date: Sat May 12 15:42:59 2007 +0100
16541 [cairo-scaled-font-subsets] Destroy the glyph if we fail to cache it.
16543 If we fail to insert the glyph into the sub_font glyph cache then we
16544 must destroy it before propagating the error.
16546 src/cairo-scaled-font-subsets.c | 4 +++-
16547 1 files changed, 3 insertions(+), 1 deletions(-)
16549 commit 76e758df5b99fd4dee64481b9039b0d44dd01587
16550 Author: Chris Wilson <chris@chris-wilson.co.uk>
16551 Date: Sat May 12 15:40:39 2007 +0100
16553 [cairo-truetype-subset] Destroy the arrays on error.
16555 Growing the arrays may successfully allocate the indirect pointer, but
16556 fail whilst allocating the actual array - so always call
16557 _cairo_array_fini after _cairo_array_grow_by().
16559 src/cairo-truetype-subset.c | 22 +++++++++++-----------
16560 1 files changed, 11 insertions(+), 11 deletions(-)
16562 commit b63b32958e690409448ddc14e19b1856b9ef555a
16563 Author: Chris Wilson <chris@chris-wilson.co.uk>
16564 Date: Sat May 12 15:32:34 2007 +0100
16566 [cairo-scaled-font-subsets] Destroy the parent and subfont on error.
16568 If we fail to create the sub font destroy the local reference to the
16569 parent font and if we fail to insert the sub font into the hash table,
16570 destroy the newly create sub font.
16572 src/cairo-scaled-font-subsets.c | 16 ++++++++++++----
16573 1 files changed, 12 insertions(+), 4 deletions(-)
16575 commit fcd1076bcffa20b7770a1b447a46232760972e2f
16576 Author: Chris Wilson <chris@chris-wilson.co.uk>
16577 Date: Sat May 12 14:36:11 2007 +0100
16579 [cairo-ft-font] Destroy the path on error.
16581 During _decompose_glyph_outline() destroy the fixed path if we
16582 encounter an error.
16584 src/cairo-ft-font.c | 22 ++++++++++++----------
16585 1 files changed, 12 insertions(+), 10 deletions(-)
16587 commit abb19e61cf076c62c7626094c70de0530bd9fd00
16588 Author: Chris Wilson <chris@chris-wilson.co.uk>
16589 Date: Sat May 12 14:32:52 2007 +0100
16591 [cairo-ft-font] Destroy the unscaled reference on error.
16593 Release the reference to the unscaled font if we encounter an error
16594 whilst initialising the cairo_ft_scaled_font_t.
16596 src/cairo-ft-font.c | 1 +
16597 1 files changed, 1 insertions(+), 0 deletions(-)
16599 commit e4055f02a1f5a3d7942c7c2bb4f460ce0a8b5481
16600 Author: Chris Wilson <chris@chris-wilson.co.uk>
16601 Date: Sat May 12 14:29:28 2007 +0100
16603 [cairo-ft-font] Race between unscaled removal from hash table and creation
16605 Small window of opportunity for the unscaled font to be destroyed and
16606 removed from the hash table before
16607 _cairo_ft_unscaled_font_create_for_pattern() takes a reference on behalf
16608 of its cairo. Close the window by taking the reference with the font
16611 src/cairo-ft-font.c | 2 +-
16612 1 files changed, 1 insertions(+), 1 deletions(-)
16614 commit f239308ef1014174d554ccaeab1fe7c2d84e26dc
16615 Author: Chris Wilson <chris@chris-wilson.co.uk>
16616 Date: Sat May 12 13:27:09 2007 +0100
16618 [cairo-deflate-stream] Free the stream on error.
16620 Before returning the nil output stream, free the locally allocated
16621 stream when encountering an error during _cairo_deflate_stream_Create().
16623 src/cairo-deflate-stream.c | 4 +++-
16624 1 files changed, 3 insertions(+), 1 deletions(-)
16626 commit 35a2ed03352a1abc42e441ce5f52f2704de9be85
16627 Author: Chris Wilson <chris@chris-wilson.co.uk>
16628 Date: Sat May 12 12:36:47 2007 +0100
16630 [cairo-ft-font] Destroy surface if glyph transformation fails.
16632 As we allocated the surface we need to destroy it if we encounter an
16635 src/cairo-ft-font.c | 5 ++++-
16636 1 files changed, 4 insertions(+), 1 deletions(-)
16638 commit 6a43c027238d2302f9e01ee7a780370d330def6c
16639 Author: Chris Wilson <chris@chris-wilson.co.uk>
16640 Date: Sat May 12 09:43:30 2007 +0100
16642 [cairo-xlib-screen] Increase number of GC depths.
16644 Add support for depths 12 and 30, and a separate unknown.
16646 src/cairo-xlib-private.h | 2 +-
16647 src/cairo-xlib-screen.c | 14 ++++++++------
16648 2 files changed, 9 insertions(+), 7 deletions(-)
16650 commit 70611846ded98ffa0f085f5a704979384b37e84c
16651 Author: Chris Wilson <chris@chris-wilson.co.uk>
16652 Date: Sat May 12 09:40:13 2007 +0100
16654 [cairo-xlib-surface] Always nullify GC after pushing to screen.
16656 The status return from _cairo_xlib_screen_put_gc() indicates the failure
16657 to queue a job to free an old GC - the current GC is always transferred
16658 away from the caller, so always nullify it in the surface.
16660 src/cairo-xlib-surface.c | 11 +++++------
16661 1 files changed, 5 insertions(+), 6 deletions(-)
16663 commit 58c35e6d7b2e153dc9cd6ff89fa91497c507afaf
16664 Author: Chris Wilson <chris@chris-wilson.co.uk>
16665 Date: Sat May 12 00:10:26 2007 +0100
16667 [cairo-paginated-surface] Check surface status during finish.
16669 Propagate children status during finish.
16671 src/cairo-paginated-surface.c | 11 +++++++++--
16672 1 files changed, 9 insertions(+), 2 deletions(-)
16674 commit 9ffd8154e2ec2ccbeeefd3e4a34b2aa16844c1ce
16675 Author: Chris Wilson <chris@chris-wilson.co.uk>
16676 Date: Fri May 11 23:43:53 2007 +0100
16678 [cairo-scaled-font-subsets] Correctly destroy the hash table.
16680 After an allocation failure in
16681 _cairo_scaled_font_subsets_create_internal() call
16682 _cairo_hash_table_destroy() instead of a mere free().
16684 src/cairo-scaled-font-subsets.c | 2 +-
16685 1 files changed, 1 insertions(+), 1 deletions(-)
16687 commit bcfc5f0bdbd4c1eedc22bde5eed464a8bd18211e
16688 Author: Chris Wilson <chris@chris-wilson.co.uk>
16689 Date: Fri May 11 20:57:12 2007 +0100
16691 [pixman] Propagate allocation failure.
16693 pixman_op() failed to propagate the failure from
16694 pixman_region_appendNonO() and the generic op.
16696 pixman/src/pixregion.c | 24 +++++++++++++++++-------
16697 1 files changed, 17 insertions(+), 7 deletions(-)
16699 commit 9e99f0611c834f80903e3554663f71682ef59ef3
16700 Author: Chris Wilson <chris@chris-wilson.co.uk>
16701 Date: Fri May 11 20:38:24 2007 +0100
16703 [cairo-traps] Initialize traps to use embedded buffer.
16705 Set the traps to use the embedded buffer during initialization which will
16706 save one redundant _cairo_traps_grow()
16708 src/cairo-traps.c | 26 ++++++--------------------
16709 1 files changed, 6 insertions(+), 20 deletions(-)
16711 commit 35eb65b7772459266e2f954fb370bfdca12b5b64
16712 Author: Chris Wilson <chris@chris-wilson.co.uk>
16713 Date: Fri May 11 18:25:13 2007 +0100
16715 [cairo-path] Check for errors during the count.
16717 Return the nil object if we encounter any error whilst trying to
16720 Also special case the NO_MEMORY error object to return the nil object.
16722 src/cairo-path.c | 10 +++++++++-
16723 1 files changed, 9 insertions(+), 1 deletions(-)
16725 commit a60afb0e78ab42498158ef852fcea35c8f71e8ec
16726 Author: Chris Wilson <chris@chris-wilson.co.uk>
16727 Date: Fri May 11 16:01:26 2007 +0100
16729 [cairo-scaled-font] Return status of _cairo_scaled_font_glyph_path()
16731 The status return of _cairo_path_fixed_interpret() was being ignored,
16734 src/cairo-scaled-font.c | 3 +++
16735 1 files changed, 3 insertions(+), 0 deletions(-)
16737 commit d46f6872a5fe601862e2f63455c97a15c4667cf2
16738 Author: Behdad Esfahbod <behdad@behdad.org>
16739 Date: Sun May 13 21:52:52 2007 -0400
16741 [docs] Update to latest source changes and kill warnings
16743 doc/public/Headers.mk | 1 +
16744 doc/public/Makefile.am | 2 --
16745 doc/public/cairo-docs.xml | 6 +++---
16746 3 files changed, 4 insertions(+), 5 deletions(-)
16748 commit 40558cb15e5f7276a29847b00c9dae08b9d9380e
16749 Author: Chris Wilson <chris@chris-wilson.co.uk>
16750 Date: Sat May 12 10:10:49 2007 +0100
16752 [cairo-xlib-screen] Clear the gc_needs_clip_reset after use.
16754 After consuming the GC we need to unset the clip reset flag, so that
16755 if we try and get a new GC without first putting a fresh one we do not
16756 try to call XSetClipMask on a NULL GC.
16758 (Fixes http://bugs.freedesktop.org/show_bug.cgi?id=10921)
16760 src/cairo-xlib-screen.c | 4 +++-
16761 1 files changed, 3 insertions(+), 1 deletions(-)
16763 commit abba3f2375c58401b7722837b3be37c3de9beca4
16764 Author: Chris Wilson <chris@chris-wilson.co.uk>
16765 Date: Thu May 10 23:05:46 2007 +0100
16767 [valgrind-suppressions] Update to cover XrmGetStringDatabase
16769 By dropping the top frame from suppression, the XrmGetFileDatabase
16770 suppressions will also match XrmGetStringDatabase leaks which are
16773 test/.valgrind-suppressions | 42 ++++++++++++++----------------------------
16774 1 files changed, 14 insertions(+), 28 deletions(-)
16776 commit c4abc3a0e3ebb27bc0aa178651e496c514eb1fae
16777 Author: Chris Wilson <chris@chris-wilson.co.uk>
16778 Date: Thu May 10 21:28:48 2007 +0100
16780 [cairo-truetype-subset] Set CAIRO_STATUS_NO_MEMORY on malloc failure.
16782 _cairo_truetype_font_create() failed to update the status before
16783 returning after detecting an allocation failure, leaving its callers
16784 none the wishing - and eventually triggering a segmentation fault when
16785 the font was used in anger.
16787 src/cairo-truetype-subset.c | 16 ++++++++++++----
16788 1 files changed, 12 insertions(+), 4 deletions(-)
16790 commit ebababc0cf83f828d48200b8e316f57912fb0128
16791 Author: Chris Wilson <chris@chris-wilson.co.uk>
16792 Date: Thu May 10 19:24:54 2007 +0100
16794 [cairo-pattern] Return the nil cairo_pattern_t for CAIRO_STATUS_NO_MEMORY.
16796 If we asked to create a pattern after encountering an allocation failure,
16797 we can avoid another allocation by returning the nil pattern object.
16799 src/cairo-pattern.c | 3 +++
16800 1 files changed, 3 insertions(+), 0 deletions(-)
16802 commit e8e5f93ffec8321c029c0b95abcb3cd8cadcff31
16803 Author: Chris Wilson <chris@chris-wilson.co.uk>
16804 Date: Thu May 10 20:50:58 2007 +0100
16806 [cairo-meta-surface] Add a surface->status guard to meta_surface_replay()
16808 Before attempting to access the cairo_meta_surface_t specific members,
16809 we need to ensure that _cairo_meta_surface_replay() has received a true
16810 meta surface rather than an error surface (e.g. _cairo_surface_nil).
16812 src/cairo-meta-surface.c | 3 +++
16813 1 files changed, 3 insertions(+), 0 deletions(-)
16815 commit 195112697fac77e70ef36e00a2d557eda1e0e145
16816 Author: elaine <elaine.xiong@sun.com>
16817 Date: Thu May 10 13:58:44 2007 -0400
16819 [xlib] The buggy_repeat path should be removed for Xsun now
16821 Sun never released a version of Solaris with Xorg with the buggy repeat
16822 problem. This patch was only needed for development versions of Solaris
16823 Nevada (roughly builds 25-30). The latest S10U release and Nevada releases
16824 have a fixed Xorg. So no users should ever encounter this bug.
16826 We need to remove this test because Xsun has the same VendorString and a lower
16827 VendorRelease number so it falsely triggers buggy_repeat to be turned on.
16828 They just added Xrender support recently to Xsun, so this wasn't an issue
16831 src/cairo-xlib-surface.c | 3 ---
16832 1 files changed, 0 insertions(+), 3 deletions(-)
16834 commit ab6a767cf476c98b466c62dd410d0f61f8dd6bbb
16835 Author: Chris Wilson <chris@chris-wilson.co.uk>
16836 Date: Thu May 10 17:17:30 2007 +0100
16838 [cairo-scaled-font] Check for allocation failure.
16840 cairo_scaled_font_create() returns a nil object on failure whereas a few
16841 callers were checking for NULL.
16843 Secondly review the public entry points for cairo_scaled_font_*() to
16844 ensure that all check that they will not attempt to overwrite the
16845 read-only nil object.
16847 src/cairo-gstate.c | 7 +++----
16848 src/cairo-scaled-font-subsets.c | 2 ++
16849 src/cairo-scaled-font.c | 10 ++++++++--
16850 src/cairo-type1-fallback.c | 2 +-
16851 4 files changed, 14 insertions(+), 7 deletions(-)
16853 commit aec92188f1cf4ca34e890b0a4266425532f669d4
16854 Author: Chris Wilson <chris@chris-wilson.co.uk>
16855 Date: Thu May 10 09:29:24 2007 +0100
16857 [cairo-clip] Correctly report allocation failure
16859 Distinguish between the unrepresentable clip and the failure to allocate
16862 src/cairo-clip.c | 7 +++++--
16863 1 files changed, 5 insertions(+), 2 deletions(-)
16865 commit 1a719d1189243a76120b98371f84e074c8cd611e
16866 Author: Chris Wilson <chris@chris-wilson.co.uk>
16867 Date: Thu May 10 09:28:20 2007 +0100
16869 [cairo] Use _cairo_clip_nil for CAIRO_STATUS_NO_MEMORY
16871 When creating a error clip list for CAIRO_STATUS_NO_MEMORY, simply
16872 reuse the nil object rather than allocate a fresh list.
16874 src/cairo.c | 3 +++
16875 1 files changed, 3 insertions(+), 0 deletions(-)
16877 commit 3fbc4bb5ae27809f417ec2627fa515375e63a0e7
16878 Author: Chris Wilson <chris@chris-wilson.co.uk>
16879 Date: Wed May 9 21:41:17 2007 +0100
16881 [cairo-clip] Add missing error status for _cairo__clip_intersect_region()
16883 An out-of-memory error path missed setting CAIRO_STATUS_NO_MEMORY.
16885 src/cairo-clip.c | 2 ++
16886 1 files changed, 2 insertions(+), 0 deletions(-)
16888 commit b5d25068796d572b4b0c6e33eecc5f0736fb8f78
16889 Author: Chris Wilson <chris@chris-wilson.co.uk>
16890 Date: Wed May 9 16:27:42 2007 +0100
16892 [cairo] cairo_pop_group() returns a NULL pattern
16894 cairo_pop_group() checks for a NULL return from
16895 cairo_pattern_create_for_surface() instead of the nil cairo_pattern_t,
16896 and then returns a NULL pattern instead of the nil object.
16898 src/cairo.c | 6 +++---
16899 1 files changed, 3 insertions(+), 3 deletions(-)
16901 commit 6f09e93ad7ac4c941ba6c72b21ea4536d248f8d5
16902 Author: Chris Wilson <chris@chris-wilson.co.uk>
16903 Date: Wed May 9 13:39:08 2007 +0100
16905 [ciro-surface-fallback] Propagate status for _clip_and_composite_trapezoids
16907 The result of _clip_and_composite_trapezoids() was ignored by 2/3 of
16908 its callers - simply propagate the status.
16910 src/cairo-surface-fallback.c | 28 ++++++++++++++--------------
16911 1 files changed, 14 insertions(+), 14 deletions(-)
16913 commit ae5d4a1c17a46c0a6ea2e4c825ecce7a5cbbe28b
16914 Author: Chris Wilson <chris@chris-wilson.co.uk>
16915 Date: Wed May 9 13:19:54 2007 +0100
16917 [cairo] Return after detecting the invalid font-options.
16919 Do not continue to copy the contents of the nil cairo_font_options_t,
16920 but set the error on the context and return.
16922 src/cairo.c | 4 +++-
16923 1 files changed, 3 insertions(+), 1 deletions(-)
16925 commit dfd4d41ac99dbe5d8ea16aa4ce4809b66308c803
16926 Author: Chris Wilson <chris@chris-wilson.co.uk>
16927 Date: Wed May 9 12:30:40 2007 +0100
16929 [cairo-xlib-surface] Free the allocation if we fail to queue the work.
16931 Avoid the leak of the allocated argument if we fail to queue the work to
16934 src/cairo-xlib-surface.c | 5 ++++-
16935 1 files changed, 4 insertions(+), 1 deletions(-)
16937 commit 8ddfc1b2e4aeefb704e05e64661b5c9985788e99
16938 Author: Chris Wilson <chris@chris-wilson.co.uk>
16939 Date: Tue May 8 16:13:08 2007 +0100
16941 [cairo-pattern] Return status from _cairo_pattern_init_copy()
16943 During the copy, allocation of the gradient may fail and so the callers
16944 need to check for a pattern that returned in an error state. No callers
16945 did so and in order to force all callers to check the error status,
16946 the status return was added to _cairo_pattern_init_copy(). The early
16947 error checking may appear redundant for an object with an embedded
16948 structure, however it does fix an error where an uninitialised pattern
16951 ==1922== Process terminating with default action of signal 11 (SIGSEGV)
16952 ==1922== Access not within mapped region at address 0x55555555
16953 ==1922== at 0x402CF6F: _cairo_array_index (cairo-array.c:208)
16954 ==1922== by 0x402D4F3: _cairo_user_data_array_fini (cairo-array.c:370)
16955 ==1922== by 0x4046464: _cairo_pattern_fini (cairo-pattern.c:188)
16956 ==1922== by 0x404992A: _cairo_meta_surface_paint (cairo-meta-surface.c:266)
16957 ==1922== by 0x403FCE0: _cairo_surface_paint (cairo-surface.c:1331)
16958 ==1922== by 0x405CB5E: _test_meta_surface_paint (test-meta-surface.c:195)
16959 ==1922== by 0x403FCE0: _cairo_surface_paint (cairo-surface.c:1331)
16960 ==1922== by 0x4032A60: _cairo_gstate_paint (cairo-gstate.c:822)
16961 ==1922== by 0x402B2D1: cairo_paint (cairo.c:1879)
16962 ==1922== by 0x804A4F7: draw (radial-gradient.c:73)
16963 ==1922== by 0x804AFA4: cairo_test_expecting (cairo-test.c:326)
16964 ==1922== by 0x804A57C: main (radial-gradient.c:109)
16965 ==1922== Injected fault at:
16966 ==1922== at 0x4020EA5: malloc (vg_replace_malloc.c:207)
16967 ==1922== by 0x404475C: _cairo_pattern_init_copy (cairo-pattern.c:136)
16968 ==1922== by 0x403F779: _cairo_surface_copy_pattern_for_destination (cairo-surface.c:2153)
16969 ==1922== by 0x403FCC1: _cairo_surface_paint (cairo-surface.c:1328)
16970 ==1922== by 0x405CB5E: _test_meta_surface_paint (test-meta-surface.c:195)
16971 ==1922== by 0x403FCE0: _cairo_surface_paint (cairo-surface.c:1331)
16972 ==1922== by 0x4032A60: _cairo_gstate_paint (cairo-gstate.c:822)
16973 ==1922== by 0x402B2D1: cairo_paint (cairo.c:1879)
16974 ==1922== by 0x804A4F7: draw (radial-gradient.c:73)
16975 ==1922== by 0x804AFA4: cairo_test_expecting (cairo-test.c:326)
16976 ==1922== by 0x804A57C: main (radial-gradient.c:109)
16978 src/cairo-glitz-surface.c | 12 +++++++--
16979 src/cairo-gstate.c | 55 ++++++++++++++++++++++++++++++-------------
16980 src/cairo-meta-surface.c | 6 ++++-
16981 src/cairo-pattern.c | 30 +++++++++++++++++------
16982 src/cairo-quartz-surface.c | 6 ++++-
16983 src/cairo-surface.c | 47 ++++++++++++++++++++++++++-----------
16984 src/cairoint.h | 2 +-
16985 7 files changed, 113 insertions(+), 45 deletions(-)
16987 commit dbdaf0690e1121d0f810dfb035e7a9f0dae17248
16988 Author: Chris Wilson <chris@chris-wilson.co.uk>
16989 Date: Wed May 9 09:22:31 2007 +0100
16991 [cairo-scaled-font] Check _cairo_scaled_glyph_loop() status
16993 In _cairo_scaled_font_glyph_path() we forgot to check the status return
16994 of _cairo_scaled_glyph_loop() - propagate any failures.
16996 src/cairo-scaled-font.c | 2 ++
16997 1 files changed, 2 insertions(+), 0 deletions(-)
16999 commit b744c2705184c24845423d661258b39bbb17749b
17000 Author: James Cloos <cloos@jhcloos.com>
17001 Date: Wed May 9 02:50:59 2007 -0400
17003 [cairo-directfb-surface] Fix typo from commit a8c8e17d
17004 Fix typo in name of _cairo_directfb_surface_is_similar().
17006 src/cairo-directfb-surface.c | 2 +-
17007 1 files changed, 1 insertions(+), 1 deletions(-)
17009 commit cbc9218cd3f664682bcb5095c602adf9615535d0
17010 Author: Chris Wilson <chris@chris-wilson.co.uk>
17011 Date: Wed May 9 09:03:04 2007 +0100
17013 [cairo-xcb-surface] Fix compilation
17015 As spotted by James Cloos <cloos@jbcloos.com>, I broke the compilation...
17016 This is a minimal fix with no claims of completeness.
17018 src/cairo-xcb-surface.c | 6 +++---
17019 1 files changed, 3 insertions(+), 3 deletions(-)
17021 commit 069514a10ff2ca9ac86cc3dc1703aa19caa538e2
17022 Author: Chris Wilson <chris@chris-wilson.co.uk>
17023 Date: Tue May 8 18:19:56 2007 +0100
17025 [test/in-fill-empty-trapezoid] Cleanup after test failure.
17027 Ensure that the failure path also calls cairo_test_fini().
17029 test/in-fill-empty-trapezoid.c | 8 +++++---
17030 1 files changed, 5 insertions(+), 3 deletions(-)
17032 commit 43645eb486da1af91b3264af6c84ac18a1eddcaa
17033 Author: Chris Wilson <chris@chris-wilson.co.uk>
17034 Date: Tue May 8 20:25:21 2007 +0100
17036 [test/fallback-resolution] Cleanup after test failure
17038 Be valgrind clean even for test failures.
17040 test/fallback-resolution.c | 6 ++++--
17041 1 files changed, 4 insertions(+), 2 deletions(-)
17043 commit 21c6643b09c771454f913b444b6b040aaaacd3a8
17044 Author: Chris Wilson <chris@chris-wilson.co.uk>
17045 Date: Tue May 8 21:28:48 2007 +0100
17047 [cairo-surface] Check for errors when generating the scaled font.
17049 cairo_surface_show_glyphs() attempts to generate a device specific
17050 scaled font and so needs to check for failure before attempting to use
17053 src/cairo-surface.c | 5 +++++
17054 1 files changed, 5 insertions(+), 0 deletions(-)
17056 commit ede76a97ea5b68c3bd042dc6a93ecb1aa7c9761c
17057 Author: Chris Wilson <chris@chris-wilson.co.uk>
17058 Date: Tue May 8 17:26:22 2007 +0100
17060 [cairo-font-options] Check for the nil-object.
17062 The design is for the user to create a cairo_font_options_t object with
17063 cairo_font_options_create() and then is free to use it with any Cairo
17064 operation. This requires us to check when we may be about to overwrite
17065 the read-only nil object.
17067 src/cairo-font-face.c | 5 +++++
17068 src/cairo-font-options.c | 7 ++++++-
17069 src/cairo-gstate.c | 4 +---
17070 src/cairo-scaled-font.c | 10 ++++++++++
17071 src/cairo-surface.c | 3 +++
17072 src/cairo.c | 12 ++++++++----
17073 src/cairoint.h | 3 ++-
17074 7 files changed, 35 insertions(+), 9 deletions(-)
17076 commit c441938569ed78123a57662a70ef5a74dcf73851
17077 Author: Chris Wilson <chris@chris-wilson.co.uk>
17078 Date: Tue May 8 21:40:26 2007 +0100
17080 [cairo-pattern] Cleanly handle an invalid pattern in cairo_pattern_transform()
17082 Simply return without writing to potentially read-only members of an
17083 invalid pattern rather than assert. This is cleaner than tracking down
17084 all the error paths that may call into cairo_pattern_transform()...
17086 src/cairo-pattern.c | 3 ++-
17087 1 files changed, 2 insertions(+), 1 deletions(-)
17089 commit 409f9734297be250de5e462e2d52e653bd893125
17090 Author: Behdad Esfahbod <behdad@behdad.org>
17091 Date: Tue May 8 14:18:42 2007 -0400
17093 [test] If a test target fails, end the test
17094 otherwise cairo is left in a dirty state and further tests are
17097 test/cairo-test.c | 6 ++++--
17098 1 files changed, 4 insertions(+), 2 deletions(-)
17100 commit aad66d05fd0f310564e80c9ff59526028871751c
17101 Author: Chris Wilson <chris@chris-wilson.co.uk>
17102 Date: Tue May 8 16:40:24 2007 +0100
17104 [test/nil-surface] Destroy the auxiliary context on failure paths.
17106 Just to be tidy, and aim to be valgrind-clean.
17108 test/nil-surface.c | 5 +++++
17109 1 files changed, 5 insertions(+), 0 deletions(-)
17111 commit e3acacc096d7db947e7c8f2167a6d97f04c403b1
17112 Author: Chris Wilson <chris@chris-wilson.co.uk>
17113 Date: Tue May 8 16:35:14 2007 +0100
17115 [cairo-boilerplate-ps] Destroy the target on creation failure
17117 Remember to destroy the ptc->target as well as the ordinary surface, if
17120 boilerplate/cairo-boilerplate-ps.c | 2 ++
17121 1 files changed, 2 insertions(+), 0 deletions(-)
17123 commit efd212bfa25cb44b9499b89f93aa7167a9544ccb
17124 Author: Chris Wilson <chris@chris-wilson.co.uk>
17125 Date: Tue May 8 16:23:07 2007 +0100
17127 [cairo-boilerplate] Protect against the nil cairo_scaled_font_t
17129 Beware the NULL pointer deference when trying to adjust the max glyph
17132 boilerplate/cairo-boilerplate.c | 3 +++
17133 1 files changed, 3 insertions(+), 0 deletions(-)
17135 commit b85920684f8feaba8d2d5b0262c60b4960c223b8
17136 Author: Chris Wilson <chris@chris-wilson.co.uk>
17137 Date: Tue May 8 14:01:00 2007 +0100
17139 [cairo-test] Destroy the check image on failure
17141 If drawing the checker pattern should fail, we need to free the
17142 resources allocated locally.
17144 test/cairo-test.c | 4 +++-
17145 1 files changed, 3 insertions(+), 1 deletions(-)
17147 commit 0bf3ffacda5dbfc4fd8a5a0d5fd37d9630f5bcdb
17148 Author: Chris Wilson <chris@chris-wilson.co.uk>
17149 Date: Tue May 8 13:55:04 2007 +0100
17151 [test-fallback-surface] Destroy the backing image on malloc failure.
17153 Ensure we free all local resource should we encounter an allocation
17154 failure during _cairo_test_fallback_surface_create().
17156 src/test-fallback-surface.c | 1 +
17157 1 files changed, 1 insertions(+), 0 deletions(-)
17159 commit eac18d44c7559fe393abf6706b52e5a8edbfd5e9
17160 Author: Chris Wilson <chris@chris-wilson.co.uk>
17161 Date: Tue May 8 12:46:42 2007 +0100
17163 [cairo-paginated-surface] Propagate malloc failure
17165 Check for an allocation failure during _cairo_analysis_surface_create()
17166 and propagate to caller - where we discover that the callers themselves
17167 missed the status checks...
17169 src/cairo-paginated-surface.c | 10 ++++++++--
17170 1 files changed, 8 insertions(+), 2 deletions(-)
17172 commit 0d8a1540ec53ecc309a10e77ea7788fcd16d8345
17173 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
17174 Date: Tue May 8 09:11:57 2007 +0200
17176 SVG: Don't clip SVG element, as clipping region is implicit.
17178 That makes editing of produced SVG easier.
17180 src/cairo-svg-surface-private.h | 1 +
17181 src/cairo-svg-surface.c | 53 +++++++++++++++++++--------------------
17182 2 files changed, 27 insertions(+), 27 deletions(-)
17184 commit 936c965777c867bd4de7fd2278335837cc24eb22
17185 Author: Jinghua Luo <sunmoon1997@gmail.com>
17186 Date: Tue May 8 13:24:40 2007 +0800
17188 glitz: kill some compiler warnings.
17190 src/cairo-glitz-surface.c | 11 +++++++++--
17191 1 files changed, 9 insertions(+), 2 deletions(-)
17193 commit 413705872e321288bff1368c62eacad11805c2fc
17194 Author: Jinghua Luo <sunmoon1997@gmail.com>
17195 Date: Tue May 8 13:19:35 2007 +0800
17197 glitz: fix a typo preventing build glitz backend from succeeding.
17199 src/cairo-glitz-surface.c | 2 +-
17200 1 files changed, 1 insertions(+), 1 deletions(-)
17202 commit d81907734e18fb9302e78eccb1e25a838223b726
17203 Author: Chris Wilson <chris@chris-wilson.co.uk>
17204 Date: Sat May 5 12:33:29 2007 +0100
17206 [cairo-color] Only compare the shorts for equality.
17208 By only checking the premultiplied shorts inside the cairo_color_t we
17209 only have to compare at most 8 bytes instead of the full 24 bytes.
17211 src/cairo-color.c | 5 ++++-
17212 1 files changed, 4 insertions(+), 1 deletions(-)
17214 commit 966a39396eb75d9d4ecc9997bb21d62fba176f78
17215 Author: Chris Wilson <chris@chris-wilson.co.uk>
17216 Date: Fri May 4 15:25:18 2007 +0100
17218 [NEWS] Surface cache for solid patterns
17220 Add an entry describing the surface cache to NEWS.
17222 NEWS | 21 +++++++++++++++++++++
17223 1 files changed, 21 insertions(+), 0 deletions(-)
17225 commit 056d149212ce4999f8984db62b880ff2eb998ab3
17226 Author: Chris Wilson <chris@chris-wilson.co.uk>
17227 Date: Wed May 2 12:54:49 2007 +0100
17229 [cairo-pattern] Don't cache fallback surfaces
17231 _cairo_surface_create_similar_solid() may return an image surface,
17232 should the backend not support the required content or should it
17233 encounter an error whilst creating the surface. In those circumstances
17234 we choose not to cache the fallback surface.
17236 src/cairo-pattern.c | 8 +++++++-
17237 1 files changed, 7 insertions(+), 1 deletions(-)
17239 commit a8c8e17d845c7060286dac58b553fb717b270788
17240 Author: Chris Wilson <chris@chris-wilson.co.uk>
17241 Date: Wed May 2 10:00:22 2007 +0100
17243 [cairo-pattern] Cache surface for solid patterns
17245 Original work by Jorn Baayen <jorn@openedhand.com>,
17246 2715f2098127d04d2f9e304580a26cd0842c0e64
17248 We use a small cache of size 16 for surfaces created for solid patterns.
17249 This mainly helps with the X backends where we don't have to create a
17250 pattern for every operation, so we save a lot on X traffic. Xft uses a
17251 similar cache, so cairo's text rendering traffic with the xlib backend
17252 now completely matches that of Xft.
17254 The cache uses an static index variable, which itself acts like a cache of
17255 size 1, remembering the most recently used solid pattern. So repeated
17256 lookups for the same pattern hit immediately. If that fails, the cache is
17257 searched linearly, and if that fails too, a new surface is created and a
17258 random member of the cache is evicted.
17260 A cached surface can only be reused if it is similar to the destination.
17261 In order to check for similar surfaces a new test is introduced for the
17262 backends to determine that the cached surface is as would be returned by
17263 a _create_similar() call for the destination and content.
17265 As surfaces are in general complex encapsulation of graphics state we
17266 only return unshared cached surfaces and reset them (to clear any error
17267 conditions and graphics state). In practice this makes little difference
17268 to the efficacy of the cache during various benchmarks. However, in order
17269 to transparently share solid surfaces it would be possible to implement a
17272 Cache hit rates: (hit same index + hit in cache) / lookups
17273 cairo-perf: (42346 + 28480) / 159600 = 44.38%
17274 gtk-theme-torturer: (3023 + 3502) / 6528 = 99.95%
17275 gtk-perf: (8270 + 3190) / 21504 = 53.29%
17277 This translates into a reduction of about 25% of the XRENDER traffic during
17280 src/cairo-directfb-surface.c | 15 ++++-
17281 src/cairo-glitz-surface.c | 40 ++++++++++++-
17282 src/cairo-image-surface.c | 29 ++++++++-
17283 src/cairo-mutex-list-private.h | 3 +-
17284 src/cairo-pattern.c | 135 +++++++++++++++++++++++++++++++++++-----
17285 src/cairo-pdf-surface.c | 3 +
17286 src/cairo-surface.c | 57 +++++++++++++++++
17287 src/cairo-win32-surface.c | 29 ++++++++-
17288 src/cairo-xcb-surface.c | 39 +++++++++++-
17289 src/cairo-xlib-surface.c | 45 +++++++++++++-
17290 src/cairoint.h | 16 +++++
17291 11 files changed, 388 insertions(+), 23 deletions(-)
17293 commit 52472b740e821dee444ede1fff041a99d344daab
17294 Author: Chris Wilson <chris@chris-wilson.co.uk>
17295 Date: Tue May 1 18:34:47 2007 +0100
17297 [cairo-xlib-surface] Defer application of clip mask until required.
17299 By deferring the issuing of the X requests to set the clip mask we can
17300 theoretically avoid some redundant requests, but primarily we remove
17301 another path where X requests are emitted.
17303 src/cairo-xlib-surface-private.h | 7 ++++
17304 src/cairo-xlib-surface.c | 72 ++++++++++++++++++--------------------
17305 2 files changed, 41 insertions(+), 38 deletions(-)
17307 commit a81823cdf9a147d02bb2365558ba667ab52fb3c9
17308 Author: Chris Wilson <chris@chris-wilson.co.uk>
17309 Date: Fri Apr 20 17:32:25 2007 +0100
17311 [cairo-xlib-display] Allocate the close_display hooks from a freelist.
17313 Similar to job allocation, but only useful for toolkits like GTK+ which
17314 recreate a new xlib surface for each expose.
17316 src/cairo-xlib-display.c | 105 ++++++++++++++++++++++++---------------------
17317 src/cairo-xlib-private.h | 1 +
17318 2 files changed, 57 insertions(+), 49 deletions(-)
17320 commit c29ffc64ca341623d21a7861f1b5f131b420d20f
17321 Author: Chris Wilson <chris@chris-wilson.co.uk>
17322 Date: Fri Apr 20 16:33:56 2007 +0100
17324 [cairo-xlib-display] Cache the screen_info for the lifetime of the display.
17326 Hold an extra reference to the screen_info and explicitly destroy the
17327 list of screens on CloseDisplay.
17329 src/cairo-xlib-display.c | 19 +++++++++++++++++++
17330 src/cairo-xlib-screen.c | 3 +--
17331 2 files changed, 20 insertions(+), 2 deletions(-)
17333 commit 1d6f7b7a0282d1b24bec82d9ad113b0d0a0cde98
17334 Author: Chris Wilson <chris@chris-wilson.co.uk>
17335 Date: Thu Apr 19 13:01:52 2007 +0100
17337 [cairo-xlib] Cache freed GCs
17339 Maintain a cache of freed GCs, one for each used depth.
17341 src/cairo-xlib-display.c | 6 +++-
17342 src/cairo-xlib-private.h | 10 ++++++
17343 src/cairo-xlib-screen.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++
17344 src/cairo-xlib-surface.c | 22 ++++++++------
17345 4 files changed, 98 insertions(+), 10 deletions(-)
17347 commit 88c6d25d4e53ddad6f3d465b2f5249c76a421b82
17348 Author: Chris Wilson <chris@chris-wilson.co.uk>
17349 Date: Tue Apr 17 12:03:07 2007 +0100
17351 [cairo-xlib-surface] Defer xlib resource cleanup.
17353 Due to caching, destruction of X11 resources may occur outside of a
17354 usable X11 context. To avoid this, we defer the destruction onto a work
17355 queue which will be run the next time we try to use the X11 connection
17356 on behalf of the user (at which point we must have a usable X11 context!)
17357 or we are closing the Display.
17359 src/cairo-xlib-surface.c | 180 +++++++++++++++++++++++++++++++++++++++------
17360 1 files changed, 156 insertions(+), 24 deletions(-)
17362 commit 8ad30ccdb0a00701b15003edb2fe0cd4a8a9dfb7
17363 Author: Chris Wilson <chris@chris-wilson.co.uk>
17364 Date: Thu Apr 19 12:15:04 2007 +0100
17366 [cairo-xlib] Introduce a workqueue for deferred destruction of X resources.
17368 Due to the nature of the reference counting, an X resource may be
17369 destroyed later than anticipated and possibly from a different thread
17370 than the original context. This becomes an issue for applications that
17371 carefully manage their single X connection from a single thread and do
17372 not use locking and are then suprised when cairo triggers X traffic when
17373 performing work for a different part of the application in another thread.
17375 src/cairo-xlib-display.c | 171 +++++++++++++++++++++++++++++++++++++++++++++-
17376 src/cairo-xlib-private.h | 18 +++++
17377 src/cairo-xlib-screen.c | 1 -
17378 src/cairo-xlib-surface.c | 21 +++++-
17379 4 files changed, 205 insertions(+), 6 deletions(-)
17381 commit dd8681b76b088bab45c99510258920f027490f70
17382 Author: Chris Wilson <chris@chris-wilson.co.uk>
17383 Date: Mon Apr 16 15:04:08 2007 +0100
17385 [cairo-xlib] Split per-display attributes from per-screen.
17387 Previously, we stored the per-display attributes inside a special
17388 screen=NULL _cairo_xlib_screen_info_t. Now we keep track of known X
17389 displays and store the screen information beneath the display structure
17390 alongside the per-display hooks.
17392 src/Makefile.am | 8 +-
17393 src/cairo-debug.c | 4 -
17394 src/cairo-mutex-list-private.h | 2 +-
17395 src/cairo-xlib-display.c | 258 +++++++++++++++++++++++++++++++++
17396 src/cairo-xlib-private.h | 37 ++++-
17397 src/cairo-xlib-screen.c | 309 ++++++++-------------------------------
17398 src/cairo-xlib-surface.c | 2 +-
17399 src/cairoint.h | 6 -
17400 8 files changed, 359 insertions(+), 267 deletions(-)
17402 commit 9919f1ed9ccbec637252e06dd1de5f4665c873b4
17403 Author: Behdad Esfahbod <behdad@behdad.org>
17404 Date: Thu May 3 19:54:31 2007 -0400
17406 [TODO] Add link to cairo_copy_clip() proposal
17409 1 files changed, 1 insertions(+), 0 deletions(-)
17411 commit e5d9d51e55eb45704de6d98ac9265743af56711f
17412 Author: Behdad Esfahbod <behdad@behdad.org>
17413 Date: Thu May 3 19:04:21 2007 -0400
17415 [cairo-mutex] Fix typo.
17417 src/cairo-mutex.c | 8 ++++----
17418 1 files changed, 4 insertions(+), 4 deletions(-)
17420 commit 5ec27eef9566faa22fb1cbaf1a103a57ba5296c8
17421 Author: Chris Wilson <chris@chris-wilson.co.uk>
17422 Date: Thu May 3 13:46:25 2007 +0100
17424 [pixman] Free the old rects if we fail to allocate new.
17426 During the pixman_op, a complicated dance is performed to handle
17427 enlarging the rectangle array to accommodate the op. One consequence
17428 of this is to, under certain circumstances, replace the current
17429 rectangle array with emptyData and track the old array with oldData.
17430 Hence if we fail to realloc the enlarged array we need to free oldData.
17432 pixman/src/pixregion.c | 8 ++++++--
17433 1 files changed, 6 insertions(+), 2 deletions(-)
17435 commit ef3070821713c33fab78abb191e27a62e165f6c6
17436 Author: Behdad Esfahbod <behdad@behdad.org>
17437 Date: Wed May 2 16:22:13 2007 -0400
17439 [boilerplate] Fix typo
17441 boilerplate/xmalloc.h | 2 +-
17442 1 files changed, 1 insertions(+), 1 deletions(-)
17444 commit c412e42c72c0ff53c678119638357ed95897ed78
17445 Author: Chris Wilson <chris@chris-wilson.co.uk>
17446 Date: Wed May 2 21:17:39 2007 +0100
17448 [cairo-xlib-surface] Check that the acquire surfaces are xlib surfaces
17450 _cairo_pattern_acquire_surfaces() may substitute an image surface for
17451 either the source or the mask should the backend not support creation
17452 of similar scratch surfaces or an error occurs during creation. For
17453 composition we require xlib surfaces and so we must trigger the
17454 fallback path if this happens.
17456 src/cairo-xlib-surface.c | 10 ++++++++++
17457 1 files changed, 10 insertions(+), 0 deletions(-)
17459 commit f3153091b742daffa853f2c31b76aa9689c5165a
17460 Author: Behdad Esfahbod <behdad@behdad.org>
17461 Date: Tue May 1 20:10:39 2007 -0400
17463 [cairo-mutex] Document the API for adding cairo_mutex_t implementations
17465 src/cairo-mutex-type-private.h | 83 ++++++++++++++++++++++++++++++++++++++++
17466 1 files changed, 83 insertions(+), 0 deletions(-)
17468 commit 5bfd6553fd028f1429d72c60d04788de4a3c0d58
17469 Author: Behdad Esfahbod <behdad@behdad.org>
17470 Date: Tue May 1 19:48:33 2007 -0400
17472 [cairo-mutex] Define a NOOP CAIRO_MUTEX_FINALIZE() for pthread
17473 as now the mutex layer will define a generic CAIRO_MUTEX_FINALIZE()
17474 whenever the implementation defines CAIRO_MUTEX_FINI(). In the
17475 case of pthread however we don't need finalization as we don't
17476 have any place to call it, and pthread_mutex_destroy() doesn't
17479 src/cairo-mutex-type-private.h | 1 +
17480 1 files changed, 1 insertions(+), 0 deletions(-)
17482 commit c4e0a059feb9c2e0c32966dcb168861e75a244b7
17483 Author: Behdad Esfahbod <behdad@behdad.org>
17484 Date: Tue May 1 19:46:51 2007 -0400
17486 [cairo-mutex] Remove NOOP definition of CAIRO_MUTEX_INITIALIZE
17487 as now the mutex layer will use a NOOP CAIRO_MUTEX_INITIALIZE
17488 by default if the implementation does not define CAIRO_MUTEX_INIT.
17490 src/cairo-mutex-type-private.h | 1 -
17491 1 files changed, 0 insertions(+), 1 deletions(-)
17493 commit 06cc74d974a99526829df558606174b41b0ee6e1
17494 Author: Behdad Esfahbod <behdad@behdad.org>
17495 Date: Tue May 1 19:45:29 2007 -0400
17497 [cairo-mutex] Rewrite defaults for CAIRO_MUTEX macros not defined by the implementation
17498 to make them better match the design I have in mind, that I will
17499 document in a minute. They are a lot more readable and understandable
17502 src/cairo-mutex-private.h | 93 ++++++++++++++++++++++++++++++++------------
17503 src/cairo-mutex.c | 18 +++++++-
17504 2 files changed, 82 insertions(+), 29 deletions(-)
17506 commit e87a25dc7c73a44b0cdfc4ef368736e7f77fb522
17507 Author: Behdad Esfahbod <behdad@behdad.org>
17508 Date: Tue May 1 19:24:26 2007 -0400
17510 [cairo-mutex] Fix usage of CAIRO_MUTEX_DECLARE()
17512 Previously cairo-mutex.c was abusing cairo-mutex-private.h by
17513 defining CAIRO_MUTEX_DECLARE before including it, and
17514 cairo-mutex-private.h was simply not overriding any available
17515 CAIRO_MUTEX_DECLARE. This is not the way it should be.
17516 cairo-mutex.c should instead define CAIRO_MUTEX_DECLARE and
17517 include cairo-mutex-list-private.h for itself.
17519 src/cairo-mutex-private.h | 4 +---
17520 src/cairo-mutex.c | 9 +++++----
17521 2 files changed, 6 insertions(+), 7 deletions(-)
17523 commit 1a33e44aa5d73f568c4164c41f9595964e9f1bbb
17524 Author: Behdad Esfahbod <behdad@behdad.org>
17525 Date: Tue May 1 18:13:19 2007 -0400
17527 [RELEASING] Update GNOME URL to point to 2.19 planning page
17530 1 files changed, 1 insertions(+), 1 deletions(-)
17532 commit 4764e6222bf4d5223fc2fbb139bb31a24819b2b5
17533 Author: Behdad Esfahbod <behdad@behdad.org>
17534 Date: Tue May 1 00:50:03 2007 -0400
17536 [cairo-mutex] Improve error message if no thread implementation found
17538 to put back Carl's "acknowledge and accept" clause (!) before suggesting
17539 use of CAIRO_NO_MUTEX.
17541 src/cairo-mutex-type-private.h | 4 ++--
17542 1 files changed, 2 insertions(+), 2 deletions(-)
17544 commit b5f015f21f3c800919a85f03a081a3ec1648a794
17545 Author: Behdad Esfahbod <behdad@behdad.org>
17546 Date: Tue May 1 00:48:33 2007 -0400
17548 [cairo-mutex] Make sure mutex implementation declares enough macros
17550 We have defaults for the rest.
17552 src/cairo-mutex-private.h | 11 +++++++++++
17553 1 files changed, 11 insertions(+), 0 deletions(-)
17555 commit b0a0a1779dc5cc16423473b6d80ee5099793a47f
17556 Author: Behdad Esfahbod <behdad@behdad.org>
17557 Date: Tue May 1 00:47:02 2007 -0400
17559 [cairo-mutex] Make CAIRO_MUTEX_INIT/FINI take mutex object, not pointer to it
17561 This is more consistent with CAIRO_MUTEX_LOCK/UNLOCK.
17563 src/cairo-ft-font.c | 4 ++--
17564 src/cairo-mutex-private.h | 2 +-
17565 src/cairo-mutex-type-private.h | 19 +++++++------------
17566 src/cairo-mutex.c | 4 ++--
17567 src/cairo-scaled-font.c | 4 ++--
17568 5 files changed, 14 insertions(+), 19 deletions(-)
17570 commit f9154f7eda4272ff99cc8a894082cc5aa1b008ef
17571 Author: Behdad Esfahbod <behdad@behdad.org>
17572 Date: Tue May 1 00:44:42 2007 -0400
17574 [cairo-mutex] Make sure CAIRO_MUTEX_FINI() evaluates its argument once
17576 src/cairo-mutex-private.h | 2 +-
17577 src/cairo-mutex-type-private.h | 3 ++-
17578 2 files changed, 3 insertions(+), 2 deletions(-)
17580 commit a8d47d0c001a36ddd6c9f09247e6eada408edb24
17581 Author: Behdad Esfahbod <behdad@behdad.org>
17582 Date: Tue May 1 00:43:15 2007 -0400
17584 [cairo-mutex] Rename macro arguments from "name" to "mutex"
17586 src/cairo-mutex-private.h | 6 +++---
17587 src/cairo-mutex-type-private.h | 20 ++++++++++----------
17588 src/cairo-mutex.c | 4 ++--
17589 3 files changed, 15 insertions(+), 15 deletions(-)
17591 commit f57a536fceec73435bb13c44275717792b9b3a8c
17592 Author: Carl Worth <cworth@cworth.org>
17593 Date: Tue May 1 13:45:58 2007 -0700
17595 Increment version to 1.4.7 after the 1.4.6 release
17597 configure.in | 2 +-
17598 1 files changed, 1 insertions(+), 1 deletions(-)
17600 commit ddca8fec07ff95caeda6e4ce9efc3239b146bd2d
17601 Author: Carl Worth <cworth@cworth.org>
17602 Date: Tue May 1 13:37:16 2007 -0700
17604 perf: Add $(EXTRA_PROGRAMS) to CLEANFILES
17606 Otherwise these programs stick around and break distclean,
17607 distcheck, and hence release-publish targets.
17609 perf/Makefile.am | 1 +
17610 1 files changed, 1 insertions(+), 0 deletions(-)
17612 commit 0390ed4f189365d595b40a45b0cf9eef5aa0c6ba
17613 Author: Carl Worth <cworth@cworth.org>
17614 Date: Tue May 1 13:24:43 2007 -0700
17616 Increment version to 1.4.6 (and library versioning to 13:3:11)
17618 configure.in | 4 ++--
17619 1 files changed, 2 insertions(+), 2 deletions(-)
17621 commit c9e0bb5c79abfc50ae6a24f603c5493c3ac68e40
17622 Author: Carl Worth <cworth@cworth.org>
17623 Date: Tue May 1 13:20:56 2007 -0700
17625 NEWS: Add notes for cairo 1.4.6
17627 NEWS | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17628 1 files changed, 116 insertions(+), 0 deletions(-)
17630 commit 7f7f4d4f35cd640733b990fcff924a090b43d360
17631 Author: Chris Wilson <chris@chris-wilson.co.uk>
17632 Date: Tue May 1 12:37:38 2007 +0100
17634 [cairo-xlib-surface.c] Free the Pixmap on surface construction failure.
17636 If we create the Pixmap whilst constructing a similar xlib surface, then
17637 it our responsibility to free the Pixmap should we fail to allocate the
17640 src/cairo-xlib-surface.c | 2 ++
17641 1 files changed, 2 insertions(+), 0 deletions(-)
17643 commit 3e3bd4df7e810a9acd14cd6f3717633f71691b9e
17644 Author: Chris Wilson <chris@chris-wilson.co.uk>
17645 Date: Tue May 1 11:28:45 2007 +0100
17647 Minor typo in cairo_surface_destroy() documentation.
17649 The type of @surface is #cairo_surface_t, not #cairo_t.
17651 src/cairo-surface.c | 2 +-
17652 1 files changed, 1 insertions(+), 1 deletions(-)
17654 commit f7cdbd385a02d023e35357cd27dcc165ada667f2
17655 Author: Behdad Esfahbod <behdad@behdad.org>
17656 Date: Tue May 1 00:41:07 2007 -0400
17658 [cairo-mutex-private.h] Move implementation-specific parts to cairo-mutex-type-private.h
17660 This fixes the problem reported by Dave Yeo that boilerplate wasn't building:
17662 In file included from ../src/cairo-scaled-font-private.h:44,
17663 from cairo-boilerplate.c:65:
17664 ../src/cairo-mutex-private.h:183: error: syntax error before "extern"
17665 ../src/cairo-mutex-private.h:184: error: syntax error before "void"
17666 ../src/cairo-mutex-private.h:185: error: syntax error before "void"
17667 make[3]: *** [cairo-boilerplate.lo] Error 1
17669 src/Makefile.am | 1 +
17670 src/cairo-mutex-private.h | 81 +-----------------------
17671 src/cairo-mutex-type-private.h | 131 +++++++++++++++++++++++++++++++++++++++
17672 src/cairo-scaled-font-private.h | 2 +-
17673 4 files changed, 135 insertions(+), 80 deletions(-)
17675 commit 6de0f2d15775a451ead2cc3e80530b7dc6b321a3
17676 Author: Behdad Esfahbod <behdad@behdad.org>
17677 Date: Mon Apr 30 22:38:00 2007 -0400
17679 [cairo-mutex] Fix CAIRO_MUTEX_FINALIZE definition to take parantheses
17680 This was breaking build on some systems as reported by Adrian Johnson
17683 src/cairo-mutex-private.h | 2 +-
17684 1 files changed, 1 insertions(+), 1 deletions(-)
17686 commit 3f297a0fccb01f4e10a093ddc44a25a937364447
17687 Author: Behdad Esfahbod <behdad@behdad.org>
17688 Date: Mon Apr 30 22:00:31 2007 -0400
17690 [TODO] Add various items discussed recently
17692 TODO | 13 ++++++++++++-
17693 1 files changed, 12 insertions(+), 1 deletions(-)
17695 commit 51440ad9027bd9ccf7d987c234995470f7699043
17696 Author: Behdad Esfahbod <behdad@behdad.org>
17697 Date: Mon Apr 30 21:57:29 2007 -0400
17699 [ROADMAP] Mark clipping trapezoids done
17702 1 files changed, 1 insertions(+), 1 deletions(-)
17704 commit 8ea48710dc933cd5dd52fb7d0c29eb8994a5d160
17705 Author: Behdad Esfahbod <behdad@behdad.org>
17706 Date: Mon Apr 30 19:20:56 2007 -0400
17708 [perf] Check availability before including nonstandard headers
17710 configure.in | 4 ++++
17711 perf/cairo-perf-diff-files.c | 2 ++
17712 perf/cairo-perf.c | 6 +++++-
17713 3 files changed, 11 insertions(+), 1 deletions(-)
17715 commit fbc8bf05033a652d26c1defa56d12183e4009870
17716 Author: Behdad Esfahbod <behdad@behdad.org>
17717 Date: Mon Apr 30 19:11:31 2007 -0400
17719 [perf] Don't build cairo-perf in "make all"
17721 perf/Makefile.am | 2 +-
17722 1 files changed, 1 insertions(+), 1 deletions(-)
17724 commit 4be608399f0d196a792f84fe4ddfce9acd2ea943
17725 Author: Adrian Johnson <ajohnson@redneon.com>
17726 Date: Sun Apr 29 19:29:24 2007 +0930
17728 Fix cygwin compile error
17730 The WINVER macros need to be defined before including <windows.h>.
17731 As a result of some recent include file rearranging, <windows.h>
17732 was included indirectly before WINVER was defined.
17734 src/cairo-mutex-private.h | 12 ------------
17735 src/cairo-win32-surface.c | 11 ++++++-----
17736 2 files changed, 6 insertions(+), 17 deletions(-)
17738 commit a5d1fc923fdef354ceed8478c93e8b7cb734158a
17739 Author: Chris Wilson <chris@chris-wilson.co.uk>
17740 Date: Mon Apr 30 16:05:36 2007 +0100
17742 Free all memory when cairo-perf exits.
17744 Similar to cairo-test, we free any global memory used by cairo for its
17745 caches through the debug interfaces. We do this so that valgrind does
17746 not unnecessary warn about memory leaks for the cached data and any true
17747 leak is then not lost in the noise.
17749 perf/cairo-perf.c | 19 +++++++++++++++++++
17750 1 files changed, 19 insertions(+), 0 deletions(-)
17752 commit 7e6ab5461c2eb75c948bcb4725613ebe826c697a
17753 Author: Carl Worth <cworth@cworth.org>
17754 Date: Sat Apr 28 07:46:56 2007 -0700
17756 Add missing prototypes for getline and strndup
17758 This is needed to prevent breaking the build for non-GNU systems.
17760 perf/cairo-perf-diff-files.c | 12 ++++++++++--
17761 1 files changed, 10 insertions(+), 2 deletions(-)
17763 commit 422798db1d73c1a8ecc5877133b0325023f38e61
17764 Author: Carl Worth <cworth@cworth.org>
17765 Date: Sat Apr 28 07:46:15 2007 -0700
17767 cairo-perf-diff-files: Add missing include of libgen.h for basename
17769 perf/cairo-perf-diff-files.c | 1 +
17770 1 files changed, 1 insertions(+), 0 deletions(-)
17772 commit d89d8e6b45b7c13b77aa7c2f1c480f58429b08af
17773 Author: Carl Worth <cworth@cworth.org>
17774 Date: Sat Apr 28 07:45:26 2007 -0700
17776 pixman.h: Add missing definition of WARN_UNUSED_RESULT
17778 This was breaking the build on systems without support for the
17779 __warn_unused_result__ attribute.
17781 pixman/src/pixman.h | 3 +++
17782 1 files changed, 3 insertions(+), 0 deletions(-)
17784 commit cb6fcdae92503964448144413e48ac388861d95f
17785 Author: Carl Worth <cworth@cworth.org>
17786 Date: Sat Apr 28 07:38:56 2007 -0700
17788 Fix typo in Makefile preventing builds from succeeding
17790 The cairo-ps-surface-private.h file was not getting included in the
17793 src/Makefile.am | 2 +-
17794 1 files changed, 1 insertions(+), 1 deletions(-)
17796 commit a392cc85081dd1e0fa3342c313af94a1e0c289b1
17797 Author: Carl Worth <cworth@cworth.org>
17798 Date: Fri Apr 27 22:46:47 2007 -0700
17800 Clarify documentation of cairo_in_stroke and cairo_in_fill
17802 Like cairo_stroke_extents and cairo_fill_extents, these functions
17803 work without regard to the surface dimensions or the current clip
17806 src/cairo.c | 6 ++++--
17807 1 files changed, 4 insertions(+), 2 deletions(-)
17809 commit 8286b8741675ae163fc40187cd04e84395954c6e
17810 Author: Carl Worth <cworth@cworth.org>
17811 Date: Fri Apr 27 17:23:08 2007 -0700
17813 Clip trapezoids that are partially (or wholly) outside the clip region.
17815 It's quite simple to add a new _cairo_traps_limit call which installs
17816 a box into the cairo_traps_t structure. Then at the time of
17817 _cairo_traps_add we can discard any trapezoid that is wholly outside
17818 the box and also clip any trapezoid that is partially outside the box.
17820 We take advantage of this for both cairo_stroke and cairo_fill, (when
17821 cairo is computing the trapezoids in cairo-surface-fallback.c). Note
17822 that we explicitly do not do any clipping for cairo_stroke_extents,
17823 cairo_fill_extents, cairo_in_stroke, or cairo_in_fill which are
17824 defined to ignore clipping.
17826 As seen by the long-lines perf case, this fix successfully works
17827 around the bug in the X server where it creates overly large masks for
17828 partially-outside-the-destination-surface trapezoids:
17830 xlib-rgba long-lines-uncropped-100 545.84 -> 5.83: 93.09x speedup
17831 ██████████████████████████████████████████████
17832 xlib-rgb long-lines-uncropped-100 554.74 -> 8.10: 69.04x speedup
17833 ██████████████████████████████████
17835 src/cairo-surface-fallback.c | 52 ++++++++++++++++++++++++++++++++
17836 src/cairo-traps.c | 68 +++++++++++++++++++++++++++++++++++++++++-
17837 src/cairoint.h | 7 ++++
17838 3 files changed, 126 insertions(+), 1 deletions(-)
17840 commit 2dcfb944b044172640a3784246d6b3129b686b60
17841 Author: Carl Worth <cworth@cworth.org>
17842 Date: Fri Apr 27 16:41:17 2007 -0700
17844 Don't test PDF tests known to fail due to poppler limitations
17846 The following four tests are disabled:
17848 gradient-alpha, linear-gradient, text-pattern, trap-clip
17850 We don't use XFAIL as that would disable all backends, (but
17851 we can still usefully use these tests on backends other than
17854 boilerplate/cairo-boilerplate-pdf.c | 15 +++++++++++++++
17855 test/gradient-alpha.c | 3 ++-
17856 test/linear-gradient.c | 3 ++-
17857 test/text-pattern.c | 3 ++-
17858 test/trap-clip.c | 3 ++-
17859 5 files changed, 23 insertions(+), 4 deletions(-)
17861 commit 179e3399101b5a0daa907dcfe1f9f11ae8fe691e
17862 Author: Adrian Johnson <ajohnson@redneon.com>
17863 Date: Fri Apr 27 16:01:56 2007 -0700
17865 PDF: Change CTM to identity
17867 Some PDF viewers forget the CTM when drawing gradient patterns
17868 with SMasks. This patch works around these bugs by using the default
17869 identity matrix for the CTM. All paths are transformed from
17870 cairo to pdf coordinates before writing to the pdf file.
17872 src/cairo-pdf-surface-private.h | 1 +
17873 src/cairo-pdf-surface.c | 135 +++++++++++++++++++--------------------
17874 2 files changed, 67 insertions(+), 69 deletions(-)
17876 commit 1816d7c590ae4d423f9314a8a7794e2cae854da3
17877 Author: Adrian Johnson <ajohnson@redneon.com>
17878 Date: Fri Apr 27 09:49:45 2007 -0700
17880 Add support for transparent gradients
17882 This is based on the gradient patch written by Miklós Erdélyi at
17883 http://lists.freedesktop.org/archives/cairo/2006-August/007648.html
17885 Currently only EXTEND_NONE and EXTEND_PAD are supported. Other extend
17886 types will go through the image fallback path.
17888 src/cairo-pdf-surface-private.h | 13 +
17889 src/cairo-pdf-surface.c | 950 ++++++++++++++++++++++++++++++---------
17890 2 files changed, 752 insertions(+), 211 deletions(-)
17892 commit 050dad71734739f1eaf8976ca5bb88e47c76409c
17893 Author: Carl Worth <cworth@cworth.org>
17894 Date: Thu Apr 26 11:30:27 2007 -0700
17896 cairo-perf-diff-files: Always print old and new configuration names
17898 Previously, if the change in the first test case was small enough
17899 to be considered insignificant, then the header lines showing the
17900 names of the old and new configurations would be omitted. This
17901 commit fixes that bug.
17903 perf/cairo-perf-diff-files.c | 12 ++++++------
17904 1 files changed, 6 insertions(+), 6 deletions(-)
17906 commit 6035d3b47e635f53b361dc7924e161a214e038b3
17907 Author: Carl Worth <cworth@cworth.org>
17908 Date: Wed Apr 25 16:28:14 2007 -0700
17910 cairo-perf-diff: Repair command-line option parsing.
17912 Apparently --force and --html have been broken since the attempt
17913 to address --help in ef5611df6c6bc8d9c6877af3a59c66fa6fc5c13a .
17915 perf/cairo-perf-diff | 14 +++++++++-----
17916 1 files changed, 9 insertions(+), 5 deletions(-)
17918 commit 0a1d2070e252921e097fec89537537675f8b7161
17919 Author: Jeff Muizelaar <jeff@infidigm.net>
17920 Date: Wed Apr 25 16:01:29 2007 -0700
17922 Fix bugs in fbCompositeSrc_8888x8x8888mmx and fbCompositeSrc_x888x8x8888mmx
17924 And re-enable fbCompositeSrc_8888x8x8888mmx now that it should work.
17926 This gives another little boost to the paint-with-alpha perf test:
17928 image-rgba paint-with-alpha_image_rgba_over-512 11.76 -> 5.20: 1.85x speedup
17930 image-rgb paint-with-alpha_image_rgba_over-512 11.76 -> 5.26: 1.84x speedup
17933 pixman/src/fbmmx.c | 20 +++++++++-----------
17934 pixman/src/fbpict.c | 8 +++-----
17935 2 files changed, 12 insertions(+), 16 deletions(-)
17937 commit 342de46eb4033e1cccfec8b905c0002cc880c9fb
17938 Author: Carl Worth <cworth@cworth.org>
17939 Date: Wed Apr 25 10:25:57 2007 -0700
17941 Make the traditional speedup vs. slowdown report style available again
17943 Now, if you pass exactly two performance reports on the command line
17944 you'll get the traditional report style again, (so the tool remains
17945 backwards compatible). If you really want the new style with two
17946 reports you can get it by adding /dev/null as a third argument.
17948 perf/cairo-perf-diff-files.c | 112 ++++++++++++++++++++++++++++++++++++++---
17949 1 files changed, 103 insertions(+), 9 deletions(-)
17951 commit db2a761ae7055a61d3705a76526cbd0b71fcc95d
17952 Author: Carl Worth <cworth@cworth.org>
17953 Date: Wed Apr 25 08:53:46 2007 -0700
17955 Implement support for generating a report from more than two files
17957 This support is intended to compare the identical backends across multiple
17958 reports from several different configurations, (of one sort or another).
17959 The configuration names used in the report are taken from the filenames
17960 of the report files, (which will format most nicely if 8 characters or
17963 The traditional two-input report mode, (showing one line perdiff with
17964 all speedups before all slowdowns), is removed with this commit, but
17965 is intended to return again shortly.
17967 perf/cairo-perf-diff-files.c | 270 ++++++++++++++++++++++++------------------
17968 1 files changed, 157 insertions(+), 113 deletions(-)
17970 commit 5030cfce5df507a0338e1070a5dab3851ed9df7c
17971 Author: Carl Worth <cworth@cworth.org>
17972 Date: Thu Apr 19 16:32:57 2007 -0700
17974 cairo-perf-diff-files: Use pointers instead of indexing to iterate over reports
17976 We terminate the iteration by adding a final report with a NULL
17977 name. This will simplify future code that iterates over more than
17978 two reports simultaneously.
17980 perf/cairo-perf-diff-files.c | 31 ++++++++++++++++++-------------
17981 1 files changed, 18 insertions(+), 13 deletions(-)
17983 commit 6121f4fccfe8d98fb09c096402da05d29d10b9e8
17984 Author: Carl Worth <cworth@cworth.org>
17985 Date: Thu Apr 19 16:21:39 2007 -0700
17987 cairo-perf-diff-files: Simplify code to grow report->tests
17989 perf/cairo-perf-diff-files.c | 14 +++++---------
17990 1 files changed, 5 insertions(+), 9 deletions(-)
17992 commit cc03f0499e7b133a2e5c14e55207259ea000b8c2
17993 Author: Carl Worth <cworth@cworth.org>
17994 Date: Thu Apr 19 16:09:06 2007 -0700
17996 cairo-perf-diff-files: Sort and compute stats at the time of loading a report
17998 perf/cairo-perf-diff-files.c | 150 +++++++++++++++++++++---------------------
17999 1 files changed, 75 insertions(+), 75 deletions(-)
18001 commit 228c83c9d2d1fdb6fa3af8a650640a47c8e21e36
18002 Author: Carl Worth <cworth@cworth.org>
18003 Date: Thu Apr 19 14:35:51 2007 -0700
18005 cairo-perf-diff: Separate command-line options within the args structure
18007 A function like cairo_perf_report_diff wants the options, but really
18008 doesn't want/need to see the filenames for example,
18010 perf/cairo-perf-diff-files.c | 44 +++++++++++++++++++++++------------------
18011 1 files changed, 25 insertions(+), 19 deletions(-)
18013 commit 876786b3f7316b99a51ba8225e34581be13a883d
18014 Author: Carl Worth <cworth@cworth.org>
18015 Date: Thu Apr 19 13:54:50 2007 -0700
18017 Move implementation of getline and strndup
18019 These kept getting in my way as I looked for structure declarations
18020 at the top of the file.
18022 perf/cairo-perf-diff-files.c | 108 ++++++++++++++++++++---------------------
18023 1 files changed, 53 insertions(+), 55 deletions(-)
18025 commit 90d532e08f25644c4e621b0b7e592f4531a39d88
18026 Author: Carl Worth <cworth@cworth.org>
18027 Date: Thu Apr 19 13:52:03 2007 -0700
18029 Replace old and new reports with reports array
18031 Another baby step toward allowing comparison of more than two reports.
18033 perf/cairo-perf-diff-files.c | 11 +++++++----
18034 1 files changed, 7 insertions(+), 4 deletions(-)
18036 commit c6c17633e40f549ede5761095a0652c08adeee08
18037 Author: Carl Worth <cworth@cworth.org>
18038 Date: Thu Apr 19 13:31:37 2007 -0700
18040 Replace old_filename and new_filename with a filenames array
18042 More preparation for comparing more than two perf reports.
18044 perf/cairo-perf-diff-files.c | 30 +++++++++++++-----------------
18045 1 files changed, 13 insertions(+), 17 deletions(-)
18047 commit 1849a7a8bededb281fbb07ec0939f8d1f4954771
18048 Author: Carl Worth <cworth@cworth.org>
18049 Date: Thu Apr 19 12:55:04 2007 -0700
18051 cairo-perf-diff-files: Add new --min-change option, (replacing third positional argument)
18053 An upcoming change will allow cairo-perf-diff-files to generate
18054 a report based on more than two files. This prepares for that by
18055 moving the minimum-change support from the 3rd positional argument
18056 to a new --min-change option.
18058 perf/cairo-perf-diff-files.c | 39 +++++++++++++++++++++++----------------
18059 1 files changed, 23 insertions(+), 16 deletions(-)
18061 commit ef5611df6c6bc8d9c6877af3a59c66fa6fc5c13a
18062 Author: Carl Worth <cworth@cworth.org>
18063 Date: Thu Apr 19 11:26:47 2007 -0700
18065 cairo-perf-diff: Fix implementation of --help
18067 Previously only "--" would givethe usage, and not "--help"
18068 as intended. The new approach has been tested with ash, bash,
18069 and dash, (hopefully that's good enough).
18071 perf/cairo-perf-diff | 2 +-
18072 1 files changed, 1 insertions(+), 1 deletions(-)
18074 commit a8d4fed67a32c6040c27615e063466d654b55a3a
18075 Author: Carl Worth <cworth@cworth.org>
18076 Date: Thu Apr 19 10:02:22 2007 -0700
18078 cairo-perf-diff-files: Remove some overzealous option parsing.
18080 The code was complicated and confusing, and only existed to implement
18081 undocumented and unneeded command-line options.
18083 perf/cairo-perf-diff-files.c | 13 ++++++-------
18084 1 files changed, 6 insertions(+), 7 deletions(-)
18086 commit fe9dd719561048af1f2c3c8c43e46f7d97575053
18087 Author: Carl Worth <cworth@cworth.org>
18088 Date: Wed Apr 18 17:01:36 2007 -0700
18090 Correct misattribution of Mathias' work to Chris
18093 1 files changed, 1 insertions(+), 1 deletions(-)
18095 commit 29670d37665d184d78d568070cb409acf98ee797
18096 Author: Carl Worth <cworth@cworth.org>
18097 Date: Mon Apr 23 10:24:03 2007 -0700
18099 Add a content value to solid patterns
18101 This allows for the surface acquired from the pattern to have the
18102 same content. In particular, in a case such as cairo_paint_with_alpha
18103 we can now acquire an A8 mask surface instead of an ARGB32 mask
18104 surface which can be rendered much more efficiently. This results
18105 in a 4x speedup when using the OVER operator with the recently
18106 added paint-with-alpha test:
18110 image-rgb paint-with-alpha_image_rgb_over-256 2.25 -> 0.60: 4.45x speedup
18113 It does slowdown the same test when using the SOURCE operator, but
18114 I don't think we care. Performing SOURCE with a mask is already a very
18115 slow operation, (hitting compositeGeneral), so the slowdown here is
18116 likely from having to convert from A8 back to ARGB32 before the
18117 generalized compositing. So if someone cares about this slowdown,
18118 (though SOURCE with cairo_paint_with_alpha doesn't seem extremely
18119 useful), they will probably be motivated enough to contribute a
18120 customized compositing function to replace compositeGeneral in which
18121 case this slowdown should go away:
18123 image-rgba paint-with-alpha_image_rgb_source-256 3.84 -> 8.86%: 1.94x slowdown
18126 src/cairo-clip.c | 3 ++-
18127 src/cairo-glitz-surface.c | 5 ++++-
18128 src/cairo-gstate.c | 3 ++-
18129 src/cairo-pattern.c | 41 ++++++++++++++++++++++++++---------------
18130 src/cairo-surface-fallback.c | 12 ++++++++----
18131 src/cairo-surface.c | 2 +-
18132 src/cairo-xcb-surface.c | 3 ++-
18133 src/cairo-xlib-surface.c | 3 ++-
18135 src/cairoint.h | 9 ++++++---
18136 10 files changed, 54 insertions(+), 29 deletions(-)
18138 commit fea5336e2db201be69256ef1bafd418fee98a21e
18139 Author: Carl Worth <cworth@cworth.org>
18140 Date: Wed Apr 25 10:36:12 2007 -0700
18142 Allow fbCompositeSrc_x888x8x8888mmx when destination has alpha
18144 Previously the check for this optimized function would only allow
18145 the function to be called if the source and destination had
18146 identical formats. But the function doesn't read the destination
18147 alpha (if any) so can be used when it exists as well.
18149 (Thanks to Jeff Muizelaar for pointing out this problem.)
18151 pixman/src/fbpict.c | 8 +++++++-
18152 1 files changed, 7 insertions(+), 1 deletions(-)
18154 commit 72b812be8c69108c46334841823a2e9103b69516
18155 Author: Carl Worth <cworth@cworth.org>
18156 Date: Mon Apr 23 09:35:35 2007 -0700
18158 perf: Add new paint-with-alpha test
18160 MacSlow noticed that cairo_paint_with_alpha is much slower than
18161 it should be, (and jrmuizel has a nice plan for fixing the
18164 perf/Makefile.am | 1 +
18165 perf/cairo-perf.c | 1 +
18166 perf/cairo-perf.h | 1 +
18167 perf/paint-with-alpha.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
18168 4 files changed, 48 insertions(+), 0 deletions(-)
18170 commit 302f1146da5b179e5016e2d523e891437c1a256b
18171 Author: Carl Worth <cworth@cworth.org>
18172 Date: Mon Apr 23 09:26:32 2007 -0700
18174 Fix two bugs in documentation code sample of cairo_arc
18176 The sample code for drawing an ellipse had width and height
18177 reversed in the call to cairo_scale, and also had both
18178 incorrectly inverted.
18181 1 files changed, 1 insertions(+), 1 deletions(-)
18183 commit e37c9edac02ccd9fbcbc4622a2f421f4be0d597e
18184 Author: Behdad Esfahbod <behdad@behdad.org>
18185 Date: Tue Apr 24 17:33:37 2007 -0400
18187 [ROADMAP] Add cairo_xlib_surface_get_xrender_format()
18190 1 files changed, 5 insertions(+), 0 deletions(-)
18192 commit ac0ef0302e68ba17ec5a59c689579f1854c7386c
18193 Merge: d3cf214... 260dcb3...
18194 Author: Peter Weilbacher <mozilla@weilbacher.org>
18195 Date: Mon Apr 23 23:18:05 2007 +0200
18197 Merge branch 'master' of git+ssh://pmw@git.freedesktop.org/git/cairo
18199 commit 260dcb316e14945e7600406954e4876e8827a777
18200 Author: Chris Wilson <chris@chris-wilson.co.uk>
18201 Date: Mon Apr 23 13:54:37 2007 +0100
18203 Add a _cairo_error() to png_simple_error_callback()
18205 With the introduction of the error callbacks for PNG, we have the
18206 opportunity for the user to set a breakpoint (via _cairo_error) at the
18207 point the error is first rasied.
18209 src/cairo-png.c | 1 +
18210 1 files changed, 1 insertions(+), 0 deletions(-)
18212 commit 0fce7e85a1c853216866ddf6a40725e7ce57fe93
18213 Author: Chris Wilson <chris@chris-wilson.co.uk>
18214 Date: Mon Apr 23 13:00:40 2007 +0100
18216 Do not print out libpng error messages to stderr.
18218 We wish to avoid writing to file descriptors (and streams) that are
18219 outside cairo's control. In this case, the messages are superfluous as
18220 the errors are propagated via the cairo_status_t returns.
18222 src/cairo-png.c | 31 +++++++++++++++++++++++++------
18223 1 files changed, 25 insertions(+), 6 deletions(-)
18225 commit 59670dd5d3854af1f7cbdef984df7802c338330b
18226 Author: Behdad Esfahbod <behdad@behdad.org>
18227 Date: Mon Apr 23 05:19:56 2007 -0400
18229 [ROADMAP] Add URL to David Turner's patchset
18232 1 files changed, 1 insertions(+), 0 deletions(-)
18234 commit ce91a176489f4cb8f40c5ec29f23881d1e013a9f
18235 Author: Behdad Esfahbod <behdad@behdad.org>
18236 Date: Sun Apr 22 16:13:22 2007 -0400
18238 [cairo-mutex] Add a poor man's mutex implementation in case of CAIRO_NO_MUTEX
18241 src/cairo-mutex-private.h | 13 ++++++++-----
18242 1 files changed, 8 insertions(+), 5 deletions(-)
18244 commit 97b50e99bfa785d77b4900d3070f22a22827db22
18245 Author: Behdad Esfahbod <behdad@behdad.org>
18246 Date: Sun Apr 22 16:05:25 2007 -0400
18248 [BeOS] Remove old-style mutex initialization cruft
18250 src/cairo-beos-surface.cpp | 34 ----------------------------------
18251 1 files changed, 0 insertions(+), 34 deletions(-)
18253 commit 0fd13a3db00e7e11915b5a7bbe81bf8f43f1941f
18254 Author: Behdad Esfahbod <behdad@behdad.org>
18255 Date: Sun Apr 22 16:04:49 2007 -0400
18257 [BeOS] Add mutex implementation
18259 src/cairo-mutex-private.h | 17 ++++++-----------
18260 1 files changed, 6 insertions(+), 11 deletions(-)
18262 commit fc83784525d3f2bb3e09d931cc9c83261c0b73ae
18263 Author: Behdad Esfahbod <behdad@behdad.org>
18264 Date: Sun Apr 22 15:56:18 2007 -0400
18266 [cairo-mutex] Properly paranthesize macro arguments
18268 src/cairo-mutex-private.h | 12 ++++++------
18269 1 files changed, 6 insertions(+), 6 deletions(-)
18271 commit 406fc63b68203e86c9236d06448e2ffa2c259669
18272 Author: Behdad Esfahbod <behdad@behdad.org>
18273 Date: Sun Apr 22 07:11:47 2007 -0400
18275 [util] Change make target from "tools" to "util"
18276 to match targets like "test", "perf", and "doc", that match
18277 their directory names.
18279 util/Makefile.am | 2 +-
18280 1 files changed, 1 insertions(+), 1 deletions(-)
18282 commit 5bc1f3365d0002f2864bc30638df85c392a495f5
18283 Author: Peter Weilbacher <pmw@avila.aip.de>
18284 Date: Sun Apr 22 07:11:00 2007 -0400
18286 [perf] Add OS/2 implementation for timer routines
18288 perf/Makefile.am | 4 ++
18289 perf/cairo-perf-os2.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++
18290 2 files changed, 99 insertions(+), 0 deletions(-)
18292 commit 3b46e105bd781d7a4081068a14668334a7c82986
18293 Author: Behdad Esfahbod <behdad@behdad.org>
18294 Date: Sat Apr 21 08:21:01 2007 -0400
18296 [util] Import my malloc wrapper that prints simple statistics
18300 make malloc-stats.so
18302 inside util/, and to use, run:
18304 LD_PRELOAD=malloc-stats.so some-program
18306 For binaries managed by libtool, eg, cairo-perf, do:
18308 ../libtool --mode=execute /bin/true ./cairo-perf
18309 LD_PRELOAD="../util/malloc-stats.so" .libs/lt-cairo-perf
18311 The code also includes Jeff Muizelaar's libbacktracesymbols that
18312 is a much better implementation of backtrace_symbols() than what
18313 is provided by glibc. That can be built by:
18315 make backtrace-symbols.so
18317 util/.gitignore | 17 +++
18318 util/Makefile.am | 22 +++
18319 util/backtrace-symbols.c | 361 ++++++++++++++++++++++++++++++++++++++++++++++
18320 util/malloc-stats.c | 301 ++++++++++++++++++++++++++++++++++++++
18321 4 files changed, 701 insertions(+), 0 deletions(-)
18323 commit d3cf2144dbd42737d5e2c45908fbca082dd54022
18324 Merge: 6c12961... abdcbf8...
18325 Author: Peter Weilbacher <mozilla@weilbacher.org>
18326 Date: Sat Apr 21 13:50:30 2007 +0200
18328 Merge branch 'master' of git+ssh://pmw@git.freedesktop.org/git/cairo
18330 commit 6c129611408ddb5cf0a9a821b30bbb8148af08d9
18331 Author: Peter Weilbacher <mozilla@weilbacher.org>
18332 Date: Sat Apr 21 13:49:04 2007 +0200
18334 Use deprecated png symbol only when compiling against old version
18336 png_set_gray_1_2_4_to_8 is deprecated in libpng >= 1.2.9, the identical
18337 substitute for it is png_set_expand_gray_1_2_4_to_8
18339 src/cairo-png.c | 4 ++++
18340 1 files changed, 4 insertions(+), 0 deletions(-)
18342 commit 515491334cc32d8be856f25b7d2e36e63cb72246
18343 Author: Behdad Esfahbod <behdad@behdad.org>
18344 Date: Sat Apr 21 07:48:10 2007 -0400
18346 Add util/ to distribution
18347 We already reference an script in util/ in PORTING_GUIDE, but was
18352 util/Makefile.am | 4 ++++
18353 3 files changed, 6 insertions(+), 1 deletions(-)
18355 commit abdcbf896af69677058490d1d08ba58672c429ec
18356 Author: Behdad Esfahbod <behdad@behdad.org>
18357 Date: Sat Apr 21 07:23:30 2007 -0400
18359 [boilerplate] Add missing headers. Oops!
18360 I blame git for it...
18362 boilerplate/cairo-boilerplate-pdf.h | 33 +++++++++++++++++++++++++++++++++
18363 boilerplate/cairo-boilerplate-xlib.h | 33 +++++++++++++++++++++++++++++++++
18364 2 files changed, 66 insertions(+), 0 deletions(-)
18366 commit 781f2533a32d84ca43a1bdf646bb69b7adab7a77
18367 Author: Behdad Esfahbod <behdad@behdad.org>
18368 Date: Sat Apr 21 07:21:38 2007 -0400
18370 [.gitignore] Add cairo-*.*.*
18373 1 files changed, 1 insertions(+), 0 deletions(-)
18375 commit febcd689e7a4b277bbebffd8ebdc0970a04f68eb
18376 Author: Behdad Esfahbod <behdad@behdad.org>
18377 Date: Sat Apr 21 07:19:47 2007 -0400
18379 Update .gitignore to ignore .perf
18382 1 files changed, 2 insertions(+), 1 deletions(-)
18384 commit de425ada871c71277a53687dcd8a93a607d4faab
18385 Author: Behdad Esfahbod <behdad@behdad.org>
18386 Date: Sat Apr 21 03:46:18 2007 -0400
18388 [doc/public/Headers.mk] Update.
18390 doc/public/Headers.mk | 13 ++++++++-----
18391 1 files changed, 8 insertions(+), 5 deletions(-)
18393 commit 519b722747d606170741ccc520d6ec7332b2481f
18394 Author: Behdad Esfahbod <behdad@behdad.org>
18395 Date: Sat Apr 21 03:45:51 2007 -0400
18397 [RELEASING] Remove *-test.h from instructions
18398 as they are all removed now.
18401 1 files changed, 1 insertions(+), 1 deletions(-)
18403 commit 0108f9c69f2f5391ff6b1066ae6b58fe3f71255a
18404 Author: Behdad Esfahbod <behdad@behdad.org>
18405 Date: Sat Apr 21 03:44:53 2007 -0400
18407 [check-def.sh] Do not allow _cairo_.*_test_ symbols anymore
18408 as all are removed now.
18410 src/check-def.sh | 2 +-
18411 1 files changed, 1 insertions(+), 1 deletions(-)
18413 commit 79098c037043f45df0a18265417e96d6214d68e1
18414 Author: Behdad Esfahbod <behdad@behdad.org>
18415 Date: Sat Apr 21 03:43:04 2007 -0400
18417 [scaled-font] Get rid of _cairo_scaled_font_test_set_max_glyphs_cached_per_font
18418 in favor of cairo_boilerplate_scaled_font_set_max_glyphs_cached.
18420 boilerplate/Makefile.am | 1 +
18421 boilerplate/cairo-boilerplate-scaled-font.h | 34 ++++++++++++++++++
18422 boilerplate/cairo-boilerplate.c | 11 ++++++
18423 src/Makefile.am | 1 -
18424 src/cairo-scaled-font-private.h | 1 +
18425 src/cairo-scaled-font-test.h | 49 ---------------------------
18426 src/cairo-scaled-font.c | 14 ++------
18427 test/glyph-cache-pressure.c | 6 ++--
18428 8 files changed, 53 insertions(+), 64 deletions(-)
18430 commit 44563161de82a5ee7bbf8f100213ea1a3af6d5db
18431 Author: Behdad Esfahbod <behdad@behdad.org>
18432 Date: Sat Apr 21 03:38:24 2007 -0400
18434 Move a couple typedefs to cairo-types-private.h
18436 src/cairo-types-private.h | 2 ++
18437 src/cairoint.h | 2 --
18438 2 files changed, 2 insertions(+), 2 deletions(-)
18440 commit 737d20a5702a18a1480c3b45f876e886b82b065c
18441 Author: Behdad Esfahbod <behdad@behdad.org>
18442 Date: Sat Apr 21 03:35:07 2007 -0400
18444 Move cairo_hash_entry_t to cairo-types-private.h
18446 src/cairo-hash-private.h | 38 --------------------------------------
18447 src/cairo-scaled-font-private.h | 2 ++
18448 src/cairo-types-private.h | 38 ++++++++++++++++++++++++++++++++++++++
18449 3 files changed, 40 insertions(+), 38 deletions(-)
18451 commit 51ce92c3db093c8d26c8002ddbc105b11e7607bf
18452 Author: Behdad Esfahbod <behdad@behdad.org>
18453 Date: Sat Apr 21 03:24:31 2007 -0400
18455 [scaled-font] Move cairo_scaled_font_t to cairo-scaled-font-private.h
18457 src/Makefile.am | 1 +
18458 src/cairo-scaled-font-private.h | 109 +++++++++++++++++++++++++++++++++++++++
18459 src/cairo-scaled-font.c | 1 +
18460 src/cairoint.h | 66 +-----------------------
18461 4 files changed, 112 insertions(+), 65 deletions(-)
18463 commit 91f1056caf46d71c99eb044afbc943b92fb5550c
18464 Author: Behdad Esfahbod <behdad@behdad.org>
18465 Date: Sat Apr 21 03:18:30 2007 -0400
18467 Move cairo_cache_t to cairo-types-private.h
18469 src/cairo-cache-private.h | 2 +-
18470 src/cairo-cache.c | 11 -----------
18471 src/cairo-hash-private.h | 4 ++--
18472 src/cairo-types-private.h | 14 ++++++++++++++
18473 4 files changed, 17 insertions(+), 14 deletions(-)
18475 commit d2bb5f30079badf1029fa71faab9d6781092a271
18476 Author: Behdad Esfahbod <behdad@behdad.org>
18477 Date: Sat Apr 21 03:08:26 2007 -0400
18479 [svg] Get rid of _cairo_svg_test_force_fallbacks
18480 in favor of cairo_boilerplate_svg_surface_force_fallbacks.
18482 boilerplate/Makefile.am | 1 +
18483 boilerplate/cairo-boilerplate-svg.c | 19 ++++++++++++
18484 boilerplate/cairo-boilerplate-svg.h | 33 +++++++++++++++++++++
18485 src/Makefile.am | 4 +-
18486 src/cairo-svg-surface-private.h | 2 +
18487 src/cairo-svg-surface.c | 20 +------------
18488 src/cairo-svg-test.h | 54 -----------------------------------
18489 test/fallback-resolution.c | 4 +-
18490 8 files changed, 60 insertions(+), 77 deletions(-)
18492 commit ea1b7c2d8a55d694d575c0bb711e60f70a33ff77
18493 Author: Behdad Esfahbod <behdad@behdad.org>
18494 Date: Sat Apr 21 03:04:03 2007 -0400
18496 [paginated] Include cairo-surface-private.h
18498 src/cairo-paginated-surface-private.h | 2 ++
18499 1 files changed, 2 insertions(+), 0 deletions(-)
18501 commit 7e0ae8bd43dfd8b052d021601912b46956b2921e
18502 Author: Behdad Esfahbod <behdad@behdad.org>
18503 Date: Sat Apr 21 02:57:55 2007 -0400
18505 [svg] Move cairo_svg_surface_t to cairo-svg-surface-private.h
18507 boilerplate/cairo-boilerplate-ps.c | 6 +++-
18508 src/Makefile.am | 2 +-
18509 src/cairo-svg-surface-private.h | 71 ++++++++++++++++++++++++++++++++++++
18510 src/cairo-svg-surface.c | 24 +------------
18511 4 files changed, 78 insertions(+), 25 deletions(-)
18513 commit 3885fff3e6215023e801dd2c72fc39560a4e22fd
18514 Author: Behdad Esfahbod <behdad@behdad.org>
18515 Date: Fri Apr 20 03:33:58 2007 -0400
18517 [ps] Get rid of _cairo_ps_test_force_fallbacks
18519 in favor of cairo_boilerplate_ps_surface_force_fallbacks.
18521 boilerplate/Makefile.am | 1 +
18522 boilerplate/cairo-boilerplate-ps.c | 15 ++++++++++
18523 boilerplate/cairo-boilerplate-ps.h | 33 ++++++++++++++++++++++
18524 src/Makefile.am | 2 +-
18525 src/cairo-ps-surface-private.h | 3 +-
18526 src/cairo-ps-surface.c | 24 +--------------
18527 src/cairo-ps-test.h | 54 ------------------------------------
18528 test/fallback-resolution.c | 4 +-
18529 8 files changed, 56 insertions(+), 80 deletions(-)
18531 commit 57dc972d6e5fe715a83cbcaad9c6cc3d38bf8129
18532 Author: Behdad Esfahbod <behdad@behdad.org>
18533 Date: Fri Apr 20 03:02:48 2007 -0400
18535 [ps] Move cairo_ps_surface_t to cairo-ps-surface-private.h
18537 src/Makefile.am | 2 +-
18538 src/cairo-ps-surface-private.h | 79 ++++++++++++++++++++++++++++++++++++++++
18539 src/cairo-ps-surface.c | 33 +----------------
18540 3 files changed, 81 insertions(+), 33 deletions(-)
18542 commit 3e69fbca6233e9f568935dbb69bf14bc34812d77
18543 Author: Behdad Esfahbod <behdad@behdad.org>
18544 Date: Fri Apr 20 03:00:21 2007 -0400
18546 [pdf] Fix header file header!
18548 src/cairo-pdf-surface-private.h | 12 +++++++++---
18549 1 files changed, 9 insertions(+), 3 deletions(-)
18551 commit 29247e5010632f0453367b64a38c865076605681
18552 Author: Behdad Esfahbod <behdad@behdad.org>
18553 Date: Fri Apr 20 02:57:12 2007 -0400
18555 [ps/pdf/svg] Fix minor coding style issue
18557 src/cairo-pdf-surface.c | 12 ++++++------
18558 src/cairo-ps-surface.c | 2 +-
18559 src/cairo-svg-surface.c | 14 +++++++-------
18560 3 files changed, 14 insertions(+), 14 deletions(-)
18562 commit 20ce190e71f838dea598cbd5267f047b75945cee
18563 Author: Behdad Esfahbod <behdad@behdad.org>
18564 Date: Sat Apr 21 02:50:53 2007 -0400
18566 [pdf] Get rid of _cairo_pdf_test_force_fallbacks
18567 in favor of cairo_boilerplate_pdf_surface_force_fallbacks.
18569 boilerplate/Makefile.am | 1 +
18570 boilerplate/cairo-boilerplate-pdf.c | 19 ++++++++++++
18571 src/cairo-pdf-surface-private.h | 2 +
18572 src/cairo-pdf-surface.c | 25 ++--------------
18573 src/cairo-pdf-test.h | 54 -----------------------------------
18574 test/fallback-resolution.c | 4 +-
18575 6 files changed, 27 insertions(+), 78 deletions(-)
18577 commit 03477064fa639ab1c735467d1889bde7c99313c4
18578 Author: Behdad Esfahbod <behdad@behdad.org>
18579 Date: Sat Apr 21 02:25:51 2007 -0400
18581 [paginated] Move cairo_paginated_surface_t to cairo-paginated-surface-private.h
18582 The old cairo-paginated-surface-private.h is cairo-paginated-private.h now.
18584 src/Makefile.am | 1 +
18585 src/cairo-analysis-surface.c | 2 +-
18586 src/cairo-paginated-private.h | 136 +++++++++++++++++++++++++++++++++
18587 src/cairo-paginated-surface-private.h | 116 ++++++----------------------
18588 src/cairo-paginated-surface.c | 32 +-------
18589 src/cairo-pdf-surface.c | 2 +-
18590 src/cairo-ps-surface.c | 2 +-
18591 src/cairo-svg-surface.c | 2 +-
18592 src/cairo-types-private.h | 1 +
18593 src/test-paginated-surface.c | 2 +-
18594 10 files changed, 170 insertions(+), 126 deletions(-)
18596 commit 21a7de61c26faaaa1ce96cddab6d777dbb37d0bb
18597 Author: Behdad Esfahbod <behdad@behdad.org>
18598 Date: Fri Apr 20 02:52:53 2007 -0400
18600 [boilerplate] Add cairo-boilerplate-xlib.h to Makefile.am
18602 boilerplate/Makefile.am | 1 +
18603 1 files changed, 1 insertions(+), 0 deletions(-)
18605 commit 68e2158aaeacefcff8e6df11c25bb61ab0e89606
18606 Author: Behdad Esfahbod <behdad@behdad.org>
18607 Date: Fri Apr 20 02:37:15 2007 -0400
18609 [pdf] Move cairo_pdf_surface_t to cairo-pdf-surface-private.h
18611 src/Makefile.am | 3 +-
18612 src/cairo-output-stream-private.h | 2 +-
18613 src/cairo-pdf-surface-private.h | 83 +++++++++++++++++++++++++++++++
18614 src/cairo-pdf-surface.c | 42 +---------------
18615 src/cairo-scaled-font-subsets-private.h | 2 -
18616 src/cairo-types-private.h | 3 +
18617 6 files changed, 90 insertions(+), 45 deletions(-)
18619 commit 183c6af4f1730861a604a912a0609e315da65ecc
18620 Author: Behdad Esfahbod <behdad@behdad.org>
18621 Date: Fri Apr 20 02:30:46 2007 -0400
18623 [paginated] Move cairo_paginated_mode_t to cairo-types-private.h
18625 as it is used in surface structs for PS/PDF/SVG and we will need
18628 src/cairo-paginated-surface-private.h | 5 -----
18629 src/cairo-types-private.h | 5 +++++
18630 2 files changed, 5 insertions(+), 5 deletions(-)
18632 commit cd72167ede50b44aa3559ee63b95e12e4b51d80f
18633 Author: Behdad Esfahbod <behdad@behdad.org>
18634 Date: Fri Apr 20 02:27:19 2007 -0400
18636 [xlib] Get rid of _cairo_xlib_test_disable_render
18638 in favor of cairo_boilerplate_xlib_surface_disable_render.
18640 boilerplate/cairo-boilerplate-xlib.c | 15 +++++++++
18641 src/Makefile.am | 2 +-
18642 src/cairo-xlib-surface.c | 23 +--------------
18643 src/cairo-xlib-test.h | 54 ----------------------------------
18644 test/xlib-surface.c | 8 +++--
18645 5 files changed, 22 insertions(+), 80 deletions(-)
18647 commit 908418cb4d43e387d06698a43626ac9a663d6c2a
18648 Author: Behdad Esfahbod <behdad@behdad.org>
18649 Date: Fri Apr 20 02:25:55 2007 -0400
18651 [cairo-surface] Move cairo_surface_t struct in cairo-surface-private.h
18653 src/Makefile.am | 2 +
18654 src/cairo-surface-private.h | 96 ++++++++++++++++++++++++++++++++++++++
18655 src/cairo-types-private.h | 65 +++++++++++++++++++++++++
18656 src/cairo-xlib-private.h | 1 -
18657 src/cairo-xlib-surface-private.h | 2 +
18658 src/cairoint.h | 74 +----------------------------
18659 6 files changed, 167 insertions(+), 73 deletions(-)
18661 commit 8ae02fa470eace1b449c09b6cd0f86cc09b81ec2
18662 Author: Behdad Esfahbod <behdad@behdad.org>
18663 Date: Fri Apr 20 01:54:35 2007 -0400
18665 [boilerplate] Minor indentation fix
18667 boilerplate/cairo-boilerplate-xlib-private.h | 12 ++++++------
18668 1 files changed, 6 insertions(+), 6 deletions(-)
18670 commit 1345552ac24099900acdb968f905d6e75cc20593
18671 Author: Behdad Esfahbod <behdad@behdad.org>
18672 Date: Fri Apr 20 01:46:23 2007 -0400
18674 [xlib] Move cairo_xlib_surface_t definition into cairo-xlib-surface-private.h
18676 src/Makefile.am | 3 +-
18677 src/cairo-xlib-surface-private.h | 91 ++++++++++++++++++++++++++++++++++++++
18678 src/cairo-xlib-surface.c | 54 +----------------------
18679 3 files changed, 94 insertions(+), 54 deletions(-)
18681 commit 735be3f09d1d150909305ff3232fda42efcb87bd
18682 Author: Peter Weilbacher <pmw@avila.aip.de>
18683 Date: Fri Apr 20 20:46:55 2007 +0200
18685 Fix build break related to mutexes on OS/2
18687 cairo_mutex_t is HTMX which is ULONG on OS/2, so we have to set the
18688 mutex itself to 0 and not the address...
18690 src/cairo-mutex-private.h | 2 +-
18691 1 files changed, 1 insertions(+), 1 deletions(-)
18693 commit 5135bcf414abc91e7777e2c024c9b6e10bf6115c
18694 Author: Chris Wilson <chris@chris-wilson.co.uk>
18695 Date: Fri Apr 20 19:08:07 2007 +0100
18697 cairo-boilerplate - use xmalloc and friends
18699 Prefer to abort gracefully if we run out of memory (or simply to protect
18700 them from memfault).
18702 boilerplate/cairo-boilerplate.c | 4 ++--
18703 1 files changed, 2 insertions(+), 2 deletions(-)
18705 commit b6be361d0ef3b81ef5cbc28852f323a671e3d030
18706 Author: Chris Wilson <chris@chris-wilson.co.uk>
18707 Date: Fri Apr 20 17:49:10 2007 +0100
18709 Clean up compiler warnings from cairo-png
18711 I introduced some compiler warnings into read_png() with the superfluous
18712 introduction of a couple of volatile qualifiers. I'm sure at the time,
18713 the reason was that gcc suggested adding them - however, ATM gcc issues
18714 no warnings without them.
18716 src/cairo-png.c | 4 ++--
18717 1 files changed, 2 insertions(+), 2 deletions(-)
18719 commit fc455c53ecb0aa496915b1eae68dc0275af78e09
18720 Author: Adrian Johnson <ajohnson@redneon.com>
18721 Date: Sat Apr 21 00:26:25 2007 +0930
18723 Ensure _cairo_scaled_font_subsets_map_glyph() returns correct values
18725 The CID font subsetting exposed a bug where the subset_glyph->is_scaled
18726 return argument of _cairo_scaled_font_subsets_map_glyph() is sometimes
18727 not assigned a value.
18729 src/cairo-scaled-font-subsets.c | 55 +++++++++++++++------------------------
18730 1 files changed, 21 insertions(+), 34 deletions(-)
18732 commit 9d8eb42c013d197b3365af88e372d1c2c1617173
18733 Author: Adrian Johnson <ajohnson@redneon.com>
18734 Date: Fri Apr 20 22:45:12 2007 +0930
18736 Exclude Type1 fonts from CID subsets
18738 Make cairo-scaled-font-subsets.c limit Type1 font subsets to
18739 256 glyphs. This allows Type1 subsetting to be enabled again
18740 with type1-fallback as the fallback option for Type1 fonts.
18742 src/cairo-pdf-surface.c | 42 ++++++++++++++----------------
18743 src/cairo-scaled-font-subsets-private.h | 11 +++++++-
18744 src/cairo-scaled-font-subsets.c | 36 +++++++++++++++++---------
18745 src/cairo-type1-subset.c | 27 ++++++++++++++++++++
18746 src/cairoint.h | 1 +
18747 5 files changed, 82 insertions(+), 35 deletions(-)
18749 commit 56ad56263b86a9678387fe8dd994e77c183c6328
18750 Author: Adrian Johnson <ajohnson@redneon.com>
18751 Date: Fri Apr 20 22:44:04 2007 +0930
18753 Enable embedding of CID fonts in PDF
18755 Update cairo-pdf-surface.c to embed CFF and TrueType fonts
18756 as CID fonts. Update the ToUnicode CMap to handle CID fonts.
18758 src/cairo-pdf-surface.c | 285 +++++++++++++++++++++++++++++------------------
18759 1 files changed, 177 insertions(+), 108 deletions(-)
18761 commit ca3662d6fc630e5390b3a8f8dbaa1d65aebc3fe8
18762 Author: Adrian Johnson <ajohnson@redneon.com>
18763 Date: Fri Apr 20 22:43:37 2007 +0930
18765 Make cairo-output-stream.c accept variable width printf fields
18767 src/cairo-output-stream.c | 27 +++++++++++++++++++++++----
18768 1 files changed, 23 insertions(+), 4 deletions(-)
18770 commit 0c2a653033e0b631a1cb6591263cbd6125ccc00c
18771 Author: Adrian Johnson <ajohnson@redneon.com>
18772 Date: Fri Apr 20 22:30:55 2007 +0930
18774 Add CFF CID Fallback
18776 Switching to CID font embedding requires a fallback font for
18777 the case where CFF CID or TrueType CID subsetting fails.
18779 The new function _cairo_type2_charstrings_init() added to
18780 cairo-type1-fallback.c creates Type2 charstrings from glyph
18781 paths. _cairo_cff_fallback_init() in cairo-cff-subset.c
18782 wraps these charstrings in a CFF CID font.
18784 src/cairo-cff-subset.c | 212 +++++++++++++++++++++++++++++++
18785 src/cairo-scaled-font-subsets-private.h | 68 ++++++++++
18786 src/cairo-type1-fallback.c | 211 ++++++++++++++++++++++---------
18787 3 files changed, 432 insertions(+), 59 deletions(-)
18789 commit c68a2389f51880b0fa9df6750abdd840258666fc
18790 Author: Adrian Johnson <ajohnson@redneon.com>
18791 Date: Fri Apr 20 22:30:05 2007 +0930
18793 Make CFF Subsetting create CID subsets
18795 OpenType/CFF fonts come in two types: CID and non CID.
18796 CFF CID font subsetting was previously disabled in cairo
18797 due 1) to the need to embed CFF CID fonts in PDF as a CID fonts
18798 and 2) there is no easy way to convert CFF CID to CFF non CID.
18800 With the switch to CID fonts cairo-cff-subset.c has been
18801 updated to subset CID fonts and to covert non CID fonts to
18802 CID. A further advantage of converting non CID CFF fonts
18803 to CID is the reduction in size due to not embedding the
18804 name of each glyph in the font subset.
18806 src/cairo-cff-subset.c | 858 ++++++++++++++++++++++++++++++----------------
18807 src/cairo-pdf-surface.c | 2 +
18808 2 files changed, 561 insertions(+), 299 deletions(-)
18810 commit 073fce5a85ab90b1bc6915e41d6a420a47e540e6
18811 Author: Adrian Johnson <ajohnson@redneon.com>
18812 Date: Fri Apr 20 22:29:41 2007 +0930
18814 Add support for creating CID/composite font subsets
18816 cairo-scaled-font-subsets.c now provides three functions for creating subsets:
18818 _cairo_scaled_font_subsets_create_scaled()
18819 Create a subset for each scaled font with maximum size INT_MAX.
18821 _cairo_scaled_font_subsets_create_simple()
18822 Create subsets suitable for embedding as simple fonts in PS/PDF.
18824 _cairo_scaled_font_subsets_create_composite()
18825 Create subsets suitable for embedding as composite fonts in PS/PDF.
18827 The _create_simple() and _create_composite() functions both merge
18828 scaled fonts with the same face and an outline path available into
18829 the same subset. _create_composite() has a maximum subset size of
18830 65536 for outline fonts. Bitmap fonts have a separate subset for
18831 each scale with a maximum subset size of 256.
18833 The _create_simple() and _create_composite() functions both reserve
18834 the first glyph in the subset for the .notdef glyph. CID fonts require
18835 CID 0 to be .notdef.
18837 Update Type1, TrueType and CFF subsetting to expect glyph 0 of each
18838 subset to be the .notdef.
18840 src/cairo-cff-subset.c | 9 +--
18841 src/cairo-pdf-surface.c | 5 +-
18842 src/cairo-ps-surface.c | 13 +--
18843 src/cairo-scaled-font-subsets-private.h | 61 +++++++++++----
18844 src/cairo-scaled-font-subsets.c | 127 ++++++++++++++++++++++---------
18845 src/cairo-svg-surface.c | 2 +-
18846 src/cairo-truetype-subset.c | 21 ++---
18847 src/cairo-type1-fallback.c | 2 +-
18848 src/cairo-type1-subset.c | 3 -
18849 9 files changed, 156 insertions(+), 87 deletions(-)
18851 commit bf957ee0f29ff49970b4791718eccdb92f3d6886
18852 Author: Chris Wilson <chris@chris-wilson.co.uk>
18853 Date: Fri Mar 23 12:59:38 2007 +0000
18855 cairo-png - handle short reads
18857 During MT cairo testing we get the error "libpng: Read Error" which is
18858 emitted should the fread return fewer bytes than asked. However, this is
18859 not necessarily an error, so double-check the ferror() status before
18860 raising a png_error().
18862 src/cairo-png.c | 24 +++++++++++++++++-------
18863 1 files changed, 17 insertions(+), 7 deletions(-)
18865 commit d00aa44206f474e11c66c585d09bfd55e747cc5b
18866 Author: Behdad Esfahbod <behdad@behdad.org>
18867 Date: Fri Apr 20 01:28:56 2007 -0400
18869 [Makefile.am] Add a "make snapshot" target
18870 that creates a tarball named with version, date, and git hash of
18871 the tree. Like cairo-1.4.5-20070420-2a0389.tar.gz.
18873 Makefile.am | 11 ++++++++++-
18874 1 files changed, 10 insertions(+), 1 deletions(-)
18876 commit 2a038956635e27f61fb2147527d2262eebf9bb26
18877 Author: Behdad Esfahbod <behdad@behdad.org>
18878 Date: Fri Apr 20 00:55:03 2007 -0400
18880 [pixman] Fix typo in Makefile.am
18882 pixman/src/Makefile.am | 2 +-
18883 1 files changed, 1 insertions(+), 1 deletions(-)
18885 commit abcd929c57459f95e93504e0ef07b012b497a363
18886 Author: Behdad Esfahbod <behdad@behdad.org>
18887 Date: Fri Apr 20 00:50:48 2007 -0400
18889 [boilerplate] Add cairo_boilerplate_format_from_content
18891 boilerplate/cairo-boilerplate-quartz.c | 9 +--------
18892 boilerplate/cairo-boilerplate-test-surfaces.c | 13 +------------
18893 boilerplate/cairo-boilerplate-win32.c | 8 ++------
18894 boilerplate/cairo-boilerplate.c | 18 ++++++++++++++++++
18895 boilerplate/cairo-boilerplate.h | 3 +++
18896 5 files changed, 25 insertions(+), 26 deletions(-)
18898 commit 97624dc488b41eb83d70b2c44a595daa5d833e7f
18899 Author: Behdad Esfahbod <behdad@behdad.org>
18900 Date: Fri Apr 20 00:45:42 2007 -0400
18902 [boilerplate] Strip test-surfaces boilerplate into cairo-boilerplate-test-surfaces*
18904 boilerplate/Makefile.am | 5 +
18905 .../cairo-boilerplate-test-surfaces-private.h | 63 +++++++
18906 boilerplate/cairo-boilerplate-test-surfaces.c | 170 ++++++++++++++++++++
18907 boilerplate/cairo-boilerplate.c | 146 +----------------
18908 4 files changed, 241 insertions(+), 143 deletions(-)
18910 commit 2e709321d858a048731eeaaca4a13a96de739e3f
18911 Author: Behdad Esfahbod <behdad@behdad.org>
18912 Date: Fri Apr 20 00:34:51 2007 -0400
18914 [boilerplate] Move xasprintf to xmalloc.c
18916 boilerplate/cairo-boilerplate.c | 45 -----------------------------------
18917 boilerplate/cairo-boilerplate.h | 32 +++++++++++-------------
18918 boilerplate/xmalloc.c | 50 ++++++++++++++++++++++++++++++++++++--
18919 boilerplate/xmalloc.h | 9 ++++++-
18920 test/cairo-test.h | 2 +-
18921 5 files changed, 71 insertions(+), 67 deletions(-)
18923 commit 5331445c12756293a915420a26ab5553fc7db3fc
18924 Author: Behdad Esfahbod <behdad@behdad.org>
18925 Date: Fri Apr 20 00:26:17 2007 -0400
18927 [boilerplate] Cleanup includes in cairo-boilerplate-beos.cpp
18929 boilerplate/cairo-boilerplate-beos.cpp | 20 ++++++++++----------
18930 1 files changed, 10 insertions(+), 10 deletions(-)
18932 commit 56e916d40cf2a5f061347254657592f7bfc90d02
18933 Author: Behdad Esfahbod <behdad@behdad.org>
18934 Date: Fri Apr 20 00:25:44 2007 -0400
18936 [boilerplate] Fix typos in cairo-boilerplate-glitz.c
18938 boilerplate/cairo-boilerplate-glitz.c | 4 ++--
18939 1 files changed, 2 insertions(+), 2 deletions(-)
18941 commit 06718b0da642d39b7b4dbfc009f08acb24e5e802
18942 Author: Behdad Esfahbod <behdad@behdad.org>
18943 Date: Fri Apr 20 00:15:19 2007 -0400
18945 [boilerplate] Remove leftover call to cairo_test_log
18947 boilerplate/cairo-boilerplate.c | 2 +-
18948 1 files changed, 1 insertions(+), 1 deletions(-)
18950 commit 99737a60cb8cae1643b84782768e8c6d50ac7d0a
18951 Author: Behdad Esfahbod <behdad@behdad.org>
18952 Date: Fri Apr 20 00:13:25 2007 -0400
18954 [boilerplate] Clean up includes and remove unnecessary ones
18956 boilerplate/cairo-boilerplate-directfb.c | 9 +++++----
18957 boilerplate/cairo-boilerplate-pdf.c | 2 +-
18958 boilerplate/cairo-boilerplate-svg.c | 2 +-
18959 boilerplate/cairo-boilerplate-xcb.c | 2 +-
18960 boilerplate/cairo-boilerplate.c | 30 +++++++++---------------------
18961 5 files changed, 17 insertions(+), 28 deletions(-)
18963 commit 4b569f13d758015f33ad258a70ad4f472da771ed
18964 Author: Behdad Esfahbod <behdad@behdad.org>
18965 Date: Fri Apr 20 00:08:44 2007 -0400
18967 [boilerplate] Strip win32 boilerplate into cairo-boilerplate-win32*
18969 boilerplate/Makefile.am | 5 ++
18970 boilerplate/cairo-boilerplate-win32-private.h | 38 ++++++++++++++++++
18971 boilerplate/cairo-boilerplate-win32.c | 51 +++++++++++++++++++++++++
18972 boilerplate/cairo-boilerplate.c | 31 ++-------------
18973 4 files changed, 99 insertions(+), 26 deletions(-)
18975 commit 0a03d66fffe7388d8fb4ffdb7bb5501a214c6342
18976 Author: Behdad Esfahbod <behdad@behdad.org>
18977 Date: Thu Apr 19 23:58:51 2007 -0400
18979 [boilerplate] Rename create_win32_surface to _cairo_boilerplate_win32_create_surface
18981 boilerplate/cairo-boilerplate.c | 22 +++++++++++-----------
18982 1 files changed, 11 insertions(+), 11 deletions(-)
18984 commit 5ee882d3941a9df61d539e056933564a758a6bbc
18985 Author: Behdad Esfahbod <behdad@behdad.org>
18986 Date: Thu Apr 19 23:53:34 2007 -0400
18988 [boilerplate] Remove empty cleanup_win32
18990 boilerplate/cairo-boilerplate.c | 11 ++---------
18991 1 files changed, 2 insertions(+), 9 deletions(-)
18993 commit a684fd80e750bea5661262e29a59c4f8c4d9cee3
18994 Author: Behdad Esfahbod <behdad@behdad.org>
18995 Date: Thu Apr 19 23:36:00 2007 -0400
18997 [directfb] Silence compiler warning
18999 src/cairo-directfb-surface.c | 2 +-
19000 1 files changed, 1 insertions(+), 1 deletions(-)
19002 commit 23e6abc3fc01e3d722adfc48cd1df9c8db73adc1
19003 Author: Behdad Esfahbod <behdad@behdad.org>
19004 Date: Thu Apr 19 22:40:52 2007 -0400
19006 [boilerplate] Strip glitz boilerplate into cairo-boilerplate-glitz*
19008 boilerplate/Makefile.am | 30 +-
19009 boilerplate/cairo-boilerplate-glitz-private.h | 73 ++++
19010 boilerplate/cairo-boilerplate-glitz.c | 477 ++++++++++++++++++++++++
19011 boilerplate/cairo-boilerplate.c | 480 +------------------------
19012 4 files changed, 582 insertions(+), 478 deletions(-)
19014 commit 7d576a376706aad427915b4872429f5605104886
19015 Author: Behdad Esfahbod <behdad@behdad.org>
19016 Date: Thu Apr 19 22:25:28 2007 -0400
19018 [boilerplate] Minor indentation fix
19020 boilerplate/cairo-boilerplate.c | 4 ++--
19021 1 files changed, 2 insertions(+), 2 deletions(-)
19023 commit 06b657ccf129f6f154c0db7886e5cca6191f93ca
19024 Author: Behdad Esfahbod <behdad@behdad.org>
19025 Date: Thu Apr 19 22:20:38 2007 -0400
19027 [boilerplate] Strip xcb boilerplate into cairo-boilerplate-xcb*
19029 boilerplate/Makefile.am | 5 +
19030 boilerplate/cairo-boilerplate-xcb-private.h | 44 ++++++++++
19031 boilerplate/cairo-boilerplate-xcb.c | 115 +++++++++++++++++++++++++++
19032 boilerplate/cairo-boilerplate.c | 90 +--------------------
19033 4 files changed, 167 insertions(+), 87 deletions(-)
19035 commit 65f636649d54348722354b2400c3a191309da0e1
19036 Author: Behdad Esfahbod <behdad@behdad.org>
19037 Date: Thu Apr 19 22:13:08 2007 -0400
19039 [boilerplate] Strip svg boilerplate into cairo-boilerplate-svg*
19041 boilerplate/Makefile.am | 5 +
19042 boilerplate/cairo-boilerplate-svg-private.h | 44 +++++++++
19043 boilerplate/cairo-boilerplate-svg.c | 129 +++++++++++++++++++++++++++
19044 boilerplate/cairo-boilerplate.c | 106 +---------------------
19045 4 files changed, 181 insertions(+), 103 deletions(-)
19047 commit 8c9960675b82978acbd5a85ef358c674c3407ee3
19048 Author: Behdad Esfahbod <behdad@behdad.org>
19049 Date: Thu Apr 19 22:10:09 2007 -0400
19051 [boilerplate] Strip pdf boilerplate into cairo-boilerplate-pdf*
19053 boilerplate/Makefile.am | 5 +
19054 boilerplate/cairo-boilerplate-pdf-private.h | 44 +++++++++
19055 boilerplate/cairo-boilerplate-pdf.c | 134 +++++++++++++++++++++++++++
19056 boilerplate/cairo-boilerplate.c | 111 +---------------------
19057 4 files changed, 186 insertions(+), 108 deletions(-)
19059 commit d9ce7de57514710f425bdee613edc4ea79ac0f0a
19060 Author: Behdad Esfahbod <behdad@behdad.org>
19061 Date: Thu Apr 19 22:08:24 2007 -0400
19063 [boilerplate] Rename xcairo_surface_set_user_data to cairo_boilerplate_surface_set_user_data
19065 and make it public.
19067 boilerplate/cairo-boilerplate.c | 48 +++++++++++++++++++++-----------------
19068 boilerplate/cairo-boilerplate.h | 6 +++++
19069 2 files changed, 32 insertions(+), 22 deletions(-)
19071 commit df6b8ecc8963518c897648d82aab1aa090b4721a
19072 Author: Behdad Esfahbod <behdad@behdad.org>
19073 Date: Thu Apr 19 21:46:51 2007 -0400
19075 [boilerplate] Strip ps boilerplate into cairo-boilerplate-ps*
19077 boilerplate/Makefile.am | 5 +
19078 boilerplate/cairo-boilerplate-ps-private.h | 44 +++++++++
19079 boilerplate/cairo-boilerplate-ps.c | 138 ++++++++++++++++++++++++++++
19080 boilerplate/cairo-boilerplate.c | 115 +----------------------
19081 4 files changed, 190 insertions(+), 112 deletions(-)
19083 commit 6461f0d120bf5fabd08b7621233229b223b3de89
19084 Author: Behdad Esfahbod <behdad@behdad.org>
19085 Date: Thu Apr 19 20:45:10 2007 -0400
19087 [boilerplate] Remove unused variables
19089 boilerplate/cairo-boilerplate.c | 3 ---
19090 1 files changed, 0 insertions(+), 3 deletions(-)
19092 commit f2d6275352142df631e00e27456d7e6ceb83804c
19093 Author: Behdad Esfahbod <behdad@behdad.org>
19094 Date: Thu Apr 19 20:41:34 2007 -0400
19096 [boilerplate] Fix renaming typo
19098 boilerplate/cairo-boilerplate.c | 2 +-
19099 1 files changed, 1 insertions(+), 1 deletions(-)
19101 commit d5535c993b5cde5df29a7a29339aa500992128bf
19102 Author: Behdad Esfahbod <behdad@behdad.org>
19103 Date: Thu Apr 19 20:36:14 2007 -0400
19105 [boilerplate/test] Move vector_ignored_tests from boilerplate/ to test/
19107 boilerplate/cairo-boilerplate.c | 28 -----------------
19108 test/cairo-test.c | 62 ++++++++++++++++++++++++++++----------
19109 2 files changed, 45 insertions(+), 45 deletions(-)
19111 commit d6dc4f978364d287367d239e5594c7ffe50a2571
19112 Author: Behdad Esfahbod <behdad@behdad.org>
19113 Date: Thu Apr 19 20:28:22 2007 -0400
19115 [boilerplate] Add a boolean is_vector to boilerplate target type
19117 This is used to move the skip-these-tests-for-vector code into
19118 cairo-test which it belongs.
19120 boilerplate/cairo-boilerplate.c | 18 ++++++++++++------
19121 boilerplate/cairo-boilerplate.h | 1 +
19122 2 files changed, 13 insertions(+), 6 deletions(-)
19124 commit 0b5e2dbaa84225452a0935f61d2348bce88a3e69
19125 Author: Behdad Esfahbod <behdad@behdad.org>
19126 Date: Thu Apr 19 20:23:55 2007 -0400
19128 [boilerplate] Sort backend entries in Makefile.am alphabetically
19130 boilerplate/Makefile.am | 10 +++++-----
19131 1 files changed, 5 insertions(+), 5 deletions(-)
19133 commit be0320c4f8082a9274899959dc82297a04aa7800
19134 Author: Behdad Esfahbod <behdad@behdad.org>
19135 Date: Thu Apr 19 20:17:26 2007 -0400
19137 [boilerplate] Properly namespace boilerplate methods
19139 in preparation for ripping them into per-backend files.
19141 boilerplate/cairo-boilerplate-beos.cpp | 24 +-
19142 boilerplate/cairo-boilerplate-directfb.c | 33 ++--
19143 boilerplate/cairo-boilerplate-quartz.c | 12 +-
19144 boilerplate/cairo-boilerplate-xlib.c | 24 +-
19145 boilerplate/cairo-boilerplate.c | 328 +++++++++++++++++-------------
19146 5 files changed, 236 insertions(+), 185 deletions(-)
19148 commit 9b660a3d54940c68eb48f2afeca7e87e1d2bffa6
19149 Author: Behdad Esfahbod <behdad@behdad.org>
19150 Date: Thu Apr 19 19:56:05 2007 -0400
19152 [boilerplate] Strip xlib boilerplate into cairo-boilerplate-xlib*
19154 boilerplate/Makefile.am | 5 +
19155 boilerplate/cairo-boilerplate-xlib-private.h | 44 ++++++
19156 boilerplate/cairo-boilerplate-xlib.c | 196 ++++++++++++++++++++++++++
19157 boilerplate/cairo-boilerplate.c | 183 ++-----------------------
19158 4 files changed, 254 insertions(+), 174 deletions(-)
19160 commit d945f6434643ac35f0e86352cfe3ccf021f568de
19161 Author: Behdad Esfahbod <behdad@behdad.org>
19162 Date: Thu Apr 19 19:44:57 2007 -0400
19164 [boilerplate] Move includes around
19166 boilerplate/cairo-boilerplate.c | 23 ++++++++++-------------
19167 1 files changed, 10 insertions(+), 13 deletions(-)
19169 commit 0130cca6924f5c0969ca285585c68a458301a882
19170 Author: Behdad Esfahbod <behdad@behdad.org>
19171 Date: Thu Apr 19 19:39:58 2007 -0400
19173 [boilerplate] Rename test-directfb to boilerplate-directfb
19175 boilerplate/Makefile.am | 3 +-
19176 boilerplate/cairo-boilerplate-directfb-private.h | 23 ++++
19177 boilerplate/cairo-boilerplate-directfb.c | 143 ++++++++++++++++++++++
19178 boilerplate/cairo-boilerplate.c | 6 +-
19179 boilerplate/cairo-test-directfb.c | 143 ----------------------
19180 boilerplate/cairo-test-directfb.h | 23 ----
19181 6 files changed, 171 insertions(+), 170 deletions(-)
19183 commit fb2c0daa09af083278024c3da6f7e9e3f851984f
19184 Author: Behdad Esfahbod <behdad@behdad.org>
19185 Date: Thu Apr 19 19:38:20 2007 -0400
19187 [boilerplate] Rename test-beos to boilerplate-beos
19189 boilerplate/Makefile.am | 3 +-
19190 boilerplate/cairo-boilerplate-beos-private.h | 34 ++++
19191 boilerplate/cairo-boilerplate-beos.cpp | 258 ++++++++++++++++++++++++++
19192 boilerplate/cairo-boilerplate.c | 8 +-
19193 boilerplate/cairo-test-beos.cpp | 258 --------------------------
19194 boilerplate/cairo-test-beos.h | 34 ----
19195 6 files changed, 298 insertions(+), 297 deletions(-)
19197 commit 01760286b388870e5bebf3851b4bef1350d89852
19198 Author: Behdad Esfahbod <behdad@behdad.org>
19199 Date: Thu Apr 19 19:32:52 2007 -0400
19201 [boilerplate] Rename quartz-boilerplate to boilerplate-quartz
19203 boilerplate/Makefile.am | 4 +-
19204 boilerplate/cairo-boilerplate-quartz-private.h | 41 ++++++++++++++++
19205 boilerplate/cairo-boilerplate-quartz.c | 60 ++++++++++++++++++++++++
19206 boilerplate/cairo-boilerplate.c | 10 ++--
19207 boilerplate/cairo-quartz-boilerplate-private.h | 41 ----------------
19208 boilerplate/cairo-quartz-boilerplate.c | 60 ------------------------
19209 6 files changed, 108 insertions(+), 108 deletions(-)
19211 commit d64ef355217db7a555da0029187d19c80ec12609
19212 Author: Chris Wilson <chris@chris-wilson.co.uk>
19213 Date: Thu Apr 19 23:12:09 2007 +0100
19215 Include cairo-perf in make check
19217 Although cairo-perf is not written to perform explicit failure testing of
19218 cairo, it does generate long sequences of cairo operations which often
19219 trigger unexpected errors. By including it with make check, it becomes
19220 even easier for the programmer to check that one has not broken cairo in
19221 terms of expected behaviour or performance.
19223 Makefile.am | 3 ++-
19224 perf/Makefile.am | 30 +++++++++++++++++++-----------
19225 2 files changed, 21 insertions(+), 12 deletions(-)
19227 commit 0ffb021e9b0cc2ec9afc3eaa360b4518327afa6c
19228 Author: Behdad Esfahbod <behdad@behdad.org>
19229 Date: Thu Apr 19 16:52:51 2007 -0400
19231 [cairo-mutex] If no mutex implementation is found, should #error instead of #warning
19233 otherwise we will cause compile errors before the sanity check macros get
19236 src/cairo-mutex-private.h | 4 ++--
19237 1 files changed, 2 insertions(+), 2 deletions(-)
19239 commit 813cdd71503ca2d77da011c91368e55cf20ad657
19240 Author: Behdad Esfahbod <behdad@behdad.org>
19241 Date: Thu Apr 19 16:49:35 2007 -0400
19243 [configure.in] Support --disable-pthread
19245 Also allows for --enable-pthread=yes which will make configure abort
19246 if pthread is not found (as opposed to silently disabling it).
19248 configure.in | 13 ++++++++++++-
19249 1 files changed, 12 insertions(+), 1 deletions(-)
19251 commit 6d01e89988ea89ae21f3461825583d89b6eef55e
19252 Author: Chris Wilson <chris@chris-wilson.co.uk>
19253 Date: Thu Apr 19 21:46:00 2007 +0100
19255 Add callgrind output files to CLEANFILES and .gitignore.
19257 perf/.gitignore | 2 ++
19258 perf/Makefile.am | 1 +
19259 2 files changed, 3 insertions(+), 0 deletions(-)
19261 commit 2c79f8b75bd5bb0bb3bf054fb2b3cae6de382a7c
19262 Author: Chris Wilson <chris@chris-wilson.co.uk>
19263 Date: Thu Apr 19 21:41:43 2007 +0100
19265 Fix command line for running cairo-perf under valgrind.
19267 The CAIRO_PERF_ENVIRONMENT slipped into the middle of the command line
19268 instead of at the start.
19270 perf/Makefile.am | 8 ++++----
19271 1 files changed, 4 insertions(+), 4 deletions(-)
19273 commit 3631c11eb4ab49f2bb3b9ef0478e5516793f221f
19274 Author: Behdad Esfahbod <behdad@behdad.org>
19275 Date: Thu Apr 19 16:38:23 2007 -0400
19277 [cairo-mutex] Switch to HAVE_WINDOWS_H to use Win32 mutexes
19279 src/cairo-mutex-private.h | 2 +-
19280 1 files changed, 1 insertions(+), 1 deletions(-)
19282 commit d2a824a191e6b0d10a1f495d970b0406e37e0a39
19283 Author: Behdad Esfahbod <behdad@behdad.org>
19284 Date: Thu Apr 19 16:37:36 2007 -0400
19286 [cairo-commit] Update attribution headers in cairo-mutex-private.h
19288 src/cairo-mutex-private.h | 3 ++-
19289 1 files changed, 2 insertions(+), 1 deletions(-)
19291 commit 12dfd8bb4bf72483c835e169003fa00b114beb13
19292 Author: Behdad Esfahbod <behdad@behdad.org>
19293 Date: Thu Apr 19 16:36:43 2007 -0400
19295 [cairo-mutex] Warn if no mutex definition found and let sanity macros err
19296 about undefined CAIRO_MUTEX macros.
19298 src/cairo-mutex-private.h | 8 +++++---
19299 1 files changed, 5 insertions(+), 3 deletions(-)
19301 commit 6aa823841d6c1d59d4d972f0236f0e6a43199970
19302 Author: Behdad Esfahbod <behdad@behdad.org>
19303 Date: Thu Apr 19 16:36:10 2007 -0400
19305 [cairo-mutex] Support non-reentrant compilation if CAIRO_NO_MUTEX defined
19308 src/cairo-mutex-private.h | 10 +++++++++-
19309 1 files changed, 9 insertions(+), 1 deletions(-)
19311 commit e5980f69ad2d59ee305fe9aae62070a74d2df58b
19312 Author: Behdad Esfahbod <behdad@behdad.org>
19313 Date: Thu Apr 19 16:31:47 2007 -0400
19315 [cairo-commit] Just warn for BeOS and let the sanity check macros err
19316 about undefined CAIRO_MUTEX macros.
19318 src/cairo-mutex-private.h | 10 +++-------
19319 1 files changed, 3 insertions(+), 7 deletions(-)
19321 commit 8ebb054ff9d2fe12faa7b1807aef24b2bf916e64
19322 Author: Behdad Esfahbod <behdad@behdad.org>
19323 Date: Thu Apr 19 16:28:44 2007 -0400
19325 [cairo-mutex] Prefer "#if CAIRO_SOMETHING" over "#if defined CAIRO_SOMETHING"
19327 src/cairo-mutex-private.h | 4 ++--
19328 1 files changed, 2 insertions(+), 2 deletions(-)
19330 commit 97c197478023ceb5477a203d058eaec2cb18f987
19331 Author: Behdad Esfahbod <behdad@behdad.org>
19332 Date: Thu Apr 19 16:26:21 2007 -0400
19334 [cairo-mutex] Add default implementation for CAIRO_MUTEX_INIT
19335 that uses CAIRO_MUTEX_NIL_INITIALIZER. This used to be the
19336 implementation for pthread because pthread_mutex_init() is
19337 broken. See d48bb4fbe876a93199ba48fcf5f32734fbe18ba9.
19339 src/cairo-mutex-private.h | 11 +++++++----
19340 1 files changed, 7 insertions(+), 4 deletions(-)
19342 commit 6d2a2dd6d9190c62b209e47c083b7df72e7134fb
19343 Author: Behdad Esfahbod <behdad@behdad.org>
19344 Date: Thu Apr 19 16:24:16 2007 -0400
19346 [cairo-mutex] Add default no-op implementation for CAIRO_MUTEX_FINI
19348 src/cairo-mutex-private.h | 6 ++++++
19349 1 files changed, 6 insertions(+), 0 deletions(-)
19351 commit 2067d6fa90dae80aa666fb7328d51e2f92bec5bd
19352 Author: Behdad Esfahbod <behdad@behdad.org>
19353 Date: Thu Apr 19 16:23:14 2007 -0400
19355 [cairo-mutex] Use CAIRO_MUTEX_NOOP when applicable
19357 src/cairo-mutex-private.h | 2 +-
19358 1 files changed, 1 insertions(+), 1 deletions(-)
19360 commit 5dda76c90f8886b6017ca8bbdf81be2b97201962
19361 Author: Behdad Esfahbod <behdad@behdad.org>
19362 Date: Thu Apr 19 16:22:02 2007 -0400
19364 [cairo-mutex] Err if at least one of mutex macros are not defined
19366 src/cairo-mutex-private.h | 23 +++++++++++++++++++++++
19367 1 files changed, 23 insertions(+), 0 deletions(-)
19369 commit f771b9157c26430949f4dd1412c7a7b35367f81a
19370 Author: Behdad Esfahbod <behdad@behdad.org>
19371 Date: Thu Apr 19 16:21:13 2007 -0400
19373 [cairo-mutex] Define and use CAIRO_MUTEX_USE_GENERIC_INITIALIZATION
19374 We use the generic initialization if CAIRO_MUTEX_INITIALIZE is not
19377 src/cairo-mutex-private.h | 9 +++++++++
19378 src/cairo-mutex.c | 2 +-
19379 2 files changed, 10 insertions(+), 1 deletions(-)
19381 commit 4fc52e2d49c1299f8f175e22472ebe08baa41fa4
19382 Author: Behdad Esfahbod <behdad@behdad.org>
19383 Date: Thu Apr 19 16:19:48 2007 -0400
19385 [cairo-mutex] Define CAIRO_MUTEX_NOOP
19387 src/cairo-mutex-private.h | 6 ++++++
19388 1 files changed, 6 insertions(+), 0 deletions(-)
19390 commit f9dd8fd0ef0ad95921723155b951cd113ccb2d0b
19391 Author: Behdad Esfahbod <behdad@behdad.org>
19392 Date: Thu Apr 19 16:19:25 2007 -0400
19394 [cairo-mutex] Inlucde cairo-features.h and config.h
19395 Previously we were lucky enough to have them included before us
19397 src/cairo-mutex-private.h | 6 ++++++
19398 1 files changed, 6 insertions(+), 0 deletions(-)
19400 commit 4e754cf3df9855c1d442578e555b7fb17c3dd4a1
19401 Author: Behdad Esfahbod <behdad@behdad.org>
19402 Date: Thu Apr 19 15:31:24 2007 -0400
19404 [cairo-truetype-subset] Shut gcc warning up
19406 src/cairo-truetype-subset.c | 2 +-
19407 1 files changed, 1 insertions(+), 1 deletions(-)
19409 commit 4141e752e2eb0f40f2eb298bad398e6390e00ef8
19410 Author: Behdad Esfahbod <behdad@behdad.org>
19411 Date: Thu Apr 19 15:04:11 2007 -0400
19413 [cairo-freelist] Remove redundant struct declarations
19415 src/cairo-freelist-private.h | 2 --
19416 1 files changed, 0 insertions(+), 2 deletions(-)
19418 commit ea817c560c429f445e4c450b60d499dae27f6024
19419 Author: Behdad Esfahbod <behdad@behdad.org>
19420 Date: Thu Apr 19 14:50:38 2007 -0400
19422 [cairo-mutex] Remove unneeded #undef CAIRO_MUTEX_EXTERNAL
19424 src/cairo-mutex-private.h | 8 --------
19425 1 files changed, 0 insertions(+), 8 deletions(-)
19427 commit 0b281085b55aae70876c6ef022266b73461800ab
19428 Author: Behdad Esfahbod <behdad@behdad.org>
19429 Date: Thu Apr 19 14:45:41 2007 -0400
19431 [cairo-mutex] Err on unintended inclusion of cairo-mutex-list-private.h
19433 src/cairo-mutex-list-private.h | 3 +++
19434 1 files changed, 3 insertions(+), 0 deletions(-)
19436 commit 47be7280bfe751c9f635f1e17c158f04b2927ae3
19437 Author: Behdad Esfahbod <behdad@behdad.org>
19438 Date: Thu Apr 19 14:42:55 2007 -0400
19440 [cairo-mutex] Remove multiple-inclusion guards from cairo-mutex-list-private.h
19442 This is a list header file. We should not prevent it from multiple
19445 src/cairo-mutex-list-private.h | 3 ---
19446 src/cairo-mutex.c | 2 --
19447 2 files changed, 0 insertions(+), 5 deletions(-)
19449 commit 55ea0466e25de2c60171a9d6c96536bc2e7fb9e3
19450 Author: Chris Wilson <chris@chris-wilson.co.uk>
19451 Date: Thu Apr 19 20:24:27 2007 +0100
19453 Embed simple clip XRectangles in cairo_xlib_surface_t
19455 Toolkits like GTK+ almost always set a simple rectangular clip mask before
19456 any cairo operation, so avoid the allocation for this simple case by
19457 embedding a small number of XRectangles into the surface structure.
19459 src/cairo-xlib-surface.c | 18 +++++++++++-------
19460 1 files changed, 11 insertions(+), 7 deletions(-)
19462 commit 7906a993403e75aa34b32d2d9338ec179896d765
19463 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
19464 Date: Thu Apr 19 14:54:30 2007 +0200
19466 Define INT32 limits on MSVC as noticed by Hans-Jürgen Schäler
19468 src/cairo-wideint-private.h | 6 ++++++
19469 1 files changed, 6 insertions(+), 0 deletions(-)
19471 commit cc8841645cd7aa06ae48cbad804b31b3c0c2146b
19472 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
19473 Date: Thu Apr 19 13:47:45 2007 +0200
19475 Properly use CAIRO_MUTEX_{INIT,FINI} and remove CAIRO_MUTEX_LIST_PRIVATE_H sentinal before explicitly including the mutex list.
19477 src/cairo-mutex.c | 10 ++++++----
19478 1 files changed, 6 insertions(+), 4 deletions(-)
19480 commit 39a633a8f3618f3b1adb3eefdf36e2fc6d896054
19481 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
19482 Date: Thu Apr 19 13:15:08 2007 +0200
19484 Reintroduce DllMain as deterministic mutex initialization path
19486 src/cairo-win32-surface.c | 30 ++++++++++++++++++++++++++++++
19487 1 files changed, 30 insertions(+), 0 deletions(-)
19489 commit 9b348929b51fb45f5985914350a10955d6df17ae
19490 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
19491 Date: Thu Apr 19 13:13:42 2007 +0200
19493 Introduce CAIRO_MUTEX_FINALIZE as counter-part for CAIRO_MUTEX_INITIALIZE
19495 src/cairo-mutex-private.h | 8 +++++++-
19496 src/cairo-mutex.c | 12 ++++++++++++
19497 src/cairo-os2-surface.c | 6 +++---
19498 3 files changed, 22 insertions(+), 4 deletions(-)
19500 commit 67767afa09e3622988b9ac67b754114ea9f84105
19501 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
19502 Date: Thu Apr 19 12:35:10 2007 +0200
19504 Update _cairo_mutex_initialized during initialization.
19506 src/cairo-mutex.c | 2 ++
19507 1 files changed, 2 insertions(+), 0 deletions(-)
19509 commit 41c6eebcd1fab94fd3a91d09f1ef6ee0d8c7a044
19510 Author: Chris Wilson <chris@chris-wilson.co.uk>
19511 Date: Thu Apr 19 11:56:15 2007 +0100
19513 Optionally provide a pattern to use for creating a similar solid surface.
19515 _cairo_surface_create_similar_solid() creates a fresh pattern to wrap
19516 color, however sometimes the caller already has that pattern available.
19517 In those circumstances we can pass the pattern as well as the color and
19518 avoid the extra allocation.
19520 src/cairo-clip.c | 3 ++-
19521 src/cairo-glitz-surface.c | 3 ++-
19522 src/cairo-pattern.c | 3 ++-
19523 src/cairo-surface.c | 24 +++++++++++++++---------
19524 src/cairoint.h | 6 +++++-
19525 5 files changed, 26 insertions(+), 13 deletions(-)
19527 commit ef60e7c65144edd1aa14757b269f2c196df732a2
19528 Author: Chris Wilson <chris@chris-wilson.co.uk>
19529 Date: Wed Apr 18 18:08:45 2007 +0100
19531 cairo-xlib-surface - track picture properties.
19533 By tracking picture properties we can dramatically reduce the amount of
19534 X11 traffic by avoiding redundant changes.
19536 src/cairo-xlib-surface.c | 35 ++++++++++++++++++++++++-----------
19537 1 files changed, 24 insertions(+), 11 deletions(-)
19539 commit 9cf09556339e64bdf1273e95938b657112df07b6
19540 Author: Chris Wilson <chris@chris-wilson.co.uk>
19541 Date: Thu Apr 19 09:27:51 2007 +0100
19543 Create opaque similar solid surfaces when possible.
19545 For opaque surfaces the backends may use simpler code paths - for
19546 example, the xlib backend may be able to use the Core protocol rather
19547 than Render. So we only generate a surface with an alpha component if
19548 the color is not opaque.
19550 src/cairo-pattern.c | 8 +++++---
19551 1 files changed, 5 insertions(+), 3 deletions(-)
19553 commit f7b6fc474651311356f116b7d8d7a5ef1cbab570
19554 Author: Chris Wilson <chris@chris-wilson.co.uk>
19555 Date: Thu Apr 19 09:22:08 2007 +0100
19557 Define a CAIRO_ALPHA_IS_OPAQUE variant that operates on uint16.
19559 Introducing this variant also fixed a bug in _gradient_is_opaque()
19560 which was using the fractional test on a uint16.
19562 src/cairo-pattern.c | 6 +++---
19563 src/cairoint.h | 3 +++
19564 2 files changed, 6 insertions(+), 3 deletions(-)
19566 commit 157074c794903f1dbe68c1ba5b129b4176dc7975
19567 Author: Behdad Esfahbod <behdad@behdad.org>
19568 Date: Wed Apr 18 19:46:30 2007 -0400
19570 [boilerplate] Add cairo_boilerplate_get/free_targets
19571 This means, test and perf suites now share the same target handling
19572 code, including parsing CAIRO_TEST_TARGET.
19574 boilerplate/cairo-boilerplate.c | 73 +++++++++++++++++++++++++++++++++++++--
19575 boilerplate/cairo-boilerplate.h | 6 +++-
19576 perf/cairo-perf.c | 20 +++++-----
19577 test/cairo-test.c | 54 ++++-------------------------
19578 4 files changed, 92 insertions(+), 61 deletions(-)
19580 commit 47c02a6bd67e8b7e50977cc87d5e35358d5c4c2e
19581 Author: Behdad Esfahbod <behdad@behdad.org>
19582 Date: Wed Apr 18 19:15:16 2007 -0400
19584 [boilerplate] s/_cairo_test_content_name/cairo_boilerplate_content_name/g
19586 boilerplate/cairo-boilerplate.c | 8 ++++----
19587 boilerplate/cairo-boilerplate.h | 2 +-
19588 test/cairo-test.c | 10 +++++-----
19589 3 files changed, 10 insertions(+), 10 deletions(-)
19591 commit b9026d0b137520247b4a93287bd518fc79774e93
19592 Author: Behdad Esfahbod <behdad@behdad.org>
19593 Date: Wed Apr 18 19:09:53 2007 -0400
19595 [perf] Make targets more consistent with the test suite
19597 1) no VALGRING vs VG abbreviations
19598 2) setting TARGETS and ITERS on the make command line works now
19600 perf/Makefile.am | 26 +++++++++++++++++---------
19601 perf/cairo-perf.c | 8 ++++++--
19602 2 files changed, 23 insertions(+), 11 deletions(-)
19604 commit 9f3e0694e644d2279c7f4835f8035d4ecccb5711
19605 Author: Behdad Esfahbod <behdad@behdad.org>
19606 Date: Wed Apr 18 19:08:54 2007 -0400
19608 [test] Allow bypassing all test targets by setting CAIRO_TEST_TARGET=" "
19610 test/cairo-test.c | 5 +++++
19611 1 files changed, 5 insertions(+), 0 deletions(-)
19613 commit 52d4e0f3191440e8ebe366b593c2e9c955328258
19614 Author: Behdad Esfahbod <behdad@behdad.org>
19615 Date: Wed Apr 18 18:27:28 2007 -0400
19617 [doc] Make section title capitalization more consistent
19619 doc/public/cairo-sections.txt | 2 +-
19620 doc/public/language-bindings.xml | 2 +-
19621 2 files changed, 2 insertions(+), 2 deletions(-)
19623 commit beadcdf9bd7c1dde48c8c751ba8af75c60b93a5f
19624 Author: Behdad Esfahbod <behdad@behdad.org>
19625 Date: Wed Apr 18 18:24:09 2007 -0400
19627 Rename cairo-font.c to cairo-font-face.c
19629 src/Makefile.am | 2 +-
19630 src/Makefile.win32 | 2 +-
19631 src/cairo-font-face.c | 514 +++++++++++++++++++++++++++++++++++++++++++++++++
19632 src/cairo-font.c | 514 -------------------------------------------------
19633 src/cairoint.h | 2 +-
19634 5 files changed, 517 insertions(+), 517 deletions(-)
19636 commit f56582ef06bbf56edcc6ecc26698abaeba1306b0
19637 Author: Behdad Esfahbod <behdad@behdad.org>
19638 Date: Wed Apr 18 17:50:36 2007 -0400
19640 Put back __inline definition for MSC compilers, in both cairo and pixman
19641 Apparently it's too much to expect people compiling on windows to fill
19642 in sensible values for config.h... /sigh
19644 pixman/src/pixmanint.h | 10 ++++++++--
19645 src/cairoint.h | 2 ++
19646 2 files changed, 10 insertions(+), 2 deletions(-)
19648 commit a54b6ed0784dd00375424e581bc7349dd8a2a2d9
19649 Author: Behdad Esfahbod <behdad@behdad.org>
19650 Date: Wed Apr 18 17:45:31 2007 -0400
19652 [pixman] Rename icint.h to pixmanint.h
19654 pixman/src/Makefile.am | 4 +-
19655 pixman/src/check-pixmanint.sh | 17 +
19656 pixman/src/fbcompose.c | 4 +-
19657 pixman/src/fbedge.c | 4 +-
19658 pixman/src/fbmmx.c | 4 +-
19659 pixman/src/fbpict.c | 4 +-
19660 pixman/src/fbtrap.c | 4 +-
19661 pixman/src/icblt.c | 4 +-
19662 pixman/src/icbltone.c | 4 +-
19663 pixman/src/iccolor.c | 6 +-
19664 pixman/src/icformat.c | 6 +-
19665 pixman/src/icimage.c | 4 +-
19666 pixman/src/icpixels.c | 4 +-
19667 pixman/src/icrect.c | 6 +-
19668 pixman/src/icstipple.c | 4 +-
19669 pixman/src/ictransform.c | 6 +-
19670 pixman/src/ictrap.c | 5 +-
19671 pixman/src/ictri.c | 5 +-
19672 pixman/src/icutil.c | 4 +-
19673 pixman/src/pixman-xserver-compat.h | 4 +-
19674 pixman/src/pixman.h | 4 -
19675 pixman/src/pixmanint.h | 1070 ++++++++++++++++++++++++++++++++++++
19676 pixman/src/pixregion.c | 4 +-
19677 pixman/src/renderedge.c | 4 +-
19678 24 files changed, 1110 insertions(+), 75 deletions(-)
19680 commit 48121e97ac4f0114a0d5bc35aec76d2aba23a783
19681 Author: Behdad Esfahbod <behdad@behdad.org>
19682 Date: Wed Apr 18 17:04:07 2007 -0400
19684 [cairoint.h] Define WARN_UNUSED_RESULT if undefined
19686 src/cairoint.h | 3 +++
19687 1 files changed, 3 insertions(+), 0 deletions(-)
19689 commit a396e0b05731db3acbf1e8d82ab77592b697e417
19690 Author: Chris Wilson <chris@chris-wilson.co.uk>
19691 Date: Wed Apr 18 14:24:10 2007 +0100
19693 cairo-perf - add the missing newline.
19695 Oops, missed out the newline for the fprintf in the previous commit.
19697 perf/cairo-perf.c | 2 +-
19698 1 files changed, 1 insertions(+), 1 deletions(-)
19700 commit 383e9d5368706168498a87d1b7f023f2b59c2f92
19701 Author: Chris Wilson <chris@chris-wilson.co.uk>
19702 Date: Wed Apr 18 14:12:20 2007 +0100
19704 cairo-perf - Check that the surface is created.
19706 Exit(1) if we fail to create the target surface.
19708 perf/cairo-perf.c | 7 +++++++
19709 1 files changed, 7 insertions(+), 0 deletions(-)
19711 commit 7131f4e6aea11d94e38375a6be71887825008e48
19712 Author: Dave Yeo <daveryeo@telus.net>
19713 Date: Tue Apr 17 15:30:20 2007 -0400
19715 [OS2] Fix #include "cairo-mutex-list-private.h"
19717 src/cairo-os2-surface.c | 2 +-
19718 1 files changed, 1 insertions(+), 1 deletions(-)
19720 commit f7a2787685d640dd35ef7ef1314c4e754771c512
19721 Merge: 2efaf3a... cab4d41...
19722 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
19723 Date: Mon Apr 16 23:05:10 2007 +0200
19725 Merge branch 'master' of git+ssh://hasselmm@git.freedesktop.org/git/cairo
19727 commit cab4d41cae4463841bca297a7e16c970633c8c21
19728 Author: Chris Wilson <chris@chris-wilson.co.uk>
19729 Date: Mon Apr 16 16:57:24 2007 +0100
19731 create-for-stream - free resources after test failure.
19733 create-for-stream often fails whilst running under valgrind due to the
19734 postscript output containing a CreationDate with seconds resolution,
19735 hence the visibility of the resource leaks during failure.
19737 test/create-for-stream.c | 37 ++++++++++++++++++++-----------------
19738 1 files changed, 20 insertions(+), 17 deletions(-)
19740 commit 9d435d5fbfae0f64053f6596f73410bc352cd2de
19741 Author: Chris Wilson <chris@chris-wilson.co.uk>
19742 Date: Mon Apr 16 15:42:07 2007 +0100
19744 Add suppression for leak from XauFileName.
19746 The string is statically allocated by XauFileName() and so ignore the fact
19747 that is not freed upon termination.
19749 test/.valgrind-suppressions | 7 ++++++-
19750 1 files changed, 6 insertions(+), 1 deletions(-)
19752 commit 3a3fb0031decec26260cd94e60f1b0bf06541a6d
19753 Author: Chris Wilson <chris@chris-wilson.co.uk>
19754 Date: Mon Apr 16 15:08:54 2007 +0100
19758 Add .*.sw? (vim swapfiles).
19759 Add *~ (backup files).
19760 Add *.gcno and *.gcda (gcov intermediates).
19763 boilerplate/.gitignore | 4 ++++
19764 perf/.gitignore | 4 ++++
19765 src/.gitignore | 1 +
19766 test/.gitignore | 3 +++
19767 5 files changed, 13 insertions(+), 0 deletions(-)
19769 commit 7ff95c7230471be3ffa231ebc71e1d63ba4621b0
19770 Author: Kouhei Sutou <kou@cozmixng.org>
19771 Date: Mon Apr 16 02:48:14 2007 -0400
19773 Support MinGW DLL compilation
19776 src/cairo-win32-surface.c | 4 ++++
19777 2 files changed, 5 insertions(+), 0 deletions(-)
19779 commit ca9df759b4eda8f19a92b2e0b1092fa7b618d25b
19780 Author: Chris Wilson <chris@chris-wilson.co.uk>
19781 Date: Sat Apr 14 15:28:29 2007 +0100
19783 Change of email address.
19785 Update to my new email address and drop my old work one.
19788 1 files changed, 1 insertions(+), 1 deletions(-)
19790 commit 96ee8d5ebe6c6494a140c5424137f26de5fd5d85
19791 Author: Carl Worth <cworth@cworth.org>
19792 Date: Fri Apr 13 17:47:25 2007 -0700
19794 Update version to 1.4.5 after the 1.4.4 release
19796 configure.in | 2 +-
19797 1 files changed, 1 insertions(+), 1 deletions(-)
19799 commit ebba4a6d1467a8e5db5cc43eb08e8fc98c39b30a
19800 Author: Carl Worth <cworth@cworth.org>
19801 Date: Fri Apr 13 17:37:14 2007 -0700
19803 Increment version to 1.4.4 (and library versioning to 13:2:11)
19805 configure.in | 4 ++--
19806 1 files changed, 2 insertions(+), 2 deletions(-)
19808 commit e21a58ce4c2f550198de9ed35f7a37df764e7cdf
19809 Author: Carl Worth <cworth@cworth.org>
19810 Date: Fri Apr 13 17:36:31 2007 -0700
19812 NEWS: Add notes for cairo 1.4.4
19814 NEWS | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19815 1 files changed, 91 insertions(+), 0 deletions(-)
19817 commit e1a1f6ff251582b2293098a55953f81a13bb9cc0
19818 Author: Carl Worth <cworth@cworth.org>
19819 Date: Fri Apr 13 16:37:52 2007 -0700
19821 AUTHORS: Update descriptions for Mathias Hasselmann and Chris Wilson
19823 Both have contributed a tremendous amount of effort to cairo 1.4.4.
19827 1 files changed, 2 insertions(+), 2 deletions(-)
19829 commit ef3e13337e513cf470801cff5cd2b8fdcff1b6eb
19830 Author: Carl Worth <cworth@cworth.org>
19831 Date: Fri Apr 13 13:34:20 2007 -0700
19833 cairo-perf-diff: Use median not minimum to report differences
19835 Ideally, the minimum value would indicate the best possible performance,
19836 but I've encountered situations where a bogus minimum value gets lodged
19837 into the cached results for some reason, (and yet doesn't also get
19838 discarded as an outlier). The downside of that situation is that running
19839 more iterations never changes the result, so it's hard to fix the problem,
19840 (resulting in cairo-perf-diff feeling just plain broken as more runs
19843 So let's try using the median time instead.
19845 perf/cairo-perf-diff-files.c | 10 +++++-----
19846 1 files changed, 5 insertions(+), 5 deletions(-)
19848 commit 7ead3e64f17fe302398ec60c61eaeaae4e9b18cf
19849 Author: Behdad Esfahbod <behdad@behdad.org>
19850 Date: Fri Apr 13 16:34:31 2007 -0400
19852 [ROADMAP] Put back bug 10508 into 1.4.4 roadmap and mark it fixed
19857 1 files changed, 3 insertions(+), 3 deletions(-)
19859 commit 84c10a79ffd233a953434bd787dcfe57787552f8
19860 Author: Behdad Esfahbod <behdad@behdad.org>
19861 Date: Fri Apr 13 16:33:07 2007 -0400
19863 [cairo-pattern] Slightly hackish fix for bug #10508
19865 The so-attributed-to-X-server bug was that cairo maps the drawing
19866 region to the pattern space, rounds the box, and uploads only that
19867 part of the source surface to the X server. Well, this only works for
19868 NEAREST filter as any more sophisticated filter needs to sneak a peek
19869 at the neighboring pixels around the edges too.
19871 The right fix involves taking into account the filter used, and the
19872 pattern matrix, but for most cases, a single pixel should be enough.
19873 Not sure about scaling down...
19875 Anyway, this is just a workaround to get 1.4.4 out of the door. I'll
19876 commit a proper fix soon.
19878 src/cairo-pattern.c | 15 ++++++++++-----
19879 1 files changed, 10 insertions(+), 5 deletions(-)
19881 commit fcf49a56130ede8c6aa9f84a8c59ecef54714b7b
19882 Author: Carl Worth <cworth@cworth.org>
19883 Date: Fri Apr 13 12:02:11 2007 -0700
19885 boilerplate: Cleanup conditional compilation ofcairo-quartz-boilerplate.c
19887 It's much nicer to use automake to conditionally compile a file,
19888 instead of always compiling it and conditionally having the compiler
19891 boilerplate/Makefile.am | 6 +++-
19892 boilerplate/cairo-boilerplate-private.h | 45 ------------------------
19893 boilerplate/cairo-boilerplate.c | 5 ++-
19894 boilerplate/cairo-quartz-boilerplate-private.h | 41 +++++++++++++++++++++
19895 boilerplate/cairo-quartz-boilerplate.c | 6 +---
19896 5 files changed, 51 insertions(+), 52 deletions(-)
19898 commit cea107c9800a4414f57a874dd52924efdff725ec
19899 Author: Carl Worth <cworth@cworth.org>
19900 Date: Fri Apr 13 11:28:21 2007 -0700
19902 Punt bug #10508 off of 1.4.4
19904 It looks like this is an X server bug, and we don't have an
19905 imminent fix. Meanwhile, the bug is avoidable by preferring
19906 to use xlib surface sources for transformed rendering to xlib
19907 instead of using image surface sources.
19910 1 files changed, 3 insertions(+), 2 deletions(-)
19912 commit 4e3be548615f8ce8a45f0e887f19eb39ba21f8a4
19913 Author: Behdad Esfahbod <behdad@behdad.org>
19914 Date: Thu Apr 12 21:34:49 2007 -0400
19916 [cairo-pattern] Add a TODO item to code
19918 src/cairo-pattern.c | 7 +++++++
19919 1 files changed, 7 insertions(+), 0 deletions(-)
19921 commit ec639449de9b630cdb4e7bca4ba8487b3a263184
19922 Author: Carl Worth <cworth@cworth.org>
19923 Date: Thu Apr 12 18:16:52 2007 -0700
19925 Fix typo in loop control for computation of std. deviation
19927 Thanks to Chris Wilson for pointing out this problem.
19929 perf/cairo-stats.c | 2 +-
19930 1 files changed, 1 insertions(+), 1 deletions(-)
19932 commit 537a795b3b5698d4aa02f2f14e479e9bfd27fe0d
19933 Author: Carl Worth <cworth@cworth.org>
19934 Date: Thu Apr 12 17:01:41 2007 -0700
19936 Remove ft-text-vertical-layout-type1
19938 This test can fail if the wrong font is loaded, but that's no
19939 different than many other text tests---so it doesn't really
19940 deserve special XFAIL treatment because of that.
19942 test/Makefile.am | 1 -
19943 1 files changed, 0 insertions(+), 1 deletions(-)
19945 commit 04164c996cad242a25c2af596ffcd3b07ba19289
19946 Author: Behdad Esfahbod <behdad@behdad.org>
19947 Date: Thu Apr 12 20:14:23 2007 -0400
19949 [cairo-surface] Make sure cairo_surface_get_font_options() fully initializes
19950 the font_options passed in.
19952 src/cairo-surface.c | 4 ++--
19953 1 files changed, 2 insertions(+), 2 deletions(-)
19955 commit 7224e1a6e6eb474a3809d07f9540c959b3da10b2
19956 Author: Behdad Esfahbod <behdad@behdad.org>
19957 Date: Thu Apr 12 17:54:32 2007 -0400
19959 [image] Set hint-metrics on in default font options
19961 src/cairo-image-surface.c | 12 +++++++++++-
19962 1 files changed, 11 insertions(+), 1 deletions(-)
19964 commit 57434e249aba93f3b478a3c701e260093711d13f
19965 Author: Behdad Esfahbod <behdad@behdad.org>
19966 Date: Thu Apr 12 17:45:33 2007 -0400
19968 [xlib] Turn metrics-hinting on by default
19970 src/cairo-xlib-screen.c | 1 +
19971 1 files changed, 1 insertions(+), 0 deletions(-)
19973 commit 8a4c108a4be6c4650cefe80e68d4c9974ccc27ba
19974 Author: Chris Wilson <chris@chris-wilson.co.uk>
19975 Date: Thu Apr 12 22:19:03 2007 +0100
19977 Add a reference count to cairo_xlib_screen_info_t
19979 Due to the interaction between multiple threads showing glyphs and
19980 asynchronous CloseDisplays, it is possible for a font to maintain a
19981 cairo_xlib_screen_info_t beyond the CloseDisplay. The simple solution
19982 is to add a reference count in order to track the lifetime of the
19983 cairo_xlib_screen_info_t correctly.
19985 src/cairo-xlib-private.h | 6 +++
19986 src/cairo-xlib-screen.c | 77 +++++++++++++++++++++++++++++++++++----------
19987 src/cairo-xlib-surface.c | 4 ++
19988 3 files changed, 70 insertions(+), 17 deletions(-)
19990 commit 50ef5bcf7b5e6cc903f9247256fbd4439887ab5e
19991 Author: Carl Worth <cworth@cworth.org>
19992 Date: Thu Apr 12 13:44:32 2007 -0700
19994 Revert cairo_public_warn addition to cairo.h
19996 This new feature isn't appropriate for a minor cairo release,
19997 (we're between 1.4.2 and 1.4.4 right now), but will make a
19998 lot of sense during 1.5.
20000 The code being reverted here was originally added with the
20003 46eab95698e101e41407778eda22089b508a8984
20005 but this change reverts only the public-facing parts of it.
20007 configure.in | 11 -----------
20008 src/cairo.h | 40 ++++++++++++++++++++--------------------
20009 2 files changed, 20 insertions(+), 31 deletions(-)
20011 commit 35bb2152c06ef2621b14a8b2153cc327be8b43a1
20012 Author: Chris Wilson <chris@chris-wilson.co.uk>
20013 Date: Thu Apr 12 21:30:39 2007 +0100
20015 Hold the scaled_font->mutex whilst operating on the shared members.
20017 Obey the locking rules whilst resetting the scaled_font after a
20020 src/cairo-xlib-surface.c | 10 ++++++----
20021 1 files changed, 6 insertions(+), 4 deletions(-)
20023 commit 97d897a7475f540ad901cb2a2cd6885e885ee02a
20024 Author: Chris Wilson <chris@chris-wilson.co.uk>
20025 Date: Thu Apr 12 21:17:42 2007 +0100
20027 cairo_xlib_close_display - drop the mutex whilst calling the hooks
20029 In order to avoid recursive dead-locks where whilst one thread holds the
20030 scaled font lock and is waiting on the XLockDisplay() another thread catches
20031 the CloseDisplay and then tries to acquire the scaled font lock, we drop
20032 the list mutex whilst processing the callbacks.
20034 src/cairo-xlib-screen.c | 33 ++++++++++++++++++++++++---------
20035 1 files changed, 24 insertions(+), 9 deletions(-)
20037 commit 13b0aa669fd9ce6abc930730a941782e2baba215
20038 Author: Carl Worth <cworth@cworth.org>
20039 Date: Thu Apr 12 13:29:56 2007 -0700
20041 Rebuild doc/public/Headers.mk
20043 Add a sort so that future update changes will be more legible.
20045 doc/public/Headers.mk | 47 ++++++++++++++++++++++++-----------------------
20046 doc/public/Makefile.am | 3 ++-
20047 2 files changed, 26 insertions(+), 24 deletions(-)
20049 commit ae80d375f829b076a8d1450c54b00b3750428366
20050 Author: Carl Worth <cworth@cworth.org>
20051 Date: Thu Apr 12 13:02:26 2007 -0700
20053 Rename cairo-mutex-list.h to cairo-mutex-list-private.h
20055 Also add it (and cairo-mutex-private.h) to Makefile.am
20056 where they should have been.
20058 src/Makefile.am | 2 +
20059 src/cairo-mutex-list-private.h | 50 ++++++++++++++++++++++++++++++++++++++++
20060 src/cairo-mutex-list.h | 50 ----------------------------------------
20061 src/cairo-mutex-private.h | 2 +-
20062 src/cairo-mutex.c | 2 +-
20063 5 files changed, 54 insertions(+), 52 deletions(-)
20065 commit 29adf591b7026092a809e9a27878b5b4e35051fb
20066 Author: Carl Worth <cworth@cworth.org>
20067 Date: Thu Apr 12 12:47:27 2007 -0700
20069 move show-glyphs-many to the DISABLED_TESTS list
20071 And add a detailed comment explaining the reasons for disabling each
20074 test/Makefile.am | 62 +++++++++++++++++++++++++++++++++++++----------------
20075 1 files changed, 43 insertions(+), 19 deletions(-)
20077 commit c5b2f9d5c22c2259a11f0cbfbca8128cd3ac5794
20078 Author: Chris Wilson <chris@chris-wilson.co.uk>
20079 Date: Thu Apr 12 01:22:49 2007 +0100
20081 cairo_xlib_screen_info_t - always perform an exact match
20083 This ensures that only one cairo_xlib_screen_info_t holds the
20084 close_display_hooks, an assumption used later.
20086 src/cairo-xlib-screen.c | 2 +-
20087 1 files changed, 1 insertions(+), 1 deletions(-)
20089 commit 8c9f0f607b992c47b555b5eaff3c599a8c1eac57
20090 Author: Chris Wilson <chris@chris-wilson.co.uk>
20091 Date: Thu Apr 12 01:21:03 2007 +0100
20093 cairo-xlib-screen - avoid dereferencing a NULL screen.
20095 Do not initialize font options when setting up the
20096 cairo_xlib_screen_info_t corresponding to the display itself and not
20097 associated with any screen. This avoids a potential NULL dereferences.
20099 (Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10517)
20101 src/cairo-xlib-screen.c | 12 +++++++-----
20102 1 files changed, 7 insertions(+), 5 deletions(-)
20104 commit dc1de86680b59def00ce1e9f11997cf554cdfec1
20105 Author: Behdad Esfahbod <behdad@behdad.org>
20106 Date: Thu Apr 12 15:06:37 2007 -0400
20108 [ROADMAP] Add cairo_object_t
20111 1 files changed, 2 insertions(+), 0 deletions(-)
20113 commit 12b962d648d307d7a6b94035b6c4ffdeaadd68e2
20114 Author: Behdad Esfahbod <behdad@behdad.org>
20115 Date: Thu Apr 12 14:56:36 2007 -0400
20117 [ROADMAP] Mark bug #5777 as fixed
20120 1 files changed, 1 insertions(+), 1 deletions(-)
20122 commit e391d3eaee65d65f267f86d1ef1e1fd8898e6556
20123 Author: Behdad Esfahbod <behdad@behdad.org>
20124 Date: Thu Apr 12 14:42:41 2007 -0400
20126 [test] Disable text-glyph-range that was crashing
20128 Disabled tests are defined in DISABLED_TESTS. This has the benefit
20129 that they will still be buildable and be shipped. Just not run by
20132 test/Makefile.am | 10 ++++++----
20133 1 files changed, 6 insertions(+), 4 deletions(-)
20135 commit d3c7942fb271fe8d1df7ca3205b41601abdcb5c8
20136 Author: Behdad Esfahbod <behdad@behdad.org>
20137 Date: Thu Apr 12 14:22:02 2007 -0400
20139 [pixman] Mark some small functions that are called per-pixel inline
20141 These uses were introduced in the previous commit.
20143 pixman/src/fbcompose.c | 6 +++---
20144 1 files changed, 3 insertions(+), 3 deletions(-)
20146 commit e3b3d22999a130f7017e8e20a432a0d8a7f48f3b
20147 Author: David Reveman <davidr@novell.com>
20148 Date: Thu Apr 12 14:14:12 2007 -0400
20150 [pixman] Fix fbcompose.c that was broken for some composite operations (#5777)
20152 pixman/src/fbcompose.c | 244 ++++++++++++++++++++++++++++++------------------
20153 1 files changed, 151 insertions(+), 93 deletions(-)
20155 commit c8d2d1e8764c7ba754e46a3af68af2b4460d2e04
20156 Author: Vladimir Vukicevic <vladimir@pobox.com>
20157 Date: Thu Apr 12 10:51:17 2007 -0700
20159 add licenses to test files
20161 test/composite-integer-translate-over-repeat.c | 26 ++++++++++++++++++++++++
20162 test/composite-integer-translate-source.c | 26 ++++++++++++++++++++++++
20163 2 files changed, 52 insertions(+), 0 deletions(-)
20165 commit e240048a14333d5c61a0d4ae5c30acd12bcb5805
20166 Merge: 29a1fe1... 977a898...
20167 Author: Michael Emmel <memmel@debian.localdomain>
20168 Date: Wed Apr 11 21:43:15 2007 -0700
20170 Merge branch 'master' of ssh+git://git.cairographics.org/git/cairo
20172 commit 29a1fe12cf33a68713a4ddf7f59217fd40f6e967
20173 Author: Michael Emmel <memmel@debian.localdomain>
20174 Date: Wed Apr 11 21:42:57 2007 -0700
20176 Fixed compile error from missing directfb.h include
20178 src/cairo-directfb.h | 2 ++
20179 1 files changed, 2 insertions(+), 0 deletions(-)
20181 commit 977a8982ab17760af0d69cb2e018ed50f4c7b992
20182 Author: Kristian Høgsberg <krh@redhat.com>
20183 Date: Wed Apr 11 23:49:01 2007 -0400
20185 Add missing copyright notice.
20187 test/pixman-rotate.c | 26 ++++++++++++++++++++++++++
20188 1 files changed, 26 insertions(+), 0 deletions(-)
20190 commit 9193b29645ef1625a599471e3b0cb5279d2c05cb
20191 Author: Behdad Esfahbod <behdad@behdad.org>
20192 Date: Wed Apr 11 23:30:31 2007 -0400
20194 [ROADMAP] Mark done items
20197 1 files changed, 2 insertions(+), 2 deletions(-)
20199 commit 284edb86484de8ccf3adf35d5cb9ff6ba64759ec
20200 Author: Chris Wilson <chris@chris-wilson.co.uk>
20201 Date: Thu Apr 12 03:01:31 2007 +0100
20203 Do not raise an error if we fail to locate 'find' or 'xargs'
20205 Whilst not being able to delete all of the test output is messy it is
20206 however not fatal, so do not abort configuration simply because we
20207 cannot find either program.
20209 configure.in | 6 ++----
20210 test/Makefile.am | 15 +++++++++------
20211 2 files changed, 11 insertions(+), 10 deletions(-)
20213 commit a8974223dc6376a11588c6ecf1e54da5329b9c72
20214 Author: Chris Wilson <chris@chris-wilson.co.uk>
20215 Date: Thu Apr 12 02:29:33 2007 +0100
20217 Check for find and xargs during configure
20219 Replace hard-coded find, xargs and rm with the paths determined during
20220 configure. This also gives us an opportunity to detect missing programs
20221 and inform the developer.
20223 configure.in | 9 +++++++++
20224 test/Makefile.am | 12 ++++++------
20225 2 files changed, 15 insertions(+), 6 deletions(-)
20227 commit 632ec8088cef5e9d4c2ff2886cfd550d706433e4
20228 Author: Behdad Esfahbod <behdad@behdad.org>
20229 Date: Wed Apr 11 20:18:11 2007 -0400
20231 [test] Add copyright headers for my tests
20233 test/extend-pad.c | 26 ++++++++++++++++++++++++++
20234 test/surface-pattern-scale-down.c | 26 ++++++++++++++++++++++++++
20235 test/surface-pattern-scale-up.c | 26 ++++++++++++++++++++++++++
20236 test/surface-pattern.c | 26 ++++++++++++++++++++++++++
20237 4 files changed, 104 insertions(+), 0 deletions(-)
20239 commit 82397a631410af343f14cafdb31f48de9373f4a7
20240 Author: Chris Wilson <chris@chris-wilson.co.uk>
20241 Date: Thu Apr 12 00:55:04 2007 +0100
20243 Avoid using GNU find extensions.
20245 Replace the complex single find with a series of simple but POSIX correct
20248 test/Makefile.am | 14 ++++++--------
20249 1 files changed, 6 insertions(+), 8 deletions(-)
20251 commit 06382092e5e911ad2648f26e8ba5a6f8f7953e1b
20252 Author: Behdad Esfahbod <behdad@behdad.org>
20253 Date: Wed Apr 11 19:42:34 2007 -0400
20255 [pdiff] Ship gpl.txt
20257 test/pdiff/Makefile.am | 1 +
20258 1 files changed, 1 insertions(+), 0 deletions(-)
20260 commit c8645c85de94b83fe2fd60a4d881cb639eb79b46
20261 Merge: be98123... 52435e9...
20262 Author: Carl Worth <cworth@cworth.org>
20263 Date: Wed Apr 11 16:38:46 2007 -0700
20265 Merge branch 'master' of git.cairographics.org:/git/cairo into cairo
20267 commit 52435e99f31f06c18273a5a7351a2c21f7c0ecf6
20268 Author: Chris Wilson <chris@chris-wilson.co.uk>
20269 Date: Wed Apr 11 23:34:24 2007 +0100
20271 Move pixman_format_t from heap to stack allocations.
20273 pixman_format_t is a simple structure used in short-term allocations and
20274 suitable for on-stack allocation.
20276 Killing the pixman_format_create()/pixman_format_destroy() pairs avoid
20277 around 6% of the allocations during cairo-perf (e.g. 426,158 allocs out
20278 of a total of 7,063,469).
20280 pixman/src/icformat.c | 118 +++++++++++++++------------
20281 pixman/src/icint.h | 12 +---
20282 pixman/src/icrect.c | 2 +-
20283 pixman/src/ictrap.c | 36 +++-----
20284 pixman/src/ictri.c | 199 +++++++++++++++------------------------------
20285 pixman/src/pixman.h | 27 ++++---
20286 src/cairo-image-surface.c | 103 ++++++++++--------------
20287 7 files changed, 202 insertions(+), 295 deletions(-)
20289 commit be98123b2c30a3102629afff74b9233c18e0535d
20290 Merge: efedf57... a6506c6...
20291 Author: Carl Worth <cworth@cworth.org>
20292 Date: Wed Apr 11 16:02:08 2007 -0700
20294 Merge cached-scaled-font-in-error into cairo
20298 src/cairo-scaled-font.c
20300 commit a6506c67f24331c703dd56502a1bc4504b7b2311
20301 Author: Chris Wilson <chris@chris-wilson.co.uk>
20302 Date: Sun Apr 8 23:27:52 2007 +0100
20304 Don't return scaled fonts in the error state from the cache.
20306 It is possible for a scaled_font to be flagged as in error, though only
20307 through a "true error" e.g. a malloc failure. However, when returning a font
20308 from the cache it should not be in error. So if we find a error font in the
20309 cache we remove it and return a new font.
20311 src/cairo-scaled-font.c | 55 +++++++++++++++++++++++++++-------------------
20312 1 files changed, 32 insertions(+), 23 deletions(-)
20314 commit efedf57f43540ad79eddcc5ee79dc0d86846891e
20315 Author: Carl Worth <cworth@cworth.org>
20316 Date: Wed Apr 11 15:25:18 2007 -0700
20318 cairo-truetype-subset.c: Add missing error checks and propagation
20320 These are all to satisfy new warnings caused by the preceding commit,
20321 (which added cairo_warn to various function tables). While fixing the
20322 propoagation, fix functions to declare a return type of cairo_status_t
20325 src/cairo-truetype-subset.c | 178 +++++++++++++++++++++++++++++--------------
20326 1 files changed, 120 insertions(+), 58 deletions(-)
20328 commit e6ca34e718859b40dc8eb75a6c68b056751a6deb
20329 Author: Chris Wilson <chris@chris-wilson.co.uk>
20330 Date: Sun Apr 8 22:59:10 2007 +0100
20332 Mark function tables with attribute(warn_unused_result)
20334 src/cairo-paginated-surface-private.h | 2 +-
20335 src/cairoint.h | 52 ++++++++++++++++----------------
20336 2 files changed, 27 insertions(+), 27 deletions(-)
20338 commit 3bc413343a0b846c9501ee870db0424412aea701
20339 Author: Chris Wilson <chris@chris-wilson.co.uk>
20340 Date: Wed Apr 11 01:08:17 2007 +0100
20342 Define cairo_public_warn in terms of cairo_public.
20344 By defining cairo_public_warn as an extension of cairo_public, the
20345 programmer need only to override cairo_public in order to export the
20346 complete API for different architectures i.e. existing configurations
20347 will continue to work with no alterations.
20349 configure.in | 2 +-
20350 1 files changed, 1 insertions(+), 1 deletions(-)
20352 commit 54134dd901d6dc94aa56d45486223e7d4f6ba569
20353 Author: Chris Wilson <chris@chris-wilson.co.uk>
20354 Date: Tue Apr 10 23:09:13 2007 +0100
20356 Only enable warn-unused-result for recent gcc
20358 The attribute was introduced with gcc-3.4, but the ability to suppress
20359 warnings from misapplied attributes (-Wno-attributes) was only introduced
20360 later. Without the supression, gcc will emit tens of warnings for each
20361 compilation completely drowning the real errors that the programmer
20364 configure.in | 19 +++++++++++++++++--
20365 pixman/src/pixman.h | 10 +++++++---
20366 src/cairoint.h | 13 ++++++-------
20367 3 files changed, 30 insertions(+), 12 deletions(-)
20369 commit f53c2b418cb4a36fbc1c30cdb1bf0ba9dba77bd0
20370 Author: Chris Wilson <chris@chris-wilson.co.uk>
20371 Date: Mon Apr 9 16:24:11 2007 +0100
20373 _pixman_create_source_image() - check for malloc failure
20375 Fix an unchecked malloc by propagating the NULL pointer up to its callers,
20376 which were already checking for failures.
20378 pixman/src/icimage.c | 2 ++
20379 1 files changed, 2 insertions(+), 0 deletions(-)
20381 commit d0745c08b782d79fc7ccfd59cab0ae841a56c428
20382 Author: Adrian Johnson <ajohnson@redneon.com>
20383 Date: Thu Apr 12 06:32:29 2007 +0930
20385 PDF: Fix glyph positioning bug when glyphs are not horizontal
20388 http://lists.freedesktop.org/archives/cairo/2007-April/010337.html
20390 src/cairo-pdf-surface.c | 2 +-
20391 1 files changed, 1 insertions(+), 1 deletions(-)
20393 commit e36794ad34282a4d671d7cc5527e9c650c2736fe
20394 Merge: b692472... b745126...
20395 Author: Carl Worth <cworth@cworth.org>
20396 Date: Wed Apr 11 13:15:57 2007 -0700
20398 Merge branch 'warn-unused-result' into cairo
20400 commit b745126a04c126acc695e8abb6372c1890b03f07
20401 Author: Chris Wilson <chris@chris-wilson.co.uk>
20402 Date: Wed Apr 11 12:26:21 2007 +0100
20404 Use find | xargs to overcome shell command line limit.
20406 Once again we have hit the command line limit with the sheer volume of
20407 generated test output. So replace the glob with a find which has the
20408 additional advantage of only needing to walk the tree once to generate
20409 the file lists - this begins to be noticeable with such large directories.
20411 test/Makefile.am | 16 +++++++++-------
20412 1 files changed, 9 insertions(+), 7 deletions(-)
20414 commit 61b8e346135f8b61b22257541c97b9f262c17826
20415 Author: Chris Wilson <chris@chris-wilson.co.uk>
20416 Date: Wed Apr 11 11:59:27 2007 +0100
20418 Unexport fbSolidFillmmx and fbCopyAreammx.
20420 By unexporting these function we have exact control over their call sites
20421 and so can convert the initial guards into asserts which transforms the
20422 two functions to return unconditional success and hence conversion to
20425 pixman/src/fbmmx.c | 215 +++++++++++++++++++++------------------------
20426 pixman/src/fbmmx.h | 19 ----
20427 pixman/src/pixman-remap.h | 1 -
20428 3 files changed, 101 insertions(+), 134 deletions(-)
20430 commit efee2087387ba49e36d8d6104c4e2dd3ffeba081
20431 Author: Chris Wilson <chris@chris-wilson.co.uk>
20432 Date: Wed Apr 11 11:26:27 2007 +0100
20434 Propagate errors up through pixman_composite_trapezoids()
20436 Change the return type to indicate errors detected during
20437 pixman_composite_trapezoids() and add checking for failures during
20440 pixman/src/ictrap.c | 37 +++++++++++++++++++++----------------
20441 pixman/src/pixman.h | 2 +-
20442 2 files changed, 22 insertions(+), 17 deletions(-)
20444 commit bec097b5e281fcf2453de53946e89c13b37ecd1a
20445 Author: Chris Wilson <chris@chris-wilson.co.uk>
20446 Date: Wed Apr 11 11:13:30 2007 +0100
20448 Propagate region errors from pixman_color_rects().
20450 Region operations within pixman_color_rects can fail, so cleanup and
20453 pixman/src/icrect.c | 74 +++++++++++++++++++++++++++++++++-----------
20454 pixman/src/pixman.h | 4 +-
20455 src/cairo-image-surface.c | 6 ++-
20456 3 files changed, 61 insertions(+), 23 deletions(-)
20458 commit 909334ee00701e18b2f2033b1c3a27714ce988fb
20459 Author: Chris Wilson <chris@chris-wilson.co.uk>
20460 Date: Wed Apr 11 10:45:55 2007 +0100
20462 FbClipImage* should check for errors during region operations.
20464 Propagate the error from pixman_region_intersect().
20466 pixman/src/icimage.c | 18 ++++++++++++++----
20467 1 files changed, 14 insertions(+), 4 deletions(-)
20469 commit 5b67efcbd8acad60080129e0a8a307671b18b4fc
20470 Author: Chris Wilson <chris@chris-wilson.co.uk>
20471 Date: Wed Apr 11 10:38:09 2007 +0100
20473 Propagate region failures during pixman_image_set_clip_region().
20475 Operating on regions can fail so check the status and return an error,
20476 after any necessary cleanup.
20478 pixman/src/icimage.c | 15 ++++++++++++---
20479 1 files changed, 12 insertions(+), 3 deletions(-)
20481 commit e1abc3c26dd797ba9a888362713c5e5c1257867b
20482 Author: Chris Wilson <chris@chris-wilson.co.uk>
20483 Date: Wed Apr 11 09:51:58 2007 +0100
20485 Provide a private entry point for cairo_scaled_font_status().
20487 Add slim_hidden* markup for cairo_scaled_font_status() as we now use
20490 src/cairo-scaled-font.c | 1 +
20491 src/cairoint.h | 1 +
20492 2 files changed, 2 insertions(+), 0 deletions(-)
20494 commit 054c28a09de2c8ec2dc7111d786bca41a94f5a83
20495 Author: Carl Worth <cworth@cworth.org>
20496 Date: Wed Apr 11 02:26:08 2007 -0700
20498 boilerplate: Add error checking for cairo_surface_write_to_png
20500 boilerplate/cairo-boilerplate.c | 9 ++++++++-
20501 1 files changed, 8 insertions(+), 1 deletions(-)
20503 commit 0a54ca2d2340c55896ee6951efe6917322813431
20504 Author: Carl Worth <cworth@cworth.org>
20505 Date: Wed Apr 11 02:22:22 2007 -0700
20507 boilerplate: Add error checking for cairo_surface_set_user_data
20509 boilerplate/cairo-boilerplate.c | 26 ++++++++++++++++++++++----
20510 1 files changed, 22 insertions(+), 4 deletions(-)
20512 commit 5661de9e1c93bd548b400de2619b6de6133d6483
20513 Author: Carl Worth <cworth@cworth.org>
20514 Date: Wed Apr 11 02:08:36 2007 -0700
20516 SVG: Add missing error checking for calls to _cairo_output_stream_destroy
20518 src/cairo-svg-surface.c | 28 +++++++++++++++++++++-------
20519 1 files changed, 21 insertions(+), 7 deletions(-)
20521 commit 8d5aa0fb8d3ac6302dd5e832425f3285ad84280a
20522 Author: Carl Worth <cworth@cworth.org>
20523 Date: Wed Apr 11 02:03:10 2007 -0700
20525 SVG: Add missing error checks and propagation
20527 The function calls that get the new treatment here are:
20529 _cairo_meta_surface_replay
20530 _cairo_surface_show_page
20531 _cairo_array_append
20533 all within _cairo_svg_surface_emit_meta_surface
20535 src/cairo-svg-surface.c | 39 +++++++++++++++++++++++++++++----------
20536 1 files changed, 29 insertions(+), 10 deletions(-)
20538 commit 9c810625e796704e32e76caae18d2129219f46db
20539 Author: Carl Worth <cworth@cworth.org>
20540 Date: Wed Apr 11 01:55:59 2007 -0700
20542 PDF: Added error checking and propagation for _cairo_array_append
20544 src/cairo-pdf-surface.c | 89 +++++++++++++++++++++++++++++-----------------
20545 1 files changed, 56 insertions(+), 33 deletions(-)
20547 commit 5ae82deb6942fae1515740551c71e9eb24750a7c
20548 Author: Carl Worth <cworth@cworth.org>
20549 Date: Wed Apr 11 01:47:21 2007 -0700
20551 PS: Add missing check for return value of _cairo_meta_surface_replay
20553 Here we have to change the return type of a couple of functions in
20554 order to propagate the error condition.
20556 src/cairo-ps-surface.c | 25 ++++++++++++++++++++-----
20557 1 files changed, 20 insertions(+), 5 deletions(-)
20559 commit 8c31cca2af11c544a6028bf42c2187625b978f56
20560 Author: Carl Worth <cworth@cworth.org>
20561 Date: Wed Apr 11 01:42:02 2007 -0700
20563 PS: Add missing checks for return value of _cairo_pattern_get_extents
20565 Propagation is extremely straightforward in this case.
20567 src/cairo-ps-surface.c | 11 +++++++++--
20568 1 files changed, 9 insertions(+), 2 deletions(-)
20570 commit 01ac5f1aea298434b617d935512e2e72033989fd
20571 Author: Carl Worth <cworth@cworth.org>
20572 Date: Wed Apr 11 01:35:11 2007 -0700
20574 Assert that cairo_matrix_invert succeeds rather than ignoring tis return value
20576 This assertion is safe as an internal consistency check thanks to
20577 the recent checks added to cairo_pattern_set_matrix.
20579 src/cairo-pdf-surface.c | 4 +++-
20580 src/cairo-ps-surface.c | 5 ++++-
20581 2 files changed, 7 insertions(+), 2 deletions(-)
20583 commit bd0b328f7e07b3a292190aef6f82622800230f6f
20584 Author: Carl Worth <cworth@cworth.org>
20585 Date: Tue Apr 10 22:55:00 2007 -0700
20587 test/invalid-matrix: Add new test to exercise CAIRO_STATUS_INVALID_MATRIX paths
20589 This new test exercises every path where the user might possibly
20590 pass in an invalid matrix. Currently the test fails if no error
20591 is reported. Also, if an incorrect error is reported, (such as
20592 CAIRO_STATUS_NO_MEMORY instead of CAIRO_STATUS_INVALID_MATRIX),
20593 this is logged as a warning in invalid-matrix.log, but the test
20596 It would still be worthwhile to follow up quickly and fix those
20597 cases to propagate the correct error value.
20599 test/.gitignore | 1 +
20600 test/Makefile.am | 1 +
20601 test/invalid-matrix.c | 142 +++++++++++++++++++++++++++++++++++++++++++++++++
20602 3 files changed, 144 insertions(+), 0 deletions(-)
20604 commit a6186604f794f2746089abc9c1716384c23aafc4
20605 Author: Carl Worth <cworth@cworth.org>
20606 Date: Tue Apr 10 22:52:37 2007 -0700
20608 cairo_pattern_set_matrix: Validate that matrix is invertible
20610 If not, set an error in the pattern.
20612 src/cairo-pattern.c | 8 ++++++++
20613 1 files changed, 8 insertions(+), 0 deletions(-)
20615 commit 8e72852f0b9f2cd8558eb6c11acb326e73fceb12
20616 Author: Carl Worth <cworth@cworth.org>
20617 Date: Tue Apr 10 22:51:44 2007 -0700
20619 _cairo_gstate_ensure_scaled_font: Add missing propagation for error hiding inside the scaled_font
20621 src/cairo-gstate.c | 3 +++
20622 1 files changed, 3 insertions(+), 0 deletions(-)
20624 commit 2f1221e0f225f305c3f9c8e7311fe8f3fecab34b
20625 Author: Carl Worth <cworth@cworth.org>
20626 Date: Tue Apr 10 22:50:46 2007 -0700
20628 _cairo_gstate_ensure_scaled_font: Prefer to treat a pointer as a pointer, not a Boolean value
20630 src/cairo-gstate.c | 3 +--
20631 1 files changed, 1 insertions(+), 2 deletions(-)
20633 commit dca69f73e3a11d397a701f82331d5aaa7194bd7f
20634 Author: Carl Worth <cworth@cworth.org>
20635 Date: Tue Apr 10 17:16:39 2007 -0700
20637 Check (and assert) return values of cairo_matrix_invert
20639 Now that we have matrix validation at the time of _cairo_scaled_font_init
20640 we know that it is safe to invert this matrix.
20642 src/cairo-pdf-surface.c | 5 ++++-
20643 src/cairo-ps-surface.c | 5 ++++-
20644 2 files changed, 8 insertions(+), 2 deletions(-)
20646 commit 4ce2b62bcea49eccc0a4ee3781a115e4a34d3ad4
20647 Author: Carl Worth <cworth@cworth.org>
20648 Date: Tue Apr 10 17:12:51 2007 -0700
20650 _cairo_scaled_font_init: Detect an invalid matrix and return an error.
20652 Also fix all callers to notice and propagate the error, (though
20653 some paths will still lose the CAIRO_STATUS_INVALID_MATRIX value
20654 due to a return value of NULL at one point).
20656 src/cairo-atsui-font.c | 9 +++++++--
20657 src/cairo-scaled-font.c | 24 +++++++++++++++++-------
20658 src/cairo-win32-font.c | 10 ++++++----
20659 3 files changed, 30 insertions(+), 13 deletions(-)
20661 commit fd8c1e4dc851dd4ce8f84a3e47abdc4906c83b0f
20662 Author: Carl Worth <cworth@cworth.org>
20663 Date: Tue Apr 10 16:43:50 2007 -0700
20665 Fix cairo_scaled_font_create to return a nil scaled font, not NULL
20667 src/cairo-scaled-font.c | 6 +++---
20668 1 files changed, 3 insertions(+), 3 deletions(-)
20670 commit 0f0ed88ee26f22c1b0e0ec7c95b8a258d137dde4
20671 Author: Carl Worth <cworth@cworth.org>
20672 Date: Tue Apr 10 23:01:55 2007 -0700
20674 paginated: Add missing error check for _cairo_surface_show_page
20676 Fixing this uncovered a leak of a CAIRO_INT_STATUS_UNSUPPORTED value
20677 up to cairo_show_page, (and similarly to cairo_copy_page). There was
20678 really no good reason for _cairo_surface_show_page and
20679 _cairo_surface_copy_page to be returning cairo_int_status_t. Fix
20680 this by simply handling the UNSUPPORTED return at the surface layer
20681 instead of the gstate layer.
20683 src/cairo-gstate.c | 20 ++------------------
20684 src/cairo-paginated-surface.c | 4 +++-
20685 src/cairo-surface.c | 16 ++++++----------
20686 src/cairoint.h | 4 ++--
20687 4 files changed, 13 insertions(+), 31 deletions(-)
20689 commit 381f0bcafc86cefa665368cbbe2026adda1d98c9
20690 Author: Carl Worth <cworth@cworth.org>
20691 Date: Tue Apr 10 16:33:34 2007 -0700
20693 paginated: Add missing error check for _cairo_surface_get_extents
20695 src/cairo-paginated-surface.c | 4 +++-
20696 1 files changed, 3 insertions(+), 1 deletions(-)
20698 commit 41911002d754f187618ab310ab93c85c4b038943
20699 Author: Carl Worth <cworth@cworth.org>
20700 Date: Tue Apr 10 16:32:09 2007 -0700
20702 test-meta-surface.c: Fix memory leak on error recovery path.
20704 src/test-meta-surface.c | 6 ++++--
20705 1 files changed, 4 insertions(+), 2 deletions(-)
20707 commit d954e4c1488c6478852dcc02641e66df1d4e9317
20708 Author: Carl Worth <cworth@cworth.org>
20709 Date: Tue Apr 10 16:31:21 2007 -0700
20711 Fix indentation of CLEANUP_IMAGE label.
20713 src/cairo-paginated-surface.c | 2 +-
20714 1 files changed, 1 insertions(+), 1 deletions(-)
20716 commit c011c37ba086f0c8d0dac6437318822927543955
20717 Author: Carl Worth <cworth@cworth.org>
20718 Date: Tue Apr 10 16:30:43 2007 -0700
20720 paginated: Fix missing errors checks for _cairo_meta_surface_replay
20722 src/cairo-paginated-surface.c | 14 ++++++++++----
20723 1 files changed, 10 insertions(+), 4 deletions(-)
20725 commit e73a55ad3cc30b0ea69379b12283515523015751
20726 Author: Carl Worth <cworth@cworth.org>
20727 Date: Tue Apr 10 14:17:42 2007 -0700
20729 cairo-truetype-subset: Fix missing error propagation
20731 src/cairo-truetype-subset.c | 5 ++++-
20732 1 files changed, 4 insertions(+), 1 deletions(-)
20734 commit 97b8fd8117160cfea9864c81cbb8a06b321618f1
20735 Author: Carl Worth <cworth@cworth.org>
20736 Date: Tue Apr 10 14:16:01 2007 -0700
20738 cairo-truetype-subset: Check resturn value from _cairo_array_append and propagate
20740 src/cairo-truetype-subset.c | 28 ++++++++++++++++++++++++----
20741 1 files changed, 24 insertions(+), 4 deletions(-)
20743 commit 84639e563ddfbd70ca48dcde4d3631418fd1cd82
20744 Author: Carl Worth <cworth@cworth.org>
20745 Date: Tue Apr 10 14:11:43 2007 -0700
20747 test-meta-surface: Add missing check for error from _cairo_surface_get_extents
20749 src/test-meta-surface.c | 4 +++-
20750 1 files changed, 3 insertions(+), 1 deletions(-)
20752 commit 866b2296b4a8b347011f1c8ae2e0f3a987a29d0c
20753 Author: Carl Worth <cworth@cworth.org>
20754 Date: Tue Apr 10 14:09:56 2007 -0700
20756 test-meta-surface: Add missing checks for errors from _cairo_meta_surface_replay
20758 src/test-meta-surface.c | 10 ++++++++--
20759 1 files changed, 8 insertions(+), 2 deletions(-)
20761 commit ec1fc931257ff90fe190c52ed0a3bed9f218c350
20762 Author: Carl Worth <cworth@cworth.org>
20763 Date: Tue Apr 10 13:59:42 2007 -0700
20765 Add missing error check of return value of _cairo_path_fixed_close_path
20767 src/cairo-ft-font.c | 6 ++++--
20768 1 files changed, 4 insertions(+), 2 deletions(-)
20770 commit 3d21037a8fb69bde0765871f53fe461ac397367e
20771 Author: Carl Worth <cworth@cworth.org>
20772 Date: Tue Apr 10 13:57:41 2007 -0700
20774 Add assertion check to quiet warn_unused_result warning.
20776 This is a somewhat useful internal consistency check.
20778 src/cairo-xlib-surface.c | 6 +++++-
20779 1 files changed, 5 insertions(+), 1 deletions(-)
20781 commit 2f468677160080e9dd1db52a2ad7ca4adbf48149
20782 Author: Carl Worth <cworth@cworth.org>
20783 Date: Tue Apr 10 13:53:58 2007 -0700
20785 Rename _cairo_pdf_surface_emit_toUnicode_stream to eliminate StudlyCaps
20787 Obviously, the new name is _cairo_pdf_surface_emit_to_unicode_stream which
20788 is consistent with the to_unicode_stream identifiers already existing in
20789 the implementation.
20791 src/cairo-pdf-surface.c | 12 ++++++------
20792 1 files changed, 6 insertions(+), 6 deletions(-)
20794 commit cc6c115e3c5b931be4ab0210ce7f8cecaccf6241
20795 Author: Carl Worth <cworth@cworth.org>
20796 Date: Tue Apr 10 13:51:46 2007 -0700
20798 PDF: Check return value of _cairo_output_stream_destroy and propagate
20800 src/cairo-pdf-surface.c | 56 +++++++++++++++++++++++++++++-----------------
20801 1 files changed, 35 insertions(+), 21 deletions(-)
20803 commit 8873928f09a78d3e6e8e57d5d4e0b94cf1f78ab7
20804 Author: Carl Worth <cworth@cworth.org>
20805 Date: Tue Apr 10 13:40:04 2007 -0700
20807 PS: Add missing error checks for _cairo_output_stream_destroy
20809 src/cairo-ps-surface.c | 14 ++++++++++----
20810 1 files changed, 10 insertions(+), 4 deletions(-)
20812 commit ab5eccbbf6cc361e864e0d75c0299cf7b5d6122d
20813 Author: Carl Worth <cworth@cworth.org>
20814 Date: Tue Apr 10 13:28:48 2007 -0700
20816 Make _cairo_clip_reset void
20818 Yet another unconditionally successful function---so it's easier to return nothing.
20820 src/cairo-clip-private.h | 2 +-
20821 src/cairo-clip.c | 4 +---
20822 src/cairo-gstate.c | 4 +++-
20823 src/cairo-meta-surface.c | 2 +-
20824 4 files changed, 6 insertions(+), 6 deletions(-)
20826 commit 7a0ae5b7057798106b5e1a82431178f6c5f148e7
20827 Author: Chris Wilson <chris@chris-wilson.co.uk>
20828 Date: Tue Apr 10 21:09:36 2007 +0100
20830 Disable warnings for cairo_*_reference functions.
20832 This class of functions modify their argument and return it as a
20833 *convenience* for the caller. For example, within cairo a common idiom is:
20835 cairo_object_reference (new);
20836 cairo_object_unreference (this->obj);
20839 which updates the member to the new object irrespective of whether the
20840 new object is the same as the one being replaced. Other issues arise
20841 with subtypes, as the return type is the parent's and so require more
20842 complicated handling to compile cleanly.
20844 Disabling the warning is therefore preferred over adding code which
20845 decreases readibility and reduces maintainability. We need to make the
20846 compiler work for us, not against us...
20848 src/cairoint.h | 26 +++++++++++++++-----------
20849 1 files changed, 15 insertions(+), 11 deletions(-)
20851 commit b82e595449e6eebbe6024454aaaaee31e6c43c73
20852 Author: Chris Wilson <chris@chris-wilson.co.uk>
20853 Date: Mon Apr 9 15:31:28 2007 +0100
20855 pixman region operations can fail, propagate the error.
20857 Copying the clip region could fail, add error returns and propagate up
20860 src/cairo-clip-private.h | 4 +-
20861 src/cairo-clip.c | 53 +++++++++++++++++++++++++++++++++-------------
20862 src/cairo-gstate.c | 14 +++++++++--
20864 src/cairoint.h | 2 +-
20865 5 files changed, 53 insertions(+), 22 deletions(-)
20867 commit b0a256aaf3f0fd4491a28fca797aef1ef4b1251d
20868 Author: Carl Worth <cworth@cworth.org>
20869 Date: Tue Apr 10 13:07:09 2007 -0700
20871 Change _cairo_dtostr to have a void return type
20873 As previously implemented, there's no essential information in the
20874 return value from _cairo_dotostr, (the caller can simply use strlen
20875 to recompute the same value, which is what the only caller is already
20878 There would be real information in a return value which would return
20879 the result from the call to snprintf for the case where the buffer is
20880 not large enough for the number being printed.
20882 src/cairo-output-stream-private.h | 2 +-
20883 src/cairo-output-stream.c | 5 +----
20884 src/cairoint.h | 3 ---
20885 3 files changed, 2 insertions(+), 8 deletions(-)
20887 commit 5303980f82431a9d084177998a68527b60610241
20888 Author: Carl Worth <cworth@cworth.org>
20889 Date: Tue Apr 10 12:56:56 2007 -0700
20891 _cairo_output_stream_vprintf: Add assertion to detect internal inconsitency
20893 This will catch any inconsistency between the length of a single
20894 format specifier and the fixed size of the single_fmt buffer.
20896 src/cairo-output-stream.c | 14 +++++++++++---
20897 1 files changed, 11 insertions(+), 3 deletions(-)
20899 commit 97a69bc82e023d139d997ef69c7eba50d2708686
20900 Author: Carl Worth <cworth@cworth.org>
20901 Date: Tue Apr 10 12:13:27 2007 -0700
20903 Fix mis-indented _cairo_dtostr
20905 src/cairo-output-stream.c | 64 ++++++++++++++++++++++----------------------
20906 1 files changed, 32 insertions(+), 32 deletions(-)
20908 commit 5c95800cded4e906baf8ddd10bfb4abc59151b13
20909 Author: Carl Worth <cworth@cworth.org>
20910 Date: Tue Apr 10 12:13:10 2007 -0700
20912 Fix mis-indented _cairo_traps_init_box
20914 src/cairo-traps.c | 30 +++++++++++++++---------------
20915 1 files changed, 15 insertions(+), 15 deletions(-)
20917 commit 57188b4dcbcc2625dfc1817f8fe3b8ffeade5dc5
20918 Author: Carl Worth <cworth@cworth.org>
20919 Date: Tue Apr 10 12:06:09 2007 -0700
20921 Fix cairo_traps_t status handling
20923 Add a _cairo_traps_status function and use it instead of adding
20924 error checks to callers of _cairo_traps_add_trap and
20925 _cairo_traps_add_trap_from_points, (both of which are now given
20926 a void return type).
20928 src/cairo-bentley-ottmann.c | 14 +++++++-------
20929 src/cairo-traps.c | 24 ++++++++++++++----------
20930 src/cairoint.h | 5 ++++-
20931 3 files changed, 25 insertions(+), 18 deletions(-)
20933 commit 67bc608603b9baf8de8bcd2fedcf8ec315432a37
20934 Author: Carl Worth <cworth@cworth.org>
20935 Date: Tue Apr 10 11:11:32 2007 -0700
20937 Add missing error checking to _trace_mask_to_path
20939 Note: It looks like it would be convenient to shove a status value
20940 into cairo_path_fixed_t to reduce this sequence of error checks.
20941 But I tried that first, and it actually makes things worse overall
20942 due to many things like _cairo_path_fixed_move_to called by
20943 cairo_move_to where the result must be immediately checked anyway.
20944 So I've already rejected that approach.
20946 src/cairo-scaled-font.c | 54 +++++++++++++++++++++++++++++++++++-----------
20947 1 files changed, 41 insertions(+), 13 deletions(-)
20949 commit b1086caf3b108b0df19f70a2b6df161ad51bb280
20950 Author: Carl Worth <cworth@cworth.org>
20951 Date: Tue Apr 10 10:45:15 2007 -0700
20953 Add a status field to cairo_polygon_t
20955 Now, the functions to add new data to a polygon all become void,
20956 and there's a new _cairo_polygon_status call to query the status
20957 at the end of a sequence of operations.
20959 With this change, we fix many callerswhich were previously not
20960 checking the return values of _cairo_polygon functions by adding
20961 only a single call to _cairo_polygon_status rathern than several
20964 src/cairo-path-fill.c | 36 ++++++++-------------------
20965 src/cairo-path-stroke.c | 8 +++++-
20966 src/cairo-pen.c | 9 ++++---
20967 src/cairo-polygon.c | 60 +++++++++++++++++++++++++---------------------
20968 src/cairoint.h | 11 ++++++--
20969 5 files changed, 64 insertions(+), 60 deletions(-)
20971 commit bff45ec9f90b5949a8ffa19cb03c140a08119e4d
20972 Author: Carl Worth <cworth@cworth.org>
20973 Date: Mon Apr 9 17:44:12 2007 -0700
20975 Invert condition to more intuitive form.
20977 The idiom for checking the return value of malloc is:
20979 if (pointer == NULL) { ... }
20983 if (pointer != NULL) { ... }
20985 src/cairo-pattern.c | 7 ++++---
20986 1 files changed, 4 insertions(+), 3 deletions(-)
20988 commit 01955a6e82ee28dd1377a3f2242aa2ddeebadac9
20989 Author: Carl Worth <cworth@cworth.org>
20990 Date: Mon Apr 9 17:42:04 2007 -0700
20992 Rename ARRAY_LEN to ARRAY_LENGTH
20994 Yet another victim in my hunt against abbreviations within cairo's implementation.
20996 src/cairo-arc.c | 2 +-
20997 src/cairo-atsui-font.c | 4 ++--
20998 src/cairo-bentley-ottmann.c | 2 +-
20999 src/cairo-cff-subset.c | 6 +++---
21000 src/cairo-hash.c | 2 +-
21001 src/cairo-pattern.c | 8 ++++----
21002 src/cairo-polygon.c | 2 +-
21003 src/cairo-spline.c | 4 ++--
21004 src/cairo-surface.c | 2 +-
21005 src/cairo-svg-surface.c | 2 +-
21006 src/cairo-traps.c | 2 +-
21007 src/cairo-truetype-subset.c | 6 +++---
21008 src/cairoint.h | 4 ++--
21009 13 files changed, 23 insertions(+), 23 deletions(-)
21011 commit d317e8175de04c73c4a1f84db4a7e5354411ca06
21012 Author: Carl Worth <cworth@cworth.org>
21013 Date: Mon Apr 9 17:38:17 2007 -0700
21015 Prefer FALSE over 0 for initializing a cairo_bool_t value
21017 src/cairo.c | 4 ++--
21018 1 files changed, 2 insertions(+), 2 deletions(-)
21020 commit 9a33dab96988b94940a917921accc1bf19960a53
21021 Author: Carl Worth <cworth@cworth.org>
21022 Date: Mon Apr 9 17:37:30 2007 -0700
21024 Fix an incorrectly indented condition
21026 src/cairo-xlib-surface.c | 4 ++--
21027 1 files changed, 2 insertions(+), 2 deletions(-)
21029 commit 4bfc8c98ccf29fc11d11ee35996be9aab5a63f36
21030 Author: Carl Worth <cworth@cworth.org>
21031 Date: Mon Apr 9 17:36:41 2007 -0700
21033 ATSUI: Fix broken error checks for NULL surface
21035 The cairo_image_surface_create function never returns NULL so
21036 the previous error checks would never have triggered. The correct
21037 approach is to check the result of cairo_surface_status().
21039 src/cairo-atsui-font.c | 9 +++++----
21040 1 files changed, 5 insertions(+), 4 deletions(-)
21042 commit bd98295100ce84a9dfffd16bc6e50ef0ced4d4bc
21043 Author: Carl Worth <cworth@cworth.org>
21044 Date: Mon Apr 9 17:30:06 2007 -0700
21046 Add a couple of missing newline characters
21048 A return statement that's not at the end of a function really needs
21049 a line of whitespace after it.
21051 src/cairo-bentley-ottmann.c | 1 +
21052 src/cairo-type1-fallback.c | 1 +
21053 2 files changed, 2 insertions(+), 0 deletions(-)
21055 commit a7d8e52cc4be2376429f567abc2be853da7d5fbc
21056 Author: Carl Worth <cworth@cworth.org>
21057 Date: Mon Apr 9 17:24:18 2007 -0700
21059 Cleanup multi-line if condition
21061 The standard idiom of assigning to a local status variable looks much,
21064 src/cairo-path.c | 20 +++++++++++---------
21065 1 files changed, 11 insertions(+), 9 deletions(-)
21067 commit 7c97696af98a6dab9e0c5cdc72ff08c19892c95f
21068 Author: Carl Worth <cworth@cworth.org>
21069 Date: Mon Apr 9 17:16:30 2007 -0700
21071 Make _cairo_path_bounder_add_point void
21073 Yet another function that cannot fail under any circumstances.
21075 src/cairo-path-bounds.c | 6 ++----
21076 1 files changed, 2 insertions(+), 4 deletions(-)
21078 commit 93776772edbadeab90ea199a115750310be91e4e
21079 Author: Carl Worth <cworth@cworth.org>
21080 Date: Mon Apr 9 17:15:33 2007 -0700
21082 Make _cairo_matrix_compute_scale_factors void
21084 Yet another function that cannot fail under any circumstances.
21086 src/cairo-matrix.c | 4 +---
21087 src/cairoint.h | 2 +-
21088 2 files changed, 2 insertions(+), 4 deletions(-)
21090 commit d5b35d7d7666634f1f98d6c0141a2a29976e7e2f
21091 Author: Carl Worth <cworth@cworth.org>
21092 Date: Mon Apr 9 17:12:11 2007 -0700
21094 Make _cairo_pen_init_empty void
21096 Yet another function that cannot fail under any circumstances.
21098 src/cairo-pen.c | 4 +---
21099 src/cairoint.h | 2 +-
21100 2 files changed, 2 insertions(+), 4 deletions(-)
21102 commit 9077da99abd163ebd0c52e8375e6f40ce60cf7d2
21103 Author: Carl Worth <cworth@cworth.org>
21104 Date: Mon Apr 9 17:09:51 2007 -0700
21106 Make _cairo_gstate_user_to_device (and friends) void.
21108 This is just multiplication after all, so there's nothing that can fail.
21109 And we can get rid of a lot of useless error-checking code this way.
21110 The corrected functions are:
21112 _cairo_gstate_user_to_device
21113 _cairo_gstate_user_to_device_distance
21114 _cairo_gstate_device_to_user
21115 _cairo_gstate_device_to_user_distance
21117 src/cairo-gstate.c | 16 +++----------
21118 src/cairo.c | 62 +++++++++++++++------------------------------------
21119 src/cairoint.h | 8 +++---
21120 3 files changed, 26 insertions(+), 60 deletions(-)
21122 commit 628ec8eb91fb246b8a44be3451163a5d8592a860
21123 Author: Carl Worth <cworth@cworth.org>
21124 Date: Mon Apr 9 17:03:29 2007 -0700
21126 Make _cairo_gstate_identity_matrix void
21128 Now that we have the warn_unused_result attribute enabled, (thanks
21129 Chris!), it's actually harmful to have a function return an
21130 uncoditional value of CAIRO_STATUS_SUCCESS. The harm is that
21131 it would force lots of unnecessary error-checking paths that
21134 It is much better to simply give a function that cannot fail
21135 a return type of void.
21137 src/cairo-gstate.c | 9 ++-------
21138 src/cairo.c | 6 +-----
21139 src/cairoint.h | 2 +-
21140 3 files changed, 4 insertions(+), 13 deletions(-)
21142 commit 90803eca0fa8d49c54c465580707009aae382d28
21143 Author: Chris Wilson <chris@chris-wilson.co.uk>
21144 Date: Wed Apr 4 11:17:23 2007 +0100
21146 Implement clone_surface for test-fallback-surface.
21148 A few tests were failing due to clip_init_deep_copy() not being able to
21149 clone the target surface. Before propagating the failure, this was being
21152 Copy the simple implementation from cairo-image-surface.
21154 src/test-fallback-surface.c | 22 +++++++++++++++++++++-
21155 1 files changed, 21 insertions(+), 1 deletions(-)
21157 commit 4456ecbf2694f0b71a431353e0dea0515b72926b
21158 Author: Chris Wilson <chris@chris-wilson.co.uk>
21159 Date: Sun Apr 8 23:40:31 2007 +0100
21161 Fix detection of FcFini().
21163 It is customary to check for a FontConfig function in the FontConfig
21164 library rather than the FreeType library.
21166 configure.in | 2 +-
21167 1 files changed, 1 insertions(+), 1 deletions(-)
21169 commit cd2394c076e2f6b14a9a3281461026b811692f2e
21170 Author: Chris Wilson <chris@chris-wilson.co.uk>
21171 Date: Tue Apr 3 21:50:15 2007 +0100
21173 Free the bitmap->buffer on failure
21175 Currently if the ownership of the bitmap->buffer is passed to
21176 _get_bitmap_surface() then the status of the buffer is inconsistent
21177 should the function detect an error (i.e. CAIRO_STATUS_NO_MEMORY).
21178 Fix it up that should we encounter an error and we own the buffer then
21179 we always free it on behalf of the caller.
21181 src/cairo-ft-font.c | 7 ++++++-
21182 1 files changed, 6 insertions(+), 1 deletions(-)
21184 commit ac33953a81114dddc25ceb57f6df57e01d4d937b
21185 Author: Chris Wilson <chris@chris-wilson.co.uk>
21186 Date: Sun Apr 8 23:37:29 2007 +0100
21188 Correct handling of a malloc failure during pattern_create_in_error()
21190 Confusion had been introduced as to who provided the fixup after
21191 the malloc failed which resulted in a NULL deference whilst checking for
21192 an erroneous pattern in _cairo_pattern_create_in_error.
21194 src/cairo-pattern.c | 24 ++++++------------------
21195 1 files changed, 6 insertions(+), 18 deletions(-)
21197 commit b6924722b8c8e5f4356d3c8ba438a702ffb8a5ed
21198 Author: Behdad Esfahbod <behdad@behdad.org>
21199 Date: Sun Apr 8 23:35:01 2007 -0400
21201 [cairo-skiplist] Use one random number per insertion, instead of two
21203 src/cairo-skiplist-private.h | 3 +++
21204 src/cairo-skiplist.c | 7 +++++--
21205 2 files changed, 8 insertions(+), 2 deletions(-)
21207 commit ce1651f1ea57b53ad91f5115524d33f6424d5797
21208 Author: Chris Wilson <chris@chris-wilson.co.uk>
21209 Date: Tue Apr 3 16:53:17 2007 +0100
21211 Free the pixman_image if we fail to wrap it with a surface.
21213 src/cairo-image-surface.c | 9 +++++++++
21214 1 files changed, 9 insertions(+), 0 deletions(-)
21216 commit bd99507f15dd8a2d162f13e691cc5f8d71795577
21217 Author: Chris Wilson <chris@chris-wilson.co.uk>
21218 Date: Fri Mar 30 14:00:50 2007 +0100
21220 Initialise cairo_spline_t to use its embedded buffer.
21222 Currently the code defaults to setting its points to NULL and fixing it up
21223 on the first add_point() to use the embedded buffer. Skip this extra step
21224 by initialising points to the embedded buffer.
21226 src/cairo-spline.c | 24 +++++++-----------------
21227 1 files changed, 7 insertions(+), 17 deletions(-)
21229 commit 6daaf8a89d24fb3022687fe8d52c8001dc270265
21230 Author: Behdad Esfahbod <behdad@behdad.org>
21231 Date: Sun Apr 8 23:32:27 2007 -0400
21233 [cairo-skiplist] Reduce MAX_LEVEL from 31 to 15
21235 The probability that a node of level L is generated is
21236 0.25^(L-1) * 0.75. It means, a node of level 15 or
21237 more will be used with a probability of about 3 * 10^-9.
21238 That's really rare...
21240 Actually that's not still true, because the level of a new
21241 node is capped by current max-level plus one. So to really
21242 get a node with a level of 15 one should first get a node
21243 of level 2, then 3, then 4, ..., finally 15. Now that's
21246 And guess what, the skiplist only start behaving bad with a
21247 max level cap of MAX_LEVEL when having on the order of
21248 4**MAX_LEVEL items in it. I really hope we don't get there.
21250 src/cairo-skiplist-private.h | 2 +-
21251 1 files changed, 1 insertions(+), 1 deletions(-)
21253 commit a7de9501f6d0f3a574c5246b81d78aa749b64e67
21254 Author: Behdad Esfahbod <behdad@behdad.org>
21255 Date: Sun Apr 8 23:24:50 2007 -0400
21257 [cairo-skiplist] Group levels two-by-two in freelists
21259 Most memory allocators allocate in multiples of twice the size of
21260 a pointer. So there is no point in keeping freelists for both
21261 even and odd levels. We now round odd levels up to the next
21262 even level for freelist computations. This reduces the number of
21265 src/cairo-skiplist-private.h | 10 +++++++++-
21266 src/cairo-skiplist.c | 21 ++++++++++++++-------
21267 2 files changed, 23 insertions(+), 8 deletions(-)
21269 commit b2280c5ac25e752c4462acdc8d2ded916fce7c34
21270 Author: Chris Wilson <chris@chris-wilson.co.uk>
21271 Date: Fri Mar 30 11:24:18 2007 +0100
21273 Do not overwrite cr->status
21275 The idiom for cairo.c is to do
21276 cr->status = _cairo_op ();
21277 if (cr->status) _cairo_set_error (cr, cr->status);
21279 Unfortunately a trivial mistake for a _cairo_op () is to call a cairo_op ()
21280 and forget to check cr->status but return CAIRO_STATUS_SUCCESS which will
21281 mask the earlier error.
21283 Obviously this is a bug in the lower level but the impact can be reduced
21284 by chaning cairo.c to use a local status variable for its return:
21285 cairo_status_t status = _cairo_op ();
21286 if (status) _cairo_set_error (cr, cr->status);
21288 src/cairo.c | 537 +++++++++++++++++++++++++++++++++++------------------------
21289 1 files changed, 319 insertions(+), 218 deletions(-)
21291 commit 14ac5dd78b38aaaa118e8ac39fa50f485bff516d
21292 Author: Chris Wilson <chris@chris-wilson.co.uk>
21293 Date: Sun Apr 8 23:11:57 2007 +0100
21295 Return the correct status from _cairo_pen_stroke_spline().
21297 The return value is shared before the normal cleanup and error paths,
21298 so do not simply return a hard-coded CAIRO_STATUS_SUCCESS.
21300 src/cairo-pen.c | 2 +-
21301 1 files changed, 1 insertions(+), 1 deletions(-)
21303 commit b823e2f68ff613b2c4f537aba6bbbcf413412eb2
21304 Author: Chris Wilson <chris@chris-wilson.co.uk>
21305 Date: Sun Apr 8 23:09:31 2007 +0100
21307 cairo-xlib-surface - propagate status returns.
21309 These were found during a cairo_static pass on an alternative branch...
21311 A critical one in particular was setting the have added glyph flag to
21312 TRUE even if _cairo_xlib_surface_add_glyph() fails. This can cause an
21313 application crash due to a RenderBadGlyph error later when the scaled
21314 font is cleaned and we attempt to remove the glyph.
21316 src/cairo-xlib-surface.c | 44 +++++++++++++++++++++++++++++++-------------
21317 1 files changed, 31 insertions(+), 13 deletions(-)
21319 commit 4a624b8e8b0a14dd03e551b28257d8a54b9ee6f6
21320 Author: Chris Wilson <chris@chris-wilson.co.uk>
21321 Date: Thu Mar 29 13:36:07 2007 +0100
21323 Remove the entry if we return an error code during _cair_hash_table_insert.
21325 Previously if we detected an error during resize we would report a
21326 failure to insert the entry into the hash table having already done so.
21328 src/cairo-hash.c | 11 +++++++++--
21329 1 files changed, 9 insertions(+), 2 deletions(-)
21331 commit 1cdb54f8835446b23769b7771445201a9b5d165e
21332 Author: Chris Wilson <chris@chris-wilson.co.uk>
21333 Date: Thu Mar 29 09:11:21 2007 +0100
21335 Reorder cleanup cairo_xlib_surface_show_glyphs()
21337 _cairo_pattern_release_surface() asserts that it is passed a pattern
21338 surface. This itself is bad as breaks the symmetry with
21339 _cairo_pattern_acquire_surface under() error conditions, however reorder
21340 the cleanup to avoid this assertion.
21342 src/cairo-xlib-surface.c | 22 ++++++++++++----------
21343 1 files changed, 12 insertions(+), 10 deletions(-)
21345 commit a1331fb043051ac10f8555b2ad2fe85183db96df
21346 Author: Chris Wilson <chris@chris-wilson.co.uk>
21347 Date: Wed Mar 28 19:32:25 2007 +0100
21349 Detect failure to allocate glyphs during _cairo_scaled_font_init()
21351 If _cairo_cache_create fails, return CAIRO_STATUS_NO_MEMORY.
21353 src/cairo-scaled-font.c | 9 ++++++---
21354 1 files changed, 6 insertions(+), 3 deletions(-)
21356 commit 1237eedff3d557b94db9c940fd8de48be9ba41ba
21357 Author: Chris Wilson <chris@chris-wilson.co.uk>
21358 Date: Sun Apr 8 22:56:43 2007 +0100
21360 Check for error whilst trying to advance along a text string.
21362 The text perf-case tries to fill the region with a single text string,
21363 but fails to detect when the current point does not advance due to an
21364 error. This causes the perf-case to enter an infinite loop, so we break
21365 out when the cairo_status() has been set.
21367 perf/text.c | 4 ++--
21368 1 files changed, 2 insertions(+), 2 deletions(-)
21370 commit ea4945850ae3ce3614bcadc0fa413eb836344430
21371 Author: Chris Wilson <chris@chris-wilson.co.uk>
21372 Date: Fri Mar 16 20:04:26 2007 +0000
21374 Avoid using substituted surfaces for xlib operations.
21376 Detect when a substitute image surface is returned for a solid pattern,
21377 and avoid mixed image/xlib composite operations. This can happen for example
21378 if there is a resource allocation failure during creating a similar surface.
21380 src/cairo-xlib-surface.c | 7 ++++++-
21381 1 files changed, 6 insertions(+), 1 deletions(-)
21383 commit 751976970bb0ec9b810c1f58a05d53b7bfb7d90f
21384 Author: Chris Wilson <chris@chris-wilson.co.uk>
21385 Date: Fri Mar 16 19:35:02 2007 +0000
21387 Handle failure to allocate a GC.
21389 src/cairo-xlib-surface.c | 51 ++++++++++++++++++++++++++++++---------------
21390 1 files changed, 34 insertions(+), 17 deletions(-)
21392 commit c6055dc349c3f96e8d6f0e4166540871a59cb0e2
21393 Author: Chris Wilson <chris@chris-wilson.co.uk>
21394 Date: Sun Apr 8 22:50:44 2007 +0100
21396 Reset cairo_scaled_font_map after freeing.
21398 Along the error path the global font map was freed but not reset,
21399 causing segfaults on any subsequent use of a cairo_scaled_font_t.
21401 src/cairo-scaled-font.c | 1 +
21402 1 files changed, 1 insertions(+), 0 deletions(-)
21404 commit 65de47d8bc7865c6bf6318fd7bd861acf4e4af05
21405 Author: Chris Wilson <chris@chris-wilson.co.uk>
21406 Date: Sun Apr 8 22:47:19 2007 +0100
21408 cairo-bentley-ottmann - check init for failure
21410 This was found during a cairo_static pass on an alternative branch...
21411 Add the trivial error propagation for _cairo_bo_event_queue_init()
21413 src/cairo-bentley-ottmann.c | 6 ++++--
21414 1 files changed, 4 insertions(+), 2 deletions(-)
21416 commit b4cb0306b4415f2ddf0acd84043b72c8b8485726
21417 Author: Chris Wilson <chris@chris-wilson.co.uk>
21418 Date: Wed Mar 28 15:55:06 2007 +0100
21420 cairo-type1-fallback - propagate error returns
21422 Add status returns in order to propagate a matrix inversion failure
21423 up through the call stack.
21425 src/cairo-type1-fallback.c | 25 ++++++++++++++++++-------
21426 1 files changed, 18 insertions(+), 7 deletions(-)
21428 commit b29d78dda169ee58b82cdbd04e3af2eedcc58edd
21429 Author: Chris Wilson <chris@chris-wilson.co.uk>
21430 Date: Wed Mar 28 15:43:37 2007 +0100
21432 cairo-svg-surface - propagate some error returns
21434 Add status returns to functions in order to propagate an error up
21437 For the emit_*_pattern we add a new status return even when when
21438 the functon return CAIRO_STATUS_SUCCESS unconditionally in order for
21439 the caller to handle all cases in a consistent manner.
21441 src/cairo-svg-surface.c | 56 +++++++++++++++++++++++++++++++----------------
21442 1 files changed, 37 insertions(+), 19 deletions(-)
21444 commit 3f7ca6ef5b09263607ff2f9862950393815c5d2c
21445 Author: Chris Wilson <chris@chris-wilson.co.uk>
21446 Date: Wed Mar 28 14:57:44 2007 +0100
21448 cairo-pen - cairo_pen_init() can fail propagate its error.
21450 Add status returns in order to propagate an intialisation failure
21451 back up the call chain.
21453 src/cairo-path-stroke.c | 23 +++++++++++++++--------
21454 1 files changed, 15 insertions(+), 8 deletions(-)
21456 commit 67f13b3518c5fc98d1e3fb184bc6c2f5ea96f4c9
21457 Author: Chris Wilson <chris@chris-wilson.co.uk>
21458 Date: Sun Apr 8 21:54:41 2007 +0100
21460 cairo-bentley-ottmann/skip-list - catch and propagate out-of-memory errors
21462 The skip list inserts could return NULL indicating an out-of-memory error.
21463 In order to handle this, propagate the error up the call stack.
21465 src/cairo-bentley-ottmann.c | 50 ++++++++++++++++++++++++++++++-------------
21466 src/cairo-skiplist.c | 2 +
21467 2 files changed, 37 insertions(+), 15 deletions(-)
21469 commit 293122279fd87098a00386bb4c9310f3fc1bb373
21470 Author: Chris Wilson <chris@chris-wilson.co.uk>
21471 Date: Sun Apr 8 21:50:48 2007 +0100
21473 cairo-path-stroke - add trivial missing status checks
21475 Propagate the error status.
21477 src/cairo-path-stroke.c | 33 +++++++++++++++++++++++++--------
21478 1 files changed, 25 insertions(+), 8 deletions(-)
21480 commit 2f2bff038cb0e59865a0405b19da4805213d718e
21481 Author: Chris Wilson <chris@chris-wilson.co.uk>
21482 Date: Sun Apr 8 21:47:01 2007 +0100
21484 buffer-diff - check for any errors whilst writing the png
21486 Propagate any errors from writing out the png.
21488 test/buffer-diff.c | 5 +++--
21489 1 files changed, 3 insertions(+), 2 deletions(-)
21491 commit 79424fc64640db4b518eaf4a23477f1bbc26db5a
21492 Author: Chris Wilson <chris@chris-wilson.co.uk>
21493 Date: Sun Apr 8 21:45:58 2007 +0100
21495 cairo - add missing status checks
21497 Add a few missing status checks and set the error on the context when
21500 src/cairo.c | 74 ++++++++++++++++++++++++++++++++++++++--------------------
21501 1 files changed, 48 insertions(+), 26 deletions(-)
21503 commit a34a32fd99145733df9290f7c72bf7d9759e212b
21504 Author: Chris Wilson <chris@chris-wilson.co.uk>
21505 Date: Sun Apr 8 21:36:42 2007 +0100
21507 cairo-type1-fallback - check for an error during cleanup
21509 The cleanup path is shared between the error path and the true path, and
21510 so any error along it can not be ignored.
21512 src/cairo-type1-fallback.c | 7 ++++---
21513 1 files changed, 4 insertions(+), 3 deletions(-)
21515 commit d2efadc84d0716498cec0510916f5375fbb7acf0
21516 Author: Chris Wilson <chris@chris-wilson.co.uk>
21517 Date: Sun Apr 8 21:35:28 2007 +0100
21519 cairo-svg-surface - propagate error returns
21521 Add a couple of missing checks for error statues.
21523 src/cairo-svg-surface.c | 34 ++++++++++++++++++++++++----------
21524 1 files changed, 24 insertions(+), 10 deletions(-)
21526 commit 02264b40f5ab4831e52c0ad156471045c62c9e85
21527 Author: Chris Wilson <chris@chris-wilson.co.uk>
21528 Date: Sun Apr 8 21:34:25 2007 +0100
21530 cairo-surface-fallback - propagate error returns
21532 _cairo_surface_composite() can fail so check for and error return and
21535 src/cairo-surface-fallback.c | 44 ++++++++++++++++++++++++-----------------
21536 1 files changed, 26 insertions(+), 18 deletions(-)
21538 commit 76b27fb0e81cc557c7348f6ba98b72552d781aed
21539 Author: Chris Wilson <chris@chris-wilson.co.uk>
21540 Date: Sun Apr 8 21:33:00 2007 +0100
21542 cairo-ps-surface - add a couple of status checks
21544 Handle a couple more error returns.
21546 src/cairo-ps-surface.c | 54 +++++++++++++++++++++++++++--------------------
21547 1 files changed, 31 insertions(+), 23 deletions(-)
21549 commit 619425a8b3bff79fb453f4b84e3a8e75db369b40
21550 Author: Chris Wilson <chris@chris-wilson.co.uk>
21551 Date: Sun Apr 8 21:29:19 2007 +0100
21553 cairo-polygon - trivial propagation of error status
21555 _cairo_polygon_move_to() returns an error status so use it.
21557 src/cairo-polygon.c | 8 +++-----
21558 1 files changed, 3 insertions(+), 5 deletions(-)
21560 commit 4b195779a465f69b035e9fd6695ef5c137a6b342
21561 Author: Chris Wilson <chris@chris-wilson.co.uk>
21562 Date: Sun Apr 8 21:28:25 2007 +0100
21564 cairo-pen - trivial propagation of error status
21566 Add a couple of missing checks for error statuses and correct the
21567 error path cleanup for _cairo_pen_stroke_spline().
21569 src/cairo-pen.c | 24 +++++++++++++++++-------
21570 1 files changed, 17 insertions(+), 7 deletions(-)
21572 commit 66d3e252025cf7f8a624fad83bffa1488a98910d
21573 Author: Chris Wilson <chris@chris-wilson.co.uk>
21574 Date: Sun Apr 8 21:26:33 2007 +0100
21576 cairo-pdf-surface - propagate error status
21578 Catch and propagate any error status.
21580 src/cairo-pdf-surface.c | 25 +++++++++++++------------
21581 1 files changed, 13 insertions(+), 12 deletions(-)
21583 commit b32a5b1dc6d66a4477fb8df1461821a27192600f
21584 Author: Chris Wilson <chris@chris-wilson.co.uk>
21585 Date: Sun Apr 8 21:25:46 2007 +0100
21587 cairo-pattern - propagate status
21589 Catch, cleanup and propagate after an error return.
21591 src/cairo-pattern.c | 10 ++++++++--
21592 1 files changed, 8 insertions(+), 2 deletions(-)
21594 commit fd49bbb4b21b73247b4d391c2cb1b028a596f6eb
21595 Author: Chris Wilson <chris@chris-wilson.co.uk>
21596 Date: Sun Apr 8 21:24:59 2007 +0100
21598 cairo-path - check for failure during _cairo_path_fixed_interpret
21600 Catch an error return from _cairo_path_fixed_interpret() and return
21601 it. Similary check for an error code in cairo_status() before returning
21604 src/cairo-path.c | 55 +++++++++++++++++++++++++++++++----------------------
21605 1 files changed, 32 insertions(+), 23 deletions(-)
21607 commit 814830f63b72f69198e92564c53f2683e5bda269
21608 Author: Chris Wilson <chris@chris-wilson.co.uk>
21609 Date: Sun Apr 8 21:22:56 2007 +0100
21611 cairo-path-fill - trivial missing unused result
21613 Actually assign the result that is tested on the next line...
21615 src/cairo-path-fill.c | 2 +-
21616 1 files changed, 1 insertions(+), 1 deletions(-)
21618 commit 7ab1f62c60141d5c0e989d55f4a49537a6b52c4d
21619 Author: Chris Wilson <chris@chris-wilson.co.uk>
21620 Date: Sun Apr 8 21:21:49 2007 +0100
21622 cairo-paginated-surface - fix up the trivial unused result
21624 Check for status returns and propagate, cleaning up as necessary.
21626 src/cairo-paginated-surface.c | 22 ++++++++++++++++------
21627 1 files changed, 16 insertions(+), 6 deletions(-)
21629 commit 78c0d62ba7c650a6dc8137e6d1375e21f9477c2b
21630 Author: Chris Wilson <chris@chris-wilson.co.uk>
21631 Date: Sun Apr 8 21:20:42 2007 +0100
21633 cairo-meta-surface - propagate trivial status return
21635 _cairo_path_fixed_init_copy() could fail so propagate it's status.
21637 src/cairo-meta-surface.c | 4 +++-
21638 1 files changed, 3 insertions(+), 1 deletions(-)
21640 commit 75cc5e04d5b854a1eefe116c2be4a3c2bb21d6ac
21641 Author: Chris Wilson <chris@chris-wilson.co.uk>
21642 Date: Sun Apr 8 21:19:49 2007 +0100
21644 cairo-image-surface - propagate error returns from pixman.
21646 pixman does occasionally return an error - in such circumstances we
21647 should propagate it.
21649 src/cairo-image-surface.c | 6 ++++--
21650 1 files changed, 4 insertions(+), 2 deletions(-)
21652 commit dee9a53029bd3e42c60a855edfb54591bf1782b5
21653 Author: Chris Wilson <chris@chris-wilson.co.uk>
21654 Date: Sun Apr 8 21:18:30 2007 +0100
21656 cairo-gstate - fix the trivial unchecked returns
21658 Check for an error return and propagate.
21660 src/cairo-gstate.c | 17 +++++++++++++----
21661 1 files changed, 13 insertions(+), 4 deletions(-)
21663 commit de264af2c659b32c8bc71060da85037ac7e1d44f
21664 Author: Chris Wilson <chris@chris-wilson.co.uk>
21665 Date: Sun Apr 8 21:17:26 2007 +0100
21667 cairo-ft-font - handle trivial failures
21669 Catch the status return, cleanup and propagate the error.
21671 src/cairo-ft-font.c | 82 +++++++++++++++++++++++++++++++++-----------------
21672 1 files changed, 54 insertions(+), 28 deletions(-)
21674 commit 14c8dfb0b9bcc26a02057e5636d8bf35c3b4ef29
21675 Author: Chris Wilson <chris@chris-wilson.co.uk>
21676 Date: Mon Apr 9 15:03:34 2007 +0100
21678 cairo-clip - handle trivial pixman failures
21680 Detect the simple cases when pixman returns an error, ie an OOM
21681 condition, and propagate the error status.
21683 src/cairo-clip.c | 18 ++++++++++++------
21684 1 files changed, 12 insertions(+), 6 deletions(-)
21686 commit 274c20c27a094c05afa62579cacb5749013abd60
21687 Author: Chris Wilson <chris@chris-wilson.co.uk>
21688 Date: Sun Apr 8 21:14:09 2007 +0100
21690 cairo-boilerplate - handle failure to set user data
21692 After failing to set the user data on a surface, clean up and return NULL.
21694 boilerplate/cairo-boilerplate.c | 10 +++++++++-
21695 1 files changed, 9 insertions(+), 1 deletions(-)
21697 commit 46eab95698e101e41407778eda22089b508a8984
21698 Author: Chris Wilson <chris@chris-wilson.co.uk>
21699 Date: Sun Apr 8 20:50:08 2007 +0100
21701 Add attribute(warn_unused_result)
21703 This adds a compiler check that the function result is used by the caller
21704 and enables it by default for all cairo_private functions and for public
21705 API that returns a cairo_status_t.
21707 It has been discussed that to extend the warnings to all functions, a
21708 new function type could been introduced to cover static functions:
21709 cairo_static. This has not been done at the present time in order to
21710 minimise the churn and focus on the more common errors.
21712 In order to reduce the warning spew generated by gcc for invalid use of
21713 this attribute, -Wno-attributes is added to CFLAGS. This has the
21714 unfortunate side-effect of masking future warnings for all attributes -
21717 configure.in | 13 ++++++++++++-
21718 pixman/configure.in | 3 ++-
21719 pixman/src/pixman.h | 2 +-
21720 src/cairo.h | 40 ++++++++++++++++++++--------------------
21721 src/cairoint.h | 8 +++++---
21722 src/check-headers.sh | 2 +-
21723 6 files changed, 41 insertions(+), 27 deletions(-)
21725 commit 9da86e4a386505288c3a933f30583abf7706c950
21726 Author: Behdad Esfahbod <behdad@behdad.org>
21727 Date: Sun Apr 8 22:56:30 2007 -0400
21729 Add references to the skiplist paper
21731 BIBLIOGRAPHY | 8 ++++++++
21732 src/cairo-skiplist-private.h | 6 ++++++
21733 2 files changed, 14 insertions(+), 0 deletions(-)
21735 commit ad0e13805c036941a03e49215b1bb525b4666033
21736 Author: Behdad Esfahbod <behdad@behdad.org>
21737 Date: Sun Apr 8 22:50:51 2007 -0400
21739 [cairo-skiplist] Clarify MAX_LEVEL in comment, and adjust accordingly
21741 Reading the code, MAX_LEVEL is in fact what could have been named
21742 MAX_NUM_LEVELS. That is, it is maximum possible level plus one.
21743 All code is correct: it uses MAX_LEVEL as array size and never produces
21744 a level of MAX_LEVEL. The comment is fixed.
21746 src/cairo-skiplist.c | 2 +-
21747 1 files changed, 1 insertions(+), 1 deletions(-)
21749 commit e8072e6e0ac86b2b0baefb54dcc551ee548164af
21750 Author: Behdad Esfahbod <behdad@behdad.org>
21751 Date: Sun Apr 8 22:03:46 2007 -0400
21753 [test,perf] Make them rebuild boilerplate when src is changed
21755 perf/Makefile.am | 2 +-
21756 test/Makefile.am | 2 +-
21757 2 files changed, 2 insertions(+), 2 deletions(-)
21759 commit 6f9309221704a799ca36917c65abfc0941119b13
21760 Author: Behdad Esfahbod <behdad@behdad.org>
21761 Date: Sun Apr 8 21:58:54 2007 -0400
21763 Rename pixman_region_uninit to pixman_region_fini
21765 pixman/src/fbcompose.c | 2 +-
21766 pixman/src/fbpict.c | 2 +-
21767 pixman/src/icimage.c | 8 ++++----
21768 pixman/src/icrect.c | 4 ++--
21769 pixman/src/ictrap.c | 4 ++--
21770 pixman/src/pixman-remap.h | 2 +-
21771 pixman/src/pixman.h | 2 +-
21772 pixman/src/pixregion.c | 2 +-
21773 src/cairo-clip.c | 12 ++++++------
21774 src/cairo-glitz-surface.c | 4 ++--
21775 src/cairo-surface-fallback.c | 6 +++---
21776 src/cairo-surface.c | 4 ++--
21777 src/cairo-traps.c | 2 +-
21778 13 files changed, 27 insertions(+), 27 deletions(-)
21780 commit 4f8a04b1c93630c2556db5e3a0657076167e1ea3
21781 Author: Behdad Esfahbod <behdad@behdad.org>
21782 Date: Sun Apr 8 21:55:45 2007 -0400
21784 [pixman-image] Simply initialization given that there is no clip
21786 pixman/src/icimage.c | 32 +++++++++-----------------------
21787 1 files changed, 9 insertions(+), 23 deletions(-)
21789 commit df9ea31df5857ee7aacd6ba002881233e9c4a9b4
21790 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21791 Date: Thu Mar 15 14:42:13 2007 +0100
21793 [pixman-region] Separate pixman_region_init
21795 Most of the time pixman_region_init is called without any extents, and
21796 followed by a pixman_region_union_rect, used to used to initialize
21797 rectangular regions. pixman_region_union_rect is not that cheap, but
21798 the sequence is called quite often. So it should be worth introducing
21799 a specialized and fast function for this sequence.
21801 This introduces pixman_region_init_rect. This new function makes
21802 _cairo_region_init_from_rectangle obsolete.
21804 Also removes the extent argument from pixman_region_init as it was
21805 called with NULL most of the time. A pixman_region_init_with_extents
21806 is added for the general case.
21808 pixman/src/fbcompose.c | 3 +--
21809 pixman/src/fbpict.c | 3 +--
21810 pixman/src/icimage.c | 25 +++++++++++--------------
21811 pixman/src/icrect.c | 10 +++++-----
21812 pixman/src/ictrap.c | 6 ++----
21813 pixman/src/pixman-remap.h | 2 ++
21814 pixman/src/pixman.h | 7 ++++++-
21815 pixman/src/pixregion.c | 37 +++++++++++++++++++++----------------
21816 src/cairo-clip.c | 18 ++++++++++--------
21817 src/cairo-glitz-surface.c | 2 +-
21818 src/cairo-region.c | 25 -------------------------
21819 src/cairo-surface-fallback.c | 7 +++----
21820 src/cairo-surface.c | 16 ++++++----------
21821 src/cairo-traps.c | 2 +-
21822 src/cairoint.h | 4 ----
21823 15 files changed, 70 insertions(+), 97 deletions(-)
21825 commit 9436959a838412b5336279c7d5c35bf4e586f984
21826 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21827 Date: Wed Mar 14 01:37:28 2007 +0100
21829 Update function map
21831 pixman/src/pixman-remap.h | 5 ++---
21832 1 files changed, 2 insertions(+), 3 deletions(-)
21834 commit 99f4bfada807aa7062051bb81fd29d4d3a87fbd1
21835 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21836 Date: Wed Mar 14 01:35:40 2007 +0100
21838 Remove abdoned pixman_region_{create,destroy}
21840 pixman/src/pixman.h | 6 ------
21841 pixman/src/pixregion.c | 25 -------------------------
21842 2 files changed, 0 insertions(+), 31 deletions(-)
21844 commit 4532c023e0810c2e8d0d5928074bcae8865c5e14
21845 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21846 Date: Wed Mar 14 01:31:53 2007 +0100
21848 Make clientClip region static, remove abdoned CT_PIXMAP code paths
21850 pixman/src/icimage.c | 208 ++------------------------------------------------
21851 pixman/src/icimage.h | 2 +-
21852 pixman/src/icint.h | 2 +-
21853 3 files changed, 9 insertions(+), 203 deletions(-)
21855 commit 65f269f3a4148a6cf3b2158ea893bb8452c3ad5e
21856 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21857 Date: Wed Mar 14 01:24:11 2007 +0100
21859 Avoid pixman_region_create in pixman_composite{,General}
21861 pixman/src/fbcompose.c | 32 ++++++++--------------
21862 pixman/src/fbpict.c | 32 ++++++++--------------
21863 pixman/src/icimage.c | 68 +++++++++++++++++-------------------------------
21864 3 files changed, 48 insertions(+), 84 deletions(-)
21866 commit 82cc451148eec1703d001f2b814d5b3712d31727
21867 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21868 Date: Wed Mar 14 01:21:18 2007 +0100
21870 Make clip regions of pixman_image_t static
21872 pixman/src/fbcompose.c | 38 ++++++++--------
21873 pixman/src/icimage.c | 121 +++++++++++++++++++++++++++---------------------
21874 pixman/src/icimage.h | 8 ++--
21875 pixman/src/icrect.c | 7 ++-
21876 4 files changed, 96 insertions(+), 78 deletions(-)
21878 commit 041371533746d4aae3245a74459c0b0d1a4628fb
21879 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21880 Date: Wed Mar 14 00:59:36 2007 +0100
21882 Avoid pixman_region_create in pixman_color_rects
21884 pixman/src/icrect.c | 32 ++++++++++++++++----------------
21885 1 files changed, 16 insertions(+), 16 deletions(-)
21887 commit 5a6ca4794bfd96026937cd8736a8bcb723b2b2ff
21888 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21889 Date: Wed Mar 14 00:55:46 2007 +0100
21891 Replace pixman_region_create_simple by pixman_region_init
21893 pixman/src/ictrap.c | 14 +++++++-------
21894 pixman/src/pixman.h | 3 ---
21895 pixman/src/pixregion.c | 13 +------------
21896 3 files changed, 8 insertions(+), 22 deletions(-)
21898 commit f9057f27520842159f73dbfd6de49cb8feee1c39
21899 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21900 Date: Wed Mar 14 00:48:43 2007 +0100
21902 Avoid pixman_create_region in glitz-surface
21904 src/cairo-glitz-surface.c | 49 ++++++++++++++++++++++-----------------------
21905 1 files changed, 24 insertions(+), 25 deletions(-)
21907 commit 82cbb6886cf621fd6b10be5e04ce11ff05127fc6
21908 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21909 Date: Wed Mar 14 00:46:34 2007 +0100
21911 Remove redundant _cairo_clip_fini function
21913 src/cairo-clip-private.h | 3 ---
21914 src/cairo-clip.c | 17 -----------------
21915 src/cairo-gstate.c | 4 ++--
21916 src/cairo-meta-surface.c | 2 +-
21917 4 files changed, 3 insertions(+), 23 deletions(-)
21919 commit 5ae309c4561418fb057a8049f047ffcb03f3b698
21920 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21921 Date: Wed Mar 14 00:40:44 2007 +0100
21923 Avoid pixman_region_create in _cairo_traps_extract_region
21925 src/cairo-traps.c | 18 +++++++++---------
21926 src/cairoint.h | 6 +++---
21927 2 files changed, 12 insertions(+), 12 deletions(-)
21929 commit 241482b5505427d221f4aaa970e7500a78fb2da1
21930 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
21931 Date: Wed Mar 14 00:28:49 2007 +0100
21933 Avoid malloc in _cairo_region_create_from_rectangle
21935 src/cairo-clip.c | 42 +++----
21936 src/cairo-region.c | 34 +++---
21937 src/cairo-surface-fallback.c | 250 ++++++++++++++++++++++--------------------
21938 src/cairo-surface.c | 52 +++++----
21939 src/cairoint.h | 5 +-
21940 5 files changed, 199 insertions(+), 184 deletions(-)
21942 commit efc9775149c4c87645c58235c7626cc4f72e69c3
21943 Author: Mathias Hasselmann <mathias@pergamaunz.(none)>
21944 Date: Tue Mar 13 23:58:14 2007 +0100
21946 Make sure clip->region is always initialized
21948 src/cairo-clip.c | 8 ++++++++
21949 1 files changed, 8 insertions(+), 0 deletions(-)
21951 commit 0e7df34e07d7816b29c1ac1f67608b87c5e0efc2
21952 Author: Mathias Hasselmann <mathias@pergamaunz.(none)>
21953 Date: Tue Mar 13 23:38:20 2007 +0100
21955 Make region of cairo_clip_t static
21957 src/cairo-clip-private.h | 3 +-
21958 src/cairo-clip.c | 87 ++++++++++++++++++++++++----------------------
21959 src/cairo-surface.c | 4 +-
21960 3 files changed, 49 insertions(+), 45 deletions(-)
21962 commit ced7b4a4ab4b5a8d639bfca0dd5db38f1ae4825d
21963 Author: Mathias Hasselmann <mathias@pergamaunz.(none)>
21964 Date: Tue Mar 13 22:34:23 2007 +0100
21966 Make pixman_region_{init,uninit} public
21968 pixman/src/pixman.h | 5 +++++
21969 pixman/src/pixregion.c | 18 ++++++------------
21970 2 files changed, 11 insertions(+), 12 deletions(-)
21972 commit 4d9065fcebbaf857d8d5fe49bcbb33f270c0bf26
21973 Author: Mathias Hasselmann <mathias@pergamaunz.(none)>
21974 Date: Tue Mar 13 21:51:46 2007 +0100
21976 Move struct pixman_region16 to pixman.h
21978 pixman/src/pixman.h | 7 ++++++-
21979 pixman/src/pixregionint.h | 7 +------
21980 2 files changed, 7 insertions(+), 7 deletions(-)
21982 commit dce3e5e6b556b817bf95182122adbf6f816b71e9
21983 Author: Behdad Esfahbod <behdad@behdad.org>
21984 Date: Fri Apr 6 17:20:49 2007 -0400
21986 [TODO] Add 4945 Cairo doesn't support 8-bit pseudocolor visuals
21989 1 files changed, 1 insertions(+), 0 deletions(-)
21991 commit 8bb0e5939c0694e88ea9ede4137d7306a067bd17
21992 Author: Chris Wilson <chris@chris-wilson.co.uk>
21993 Date: Wed Mar 28 20:27:29 2007 +0100
21995 _get_bitmap_surface - check for calloc failure
21997 src/cairo-ft-font.c | 2 ++
21998 1 files changed, 2 insertions(+), 0 deletions(-)
22000 commit b95577a931645b3013d5acaa5b1bd2d892c3932f
22001 Author: Chris Wilson <chris@chris-wilson.co.uk>
22002 Date: Wed Mar 28 17:58:31 2007 +0100
22004 Protect boilerplate_xlib_synchronize from alloc failure.
22006 Don't call XDestroyImage on a NULL image.
22008 boilerplate/cairo-boilerplate.c | 3 ++-
22009 1 files changed, 2 insertions(+), 1 deletions(-)
22011 commit 2a74fd5c7ff21f27013f709dc626be8087cb6a10
22012 Author: Chris Wilson <chris@chris-wilson.co.uk>
22013 Date: Wed Mar 28 15:50:12 2007 +0100
22015 Propagate one error return through pdf.
22017 src/cairo-pdf-surface.c | 5 ++++-
22018 1 files changed, 4 insertions(+), 1 deletions(-)
22020 commit a2a8f2ce7a0a9bcef7a4a29624725a77c2abe95a
22021 Author: Behdad Esfahbod <behdad@behdad.org>
22022 Date: Thu Apr 5 20:03:51 2007 -0400
22024 [ROADMAP] Move David Turner's cairo-ft rewrite to 1.6.
22027 1 files changed, 2 insertions(+), 2 deletions(-)
22029 commit 94460a9790ece7a436d6681ab41d7b2365f0775f
22030 Author: Carl Worth <cworth@cworth.org>
22031 Date: Thu Apr 5 16:35:03 2007 -0700
22033 ROADMAP/TODO: Update with 1.4.4 and 1.6 items from recent meeting
22035 ROADMAP | 164 ++++++++++++++++++++++++++-----------------
22036 TODO | 236 ++++++++++++++++++++++----------------------------------------
22037 2 files changed, 183 insertions(+), 217 deletions(-)
22039 commit d801aa59f84d95568e36d02a0ecf3544b9914187
22040 Author: Robert O'Callahan <roc@ocallahan.org>
22041 Date: Fri Apr 6 00:00:33 2007 +0100
22043 [quartz] fix floating point precision issue (#10531)
22045 This ensures that error due to double-to-float conversion
22046 does not accumulate; the position of any glyph will be off by
22047 at most one double-to-float conversion error.
22049 src/cairo-quartz-surface.c | 14 ++++++++------
22050 1 files changed, 8 insertions(+), 6 deletions(-)
22052 commit 106f8590457a7ebb5335d67f16277e8d5a6b04a8
22053 Author: Carl Worth <cworth@cworth.org>
22054 Date: Wed Apr 4 15:59:50 2007 -0700
22056 Move misplaced CLEANUP_FONT label to avoid crash.
22058 Previously, a failure in _cairo_win32_scaled_font_init_glyph_path leading
22059 to the CLEANUP_FONT label would set the path into the glyph, then destroy
22060 the path, and return an error status, (which in turn would cause a double
22061 free when the glyph was destroyed).
22063 The double-free apparently leads to a crash in some cases, as described
22066 SVG/Cairo related crash when opening specific webpage
22067 https://bugzilla.mozilla.org/show_bug.cgi?id=376498
22069 This should eliminate the double-free, but does not address the original
22070 error case, (attempting to get a path from a bitmap font?).
22072 src/cairo-win32-font.c | 4 +---
22073 1 files changed, 1 insertions(+), 3 deletions(-)
22075 commit 5c24711ee65cdb8ac0fdb7419e6466e2b7cb7d9e
22076 Author: Chris Wilson <chris@chris-wilson.co.uk>
22077 Date: Wed Apr 4 10:13:13 2007 +0100
22079 Restore gcov functionality
22081 Add -lgcov to the shared library else the test programs fail to link.
22082 Add a couple of lcov convenience targets to generate the coverage reports.
22084 Makefile.am | 13 ++++++++++++-
22085 boilerplate/Makefile.am | 2 +-
22086 configure.in | 14 ++++++++++++--
22087 pixman/src/Makefile.am | 5 ++++-
22088 src/Makefile.am | 2 +-
22089 test/Makefile.am | 5 +++--
22090 6 files changed, 33 insertions(+), 8 deletions(-)
22092 commit 59e5189818321c8a62ad107548facbcfce9e517a
22093 Author: Behdad Esfahbod <behdad@behdad.org>
22094 Date: Tue Apr 3 20:46:14 2007 -0400
22096 [Makefile.am] Distribute BIBLIOGRAPHY
22097 Also include all automatically distributed CAPITAL files in there,
22098 to remove any doubts.
22100 Makefile.am | 5 +++++
22101 1 files changed, 5 insertions(+), 0 deletions(-)
22103 commit a1287e483ce8efcf3f1eca97bdaaccac2393a1bf
22104 Author: Behdad Esfahbod <behdad@behdad.org>
22105 Date: Tue Apr 3 20:30:30 2007 -0400
22107 [pixman/src/check-config.sh] Test that all source files #include <config.h>
22108 as their first include.
22110 pixman/src/Makefile.am | 3 +++
22111 pixman/src/check-config.sh | 17 +++++++++++++++++
22112 src/check-cairoint.sh | 2 +-
22113 3 files changed, 21 insertions(+), 1 deletions(-)
22115 commit 8fbf50d31da9e13f1e55c7ee19586b7c394684ba
22116 Author: Behdad Esfahbod <behdad@behdad.org>
22117 Date: Tue Apr 3 20:25:30 2007 -0400
22119 [src] Make sure all source files #include "cairoint.h" as their first include
22121 This is necessary to avoid many portability problems as cairoint.h includes
22122 config.h. Without a test, we will regress again, hence add it.
22124 The inclusion idiom for cairo now is:
22126 #include "cairoint.h"
22128 #include "cairo-something.h"
22129 #include "cairo-anotherthing-private.h"
22131 #include <some-library.h>
22132 #include <other-library/other-file.h>
22134 Moreover, some standard headers files are included from cairoint.h and need
22135 not be included again.
22137 src/cairo-arc.c | 2 ++
22138 src/cairo-atsui-font.c | 5 ++---
22139 src/cairo-beos-surface.cpp | 7 ++++---
22140 src/cairo-directfb-surface.c | 10 +++-------
22141 src/cairo-freelist.c | 5 +++--
22142 src/cairo-ft-font.c | 4 +++-
22143 src/cairo-gstate.c | 2 --
22144 src/cairo-matrix.c | 1 -
22145 src/cairo-os2-surface.c | 11 ++++++-----
22146 src/cairo-output-stream.c | 7 ++++---
22147 src/cairo-path-fixed.c | 1 -
22148 src/cairo-path.c | 2 ++
22149 src/cairo-png.c | 3 ++-
22150 src/cairo-polygon.c | 1 -
22151 src/cairo-quartz-surface.c | 4 ++--
22152 src/cairo-region.c | 2 +-
22153 src/cairo-skiplist.c | 6 +-----
22154 src/cairo-surface-fallback.c | 2 ++
22155 src/cairo-surface.c | 3 +--
22156 src/cairo-truetype-subset.c | 2 +-
22157 src/cairo-unicode.c | 4 +---
22158 src/cairo-win32-font.c | 3 +--
22159 src/cairo-win32-surface.c | 10 +++++-----
22160 src/cairo-xlib-screen.c | 4 ++--
22161 src/cairoint.h | 1 +
22162 src/check-cairoint.sh | 2 +-
22163 src/test-fallback-surface.c | 4 ++--
22164 src/test-meta-surface.c | 4 ++--
22165 src/test-paginated-surface.c | 4 ++--
22166 29 files changed, 56 insertions(+), 60 deletions(-)
22168 commit ffc7d06da0f97390025a510b9532e4a64e9230f4
22169 Author: Behdad Esfahbod <behdad@behdad.org>
22170 Date: Tue Apr 3 20:22:44 2007 -0400
22172 [src/check-cairoint.h] Test to check that all source files #include "cairoint.h"
22174 as their first include.
22176 src/Makefile.am | 2 +-
22177 src/check-cairoint.sh | 17 +++++++++++++++++
22178 2 files changed, 18 insertions(+), 1 deletions(-)
22180 commit 3646839060de7ab51c805bf5614fc3d1ea8b7fc3
22181 Author: Brian Ewins <Brian.Ewins@gmail.com>
22182 Date: Wed Apr 4 01:16:30 2007 +0100
22184 [boilerplate] split quartz out to avoid symbol clash.
22186 Quartz and Xlib both define Picture and Cursor, and clashed in
22187 cairo-boilerplate.c. Splitting quartz out allows a single mac
22188 build with --enable-quartz --enable-atsui.
22190 boilerplate/Makefile.am | 1 +
22191 boilerplate/cairo-boilerplate-private.h | 45 +++++++++++++++++++++
22192 boilerplate/cairo-boilerplate.c | 44 ++-------------------
22193 boilerplate/cairo-quartz-boilerplate.c | 64 +++++++++++++++++++++++++++++++
22194 4 files changed, 115 insertions(+), 39 deletions(-)
22196 commit 174ebc43fe84854876d642e67fc3a442d280b59e
22197 Author: Behdad Esfahbod <behdad@behdad.org>
22198 Date: Tue Apr 3 20:01:32 2007 -0400
22200 [pixman] Make sure all source files include config.h
22201 as their first include.
22203 pixman/src/fbcompose.c | 2 ++
22204 pixman/src/fbpict.c | 1 +
22205 pixman/src/fbtrap.c | 4 ++++
22206 pixman/src/icblt.c | 4 ++++
22207 pixman/src/icbltone.c | 4 ++++
22208 pixman/src/iccolor.c | 4 ++++
22209 pixman/src/icformat.c | 4 ++++
22210 pixman/src/icpixels.c | 4 ++++
22211 pixman/src/icrect.c | 4 ++++
22212 pixman/src/icstipple.c | 4 ++++
22213 pixman/src/ictransform.c | 4 ++++
22214 pixman/src/ictrap.c | 4 ++++
22215 pixman/src/ictri.c | 4 ++++
22216 pixman/src/icutil.c | 4 ++++
22217 pixman/src/renderedge.c | 4 ++++
22218 15 files changed, 55 insertions(+), 0 deletions(-)
22220 commit 208c32b245d7f50e1e9d71695269128b28a675fc
22221 Author: Behdad Esfahbod <behdad@behdad.org>
22222 Date: Tue Apr 3 19:56:29 2007 -0400
22224 [cairoint.h] Remove inline definition for MS compilers
22226 Such things should go to config.h. For one thing, cairoint.h is not
22227 included in pixman.
22229 src/cairoint.h | 2 --
22230 1 files changed, 0 insertions(+), 2 deletions(-)
22232 commit 313a6f732112ca88fa4d590a604ce8219065655c
22233 Author: Behdad Esfahbod <behdad@behdad.org>
22234 Date: Tue Apr 3 19:53:28 2007 -0400
22236 [pixman] Cleanup inline mess (#10150)
22238 Simply use "inline" instead of "INLINE" or "__inline__" and let
22239 configure figure out what to use.
22241 pixman/src/fbcompose.c | 8 ++++----
22242 pixman/src/fbedge.c | 8 ++++++--
22243 pixman/src/fbmmx.c | 45 +++++++++++++++++++++++----------------------
22244 pixman/src/fbpict.h | 6 ------
22245 pixman/src/icimage.c | 8 ++++++--
22246 pixman/src/icint.h | 12 +-----------
22247 pixman/src/pixregion.c | 14 ++++++--------
22248 7 files changed, 46 insertions(+), 55 deletions(-)
22250 commit 88dc0c5f19475888c19db437661b290f3a8902f8
22251 Author: Behdad Esfahbod <behdad@behdad.org>
22252 Date: Tue Apr 3 19:26:18 2007 -0400
22254 Make sure all nil objects start with _cairo_
22256 Previously, the convention was that static ones started with cairo_, but
22257 renamed to start with _cairo_ when they were needed from other files and
22258 became cairo_private instead of static...
22260 This is error prune indeed, and two symbols were already violating. Now
22261 all nil objects start with _cairo_.
22263 src/cairo-base85-stream.c | 2 +-
22264 src/cairo-clip-private.h | 2 +-
22265 src/cairo-deflate-stream.c | 4 ++--
22266 src/cairo-font-options.c | 22 +++++++++++-----------
22267 src/cairo-output-stream-private.h | 2 +-
22268 src/cairo-output-stream.c | 20 ++++++++++----------
22269 src/cairo-pattern.c | 14 +++++++-------
22270 src/cairo-ps-surface.c | 4 ++--
22271 src/cairo.c | 8 ++++----
22272 src/cairoint.h | 2 +-
22273 10 files changed, 40 insertions(+), 40 deletions(-)
22275 commit 114be945db6c02aeb60cf1123b43680bd12cccdb
22276 Author: Behdad Esfahbod <behdad@behdad.org>
22277 Date: Tue Apr 3 16:47:39 2007 -0400
22281 test/Makefile.am | 6 ++++
22282 test/svg2pdf.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22283 2 files changed, 91 insertions(+), 0 deletions(-)
22285 commit b121468f14a6a05a823e06cf7c51caaa1e342556
22286 Author: Behdad Esfahbod <behdad@behdad.org>
22287 Date: Tue Apr 3 16:27:50 2007 -0400
22289 [configure.in] Bump version up to 1.4.3, oops!
22290 Supposed to be done after 1.4.2 was out, but apparently didn't happen.
22292 configure.in | 2 +-
22293 1 files changed, 1 insertions(+), 1 deletions(-)
22295 commit 9710c48df31c66d8931a75b6578c7c861d497baa
22296 Author: Behdad Esfahbod <behdad@behdad.org>
22297 Date: Tue Apr 3 16:26:48 2007 -0400
22299 [doc] Update Headers.mk
22301 doc/public/Headers.mk | 1 +
22302 1 files changed, 1 insertions(+), 0 deletions(-)
22304 commit 040c68cb2ca6c893d9ba11291c21b1cf84fec980
22305 Author: Behdad Esfahbod <behdad@behdad.org>
22306 Date: Tue Apr 3 16:23:35 2007 -0400
22308 [test] Make pdf2svg build (and distributed)
22310 test/Makefile.am | 9 ++++++++-
22311 1 files changed, 8 insertions(+), 1 deletions(-)
22313 commit 17f5706d1730662bce0cd49f60cb150773fac051
22314 Author: Behdad Esfahbod <behdad@behdad.org>
22315 Date: Tue Apr 3 16:04:04 2007 -0400
22317 [pdiff] Make stdint.h inclusion portable (#10441)
22318 by copying magic bits from cairo-wideint-private.h.
22320 test/pdiff/pdiff.c | 37 ++++++++++++++++++++++++++++++++++++-
22321 1 files changed, 36 insertions(+), 1 deletions(-)
22323 commit c2b1908f9b0d8c59abf79c3462471d1c3960b153
22324 Author: Benjamin Berg <benjamin@sipsolutions.net>
22325 Date: Tue Apr 3 15:46:51 2007 -0400
22327 Fix typo in cairo_arc_negative() docs (#10497)
22330 1 files changed, 1 insertions(+), 1 deletions(-)
22332 commit 814295f5fad43ec1d8b18fac045e3c0d27ec7c29
22333 Author: Behdad Esfahbod <behdad@behdad.org>
22334 Date: Tue Apr 3 15:37:40 2007 -0400
22336 [autogen.sh] Add --enable-test-surfaces to configure flags
22338 Also remove --enable-maintainer-mode since we removed AM_MAINTAINER_MODE
22339 from configure.in in b0d05f7421c457120b9d86a83c4935c67b217fab.
22341 autogen.sh | 7 ++++++-
22342 1 files changed, 6 insertions(+), 1 deletions(-)
22344 commit 38c9909e2948f089bbec89e2d43b0e6f930c1ab1
22345 Author: Chris Wilson <chris@chris-wilson.co.uk>
22346 Date: Tue Apr 3 15:34:30 2007 -0400
22348 [autogen.sh] Borrow version comparison from GNOME autogen.sh (#9566)
22350 Our previous version check code was thinking that 1.10 is older than 1.7
22352 autogen.sh | 186 +++++++++++++++++++++++++++++++-----------------------------
22353 1 files changed, 97 insertions(+), 89 deletions(-)
22355 commit 00cc44373705665824d53c8ebde5df397b834e41
22356 Author: Brian Ewins <Brian.Ewins@gmail.com>
22357 Date: Mon Mar 26 21:44:33 2007 +0100
22359 [test/degenerate-path] remove quartz reference image
22361 The reference image is no longer the correct size, so isn't
22362 providing a comparison at all. In the absence of a better
22363 replacement, removing it at least gives us diffs.
22365 test/Makefile.am | 1 -
22366 test/degenerate-path-quartz-rgb24-ref.png | Bin 188 -> 0 bytes
22367 2 files changed, 0 insertions(+), 1 deletions(-)
22369 commit 256f3e09a8a0d152a33df00604bf2245604b72bc
22370 Author: Chris Wilson <chris@chris-wilson.co.uk>
22371 Date: Mon Mar 26 10:33:32 2007 +0100
22373 Destroy the current pattern before replacing with cairo_set_source().
22375 Frequently cairo_set_source_rgb[a]() is used to replace the current
22376 solid-pattern source with a new one of a different colour. The current
22377 pattern is very likely to be unshared and unmodified and so it is likely
22378 just to be immediately freed [or rather simply moved to recently freed
22379 cache]. However as the last active pattern it is likely to cache-warm and
22380 suitable to satisfy the forthcoming allocation. So by setting the current
22381 pattern to 'none' we can move the pattern to the freed list before we
22382 create the new pattern and hopefully immediately reuse it.
22384 src/cairo-pattern.c | 10 ++++++++++
22385 src/cairo.c | 9 +++++++++
22386 src/cairoint.h | 1 +
22387 3 files changed, 20 insertions(+), 0 deletions(-)
22389 commit 38442d4948e0a93f06cd86e6841729bc3f25ed3b
22390 Author: Chris Wilson <chris@chris-wilson.co.uk>
22391 Date: Mon Mar 26 10:12:46 2007 +0100
22393 Back out the solid-pattern-cache from 9b53bc7c6585db7ae647bb992fb9817d7bd75b38.
22395 Unfortunately one cannot cache live patterns and return a fresh reference
22396 instead of creating new ones as patterns can be modified by the user and
22397 so cannot be transparently shared between different users. However,
22398 solid colour allocation is still a frequent operation, so we maintain a
22399 small cache of recently freed patterns to reduce the malloc pressure.
22401 src/cairo-pattern.c | 100 ++++++++++++++++++++++++--------------------------
22402 1 files changed, 48 insertions(+), 52 deletions(-)
22404 commit c8e37af4b06fffe1aa1a1c3d2cd6481cc2cf8938
22405 Author: Brian Ewins <Brian.Ewins@gmail.com>
22406 Date: Sun Mar 25 23:31:40 2007 +0100
22408 [quartz] fix order of fields in matrix conversion
22410 There was a typo flipping the xy and yx fields when a
22411 cairo matrix was converted to a quartz matrix.
22413 src/cairo-quartz-surface.c | 4 ++--
22414 1 files changed, 2 insertions(+), 2 deletions(-)
22416 commit d2cdd5eba801fc5f696d1095f237ae53c54b4e2a
22417 Author: Brian Ewins <Brian.Ewins@gmail.com>
22418 Date: Sat Mar 24 13:25:03 2007 +0000
22420 [atsui] fix scaling of glyph surfaces (#9568)
22422 Atsui glyph surface were clipped incorrectly when the text is scaled,
22423 visible in the text-pattern test.
22425 src/cairo-atsui-font.c | 10 ++++++++--
22426 1 files changed, 8 insertions(+), 2 deletions(-)
22428 commit 2efaf3a7a47a281ca02009d371cd7a06a8a4f282
22429 Merge: abac4d2... 25ddc08...
22430 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22431 Date: Sat Mar 24 00:29:04 2007 +0100
22433 Merge branch 'master' of git+ssh://hasselmm@git.freedesktop.org/git/cairo
22435 commit abac4d251dd02151dced296afa9d6e1b383868ee
22436 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22437 Date: Fri Mar 23 23:36:15 2007 +0100
22439 [cairo-perf] Use full 64 bit of the clock cycle counters to avoid overflows
22441 perf/cairo-perf-posix.c | 22 ++++++++++++++--------
22442 1 files changed, 14 insertions(+), 8 deletions(-)
22444 commit 25ddc0800490ca0222668e389412f92ccfdab91c
22445 Author: Adrian Johnson <ajohnson@redneon.com>
22446 Date: Fri Mar 23 23:19:30 2007 +1030
22448 PS: Remove unused variable
22450 src/cairo-ps-surface.c | 1 -
22451 1 files changed, 0 insertions(+), 1 deletions(-)
22453 commit e9a26966484171f94df41bd3abc83aae22682caa
22454 Author: Adrian Johnson <ajohnson@redneon.com>
22455 Date: Fri Mar 23 23:08:46 2007 +1030
22457 PDF: Use the TJ operator to show glyphs
22459 src/cairo-pdf-surface.c | 125 ++++++++++++++++++++++++++-----
22460 src/cairo-ps-surface.c | 11 ++-
22461 src/cairo-scaled-font-subsets-private.h | 25 ++++++-
22462 src/cairo-scaled-font-subsets.c | 83 ++++++++++++++++-----
22463 src/cairo-svg-surface.c | 7 +-
22464 5 files changed, 201 insertions(+), 50 deletions(-)
22466 commit 820341b4c503fbd5ca3b8f6c3e5ff6eca5562b98
22467 Author: Behdad Esfahbod <behdad@behdad.org>
22468 Date: Wed Mar 21 15:44:18 2007 -0400
22470 [test/nil-surface] Test that cairo_get_target() returns non-NULL
22472 test/nil-surface.c | 6 ++++++
22473 1 files changed, 6 insertions(+), 0 deletions(-)
22475 commit ef8515b4a6b468e589639e794a959cb37d592359
22476 Author: Behdad Esfahbod <behdad@behdad.org>
22477 Date: Wed Mar 21 15:29:18 2007 -0400
22479 cairo_push/pop_group(), bail out if cairo_t is in error status
22481 Fixes the new test added to test/nil-surface to not crash
22483 src/cairo.c | 9 ++++++---
22484 1 files changed, 6 insertions(+), 3 deletions(-)
22486 commit 52341f7e855c93fc8e58895c3a318c43c3d58474
22487 Author: Behdad Esfahbod <behdad@behdad.org>
22488 Date: Wed Mar 21 15:21:05 2007 -0400
22490 [test/nil-surface] Test cairo_create(NULL). Crashing in cairo_push_group!
22492 test/nil-surface.c | 19 +++++++++++++++++++
22493 1 files changed, 19 insertions(+), 0 deletions(-)
22495 commit 9cea8a4bb26f7de2ac56e318c72e7d048b8b6c0f
22496 Author: Behdad Esfahbod <behdad@behdad.org>
22497 Date: Wed Mar 21 15:03:02 2007 -0400
22499 [cairo.c] Don't access gstate members directly
22501 src/cairo-gstate.c | 18 ++++++++++++++++++
22502 src/cairo.c | 23 +++++++++++------------
22503 src/cairoint.h | 3 +++
22504 3 files changed, 32 insertions(+), 12 deletions(-)
22506 commit 39ae64ff0391c40077b63d214727ca0c25e03e37
22507 Author: Behdad Esfahbod <behdad@behdad.org>
22508 Date: Wed Mar 21 14:56:34 2007 -0400
22510 [cairo-path] Don't access gstate members directly
22512 src/cairo-path.c | 7 ++++---
22513 1 files changed, 4 insertions(+), 3 deletions(-)
22515 commit bd275c19782700f2cfc6905f348e4d4b3f15d311
22516 Author: Behdad Esfahbod <behdad@behdad.org>
22517 Date: Wed Mar 21 12:34:37 2007 -0400
22519 [cairo-pattern] Make sure cached solid patterns are not put in error status
22521 src/cairo-pattern.c | 19 +++++++++++++++----
22522 1 files changed, 15 insertions(+), 4 deletions(-)
22524 commit e76d3cfa4f06ba813528a018fa77ba4d210a44e3
22525 Author: Behdad Esfahbod <behdad@behdad.org>
22526 Date: Wed Mar 21 12:33:31 2007 -0400
22528 [cairo-gstate] Make sure gstate->next is initialized
22530 src/cairo-gstate.c | 4 ++--
22531 1 files changed, 2 insertions(+), 2 deletions(-)
22533 commit 1469ea22ba659ba7afa6892e9b6b2a3f26d0dddb
22534 Author: Behdad Esfahbod <behdad@behdad.org>
22535 Date: Wed Mar 21 11:22:33 2007 -0400
22537 [cairo-gstate] Move save/restore logic into gstate instead of cairo_t
22538 by adding _cairo_gstate_save/restore(). This is in preparation for
22539 adding copy-on-write behavior to gstate.
22541 src/cairo-gstate.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++-
22542 src/cairo.c | 32 +++++++++---------------------
22543 src/cairoint.h | 8 +++---
22544 3 files changed, 65 insertions(+), 28 deletions(-)
22546 commit 5f83a1b542a1932a59299a45f36dff22268dca14
22547 Author: Jeff Smith <whydoubt@yahoo.com>
22548 Date: Wed Mar 21 10:41:03 2007 -0400
22550 [cairo-output-stream] Remove use of strtol
22552 src/cairo-output-stream.c | 8 +++-----
22553 1 files changed, 3 insertions(+), 5 deletions(-)
22555 commit bba7169805cec96b442d15241b0fdf8c38d0cd0e
22556 Author: Behdad Esfahbod <behdad@behdad.org>
22557 Date: Tue Mar 20 22:55:02 2007 -0400
22559 Fix file permissions again
22561 Where do these a+x attributes coming from every once in a while?
22563 0 files changed, 0 insertions(+), 0 deletions(-)
22565 commit ad51ee5aa0d1fc03c4ebe7f0454949995420a710
22566 Author: Behdad Esfahbod <behdad@behdad.org>
22567 Date: Tue Mar 20 18:59:19 2007 -0400
22569 Define and use ARRAY_LEN
22571 src/cairo-arc.c | 2 +-
22572 src/cairo-atsui-font.c | 6 ++----
22573 src/cairo-bentley-ottmann.c | 2 +-
22574 src/cairo-cff-subset.c | 8 +++-----
22575 src/cairo-hash.c | 2 +-
22576 src/cairo-pattern.c | 2 +-
22577 src/cairo-polygon.c | 2 +-
22578 src/cairo-spline.c | 2 +-
22579 src/cairo-surface.c | 2 +-
22580 src/cairo-svg-surface.c | 2 +-
22581 src/cairo-traps.c | 2 +-
22582 src/cairo-truetype-subset.c | 8 +++-----
22583 src/cairoint.h | 3 +++
22584 13 files changed, 20 insertions(+), 23 deletions(-)
22586 commit 1de12714a9623e66309279eb9edaf6053fd92c56
22587 Author: Chris Wilson <chris at chris-wilson.co.uk>
22588 Date: Wed Mar 14 01:31:58 2007 +0000
22590 [cairo-surface] Use a stack buffer for small numbers of rectangles
22592 src/cairo-surface.c | 13 +++++++++----
22593 1 files changed, 9 insertions(+), 4 deletions(-)
22595 commit 9b53bc7c6585db7ae647bb992fb9817d7bd75b38
22596 Author: Chris Wilson <chris at chris-wilson.co.uk>
22597 Date: Tue Mar 13 22:51:12 2007 +0000
22599 Cache solid patterns
22601 We use a small cache of size 16 for patterns created from solid colors,
22602 e.g. cairo_set_source_rgb(). This helps with toolkits that draw many
22603 widgets using the same colour scheme.
22605 The cache uses a static index variable, which itself acts like a cache
22606 of size 1, remembering the most recently used colour. So repeated
22607 lookups for the same colour hit immediately. If that fails, the cache
22608 is searched linearly, and if that fails too, a new pattern is created
22609 and a random member of the cache is evicted.
22611 src/cairo-color.c | 7 +++
22612 src/cairo-debug.c | 2 +
22613 src/cairo-mutex-list.h | 2 +
22614 src/cairo-pattern.c | 63 +++++++++++++++++++++++++++-
22615 src/cairoint.h | 7 +++
22616 test/Makefile.am | 1 +
22617 test/solid-pattern-cache-stress.c | 83 +++++++++++++++++++++++++++++++++++++
22618 7 files changed, 163 insertions(+), 2 deletions(-)
22620 commit 39679b1b21b07b0fbc05ee21745f384a123ba8da
22621 Author: Behdad Esfahbod <behdad@behdad.org>
22622 Date: Tue Mar 20 18:01:41 2007 -0400
22624 [cairo-path-fixed] Fix "comparison between signed and unsigned" warnings
22626 src/cairo-path-fixed.c | 4 ++--
22627 1 files changed, 2 insertions(+), 2 deletions(-)
22629 commit c939421e16fcf098f8d6196e86705173be8e40fd
22630 Author: Behdad Esfahbod <behdad@behdad.org>
22631 Date: Tue Mar 20 08:54:01 2007 -0400
22633 Oops. Remove cairo-mutex-private.h include from test surfaces
22634 as that file is included from cairoint.h now.
22636 src/test-fallback-surface.c | 1 -
22637 src/test-meta-surface.c | 1 -
22638 src/test-paginated-surface.c | 1 -
22639 3 files changed, 0 insertions(+), 3 deletions(-)
22641 commit 0d3e886b182b55b147f2ba1a298c2f5ec8a53d87
22642 Author: Behdad Esfahbod <behdad@behdad.org>
22643 Date: Tue Mar 20 08:49:28 2007 -0400
22645 Include cairo-mutex-private.h in test backends
22647 src/test-fallback-surface.c | 1 +
22648 src/test-meta-surface.c | 2 ++
22649 src/test-paginated-surface.c | 1 +
22650 3 files changed, 4 insertions(+), 0 deletions(-)
22652 commit 0263f18f843175e478bd3a14e24445e31e7b0952
22653 Author: Behdad Esfahbod <behdad@behdad.org>
22654 Date: Tue Mar 20 08:47:45 2007 -0400
22656 [configure.in] Define PIXMAN_CFLAGS, to pass -fno-strict-aliasing to pixman
22658 configure.in | 10 +++++++---
22659 pixman/src/Makefile.am | 4 +---
22660 2 files changed, 8 insertions(+), 6 deletions(-)
22662 commit 94c367f7d7637fc74ed6d1fbe13d73662c08246b
22663 Merge: c4bd7cf... d3177a6...
22664 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22665 Date: Tue Mar 20 13:33:50 2007 +0100
22667 Merge branch 'master' of git+ssh://hasselmm@git.freedesktop.org/git/cairo
22669 commit c4bd7cf6f85770552c0b0284db219f27ffa702f2
22670 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22671 Date: Tue Mar 20 13:32:33 2007 +0100
22673 Move declaration of cairo_mutex_t to cairo-mutex-private.h
22675 src/cairo-font.c | 1 -
22676 src/cairo-ft-font.c | 1 -
22677 src/cairo-mutex-private.h | 53 ++++++++++++++++++++++++++++++++++-------
22678 src/cairo-mutex.c | 6 +++-
22679 src/cairo-paginated-surface.c | 1 -
22680 src/cairo-pattern.c | 1 -
22681 src/cairo-scaled-font.c | 1 -
22682 src/cairo-surface.c | 1 -
22683 src/cairo-xlib-screen.c | 1 -
22684 src/cairoint.h | 37 +---------------------------
22685 10 files changed, 49 insertions(+), 54 deletions(-)
22687 commit 9c52a9e7d8a70d21ecdd4fa241fa2594361dd5df
22688 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22689 Date: Tue Mar 20 13:05:48 2007 +0100
22691 Remove _global_image_glyph_cache_mutex which is not used anymore.
22693 src/cairo-mutex-list.h | 4 ----
22694 1 files changed, 0 insertions(+), 4 deletions(-)
22696 commit d3177a68752ac2c8d20b1a8a3616298f04f31078
22697 Author: Behdad Esfahbod <behdad@behdad.org>
22698 Date: Tue Mar 20 07:59:47 2007 -0400
22700 [cairo-mutex] Rename _xlib_screen_mutex to _cairo_xlib_screen_mutex
22702 src/cairo-mutex-list.h | 2 +-
22703 src/cairo-xlib-screen.c | 20 ++++++++++----------
22704 2 files changed, 11 insertions(+), 11 deletions(-)
22706 commit be52178443ffd19fc7848dfc78c477883ccb943b
22707 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22708 Date: Tue Mar 20 10:11:14 2007 +0100
22710 Initialize mutexes at central location.
22712 All mutex declarations have been moved to cairo-mutex-list.h.
22713 This should avoid breaking of less frequently tested backends,
22714 when mutexes are introduced or when existing mutexes are renamed.
22716 Instead of initializing mutexes on library startup, mutexes are
22717 lazily initialized within the few entry points of now by calling
22718 CAIRO_MUTEX_INITIALIZE(). Currently only the OS/2 backend takes
22719 care about releasing global mutexes. Therefore there is no counter
22720 part of that macro for finalizing all global mutexes yet - but
22721 as cairo-backend-os2.c shows such a function would be quite
22724 src/Makefile.am | 1 +
22725 src/cairo-font.c | 7 +-
22726 src/cairo-ft-font.c | 3 +-
22727 src/cairo-mutex-list.h | 52 +++++++++++++++++
22728 src/cairo-mutex-private.h | 123 +++++++++++++++++++++++++++++++++++++++++
22729 src/cairo-mutex.c | 51 +++++++++++++++++
22730 src/cairo-os2-surface.c | 45 +--------------
22731 src/cairo-paginated-surface.c | 1 +
22732 src/cairo-pattern.c | 3 +
22733 src/cairo-scaled-font.c | 3 +-
22734 src/cairo-surface.c | 5 +-
22735 src/cairo-win32-font.c | 10 ---
22736 src/cairo-win32-private.h | 3 -
22737 src/cairo-win32-surface.c | 65 ---------------------
22738 src/cairo-xlib-screen.c | 3 +-
22739 src/cairoint.h | 71 +++++-------------------
22740 16 files changed, 257 insertions(+), 189 deletions(-)
22742 commit aba2b299db163d8a5b9d0a0214cd8a485fb87162
22743 Author: Carl Worth <cworth@cworth.org>
22744 Date: Mon Mar 19 23:50:13 2007 -0700
22746 boilerplate: Add EXTRA_LTLIBRARIES to CLEANFILES to allow make distcleancheck to pass.
22748 boilerplate/Makefile.am | 4 +++-
22749 1 files changed, 3 insertions(+), 1 deletions(-)
22751 commit 2483542b74ac71851cc766de3468d0df833cdec2
22752 Author: Carl Worth <cworth@cworth.org>
22753 Date: Mon Mar 19 23:37:28 2007 -0700
22755 Add skew-extreme-ref.png to the tar file for the release.
22757 test/Makefile.am | 1 +
22758 1 files changed, 1 insertions(+), 0 deletions(-)
22760 commit b91ff39214675faea5d3627ecf86a24aeb8b178f
22761 Author: Carl Worth <cworth@cworth.org>
22762 Date: Mon Mar 19 23:24:26 2007 -0700
22764 Increment cairo version to 1.4.2 (and libtool versioning to 13:1:11)
22766 configure.in | 4 ++--
22767 1 files changed, 2 insertions(+), 2 deletions(-)
22769 commit 04b3de48f5269cae483b4af425402679a35e7d33
22770 Author: Carl Worth <cworth@cworth.org>
22771 Date: Mon Mar 19 23:22:39 2007 -0700
22773 NEWS: Add notes for cairo 1.4.2
22775 NEWS | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22776 1 files changed, 130 insertions(+), 0 deletions(-)
22778 commit 1401f20eb91f34d992612162db0c9e04bd666114
22779 Author: Carl Worth <cworth@cworth.org>
22780 Date: Mon Mar 19 22:39:40 2007 -0700
22782 Temporarily remove extend-reflect from the list of tests.
22784 This test is known to sometimes cause an X server to enter a near-
22785 infinite loop. That's a reall unkind thing to inflict upon our
22786 users who are being nice enough to test cairo. Let's disable
22787 this test for the 1.4.2 release.
22789 test/Makefile.am | 1 -
22790 1 files changed, 0 insertions(+), 1 deletions(-)
22792 commit 725a4de42dfaf0d9d98447c9fbefed99fbf99ac1
22793 Author: Carl Worth <cworth@cworth.org>
22794 Date: Mon Mar 19 16:50:55 2007 -0700
22796 Propagate a nil surface out of _cairo_surface_create_similar_scratch
22798 We detect an error in the surface before calling into private surface-modifying
22799 functions, (such as _cairo_surface_set_font_options), that don't have the
22800 nil-surface protection of public functions.
22802 This should fix the problem reported (again) in this bug report:
22804 cairo crashes in cairo_create_simular if nil surface returned by other->backend->create_similar
22805 https://bugs.freedesktop.org/show_bug.cgi?id=9844
22807 Though I haven't succeeded in replicating the bug yet, (perhaps a system
22808 difference in allowing writes to read-only memory or not, or something
22811 src/cairo-surface.c | 4 ++++
22812 1 files changed, 4 insertions(+), 0 deletions(-)
22814 commit eb472a9d9cbaea754907a261b459693b9c27ac79
22815 Author: Carl Worth <cworth@cworth.org>
22816 Date: Mon Mar 19 13:13:41 2007 -0700
22818 xlib: Prefer surface->format over surface->visual for identifying masks
22820 The original test for 'if (surface->visual)' dates back to a very old
22821 assumption that if the xlib surface was created with an XRenderFormat
22822 that the surface->visual field would be set to NULL. This assumption
22823 was broken years ago with the following commit:
22825 0c05b23b3165ec6908c28f56b3446cf43dff44a2
22827 This fixes the crash reported here:
22829 BadMatch when running gnome-terminal with the murrine-0.51 gtk engine
22830 https://bugs.freedesktop.org/show_bug.cgi?id=10250
22832 src/cairo-xlib-surface.c | 27 +++++++++++++++------------
22833 1 files changed, 15 insertions(+), 12 deletions(-)
22835 commit d27c42cc3fcd4376fc69aa68d997e6077c3eca90
22836 Author: Behdad Esfahbod <behdad@behdad.org>
22837 Date: Mon Mar 19 17:42:06 2007 -0400
22839 [boilerplate] Don't build in make all
22841 boilerplate/Makefile.am | 2 +-
22842 1 files changed, 1 insertions(+), 1 deletions(-)
22844 commit 12feb1f98627637bf83ba70f739bb5b2699085aa
22845 Author: Brian Ewins <Brian.Ewins@gmail.com>
22846 Date: Mon Mar 19 18:22:44 2007 +0000
22848 [quartz] apply ctm to text (#9568)
22850 Applies the ctm to text output on the quartz surface. This corrects
22851 the text-pattern test, and also corrects the size of text when the
22852 ctm includes a scale.
22854 src/cairo-quartz-surface.c | 9 ++++++++-
22855 1 files changed, 8 insertions(+), 1 deletions(-)
22857 commit 986b0ff83813b68a19490fe8629bfdaeed68cbe2
22858 Author: Brian Ewins <Brian.Ewins@gmail.com>
22859 Date: Mon Mar 19 18:21:27 2007 +0000
22861 [atsui] make text_to_glyphs return positions in user units. (#9568)
22863 text_to_glyphs was returning positions in device units; correct this
22866 src/cairo-atsui-font.c | 14 +++++++++++++-
22867 1 files changed, 13 insertions(+), 1 deletions(-)
22869 commit 06a44839270354c7f74aa66352fb4234095dee4e
22870 Author: Brian Ewins <Brian.Ewins@gmail.com>
22871 Date: Sun Mar 18 20:20:11 2007 +0000
22873 [atsui] store sizes in the atsui font
22875 The ATSUStyle that we store in the font contains references to
22876 the size and font matrix; we need to store them in the font so that
22877 they are not released before the style.
22879 src/cairo-atsui-font.c | 16 +++++++++-------
22880 1 files changed, 9 insertions(+), 7 deletions(-)
22882 commit 240479d10d3263719b0c8a4426fda088899551a2
22883 Author: Brian Ewins <Brian.Ewins@gmail.com>
22884 Date: Sun Mar 18 20:20:10 2007 +0000
22886 [atsui] refactor CreateSizedCopyOfStyle
22888 This is just to make it easier to use with passed-in matrices,
22889 which I'll make use of in a subsequent patch.
22891 src/cairo-atsui-font.c | 36 ++++++++++++++++++++----------------
22892 1 files changed, 20 insertions(+), 16 deletions(-)
22894 commit 43577e26b4c2285499ebfddba6cfa62cbbb15feb
22895 Author: Brian Ewins <Brian.Ewins@gmail.com>
22896 Date: Sun Mar 18 20:20:10 2007 +0000
22898 [atsui] remove the unused old_show_glyphs function.
22900 _cairo_atsui_old_show_glyphs was a relic of the old quartz
22901 surface and is no longer required.
22903 src/cairo-atsui-font.c | 180 ++++--------------------------------------------
22904 1 files changed, 15 insertions(+), 165 deletions(-)
22906 commit 5aaf584bf44d762af5e486f21a037eb0cc6e1197
22907 Author: Carl Worth <cworth@cworth.org>
22908 Date: Fri Mar 16 17:45:31 2007 -0700
22910 XCB: Fix parameter-order confusion with xcb_create_pixmap
22912 This fixes mask-based clipping with the XCB backend, (which also makes
22913 the xcb backend pass all tests that the xlib backend passes).
22915 src/cairo-xcb-surface.c | 7 +++----
22916 1 files changed, 3 insertions(+), 4 deletions(-)
22918 commit 6f96a5dd9954418b252ec45752dcf2c3b289fed4
22919 Author: Behdad Esfahbod <behdad@behdad.org>
22920 Date: Fri Mar 16 18:21:36 2007 -0400
22922 [win32] Really return unhinted font metrics if metrics hinting is off
22924 src/cairo-win32-font.c | 2 +-
22925 1 files changed, 1 insertions(+), 1 deletions(-)
22927 commit 47e71eef5f903fa1a96d82a79a75d89c52032913
22928 Author: Behdad Esfahbod <behdad@behdad.org>
22929 Date: Fri Mar 16 17:56:53 2007 -0400
22931 [win32] Fix font descent computation
22933 src/cairo-win32-font.c | 2 +-
22934 1 files changed, 1 insertions(+), 1 deletions(-)
22936 commit dd4601b0d03bba021b11dcf96e09584f40d1621f
22937 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
22938 Date: Fri Mar 16 20:43:29 2007 +0100
22940 [cairo-perf] Emit warning, if cairo-perf is not CPU bound
22942 cairo-perf and the X server should be bound to CPUs (either the same
22943 or separate) on SMP systems. Not doing so causes random results when
22944 the X server is moved to or from cairo-perf's CPU during the
22947 configure.in | 11 +++++++++++
22948 perf/cairo-perf.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
22949 2 files changed, 63 insertions(+), 0 deletions(-)
22951 commit d02aa5b23eb6243b21697de203db0a5f1b49def9
22952 Author: Gilles Dauphin <dauphin@enst.fr>
22953 Date: Fri Mar 16 10:35:23 2007 -0700
22955 Don't use unsupported visibily attribute hidden on Solaris
22957 Thanks to Thomas Klausner for passing the report along.
22958 This fixes the following bug report:
22960 hidden attribute does not work with Solaris ld
22961 https://bugs.freedesktop.org/show_bug.cgi?id=10227
22963 And as Behdad points out, an even better fix would be to
22964 move checks for supported visibility attribute to configure.
22966 pixman/src/pixman.h | 2 +-
22967 src/cairoint.h | 4 ++--
22968 2 files changed, 3 insertions(+), 3 deletions(-)
22970 commit 8236282c5d58320173b17659e488384e710d0ea7
22971 Author: Thomas Klausner <wiz@danbala.tuwien.ac.at>
22972 Date: Fri Mar 16 10:04:56 2007 -0700
22974 Use "find !" rather than "find -not" for better portability
22976 The man page for GNU find says:
22978 Same as ! expr, but not POSIX compliant.
22980 And actually, on e.g. NetBSD, "-not" is not supported.
22982 This resolved the following bug:
22984 https://bugs.freedesktop.org/show_bug.cgi?id=10226
22987 src/check-headers.sh | 2 +-
22988 2 files changed, 2 insertions(+), 2 deletions(-)
22990 commit 332c38b6c34bde4829607e534f39522f8001acf7
22991 Author: Carl Worth <cworth@cworth.org>
22992 Date: Thu Mar 15 23:25:06 2007 -0700
22994 Avoid pulling in -lz for the ps backend.
22996 Quite some time ago we switched from using deflate-based compression to LZW
22997 for the ps backend, (which allows it to target PostScript Level 2 instead of
22998 PostScript Level 3). Now, we finally drop the fact that the ps backend was
22999 still requiring zlib in order to build.
23001 configure.in | 6 +-----
23002 1 files changed, 1 insertions(+), 5 deletions(-)
23004 commit 2242550b489472d4d9b6505fd3db89541e101425
23005 Author: Carl Worth <cworth@cworth.org>
23006 Date: Thu Mar 15 23:17:19 2007 -0700
23008 Make compilation of cairo-deflate-stream.c conditional on compilation of PDF backend.
23010 Otherwise we risk pulling in an otherwise-unneeded dependency on zlib.
23012 This fixes the bug reported here:
23014 Without PDF surface backend we don't need cairo-deflate-stream
23015 https://bugs.freedesktop.org/show_bug.cgi?id=10202
23017 src/Makefile.am | 3 +--
23018 1 files changed, 1 insertions(+), 2 deletions(-)
23020 commit 1234064fa4aa20d0875473709d2fa74600af485b
23021 Author: Carl Worth <cworth@cworth.org>
23022 Date: Thu Mar 15 22:38:42 2007 -0700
23024 Allow NULL pointers for functions that accept pointers for multiple return values.
23026 When a single function accepts pointers for multiple return values,
23027 the convention is that it's legal for the user to pass NULL for
23028 those pointers in case the user is only interested in some subset
23031 This was already properly implemented for functions such as
23032 cairo_pattern_get_rgba, etc.
23034 Here we fix four functions to follow the same convention:
23036 cairo_stroke_extents
23039 cairo_surface_get_device_offset
23041 src/cairo-gstate.c | 44 +++++++++++++++++++++++++++++++++-----------
23042 src/cairo-surface.c | 6 ++++--
23043 2 files changed, 37 insertions(+), 13 deletions(-)
23045 commit 133183d858aa632da3cec2a789dcc1e1203d778b
23046 Author: Carl Worth <cworth@cworth.org>
23047 Date: Thu Mar 15 22:08:55 2007 -0700
23049 Fix cairo_stroke_extents and cairo_in_stroke to not crash with line width of 0.0
23051 This fixes the line-width-zero test case and the bug reported here:
23053 Crash in cairo_stroke_extents whe line width is 0 and line cap is ROUND
23054 (_cairo_pen_find_active_cw_vertex_index)
23055 https://bugs.freedesktop.org/show_bug.cgi?id=10231
23057 src/cairo-gstate.c | 10 ++++++++++
23058 1 files changed, 10 insertions(+), 0 deletions(-)
23060 commit 23caa0f43ba199371ab178cf3e827e449ee5935f
23061 Author: Carl Worth <cworth@cworth.org>
23062 Date: Thu Mar 15 21:58:20 2007 -0700
23064 Add line-width-zero test which currently crashes.
23066 The crash is described in this bug report:
23068 Crash in cairo_stroke_extents whe line width is 0 and line cap is ROUND
23069 (_cairo_pen_find_active_cw_vertex_index)
23070 https://bugs.freedesktop.org/show_bug.cgi?id=10231
23072 test/.gitignore | 1 +
23073 test/Makefile.am | 1 +
23074 test/line-width-zero.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++
23075 3 files changed, 81 insertions(+), 0 deletions(-)
23077 commit 562bd551bc5ca3f3858a66b9884a8525531153c8
23078 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
23079 Date: Thu Mar 15 12:47:41 2007 +0100
23081 [cairo-perf-diff] Update usage screen to mention --html.
23083 perf/cairo-perf-diff | 73 ++++++++++++++++++++++++++++---------------------
23084 1 files changed, 42 insertions(+), 31 deletions(-)
23086 commit 6ff2439b33a9da9a517325bfd472e8cb1fdd4992
23087 Author: Carl Worth <cworth@cworth.org>
23088 Date: Wed Mar 14 16:33:01 2007 -0700
23090 Implement _cairo_traps_tessellate_triangle with _cairo_traps_tessellate_convex_quad
23092 The newly rewritten convex_quad code is actually simpler than the
23093 triangle code being replaced here. This also allows us to throw
23094 away the problematic _compute_x function which can't handle
23095 horizontal lines, (divide by zero). So the cairo world becomes a
23098 src/cairo-traps.c | 89 +++++-----------------------------------------------
23099 1 files changed, 9 insertions(+), 80 deletions(-)
23101 commit 53ae6ea957bac141c033f41276d93bab3a25009f
23102 Author: Carl Worth <cworth@cworth.org>
23103 Date: Wed Mar 14 16:30:48 2007 -0700
23105 Fix _cairo_traps_tessellate_convex_quad to handle a == b
23107 This case was found in an attempt to use the convex_quad function
23108 for tessellating triangles as well. Fortunately the fix is very
23111 src/cairo-traps.c | 14 +++++++++++++-
23112 1 files changed, 13 insertions(+), 1 deletions(-)
23114 commit 96d8f58daf279238d3a1dfcd4ed3710014e2aeea
23115 Author: Chris Wilson <chris@chris-wilson.co.uk>
23116 Date: Tue Mar 13 20:17:22 2007 +0000
23118 Clear the XRender data on display closure.
23120 Use the new hook functions to register a callback for xlib to clear
23121 the private glyph data when the display is closed. In order to do this
23122 we need to reset the glyph cache inside the generic scaled font as well.
23124 src/cairo-xlib-surface.c | 25 +++++++++++++++++++++++++
23125 1 files changed, 25 insertions(+), 0 deletions(-)
23127 commit 52405533b1b191ff98ef3cbc20eaf55e97c8049c
23128 Author: Chris Wilson <chris@chris-wilson.co.uk>
23129 Date: Tue Mar 13 20:42:09 2007 +0000
23131 Privately export a function to reset the scaled font's glyph caches.
23133 src/cairo-scaled-font.c | 9 +++++++++
23134 src/cairoint.h | 3 +++
23135 2 files changed, 12 insertions(+), 0 deletions(-)
23137 commit ad7698feb5f818ba2657b01bbc04f7fb537c1297
23138 Author: Chris Wilson <chris@chris-wilson.co.uk>
23139 Date: Tue Mar 13 20:11:49 2007 +0000
23141 Introduce hooks for _cairo_xlib_close_display()
23143 This patch adds a simple hook data type for a notifier style callback
23144 and introduces two functions to manipulate a list of callbacks for
23145 cleaning up on display closure.
23147 src/cairo-xlib-private.h | 15 +++++
23148 src/cairo-xlib-screen.c | 153 ++++++++++++++++++++++++++++++++++++----------
23149 2 files changed, 136 insertions(+), 32 deletions(-)
23151 commit 3d3173d176bc959682a35674c31d3155e8642c41
23152 Author: Carl Worth <cworth@cworth.org>
23153 Date: Wed Mar 14 16:56:45 2007 -0700
23155 Add svg-specific reference image for radial-gradient test.
23157 This isn't strictly needed, (pdiff allows the test to pass without the
23158 image), but it sure runs faster this way.
23160 test/radial-gradient-svg-ref.png | Bin 0 -> 91039 bytes
23161 1 files changed, 0 insertions(+), 0 deletions(-)
23163 commit 75201c12be74055d6209d48d1d698797665a70b4
23164 Author: Carl Worth <cworth@cworth.org>
23165 Date: Wed Mar 14 15:48:15 2007 -0700
23167 check-def.sh: Adjust test to exempt _cairo_test_* functions as well as _cairo_*_test_*
23169 This test started failing with the recent renaming of the following
23170 three functions, (before they had no cairo in their names so they
23171 were not getting picked up at all):
23173 _cairo_test_fallback_surface_create
23174 _cairo_test_meta_surface_create
23175 _cairo_test_paginated_surface_create_for_data
23177 With this change, the failure now goes away again.
23179 src/check-def.sh | 2 +-
23180 1 files changed, 1 insertions(+), 1 deletions(-)
23182 commit 5d23d0c90c31b233d5916c12eaf2a1dafc441243
23183 Author: Carl Worth <cworth@cworth.org>
23184 Date: Wed Mar 14 15:23:01 2007 -0700
23186 Remove dead-code remnants of old tessellator
23188 src/cairo-traps.c | 372 -----------------------------------------------------
23189 1 files changed, 0 insertions(+), 372 deletions(-)
23191 commit 1f3a5b4e1283cc0e55f7ea6baca6d0fe67fd14b1
23192 Author: Carl Worth <cworth@cworth.org>
23193 Date: Tue Mar 13 17:42:39 2007 -0700
23195 Fix bugs in _cairo_traps_tessellate_convex_quad
23197 The previous code was not handling all cases correctly, (yes,
23198 even something as simple as a quadrilateral can exhibit a
23199 remarkably large number of different cases when tessellation
23202 This fix now introduces slope comparison which handles several
23203 cases that were mis-handled with the previous implementation which
23204 only used independent sorting of the X and Y values of the
23207 This fixes the skew-extreme test case and the bug reported here:
23209 Skew transforms were broken by the cairo update in December
23210 https://bugzilla.mozilla.org/show_bug.cgi?id=373632
23212 src/cairo-traps.c | 101 +++++++++++++++++++++++++++++++----------------------
23213 1 files changed, 59 insertions(+), 42 deletions(-)
23215 commit 0a6ae06c35d99e5e8397c58ee94291e7ee45eb4e
23216 Author: Carl Worth <cworth@cworth.org>
23217 Date: Tue Mar 13 17:39:48 2007 -0700
23219 Add new skew-extreme test case.
23221 This test currently fails, demonstrating the bug reported here:
23223 Skew transforms were broken by the cairo update in December
23224 https://bugzilla.mozilla.org/show_bug.cgi?id=373632
23226 test/.gitignore | 1 +
23227 test/Makefile.am | 1 +
23228 test/skew-extreme-ref.png | Bin 0 -> 1012 bytes
23229 test/skew-extreme.c | 126 +++++++++++++++++++++++++++++++++++++++++++++
23230 4 files changed, 128 insertions(+), 0 deletions(-)
23232 commit 40b6d8842e1bcb5fbb3a7dffd0c05b7d3bf6cc6b
23233 Author: Carl Worth <cworth@cworth.org>
23234 Date: Tue Mar 13 13:07:42 2007 -0700
23236 Remove radial-gradient test from XFAIL list
23238 This test has not been failing since the fix in:
23240 772edc9133d41dfd667ae5915dfa6ace0bcbfd0d
23242 So get rid of the '1 unexpected passes' complaint.
23244 test/Makefile.am | 1 -
23245 test/radial-gradient.c | 3 +--
23246 2 files changed, 1 insertions(+), 3 deletions(-)
23248 commit e803e2e69ba02a1db316c97eb9a8d386709380e2
23249 Author: Behdad Esfahbod <behdad@behdad.org>
23250 Date: Wed Mar 14 17:23:57 2007 -0400
23252 [cairo-pattern] Add a cache of two color stops to cairo_gradient_pattern_t
23254 Most of gradients have only two color stops. This avoids
23255 calling malloc() for those cases.
23257 src/cairo-pattern.c | 25 +++++++++++++++++++++----
23258 src/cairoint.h | 1 +
23259 2 files changed, 22 insertions(+), 4 deletions(-)
23261 commit 4514fdca1ba0f3922c2797744f4b0d42d37f8b42
23262 Author: Behdad Esfahbod <behdad@behdad.org>
23263 Date: Tue Mar 13 20:49:52 2007 -0400
23265 [cairo-pattern] Grow color-stops array exponentially
23267 src/cairo-pattern.c | 61 ++++++++++++++++++++++++++++++++++++---------------
23268 src/cairoint.h | 3 +-
23269 2 files changed, 45 insertions(+), 19 deletions(-)
23271 commit e878f2259b2512f0411d698bf078fe91b7373246
23272 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
23273 Date: Wed Mar 14 11:42:41 2007 +0100
23275 Include pixman/src in cairo-perf hash
23277 perf/cairo-perf-diff | 3 ++-
23278 1 files changed, 2 insertions(+), 1 deletions(-)
23280 commit 1a3f5df5ff4a80bb199e296491e3a5c9887fd4f7
23281 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
23282 Date: Wed Mar 14 21:42:50 2007 +0100
23284 Add index.html to .gitignore
23286 perf/.gitignore | 1 +
23287 1 files changed, 1 insertions(+), 0 deletions(-)
23289 commit c40be43aef735deba7605fde14300b7810701011
23290 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
23291 Date: Wed Mar 14 21:41:40 2007 +0100
23293 Transform the output of cairo-perf-diff into HTML
23295 perf/Makefile.am | 8 ++++-
23296 perf/cairo-perf-diff | 20 ++++++++---
23297 perf/make-html.py | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++
23298 3 files changed, 111 insertions(+), 6 deletions(-)
23300 commit f1dd48475a34a038ebdb6426b04fc3728a0f0782
23301 Author: Mathias Hasselmann <mathias.hasselmann@gmx.de>
23302 Date: Wed Mar 14 21:18:09 2007 +0100
23304 Improve CPU utilization when building cairo-perf
23306 perf/cairo-perf-diff | 11 +++++++++++
23307 1 files changed, 11 insertions(+), 0 deletions(-)
23309 commit a7595c1295ba1a58b452b1df31d02776e5c17c0f
23310 Author: Behdad Esfahbod <behdad@behdad.org>
23311 Date: Tue Mar 13 17:21:19 2007 -0400
23313 [Makefile.am] Do not distribute cairo-features.h, Ouch!
23315 We were accidentally doing that by not marking it noinst.
23316 Moreover, no need to mark it as BUILD_SOURCES, since it's
23317 created by configure, not make.
23319 src/Makefile.am | 6 +++---
23320 1 files changed, 3 insertions(+), 3 deletions(-)
23322 commit f3c8d82d6d6a759364c4228d9b0badf846debcea
23323 Author: Behdad Esfahbod <behdad@behdad.org>
23324 Date: Tue Mar 13 16:51:34 2007 -0400
23326 [test] If backends are limited and all untested, pass the test
23327 This is necessary to ensure that limiting backends using
23328 CAIRO_TEST_TARGET does not increase the number of tests failing,
23329 which is a desirable invariant.
23331 test/cairo-test.c | 44 +++++++++++++++++++++++++++++---------------
23332 1 files changed, 29 insertions(+), 15 deletions(-)
23334 commit 30b5f1baa8cbd01ac0a3ff376e294775b600b4e4
23335 Author: Behdad Esfahbod <behdad@behdad.org>
23336 Date: Tue Mar 13 16:50:10 2007 -0400
23338 [test] In pattern-getters test, log what went wrong
23340 test/pattern-getters.c | 14 +++++++++++---
23341 1 files changed, 11 insertions(+), 3 deletions(-)
23343 commit 9267cb042418250614db83bd3b2dcb0e7615af79
23344 Author: Behdad Esfahbod <behdad@behdad.org>
23345 Date: Tue Mar 13 16:49:42 2007 -0400
23347 [cairo-pattern] Use _cairo_color_double_to_short() to fix color conversion
23349 src/cairo-pattern.c | 8 ++++----
23350 1 files changed, 4 insertions(+), 4 deletions(-)
23352 commit 60502ba3481ea751df6f379e1c38850172826695
23353 Author: Behdad Esfahbod <behdad@behdad.org>
23354 Date: Tue Mar 13 16:13:35 2007 -0400
23356 [cairo-color] Add cairo-private _cairo_color_double_to_short()
23358 src/cairo-color.c | 11 ++++++-----
23359 src/cairoint.h | 3 +++
23360 2 files changed, 9 insertions(+), 5 deletions(-)
23362 commit 956fdfbb62ac82da1e6fbd467c50e449ec621937
23363 Author: Behdad Esfahbod <behdad@behdad.org>
23364 Date: Tue Mar 13 06:30:11 2007 -0400
23366 [cairo-pattern] Fix color conversion from short to double
23367 We should divide by 65535.0, not 65536.0.
23369 src/cairo-pattern.c | 8 ++++----
23370 1 files changed, 4 insertions(+), 4 deletions(-)
23372 commit 20304908626f0af40aeda145b2967a40151728c5
23373 Author: Behdad Esfahbod <behdad@behdad.org>
23374 Date: Tue Mar 13 06:20:21 2007 -0400
23376 [cairo-pattern] Add XXX note
23378 src/cairo-pattern.c | 1 +
23379 1 files changed, 1 insertions(+), 0 deletions(-)
23381 commit deed0f473400bc2e91dde8bad2537d499a5941ea
23382 Author: Behdad Esfahbod <behdad@behdad.org>
23383 Date: Tue Mar 13 06:09:09 2007 -0400
23385 [polygon,spline,traps] Avoid free(NULL)
23387 src/cairo-polygon.c | 2 +-
23388 src/cairo-spline.c | 2 +-
23389 src/cairo-traps.c | 2 +-
23390 3 files changed, 3 insertions(+), 3 deletions(-)
23392 commit b706bd9b38d505d2b09e932a8f362fac76ef64de
23393 Author: Behdad Esfahbod <behdad@behdad.org>
23394 Date: Tue Mar 13 06:07:03 2007 -0400
23396 [cairo-polygon] Add a cache of eight edges to cairo_polygon_t
23398 Many, if not most, of polygons have very few edges. This avoids
23399 calling malloc() for those cases.
23401 src/cairo-polygon.c | 30 +++++++++++++++++++++++-------
23402 src/cairoint.h | 1 +
23403 2 files changed, 24 insertions(+), 7 deletions(-)
23405 commit d8165d5424718404946c3a72d59396fc604d1bce
23406 Author: Behdad Esfahbod <behdad@behdad.org>
23407 Date: Tue Mar 13 05:59:33 2007 -0400
23409 [cairo-spline] Fix typo in comment
23411 src/cairo-spline.c | 2 +-
23412 1 files changed, 1 insertions(+), 1 deletions(-)
23414 commit cca7e3fec3a3ec68f812690aa7efafa7dc237849
23415 Author: Behdad Esfahbod <behdad@behdad.org>
23416 Date: Tue Mar 13 05:56:38 2007 -0400
23418 [cairo_polygon_t] Change has_current_point from int to cairo_bool_t
23420 src/cairo-polygon.c | 8 ++++----
23421 src/cairoint.h | 2 +-
23422 2 files changed, 5 insertions(+), 5 deletions(-)
23424 commit 81e15a454b188aa8dd03eb599d0fb4af834695f1
23425 Author: Behdad Esfahbod <behdad@behdad.org>
23426 Date: Tue Mar 13 05:55:45 2007 -0400
23428 [cairo_polygon_t] Remove unused member 'closed'
23430 src/cairoint.h | 2 --
23431 1 files changed, 0 insertions(+), 2 deletions(-)
23433 commit 2bf4ce389d05e07698e03374c3d05436f5d2b2e4
23434 Author: Behdad Esfahbod <behdad@behdad.org>
23435 Date: Tue Mar 13 05:53:13 2007 -0400
23437 [cairo_polygon_t] Reorder struct members for clarity
23439 src/cairoint.h | 8 ++++----
23440 1 files changed, 4 insertions(+), 4 deletions(-)
23442 commit 3ce84390de8be69f369a4da80c3039b716ebb0e4
23443 Author: Behdad Esfahbod <behdad@behdad.org>
23444 Date: Tue Mar 13 05:51:39 2007 -0400
23446 [cairo-polygon] Clean-up realloc algorithm for clarity
23448 src/cairo-polygon.c | 18 +++++++-----------
23449 1 files changed, 7 insertions(+), 11 deletions(-)
23451 commit 6976ab1392e0fd07a081e6d6056510070e1d6df9
23452 Author: Behdad Esfahbod <behdad@behdad.org>
23453 Date: Fri Mar 9 16:23:35 2007 -0500
23455 [cairo-slope] Make comparison stable if both vectors are zero
23457 src/cairo-slope.c | 8 +++++++-
23458 1 files changed, 7 insertions(+), 1 deletions(-)
23460 commit 9eee167210b6cc562014652572872cf0a7ccb00e
23461 Author: Behdad Esfahbod <behdad@behdad.org>
23462 Date: Thu Mar 8 22:34:44 2007 -0500
23464 [cairo-spline] Add a cache of eight points to cairo_spline_t
23466 Most of the splines need not more than eight points. This avoids
23467 calling malloc() for those cases, and eight-points take only 64 bytes.
23469 src/cairo-spline.c | 28 +++++++++++++++++++++++-----
23470 src/cairoint.h | 1 +
23471 2 files changed, 24 insertions(+), 5 deletions(-)
23473 commit 1e64ecf0758a208b469ae0a87a747b3a70c70ceb
23474 Author: Behdad Esfahbod <behdad@behdad.org>
23475 Date: Thu Mar 8 22:17:30 2007 -0500
23477 [cairo-spline] Clean-up realloc algorithm for clarity
23479 src/cairo-spline.c | 17 +++++++----------
23480 1 files changed, 7 insertions(+), 10 deletions(-)
23482 commit cee687a33fb46b68d39bbfa64c44f0b28e10a9ee
23483 Author: Behdad Esfahbod <behdad@behdad.org>
23484 Date: Thu Mar 8 22:19:49 2007 -0500
23486 [cairo_traps_t] Reorder struct members for clarity
23488 src/cairoint.h | 6 +++---
23489 1 files changed, 3 insertions(+), 3 deletions(-)
23491 commit 24aec99ffb9abce659146ea6ecbfb92856355855
23492 Author: Behdad Esfahbod <behdad@behdad.org>
23493 Date: Thu Mar 8 20:32:36 2007 -0500
23495 [cairo-traps] Add a cache of one trapezoid to cairo_traps_t
23497 Seems like half the time, we just need one trap. This avoids
23498 calling malloc() for those cases.
23500 src/cairo-traps.c | 30 +++++++++++++++++++++++-------
23501 src/cairoint.h | 2 ++
23502 2 files changed, 25 insertions(+), 7 deletions(-)
23504 commit 4737416c6e7829ec21230103a1b993d2bd08cc0e
23505 Author: Behdad Esfahbod <behdad@behdad.org>
23506 Date: Thu Mar 8 20:05:13 2007 -0500
23508 [cairo-traps] Clean-up realloc algorithm for clarity
23510 src/cairo-traps.c | 21 +++++++++------------
23511 1 files changed, 9 insertions(+), 12 deletions(-)
23513 commit a9d8cb3e8aceb5831dfb3920df1502bf3b9450a6
23514 Author: Behdad Esfahbod <behdad@behdad.org>
23515 Date: Thu Mar 8 19:34:43 2007 -0500
23517 [cairo-traps] Use INT32_MIN/MAX instead of INT16_MIN/MAX << 16
23519 src/cairo-traps.c | 4 ++--
23520 1 files changed, 2 insertions(+), 2 deletions(-)
23522 commit 5d28bf605fee84520e82818dd35cae8899ecc2ba
23523 Author: Behdad Esfahbod <behdad@behdad.org>
23524 Date: Thu Mar 8 19:22:57 2007 -0500
23526 [test] Make pdiff if necessary
23528 test/Makefile.am | 3 +++
23529 1 files changed, 3 insertions(+), 0 deletions(-)
23531 commit e765ac745e0438296d2c852fd8231bd8f1fff034
23532 Author: Behdad Esfahbod <behdad@behdad.org>
23533 Date: Thu Mar 8 18:13:55 2007 -0500
23535 [skiplist] Prefix symbols with _cairo
23537 src/cairo-bentley-ottmann.c | 24 ++++++++++++------------
23538 src/cairo-skiplist-private.h | 22 +++++++++++-----------
23539 src/cairo-skiplist.c | 20 ++++++++++----------
23540 3 files changed, 33 insertions(+), 33 deletions(-)
23542 commit cd78da36f663b99c67d50dcd692cd7b67677c82a
23543 Author: Behdad Esfahbod <behdad@behdad.org>
23544 Date: Thu Mar 8 18:08:37 2007 -0500
23546 [test-surfaces] Prefix public symbols with _cairo
23548 boilerplate/cairo-boilerplate.c | 6 +++---
23549 src/test-fallback-surface.c | 8 ++++----
23550 src/test-fallback-surface.h | 2 +-
23551 src/test-meta-surface.c | 2 +-
23552 src/test-meta-surface.h | 2 +-
23553 src/test-paginated-surface.c | 2 +-
23554 src/test-paginated-surface.h | 2 +-
23555 7 files changed, 12 insertions(+), 12 deletions(-)
23557 commit 8997b3a023b0edb8877675ce520fbb883d6fa188
23558 Author: Behdad Esfahbod <behdad@behdad.org>
23559 Date: Thu Mar 8 17:54:00 2007 -0500
23561 [skiplist] Move static variable out of function
23563 Part of my secrect plan to make cairo compilable with:
23567 Useful for some weird debugging purposes.
23569 src/cairo-skiplist.c | 15 ++++++++-------
23570 1 files changed, 8 insertions(+), 7 deletions(-)
23572 commit d40126f5aba481e4f4d9582cb5c37478f8ef37e7
23573 Author: Behdad Esfahbod <behdad@behdad.org>
23574 Date: Thu Mar 8 17:47:33 2007 -0500
23576 [cairo_t] Embed a gstate into cairo_t
23578 So we don't have to malloc the first gstate.
23580 src/cairo-gstate.c | 44 ++------------------------------------------
23581 src/cairo-private.h | 1 +
23582 src/cairo.c | 32 ++++++++++++++------------------
23583 src/cairoint.h | 10 +++++++---
23584 4 files changed, 24 insertions(+), 63 deletions(-)
23586 commit 01f9ee39feb6ca48b9e07fdec62d8ab1b94ab75d
23587 Author: Behdad Esfahbod <behdad@behdad.org>
23588 Date: Thu Mar 8 17:42:23 2007 -0500
23590 [cairo-clip] Make _cairo_clip_init tolerate NULL target
23592 (needed for upcoming patches.)
23594 src/cairo-clip.c | 5 ++++-
23595 1 files changed, 4 insertions(+), 1 deletions(-)
23597 commit bc8987068d1849cf7c16c38132fcc3c8d3b4e12e
23598 Author: Behdad Esfahbod <behdad@behdad.org>
23599 Date: Thu Mar 8 17:15:35 2007 -0500
23601 [cairo_t] Make path an array of size one
23603 This is more natural since cr->path can be used as if it was a pointer.
23604 This means, for example, if we move on to making it a pointer, most of
23605 the code using it does not need any change. So we get some level of
23606 encapsulation of implementation details, if you prefer the terminology :).
23608 src/cairo-private.h | 2 +-
23609 src/cairo.c | 52 +++++++++++++++++++++++++-------------------------
23610 2 files changed, 27 insertions(+), 27 deletions(-)
23612 commit 74e6a24e98baf70284b65d5f4ed41bdf7449d72d
23613 Author: Behdad Esfahbod <behdad@behdad.org>
23614 Date: Thu Mar 8 17:04:43 2007 -0500
23616 [Quartz] Don't include cairo-private.h
23618 src/cairo-quartz-surface.c | 1 -
23619 1 files changed, 0 insertions(+), 1 deletions(-)
23621 commit 6bc543a0ebe4076da31bad4d3ccca4d713948587
23622 Author: Behdad Esfahbod <behdad@behdad.org>
23623 Date: Thu Mar 8 16:58:18 2007 -0500
23625 [cairo_t] Move gstate pointer before cairo_path_fixed_t for better cache behavior
23627 src/cairo-private.h | 4 ++--
23628 src/cairo.c | 4 ++--
23629 2 files changed, 4 insertions(+), 4 deletions(-)
23631 commit 85aff353ca38e607599282bc955e467df82fa01b
23632 Author: Behdad Esfahbod <behdad@behdad.org>
23633 Date: Thu Mar 8 16:52:09 2007 -0500
23635 [cairo-path-fixed] Fine-tune size of buffer
23637 such that cairo_path_fixed_t fits in 512 bytes.
23639 src/cairo-path-fixed-private.h | 10 ++++++----
23640 src/cairo.c | 4 ++--
23641 2 files changed, 8 insertions(+), 6 deletions(-)
23643 commit 1bd073a1a2951bbb09fdab6637baae0172a223f0
23644 Author: Behdad Esfahbod <behdad@behdad.org>
23645 Date: Thu Mar 8 16:23:49 2007 -0500
23647 [cairo-path-fixed] Merge op and arg bufs
23649 This means, we have to malloc only one buffer, not two. Worst case
23650 is that one always draws curves, which fills the arg (point) buffer
23651 six times faster than op buffer. But that's not a big deal since
23652 each op takes 1 byte, while each point takes 8 bytes. So op space
23653 is cheap to spare, so to speak (about 10% memory waste at worst).
23655 src/cairo-path-fill.c | 51 ++++----
23656 src/cairo-path-fixed-private.h | 22 +--
23657 src/cairo-path-fixed.c | 313 ++++++++++++++--------------------------
23659 4 files changed, 141 insertions(+), 248 deletions(-)
23661 commit 5750d669af24fe1d2707326b9d74dfbb18adf636
23662 Author: Behdad Esfahbod <behdad@behdad.org>
23663 Date: Thu Mar 8 14:30:10 2007 -0500
23665 [cairo-path-fixed] Avoid malloc for small paths
23667 We do this by including an initial op and arg buf in cairo_path_fixed_t,
23668 so for small paths we don't have to alloc those buffers.
23670 The way this is done is a bit unusual. Specifically, using an array of
23671 length one instead of a normal member:
23673 - cairo_path_op_buf_t *op_buf_head;
23674 + cairo_path_op_buf_t op_buf_head[1];
23676 Has the advantage that read-only use of the buffers does not need any
23677 change as arrays act like pointers syntactically. All manipulation code
23678 however needs to be updates, which the patch supposed does. Still, there
23679 seems to be bugs remaining as cairo-perf quits with a Bad X Request error
23682 src/cairo-path-fixed-private.h | 4 +-
23683 src/cairo-path-fixed.c | 68 +++++++++++++++++++++++-----------------
23685 3 files changed, 43 insertions(+), 33 deletions(-)
23687 commit 994dd1a134484d7a1ee246906f21f02d916014a8
23688 Author: Behdad Esfahbod <behdad@behdad.org>
23689 Date: Tue Mar 13 04:56:54 2007 -0400
23691 [boilerplate] Prefer top_builddir to top_srcdir
23693 This may fix some build problems the Ubuntu guys are experiencing
23694 with out-of-tree builds.
23696 boilerplate/Makefile.am | 2 +-
23697 1 files changed, 1 insertions(+), 1 deletions(-)
23699 commit 2894ed19a3acd955a5d0e2f5a231a6f1eee8ac06
23700 Author: Behdad Esfahbod <behdad@behdad.org>
23701 Date: Tue Mar 13 04:55:18 2007 -0400
23703 [directfb,os2] #error if the backend is not compiled in, like others do
23705 src/cairo-directfb.h | 3 +++
23706 src/cairo-os2.h | 2 ++
23707 2 files changed, 5 insertions(+), 0 deletions(-)
23709 commit 073d06d4661feb16b15ece5282a5134e3f05d8e7
23710 Author: Adrian Johnson <ajohnson@redneon.com>
23711 Date: Tue Mar 13 18:45:38 2007 +1030
23713 Fix incorrect file permission in previous commit
23715 0 files changed, 0 insertions(+), 0 deletions(-)
23717 commit a944f42b3d58825e8def292001e3738651b7584a
23718 Author: Adrian Johnson <ajohnson@redneon.com>
23719 Date: Tue Mar 13 18:35:59 2007 +1030
23721 Fix buffer overflow warning
23723 src/cairo-truetype-subset.c | 2 +-
23724 1 files changed, 1 insertions(+), 1 deletions(-)
23726 commit 0f78eb8ccf60c60a4b66441958a7498dc9f7fa47
23727 Author: Carl Worth <cworth@cworth.org>
23728 Date: Mon Mar 12 16:24:58 2007 -0700
23730 perf/README: Add notes on using cairo-perf-diff
23732 perf/README | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
23733 1 files changed, 93 insertions(+), 12 deletions(-)
23735 commit 14cab8b020f429d346561d8ab70b154b2e3f0668
23736 Author: Chris Wilson <chris@chris-wilson.co.uk>
23737 Date: Sun Mar 11 21:55:19 2007 +0000
23739 Correct an off-by-one in the reflection of the convolution index.
23741 Currently the convolution code uses the formula 2*(N-1)-n to reflect the index
23742 n when n is greater than or equal to N.
23743 This is wrong as n=N -> 2*(N-1)-N = N-2 instead of N-1.
23745 Furthermore when the image is small, e.g. at the highest levels of the
23746 pyramid, this causes the code to index before the start of the array and
23747 causes valgrind to issue a warning.
23749 test/pdiff/lpyramid.c | 4 ++--
23750 1 files changed, 2 insertions(+), 2 deletions(-)
23752 commit 789aada06b52e068662f0ac0f7a424c51bcba510
23753 Author: Chris Wilson <chris@chris-wilson.co.uk>
23754 Date: Sun Mar 11 20:55:26 2007 +0000
23756 Avoid the struct copy when source and destination are the same.
23758 On some architectures, gcc will emit a memcpy for structure copies which will
23759 produce a valgrind warning when the source and destination pointers are the
23760 same. Workaround this issue by explicitly checking the source and destination
23761 for inequality before doing the structure assignment.
23763 src/cairo-surface.c | 4 ++--
23764 1 files changed, 2 insertions(+), 2 deletions(-)
23766 commit ef284a2d6bbeae8711226f1f1f2cf4936f6937eb
23767 Author: Carl Worth <cworth@cworth.org>
23768 Date: Fri Mar 9 13:36:03 2007 -0800
23770 Fix a LOCK vs. UNLOCK typo, (yes, I'm that stupid).
23772 Thanks to M.Drochner@fz-juelich.de for noticing the bug.
23774 This fixes bug #10235:
23776 locking bug in cairo_ft_scaled_font_unlock_face()
23777 http://bugs.freedesktop.org/show_bug.cgi?id=10235
23779 src/cairo-ft-font.c | 2 +-
23780 1 files changed, 1 insertions(+), 1 deletions(-)
23782 commit 772edc9133d41dfd667ae5915dfa6ace0bcbfd0d
23783 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
23784 Date: Thu Mar 8 21:32:59 2007 +0100
23786 SVG: fix a radial gradient failure when using CAIRO_EXTEND_REFLECT.
23788 Assume from the beginning we're using a circle with a radius equal to
23789 2 * ( r1 - r0 ) when emulating CAIRO_EXTEND_REFLECT.
23791 src/cairo-svg-surface.c | 14 +++++++-------
23792 1 files changed, 7 insertions(+), 7 deletions(-)
23794 commit c07867c545d7ab7c4a104944768f8a5b69ef9596
23795 Author: Behdad Esfahbod <behdad@behdad.org>
23796 Date: Wed Mar 7 15:55:02 2007 -0500
23798 [glitz] Mark some constant static structures as const
23800 src/cairo-glitz-surface.c | 8 ++++----
23801 1 files changed, 4 insertions(+), 4 deletions(-)
23803 commit 88632575bfae348a63e3e6228d5ceaa64715ae5f
23804 Author: Behdad Esfahbod <behdad@behdad.org>
23805 Date: Wed Mar 7 15:54:20 2007 -0500
23807 [PS/PDF/SVG] Rename internal symbols to have _cairo_*_surface prefix
23809 src/cairo-pdf-surface.c | 74 +++++++++++++-------------
23810 src/cairo-ps-surface.c | 52 +++++++++---------
23811 src/cairo-svg-surface.c | 136 +++++++++++++++++++++++-----------------------
23812 3 files changed, 131 insertions(+), 131 deletions(-)
23814 commit 2cc1c73705d70f834b43996f70080860ac66e57d
23815 Author: Behdad Esfahbod <behdad@behdad.org>
23816 Date: Wed Mar 7 15:53:27 2007 -0500
23818 [cairoint] Move endian-conversion routines into cairoint.h
23820 src/cairo-cff-subset.c | 28 ----------------------------
23821 src/cairo-truetype-subset.c | 37 -------------------------------------
23822 src/cairoint.h | 35 +++++++++++++++++++++++++++++++++++
23823 3 files changed, 35 insertions(+), 65 deletions(-)
23825 commit 62e864e73cd1136b3c0e889dca43a1c0cc648b21
23826 Author: Behdad Esfahbod <behdad@behdad.org>
23827 Date: Wed Mar 7 15:51:35 2007 -0500
23829 [Type1] Add cairo-type1-private.h that Type1 fallback and subset code share
23831 doc/public/Headers.mk | 1 +
23832 src/Makefile.am | 1 +
23833 src/cairo-type1-fallback.c | 14 ++++--------
23834 src/cairo-type1-private.h | 45 ++++++++++++++++++++++++++++++++++++++++++++
23835 src/cairo-type1-subset.c | 18 ++++++----------
23836 5 files changed, 59 insertions(+), 20 deletions(-)
23838 commit ef9799d596600aea334707d2ff00fcca82280d83
23839 Author: Behdad Esfahbod <behdad@behdad.org>
23840 Date: Wed Mar 7 15:49:51 2007 -0500
23842 [cosmetic] Remove static var from testing code in bentley-ottman.
23844 src/cairo-bentley-ottmann.c | 2 +-
23845 1 files changed, 1 insertions(+), 1 deletions(-)
23847 commit 92d331a23407c79d83bf0b2a7d003ba3525641d4
23848 Author: Chris Wilson <chris@chris-wilson.co.uk>
23849 Date: Wed Mar 7 13:31:54 2007 +0000
23851 Fix up the trivial leaks found by valgrind.
23853 perf/cairo-perf.c | 4 ++++
23854 1 files changed, 4 insertions(+), 0 deletions(-)
23856 commit 7d972086d6ea6a6bfa47b5fb47f7a21be61e10e8
23857 Author: Chris Wilson <chris@chris-wilson.co.uk>
23858 Date: Wed Mar 7 12:19:44 2007 +0000
23860 Add valgrind/callgrind targets to Makefile.
23862 perf/Makefile.am | 20 ++++++++++++++++++++
23863 1 files changed, 20 insertions(+), 0 deletions(-)
23865 commit 734d32ed7a50284fcc8984af67734bb306735691
23866 Author: Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
23867 Date: Tue Mar 6 15:49:53 2007 -0800
23869 SVG: Fix CAIRO_EXTEND_REFLECT for radial gradients.
23871 This patch also handles cases where r0 > r1, (one circle must still
23872 be wholly contained within the other as that's all SVG supports).
23874 This patch should also prevent a crash when r0 == r1.
23876 src/cairo-svg-surface.c | 337 ++++++++++++++++++++++++++++++++++++++---------
23877 1 files changed, 277 insertions(+), 60 deletions(-)
23879 commit 32536a7b794c38ff1944b8af5e56e8962e76c311
23880 Author: Brian Ewins <Brian.Ewins@gmail.com>
23881 Date: Tue Mar 6 23:45:23 2007 +0000
23883 [atsui] clean up warnings
23885 Just tidying up warnings left behind by previous fixes.
23887 src/cairo-atsui-font.c | 13 ++++++-------
23888 1 files changed, 6 insertions(+), 7 deletions(-)
23890 commit 9032bf4e2d3bffe84d11a771ba4072cdd8926b77
23891 Author: Brian Ewins <Brian.Ewins@gmail.com>
23892 Date: Tue Mar 6 23:24:33 2007 +0000
23894 [quartz] rename remaining nquartz symbols to quartz.
23896 Renaming any nquartz symbols and files left to quartz.
23898 doc/public/Makefile.am | 1 -
23899 src/Makefile.am | 2 -
23900 src/cairo-quartz-private.h | 6 +-
23901 src/cairo-quartz-surface.c | 238 ++++++++++++++++++++++----------------------
23902 4 files changed, 122 insertions(+), 125 deletions(-)
23904 commit b0d05f7421c457120b9d86a83c4935c67b217fab
23905 Author: Behdad Esfahbod <behdad@behdad.org>
23906 Date: Tue Mar 6 14:26:51 2007 -0500
23908 [configure.in] Remove AM_MAINTAINER_MODE
23910 Maintainer-mode is known broken behavior and discouraged. It has
23911 created headaches before when you run configure and all in a sudden
23912 editing Makefile.am's does not trigger a Makefile update...
23914 configure.in | 2 --
23915 1 files changed, 0 insertions(+), 2 deletions(-)
23917 commit f7beb220df74fef60c102fb5cc827fb2d3962296
23918 Author: Behdad Esfahbod <behdad@behdad.org>
23919 Date: Tue Mar 6 10:33:09 2007 -0500
23921 Remove extra word in docs
23924 1 files changed, 1 insertions(+), 1 deletions(-)
23926 commit 81b98c93b68839d20d3033170eeb5026257d52b8
23927 Author: Adrian Johnson <ajohnson@redneon.com>
23928 Date: Tue Mar 6 23:11:38 2007 +1030
23930 PDF: Set page group color space to DeviceRGB
23932 See http://lists.freedesktop.org/archives/cairo/2006-November/008551.html
23934 src/cairo-pdf-surface.c | 9 ++++++---
23935 1 files changed, 6 insertions(+), 3 deletions(-)
23937 commit 8f0ff52cf74fe4b18c46f9a62689b991645295d0
23938 Author: Carl Worth <cworth@cworth.org>
23939 Date: Tue Mar 6 01:39:37 2007 -0800
23941 Increment version to 1.4.1 after making the 1.4.0 release
23943 configure.in | 2 +-
23944 1 files changed, 1 insertions(+), 1 deletions(-)