1 # Generated by configure. Do not edit.
3 commit 66e8f142e381501d114888c2d1fc1e7f6d6a9857
4 Author: Carl Worth <cworth@cworth.org>
5 Date: Fri Nov 14 11:08:40 2008 +0100
7 Increment version to 1.8.4
10 1 files changed, 1 insertions(+), 1 deletions(-)
12 commit b9c1344ad82d38bb86fa85fbb565b2de64aa0e35
13 Author: Carl Worth <cworth@cworth.org>
14 Date: Fri Nov 14 11:07:10 2008 +0100
16 NEWS: Add notes for cairo 1.8.4
18 Just a few bug fixes here.
20 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
21 1 files changed, 52 insertions(+), 0 deletions(-)
23 commit d654d528de16769932131da80f4b925151d50103
24 Author: Carl Worth <cworth@cworth.org>
25 Date: Thu Nov 13 16:45:15 2008 +0100
27 Blacklist "X.Org" < 7.0 with the buggy_repeat workaround.
29 This is in response to a report that a 6.9 server crashes with
30 cairo's extend-reflect test:
32 https://bugs.freedesktop.org/show_bug.cgi?id=15628#c2
34 src/cairo-xlib-display.c | 11 +++++++++--
35 1 files changed, 9 insertions(+), 2 deletions(-)
37 commit 35a1ba0ddc45f9cc785c6f8a37b6bb49c953e047
38 Author: Carl Worth <cworth@cworth.org>
39 Date: Thu Nov 13 16:36:20 2008 +0100
41 Document the buggy_repeat workaround more carefully.
43 It's a confusing condition, so let's be explicit about where
44 the various numbers come from.
46 src/cairo-xlib-display.c | 54 ++++++++++++++++++++++++++++++++-------------
47 1 files changed, 38 insertions(+), 16 deletions(-)
49 commit a1ab11df01962bea5752f5a5b53926a26a6f34ae
50 Author: Behdad Esfahbod <behdad@behdad.org>
51 Date: Wed Nov 5 11:50:20 2008 -0500
53 Define RepeatNone, etc if the available Render version doesn't (#18385)
55 src/cairo-xlib-xrender-private.h | 18 ++++++++++++++++++
56 1 files changed, 18 insertions(+), 0 deletions(-)
58 commit 1d8ad69abb88f6e0283b6ce2aadc5d801b8e3722
59 Author: Behdad Esfahbod <behdad@behdad.org>
60 Date: Tue Nov 4 01:51:06 2008 -0500
62 [aclocal.dolt.m4] Fix build with bash versions <= 3.0 (bug #18363)
64 build/aclocal.dolt.m4 | 2 +-
65 1 files changed, 1 insertions(+), 1 deletions(-)
67 commit 6434cddb899d750b815d71f8f51ae3e4568dd3c0
68 Author: Adrian Johnson <ajohnson@redneon.com>
69 Date: Sun Nov 2 11:42:33 2008 +1030
71 type1-subset: return unsupported on FT errors
73 and let type1-fallback handle it. This fixes the bug reported by
75 http://lists.cairographics.org/archives/cairo/2008-October/015569.html
77 src/cairo-type1-subset.c | 12 ++++--------
78 1 files changed, 4 insertions(+), 8 deletions(-)
80 commit 710f7d30d348517602293f123525aef7677d69cf
81 Author: Chris Wilson <chris@chris-wilson.co.uk>
82 Date: Fri Oct 31 02:14:53 2008 +0000
84 [scaled-font] Fix typo that prevented meta_surface lookup.
86 test/text-glyph-range was crashing since we requested the meta_surface but
87 the glyph wrongly believed it already had the meta_surface but was
88 checking for a path instead.
90 src/cairo-scaled-font.c | 2 +-
91 1 files changed, 1 insertions(+), 1 deletions(-)
93 commit ab15d7627506a837fea7101661425bb923ef5b4f
94 Author: Chris Wilson <chris@chris-wilson.co.uk>
95 Date: Thu Oct 30 16:54:23 2008 +0000
97 [test] Remove XFAIL from user-font-mask
99 user-font-mask should PASS modulo the scaling anomalies in the external
100 renderers, so remove it from the XFAIL list.
102 test/Makefile.am | 15 ++++++---------
103 test/user-font-mask-pdf-ref.png | Bin 0 -> 1927 bytes
104 test/user-font-mask-ps2-ref.png | Bin 0 -> 1927 bytes
105 test/user-font-mask-ps3-ref.png | Bin 0 -> 1927 bytes
106 test/user-font-mask-svg11-ref.png | Bin 0 -> 2224 bytes
107 5 files changed, 6 insertions(+), 9 deletions(-)
109 commit 540f555840ba4076e3ab86669daf9bee5695afa2
110 Author: Chris Wilson <chris@chris-wilson.co.uk>
111 Date: Thu Oct 23 14:38:44 2008 +0100
113 [analysis] Only limit to mask extends if bounded by mask.
115 The extents of cairo_mask() is only limited to the mask if the operation
116 is bounded by the mask.
118 src/cairo-analysis-surface.c | 8 ++++++--
119 test/clip-operator-pdf-argb32-ref.png | Bin 11145 -> 12125 bytes
120 test/clip-operator-pdf-rgb24-ref.png | Bin 6530 -> 7367 bytes
121 test/operator-clear-pdf-argb32-ref.png | Bin 1438 -> 1614 bytes
122 test/operator-clear-pdf-rgb24-ref.png | Bin 1170 -> 1402 bytes
123 test/operator-source-pdf-argb32-ref.png | Bin 4694 -> 5149 bytes
124 test/operator-source-pdf-rgb24-ref.png | Bin 3848 -> 4354 bytes
125 7 files changed, 6 insertions(+), 2 deletions(-)
127 commit 4b2998893930e4bab19646e6f0a0c8d2a47f12a2
128 Author: Chris Wilson <chris@chris-wilson.co.uk>
129 Date: Thu Oct 23 14:34:30 2008 +0100
131 Review users of cairo_rectangle_int_t for incorrect unsigned promotion.
133 Adrian Johnson discovered cases where we mistakenly compared the result
134 of unsigned arithmetic where we need signed quantities. Look for similar
135 cases in the users of cairo_rectangle_int_t.
137 src/cairo-analysis-surface.c | 48 ++++++++++++++++++++++-------------
138 src/cairo-clip.c | 43 ++++++++++++++++---------------
139 src/cairo-gstate.c | 4 +-
140 src/cairo-pattern.c | 13 ++++++---
141 src/cairo-rectangle.c | 6 +++-
142 src/cairo-region-private.h | 3 +-
143 src/cairo-region.c | 3 +-
144 src/cairo-surface-fallback.c | 31 +++++++++++++++--------
145 src/cairo-surface.c | 27 +++++++++++---------
146 src/cairo-win32-surface.c | 4 +-
147 src/cairo-xcb-surface.c | 56 +++++++++++++----------------------------
148 src/cairo-xlib-surface.c | 52 ++++++++++++--------------------------
149 src/cairoint.h | 2 +-
150 13 files changed, 144 insertions(+), 148 deletions(-)
152 commit 0e4156121f05b14f800289ea34c5382de1f20869
153 Author: Chris Wilson <chris@chris-wilson.co.uk>
154 Date: Thu Oct 23 13:37:41 2008 +0100
156 [rectangle] Fix unsigned promotion whilst computing intersect.
158 _cairo_rectangle_intersect() incorrectly allows unsigned promotion during
161 src/cairo-rectangle.c | 31 +++++++++++++++++--------------
162 src/cairoint.h | 3 ++-
163 2 files changed, 19 insertions(+), 15 deletions(-)
165 commit 2464b8a0a9f7db7421c257eb4e3ac0d98af34761
166 Author: Chris Wilson <chris@chris-wilson.co.uk>
167 Date: Thu Oct 23 13:36:19 2008 +0100
169 [pattern] Allow the projected surface extents to be negative.
171 In order to handle projection of analysis surface with user-fonts we need
172 to accommodate patterns extending into negative coordinate space.
174 src/cairo-pattern.c | 8 ++++----
175 1 files changed, 4 insertions(+), 4 deletions(-)
177 commit d5d29075bdbb7f412fa6dc182573da18fd81af54
178 Author: Chris Wilson <chris@chris-wilson.co.uk>
179 Date: Thu Oct 23 15:24:13 2008 +0100
181 [gstate] Allocate temporary variable for backend_to_user transform.
183 _cairo_gstate_backend_to_user_rectangle() requires that its input
184 arguments are non-NULL and describe the input rectangle to be transformed.
185 However, we were passing through output parameters from the public API
186 which were allowed to be NULL. So we need to allocate temporary variables
187 in which to compute the output rectangle, but only copy them as required.
189 src/cairo-gstate.c | 69 +++++++++++++++++++++++++++++++++++++--------------
190 1 files changed, 50 insertions(+), 19 deletions(-)
192 commit d53537e8b5e3a8345983d8a0529cb230fa2886d1
193 Author: Carl Worth <cworth@cworth.org>
194 Date: Thu Oct 30 08:20:59 2008 -0700
196 Increment version to 1.8.3 after the 1.8.2 release.
198 Thanks to Chris Wilson (who else?) for the last-minute bug fix.
200 cairo-version.h | 2 +-
201 1 files changed, 1 insertions(+), 1 deletions(-)
203 commit f7c958d97221375fdcbb6c58c3b58c07676b7589
204 Author: Carl Worth <cworth@cworth.org>
205 Date: Wed Oct 29 21:02:04 2008 -0700
207 Increment cairo version to 1.8.2.
209 Hurrah! We're finally there.
211 cairo-version.h | 2 +-
212 1 files changed, 1 insertions(+), 1 deletions(-)
214 commit 42711a5586cba5db5451ce2400ee5fe655700391
215 Author: Chris Wilson <chris@chris-wilson.co.uk>
216 Date: Thu Oct 30 09:54:47 2008 +0000
218 [xlib] Fix _draw_image_surface() with opaque images.
220 If the image was opaque with no alpha channel, we filled the output alpha
221 with 0. Typically, the destination surface for dithering is an RGB window,
222 so this bug went unnoticed. However, test/xlib-expose-event is an example
223 where we generate an intermediate alpha-only pixmap for use as a stencil
224 and this was failing as the mask was left completely transparent. The
225 simple solution is to ensure that for opaque images, the output alpha is
226 set to the maximum permissible value.
228 src/cairo-xlib-surface.c | 9 ++++++++-
229 1 files changed, 8 insertions(+), 1 deletions(-)
231 commit c3940d342ac506055c2ce6b7e9b27f92d8a63999
232 Author: Chris Wilson <chris@chris-wilson.co.uk>
233 Date: Thu Oct 30 09:59:48 2008 +0000
237 Tweak the whitespace to lose some unnecessary line wrapping, casts and
240 src/cairo-xlib-surface.c | 10 +++++-----
241 1 files changed, 5 insertions(+), 5 deletions(-)
243 commit e51648b601de274559800c63575c7f7e0288f596
244 Author: Behdad Esfahbod <behdad@behdad.org>
245 Date: Thu Oct 30 04:43:45 2008 -0400
247 [test/xlib-expose-event] Save the output image to disk
249 test/xlib-expose-event.c | 1 +
250 1 files changed, 1 insertions(+), 0 deletions(-)
252 commit f534bd549e1e2283735d1eabb60c015a5949a735
253 Author: Carl Worth <cworth@cworth.org>
254 Date: Wed Oct 29 21:28:56 2008 -0700
256 Remove test/twin-ref.png.
258 I missed this in a previous commit, (I think I had used a
259 pattern of twin-*-ref.png which of course didn't match
262 test/twin-ref.png | Bin 1836 -> 0 bytes
263 1 files changed, 0 insertions(+), 0 deletions(-)
265 commit cf97966c07bc64ff4b169d1d8239407883a26747
266 Author: Carl Worth <cworth@cworth.org>
267 Date: Wed Oct 29 21:01:01 2008 -0700
269 NEWS: Finish the entry for the 1.8.2 release.
271 Add some summarizing paragraphs and organize bug-fixes and optimizations
272 into separate sections.
274 NEWS | 93 ++++++++++++++++++++++++++++++++++++++++++++----------------------
275 1 files changed, 62 insertions(+), 31 deletions(-)
277 commit b6741cffef6e86d59fa4809d32de14b9c5e8afbf
278 Author: Chris Wilson <chris@chris-wilson.co.uk>
279 Date: Thu Oct 30 01:15:45 2008 +0000
281 [NEWS] Spot another couple of typos.
283 Proof-reading is difficult, even with the squiggly lines.
286 1 files changed, 4 insertions(+), 4 deletions(-)
288 commit d20cc827791e177eb73a9003c6704b7a5bc49f71
289 Author: Chris Wilson <chris@chris-wilson.co.uk>
290 Date: Thu Oct 30 01:06:08 2008 +0000
292 [NEWS] Correct a couple of typos.
294 Whilst Carl's not looking, fix a couple of typos -- in particular the one
295 calling me a bug! ;-)
298 1 files changed, 5 insertions(+), 5 deletions(-)
300 commit 0ceda81dfdfc4adcec28c71be7822caa0627d818
301 Author: Carl Worth <cworth@cworth.org>
302 Date: Wed Oct 29 17:38:36 2008 -0700
304 NEWS: Add long list of bugs fixed for 1.8.2.
306 (Still need to add a paragraph or two summarizing the release.)
308 NEWS | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
309 1 files changed, 110 insertions(+), 0 deletions(-)
311 commit e0046aaf417a61da008dc6374871fa3687ba94ab
312 Author: Carl Worth <cworth@cworth.org>
313 Date: Wed Oct 29 16:25:00 2008 -0700
315 Remove twin perf case.
317 This performance test relied on the recently-removed ability
318 to select the internal twin-based font family with a name of
321 Presumably, we'll want to bring this performance case back when
322 some other means of requesting that font face is added.
324 perf/Makefile.am | 1 -
325 perf/cairo-perf.c | 1 -
326 perf/cairo-perf.h | 1 -
327 perf/twin.c | 50 --------------------------------------------------
328 4 files changed, 0 insertions(+), 53 deletions(-)
330 commit 292233685534aed712dfd45e8ccf498b792ce496
331 Author: Carl Worth <cworth@cworth.org>
332 Date: Wed Oct 29 16:25:00 2008 -0700
334 Remove twin test case.
336 This test relied on the recently-removed ability to select
337 the internal twin-based font family with a name of "cairo".
339 Presumably, we'll want to bring this test case back when
340 some other means of requesting that font face is added.
342 test/.gitignore | 1 -
343 test/Makefile.am | 6 ----
344 test/twin-ps2-ref.png | Bin 1167 -> 0 bytes
345 test/twin-ps3-ref.png | Bin 1167 -> 0 bytes
346 test/twin-svg11-ref.png | Bin 1773 -> 0 bytes
347 test/twin-svg12-ref.png | Bin 1773 -> 0 bytes
348 test/twin.c | 60 -----------------------------------------------
349 7 files changed, 0 insertions(+), 67 deletions(-)
351 commit a824d284be23793a5c48b9ae833dcb7b2d5fff80
352 Author: Carl Worth <cworth@cworth.org>
353 Date: Wed Oct 29 16:21:42 2008 -0700
355 Remove the ability to select the internal font face with a name of "cairo".
357 It's not fair to steal this name from the namespace of family names.
358 There are definitely cairo.ttf files that exist out there, and people
359 may already be using these, (or may use them in the future), with
360 cairo_select_font_face and a family name of "cairo".
362 In place of this, we'll want to come up with some other new, and
363 documented API for selecting the internal font face.
365 src/cairo-font-face.c | 6 ++----
367 2 files changed, 2 insertions(+), 5 deletions(-)
369 commit f039da8d9172a6fb60082901c8dc56c7159ecd24
370 Author: Carl Worth <cworth@cworth.org>
371 Date: Wed Oct 29 16:17:24 2008 -0700
373 Add doltcompile and doltlibtool to .gitignore.
375 These generated files were recently added to our build system.
376 We definitely don't want to see them in git-status output.
379 1 files changed, 2 insertions(+), 0 deletions(-)
381 commit 81439b3bc8656b34c13b3cc7b5b6a9f03a3c8c54
382 Author: Carl Worth <cworth@cworth.org>
383 Date: Wed Oct 29 16:15:12 2008 -0700
385 Add missing files to CLEANFILES and DISTCLEANFILES.
387 Without these files in these lists, "make distcheck" is unhappy.
390 test/Makefile.am | 9 +++++++++
391 2 files changed, 12 insertions(+), 1 deletions(-)
393 commit dd0416f5d47a946498219616f53abdad81d4fc38
394 Author: Carl Worth <cworth@cworth.org>
395 Date: Tue Oct 28 18:01:09 2008 -0700
397 Add recently added reference images to REFERENCE_IMAGES list.
399 This is just part of the make-distcheck routine for me. I know
400 Behdad added a test to check for missing images in the list, but
401 it doesn't seem to be getting run automatically as part of
402 'make test' nor 'make distcheck', (or if it it, then I'm not
403 noticing its output).
405 test/Makefile.am | 4 ++++
406 1 files changed, 4 insertions(+), 0 deletions(-)
408 commit 9cd9644c1d993f86c6eb7bee692fe642d6d280b1
409 Author: Chris Wilson <chris@chris-wilson.co.uk>
410 Date: Wed Oct 29 21:56:36 2008 +0000
412 [test] Add a pass-through test.
414 Check that colour values are correctly passed through all the backends.
415 Simple test of the most fundamental functionality.
417 test/.gitignore | 1 +
418 test/Makefile.am | 3 +
419 test/pass-through-ref.png | Bin 0 -> 221 bytes
420 test/pass-through-rgb24-ref.png | Bin 0 -> 179 bytes
421 test/pass-through.c | 99 +++++++++++++++++++++++++++++++++++++++
422 5 files changed, 103 insertions(+), 0 deletions(-)
424 commit cec689eab628b59ee1d69e241c5d336760304ea0
425 Author: Carl Worth <cworth@cworth.org>
426 Date: Tue Oct 28 17:18:34 2008 -0700
428 RELEASING: Suggest running 'make distcheck' against Xvfb.
430 This avoids hitting driver-specific bugs in the X server, and is
431 better than doing 'DISPLAY= make distcheck' which simply disables
432 all xlib testing completely.
435 1 files changed, 5 insertions(+), 0 deletions(-)
437 commit 0ca6ba18e398db7ed8f8bca5faa93d48aa3a4878
438 Author: Carl Worth <cworth@cworth.org>
439 Date: Tue Oct 28 17:15:42 2008 -0700
441 Add note to test/README on running with Xvfb.
443 This X server has been tested to run through the test suite with
444 no unexpected failures, and it avoids hitting any X-driver-specific
447 test/README | 17 +++++++++++++++++
448 1 files changed, 17 insertions(+), 0 deletions(-)
450 commit eed67717649c343e42ce102a4d78a245dba48925
451 Author: Carl Worth <cworth@cworth.org>
452 Date: Tue Oct 28 17:12:15 2008 -0700
454 Disable the svg12 target in boilerplate.
456 This target was added to the boilerplate during 1.8.1. It currently
457 shows many failures in the test suite. These failures likely fall
458 into three different classes:
460 * Tests needing new svg12-specific reference images
462 * Tests exercising bugs in librsvg
464 * Tests exercising existing cairo bugs
466 We haven't gone through the effort to separate these, but even for
467 the tests that are exercising actual cairo bugs, these are likely
468 bugs that existed in the cairo 1.8.0 release and not regressions.
470 Because of that, in this commit I'm conditionally disabling the
471 testing of the svg12 target. As soon as we increment the cairo
472 version to 1.9.0 or higher, this target will get re-enabled
473 automatically and we can begin the work to separate the tests as
474 described above and also fix the bugs.
476 boilerplate/cairo-boilerplate.c | 5 +++++
477 1 files changed, 5 insertions(+), 0 deletions(-)
479 commit a94928ddfa066f6e6824775b9d0b6008f3fcbf26
480 Author: Carl Worth <cworth@cworth.org>
481 Date: Tue Oct 28 15:55:38 2008 -0700
483 Add svg-specific reference images for the twin test.
485 A bit annoying that I have to add the same image as both -svg11
486 and -svg12 but that's all the support we have in the current
487 test suite. I suppose I could avoid doing that by figuring out
488 why this test case cannot successfully roundtrip through librsvg
489 and back through cairo.
491 test/twin-svg11-ref.png | Bin 0 -> 1773 bytes
492 test/twin-svg12-ref.png | Bin 0 -> 1773 bytes
493 2 files changed, 0 insertions(+), 0 deletions(-)
495 commit 53554ea8892893098b29a27a23c069f0ee584a06
496 Author: Carl Worth <cworth@cworth.org>
497 Date: Tue Oct 28 15:50:44 2008 -0700
499 Add ps2-specific reference images for trap-clip test.
501 These are quite similar to the existing ps3-specific reference images.
502 I definitely don't see any reason why this output should be considered
505 test/trap-clip-ps2-argb32-ref.png | Bin 0 -> 5690 bytes
506 test/trap-clip-ps2-rgb24-ref.png | Bin 0 -> 5617 bytes
507 2 files changed, 0 insertions(+), 0 deletions(-)
509 commit 10fd16a05d8549753179ab5cca855539fb7dec94
510 Author: Carl Worth <cworth@cworth.org>
511 Date: Tue Oct 28 15:41:40 2008 -0700
513 Mark user-font-mask as XFAIL.
515 This test is expected to fail due to a couple of known bugs. Chris
516 has fixes for both bugs, but is holding off on them until after 1.8.2
517 to prevent introducing any possible new bugs with his fixes.
519 test/Makefile.am | 10 +++++++++-
520 1 files changed, 9 insertions(+), 1 deletions(-)
522 commit 655546243f57ae2a5c1813bd45994b18061f1c74
523 Author: Carl Worth <cworth@cworth.org>
524 Date: Tue Oct 28 15:35:35 2008 -0700
526 Rename user-font-image test to user-font-mask.
528 Otherwise the reference image (user-font-image-ref.png) gets
529 interpreted as an image-specific reference image for the
530 user-font test case resulting in a bogus failure.
532 test/Makefile.am | 4 +-
533 test/user-font-image-ref.png | Bin 6011 -> 0 bytes
534 test/user-font-image.c | 254 ------------------------------------------
535 test/user-font-mask-ref.png | Bin 0 -> 6011 bytes
536 test/user-font-mask.c | 254 ++++++++++++++++++++++++++++++++++++++++++
537 5 files changed, 256 insertions(+), 256 deletions(-)
539 commit 42d2d1b6d3b187b5dbdb630783d7c9bf90c66fb2
540 Author: Carl Worth <cworth@cworth.org>
541 Date: Tue Oct 28 12:48:03 2008 -0700
543 Correct NEWS to say 'release' instead of 'snapshot' for 1.8.0
545 A copy-and-paste bug strikes again.
548 1 files changed, 2 insertions(+), 2 deletions(-)
550 commit 1327ec232cfca675647fb03876487c92fb638354
551 Author: Chris Wilson <chris@chris-wilson.co.uk>
552 Date: Tue Oct 28 10:00:38 2008 +0000
554 [image] Remove invalid assert.
556 The assert can fail for an error surface.
558 TODO: Decide what values should be returned from getters for error
561 src/cairo-image-surface.c | 2 --
562 1 files changed, 0 insertions(+), 2 deletions(-)
564 commit 9481d999df8d399543bdbb45b85bd24b1725bece
565 Author: Chris Wilson <chris@chris-wilson.co.uk>
566 Date: Tue Oct 28 09:59:01 2008 +0000
568 [image] Check create_for_data() to ensure a valid minimum stride.
570 Double check that the user is not being silly by passing in a stride that
571 is too small for the width. evince/poppler is one such example...
573 src/cairo-image-surface.c | 12 ++++++++++++
574 1 files changed, 12 insertions(+), 0 deletions(-)
576 commit 88f628b3972819c0f6ce8e5f06d0f7e6abb9d661
577 Author: Chris Wilson <chris@chris-wilson.co.uk>
578 Date: Tue Oct 28 09:11:23 2008 +0000
580 [perf] Fix rectangular case of unaligned-clip.
582 Janoos spotted that the unaligned clip actually degenerated to an empty
583 clip due to a typo when constructing the second rectangle. Simply use a
584 cairo_rectangle() instead.
586 perf/unaligned-clip.c | 9 +++------
587 1 files changed, 3 insertions(+), 6 deletions(-)
589 commit 1522805f39c505ff05231e67de5a6e6686081d46
590 Author: Behdad Esfahbod <behdad@behdad.org>
591 Date: Mon Oct 27 20:57:56 2008 -0400
593 [Makefile.am.releasing] Fix typo
595 build/Makefile.am.releasing | 2 +-
596 1 files changed, 1 insertions(+), 1 deletions(-)
598 commit 3386794d96d2b1616af9db5b7df1fc5c7a5796a7
599 Author: Carl Worth <cworth@cworth.org>
600 Date: Mon Oct 27 14:09:19 2008 -0700
602 Add creation of a versioned manual to the release-publish target.
604 This arranges so that a versioned manual will be available of the form:
606 http://cairographics.org/manual-X.Y.Z
608 for all future releases and snapshots. We're going through the process
609 of manually doing all former releases, such as:
611 http://cairographics.org/manual-1.2.0/
613 which the LSB folks wanted to reference.
615 build/Makefile.am.releasing | 27 ++++++++++++++++++---------
616 1 files changed, 18 insertions(+), 9 deletions(-)
618 commit a1a7ec6a056fa36389a48c0f53884ae7e92ebc1a
619 Author: Adrian Johnson <ajohnson@redneon.com>
620 Date: Mon Oct 27 23:13:05 2008 +1030
622 Change ps to ps3 in test/README
624 The ps target no longer exists.
627 1 files changed, 1 insertions(+), 1 deletions(-)
629 commit 670d942fe3dafbed5ceca234e760f29f793233cb
630 Author: Adrian Johnson <ajohnson@redneon.com>
631 Date: Mon Oct 27 23:04:16 2008 +1030
633 Change user-font-image test to use a pattern
635 This can be used to expose a bug in _cairo_rectangle_intersect() by
638 fixed_scale = 1024 to 1 in cairo-user-font.c
642 cairo_matrix_translate (&matrix, 0, -8) to (&matrix, 0, -9) in
645 This will cause cairo_text_extents (cr, text, &extents) in
646 user-font-image.c to return a height of 8388683.
648 test/user-font-image-ref.png | Bin 5502 -> 6011 bytes
649 test/user-font-image.c | 13 +++++++++++--
650 2 files changed, 11 insertions(+), 2 deletions(-)
652 commit cdacf55e1b16a6982c681fab212405fc4af4f1db
653 Author: Adrian Johnson <ajohnson@redneon.com>
654 Date: Mon Oct 27 22:07:04 2008 +1030
656 Add user-font-image test
658 Draws bitmap glyphs using cairo_mask(). This test exposes a bug in the
659 calculation of the glyph extents.
661 test/Makefile.am | 2 +
662 test/user-font-image-ref.png | Bin 0 -> 5502 bytes
663 test/user-font-image.c | 245 ++++++++++++++++++++++++++++++++++++++++++
664 3 files changed, 247 insertions(+), 0 deletions(-)
666 commit 22e2dac819de3c082424ebf3ce8f64c9c4797e8a
667 Author: Chris Wilson <chris@chris-wilson.co.uk>
668 Date: Sun Oct 26 10:21:37 2008 +0000
670 [stroke] Ensure we record the first face for a dashed path.
672 If the first face was outside the bounds then we skipped it, and so a
673 close would incorrectly connect to the first visible face.
675 src/cairo-path-stroke.c | 1 +
676 1 files changed, 1 insertions(+), 0 deletions(-)
678 commit 64fb3290f00bafc4a10e6432226f669a51fa0bc6
679 Author: Chris Wilson <chris@chris-wilson.co.uk>
680 Date: Sun Oct 26 09:54:03 2008 +0000
682 [stroke] _cairo_stroker_line_to_dashed() whitespace
684 A couple of comment spelling mistakes and rearrange whitespace to more
685 closely match CODING_STYLE.
687 src/cairo-path-stroke.c | 57 ++++++++++++++++++++++++++++++++--------------
688 1 files changed, 39 insertions(+), 18 deletions(-)
690 commit 88935947d11762c91e282fb129c493afc6f2f1a6
691 Author: Chris Wilson <chris@chris-wilson.co.uk>
692 Date: Sun Oct 26 08:19:31 2008 +0000
694 [test] Add leaky-dashed-stroke
696 A test case for a leak whilst closing a dashed stroke extracted from the
697 report by Jeff Muizelaar who found the artifact whilst looking at
698 firefox http://people.mozilla.com/~jmuizelaar/BerlinDistricts-check.svg
700 test/.gitignore | 1 +
701 test/Makefile.am | 4 +
702 test/leaky-dashed-stroke-ps2-ref.png | Bin 0 -> 5511 bytes
703 test/leaky-dashed-stroke-ps3-ref.png | Bin 0 -> 5511 bytes
704 test/leaky-dashed-stroke-ref.png | Bin 0 -> 9214 bytes
705 test/leaky-dashed-stroke.c | 174 ++++++++++++++++++++++++++++++++++
706 6 files changed, 179 insertions(+), 0 deletions(-)
708 commit 195fd27cc64c7aaf18a6d48ccd9d94548331fd4d
709 Author: Chris Wilson <chris@chris-wilson.co.uk>
710 Date: Wed Oct 22 22:04:53 2008 +0100
712 [build] Use AC_LINK_IFELSE for testing linker flags.
714 Richard Hult reported that -Wl,--allow-shlib-undefined was incorrectly
715 being identified as supported by gcc under Mac OS/X:
717 configure:25103: checking whether gcc supports -Wl,--allow-shlib-undefined
718 configure:25117: gcc -c -Werror -Wl,--allow-shlib-undefined conftest.c
720 i686-apple-darwin9-gcc-4.0.1: --allow-shlib-undefined: linker input file
721 unused because linking not done
723 So instead of just checking whether the compiler accepts the flag, check
724 that we can actually link a dummy file.
726 build/aclocal.cairo.m4 | 20 ++++++++++++++++++++
727 build/configure.ac.warnings | 2 +-
728 2 files changed, 21 insertions(+), 1 deletions(-)
730 commit d692284ab8f90d7402621f1a07aaddcf11d87ef5
731 Author: Behdad Esfahbod <behdad@behdad.org>
732 Date: Thu Oct 23 01:45:35 2008 -0400
734 [test/user-font] Exercise glyph 0
736 Previously there was a bug in cairo and/or poppler causing glyph 0 of
737 user fonts to not show up. This is fixed now, so we exercise glyph 0.
739 test/user-font.c | 7 +++----
740 1 files changed, 3 insertions(+), 4 deletions(-)
742 commit e6219f7116311d999054dc31df081aa66a0cd2d3
743 Author: Chris Wilson <chris@chris-wilson.co.uk>
744 Date: Wed Oct 22 17:53:05 2008 +0100
746 [win32] Correct error paths in text_to_glyphs().
748 Carl spotted that 1db894 introduced an error into text_to_glyphs() such
749 that following an allocation error the code would attempt to thaw an
750 unfrozen glyph cache, leading to an attempt to unlock an unlocked mutex -
751 which causes a deadlock under win32.
753 src/cairo-win32-font.c | 7 ++++---
754 1 files changed, 4 insertions(+), 3 deletions(-)
756 commit 09651a1c1a4856607423e9b06c1f7c397ba4f304
757 Author: Chris Wilson <chris@chris-wilson.co.uk>
758 Date: Wed Oct 8 22:39:48 2008 +0100
762 perf/Makefile.am | 3 ++-
763 perf/cairo-perf.c | 1 +
764 perf/cairo-perf.h | 1 +
765 perf/twin.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
766 4 files changed, 54 insertions(+), 1 deletions(-)
768 commit 954ebacb71071c53c4e4092b469417f01478bc2d
769 Author: Chris Wilson <chris@chris-wilson.co.uk>
770 Date: Wed Oct 22 15:43:56 2008 +0100
772 Map toy font face to implementation.
774 Quartz fonts and user fonts use an indirect font face when creating a
775 scaled font for the toy font face. This means that they insert a scaled
776 font into the font map that has a different font face to the one that is
777 initially searched upon. The result is that when we try to create an
778 identical scaled font, we fail to find the existing scaled font and
779 attempt to insert a duplicate into the hash table - which triggers an
782 In order to avoid creating duplicate fonts, we add a new method to the
783 font backends that allows cairo_scaled_font_create() to peek at the
784 font_face that will be used to actually implement the scaled font
785 constructor - thus we are able to use the correct font_face as part of the
788 src/cairo-font-face.c | 34 +++++++++++++++++++++++++++++
789 src/cairo-ft-font.c | 2 +
790 src/cairo-quartz-font.c | 55 +++++++++++++++++++++++++++++++++++++---------
791 src/cairo-scaled-font.c | 11 ++++++++-
792 src/cairo-user-font.c | 37 ++++++++++++++++++++++++-------
793 src/cairo-win32-font.c | 2 +
794 src/cairoint.h | 8 ++++++
795 7 files changed, 128 insertions(+), 21 deletions(-)
797 commit 5e4a1cb0b830f069d99c9512563c82ad628587e3
798 Author: Adrian Johnson <ajohnson@redneon.com>
799 Date: Wed Oct 22 21:36:42 2008 +1030
801 Don't add a notdef glyph to Type 3 font subsets
803 This allows user-fonts to use glyph 0 when embedding in PS/PDF.
804 According to ISO32000 Type 3 fonts do not require a notdef glyph.
806 src/cairo-pdf-surface.c | 19 +++-------
807 src/cairo-ps-surface.c | 21 ++++-------
808 src/cairo-scaled-font-subsets.c | 59 ++++++++++++++++++------------
809 src/cairo-type3-glyph-surface-private.h | 6 ---
810 src/cairo-type3-glyph-surface.c | 16 --------
811 5 files changed, 48 insertions(+), 73 deletions(-)
813 commit 170686d4b0ed913a1a175f3f354ec5796814b416
814 Author: Chris Wilson <chris@chris-wilson.co.uk>
815 Date: Wed Oct 22 01:01:06 2008 +0100
817 [cairoint] Remove the duplicate prototype.
819 In the previous commit I added comments and a duplicate prototype. Remove
820 the duplicate - but keep the comments.
822 src/cairoint.h | 3 ---
823 1 files changed, 0 insertions(+), 3 deletions(-)
825 commit 1db8949f2baf1e620e1d5ef73a66de211420bd0a
826 Author: Chris Wilson <chris@chris-wilson.co.uk>
827 Date: Tue Oct 21 22:48:17 2008 +0100
829 Ensure that the scaled font is frozen for the lifetime of the scaled glyph.
831 After discussing the scaled font locking with Behdad, it transpired that it
832 is not sufficient for a font to be locked for the lifetime of a scaled glyph,
833 but that the scaled font's glyph cache must be frozen for the glyph'
834 lifetime. If the cache is not frozen, then there is a possibility that the
835 glyph may be evicted before the reference goes out of scope i.e. the glyph
836 becomes invalid whilst we are trying to use it.
838 Since the freezing of the cache is the stronger barrier, we remove the
839 locking/unlocking of the mutex from the backends and instead move the
840 mutex acquisition into the freeze/thaw routines. Then update the rule on
841 acquiring glyphs to enforce that the cache is frozen and review the usage
842 of freeze/thaw by all the backends to ensure that the cache is frozen for
843 the lifetime of the glyph.
845 src/cairo-directfb-surface.c | 4 +-
846 src/cairo-glitz-surface.c | 2 +-
847 src/cairo-gstate.c | 4 -
848 src/cairo-meta-surface.c | 2 -
849 src/cairo-mutex-impl-private.h | 3 +-
850 src/cairo-mutex-type-private.h | 3 +
851 src/cairo-paginated-surface.c | 2 -
852 src/cairo-pdf-surface.c | 2 -
853 src/cairo-scaled-font-subsets.c | 30 +++---
854 src/cairo-scaled-font.c | 81 ++++++++++-----
855 src/cairo-surface-fallback.c | 1 +
856 src/cairo-surface.c | 4 -
857 src/cairo-svg-surface.c | 4 +-
858 src/cairo-type1-fallback.c | 9 ++-
859 src/cairo-type3-glyph-surface.c | 18 ++--
860 src/cairo-user-font.c | 1 -
861 src/cairo-win32-font.c | 12 ++-
862 src/cairo-xcb-surface.c | 216 +++++++++++++++++++++++----------------
863 src/cairo-xlib-surface.c | 57 ++++++----
865 src/test-meta-surface.c | 25 +----
866 src/test-paginated-surface.c | 25 +----
867 22 files changed, 280 insertions(+), 229 deletions(-)
869 commit b2cbbceb4ca57816a498c2c1e676b19182c34e12
870 Author: Chris Wilson <chris@chris-wilson.co.uk>
871 Date: Tue Oct 21 19:44:42 2008 +0100
873 [test/meta-surface-pattern] Propagate errors.
875 Use cairo_get_target() to propagate any errors from the secondary context.
877 test/meta-surface-pattern.c | 5 ++---
878 1 files changed, 2 insertions(+), 3 deletions(-)
880 commit 9d4262ebe07bacacd6e743dea616b37ac51eac01
881 Author: Behdad Esfahbod <behdad@behdad.org>
882 Date: Tue Oct 21 17:44:47 2008 -0400
886 Dolt is a hack to speed up libtool-based build systems:
888 http://dolt.freedesktop.org/
890 It's completely transparent to the user. Brings make time
891 of cairo from 70s down to 20s. Yay!
893 build/aclocal.dolt.m4 | 177 +++++++++++++++++++++++++++++++++++++++++++++++++
895 2 files changed, 178 insertions(+), 0 deletions(-)
897 commit 5a822046cc66d8405618370c1071433016969020
898 Author: Chris Wilson <chris@chris-wilson.co.uk>
899 Date: Tue Oct 21 11:22:48 2008 +0100
901 [test/xlib-expose-event] Propagate errors.
903 Use cairo_get_target() to propagate errors from secondary contexts.
905 test/xlib-expose-event.c | 10 +++++++---
906 1 files changed, 7 insertions(+), 3 deletions(-)
908 commit 21223cc12ca00c52c0b39dc60db410f29e4e76c9
909 Author: Chris Wilson <chris@chris-wilson.co.uk>
910 Date: Tue Oct 21 11:29:12 2008 +0100
912 [test/unbounded-operator] Propagate errors.
914 Use cairo_get_target() to propagate errors from secondary contexts.
916 test/unbounded-operator.c | 6 ++----
917 1 files changed, 2 insertions(+), 4 deletions(-)
919 commit 4c8de6d99d337338d6fd57134247515f9815b5e5
920 Author: Chris Wilson <chris@chris-wilson.co.uk>
921 Date: Tue Oct 21 11:21:37 2008 +0100
923 [test/surface-pattern-scale-up] Propagate errors.
925 Use cairo_get_target() to propagate errors from the secondary context.
927 test/surface-pattern-scale-up.c | 7 ++++---
928 1 files changed, 4 insertions(+), 3 deletions(-)
930 commit e8de7d1c3605fa6d89640fb4e0631c07e5366348
931 Author: Chris Wilson <chris@chris-wilson.co.uk>
932 Date: Tue Oct 21 11:20:54 2008 +0100
934 [test/surface-pattern-scale-down] Propagate errors.
936 Use cairo_get_target() to propagate errors from the secondary context.
938 test/surface-pattern-scale-down.c | 7 ++++---
939 1 files changed, 4 insertions(+), 3 deletions(-)
941 commit b5551cfce2969358746dadae90cbe1add012e29c
942 Author: Chris Wilson <chris@chris-wilson.co.uk>
943 Date: Tue Oct 21 11:19:40 2008 +0100
945 [test/rotate-image-surface-paint] Proapgate errors.
947 Use cairo_get_target() to propagate errors from the secondary context.
949 test/rotate-image-surface-paint.c | 7 ++++---
950 1 files changed, 4 insertions(+), 3 deletions(-)
952 commit 6d41ffbbed2ad3bab2b1a58e1e5d9e1570a37926
953 Author: Chris Wilson <chris@chris-wilson.co.uk>
954 Date: Tue Oct 21 11:18:37 2008 +0100
956 [test/pixman-rotate] Propagate errors
958 Use cairo_get_target() to propagate errors from the secondary context.
960 test/pixman-rotate.c | 33 ++++++++++++++++-----------------
961 1 files changed, 16 insertions(+), 17 deletions(-)
963 commit 64949b81735ee4e43772224d10031f7edfbc8068
964 Author: Chris Wilson <chris@chris-wilson.co.uk>
965 Date: Tue Oct 21 11:17:13 2008 +0100
967 [test/operator-source] Propagate errors.
969 Use cairo_get_target() to propagate errors from the secondary context.
971 test/operator-source.c | 12 ++++--------
972 1 files changed, 4 insertions(+), 8 deletions(-)
974 commit 971f030b7dca7ce24e54d0465900e6984020345e
975 Author: Chris Wilson <chris@chris-wilson.co.uk>
976 Date: Tue Oct 21 11:27:17 2008 +0100
978 [test/operator-clear] Propagate errors.
980 Use cairo_get_target() to propagate errors from secondary contexts.
982 test/operator-clear.c | 6 ++----
983 1 files changed, 2 insertions(+), 4 deletions(-)
985 commit 9b919b0e91b6c64acbcbfc05c72610188327be67
986 Author: Chris Wilson <chris@chris-wilson.co.uk>
987 Date: Tue Oct 21 11:14:51 2008 +0100
989 [test/extend-pad] Propagate errors.
991 Use cairo_get_target() to propagate errors from the secondary context.
993 test/extend-pad.c | 7 ++++---
994 1 files changed, 4 insertions(+), 3 deletions(-)
996 commit 69415b4fc6387acda7498847f8181c802c8b0982
997 Author: Chris Wilson <chris@chris-wilson.co.uk>
998 Date: Tue Oct 21 11:25:38 2008 +0100
1000 [test/device-offset-scale] Propagate errors
1002 Use cairo_get_target() to propagate errors from the secondary contexts.
1004 test/device-offset-scale.c | 14 +++++++-------
1005 1 files changed, 7 insertions(+), 7 deletions(-)
1007 commit 9ab296123ef49259a67e8dc43708023da2759283
1008 Author: Chris Wilson <chris@chris-wilson.co.uk>
1009 Date: Tue Oct 21 11:14:01 2008 +0100
1011 [test/device-offset-positive] Propagate errors.
1013 Use cairo_get_target() to propagate errors from the secondary context.
1015 test/device-offset-positive.c | 12 +++++-------
1016 1 files changed, 5 insertions(+), 7 deletions(-)
1018 commit 594fa0836f2526e0a7f44fc7184f7f09de7dd41f
1019 Author: Chris Wilson <chris@chris-wilson.co.uk>
1020 Date: Tue Oct 21 11:12:11 2008 +0100
1022 [test/device-offset] Propagate error.
1024 Use cairo_get_target() to propagate errors from the secondary context.
1026 test/device-offset.c | 6 +++---
1027 1 files changed, 3 insertions(+), 3 deletions(-)
1029 commit 29da47be60b0373ff93769f9f373a20b15a01e0f
1030 Author: Chris Wilson <chris@chris-wilson.co.uk>
1031 Date: Tue Oct 21 10:42:41 2008 +0100
1033 [ps] Check for an empty font subset.
1035 Return early before trying to emit an empty subset into the document -
1036 avoids a potential use of an uninitialised status variable.
1038 src/cairo-ps-surface.c | 3 +++
1039 1 files changed, 3 insertions(+), 0 deletions(-)
1041 commit fd1f3c27e093b1f51f0c1a381cc02cbf8f9889d7
1042 Author: Chris Wilson <chris@chris-wilson.co.uk>
1043 Date: Tue Oct 21 09:17:56 2008 +0100
1045 [configure] Check for atomic xchg.
1047 Bug 18140 identifies a case where we have an atomic increment, but not an
1048 atomic exchange. We need both to implement atomic reference counting, so
1049 add a second check to detect whether __sync_val_compare_and_swap
1050 generates a non-atomic instruction.
1052 Fixes http://bugs.freedesktop.org/show_bug.cgi?id=18140.
1054 build/aclocal.cairo.m4 | 5 ++++-
1055 1 files changed, 4 insertions(+), 1 deletions(-)
1057 commit 71e4f7e3a10e6c9794360473d0114b27b42bcead
1058 Author: Chris Wilson <chris@chris-wilson.co.uk>
1059 Date: Mon Oct 20 23:54:57 2008 +0100
1061 Add API documentation for NULL filenames and write_funcs.
1063 Mention in the API docs that you can pass a NULL filename to
1064 cairo_(pdf|ps|svg)_surface_create in order to construct a queryable
1065 surface without generating any temporary files. Similarly when passing a
1066 NULL write_func to cairo_pdf_surface_create_for_stream et al.
1068 src/cairo-pdf-surface.c | 10 ++++++++--
1069 src/cairo-ps-surface.c | 10 ++++++++--
1070 src/cairo-svg-surface.c | 10 ++++++++--
1071 3 files changed, 24 insertions(+), 6 deletions(-)
1073 commit 6cb2b29434ffd5e718868d90e31cb050904b3ea7
1074 Author: Chris Wilson <chris@chris-wilson.co.uk>
1075 Date: Mon Oct 20 23:22:16 2008 +0100
1077 [mutex] s/HOLDS_MUTEX/MUTEX_IS_LOCKED/
1079 Behdad prefers the latter to keep a clean namespace.
1081 src/cairo-mutex-impl-private.h | 2 +-
1082 src/cairo-mutex-type-private.h | 4 ++--
1083 src/cairo-scaled-font.c | 18 +++++++++---------
1084 3 files changed, 12 insertions(+), 12 deletions(-)
1086 commit ae9d17c015867002895c8aa4e1c6dd1ef370dd20
1087 Author: Chris Wilson <chris@chris-wilson.co.uk>
1088 Date: Mon Oct 20 22:31:17 2008 +0100
1090 [directfb] Unbounded operators are unsupported.
1092 Currently the emulation of Porter-Duff operators does not correctly
1093 handle the unbounded operators.
1095 src/cairo-directfb-surface.c | 10 ++++++++++
1096 1 files changed, 10 insertions(+), 0 deletions(-)
1098 commit 1f35f31c4ee50dcc2f7c8616b9bbb5c45b4ed707
1099 Author: Chris Wilson <chris@chris-wilson.co.uk>
1100 Date: Mon Oct 20 22:14:41 2008 +0100
1102 [directfb] Fallback for SATURATE
1104 We're unable to satisfactorily emulate SATURATE using the src/dst blend
1105 modes, so fallback. (Might just be a bug in libdirectfb...)
1107 src/cairo-directfb-surface.c | 3 +++
1108 1 files changed, 3 insertions(+), 0 deletions(-)
1110 commit c7951c4a368baaeeadca4e2a18d3ad45225380a0
1111 Author: Chris Wilson <chris@chris-wilson.co.uk>
1112 Date: Mon Oct 20 22:04:58 2008 +0100
1114 [directfb] Perfom text fallback if emulating clip regions.
1116 Fallback if we have a clip that is not a simple region.
1118 src/cairo-directfb-surface.c | 14 ++++++++++++--
1119 1 files changed, 12 insertions(+), 2 deletions(-)
1121 commit 98933fd4b8579b68623a8212015769b058db43f5
1122 Author: Chris Wilson <chris@chris-wilson.co.uk>
1123 Date: Mon Oct 20 20:59:14 2008 +0100
1125 [directfb] When blitting check if we need the un-premultiplied color.
1127 When blitting whether we need to use the premultiplied color is dependent
1128 upon the destination surface capabilities.
1130 src/cairo-color.c | 3 ++
1131 src/cairo-directfb-surface.c | 75 ++++++++++++++++++++++++++++-------------
1132 2 files changed, 54 insertions(+), 24 deletions(-)
1134 commit 4af8aa5f4d31141a6a4ba914cc860aff5d342d5b
1135 Author: Chris Wilson <chris@chris-wilson.co.uk>
1136 Date: Mon Oct 20 20:15:12 2008 +0100
1138 [directfb] Apply clip to release_dest_image()
1140 We need to respect the current clip when copying the fallback image back to
1143 src/cairo-directfb-surface.c | 23 ++++++++++++++---------
1144 1 files changed, 14 insertions(+), 9 deletions(-)
1146 commit 0ba5085ba06fd1c0ff1ebc88111d4573675a2e17
1147 Author: Chris Wilson <chris@chris-wilson.co.uk>
1148 Date: Mon Oct 20 19:41:20 2008 +0100
1150 [directfb] Fix OBO in clip.
1152 DirectFB seems to use inclusive upper bounds.
1154 src/cairo-directfb-surface.c | 4 ++--
1155 1 files changed, 2 insertions(+), 2 deletions(-)
1157 commit 2743e84171fd2a548ac37b1fdd3611d319acded0
1158 Author: Chris Wilson <chris@chris-wilson.co.uk>
1159 Date: Mon Oct 20 19:32:21 2008 +0100
1161 [directfb] Force NEAREST.
1163 The current version of DirectFB does not support any filters, so set
1164 NEAREST on the source patterns so that we can fully optimize the pattern
1167 src/cairo-directfb-surface.c | 5 +++++
1168 1 files changed, 5 insertions(+), 0 deletions(-)
1170 commit f1669d31c0064b8ffbc7db2527fed85488fb305c
1171 Author: Chris Wilson <chris@chris-wilson.co.uk>
1172 Date: Mon Oct 20 19:03:33 2008 +0100
1174 [directfb] Track the empty clip rectangle.
1176 A region with no extents means everything should be clipped out, so we
1177 need an extra flag to disambiguate when we have 0 clip rectangles.
1179 src/cairo-directfb-surface.c | 6 +++++-
1180 1 files changed, 5 insertions(+), 1 deletions(-)
1182 commit ebe3048f9b74ff949795a807a7076ec756150ede
1183 Author: Chris Wilson <chris@chris-wilson.co.uk>
1184 Date: Mon Oct 20 18:59:03 2008 +0100
1186 [directfb] Cap the maximum surface size to use for the font cache.
1188 Fallback if we need to create a cache larger than the maximum usable
1191 src/cairo-directfb-surface.c | 10 +++++++---
1192 1 files changed, 7 insertions(+), 3 deletions(-)
1194 commit 6f35c2d13e4cb736634bf446d3b8ee38cc6a6b9b
1195 Author: Chris Wilson <chris@chris-wilson.co.uk>
1196 Date: Mon Oct 20 18:39:45 2008 +0100
1198 [directfb] Only use the pure BLIT for integer translations.
1200 If we have non-integer translation on a source pattern then we need to use
1201 STRECTHBLIT (the core takes care to optimize NEAREST patterns to integer
1202 translations so that this will only be used when interpolation is
1205 src/cairo-directfb-surface.c | 30 +++++++++++++++++++++++-------
1206 1 files changed, 23 insertions(+), 7 deletions(-)
1208 commit 55bb7087b0236fe27980efda829f7b72e047b316
1209 Author: Chris Wilson <chris@chris-wilson.co.uk>
1210 Date: Mon Oct 20 16:47:41 2008 +0100
1212 [directfb] Tweak _categorize_operation().
1214 Explicitly list the extend modes that are supported/unsupported and
1215 immediately check for an unsupported operation.
1217 src/cairo-directfb-surface.c | 37 +++++++++++++++++++++++++------------
1218 1 files changed, 25 insertions(+), 12 deletions(-)
1220 commit edb65213ec975e517165bc3b623f676a12917d0c
1221 Author: Chris Wilson <chris@chris-wilson.co.uk>
1222 Date: Mon Oct 20 16:46:08 2008 +0100
1224 [directfb] Support ROI cloning.
1226 Only clone the ROI in order to efficiently handle large sources.
1228 src/cairo-directfb-surface.c | 11 ++++-------
1229 1 files changed, 4 insertions(+), 7 deletions(-)
1231 commit 4006e49ac1e96a983346f97be97bfd850f247ab0
1232 Author: Chris Wilson <chris@chris-wilson.co.uk>
1233 Date: Mon Oct 20 16:45:06 2008 +0100
1235 [directfb] Rename backend structure.
1237 Use _cairo_directfb_surface_backend for consistency with other backends.
1239 src/cairo-directfb-surface.c | 37 ++++++++++++++++++++++++-------------
1240 1 files changed, 24 insertions(+), 13 deletions(-)
1242 commit 7e31ddbb08a6a7cf1db06c950c3768e54a5f4cfa
1243 Author: Chris Wilson <chris@chris-wilson.co.uk>
1244 Date: Mon Oct 20 13:04:20 2008 +0100
1246 [directfb] Whitespace.
1248 Trim lots of trailing whitespace and fix up according to CODING_STYLE.
1250 src/cairo-directfb-surface.c | 1478 +++++++++++++++++++++---------------------
1251 1 files changed, 733 insertions(+), 745 deletions(-)
1253 commit d49563280b80dd85275057b6442d2f4ece8d724c
1254 Author: Chris Wilson <chris@chris-wilson.co.uk>
1255 Date: Mon Oct 20 12:49:52 2008 +0100
1257 [directfb] Simplify return from _directfb_get_operator().
1259 Used only as a predicate, so simply return a boolean.
1261 src/cairo-directfb-surface.c | 138 +++++++++++++++++++++---------------------
1262 1 files changed, 68 insertions(+), 70 deletions(-)
1264 commit b17d0ded8cd42d84e97ca2c1fbd4aefedd570b8e
1265 Author: Chris Wilson <chris@chris-wilson.co.uk>
1266 Date: Mon Oct 20 12:48:02 2008 +0100
1268 [directfb] Use the solid pattern cache.
1270 The dfb backend recreated a solid color surface for every colour,
1271 completely bypassing the solid pattern cache.
1273 src/cairo-directfb-surface.c | 72 ++++++++++-------------------------------
1274 1 files changed, 18 insertions(+), 54 deletions(-)
1276 commit 786bea48df0dc6d76b2ad00409804a803fe2f4b6
1277 Author: Chris Wilson <chris@chris-wilson.co.uk>
1278 Date: Mon Oct 20 12:19:50 2008 +0100
1280 [boilerplate/directfb] Create ARGB surfaces on demand.
1282 Create an RGB or ARGB surface depending upon the content type of the test
1283 target, with the result that the directfb rgb24 target no longer
1284 unconditionally fails.
1286 boilerplate/cairo-boilerplate-directfb.c | 23 +++++++++++++----------
1287 1 files changed, 13 insertions(+), 10 deletions(-)
1289 commit 4ba9ccc6ab5926d59696f86193f42df2195d7cda
1290 Author: Chris Wilson <chris@chris-wilson.co.uk>
1291 Date: Mon Oct 20 23:07:38 2008 +0100
1293 [configure.ac.analysis] s/safe/_save/
1295 Rename the temporary variable in line with the convention used by the rest
1296 of the build system.
1298 build/configure.ac.analysis | 8 ++++----
1299 1 files changed, 4 insertions(+), 4 deletions(-)
1301 commit 3a45b07af9743a26305c2576f838b4f3ef83bbb8
1302 Author: Chris Wilson <chris@chris-wilson.co.uk>
1303 Date: Mon Oct 20 10:37:46 2008 +0100
1305 [perf] Free images for composite-checker
1307 Fix memleak of the image surfaces.
1309 perf/composite-checker.c | 3 ++-
1310 1 files changed, 2 insertions(+), 1 deletions(-)
1312 commit 86356a9578dc248a755aceb7a04aef67a6c529b3
1313 Author: Chris Wilson <chris@chris-wilson.co.uk>
1314 Date: Mon Oct 20 17:12:21 2008 +0100
1316 [test] Add degenerate-dash to XFAIL.
1318 PS (ghostscript) interprets the degenerate end-caps quite differently, and
1319 perhaps slightly more rationally... Add this to XFAIL, until we have a
1320 definitive specification on how we should behave.
1322 test/Makefile.am | 4 ++++
1323 1 files changed, 4 insertions(+), 0 deletions(-)
1325 commit 83d2552e4cafc9f86a8055abdf6caa685ed4922b
1326 Author: Behdad Esfahbod <behdad@behdad.org>
1327 Date: Mon Oct 20 17:59:09 2008 -0400
1329 Remove CAIRO_BEGIN_DECLS uses that ickle introduced while merging
1331 src/cairo-mutex-impl-private.h | 2 --
1332 src/cairo-mutex-type-private.h | 2 --
1333 2 files changed, 0 insertions(+), 4 deletions(-)
1335 commit eab37f76b0f26a7b007dd51debf4d4901310c8b0
1336 Author: Chris Wilson <chris@chris-wilson.co.uk>
1337 Date: Sun Oct 19 22:12:18 2008 +0100
1339 [directfb] Return an error surface on create() failure.
1341 Do not return NULL but an NO_MEMORY error surface if we fail to allocate
1342 the surface during creation.
1344 src/cairo-directfb-surface.c | 21 ++++++++++-----------
1345 1 files changed, 10 insertions(+), 11 deletions(-)
1347 commit 6a02f53dd191605986b15e4757b16f599fe8de5f
1348 Author: Chris Wilson <chris@chris-wilson.co.uk>
1349 Date: Sun Oct 19 14:21:15 2008 +0100
1351 [directfb] Simplifiy ADD_TRI
1353 Simplify the ADD_TRI macro to make the code more readable.
1355 src/cairo-directfb-surface.c | 30 +++++++++++++-----------------
1356 1 files changed, 13 insertions(+), 17 deletions(-)
1358 commit aba457fe64f12598043b11ae076f0a93fe05eba7
1359 Author: Chris Wilson <chris@chris-wilson.co.uk>
1360 Date: Sun Oct 19 14:03:24 2008 +0100
1362 [directfb] Add missing error status
1364 We jumped to the ERROR path without setting an error status - assume
1367 src/cairo-directfb-surface.c | 1 +
1368 1 files changed, 1 insertions(+), 0 deletions(-)
1370 commit 610451e4a7b079d30a73384a76f0aaab250c2970
1371 Author: Chris Wilson <chris@chris-wilson.co.uk>
1372 Date: Sun Oct 19 12:45:45 2008 +0100
1374 [directfb] Correct fixed-to-double conversion.
1376 The trapezoid calculations had not been updated after the 16.16->24.8
1377 switch. Use _cairo_fixed_to_double() rather than open-coding.
1379 src/cairo-directfb-surface.c | 110 ++++++++++++++++++++---------------------
1380 1 files changed, 54 insertions(+), 56 deletions(-)
1382 commit 8e0950ced8837a35b9dc0254860250f9fa1a9613
1383 Author: Chris Wilson <chris@chris-wilson.co.uk>
1384 Date: Sun Oct 19 12:11:13 2008 +0100
1386 [boilerplate/directfb] Gracefully handle failure to create surface.
1388 Simply return NULL indicating failure to create the target surface rather
1389 than aborting the test (allowing other targets to be tested).
1391 boilerplate/cairo-boilerplate-directfb.c | 230 +++++++++++++++++-------------
1392 1 files changed, 130 insertions(+), 100 deletions(-)
1394 commit 801df1b87a585ebf71e6d3d74b815f3470b81ae9
1395 Author: Chris Wilson <chris@chris-wilson.co.uk>
1396 Date: Sun Oct 19 11:55:20 2008 +0100
1398 [directfb] Fix error propagation from surface_create()
1400 Do not mask fatal errors, but correctly propagate the error status.
1402 src/cairo-directfb-surface.c | 208 +++++++++++++++++++++++-------------------
1403 1 files changed, 114 insertions(+), 94 deletions(-)
1405 commit 476d17fa788fcf173e58b963540c6557f846ceed
1406 Author: Chris Wilson <chris@chris-wilson.co.uk>
1407 Date: Sun Oct 19 11:35:27 2008 +0100
1409 [directfb] Compile fix.
1411 Fixup compilation after 901f0b.
1413 src/cairo-directfb-surface.c | 4 ++--
1414 1 files changed, 2 insertions(+), 2 deletions(-)
1416 commit d72969289db62b38ca024a41c0d8e0df480e7f8c
1417 Author: Chris Wilson <chris@chris-wilson.co.uk>
1418 Date: Sun Oct 19 09:47:33 2008 +0100
1420 [image] Remove unused variable.
1422 Cleanup the compiler warning for the unused status after code shuffling.
1424 src/cairo-image-surface.c | 1 -
1425 1 files changed, 0 insertions(+), 1 deletions(-)
1427 commit f2ff7944264c23cbec856be3e85f240a93184f80
1428 Author: Chris Wilson <chris@chris-wilson.co.uk>
1429 Date: Thu Oct 16 11:56:19 2008 +0100
1431 [perf] A crude tool to visualise performance changes across a series.
1433 Generate a cairo-perf-diff graph for a series of commits in order to be
1434 able to identify significant commits. Still very crude, but minimally
1438 perf/.gitignore | 1 +
1439 perf/Makefile.am | 26 ++-
1440 perf/Makefile.win32 | 6 +-
1441 perf/cairo-perf-diff | 12 +-
1442 perf/cairo-perf-diff-files.c | 458 -------------------------------
1443 perf/cairo-perf-graph | 205 ++++++++++++++
1444 perf/cairo-perf-graph-files.c | 593 ++++++++++++++++++++++++++++++++++++++++
1445 perf/cairo-perf-graph-widget.c | 450 ++++++++++++++++++++++++++++++
1446 perf/cairo-perf-graph.h | 63 +++++
1447 perf/cairo-perf-report.c | 456 ++++++++++++++++++++++++++++++
1448 perf/cairo-perf.c | 1 +
1449 perf/cairo-perf.h | 61 ++++-
1450 perf/cairo-stats.h | 8 -
1451 14 files changed, 1865 insertions(+), 478 deletions(-)
1453 commit 41c8eefc6d432ab213f6f405c3d6346adb7f7931
1454 Author: Chris Wilson <chris@chris-wilson.co.uk>
1455 Date: Wed Oct 15 22:24:32 2008 +0100
1457 [output-stream] Protect against NULL write_func.
1459 Allow the user to specify a NULL write_func for the output stream so that
1460 a dummy surface can be created, for example, for querying target font
1461 options or font extents.
1463 Currently we do not perform any sanity checks at the user entry point and
1464 will generate a mysterious SEGV during cairo_surface_finish() - which may
1465 not immediately be obvious that it is due to a NULL write_func.
1467 src/cairo-output-stream.c | 3 +++
1468 1 files changed, 3 insertions(+), 0 deletions(-)
1470 commit 84e4a825fffe3d78e95dec3406a86da6a23144c2
1471 Author: Chris Wilson <chris@chris-wilson.co.uk>
1472 Date: Wed Oct 15 22:15:17 2008 +0100
1474 [output-stream] Accept a NULL filename
1476 Principally to support creating a dummy vector surface (i.e.
1477 cairo_ps_surface_create (NULL, 1, 1)) that can be used to determine font
1478 extents (or target font options) before opening an output file, but also
1479 because we currently fail to do any sanity checking at the entry point.
1481 src/cairo-output-stream.c | 3 +++
1482 1 files changed, 3 insertions(+), 0 deletions(-)
1484 commit 52ea38f97b1b90e395c667619770482b10e5672e
1485 Author: Chris Wilson <chris@chris-wilson.co.uk>
1486 Date: Sat Oct 18 00:44:29 2008 +0100
1488 [meta] Acquire scaled_font mutex for glyph_path().
1490 The caller of _cairo_scaled_font_glyph_path() is expected to be holding
1491 the scaled_font->mutex.
1493 src/cairo-meta-surface.c | 2 ++
1494 1 files changed, 2 insertions(+), 0 deletions(-)
1496 commit 299ea0580a646dc55fd0156f1904fe4b45ec5725
1497 Author: Chris Wilson <chris@chris-wilson.co.uk>
1498 Date: Sat Oct 18 00:37:38 2008 +0100
1500 [user-font] Review locks under error conditions.
1502 Simplify the error handling by only relinquishing the global
1503 scaled_font_map mutex if we successfully insert the placeholder font. The
1504 result is that on the error path, there are no changes to global state and
1505 thus we can entirely skip the user-font initialisation and
1508 src/cairo-scaled-font.c | 44 ++++++++++++++++++++++----------------------
1509 src/cairo-user-font.c | 39 +++++++++++++++++++++++----------------
1510 src/cairoint.h | 2 +-
1511 3 files changed, 46 insertions(+), 39 deletions(-)
1513 commit c76a8481f372fab8981231b257fdcc69466263d2
1514 Author: Chris Wilson <chris@chris-wilson.co.uk>
1515 Date: Sat Oct 18 00:36:34 2008 +0100
1517 [analysis] Check for error surfaces.
1519 If the target surface is an error surface, ensure that we return the
1520 appropriate error surface. Likewise, avoid writing to error surfaces.
1522 src/cairo-analysis-surface.c | 16 +++++++++++++---
1523 1 files changed, 13 insertions(+), 3 deletions(-)
1525 commit 5b28b0b903cb2fdb8a5614659d528bf12488389e
1526 Author: Chris Wilson <chris@chris-wilson.co.uk>
1527 Date: Sat Oct 18 00:35:48 2008 +0100
1529 [ps] Destroy type3 surface on error.
1531 After an error, ensure that the local type3 surface is destroyed.
1533 src/cairo-ps-surface.c | 4 +++-
1534 1 files changed, 3 insertions(+), 1 deletions(-)
1536 commit 6b17c6da47c42dd04ed2acad723c25b6da41b51c
1537 Author: Chris Wilson <chris@chris-wilson.co.uk>
1538 Date: Sat Oct 18 00:34:17 2008 +0100
1540 [type3] Acquire scaled_font mutex whilst looking up glyphs.
1542 When looking up the glyph in the shared scaled_font glyph cache, the
1543 caller is required to have taken the scaled_font->mutex.
1545 src/cairo-type3-glyph-surface.c | 50 +++++++++++++++++++++++---------------
1546 1 files changed, 30 insertions(+), 20 deletions(-)
1548 commit f56cf93181e73b4ba74f25ce14f7ed6c7cf36e83
1549 Author: Chris Wilson <chris@chris-wilson.co.uk>
1550 Date: Fri Oct 17 22:13:53 2008 +0100
1552 [user-font] Check for error objects.
1554 Check that the user has not passed in an inert error object before any
1555 attempts to write to it and return the default values.
1557 src/cairo-user-font.c | 71 ++++++++++++++++++++++++++++++++++++++++--------
1558 1 files changed, 59 insertions(+), 12 deletions(-)
1560 commit 1f9f9d936b296dbe796b1436c7da7fa3462f7d59
1561 Author: Chris Wilson <chris@chris-wilson.co.uk>
1562 Date: Fri Oct 17 15:39:56 2008 +0100
1564 [pdf] Acquire scaled_font mutex for show_text_glyphs().
1566 We need to be holding the scaled font mutex over a call to draw text
1567 glyphs from within an smask group.
1569 src/cairo-pdf-surface.c | 2 ++
1570 1 files changed, 2 insertions(+), 0 deletions(-)
1572 commit 12fb8c9b7c808ab20bee466aa28ee368559fd902
1573 Author: Chris Wilson <chris@chris-wilson.co.uk>
1574 Date: Fri Oct 17 15:33:07 2008 +0100
1576 [type1] Acquire scaled_font mutex.
1578 In order to perform glyph lookups we need to be holding the mutex for the
1581 src/cairo-type1-fallback.c | 2 ++
1582 1 files changed, 2 insertions(+), 0 deletions(-)
1584 commit ca5f868a73b35eda737ae6596efff91f82eeea75
1585 Author: Chris Wilson <chris@chris-wilson.co.uk>
1586 Date: Fri Oct 17 15:26:20 2008 +0100
1588 [scaled-font] Zero font extents for an error surface.
1590 Do not attempt to read from the error object, but just return zero
1593 src/cairo-scaled-font.c | 13 ++++++++++++-
1594 1 files changed, 12 insertions(+), 1 deletions(-)
1596 commit 1ddf0b2a5c1f3d20b9a91acf7aae021f6b738485
1597 Author: Chris Wilson <chris@chris-wilson.co.uk>
1598 Date: Fri Oct 17 10:35:38 2008 +0100
1600 [surface] Reorder asserts to make no assumptions about error objects.
1602 If the surface is in error, then we cannot assume anything about the
1603 validity of its contents other than the error status (and reference
1604 count). This is for the cases were the surface is replaced by a nil
1605 surface, and in future where the error surface may be replaced by a tiny
1608 src/cairo-surface.c | 94 +++++++++++++++++++++++++-------------------------
1609 1 files changed, 47 insertions(+), 47 deletions(-)
1611 commit 644e78ca4e6f72499fcf763acd53fa7235b0226d
1612 Author: Chris Wilson <chris@chris-wilson.co.uk>
1613 Date: Thu Oct 16 20:34:13 2008 +0100
1615 [svg] Lock the scaled_font whilst emitting glyphs.
1617 We need to hold the scaled_font mutex whilst looking upon glyphs so lock
1618 the font whilst iterating over the font subset.
1620 src/cairo-svg-surface.c | 2 ++
1621 1 files changed, 2 insertions(+), 0 deletions(-)
1623 commit 4587e9e4f5c46656108b05f7a4841f78df14de26
1624 Author: Chris Wilson <chris@chris-wilson.co.uk>
1625 Date: Thu Oct 16 19:11:09 2008 +0100
1627 [scaled-font-subsets] Add locking to unscaled font.
1629 During map_glyph() we are passed a locked scaled_font for which we are
1630 asked to add a glyph from that font into the active subsets for the
1631 surface. This means that we eventually call scaled_glyph_lookup() to load
1632 the glyph. But first, we attempt to find an existing an existing sub_font
1633 for glyph, creating a new sub_font as necessary (possibly using an
1634 entirely different unhinted scaled font). So before accessing the glyph
1635 cache we need to make sure that we are holding the appropriate mutexes.
1637 src/cairo-scaled-font-subsets.c | 23 +++++++++++++++++------
1638 1 files changed, 17 insertions(+), 6 deletions(-)
1640 commit d3a6651237a276c410885578c41fb505f83372ed
1641 Author: Chris Wilson <chris@chris-wilson.co.uk>
1642 Date: Thu Oct 16 14:37:42 2008 +0100
1644 [xlib] Set return code after failing to allocate glyph surface.
1646 Although we checked for an allocation error, we missed propagating the
1647 status to the return error code.
1649 src/cairo-xlib-surface.c | 8 +++++---
1650 1 files changed, 5 insertions(+), 3 deletions(-)
1652 commit bfc3a72cff1a3f9641dae7c9f121598a14eb9a5a
1653 Author: Chris Wilson <chris@chris-wilson.co.uk>
1654 Date: Thu Oct 16 14:06:03 2008 +0100
1656 [gstate] Propagate error from clip.
1658 During clip transformation we query the clip extents which can trigger a
1659 fatal error. Check and propagate.
1661 src/cairo-gstate.c | 33 +++++++++++++++++++++++----------
1662 1 files changed, 23 insertions(+), 10 deletions(-)
1664 commit 7975cf3f2c0bc28b8b3c916d5ba725abb38b300d
1665 Author: Chris Wilson <chris@chris-wilson.co.uk>
1666 Date: Thu Oct 16 13:21:28 2008 +0100
1668 [paginated] Free local reference to target on error path.
1670 On the error path we must destroy the local reference to the target
1673 src/cairo-paginated-surface.c | 1 +
1674 1 files changed, 1 insertions(+), 0 deletions(-)
1676 commit 4662204a2a02d50e674f121d82bbb4fe1b8f1436
1677 Author: Chris Wilson <chris@chris-wilson.co.uk>
1678 Date: Thu Oct 16 12:44:45 2008 +0100
1680 [test-paginated] Fix double free of surface along error path.
1682 The ownership of the surface is transferred to the paginated surface, so
1683 we do not need to destroy it ourselves along the error path.
1685 src/test-paginated-surface.c | 16 +++++++++-------
1686 1 files changed, 9 insertions(+), 7 deletions(-)
1688 commit bf3202fcfd281be3fa62c2d6719377a8f2a0dec4
1689 Author: Chris Wilson <chris@chris-wilson.co.uk>
1690 Date: Thu Oct 16 12:33:22 2008 +0100
1692 [xlib] Fix double free of Pixmap along error path.
1694 If the paint fails then we attempt to free the Pixmap ourselves and via
1695 the cairo_surface_destroy (as it also believes that it owns the Pixmap).
1697 src/cairo-xlib-surface.c | 16 ++++++++++------
1698 1 files changed, 10 insertions(+), 6 deletions(-)
1700 commit 901f0b540c764e131dd9745def329308af61b3d5
1701 Author: Chris Wilson <chris@chris-wilson.co.uk>
1702 Date: Thu Oct 16 12:19:09 2008 +0100
1704 Review backend->create_similar()
1706 Avoid masking fatal errors by enforcing any error to be returned via an
1707 error surface, so that the NULL return only means UNSUPPORTED. A few
1708 backends called their create_similar() directly, without correctly checking
1709 for a potential NULL (for example, the directfb backend was a timebomb,
1710 since it used NULL to indicate out-of-memory).
1712 src/cairo-directfb-surface.c | 18 ++++++++++--------
1713 src/cairo-glitz-surface.c | 17 +++++++++++------
1714 src/cairo-quartz-surface.c | 4 ++--
1715 src/cairo-surface.c | 8 ++------
1716 src/cairo-win32-surface.c | 18 +++++++++++++-----
1717 src/cairo-xcb-surface.c | 2 ++
1718 6 files changed, 40 insertions(+), 27 deletions(-)
1720 commit 9529699028a5c7a3b0f81f945d25f26285247a11
1721 Author: Chris Wilson <chris@chris-wilson.co.uk>
1722 Date: Sun Oct 19 09:35:07 2008 +0100
1724 [test/user-font-rescale] Check and propagate errors.
1726 We need to check the error status on set_user_data() to be sure that the
1727 data has been set and error otherwise.
1729 test/user-font-rescale.c | 63 +++++++++++++++++++++++++++++----------------
1730 1 files changed, 40 insertions(+), 23 deletions(-)
1732 commit 683de2fea2d8cdeea9759cbf3ab7492d634e7af2
1733 Author: Chris Wilson <chris@chris-wilson.co.uk>
1734 Date: Sat Oct 18 00:01:39 2008 +0100
1736 [test/user-font[-proxy]] Check for error from set_user_data().
1738 Check in case we fail to attach our user_data.
1740 test/user-font-proxy.c | 69 +++++++++++++++++++++++++++---------------------
1741 test/user-font.c | 24 +++++++++++++---
1742 2 files changed, 58 insertions(+), 35 deletions(-)
1744 commit 198392990082e01443bbda5c0cbe6dc8bf090baf
1745 Author: Chris Wilson <chris@chris-wilson.co.uk>
1746 Date: Fri Oct 17 22:14:49 2008 +0100
1748 [test/bitmap] Leak on error path.
1750 Free the FcPattern on error.
1752 test/bitmap-font.c | 8 ++++++++
1753 1 files changed, 8 insertions(+), 0 deletions(-)
1755 commit 0409be426cb7f67974346a93213dd4675b59776c
1756 Author: Chris Wilson <chris@chris-wilson.co.uk>
1757 Date: Thu Oct 16 14:26:15 2008 +0100
1759 [test/font-matrix-translation] Check for OOM
1761 First check that querying the extents did not trigger NO_MEMORY.
1763 test/font-matrix-translation.c | 5 +++++
1764 1 files changed, 5 insertions(+), 0 deletions(-)
1766 commit 21360bf6748b30cf58d54561e40a1aa711d8d7af
1767 Author: Chris Wilson <chris@chris-wilson.co.uk>
1768 Date: Fri Oct 17 20:44:51 2008 +0100
1770 [test/source-surface-big-scaled-down] Propagate error.
1772 Propagate error to source.
1774 test/surface-pattern-big-scale-down.c | 43 +++++++++++++++++++-------------
1775 1 files changed, 25 insertions(+), 18 deletions(-)
1777 commit 794160c35baf39593942ba71b45e4e75d2a87103
1778 Author: Chris Wilson <chris@chris-wilson.co.uk>
1779 Date: Fri Oct 17 20:37:43 2008 +0100
1781 [test/surface-pattern] Propagate error.
1783 Use cairo_get_target() to propagate error from secondary context.
1785 test/surface-pattern.c | 7 ++++---
1786 1 files changed, 4 insertions(+), 3 deletions(-)
1788 commit 0f48cce8d90cf95afcf86d71a932ab4e504b909b
1789 Author: Chris Wilson <chris@chris-wilson.co.uk>
1790 Date: Fri Oct 17 20:31:57 2008 +0100
1792 [test/source-clip-scale] Propagate error.
1794 Use cairo_get_target() to propagate error from secondary context.
1796 test/source-clip-scale.c | 8 ++++----
1797 1 files changed, 4 insertions(+), 4 deletions(-)
1799 commit 6cdbd132ceba159bb7e3ac5612aa79293b21e95a
1800 Author: Chris Wilson <chris@chris-wilson.co.uk>
1801 Date: Fri Oct 17 20:22:49 2008 +0100
1803 [test/source-clip] Propagate error.
1805 Use cairo_get_target() to propagate error from the secondary context.
1807 test/source-clip.c | 4 ++--
1808 1 files changed, 2 insertions(+), 2 deletions(-)
1810 commit f86f233b3e49c3f401b2fa02987b2193485e8be5
1811 Author: Chris Wilson <chris@chris-wilson.co.uk>
1812 Date: Fri Oct 17 20:14:06 2008 +0100
1814 [test/smask] Propagate error.
1816 Use cairo_get_target() to propagate errors from the secondary context.
1818 test/smask.c | 6 +++---
1819 1 files changed, 3 insertions(+), 3 deletions(-)
1821 commit 4490a6c363a8745ba89bfa890519a570d098086e
1822 Author: Chris Wilson <chris@chris-wilson.co.uk>
1823 Date: Fri Oct 17 19:15:17 2008 +0100
1825 [test/stroke-image] Propagate error
1827 Use cairo_get_target() to propagate errors from the secondary context.
1829 test/stroke-image.c | 19 +++++++++++--------
1830 1 files changed, 11 insertions(+), 8 deletions(-)
1832 commit 6e6d7e52a3c16787633e5059ae36f2fb0d03148a
1833 Author: Chris Wilson <chris@chris-wilson.co.uk>
1834 Date: Fri Oct 17 19:02:31 2008 +0100
1836 [test/mask] Propagate error from secondary context.
1838 Reset the source every time so that the error is propagate from the
1839 secondary context using cairo_get_target().
1841 test/mask.c | 6 +-----
1842 1 files changed, 1 insertions(+), 5 deletions(-)
1844 commit a56d4530d6149e2c4fc884a5cfeede2d6ff6d3b6
1845 Author: Chris Wilson <chris@chris-wilson.co.uk>
1846 Date: Fri Oct 17 15:54:21 2008 +0100
1848 [test/smask-text] Propagate error.
1850 Use cairo_get_target() to propagate error from the secondary context.
1852 test/smask-text.c | 12 ++++++------
1853 1 files changed, 6 insertions(+), 6 deletions(-)
1855 commit b1e884cd89ab2b83d3b8e072414e4e3f63e3a023
1856 Author: Chris Wilson <chris@chris-wilson.co.uk>
1857 Date: Fri Oct 17 15:52:55 2008 +0100
1859 [test/smask-stroke] Propagate error.
1861 Use cairo_get_target() to propagate the error from the secondary context.
1863 test/smask-stroke.c | 13 ++++++-------
1864 1 files changed, 6 insertions(+), 7 deletions(-)
1866 commit 546fbc2c0cf87abd627477056bf19063c5aa001a
1867 Author: Chris Wilson <chris@chris-wilson.co.uk>
1868 Date: Fri Oct 17 15:50:25 2008 +0100
1870 [test/smask-paint] Propagate error.
1872 Use cairo_get_target() to propagate errors from the secondary context.
1874 test/smask-paint.c | 6 +++---
1875 1 files changed, 3 insertions(+), 3 deletions(-)
1877 commit 8bd69132827fa539d9dfb65bd00e00c079827360
1878 Author: Chris Wilson <chris@chris-wilson.co.uk>
1879 Date: Fri Oct 17 15:49:02 2008 +0100
1881 [test/smask-mask] Propagate error.
1883 Use cairo_get_target() to propagate errors from the secondary contexts.
1885 test/smask-mask.c | 46 ++++++++++++++++++++++------------------------
1886 1 files changed, 22 insertions(+), 24 deletions(-)
1888 commit 9c0fe6c61e92044e8599f49e75d38edcdd6be960
1889 Author: Chris Wilson <chris@chris-wilson.co.uk>
1890 Date: Fri Oct 17 15:45:07 2008 +0100
1892 [test/smask-image-mask] Propagate error.
1894 Use cairo_get_target() to propagate any error status from the secondary
1897 test/smask-image-mask.c | 12 ++++++------
1898 1 files changed, 6 insertions(+), 6 deletions(-)
1900 commit 373d6c76b65e826f81873b51461bdf3c30024c06
1901 Author: Chris Wilson <chris@chris-wilson.co.uk>
1902 Date: Fri Oct 17 15:43:26 2008 +0100
1904 [test/smask-fill] Propagate error status.
1906 Use cairo_get_target() to propagate the error from the secondary context.
1908 test/smask-fill.c | 13 ++++++-------
1909 1 files changed, 6 insertions(+), 7 deletions(-)
1911 commit bb05beaab626d2fca6d219bfd8148dde71073b39
1912 Author: Chris Wilson <chris@chris-wilson.co.uk>
1913 Date: Fri Oct 17 15:27:11 2008 +0100
1915 [test/show-glyphs-many] Check for NO_MEMORY
1917 As we do a manual status check, we need to perform a full check.
1919 test/show-glyphs-many.c | 11 ++++++-----
1920 1 files changed, 6 insertions(+), 5 deletions(-)
1922 commit c0a4ef76e17dfd43d248c13b7f0665da9b847316
1923 Author: Chris Wilson <chris@chris-wilson.co.uk>
1924 Date: Fri Oct 17 14:57:42 2008 +0100
1926 [test/composite-integer-translate-over-repeat] Propagate error.
1928 Use cairo_get_target() to propagate any errors from the secondary context.
1930 test/composite-integer-translate-over-repeat.c | 7 ++++---
1931 1 files changed, 4 insertions(+), 3 deletions(-)
1933 commit 4a9e0f0e5ba17a322bbf0f38b2fb418211571d48
1934 Author: Chris Wilson <chris@chris-wilson.co.uk>
1935 Date: Thu Oct 16 16:50:32 2008 +0100
1937 [test/mask] Propagate error from secondary context.
1939 Use cairo_get_target() to infect the primary context with any errors
1940 raised whilst drawing the mask.
1942 test/mask.c | 6 ++----
1943 1 files changed, 2 insertions(+), 4 deletions(-)
1945 commit eaec1caa94ac871eb881ac354c4442ddd2a308ea
1946 Author: Chris Wilson <chris@chris-wilson.co.uk>
1947 Date: Thu Oct 16 16:20:28 2008 +0100
1949 [test/ft-text-*] Check for errors from fontconfig.
1951 If a match cannot be found, or if any other error occured, then fontconfig
1952 will return NULL. Check and propagate.
1954 test/ft-text-antialias-none.c | 31 ++++++++++++++++++++++++++-----
1955 test/ft-text-vertical-layout-type1.c | 31 ++++++++++++++++++++++++++-----
1956 test/ft-text-vertical-layout-type3.c | 31 ++++++++++++++++++++++++++-----
1957 3 files changed, 78 insertions(+), 15 deletions(-)
1959 commit 336eddfdbb31865e3669ceb775089c63ce1db27f
1960 Author: Chris Wilson <chris@chris-wilson.co.uk>
1961 Date: Thu Oct 16 17:19:12 2008 +0100
1963 [test/get-clip] Check the status on the secondary context.
1965 As we solely use a secondary context, we must manually report NO_MEMORY
1966 errors whilst running under memfault.
1968 test/cairo-test.c | 14 +++++++-
1969 test/cairo-test.h | 4 ++
1970 test/get-clip.c | 98 +++++++++++++++++++++++++++--------------------------
1971 3 files changed, 67 insertions(+), 49 deletions(-)
1973 commit d48f9340514c258cfece1b72d2f7e3f7b2d3c7b1
1974 Author: Chris Wilson <chris@chris-wilson.co.uk>
1975 Date: Thu Oct 16 14:05:14 2008 +0100
1977 [test/clip-operator] Propagate error from secondary context.
1979 Use the cairo_get_target() to propagate any errors from the secondary
1982 test/clip-operator.c | 6 ++----
1983 1 files changed, 2 insertions(+), 4 deletions(-)
1985 commit d11014386f739f43ec5f290714d7c51cc638f172
1986 Author: Chris Wilson <chris@chris-wilson.co.uk>
1987 Date: Fri Oct 5 13:37:07 2007 +0100
1989 Add support for lockdep.
1991 lockdep is a valgrind skin which performs pthread locking correctness
1992 validation. In particular it allows one to write assert(HOLDS_LOCK(mutex))
1993 which both documents the preconditions for a function and enforces them
1994 when the program is run under lockdep.
1996 As an aide to lockdep (as it works by intercepting the pthread functions),
1997 all the mutexes should be initialised and destroyed using
1998 pthread_mutex_init() and pthread_mutex_destroy() rather than using static
1999 initializers and no-ops.
2001 src/cairo-mutex-impl-private.h | 14 ++++++++++++++
2002 src/cairo-mutex-type-private.h | 6 +++++-
2003 src/cairo-scaled-font.c | 13 +++++++++++++
2004 3 files changed, 32 insertions(+), 1 deletions(-)
2006 commit bccfdf7d93c2a92a342127fc212770f4053cb2cf
2007 Author: Chris Wilson <chris@chris-wilson.co.uk>
2008 Date: Thu Oct 16 13:47:27 2008 +0100
2010 [test] Add support for memfault.
2012 Add the core support to cairo-test for running the test-suite under a
2013 malloc fault injector. This commit contains the adjustments to
2014 cairo_test_run() to repeat the test if it detects a failure due to fault
2015 injection and complains if it detects unreported faults or memory leaks.
2017 build/configure.ac.analysis | 17 +++
2018 test/cairo-test.c | 271 +++++++++++++++++++++++++++++++++---------
2019 test/cairo-test.h | 10 ++-
2020 3 files changed, 239 insertions(+), 59 deletions(-)
2022 commit 974fabfe059f9744116d20fd9f8b59f1b8c34b70
2023 Author: Chris Wilson <chris@chris-wilson.co.uk>
2024 Date: Fri Oct 17 18:52:51 2008 +0100
2026 [ft] Add more comments about FT_Face lifetime issues.
2028 Currently we only have an example of how to call FT_Done after the last
2029 reference to the FT cairo_font_face_t has been dropped, but do not
2030 actually explain why this needs to be done. So add a couple of sentences
2031 to clarify the likely lifetime of the FT_Face once exposed to cairo.
2033 src/cairo-ft-font.c | 10 +++++++---
2034 1 files changed, 7 insertions(+), 3 deletions(-)
2036 commit 5fcfc7ebc9a2d1d947898d269be7ba91d27c5261
2037 Author: Chris Wilson <chris@chris-wilson.co.uk>
2038 Date: Thu Oct 16 17:13:45 2008 +0100
2040 [test/README] Document all fonts used.
2042 Do a little leg-work to answer a query in a bug report and document the
2045 test/README | 9 +++++++--
2046 1 files changed, 7 insertions(+), 2 deletions(-)
2048 commit c1164a574d3e2cc4746384875d5c2781114c0ea4
2049 Author: Chris Wilson <chris@chris-wilson.co.uk>
2050 Date: Thu Oct 16 08:49:13 2008 +0100
2052 [type1] Add comment to warn about read() as macro.
2054 In case we are ever tempted to simplify the function pointer, warn that it
2055 may alias with a macro.
2057 src/cairo-type1-subset.c | 5 +++++
2058 1 files changed, 5 insertions(+), 0 deletions(-)
2060 commit ff9ee74b37a88cba2e996bf0cdae1af6b6c6fe30
2061 Author: Adrian Johnson <ajohnson@redneon.com>
2062 Date: Thu Oct 16 17:29:33 2008 +1030
2064 Revert unintended changes to test/fallback-resolution.c in the previous commit
2066 test/fallback-resolution.c | 2 +-
2067 1 files changed, 1 insertions(+), 1 deletions(-)
2069 commit 5911c6966de832fa350a6e9a4d587b7c3b3b4825
2070 Author: Adrian Johnson <ajohnson@redneon.com>
2071 Date: Thu Oct 16 17:22:48 2008 +1030
2073 Use correct inverse ctm for stroke in meta surface replay
2075 This fixes #9189 Dashed strokes too long in fallback images
2077 src/cairo-meta-surface.c | 2 +-
2078 test/fallback-resolution.c | 2 +-
2079 2 files changed, 2 insertions(+), 2 deletions(-)
2081 commit 6afcd821182137e8c3f128f9600e97cff79978b8
2082 Author: Chris Wilson <chris@chris-wilson.co.uk>
2083 Date: Wed Oct 15 22:41:26 2008 +0100
2085 [test] Add a spline test.
2087 Test the decomposition of 5 different types of spline curve. Useful test
2088 for future experiments in improving the decomposition algorithm.
2090 Note: the vector targets all need separate reference images due to their
2091 lack of support for cairo_set_tolerance(). Also GS strokes the Bezier
2092 curve differently using offset curves and opposed to transcribing the
2095 test/.gitignore | 1 +
2096 test/Makefile.am | 7 +
2097 test/spline-decomposition-pdf-ref.png | Bin 0 -> 20404 bytes
2098 test/spline-decomposition-ps2-ref.png | Bin 0 -> 8957 bytes
2099 test/spline-decomposition-ps3-ref.png | Bin 0 -> 8957 bytes
2100 test/spline-decomposition-ref.png | Bin 0 -> 20402 bytes
2101 test/spline-decomposition-svg11-ref.png | Bin 0 -> 20404 bytes
2102 test/spline-decomposition-svg12-ref.png | Bin 0 -> 20404 bytes
2103 test/spline-decomposition.c | 416 +++++++++++++++++++++++++++++++
2104 9 files changed, 424 insertions(+), 0 deletions(-)
2106 commit 91b0dc92c8ede189d942188f92068f189907e239
2107 Author: Chris Wilson <chris@chris-wilson.co.uk>
2108 Date: Wed Oct 15 22:27:53 2008 +0100
2110 [build] Add -fno-common.
2112 Generate a warning if two files define a global variable with the same
2113 name, instead of silently merging them to reference the same location.
2115 build/configure.ac.warnings | 2 +-
2116 1 files changed, 1 insertions(+), 1 deletions(-)
2118 commit b94b600b34793cecd9a66d37dd34a6619738e2c2
2119 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
2120 Date: Wed Oct 15 13:41:03 2008 -0400
2122 [quartz] Completely remove CAIRO_HAS_QUARTZ_IMAGE_SURFACE check
2124 Instead of fixing the check in d36b02dc662e623bee58a69c32b149a242cbf52b, just
2125 remove it. Conditionally compilation will keep cairo-quartz-image-surface.c
2126 from being compiled in when it is not configured to be. Suggested by Behdad.
2128 src/cairo-quartz-image-surface.c | 4 ----
2129 1 files changed, 0 insertions(+), 4 deletions(-)
2131 commit d36b02dc662e623bee58a69c32b149a242cbf52b
2132 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
2133 Date: Wed Oct 15 12:45:11 2008 -0400
2135 [quartz] Rebalance 'CAIRO_HAS_QUARTZ_IMAGE_SURFACE' #ifdef
2137 Fixes compilation by re-adding '#ifdef CAIRO_HAS_QUARTZ_IMAGE_SURFACE' which
2138 was, I assume, unintentionally removed by
2139 2cf4b3161c19b9b0349bd2aa94855fd0822968be.
2141 src/cairo-quartz-image-surface.c | 2 ++
2142 1 files changed, 2 insertions(+), 0 deletions(-)
2144 commit 83162360a44c4d4701f0ade2e2ee813f79186439
2145 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
2146 Date: Wed Oct 15 10:34:12 2008 -0400
2148 Fix quratz_image typo in Makefile.sources.
2150 src/Makefile.sources | 4 ++--
2151 1 files changed, 2 insertions(+), 2 deletions(-)
2153 commit 877e77fa3e85c09c29e64ca5ae7329346db029cc
2154 Author: Chris Wilson <chris@chris-wilson.co.uk>
2155 Date: Wed Oct 15 12:20:00 2008 +0100
2157 [glitz] Disable caching of solid surfaces.
2159 glitz currently has no mechanism to release resources upon connection
2160 closure (ala XCloseDisplay) and so will attempt invalid accesses when
2161 evicting old surfaces from the solid pattern cache.
2163 src/cairo-glitz-surface.c | 7 +++++++
2164 1 files changed, 7 insertions(+), 0 deletions(-)
2166 commit fc04a1e0dbc3cefa51c7602e0a23dba886813fe5
2167 Author: Chris Wilson <chris@chris-wilson.co.uk>
2168 Date: Wed Oct 15 12:13:40 2008 +0100
2170 [boilerplate] Fixup compilation for gliitz.
2172 Convert a few old references to cairo_boilerplate_surface_set_user_data.
2174 boilerplate/cairo-boilerplate-glitz.c | 12 ++++++------
2175 1 files changed, 6 insertions(+), 6 deletions(-)
2177 commit e17f02add019d9acf461a1ad1245ba5be00cf336
2178 Author: Chris Wilson <chris@chris-wilson.co.uk>
2179 Date: Wed Oct 15 10:52:33 2008 +0100
2181 [type1] Protect against read macro
2183 POSIX allows for any of its functions to be implemented as a macro,
2184 inflicting damage upon innocent function pointers that happen to share
2187 face->stream->read() is one such example.
2189 As it's outside of our control (being a FT_Face) we cannot simply rename
2190 the data member, so we need to explicitly dereference it as a function
2191 pointer in order to disambiguate it for the compiler.
2193 src/cairo-type1-subset.c | 8 ++++----
2194 1 files changed, 4 insertions(+), 4 deletions(-)
2196 commit bc872a5f5fb9b6318dc78d132da46a6b201f75c7
2197 Author: Chris Wilson <chris@chris-wilson.co.uk>
2198 Date: Wed Oct 15 10:21:05 2008 +0100
2200 [xlib] Handle 4,20,24,28 depth XImages
2202 Bug 9102 cairo doesn't support 24 bits per pixel mode on X11
2203 (https://bugs.freedesktop.org/show_bug.cgi?id=9102)
2204 is a reminder that that we need to support many obscure XImage formats.
2205 With Carl's and Behdad's work to support psuedocolor we have a mechanism
2206 in place to handle any format that is not natively handled by pixman. The
2207 only piece we were missing was extending the swapper to handle all-known
2208 formats and putting in defensive checks that pixels were correctly aligned
2209 in accordance with pixman's requirements.
2211 src/cairo-image-surface.c | 13 ++++----
2212 src/cairo-xlib-surface.c | 70 +++++++++++++++++++++++++++++++++++++-------
2213 src/cairoint.h | 2 +-
2214 3 files changed, 66 insertions(+), 19 deletions(-)
2216 commit 1728fa352011c570ce1bcc3bd14897e789c85252
2217 Author: Chris Wilson <chris@chris-wilson.co.uk>
2218 Date: Wed Oct 15 09:23:01 2008 +0100
2220 [svg] Add notes about why we shouldn't add DOCTYPE.
2222 Emmanuel Pacaud did some research into adding DOCTYPE after we had a
2223 complaint that our SVG output failed to be validated by batik. The
2224 conclusion he came to was that the validation of SVG was incomplete and
2225 misleading, i.e. our output might generate false negatives leading to more
2228 src/cairo-svg-surface.c | 22 ++++++++++++++++++++++
2229 1 files changed, 22 insertions(+), 0 deletions(-)
2231 commit e9f5ee6efe7725c1e0e32fa9e85cca61ecb93440
2232 Author: Chris Wilson <chris@chris-wilson.co.uk>
2233 Date: Tue Oct 14 14:42:48 2008 +0100
2235 [doc] Fix a few gtk-doc errors.
2237 gtk-doc insists on a non-empty long description, even for trivial
2238 functions that are fully described by their input arguments and return
2241 src/cairo-gstate.c | 4 ++++
2242 src/cairo-os2-surface.c | 2 ++
2243 src/cairo-scaled-font.c | 14 +++++++-------
2244 src/cairo-surface.c | 4 +++-
2245 src/cairo-unicode.c | 6 ++++--
2246 5 files changed, 20 insertions(+), 10 deletions(-)
2248 commit 595414bb787d570ac95fc91c58c370558e9d5a54
2249 Author: Chris Wilson <chris@chris-wilson.co.uk>
2250 Date: Tue Oct 14 14:24:49 2008 +0100
2252 [test/fallback-resolution] Extend to cover separate ppi x/y.
2254 Adrian Johnson proposed a hack that fixed the current test by simply
2255 scaling the dashed stroke by device_transform.xx. Obviously this exposes a
2256 deficiency in the test case. So add an outer loop to iterate over several
2257 common ppi for both x and y and in doing so reveal more ugly artifacts in
2258 the current fallback code.
2260 test/Makefile.am | 42 +++++-
2261 test/fallback-resolution-ppi150-ref.png | Bin 8043 -> 0 bytes
2262 test/fallback-resolution-ppi150x150-ref.png | Bin 0 -> 8043 bytes
2263 test/fallback-resolution-ppi150x300-ref.png | Bin 0 -> 6848 bytes
2264 test/fallback-resolution-ppi150x37.5-ref.png | Bin 0 -> 13176 bytes
2265 test/fallback-resolution-ppi150x600-ref.png | Bin 0 -> 6338 bytes
2266 test/fallback-resolution-ppi150x72-ref.png | Bin 0 -> 8370 bytes
2267 test/fallback-resolution-ppi150x75-ref.png | Bin 0 -> 10445 bytes
2268 test/fallback-resolution-ppi300-ref.png | Bin 5637 -> 0 bytes
2269 test/fallback-resolution-ppi300x150-ref.png | Bin 0 -> 6851 bytes
2270 test/fallback-resolution-ppi300x300-ref.png | Bin 0 -> 5637 bytes
2271 test/fallback-resolution-ppi300x37.5-ref.png | Bin 0 -> 12870 bytes
2272 test/fallback-resolution-ppi300x600-ref.png | Bin 0 -> 4848 bytes
2273 test/fallback-resolution-ppi300x72-ref.png | Bin 0 -> 7053 bytes
2274 test/fallback-resolution-ppi300x75-ref.png | Bin 0 -> 9617 bytes
2275 test/fallback-resolution-ppi37.5-ref.png | Bin 14098 -> 0 bytes
2276 test/fallback-resolution-ppi37.5x150-ref.png | Bin 0 -> 12728 bytes
2277 test/fallback-resolution-ppi37.5x300-ref.png | Bin 0 -> 11981 bytes
2278 test/fallback-resolution-ppi37.5x37.5-ref.png | Bin 0 -> 14098 bytes
2279 test/fallback-resolution-ppi37.5x600-ref.png | Bin 0 -> 11654 bytes
2280 test/fallback-resolution-ppi37.5x72-ref.png | Bin 0 -> 12990 bytes
2281 test/fallback-resolution-ppi37.5x75-ref.png | Bin 0 -> 13787 bytes
2282 test/fallback-resolution-ppi600-ref.png | Bin 4104 -> 0 bytes
2283 test/fallback-resolution-ppi600x150-ref.png | Bin 0 -> 6096 bytes
2284 test/fallback-resolution-ppi600x300-ref.png | Bin 0 -> 4812 bytes
2285 test/fallback-resolution-ppi600x37.5-ref.png | Bin 0 -> 12401 bytes
2286 test/fallback-resolution-ppi600x600-ref.png | Bin 0 -> 4104 bytes
2287 test/fallback-resolution-ppi600x72-ref.png | Bin 0 -> 6398 bytes
2288 test/fallback-resolution-ppi600x75-ref.png | Bin 0 -> 8974 bytes
2289 test/fallback-resolution-ppi72-ref.png | Bin 8409 -> 0 bytes
2290 test/fallback-resolution-ppi72x150-ref.png | Bin 0 -> 8069 bytes
2291 test/fallback-resolution-ppi72x300-ref.png | Bin 0 -> 6803 bytes
2292 test/fallback-resolution-ppi72x37.5-ref.png | Bin 0 -> 13147 bytes
2293 test/fallback-resolution-ppi72x600-ref.png | Bin 0 -> 6245 bytes
2294 test/fallback-resolution-ppi72x72-ref.png | Bin 0 -> 8409 bytes
2295 test/fallback-resolution-ppi72x75-ref.png | Bin 0 -> 10628 bytes
2296 test/fallback-resolution-ppi75-ref.png | Bin 12101 -> 0 bytes
2297 test/fallback-resolution-ppi75x150-ref.png | Bin 0 -> 9940 bytes
2298 test/fallback-resolution-ppi75x300-ref.png | Bin 0 -> 9003 bytes
2299 test/fallback-resolution-ppi75x37.5-ref.png | Bin 0 -> 14020 bytes
2300 test/fallback-resolution-ppi75x600-ref.png | Bin 0 -> 8455 bytes
2301 test/fallback-resolution-ppi75x72-ref.png | Bin 0 -> 10202 bytes
2302 test/fallback-resolution-ppi75x75-ref.png | Bin 0 -> 12101 bytes
2303 test/fallback-resolution.c | 199 +++++++++++++------------
2304 44 files changed, 139 insertions(+), 102 deletions(-)
2306 commit 0d3e152d2fe28b22a27dd6b9f82e2047aea3be94
2307 Author: Chris Wilson <chris@chris-wilson.co.uk>
2308 Date: Tue Oct 14 13:44:47 2008 +0100
2310 [check-doc-syntax.sh] Allow quoting.
2312 func_regexp was incorrectly complaining that cairo_pure was a function without
2313 parenthesis. The simplest solution appeared to be allow quoting of
2316 src/cairo-compiler-private.h | 22 +++++++++++-----------
2317 src/check-doc-syntax.sh | 6 +++---
2318 2 files changed, 14 insertions(+), 14 deletions(-)
2320 commit 02a7ca80f9f9b62deff6c8ba4dc58fee0cebcaa6
2321 Author: Chris Wilson <chris@chris-wilson.co.uk>
2322 Date: Tue Oct 14 11:08:43 2008 +0100
2324 [pattern] Correctly optimize away fractional translations.
2326 As is so often the case, reading the commit log gives you fresh insight in
2327 the problem - often called confessional debugging...
2329 We can simplify the problem by ignoring attr->[xy]_offset, for the time
2330 being, and focus on computing the correct matrix. This is comparatively
2331 simple as all we need to do is perform the appropriate rounding on the
2334 src/cairo-pattern.c | 18 ++++++++++--------
2335 1 files changed, 10 insertions(+), 8 deletions(-)
2337 commit 9886cb3353eb02ce5b99d555a35b13b8347f8e87
2338 Author: Chris Wilson <chris@chris-wilson.co.uk>
2339 Date: Tue Oct 14 10:23:41 2008 +0100
2341 [pattern] Only perform non-integer optimization for identity matrices.
2343 A complication I realised after pushing 3eb4bc3 was handling larger
2344 sampled areas. Extending the test case revealed that the optimization
2345 was broken for anything but the identity transform (after removing the
2346 translation). Correctness first, leaving the "pixel-exact" solution for
2347 interested reader...
2349 src/cairo-pattern.c | 16 ++++++----------
2350 test/filter-nearest-transformed-pdf-ref.png | Bin 373 -> 548 bytes
2351 test/filter-nearest-transformed-ref.png | Bin 151 -> 570 bytes
2352 test/filter-nearest-transformed-svg11-ref.png | Bin 217 -> 559 bytes
2353 test/filter-nearest-transformed-svg12-ref.png | Bin 217 -> 559 bytes
2354 test/filter-nearest-transformed.c | 24 ++++++++++++++++++++++++
2355 6 files changed, 30 insertions(+), 10 deletions(-)
2357 commit 8dc3deecb8e0ca2f84d996096230f27ab4c24c18
2358 Author: Chris Wilson <chris@chris-wilson.co.uk>
2359 Date: Tue Oct 14 08:17:23 2008 +0100
2361 Add documentation for function attributes 'pure' and 'const'.
2363 Carl suggested that cairo_pure and cairo_const are pretty opaque, even to
2364 the developer who added them, so it is extremely important that they have
2365 a good description so that they are used correctly and perhaps ported to
2368 src/cairo-compiler-private.h | 20 ++++++++++++++++++++
2369 1 files changed, 20 insertions(+), 0 deletions(-)
2371 commit 6aa1143d5a8ec45fc793102a64e956d7d1c7ad01
2372 Author: Chris Wilson <chris@chris-wilson.co.uk>
2373 Date: Mon Oct 13 23:49:17 2008 +0100
2375 Update documentation to remove references to cairo_has_show_text_glyphs().
2377 With the addition of cairo_show_text_glyphs() came a couple of functions
2378 to query whether the target supported the extended attributes. However,
2379 at Carl's request cairo_has_show_text_glyphs() was removed - but the
2380 documentation was not updated to reflect that.
2383 src/cairo-surface.c | 3 ---
2384 src/cairo.c | 6 +++---
2385 3 files changed, 4 insertions(+), 7 deletions(-)
2387 commit b2053945df35d4d7eea9fe3200e9c018705309d1
2388 Author: Chris Wilson <chris@chris-wilson.co.uk>
2389 Date: Mon Oct 13 23:39:47 2008 +0100
2391 [scaled-font] Correct documentation for cairo_scaled_font_create().
2393 Fix the documentation not to suggest that NULL is a legal value for
2394 font_options (as we temporarily made it during the 1.[57] dev cycle).
2396 src/cairo-scaled-font.c | 3 +--
2397 1 files changed, 1 insertions(+), 2 deletions(-)
2399 commit 3eb4bc37577e905d93a1935e7a9cd33ae8dbda15
2400 Author: Chris Wilson <chris@chris-wilson.co.uk>
2401 Date: Mon Oct 13 23:26:04 2008 +0100
2403 [pattern] Optimize away fractional translation for NEAREST patterns.
2405 As identified in bug 15479,
2406 Unpredictable performance of cairo-xlib with non-integer translations of a
2407 source surface pattern
2408 (https://bugs.freedesktop.org/show_bug.cgi?id=15479),
2409 source surfaces with a fractional translation hit slow paths for some
2410 drivers, causing seemingly random performance variations. As a work-around
2411 Owen Taylor proposed that cairo could convert non-integer translations on
2412 NEAREST sources patterns to their integer equivalents.
2414 The messy detail involved here is replicating the rounding mode used by
2415 pixman for the sample offset, but otherwise the conversion is fairly
2418 src/cairo-pattern.c | 35 +++++++++
2419 test/.gitignore | 1 +
2420 test/Makefile.am | 5 +
2421 test/filter-nearest-transformed-pdf-ref.png | Bin 0 -> 373 bytes
2422 test/filter-nearest-transformed-ref.png | Bin 0 -> 151 bytes
2423 test/filter-nearest-transformed-svg11-ref.png | Bin 0 -> 217 bytes
2424 test/filter-nearest-transformed-svg12-ref.png | Bin 0 -> 217 bytes
2425 test/filter-nearest-transformed.c | 103 +++++++++++++++++++++++++
2426 8 files changed, 144 insertions(+), 0 deletions(-)
2428 commit ceab32e2c3d51c0dd29b105a5a390cdd8aa58f8f
2429 Author: Chris Wilson <chris@chris-wilson.co.uk>
2430 Date: Sun Oct 12 12:11:12 2008 +0100
2432 [win32] win32 also uses font subsets.
2434 Include win32 in the list of font subset users, fixes build when
2437 src/cairoint.h | 5 ++++-
2438 1 files changed, 4 insertions(+), 1 deletions(-)
2440 commit 1d3453eee50e4343995c5d3f225d18289fbcebec
2441 Author: Chris Wilson <chris@chris-wilson.co.uk>
2442 Date: Sun Oct 12 11:21:14 2008 +0100
2444 [pattern] Rescale the linear pattern matrix to avoid overflow.
2446 As proof-of-principle, compute a scale factor to avoid overflow when
2447 converting a linear pattern to pixman_fixed_t. Fixes test/huge-pattern,
2448 but the principle should be extended to handle more cases of overflow.
2450 src/cairo-pattern.c | 48 ++++++++++++++++++++++++++++++----
2451 test/Makefile.am | 5 ++-
2452 test/huge-pattern-pdf-ref.png | Bin 0 -> 2716 bytes
2453 test/huge-pattern-pdf-rgb24-ref.png | Bin 0 -> 2817 bytes
2454 test/huge-pattern-ps3-ref.png | Bin 0 -> 1786 bytes
2455 5 files changed, 45 insertions(+), 8 deletions(-)
2457 commit ab1d106cba7aa4abe5f7253c089aadd15e0bb06d
2458 Author: Chris Wilson <chris@chris-wilson.co.uk>
2459 Date: Sat Oct 11 19:52:28 2008 +0100
2461 [xlib] Use the cached xrender formats.
2463 Use the cached formats for consistency and simplify several double pointer
2466 src/cairo-xlib-surface.c | 64 ++++++++++++++++++++++++++++-----------------
2467 1 files changed, 40 insertions(+), 24 deletions(-)
2469 commit 6736faba3ebe4eae4c1d2aeeb3153eb6f12a32de
2470 Author: Chris Wilson <chris@chris-wilson.co.uk>
2471 Date: Sat Oct 11 18:10:16 2008 +0100
2473 [test/any2ppm] Do not attempt to compile PS without spectre
2475 Since CAN_TEST_PS_SURFACE does not currently require spectre, we were
2476 attempting to compile in spectre support for any2ppm even on systems
2477 without libspectre installed. Fix that by adding a separate flag for
2480 configure.ac | 5 ++++-
2481 test/Makefile.am | 2 +-
2482 test/any2ppm.c | 28 ++++++++++++++++++++--------
2483 3 files changed, 25 insertions(+), 10 deletions(-)
2485 commit b35871116243724b59738fce00b512818c83ea17
2486 Author: Benjamin Otte <otte@gnome.org>
2487 Date: Sat Oct 11 00:18:11 2008 +0100
2489 [test] Add huge pattern.
2491 Add a test case to exercise range overflow during gradient construction.
2493 test/.gitignore | 1 +
2494 test/Makefile.am | 4 ++
2495 test/huge-pattern-ref.png | Bin 0 -> 1619 bytes
2496 test/huge-pattern.c | 74 +++++++++++++++++++++++++++++++++++++++++++++
2497 4 files changed, 79 insertions(+), 0 deletions(-)
2499 commit 77070270813d2ca40d422e5301f75222d19e1d8f
2500 Author: Chris Wilson <chris@chris-wilson.co.uk>
2501 Date: Fri Oct 10 22:24:01 2008 +0100
2503 [test] Use _POSIX_C_SOURCE for flockfile.
2505 From bug 18010 (https://bugs.freedesktop.org/show_bug.cgi?id=18010),
2506 in order to make flockfile() available we need to set _POSIX_C_SOURCE and
2507 according to the man page, the appropriate feature check is
2508 _POSIX_THREAD_SAFE_FUNCTIONS.
2510 test/cairo-test.c | 5 +++--
2511 1 files changed, 3 insertions(+), 2 deletions(-)
2513 commit 34ff7e4ac42acfb2ab9921da21933113518bd8a0
2514 Author: Adrian Johnson <ajohnson@redneon.com>
2515 Date: Sat Oct 11 23:44:37 2008 +1030
2517 Check that reads in truetype_reverse_cmap are within valid data
2519 Bulia Byak reported a bug where cairo was crashing with a particular
2520 font. The font had an incorrect entry in the cmap table that caused
2521 cairo to read from outside of the buffer allocated for the cmap.
2523 src/cairo-truetype-subset.c | 12 +++++++++++-
2524 1 files changed, 11 insertions(+), 1 deletions(-)
2526 commit a16ef6ead2b02120ca482aa3d2667e51b0c67e78
2527 Author: Chris Wilson <chris@chris-wilson.co.uk>
2528 Date: Fri Oct 10 18:03:49 2008 +0100
2530 [INSTALL] Mention pkg-config requirement
2532 Mention that building the configure script requires at least version 0.16
2536 Bug 4702 PKG_PROG_PKG_CONFIG: command not found
2537 (https://bugs.freedesktop.org/show_bug.cgi?id=4702)
2540 1 files changed, 1 insertions(+), 0 deletions(-)
2542 commit eba9d87d541d89804f70e56874538a249de08502
2543 Author: Chris Wilson <chris@chris-wilson.co.uk>
2544 Date: Fri Oct 10 16:51:07 2008 +0100
2546 [image] Warn about a potential NULL return after finish().
2548 Improve the wording as suggested by
2549 https://bugs.freedesktop.org/show_bug.cgi?id=12659
2550 to warn about the possibility of returning NULL even if the passed in
2551 surface was an image surface.
2553 src/cairo-image-surface.c | 3 ++-
2554 1 files changed, 2 insertions(+), 1 deletions(-)
2556 commit ac3e4b4bea574c94de77ec15878d116b619ee3f4
2557 Author: Chris Wilson <chris@chris-wilson.co.uk>
2558 Date: Fri Oct 10 14:00:32 2008 +0100
2560 [xlib] Disable XRender support if the surface has no xrender_format
2563 XRender crashes due to NULL pointer from Cairo on SGI O2
2564 (https://bugs.freedesktop.org/show_bug.cgi?id=1173)
2565 is an example of a case where we try to perform an XRender operation on a
2566 surface with a format that was not supported by the XRender extension. By
2567 marking the extension version as -1 on those surfaces, the current checks
2568 for SURFACE_RENDER_HAS_* always correctly return false and prevent us try
2569 to create a Picture with a NULL xrender_format.
2571 src/cairo-xlib-surface.c | 37 ++++++++++++++++++++++++-------------
2572 1 files changed, 24 insertions(+), 13 deletions(-)
2574 commit 8ac8e8c523abaa5db24c5303c671ff3487bf0801
2575 Author: Carlos Garcia Campos <carlosgc@gnome.org>
2576 Date: Sun Sep 21 14:29:30 2008 +0200
2578 [test] Add ps2png check program using libspectre
2580 Add a simple program to compliment pdf2png and svg2png.
2583 test/Makefile.am | 8 ++++
2584 test/ps2png.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2585 3 files changed, 122 insertions(+), 0 deletions(-)
2587 commit 3e6afb353da1fee624b519f5a96b3303c7eb91ae
2588 Author: Carlos Garcia Campos <carlosgc@gnome.org>
2589 Date: Thu Oct 9 12:11:51 2008 +0100
2591 [test/any2ppm] Enable PS conversion using libspectre.
2593 Complete the vector trilogy using libspectre to provide a similar
2594 interface (to poppler and librsvg) around GhostScript.
2597 configure.ac | 20 ++++++++++++---
2598 test/Makefile.am | 4 +-
2599 test/any2ppm.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
2600 4 files changed, 90 insertions(+), 8 deletions(-)
2602 commit ddd1615a1777181c6e8db1dbafacb68535ed163a
2603 Author: Chris Wilson <chris@chris-wilson.co.uk>
2604 Date: Wed Oct 8 23:13:03 2008 +0100
2606 [pattern] Remove incorrect assert.
2608 It's possible to reach that point without setting the filter to NEAREST,
2609 for example if using FAST or GAUSSIAN.
2611 src/cairo-pattern.c | 1 -
2612 1 files changed, 0 insertions(+), 1 deletions(-)
2614 commit c647c0bbca8694a14f5f5807b8349f0b0bb4987d
2615 Author: Benjamin Otte <otte@gnome.org>
2616 Date: Thu Oct 9 13:21:27 2008 +0200
2618 [TEST] make imagediff work again
2620 It seems to have bitrotten
2622 test/imagediff.c | 9 +++++----
2623 1 files changed, 5 insertions(+), 4 deletions(-)
2625 commit f644d78dc138a7ba920a108dfb058e9f0fdb5302
2626 Author: Björn Lindqvist <bjourne@gmail.com>
2627 Date: Wed Oct 8 20:08:25 2008 +0100
2629 [perf] Add composite performance test.
2631 Add a new test case to Cairo for checking the performance of Cairo's
2632 equivalent to GDK's gdk_pixbuf_composite_color() operation. That is an
2633 operation that happens to be extremely useful when viewing or editing
2634 transparent images so I think it is important that it is as fast as
2638 perf/Makefile.am | 1 +
2639 perf/cairo-perf.c | 1 +
2640 perf/cairo-perf.h | 1 +
2641 perf/composite-checker.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++
2642 5 files changed, 112 insertions(+), 0 deletions(-)
2644 commit 96b083d3f0e47f919cb6d0f06735427eaea21565
2645 Author: Chris Wilson <chris@chris-wilson.co.uk>
2646 Date: Wed Oct 8 18:53:46 2008 +0100
2648 [test] Exercise degenerate dashes.
2650 Add a test case to capture the current behaviour when a segment ends on
2651 an off/on dash transition.
2653 Originally filed as bug:
2654 Miter artifacts for dashed strokes
2655 https://bugs.freedesktop.org/show_bug.cgi?id=17973
2657 test/.gitignore | 1 +
2658 test/Makefile.am | 2 +
2659 test/degenerate-dash-ref.png | Bin 0 -> 2005 bytes
2660 test/degenerate-dash.c | 97 ++++++++++++++++++++++++++++++++++++++++++
2661 4 files changed, 100 insertions(+), 0 deletions(-)
2663 commit 6487a147a2129f588aae900b048b2a801ef95ec0
2664 Author: Chris Wilson <chris@chris-wilson.co.uk>
2665 Date: Wed Oct 8 15:26:03 2008 +0100
2667 [cairo.h] Be defensive when checking for _MSC_VER
2669 Since cairo.h is a public header file, we need to be careful so that it
2670 can be compiled by random compilers and even users specifying "-Werror
2671 -Wundef" (mentioning no names, Company). So replace the bare (and legal)
2674 #if defined (_MSC_VER)
2678 1 files changed, 1 insertions(+), 1 deletions(-)
2680 commit 59141e56a723f741c87e2eaa37bf96e243ac5728
2681 Author: Chris Wilson <chris@chris-wilson.co.uk>
2682 Date: Wed Oct 8 13:50:28 2008 +0100
2684 [win32] Restore fine-grained fallback support for printing.
2686 Missed updating win32 when implementing the new paginated API to query
2687 support for the fine-grained fallbacks.
2689 (Thanks to Adrian for spotting this oversight.)
2691 src/cairo-win32-printing-surface.c | 8 ++++++++
2692 1 files changed, 8 insertions(+), 0 deletions(-)
2694 commit 565c02a37e2d140a20867081eea9bb5de9999b1c
2695 Author: Chris Wilson <chris@chris-wilson.co.uk>
2696 Date: Wed Oct 8 11:06:42 2008 +0100
2698 [svg] Use finer-grained fallbacks for SVG 1.2
2700 The use of fine-grained fallbacks requires the native support of the
2701 SOURCE operator applied to an image on the target surface. SVG 1.2
2702 introduces the "comp-op:src" mode fulfilling this criteria - so we can
2703 enable fine-grained fallbacks for 1.2+.
2705 Update test/fine-grained-fallbacks to exercise this pathway in SVG 1.2 -
2706 as SVG natively supported all the current operations within that test.
2707 This reveals yet another librsvg bug in handling SVG 1.2.
2709 src/cairo-paginated-private.h | 9 ++-
2710 src/cairo-paginated-surface.c | 47 +++++---------
2711 src/cairo-pdf-surface.c | 14 +++-
2712 src/cairo-ps-surface.c | 8 ++
2713 src/cairo-svg-surface.c | 34 +++++++---
2714 test/Makefile.am | 4 +-
2715 test/finer-grained-fallbacks-ps2-argb32-ref.png | Bin 1047 -> 0 bytes
2716 test/finer-grained-fallbacks-ps2-ref.png | Bin 0 -> 1356 bytes
2717 test/finer-grained-fallbacks-ps2-rgb24-ref.png | Bin 819 -> 1096 bytes
2718 test/finer-grained-fallbacks-ps3-argb32-ref.png | Bin 1047 -> 0 bytes
2719 test/finer-grained-fallbacks-ps3-ref.png | Bin 0 -> 1356 bytes
2720 test/finer-grained-fallbacks-ps3-rgb24-ref.png | Bin 819 -> 1096 bytes
2721 test/finer-grained-fallbacks-ref.png | Bin 796 -> 1111 bytes
2722 test/finer-grained-fallbacks-rgb24-ref.png | Bin 590 -> 1114 bytes
2723 test/finer-grained-fallbacks.c | 79 ++++++++++++++++++++++-
2724 15 files changed, 147 insertions(+), 48 deletions(-)
2726 commit 0c777a3e0de0d48289432a3d66be68f8779b08a0
2727 Author: Vladimir Vukicevic <vladimir@pobox.com>
2728 Date: Tue Oct 7 15:20:33 2008 -0700
2730 [win32] Use wide-char versions of some API functions, for compat with Windows Mobile
2732 src/cairo-win32-surface.c | 6 +++---
2733 1 files changed, 3 insertions(+), 3 deletions(-)
2735 commit cf572b58e1197dac0ff1795b27b142c3e044cf45
2736 Author: Chris Wilson <chris@chris-wilson.co.uk>
2737 Date: Tue Oct 7 09:55:03 2008 +0100
2739 [tessellator] Compile fixes for !HAVE_INT64_T
2741 Fixup a couple of instances of implicit down-casting to 32bits from a
2742 64bit wide integer and add a new is_zero() predicate.
2744 src/cairo-bentley-ottmann.c | 14 +++++++-------
2745 src/cairo-wideint-private.h | 10 +++++++++-
2746 2 files changed, 16 insertions(+), 8 deletions(-)
2748 commit 6b8c0559620ab23c4df1f381d2e95ffc307d2e2f
2749 Author: Chris Wilson <chris@chris-wilson.co.uk>
2750 Date: Tue Oct 7 09:43:45 2008 +0100
2752 [tessellator] Avoid implicit promotion to 64bit integer.
2754 Avoid passing a 32bit integer as a cairo_int64_t in case we do not have a
2755 64bit native integral type. As a side-effect this means we can also use a
2758 src/cairo-bentley-ottmann.c | 20 ++++++++++----------
2759 1 files changed, 10 insertions(+), 10 deletions(-)
2761 commit eaa4bd13926728e9da97a23df8a465ef2296049a
2762 Author: Chris Wilson <chris@chris-wilson.co.uk>
2763 Date: Tue Oct 7 21:09:16 2008 +0100
2765 [pattern] After cloning adjust [xy]_offset if possible.
2767 For the simple case where the pattern matrix only contains an integer
2768 translation then care is taken to convert that to a identity source matrix
2769 with the translation applied to the [xy]_offsets. 5b97ee6525 broke this
2770 guarantee by applying the clone offsets to the source matrix. So when the
2771 source matrix is identity we can simply adjust the [xy]_offsets and
2772 preserve the identity matrix. (This idea can be extended further by
2773 removing any integer translation from the source matrix and storing it in
2774 the [xy]_offsets as a means to extend the limited precision in
2775 pixman_matrix_t - encountered when downscaling large images offset onto
2776 the target surface.)
2778 src/cairo-pattern.c | 16 +++++++++++++---
2779 1 files changed, 13 insertions(+), 3 deletions(-)
2781 commit 552cc09e6be2b704dc32f986c84640d50316c25c
2782 Author: Chris Wilson <chris@chris-wilson.co.uk>
2783 Date: Tue Oct 7 21:05:57 2008 +0100
2785 [xlib] Check integer translation for XCopyArea.
2787 A precondition for using the core XCopyArea protocol is that the source
2788 attributes contain only integer translations. However, we failed to apply
2789 any integer translations from the source matrix to the XCopyArea offsets.
2790 This worked prior to 5b97ee6525 as
2791 _cairo_pattern_acquire_surface_for_surface() was careful to only generate
2792 an identity matrix if the pattern matrix only contained an integer
2793 translation (and thus we would use XCopyArea in the xlib backend).
2795 src/cairo-xlib-surface.c | 10 ++++++++--
2796 1 files changed, 8 insertions(+), 2 deletions(-)
2798 commit 308485a3fc70bc4455a01990443c1f954b8a66f8
2799 Author: Chris Wilson <chris@chris-wilson.co.uk>
2800 Date: Tue Oct 7 20:19:10 2008 +0100
2802 [test] Add a test for a reported regression by Michael Natterer.
2804 mitch reported on irc that expose events in the gimp were suffering from
2805 artifacts which he tracked down to a bug with clipping and source
2806 surfaces. This is the cairo test case for that regression.
2808 test/.gitignore | 1 +
2809 test/Makefile.am | 2 +
2810 test/clipped-surface-ref.png | Bin 0 -> 401 bytes
2811 test/clipped-surface.c | 70 ++++++++++++++++++++++++++++++++++++++++++
2812 4 files changed, 73 insertions(+), 0 deletions(-)
2814 commit 28a3b546b91290f3377777adedcf7ab71e599188
2815 Author: Vladimir Vukicevic <vladimir@pobox.com>
2816 Date: Tue Oct 7 10:25:46 2008 -0700
2818 [win32] create_similar should fall back to DIBs if DDB creation fail
2820 src/cairo-win32-surface.c | 43 +++++++++++++++++--------------------------
2821 1 files changed, 17 insertions(+), 26 deletions(-)
2823 commit 4ae37a97b3e415591caa611533f44db5a29cfb72
2824 Author: Vladimir Vukicevic <vladimir@pobox.com>
2825 Date: Tue Oct 7 10:18:41 2008 -0700
2827 [quartz] initialize do_reflect field correctly for pattern draws
2829 src/cairo-quartz-surface.c | 3 +--
2830 1 files changed, 1 insertions(+), 2 deletions(-)
2832 commit 8cf399b944294645833088ee2ac1313093948b66
2833 Author: Chris Wilson <chris@chris-wilson.co.uk>
2834 Date: Mon Oct 6 18:59:15 2008 +0100
2836 [test] Add a test to exercise the internal twin font
2838 Although Behdad promises that the rendering is subject to improvement,
2839 introduce a test to check consistency across platforms and update as
2842 test/.gitignore | 1 +
2843 test/Makefile.am | 4 +++
2844 test/twin-ps2-ref.png | Bin 0 -> 1167 bytes
2845 test/twin-ps3-ref.png | Bin 0 -> 1167 bytes
2846 test/twin-ref.png | Bin 0 -> 1836 bytes
2847 test/twin.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++
2848 6 files changed, 65 insertions(+), 0 deletions(-)
2850 commit 1f813ff04022a36a91bf9d1b0f7f2ae1c63b399f
2851 Author: Chris Wilson <chris@chris-wilson.co.uk>
2852 Date: Mon Oct 6 17:55:37 2008 +0100
2854 [array] Silence gtk-doc complaints.
2856 gtk-doc fails make check for array as it insists that even the simplest
2857 functions must have a long description and cannot be entirely described by
2858 their arguments and return value.
2860 src/cairo-array.c | 26 ++++++++++++++++++++------
2861 1 files changed, 20 insertions(+), 6 deletions(-)
2863 commit 7cb9ccb4cb2106bb59e181ee284f8dcc5504eb7a
2864 Author: Chris Wilson <chris@chris-wilson.co.uk>
2865 Date: Mon Oct 6 17:44:03 2008 +0100
2867 Fixup a couple of trivials doc warnings.
2869 Correct the 'Returns' statement to match what gtk-doc expects.
2871 src/cairo-cache.c | 3 +--
2872 src/cairo-pattern.c | 5 ++---
2873 2 files changed, 3 insertions(+), 5 deletions(-)
2875 commit d6f0351b6cbb0d542a069eb5d0a7377eb85a6e4e
2876 Author: Chris Wilson <chris@chris-wilson.co.uk>
2877 Date: Mon Oct 6 17:17:04 2008 +0100
2879 [skiplist] Avoid repeated calls to compare on the same element when inserting.
2881 During insertion we must traverse the skiplist in order to find the
2882 insertion point for the new element. As we descend each level, the next
2883 element in the chain for this level is sometimes the same as the one we
2884 just compared against (and know that the new element is greater than).
2885 Hence we can skip the search on that level and descend to the next. During
2886 world_map this reduces the number of calls into _sweep_line_elt_compare()
2887 by ~2.5% (and when performing trapezoidation on strokes gives a similar
2888 speed up of about 2% - not bad for the addition of a single line.)
2890 src/cairo-skiplist.c | 16 ++++++++++------
2891 1 files changed, 10 insertions(+), 6 deletions(-)
2893 commit 1440399625ae0579d0748475fc924cfe74339a21
2894 Author: Chris Wilson <chris@chris-wilson.co.uk>
2895 Date: Mon Oct 6 16:15:29 2008 +0100
2897 [hull] Replace open-coding of 64bit arithmetic.
2899 Use primitives from cairo-wideint-private.h - in this case it helps to
2900 make the code more readable as well as reduce dependence on native 64bit
2903 src/cairo-hull.c | 31 +++++++++++++++++++------------
2904 1 files changed, 19 insertions(+), 12 deletions(-)
2906 commit c6a6bf580fa7036e4c28137f8c038beb5c347244
2907 Author: Chris Wilson <chris@chris-wilson.co.uk>
2908 Date: Mon Oct 6 16:13:21 2008 +0100
2910 [slope] Replace open-coding 64bit integer arithmetic.
2912 Prefer to use the operations form cairo-wideint-private.h in order to
2913 improve readability and reduce our assumptions on the availability of
2916 src/cairo-slope.c | 14 ++++++--------
2917 1 files changed, 6 insertions(+), 8 deletions(-)
2919 commit 5e3fcb7934f568bb7e304a1c434a9370b693df17
2920 Author: Chris Wilson <chris@chris-wilson.co.uk>
2921 Date: Mon Oct 6 17:02:54 2008 +0100
2923 [wideint] Declare the wideint arithmetic functions as const.
2925 'const' is a stricter form of 'pure' in that functions declared with that
2926 attribute do not access any values other than their arguments (in
2927 contrast to 'pure' which is allowed to read from global memory).
2929 src/cairo-compiler-private.h | 2 ++
2930 src/cairo-wideint-private.h | 2 +-
2931 2 files changed, 3 insertions(+), 1 deletions(-)
2933 commit 9430bf57ebc86c79e28128e54aeb5a194c9cad03
2934 Author: Carl Worth <cworth@cworth.org>
2935 Date: Mon Oct 6 14:00:37 2008 -0700
2937 Fix scrambled version number in generated documentation.
2939 In the cairo 1.8.0 release the documentation would get generated with
2940 the second and third version components transposed, (so it would say
2941 1.0.8). Fix the obviously mistaken transposition.
2943 doc/public/Makefile.am | 2 +-
2944 1 files changed, 1 insertions(+), 1 deletions(-)
2946 commit 5beae8f530fe7056fa965cb5ca7b345a667e8122
2947 Author: Behdad Esfahbod <behdad@behdad.org>
2948 Date: Mon Oct 6 12:43:42 2008 -0400
2950 [Makefile.am.releasing] Make 'make snapshot' print a banner when done
2952 Copied from "make distcheck" implementation. Prints something like:
2954 =============================================================
2955 cairo-1.8.1-20081006-38de89 archives ready for distribution:
2956 cairo-1.8.1-20081006-38de89.tar.gz
2957 =============================================================
2959 build/Makefile.am.releasing | 9 ++++++++-
2960 1 files changed, 8 insertions(+), 1 deletions(-)
2962 commit 38de895d3863bd2e6fe921ad6cc6eeff15102701
2963 Author: Behdad Esfahbod <behdad@behdad.org>
2964 Date: Mon Oct 6 12:11:18 2008 -0400
2966 [RELEASING] Fix sample distcheck output to reflect current versioning
2968 RELEASING | 8 ++++----
2969 1 files changed, 4 insertions(+), 4 deletions(-)
2971 commit f8018cf193823356270c8e7f21f3108fbe44679c
2972 Author: Behdad Esfahbod <behdad@behdad.org>
2973 Date: Mon Oct 6 11:45:08 2008 -0400
2975 [boilerplate] Fix "make dist"
2977 The cairo-boilerplate-ps/pdf/svg.h files where removed in commit
2978 9841d9d58ea286f798626d325d50a85bf3f02c8f but the Makefile.sources
2979 listing was not updated.
2981 boilerplate/Makefile.sources | 3 ---
2982 1 files changed, 0 insertions(+), 3 deletions(-)
2984 commit 6578ac148ecdd236b0860923e5dee87291c9966c
2985 Author: Behdad Esfahbod <behdad@behdad.org>
2986 Date: Mon Oct 6 11:39:47 2008 -0400
2988 [twin-font] Make the stroke lighter
2990 I'm still to fine-tune the font and add hinting and bold/oblique support.
2991 In the mean time though, a lighter stroke produces much nicer glyphs.
2993 src/cairo-font-face-twin.c | 2 +-
2994 1 files changed, 1 insertions(+), 1 deletions(-)
2996 commit 2fb7753903daf5c207b22034682a250161af22ad
2997 Author: Behdad Esfahbod <behdad@behdad.org>
2998 Date: Mon Oct 6 11:39:00 2008 -0400
3000 [Makefile.am.releasing] Exclude uid/gid from tarball
3002 By setting GNU tar options --owner=0 --group=0
3004 build/Makefile.am.releasing | 6 ++++--
3005 1 files changed, 4 insertions(+), 2 deletions(-)
3007 commit 589564c3b02d5b0505806924bd051323717791a3
3008 Author: Behdad Esfahbod <behdad@behdad.org>
3009 Date: Sat Oct 4 01:36:07 2008 -0400
3011 [user-font] Fix comment re backend interface
3013 src/cairo-user-font.c | 2 +-
3014 1 files changed, 1 insertions(+), 1 deletions(-)
3016 commit c98c1cb5325bbc05c88ea350ff99d6eaf56fd339
3017 Author: Chris Wilson <chris@chris-wilson.co.uk>
3018 Date: Sun Oct 5 10:39:10 2008 +0100
3020 [wideint] Mark functions as pure
3022 Take advantage of the gcc function attribute 'pure', which tells gcc that
3023 the function result only depends upon its arguments and it has zero side
3024 effects (e.g. it does not clobber memory). This gives gcc greater
3025 opportunity to rearrange and optimize the wideint arithmetic.
3027 src/cairo-compiler-private.h | 6 ++++++
3028 src/cairo-wideint-private.h | 2 +-
3029 2 files changed, 7 insertions(+), 1 deletions(-)
3031 commit 76dd4603d01068b1b377312ced6b44fe5419794f
3032 Author: Chris Wilson <chris@chris-wilson.co.uk>
3033 Date: Sun Oct 5 10:15:49 2008 +0100
3035 [tessellator] Replace open-coding _cairo_int64_cmp().
3037 We often use the construct:
3038 if (_cairo_int64_lt (A, B)
3040 if (_cairo_int64_gt (A, B)
3043 to compare two large integers (int64, or int128) which does twice the
3044 required work on CPUs without large integer support. So replace it with a
3045 single wideint function _cairo_int64_cmp() and therefore allow
3046 opportunities to both shrink the code size and write a more efficient
3047 comparison. (The primarily motivation is to simply replace each block with
3048 a single more expressive line.)
3050 src/cairo-bentley-ottmann.c | 19 ++--------------
3051 src/cairo-wideint-private.h | 10 ++++++++-
3052 src/cairo-wideint.c | 48 +++++++++++++++++++++++++++++++++++++++++++
3053 3 files changed, 60 insertions(+), 17 deletions(-)
3055 commit 6eead4a5f746e182eabfcda9959cd9cc53d95a89
3056 Author: Chris Wilson <chris@chris-wilson.co.uk>
3057 Date: Sat Oct 4 12:39:21 2008 +0100
3059 [stroke] Simplify dash-off logic.
3061 Remove a redundant level of if-else branching (and remove a duplicate
3062 code) block by testing dash_on first.
3064 src/cairo-path-stroke.c | 65 ++++++++++++++++++++--------------------------
3065 1 files changed, 28 insertions(+), 37 deletions(-)
3067 commit 4aa0991a11f03a47735dcfafe43d9505b939554e
3068 Author: Chris Wilson <chris@chris-wilson.co.uk>
3069 Date: Sat Oct 4 20:22:18 2008 +0100
3071 [test] Mark fallback-resolution as XFAIL.
3073 There appears to be no simple solution here, as it seems to be a
3074 fundamental flaw in the design of the meta-surface wrt to replaying into
3075 a fallback image. (I may be wrong, but if Carl found no easy solution then
3076 I feel no shame for my own failure ;-)
3078 test/Makefile.am | 13 +++++++++++++
3079 1 files changed, 13 insertions(+), 0 deletions(-)
3081 commit ae87382a84770f8656c369d258f705b8ac20049c
3082 Author: Chris Wilson <chris@chris-wilson.co.uk>
3083 Date: Sat Oct 4 10:54:25 2008 +0100
3085 [tessellator] Special case edge comparisons when on either end-point.
3087 If the sweep-line is currently on an end-point of a line,
3088 then we know its precise x value and can use a cheaper comparator.
3089 Considering that we often need to compare events at end-points (for
3090 instance on a start event), this happens frequently enough to warrant
3093 src/cairo-bentley-ottmann.c | 100 +++++++++++++++++++++++++++++++++++++++++--
3094 1 files changed, 96 insertions(+), 4 deletions(-)
3096 commit ab23c2995356821537b9a0facdff87c339a05d2a
3097 Author: Chris Wilson <chris@chris-wilson.co.uk>
3098 Date: Wed Oct 1 12:18:16 2008 +0100
3100 [tessellator] Direct comparison of result in edges_compare_x_for_y.
3102 We need to compare the x-coordinate of a line at a for a particular y,
3103 without loss of precision.
3105 The x-coordinate along an edge for a given y is:
3106 X = A_x + (Y - A_y) * A_dx / A_dy
3108 So the inequality we wish to test is:
3109 A_x + (Y - A_y) * A_dx / A_dy -?- B_x + (Y - B_y) * B_dx / B_dy,
3110 where -?- is our inequality operator.
3112 By construction we know that A_dy and B_dy (and (Y - A_y), (Y - B_y)) are
3113 all positive, so we can rearrange it thus without causing a sign
3115 A_dy * B_dy * (A_x - B_x) -?- (Y - B_y) * B_dx * A_dy
3116 - (Y - A_y) * A_dx * B_dy
3118 Given the assumption that all the deltas fit within 32 bits, we can compute
3119 this comparison directly using 128 bit arithmetic.
3121 src/cairo-bentley-ottmann.c | 97 ++++++++++++++++++++++++------------------
3122 src/cairo-wideint-private.h | 1 +
3123 2 files changed, 56 insertions(+), 42 deletions(-)
3125 commit 7db03ac68cd556c903c07a2e2f8b75ec51263d12
3126 Author: Chris Wilson <chris@chris-wilson.co.uk>
3127 Date: Wed Oct 1 12:34:36 2008 +0100
3129 [tessellator] Use abort() instead of exit().
3131 More friendly when debugging, as the debug will (by default) catch the
3132 SIGTRAP and break at the offending test.
3134 src/cairo-bentley-ottmann.c | 6 +++---
3135 1 files changed, 3 insertions(+), 3 deletions(-)
3137 commit 59e569576d00e9c1cb66a77cf447c3cc3fb038e7
3138 Author: Chris Wilson <chris@chris-wilson.co.uk>
3139 Date: Sun Sep 28 19:04:39 2008 +0100
3141 [traps] Discard trivially empty trapezoid.
3143 The convex_quad tessellator (and possibly even the more general polygon
3144 tessellator) will generate empty trapezoids when given a
3145 rectangle which can be trivially discarded before inserting into traps.
3147 src/cairo-traps.c | 11 +++++++++--
3148 1 files changed, 9 insertions(+), 2 deletions(-)
3150 commit 7a2329e9c8afbfecb88c6c50bd63aa03ea7f9f81
3151 Author: Chris Wilson <chris@chris-wilson.co.uk>
3152 Date: Wed Oct 1 09:49:45 2008 +0100
3154 [traps] Reset extents on clearing.
3156 When clearing the array of current trapezoids, reset the extents to
3157 infinite so that they are properly recomputed.
3159 src/cairo-traps.c | 2 ++
3160 1 files changed, 2 insertions(+), 0 deletions(-)
3162 commit 8ec24a443d45b012df9b1a14b00a0b5b1c43e2ea
3163 Author: Chris Wilson <chris@chris-wilson.co.uk>
3164 Date: Tue Sep 30 23:19:01 2008 +0100
3166 [xlib] Share the common conditions for starting a new xGlyphElt using a macro.
3168 Move the predicate for starting a new glyph elt into a macro so that it
3169 can be shared between _cairo_xlib_surface_emit_glyphs() and
3170 _emit_glyph_chunks() without code duplication.
3172 src/cairo-xlib-surface.c | 39 ++++++++++++++++++++++-----------------
3173 1 files changed, 22 insertions(+), 17 deletions(-)
3175 commit a593338b2c2cdaff808947436f8fb9a52d74c695
3176 Author: Chris Wilson <chris@chris-wilson.co.uk>
3177 Date: Wed Oct 1 16:24:33 2008 +0100
3179 [xcb] Return false from _cairo_xcb_surface_is_similar().
3181 _cairo_xcb_surface_is_similar() is currently only used by the pattern
3182 cache to determine whether to keep the surface in the solid color cache.
3183 This is fundamentally broken without hooking into Display closure as it
3184 keeps a reference to an expired picture. So in order to prevent spurious
3185 application crashes, disable the caching for xcb.
3187 src/cairo-xcb-surface.c | 6 ++++++
3188 1 files changed, 6 insertions(+), 0 deletions(-)
3190 commit 65f1575f6b2392d59410f40281a52654053bd2a8
3191 Author: Chris Wilson <chris@chris-wilson.co.uk>
3192 Date: Wed Oct 1 16:16:45 2008 +0100
3196 Must compile xcb more often. Especially after copying code over from xlib.
3198 src/cairo-xcb-surface.c | 41 ++++++++++++++++++++++++-----------------
3199 1 files changed, 24 insertions(+), 17 deletions(-)
3201 commit e76432f7544d5b3b9157f09e18acc167d9ee90a3
3202 Author: Behdad Esfahbod <behdad@behdad.org>
3203 Date: Sat Oct 4 00:35:43 2008 -0400
3205 [win32] Use -MDd and -LDd instead of -MD and -LD for debug build
3207 As reported by Damian Frank:
3209 "I ran into a hitch with the Makefile.win32 infrastructure. It uses -MD and
3210 -LD when linking regardless of the config, but it should be using -MDd and
3211 -LDd for the debug config. I believe both the Makefile.win32.common and
3212 src/Makefile.win32 files include erroneous declarations. This produces
3213 warnings at link time about a mismatch when linking against properly created
3214 debug libs (for instance, I had a zlib built as "LIB ASM Debug" that linked
3215 properly against the debug runtime).
3217 This problem applies to pixman too; can you pass this along to the
3220 Would be delighted to if someone commits a fix to pixman reading this
3223 build/Makefile.win32.common | 8 ++++++--
3224 src/Makefile.win32 | 2 +-
3225 2 files changed, 7 insertions(+), 3 deletions(-)
3227 commit 8ea9cb187a198c64bfb79af8001d95eab29715b4
3228 Author: Carl Worth <cworth@cworth.org>
3229 Date: Wed Oct 1 14:12:18 2008 -0700
3231 Use symbolic constants for Render repeat modes.
3233 Names like RepeatNone and RepeatNormal are much easier to
3234 read and understand than bare 0 and 1.
3236 src/cairo-xlib-surface.c | 4 ++--
3237 1 files changed, 2 insertions(+), 2 deletions(-)
3239 commit 2c58a2c3851afac0386fcf0bf8504a937231185c
3240 Author: Behdad Esfahbod <behdad@behdad.org>
3241 Date: Tue Sep 30 17:55:01 2008 -0400
3243 [xlib] Start a new glyph element every 128 glyphs
3245 Xrender has limits at 252 glyphs. We play safe and fast and limit
3246 elements to 128 glyphs. That's plenty, no measurable performance
3249 src/cairo-xlib-surface.c | 26 ++++++++++++++++++++++----
3250 1 files changed, 22 insertions(+), 4 deletions(-)
3252 commit fd7e09c7e66876b8492424e1c7d1260c12cc17f3
3253 Author: Behdad Esfahbod <behdad@behdad.org>
3254 Date: Tue Sep 30 17:46:06 2008 -0400
3256 [xlib] Allow room for glyph element padding
3258 Xrender pads glyph elements to 4byte boundaries. We didn't consider
3259 that in our request size calculations. We do now.
3261 src/cairo-xlib-surface.c | 9 +++++++--
3262 1 files changed, 7 insertions(+), 2 deletions(-)
3264 commit c01fb77abbaf28c03aa6a21ebb997638dbdf950b
3265 Author: Behdad Esfahbod <behdad@behdad.org>
3266 Date: Tue Sep 30 17:41:51 2008 -0400
3268 [xlib] s/_cairo_xlib_surface_emit_glyphs_chunk/_emit_glyphs_chunk/
3270 For readability's sake.
3272 src/cairo-xlib-surface.c | 34 +++++++++++++++++-----------------
3273 1 files changed, 17 insertions(+), 17 deletions(-)
3275 commit c2ba25df1aec1cebfc4ce85e06a4187950675820
3276 Author: Behdad Esfahbod <behdad@behdad.org>
3277 Date: Tue Sep 30 17:40:56 2008 -0400
3279 [xlib] Add comment about glyph chunk invariant
3281 src/cairo-xlib-surface.c | 4 ++++
3282 1 files changed, 4 insertions(+), 0 deletions(-)
3284 commit e983458e1fba15153815430c83619da53929139d
3285 Author: Behdad Esfahbod <behdad@behdad.org>
3286 Date: Tue Sep 30 17:26:46 2008 -0400
3288 Revert "[xlib] Correct calculation of XRenderComposite* request size."
3290 This reverts commit 0eb0c26474a19477554bfd580aa5f8ae77c29779.
3291 The change was too drastic and overlooked some subleties of the old
3292 code, but the main reason for the revert is that it introduced an
3293 ugly duplicated glyph flush block. I'm working on a more incremental
3296 src/cairo-xlib-surface.c | 123 +++++++++++++++++-----------------------------
3297 1 files changed, 45 insertions(+), 78 deletions(-)
3299 commit 32a158528884562f4b22a81da3fa352ee1061835
3300 Author: Behdad Esfahbod <behdad@behdad.org>
3301 Date: Tue Sep 30 15:20:36 2008 -0400
3303 [configure.ac] Require autoconf >= 2.59 and automake >= 1.9.6
3305 These are the versions available on RHEL5 (two years old now), and
3306 we know cairo works with them. There's evidence that our build system
3307 does not work with older automake, and we've been requiring autoconf 2.58
3308 but no one ever tested 2.58 with the new build system. It's very likely
3309 that 2.58 doesn't work and needs some macro backporting. In any case,
3310 no one reported that they have 2.58 when I asked on the list.
3312 configure.ac | 4 ++--
3313 1 files changed, 2 insertions(+), 2 deletions(-)
3315 commit 0eb0c26474a19477554bfd580aa5f8ae77c29779
3316 Author: Chris Wilson <chris@chris-wilson.co.uk>
3317 Date: Tue Sep 30 13:33:25 2008 +0100
3319 [xlib] Correct calculation of XRenderComposite* request size.
3321 show-glyphs-many is triggering an assertion failure within xlib. The cause
3322 appears to be that we are submitting an overlong request.
3324 Reviewing the code and comparing with libXrender/src/Glyph.c I found two
3327 1. When encountering the first 2-byte, or 4-byte glyph and thus triggering
3328 the recalculation of the current request_size, we did not check that there
3329 was enough room for the expanded request. In case there is not, we need to
3330 emit the current request (before expansion) and reset.
3332 2. Subtleties in how XRenderCompositeText* constructs the binary protocol
3333 buffer require that xGlyphElts are aligned to 32-bit boundaries and that
3334 it inserts an additional xGlyphElt every 252 glyphs when width==1 or
3335 every 254 glyphs for width==2 || width==4. Thus we need to explicitly
3336 compute how many bytes would be required to add this glyph in accordance
3339 Considering the complexity (and apparent fragility since we require tight
3340 coupling to XRender) of the code, I'm sure there are more bugs to be
3343 src/cairo-xlib-surface.c | 123 +++++++++++++++++++++++++++++-----------------
3344 1 files changed, 78 insertions(+), 45 deletions(-)
3346 commit 02a56a4c84cd07a2c33134974680bad7f17f733d
3347 Author: Chris Wilson <chris@chris-wilson.co.uk>
3348 Date: Tue Sep 30 15:08:54 2008 +0100
3350 [test/show-glyphs-many] Exercise xlib boundary conditions.
3352 Within _cairo_xlib_surface_emit_glyphs() there are a number of
3353 complications to do with packing as many glyphs as possible into a
3354 single XRenderCompositeGlyph*() call. Essentially these consist of
3355 choosing the right function and packing for the current glyphs, describing
3356 runs of glyphs and ensuring that we do not exceed the maximum request size
3357 within a single call. So we add to the test case we an attempt to show 64k
3358 2-byte glyphs and an attempt to mix 64k 1-byte and 2-byte glyphs, with the
3359 change-over point chosen to overflow the maximum request size, should
3360 _cairo_xlib_surface_emit_glyphs() naively resize the current request.
3362 test/show-glyphs-many.c | 83 ++++++++++++++++++++++++++++++++++++-----------
3363 1 files changed, 64 insertions(+), 19 deletions(-)
3365 commit 2a347a92b0a27a42840f9538cb98f792be12b277
3366 Author: Chris Wilson <chris@chris-wilson.co.uk>
3367 Date: Tue Sep 30 13:29:35 2008 +0100
3369 [test/show-glyphs-many] Re-enable test to trigger crash in xlib.
3371 Moral of this story is bugs cluster. If we made a mistake, especially in a
3372 complicated bit of code that is interfacing with another library, then we
3373 are likely to make a similar mistake in future. Disabling this test hid a
3374 regression between 1.4 and 1.6.
3376 test/Makefile.am | 15 +--------------
3377 test/show-glyphs-many.c | 9 +++++++++
3378 2 files changed, 10 insertions(+), 14 deletions(-)
3380 commit fade54e71a48919cc3e8311e202960c66eab74bf
3381 Author: Torsten Schönfeld <kaffeetisch@gmx.de>
3382 Date: Tue Sep 30 11:47:53 2008 +0100
3384 [doc] Add links to solid pattern constructors.
3386 Add links for the solid pattern constructors to the language bindings
3387 guidelines in line with the other pattern types.
3389 doc/public/language-bindings.xml | 2 +-
3390 1 files changed, 1 insertions(+), 1 deletions(-)
3392 commit d9f50d7841fa0216df157ba632483c8b27c50119
3393 Author: Chris Wilson <chris@chris-wilson.co.uk>
3394 Date: Tue Sep 30 11:03:29 2008 +0100
3396 [test/filter-nearest-offset] Remove XFAIL status
3398 I swear that when I said that it was a rounding error, I was looking at an
3399 image where the squares were overlapping the lines and had a listing of
3400 all the coordinates used. However, the current output on all the machines
3401 I have to hand is correct so I believe the underlying bug to be fixed.
3403 Update the reference images for the external renderers because (a) GS
3404 exhibits the same bug cairo had and (b) librvsg/PDF do not use NEAREST
3405 when applying surface patterns, so the squares are blurred as a result.
3407 test/Makefile.am | 8 +++++---
3408 test/filter-nearest-offset-pdf-ref.png | Bin 0 -> 4537 bytes
3409 test/filter-nearest-offset-ps2-ref.png | Bin 0 -> 255 bytes
3410 test/filter-nearest-offset-ps3-ref.png | Bin 0 -> 255 bytes
3411 test/filter-nearest-offset-svg11-ref.png | Bin 0 -> 4739 bytes
3412 test/filter-nearest-offset-svg12-ref.png | Bin 0 -> 4739 bytes
3413 test/filter-nearest-offset.c | 3 +--
3414 7 files changed, 6 insertions(+), 5 deletions(-)
3416 commit 7d5e6a18d5e72366e19cb806cbdad5ed180b53da
3417 Author: Chris Wilson <chris@chris-wilson.co.uk>
3418 Date: Tue Sep 30 10:04:12 2008 +0100
3420 [test/filter-nearest-offset] Paint a grey background
3422 Avoid requiring (an absent!) rgb24 ref image by using an opaque grey
3423 background. Confirm the reference image is identical to the old one
3424 (modulo the background change) using GIMP.
3426 test/filter-nearest-offset-ref.png | Bin 254 -> 248 bytes
3427 test/filter-nearest-offset.c | 6 ++++++
3428 2 files changed, 6 insertions(+), 0 deletions(-)
3430 commit 35be08715595aa0bda48ce0b3cb11711eee55c64
3431 Author: Chris Wilson <chris@chris-wilson.co.uk>
3432 Date: Tue Sep 30 10:54:45 2008 +0100
3434 [Makefile.am] Only rerun headers-standalone if a header file has changed
3436 Use a stamp to mark the time that the headers were last checked and only
3437 rerun the test if any have been modified since.
3439 src/.gitignore | 1 +
3440 src/Makefile.am.analysis | 4 +++-
3441 2 files changed, 4 insertions(+), 1 deletions(-)
3443 commit 6da8d8ea62399d94281a2a262a630ef113062d0c
3444 Author: Chris Wilson <chris@chris-wilson.co.uk>
3445 Date: Mon Sep 29 17:56:34 2008 +0100
3447 [pattern] Fix up OBO introduced to cloned area
3449 In the midst of porting 5eec3e378afd6ff9991cea8e42b8478eb3e79773 I failed
3450 to include the pad in the floor() and ceil() which introduces two
3451 potential off-by-one errors into each dimension of the region of interest
3452 of the source surface.
3454 src/cairo-pattern.c | 8 ++++----
3455 1 files changed, 4 insertions(+), 4 deletions(-)
3457 commit e3f9e40df74b0334c2b544790fd3485ba527bd55
3458 Author: Behdad Esfahbod <behdad@behdad.org>
3459 Date: Mon Sep 29 11:49:04 2008 -0400
3461 Fix residues of the Makefile.*.config Makefile.*.features renaming
3463 They just don't seem to want to die...
3465 boilerplate/Makefile.win32 | 2 +-
3466 src/Makefile.sources | 2 +-
3467 2 files changed, 2 insertions(+), 2 deletions(-)
3469 commit d703f964aa7d1d4c8ec0b8a5dee437c222ce8629
3470 Author: Chris Wilson <chris@chris-wilson.co.uk>
3471 Date: Mon Sep 29 16:37:35 2008 +0100
3473 Clean up compile warnings.
3475 A couple of unchecked status returns (which should always be
3476 CAIRO_STATUS_SUCCESS) and an unused variable.
3478 src/cairo-surface.c | 8 ++++++--
3479 src/cairo-svg-surface.c | 1 -
3480 2 files changed, 6 insertions(+), 3 deletions(-)
3482 commit 1310df44edcf0b9fee648c8f8688d4a1177cde68
3483 Author: Behdad Esfahbod <behdad@behdad.org>
3484 Date: Mon Sep 29 11:34:19 2008 -0400
3486 [text_to_glyphs] Further enhance the docs
3488 The most complex public cairo API deserves more doc love...
3490 src/cairo-scaled-font.c | 8 +++++---
3491 src/cairo-user-font.c | 5 +++++
3493 3 files changed, 11 insertions(+), 4 deletions(-)
3495 commit 41c66a9dfa9f4e7b9839db9dc362f5fa48797561
3496 Author: Chris Wilson <chris@chris-wilson.co.uk>
3497 Date: Mon Sep 29 15:28:28 2008 +0100
3499 [test/xlib-surface-source] Fix ill-timed XCloseDisplay
3501 Sigh - finding a crasher in xlib seemed too good to be true. And it was.
3502 The bug is due to the coupling of the XCloseDisplay with the user_data on
3505 This was an externally trigger XCloseDisplay whilst the user had live
3506 surfaces, so I consider this a gross application bug and therefore does
3507 not require graceful handling within cairo-xlib. However, I'm willing to
3510 test/surface-source.c | 4 +++-
3511 1 files changed, 3 insertions(+), 1 deletions(-)
3513 commit 63ee963c63a73cf6d9272e15a7d8f7b63f12e77b
3514 Author: Chris Wilson <chris@chris-wilson.co.uk>
3515 Date: Mon Sep 29 15:09:23 2008 +0100
3517 [user-font] Rewrite text_to_glyphs allocation instructions.
3519 Resolve the seemingly conflicting two paragraphs that instruct the writer
3520 of a user-font on when to allocate the glyphs array during text_to_glyphs,
3521 so that it is consistent with itself and the code. In particular, I could
3522 find no indication in the code that num_glyphs is preset to -1 (it should
3523 be a user parameter reflecting the number of entries in the supplied glyph
3524 buffer) and the callback must allocate the array using
3525 cairo_glyph_allocate().
3527 src/cairo.h | 33 ++++++++++++++-------------------
3528 1 files changed, 14 insertions(+), 19 deletions(-)
3530 commit c23dbc4c616aed05dfe71901ce7ac0cadcbfb13d
3531 Author: Chris Wilson <chris@chris-wilson.co.uk>
3532 Date: Mon Sep 29 13:54:12 2008 +0100
3534 [test/surface-source] Modify to trigger a crash.
3536 Whilst investigating:
3537 Bug 7360 painting huge surfaces fails
3538 https://bugs.freedesktop.org/show_bug.cgi?id=7360
3539 I found a particular combination of operations that cause a crash within
3540 xlib, so I'm committing the test for posterity.
3542 test/surface-source.c | 50 +++++++++++++++++++++++++++++++++++++-----------
3543 1 files changed, 38 insertions(+), 12 deletions(-)
3545 commit 3b33d49d37a5751e7848516c468b323e19c34bea
3546 Author: Chris Wilson <chris@chris-wilson.co.uk>
3547 Date: Mon Sep 29 08:14:24 2008 +0100
3549 [test/filter-bilinear-extents] Remove XFAIL.
3551 With the reintroduction of Carl Worth's and Owen Taylor's work to expand
3552 pattern extents as necessary to include extra samples due to the filter
3553 radius, we expect filter-bilinear-extents to PASS. This patch series is
3554 important as it factors out our assumptions about filter radius into a
3555 single function and cleans up the code in its wake.
3557 However, since the external PS/PDF renderers do not necessarily use the same
3558 filter as cairo (and currently they only use NEAREST due to lack of
3559 /Interpolate emission in those backends) we can expect differences in test
3560 output. So add the respective reference images to capture current
3561 expectations and to highlight future changes.
3564 Bug 15349 - bad clipping with EXTEND_NONE
3565 [https://bugs.freedesktop.org/show_bug.cgi?id=15349],
3566 Bug 15367 -Improve filtering handling in cairo-pattern.c
3567 [https://bugs.freedesktop.org/show_bug.cgi?id=15367]
3569 test/Makefile.am | 35 +++++++++++++++++++++++++++++-
3570 test/filter-bilinear-extents-pdf-ref.png | Bin 0 -> 798 bytes
3571 test/filter-bilinear-extents-ps2-ref.png | Bin 0 -> 173 bytes
3572 test/filter-bilinear-extents-ps3-ref.png | Bin 0 -> 173 bytes
3573 4 files changed, 34 insertions(+), 1 deletions(-)
3575 commit 5eec3e378afd6ff9991cea8e42b8478eb3e79773
3576 Author: Owen W. Taylor <otaylor@fishsoup.net>
3577 Date: Mon Sep 29 00:53:59 2008 +0100
3579 [pattern] Improve handling of filter radius and optimize when possible.
3581 Factor out common filter analysis code from _cairo_pattern_get_extents()
3582 so that we can share it with _cairo_pattern_acquire_surface_for_surface()
3583 as well. During the analysis of the filter determine whether the pattern
3584 matrix maps source pixels exactly onto destination pixels and if so convert
3585 the filter to NEAREST - generalising the existing conversion to NEAREST.
3587 (Patch ported to master by Chris Wilson, all bugs are his.)
3589 src/cairo-matrix.c | 29 +++++++++++++
3590 src/cairo-pattern.c | 113 +++++++++++++++++++++++++++++++++++----------------
3591 src/cairoint.h | 3 +
3592 3 files changed, 110 insertions(+), 35 deletions(-)
3594 commit 7d7057cf8896a3558fadc35d160d3bc667972800
3595 Author: Carl Worth <cworth@cworth.org>
3596 Date: Fri Apr 4 19:00:28 2008 -0700
3598 _cairo_pattern_get_extents: Fix to allow for expansion based on filter
3600 This fixes the filter-bilinear-extents test case and the
3603 bad clipping with EXTEND_NONE
3604 http://bugs.freedesktop.org/show_bug.cgi?id=15349
3606 Though there are still differences in the PDF and PostScript
3607 backends, (primarily because we can't capture cairo's filter
3608 modes in those file formats).
3610 src/cairo-pattern.c | 22 ++++++++++++++++++++
3611 test/paint-source-alpha-svg11-ref.png | Bin 505 -> 756 bytes
3612 ...scale-source-surface-paint-svg11-argb32-ref.png | Bin 182 -> 229 bytes
3613 .../scale-source-surface-paint-svg11-rgb24-ref.png | Bin 192 -> 243 bytes
3614 ...scale-source-surface-paint-svg12-argb32-ref.png | Bin 182 -> 229 bytes
3615 .../scale-source-surface-paint-svg12-rgb24-ref.png | Bin 192 -> 243 bytes
3616 6 files changed, 22 insertions(+), 0 deletions(-)
3618 commit 6ef4bd4ecfa30f00ad0fe6e5e5f1d1a0a5dfe8e3
3619 Author: Owen W. Taylor <otaylor@fishsoup.net>
3620 Date: Sun Sep 28 23:30:22 2008 +0100
3622 [pattern] Fix acquiring outside of source bounds
3624 Restrict the area we acquire from the source image to the bounds of
3625 the source image, even when we have an identity matrix. This handles
3626 circumstances where the pattern extents may be enlarged due to
3627 filtering, for example when applying a bilinear filter.
3629 This patch replaces the open-coded rectangle intersection which has
3630 already proven itself to be a source of bugs.
3632 (Patch ported to master by Chris Wilson, all bugs are his.)
3634 src/cairo-pattern.c | 63 ++++++++++++++++++++++++++-------------------------
3635 1 files changed, 32 insertions(+), 31 deletions(-)
3637 commit 6d0f2c4421e34a078469a81646a52dfa47b4dcf1
3638 Author: Owen W. Taylor <otaylor@fishsoup.net>
3639 Date: Mon Sep 29 00:02:18 2008 +0100
3641 [pattern] Remove the hack to support cloning surface patterns.
3643 Remove instances (abuses) of calling _cairo_pattern_acquire_surface() on
3644 a known-surface-pattern with a hack to say "give me the entire surface".
3645 If you know you just want the entire surface as an image surface, that
3646 can be done more simply.
3648 (Split from original patch on
3649 https://bugs.freedesktop.org/attachment.cgi?id=15703, by Chris Wilson -
3650 as usual all bugs are his.)
3652 src/cairo-pattern.c | 5 +---
3653 src/cairo-svg-surface.c | 16 +------------
3654 src/cairo-win32-printing-surface.c | 41 ++++++++++++++++-------------------
3655 3 files changed, 22 insertions(+), 40 deletions(-)
3657 commit 117f643e49615295eb37af24efffd8327429cbf9
3658 Author: Chris Wilson <chris@chris-wilson.co.uk>
3659 Date: Sun Sep 28 22:42:30 2008 +0100
3661 [test/filter-bilinear-extents] Extend testing.
3663 First, explicitly set the filter mode to BILINEAR in case the default should
3664 ever change. And then draw a second pattern with extents that in theory
3665 are larger than the source surface in order to test handling of acquiring
3666 out-of-bounds extents.
3668 test/filter-bilinear-extents.c | 45 +++++++++++++++++++++++++++------------
3669 1 files changed, 31 insertions(+), 14 deletions(-)
3671 commit 3ff86a4510b718a3154b56b052be786f9495a3b0
3672 Author: Chris Wilson <chris@chris-wilson.co.uk>
3673 Date: Mon Sep 29 08:38:31 2008 +0100
3675 [test] Disable caching of SVG fail/pass surfaces.
3677 As we use cairo to convert SVG files back to an image, that process is
3678 dependent upon changes within our library and so we cannot skip the
3679 conversion if the SVG file happens to match a previous run. Fortunately,
3680 librsvg is quick enough that this is not a major issue.
3682 boilerplate/cairo-boilerplate.c | 8 ++++----
3683 1 files changed, 4 insertions(+), 4 deletions(-)
3685 commit 24b22f0d2161f7a4ce75ceb2a86a77737027ee56
3686 Author: Chris Wilson <chris@chris-wilson.co.uk>
3687 Date: Mon Sep 29 07:52:09 2008 +0100
3689 [glitz] Compile fix for typo.
3691 I wonder whether merely fixing a compile error in glitz will do anything
3692 towards its utility... Anyway fix the missing comma as reported by
3693 Shunichi Fuji and correct the asserts.
3695 src/cairo-glitz-surface.c | 6 +++---
3696 1 files changed, 3 insertions(+), 3 deletions(-)
3698 commit 4f449107afba8ca96cd16e8dec283db124105dc8
3699 Author: Chris Wilson <chris@chris-wilson.co.uk>
3700 Date: Sun Sep 28 21:05:36 2008 +0100
3702 [test/fallback-resolution] Exercise a couple of outstanding bugs.
3704 Use dashes to exercise bugs:
3705 https://bugs.freedesktop.org/show_bug.cgi?id=9189
3706 https://bugs.freedesktop.org/show_bug.cgi?id=17223
3707 Note bug 17223 indicates that this is still relevant for win32 printing
3708 where fallbacks are used if the dash offset is non-zero.
3710 And use a pattern to exercise the (fixed) regression:
3711 https://bugs.launchpad.net/inkscape/+bug/234546
3713 test/fallback-resolution-ppi150-ref.png | Bin 2397 -> 8043 bytes
3714 test/fallback-resolution-ppi300-ref.png | Bin 1591 -> 5637 bytes
3715 test/fallback-resolution-ppi37.5-ref.png | Bin 4681 -> 14098 bytes
3716 test/fallback-resolution-ppi600-ref.png | Bin 1121 -> 4104 bytes
3717 test/fallback-resolution-ppi72-ref.png | Bin 2497 -> 8409 bytes
3718 test/fallback-resolution-ppi75-ref.png | Bin 3575 -> 12101 bytes
3719 test/fallback-resolution.c | 40 ++++++++++++++++++++++++++++-
3720 7 files changed, 38 insertions(+), 2 deletions(-)
3722 commit 0a7d781ab020171e70bd1dc66ff1556106e5be3f
3723 Author: Chris Wilson <chris@chris-wilson.co.uk>
3724 Date: Sun Sep 28 18:57:15 2008 +0100
3726 [perf] Add rounded rectangle perf case.
3728 Add the performance test case to compare the speed of filling a rounded
3729 rectangle (one with camphered corners) as opposed to an ordinary
3730 rectangle. Since the majority of the pixels are identical, ideally the two
3731 cases would take similar times (modulo the additional overhead in the more
3734 perf/Makefile.am | 1 +
3735 perf/cairo-perf.c | 1 +
3736 perf/cairo-perf.h | 1 +
3737 perf/rectangles.c | 22 +++++++++-
3738 perf/rounded-rectangles.c | 111 +++++++++++++++++++++++++++++++++++++++++++++
3739 5 files changed, 135 insertions(+), 1 deletions(-)
3741 commit d52b55cb1b2a4e9b5fd8dd12592a227f8f6a93fc
3742 Author: Karl Tomlinson <karlt+@karlt.net>
3743 Date: Sun Sep 28 17:51:23 2008 +0100
3745 [xlib] _surfaces_compatible() can return true for different picture formats
3747 _surfaces_compatible in cairo-xlib-surface returns true for surfaces with
3748 different xrender_format when each has the same depth and no (NULL)
3751 Common picture formats will not have the same depth, but
3752 it is possible to create a surface with a non-standard xrender_format
3753 having the same depth as another xrender_format with
3754 cairo_xlib_surface_create_with_xrender_format.
3756 Both cairo_xlib_surface_create_with_xrender_format and
3757 _cairo_xlib_surface_create_similar_with_format create surfaces with no
3760 The same issue exists in the xcb backend.
3762 Fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=16564.
3765 src/cairo-xcb-surface.c | 4 +++-
3766 src/cairo-xlib-surface.c | 4 +++-
3767 3 files changed, 7 insertions(+), 2 deletions(-)
3769 commit b6b54e2f2736bfa9f76b7b6fc0da5d35a71fe846
3770 Author: Chris Wilson <chris@chris-wilson.co.uk>
3771 Date: Sun Sep 28 17:13:11 2008 +0100
3773 [svg] Compile fix for last commit.
3775 Sorry - badly merged patch (missed a chunk).
3777 src/cairo-svg-surface.c | 5 +++--
3778 1 files changed, 3 insertions(+), 2 deletions(-)
3780 commit cff3bcba68233101c5518801b64e37d2f0e70ae8
3781 Author: Chris Wilson <chris@chris-wilson.co.uk>
3782 Date: Sun Sep 28 17:06:32 2008 +0100
3784 [svg] Check that the mask is supported.
3786 During the analyze phase we also need to check whether we can emit the mask
3787 without requiring fallbacks.
3789 src/cairo-svg-surface.c | 17 +++++++++++++++--
3790 1 files changed, 15 insertions(+), 2 deletions(-)
3792 commit 8ad3031359d74bdff4b1e3ef8d0af047821f1795
3793 Author: Chris Wilson <chris@chris-wilson.co.uk>
3794 Date: Sun Sep 28 17:04:15 2008 +0100
3796 [svg] Enable the assertion that paint() is supported.
3798 The XXX comment before the disabled assert is misleading as the final
3799 fallback image paint operation should never trigger UNSUPPORTED.
3801 src/cairo-svg-surface.c | 13 ++++---------
3802 1 files changed, 4 insertions(+), 9 deletions(-)
3804 commit 95e637f9ac9e4256f7ba73e8f048f8e559631c82
3805 Author: Chris Wilson <chris@chris-wilson.co.uk>
3806 Date: Sun Sep 28 16:54:59 2008 +0100
3808 [paginated] Set paginated mode before every replay.
3810 Previously we were replaying full page fallbacks without updating the
3811 mode - this was upsetting SVG.
3813 src/cairo-paginated-surface.c | 23 ++++++++++++++---------
3814 1 files changed, 14 insertions(+), 9 deletions(-)
3816 commit 36b98589911ab57762317ec95cbff41681c1e0b6
3817 Author: Chris Wilson <chris@chris-wilson.co.uk>
3818 Date: Sun Sep 28 16:24:40 2008 +0100
3820 [svg] Kill _cairo_svg_surface_force_fallbacks.
3822 It is not used, but refuses to die!
3824 src/cairo-svg-surface.c | 5 ++---
3825 1 files changed, 2 insertions(+), 3 deletions(-)
3827 commit 57851464f920d52444d19d25e78293fa0f40c5f9
3828 Author: Benjamin Otte <otte@gnome.org>
3829 Date: Sun Sep 28 17:02:23 2008 +0200
3831 [SVG] make backend handle new operators gracefully
3833 Previously, the SVG backend would rash when new operators were added to
3834 cairo.h, now it returns UNSUPPORTED.
3835 Also unsupported operators can now be set as NULL, so image fallbacks can
3837 Should use fallbacks instead of color-dodge for CAIRO_OPERATOR_STURATE?
3839 src/cairo-svg-surface.c | 45 +++++++++++++++++++++++++++++++--------------
3840 1 files changed, 31 insertions(+), 14 deletions(-)
3842 commit fda80cc852a109fe60e3277a1847bc5c24f35d8e
3843 Author: Benjamin Otte <otte@gnome.org>
3844 Date: Sun Sep 28 14:57:49 2008 +0200
3846 [SVG] use _cairo_operator_bounded_by_source()
3848 previously, the code was duplicating its functionality
3850 src/cairo-svg-surface.c | 27 ++++++++++++---------------
3851 1 files changed, 12 insertions(+), 15 deletions(-)
3853 commit 3c18d95b293eddaa25232bc06398c78bc8043cb4
3854 Author: Chris Wilson <chris@chris-wilson.co.uk>
3855 Date: Sun Sep 28 15:57:37 2008 +0100
3857 Compute device_transform_inverse.
3859 Because we can independently set either the device scale or the device
3860 offset, we need to be careful and recompute the inverse rather than simply
3861 assuming that the original contents of the device transform is identity.
3863 Fixes regression https://bugs.launchpad.net/inkscape/+bug/234546.
3865 src/cairo-surface.c | 10 ++++------
3866 1 files changed, 4 insertions(+), 6 deletions(-)
3868 commit 9841d9d58ea286f798626d325d50a85bf3f02c8f
3869 Author: Chris Wilson <chris@chris-wilson.co.uk>
3870 Date: Sun Sep 28 13:34:50 2008 +0100
3872 Automate error checking for fallback-resolution.
3874 For this we extend the boilerplate get_image() routines to extract a
3875 single page out of a paginated document and then proceed to manually
3876 check each page of the fallback-resolution test.
3878 (Well that's the theory, in practice SVG doesn't support multiple pages
3879 and so we just generate a new surface for each resolution. But the
3880 infrastructure is in place so that we can automate other tests,
3881 e.g. test/multi-pages.)
3883 boilerplate/cairo-boilerplate-pdf-private.h | 5 +
3884 boilerplate/cairo-boilerplate-pdf.c | 29 +-
3885 boilerplate/cairo-boilerplate-pdf.h | 33 --
3886 boilerplate/cairo-boilerplate-ps-private.h | 9 +-
3887 boilerplate/cairo-boilerplate-ps.c | 33 +-
3888 boilerplate/cairo-boilerplate-ps.h | 33 --
3889 boilerplate/cairo-boilerplate-svg-private.h | 5 +
3890 boilerplate/cairo-boilerplate-svg.c | 36 +-
3891 boilerplate/cairo-boilerplate-svg.h | 33 --
3892 .../cairo-boilerplate-test-surfaces-private.h | 1 +
3893 boilerplate/cairo-boilerplate-test-surfaces.c | 7 +-
3894 boilerplate/cairo-boilerplate-win32-printing.c | 5 +
3895 boilerplate/cairo-boilerplate-win32-private.h | 1 +
3896 boilerplate/cairo-boilerplate.c | 74 ++--
3897 boilerplate/cairo-boilerplate.h | 7 +
3898 src/cairo-svg-surface.c | 6 +-
3899 test/Makefile.am | 6 +
3900 test/cairo-test.c | 36 +-
3901 test/cairo-test.h | 12 +
3902 test/fallback-resolution-ppi150-ref.png | Bin 0 -> 2397 bytes
3903 test/fallback-resolution-ppi300-ref.png | Bin 0 -> 1591 bytes
3904 test/fallback-resolution-ppi37.5-ref.png | Bin 0 -> 4681 bytes
3905 test/fallback-resolution-ppi600-ref.png | Bin 0 -> 1121 bytes
3906 test/fallback-resolution-ppi72-ref.png | Bin 0 -> 2497 bytes
3907 test/fallback-resolution-ppi75-ref.png | Bin 0 -> 3575 bytes
3908 test/fallback-resolution.c | 413 +++++++++++++++-----
3909 26 files changed, 486 insertions(+), 298 deletions(-)
3911 commit cca1fc6358e9d0213dd2b41a5bfd1629eec6511e
3912 Author: Chris Wilson <chris@chris-wilson.co.uk>
3913 Date: Sat Sep 27 21:53:21 2008 +0100
3915 [test] Fix target specific tests for recent SVG/PS version split.
3917 A few tests explicitly checked whether the "ps" or "svg" target was
3918 enabled and this broke because of the name change. So fixup, to run
3919 the generic test if either PS or SVG target is enabled as appropriate.
3921 test/create-for-stream.c | 8 ++++++--
3922 test/fallback-resolution.c | 8 ++++++--
3923 test/multi-page.c | 4 +++-
3924 test/ps-features.c | 4 +++-
3925 test/svg-clip.c | 4 +++-
3926 test/svg-surface.c | 4 +++-
3927 6 files changed, 24 insertions(+), 8 deletions(-)
3929 commit 39e4a0bcd04191eecfc593653a4ba32a28fcac6a
3930 Author: Chris Wilson <chris@chris-wilson.co.uk>
3931 Date: Sat Sep 27 19:33:51 2008 +0100
3933 [test] Update list of REFERENCE_IMAGES
3935 A few typos, deletions and additions from the inclusion of versioned
3938 test/Makefile.am | 50 +++++++++++++++++++++++++++++++-------------------
3939 1 files changed, 31 insertions(+), 19 deletions(-)
3941 commit 260362e5728e2591bb50f565ef04ba951d95de79
3942 Author: Chris Wilson <chris@chris-wilson.co.uk>
3943 Date: Sat Sep 27 19:16:34 2008 +0100
3945 [cairo-test] Fix cairo_test_file_is_older().
3947 It did not even compile, so no longer it wasn't deleting cached results
3948 if you updated the reference images.
3950 test/cairo-test.c | 11 +++++++----
3951 1 files changed, 7 insertions(+), 4 deletions(-)
3953 commit ffbb67303c1a4d986096ba046bb3256314b9f1b1
3954 Author: Chris Wilson <chris@chris-wilson.co.uk>
3955 Date: Sat Sep 27 18:54:45 2008 +0100
3957 [test/gradient-constant-alpha] Remove ps2 reference images.
3959 PostScript level 2 has no support for gradients and so should uses image
3960 fallbacks and hence do not require the GS specific reference images.
3962 test/Makefile.am | 2 --
3963 test/gradient-constant-alpha-ps2-ref.png | Bin 124 -> 0 bytes
3964 test/gradient-constant-alpha-ps2-rgb24-ref.png | Bin 124 -> 0 bytes
3965 3 files changed, 0 insertions(+), 2 deletions(-)
3967 commit 4fa9f8c0608c137d9aa277039cb286c8294e6a2f
3968 Author: Chris Wilson <chris@chris-wilson.co.uk>
3969 Date: Sat Sep 27 17:42:06 2008 +0100
3971 [test/large-source] Remove stale comment.
3973 Delete a reference to an old limitation of pixman.
3975 test/large-source.c | 3 ---
3976 1 files changed, 0 insertions(+), 3 deletions(-)
3978 commit 35f1e2fa4f15c562e5cc41578b413c6874e131bc
3979 Author: Chris Wilson <chris@chris-wilson.co.uk>
3980 Date: Sat Sep 27 17:37:32 2008 +0100
3982 [test/operator*] Remove XFAIL descriptions.
3984 The tests should now pass, so remove the line claiming that they fail
3985 for unknown reasons.
3987 test/operator-alpha.c | 3 +--
3988 test/operator.c | 3 +--
3989 2 files changed, 2 insertions(+), 4 deletions(-)
3991 commit 871f683367b1a1647b607f9221e1fc2eddc6e5dd
3992 Author: Chris Wilson <chris@chris-wilson.co.uk>
3993 Date: Sat Sep 27 17:24:57 2008 +0100
3995 clone_similar(): s/device_offset/clone_offset/
3997 A little bit of sleep and reflection suggested that the use of
3998 device_offset_[xy] was confusing and clone_offset_[xy] more consistent
3999 with the function naming.
4001 src/cairo-directfb-surface.c | 12 ++++++------
4002 src/cairo-glitz-surface.c | 18 +++++++++---------
4003 src/cairo-image-surface.c | 6 +++---
4004 src/cairo-pattern.c | 6 +++---
4005 src/cairo-quartz-surface.c | 16 ++++++++--------
4006 src/cairo-surface-fallback-private.h | 4 ++--
4007 src/cairo-surface-fallback.c | 8 ++++----
4008 src/cairo-surface.c | 16 ++++++++--------
4009 src/cairo-win32-private.h | 4 ++--
4010 src/cairo-win32-surface.c | 8 ++++----
4011 src/cairo-xcb-surface.c | 12 ++++++------
4012 src/cairo-xlib-surface.c | 12 ++++++------
4013 src/cairoint.h | 10 +++++-----
4014 src/test-fallback-surface.c | 8 ++++----
4015 14 files changed, 70 insertions(+), 70 deletions(-)
4017 commit 95c3c069326a77a28eb49053c0ace9f1977e0378
4018 Author: Chris Wilson <chris@chris-wilson.co.uk>
4019 Date: Sat Sep 27 17:13:32 2008 +0100
4021 [surface] Only return early for no traps if the operator is bounded by a mask.
4023 If the operator is unbounded, then its area of effect extends beyond
4024 the definition of the mask by the trapezoids and so we must always perform
4025 the image composition.
4027 Fixes test/operator*.
4029 src/cairo-surface-fallback.c | 4 +---
4030 test/Makefile.am | 2 --
4031 2 files changed, 1 insertions(+), 5 deletions(-)
4033 commit 922a5801164c2b2340a7b4a950820b07e72adadc
4034 Merge: 0c43170... 1e45da4...
4035 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
4036 Date: Sat Sep 27 11:55:50 2008 +0200
4038 Merge branch 'master' of git+ssh://emmanuel@git.cairographics.org/git/cairo
4040 commit 0c4317085ecfc112214cdfe2abd66d9df8038282
4041 Author: Emmanuel Pacaud <emmanuel.pacaud@free.fr>
4042 Date: Sat Sep 27 11:47:32 2008 +0200
4044 [svg] Fix comp-op for paint, mask and show_glyphs operations.
4046 In paint and show_glyphs, the compositing operator was not emitted at all.
4047 In mask, the operator was also emitted for the mask itself, which is
4050 SVG clear and source differ from cairo as it also affects the
4051 destination if the source pixel are completely transparent. We need to emit
4052 an additional clip-to-self property.
4054 Librsvg does not support clip-to-self, so it renders the SVG
4055 test outputs incorrectly.
4057 This patch also remove a lot of useless spaces in the style property
4058 strings (I know, this should go in another commit).
4060 src/cairo-svg-surface.c | 196 +++++++++++++++++++++++++++--------------------
4061 1 files changed, 113 insertions(+), 83 deletions(-)
4063 commit 1e45da48b555b707225c1521068011cabbcc976f
4064 Author: Adrian Johnson <ajohnson@redneon.com>
4065 Date: Sat Sep 27 14:38:22 2008 +0930
4067 Update ref images in Makefile.am
4069 test/Makefile.am | 3 ++-
4070 1 files changed, 2 insertions(+), 1 deletions(-)
4072 commit c0535e8e3394f0b78867785e65cf89dbb31875d5
4073 Author: Adrian Johnson <ajohnson@redneon.com>
4074 Date: Sat Sep 27 14:31:50 2008 +0930
4076 Remove miter-precision from XFAIL
4078 The miter-precision PS output prints correctly on my LaserJet 4050. So
4079 file a Ghostscript bug, supply PS ref images and remove from XFAIL.
4081 test/Makefile.am | 1 -
4082 test/README | 5 +++++
4083 test/miter-precision-ps2-ref.png | Bin 0 -> 865 bytes
4084 test/miter-precision-ps3-ref.png | Bin 0 -> 865 bytes
4085 test/miter-precision.c | 2 +-
4086 5 files changed, 6 insertions(+), 2 deletions(-)
4088 commit 5b97ee65259cafb335c1a2c53f1a55dfcb175e20
4089 Author: Chris Wilson <chris@chris-wilson.co.uk>
4090 Date: Sat Sep 27 00:18:07 2008 +0100
4092 Allow cloning sub-regions of similar surfaces.
4094 Previously the rule for clone_similar() was that the returned surface
4095 had exactly the same size as the original, but only the contents within
4096 the region of interest needed to be copied. This caused failures for very
4097 large images in the xlib-backend (see test/large-source).
4099 The obvious solution to allow cloning only the region of interest seemed
4100 to be to simply set the device offset on the cloned surface. However, this
4101 fails as a) nothing respects the device offset on the surface at that
4102 layer in the compositing stack and b) possibly returning references to the
4103 original source surface provides further confusion by mixing in another
4104 source of device offset.
4106 The second method was to add extra out parameters so that the
4107 device offset could be returned separately and, for example, mixed into
4108 the pattern matrix. Not as elegant, a couple of extra warts to the
4109 interface, but it works - one less XFAIL...
4111 src/cairo-clip.c | 6 ++++++
4112 src/cairo-directfb-surface.c | 14 +++++++++-----
4113 src/cairo-glitz-surface.c | 10 ++++++++++
4114 src/cairo-image-surface.c | 3 +++
4115 src/cairo-pattern.c | 15 +++++++++++++--
4116 src/cairo-quartz-surface.c | 10 +++++++++-
4117 src/cairo-surface-fallback-private.h | 2 ++
4118 src/cairo-surface-fallback.c | 8 ++++++--
4119 src/cairo-surface.c | 24 ++++++++++++++++++------
4120 src/cairo-win32-private.h | 2 ++
4121 src/cairo-win32-surface.c | 8 ++++++--
4122 src/cairo-xcb-surface.c | 18 ++++++++++++++----
4123 src/cairo-xlib-surface.c | 21 +++++++++++++++------
4124 src/cairoint.h | 11 +++++++++--
4125 src/test-fallback-surface.c | 4 ++++
4126 test/Makefile.am | 1 -
4127 16 files changed, 126 insertions(+), 31 deletions(-)
4129 commit 7f3a48f90b409653a2d4fb802779ecb7508e4d6e
4130 Author: Behdad Esfahbod <behdad@behdad.org>
4131 Date: Fri Sep 26 13:27:42 2008 -0400
4133 [cairo.h] Don't define cairo_public to __declspec(dllimport) for static build
4135 That define should target win32 DLL builds only. We can't tell though,
4136 so we require user to define CAIRO_WIN32_STATIC_BUILD to signal that.
4138 src/cairo-system.c | 2 +-
4140 2 files changed, 2 insertions(+), 2 deletions(-)
4142 commit b6e910f4b636e947cefb310125979ce742e87730
4143 Author: Behdad Esfahbod <behdad@behdad.org>
4144 Date: Fri Sep 26 12:36:33 2008 -0400
4146 [README.win32] Update wording from Tor Lillqvist
4148 README.win32 | 19 ++++++++++++-------
4149 1 files changed, 12 insertions(+), 7 deletions(-)
4151 commit fc12267405e98497c9f086d49fa6501d8f671a68
4152 Author: Chris Wilson <chris@chris-wilson.co.uk>
4153 Date: Fri Sep 26 17:10:52 2008 +0100
4155 [scaled-font] Spelling fix.
4157 Arbitrary spelling fix.
4159 src/cairo-scaled-font.c | 2 +-
4160 1 files changed, 1 insertions(+), 1 deletions(-)
4162 commit e0f214710760a0e0332207cb3009e3119867bd13
4163 Author: Chris Wilson <chris@chris-wilson.co.uk>
4164 Date: Fri Sep 26 16:49:57 2008 +0100
4166 [boilerplate] Add a PS 2 target.
4168 Ensure that we can generate PS2 output when required by creating a PS
4169 level 2 target and using GhostScript for conformance testing.
4171 boilerplate/cairo-boilerplate-ps-private.h | 29 ++-
4172 boilerplate/cairo-boilerplate-ps.c | 55 ++++-
4173 boilerplate/cairo-boilerplate.c | 23 ++-
4174 test/Makefile.am | 286 +++++++++++++-------
4175 test/big-line-ps-ref.png | Bin 1148 -> 0 bytes
4176 test/big-line-ps-rgb24-ref.png | Bin 830 -> 0 bytes
4177 test/big-line-ps2-ref.png | Bin 0 -> 1148 bytes
4178 test/big-line-ps2-rgb24-ref.png | Bin 0 -> 830 bytes
4179 test/big-line-ps3-ref.png | Bin 0 -> 1148 bytes
4180 test/big-line-ps3-rgb24-ref.png | Bin 0 -> 830 bytes
4181 test/caps-joins-ps-ref.png | Bin 1459 -> 0 bytes
4182 test/caps-joins-ps2-ref.png | Bin 0 -> 1459 bytes
4183 test/caps-joins-ps3-ref.png | Bin 0 -> 1459 bytes
4184 test/clip-fill-rule-ps-argb32-ref.png | Bin 310 -> 0 bytes
4185 test/clip-fill-rule-ps-rgb24-ref.png | Bin 302 -> 0 bytes
4186 test/clip-fill-rule-ps2-argb32-ref.png | Bin 0 -> 310 bytes
4187 test/clip-fill-rule-ps2-rgb24-ref.png | Bin 0 -> 302 bytes
4188 test/clip-fill-rule-ps3-argb32-ref.png | Bin 0 -> 310 bytes
4189 test/clip-fill-rule-ps3-rgb24-ref.png | Bin 0 -> 302 bytes
4190 test/clip-nesting-ps-argb32-ref.png | Bin 651 -> 0 bytes
4191 test/clip-nesting-ps-rgb24-ref.png | Bin 636 -> 0 bytes
4192 test/clip-nesting-ps2-argb32-ref.png | Bin 0 -> 651 bytes
4193 test/clip-nesting-ps2-rgb24-ref.png | Bin 0 -> 636 bytes
4194 test/clip-nesting-ps3-argb32-ref.png | Bin 0 -> 651 bytes
4195 test/clip-nesting-ps3-rgb24-ref.png | Bin 0 -> 636 bytes
4196 test/clip-operator-ps-rgb24-ref.png | Bin 3624 -> 0 bytes
4197 test/clip-operator-ps2-rgb24-ref.png | Bin 0 -> 3624 bytes
4198 test/clip-operator-ps3-ref.png | Bin 0 -> 8188 bytes
4199 test/clip-operator-ps3-rgb24-ref.png | Bin 0 -> 3624 bytes
4200 test/clip-push-group-ps-argb32-ref.png | Bin 179 -> 0 bytes
4201 test/clip-push-group-ps-rgb24-ref.png | Bin 179 -> 0 bytes
4202 test/clip-push-group-ps2-argb32-ref.png | Bin 0 -> 179 bytes
4203 test/clip-push-group-ps2-rgb24-ref.png | Bin 0 -> 179 bytes
4204 test/clip-push-group-ps3-argb32-ref.png | Bin 0 -> 179 bytes
4205 test/clip-push-group-ps3-rgb24-ref.png | Bin 0 -> 179 bytes
4206 test/clip-twice-ps-argb32-ref.png | Bin 575 -> 0 bytes
4207 test/clip-twice-ps-rgb24-ref.png | Bin 541 -> 0 bytes
4208 test/clip-twice-ps2-argb32-ref.png | Bin 0 -> 575 bytes
4209 test/clip-twice-ps2-rgb24-ref.png | Bin 0 -> 541 bytes
4210 test/clip-twice-ps3-argb32-ref.png | Bin 0 -> 575 bytes
4211 test/clip-twice-ps3-rgb24-ref.png | Bin 0 -> 541 bytes
4212 test/clipped-group-ps-ref.png | Bin 343 -> 0 bytes
4213 test/clipped-group-ps2-ref.png | Bin 0 -> 343 bytes
4214 test/clipped-group-ps3-ref.png | Bin 0 -> 343 bytes
4215 test/close-path-ps-ref.png | Bin 309 -> 0 bytes
4216 test/close-path-ps2-ref.png | Bin 0 -> 309 bytes
4217 test/close-path-ps3-ref.png | Bin 0 -> 309 bytes
4218 test/copy-path-ps-ref.png | Bin 474 -> 0 bytes
4219 test/copy-path-ps2-ref.png | Bin 0 -> 474 bytes
4220 test/copy-path-ps3-ref.png | Bin 0 -> 474 bytes
4221 test/dash-caps-joins-ps-argb32-ref.png | Bin 3870 -> 0 bytes
4222 test/dash-caps-joins-ps-rgb24-ref.png | Bin 3870 -> 0 bytes
4223 test/dash-caps-joins-ps2-argb32-ref.png | Bin 0 -> 3870 bytes
4224 test/dash-caps-joins-ps2-rgb24-ref.png | Bin 0 -> 3870 bytes
4225 test/dash-caps-joins-ps3-argb32-ref.png | Bin 0 -> 3870 bytes
4226 test/dash-caps-joins-ps3-rgb24-ref.png | Bin 0 -> 3870 bytes
4227 test/dash-curve-ps-ref.png | Bin 27293 -> 0 bytes
4228 test/dash-curve-ps2-ref.png | Bin 0 -> 27293 bytes
4229 test/dash-curve-ps3-ref.png | Bin 0 -> 27293 bytes
4230 test/dash-scale-ps-argb32-ref.png | Bin 6318 -> 0 bytes
4231 test/dash-scale-ps-rgb24-ref.png | Bin 6316 -> 0 bytes
4232 test/dash-scale-ps2-argb32-ref.png | Bin 0 -> 6318 bytes
4233 test/dash-scale-ps2-rgb24-ref.png | Bin 0 -> 6316 bytes
4234 test/dash-scale-ps3-argb32-ref.png | Bin 0 -> 6318 bytes
4235 test/dash-scale-ps3-rgb24-ref.png | Bin 0 -> 6316 bytes
4236 test/dash-state-ps-ref.png | Bin 10219 -> 0 bytes
4237 test/dash-state-ps2-ref.png | Bin 0 -> 10219 bytes
4238 test/dash-state-ps3-ref.png | Bin 0 -> 10219 bytes
4239 test/dash-zero-length-ps-ref.png | Bin 319 -> 0 bytes
4240 test/dash-zero-length-ps-rgb24-ref.png | Bin 304 -> 0 bytes
4241 test/dash-zero-length-ps2-ref.png | Bin 0 -> 319 bytes
4242 test/dash-zero-length-ps2-rgb24-ref.png | Bin 0 -> 304 bytes
4243 test/dash-zero-length-ps3-ref.png | Bin 0 -> 319 bytes
4244 test/dash-zero-length-ps3-rgb24-ref.png | Bin 0 -> 304 bytes
4245 test/degenerate-arc-ps-ref.png | Bin 585 -> 0 bytes
4246 test/degenerate-arc-ps2-ref.png | Bin 0 -> 585 bytes
4247 test/degenerate-arc-ps3-ref.png | Bin 0 -> 585 bytes
4248 test/degenerate-path-ps-argb32-ref.png | Bin 390 -> 0 bytes
4249 test/degenerate-path-ps-rgb24-ref.png | Bin 358 -> 0 bytes
4250 test/degenerate-path-ps2-argb32-ref.png | Bin 0 -> 390 bytes
4251 test/degenerate-path-ps2-rgb24-ref.png | Bin 0 -> 358 bytes
4252 test/degenerate-path-ps3-argb32-ref.png | Bin 0 -> 390 bytes
4253 test/degenerate-path-ps3-rgb24-ref.png | Bin 0 -> 358 bytes
4254 test/degenerate-pen-ps-ref.png | Bin 865 -> 0 bytes
4255 test/degenerate-pen-ps2-ref.png | Bin 0 -> 865 bytes
4256 test/degenerate-pen-ps3-ref.png | Bin 0 -> 865 bytes
4257 test/device-offset-fractional-ps-ref.png | Bin 201 -> 0 bytes
4258 test/device-offset-fractional-ps2-ref.png | Bin 0 -> 201 bytes
4259 test/device-offset-fractional-ps3-ref.png | Bin 0 -> 201 bytes
4260 test/extend-reflect-ps-ref.png | Bin 153322 -> 0 bytes
4261 test/extend-reflect-ps2-ref.png | Bin 0 -> 153322 bytes
4262 test/extend-reflect-ps3-ref.png | Bin 0 -> 153322 bytes
4263 test/extend-reflect-similar-ps-ref.png | Bin 153322 -> 0 bytes
4264 test/extend-reflect-similar-ps2-ref.png | Bin 0 -> 153322 bytes
4265 test/extend-reflect-similar-ps3-ref.png | Bin 0 -> 153322 bytes
4266 test/fill-alpha-pattern-ps-ref.png | Bin 4380 -> 0 bytes
4267 test/fill-alpha-pattern-ps3-ref.png | Bin 0 -> 4380 bytes
4268 test/fill-and-stroke-ps-argb32-ref.png | Bin 310 -> 0 bytes
4269 test/fill-and-stroke-ps-rgb24-ref.png | Bin 319 -> 0 bytes
4270 test/fill-and-stroke-ps2-argb32-ref.png | Bin 0 -> 310 bytes
4271 test/fill-and-stroke-ps2-rgb24-ref.png | Bin 0 -> 319 bytes
4272 test/fill-and-stroke-ps3-argb32-ref.png | Bin 0 -> 310 bytes
4273 test/fill-and-stroke-ps3-rgb24-ref.png | Bin 0 -> 319 bytes
4274 test/fill-missed-stop-ps-argb32-ref.png | Bin 564 -> 0 bytes
4275 test/fill-missed-stop-ps-rgb24-ref.png | Bin 531 -> 0 bytes
4276 test/fill-missed-stop-ps2-argb32-ref.png | Bin 0 -> 564 bytes
4277 test/fill-missed-stop-ps2-rgb24-ref.png | Bin 0 -> 531 bytes
4278 test/fill-missed-stop-ps3-argb32-ref.png | Bin 0 -> 564 bytes
4279 test/fill-missed-stop-ps3-rgb24-ref.png | Bin 0 -> 531 bytes
4280 test/fill-rule-ps-argb32-ref.png | Bin 2253 -> 0 bytes
4281 test/fill-rule-ps-rgb24-ref.png | Bin 2031 -> 0 bytes
4282 test/fill-rule-ps2-argb32-ref.png | Bin 0 -> 2253 bytes
4283 test/fill-rule-ps2-rgb24-ref.png | Bin 0 -> 2031 bytes
4284 test/fill-rule-ps3-argb32-ref.png | Bin 0 -> 2253 bytes
4285 test/fill-rule-ps3-rgb24-ref.png | Bin 0 -> 2031 bytes
4286 test/finer-grained-fallbacks-ps-argb32-ref.png | Bin 1047 -> 0 bytes
4287 test/finer-grained-fallbacks-ps-rgb24-ref.png | Bin 819 -> 0 bytes
4288 test/finer-grained-fallbacks-ps2-argb32-ref.png | Bin 0 -> 1047 bytes
4289 test/finer-grained-fallbacks-ps2-rgb24-ref.png | Bin 0 -> 819 bytes
4290 test/finer-grained-fallbacks-ps3-argb32-ref.png | Bin 0 -> 1047 bytes
4291 test/finer-grained-fallbacks-ps3-rgb24-ref.png | Bin 0 -> 819 bytes
4292 test/font-matrix-translation-ps-argb32-ref.png | Bin 748 -> 0 bytes
4293 test/font-matrix-translation-ps-rgb24-ref.png | Bin 748 -> 0 bytes
4294 test/font-matrix-translation-ps2-argb32-ref.png | Bin 0 -> 748 bytes
4295 test/font-matrix-translation-ps2-rgb24-ref.png | Bin 0 -> 748 bytes
4296 test/font-matrix-translation-ps3-argb32-ref.png | Bin 0 -> 748 bytes
4297 test/font-matrix-translation-ps3-rgb24-ref.png | Bin 0 -> 748 bytes
4298 test/ft-show-glyphs-positioning-ps-ref.png | Bin 2269 -> 0 bytes
4299 test/ft-show-glyphs-positioning-ps2-ref.png | Bin 0 -> 2269 bytes
4300 test/ft-show-glyphs-positioning-ps3-ref.png | Bin 0 -> 2269 bytes
4301 test/ft-show-glyphs-table-ps-ref.png | Bin 5687 -> 0 bytes
4302 test/ft-show-glyphs-table-ps2-ref.png | Bin 0 -> 5687 bytes
4303 test/ft-show-glyphs-table-ps3-ref.png | Bin 0 -> 5687 bytes
4304 test/ft-text-antialias-none-ps-argb32-ref.png | Bin 335 -> 0 bytes
4305 test/ft-text-antialias-none-ps2-argb32-ref.png | Bin 0 -> 335 bytes
4306 test/ft-text-antialias-none-ps3-argb32-ref.png | Bin 0 -> 335 bytes
4307 test/ft-text-vertical-layout-type1-ps-ref.png | Bin 1846 -> 0 bytes
4308 test/ft-text-vertical-layout-type1-ps2-ref.png | Bin 0 -> 1846 bytes
4309 test/ft-text-vertical-layout-type1-ps3-ref.png | Bin 0 -> 1846 bytes
4310 test/ft-text-vertical-layout-type3-ps-ref.png | Bin 1804 -> 0 bytes
4311 test/ft-text-vertical-layout-type3-ps2-ref.png | Bin 0 -> 1804 bytes
4312 test/ft-text-vertical-layout-type3-ps3-ref.png | Bin 0 -> 1804 bytes
4313 test/glyph-cache-pressure-ps-ref.png | Bin 1454 -> 0 bytes
4314 test/glyph-cache-pressure-ps2-ref.png | Bin 0 -> 1454 bytes
4315 test/glyph-cache-pressure-ps3-ref.png | Bin 0 -> 1454 bytes
4316 test/gradient-alpha-ps-argb32-ref.png | Bin 134 -> 0 bytes
4317 test/gradient-alpha-ps-rgb24-ref.png | Bin 130 -> 0 bytes
4318 test/gradient-alpha-ps2-argb32-ref.png | Bin 0 -> 134 bytes
4319 test/gradient-alpha-ps2-rgb24-ref.png | Bin 0 -> 130 bytes
4320 test/gradient-alpha-ps3-argb32-ref.png | Bin 0 -> 134 bytes
4321 test/gradient-alpha-ps3-rgb24-ref.png | Bin 0 -> 130 bytes
4322 test/gradient-constant-alpha-ps-ref.png | Bin 124 -> 0 bytes
4323 test/gradient-constant-alpha-ps-rgb24-ref.png | Bin 124 -> 0 bytes
4324 test/gradient-constant-alpha-ps2-ref.png | Bin 0 -> 124 bytes
4325 test/gradient-constant-alpha-ps2-rgb24-ref.png | Bin 0 -> 124 bytes
4326 test/gradient-constant-alpha-ps3-ref.png | Bin 0 -> 124 bytes
4327 test/gradient-constant-alpha-ps3-rgb24-ref.png | Bin 0 -> 124 bytes
4328 test/infinite-join-ps-ref.png | Bin 218 -> 0 bytes
4329 test/infinite-join-ps2-ref.png | Bin 0 -> 218 bytes
4330 test/infinite-join-ps3-ref.png | Bin 0 -> 218 bytes
4331 test/leaky-dash-ps-argb32-ref.png | Bin 286 -> 0 bytes
4332 test/leaky-dash-ps-rgb24-ref.png | Bin 284 -> 0 bytes
4333 test/leaky-dash-ps2-argb32-ref.png | Bin 0 -> 286 bytes
4334 test/leaky-dash-ps2-rgb24-ref.png | Bin 0 -> 284 bytes
4335 test/leaky-dash-ps3-argb32-ref.png | Bin 0 -> 286 bytes
4336 test/leaky-dash-ps3-rgb24-ref.png | Bin 0 -> 284 bytes
4337 test/leaky-dashed-rectangle-ps-ref.png | Bin 444 -> 0 bytes
4338 test/leaky-dashed-rectangle-ps2-ref.png | Bin 0 -> 444 bytes
4339 test/leaky-dashed-rectangle-ps3-ref.png | Bin 0 -> 444 bytes
4340 test/leaky-polygon-ps-ref.png | Bin 354 -> 0 bytes
4341 test/leaky-polygon-ps2-ref.png | Bin 0 -> 354 bytes
4342 test/leaky-polygon-ps3-ref.png | Bin 0 -> 354 bytes
4343 test/line-width-scale-ps-ref.png | Bin 3911 -> 0 bytes
4344 test/line-width-scale-ps2-ref.png | Bin 0 -> 3911 bytes
4345 test/line-width-scale-ps3-ref.png | Bin 0 -> 3911 bytes
4346 test/linear-gradient-ps-ref.png | Bin 779 -> 0 bytes
4347 test/linear-gradient-ps3-ref.png | Bin 0 -> 779 bytes
4348 test/linear-gradient-reflect-ps-ref.png | Bin 314 -> 0 bytes
4349 test/linear-gradient-reflect-ps3-ref.png | Bin 0 -> 314 bytes
4350 test/long-dashed-lines-ps-ref.png | Bin 1516 -> 0 bytes
4351 test/long-dashed-lines-ps2-ref.png | Bin 0 -> 1516 bytes
4352 test/long-dashed-lines-ps3-ref.png | Bin 0 -> 1516 bytes
4353 test/meta-surface-pattern-ps-argb32-ref.png | Bin 3257 -> 0 bytes
4354 test/meta-surface-pattern-ps-rgb24-ref.png | Bin 3873 -> 0 bytes
4355 test/meta-surface-pattern-ps2-argb32-ref.png | Bin 0 -> 3257 bytes
4356 test/meta-surface-pattern-ps2-rgb24-ref.png | Bin 0 -> 3873 bytes
4357 test/meta-surface-pattern-ps3-argb32-ref.png | Bin 0 -> 3257 bytes
4358 test/meta-surface-pattern-ps3-rgb24-ref.png | Bin 0 -> 3873 bytes
4359 test/new-sub-path-ps-argb32-ref.png | Bin 556 -> 0 bytes
4360 test/new-sub-path-ps-rgb24-ref.png | Bin 423 -> 0 bytes
4361 test/new-sub-path-ps2-argb32-ref.png | Bin 0 -> 556 bytes
4362 test/new-sub-path-ps2-rgb24-ref.png | Bin 0 -> 423 bytes
4363 test/new-sub-path-ps3-argb32-ref.png | Bin 0 -> 556 bytes
4364 test/new-sub-path-ps3-rgb24-ref.png | Bin 0 -> 423 bytes
4365 test/over-above-source-ps-argb32-ref.png | Bin 636 -> 0 bytes
4366 test/over-above-source-ps2-argb32-ref.png | Bin 0 -> 636 bytes
4367 test/over-above-source-ps3-argb32-ref.png | Bin 0 -> 636 bytes
4368 test/over-around-source-ps-argb32-ref.png | Bin 632 -> 0 bytes
4369 test/over-around-source-ps-rgb24-ref.png | Bin 538 -> 0 bytes
4370 test/over-around-source-ps2-argb32-ref.png | Bin 0 -> 632 bytes
4371 test/over-around-source-ps2-rgb24-ref.png | Bin 0 -> 538 bytes
4372 test/over-around-source-ps3-argb32-ref.png | Bin 0 -> 632 bytes
4373 test/over-around-source-ps3-rgb24-ref.png | Bin 0 -> 538 bytes
4374 test/over-below-source-ps-argb32-ref.png | Bin 503 -> 0 bytes
4375 test/over-below-source-ps2-argb32-ref.png | Bin 0 -> 503 bytes
4376 test/over-below-source-ps3-argb32-ref.png | Bin 0 -> 503 bytes
4377 test/over-between-source-ps-argb32-ref.png | Bin 678 -> 0 bytes
4378 test/over-between-source-ps2-argb32-ref.png | Bin 0 -> 678 bytes
4379 test/over-between-source-ps3-argb32-ref.png | Bin 0 -> 678 bytes
4380 test/random-intersections-ps-ref.png | Bin 89253 -> 0 bytes
4381 test/random-intersections-ps2-ref.png | Bin 0 -> 89253 bytes
4382 test/random-intersections-ps3-ref.png | Bin 0 -> 89253 bytes
4383 test/rectilinear-miter-limit-ps-ref.png | Bin 221 -> 0 bytes
4384 test/rectilinear-miter-limit-ps2-ref.png | Bin 0 -> 221 bytes
4385 test/rectilinear-miter-limit-ps3-ref.png | Bin 0 -> 221 bytes
4386 test/reflected-stroke-ps-ref.png | Bin 3898 -> 0 bytes
4387 test/reflected-stroke-ps2-ref.png | Bin 0 -> 3898 bytes
4388 test/reflected-stroke-ps3-ref.png | Bin 0 -> 3898 bytes
4389 test/rel-path-ps-rgb24-ref.png | Bin 243 -> 0 bytes
4390 test/rel-path-ps2-rgb24-ref.png | Bin 0 -> 243 bytes
4391 test/rel-path-ps3-rgb24-ref.png | Bin 0 -> 243 bytes
4392 test/rotate-image-surface-paint-ps-ref.png | Bin 212 -> 0 bytes
4393 test/rotate-image-surface-paint-ps2-ref.png | Bin 0 -> 212 bytes
4394 test/rotate-image-surface-paint-ps3-ref.png | Bin 0 -> 212 bytes
4395 test/select-font-face-ps-ref.png | Bin 959 -> 0 bytes
4396 test/select-font-face-ps2-ref.png | Bin 0 -> 959 bytes
4397 test/select-font-face-ps3-ref.png | Bin 0 -> 959 bytes
4398 test/self-copy-ps-ref.png | Bin 335 -> 0 bytes
4399 test/self-copy-ps2-ref.png | Bin 0 -> 335 bytes
4400 test/self-copy-ps3-ref.png | Bin 0 -> 335 bytes
4401 test/show-text-current-point-ps-ref.png | Bin 1356 -> 0 bytes
4402 test/show-text-current-point-ps2-ref.png | Bin 0 -> 1356 bytes
4403 test/show-text-current-point-ps3-ref.png | Bin 0 -> 1356 bytes
4404 test/skew-extreme-ps-ref.png | Bin 1048 -> 0 bytes
4405 test/skew-extreme-ps2-ref.png | Bin 0 -> 1048 bytes
4406 test/skew-extreme-ps3-ref.png | Bin 0 -> 1048 bytes
4407 test/smask-ps-ref.png | Bin 3669 -> 0 bytes
4408 test/smask-ps2-ref.png | Bin 0 -> 3669 bytes
4409 test/smask-ps3-ref.png | Bin 0 -> 3669 bytes
4410 test/smask-text-ps-ref.png | Bin 2023 -> 0 bytes
4411 test/smask-text-ps2-ref.png | Bin 0 -> 2023 bytes
4412 test/smask-text-ps3-ref.png | Bin 0 -> 2023 bytes
4413 test/source-clip-scale-ps-argb32-ref.png | Bin 183 -> 0 bytes
4414 test/source-clip-scale-ps-rgb24-ref.png | Bin 183 -> 0 bytes
4415 test/source-clip-scale-ps2-argb32-ref.png | Bin 0 -> 183 bytes
4416 test/source-clip-scale-ps2-rgb24-ref.png | Bin 0 -> 183 bytes
4417 test/source-clip-scale-ps3-argb32-ref.png | Bin 0 -> 183 bytes
4418 test/source-clip-scale-ps3-rgb24-ref.png | Bin 0 -> 183 bytes
4419 test/stroke-ctm-caps-ps-ref.png | Bin 1079 -> 0 bytes
4420 test/stroke-ctm-caps-ps2-ref.png | Bin 0 -> 1079 bytes
4421 test/stroke-ctm-caps-ps3-ref.png | Bin 0 -> 1079 bytes
4422 test/stroke-image-ps-ref.png | Bin 1786 -> 0 bytes
4423 test/stroke-image-ps2-ref.png | Bin 0 -> 1786 bytes
4424 test/stroke-image-ps3-ref.png | Bin 0 -> 1786 bytes
4425 test/surface-pattern-ps-argb32-ref.png | Bin 2520 -> 0 bytes
4426 test/surface-pattern-ps2-argb32-ref.png | Bin 0 -> 2520 bytes
4427 test/surface-pattern-ps3-argb32-ref.png | Bin 0 -> 2520 bytes
4428 test/surface-pattern-scale-down-ps-argb32-ref.png | Bin 1400 -> 0 bytes
4429 test/surface-pattern-scale-down-ps2-argb32-ref.png | Bin 0 -> 1400 bytes
4430 test/surface-pattern-scale-down-ps3-argb32-ref.png | Bin 0 -> 1400 bytes
4431 test/surface-pattern-scale-up-ps-argb32-ref.png | Bin 1011 -> 0 bytes
4432 test/surface-pattern-scale-up-ps2-argb32-ref.png | Bin 0 -> 1011 bytes
4433 test/surface-pattern-scale-up-ps3-argb32-ref.png | Bin 0 -> 1011 bytes
4434 test/text-pattern-ps-argb32-ref.png | Bin 966 -> 0 bytes
4435 test/text-pattern-ps-rgb24-ref.png | Bin 924 -> 0 bytes
4436 test/text-pattern-ps3-argb32-ref.png | Bin 0 -> 966 bytes
4437 test/text-pattern-ps3-rgb24-ref.png | Bin 0 -> 924 bytes
4438 test/text-rotate-ps-ref.png | Bin 6851 -> 0 bytes
4439 test/text-rotate-ps2-ref.png | Bin 0 -> 6851 bytes
4440 test/text-rotate-ps3-ref.png | Bin 0 -> 6851 bytes
4441 test/text-transform-ps-ref.png | Bin 4154 -> 0 bytes
4442 test/text-transform-ps2-ref.png | Bin 0 -> 4154 bytes
4443 test/text-transform-ps3-ref.png | Bin 0 -> 4154 bytes
4444 test/transforms-ps-ref.png | Bin 418 -> 0 bytes
4445 test/transforms-ps2-ref.png | Bin 0 -> 418 bytes
4446 test/transforms-ps3-ref.png | Bin 0 -> 418 bytes
4447 test/trap-clip-ps-argb32-ref.png | Bin 5591 -> 0 bytes
4448 test/trap-clip-ps-rgb24-ref.png | Bin 5512 -> 0 bytes
4449 test/trap-clip-ps3-argb32-ref.png | Bin 0 -> 5591 bytes
4450 test/trap-clip-ps3-rgb24-ref.png | Bin 0 -> 5512 bytes
4451 test/user-font-proxy-ps-ref.png | Bin 8171 -> 0 bytes
4452 test/user-font-proxy-ps2-ref.png | Bin 0 -> 8171 bytes
4453 test/user-font-proxy-ps3-ref.png | Bin 0 -> 8171 bytes
4454 test/user-font-ps-ref.png | Bin 5043 -> 0 bytes
4455 test/user-font-ps2-ref.png | Bin 0 -> 5043 bytes
4456 test/user-font-ps3-ref.png | Bin 0 -> 5043 bytes
4457 test/user-font-rescale-ps-ref.png | Bin 8041 -> 0 bytes
4458 test/user-font-rescale-ps2-ref.png | Bin 0 -> 8041 bytes
4459 test/user-font-rescale-ps3-ref.png | Bin 0 -> 8041 bytes
4460 289 files changed, 277 insertions(+), 116 deletions(-)
4462 commit 0c030d3b768718eac5d429d0c819934f32896b25
4463 Author: Chris Wilson <chris@chris-wilson.co.uk>
4464 Date: Fri Sep 26 15:26:40 2008 +0100
4466 [boilerplate] Add svg-1.2 target.
4468 SVG 1.2 is sufficiently different from 1.1 that it has separate code
4469 paths within cairo-svg-surface and so justifies its own boilerplate
4472 boilerplate/cairo-boilerplate-svg-private.h | 30 ++++++---
4473 boilerplate/cairo-boilerplate-svg.c | 48 +++++++++++++-
4474 boilerplate/cairo-boilerplate.c | 24 ++++++--
4475 test/Makefile.am | 66 +++++++++++++-------
4476 test/caps-joins-alpha-svg-ref.png | Bin 2454 -> 0 bytes
4477 test/caps-joins-alpha-svg11-ref.png | Bin 0 -> 2454 bytes
4478 test/caps-joins-alpha-svg12-ref.png | Bin 0 -> 2454 bytes
4479 test/font-matrix-translation-svg-ref.png | Bin 970 -> 0 bytes
4480 test/font-matrix-translation-svg11-ref.png | Bin 0 -> 970 bytes
4481 test/font-matrix-translation-svg12-ref.png | Bin 0 -> 970 bytes
4482 test/ft-show-glyphs-positioning-svg-ref.png | Bin 6590 -> 0 bytes
4483 test/ft-show-glyphs-positioning-svg11-ref.png | Bin 0 -> 6590 bytes
4484 test/ft-show-glyphs-positioning-svg12-ref.png | Bin 0 -> 6590 bytes
4485 test/ft-text-vertical-layout-type1-svg-ref.png | Bin 3973 -> 0 bytes
4486 test/ft-text-vertical-layout-type1-svg11-ref.png | Bin 0 -> 3973 bytes
4487 test/ft-text-vertical-layout-type1-svg12-ref.png | Bin 0 -> 3973 bytes
4488 test/ft-text-vertical-layout-type3-svg-ref.png | Bin 3957 -> 0 bytes
4489 test/ft-text-vertical-layout-type3-svg11-ref.png | Bin 0 -> 3957 bytes
4490 test/ft-text-vertical-layout-type3-svg12-ref.png | Bin 0 -> 3957 bytes
4491 test/linear-gradient-svg-ref.png | Bin 1000 -> 0 bytes
4492 test/linear-gradient-svg11-ref.png | Bin 0 -> 1000 bytes
4493 test/linear-gradient-svg12-ref.png | Bin 0 -> 1000 bytes
4494 test/mask-alpha-svg-argb32-ref.png | Bin 615 -> 0 bytes
4495 test/mask-alpha-svg11-argb32-ref.png | Bin 0 -> 615 bytes
4496 test/mask-alpha-svg12-argb32-ref.png | Bin 0 -> 615 bytes
4497 test/mask-ctm-svg-argb32-ref.png | Bin 108 -> 0 bytes
4498 test/mask-ctm-svg11-argb32-ref.png | Bin 0 -> 108 bytes
4499 test/mask-ctm-svg12-argb32-ref.png | Bin 0 -> 108 bytes
4500 test/mask-surface-ctm-svg-argb32-ref.png | Bin 108 -> 0 bytes
4501 test/mask-surface-ctm-svg11-argb32-ref.png | Bin 0 -> 108 bytes
4502 test/mask-surface-ctm-svg12-argb32-ref.png | Bin 0 -> 108 bytes
4503 test/mask-svg-argb32-ref.png | Bin 8527 -> 0 bytes
4504 test/mask-svg-rgb24-ref.png | Bin 7935 -> 0 bytes
4505 test/mask-svg11-argb32-ref.png | Bin 0 -> 8527 bytes
4506 test/mask-svg11-rgb24-ref.png | Bin 0 -> 7935 bytes
4507 test/mask-svg12-argb32-ref.png | Bin 0 -> 8527 bytes
4508 test/mask-svg12-rgb24-ref.png | Bin 0 -> 7935 bytes
4509 test/mask-transformed-similar-svg-ref.png | Bin 4051 -> 0 bytes
4510 test/mask-transformed-similar-svg11-ref.png | Bin 0 -> 4051 bytes
4511 test/mask-transformed-similar-svg12-ref.png | Bin 0 -> 4051 bytes
4512 test/meta-surface-pattern-svg-argb32-ref.png | Bin 3924 -> 0 bytes
4513 test/meta-surface-pattern-svg-rgb24-ref.png | Bin 4593 -> 0 bytes
4514 test/meta-surface-pattern-svg11-argb32-ref.png | Bin 0 -> 3924 bytes
4515 test/meta-surface-pattern-svg11-rgb24-ref.png | Bin 0 -> 4593 bytes
4516 test/meta-surface-pattern-svg12-argb32-ref.png | Bin 0 -> 3924 bytes
4517 test/meta-surface-pattern-svg12-rgb24-ref.png | Bin 0 -> 4593 bytes
4518 test/paint-source-alpha-svg-ref.png | Bin 505 -> 0 bytes
4519 test/paint-source-alpha-svg11-ref.png | Bin 0 -> 505 bytes
4520 test/paint-source-alpha-svg12-ref.png | Bin 0 -> 505 bytes
4521 test/paint-with-alpha-svg-ref.png | Bin 516 -> 0 bytes
4522 test/paint-with-alpha-svg11-ref.png | Bin 0 -> 516 bytes
4523 test/paint-with-alpha-svg12-ref.png | Bin 0 -> 516 bytes
4524 test/push-group-svg-argb32-ref.png | Bin 2935 -> 0 bytes
4525 test/push-group-svg11-argb32-ref.png | Bin 0 -> 2935 bytes
4526 test/push-group-svg12-argb32-ref.png | Bin 0 -> 2935 bytes
4527 test/radial-gradient-svg-ref.png | Bin 91039 -> 0 bytes
4528 test/radial-gradient-svg11-ref.png | Bin 0 -> 91039 bytes
4529 test/radial-gradient-svg12-ref.png | Bin 0 -> 91039 bytes
4530 test/rotate-image-surface-paint-svg-ref.png | Bin 248 -> 0 bytes
4531 test/rotate-image-surface-paint-svg11-ref.png | Bin 0 -> 248 bytes
4532 test/rotate-image-surface-paint-svg12-ref.png | Bin 0 -> 248 bytes
4533 test/scale-source-surface-paint-svg-argb32-ref.png | Bin 182 -> 0 bytes
4534 test/scale-source-surface-paint-svg-rgb24-ref.png | Bin 192 -> 0 bytes
4535 ...scale-source-surface-paint-svg11-argb32-ref.png | Bin 0 -> 182 bytes
4536 .../scale-source-surface-paint-svg11-rgb24-ref.png | Bin 0 -> 192 bytes
4537 ...scale-source-surface-paint-svg12-argb32-ref.png | Bin 0 -> 182 bytes
4538 .../scale-source-surface-paint-svg12-rgb24-ref.png | Bin 0 -> 192 bytes
4539 test/set-source-svg-argb32-ref.png | Bin 104 -> 0 bytes
4540 test/set-source-svg11-argb32-ref.png | Bin 0 -> 104 bytes
4541 test/set-source-svg12-argb32-ref.png | Bin 0 -> 104 bytes
4542 test/smask-fill-svg-ref.png | Bin 1166 -> 0 bytes
4543 test/smask-fill-svg11-ref.png | Bin 0 -> 1166 bytes
4544 test/smask-fill-svg12-ref.png | Bin 0 -> 1166 bytes
4545 test/smask-mask-svg-ref.png | Bin 2529 -> 0 bytes
4546 test/smask-mask-svg11-ref.png | Bin 0 -> 2529 bytes
4547 test/smask-mask-svg12-ref.png | Bin 0 -> 2529 bytes
4548 test/smask-paint-svg-ref.png | Bin 2612 -> 0 bytes
4549 test/smask-paint-svg11-ref.png | Bin 0 -> 2612 bytes
4550 test/smask-paint-svg12-ref.png | Bin 0 -> 2612 bytes
4551 test/smask-svg-ref.png | Bin 3634 -> 0 bytes
4552 test/smask-svg11-ref.png | Bin 0 -> 3634 bytes
4553 test/smask-svg12-ref.png | Bin 0 -> 3634 bytes
4554 test/smask-text-svg-ref.png | Bin 1886 -> 0 bytes
4555 test/smask-text-svg11-ref.png | Bin 0 -> 1886 bytes
4556 test/smask-text-svg12-ref.png | Bin 0 -> 1886 bytes
4557 test/source-clip-scale-svg-ref.png | Bin 119 -> 0 bytes
4558 test/source-clip-scale-svg11-ref.png | Bin 0 -> 119 bytes
4559 test/source-clip-scale-svg12-ref.png | Bin 0 -> 119 bytes
4560 test/surface-pattern-svg-ref.png | Bin 17663 -> 0 bytes
4561 test/surface-pattern-svg11-ref.png | Bin 0 -> 17663 bytes
4562 test/surface-pattern-svg12-ref.png | Bin 0 -> 17663 bytes
4563 test/text-pattern-svg-argb32-ref.png | Bin 1733 -> 0 bytes
4564 test/text-pattern-svg-rgb24-ref.png | Bin 1563 -> 0 bytes
4565 test/text-pattern-svg11-argb32-ref.png | Bin 0 -> 1733 bytes
4566 test/text-pattern-svg11-rgb24-ref.png | Bin 0 -> 1563 bytes
4567 test/text-pattern-svg12-argb32-ref.png | Bin 0 -> 1733 bytes
4568 test/text-pattern-svg12-rgb24-ref.png | Bin 0 -> 1563 bytes
4569 test/text-rotate-svg-ref.png | Bin 18301 -> 0 bytes
4570 test/text-rotate-svg11-ref.png | Bin 0 -> 18301 bytes
4571 test/text-rotate-svg12-ref.png | Bin 0 -> 18301 bytes
4572 test/user-font-proxy-svg-ref.png | Bin 17902 -> 0 bytes
4573 test/user-font-proxy-svg11-ref.png | Bin 0 -> 17902 bytes
4574 test/user-font-proxy-svg12-ref.png | Bin 0 -> 17902 bytes
4575 test/user-font-rescale-svg-ref.png | Bin 15741 -> 0 bytes
4576 test/user-font-rescale-svg11-ref.png | Bin 0 -> 15741 bytes
4577 test/user-font-rescale-svg12-ref.png | Bin 0 -> 15741 bytes
4578 test/user-font-svg-ref.png | Bin 6134 -> 0 bytes
4579 test/user-font-svg11-ref.png | Bin 0 -> 6134 bytes
4580 test/user-font-svg12-ref.png | Bin 0 -> 6134 bytes
4581 109 files changed, 128 insertions(+), 40 deletions(-)
4583 commit 86e57671dd21078215505202ef8aa2141d10fb9c
4584 Author: Behdad Esfahbod <behdad@behdad.org>
4585 Date: Fri Sep 26 11:08:22 2008 -0400
4587 [check-*.sh] Redirect error reports to stderr
4589 doc/public/check-doc-coverage.sh | 6 +++---
4590 src/check-def.sh | 2 +-
4591 src/check-doc-syntax.sh | 8 ++++----
4592 src/check-headers.sh | 2 +-
4593 src/check-plt.sh | 2 +-
4594 src/check-preprocessor-syntax.sh | 10 +++++-----
4595 6 files changed, 15 insertions(+), 15 deletions(-)
4597 commit 096f9def0f599e527d97bb979f7cafbc87dcddc6
4598 Author: Behdad Esfahbod <behdad@behdad.org>
4599 Date: Fri Sep 26 10:55:44 2008 -0400
4601 Add slim markers to make check-plt.sh happy
4603 src/cairo-font-face.c | 4 ++++
4604 src/cairo-user-font.c | 4 ++++
4605 src/cairo.c | 5 +++++
4606 src/cairoint.h | 13 +++++++++++++
4607 4 files changed, 26 insertions(+), 0 deletions(-)
4609 commit 1de059b33bd2e6121e35ccf1c4a35ba7755c44d8
4610 Author: Behdad Esfahbod <behdad@behdad.org>
4611 Date: Fri Sep 26 09:49:50 2008 -0400
4613 [RELEASING] Add ftp-release@lists.freedesktop.org
4615 That list is monitored by various distros to pick up new releases.
4616 We should CC release announcements there.
4618 RELEASING | 12 ++++++------
4619 1 files changed, 6 insertions(+), 6 deletions(-)
4621 commit 9662be8ee77e219908b64b82e828d577dcf120f0
4622 Author: Behdad Esfahbod <behdad@behdad.org>
4623 Date: Fri Sep 26 00:22:00 2008 -0400
4625 [twin-font] Adjust ascent/descent
4627 The font data uses a 64 int high font space with baseline at 50.
4629 src/cairo-font-face-twin.c | 6 +++---
4630 1 files changed, 3 insertions(+), 3 deletions(-)
4632 commit 3883a371f2ba78b17a1302ba8c5df1a79f3e4075
4633 Author: Behdad Esfahbod <behdad@behdad.org>
4634 Date: Fri Sep 26 00:20:21 2008 -0400
4636 [scaled-font] Use full ctm matrix when comparing scaled-font keys
4638 We use the full matrix in hash computation, but only compare the
4639 non-translation items in equality check. This is no bug though,
4640 as we set the ctm translation components of a scaled font to zero
4641 explicitly. But the change makes the hash and equal functions
4642 consistent, which is good.
4644 src/cairo-scaled-font.c | 2 +-
4645 1 files changed, 1 insertions(+), 1 deletions(-)
4647 commit 48099af9fed7497a230992e41d559a19c5dbdc60
4648 Author: Chris Wilson <chris@chris-wilson.co.uk>
4649 Date: Thu Sep 25 13:24:58 2008 +0100
4651 [boilerplate] Retry conversion in process if first attempt fails.
4653 One possibility for a read failure whilst converting the image is if the
4654 external utility crashed. This information is important for the test suite
4655 as knowing input that causes the converter to crash is just as vital as
4656 identifying a crash within the library.
4658 boilerplate/cairo-boilerplate-pdf.c | 11 +----------
4659 boilerplate/cairo-boilerplate-svg.c | 11 +----------
4660 boilerplate/cairo-boilerplate.c | 35 +++++++++++++++++++++++++++++++++--
4661 boilerplate/cairo-boilerplate.h | 11 +++++++++--
4662 4 files changed, 44 insertions(+), 24 deletions(-)
4664 commit f2c484d73ce61012a2d9925f15b55e7c51e34b85
4665 Author: Chris Wilson <chris@chris-wilson.co.uk>
4666 Date: Thu Sep 25 00:16:45 2008 +0100
4668 [test/any2ppm] Handle short reads/writes.
4670 No excuse other than simple laziness - it manifested itself with random
4671 "error whilst reading" failures.
4673 boilerplate/cairo-boilerplate.c | 24 ++++++++++++++++--
4674 test/any2ppm.c | 50 +++++++++++++++++++++++++++++++++-----
4675 2 files changed, 64 insertions(+), 10 deletions(-)
4677 commit 681424cbaf94556bf1804547b42ad642c0a066ab
4678 Author: Chris Wilson <chris@chris-wilson.co.uk>
4679 Date: Thu Sep 25 10:40:32 2008 +0100
4681 [analysis] Merge two analysis status codes.
4683 Since there is an implicit precedence in the ranking of the analysis
4684 return codes, provide a function to centralize the logic within the
4685 analysis surface and isolate the backends from the complexity.
4687 src/cairo-analysis-surface-private.h | 3 ++
4688 src/cairo-analysis-surface.c | 50 +++++++++++++++++++++++++--------
4689 src/cairo-pdf-surface.c | 31 ++++++---------------
4690 3 files changed, 50 insertions(+), 34 deletions(-)
4692 commit 06f0cc81d227a571e011e83cc192050a34d6ea13
4693 Author: Chris Wilson <chris@chris-wilson.co.uk>
4694 Date: Thu Sep 25 10:29:27 2008 +0100
4696 Add a macro to determine whether a status is a fatal error.
4698 In a few places we need to check whether we have a fatal error or an
4699 internal return code, so provide a utility macro to centralise the check.
4702 src/cairoint.h | 3 +++
4703 2 files changed, 4 insertions(+), 2 deletions(-)
4705 commit ba18d57339dbedbbdb7f3ca35b06ce6b5dbcd972
4706 Author: Chris Wilson <chris@chris-wilson.co.uk>
4707 Date: Thu Sep 25 09:39:41 2008 +0100
4709 [pdf] Propagate status
4711 Check and return a few forgotten error codes from static functions.
4713 src/cairo-pdf-operators.c | 14 +++++++++++---
4714 src/cairo-pdf-surface.c | 6 +++++-
4715 2 files changed, 16 insertions(+), 4 deletions(-)
4717 commit 907f550a1b13b0a388f9ff22663911d4aabbe2d8
4718 Author: Adrian Johnson <ajohnson@redneon.com>
4719 Date: Fri Sep 26 20:26:55 2008 +0930
4721 Fix bitmap-font XFAIL
4723 Images in PDF are scaled to a unit square. In PS we set the
4724 ImageMatrix to do the same. When the image is painted we scale the
4725 graphics state to paint the image at the right size. In the case of
4726 Type 3 fonts consisting of bitmap images we want to paint the images
4727 at their original size so we scale the graphics state by the image
4730 The bug was that we were scaling by the width/height in the glyph
4731 metrics. For non rotated fonts this worked. However for rotated fonts
4732 the width/height of the glyph images may be larger than the
4733 width/height in the glyph metrics. This resulted in a Type 3 font
4734 where the glyph images were scaled slightly smaller than they should
4737 src/cairo-type3-glyph-surface.c | 10 +++-------
4738 test/Makefile.am | 1 -
4739 test/bitmap-font-pdf-argb32-ref.png | Bin 1064 -> 0 bytes
4740 3 files changed, 3 insertions(+), 8 deletions(-)
4742 commit f8542dc9dd4dd0685f68381f21fa72dbddd8d682
4743 Author: Behdad Esfahbod <behdad@behdad.org>
4744 Date: Thu Sep 25 19:08:24 2008 -0400
4746 [twin-font] Clean up font data by joining lines and closing paths
4750 * Replace move_to;line_to;move_to;line_to sequences with
4751 move_to;line_to;line_to when feasible.
4753 * Close paths for round glyphs.
4755 Both improve the stroke rendering of the joint.
4757 The first change also saves 3 bytes per joint (33 such joints).
4758 Which we have just left unused for now. To reclaim them one need
4759 to update the charset table. Something for a lazy Sunday afternoon
4762 In the saving department, we can save further by:
4764 - Getting rid of the left/ascent/descent values as we compute
4765 glyph bounding box automatically. Then we can liberally use
4766 the right value to adjust glyph advance width. Saves three
4767 bytes per glyph (there's 96 glyphs in the font).
4769 - First operation is always a move_to. So we can remove the 'm'
4770 for that. Ugly though.
4772 And the charset has zeros for the first 32 entries. Can get rid of
4773 that too at the expense of handling it in the code...
4775 In total, combining the above we can save some 500 bytes. The font
4776 currently takes about 3.7kb.
4778 src/cairo-font-face-twin-data.c | 154 +++++++++++++++++++-------------------
4779 src/cairo-font-face-twin.c | 18 ++++-
4780 2 files changed, 91 insertions(+), 81 deletions(-)
4782 commit d5a998387bcee6569d33375d592190f480f12712
4783 Author: Behdad Esfahbod <behdad@behdad.org>
4784 Date: Thu Sep 25 04:27:11 2008 -0400
4786 Add an internal font face
4788 The font data and rendering is adapted from Keith Packard's Twin
4789 window system. The hinting stuff is not ported yet, but hey, it renders!
4791 The implementation uses user fonts, and the user font backend is modified
4792 to use this font face (which we call "twin" font face internally) when
4793 a toy font is needed.
4795 The font face layer is then modified to use this font if:
4797 - The toy font face "cairo" is asked for, or
4799 - No native font backend is available, or
4801 - The preferred native font backend fails to return a font with
4802 STATUS_UNSUPPORTED. No font backend does this right now but
4803 the idea is to change FreeType to return it if no fonts found
4806 We also allow building with no font backends now!
4808 The new doc/tutorial/src/twin.c file tests the twin face at various
4811 build/configure.ac.features | 26 +-
4812 doc/tutorial/src/twin.c | 39 ++
4813 src/Makefile.sources | 2 +
4814 src/cairo-font-face-twin-data.c | 1030 +++++++++++++++++++++++++++++++++++++++
4815 src/cairo-font-face-twin.c | 199 ++++++++
4816 src/cairo-font-face.c | 33 +-
4817 src/cairo-user-font.c | 53 ++-
4818 src/cairoint.h | 18 +-
4819 8 files changed, 1371 insertions(+), 29 deletions(-)
4821 commit dd7e2461ce748403e121a5de5e4e4c8890e39236
4822 Author: Carl Worth <cworth@cworth.org>
4823 Date: Thu Sep 25 16:06:19 2008 -0700
4825 Increment cairo version to 1.8.1 after the 1.8.0 release.
4827 cairo-version.h | 2 +-
4828 1 files changed, 1 insertions(+), 1 deletions(-)
4830 commit 6b3aa86b1c5b2fce3e56b43142c4ec2664a37032
4831 Author: Carl Worth <cworth@cworth.org>
4832 Date: Thu Sep 25 15:48:14 2008 -0700
4834 Increment cairo version to 1.8.0.
4836 cairo-version.h | 4 ++--
4837 1 files changed, 2 insertions(+), 2 deletions(-)
4839 commit e1560eceab109a051926d04d9aa578c3c991fe88
4840 Author: Carl Worth <cworth@cworth.org>
4841 Date: Thu Sep 25 15:27:08 2008 -0700
4843 NEWS: Add notes for the 1.8.0 release.
4845 Heavily cribbed from 1.7.x snapshot NEWS of course.
4847 NEWS | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
4848 1 files changed, 166 insertions(+), 4 deletions(-)
4850 commit 9a210ab228a3afa9d19b699b772893ea3303f38f
4851 Author: Carl Worth <cworth@cworth.org>
4852 Date: Thu Sep 25 15:53:44 2008 -0700
4854 Add missing reference images REFERENCE_IMAGES list.
4856 The standard ritual before being able to release.
4858 test/Makefile.am | 9 +++++++++
4859 1 files changed, 9 insertions(+), 0 deletions(-)
4861 commit 1d896aa9d89ff79239b3754da617201968072ea1
4862 Author: Carl Worth <cworth@cworth.org>
4863 Date: Thu Sep 25 15:40:28 2008 -0700
4865 Actually remove cairo_has_show_text_glyphs
4867 The release notes for 1.7.6 say that we had dropped this
4868 function, but apparently we had only planned to do that
4869 and didn't actually get around to it until now.
4871 Thanks to the RELEASING insctructions which gave a diff
4872 command that pointed out this problem.
4874 doc/public/cairo-sections.txt | 1 -
4875 doc/public/tmpl/cairo-text.sgml | 9 ---------
4876 src/cairo-gstate.c | 8 +-------
4877 src/cairo.c | 36 +++++-------------------------------
4879 src/cairoint.h | 4 ----
4880 6 files changed, 6 insertions(+), 55 deletions(-)
4882 commit 483ab915c0fd891dffc0390ba4a1c96c1f06e30f
4883 Author: Carl Worth <cworth@cworth.org>
4884 Date: Thu Sep 25 15:25:54 2008 -0700
4886 Remove excessive whitespace.
4888 It looks sloppy (and wastes space) to have two blank lines
4891 README.win32 | 10 ----------
4892 1 files changed, 0 insertions(+), 10 deletions(-)
4894 commit e52f0fe8bdfea16dad5a32b646b57c7734e79e0f
4895 Author: Carl Worth <cworth@cworth.org>
4896 Date: Thu Sep 25 14:09:34 2008 -0700
4898 Ignore test/png-test.png
4900 Finally, "git status" is clean after "make distcheck".
4902 test/.gitignore | 1 +
4903 1 files changed, 1 insertions(+), 0 deletions(-)
4905 commit c62b4c73863efa3948df8bdd57ac604ef6d195be
4906 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
4907 Date: Thu Sep 25 16:57:38 2008 -0400
4909 [user-font-rescale] Do proper ref-counting of substitute font
4911 The problem showed up on OS X because the freetype backend reuses font_face_t's
4912 which kept the reference count high enough for long enough to avoid the problem.
4914 test/user-font-rescale.c | 10 ++++++++--
4915 1 files changed, 8 insertions(+), 2 deletions(-)
4917 commit cd540dc22e1145781119fb9a973dd9ae6bb7401f
4918 Author: Carl Worth <cworth@cworth.org>
4919 Date: Thu Sep 25 13:37:53 2008 -0700
4921 Update text-antialias-subpixel reference image.
4923 Now that we reverted back to cairo's code for sub-pixel
4924 text rendering, we need to update the reference image
4927 test/text-antialias-subpixel-ref.png | Bin 974 -> 1102 bytes
4928 1 files changed, 0 insertions(+), 0 deletions(-)
4930 commit 5d887ad5dca5af0f8216830d1b04d08a5aba9bee
4931 Author: Carl Worth <cworth@cworth.org>
4932 Date: Thu Sep 25 13:31:20 2008 -0700
4934 Remove all lcd_filter code.
4936 We reverted the public API for setting lcd_filter font options
4937 back in 1b42bc8033bc , but we had left the implementation which
4938 would examine fontconfig and Xft properties for the option, and
4939 which would call into freetype for subpixel glyph rasterization.
4941 However, I recently realized, (and the test suite had been trying
4942 to tell me for a while), that this approach would cause a
4943 regression for users who were previously using sub-pixel text,
4944 but without sub-pixel rendering built directly into freetype.
4945 That's not acceptable, so all the code is coming out for now.
4947 src/cairo-font-options.c | 51 +----
4948 src/cairo-ft-font.c | 672 +++++++++++++--------------------------------
4949 src/cairo-surface.c | 1 -
4950 src/cairo-types-private.h | 26 --
4951 src/cairo-xlib-screen.c | 28 --
4952 src/cairoint.h | 7 -
4953 6 files changed, 190 insertions(+), 595 deletions(-)
4955 commit 3d32e7110ba1fedb0bec96238d14245579f5bce1
4956 Author: Carl Worth <cworth@cworth.org>
4957 Date: Thu Sep 25 02:58:01 2008 -0700
4959 Note that we're using ghostscript 8.62 now for reference images.
4963 I had actually forgotten we had documented this. If I had
4964 remembered I could have put more meaningful messages with
4965 some of my recent updates to ps-specific reference images.
4968 1 files changed, 1 insertions(+), 1 deletions(-)
4970 commit a172d87b4cbcc0bda9c376ab5c5cfdea2e20db63
4971 Author: Carl Worth <cworth@cworth.org>
4972 Date: Thu Sep 25 02:49:44 2008 -0700
4974 Make device-offset-scale an XFAIL test due to SVG failure.
4976 It's sad to have to do this. Back with commit 1a9809baa was the
4977 original fix for device-offset-scale, (right after the test was
4978 added), and it fixed it for all backends, including SVG. The fix
4979 involved combining device_transform and CTM into the pattern matrix.
4981 But then, we added the mask-transformed-image and
4982 mask-transformed-similar tests, and commit 20be3182ef29 for fixing an
4983 SVG-specific bug with masks. That fix involved subtracting away the
4984 pattern matrix when emitting a mask to adhere to SVG semantics.
4986 Unfortunately, this change also made the device-offset-scale test
4987 start failing. A correct fix would probably subtract away only the CTM
4988 portion and not the devive_transform. However, the
4989 _cairo_svg_surface_mask function sees only a pattern matrix and
4990 doesn't know how to separate it into CTM and device_transform pieces.
4992 So fixing this will probably require a change to the surface-backend
4993 interface. And since we're not willing to do that so close to a major
4994 release, we're adding yet another XFAIL.
4996 test/Makefile.am | 1 +
4997 test/device-offset-scale.c | 3 ++-
4998 2 files changed, 3 insertions(+), 1 deletions(-)
5000 commit 36eef09b583077a899e446d5f28b5cc15335cf5f
5001 Author: Carl Worth <cworth@cworth.org>
5002 Date: Thu Sep 25 02:30:00 2008 -0700
5004 Update pdf-specific reference images for mask test.
5006 Something had changed to introduce some very minor rasterization
5007 details around the circles.
5009 test/mask-pdf-argb32-ref.png | Bin 7834 -> 8881 bytes
5010 test/mask-pdf-rgb24-ref.png | Bin 7383 -> 8267 bytes
5011 2 files changed, 0 insertions(+), 0 deletions(-)
5013 commit 503506bf0dbfbc0be92f1461afa8683227732809
5014 Author: Carl Worth <cworth@cworth.org>
5015 Date: Thu Sep 25 02:16:47 2008 -0700
5017 Add pdf-specific reference image for mask-transformed-similar
5019 Thanks to help from Chris, we fixed the bug that was making this
5020 test fail with the PDF backend. All that was left was differing
5021 treatment of the edges of the image---easy enough to address
5022 with a pdf-specific reference image.
5024 test/mask-transformed-similar-pdf-ref.png | Bin 0 -> 4213 bytes
5025 1 files changed, 0 insertions(+), 0 deletions(-)
5027 commit 31ff6c863ff82bd7339a03297e4b5a9adea0b1c9
5028 Author: Chris Wilson <chris@chris-wilson.co.uk>
5029 Date: Thu Sep 25 09:47:58 2008 +0100
5031 [pdf] Explicitly order the sequence of checks when analyzing masks
5033 There is an implicit precedence when analyzing patterns for
5034 compatibilty, in order of descending precedence:
5037 needs image fallback
5038 needs meta-surface analysis
5041 So wehen we have two patterns, we need to check both analysis statuses
5042 simulataneously, in order to correctly report the combined status.
5044 src/cairo-pdf-surface.c | 34 +++++++++++++++++++++++++---------
5045 1 files changed, 25 insertions(+), 9 deletions(-)
5047 commit 69635bc054a823afe1ca378fffac1b2daabdf594
5048 Author: Carl Worth <cworth@cworth.org>
5049 Date: Thu Sep 25 01:52:45 2008 -0700
5051 Fix the analysis of mask operations (fixing mask-transformed-similar test case)
5053 The primary bug here was some missing braces. The code was conditionally
5054 assigning to backend_status, but then unconditionally checking for the
5055 value assigned. The result was the leaking of an internal status value
5056 (CAIRO_INT_STATUS_ANALYZE_META_SURFACE) which finally resulted in
5057 an incomplete PDF file in the mask-transformed-similar test case.
5059 While fixing this, also avoid re-using the backend_status variable so
5060 much so that the code is more readable.
5062 src/cairo-analysis-surface.c | 37 ++++++++++++++++++++++++++-----------
5063 1 files changed, 26 insertions(+), 11 deletions(-)
5065 commit 5599b08dfaf5897f58b3456732dc9c241502b4c4
5066 Author: Carl Worth <cworth@cworth.org>
5067 Date: Thu Sep 25 01:42:03 2008 -0700
5069 Drop _cairo_analysis_surface prefix from some static functions
5071 Since these functions are static we don't really need the full
5072 name. And these two functions were both so long that they were
5073 causing some serious line-wrap issues.
5075 src/cairo-analysis-surface.c | 43 +++++++++++++++++------------------------
5076 1 files changed, 18 insertions(+), 25 deletions(-)
5078 commit aae476807c079c6514fb7013092c5c303336d8df
5079 Author: Carl Worth <cworth@cworth.org>
5080 Date: Thu Sep 25 00:18:23 2008 -0700
5082 Update ps-specific reference image for rotate-image-surface-paint
5084 The only difference here is a tie-breaker condition for image-
5085 sampling position. While we care about that when it's under our
5086 control, (pixman rasterization), we don't have precise
5087 requirements for ghostscript's sampling. So we can capture the
5088 current result as a reference.
5090 test/rotate-image-surface-paint-ps-ref.png | Bin 275 -> 212 bytes
5091 1 files changed, 0 insertions(+), 0 deletions(-)
5093 commit a501f8f6d84bcac12b48e226ab653ae237b1a603
5094 Author: Carl Worth <cworth@cworth.org>
5095 Date: Thu Sep 25 00:14:13 2008 -0700
5097 Mark degenerate-path and miter-precision as XFAIL.
5099 These two tests currently fail only for the PS backend,
5100 but they've done so since before the last major release.
5101 The final image result we're getting is definitely wrong
5102 in both cases, but we have not yet been able to verify
5103 if this is due to bugs in cairo (generating PostScript)
5104 or in ghostscript (interpreting and rasterzing the
5107 test/Makefile.am | 2 ++
5108 test/degenerate-path.c | 3 ++-
5109 test/miter-precision.c | 2 +-
5110 3 files changed, 5 insertions(+), 2 deletions(-)
5112 commit e279eeb7ddae445015ac1a582d4aab2e68f03c94
5113 Author: Carl Worth <cworth@cworth.org>
5114 Date: Thu Sep 25 00:08:03 2008 -0700
5116 Make the bitmap-font an XFAIL.
5118 We've had these PDF and PS failures here for a *long* time,
5119 (before the last major release for sure). It's a bug, but
5120 we expect it to be there, so advertise it that way.
5122 test/Makefile.am | 1 +
5123 test/bitmap-font.c | 3 ++-
5124 2 files changed, 3 insertions(+), 1 deletions(-)
5126 commit 261dd83b31adb4a6b4d80f626b9d5fde5eb4d8f6
5127 Author: Carl Worth <cworth@cworth.org>
5128 Date: Wed Sep 24 21:55:53 2008 -0700
5130 Eliminate paranoid check for PNG_INTERLACE_NONE.
5132 Commit 20b1b33c0fc7 added some "paranoid checks" to our png
5133 loading code. One of these was checking that if png_get_IHDR
5134 first reports an interlace value other than PNG_INTERLACE_NONE
5135 that after we call png_set_interlace_handling then we do
5136 get PNG_INTERLACE_NONE from the next call to png_get_IHDR.
5138 However, libpng doesn't seem to actually have that behavior.
5139 When testing cairo_image_surface_create_from_png with an
5140 interlanced PNG file, (which the test suite happens not to
5141 do---even now), the call to png_set_interlace_handling is
5142 doing the trick, but the check for PNG_INTERLACE_NONE is
5145 So, with the check in place, loading an interlaced PNG image
5146 fails with CAIRO_STATUS_READ_ERROR. By simply removing
5147 that check, an interlaced image loads just fine.
5149 src/cairo-png.c | 2 +-
5150 1 files changed, 1 insertions(+), 1 deletions(-)
5152 commit 94d2820c6f64a2da13e6aeb4698198a3d4d0669b
5153 Author: Carl Worth <cworth@cworth.org>
5154 Date: Wed Sep 24 18:38:21 2008 -0700
5156 Update ps-specific reference image for ft-text-vertical-layout-type3
5158 Something, (gs interpreter version?), changed and caused a
5159 very minor rasterization change.
5161 test/ft-text-vertical-layout-type3-ps-ref.png | Bin 1867 -> 1804 bytes
5162 1 files changed, 0 insertions(+), 0 deletions(-)
5164 commit 8a49cfa03a23ed29ea0b310536a3d332af76332c
5165 Author: Carl Worth <cworth@cworth.org>
5166 Date: Wed Sep 24 18:34:43 2008 -0700
5168 Update all reference images for ft-text-vertical-layout-type1.
5170 This is one of those chronically fragile tests. I'm assuming
5171 some font changed or something, because the glyph positions
5172 shifted (consistently) across all the backend. Doesn't look
5175 We'll really need to do proper bundling of all font data to
5176 avoid issues like this.
5178 test/ft-text-vertical-layout-type1-pdf-ref.png | Bin 3604 -> 3968 bytes
5179 test/ft-text-vertical-layout-type1-ps-ref.png | Bin 1910 -> 1846 bytes
5180 test/ft-text-vertical-layout-type1-ref.png | Bin 3960 -> 3980 bytes
5181 test/ft-text-vertical-layout-type1-svg-ref.png | Bin 3934 -> 3973 bytes
5182 4 files changed, 0 insertions(+), 0 deletions(-)
5184 commit 3ae894a9fd5152821e1b427aff298c3f8ae00298
5185 Author: Carl Worth <cworth@cworth.org>
5186 Date: Wed Sep 24 18:29:00 2008 -0700
5188 Update reference image for smask-text test.
5190 Very minor rasterization differences crept in here
5191 from somewhere. Of course, it would be easier to
5192 identify from *where* if we documented all the versions
5193 of the various external libraries used in creating
5194 reference images. But for now, the versions on the
5195 machine of the person making the release win.
5197 test/smask-text-ref.png | Bin 1739 -> 1777 bytes
5198 1 files changed, 0 insertions(+), 0 deletions(-)
5200 commit ab406eeac1817e62d2c0a737db898ba56c3031ff
5201 Author: Carl Worth <cworth@cworth.org>
5202 Date: Wed Sep 24 18:24:46 2008 -0700
5204 Add svg-specific reference image for user-font-rescale.
5206 The difference here was just edge effects, (the kind of
5207 thing that looks like glyph rasterization differences
5208 but might in fact be due to minor rounding differences
5209 in glyph positions). Either way, there's no problem
5210 with respect to what the test is exercising.
5212 test/user-font-rescale-svg-ref.png | Bin 0 -> 15741 bytes
5213 1 files changed, 0 insertions(+), 0 deletions(-)
5215 commit 453443d77acadc705a4b9ddeb96f853364c96ad2
5216 Author: Chris Wilson <chris@chris-wilson.co.uk>
5217 Date: Thu Sep 25 01:08:46 2008 +0100
5219 [test] Write the OUTPUT filename to the log if we match the vector surface.
5221 If the vector surface matches the output from last time, then the
5222 rasterisation is skipped - but we need to write the expected OUTPUT
5223 filename to the log so that the image is referenced from index.html.
5225 test/cairo-test.c | 3 +++
5226 1 files changed, 3 insertions(+), 0 deletions(-)
5228 commit e84ef3c54e0f95d321be8d8f47c5c9c60a2c6b3f
5229 Author: Behdad Esfahbod <behdad@behdad.org>
5230 Date: Wed Sep 24 20:00:30 2008 -0400
5232 [.gitignore] Remove Makefile.*.config
5234 I renamed those generated files to Makefile.*.features but forgot to
5235 update ignore lists. Carl already added the new ones, but didn't
5236 remove the old ones.
5238 boilerplate/.gitignore | 2 --
5239 src/.gitignore | 2 --
5240 2 files changed, 0 insertions(+), 4 deletions(-)
5242 commit 62107b8015f0d359397a02d4f0fecf22647330b9
5243 Author: Carl Worth <cworth@cworth.org>
5244 Date: Wed Sep 24 16:51:44 2008 -0700
5246 Mark several new tests added during 1.7 as XFAIL.
5248 The following tests were added during the 1.7 cycle to
5251 alpha-similar operator operator-alpha self-copy-overlap
5253 In all cases, the identical bug existed in the last major
5254 release, (1.6.4), so these are not new regressions, but merely
5255 bugs that we're now aware of. The correct way to handle bugs
5256 such as these is to mark them as expected failures (XFAIL).
5258 test/Makefile.am | 4 ++++
5259 test/alpha-similar.c | 3 ++-
5260 test/operator-alpha.c | 3 ++-
5261 test/operator.c | 3 ++-
5262 test/self-copy-overlap.c | 3 ++-
5263 5 files changed, 12 insertions(+), 4 deletions(-)
5265 commit c3750cf2187e6b590a93761cb28ad63d2806f81d
5266 Author: Carl Worth <cworth@cworth.org>
5267 Date: Wed Sep 24 16:32:58 2008 -0700
5269 Remove the device-offset testing (-25 cases) for the release.
5271 The reasoning behind the -25 testing is that we want to ensure
5272 that cairo provides translation invariance. However, for
5273 many vector backends we use external rasterizers that don't
5274 necessarily provide that translation invariance.
5276 So this testing makes a bunch of failures appear that we don't
5277 really care about, (and we don't even have a mechanism to turn
5278 them off with custom reference images). For the release, I'm
5279 just turning this off.
5281 After the release, I plan to turn this back on, and then we could
5282 fix this by ensuring that the vector output itself is unaffected
5283 by a device offset, or by moving away from external rasterizers,
5284 (see Chris's micro-gs work to test PostScript with cairo-based
5287 test/cairo-test.c | 2 +-
5288 1 files changed, 1 insertions(+), 1 deletions(-)
5290 commit ea4d0bafb3d374e491f3956347c7510ea7b0d2b8
5291 Author: Carl Worth <cworth@cworth.org>
5292 Date: Wed Sep 24 16:25:38 2008 -0700
5294 Add svg-specific reference image for mask-transformed-similar.
5296 The only difference in this case is whether there is blurring
5297 of the image around the edges. That's a rasterization issue
5298 that we don't care about, (we're testing that the correct
5299 transformation is applied).
5301 test/mask-transformed-similar-svg-ref.png | Bin 0 -> 4051 bytes
5302 1 files changed, 0 insertions(+), 0 deletions(-)
5304 commit f939e46304093cad4d8bc3f545cc49a2888fd59f
5305 Author: Carl Worth <cworth@cworth.org>
5306 Date: Wed Sep 24 16:21:57 2008 -0700
5308 Add pdf-specific reference images for gradient-constant-alpha.
5310 Like many other gradient tests, we're just capturing the buggy
5311 output of poppler here, (though this time I *did* verify with
5312 Adobe acroread that our PDF output seems to be correct).
5315 test/gradient-constant-alpha-pdf-argb32-ref.png | Bin 0 -> 116 bytes
5316 test/gradient-constant-alpha-pdf-rgb24-ref.png | Bin 0 -> 115 bytes
5317 3 files changed, 1 insertions(+), 0 deletions(-)
5319 commit 9335ad313fdc97c3c8d0e532319ac3f58c7f69fc
5320 Author: Carl Worth <cworth@cworth.org>
5321 Date: Wed Sep 24 16:20:35 2008 -0700
5323 Ignore generated files.
5325 I know that I didn't create these Makefile.win32.features files,
5326 so I assume that they are the result of Behdad's build magic and
5327 that he just forgot to add them to .gitignore.
5329 boilerplate/.gitignore | 2 ++
5330 build/.gitignore | 2 ++
5331 src/.gitignore | 2 ++
5332 3 files changed, 6 insertions(+), 0 deletions(-)
5334 commit 06594abc6b74a8260f92f7d9686f2ae5ce84e59f
5335 Author: Carl Worth <cworth@cworth.org>
5336 Date: Wed Sep 24 16:03:12 2008 -0700
5338 Add pdf-specific reference images for fill-alpha-pattern.
5340 These capture the current poppler output, (rather than the
5341 ideal output). We're still waiting for poppler to start
5342 using cairo gradients before this test will run through
5343 cleanly. And even with these new reference images, there's
5344 still some translation variance, so the -25 tests still
5348 test/fill-alpha-pattern-pdf-argb32-ref.png | Bin 0 -> 3887 bytes
5349 test/fill-alpha-pattern-pdf-rgb24-ref.png | Bin 0 -> 3840 bytes
5350 3 files changed, 1 insertions(+), 0 deletions(-)
5352 commit 64541a58aeafece3956bbe4cc4ec3bc2226d3d2a
5353 Author: Carl Worth <cworth@cworth.org>
5354 Date: Wed Sep 24 15:52:05 2008 -0700
5356 Add pdf- and ps-specific reference images for device-offset-fractional
5358 We don't care about the specifics of rasterization in the viewer
5359 here, (though it still might be worth being more careful about
5360 how we set /Interpolate---but that's not the point of this test).
5362 test/device-offset-fractional-pdf-ref.png | Bin 0 -> 277 bytes
5363 test/device-offset-fractional-ps-ref.png | Bin 0 -> 201 bytes
5364 2 files changed, 0 insertions(+), 0 deletions(-)
5366 commit ba7ef8b40e5615de295932b654806345065019c1
5367 Author: Chris Wilson <chris@chris-wilson.co.uk>
5368 Date: Wed Sep 24 22:35:40 2008 +0100
5370 [configure.ac] Bump poppler dependency to 0.9.2
5372 poppler-0.9.2 is required for replaying user-fonts correctly.
5374 configure.ac | 4 +++-
5375 1 files changed, 3 insertions(+), 1 deletions(-)
5377 commit dfe9f7093f9a226e58dc531b54b32a3f169fea96
5378 Author: Chris Wilson <chris@chris-wilson.co.uk>
5379 Date: Wed Sep 24 22:16:39 2008 +0100
5381 Revert "[pdf] Tweak the mask analysis to avoid an assertion failure."
5383 This reverts commit c9ec82f3a89cdd57277be6a9a6cb3e05d82fb206, which
5384 notably caused regresions in the mask and clip-operator tests.
5386 Obviously I'm not smart enough to fix bugs. Since the computer found the
5387 assertion failure, I need to train the computer to fix the bugs as well.
5389 src/cairo-pdf-surface.c | 9 ++-------
5390 1 files changed, 2 insertions(+), 7 deletions(-)
5392 commit ab682a6ff28ca89cc0dd8fd641a0bbc42487f613
5393 Author: Behdad Esfahbod <behdad@behdad.org>
5394 Date: Wed Sep 24 17:22:51 2008 -0400
5396 Add README.win32, courtesy of Damian Frank
5401 README.win32 | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5402 4 files changed, 74 insertions(+), 1 deletions(-)
5404 commit 5a06ca852c909f8225d7b6e7f29668b0ac79898f
5405 Author: Behdad Esfahbod <behdad@behdad.org>
5406 Date: Wed Sep 24 17:16:15 2008 -0400
5408 [Makefile.win32] Also report installing cairo-version.h and cairo-features.h
5410 Those two files needs special care and hence are not listed in
5411 enabled_cairo_sources.
5413 src/Makefile.win32 | 4 +++-
5414 1 files changed, 3 insertions(+), 1 deletions(-)
5416 commit a91101df319e11eb3d6e38b5cfa85d9ac9e7d815
5417 Author: Behdad Esfahbod <behdad@behdad.org>
5418 Date: Wed Sep 24 17:15:44 2008 -0400
5420 [Makefile.sources] Remove mention of cairo-features-win32.h
5422 That file is not generated anymore. Instead, cairo-features.h is
5423 generated from Makefile.win32 on the fly.
5425 src/Makefile.sources | 4 ----
5426 1 files changed, 0 insertions(+), 4 deletions(-)
5428 commit 55e06745a639d86921e48ff56aa0c375a46d6421
5429 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
5430 Date: Thu Sep 25 00:17:57 2008 +0300
5432 [perf-suite] Explicitly read the results of rdtsc from edx:eax.
5434 The =A format used to read a 64 bit result from rdtsc works on x86,
5437 perf/cairo-perf-posix.c | 6 +++---
5438 1 files changed, 3 insertions(+), 3 deletions(-)
5440 commit 2fb59b3ebd885e109160326825325be3907ed48e
5441 Author: Behdad Esfahbod <behdad@behdad.org>
5442 Date: Wed Sep 24 17:09:54 2008 -0400
5444 [Makefile.win32] Report which files to install
5446 The win32 build system has no way to install anything, but it has
5447 full knowledge of what needs to be installed (which headers). So
5448 we now report files to be installed at the end of the build.
5450 src/Makefile.win32 | 9 ++++++++-
5451 1 files changed, 8 insertions(+), 1 deletions(-)
5453 commit 6eee90784ea8174b346e389c2f61b599543685e4
5454 Author: Behdad Esfahbod <behdad@behdad.org>
5455 Date: Wed Sep 24 15:01:06 2008 -0400
5457 Enable CAIRO_HAS_UTF8_TO_UTF16 if PDF_OPERATORS is enabled
5459 We are being cheap and don't define the cairo_utf8_to_utf16 function
5460 if no one is using it. Previously PS surface was not using it, but
5461 after the pdf-operators merge, it was.
5463 Before this commit, building with PS but without PDF failed. Fixing.
5465 src/cairoint.h | 2 +-
5466 1 files changed, 1 insertions(+), 1 deletions(-)
5468 commit bb125689d3d3e623f84a02f4b6f2a0c8f5a7901f
5469 Author: Behdad Esfahbod <behdad@behdad.org>
5470 Date: Wed Sep 24 14:55:20 2008 -0400
5472 Simplify preprocessor conditional syntax
5474 We never do #ifdef-type conditions on CAIRO_HAS_* macros, because we
5475 want to allow setting them to zero. Then if we need to enable a feature
5476 if either of PS or PDF is enabled, the proper syntax is:
5478 #if CAIRO_HAS_PS_SURFACE || CAIRO_HAS_PDF_SURFACE
5480 This works because the preprocessor replaces any unknown identifiers with
5481 zero. Some versions of gcc had a bug that got them very confused with
5482 complex versions of the above. As a workaround for that I have been using
5485 #if CAIRO_HAS_PS_SURFACE+0 || CAIRO_HAS_PDF_SURFACE+0
5487 which magically worked around that bug. Or more recently replacing that
5488 with the duplicated version:
5490 #if CAIRO_HAS_PS_SURFACE
5493 #if CAIRO_HAS_PDF_SURFACE
5497 Both are uglier than the original. Since the gcc bug was very short lived
5498 and there's lots of software out there relying on the original form to work,
5499 moving back to the simple version seems harmless.
5501 src/cairoint.h | 15 +++------------
5502 1 files changed, 3 insertions(+), 12 deletions(-)
5504 commit adece69ae362bdfb018f5886d76a792c44dafd7e
5505 Author: Chris Wilson <chris@chris-wilson.co.uk>
5506 Date: Wed Sep 24 19:17:22 2008 +0100
5508 [test] Add a test case to question the mutability of sources.
5510 Are patterns mutable? The image backend is quite happy to write and read
5511 from the same surface, whereas the vector targets create snapshots... This
5512 test case exploits that inconsistency.
5514 Also the interested reader will note that not only does this demonstrate
5515 translational invariance, but a discrepancy with similar surfaces.
5517 test/.gitignore | 1 +
5518 test/Makefile.am | 3 ++
5519 test/self-copy-overlap-ref.png | Bin 0 -> 1140 bytes
5520 test/self-copy-overlap-rgb24-ref.png | Bin 0 -> 608 bytes
5521 test/self-copy-overlap.c | 56 ++++++++++++++++++++++++++++++++++
5522 5 files changed, 60 insertions(+), 0 deletions(-)
5524 commit 88188eababa7c6dafeb064662a77b8f5f3719593
5525 Author: Chris Wilson <chris@chris-wilson.co.uk>
5526 Date: Wed Sep 24 09:49:09 2008 +0100
5528 [test] Memleak in new mask-ctm-* tests.
5530 Add the forgotten cairo_surface_destroy().
5532 test/mask-transformed-image.c | 3 +++
5533 test/mask-transformed-similar.c | 3 +++
5534 2 files changed, 6 insertions(+), 0 deletions(-)
5536 commit 8f157303681a3d58471ffbe004bc140b7a3a48be
5537 Author: Chris Wilson <chris@chris-wilson.co.uk>
5538 Date: Wed Sep 24 18:39:29 2008 +0100
5540 [test] Rename mask-ctm-* to avoid conflict with mask-ctm.
5542 Using mask-ctm-image as a test name was causing a naming conflict with
5543 mask-ctm, so rename the new tests.
5545 test/.gitignore | 4 +-
5546 test/Makefile.am | 8 +-
5547 test/mask-ctm-image-ref.png | Bin 4516 -> 0 bytes
5548 test/mask-ctm-image.c | 100 --------------------------------
5549 test/mask-ctm-similar-ref.png | Bin 4516 -> 0 bytes
5550 test/mask-ctm-similar.c | 102 ---------------------------------
5551 test/mask-transformed-image-ref.png | Bin 0 -> 4516 bytes
5552 test/mask-transformed-image.c | 100 ++++++++++++++++++++++++++++++++
5553 test/mask-transformed-similar-ref.png | Bin 0 -> 4516 bytes
5554 test/mask-transformed-similar.c | 102 +++++++++++++++++++++++++++++++++
5555 10 files changed, 208 insertions(+), 208 deletions(-)
5557 commit 444d44acde4ac73641c789c19ec7a3199211b594
5558 Author: Chris Wilson <chris@chris-wilson.co.uk>
5559 Date: Wed Sep 24 18:12:22 2008 +0100
5561 [stroke] Cap trailing segment when skipping invisible segments.
5563 If we do not maintain the current_face even for invisible dashed segments,
5564 then we will generate spurious line segments when attempting to close the
5565 path (ala leaky-dashed-rectangle).
5567 This fixes the long standing regression introduced just prior to 1.6 and
5568 captured in these bug reports:
5569 http://lists.cairographics.org/archives/cairo/2008-April/013912.html
5570 http://bugs.freedesktop.org/show_bug.cgi?id=17177
5572 src/cairo-path-stroke.c | 8 ++++++++
5573 1 files changed, 8 insertions(+), 0 deletions(-)
5575 commit 9fc745ae9fbbc24ce3f6fa5728c36fa6819b85a7
5576 Author: Behdad Esfahbod <behdad@behdad.org>
5577 Date: Wed Sep 24 13:17:22 2008 -0400
5579 Revert "[build] Use mkdir -p portability macros"
5581 This reverts commit 03c37f56b2d3ecc0e197194364b216183dacc24a.
5583 The AC_PROG_MKDIR_P is also one of those autoconf macros defined
5584 in newer versions only. Since we use mkdir -p in releasing scripts
5585 only, it's not a big deal if it's not portable.
5587 build/Makefile.am.releasing | 2 +-
5588 build/configure.ac.tools | 1 -
5589 2 files changed, 1 insertions(+), 2 deletions(-)
5591 commit b5b1134c2c84996bd8e019d5908b18db876137dc
5592 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
5593 Date: Wed Sep 24 17:39:33 2008 +0100
5595 [tessellator] Skip edges that lie outside the region of interest.
5597 We don't need to tessellate edges strictly above or below the
5598 the limits of the traps.
5600 src/cairo-bentley-ottmann.c | 11 +++++++++++
5601 1 files changed, 11 insertions(+), 0 deletions(-)
5603 commit 018a64bf7f3ccdf3982655c93701eafc99fd0b93
5604 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
5605 Date: Wed Sep 24 17:33:36 2008 +0100
5607 [traps] Impose limits on traps for cairo_in_(fill|stroke)
5609 We don't need to tessellate edges strictly above or below the
5612 (Patch split and modified by Chris Wilson to apply to cairo_in_stroke()
5613 as well - all bugs are his alone.)
5615 src/cairo-gstate.c | 14 ++++++++++++++
5616 1 files changed, 14 insertions(+), 0 deletions(-)
5618 commit 8c0ff8b5856a8a7cb61dffaad7d72ed2dcdb5cf3
5619 Author: Chris Wilson <chris@chris-wilson.co.uk>
5620 Date: Wed Sep 24 17:03:49 2008 +0100
5622 [cairo] Define min-tolerance in terms of cairo_fixed_t
5624 By using the cairo_fixed_t macros we can compute the correct minimum
5625 tolerance for any configuration.
5628 1 files changed, 1 insertions(+), 1 deletions(-)
5630 commit c9ec82f3a89cdd57277be6a9a6cb3e05d82fb206
5631 Author: Chris Wilson <chris@chris-wilson.co.uk>
5632 Date: Wed Sep 24 15:01:25 2008 +0100
5634 [pdf] Tweak the mask analysis to avoid an assertion failure.
5636 Both the source and mask need to be analyzed and checked for an
5637 UNSUPPORTED operation before determining the best course of action.
5638 As before this is simply decided based on the requirements of the
5641 src/cairo-pdf-surface.c | 9 +++++++--
5642 1 files changed, 7 insertions(+), 2 deletions(-)
5644 commit b9c92842d9c091e34738d14f7baf6f357a1f085c
5645 Author: Chris Wilson <chris@chris-wilson.co.uk>
5646 Date: Wed Sep 24 11:38:21 2008 +0100
5648 [trap] Trivial reject if trapezoid is entirely above or below
5650 Also check whether is vertically within limits.
5652 src/cairo-traps.c | 4 ++++
5653 1 files changed, 4 insertions(+), 0 deletions(-)
5655 commit 911d5f1a254f800fe18f4554b738006aa0a693a2
5656 Author: Chris Wilson <chris@chris-wilson.co.uk>
5657 Date: Wed Sep 24 11:34:27 2008 +0100
5659 [traps] Adjust lines if either point is on the boundary.
5661 If either point lies on the limit and the other outside, adjust the line
5662 to be parallel to the boundary. This adjusts the previous test where both
5663 points needed to be entirely outside.
5665 src/cairo-traps.c | 8 ++++----
5666 1 files changed, 4 insertions(+), 4 deletions(-)
5668 commit 7357e80054b80a9906783ed910282bb79f31cdfd
5669 Author: Chris Wilson <chris@chris-wilson.co.uk>
5670 Date: Wed Sep 24 11:32:11 2008 +0100
5674 Apply prior knowledge to limit the traps during clipping to avoid
5675 generating extra work.
5677 src/cairo-clip.c | 18 ++++++++++++++++--
5678 1 files changed, 16 insertions(+), 2 deletions(-)
5680 commit c36a242303c99f59ba210d6c0dae831b2efb83fc
5681 Author: Chris Wilson <chris@chris-wilson.co.uk>
5682 Date: Wed Sep 24 11:12:05 2008 +0100
5684 [traps] Replace open-coding of box->rectangle->box
5686 Use the utility functions _cairo_box_from_rectangle and
5687 _cairo_box_round_to_rectangle() instead of open-coding. Simultaneously
5688 tweak the whitespace so that all users of traps look similar.
5690 src/cairo-analysis-surface.c | 47 ++++++++++-------------------------------
5691 src/cairo-clip.c | 4 +-
5692 src/cairo-surface-fallback.c | 16 ++-----------
5693 3 files changed, 17 insertions(+), 50 deletions(-)
5695 commit 49b9a21e0bfeed5a1e2f33162a7b1c9e67de1d75
5696 Author: Chris Wilson <chris@chris-wilson.co.uk>
5697 Date: Wed Sep 24 01:56:44 2008 +0100
5699 [test/any2ppm] Handle filenames with multiple-dots.
5701 Use strrchr() to find the extension, as strchr() is fooled too easily.
5703 As spotted by Carlos Garcia Campos.
5705 test/any2ppm.c | 2 +-
5706 1 files changed, 1 insertions(+), 1 deletions(-)
5708 commit 651c6598c98118ba04bc4970557c24241b91dab0
5709 Author: Chris Wilson <chris@chris-wilson.co.uk>
5710 Date: Wed Sep 24 00:49:03 2008 +0100
5712 [traps] Limit extents to imposed constraints.
5714 When reporting the extents of the traps, constrain them to the imposed
5715 limits. This is relied upon in the analysis-surface which sets the
5716 limits on the traps (based on clip/surface extents) and then reports the
5717 extents of the traps as the region of the operation.
5719 src/cairo-traps.c | 15 ++++++++++++++-
5720 1 files changed, 14 insertions(+), 1 deletions(-)
5722 commit 0baf12f450e12b9f2fb4e55bfeb7738dd5145cbd
5723 Author: Behdad Esfahbod <behdad@behdad.org>
5724 Date: Tue Sep 23 19:18:00 2008 -0400
5726 [scaled-font] Another typo fix in the comments
5728 Both this and previous one kindly pointed out by Carl.
5730 src/cairo-scaled-font.c | 2 +-
5731 1 files changed, 1 insertions(+), 1 deletions(-)
5733 commit 70207aadfdb580029c81ac87e2d1aa66cc6c5b30
5734 Author: Behdad Esfahbod <behdad@behdad.org>
5735 Date: Tue Sep 23 19:11:08 2008 -0400
5737 [mutex] Fix typo in comments
5739 src/cairo-mutex-impl-private.h | 2 +-
5740 1 files changed, 1 insertions(+), 1 deletions(-)
5742 commit 0a4a6213e2ab915098b6fdc8bd2652cd5026599c
5743 Author: Chris Wilson <chris@chris-wilson.co.uk>
5744 Date: Fri Sep 19 21:12:55 2008 +0100
5746 [fill] Check for the most common rectilinear case first.
5748 Avoid the iterative search for the extreme points by first checking the
5749 most likely arrangement (as produced by cairo_rectangle() under no
5752 src/cairo-path-fill.c | 18 +++++++++++-------
5753 1 files changed, 11 insertions(+), 7 deletions(-)
5755 commit 8f51ea4657d872f75e1a6493aadcc769fd3b9324
5756 Author: Chris Wilson <chris@chris-wilson.co.uk>
5757 Date: Tue Sep 23 23:19:02 2008 +0100
5759 [pattern] Beware unsigned wrap-around with pathological surface patterns.
5761 A surface pattern under an extreme transformation could lie entirely in
5762 the negative quadrant. This would trigger the fixup such that it's lower
5763 left corner was clamped to the origin, but the upper right corner was left
5764 unchecked. This could result in the width,height being negative and
5765 wrapping around to large values instead of being clamped to 0.
5767 src/cairo-pattern.c | 4 ++--
5768 1 files changed, 2 insertions(+), 2 deletions(-)
5770 commit 3c6d3684e965523acdeec9f24ccf71bf4e974622
5771 Author: Chris Wilson <chris@chris-wilson.co.uk>
5772 Date: Tue Sep 23 22:52:42 2008 +0100
5774 [test] Add a test case for create_similar(CONTENT_ALPHA)
5776 Application of a pure-alpha similar source is inconsistently handled
5777 across the backends. The PDF/PS backends allow the rgb channels to bleed
5778 through and the SVG backend mixes in pure white.
5780 test/.gitignore | 1 +
5781 test/Makefile.am | 3 +
5782 test/alpha-similar-ref.png | Bin 0 -> 99 bytes
5783 test/alpha-similar-rgb24-ref.png | Bin 0 -> 99 bytes
5784 test/alpha-similar.c | 76 ++++++++++++++++++++++++++++++++++++++
5785 5 files changed, 80 insertions(+), 0 deletions(-)
5787 commit 5e5408412694bf067e47d12c9c739801452d8f41
5788 Author: Chris Wilson <chris@chris-wilson.co.uk>
5789 Date: Tue Sep 23 21:49:37 2008 +0100
5791 [test-meta] Use real meta-surface snapshot.
5793 The meta-surface workaround an old bug, which is no longer present in the
5794 tree and open-coded the surface snapshot. However, the workaround itself
5795 was buggy (not respecting the surface content). The lesson to take away
5796 from this is not to add workarounds in test code for bugs in the library!
5798 src/test-meta-surface.c | 35 -----------------------------------
5799 1 files changed, 0 insertions(+), 35 deletions(-)
5801 commit 03c37f56b2d3ecc0e197194364b216183dacc24a
5802 Author: Behdad Esfahbod <behdad@behdad.org>
5803 Date: Tue Sep 23 17:15:07 2008 -0400
5805 [build] Use mkdir -p portability macros
5807 build/Makefile.am.releasing | 2 +-
5808 build/configure.ac.tools | 1 +
5809 2 files changed, 2 insertions(+), 1 deletions(-)
5811 commit ae0511fbbe6c01b5fe8dfa531b3eaa791314931f
5812 Author: Chris Wilson <chris@chris-wilson.co.uk>
5813 Date: Tue Sep 23 20:00:18 2008 +0100
5815 [pdf] Do not modify the dashes in-place.
5817 As PS has different semantics regarding a zero-length dash, we need to
5818 adjust the dash array before emitting. However, we need to modify a copy
5819 of the dash array since the same array may be used by the meta-surface
5820 when replaying to an image fallback.
5822 src/cairo-pdf-operators.c | 14 ++++++++++++--
5823 1 files changed, 12 insertions(+), 2 deletions(-)
5825 commit b7ab1fc791139f5d0fd38692b63514ed02bc8b51
5826 Author: Chris Wilson <chris@chris-wilson.co.uk>
5827 Date: Tue Sep 23 10:51:13 2008 +0100
5829 Return the real error status for set_user_data()
5831 Instead of returning a new NO_MEMORY error, return the status from the
5834 src/cairo-font-face.c | 2 +-
5835 src/cairo-pattern.c | 2 +-
5836 src/cairo-scaled-font.c | 2 +-
5837 src/cairo-surface.c | 2 +-
5839 5 files changed, 5 insertions(+), 5 deletions(-)
5841 commit 0204d2f4e2dd89f1fcf06f2d18e68f6ab7452f91
5842 Author: Adrian Johnson <ajohnson@redneon.com>
5843 Date: Tue Sep 23 22:38:55 2008 +0930
5845 Replace two boolean args with one enum arg
5847 The use of multiple booleans in a function call can make it easy to
5848 mix up the parameters.
5850 src/cairo-scaled-font-subsets.c | 31 +++++++++++++++++++++++--------
5851 1 files changed, 23 insertions(+), 8 deletions(-)
5853 commit 5a3f03623c7ac0414bafc490c927e1f2282839d1
5854 Author: Behdad Esfahbod <behdad@behdad.org>
5855 Date: Tue Sep 23 04:11:48 2008 -0400
5857 [Makefile.win32] Add comments about where to edit for customization
5859 Makefile.win32 | 3 +++
5860 build/Makefile.win32.common | 3 +++
5861 2 files changed, 6 insertions(+), 0 deletions(-)
5863 commit afb32c7f076dbbe4c965fc02226208596f41f59e
5864 Author: Behdad Esfahbod <behdad@behdad.org>
5865 Date: Tue Sep 23 03:52:43 2008 -0400
5867 [src/Makefile.am.analysis] Fix out-of-tree build
5869 src/Makefile.am.analysis | 14 +++++++-------
5870 1 files changed, 7 insertions(+), 7 deletions(-)
5872 commit fba0211ed6f649b9d61a9f2b3d83096dd801cb14
5873 Author: Behdad Esfahbod <behdad@behdad.org>
5874 Date: Mon Sep 22 23:41:07 2008 -0400
5876 [Makefile.win32] Add makefile rules to generate cairo-features.h
5879 Makefile.win32 | 5 +----
5880 build/configure.ac.features | 20 ++++++++++++++++++++
5881 src/Makefile.am | 4 ++--
5882 4 files changed, 25 insertions(+), 6 deletions(-)
5884 commit 0bedbe78fe236cc9dabec87dea0f71714acfb76a
5885 Author: Behdad Esfahbod <behdad@behdad.org>
5886 Date: Mon Sep 22 22:34:57 2008 -0400
5888 [Makefile.win32] Misc cleanup
5890 build/Makefile.win32.common | 29 +++++++++++++++++++++--------
5891 src/Makefile.win32 | 8 ++++----
5892 2 files changed, 25 insertions(+), 12 deletions(-)
5894 commit ebb5eb57b7cab7e5fc4b3215969a459f49d95fbb
5895 Author: Behdad Esfahbod <behdad@behdad.org>
5896 Date: Mon Sep 22 21:18:09 2008 -0400
5898 Generate build/Makefile.win32.features
5900 Makefile.am | 10 +++++++-
5901 boilerplate/Makefile.am | 7 ++---
5902 build/Makefile.win32.common | 6 +++-
5903 build/aclocal.makefile.m4 | 57 +++++++++++++++++++++++++++++++-----------
5904 build/configure.ac.features | 5 +++-
5905 src/Makefile.am | 8 ++++--
5906 6 files changed, 67 insertions(+), 26 deletions(-)
5908 commit fd5cef50a7c856ef80b0a2191170c6a377071e78
5909 Author: Behdad Esfahbod <behdad@behdad.org>
5910 Date: Mon Sep 22 20:48:14 2008 -0400
5912 [aclocal] Add support for automake-only or win32-only makefiles
5914 build/aclocal.makefile.m4 | 66 ++++++++++++++++++++++++++++++++++++++-------
5915 1 files changed, 56 insertions(+), 10 deletions(-)
5917 commit 42e4103015981b874035fac4f5e70018568db0d9
5918 Author: Behdad Esfahbod <behdad@behdad.org>
5919 Date: Mon Sep 22 20:33:23 2008 -0400
5921 [aclocal] Don't do automake conditionals for builtin features
5923 build/aclocal.makefile.m4 | 4 ++--
5924 1 files changed, 2 insertions(+), 2 deletions(-)
5926 commit 79bc967a0dd1319035f0b915759eb86a49007f8d
5927 Author: Behdad Esfahbod <behdad@behdad.org>
5928 Date: Mon Sep 22 20:20:02 2008 -0400
5930 [build] Make including Makefile.win32.features files more robust
5932 By using top_srcdir if available. Make's include is relative to
5933 current dir, not the Makefile being processed. That makes it hard
5934 to include Makefile's relatively.
5936 build/aclocal.makefile.m4 | 2 +-
5937 1 files changed, 1 insertions(+), 1 deletions(-)
5939 commit e686a00da8a84d28b7a00698a4fd744cd4dfd867
5940 Author: Behdad Esfahbod <behdad@behdad.org>
5941 Date: Mon Sep 22 20:11:10 2008 -0400
5943 [build] Add CAIRO_CONFIG_MAKEFILE_PRIVATE
5945 build/aclocal.makefile.m4 | 24 ++++++++++++++++++------
5946 1 files changed, 18 insertions(+), 6 deletions(-)
5948 commit 0ac7a242f829bd31fd7fe12e886fba687ea6dc5e
5949 Author: Behdad Esfahbod <behdad@behdad.org>
5950 Date: Mon Sep 22 19:43:08 2008 -0400
5952 [build] Add Makefile.win32.common
5954 Makefile.win32 | 57 +-----------------------------------------
5955 boilerplate/Makefile.win32 | 21 +--------------
5956 build/Makefile.win32.common | 47 +++++++++++++++++++++++++++++++++++
5957 perf/Makefile.win32 | 26 +------------------
5958 src/Makefile.win32 | 23 ++---------------
5959 test/Makefile.win32 | 22 +---------------
5960 test/pdiff/Makefile.win32 | 6 +---
5961 7 files changed, 60 insertions(+), 142 deletions(-)
5963 commit 984320dff11d42d698ff5355c6befe0c5d32df59
5964 Author: Behdad Esfahbod <behdad@behdad.org>
5965 Date: Mon Sep 22 19:29:17 2008 -0400
5967 [build] Don't define feature variables in Makefile.win32.features
5969 This is not the right place to do that as one also needs to adjust
5970 cairo-features.h. Working on a proper fix.
5972 build/aclocal.makefile.m4 | 27 ---------------------------
5973 build/configure.ac.features | 22 ----------------------
5974 2 files changed, 0 insertions(+), 49 deletions(-)
5976 commit eb9ce580597b9ac639dd3dc15576774d753c44b6
5977 Author: Behdad Esfahbod <behdad@behdad.org>
5978 Date: Mon Sep 22 19:23:41 2008 -0400
5980 [build] Don't generate Makefile conditionals for default=always features
5982 build/aclocal.makefile.m4 | 7 +++++--
5983 1 files changed, 5 insertions(+), 2 deletions(-)
5985 commit caa3dbd61be8a46f576a60f00845269269200c99
5986 Author: Behdad Esfahbod <behdad@behdad.org>
5987 Date: Mon Sep 22 19:11:52 2008 -0400
5989 [build] Make Makefile.*.features files more readable
5991 By inserting a new line before each feature entry.
5993 build/aclocal.makefile.m4 | 2 +-
5994 1 files changed, 1 insertions(+), 1 deletions(-)
5996 commit 23b9767bb3b35995099ae9c7b3d84f18e7a76dcc
5997 Author: Behdad Esfahbod <behdad@behdad.org>
5998 Date: Mon Sep 22 17:34:36 2008 -0400
6000 Rename Makefile.*.config to Makefile.*.features as they should not be modified
6002 The .config naming was giving people the impression that they can modify it.
6003 That's not the case.
6005 autogen.sh | 6 +++---
6006 boilerplate/Makefile.am | 2 +-
6007 build/aclocal.makefile.m4 | 10 +++++-----
6008 doc/public/Makefile.am | 2 +-
6009 src/Makefile.am | 2 +-
6010 5 files changed, 11 insertions(+), 11 deletions(-)
6012 commit 20be3182ef29bb07ffac749f5cf1844b4781e1bb
6013 Author: Kai-Uwe Behrmann <ku.b@gmx.de>
6014 Date: Mon Sep 22 10:10:51 2008 +0100
6016 [svg] Counteract application of object matrix to mask.
6018 The expected behaviour for masking in Cairo is to set the mask according
6019 to the current active matrix and apply unchanged to the masked surface.
6021 In SVG, the mask element is bound to the masked object and thus the local
6022 matrix from that image object applies to the nested mask as well.
6024 Attached is a small patch for substracting the matrix of a image
6025 surface from the matrix of the mask to comply to Cairo's behaviour.
6026 I did not test for other stuff like vectors or text and would expect this
6030 src/cairo-svg-surface.c | 9 +++++----
6031 2 files changed, 6 insertions(+), 4 deletions(-)
6033 commit 223e7b9ed0053f9569df4bafc7688439aeb12572
6034 Author: Chris Wilson <chris@chris-wilson.co.uk>
6035 Date: Mon Sep 22 08:03:41 2008 +0100
6037 [test] Add an exercise for masking an image using the ctm.
6039 Quote Kai-Uwe Behrmann:
6040 "The expected behaviour for masking in Cairo is to set the mask according
6041 to the current active matrix and apply unchanged to a to be masked
6044 In SVG the mask element is bound to the masked object and thus the local
6045 matrix from that image object applies to the nested mask as well."
6047 This is a test case to exercise applying a mask to an image under
6048 separate transformations.
6050 Original patch by Kai-Uwe Behrmann, altered to run the test against all
6051 backends (where it causes poppler to crash on my machine <evil grin>).
6053 test/.gitignore | 2 +
6054 test/Makefile.am | 4 ++
6055 test/mask-ctm-image-ref.png | Bin 0 -> 4516 bytes
6056 test/mask-ctm-image.c | 100 ++++++++++++++++++++++++++++++++++++++++
6057 test/mask-ctm-similar-ref.png | Bin 0 -> 4516 bytes
6058 test/mask-ctm-similar.c | 102 +++++++++++++++++++++++++++++++++++++++++
6059 6 files changed, 208 insertions(+), 0 deletions(-)
6061 commit 3a45ff0e2fd624e52ddbf2b36fa70231405d79fe
6062 Author: Behdad Esfahbod <behdad@behdad.org>
6063 Date: Sat Sep 20 18:35:10 2008 -0400
6065 Make checks happy again
6067 Minor syntax changes and improved check regexps.
6069 src/cairo-mutex-impl-private.h | 2 +-
6070 src/cairo-os2-surface.c | 4 ++--
6071 src/check-preprocessor-syntax.sh | 8 ++++----
6072 3 files changed, 7 insertions(+), 7 deletions(-)
6074 commit 9084f6baf6ab2ce9942b69720dac8201fd5e86cc
6075 Author: Behdad Esfahbod <behdad@behdad.org>
6076 Date: Sat Sep 20 18:24:37 2008 -0400
6078 [Makefile.win32] Fix various issues reported by Damian Frank
6080 We now compile cairo-system.c twice when building static library, but
6081 that's fine because cairo-systemc. includes no other code. Indeed
6082 that's why cairo-system.c was born in the first place.
6084 src/Makefile.win32 | 13 ++++---------
6085 1 files changed, 4 insertions(+), 9 deletions(-)
6087 commit 45609d840078288bf0fc096ee8bac642fed6674f
6088 Author: Behdad Esfahbod <behdad@behdad.org>
6089 Date: Sat Sep 20 18:17:19 2008 -0400
6091 Add cairo-system.c for platform system-specific code
6093 This is where DLL initialization/finalization should be done for example.
6094 Moved the one for win32. For OS/2 just left a comment as the code needs
6097 This change simplifies building shared and static libraries in the win32
6100 src/Makefile.sources | 1 +
6101 src/cairo-mutex-impl-private.h | 8 +++
6102 src/cairo-os2-surface.c | 6 +++
6103 src/cairo-system.c | 97 ++++++++++++++++++++++++++++++++++++++++
6104 src/cairo-win32-surface.c | 28 -----------
6105 5 files changed, 112 insertions(+), 28 deletions(-)
6107 commit 9c2732395987a29ee764c575cce2b13e94152151
6108 Author: Behdad Esfahbod <behdad@behdad.org>
6109 Date: Sat Sep 20 18:05:01 2008 -0400
6111 [aclocal] In generated Makefile.win32.config, don't overwrite feature vars
6113 When I designed this first I thought people can define make vars on the
6114 command line to override default features. That works. However, it's
6115 natural to want to define the list of features in the toplevel Makefile
6116 and not on command line. So, we don't override user's var now. They
6117 can set a make feature var to 0 to disable it.
6119 build/aclocal.makefile.m4 | 5 ++++-
6120 build/configure.ac.features | 16 ++++++++--------
6121 2 files changed, 12 insertions(+), 9 deletions(-)
6123 commit 6d0d5e7ba07c084deafed7118f626415a6c23764
6124 Author: Behdad Esfahbod <behdad@behdad.org>
6125 Date: Sat Sep 20 17:52:19 2008 -0400
6127 Define cairo_public correctly for win32
6129 I'm conditioning on _MSC_VER. Is this accurate?
6130 Note that we never overwrite cairo_public. So one can define it to
6133 src/cairo.h | 6 +++++-
6134 src/cairoint.h | 4 ++++
6135 2 files changed, 9 insertions(+), 1 deletions(-)
6137 commit 11e96487d8994dd15b39b5ede5be189491f1c14a
6138 Author: Behdad Esfahbod <behdad@behdad.org>
6139 Date: Sat Sep 20 17:51:24 2008 -0400
6141 [Makefile.win32] Remove a few unused macro declarations
6143 An undefined PACKAGE_BUGREPORT is not properly handled where it's used.
6144 The other two were not being used after build system revamp.
6146 Makefile.win32 | 2 --
6147 1 files changed, 0 insertions(+), 2 deletions(-)
6149 commit fee72c26afff2120315ebbab32708520307e7a5e
6150 Author: Behdad Esfahbod <behdad@behdad.org>
6151 Date: Sat Sep 20 17:20:36 2008 -0400
6153 Make sure feature macros are checked using #if, not #ifdef; add a test for it
6155 This is more robust to cases where people want to assign 0 to those variables.
6156 (win32/alternate build systems, etc)
6158 src/Makefile.am | 6 ++--
6159 src/cairo-atomic-private.h | 4 +-
6160 src/cairo-atomic.c | 2 +-
6161 src/cairo-directfb.h | 2 +-
6162 src/cairo-mutex-list-private.h | 2 +-
6163 src/cairo-quartz-private.h | 11 +++----
6164 src/cairo-quartz.h | 4 +-
6165 src/cairo-win32.h | 8 +++++
6166 src/cairoint.h | 13 +++++++-
6167 src/check-includes.sh | 58 --------------------------------------
6168 src/check-preprocessor-syntax.sh | 57 +++++++++++++++++++++++++++++++++++++
6169 11 files changed, 91 insertions(+), 76 deletions(-)
6171 commit e00565fa3c9579566abb31b71af3f13f44c45139
6172 Author: Behdad Esfahbod <behdad@behdad.org>
6173 Date: Sat Sep 20 15:38:29 2008 -0400
6175 [src/check-includes.sh] Check that there is no #include <cairo.*.h>
6177 The correct syntax to include cairo headers from other cairo headers and
6178 sources is using "...", not <...>. Check that.
6180 src/check-includes.sh | 34 ++++++++++++++++++++++------------
6181 1 files changed, 22 insertions(+), 12 deletions(-)
6183 commit 9c36a5f3f19ca5bb2e0bb23baeaa625ad6833ab4
6184 Author: Behdad Esfahbod <behdad@behdad.org>
6185 Date: Fri Sep 19 18:51:03 2008 -0400
6187 [src/Makefile.am.analysis] Check that all headers can be compiled standalone
6189 This ensures that each header includes all headers it depends on.
6190 This is now enforced by "make check".
6192 src/Makefile.am | 6 +++++-
6193 src/Makefile.am.analysis | 23 +++++++++++++++++------
6194 src/cairo-mutex-impl-private.h | 4 ----
6195 src/cairo-mutex-list-private.h | 5 +++++
6196 4 files changed, 27 insertions(+), 11 deletions(-)
6198 commit 2dd90a6c94559374d995475fff8ffff5d0d3ff6f
6199 Author: Behdad Esfahbod <behdad@behdad.org>
6200 Date: Fri Sep 19 18:45:44 2008 -0400
6202 [cairo-mutex] Move semicolons out of cairo-mutex-list-private.h
6204 Previously cairo-mutex-list-private.h assumed that every use of the file
6205 will produce a statement for each mutex by including a semicolon after
6206 each. But some uses (like enumerating all static mutexes in an array
6207 for example, can't be implemented with the semicolon in place. So, move
6208 the semicolon out to the users of the header file.
6210 src/cairo-mutex-list-private.h | 17 ++++++++---------
6211 src/cairo-mutex-private.h | 2 +-
6212 src/cairo-mutex.c | 6 +++---
6213 3 files changed, 12 insertions(+), 13 deletions(-)
6215 commit 8ae8189327f383fa033032d7d4280b91d650171d
6216 Author: Behdad Esfahbod <behdad@behdad.org>
6217 Date: Fri Sep 19 18:43:43 2008 -0400
6219 [configure.ac.warnings] Add -Wp,-D_FORTIFY_SOURCE=2 to warning flags
6221 It enables various checks in glibc and gcc preprocessor.
6223 build/configure.ac.warnings | 3 +++
6224 1 files changed, 3 insertions(+), 0 deletions(-)
6226 commit 54b60dadb9f8393f834c4709b37ffb163a00445c
6227 Author: Behdad Esfahbod <behdad@behdad.org>
6228 Date: Fri Sep 19 18:42:54 2008 -0400
6230 [Makefile.am.common] Remove gcc precompiled headers in "make clean"
6232 Stale gcc precompiled headers can cause bugs very tricky to pin down.
6234 build/Makefile.am.common | 2 +-
6235 1 files changed, 1 insertions(+), 1 deletions(-)
6237 commit d84752605a4aee96fa872a97a50e59a44ee7051a
6238 Author: Behdad Esfahbod <behdad@behdad.org>
6239 Date: Fri Sep 19 17:17:03 2008 -0400
6241 Make sure (and check) that all private headers include some cairo header first
6243 The macros CAIRO_BEGIN_DECLS and CAIRO_END_DECLS are declared in two
6244 places: config.h and cairo.h. On Win32 build there is no config.h. So,
6245 we can't rely on pulling CAIRO_BEGIN_DECLS from there. Hence, we now:
6247 * Not add those declarations to config.h anymore,
6249 * Test that every cairo private header includes some other cairo
6250 header before any other includes.
6252 These two are fairly enough to ensure that cairo.h is seen from all
6253 private headers. There's still the case of headers not including
6254 any header file at all. I'll fix that later.
6256 build/aclocal.cairo.m4 | 13 ---------
6257 build/configure.ac.system | 2 -
6258 src/Makefile.am | 2 +-
6259 src/cairo-atomic-private.h | 4 +-
6260 src/cairo-compiler-private.h | 2 +
6261 src/cairo-mutex-impl-private.h | 2 +
6262 src/cairo-mutex-private.h | 4 ---
6263 src/cairo-os2-private.h | 6 ++--
6264 src/cairo-reference-count-private.h | 8 ------
6265 src/cairo-region-private.h | 8 ++++-
6266 src/cairo-types-private.h | 2 -
6267 src/cairo-wideint-type-private.h | 2 +
6268 src/check-cairoint.sh | 22 ----------------
6269 src/check-includes.sh | 48 +++++++++++++++++++++++++++++++++++
6270 14 files changed, 66 insertions(+), 59 deletions(-)
6272 commit eb89bf049a4c2ab0946c45a1277bfd8b1519efa1
6273 Author: Behdad Esfahbod <behdad@behdad.org>
6274 Date: Fri Sep 19 16:52:59 2008 -0400
6276 Check for _MSC_VER in mutex implementation code
6278 Previously I made the mutex implementation code to use Windows mutexes
6279 conditional on HAVE_WINDOWS_H. This was suppposed to be a more wine-friendly
6280 version of checking for a Windows platform. However, it also meant that
6281 when compiling without config.h, one had to stuff a #define for HAVE_WINDOWS_H
6282 somewhere. Traditionally it was put in cairo-features-win32.h, and that
6283 practice was carried over even after my build system rewrite.
6285 Somewhere along the road I also decided that the mutex implementation header
6286 does not need to include anything other than config.h. So the hacked up
6287 HAVE_WINDOWS_H in cairo-features-win32.h was not being seen by its lone
6290 We now condition on any of HAVE_WINDOWS_H and _MSC_VER. So the hack can be
6293 build/configure.ac.features | 2 --
6294 src/cairo-mutex-impl-private.h | 2 +-
6295 2 files changed, 1 insertions(+), 3 deletions(-)
6297 commit 33b6d2b5eb4f5d424cec51970d9b72bef49a5fc8
6298 Author: Behdad Esfahbod <behdad@behdad.org>
6299 Date: Fri Sep 19 16:48:12 2008 -0400
6301 [src/check-cairoint.sh] Escape dot in regexp
6303 No why, just that it's more robust :).
6305 src/check-cairoint.sh | 2 +-
6306 1 files changed, 1 insertions(+), 1 deletions(-)
6308 commit d635c941b2d046c5edfef84ef870009069fb4004
6309 Author: Behdad Esfahbod <behdad@behdad.org>
6310 Date: Fri Sep 19 14:50:24 2008 -0400
6312 [image] Check for PACKAGE_BUGREPORT availability
6314 Building using win32, there is no config.h. So PACKAGE_BUGREPORT may
6317 src/cairo-image-surface.c | 5 ++++-
6318 1 files changed, 4 insertions(+), 1 deletions(-)
6320 commit a6c0ebee7aa9298af24859c37d8005eba772c4c6
6321 Author: Chris Wilson <chris@chris-wilson.co.uk>
6322 Date: Fri Sep 19 16:15:55 2008 +0100
6324 [tessellator] Only run sweep-line validator when debugging
6326 The tessellator is well-proven now. However, the sweep-line validator
6327 consumes around 50% of the total time required to draw the fractal
6328 Pythagoras tree (the leaves are sub-pixel rectangles, so lots of edges
6329 to sweep through). So disable the validator, but keep it available for
6332 src/cairo-bentley-ottmann.c | 17 ++++++++++-------
6333 1 files changed, 10 insertions(+), 7 deletions(-)
6335 commit 91f0b8b1eac967d4534201794c9ba7880ddfaa17
6336 Author: Chris Wilson <chris@chris-wilson.co.uk>
6337 Date: Fri Sep 19 13:29:01 2008 +0100
6339 [fill] Construct trap using rectangle directly.
6341 Avoid the overhead in sorting the edges within
6342 _cairo_traps_tessellate_convex_quad() by using our prior knowledge that we
6343 have a simple rectangle and construct the trap from the extreme points.
6345 src/cairo-path-fill.c | 16 ++++++++++++++--
6346 1 files changed, 14 insertions(+), 2 deletions(-)
6348 commit e749b58af827e4cc28353bcc6bc4b2ab8d47aaf6
6349 Author: Chris Wilson <chris@chris-wilson.co.uk>
6350 Date: Fri Sep 19 13:19:51 2008 +0100
6352 [test] Add rectilinear-fill
6354 Add a test-case to exercise pixel-aligned fills to verify the optimised
6357 test/.gitignore | 1 +
6358 test/Makefile.am | 2 +
6359 test/rectilinear-fill-ref.png | Bin 0 -> 162 bytes
6360 test/rectilinear-fill.c | 92 +++++++++++++++++++++++++++++++++++++++++
6361 4 files changed, 95 insertions(+), 0 deletions(-)
6363 commit d5cd7ee74fb64b00597880a75b2e62065fac59b3
6364 Author: Chris Wilson <chris@chris-wilson.co.uk>
6365 Date: Fri Sep 19 13:22:51 2008 +0100
6367 [stroke] Optimise rectilinear strokes.
6369 Avoid the overhead of sorting the rectangle in
6370 _cairo_traps_tessellate_convex_quad() by constructing the trap directly
6371 from the line segment. This also has secondary effects in only passing
6372 the non-degenerate trap to _cairo_traps_add_trap().
6374 For rectilinear Hilbert curves this makes the rectilinear stoker over 4x
6377 src/cairo-path-stroke.c | 42 +++++++++++++++++++++++++-----------------
6378 src/cairo-traps.c | 18 ++++++++++++++++++
6379 src/cairoint.h | 5 +++++
6380 3 files changed, 48 insertions(+), 17 deletions(-)
6382 commit 9930eefbbd4448d598faff12fc0f7127555c8c94
6383 Author: Chris Wilson <chris@chris-wilson.co.uk>
6384 Date: Fri Sep 19 10:54:13 2008 +0100
6386 Simple perf tweaks for a rectilinear Hilbert curve.
6388 Some tweaks to avoid stack copies and branches that save ~25% in
6389 _cairo_traps_tessellate_convex_quad().
6391 src/cairo-bentley-ottmann.c | 36 +++++-----
6392 src/cairo-slope.c | 6 +-
6393 src/cairo-surface-fallback.c | 12 +--
6394 src/cairo-traps.c | 175 ++++++++++++++++--------------------------
6395 src/cairoint.h | 25 ++++---
6396 5 files changed, 105 insertions(+), 149 deletions(-)
6398 commit 27ee8dd9c64ac0fd36ce7b58729ee732e3396ee1
6399 Author: Chris Wilson <chris@chris-wilson.co.uk>
6400 Date: Fri Sep 19 11:48:57 2008 +0100
6402 [trap] Fixup a double _cairo_traps_fini().
6404 The rectilinear stroke finalized the cairo_traps_t passed to it - which
6405 was then subsequently used without re-initialized. So instead of
6406 finalizing the structure, just remove any traps that we may have added
6407 (leaving the limits and memory intact).
6409 src/cairo-path-stroke.c | 5 ++---
6410 src/cairo-traps.c | 8 ++++++++
6411 src/cairoint.h | 3 +++
6412 3 files changed, 13 insertions(+), 3 deletions(-)
6414 commit b9c432862a25e4b18dfa2e7a2c5631cf9b235a21
6415 Author: Behdad Esfahbod <behdad@behdad.org>
6416 Date: Thu Sep 18 19:35:28 2008 -0400
6418 [Makefile.am.releasing] Make release-publish work with parallel build
6420 Carl had this confusing problem today making the snapshot, which was
6421 "make release-publish" erring. This commit reworks the release-publish
6422 machinery to enforce serialization of some of the tasks such that it
6423 works with make -j. Don't expect any speedup though as "make distcheck"
6424 is inherently sequential.
6426 build/Makefile.am.releasing | 30 +++++++++++++++++++++++-------
6427 1 files changed, 23 insertions(+), 7 deletions(-)
6429 commit 9eee0e935859082d8798846a8e6b16cbceb1f779
6430 Author: Behdad Esfahbod <behdad@behdad.org>
6431 Date: Thu Sep 18 18:33:05 2008 -0400
6433 [Makefile.am] Move sticky-bit clearing to dist-hook
6435 It's a more natural place. It also means that we just change permissions
6436 on the dist directory, not the user's source directory.
6438 build/Makefile.am.releasing | 22 +++++++++++++++-------
6439 1 files changed, 15 insertions(+), 7 deletions(-)
6441 commit bdaaf3574a596e3ab31d0bdf0f84667d868c10d1
6442 Author: Carl Worth <cworth@cworth.org>
6443 Date: Thu Sep 18 15:06:12 2008 -0700
6445 Increment version number to 1.7.7
6447 Just after the 1.7.6 snapshot went out.
6449 cairo-version.h | 2 +-
6450 1 files changed, 1 insertions(+), 1 deletions(-)
6452 commit 005dd8499bca9521ab934a56c68d2b85042359b7
6453 Author: Behdad Esfahbod <behdad@behdad.org>
6454 Date: Thu Sep 18 16:39:23 2008 -0400
6456 [src/Makefile.win32] Remove recursive cairo_headers var
6458 The cairo_headers variable in Makefile.win32 was unused and
6459 from before the new build system was put in place. One can
6460 use enabled_cairo_headers if need be.
6462 src/Makefile.win32 | 4 ----
6463 1 files changed, 0 insertions(+), 4 deletions(-)
6465 commit 567be443a2add00b4ea9b888ee35aeac5b41dc16
6466 Author: Behdad Esfahbod <behdad@behdad.org>
6467 Date: Thu Sep 18 16:27:02 2008 -0400
6469 [configure.ac] Make sure version information do not end up in config.h
6471 By introducing $(top_srcdir)/cairo-version.h I tried to make it
6472 unnecessary to rebuild the entire library when the version changes.
6473 That comes handy around releases and when bisecting.
6475 However this was not working as the version info was also ending
6476 up in config.h and hence forcing a full rebuild upon change.
6477 I now undefine the PACKAGE_VERSION* macros that autoconf defines,
6478 so config.h does not change when cairo-version.h changes.
6480 build/configure.ac.version | 7 +++++++
6481 src/cairoint.h | 7 -------
6482 2 files changed, 7 insertions(+), 7 deletions(-)
6484 commit 73c70488f36b595fdfa47068309cc886bf0861ef
6485 Author: Behdad Esfahbod <behdad@behdad.org>
6486 Date: Thu Sep 18 15:56:53 2008 -0400
6488 [src/check-*.sh] Use computed list of source files instead of running "find"
6490 When the lists are available use them. They will be available to test
6493 src/Makefile.am | 6 ++++++
6494 src/check-cairoint.sh | 9 +++++++--
6495 src/check-headers.sh | 9 +++++++--
6496 3 files changed, 20 insertions(+), 4 deletions(-)
6498 commit 1ee675d6a00ecd70447459f098e469c71b748d77
6499 Author: Behdad Esfahbod <behdad@behdad.org>
6500 Date: Thu Sep 18 15:55:23 2008 -0400
6502 [src/check-doc/syntax.sh] Fix test for out-of-tree build
6504 Now that our build system can compute a list of all cairo files,
6505 we prefer to use that in the tests instead of running "find".
6506 However, we were not switching to $(srcdir) so the test was not
6507 finding source files in out-of-tree builds. Noticed that from
6508 the grep error in distcheck.
6510 src/check-doc-syntax.sh | 4 +++-
6511 1 files changed, 3 insertions(+), 1 deletions(-)
6513 commit dc260f1c0b432658cfa64e98c777609d0cbe7f3b
6514 Author: Behdad Esfahbod <behdad@behdad.org>
6515 Date: Thu Sep 18 15:35:03 2008 -0400
6517 [doc] Remove lcd_filter API from doc listing
6519 Carl removed the API but not the listing in the docs.
6520 The docs tests are passing again now.
6522 doc/public/cairo-sections.txt | 3 ---
6523 1 files changed, 0 insertions(+), 3 deletions(-)
6525 commit d02fb0fd2044652255da0922f70199e7a84a31c1
6526 Author: Behdad Esfahbod <behdad@behdad.org>
6527 Date: Thu Sep 18 15:33:10 2008 -0400
6529 [doc/public/check-doc-coverage.sh] Make doc building needed for the test faster
6531 We used to do a full doc build to just to run the coverage test. That's
6532 way too slow to expect people to run regularly. Instead now we just do the
6533 source code scanning part of the doc build system that is just enough to
6534 know if all symbols are documented.
6536 A full doc build can be done as always by invoking "make doc", and indeed
6537 will be called as part of "make dist" or "make distcheck".
6539 doc/public/Makefile.am | 6 ++++--
6540 doc/public/check-doc-coverage.sh | 3 +++
6541 2 files changed, 7 insertions(+), 2 deletions(-)
6543 commit c6a7971a1e83d80050c4e2cfb42401a8d3c1b321
6544 Author: Behdad Esfahbod <behdad@behdad.org>
6545 Date: Thu Sep 18 15:28:43 2008 -0400
6547 [doc/public/check-doc-coverage.sh] Fix typo in checking cairo-undeclared.txt
6549 Copy/paste error meant we were not checking cairo-undeclared.txt there.
6550 Indeed the test was passing even though Carl forgot to remove lcd-fitlering
6551 API from docs. The test fails now.
6553 doc/public/check-doc-coverage.sh | 2 +-
6554 1 files changed, 1 insertions(+), 1 deletions(-)
6556 commit cf80c78f0cc14c5c07950dd0d0120954a446ab56
6557 Author: Carl Worth <cworth@cworth.org>
6558 Date: Thu Sep 18 12:12:42 2008 -0700
6560 Correct NEWS mention to talk about fontconfig setting not Xsetting.
6562 Thanks to Behdad for helping me get the terminology right.
6565 1 files changed, 1 insertions(+), 1 deletions(-)
6567 commit 7fa5e0eb3af005521da5e6bb43a92fadd392a867
6568 Author: Carl Worth <cworth@cworth.org>
6569 Date: Thu Sep 18 12:11:55 2008 -0700
6571 Add user-font-rescale-ps-ref.png to REFERENCE_IMAGES.
6573 As caught by make distcheck.
6575 test/Makefile.am | 1 +
6576 1 files changed, 1 insertions(+), 0 deletions(-)
6578 commit f39c5b40c79b139f1efcfdf393e15e2aaedc5e36
6579 Author: Carl Worth <cworth@cworth.org>
6580 Date: Thu Sep 18 11:58:22 2008 -0700
6582 Increase cairo version to 1.7.6.
6584 We're finally going to get this overdue snapshot out.
6586 cairo-version.h | 2 +-
6587 1 files changed, 1 insertions(+), 1 deletions(-)
6589 commit e00d7941200cee1eefc9a8758702811b7d018cce
6590 Author: Carl Worth <cworth@cworth.org>
6591 Date: Thu Sep 18 11:55:28 2008 -0700
6593 NEWS: Add notes for 1.7.6 snapshot.
6595 Note 1.7 API changes: Remove lcd_filter, cairo_has_show_glyphs, and
6596 add cairo_text_cluster_flags_t. Also mention a few major bug fixes,
6597 Behdad's build-system rework, and Chris's customary robustness
6600 NEWS | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
6601 1 files changed, 80 insertions(+), 4 deletions(-)
6603 commit 46ed92e699e902cb890f202c425603cdcc953106
6604 Author: Carl Worth <cworth@cworth.org>
6605 Date: Wed Sep 17 10:50:28 2008 -0700
6607 Remove text-lcd-filter tests
6609 The lcd_filter API is gone now, and these tests were all failing
6612 test/Makefile.am | 8 ---
6613 test/text-lcd-filter-fir3-ref.png | Bin 974 -> 0 bytes
6614 test/text-lcd-filter-fir3.c | 85 ------------------------------
6615 test/text-lcd-filter-fir5-ref.png | Bin 974 -> 0 bytes
6616 test/text-lcd-filter-fir5.c | 85 ------------------------------
6617 test/text-lcd-filter-intra-pixel-ref.png | Bin 974 -> 0 bytes
6618 test/text-lcd-filter-intra-pixel.c | 85 ------------------------------
6619 test/text-lcd-filter-none-ref.png | Bin 974 -> 0 bytes
6620 test/text-lcd-filter-none.c | 85 ------------------------------
6621 9 files changed, 0 insertions(+), 348 deletions(-)
6623 commit 1b42bc8033bc4682c9688086c08ca3ad306a2ae8
6624 Author: Carl Worth <cworth@cworth.org>
6625 Date: Tue Sep 16 17:04:38 2008 -0700
6627 Make the lcd_filter API private
6629 During the cairo summit it was decided that this API is to freetype-
6630 specific to be in the general cairo interface for now. This will
6631 likely come back again soon as a cairo_ft-specific interface.
6633 doc/public/tmpl/cairo-font-options.sgml | 29 -----------------------------
6634 src/cairo-font-options.c | 11 +++++------
6635 src/cairo-types-private.h | 25 +++++++++++++++++++++++++
6636 src/cairo-xlib-screen.c | 2 +-
6637 src/cairo.h | 28 ----------------------------
6638 src/cairoint.h | 8 +++++++-
6639 test/font-options.c | 4 ----
6640 test/text-antialias-subpixel.c | 1 -
6641 8 files changed, 38 insertions(+), 70 deletions(-)
6643 commit 0ab14a6b218097721535e1d6d9b3341b7336bb70
6644 Author: Chris Wilson <chris@chris-wilson.co.uk>
6645 Date: Thu Sep 18 09:04:01 2008 +0100
6647 [polygon] Reduce number of branches.
6649 Minimise the number of conditionals taken whilst constructing the polygon.
6651 src/cairo-polygon.c | 71 +++++++++++++++------------------------------------
6652 src/cairoint.h | 14 ++++------
6653 2 files changed, 27 insertions(+), 58 deletions(-)
6655 commit 24c51ee177436190d691507ab84aae6a70fc2962
6656 Author: Behdad Esfahbod <behdad@behdad.org>
6657 Date: Thu Sep 18 03:12:03 2008 -0400
6659 [acinclude.m4] Add compat macros for autoconf 2.59
6661 acinclude.m4 | 33 ++++++++++++++++++++++++++++++++-
6662 build/aclocal.cairo.m4 | 3 ---
6663 2 files changed, 32 insertions(+), 4 deletions(-)
6665 commit 61317dac18a78b7b8420f354a59be896d60dd05c
6666 Author: Behdad Esfahbod <behdad@behdad.org>
6667 Date: Thu Sep 18 02:42:38 2008 -0400
6669 [acinclude.m4] Define m4_foreach_w if not available
6671 Has been missing at least as of autoconf 2.59.
6673 acinclude.m4 | 9 +++++++--
6674 1 files changed, 7 insertions(+), 2 deletions(-)
6676 commit cb10dfe7153eeac749c64ce6a61f2fd3faf385d0
6677 Author: Behdad Esfahbod <behdad@behdad.org>
6678 Date: Thu Sep 18 00:30:57 2008 -0400
6680 Update tests to new cairo_text_cluster_flags_t API
6682 test/user-font-proxy.c | 19 +++++++++----------
6683 test/user-font-rescale.c | 6 ++----
6684 2 files changed, 11 insertions(+), 14 deletions(-)
6686 commit 1fe7088a113f8a9cb40d436f10af4967662cd02a
6687 Author: Behdad Esfahbod <behdad@behdad.org>
6688 Date: Thu Sep 18 00:26:07 2008 -0400
6690 [show_text_glyphs] Replace the bool backward with cairo_text_cluster_flags
6692 Chris rightfully complained that having a boolean function argument is
6693 new in cairo_show_text_glyphs, and indeed avoiding them has been one
6694 of the API design criteria for cairo. Trying to come up with alternatives,
6695 Owen suggested using a flag type which nicely solves the problem AND
6696 future-proofs such a complex API.
6698 Please welcome _flags_t APIs to cairo.h
6700 doc/public/cairo-sections.txt | 1 +
6701 doc/public/tmpl/cairo-scaled-font.sgml | 2 +-
6702 doc/public/tmpl/cairo-text.sgml | 9 ++++-
6703 doc/public/tmpl/cairo-user-fonts.sgml | 2 +-
6704 src/cairo-analysis-surface.c | 5 +--
6705 src/cairo-gstate.c | 26 +++++++-------
6706 src/cairo-meta-surface-private.h | 2 +-
6707 src/cairo-meta-surface.c | 6 ++--
6708 src/cairo-misc.c | 4 +-
6709 src/cairo-paginated-surface.c | 4 +-
6710 src/cairo-pdf-operators-private.h | 2 +-
6711 src/cairo-pdf-operators.c | 14 ++++----
6712 src/cairo-pdf-surface-private.h | 2 +-
6713 src/cairo-pdf-surface.c | 6 ++--
6714 src/cairo-scaled-font.c | 44 +++++++++++-------------
6715 src/cairo-surface.c | 8 ++---
6716 src/cairo-user-font.c | 23 ++++++-------
6717 src/cairo.c | 19 +++++------
6718 src/cairo.h | 56 ++++++++++++++++++++------------
6719 src/cairoint.h | 48 +++++++++++++-------------
6720 src/test-meta-surface.c | 5 +--
6721 src/test-paginated-surface.c | 5 +--
6722 22 files changed, 152 insertions(+), 141 deletions(-)
6724 commit a8cd426a4c79a7165b312f550ecc6a87b61303a3
6725 Author: Behdad Esfahbod <behdad@behdad.org>
6726 Date: Thu Sep 18 00:25:02 2008 -0400
6728 [doc] Fix glob for doc sources
6730 doc/public/Makefile.am | 4 ++--
6731 1 files changed, 2 insertions(+), 2 deletions(-)
6733 commit 32d3bfdde826e0f92a619c8c157fd5467aff729d
6734 Author: Behdad Esfahbod <behdad@behdad.org>
6735 Date: Wed Sep 17 19:16:25 2008 -0400
6737 [configure.ac] Set pixman required version back to 0.12.0
6739 I accidentally committed and pushed changing that version to 0.11.0.
6742 1 files changed, 1 insertions(+), 1 deletions(-)
6744 commit 3867d99ad7be391704a2b0d3d4542bd23c82fd73
6745 Author: Behdad Esfahbod <behdad@behdad.org>
6746 Date: Wed Sep 17 17:54:40 2008 -0400
6748 [configure.ac] Err, don't pass argument to AC_PROG_LIBTOOL
6750 configure.ac | 4 ++--
6751 1 files changed, 2 insertions(+), 2 deletions(-)
6753 commit e55d5a76d75d78c8a1e9ac4e9f5eda32f378f413
6754 Author: Chris Wilson <chris@chris-wilson.co.uk>
6755 Date: Wed Sep 17 22:23:43 2008 +0100
6757 [ps] Silence compiler warning.
6759 src/cairo-ps-surface.c | 2 +-
6760 1 files changed, 1 insertions(+), 1 deletions(-)
6762 commit e83675dee14581c3938191a4bbaf3c4e091a4304
6763 Author: Chris Wilson <chris@chris-wilson.co.uk>
6764 Date: Wed Sep 17 22:12:35 2008 +0100
6766 [test] Add missing operator-alpha ref image.
6768 test/operator-alpha-rgb24-ref.png | Bin 0 -> 229 bytes
6769 1 files changed, 0 insertions(+), 0 deletions(-)
6771 commit 998310ef4d710bf1a9505038b0fa411b29c958ca
6772 Author: Chris Wilson <chris@chris-wilson.co.uk>
6773 Date: Wed Sep 17 22:07:00 2008 +0100
6775 [gcov] Use --coverage instead.
6777 --coverage is a synonym for "--fprofile-arcs --ftest-coverage" during
6778 compilation *and* "--lgcov" during linking. One might think this would
6779 be a perfect workaround for the broken debian libtool which stopped the
6780 linker seeing -lgcov - but they strip CFLAGS as well. Oh well.
6782 build/configure.ac.analysis | 6 ++++--
6783 1 files changed, 4 insertions(+), 2 deletions(-)
6785 commit d83a4d9905a68c3060e689015bffb03137fcbb0f
6786 Author: Chris Wilson <chris@chris-wilson.co.uk>
6787 Date: Wed Sep 17 21:19:48 2008 +0100
6789 [svg] Emit user-fonts.
6791 Iterate over the user fonts subsets and emit the scaled glyphs.
6793 src/cairo-svg-surface.c | 7 +++++++
6794 1 files changed, 7 insertions(+), 0 deletions(-)
6796 commit eb39151fdc4e72f0836d6fbb5df54885352b3b87
6797 Author: Chris Wilson <chris@chris-wilson.co.uk>
6798 Date: Wed Sep 17 21:19:13 2008 +0100
6800 [scaled-fonts] Correct the order of scaled/user arguments.
6802 src/cairo-scaled-font-subsets.c | 4 ++--
6803 1 files changed, 2 insertions(+), 2 deletions(-)
6805 commit 85a4f0dcee6e6d954f0e458f1bd5b26ff1e70464
6806 Author: Chris Wilson <chris@chris-wilson.co.uk>
6807 Date: Wed Sep 17 01:05:16 2008 +0100
6809 Workaround undefined functions required by rsvg & poppler.
6811 If the native windowing system is disable (e.g. --disable-xlib) then the
6812 test suite fails to build since the vector converters typically depend
6813 upon gdk-pixbuf-2.0, which in turn depends upon a native gdk which
6814 requires cairo to be built with support for the native windowing system. A
6815 mess that should be resolved by separating rsvg and poppler into core and
6816 higher-level libraries, but which we can workaround by simply ignoring
6817 errors from undefined functions at link time.
6819 build/configure.ac.warnings | 7 +++++++
6820 test/Makefile.am | 3 +++
6821 2 files changed, 10 insertions(+), 0 deletions(-)
6823 commit e6f66ef65bb347974e0ceb58351844ba63389a87
6824 Author: Søren Sandmann Pedersen <sandmann@redhat.com>
6825 Date: Wed Sep 17 15:15:14 2008 -0400
6827 Require pixman 0.12.0
6830 1 files changed, 1 insertions(+), 1 deletions(-)
6832 commit 86485e76b7e9ef1621dcd516266898246711c0ca
6833 Author: Søren Sandmann Pedersen <sandmann@redhat.com>
6834 Date: Wed Sep 17 15:14:16 2008 -0400
6836 [xlib] Use _cairo_matrix_to_pixman_matrix() to compute the XTransform
6838 The adjustments done to the pixman matrix also need to be done for
6839 XTransform. Since an XTransform is just a pixman_transform_t with
6840 another name, we can reuse the conversion function.
6842 src/cairo-xlib-surface.c | 19 ++++++-------------
6843 1 files changed, 6 insertions(+), 13 deletions(-)
6845 commit dbb692325b328011f2202fced750cc785edb82da
6846 Author: Chris Wilson <chris@chris-wilson.co.uk>
6847 Date: Wed Sep 17 19:09:16 2008 +0100
6849 [ps] Consume dictionary after where.
6851 where either pushes 'dict true' or 'false' so the true procedure needs to
6852 consume the dictionary as well - for our purposes we just pop it off the
6855 src/cairo-ps-surface.c | 6 +++---
6856 1 files changed, 3 insertions(+), 3 deletions(-)
6858 commit 7761a106ceac445212ff86d8c585374aa406a63f
6859 Author: Chris Wilson <chris@chris-wilson.co.uk>
6860 Date: Wed Sep 17 11:57:32 2008 +0100
6862 [test] Check set_operator()
6864 Draw a pair of rectangles with each operator in turn - seems to trigger an
6865 issue with the PDF/PS backends.
6867 test/.gitignore | 2 +
6868 test/Makefile.am | 6 +++
6869 test/operator-alpha-ref.png | Bin 0 -> 280 bytes
6870 test/operator-alpha.c | 74 +++++++++++++++++++++++++++++++++++++++++++
6871 test/operator-ref.png | Bin 0 -> 238 bytes
6872 test/operator-rgb24-ref.png | Bin 0 -> 217 bytes
6873 test/operator.c | 74 +++++++++++++++++++++++++++++++++++++++++++
6874 7 files changed, 156 insertions(+), 0 deletions(-)
6876 commit 1de35c04e020a203169fda30591733056662abd5
6877 Author: Behdad Esfahbod <behdad@behdad.org>
6878 Date: Wed Sep 17 02:10:35 2008 -0400
6880 Revert "[Makefile.am] Add CAIRO_LIBS to check-link."
6882 This reverts commit a341cb5a98e3eadd5ccb47f9b1e696cb52f7ce9e.
6883 The change introduced in that commit should not be needed and libtool
6884 should just do the right thing. I cannot reproduce the problem
6885 Chris was having no matter how hard I tried.
6887 boilerplate/Makefile.am | 2 +-
6888 src/Makefile.am | 2 +-
6889 2 files changed, 2 insertions(+), 2 deletions(-)
6891 commit 511db7b9a83bdef181cc5d0dbb50103ffb1aeb0e
6892 Author: Behdad Esfahbod <behdad@behdad.org>
6893 Date: Tue Sep 16 23:16:21 2008 -0400
6895 [util/Makefile.am] Cleanup
6897 util/Makefile.am | 13 +++++--------
6898 1 files changed, 5 insertions(+), 8 deletions(-)
6900 commit d857c4d7653e06003b7b75fb92da988664b2545d
6901 Author: Behdad Esfahbod <behdad@behdad.org>
6902 Date: Tue Sep 16 19:56:47 2008 -0400
6904 [autogen.sh] Remove --enable-gtk-doc from configure options
6906 Cause cworth doesn't like it.
6909 1 files changed, 0 insertions(+), 1 deletions(-)
6911 commit a5a18dbf610ef6562d7ee9d6d927d89af6839c60
6912 Author: Behdad Esfahbod <behdad@behdad.org>
6913 Date: Tue Sep 16 19:44:49 2008 -0400
6917 INSTALL | 67 ++++++++++++++++++++++++++++++++-------------------------------
6918 1 files changed, 34 insertions(+), 33 deletions(-)
6920 commit ff9a2af19e406807b3a962b930ec66b22a6a5974
6921 Author: Behdad Esfahbod <behdad@behdad.org>
6922 Date: Tue Sep 16 16:05:57 2008 -0400
6924 [test] Make test programs depend on check programs
6926 Since they use them when being run.
6928 test/Makefile.am | 2 ++
6929 1 files changed, 2 insertions(+), 0 deletions(-)
6931 commit 9e2ef481aa86b01fbdc91d4908ad312bca85db89
6932 Author: Behdad Esfahbod <behdad@behdad.org>
6933 Date: Tue Sep 16 04:36:23 2008 -0400
6935 [configure.ac] Clean up report syntax
6937 build/configure.ac.features | 10 ++++++----
6938 1 files changed, 6 insertions(+), 4 deletions(-)
6940 commit 2161cb5baf1287a4a1a448f09e7fa885f635bfd1
6941 Author: Behdad Esfahbod <behdad@behdad.org>
6942 Date: Tue Sep 16 04:33:37 2008 -0400
6944 [configure.ac] Warn if no native surface backend is enabled, err if no native font
6946 build/aclocal.cairo.m4 | 1 +
6947 build/configure.ac.features | 50 +++++++++++++++++++++++++++++++-----------
6948 2 files changed, 38 insertions(+), 13 deletions(-)
6950 commit a341cb5a98e3eadd5ccb47f9b1e696cb52f7ce9e
6951 Author: Chris Wilson <chris@chris-wilson.co.uk>
6952 Date: Tue Sep 16 13:07:12 2008 +0100
6954 [Makefile.am] Add CAIRO_LIBS to check-link.
6956 With --enable-gcov, make check aborts with gcov errors on check-link - it
6957 appears that -lgcov is magic and requires explicit invovation on the
6960 boilerplate/Makefile.am | 2 +-
6961 src/Makefile.am | 2 +-
6962 2 files changed, 2 insertions(+), 2 deletions(-)
6964 commit e880d0f956317c760c565cd69ea2966e7c7f24f1
6965 Author: Adrian Johnson <ajohnson@redneon.com>
6966 Date: Tue Sep 16 19:13:50 2008 +0930
6968 Change user-font-rescale test to use opaque colors
6970 The combination of the initial cairo_paint() and the translucent text
6971 colors were causing image fallbacks that prevented the PS type 3 font
6972 embedding from being tested.
6974 test/user-font-rescale-ps-ref.png | Bin 0 -> 8041 bytes
6975 test/user-font-rescale-ref.png | Bin 15679 -> 15937 bytes
6976 test/user-font-rescale.c | 6 +++---
6977 3 files changed, 3 insertions(+), 3 deletions(-)
6979 commit 840218e0a0747ae741258fad12d420ae59e59d1c
6980 Author: Behdad Esfahbod <behdad@behdad.org>
6981 Date: Tue Sep 16 03:55:12 2008 -0400
6983 [src/Makefile.am.analysis] Fix typos and improve scripts
6985 src/Makefile.am.analysis | 8 +++-----
6986 1 files changed, 3 insertions(+), 5 deletions(-)
6988 commit 49c8c62040cdeb6b280392da9355593e1e8292fe
6989 Author: Behdad Esfahbod <behdad@behdad.org>
6990 Date: Tue Sep 16 03:10:53 2008 -0400
6992 [src/Makefile.am.analysis] Split off from src/Makefile.am
6994 src/Makefile.am | 21 +--------------------
6995 src/Makefile.am.analysis | 21 +++++++++++++++++++++
6996 2 files changed, 22 insertions(+), 20 deletions(-)
6998 commit eb749d75632cfce6dfc56e6e28dac1cfcd8a66f9
6999 Author: Behdad Esfahbod <behdad@behdad.org>
7000 Date: Tue Sep 16 03:05:26 2008 -0400
7004 boilerplate/.gitignore | 4 ++++
7005 src/.gitignore | 1 +
7006 2 files changed, 5 insertions(+), 0 deletions(-)
7008 commit a908fc04a7bd536edfcd0e620f0f70cb5655085f
7009 Author: Behdad Esfahbod <behdad@behdad.org>
7010 Date: Tue Sep 16 03:03:43 2008 -0400
7012 [boilerplate/Makefile.am] Distribute Makefile.win32.config
7014 boilerplate/Makefile.am | 2 ++
7015 src/Makefile.am | 3 +--
7016 2 files changed, 3 insertions(+), 2 deletions(-)
7018 commit 88a3998a1d7e251e77ca9f39071866142cb50aa9
7019 Author: Behdad Esfahbod <behdad@behdad.org>
7020 Date: Tue Sep 16 02:45:00 2008 -0400
7022 [aclocal] Fix pkgconfig file collection
7024 build/aclocal.makefile.m4 | 7 ++++---
7025 build/configure.ac.features | 4 ++--
7026 2 files changed, 6 insertions(+), 5 deletions(-)
7028 commit 8151c506700ad286f683797c6c0767f35edaa2de
7029 Author: Behdad Esfahbod <behdad@behdad.org>
7030 Date: Tue Sep 16 01:33:07 2008 -0400
7032 [*/Makefile.win32] Use Makefile.win32.config
7034 boilerplate/Makefile.win32 | 12 ++----
7035 src/Makefile.win32 | 77 ++-----------------------------------------
7036 2 files changed, 8 insertions(+), 81 deletions(-)
7038 commit 310908ce2d2e35ca332c0f16c466ee652bb1b5a6
7039 Author: Behdad Esfahbod <behdad@behdad.org>
7040 Date: Tue Sep 16 01:32:55 2008 -0400
7042 [Makefile.win32] Don't declare CAIRO_NO_MUTEX
7044 Makefile.win32 | 2 +-
7045 1 files changed, 1 insertions(+), 1 deletions(-)
7047 commit 6892daf77cd44dca988c7305d430659d08813beb
7048 Author: Behdad Esfahbod <behdad@behdad.org>
7049 Date: Tue Sep 16 01:29:47 2008 -0400
7051 Create cairo-features-win32.h
7053 build/aclocal.makefile.m4 | 34 ++++++++++++++++++++++++++++++----
7054 build/configure.ac.features | 30 ++++++++++++++++++++++++++++--
7055 src/Makefile.sources | 5 ++---
7056 src/cairo-features-win32.h | 14 --------------
7057 4 files changed, 60 insertions(+), 23 deletions(-)
7059 commit 20daa425d8c46b6885653d2433f6027e4990d618
7060 Author: Behdad Esfahbod <behdad@behdad.org>
7061 Date: Mon Sep 15 23:42:51 2008 -0400
7063 [configure.ac] Generate boilerplate/Makefile.am.config
7065 Same scheme as in src/
7068 boilerplate/Makefile.am | 87 ++--------
7069 boilerplate/Makefile.sources | 56 ++++++
7070 build/aclocal.enable.m4 | 29 +++-
7071 build/aclocal.makefile.m4 | 143 +++++++++++++++
7072 build/configure.ac.enable | 404 ------------------------------------------
7073 build/configure.ac.features | 351 ++++++++++++++++++++++++++++++++++++
7075 8 files changed, 595 insertions(+), 483 deletions(-)
7077 commit 1a3863688c0c09d047e5ee5b65e87c71c6393e3f
7078 Author: Chris Wilson <chris@chris-wilson.co.uk>
7079 Date: Tue Sep 16 03:00:21 2008 +0100
7081 [test/user-font-rescale] Tidy
7083 Behdad warned that the static UNICODE_TO_GLYPH converter was not portable,
7084 and needed to be replaced. And do a quick coding-style blitz.
7086 test/user-font-rescale.c | 174 ++++++++++++++++++++++++++--------------------
7087 1 files changed, 98 insertions(+), 76 deletions(-)
7089 commit be9df58b5d6415c516f3fe397c985230d7cc5bea
7090 Author: Chris Wilson <chris@chris-wilson.co.uk>
7091 Date: Tue Sep 16 02:40:33 2008 +0100
7093 [test/user-font-rescale] Fixup use of NAN
7095 Kill the use of the C99 feature, and replace with strtod("NaN").
7097 test/user-font-rescale.c | 5 ++---
7098 1 files changed, 2 insertions(+), 3 deletions(-)
7100 commit b4b65a7890c5b8d95f5bbc39d0f35a3d54088036
7101 Author: Behdad Esfahbod <behdad@behdad.org>
7102 Date: Mon Sep 15 21:50:27 2008 -0400
7104 Revert "[configure] Append -lz to LIBS"
7106 This reverts commit 9c207b24542edb2e8e388329471ab9e7d7d61ff9.
7108 I pushed a proper fix in last commit.
7110 configure.ac | 4 +---
7111 1 files changed, 1 insertions(+), 3 deletions(-)
7113 commit eb092eadbb3439b579866564eee003683f2abc5c
7114 Author: Behdad Esfahbod <behdad@behdad.org>
7115 Date: Mon Sep 15 21:45:25 2008 -0400
7117 [configure] Add non-pkgconfig cflags/libs before substitution
7119 build/configure.ac.enable | 8 +++++++-
7120 1 files changed, 7 insertions(+), 1 deletions(-)
7122 commit 09d7eb6c35da2819d9e254d8b7675eb39aa965c3
7123 Author: Behdad Esfahbod <behdad@behdad.org>
7124 Date: Mon Sep 15 19:54:35 2008 -0400
7126 [configure.ac.version] Quote m4_define arguments
7128 build/configure.ac.version | 12 ++++++------
7129 1 files changed, 6 insertions(+), 6 deletions(-)
7131 commit 60ab0f79f8d109fa662374f642d2961bb20a820b
7132 Author: Chris Wilson <chris@chris-wilson.co.uk>
7133 Date: Tue Sep 16 02:08:47 2008 +0100
7135 [pdf] Kill a compiler warning.
7137 Older versions of gcc complain about the use of a guard variable, and warn
7138 that solid_color may be used uninitialized. As it happens the guard
7139 variable is redundant and we can just use solid_color directly.
7141 src/cairo-pdf-surface.c | 10 +++-------
7142 1 files changed, 3 insertions(+), 7 deletions(-)
7144 commit e53fe3ec244833437fb35674258b983f9dcefa2d
7145 Author: Jeff Muizelaar <jeff@infidigm.net>
7146 Date: Tue Sep 16 01:45:10 2008 +0100
7148 [test] Add a test case for drawing glyphs with different metrics.
7150 The ability to draw glyphs with different metrics is useful when doing
7151 font substitution with fixed layout like in pdf and I eventually plan on
7152 adding code to poppler to do something similar.
7154 test/.gitignore | 1 +
7155 test/Makefile.am | 2 +
7156 test/user-font-rescale-ref.png | Bin 0 -> 15679 bytes
7157 test/user-font-rescale.c | 329 ++++++++++++++++++++++++++++++++++++++++
7158 4 files changed, 332 insertions(+), 0 deletions(-)
7160 commit 9c207b24542edb2e8e388329471ab9e7d7d61ff9
7161 Author: Chris Wilson <chris@chris-wilson.co.uk>
7162 Date: Tue Sep 16 01:34:14 2008 +0100
7164 [configure] Append -lz to LIBS
7166 After going to the effort of detecting zlib for cairo-deflate-stream.c, it
7167 rather defects the purpose of the exercise (and the mingw32 build) if we
7168 forget to add the library to LIBS.
7170 configure.ac | 4 +++-
7171 1 files changed, 3 insertions(+), 1 deletions(-)
7173 commit 87094e8c78d99b0ae9fed287acaf8ba7abb4e43a
7174 Author: Chris Wilson <chris@chris-wilson.co.uk>
7175 Date: Tue Sep 16 01:09:45 2008 +0100
7177 [Makefile] Amend checks for horrible msys environment.
7179 automake-1.8 requires $(EXEEXT) for TESTS and feeds lt-check-*.c to
7180 check-cairoint.h. Workaround both misfeatures.
7182 src/Makefile.am | 2 +-
7183 src/check-cairoint.sh | 2 +-
7184 2 files changed, 2 insertions(+), 2 deletions(-)
7186 commit 7880ddd101e7a6f3f19d0d395c5881b188c11e49
7187 Author: Adrian Johnson <ajohnson@redneon.com>
7188 Date: Tue Sep 16 10:04:34 2008 +0930
7190 Fix scaling of glyphs in type3 subset glyphs
7192 src/cairo-type3-glyph-surface.c | 12 +++++++++---
7193 1 files changed, 9 insertions(+), 3 deletions(-)
7195 commit e31462d399dfad3b798efc56020cd9bb54c75dd9
7196 Author: Jeff Muizelaar <jeff@infidigm.net>
7197 Date: Mon Sep 15 19:31:28 2008 -0400
7199 Check for poppler_page_render instead of poppler_page_render_to_pixbuf
7201 We now use poppler_page_render for testing. Further, poppler can be built
7202 without poppler_page_render_to_pixbuf to avoid a dependency on gdk.
7205 1 files changed, 1 insertions(+), 1 deletions(-)
7207 commit fb0bf165950cf85add6c187e5ec432f8c07b2cc2
7208 Author: Behdad Esfahbod <behdad@behdad.org>
7209 Date: Mon Sep 15 19:21:03 2008 -0400
7211 [aclocal] Don't use m4_defn
7213 Apparently autoconf 2.59 on msys is not quite happy it
7215 build/aclocal.enable.m4 | 6 +++---
7216 1 files changed, 3 insertions(+), 3 deletions(-)
7218 commit 879b5c705726ce6d1a5035cfef41aba06b0cb4dc
7219 Author: Behdad Esfahbod <behdad@behdad.org>
7220 Date: Mon Sep 15 19:18:06 2008 -0400
7222 [aclocal] Move CAIRO_PARSE_VERSION to acinclude.m4
7224 It belongs there as it includes other files. It was breaking build
7225 on older autoconf it seems.
7227 acinclude.m4 | 13 +++++++++++++
7228 build/aclocal.cairo.m4 | 11 -----------
7229 2 files changed, 13 insertions(+), 11 deletions(-)
7231 commit 656b0e3ea7117ceb28080e1c8605254bbec92a75
7232 Author: Behdad Esfahbod <behdad@behdad.org>
7233 Date: Mon Sep 15 19:17:27 2008 -0400
7235 [configure.ac] Avoid sed -i (#17563)
7237 build/configure.ac.enable | 5 +++--
7238 1 files changed, 3 insertions(+), 2 deletions(-)
7240 commit 4619c76d2fc4285f2417e54870041cc07c968ce6
7241 Author: Behdad Esfahbod <behdad@behdad.org>
7242 Date: Mon Sep 15 18:51:50 2008 -0400
7244 [scaled_font] Improve readability
7246 src/cairo-scaled-font.c | 10 +++++-----
7247 1 files changed, 5 insertions(+), 5 deletions(-)
7249 commit e079ec03cb8c2272162db86ec263b893df40460a
7250 Author: Behdad Esfahbod <behdad@behdad.org>
7251 Date: Mon Sep 15 18:51:24 2008 -0400
7253 [scaled-font] Fix bug unlocking the wrong mutex (#16819)
7255 src/cairo-scaled-font.c | 2 +-
7256 1 files changed, 1 insertions(+), 1 deletions(-)
7258 commit 096408d80e2ca13deccea7930aeca9fbd1b5850e
7259 Author: Behdad Esfahbod <behdad@behdad.org>
7260 Date: Mon Sep 15 18:51:04 2008 -0400
7262 [scaled-font] Improve comment
7264 src/cairo-scaled-font.c | 2 +-
7265 1 files changed, 1 insertions(+), 1 deletions(-)
7267 commit bdb6f609d8a40e03fa9ceef65bc522d025732e7b
7268 Author: Behdad Esfahbod <behdad@behdad.org>
7269 Date: Mon Sep 15 18:03:50 2008 -0400
7271 [configure.ac] Build -uninstalled.pc files
7273 build/configure.ac.enable | 57 +++++++++++++++++++++-----------------------
7274 1 files changed, 27 insertions(+), 30 deletions(-)
7276 commit 856fedd2359604ad2dca67c505e16111f23f1b61
7277 Author: Behdad Esfahbod <behdad@behdad.org>
7278 Date: Mon Sep 15 16:19:12 2008 -0400
7280 [doc] Make "make check" build without gtk-doc
7282 doc/public/Makefile.am | 9 ++++++---
7283 1 files changed, 6 insertions(+), 3 deletions(-)
7285 commit 2ab77236f87b435d41c5429b7b3059d10058e421
7286 Author: Behdad Esfahbod <behdad@behdad.org>
7287 Date: Mon Sep 15 15:48:57 2008 -0400
7289 [Makefile.am] Add util to SUBDIRS
7291 We do nothing by default there right now, but it's correct to include it
7292 anyway. And we will be installing utilities from there soon (cairo-trace for
7295 Makefile.am | 4 ++--
7296 1 files changed, 2 insertions(+), 2 deletions(-)
7298 commit b4bbcda1c31d10d199db86170bcf924947e59ff2
7299 Author: Behdad Esfahbod <behdad@behdad.org>
7300 Date: Mon Sep 15 15:47:53 2008 -0400
7302 [Makefile.am] Add doc back to SUBDIRS
7304 This reverts cac2ea0fcda2222f36ebd3414f91302dad691b85
7305 We need doc in SUBDIRS to install docs even if gtk-doc is not available.
7306 The real fix for the build issue without gtk-doc should go under doc/
7307 and is coming in a followup commit.
7309 Makefile.am | 6 +-----
7310 1 files changed, 1 insertions(+), 5 deletions(-)
7312 commit e4753c82ff1aeb404b1cbac9e891f4353fb882f3
7313 Author: Behdad Esfahbod <behdad@behdad.org>
7314 Date: Mon Sep 15 14:50:29 2008 -0400
7316 [src/README] s/Source.mk/Makefile.sources/
7319 1 files changed, 1 insertions(+), 1 deletions(-)
7321 commit 50f45d7768976b489df2d4eddc90ae2cdaf464db
7322 Author: Behdad Esfahbod <behdad@behdad.org>
7323 Date: Mon Sep 15 14:50:07 2008 -0400
7325 [src/Makefile.am] Add comment referring to Makefile.sources
7327 src/Makefile.am | 2 ++
7328 1 files changed, 2 insertions(+), 0 deletions(-)
7330 commit b24d2e4214cc7a7ec59f6c6c2033b7315626f3f0
7331 Author: Chris Wilson <chris@chris-wilson.co.uk>
7332 Date: Mon Sep 15 17:17:30 2008 +0100
7334 [autogen] Delete Makefile.am.config
7336 Cause the Makefile.am.config to be regenerated every time as its contents
7337 may be invalid for the current run - e.g. if a developer is switching
7338 between branches with experimental surfaces.
7341 1 files changed, 1 insertions(+), 0 deletions(-)
7343 commit 5c7c2b5187800fd09e659305d58f61f4945e62a5
7344 Author: Chris Wilson <chris@chris-wilson.co.uk>
7345 Date: Mon Sep 15 17:06:13 2008 +0100
7347 [test] Test handling of fractional device offsets.
7349 test/.gitignore | 1 +
7350 test/Makefile.am | 2 +
7351 test/device-offset-fractional-ref.png | Bin 0 -> 269 bytes
7352 test/device-offset-fractional.c | 80 +++++++++++++++++++++++++++++++++
7353 4 files changed, 83 insertions(+), 0 deletions(-)
7355 commit 2617d68a7b7ccaa8d82fe225926a1bf5f160ed30
7356 Author: Chris Wilson <chris@chris-wilson.co.uk>
7357 Date: Mon Sep 15 17:07:11 2008 +0100
7359 [boilerplate] Restrict number of retries to create an error surface.
7361 Sometimes we just cannot get what we want, so give up - it's only an error
7364 boilerplate/cairo-boilerplate.c | 5 +++--
7365 1 files changed, 3 insertions(+), 2 deletions(-)
7367 commit 77b43da99f759fb970b90fd61eb3ace0f7224795
7368 Author: Chris Wilson <chris@chris-wilson.co.uk>
7369 Date: Mon Sep 15 15:52:27 2008 +0100
7371 [test] Fixup potential use of uninitialized test_image.
7373 In the churn of reordering the tests, some of the error paths were left
7374 unaltered - causing potential invalid dereferences.
7376 test/cairo-test.c | 2 --
7377 1 files changed, 0 insertions(+), 2 deletions(-)
7379 commit 34f250643212146c964f7e1c30524a4d585af156
7380 Author: Chris Wilson <chris@chris-wilson.co.uk>
7381 Date: Mon Sep 15 15:41:36 2008 +0100
7383 [surface] Trivial rejection of fill/stroke if clip extents is zero
7385 Avoid tessellating the path if we know that the target extents is zero.
7386 Besides the rare occurrence when everything is clipped out, a zero-sized
7387 surface is often intended as a no-op surface for benchmarking.
7389 src/cairo-surface-fallback.c | 6 ++++++
7390 1 files changed, 6 insertions(+), 0 deletions(-)
7392 commit cac2ea0fcda2222f36ebd3414f91302dad691b85
7393 Author: Chris Wilson <chris@chris-wilson.co.uk>
7394 Date: Sun Sep 14 11:20:25 2008 +0100
7396 [Makefile] Disable doc/ if we don't have gtk-doc.
7398 make check dies in the documentation even if we have explicitly disabled
7399 gtk-doc - so only enter doc/ with gtk-doc enabled.
7401 Makefile.am | 6 +++++-
7402 1 files changed, 5 insertions(+), 1 deletions(-)
7404 commit 4e731f7c907a3b5bf2da0d73a699bcf79c1f2c85
7405 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
7406 Date: Fri Sep 12 09:39:58 2008 +0300
7408 [test] Only test truetype-tables if we can.
7410 Doesn't build without CAIRO_HAS_FONT_SUBSET.
7412 test/truetype-tables.c | 4 ++--
7413 1 files changed, 2 insertions(+), 2 deletions(-)
7415 commit 93325a3f086914c6836d6ca81c777e738f0ae6a3
7416 Author: Behdad Esfahbod <behdad@behdad.org>
7417 Date: Thu Sep 11 19:12:31 2008 -0400
7419 [configure.ac.enable] Cleanup Makefile.*.config generation
7421 build/configure.ac.enable | 26 ++++++++++++++++++--------
7422 src/Makefile.am | 6 ------
7423 src/Makefile.sources | 2 +-
7424 3 files changed, 19 insertions(+), 15 deletions(-)
7426 commit 66d6cb642c936916e4b1bfcaa48e6fb345f6daf5
7427 Author: Behdad Esfahbod <behdad@behdad.org>
7428 Date: Thu Sep 11 18:06:57 2008 -0400
7430 [Makefile.am.common] Unify more common rules
7432 boilerplate/Makefile.am | 4 ----
7433 build/Makefile.am.common | 2 ++
7434 perf/Makefile.am | 1 -
7435 src/Makefile.am | 2 --
7436 test/Makefile.am | 3 +--
7437 util/Makefile.am | 2 +-
7438 6 files changed, 4 insertions(+), 10 deletions(-)
7440 commit 171a5edbff3d893f32601de563f34c2395a3a55c
7441 Author: Behdad Esfahbod <behdad@behdad.org>
7442 Date: Thu Sep 11 17:53:30 2008 -0400
7444 [boilerplate/Makefile.am] Add unneeded rule
7446 The check target by default depends on $(check_PROGRAMS).
7448 boilerplate/Makefile.am | 1 -
7449 1 files changed, 0 insertions(+), 1 deletions(-)
7451 commit fe31c35d8672117a8586591abada4aa1b42a07ff
7452 Author: Behdad Esfahbod <behdad@behdad.org>
7453 Date: Thu Sep 11 17:31:07 2008 -0400
7455 [doc] Don't rebuild after every configure run
7457 The version.xml file was rebuilt all the time and forcing a full
7458 doc rebuild. Not anymore unless cairo-version.h was changed.
7461 doc/public/Makefile.am | 13 +++++++------
7462 doc/public/version.xml.in | 1 -
7463 3 files changed, 7 insertions(+), 8 deletions(-)
7465 commit 694fee9e7c3073613359d9734f64f65964c3aa53
7466 Author: Behdad Esfahbod <behdad@behdad.org>
7467 Date: Thu Sep 11 16:04:06 2008 -0400
7469 Update gtk-doc makefile fragment
7471 Also move it to build/.
7473 We still do not call gtkdocize from autogen.sh.
7477 build/Makefile.am.gtk-doc | 180 +++++++++++++++++++++++++++++++++++++++++++++
7478 build/configure.ac.tools | 4 -
7480 doc/public/Makefile.am | 6 +-
7481 gtk-doc.make | 157 ---------------------------------------
7482 7 files changed, 195 insertions(+), 165 deletions(-)
7484 commit de5b8bce37f2ddb87fca7ae6b844eec7fbbbc7e9
7485 Author: Behdad Esfahbod <behdad@behdad.org>
7486 Date: Thu Sep 11 15:49:09 2008 -0400
7490 Use a common build/Makefile.am.common file.
7492 Makefile.am | 13 ++++++++-----
7493 boilerplate/Makefile.am | 13 ++++++-------
7494 build/Makefile.am.common | 12 ++++++++++++
7495 doc/Makefile.am | 5 ++++-
7496 doc/public/Makefile.am | 7 +++----
7497 perf/Makefile.am | 10 ++++++----
7498 src/Makefile.am | 11 ++---------
7499 test/Makefile.am | 13 ++++++-------
7500 test/pdiff/Makefile.am | 10 ++++------
7501 util/Makefile.am | 8 ++++----
7502 10 files changed, 55 insertions(+), 47 deletions(-)
7504 commit 66f0d56a8a2c8dd3b4678d495d5652bfdfd690ea
7505 Author: Behdad Esfahbod <behdad@behdad.org>
7506 Date: Thu Sep 11 15:30:43 2008 -0400
7508 [aclocal.enable.m4] Escape shell arguments
7510 build/aclocal.enable.m4 | 17 ++++++++++-------
7511 1 files changed, 10 insertions(+), 7 deletions(-)
7513 commit 90210ac4ac7c70c58980fa3e70a9c16da6de6f75
7514 Author: Behdad Esfahbod <behdad@behdad.org>
7515 Date: Thu Sep 11 15:24:45 2008 -0400
7517 [autogen.sh] Quote ORIGDIR
7520 1 files changed, 1 insertions(+), 1 deletions(-)
7522 commit e9e439a7a84fab0b888029801f62ea8d7f0a2ecf
7523 Author: Chris Wilson <chris@chris-wilson.co.uk>
7524 Date: Thu Sep 11 10:33:23 2008 +0100
7526 [test] Check for updated reference images.
7528 Delete the results of previous runs if the reference images are more
7531 There's still potential error if the conversion utility or its required
7532 libraries are modified...
7534 test/cairo-test.c | 83 ++++++++++++++++++++++++++++++++++++++++-------------
7535 1 files changed, 63 insertions(+), 20 deletions(-)
7537 commit e1c1bba3ff2ad6271778203b82e14448e9418bf5
7538 Author: Adrian Johnson <ajohnson@redneon.com>
7539 Date: Thu Sep 11 19:00:17 2008 +0930
7541 Update user-font-proxy PDF/PS ref images
7543 test/user-font-proxy-pdf-ref.png | Bin 10174 -> 18111 bytes
7544 test/user-font-proxy-ps-ref.png | Bin 7227 -> 8171 bytes
7545 2 files changed, 0 insertions(+), 0 deletions(-)
7547 commit 140ffa6e271c6e27bafbaf5edc2f026dedf4ed49
7548 Author: Chris Wilson <chris@chris-wilson.co.uk>
7549 Date: Thu Sep 11 10:00:57 2008 +0100
7551 [test] Fix order of deleting images vs checks.
7553 The early-checks assume that the images are still available - so it helps
7554 not to unlink them before comparing results to the previous run.
7556 test/cairo-test.c | 5 ++---
7557 1 files changed, 2 insertions(+), 3 deletions(-)
7559 commit 1cf1b723c79c1359c5daccc38a90fa7b931ce818
7560 Author: Adrian Johnson <ajohnson@redneon.com>
7561 Date: Thu Sep 11 18:36:55 2008 +0930
7563 Return correct status
7565 src/cairo-pdf-surface.c | 2 +-
7566 1 files changed, 1 insertions(+), 1 deletions(-)
7568 commit 15dd80c89437f0ef2f2458e3d115778ac161b500
7569 Author: Adrian Johnson <ajohnson@redneon.com>
7570 Date: Thu Sep 11 18:26:04 2008 +0930
7572 Don't overwrite previous status
7574 src/cairo-pdf-surface.c | 8 ++++++--
7575 1 files changed, 6 insertions(+), 2 deletions(-)
7577 commit d1560bd68728c726b926d6460a466d073ed37285
7578 Author: Behdad Esfahbod <behdad@behdad.org>
7579 Date: Thu Sep 11 04:23:05 2008 -0400
7581 Mark private symbol so
7583 src/cairo-output-stream-private.h | 2 +-
7584 1 files changed, 1 insertions(+), 1 deletions(-)
7586 commit 2b4a26f0977f325df7d154e80030a152f340e000
7587 Author: Behdad Esfahbod <behdad@behdad.org>
7588 Date: Thu Sep 11 04:21:29 2008 -0400
7590 [configure.ac] Add CAIRO_BEGINEND_DECLS
7592 build/aclocal.cairo.m4 | 13 +++++++++++++
7593 build/configure.ac.system | 2 ++
7594 configure.ac | 10 ----------
7595 3 files changed, 15 insertions(+), 10 deletions(-)
7597 commit b7a838261bd2aace4466a725a8de08cdd4dccc9c
7598 Author: Behdad Esfahbod <behdad@behdad.org>
7599 Date: Thu Sep 11 04:17:43 2008 -0400
7601 Move m4 macros into build/aclocal.*.m4 files
7604 acinclude.m4 | 261 -------------------
7606 build/aclocal.cairo.m4 | 146 +++++++++++
7607 build/aclocal.enable.m4 | 439 ++++++++++++++++++++++++++++++++
7608 build/aclocal.float.m4 | 64 +++++
7609 build/aclocal.gtk-doc.m4 | 39 +++
7610 build/aclocal.pkg.m4 | 155 ++++++++++++
7611 build/configure.ac.enable | 447 ---------------------------------
7613 doc/public/tmpl/cairo-image.sgml | 1 -
7614 doc/public/tmpl/cairo-user-fonts.sgml | 1 -
7615 12 files changed, 847 insertions(+), 725 deletions(-)
7617 commit ac6e4b83e7eac8cf99849b3c4b60da7fdace8625
7618 Author: Behdad Esfahbod <behdad@behdad.org>
7619 Date: Thu Sep 11 03:44:17 2008 -0400
7621 [configure.ac.enable] Use AS_CASE
7623 build/configure.ac.enable | 16 ++++++++--------
7624 1 files changed, 8 insertions(+), 8 deletions(-)
7626 commit 7c4fdafc8cb9f80e338df7581af1a8f40771dc67
7627 Author: Behdad Esfahbod <behdad@behdad.org>
7628 Date: Thu Sep 11 03:30:25 2008 -0400
7630 [configure.ac.enable] Add some dnl's
7632 build/configure.ac.enable | 376 ++++++++++++++++++++++-----------------------
7633 1 files changed, 187 insertions(+), 189 deletions(-)
7635 commit c358abfb156ceb552ded2daad4068d6f0f0044a9
7636 Author: Behdad Esfahbod <behdad@behdad.org>
7637 Date: Thu Sep 11 03:08:15 2008 -0400
7639 [configure.ac.enable] Implement accumulators
7641 build/configure.ac.enable | 298 +++++++++++++++++++++++++++++++++------------
7642 1 files changed, 217 insertions(+), 81 deletions(-)
7644 commit 1efb5e0810025d560addbbf690fd4d65f9405b8f
7645 Author: Behdad Esfahbod <behdad@behdad.org>
7646 Date: Thu Sep 11 01:12:48 2008 -0400
7648 [configure.ac.enable] Don't collect .pc files for builtin features
7650 build/configure.ac.enable | 13 +++++++++++--
7651 1 files changed, 11 insertions(+), 2 deletions(-)
7653 commit 2bc53fb152ef4e6a443c177c7ac0cd2193c252ad
7654 Author: Behdad Esfahbod <behdad@behdad.org>
7655 Date: Thu Sep 11 01:04:13 2008 -0400
7657 [configure.ac] Really fix pixman config
7659 configure.ac | 9 ++++++---
7660 1 files changed, 6 insertions(+), 3 deletions(-)
7662 commit f9a332c8fda32136a99299ac73a1737028fa8795
7663 Author: Behdad Esfahbod <behdad@behdad.org>
7664 Date: Thu Sep 11 00:49:17 2008 -0400
7666 [configure.ac] Fix pixman requires
7668 configure.ac | 6 +++---
7669 1 files changed, 3 insertions(+), 3 deletions(-)
7671 commit 391bef58fcb301014adc8b06db7265c5c9b3bee3
7672 Author: Behdad Esfahbod <behdad@behdad.org>
7673 Date: Wed Sep 10 23:23:08 2008 -0400
7675 Add support for always-builtin features in the build system
7677 Like image surface and user fonts.
7679 build/configure.ac.enable | 43 +++++++++++++++++++++-----------
7680 configure.ac | 30 +++++++++++-----------
7681 doc/public/cairo-sections.txt | 2 +
7682 doc/public/tmpl/cairo-image.sgml | 11 ++++++++
7683 doc/public/tmpl/cairo-user-fonts.sgml | 12 +++++++++
7684 5 files changed, 68 insertions(+), 30 deletions(-)
7686 commit 4a01b1d9c94beb4b3df9d4c7c8d7411c6afa1034
7687 Author: Behdad Esfahbod <behdad@behdad.org>
7688 Date: Wed Sep 10 21:36:27 2008 -0400
7690 Build -uninstalled.pc files
7693 build/configure.ac.enable | 28 +++++++++++++++++++++++++++-
7694 src/cairo-features-uninstalled.pc.in | 7 +++++++
7695 src/cairo-uninstalled.pc.in | 8 ++++++++
7696 4 files changed, 43 insertions(+), 1 deletions(-)
7698 commit a18c75c3e9a63dc23aaad0faf2e963973a306d65
7699 Author: Behdad Esfahbod <behdad@behdad.org>
7700 Date: Wed Sep 10 21:24:50 2008 -0400
7702 [configure.ac.enable] More fixes for private features
7704 Don't expect pkgconfig files for them. Also, don't give them a chance
7705 to install public headers.
7707 build/configure.ac.enable | 34 ++++++++++++++++++++++++++++------
7708 1 files changed, 28 insertions(+), 6 deletions(-)
7710 commit 771ff1a06e93255cd0015c59f5e4f33c25490546
7711 Author: Behdad Esfahbod <behdad@behdad.org>
7712 Date: Wed Sep 10 21:21:58 2008 -0400
7714 [configure.ac.enable] Don't collect .pc files in win32 Makefile
7716 We only generate them using autotools. No point.
7718 build/configure.ac.enable | 2 --
7719 1 files changed, 0 insertions(+), 2 deletions(-)
7721 commit c73f58e3a7a83faa687a148d2363979f3e7d001f
7722 Author: Behdad Esfahbod <behdad@behdad.org>
7723 Date: Wed Sep 10 21:19:25 2008 -0400
7725 [doc] Don't include *.h as sources
7727 No idea why this was done initially but other projects I checked did not
7730 doc/public/Makefile.am | 2 +-
7731 1 files changed, 1 insertions(+), 1 deletions(-)
7733 commit d878924cf8ec2aea9a4f1bd27ac3a83566c0af5f
7734 Author: Adrian Johnson <ajohnson@redneon.com>
7735 Date: Thu Sep 11 08:46:55 2008 +0930
7737 PS: execute type3 glyphs in their own dictionary
7739 The PS emulation of the PDF text operators stores some data on the
7740 user dict between calls to operators. When using the PDF text
7741 operators in type 3 glyphs, the PDF operators were overwriting the
7742 same data as the PDF operators in the page. Fix this by creating a new
7743 dictionary to execute each type 3 glyph in.
7745 src/cairo-ps-surface.c | 3 ++-
7746 1 files changed, 2 insertions(+), 1 deletions(-)
7748 commit b56075ee51aaf570f85c1d59513e5e5116ae2b06
7749 Author: Adrian Johnson <ajohnson@redneon.com>
7750 Date: Thu Sep 11 08:41:39 2008 +0930
7752 Enable show_glyphs inside of in user-font glyphs
7754 src/cairo-pdf-surface.c | 24 ++++++++++++--
7755 src/cairo-ps-surface.c | 7 +++-
7756 src/cairo-type3-glyph-surface-private.h | 8 ++++-
7757 src/cairo-type3-glyph-surface.c | 53 ++++++++++++++++++++++++++++---
7758 4 files changed, 81 insertions(+), 11 deletions(-)
7760 commit c3663324fd417a281e9cd872aa1d60101ff4602b
7761 Author: Adrian Johnson <ajohnson@redneon.com>
7762 Date: Thu Sep 11 08:38:39 2008 +0930
7764 Add _cairo_type3_glyph_surface_analyze_glyph()
7766 This function emits the glyph to a null stream with the side effect
7767 that other glyphs referenced by this user-font glyph will be added to
7770 src/cairo-pdf-surface.c | 28 ++++++++++++++++++++++
7771 src/cairo-ps-surface.c | 30 +++++++++++++++++++++++
7772 src/cairo-type3-glyph-surface-private.h | 4 +++
7773 src/cairo-type3-glyph-surface.c | 39 +++++++++++++++++++++++++++++++
7774 4 files changed, 101 insertions(+), 0 deletions(-)
7776 commit b74533b5a56c1d063f288343f2e8e484f3c6571f
7777 Author: Adrian Johnson <ajohnson@redneon.com>
7778 Date: Thu Sep 11 08:37:30 2008 +0930
7780 Add null output stream
7782 src/cairo-output-stream-private.h | 4 ++++
7783 src/cairo-output-stream.c | 23 +++++++++++++++++++++++
7784 2 files changed, 27 insertions(+), 0 deletions(-)
7786 commit 6772efcdf6b6710c839ab58a7218866cc9f409b6
7787 Author: Adrian Johnson <ajohnson@redneon.com>
7788 Date: Thu Sep 11 08:37:02 2008 +0930
7790 Put user fonts in a separate subset
7792 src/cairo-pdf-surface.c | 6 +++++
7793 src/cairo-ps-surface.c | 5 ++++
7794 src/cairo-scaled-font-subsets-private.h | 35 +++++++++++++++++++++++++++++++
7795 src/cairo-scaled-font-subsets.c | 23 ++++++++++++++++++-
7796 4 files changed, 67 insertions(+), 2 deletions(-)
7798 commit 59fafcee8d6f3b5ba81e0bb1d90eb65b8e5daf93
7799 Author: Behdad Esfahbod <behdad@behdad.org>
7800 Date: Wed Sep 10 18:22:07 2008 -0400
7802 [configure.ac.build] Keep private features private
7804 For private features:
7806 - Don't list them in cairo-features.h; Define them in config.h instead,
7807 - Don't generate/install a .pc file,
7808 - Don't warn if enabled.
7810 build/configure.ac.enable | 25 +++++++++++++++----------
7811 1 files changed, 15 insertions(+), 10 deletions(-)
7813 commit e0b4f8dc8fd9861359f913dd69daa0ffeb66907a
7814 Author: Carl Worth <cworth@cworth.org>
7815 Date: Wed Aug 27 16:13:57 2008 -0700
7817 Avoid missing enum warnings with pixman 0.11.9
7819 src/cairo-image-surface.c | 10 ++++++++++
7820 1 files changed, 10 insertions(+), 0 deletions(-)
7822 commit bdcdc8400ef8c199eb7dea961ea13b75ae93176d
7823 Author: Carl Worth <cworth@cworth.org>
7824 Date: Wed Aug 27 15:54:15 2008 -0700
7826 Rename _init_pattern_with_snapshot to _cairo_pattern_init_snapshot
7828 src/cairo-meta-surface.c | 38 ++++++--------------------------------
7829 src/cairo-pattern.c | 30 ++++++++++++++++++++++++++++++
7830 src/cairoint.h | 4 ++++
7831 3 files changed, 40 insertions(+), 32 deletions(-)
7833 commit 9016504e2ab2718603838aa2504513fa5aeefd7e
7834 Author: Behdad Esfahbod <behdad@behdad.org>
7835 Date: Wed Sep 10 17:22:49 2008 -0400
7837 [configure.ac.enable] Don't report CFLAGS
7839 It's long and not that useful.
7841 build/configure.ac.enable | 3 ---
7842 1 files changed, 0 insertions(+), 3 deletions(-)
7844 commit 4059d356b8c2c8175cd9e232d2c34aaabd1932b1
7845 Author: Behdad Esfahbod <behdad@behdad.org>
7846 Date: Wed Sep 10 17:22:05 2008 -0400
7848 [autogen.sh] Make libtoolize silent
7851 1 files changed, 1 insertions(+), 1 deletions(-)
7853 commit 8abb252b0e4fa3b77eb85dd0276ce5112b538c3d
7854 Author: Chris Wilson <chris@chris-wilson.co.uk>
7855 Date: Wed Sep 10 20:29:05 2008 +0100
7857 [test/Makefile.am] Update list of reference images.
7859 Remove the references to the deleted PS images and the premature
7860 addition of the PDF images.
7862 test/Makefile.am | 6 +-----
7863 1 files changed, 1 insertions(+), 5 deletions(-)
7865 commit e895ab81f397359ee0224cc6ec61737ff87a591d
7866 Author: Chris Wilson <chris@chris-wilson.co.uk>
7867 Date: Wed Sep 10 19:00:40 2008 +0100
7869 [test/Makefile.am] Remove reference to clip-operator-ps-argb32-ref.png
7871 The test passes using the general reference image since the PS now
7872 correctly uses the image fallback for the alpha gradients.
7874 test/Makefile.am | 1 -
7875 1 files changed, 0 insertions(+), 1 deletions(-)
7877 commit 042ef899a26fbb008641a86ad7b14df42a1024cd
7878 Author: Behdad Esfahbod <behdad@behdad.org>
7879 Date: Wed Sep 10 13:57:17 2008 -0400
7881 [test/pdiff] Fix include syntax
7883 test/pdiff/pdiff.h | 2 +-
7884 1 files changed, 1 insertions(+), 1 deletions(-)
7886 commit 7709f51e1378fb39af01bf7c50762b3c6cc032f2
7887 Author: Chris Wilson <chris@chris-wilson.co.uk>
7888 Date: Wed Sep 10 18:30:45 2008 +0100
7890 [boilerplate] Include cairo-compiler-private.h
7892 Actually use the compiler specific diverts and defines.
7894 boilerplate/cairo-boilerplate.h | 2 ++
7895 1 files changed, 2 insertions(+), 0 deletions(-)
7897 commit 84a7a9955c8af99bc2224ee630473bbee137598e
7898 Author: Chris Wilson <chris@chris-wilson.co.uk>
7899 Date: Wed Sep 10 18:23:31 2008 +0100
7901 [test] Typo in Makefile.am
7903 s/AC_CPPFLAGS/AM_CPPFLAGS/g
7905 test/pdiff/Makefile.am | 2 +-
7906 test/pdiff/pdiff.h | 2 +-
7907 2 files changed, 2 insertions(+), 2 deletions(-)
7909 commit bf62798b1284533e28b78717dac8070ca6d29e54
7910 Author: Chris Wilson <chris@chris-wilson.co.uk>
7911 Date: Wed Sep 10 18:21:50 2008 +0100
7913 [cairo-compiler-private.h] Divert popen to _popen for MSVC
7915 Microsoft uses _popen instead of popen - required to build the
7916 boilerplate but not actually used on Windows (by default)!
7918 src/cairo-compiler-private.h | 1 +
7919 1 files changed, 1 insertions(+), 0 deletions(-)
7921 commit 5e5a2b9da70f559afa00bfd6e2011d573e729071
7922 Author: Behdad Esfahbod <behdad@behdad.org>
7923 Date: Wed Sep 10 12:41:57 2008 -0400
7925 More fixes for pkgconfig files
7927 Should all work now.
7929 build/configure.ac.enable | 44 ++++++++++++++++++++++++++++----------------
7930 src/cairo-features.pc.in | 10 +++++-----
7931 2 files changed, 33 insertions(+), 21 deletions(-)
7933 commit 43a42d0a195422260dbef0961e1cff34b1a36010
7934 Author: Behdad Esfahbod <behdad@behdad.org>
7935 Date: Wed Sep 10 12:41:32 2008 -0400
7937 [test/pdiff/Makefile.am] Another automake warning fix
7939 test/pdiff/Makefile.am | 2 +-
7940 1 files changed, 1 insertions(+), 1 deletions(-)
7942 commit 95214e80a55d362ece30d8f2cd513b2771aeaa3e
7943 Author: Behdad Esfahbod <behdad@behdad.org>
7944 Date: Wed Sep 10 12:19:21 2008 -0400
7946 [configure.ac.enable] Fix warning messages
7948 build/configure.ac.enable | 6 +++---
7949 1 files changed, 3 insertions(+), 3 deletions(-)
7951 commit 9dd9289c4ad517abf1d9013d5d6f85e418f9dd78
7952 Author: Behdad Esfahbod <behdad@behdad.org>
7953 Date: Wed Sep 10 12:18:27 2008 -0400
7955 Rename cairo-backend.pc.in to cairo-features.pc.in
7957 build/configure.ac.enable | 2 +-
7958 src/cairo-backend.pc.in | 12 ------------
7959 src/cairo-features.pc.in | 12 ++++++++++++
7960 3 files changed, 13 insertions(+), 13 deletions(-)
7962 commit cf71e7c39b431b5b85aefe0249c9870d240e390b
7963 Author: Behdad Esfahbod <behdad@behdad.org>
7964 Date: Wed Sep 10 12:15:20 2008 -0400
7966 [configure.ac.enable] Actually install pkgconfig files
7968 Oops. Reported by Shunichi Fuji.
7970 build/configure.ac.enable | 20 ++++++++++++--------
7971 1 files changed, 12 insertions(+), 8 deletions(-)
7973 commit c9a90a808db6bcc2ac8f03aeeed334931655ce90
7974 Author: Behdad Esfahbod <behdad@behdad.org>
7975 Date: Tue Sep 9 14:36:40 2008 -0400
7977 [autogen.sh] Make sure ChangeLog exists
7979 autogen.sh | 5 +++--
7980 1 files changed, 3 insertions(+), 2 deletions(-)
7982 commit 378b11aaf39496919fd10108c00946cffe1fafc4
7983 Author: Chris Wilson <chris@chris-wilson.co.uk>
7984 Date: Tue Sep 9 09:06:10 2008 +0100
7988 Update alpha value to non-divisable-by-256 number to expose a bug in
7989 pixman where it appears to be mixing in empty registers.
7991 test/fill-alpha-pattern-ps-ref.png | Bin 4519 -> 4380 bytes
7992 test/fill-alpha-pattern-ref.png | Bin 3855 -> 3653 bytes
7993 test/fill-alpha-pattern.c | 9 +++++----
7994 test/fill-alpha-ref.png | Bin 3182 -> 2989 bytes
7995 test/fill-alpha.c | 9 +++++----
7996 5 files changed, 10 insertions(+), 8 deletions(-)
7998 commit c20179b65ff887b4c5dc7f984ede1cb986de859d
7999 Author: Behdad Esfahbod <behdad@behdad.org>
8000 Date: Mon Sep 8 15:17:52 2008 -0400
8002 [{test,perf}/Makefile.am] Define html-local target instead of html
8004 Fixes automake warning.
8006 perf/Makefile.am | 4 ++--
8007 test/Makefile.am | 4 ++--
8008 2 files changed, 4 insertions(+), 4 deletions(-)
8010 commit 87dfceb9ec4d32077ad7961a6875793dc5d723f1
8011 Author: Behdad Esfahbod <behdad@behdad.org>
8012 Date: Mon Sep 8 15:13:07 2008 -0400
8014 [Makefile.am] Rename INCLUDES to AM_CPPFLAGS
8016 Fixes automake warnings
8018 boilerplate/Makefile.am | 2 +-
8019 doc/public/Makefile.am | 5 -----
8020 perf/Makefile.am | 2 +-
8021 src/Makefile.am | 10 +++++-----
8022 test/Makefile.am | 2 +-
8023 5 files changed, 8 insertions(+), 13 deletions(-)
8025 commit f84e7b6e656678e105171be12ef265ae60e4b1f7
8026 Author: Behdad Esfahbod <behdad@behdad.org>
8027 Date: Mon Sep 8 15:10:06 2008 -0400
8029 [configure.ac] Opt for more automake warnings and checks
8033 2 files changed, 2 insertions(+), 2 deletions(-)
8035 commit a374b349bfe5dc4afa23ceea8d808560c5d7ac84
8036 Author: Behdad Esfahbod <behdad@behdad.org>
8037 Date: Sun Sep 7 17:43:30 2008 -0400
8039 [configure.ac.enable] Make feature hooks take an ENABLED argument
8043 build/configure.ac.enable | 130 ++++++++++++++++++++++-----------------------
8044 1 files changed, 63 insertions(+), 67 deletions(-)
8046 commit 1affc3192bbc4db93213a7053255f6fbafbab8a8
8047 Author: Chris Wilson <chris@chris-wilson.co.uk>
8048 Date: Mon Sep 8 13:34:45 2008 +0100
8050 [test] Add fill-alpha-pattern.
8052 A slight variation on the simple fill-alpha theme is that if Company is
8053 truly seeing a regression where we dither, the error on a constant
8054 background will be small and might be missed by the test suite.
8056 test/.gitignore | 1 +
8057 test/Makefile.am | 3 +
8058 test/fill-alpha-pattern-ps-ref.png | Bin 0 -> 4519 bytes
8059 test/fill-alpha-pattern-ref.png | Bin 0 -> 3855 bytes
8060 test/fill-alpha-pattern.c | 94 ++++++++++++++++++++++++++++++++++++
8061 5 files changed, 98 insertions(+), 0 deletions(-)
8063 commit ee5e6c821fedaf8c374d41438e1ca8cf606cd57c
8064 Author: Chris Wilson <chris@chris-wilson.co.uk>
8065 Date: Mon Sep 8 12:34:36 2008 +0100
8067 [test] Add fill-alpha.
8069 Benjamin Otte reported "who broke rgba fills? they look dithered with
8072 This commit is the result of a skim through the test-suite which revealed
8073 no single test responsible for checking the basic operation of
8074 "set_rgba(); fill();".
8076 test/.gitignore | 1 +
8077 test/Makefile.am | 2 +
8078 test/fill-alpha-ref.png | Bin 0 -> 3182 bytes
8079 test/fill-alpha.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++
8080 4 files changed, 92 insertions(+), 0 deletions(-)
8082 commit cdee34c5b77b7d6b16bd0b8d22e25211064dbc23
8083 Author: Behdad Esfahbod <behdad@behdad.org>
8084 Date: Sun Sep 7 16:53:14 2008 -0400
8086 Back to using autoconf 2.58
8088 acinclude.m4 | 4 ++++
8089 build/configure.ac.enable | 12 ++++++------
8091 3 files changed, 11 insertions(+), 7 deletions(-)
8093 commit d478b3e1ef25ac9b19938bc8ee801afc9ebd89ae
8094 Author: Chris Wilson <chris@chris-wilson.co.uk>
8095 Date: Sun Sep 7 18:31:29 2008 +0100
8097 [cairoint.h] Update LAST_STATUS.
8099 src/cairoint.h | 2 +-
8100 1 files changed, 1 insertions(+), 1 deletions(-)
8102 commit 7960fc94dccdf4f4e7362e1cd69eeb3c132939e5
8103 Author: Chris Wilson <chris@chris-wilson.co.uk>
8104 Date: Sun Sep 7 12:56:14 2008 +0100
8106 [ps] Set used level to 3 only if we use native gradients.
8108 Set the used level after performing the checks that the native Type2/3
8109 gradients support the pattern.
8111 src/cairo-ps-surface.c | 3 ++-
8112 1 files changed, 2 insertions(+), 1 deletions(-)
8114 commit 7439c45039a2c4342f626864324a5b4989a3153d
8115 Author: Chris Wilson <chris@chris-wilson.co.uk>
8116 Date: Sun Sep 7 14:57:16 2008 +0100
8118 [ps] Only use fallback images if the gradient has non-constant alpha.
8120 If the gradient has constant alpha, then we can express it as a flattened
8121 linear gradient. Otherwise, should the opacity vary across the gradient we
8124 src/cairo-ps-surface.c | 14 ++++++++++++++
8125 test/.gitignore | 1 +
8126 test/Makefile.am | 1 -
8127 test/clip-operator-ps-argb32-ref.png | Bin 9102 -> 0 bytes
8128 test/clip-operator-ps-rgb24-ref.png | Bin 4620 -> 3624 bytes
8129 test/gradient-alpha-ps-argb32-ref.png | Bin 189 -> 134 bytes
8130 test/gradient-alpha-ps-rgb24-ref.png | Bin 179 -> 130 bytes
8131 test/gradient-constant-alpha-ps-ref.png | Bin 0 -> 124 bytes
8132 test/gradient-constant-alpha-ps-rgb24-ref.png | Bin 0 -> 124 bytes
8133 test/gradient-constant-alpha-ref.png | Bin 0 -> 117 bytes
8134 test/gradient-constant-alpha-rgb24-ref.png | Bin 0 -> 116 bytes
8135 test/operator-clear-ps-argb32-ref.png | Bin 1435 -> 0 bytes
8136 test/operator-source-ps-argb32-ref.png | Bin 3890 -> 0 bytes
8137 test/operator-source-ps-rgb24-ref.png | Bin 3181 -> 0 bytes
8138 14 files changed, 15 insertions(+), 1 deletions(-)
8140 commit 94fd60d5ec2ef7705a8dc53f74817c1e067ba8e6
8141 Author: Chris Wilson <chris@chris-wilson.co.uk>
8142 Date: Sun Sep 7 12:12:59 2008 +0100
8144 [test] Add gradient-constant-alpha.
8146 PostScript can handle alpha gradients, iff they have a constant alpha. So
8149 test/Makefile.am | 7 ++++
8150 test/gradient-constant-alpha.c | 69 ++++++++++++++++++++++++++++++++++++++++
8151 2 files changed, 76 insertions(+), 0 deletions(-)
8153 commit a33f2f6962a5cb09eca60825fa1a022c3e00991c
8154 Author: Chris Wilson <chris@chris-wilson.co.uk>
8155 Date: Sun Sep 7 10:26:32 2008 +0100
8157 Revert "[ps] A flattened gradient is not linear."
8159 This reverts commit 85ed37da33522efa101eb508a4091bcfa24ae944.
8161 Adrian Johnson pointed out that iff the gradient has constant alpha then
8162 it can be flattened. Reverting this commit in order to restore the
8163 capability to handle gradient flattening.
8165 src/cairo-ps-surface.c | 46 ++++++++++++++++++--------------
8166 test/Makefile.am | 2 +
8167 test/clip-operator-ps-argb32-ref.png | Bin 0 -> 9102 bytes
8168 test/clip-operator-ps-rgb24-ref.png | Bin 0 -> 4620 bytes
8169 test/gradient-alpha-ps-argb32-ref.png | Bin 0 -> 189 bytes
8170 test/gradient-alpha-ps-rgb24-ref.png | Bin 0 -> 179 bytes
8171 test/operator-clear-ps-argb32-ref.png | Bin 0 -> 1435 bytes
8172 test/operator-source-ps-argb32-ref.png | Bin 0 -> 3890 bytes
8173 test/operator-source-ps-rgb24-ref.png | Bin 0 -> 3181 bytes
8174 9 files changed, 28 insertions(+), 20 deletions(-)
8176 commit 1a6f2b08a16ffe2af28ddb3fcf0e7295226ad73d
8177 Author: Chris Wilson <chris@chris-wilson.co.uk>
8178 Date: Sun Sep 7 10:24:46 2008 +0100
8180 [ps] Support B PDF operator.
8182 Add the procedure definition for fill-stroke path operators, B and B*.
8184 src/cairo-ps-surface.c | 2 ++
8185 1 files changed, 2 insertions(+), 0 deletions(-)
8187 commit ab3bb369d5d531446f4a5482672204dc479f10b2
8188 Author: Chris Wilson <chris@chris-wilson.co.uk>
8189 Date: Sun Sep 7 10:23:28 2008 +0100
8191 [ps] Add comments about design of output.
8193 Add some snippets from Adrian Johnson about how and why the PS output is
8194 factored in terms of PDF operators.
8196 src/cairo-ps-surface.c | 13 +++++++++++++
8197 1 files changed, 13 insertions(+), 0 deletions(-)
8199 commit ddb529a59c96077dd29b3bcfbc9749cb2d6de703
8200 Author: Chris Wilson <chris@chris-wilson.co.uk>
8201 Date: Sun Sep 7 12:16:29 2008 +0100
8203 [configure.ac] Bump the required version.
8205 2.62!!! Hopefully Behdad will notice and rewrite his excellent build
8206 scripts to avoid m4_newline() and m4_expand().
8209 1 files changed, 1 insertions(+), 1 deletions(-)
8211 commit c3b05a796ed015350887cf8220b087058e493571
8212 Author: Behdad Esfahbod <behdad@behdad.org>
8213 Date: Sat Sep 6 18:02:21 2008 -0400
8215 [configure.ac.enable] Sanitize feature default value
8217 build/configure.ac.enable | 9 +++++++++
8218 1 files changed, 9 insertions(+), 0 deletions(-)
8220 commit c881226afd03a95e9b94f497477315d69197c238
8221 Author: Behdad Esfahbod <behdad@behdad.org>
8222 Date: Sat Sep 6 17:26:51 2008 -0400
8224 [configure.ac.enable] Further break feature configuration hooks
8226 build/configure.ac.enable | 231 +++++++++++++++++++++++++++------------------
8227 1 files changed, 138 insertions(+), 93 deletions(-)
8229 commit 31b09965b7c6210e5602167e260fa21b4c310bd1
8230 Author: Behdad Esfahbod <behdad@behdad.org>
8231 Date: Sat Sep 6 16:59:41 2008 -0400
8233 [configure.ac.enable] Move macros around
8235 build/configure.ac.enable | 247 +++++++++++++++++++++++----------------------
8236 1 files changed, 128 insertions(+), 119 deletions(-)
8238 commit e19103e38d0a23e3d49c8a63945b80069e2d949b
8239 Author: Behdad Esfahbod <behdad@behdad.org>
8240 Date: Sat Sep 6 16:34:18 2008 -0400
8242 [configure.ac.enable] Redo cache invalidation to be automatic
8244 build/configure.ac.enable | 49 +++++++++++++++++++++++++++++++++------------
8245 1 files changed, 36 insertions(+), 13 deletions(-)
8247 commit d520d5432bb94eb664652b09322cd254987bde6c
8248 Author: Behdad Esfahbod <behdad@behdad.org>
8249 Date: Sat Sep 6 15:54:23 2008 -0400
8251 [configure.ac.enable] Simplify _CAIRO_ENABLE_FULL
8253 build/configure.ac.enable | 61 +++++++++++++++++---------------------------
8254 1 files changed, 24 insertions(+), 37 deletions(-)
8256 commit ee97873e0dad3ac60f6c39fb46bb5a7bb7480ae7
8257 Author: Behdad Esfahbod <behdad@behdad.org>
8258 Date: Sat Sep 6 15:34:29 2008 -0400
8260 [configure.ac.bulid] Break feature config into smaller hooks
8262 build/configure.ac.enable | 38 ++++++++++++++++++++++----------------
8263 1 files changed, 22 insertions(+), 16 deletions(-)
8265 commit 3ed9787f4358048965bbc35acf958a75a95261dd
8266 Author: Behdad Esfahbod <behdad@behdad.org>
8267 Date: Sat Sep 6 15:27:24 2008 -0400
8269 [configure.ac.enable] Add CAIRO_FEATURE_IF_ENABLED
8271 build/configure.ac.enable | 16 +++++++++++-----
8272 1 files changed, 11 insertions(+), 5 deletions(-)
8274 commit aba88e3437d88ebdf5bbeba72f0130ff4297bcdc
8275 Author: Behdad Esfahbod <behdad@behdad.org>
8276 Date: Sat Sep 6 15:12:32 2008 -0400
8278 [configure.ac.enable] Move all feature configureation to a single hook
8280 To be broken up in followup commits.
8282 build/configure.ac.enable | 209 ++++++++++++++++++++++++---------------------
8283 1 files changed, 111 insertions(+), 98 deletions(-)
8285 commit 7d39e4cbd722e39396904a43798c4743321b174c
8286 Author: Behdad Esfahbod <behdad@behdad.org>
8287 Date: Sat Sep 6 15:10:24 2008 -0400
8289 [configure.ac.enable] Add all-powerful hook registration macro
8291 build/configure.ac.enable | 82 ++++++++++++++++++++++++++++++++++++++++-----
8292 1 files changed, 73 insertions(+), 9 deletions(-)
8294 commit 61ef0ebdc39828fd8f1e10de914694e22c6b6aa1
8295 Author: Behdad Esfahbod <behdad@behdad.org>
8296 Date: Sat Sep 6 14:51:57 2008 -0400
8301 1 files changed, 2 insertions(+), 0 deletions(-)
8303 commit eddb3f6a849a22bed0946e0f5031133e82429812
8304 Author: Behdad Esfahbod <behdad@behdad.org>
8305 Date: Sat Sep 6 09:50:57 2008 -0400
8307 [configure.ac.enable] More macro cleanup
8310 build/configure.ac.enable | 218 ++++++++++++++++++++++++---------------------
8311 2 files changed, 119 insertions(+), 100 deletions(-)
8313 commit 96e45e6779320cb0bed2a8d5f601180167c8a706
8314 Author: Behdad Esfahbod <behdad@behdad.org>
8315 Date: Fri Sep 5 01:18:39 2008 -0400
8317 [configure.ac] Cosmetic
8319 build/configure.ac.enable | 41 +++++++++++++++++++++++++++--------------
8320 1 files changed, 27 insertions(+), 14 deletions(-)
8322 commit a37806a9da21a196e94dfa99500c3551ff119231
8323 Author: Behdad Esfahbod <behdad@behdad.org>
8324 Date: Fri Sep 5 01:07:30 2008 -0400
8326 [configure.ac] Quote version macros
8328 configure.ac | 4 ++--
8329 1 files changed, 2 insertions(+), 2 deletions(-)
8331 commit 4edda79e711c3d82b5596694abb307ffa3fe855b
8332 Author: Behdad Esfahbod <behdad@behdad.org>
8333 Date: Fri Sep 5 00:57:15 2008 -0400
8335 [configure.ac] Sanitize feature names
8337 build/configure.ac.enable | 18 +++++++++---------
8338 1 files changed, 9 insertions(+), 9 deletions(-)
8340 commit c2062dc8b73d031e596d0b6c0f6fcc76839eb251
8341 Author: Benjamin Otte <otte@gnome.org>
8342 Date: Sat Sep 6 22:26:56 2008 +0200
8344 [doc] get rid of various markers that aren't interpreted by gtk-doc
8346 doc/public/tmpl/cairo-version.sgml | 16 ++++++++--------
8347 1 files changed, 8 insertions(+), 8 deletions(-)
8349 commit d45b3168db2362eaaa8ee29fc653509bc8f67e65
8350 Author: Chris Wilson <chris@chris-wilson.co.uk>
8351 Date: Fri Sep 5 06:58:56 2008 +0100
8353 [ps] Use a color_t rather than open-code.
8355 Simplify the code by tracking the current solid color with a
8358 src/cairo-ps-surface-private.h | 5 +----
8359 src/cairo-ps-surface.c | 10 ++--------
8360 src/cairo-types-private.h | 18 ++++++++++++++++++
8361 src/cairoint.h | 18 ------------------
8362 4 files changed, 21 insertions(+), 30 deletions(-)
8364 commit 85ed37da33522efa101eb508a4091bcfa24ae944
8365 Author: Chris Wilson <chris@chris-wilson.co.uk>
8366 Date: Sat Sep 6 09:10:25 2008 +0100
8368 [ps] A flattened gradient is not linear.
8370 We cannot express an alpha-gradient as a simple linear interpolation
8371 between 2 flattened colors. So fallback.
8373 src/cairo-ps-surface.c | 46 ++++++++++++++------------------
8374 test/Makefile.am | 2 -
8375 test/clip-operator-ps-argb32-ref.png | Bin 9102 -> 0 bytes
8376 test/clip-operator-ps-rgb24-ref.png | Bin 4620 -> 0 bytes
8377 test/gradient-alpha-ps-argb32-ref.png | Bin 189 -> 0 bytes
8378 test/gradient-alpha-ps-rgb24-ref.png | Bin 179 -> 0 bytes
8379 test/operator-clear-ps-argb32-ref.png | Bin 1435 -> 0 bytes
8380 test/operator-source-ps-argb32-ref.png | Bin 3890 -> 0 bytes
8381 test/operator-source-ps-rgb24-ref.png | Bin 3181 -> 0 bytes
8382 9 files changed, 20 insertions(+), 28 deletions(-)
8384 commit c1c86afa877b80a284365bcdaee11986bdd7da1f
8385 Author: Chris Wilson <chris@chris-wilson.co.uk>
8386 Date: Fri Sep 5 05:04:09 2008 +0100
8388 [ps] Use floating point values when flattening color.
8390 Use the full-precision color values when computing the alpha-blended
8393 src/cairo-ps-surface.c | 24 +++++++++++-------------
8394 test/Makefile.am | 1 +
8395 test/over-around-source-ps-rgb24-ref.png | Bin 0 -> 538 bytes
8396 3 files changed, 12 insertions(+), 13 deletions(-)
8398 commit e583fb061d2302b94188aabd381c566ac833bd94
8399 Author: Chris Wilson <chris@chris-wilson.co.uk>
8400 Date: Thu Sep 4 13:47:05 2008 +0100
8402 [type1] Allocate the temporary subsetter on the stack.
8404 Avoid a reasonably small, short-lived malloc by allocating the
8405 cairo_type1_font_subset_t on the stack.
8407 src/cairo-type1-subset.c | 75 +++++++++++++++++++---------------------------
8408 1 files changed, 31 insertions(+), 44 deletions(-)
8410 commit 0cadd4ab027c3196c8bfa3361f2507ceb62c7876
8411 Author: Chris Wilson <chris@chris-wilson.co.uk>
8412 Date: Thu Sep 4 10:25:54 2008 +0100
8414 [CODING_STYLE] Add vim modeline
8416 Add my vim recipe that most closely matches the coding style. If you can
8417 improve it, please do so!
8419 CODING_STYLE | 16 +++++++++++++++-
8420 1 files changed, 15 insertions(+), 1 deletions(-)
8422 commit 22de0f6b8d3d680f29d781e1d71cf35a29cd26a9
8423 Author: Behdad Esfahbod <behdad@behdad.org>
8424 Date: Thu Sep 4 23:26:19 2008 -0400
8426 [configure.ac] Add some automake options
8429 1 files changed, 1 insertions(+), 1 deletions(-)
8431 commit 82c91ec681bbd4fa8e64c411a94570a20a341ef0
8432 Author: Behdad Esfahbod <behdad@behdad.org>
8433 Date: Thu Sep 4 23:25:57 2008 -0400
8435 [util] Fix an automake warning
8437 util/Makefile.am | 2 +-
8438 1 files changed, 1 insertions(+), 1 deletions(-)
8440 commit 965b0e51ec8e1f57aaa7f7cdd86ef8968f059b7b
8441 Author: Behdad Esfahbod <behdad@behdad.org>
8442 Date: Thu Sep 4 23:25:27 2008 -0400
8444 [test] Do not include "xmalloc.h" directly
8446 Not needed, it's renamed and included by boilerplate directly.
8448 test/buffer-diff.c | 1 -
8449 test/cairo-test.c | 1 -
8450 test/imagediff.c | 1 -
8451 test/pthread-show-text.c | 1 -
8452 4 files changed, 0 insertions(+), 4 deletions(-)
8454 commit 620e19e849f3dcc5747abe5b6d1adca4a08df9c7
8455 Author: Behdad Esfahbod <behdad@behdad.org>
8456 Date: Thu Sep 4 23:09:58 2008 -0400
8458 [configure.ac] Add AM_PROG_CC_C_O
8460 Needed for per-target flags in test/Makefile.am
8462 build/configure.ac.tools | 1 +
8463 1 files changed, 1 insertions(+), 0 deletions(-)
8465 commit 4edfdb4b15ff9f1eacaae0fb0739a54e51ca8742
8466 Author: Behdad Esfahbod <behdad@behdad.org>
8467 Date: Thu Sep 4 22:30:49 2008 -0400
8469 Rename build/*.ac to build/configure.ac.*.
8471 Also rename configure.in to configure.ac (finally)
8473 configure.in -> configure.ac
8474 build/analysis.ac -> build/configure.ac.analysis
8475 build/enable.ac -> build/configure.ac.enable
8476 build/system.ac -> build/configure.ac.system
8477 build/tools.ac -> build/configure.ac.tools
8478 build/version.ac -> build/configure.ac.version
8479 build/warnings.ac -> build/configure.ac.warnings
8482 build/analysis.ac | 76 -------
8483 build/configure.ac.analysis | 76 +++++++
8484 build/configure.ac.enable | 428 ++++++++++++++++++++++++++++++++++++++
8485 build/configure.ac.system | 74 +++++++
8486 build/configure.ac.tools | 28 +++
8487 build/configure.ac.version | 43 ++++
8488 build/configure.ac.warnings | 65 ++++++
8489 build/enable.ac | 428 --------------------------------------
8490 build/system.ac | 74 -------
8491 build/tools.ac | 28 ---
8492 build/version.ac | 43 ----
8493 build/warnings.ac | 65 ------
8494 configure.ac | 482 +++++++++++++++++++++++++++++++++++++++++++
8495 configure.in | 482 -------------------------------------------
8496 15 files changed, 1200 insertions(+), 1201 deletions(-)
8498 commit 49f060252a2f40c727909d9e55463f40dcea2cdf
8499 Author: Behdad Esfahbod <behdad@behdad.org>
8500 Date: Thu Sep 4 22:25:33 2008 -0400
8502 Rename build/*.mk to build/Makefile.am.*
8506 build/Analysis.mk -> build/Makefile.am.analysis
8507 build/ChangeLog.mk -> build/Makefile.am.changelog
8508 build/Releasing.mk -> build/Makefile.am.releasing
8511 build/Analysis.mk | 35 ----------
8512 build/ChangeLog.mk | 82 -----------------------
8513 build/Makefile.am.analysis | 35 ++++++++++
8514 build/Makefile.am.changelog | 82 +++++++++++++++++++++++
8515 build/Makefile.am.releasing | 153 +++++++++++++++++++++++++++++++++++++++++++
8516 build/Releasing.mk | 153 -------------------------------------------
8517 7 files changed, 273 insertions(+), 273 deletions(-)
8519 commit 7ad076442d70c239c963c574849b2fb352ccd63a
8520 Author: Behdad Esfahbod <behdad@behdad.org>
8521 Date: Thu Sep 4 22:21:29 2008 -0400
8523 Rename src/*.mk to src/Makefile.*
8527 src/Sources.mk -> src/Makefile.sources
8528 src/Config.mk -> src/Makefile.am.config
8529 src/Config.mk.win32 -> src/Makefile.win32.config
8532 build/enable.ac | 8 +-
8533 doc/public/Makefile.am | 2 +-
8534 src/.gitignore | 4 +-
8535 src/Makefile.am | 6 +-
8536 src/Makefile.sources | 246 ++++++++++++++++++++++++++++++++++++++++++++++++
8537 src/Makefile.win32 | 2 +-
8539 src/Sources.mk | 246 ------------------------------------------------
8540 9 files changed, 260 insertions(+), 260 deletions(-)
8542 commit 8da361470fb8a4e11c7292dbfc57e3dafef7b7f0
8543 Author: Behdad Esfahbod <behdad@behdad.org>
8544 Date: Thu Sep 4 21:59:27 2008 -0400
8546 [configure.in] Forbid arbitrary CAIRO_ patterns in the output
8548 acinclude.m4 | 11 +++++++++--
8549 build/enable.ac | 7 +++++++
8550 2 files changed, 16 insertions(+), 2 deletions(-)
8552 commit 33ed2fffb571fd50e07417d93ecaa288749b79d2
8553 Author: Behdad Esfahbod <behdad@behdad.org>
8554 Date: Thu Sep 4 21:13:39 2008 -0400
8556 [build/enable.ac] Add a feature "type" argument (font, surface, ...)
8558 build/enable.ac | 73 +++++++++++++++++++++++++++++++------------------------
8559 1 files changed, 41 insertions(+), 32 deletions(-)
8561 commit c8e75f10079e410cc1925000b14f6d1606216723
8562 Author: Behdad Esfahbod <behdad@behdad.org>
8563 Date: Thu Sep 4 21:13:17 2008 -0400
8565 [acinclude.m4] Disallow "_CAIRO" patterns in the output
8570 1 files changed, 2 insertions(+), 0 deletions(-)
8572 commit 86ef1dff59c5f1f11b8a672c6d3a16babc8fd8f9
8573 Author: Behdad Esfahbod <behdad@behdad.org>
8574 Date: Thu Sep 4 19:50:32 2008 -0400
8576 [configure.in] Break CAIRO_BACKEND_ENABLE into feature-specific ones
8578 build/enable.ac | 48 +++++++++++++++++++++++++++++++++++++++++++++---
8579 configure.in | 37 +++++++++++++++++++------------------
8580 2 files changed, 64 insertions(+), 21 deletions(-)
8582 commit 4a96eb79ce75b60025c3da0a7782ffc2bd712ee7
8583 Author: Behdad Esfahbod <behdad@behdad.org>
8584 Date: Thu Sep 4 17:50:15 2008 -0400
8586 [build/enable.ac] Reformat for readability
8588 build/enable.ac | 216 ++++++++++++++++++++++++++++--------------------------
8589 1 files changed, 112 insertions(+), 104 deletions(-)
8591 commit c28882728cbdc7e70caa2a869ded2b4f180a2f33
8592 Author: Behdad Esfahbod <behdad@behdad.org>
8593 Date: Thu Sep 4 17:22:07 2008 -0400
8595 [configure.in] Remove unused variables
8597 build/enable.ac | 4 +---
8598 1 files changed, 1 insertions(+), 3 deletions(-)
8600 commit 47547cf05140a539fff0a2afb7e9d155e5d40f27
8601 Author: Behdad Esfahbod <behdad@behdad.org>
8602 Date: Thu Sep 4 16:41:51 2008 -0400
8604 [configure.in] Move report generation to build/enable.ac
8606 build/enable.ac | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++----
8607 configure.in | 57 +--------------------------
8608 2 files changed, 110 insertions(+), 65 deletions(-)
8610 commit 37f82a4d1b95586859552958306376fd72a4a1cd
8611 Author: Behdad Esfahbod <behdad@behdad.org>
8612 Date: Thu Sep 4 16:13:05 2008 -0400
8614 Get rid of CAIRO_LDADD in favor of CAIRO_LIBS
8616 build/analysis.ac | 2 +-
8617 build/enable.ac | 2 --
8618 src/Makefile.am | 2 +-
8619 3 files changed, 2 insertions(+), 4 deletions(-)
8621 commit 44155f7e5941351b224b60644632b55448369e49
8622 Author: Behdad Esfahbod <behdad@behdad.org>
8623 Date: Thu Sep 4 16:00:40 2008 -0400
8625 Cleanup configure.in macros
8627 acinclude.m4 | 107 ++++++++++++++++++++++++-----------
8628 build/enable.ac | 11 ++-
8629 build/system.ac | 122 ++++++++++++++++------------------------
8630 src/cairo-atomic-private.h | 13 ++--
8631 src/cairo-atomic.c | 2 +-
8632 src/cairo-mutex-list-private.h | 2 +-
8633 6 files changed, 139 insertions(+), 118 deletions(-)
8635 commit 0e01534bf0bd64af840ccfa8aeaa1ac1a7cb31b7
8636 Author: Behdad Esfahbod <behdad@behdad.org>
8637 Date: Thu Sep 4 09:13:49 2008 -0400
8639 [boilerplate] Rename xmalloc.[ch] to boilerplate namespace
8641 boilerplate/Makefile.am | 5 +-
8642 boilerplate/cairo-boilerplate-system.c | 147 ++++++++++++++++++++++++++++++++
8643 boilerplate/cairo-boilerplate-system.h | 51 +++++++++++
8644 boilerplate/cairo-boilerplate.h | 2 +-
8645 boilerplate/xmalloc.c | 147 --------------------------------
8646 boilerplate/xmalloc.h | 51 -----------
8647 6 files changed, 202 insertions(+), 201 deletions(-)
8649 commit c16b4520ecc9114a7052c7afc54b264b764e5be6
8650 Author: Behdad Esfahbod <behdad@behdad.org>
8651 Date: Thu Sep 4 09:07:52 2008 -0400
8653 [autogen.sh] Only search in build/*.ac
8656 1 files changed, 1 insertions(+), 1 deletions(-)
8658 commit f92c7c2b25b37bb7c64411222089b7198d6f6c7d
8659 Author: Chris Wilson <chris@chris-wilson.co.uk>
8660 Date: Thu Sep 4 03:06:58 2008 +0100
8662 [autogen] Check build/ for versions.
8664 Add the build/*.mk to extract_version() so that it correctly identifies
8668 1 files changed, 1 insertions(+), 1 deletions(-)
8670 commit 097c4ac022be6e1b86c0acf3e6a4f06d784dd661
8671 Author: Behdad Esfahbod <behdad@behdad.org>
8672 Date: Wed Sep 3 20:51:51 2008 -0400
8674 [Makefile.am] Use check_PROGRAMS
8676 boilerplate/Makefile.am | 2 +-
8677 src/Makefile.am | 3 +--
8678 2 files changed, 2 insertions(+), 3 deletions(-)
8680 commit 308a2ca928f8a36f07a758c443e77d0e2bdc02d0
8681 Author: Behdad Esfahbod <behdad@behdad.org>
8682 Date: Wed Sep 3 20:50:49 2008 -0400
8684 [doc/public/check-doc-coverage.sh] Also test cairo-undeclared
8686 doc/public/check-doc-coverage.sh | 14 +++++++-------
8687 1 files changed, 7 insertions(+), 7 deletions(-)
8689 commit b1ced45f064fca66e570d4f2b5e87a4c5160e17c
8690 Author: Behdad Esfahbod <behdad@behdad.org>
8691 Date: Wed Sep 3 20:50:26 2008 -0400
8693 [doc] Fix out-of-tree build
8695 build/enable.ac | 2 +-
8696 src/Makefile.am | 4 ++--
8697 2 files changed, 3 insertions(+), 3 deletions(-)
8699 commit 5c45aa130865f2b279ac0b391f2bd5833ff891bd
8700 Author: Behdad Esfahbod <behdad@behdad.org>
8701 Date: Wed Sep 3 20:06:26 2008 -0400
8703 [configure.in] Split in various files
8705 Now the configure.in file mostly holds the backend enabling logic.
8706 The usual cruft has been moved in smaller files named build/*.ac.
8708 acinclude.m4 | 93 +++++++
8709 build/analysis.ac | 76 ++++++
8710 build/enable.ac | 263 ++++++++++++++++++++
8711 build/system.ac | 98 ++++++++
8712 build/tools.ac | 28 ++
8713 build/version.ac | 43 ++++
8714 build/warnings.ac | 65 +++++
8715 configure.in | 717 ++---------------------------------------------------
8716 8 files changed, 688 insertions(+), 695 deletions(-)
8718 commit 06ec8b7743ab2a184b0c748a43ba67085920cbe6
8719 Author: Behdad Esfahbod <behdad@behdad.org>
8720 Date: Wed Sep 3 19:09:57 2008 -0400
8722 Move some top-level build files into build/
8725 Analysis.mk | 35 ------------
8726 ChangeLog.mk | 82 ----------------------------
8727 Makefile.am | 22 ++++----
8728 Releasing.mk | 153 ----------------------------------------------------
8729 build/.gitignore | 8 +++
8730 build/Analysis.mk | 35 ++++++++++++
8731 build/ChangeLog.mk | 82 ++++++++++++++++++++++++++++
8732 build/Releasing.mk | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++
8734 10 files changed, 290 insertions(+), 290 deletions(-)
8736 commit 2cf4b3161c19b9b0349bd2aa94855fd0822968be
8737 Author: Vladimir Vukicevic <vladimir@pobox.com>
8738 Date: Wed Sep 3 15:34:40 2008 -0700
8740 [quartz] move _cairo_quartz_create_cgimage to cairo-quartz-surface.c
8742 src/cairo-quartz-image-surface.c | 86 --------------------------------------
8743 src/cairo-quartz-surface.c | 86 +++++++++++++++++++++++++++++++++++++-
8744 2 files changed, 85 insertions(+), 87 deletions(-)
8746 commit e3fb4921a37ede88d3ecc6578ea96fcbb7776c0f
8747 Author: Behdad Esfahbod <behdad@behdad.org>
8748 Date: Wed Sep 3 17:53:15 2008 -0400
8750 [configure.in] No, OS X sed is broken in much more than one way, really
8752 configure.in | 16 ++++++++--------
8753 1 files changed, 8 insertions(+), 8 deletions(-)
8755 commit 62136640423b519aef8c40e5f5cadcfc676d7249
8756 Author: Behdad Esfahbod <behdad@behdad.org>
8757 Date: Wed Sep 3 17:21:05 2008 -0400
8759 [configure.in] Travis says this time it will work...
8761 configure.in | 16 ++++++++--------
8762 1 files changed, 8 insertions(+), 8 deletions(-)
8764 commit 190a328204ea87ffe4bc527a32a7cd503d0450bd
8765 Author: Behdad Esfahbod <behdad@behdad.org>
8766 Date: Wed Sep 3 17:15:07 2008 -0400
8768 [configure.in] I'm reminded that it's more portable to do -i first...
8770 configure.in | 4 ++--
8771 1 files changed, 2 insertions(+), 2 deletions(-)
8773 commit 55690639c7cdb3dd9c426d0a8e14d66f004a200d
8774 Author: Behdad Esfahbod <behdad@behdad.org>
8775 Date: Wed Sep 3 17:05:53 2008 -0400
8777 [configure.in] Don't use sed -e. Fixes build on Macs
8779 configure.in | 16 ++++++++--------
8780 1 files changed, 8 insertions(+), 8 deletions(-)
8782 commit df7e365662649b9c434f0b558eb881183faed282
8783 Author: Behdad Esfahbod <behdad@behdad.org>
8784 Date: Wed Sep 3 16:48:43 2008 -0400
8786 [configure.in] Oops, this m4 quoting is tricky. Another try.
8788 configure.in | 4 ++--
8789 1 files changed, 2 insertions(+), 2 deletions(-)
8791 commit f2f1653fcf7bbd56befe8d297dca5149b5536275
8792 Author: Behdad Esfahbod <behdad@behdad.org>
8793 Date: Wed Sep 3 16:40:35 2008 -0400
8795 [configure.in] m4 voodoo
8798 1 files changed, 1 insertions(+), 1 deletions(-)
8800 commit 3760a0192600f5c179d09273e89e018fdca894ec
8801 Author: Behdad Esfahbod <behdad@behdad.org>
8802 Date: Wed Sep 3 16:40:24 2008 -0400
8804 [configure.in] Use $SED instead of sed
8806 configure.in | 3 ++-
8807 1 files changed, 2 insertions(+), 1 deletions(-)
8809 commit 5ea2555c12e8a511759f8dbb4fe8b6f1d8b4af8d
8810 Author: Behdad Esfahbod <behdad@behdad.org>
8811 Date: Wed Sep 3 12:16:36 2008 -0400
8813 [Makefile.am] Move lcov rules to Analysis.mk
8815 Analysis.mk | 35 ++++++++++++++++++++++++++++
8816 Makefile.am | 72 ++++++++++++++---------------------------------------------
8817 2 files changed, 52 insertions(+), 55 deletions(-)
8819 commit c8f23c2fcc034f6a0cb62ed72659ce748ec3871d
8820 Author: Behdad Esfahbod <behdad@behdad.org>
8821 Date: Wed Sep 3 12:06:51 2008 -0400
8823 [Makefile.am] Move releasing rules to Releasing.mk
8825 Makefile.am | 150 ++-------------------------------------------------------
8826 Releasing.mk | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8827 2 files changed, 157 insertions(+), 146 deletions(-)
8829 commit 99e2e2d0bbe8ec3b57576da7d72184fb1df230fa
8830 Author: Behdad Esfahbod <behdad@behdad.org>
8831 Date: Wed Sep 3 12:06:35 2008 -0400
8833 [src/Makefile.am] Minor fix in MAINTAINERCLEANFILES
8835 src/Makefile.am | 2 +-
8836 1 files changed, 1 insertions(+), 1 deletions(-)
8838 commit 2791d51f6e0c9ac7bfeb82ba158dd5465983121a
8839 Author: Behdad Esfahbod <behdad@behdad.org>
8840 Date: Wed Sep 3 11:41:07 2008 -0400
8842 [src/README] Refer to BIBLIOGRAPHY
8844 src/README | 11 +++++++++++
8845 1 files changed, 11 insertions(+), 0 deletions(-)
8847 commit 8992312df016f5112a3e9907bd34fb153330f162
8848 Author: Chris Wilson <chris@chris-wilson.co.uk>
8849 Date: Wed Sep 3 16:12:53 2008 +0100
8851 [scaled-fonts] Cleanup a couple of valgrind warnings.
8853 Beware the propagation of uninitialised variables and forgotten error
8856 src/cairo-scaled-font-subsets.c | 38 ++++++++++++++++++++------------------
8857 src/cairo-truetype-subset.c | 5 ++---
8858 2 files changed, 22 insertions(+), 21 deletions(-)
8860 commit 855310bc1f226292646931add0a5e6e6604730ba
8861 Author: Behdad Esfahbod <behdad@behdad.org>
8862 Date: Wed Sep 3 11:31:48 2008 -0400
8864 [HACKING] Write some more paragraphs
8866 HACKING | 23 ++++++++++++++++++++++-
8867 1 files changed, 22 insertions(+), 1 deletions(-)
8869 commit 3b7726e3d460d961f3acc055f70778c0b3e1dce4
8870 Author: Chris Wilson <chris@chris-wilson.co.uk>
8871 Date: Wed Sep 3 14:06:43 2008 +0100
8873 [src/Makefile.am] s/libcairo_la_CFLAGS/INCLUDES/
8875 Update the custom rules after the overall to the build system.
8877 src/Makefile.am | 12 ++++++------
8878 1 files changed, 6 insertions(+), 6 deletions(-)
8880 commit c18cc5b44176ba0916a3fb9deb1548db149f01d4
8881 Author: Chris Wilson <chris@chris-wilson.co.uk>
8882 Date: Wed Sep 3 10:00:14 2008 +0100
8884 [src/Makefile.am] make check compile fix
8886 Minor typo preventing TESTS from building.
8888 src/Makefile.am | 2 +-
8889 1 files changed, 1 insertions(+), 1 deletions(-)
8891 commit cf212ddacaf012f506c680ebd10477018b7e936a
8892 Author: Behdad Esfahbod <behdad@behdad.org>
8893 Date: Tue Sep 2 22:05:06 2008 -0400
8895 Also test linking when cross-compiling
8897 We build the test. Just don't run it.
8899 boilerplate/Makefile.am | 1 +
8900 src/Makefile.am | 1 +
8901 2 files changed, 2 insertions(+), 0 deletions(-)
8903 commit 78127c7fb43db9e020551b04d8f85e0bdcc4c894
8904 Author: Behdad Esfahbod <behdad@behdad.org>
8905 Date: Tue Sep 2 22:03:05 2008 -0400
8907 [boilerplate/check-link.c] Oops. Add it.
8909 boilerplate/check-link.c | 24 ++++++++++++++++++++++++
8910 1 files changed, 24 insertions(+), 0 deletions(-)
8912 commit bd9743b318c0f3a76f72d2e05eb71eb918acdfae
8913 Author: Behdad Esfahbod <behdad@behdad.org>
8914 Date: Tue Sep 2 22:01:37 2008 -0400
8916 [HACKING] Improve win32 note.
8919 1 files changed, 1 insertions(+), 1 deletions(-)
8921 commit 0234fb9197edbba14a4cb8cc7dda1778f49e3fed
8922 Author: Behdad Esfahbod <behdad@behdad.org>
8923 Date: Tue Sep 2 22:00:05 2008 -0400
8925 [boilerplate/check-link.c] Check that we can link to the built boilerplate
8927 boilerplate/.gitignore | 1 +
8928 boilerplate/Makefile.am | 16 ++++++++++++----
8929 2 files changed, 13 insertions(+), 4 deletions(-)
8931 commit 7e45937e21101648fd8dc01e1684a0515c10715b
8932 Author: Behdad Esfahbod <behdad@behdad.org>
8933 Date: Tue Sep 2 21:56:37 2008 -0400
8935 [boilerplate] Add cairo_boilerplate_version[_string]() functions
8937 boilerplate/cairo-boilerplate.c | 18 ++++++++++++++++++
8938 boilerplate/cairo-boilerplate.h | 6 ++++++
8939 2 files changed, 24 insertions(+), 0 deletions(-)
8941 commit a7951081f153934cbf93215c5e255b99ec3e1157
8942 Author: Behdad Esfahbod <behdad@behdad.org>
8943 Date: Tue Sep 2 21:50:08 2008 -0400
8945 Move _GNU_SOURCE declarations to where it's used
8947 Such that we don't rely on more GNU extensions accidentally.
8949 perf/Makefile.am | 5 -----
8950 perf/cairo-perf-posix.c | 2 ++
8951 perf/cairo-perf.c | 2 ++
8952 test/Makefile.am | 6 ------
8953 test/cairo-test.c | 2 ++
8954 test/invalid-matrix.c | 5 ++++-
8955 6 files changed, 10 insertions(+), 12 deletions(-)
8957 commit b4cee2bd88f36b2eddacfe91726b698ae61c819b
8958 Author: Behdad Esfahbod <behdad@behdad.org>
8959 Date: Tue Sep 2 21:35:53 2008 -0400
8961 [boilerplate] Remove obsolete reference to pixman
8963 boilerplate/Makefile.am | 1 -
8964 1 files changed, 0 insertions(+), 1 deletions(-)
8966 commit e3d190c92f16c3b6cd3bf3791959c247b7aaa7ac
8967 Author: Behdad Esfahbod <behdad@behdad.org>
8968 Date: Tue Sep 2 21:35:18 2008 -0400
8970 [boilerplate] Cleanup
8972 boilerplate/Makefile.am | 5 -----
8973 boilerplate/xmalloc.c | 2 ++
8974 2 files changed, 2 insertions(+), 5 deletions(-)
8976 commit af0069c1c4599a93b1f55a0a4aa0b67d8d754c0d
8977 Author: Behdad Esfahbod <behdad@behdad.org>
8978 Date: Tue Sep 2 21:31:47 2008 -0400
8980 [autogen.sh] Create dummy src/Config.mk so we can bootstrap
8983 1 files changed, 3 insertions(+), 0 deletions(-)
8985 commit 2823ebaa6e0a14c4270ec973467fc0f76dc34fd5
8986 Author: Behdad Esfahbod <behdad@behdad.org>
8987 Date: Tue Sep 2 20:59:38 2008 -0400
8989 [src/check-link.c] Simple test to check we can link to the built cairo.so
8992 src/.gitignore | 1 +
8993 src/Makefile.am | 30 ++++++++++++++++++++++++++----
8994 src/check-cairoint.sh | 2 +-
8995 src/check-link.c | 24 ++++++++++++++++++++++++
8996 5 files changed, 53 insertions(+), 5 deletions(-)
8998 commit 59262577708ddb656851624377efb2a671fa8ca3
8999 Author: Behdad Esfahbod <behdad@behdad.org>
9000 Date: Tue Sep 2 20:20:49 2008 -0400
9002 Revamp the build system.
9004 Quick summary of changes:
9006 - Move list of cairo source files out of src/Makefile.am and into
9009 - Generate files src/Config.mk and src/Config.mk.win32 that choose
9010 the right set of source files and headers based on configured
9011 backends and features. This drastically simplifies building
9012 using other build systems. The src/Makefile.win32 file needs
9013 to be updated to reflect these changes.
9015 - Add README files to various directories,
9017 - Add toplevel HACKING file.
9021 HACKING | 165 +++++++++++++
9024 boilerplate/.gitignore | 1 +
9025 configure.in | 136 ++++++++----
9026 doc/public/Headers.mk | 52 -----
9027 doc/public/Makefile.am | 30 +--
9028 doc/public/README | 37 +++
9029 perf/.gitignore | 2 +
9030 src/.gitignore | 5 +-
9031 src/Makefile.am | 383 ++++---------------------------
9032 src/Makefile.win32 | 3 +-
9033 src/README | 58 +++++
9034 src/Sources.mk | 246 ++++++++++++++++++++
9035 src/cairo-cff-subset.c | 5 +
9036 src/cairo-clip-private.h | 3 +
9037 src/cairo-compiler-private.h | 6 +-
9038 src/cairo-freelist-private.h | 1 +
9039 src/cairo-misc.c | 68 ++++++
9040 src/cairo-mutex-impl-private.h | 6 -
9041 src/cairo-mutex-private.h | 4 +
9042 src/cairo-mutex-type-private.h | 6 -
9043 src/cairo-output-stream-private.h | 4 +
9044 src/cairo-path-fixed-private.h | 2 +
9045 src/cairo-pdf-operators-private.h | 1 -
9046 src/cairo-pdf-operators.c | 5 +
9047 src/cairo-ps-surface-private.h | 2 +
9048 src/cairo-reference-count-private.h | 4 +
9049 src/cairo-region-private.h | 1 +
9050 src/cairo-scaled-font-subsets-private.h | 10 +
9051 src/cairo-scaled-font-subsets.c | 5 +
9052 src/cairo-truetype-subset-private.h | 4 +
9053 src/cairo-truetype-subset.c | 4 +
9054 src/cairo-type1-fallback.c | 5 +
9055 src/cairo-type1-private.h | 6 +
9056 src/cairo-type1-subset.c | 10 +
9057 src/cairo-type3-glyph-surface-private.h | 6 +
9058 src/cairo-type3-glyph-surface.c | 5 +
9059 src/cairo-types-private.h | 29 ++--
9060 src/cairo-user-font-private.h | 1 +
9061 src/cairo-win32.c | 98 --------
9062 src/cairo-xlib-xrender-private.h | 7 +-
9063 src/cairoint.h | 14 +-
9064 src/check-doc-syntax.sh | 2 +-
9065 test/.gitignore | 1 +
9066 test/Makefile.am | 3 +
9067 test/pdiff/.gitignore | 2 +
9068 util/README | 69 ++++++
9069 50 files changed, 932 insertions(+), 600 deletions(-)
9071 commit 5cb3e66305b25a3380f2ca5829ac81e4a27e76d0
9072 Author: Behdad Esfahbod <behdad@behdad.org>
9073 Date: Tue Sep 2 15:32:54 2008 -0400
9075 [configure.in] Create temp file in current dir
9077 Such that we can use the CAIRO_CONFIG_COMMANDS macro to regenerate
9078 files in $srcdir and still be readonly-source-tree happy if nothing
9079 changed in the target file.
9081 configure.in | 5 +++--
9082 1 files changed, 3 insertions(+), 2 deletions(-)
9084 commit e977f32346a602b9644a2c59e612896f34af2c74
9085 Author: Behdad Esfahbod <behdad@behdad.org>
9086 Date: Tue Sep 2 00:14:46 2008 -0400
9088 [configure.in] Create backend .pc files using CAIRO_CONFIG_COMMANDS
9090 configure.in | 26 +++++++++++++++++---------
9091 1 files changed, 17 insertions(+), 9 deletions(-)
9093 commit 1bdd6110f6d5df6556f201e06e519e68640e6215
9094 Author: Behdad Esfahbod <behdad@behdad.org>
9095 Date: Mon Sep 1 23:35:03 2008 -0400
9097 [configure.in] Consistently use _save_cflags/libs
9099 configure.in | 20 ++++++++++----------
9100 1 files changed, 10 insertions(+), 10 deletions(-)
9102 commit 004012f1bc2b5c359e3c00bb3c2e893c73fd5471
9103 Author: Behdad Esfahbod <behdad@behdad.org>
9104 Date: Mon Sep 1 23:28:39 2008 -0400
9106 [configure.in] Cache WARN_UNUSED_RESULT test results
9108 configure.in | 23 +++++++++++++----------
9109 1 files changed, 13 insertions(+), 10 deletions(-)
9111 commit ac246426148ddf9b33aa2b03cbafec867509e814
9112 Author: Behdad Esfahbod <behdad@behdad.org>
9113 Date: Mon Sep 1 22:58:57 2008 -0400
9115 [configure.in] Use warning-flag facilities for -fno-strict-aliasing
9117 configure.in | 6 +++---
9118 1 files changed, 3 insertions(+), 3 deletions(-)
9120 commit d28243785a234648c4c4c60faa44658041400f81
9121 Author: Behdad Esfahbod <behdad@behdad.org>
9122 Date: Mon Sep 1 22:52:44 2008 -0400
9124 [configure.in] Remove unused MMX checks
9126 Leftover from pixman days
9128 configure.in | 23 -----------------------
9129 1 files changed, 0 insertions(+), 23 deletions(-)
9131 commit 74cd03be7085bf33dc122387df3e2fb25ee35c53
9132 Author: Behdad Esfahbod <behdad@behdad.org>
9133 Date: Mon Sep 1 22:49:16 2008 -0400
9135 [configure.in] Cache atomic-ops check results
9137 configure.in | 27 ++++++++++++++-------------
9138 1 files changed, 14 insertions(+), 13 deletions(-)
9140 commit 7af228ab836d1871160c3b89079bcd660bac2074
9141 Author: Behdad Esfahbod <behdad@behdad.org>
9142 Date: Mon Sep 1 22:37:28 2008 -0400
9144 [configure.in] Make unsupported-backend warning generation automatic
9146 configure.in | 40 ++++++++++------------------------------
9147 1 files changed, 10 insertions(+), 30 deletions(-)
9149 commit 7510aa803355faae3c8abe9fb79238185cb2ce95
9150 Author: Behdad Esfahbod <behdad@behdad.org>
9151 Date: Mon Sep 1 22:15:03 2008 -0400
9153 [configure.in] Define CAIRO_CONFIG_COMMANDS for easier file creation
9155 configure.in | 94 ++++++++++++++++++++++++++++-----------------------------
9156 1 files changed, 46 insertions(+), 48 deletions(-)
9158 commit 5f1993c53a11d87ee0506287f206bd0e400b76e9
9159 Author: Behdad Esfahbod <behdad@behdad.org>
9160 Date: Mon Sep 1 21:51:05 2008 -0400
9162 [configure] Add user-fonts to list of configured components
9164 configure.in | 3 ++-
9165 1 files changed, 2 insertions(+), 1 deletions(-)
9167 commit 33859070975ebc164f4f02093a2fe3335ccdb855
9168 Author: Behdad Esfahbod <behdad@behdad.org>
9169 Date: Mon Sep 1 21:50:31 2008 -0400
9171 [configure.in] Don't include cairo-features.h in cairo-no-features.h
9173 No idea why I did before.
9176 1 files changed, 0 insertions(+), 2 deletions(-)
9178 commit 5f571290db05858133634f3d075030e1b3a3d121
9179 Author: Behdad Esfahbod <behdad@behdad.org>
9180 Date: Mon Sep 1 21:49:59 2008 -0400
9182 [configure.in] Add CAIRO_BEGIN/END_DECLS to config.h
9184 configure.in | 10 ++++++++++
9185 1 files changed, 10 insertions(+), 0 deletions(-)
9187 commit 2553579cc89d2ea2084983efd41b60ae5e32816b
9188 Author: Behdad Esfahbod <behdad@behdad.org>
9189 Date: Mon Sep 1 21:48:07 2008 -0400
9191 [doc] Clean up doc file names
9193 doc/public/cairo-docs.xml | 12 ++++----
9194 doc/public/cairo-sections.txt | 52 ++++++++++++++++++++--------------------
9195 2 files changed, 32 insertions(+), 32 deletions(-)
9197 commit a5a896aae831e5224dd5bd4bc711f3212f738ba1
9198 Author: Behdad Esfahbod <behdad@behdad.org>
9199 Date: Thu Aug 28 19:36:12 2008 -0400
9203 doc/public/Makefile.am | 7 +++----
9204 doc/public/tmpl/cairo-version.sgml | 3 +--
9205 2 files changed, 4 insertions(+), 6 deletions(-)
9207 commit 7b2e8035f253e4667ebdb285d7b49aaece88f3b3
9208 Author: Chris Wilson <chris@chris-wilson.co.uk>
9209 Date: Tue Sep 2 10:54:13 2008 +0100
9211 [cairo-test] Fixup a few memleaks on failure.
9213 Free the test image before jumping to UNWIND_CAIRO.
9215 test/cairo-test.c | 5 +++++
9216 1 files changed, 5 insertions(+), 0 deletions(-)
9218 commit a5d33bcbb43cd1738e45b803c1aa968aff55e7ab
9219 Author: Chris Wilson <chris@chris-wilson.co.uk>
9220 Date: Tue Sep 2 10:28:17 2008 +0100
9222 [xlib] Keep a pointer to the cairo_xlib_display_t on the surface.
9224 Cleanup the code somewhat by passing cairo_xlib_display_t around
9225 internally as opposed to a Display and then having to lookup the
9226 corresponding cairo_xlib_display_t each time.
9228 [To get a cairo_xlib_display_t from a Display is a list traversal under
9229 mutex (though the element we're looking for is most likely at the start),
9230 but to get the Display is just a lockless pointer dereference.]
9232 src/cairo-xlib-display.c | 29 ++++----------------
9233 src/cairo-xlib-private.h | 10 +++---
9234 src/cairo-xlib-screen.c | 14 +++-------
9235 src/cairo-xlib-surface-private.h | 1 +
9236 src/cairo-xlib-surface.c | 55 ++++++++++++++++++++++----------------
9237 5 files changed, 48 insertions(+), 61 deletions(-)
9239 commit 939b836bfa95df759aca96936bb9a6d89d3130b8
9240 Author: Chris Wilson <chris@chris-wilson.co.uk>
9241 Date: Tue Sep 2 10:08:04 2008 +0100
9243 [xlib] Use an embedded doubly-linked list for the close display hooks.
9245 Kill the allocation and linear search of the close display list on remove,
9246 by embedding a list node into the parent structure.
9248 Original patch by Karl Tomlinson <karlt+@karlt.net>, Mozilla Corporation.
9249 https://bugzilla.mozilla.org/show_bug.cgi?id=453199#c5
9251 src/cairo-xlib-display.c | 90 +++++++++++++++++--------------------
9252 src/cairo-xlib-private.h | 13 +++--
9253 src/cairo-xlib-surface-private.h | 1 +
9254 src/cairo-xlib-surface.c | 35 ++++++++++++---
9255 src/cairoint.h | 10 ++++
9256 5 files changed, 88 insertions(+), 61 deletions(-)
9258 commit 38f779afcb84d48a1a146eec11a6db5c484d3578
9259 Author: Chris Wilson <chris@chris-wilson.co.uk>
9260 Date: Tue Sep 2 09:12:44 2008 +0100
9262 [user-font] Propagate status return.
9264 An error return possible went unpropagated - fix that. Also whilst in the
9265 vicinity avoid the non-constant initialisation of the local variable
9266 before the antiquated compilers moan.
9268 src/cairo-user-font.c | 10 ++++++++--
9269 1 files changed, 8 insertions(+), 2 deletions(-)
9271 commit 83f390cfc5f594444413dfed3346e8412cb4c973
9272 Author: Chris Wilson <chris@chris-wilson.co.uk>
9273 Date: Mon Sep 1 18:23:00 2008 +0100
9275 [ps] Initialise has_creation_date.
9277 Slipped by check-valgrind, since the boilerplate always initialised it
9278 when explicitly setting the date.
9280 src/cairo-ps-surface.c | 1 +
9281 1 files changed, 1 insertions(+), 0 deletions(-)
9283 commit e955b7399ef5741c8f2fda1c4aa73e02c2ce39d0
9284 Author: Chris Wilson <chris@chris-wilson.co.uk>
9285 Date: Mon Sep 1 15:33:05 2008 +0100
9287 Check that lvalue of BITSWAP8() is a uint8_t.
9289 The bit-swapping macro uses the full register for intermediate storage so
9290 we need to be careful to only read the low byte when using the result.
9292 [Only the use in ps-surface.c was incorrect, I just converted the other
9293 unsigned chars to uint8_t for consistency.]
9295 src/cairo-ft-font.c | 2 +-
9296 src/cairo-pdf-surface.c | 2 +-
9297 src/cairo-ps-surface.c | 23 +++++++++++------------
9298 src/cairo-scaled-font.c | 2 +-
9299 src/cairo-svg-surface.c | 4 ++--
9300 5 files changed, 16 insertions(+), 17 deletions(-)
9302 commit d756a4d6323d23cecb928822cdac7528859e7cf3
9303 Author: Vladimir Vukicevic <vladimir@pobox.com>
9304 Date: Thu Aug 28 23:58:29 2008 -0700
9306 [xlib] check for too-large surface size in create similar to avoid UNSUPPORTED loop
9308 src/cairo-xlib-surface.c | 3 +++
9309 1 files changed, 3 insertions(+), 0 deletions(-)
9311 commit 894940b81f0272a2993d3a785fd505b3a4375e6e
9312 Author: Behdad Esfahbod <behdad@behdad.org>
9313 Date: Thu Aug 28 18:18:23 2008 -0400
9315 Some nasty tracks to make changing version number not cause a total rebuild
9317 Quite slick! This comes handy when git-bisect'ing. The canonical version
9318 number is in toplevel cairo-version.h now.
9322 cairo-version.h | 8 +++++
9324 src/Makefile.am | 2 +
9325 src/cairo-misc.c | 44 -------------------------
9326 src/cairo-version.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++
9327 src/cairo-version.h | 12 +++++--
9328 8 files changed, 113 insertions(+), 52 deletions(-)
9330 commit ab5c528de2fc744d77c44ea1a9a3467f1ec5f81d
9331 Author: Behdad Esfahbod <behdad@behdad.org>
9332 Date: Thu Aug 28 17:36:43 2008 -0400
9334 Undefine PACKAGE* macros defined by autotools
9336 We use our own macros. This makes it easier for other build systems.
9338 src/cairoint.h | 7 +++++++
9339 1 files changed, 7 insertions(+), 0 deletions(-)
9341 commit 47b3c9aa3f7860326e624a053675112a7ad24419
9342 Author: Behdad Esfahbod <behdad@behdad.org>
9343 Date: Thu Aug 28 17:29:32 2008 -0400
9345 Move version functions to cairo-misc.c
9347 src/cairo-misc.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
9348 src/cairo.c | 43 -------------------------------------------
9349 2 files changed, 44 insertions(+), 43 deletions(-)
9351 commit 89900525fb78b20c532b8d983c238896f6e4820c
9352 Author: Behdad Esfahbod <behdad@behdad.org>
9353 Date: Thu Aug 28 17:21:37 2008 -0400
9355 Move version number to src/cairo-version.h
9358 Makefile.win32 | 15 +------------
9359 RELEASING | 10 ++------
9360 Version.mk | 10 ---------
9361 configure.in | 29 ++++-----------------------
9362 doc/public/cairo-sections.txt | 3 ++
9363 doc/public/tmpl/cairo-surface.sgml | 4 +-
9364 doc/public/tmpl/cairo-version.sgml | 16 +++++++++++++++
9365 src/Makefile.am | 1 +
9366 src/cairo-features-win32.h | 26 -------------------------
9367 src/cairo-image-surface.c | 3 +-
9368 src/cairo-version.h | 8 +++++++
9369 src/cairo.h | 37 ++++++++++++++++++++++++++++++-----
9370 13 files changed, 74 insertions(+), 90 deletions(-)
9372 commit 82303d6170aa541a3dc8c2519c7cc1445fc18842
9373 Author: Behdad Esfahbod <behdad@behdad.org>
9374 Date: Thu Aug 28 14:40:56 2008 -0400
9376 [autogen.sh] Handle case of no aclocal found
9378 autogen.sh | 6 +++---
9379 1 files changed, 3 insertions(+), 3 deletions(-)
9381 commit 1c6556f6566b7bdfd2c8f46e8a6b6a35c9ae6891
9382 Author: Antoine Azar <cairo@antoineazar.com>
9383 Date: Thu Aug 28 11:06:40 2008 -0700
9385 Fixed cairo version in win32 makefile
9387 Makefile.win32 | 9 ++++++---
9388 1 files changed, 6 insertions(+), 3 deletions(-)
9390 commit 22552dae517c25e4eadd44e76d06469a4c95db93
9391 Author: Behdad Esfahbod <behdad@behdad.org>
9392 Date: Wed Aug 27 20:08:49 2008 -0400
9394 Rename _cairo_matrix_compute_scale_factors to _cairo_matrix_compute_basis_scale_factors
9396 src/cairo-ft-font.c | 2 +-
9397 src/cairo-matrix.c | 33 +++++++++++++++++++++++----------
9398 src/cairo-quartz-font.c | 6 +++---
9399 src/cairo-scaled-font.c | 2 +-
9400 src/cairo-user-font.c | 2 +-
9401 src/cairo-win32-font.c | 2 +-
9402 src/cairoint.h | 2 +-
9403 7 files changed, 31 insertions(+), 18 deletions(-)
9405 commit f7a91e5bd7f3b799287f136adfd8a7b04dacce64
9406 Author: Behdad Esfahbod <behdad@behdad.org>
9407 Date: Wed Aug 27 19:06:13 2008 -0400
9409 [configure.in] Autogenerate libtool version info
9411 For unstable version 1.7.5 we create libcairo.so.2.10705.0
9412 For stable version 1.8.5 we create libcairo.so.2.10800.5
9414 No more manual work.
9416 configure.in | 32 ++++++++++++++++++++------------
9417 1 files changed, 20 insertions(+), 12 deletions(-)
9419 commit df64e0e632bf180f83a64fb51e8e7da5eed503bf
9420 Author: Behdad Esfahbod <behdad@behdad.org>
9421 Date: Wed Aug 27 18:41:22 2008 -0400
9423 Cleanup libtool version handling
9425 In preparation to remove the manual numbering completely
9427 Makefile.am | 12 ++----------
9428 configure.in | 48 ++++++++++++++++++++++++------------------------
9429 src/Makefile.am | 4 ++--
9430 3 files changed, 28 insertions(+), 36 deletions(-)
9432 commit 50b2076a54c76e051305981280c7fe443f517d61
9433 Author: Behdad Esfahbod <behdad@behdad.org>
9434 Date: Wed Aug 27 17:59:13 2008 -0400
9436 [autogen.sh] Prefer glibtoolize to libtoolize if available
9438 Makes OS X users happy.
9442 2 files changed, 1 insertions(+), 7 deletions(-)
9444 commit 98942f99f3e10a1898a11d29e5f40f894d74c0a7
9445 Author: Behdad Esfahbod <behdad@behdad.org>
9446 Date: Wed Aug 27 17:53:02 2008 -0400
9448 [configure.in] Move library version information to Version.mk
9451 Version.mk | 10 ++++++++++
9452 configure.in | 13 +++++--------
9453 3 files changed, 16 insertions(+), 8 deletions(-)
9455 commit 2cf82eaf0d08e68b787bb0792da97e73d8d4ce38
9456 Author: Vladimir Vukicevic <vladimir@pobox.com>
9457 Date: Wed Aug 27 21:14:51 2008 -0700
9459 [xlib] Check CreatePixmap dimensions before calling, to avoid unnecessary size errors
9461 src/cairo-xlib-surface.c | 47 ++++++++++++++++++++++++++++++++-------------
9462 1 files changed, 33 insertions(+), 14 deletions(-)
9464 commit 719c17c293a6971ab1f79e4df95887350429f827
9465 Author: Behdad Esfahbod <behdad@behdad.org>
9466 Date: Wed Aug 27 17:08:52 2008 -0400
9468 [src/Makefile.am] Remove gcc dependency
9470 src/Makefile.am | 2 +-
9471 1 files changed, 1 insertions(+), 1 deletions(-)
9473 commit a8c0998baf17357ce962dec795c9d6134e76e94a
9474 Author: Chris Wilson <chris@chris-wilson.co.uk>
9475 Date: Wed Aug 27 14:58:53 2008 +0100
9477 [ps] Check tmpfile status after reading.
9479 Be paranoid and check to see if we encountered an error whilst reading the
9482 src/cairo-ps-surface.c | 3 +++
9483 1 files changed, 3 insertions(+), 0 deletions(-)
9485 commit bd21b2f6307549d9ade94bbe3f32f92efae97f72
9486 Author: Chris Wilson <chris@chris-wilson.co.uk>
9487 Date: Tue Aug 26 21:06:26 2008 +0100
9489 [test] Ensure that the output is always saved.
9491 Do the saving of the output first before checking for various failures
9492 with respect to the reference images.
9494 test/cairo-test.c | 54 ++++++++++++++++++++++++++--------------------------
9495 1 files changed, 27 insertions(+), 27 deletions(-)
9497 commit de6742c5f190664556658e35f5ea5ede979671af
9498 Author: Chris Wilson <chris@chris-wilson.co.uk>
9499 Date: Tue Aug 26 18:41:22 2008 +0100
9501 [ps] Mark the hex data as unsigned char.
9503 Use unsigned char to avoid sign extensions issues when bit shifting.
9505 src/cairo-output-stream-private.h | 2 +-
9506 src/cairo-output-stream.c | 2 +-
9507 src/cairo-ps-surface.c | 2 +-
9508 src/cairo-scaled-font-subsets-private.h | 2 +-
9509 4 files changed, 4 insertions(+), 4 deletions(-)
9511 commit 92fcb9d2f7fa143d1f6707ead7d4a85e9f739bcb
9512 Author: Chris Wilson <chris@chris-wilson.co.uk>
9513 Date: Tue Aug 26 14:36:46 2008 +0100
9515 [configure.in] Autoconf strikes back
9517 Need to disable references to *.cpp to convince autoconf
9518 not to use the g++ linker (and fail miserably).
9520 boilerplate/Makefile.am | 2 +-
9521 1 files changed, 1 insertions(+), 1 deletions(-)
9523 commit 08ea9d1f2a2210a1f333f3425eb141c2f5f1399c
9524 Author: Chris Wilson <chris@chris-wilson.co.uk>
9525 Date: Fri Aug 22 23:09:13 2008 +0100
9527 [pdiff] Get the surface data pointer once.
9529 Don't call cairo_image_surface_get_data() for every single component of
9530 the two surfaces to compare.
9532 test/pdiff/pdiff.c | 38 ++++++++++++++++----------------------
9533 1 files changed, 16 insertions(+), 22 deletions(-)
9535 commit 590ccb900605f9bdf30f02f76b7dd622acb9a27d
9536 Author: Chris Wilson <chris@chris-wilson.co.uk>
9537 Date: Fri Aug 22 14:54:19 2008 +0100
9539 [ps] Convert a few residual CRLF to LF.
9541 Just a few CRLF eol-terminators remained, cluttering the output.
9543 src/cairo-ps-surface.c | 10 +++++-----
9544 1 files changed, 5 insertions(+), 5 deletions(-)
9546 commit 78758b6acc0d7eca6bd2919e5fb039599a6e9a52
9547 Author: Behdad Esfahbod <behdad@behdad.org>
9548 Date: Sat Aug 23 14:18:45 2008 -0400
9550 [Makefile.am] Add autogen.sh to dist. Oops!
9553 1 files changed, 1 insertions(+), 0 deletions(-)
9555 commit 17a6d541f88bb5627da436c5e516049c3317098a
9556 Author: Chris Wilson <chris@chris-wilson.co.uk>
9557 Date: Thu Aug 21 08:20:31 2008 +0100
9559 [test] Explicity save a fail image.
9561 Be explicit about handling cached FAIL images, instead of relying on the
9562 sequences of failed matches as the files are an external resource and we
9563 can not guarantee their individual accessibility.
9565 Note this also changes the filename, so you may want to run:
9566 $ find -name '*-last.*' -print | xargs rm
9567 after this checkout.
9569 test/.gitignore | 2 +-
9570 test/Makefile.am | 4 ++--
9571 test/cairo-test.c | 22 +++++++++++-----------
9572 3 files changed, 14 insertions(+), 14 deletions(-)
9574 commit b9287e6669fde571a9f0cb57462cb3815fbd8d27
9575 Author: Chris Wilson <chris@chris-wilson.co.uk>
9576 Date: Wed Aug 20 19:44:30 2008 +0100
9578 [test] Cache last output and compare next time.
9580 Compare the current output against a previous run to determine if there
9581 has been any change since last time, and only run through imagediff if
9582 there has been. For the vector surfaces, we can check the vector output
9583 first and potentially skip the rasterisation. On my machine this reduces
9584 the time for a second run from 6 minutes to 2m30s. As most of the time,
9585 most test output will remain unchanged, so this seems to be a big win. On
9586 unix systems, hard linking is used to reduce the amount of storage space
9587 required - others will see about a three-fold increase in the amount of
9588 disk used. The directory continues to be a stress test for file selectors.
9590 In order to reduce the changes between runs, the current time is no longer
9591 written to the PNG files (justified by that it only exists as a debugging
9592 aid) and the boilerplate tweaks the PS surface so that the creation date
9593 is fixed. To fully realise the benefits here, we need to strip the
9594 creation time from all the reference images...
9596 The biggest problem with using the caches is that different runs of the
9597 test suite can go through different code paths, introducing potential
9598 Heisenbergs. If you suspect that caching is interfering with the test
9599 results, use 'make -C test clean-caches check'.
9601 boilerplate/cairo-boilerplate-pdf-private.h | 7 +-
9602 boilerplate/cairo-boilerplate-pdf.c | 18 +--
9603 boilerplate/cairo-boilerplate-ps-private.h | 3 +
9604 boilerplate/cairo-boilerplate-ps.c | 35 ++++-
9605 boilerplate/cairo-boilerplate-svg-private.h | 7 +-
9606 boilerplate/cairo-boilerplate-svg.c | 17 +--
9607 boilerplate/cairo-boilerplate-win32-printing.c | 2 +
9608 boilerplate/cairo-boilerplate.c | 105 +++++++++-----
9609 boilerplate/cairo-boilerplate.h | 5 +
9610 boilerplate/xmalloc.c | 14 ++
9611 boilerplate/xmalloc.h | 4 +
9613 src/cairo-png.c | 9 +-
9614 src/cairo-ps-surface-private.h | 2 +
9615 src/cairo-ps-surface.c | 5 +-
9616 test/.gitignore | 7 +-
9617 test/Makefile.am | 10 +-
9619 test/cairo-test.c | 186 +++++++++++++++++++++---
9620 19 files changed, 341 insertions(+), 103 deletions(-)
9622 commit 98bb04cf93549455583d95b693c01b243b712c61
9623 Author: Chris Wilson <chris@chris-wilson.co.uk>
9624 Date: Wed Aug 20 19:39:27 2008 +0100
9626 [ps] Check for end-of-stream after advancing character.
9628 Whilst writing the base85 stream we advance an extra character if we spot
9629 a '~', however we need to be paranoid that we have not stepped beyond the
9630 end of the data for this write.
9632 src/cairo-ps-surface.c | 5 ++++-
9633 1 files changed, 4 insertions(+), 1 deletions(-)
9635 commit b47c772934571ffcabc3ec9b3468f4ef1a6d6863
9636 Author: Chris Wilson <chris@chris-wilson.co.uk>
9637 Date: Wed Aug 20 19:37:56 2008 +0100
9639 [test/bufferdiff] Move unused code.
9641 Only imagediff calls png_diff, so it makes sense to move that function out
9642 of the cairo-test and into the utility.
9644 test/buffer-diff.c | 295 ----------------------------------------------------
9645 test/buffer-diff.h | 36 -------
9646 test/imagediff.c | 217 ++++++++++++++++++++++++++++++++++++++-
9647 3 files changed, 216 insertions(+), 332 deletions(-)
9649 commit 186e7a2602cf140ac03b730b95ed10f25f9319c6
9650 Author: Alex Rostovtsev <tetromino@gmail.com>
9651 Date: Tue Aug 19 23:45:40 2008 +0100
9653 [png] Specify a no-op flush callback (NULL deref)
9655 libpng changed behaviour in v1.2.30 to call the png_ptr->output_flush_fn
9656 in png_write_end(). If no flush function is provided with
9657 png_set_write_fn(), libpng will use its default fflush() instead - which
9658 assumes that closure passed is a FILE* and not an arbitrary user pointer.
9660 Consequently, we must actually set a dummy output_flush_fn to avoid
9663 src/cairo-png.c | 9 ++++++++-
9664 1 files changed, 8 insertions(+), 1 deletions(-)
9666 commit 5712a2c619b265a7ede5cd32049bce456131c64b
9667 Author: Chris Wilson <chris@chris-wilson.co.uk>
9668 Date: Tue Aug 19 15:17:45 2008 +0100
9670 [test] Destroy test ouput image on failure.
9672 Add the missing cairo_surface_destroy(). Sigh, less haste more speed.
9674 test/cairo-test.c | 1 +
9675 1 files changed, 1 insertions(+), 0 deletions(-)
9677 commit 0354457bedf278c6504856148c51495754d94ebb
9678 Author: Chris Wilson <chris@chris-wilson.co.uk>
9679 Date: Tue Aug 19 15:10:51 2008 +0100
9681 [test] Always write the test output to a png.
9683 Always write the test output to a png so that it can be copied and used as
9684 a reference image with CAIRO_REF_DIR.
9686 test/cairo-test.c | 16 +++++++++-------
9687 1 files changed, 9 insertions(+), 7 deletions(-)
9689 commit 86d221521bc187bc8ee4f81f840de2a5ce277207
9690 Author: Chris Wilson <chris@chris-wilson.co.uk>
9691 Date: Tue Aug 19 14:55:18 2008 +0100
9693 [test] Pass extended output name to ref_name_for_test().
9695 Having included some extra details in the test output PNG filename, we
9696 need to pass the extra information to
9697 cairo_ref_name_for_test_target_format() in order to find the match.
9699 test/cairo-test.c | 18 ++++++++++--------
9700 1 files changed, 10 insertions(+), 8 deletions(-)
9702 commit b30b1c5e2cdb3de62a20b13b7b699db1de32affb
9703 Author: Chris Wilson <chris@chris-wilson.co.uk>
9704 Date: Tue Aug 19 11:52:38 2008 +0100
9706 [perf] Continue testing after we fail to create a surface.
9708 Sometimes we cannot create a surface because it is larger than the screen.
9709 Ignore these non-fatal errors and move on to the next performance case.
9711 perf/cairo-perf.c | 13 ++++---------
9712 1 files changed, 4 insertions(+), 9 deletions(-)
9714 commit 776844eb9e4b0eb70621242212d732dfefcb6d8e
9715 Author: Chris Wilson <chris@chris-wilson.co.uk>
9716 Date: Mon Aug 18 18:50:00 2008 +0100
9718 [boilerplate] Daemonic conversion utility.
9720 In order to achieve substantial speed improvements the external conversion
9721 utilities are rewritten as a daemon that communicates with the test suite
9722 over a local socket. This is faster as it avoids the libtool and dynamic
9723 linker overhead for each invocation, the caches persist between tests and
9724 we no longer require a round trip through libpng.
9726 The daemon is started automatically by the test suite and if communication
9727 cannot be established then it falls back to using a pipe to a normal
9728 conversion utility. The daemon will then persist for 60 seconds waiting
9729 for further connections.
9731 Of course any memory leak (stares at poppler) is exacerbated.
9733 boilerplate/cairo-boilerplate-pdf.c | 63 +++-
9734 boilerplate/cairo-boilerplate-svg.c | 63 +++-
9735 boilerplate/cairo-boilerplate.c | 141 +++++++++
9736 boilerplate/cairo-boilerplate.h | 7 +
9738 test/.gitignore | 3 +
9739 test/Makefile.am | 7 +
9740 test/any2ppm.c | 594 +++++++++++++++++++++++++++++++++++
9741 8 files changed, 851 insertions(+), 36 deletions(-)
9743 commit 00bc650455219e41fa20d3ec99321f4cbe97cbf1
9744 Author: Behdad Esfahbod <behdad@behdad.org>
9745 Date: Mon Aug 18 14:52:43 2008 -0400
9747 Add new public API cairo_surface_has_show_text_glyphs()
9749 We added cairo_has_show_text_glyphs() before. Since this is really a
9750 surface property, should have the surface method too. Like we added
9751 cairo_surface_show_page()...
9753 doc/public/cairo-sections.txt | 1 +
9754 doc/public/tmpl/cairo-surface.sgml | 9 +++++++
9755 src/cairo-analysis-surface.c | 2 +-
9756 src/cairo-gstate.c | 2 +-
9757 src/cairo-paginated-surface.c | 2 +-
9758 src/cairo-surface.c | 44 +++++++++++++++++++++++++++++++++++-
9761 src/cairoint.h | 4 +--
9762 src/test-meta-surface.c | 2 +-
9763 src/test-paginated-surface.c | 2 +-
9764 11 files changed, 65 insertions(+), 9 deletions(-)
9766 commit 4cd478b95f0ae803d1a0ab75197b1d389e2eba4c
9767 Author: Chris Wilson <chris@chris-wilson.co.uk>
9768 Date: Mon Aug 18 17:51:21 2008 +0100
9770 [test] Initialise test context.
9772 Fixup a couple more tests that do not initialise a test context for
9775 test/font-options.c | 19 ++++----------
9776 test/png.c | 64 +++++++++++++++++++++++++-------------------------
9777 test/user-data.c | 10 ++++++-
9778 3 files changed, 46 insertions(+), 47 deletions(-)
9780 commit cdd021b5fbeb53247e6e1aa7224a8faa60249dc7
9781 Author: Chris Wilson <chris@chris-wilson.co.uk>
9782 Date: Mon Aug 18 17:48:55 2008 +0100
9784 [boilerplate] Check exit code from system for trapped signals.
9786 If the external conversion utility was killed by a signal (e.g. the user
9787 sent SIGINT), raise that signal within our process as well. This means
9788 that a crash inside poppler or rsvg will be flagged as a crash inside the
9789 test suite, and makes interrupting the test suite far more responsive.
9791 boilerplate/cairo-boilerplate-pdf.c | 13 ++++++++++++-
9792 boilerplate/cairo-boilerplate-ps.c | 19 +++++++++++++++----
9793 boilerplate/cairo-boilerplate-svg.c | 13 ++++++++++++-
9794 3 files changed, 39 insertions(+), 6 deletions(-)
9796 commit 95575d7a6977a21960818f81aa267725edcd8d93
9797 Author: Chris Wilson <chris@chris-wilson.co.uk>
9798 Date: Mon Aug 18 17:13:25 2008 +0100
9800 [configure.in] Add release status
9802 Print out whether the current version represents a release, a development
9803 snapshot or is being compiled from git.
9805 configure.in | 9 ++++++++-
9806 1 files changed, 8 insertions(+), 1 deletions(-)
9808 commit da83f405caeb2474e0a46f85148b3944c61a5d49
9809 Author: Behdad Esfahbod <behdad@behdad.org>
9810 Date: Mon Aug 18 12:22:46 2008 -0400
9814 src/cairo-ft-font.c | 2 +-
9815 src/cairo-xlib-screen.c | 2 +-
9816 2 files changed, 2 insertions(+), 2 deletions(-)
9818 commit 5379af109ca65c40ea2b7a74b7660267da7c8d2f
9819 Author: Behdad Esfahbod <behdad@behdad.org>
9820 Date: Mon Aug 18 12:22:34 2008 -0400
9822 [cairo-ft] Add useless cairo_warn decorator
9824 src/cairo-ft-font.c | 2 +-
9825 1 files changed, 1 insertions(+), 1 deletions(-)
9827 commit c56385eacc076a149ffe0fb6690b7b128fdc9e50
9828 Author: Chris Wilson <chris@chris-wilson.co.uk>
9829 Date: Mon Aug 18 16:08:16 2008 +0100
9831 [test/make-html.pl] Don't include links to non-existent images.
9833 Some tests do not generate output images, so do not insert a link if we
9834 don't have an image.
9836 test/make-html.pl | 2 ++
9837 1 files changed, 2 insertions(+), 0 deletions(-)
9839 commit 17fbb652b1c74ba0ccced48c14c63a4d24bb3891
9840 Author: Chris Wilson <chris@chris-wilson.co.uk>
9841 Date: Mon Aug 18 12:53:43 2008 +0100
9843 [test] Avoid redundant writes/reads of test surfaces via png.
9845 As Behdad suggested, we can dramatically speed up the test suite by
9846 short-circuiting the write to a png file, only to then immediately read it
9847 back in. So for the raster based surfaces, we avoid the round-trip through
9848 libpng by implementing a new boilerplate method to directly extract the image
9849 buffer from the test result. A secondary speedup is achieved by caching the
9850 most recent reference image.
9852 boilerplate/cairo-boilerplate-pdf-private.h | 5 +
9853 boilerplate/cairo-boilerplate-pdf.c | 26 ++
9854 boilerplate/cairo-boilerplate-ps-private.h | 5 +
9855 boilerplate/cairo-boilerplate-ps.c | 29 ++-
9856 boilerplate/cairo-boilerplate-svg-private.h | 5 +
9857 boilerplate/cairo-boilerplate-svg.c | 26 ++
9858 .../cairo-boilerplate-test-surfaces-private.h | 5 +
9859 boilerplate/cairo-boilerplate-test-surfaces.c | 58 +++-
9860 boilerplate/cairo-boilerplate-win32-printing.c | 26 ++
9861 boilerplate/cairo-boilerplate-win32-private.h | 5 +
9862 boilerplate/cairo-boilerplate.c | 135 ++++++++
9863 boilerplate/cairo-boilerplate.h | 62 +++--
9864 test/buffer-diff.c | 327 ++++++++++++--------
9865 test/buffer-diff.h | 38 +--
9866 test/cairo-test.c | 160 ++++++++--
9867 test/cairo-test.h | 4 +
9868 test/imagediff.c | 2 +-
9869 test/xlib-expose-event.c | 10 +-
9870 18 files changed, 721 insertions(+), 207 deletions(-)
9872 commit 9b0b55cea724f91eb2835294f929c49224bd0bac
9873 Author: Chris Wilson <chris@chris-wilson.co.uk>
9874 Date: Mon Aug 18 08:07:25 2008 +0100
9876 [test/leaky-dashed-rectangle] Add ref to bug report.
9878 Yevgen Muntyan has filed a bug report with the same symptoms as
9879 leaky-dashed-rectangle, so add a reminder for when it is finally fixed.
9881 test/leaky-dashed-rectangle.c | 2 ++
9882 1 files changed, 2 insertions(+), 0 deletions(-)
9884 commit 212cbd3f1b089c1b1948072db515dbf81cc32580
9885 Author: Chris Wilson <chris@chris-wilson.co.uk>
9886 Date: Sun Aug 17 21:48:06 2008 +0100
9888 [test/user-font] Correct the lifetime of the user font face.
9890 By keeping a static reference to the user font face, it is erroneously kept
9891 alive during a call to cairo_debug_reset_static_data(). (A violation of
9892 the caller's contract to ensure that no active reference to a cairo object
9893 is held by the caller.)
9895 test/user-font.c | 91 +++++++++++++++++++++++++++--------------------------
9896 1 files changed, 46 insertions(+), 45 deletions(-)
9898 commit 19d721d84c550b091927d22e00b34291cedd92aa
9899 Author: Chris Wilson <chris@chris-wilson.co.uk>
9900 Date: Sun Aug 17 21:43:14 2008 +0100
9902 [cairo-compiler-private.h] Clear definition of __attribute__
9904 Avoid a redefinition error when playing silly tricks with 'cpp -U__GNUC__'.
9906 src/cairo-compiler-private.h | 1 +
9907 1 files changed, 1 insertions(+), 0 deletions(-)
9909 commit 12d3d32f2251c78189cf3eaca61bc690ad17e1bb
9910 Author: Chris Wilson <chris@chris-wilson.co.uk>
9911 Date: Sun Aug 17 21:41:36 2008 +0100
9913 [Makefile.am] Support uno.
9915 For the extreme masochist only. At the moment, it only generate syntax
9916 errors, but the command line appears functional.
9918 src/Makefile.am | 6 ++++++
9919 1 files changed, 6 insertions(+), 0 deletions(-)
9921 commit 6808174e72c923ebabe61846617496e25df92363
9922 Author: Chris Wilson <chris@chris-wilson.co.uk>
9923 Date: Sun Aug 17 20:28:34 2008 +0100
9925 [win32-font] Review error handling.
9927 The test-suite for win32 shows less than ideal error detection whilst
9928 running on mingw32. Looking at the code, I spotted a few places where the
9929 error propagation could be improved, and lo...
9931 src/cairo-win32-font.c | 244 ++++++++++++++++++++++++++----------------------
9932 1 files changed, 133 insertions(+), 111 deletions(-)
9934 commit 5ef52cd08f586d4ca0b30ff7d47575f0dfba9172
9935 Author: Chris Wilson <chris@chris-wilson.co.uk>
9936 Date: Sun Aug 17 18:01:15 2008 +0100
9938 [svg] Tweak base64_write_func().
9940 On a wild goose chase to eliminate a valgrind warning (caused by libpng,
9941 alas) tweak the code for a bit of simplification.
9943 src/cairo-svg-surface.c | 31 ++++++++++++++-----------------
9944 1 files changed, 14 insertions(+), 17 deletions(-)
9946 commit c745a622db7844ad0dc0da14446457eed1133eb5
9947 Author: Chris Wilson <chris@chris-wilson.co.uk>
9948 Date: Sun Aug 17 17:33:29 2008 +0100
9950 [test/toy-font-face] Use cairo_test_init/fini().
9952 Minor step to harmonise the test with the rest of the suite.
9954 test/toy-font-face.c | 17 +++++++----------
9955 1 files changed, 7 insertions(+), 10 deletions(-)
9957 commit 37bca38772af1ff206f6bba00f217dc59504ecca
9958 Author: Chris Wilson <chris@chris-wilson.co.uk>
9959 Date: Sun Aug 17 15:30:51 2008 +0100
9961 [test/create-from-png] Return the failure.
9963 Having checked all the possible PNG formats, report any failures.
9965 test/create-from-png.c | 3 +++
9966 1 files changed, 3 insertions(+), 0 deletions(-)
9968 commit 3dc8e2dd0d42572c6e97af8bd676c02dded13d7f
9969 Author: Chris Wilson <chris@chris-wilson.co.uk>
9970 Date: Sun Aug 17 15:28:49 2008 +0100
9972 [boilerplate] Dead store elimination.
9974 Value stored to 'found' is never read.
9976 boilerplate/cairo-boilerplate.c | 9 ++++-----
9977 1 files changed, 4 insertions(+), 5 deletions(-)
9979 commit d5f90a241c24a7f10c8f03d2a830729f85bb2945
9980 Author: Chris Wilson <chris@chris-wilson.co.uk>
9981 Date: Sun Aug 17 15:08:57 2008 +0100
9983 [ft-font] Dead store elimination.
9985 Value stored to 'stride' is never read.
9987 src/cairo-ft-font.c | 3 +--
9988 1 files changed, 1 insertions(+), 2 deletions(-)
9990 commit 5109fdb1e6867439d45da5a7cc8effb9bcc75d85
9991 Author: Chris Wilson <chris@chris-wilson.co.uk>
9992 Date: Sun Aug 17 15:05:51 2008 +0100
9994 [xlib] Return the integer from XGetDefault().
9996 If the default value does not match a fontconfig constant, actually return
9999 src/cairo-xlib-screen.c | 3 +--
10000 1 files changed, 1 insertions(+), 2 deletions(-)
10002 commit 4f4621adbfa67fb61b02e7e650a59a96a8c974ef
10003 Author: Chris Wilson <chris@chris-wilson.co.uk>
10004 Date: Sun Aug 17 15:02:31 2008 +0100
10006 [scaled-font-subsets] Check for a failed malloc.
10008 Missing NULL check after malloc.
10010 src/cairo-scaled-font-subsets.c | 5 ++++-
10011 1 files changed, 4 insertions(+), 1 deletions(-)
10013 commit 418ebb09303aa4b9b212fad4b45e458332a3afde
10014 Author: Chris Wilson <chris@chris-wilson.co.uk>
10015 Date: Sun Aug 17 15:01:21 2008 +0100
10017 [scaled-font-subsets] Propagate error status from index_to_ucs4().
10019 Check for an error status from ->index_to_ucs4() and propagate.
10021 src/cairo-scaled-font-subsets.c | 9 +++++++--
10022 1 files changed, 7 insertions(+), 2 deletions(-)
10024 commit 2ab700f21af7a98d82e74fd4d04884b2b0ca1b20
10025 Author: Chris Wilson <chris@chris-wilson.co.uk>
10026 Date: Sun Aug 17 14:59:53 2008 +0100
10028 [type3-glyph] Propagate error from image emission.
10030 Return the error status from ->emit_image().
10032 src/cairo-type3-glyph-surface.c | 2 +-
10033 1 files changed, 1 insertions(+), 1 deletions(-)
10035 commit 0549fcfd85bed5b03c9eb4502042f6ce6f76f5a0
10036 Author: Chris Wilson <chris@chris-wilson.co.uk>
10037 Date: Sun Aug 17 14:57:03 2008 +0100
10039 [pdf-operators] Propagate status from end_text().
10041 Check for an error status after end_text().
10043 src/cairo-pdf-operators.c | 12 +++++++++---
10044 1 files changed, 9 insertions(+), 3 deletions(-)
10046 commit 96d45cfeeeb6dba94f134589486b894eeac82651
10047 Author: Chris Wilson <chris@chris-wilson.co.uk>
10048 Date: Sun Aug 17 14:55:30 2008 +0100
10050 [pdf-operators] Propagate error from emit_glyph_string*().
10052 Do not overwrite the error status if returned by either of the
10053 emit_glyph_string*() routines.
10055 src/cairo-pdf-operators.c | 10 +++++-----
10056 1 files changed, 5 insertions(+), 5 deletions(-)
10058 commit 63f64ff3369f3768fe80a1b002a1d057e3886d4c
10059 Author: Chris Wilson <chris@chris-wilson.co.uk>
10060 Date: Sun Aug 17 14:53:55 2008 +0100
10062 [pdf-operators] Propagate error from begin_actualtext().
10064 Check the status return from begin_actualtext().
10066 src/cairo-pdf-operators.c | 3 +++
10067 1 files changed, 3 insertions(+), 0 deletions(-)
10069 commit 56c5f9954aca52327eedac3bc88a32ab4cbea619
10070 Author: Chris Wilson <chris@chris-wilson.co.uk>
10071 Date: Sun Aug 17 14:51:48 2008 +0100
10073 [pdf] Propagate error from open_stream() failure.
10075 Check status return for _cairo_pdf_surface_open_stream().
10077 src/cairo-pdf-surface.c | 3 +++
10078 1 files changed, 3 insertions(+), 0 deletions(-)
10080 commit 311464ad50edfa2e6dfbe10b021041229cdebda6
10081 Author: Chris Wilson <chris@chris-wilson.co.uk>
10082 Date: Sun Aug 17 14:50:35 2008 +0100
10084 [pdf] Propagate status return.
10086 Check status return from type3_glyph_surface_emit_glyph().
10088 src/cairo-pdf-surface.c | 3 +++
10089 1 files changed, 3 insertions(+), 0 deletions(-)
10091 commit b14c6ac685b45797657e406c5a02f94bffef4ffc
10092 Author: Chris Wilson <chris@chris-wilson.co.uk>
10093 Date: Sun Aug 17 14:49:02 2008 +0100
10095 [pdf] dead code elimination.
10097 Value stored to 'matrix' is never read.
10099 src/cairo-pdf-surface.c | 2 --
10100 1 files changed, 0 insertions(+), 2 deletions(-)
10102 commit 97a2038c76978847127b164f639f41348badf5a6
10103 Author: Chris Wilson <chris@chris-wilson.co.uk>
10104 Date: Sun Aug 17 14:47:27 2008 +0100
10106 [ps] Dead store elimination.
10108 Value stored to 'matrix' is never read.
10110 src/cairo-ps-surface.c | 2 --
10111 1 files changed, 0 insertions(+), 2 deletions(-)
10113 commit e3b6a0c89a814ce469bee8f5e186c318a41004fb
10114 Author: Chris Wilson <chris@chris-wilson.co.uk>
10115 Date: Sun Aug 17 14:44:44 2008 +0100
10117 [cairo-output-stream] Dead store.
10119 Value stored to 'p' is never read.
10121 src/cairo-output-stream.c | 1 -
10122 1 files changed, 0 insertions(+), 1 deletions(-)
10124 commit 4517ef05200a11115c59acef9a20163544e69409
10125 Author: Chris Wilson <chris@chris-wilson.co.uk>
10126 Date: Sun Aug 17 14:34:54 2008 +0100
10128 [cairo-image-surface] Dead store.
10130 Value stored to 'ret' is never read.
10131 Value stored to 'mask_bpp' is never read.
10133 src/cairo-image-surface.c | 7 +------
10134 1 files changed, 1 insertions(+), 6 deletions(-)
10136 commit 4114a7bf065ab180a21617c0b71e9dfc9161298b
10137 Author: Chris Wilson <chris@chris-wilson.co.uk>
10138 Date: Sun Aug 17 14:33:38 2008 +0100
10140 [cairo-clip] Dead store.
10142 Value stored to 'status' is never read.
10144 src/cairo-clip.c | 2 --
10145 1 files changed, 0 insertions(+), 2 deletions(-)
10147 commit 32843260ae303fafaecfabf07ed38108f369a5d2
10148 Author: Chris Wilson <chris@chris-wilson.co.uk>
10149 Date: Sun Aug 17 14:31:12 2008 +0100
10151 [cairo-scaled-font] Dead store.
10153 Value stored to 'status' is never read.
10155 src/cairo-scaled-font.c | 2 --
10156 1 files changed, 0 insertions(+), 2 deletions(-)
10158 commit 6c0da32b068de2124993fa8932c450843eba77ff
10159 Author: Chris Wilson <chris@chris-wilson.co.uk>
10160 Date: Sun Aug 17 14:30:04 2008 +0100
10162 [cairo-scaled-font] Actually use bytes_per_row.
10164 bytes_per_row was precomputed but not actually used in the inner loop.
10166 src/cairo-scaled-font.c | 2 +-
10167 1 files changed, 1 insertions(+), 1 deletions(-)
10169 commit c7d803fc91f29763a51d398033a117b11fb09454
10170 Author: Chris Wilson <chris@chris-wilson.co.uk>
10171 Date: Sun Aug 17 14:03:33 2008 +0100
10173 [cairo-surface] Add the lcd_filter default to the nil surfaces.
10175 The nil surfaces did not correctly initialize the lcd filter font option
10176 to the default value.
10178 src/cairo-surface.c | 9 +++++----
10179 1 files changed, 5 insertions(+), 4 deletions(-)
10181 commit 3b2d49e567ec3de4df18189e22f2077a92d941f0
10182 Author: Chris Wilson <chris@chris-wilson.co.uk>
10183 Date: Sun Aug 17 14:01:57 2008 +0100
10185 Ensure ranges of wideint types are always defined.
10187 Define the range of the fixed types (int16, int32 etc) if the standard
10188 headers fail to provide the definitions.
10190 src/cairo-wideint-type-private.h | 31 ++++++++++++++++---------------
10191 1 files changed, 16 insertions(+), 15 deletions(-)
10193 commit 3d548f673bfa6dea63fcc00f775ae318a7f912a8
10194 Author: Chris Wilson <chris@chris-wilson.co.uk>
10195 Date: Sun Aug 17 13:40:32 2008 +0100
10197 [configure] Add -Werror to CC_TRY_FLAG
10199 g++ only warns about using C-only warning flags, but add -Werror promotes
10200 the warning to an error and enables correct detection of the unsupported
10203 configure.in | 2 +-
10204 1 files changed, 1 insertions(+), 1 deletions(-)
10206 commit 3501eef6988ebcef5b169b004615d54bcee15460
10207 Author: Chris Wilson <chris@chris-wilson.co.uk>
10208 Date: Sun Aug 17 12:13:14 2008 +0100
10210 [cairo-cache] Fixup doc comment.
10212 Missing % before the macro name in the comment.
10214 src/cairo-cache.c | 4 ++--
10215 1 files changed, 2 insertions(+), 2 deletions(-)
10217 commit 586dbaafe6ac8803c7d7b9ed38297486d47f60e9
10218 Author: Peter O'Gorman <pogma@thewrittenword.com>
10219 Date: Fri Aug 15 14:46:22 2008 -0500
10221 Compile with old compilers
10223 Some compilers fail to compile non-constant struct initializers.
10225 src/cairo-clip.c | 15 ++++++++++-----
10226 1 files changed, 10 insertions(+), 5 deletions(-)
10228 commit 3998040c1151ffbc3f8748ca430af5bd81ca92e4
10229 Author: Chris Wilson <chris@chris-wilson.co.uk>
10230 Date: Sun Aug 17 11:35:58 2008 +0100
10232 [cairo-cache] Simplify a status return to boolean.
10234 _cairo_cache_remove_random() just returned whether it found an entry to
10235 remove and so the code can be simplified by returning a boolean as opposed
10238 src/cairo-cache.c | 23 ++++++++---------------
10239 src/cairo-types-private.h | 1 -
10240 2 files changed, 8 insertions(+), 16 deletions(-)
10242 commit 841fe91c0e0ef0b88f84e8130b8e2afaa8abb610
10243 Author: Chris Wilson <chris@chris-wilson.co.uk>
10244 Date: Fri Aug 15 17:09:51 2008 +0100
10246 [ps] Promote char to an int to avoid valgrind warnings.
10248 valgrind warns about an uninitialized read after a single char is promoted
10249 to an int when passed to the printf. Silence the warning by using a
10250 explicitly promoting the output byte to a full int.
10252 src/cairo-ps-surface.c | 2 +-
10253 1 files changed, 1 insertions(+), 1 deletions(-)
10255 commit 8f567279869432b4748dda2fed5c30056c68d44c
10256 Author: Chris Wilson <chris@chris-wilson.co.uk>
10257 Date: Thu Aug 14 18:22:47 2008 +0100
10259 [perf] Beware $OS may not be set.
10261 Avoid a warning by ensuring that the two strings in the equality check are
10264 perf/cairo-perf-diff | 2 +-
10265 1 files changed, 1 insertions(+), 1 deletions(-)
10267 commit c44f2ab4d1c975dfc6ba2f8a271da6b578c08983
10268 Author: Chris Wilson <chris@chris-wilson.co.uk>
10269 Date: Thu Aug 14 18:21:22 2008 +0100
10271 [perf] Silence trivial compiler warning.
10273 The compiler complained about passing a non-string literal as the format
10274 to printf, so just to sanitize the code and keep the compiler happy, add
10275 the magic "%s" format.
10277 perf/cairo-perf-diff-files.c | 18 +++++++++---------
10278 1 files changed, 9 insertions(+), 9 deletions(-)
10280 commit db7e3cb85467496686289d1a666b4ca274524fdd
10281 Author: Chris Wilson <chris@chris-wilson.co.uk>
10282 Date: Thu Aug 14 16:30:54 2008 +0100
10284 [Makefile.am] Delete intermediates
10286 Clean up after calling 'gcc -save-temps'.
10288 boilerplate/Makefile.am | 4 ++++
10289 src/Makefile.am | 4 ++++
10290 test/Makefile.am | 1 +
10291 test/pdiff/Makefile.am | 4 ++++
10292 4 files changed, 13 insertions(+), 0 deletions(-)
10294 commit 67326b728bca24dc02df7f144b9471636d5e1d4c
10295 Author: Chris Wilson <chris@chris-wilson.co.uk>
10296 Date: Thu Aug 14 16:25:49 2008 +0100
10298 [gitignore] Ignore *.[is]
10300 Playing with 'gcc -save-temps' understandably leaves behind large amounts
10303 src/.gitignore | 2 ++
10304 1 files changed, 2 insertions(+), 0 deletions(-)
10306 commit bafcbc633a12ae50cbafd579a03d12260ac3e04a
10307 Author: Chris Wilson <chris@chris-wilson.co.uk>
10308 Date: Thu Nov 8 22:27:39 2007 +0000
10310 [cairo-scaled-font] Check the most recently used font used first.
10312 When searching for a matching font, check the most recently used font
10313 first. This optimizes the common case where pango calls save() and restore()
10314 around rendering each layout, but almost all consecutive layouts use the
10317 src/cairo-scaled-font.c | 120 ++++++++++++++++++++++++++++++++--------------
10318 1 files changed, 83 insertions(+), 37 deletions(-)
10320 commit a1e5d4037600b05024e25b83fa5f666967fb5f63
10321 Author: Behdad Esfahbod <behdad@behdad.org>
10322 Date: Sun Aug 17 00:11:34 2008 -0400
10324 [doc] Another typo fix
10327 1 files changed, 1 insertions(+), 1 deletions(-)
10329 commit 20d178c1c2f7da00993b31c6d2ae95b0cbba3f66
10330 Author: Behdad Esfahbod <behdad@behdad.org>
10331 Date: Sat Aug 16 21:27:03 2008 -0400
10335 src/cairo-scaled-font.c | 2 +-
10336 1 files changed, 1 insertions(+), 1 deletions(-)
10338 commit 7a0f29d2f35e31ad30f7dc67ec3e5c3ee06fec53
10339 Author: Chris Wilson <chris@chris-wilson.co.uk>
10340 Date: Thu Aug 14 11:57:36 2008 +0100
10342 [test] Update prototype of win32-printing create_surface()
10344 Missed the recent addition of the win32-printing surface to boilerplate.
10346 boilerplate/cairo-boilerplate-win32-printing.c | 3 +++
10347 boilerplate/cairo-boilerplate-win32-private.h | 13 ++++++++-----
10348 2 files changed, 11 insertions(+), 5 deletions(-)
10350 commit 63befc6ab124059a8078493345d21463c4609f41
10351 Author: Chris Wilson <chris@chris-wilson.co.uk>
10352 Date: Thu Aug 14 09:14:51 2008 +0100
10354 [xlib] Remove the key parameter from the close display hook.
10356 By inspecting all the users of the close display hooks, we can see that
10357 (a) the key is redundant and (b) the data is unique to the hook. This
10358 means we can trim the interface and stop the linear searches as soon as
10359 we've found the correct element.
10361 src/cairo-xlib-display.c | 13 ++++++-------
10362 src/cairo-xlib-private.h | 5 ++---
10363 src/cairo-xlib-surface.c | 5 +++--
10364 3 files changed, 11 insertions(+), 12 deletions(-)
10366 commit 84a541a041c6bb22c57517e267dc7adcfd7e84dc
10367 Author: Chris Wilson <chris@chris-wilson.co.uk>
10368 Date: Wed Nov 7 00:12:00 2007 +0000
10370 [cairo-xlib-surface] Remove status return for SUCCESS only function.
10372 Convert _cairo_xlib_surface_set_repeat() to a void return type, and
10373 update caller, as the function can only return CAIRO_STATUS_SUCCESS.
10375 src/cairo-xlib-surface.c | 16 ++++++----------
10376 1 files changed, 6 insertions(+), 10 deletions(-)
10378 commit 2699a986d3fe81d604c952513c62c896a95f1a3d
10379 Author: Chris Wilson <chris@chris-wilson.co.uk>
10380 Date: Thu Nov 8 11:47:31 2007 +0000
10382 [cairo-gstate] Guard against unsetting the font unnecessary.
10384 Only unset the current font if we change any of the font settings, i.e.
10385 font_face, font_options, font_matrix and ctm.
10387 src/cairo-gstate.c | 33 +++++++++++++++++++++++++--------
10388 1 files changed, 25 insertions(+), 8 deletions(-)
10390 commit 8552e76ee5b2da2f4c39f916981fad7873974506
10391 Author: Chris Wilson <chris@chris-wilson.co.uk>
10392 Date: Thu Aug 14 08:25:58 2008 +0100
10394 [xlib] Fix leak of pending_free_glyphs on CloseDisplay.
10396 Missing free of the pending_free_glyphs array in
10397 _cairo_xlib_surface_remove_scaled_font.
10399 src/cairo-xlib-surface.c | 3 +++
10400 1 files changed, 3 insertions(+), 0 deletions(-)
10402 commit e3665bde5dbeef3473df95eed0b1550ee679765f
10403 Author: Chris Wilson <chris@chris-wilson.co.uk>
10404 Date: Wed Aug 13 17:41:40 2008 +0100
10406 [test/Makefile.am] Match *-out.{pdf,ps,svg}
10408 When cleaning files, limit the glob to only match *-out.{pdf,ps,svg} in
10409 order to distinguish the current practice of naming vector output files
10410 from possible future vector target/reference files.
10412 test/Makefile.am | 6 +++---
10413 1 files changed, 3 insertions(+), 3 deletions(-)
10415 commit 49ea4fbb25393d214a88678d0aa0e1e0c4ba9916
10416 Author: Chris Wilson <chris@chris-wilson.co.uk>
10417 Date: Wed Aug 13 16:45:32 2008 +0100
10419 [test/create-from-png-stream] Correct check for png loading error.
10421 The test for failure to load the image surface from the png stream
10422 incorrectly checked for a NULL surface, instead of the error surface.
10424 test/create-from-png-stream.c | 8 +++++---
10425 1 files changed, 5 insertions(+), 3 deletions(-)
10427 commit 93af67d7fd0fab93d8f9e1bc2de1c38aa65a7a59
10428 Author: Chris Wilson <chris@chris-wilson.co.uk>
10429 Date: Wed Aug 13 16:04:41 2008 +0100
10431 [test] Pass a 'complete' name to create_surface().
10433 Construct the test name to pass to the boilerplate creation routines such
10434 that it uniquely identifies the test in terms of test, target, content and
10435 pass (similar, offset, thread). This allows the vector targets to create
10436 output different output files for each test, whereas before, later tests
10437 would overwrite existing files making debugging more difficult.
10439 boilerplate/cairo-boilerplate-pdf.c | 3 +-
10440 boilerplate/cairo-boilerplate-ps.c | 3 +-
10441 boilerplate/cairo-boilerplate-svg.c | 3 +-
10442 boilerplate/cairo-boilerplate-win32-printing.c | 3 +-
10443 test/cairo-test.c | 69 +++++++++++-------------
10444 5 files changed, 35 insertions(+), 46 deletions(-)
10446 commit 517e532fb70df7ce5f1d5d9ebf94243ede1307da
10447 Author: Chris Wilson <chris@chris-wilson.co.uk>
10448 Date: Wed Aug 13 11:03:52 2008 +0100
10450 [test] Run fallback-resolution if we have at least one vector surface.
10452 Currently fallback-resolution is included in the test suite if we have all
10453 of the vector surfaces available. This commit enables individual support
10454 for the vector surfaces, so that the test can be run even if one or more
10455 of the surfaces are not available.
10457 test/Makefile.am | 10 +++++++---
10458 test/fallback-resolution.c | 26 ++++++++++++++++++++++++--
10459 2 files changed, 31 insertions(+), 5 deletions(-)
10461 commit d56ea9cc879650db0ad2e6b05e483f30f9f21566
10462 Author: Chris Wilson <chris@chris-wilson.co.uk>
10463 Date: Tue Aug 12 13:33:04 2008 +0100
10465 [test] Set CAIRO_TEST_UNTESTED to 77
10467 77 is the magic exit code used by automake to indicate a skipped test, so
10468 by using it we can get a slightly more informative test log.
10470 test/cairo-test.c | 13 -------------
10471 test/cairo-test.h | 4 ++--
10472 test/create-for-stream.c | 11 ++++++++++-
10473 test/fallback-resolution.c | 5 ++++-
10474 test/get-xrender-format.c | 35 ++++++++++++++++++++---------------
10475 test/multi-page.c | 10 +++++++---
10476 test/surface-source.c | 5 ++++-
10477 test/xlib-expose-event.c | 10 +++-------
10478 test/xlib-surface.c | 18 +++++++++---------
10479 9 files changed, 59 insertions(+), 52 deletions(-)
10481 commit f85a4aec1f94f8fbd8e4db770ff1f70c3286fc90
10482 Author: Chris Wilson <chris@chris-wilson.co.uk>
10483 Date: Thu Jan 10 13:04:52 2008 +0000
10485 [test] Export a function to check whether a target is enabled.
10487 Allow individuals tests to check whether a test target is enabled -
10488 useful for those tests that circumvent cairo_test() and perform
10491 test/cairo-test.c | 19 +++++++++++++++
10492 test/cairo-test.h | 4 +++
10493 test/create-for-stream.c | 54 +++++++++++++++++++++++------------------
10494 test/fallback-resolution.c | 31 +++++++++++++++--------
10495 test/get-xrender-format.c | 4 +++
10496 test/multi-page.c | 56 +++++++++++++++++++++++--------------------
10497 test/pdf-features.c | 4 +++
10498 test/ps-features.c | 4 +++
10499 test/svg-clip.c | 4 +++
10500 test/svg-surface.c | 4 +++
10501 test/xlib-expose-event.c | 4 +++
10502 test/xlib-surface.c | 4 +++
10503 12 files changed, 131 insertions(+), 61 deletions(-)
10505 commit 436c0c8be28546813139f391a62303d4c1894fc3
10506 Author: Chris Wilson <chris@chris-wilson.co.uk>
10507 Date: Mon Aug 11 21:12:45 2008 +0100
10509 [test] Preparatory work for running under memfault.
10511 In order to run under memfault, the framework is first extended to handle
10512 running concurrent tests - i.e. multi-threading. (Not that this is a
10513 requirement for memfault, instead it shares a common goal of storing
10514 per-test data). To that end all the global data is moved into a per-test
10515 context and the targets are adjusted to avoid overlap on shared, global
10516 resources (such as output files and frame buffers). In order to preserve
10517 the simplicity of the standard draw routines, the context is not passed
10518 explicitly as a parameter to the routines, but is instead attached to the
10519 cairo_t via the user_data.
10521 For the masochist, to enable the tests to be run across multiple threads
10522 simply set the environment variable CAIRO_TEST_NUM_THREADS to the desired
10525 In the long run, we can hope the need for memfault (runtime testing of
10526 error paths) will be mitigated by static analysis. A promising candidate
10527 for this task would appear to be http://hal.cs.berkeley.edu/cil/.
10529 boilerplate/cairo-boilerplate-beos-private.h | 6 +
10530 boilerplate/cairo-boilerplate-directfb-private.h | 3 +
10531 boilerplate/cairo-boilerplate-directfb.c | 5 +-
10532 boilerplate/cairo-boilerplate-getopt.c | 7 +-
10533 boilerplate/cairo-boilerplate-glitz-private.h | 9 +
10534 boilerplate/cairo-boilerplate-glitz.c | 68 ++-
10535 boilerplate/cairo-boilerplate-pdf-private.h | 3 +
10536 boilerplate/cairo-boilerplate-pdf.c | 45 +-
10537 boilerplate/cairo-boilerplate-ps-private.h | 3 +
10538 boilerplate/cairo-boilerplate-ps.c | 54 +-
10539 boilerplate/cairo-boilerplate-quartz-private.h | 13 +-
10540 boilerplate/cairo-boilerplate-quartz.c | 3 +
10541 boilerplate/cairo-boilerplate-svg-private.h | 3 +
10542 boilerplate/cairo-boilerplate-svg.c | 45 +-
10543 .../cairo-boilerplate-test-surfaces-private.h | 9 +
10544 boilerplate/cairo-boilerplate-test-surfaces.c | 35 +-
10545 boilerplate/cairo-boilerplate-win32-private.h | 3 +
10546 boilerplate/cairo-boilerplate-win32.c | 3 +
10547 boilerplate/cairo-boilerplate-xcb-private.h | 3 +
10548 boilerplate/cairo-boilerplate-xcb.c | 11 +-
10549 boilerplate/cairo-boilerplate-xlib-private.h | 6 +
10550 boilerplate/cairo-boilerplate-xlib.c | 50 ++-
10551 boilerplate/cairo-boilerplate.c | 41 +-
10552 boilerplate/cairo-boilerplate.h | 11 +-
10553 boilerplate/xmalloc.c | 10 +-
10554 configure.in | 4 +-
10555 perf/cairo-perf.c | 11 +-
10556 test/Makefile.am | 3 +-
10557 test/a1-image-sample.c | 2 +-
10558 test/a1-mask.c | 36 +-
10559 test/a1-traps-sample.c | 2 +-
10560 test/a8-mask.c | 36 +-
10561 test/big-line.c | 2 +-
10562 test/big-trap.c | 2 +-
10563 test/bilevel-image.c | 4 +-
10564 test/bitmap-font.c | 23 +-
10565 test/buffer-diff.c | 122 +++-
10566 test/buffer-diff.h | 9 +-
10567 test/cairo-test.c | 692 +++++++++++++-------
10568 test/cairo-test.h | 56 ++-
10569 test/caps-joins-alpha.c | 2 +-
10570 test/caps-joins.c | 2 +-
10571 test/caps-sub-paths.c | 2 +-
10572 test/clip-all.c | 2 +-
10573 test/clip-empty.c | 2 +-
10574 test/clip-fill-rule-pixel-aligned.c | 2 +-
10575 test/clip-fill-rule.c | 2 +-
10576 test/clip-nesting.c | 2 +-
10577 test/clip-operator.c | 9 +-
10578 test/clip-push-group.c | 2 +-
10579 test/clip-twice.c | 2 +-
10580 test/clip-zero.c | 2 +-
10581 test/clipped-group.c | 2 +-
10582 test/close-path.c | 2 +-
10583 test/composite-integer-translate-over-repeat.c | 2 +-
10584 test/composite-integer-translate-over.c | 5 +-
10585 test/composite-integer-translate-source.c | 5 +-
10586 test/copy-path.c | 81 ++-
10587 test/create-for-stream.c | 42 +-
10588 test/create-from-png-stream.c | 12 +-
10589 test/create-from-png.c | 190 +++---
10590 test/dash-caps-joins.c | 2 +-
10591 test/dash-curve.c | 2 +-
10592 test/dash-no-dash.c | 2 +-
10593 test/dash-offset-negative.c | 2 +-
10594 test/dash-scale.c | 2 +-
10595 test/dash-state.c | 2 +-
10596 test/dash-zero-length.c | 2 +-
10597 test/degenerate-arc.c | 2 +-
10598 test/degenerate-path.c | 2 +-
10599 test/degenerate-pen.c | 2 +-
10600 test/device-offset-positive.c | 2 +-
10601 test/device-offset-scale.c | 2 +-
10602 test/device-offset.c | 2 +-
10603 test/extend-pad.c | 2 +-
10604 test/extend-reflect-similar.c | 7 +-
10605 test/extend-reflect.c | 5 +-
10606 test/extend-repeat-similar.c | 7 +-
10607 test/extend-repeat.c | 5 +-
10608 test/fallback-resolution.c | 7 +-
10609 test/fill-and-stroke-alpha-add.c | 2 +-
10610 test/fill-and-stroke-alpha.c | 2 +-
10611 test/fill-and-stroke.c | 2 +-
10612 test/fill-degenerate-sort-order.c | 2 +-
10613 test/fill-missed-stop.c | 2 +-
10614 test/fill-rule.c | 2 +-
10615 test/filter-bilinear-extents.c | 2 +-
10616 test/filter-nearest-offset.c | 4 +-
10617 test/finer-grained-fallbacks.c | 2 +-
10618 test/font-face-get-type.c | 17 +-
10619 test/font-matrix-translation.c | 14 +-
10620 test/ft-font-create-for-ft-face.c | 13 +-
10621 test/ft-show-glyphs-positioning.c | 2 +-
10622 test/ft-show-glyphs-table.c | 2 +-
10623 test/ft-text-antialias-none.c | 4 +-
10624 test/ft-text-vertical-layout-type1.c | 4 +-
10625 test/ft-text-vertical-layout-type3.c | 4 +-
10626 test/get-and-set.c | 8 +-
10627 test/get-clip.c | 66 +-
10628 test/get-group-target.c | 2 +-
10629 test/get-path-extents.c | 126 ++--
10630 test/get-xrender-format.c | 30 +-
10631 test/glyph-cache-pressure.c | 2 +-
10632 test/gradient-alpha.c | 2 +-
10633 test/gradient-zero-stops.c | 2 +-
10634 test/group-paint.c | 5 +-
10635 test/imagediff.c | 2 +-
10636 test/in-fill-empty-trapezoid.c | 20 +-
10637 test/in-fill-trapezoid.c | 11 +-
10638 test/infinite-join.c | 2 +-
10639 test/invalid-matrix.c | 7 +-
10640 test/large-clip.c | 2 +-
10641 test/large-font.c | 4 +-
10642 test/large-source.c | 2 +-
10643 test/leaky-dash.c | 2 +-
10644 test/leaky-dashed-rectangle.c | 2 +-
10645 test/leaky-polygon.c | 2 +-
10646 test/line-width-scale.c | 5 +-
10647 test/line-width-zero.c | 2 +-
10648 test/line-width.c | 2 +-
10649 test/linear-gradient-reflect.c | 2 +-
10650 test/linear-gradient.c | 4 +-
10651 test/long-dashed-lines.c | 3 +-
10652 test/long-lines.c | 21 +-
10653 test/mask-alpha.c | 2 +-
10654 test/mask-ctm.c | 4 +-
10655 test/mask-surface-ctm.c | 4 +-
10656 test/mask.c | 23 +-
10657 test/meta-surface-pattern.c | 3 +-
10658 test/miter-precision.c | 6 +-
10659 test/move-to-show-surface.c | 2 +-
10660 test/multi-page.c | 16 +-
10661 test/new-sub-path.c | 2 +-
10662 test/nil-surface.c | 13 +-
10663 test/operator-clear.c | 11 +-
10664 test/operator-source.c | 11 +-
10665 test/over-above-source.c | 2 +-
10666 test/over-around-source.c | 2 +-
10667 test/over-below-source.c | 2 +-
10668 test/over-between-source.c | 2 +-
10669 test/paint-repeat.c | 4 +-
10670 test/paint-source-alpha.c | 4 +-
10671 test/paint-with-alpha.c | 4 +-
10672 test/paint.c | 2 +-
10673 test/pattern-get-type.c | 25 +-
10674 test/pattern-getters.c | 13 +-
10675 test/pdf-features.c | 7 +-
10676 test/pixman-rotate.c | 2 +-
10677 test/ps-features.c | 7 +-
10678 test/pthread-show-text.c | 11 +-
10679 test/push-group.c | 2 +-
10680 test/radial-gradient.c | 2 +-
10681 test/random-intersections.c | 2 +-
10682 test/rectangle-rounding-error.c | 2 +-
10683 test/rectilinear-miter-limit.c | 2 +-
10684 test/rectilinear-stroke.c | 2 +-
10685 test/reflected-stroke.c | 2 +-
10686 test/rel-path.c | 9 +-
10687 test/rgb24-ignore-alpha.c | 2 +-
10688 test/rotate-image-surface-paint.c | 2 +-
10689 test/scale-down-source-surface-paint.c | 4 +-
10690 test/scale-source-surface-paint.c | 4 +-
10691 test/select-font-face.c | 2 +-
10692 test/select-font-no-show-text.c | 2 +-
10693 test/self-copy.c | 2 +-
10694 test/self-intersecting.c | 2 +-
10695 test/set-source.c | 2 +-
10696 test/show-text-current-point.c | 2 +-
10697 test/skew-extreme.c | 2 +-
10698 test/smask-fill.c | 3 +-
10699 test/smask-image-mask.c | 5 +-
10700 test/smask-mask.c | 3 +-
10701 test/smask-paint.c | 3 +-
10702 test/smask-stroke.c | 3 +-
10703 test/smask-text.c | 3 +-
10704 test/smask.c | 5 +-
10705 test/solid-pattern-cache-stress.c | 2 +-
10706 test/source-clip-scale.c | 2 +-
10707 test/source-clip.c | 2 +-
10708 test/source-surface-scale-paint.c | 4 +-
10709 test/stroke-ctm-caps.c | 2 +-
10710 test/stroke-image.c | 2 +-
10711 test/surface-finish-twice.c | 2 +-
10712 test/surface-pattern-big-scale-down.c | 2 +-
10713 test/surface-pattern-scale-down.c | 2 +-
10714 test/surface-pattern-scale-up.c | 2 +-
10715 test/surface-pattern.c | 2 +-
10716 test/surface-source.c | 2 +-
10717 test/svg-clip.c | 14 +-
10718 test/svg-surface.c | 15 +-
10719 test/text-antialias-gray.c | 4 +-
10720 test/text-antialias-none.c | 4 +-
10721 test/text-antialias-subpixel.c | 4 +-
10722 test/text-cache-crash.c | 4 +-
10723 test/text-lcd-filter-fir3.c | 4 +-
10724 test/text-lcd-filter-fir5.c | 4 +-
10725 test/text-lcd-filter-intra-pixel.c | 4 +-
10726 test/text-lcd-filter-none.c | 4 +-
10727 test/text-pattern.c | 2 +-
10728 test/text-rotate.c | 4 +-
10729 test/text-transform.c | 7 +-
10730 test/text-zero-len.c | 21 +-
10731 test/transforms.c | 2 +-
10732 test/translate-show-surface.c | 2 +-
10733 test/trap-clip.c | 27 +-
10734 test/truetype-tables.c | 10 +-
10735 test/unantialiased-shapes.c | 2 +-
10736 test/unbounded-operator.c | 9 +-
10737 test/user-font-proxy.c | 2 +-
10738 test/user-font.c | 2 +-
10739 test/xlib-expose-event.c | 32 +-
10740 test/xlib-surface.c | 40 +-
10741 test/zero-alpha.c | 2 +-
10742 213 files changed, 1732 insertions(+), 1079 deletions(-)
10744 commit c73b3e43e120065e40d8fc48c9bdbd88ebe8ab40
10745 Author: Chris Wilson <chris@chris-wilson.co.uk>
10746 Date: Tue Aug 12 21:21:20 2008 +0100
10748 [cairo-surface] Check for the error surface in _get_font_options()
10750 cairo_surface_get_font_options() has the side effect of initialising the
10751 font options on the surface, but fails to check that the surface is
10752 valid first. Therefore if we are passed a read-only error object, we will
10753 trigger a segmentation fault.
10755 Most likely this is the bug behind:
10756 http://bugs.freedesktop.org/show_bug.cgi?id=17096.
10758 src/cairo-surface.c | 7 ++++++-
10759 1 files changed, 6 insertions(+), 1 deletions(-)
10761 commit 922df7fc231b2499ce0651476083afe158a7639c
10762 Author: Adrian Johnson <ajohnson@redneon.com>
10763 Date: Tue Aug 12 07:34:24 2008 +0930
10765 Win32: Fix uninitialized variable
10767 src/cairo-win32-surface.c | 1 +
10768 1 files changed, 1 insertions(+), 0 deletions(-)
10770 commit 31565677dbbc3212635ec95951a236e4243a2552
10771 Author: Chris Wilson <chris@chris-wilson.co.uk>
10772 Date: Mon Aug 11 18:21:53 2008 +0100
10774 [pattern] Unbounded patterns should have infinite extents.
10776 Fix a slight typo that produced negative sized extents instead of the
10779 src/cairo-pattern.c | 5 +++--
10780 1 files changed, 3 insertions(+), 2 deletions(-)
10782 commit 5ace0cb17a6e4719df1a32944595bd26a8f7f436
10783 Author: Chris Wilson <chris@chris-wilson.co.uk>
10784 Date: Mon Aug 11 17:28:20 2008 +0100
10786 [cairo-test] Exclude lcd-filter tests for vector targets.
10788 Add text-lcd-filter-* to vector_ignored_tests.
10790 test/cairo-test.c | 5 +++++
10791 1 files changed, 5 insertions(+), 0 deletions(-)
10793 commit 52a8e528694aed3e918398e7d8e2d773eaa04c07
10794 Author: Behdad Esfahbod <behdad@behdad.org>
10795 Date: Mon Aug 11 15:28:04 2008 -0400
10797 [RELEASING] Document how to release with failing tests
10799 RELEASING | 10 ++++++++++
10800 1 files changed, 10 insertions(+), 0 deletions(-)
10802 commit 75acb51a0940916f545f0ffba99ccf7669d0d745
10803 Author: Behdad Esfahbod <behdad@behdad.org>
10804 Date: Mon Aug 11 15:19:28 2008 -0400
10806 [configure.in] Post release version increment to 1.7.5
10808 configure.in | 2 +-
10809 1 files changed, 1 insertions(+), 1 deletions(-)
10811 commit 012a12a67b66f3809fa203f91ff8920936c25361
10812 Author: Behdad Esfahbod <behdad@behdad.org>
10813 Date: Mon Aug 11 13:54:55 2008 -0400
10815 [configure.in,NEWS] Release 1.7.4
10818 configure.in | 6 +++---
10819 2 files changed, 11 insertions(+), 3 deletions(-)
10821 commit b176b5c29d931bfab16601dcb89dd6b6728bc386
10822 Author: Behdad Esfahbod <behdad@behdad.org>
10823 Date: Mon Aug 11 15:06:10 2008 -0400
10825 [test/get-xrender-format.c] Don't fail if DISPLAY is not set
10827 test/get-xrender-format.c | 2 +-
10828 test/xlib-surface.c | 2 +-
10829 2 files changed, 2 insertions(+), 2 deletions(-)
10831 commit bbd5f03fd8b04b92c9f8f06a386894d88650c0b4
10832 Author: Behdad Esfahbod <behdad@behdad.org>
10833 Date: Mon Aug 11 14:28:00 2008 -0400
10835 [test/xlib-surface-source] Skip test if DISPLAY not set
10837 test/xlib-surface-source.c | 4 ++++
10838 1 files changed, 4 insertions(+), 0 deletions(-)
10840 commit 5d307b58b9a056ee866ea56305900f2eaa88441a
10841 Author: Behdad Esfahbod <behdad@behdad.org>
10842 Date: Mon Aug 11 13:54:39 2008 -0400
10844 [doc] More template changes. Donno why they keep changing.
10846 doc/public/tmpl/cairo-font-options.sgml | 18 +++++++++---------
10847 doc/public/tmpl/cairo-status.sgml | 4 ++--
10848 doc/public/tmpl/cairo-text.sgml | 24 ++++++++++++------------
10849 3 files changed, 23 insertions(+), 23 deletions(-)
10851 commit 2c53acea0bc474fb46310384da5df0b32a675181
10852 Author: Behdad Esfahbod <behdad@behdad.org>
10853 Date: Mon Aug 11 13:54:26 2008 -0400
10855 [src/Makefile.am] Include missing header file
10857 src/Makefile.am | 1 +
10858 1 files changed, 1 insertions(+), 0 deletions(-)
10860 commit 0e8afe87eca795be9e820ad73aed31deb1c0bf62
10861 Author: Behdad Esfahbod <behdad@behdad.org>
10862 Date: Mon Aug 11 13:09:46 2008 -0400
10864 [RELEASING] Mention git-shortlog
10866 RELEASING | 7 +++++--
10867 1 files changed, 5 insertions(+), 2 deletions(-)
10869 commit c6273564602e603d8caa59a7010ca5991ff1c03d
10870 Author: Behdad Esfahbod <behdad@behdad.org>
10871 Date: Mon Aug 11 12:12:32 2008 -0400
10873 [configure.in] Increment version to 1.7.3 post release
10875 configure.in | 2 +-
10876 1 files changed, 1 insertions(+), 1 deletions(-)
10878 commit 057a832f9e806f9321648e47ee314a62e82e6ba4
10879 Author: Behdad Esfahbod <behdad@behdad.org>
10880 Date: Mon Aug 11 03:28:32 2008 -0400
10882 [configure.in,NEWS] Release 1.7.2
10884 NEWS | 218 ++++++++++++++++++++++++++++++++++++++++++++++++---------
10885 configure.in | 6 +-
10886 2 files changed, 186 insertions(+), 38 deletions(-)
10888 commit 3dc2fc4cd953206313255b01aa382a8dbef50be1
10889 Author: Behdad Esfahbod <behdad@behdad.org>
10890 Date: Mon Aug 11 04:45:52 2008 -0400
10892 [doc] Update templates
10894 commit d266648276cbd293a5cfa82bdc323695517098d8
10895 Author: Chris Wilson <chris@chris-wilson.co.uk>
10896 Date: Mon Aug 11 08:40:22 2008 +0100
10898 [configure.in] Revert addition of MACRO_DIR()
10900 Without it we get a three line warning under Ubuntu. However, it just
10901 causes more problems than it is worth with older autoconf/automake.
10904 configure.in | 2 +-
10905 2 files changed, 1 insertions(+), 3 deletions(-)
10907 commit d073b6f1459cdc1584da1061b1f5d36c7981fbca
10908 Author: Behdad Esfahbod <behdad@behdad.org>
10909 Date: Mon Aug 11 01:58:32 2008 -0400
10911 [RELEASING] Update for cairo-features-win32.h
10914 1 files changed, 1 insertions(+), 1 deletions(-)
10916 commit 177729ba938d544e470625d519e9126023aac8d7
10917 Author: Behdad Esfahbod <behdad@behdad.org>
10918 Date: Mon Aug 11 01:54:21 2008 -0400
10920 [ChangeLog.mk] Revert 21ab44f11d3d20eead5d988c7a6cf48eebff08c7
10922 That commit made the ChangeLog regenration rule to depend on .git/HEAD,
10923 not .git/. However, the contents and timestamp of that file does not
10924 change when you commit something locally. Hence, ChangeLog could remain
10925 stale. Depending on .git/ does the job.
10927 ChangeLog.mk | 2 +-
10928 1 files changed, 1 insertions(+), 1 deletions(-)
10930 commit 650a6a32762576063069d9c87dd23d9d0f30ea09
10931 Author: Behdad Esfahbod <behdad@behdad.org>
10932 Date: Mon Aug 11 01:48:10 2008 -0400
10934 [RELEASING] Easier to see API diff than log
10937 1 files changed, 1 insertions(+), 1 deletions(-)
10939 commit 6e4ed9ce84ba98be3050e5a6b0da2c65cfdc75fc
10940 Author: Behdad Esfahbod <behdad@behdad.org>
10941 Date: Mon Aug 11 01:44:54 2008 -0400
10945 src/cairo-scaled-font-subsets-private.h | 4 ++--
10946 1 files changed, 2 insertions(+), 2 deletions(-)
10948 commit 591d5160f810656bf394306570ed5154e4285a37
10949 Author: Behdad Esfahbod <behdad@behdad.org>
10950 Date: Mon Aug 11 01:41:37 2008 -0400
10952 [RELEASING] Update for external pixman
10954 RELEASING | 6 +++---
10955 1 files changed, 3 insertions(+), 3 deletions(-)
10957 commit 549dd9adb53aff95640a3c113887f04aa8c8de65
10958 Author: Behdad Esfahbod <behdad@behdad.org>
10959 Date: Mon Aug 11 01:40:27 2008 -0400
10961 [test] Update ref image list
10963 test/Makefile.am | 7 ++++++-
10964 1 files changed, 6 insertions(+), 1 deletions(-)
10966 commit f2db80bf9ef5c454da77beeb263193d46f6b3d8c
10967 Author: Behdad Esfahbod <behdad@behdad.org>
10968 Date: Sun Aug 10 23:39:44 2008 -0400
10970 [gstate] Revert Check for NULL font_face in _cairo_gstate_set_font_face
10972 Revert commit b67d34e960fa07cfafb13e3a5b5b4a63cfb024d3.
10973 cairo_set_font_face() is documented to accept NULL to restore default
10974 font face. Revert commit that made it reject NULL.
10976 src/cairo-gstate.c | 5 +----
10977 1 files changed, 1 insertions(+), 4 deletions(-)
10979 commit e797f6791ec17b490e9cddf8eddc695ec1631e3c
10980 Author: Behdad Esfahbod <behdad@behdad.org>
10981 Date: Sun Aug 10 23:39:28 2008 -0400
10983 [test/Makefil.am] Cosmetic
10985 test/Makefile.am | 2 +-
10986 1 files changed, 1 insertions(+), 1 deletions(-)
10988 commit fef03ef98a116021a688d9f39b80844bc1c332e6
10989 Author: Chris Wilson <chris@chris-wilson.co.uk>
10990 Date: Sun Aug 10 08:31:19 2008 +0100
10992 [xlib] Check for depth == 0 in create_surface_internal().
10994 Validate that we find an appropriate depth for the Xlib surface, before
10995 attempting to create the surface. This was manifesting itself with
10996 XInitImage() failures during _draw_image_surface() (actually detected as
10997 a segmentation fault in XPutPixel() due to an incomplete XImage). So we
10998 also add a couple of asserts to ensure that XInitImage() is successful -
10999 which to the best of our knowledge, they should always be.
11001 src/cairo-xlib-surface.c | 87 +++++++++++++++++++++++++++------------------
11002 1 files changed, 52 insertions(+), 35 deletions(-)
11004 commit c014e51dc9288ca999b91ed078ee318bcd9fe4d1
11005 Author: Adrian Johnson <ajohnson@redneon.com>
11006 Date: Sun Aug 10 14:49:30 2008 +0930
11008 NEWS: Win32 font backend has been fixed
11011 1 files changed, 0 insertions(+), 3 deletions(-)
11013 commit ac2781ec0820e9352b28335e7d9553926d069ff2
11014 Author: Vladimir Vukicevic <vladimir@pobox.com>
11015 Date: Sun Aug 10 05:05:28 2008 -0700
11017 [dfb] fix crashes due to cached glyphs going away during operation
11019 src/cairo-directfb-surface.c | 73 +++++++++++++++++++++++++++++++-----------
11020 1 files changed, 54 insertions(+), 19 deletions(-)
11022 commit 7fbda72137d8685718a8e8fe1d3af5b1d377521c
11023 Author: Vladimir Vukicevic <vladimir@pobox.com>
11024 Date: Sun Aug 10 05:05:27 2008 -0700
11026 [dfb] optimize DirectFB blits
11028 boilerplate/cairo-boilerplate-directfb.c | 28 ++-
11029 src/cairo-directfb-surface.c | 399 +++++++++---------------------
11030 2 files changed, 140 insertions(+), 287 deletions(-)
11032 commit a097bafd287ae3ee5ed3677a83b31d8d9d225a0c
11033 Author: Vladimir Vukicevic <vladimir@pobox.com>
11034 Date: Sun Aug 10 05:05:27 2008 -0700
11036 [dfb] correctly handle case of 0 boxes in clip region
11038 src/cairo-directfb-surface.c | 2 ++
11039 1 files changed, 2 insertions(+), 0 deletions(-)
11041 commit a0cfd9962f5c7bbb047698d966923af30e9c3221
11042 Author: Vladimir Vukicevic <vladimir@slide.(none)>
11043 Date: Sun Aug 10 05:05:27 2008 -0700
11045 [dfb] Propagate clip correctly to surface returned from acquire_dest_image
11047 If the internal buffer is wrapped in an image surface in acquire_dest_image,
11048 that image surface needs the current clip region propagated to it. If not,
11049 then the clip needs to be applied at release_dest_image time.
11051 src/cairo-directfb-surface.c | 63 ++++++++++++++++++++++++++++++++++++------
11052 1 files changed, 54 insertions(+), 9 deletions(-)
11054 commit 71f010bb522dd9387d749703a170de026a3fa8d6
11055 Author: Vladimir Vukicevic <vladimir@slide.(none)>
11056 Date: Sun Aug 10 05:05:26 2008 -0700
11058 [dfb] convert RUN_CLIPPED macro to function with helpers
11060 This helps with debugging and prepares the way for some future
11063 src/cairo-directfb-surface.c | 241 ++++++++++++++++++++++++++++++++----------
11064 1 files changed, 186 insertions(+), 55 deletions(-)
11066 commit bc4635f07729d6a73054971f0e7ec04433f414da
11067 Author: Adrian Johnson <ajohnson@redneon.com>
11068 Date: Sun Aug 10 14:24:48 2008 +0930
11070 Update _cairo_scaled_font_subsets_map_glyph() docs
11072 src/cairo-scaled-font-subsets-private.h | 14 ++++++++++----
11073 1 files changed, 10 insertions(+), 4 deletions(-)
11075 commit 4c8317941815971f1d060243e1f6153df06866ca
11076 Author: Adrian Johnson <ajohnson@redneon.com>
11077 Date: Sun Aug 10 14:24:16 2008 +0930
11079 Win32-printing: Fix Type 1 font printing so fallback is not used
11081 Using glyph indices with Type 1 fonts on a printer DC does not work.
11082 Previously there was a temporary fix where Type 1 fonts were printed
11085 Now that _cairo_scaled_font_subsets_map_glyph() provides the reverse
11086 mapping of the glyph index fix this by converting the glyph indices
11087 back to the unicode values when printing Type 1 fonts.
11089 src/cairo-win32-printing-surface.c | 63 ++++++++++++++++++++++++++++++------
11090 src/cairo-win32-private.h | 1 +
11091 src/cairo-win32-surface.c | 22 ++++++++++++-
11092 3 files changed, 75 insertions(+), 11 deletions(-)
11094 commit b34c248b92b2d1544a23c20ecaa12f64792cb1d3
11095 Author: Adrian Johnson <ajohnson@redneon.com>
11096 Date: Sun Aug 10 14:18:52 2008 +0930
11098 Fix _cairo_sub_font_map_glyph() to return correct unicode value
11100 src/cairo-scaled-font-subsets.c | 8 ++++----
11101 1 files changed, 4 insertions(+), 4 deletions(-)
11103 commit d1c619bc7d51a8e96eaf391691bec142dbd34e0e
11104 Author: Adrian Johnson <ajohnson@redneon.com>
11105 Date: Sun Aug 10 14:17:01 2008 +0930
11107 win32-font: Make cairo_show_text() work again
11109 For now implement _ucs4_to_index() and leave _text_to_glyphs()
11112 src/cairo-win32-font.c | 34 ++++++++++++++++++++++++++++++++--
11113 1 files changed, 32 insertions(+), 2 deletions(-)
11115 commit e9933ba28cad1fc2219f145f5da47750b19acc7b
11116 Author: Behdad Esfahbod <behdad@behdad.org>
11117 Date: Fri Aug 8 17:12:07 2008 -0400
11119 [NEWS] Add some notes about recent happenings
11121 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
11122 1 files changed, 52 insertions(+), 0 deletions(-)
11124 commit 8f6e52b0681384a5188277641d700f0e80e2c202
11125 Author: Behdad Esfahbod <behdad@behdad.org>
11126 Date: Fri Aug 8 17:10:35 2008 -0400
11128 [doc] Add short user-font section docs
11130 doc/public/tmpl/cairo-user-fonts.sgml | 7 ++++++-
11131 1 files changed, 6 insertions(+), 1 deletions(-)
11133 commit 5227897b17d04fc6b8604d84847f85a1deb0c1f2
11134 Author: Behdad Esfahbod <behdad@behdad.org>
11135 Date: Fri Aug 8 17:06:21 2008 -0400
11137 Add note about zero-glyph clusters
11139 src/cairo.h | 3 +++
11140 1 files changed, 3 insertions(+), 0 deletions(-)
11142 commit 322c3ef7f94c67d00c6113d0b8ae92a82b67e8a4
11143 Author: Chris Wilson <chris@chris-wilson.co.uk>
11144 Date: Fri Aug 8 10:09:55 2008 +0100
11146 [.gitignore] Update list of tests
11148 test/.gitignore | 7 +++++++
11149 1 files changed, 7 insertions(+), 0 deletions(-)
11151 commit 893b50a98068fa3912c90c8b70c423a3da72a91c
11152 Author: Chris Wilson <chris@chris-wilson.co.uk>
11153 Date: Fri Aug 8 10:05:53 2008 +0100
11155 [test] Update reference image for leaky-dashed-rectangle.
11157 Bah, it seems someone fixed the code and the error lay in discrepancies
11158 with the antialiasing in the reference image.
11160 test/Makefile.am | 3 ++-
11161 test/leaky-dashed-rectangle-ps-ref.png | Bin 0 -> 444 bytes
11162 test/leaky-dashed-rectangle-ref.png | Bin 444 -> 366 bytes
11163 3 files changed, 2 insertions(+), 1 deletions(-)
11165 commit 49fb0e834ecf31ac61735e2e35a1b486d5290db6
11166 Author: Chris Wilson <chris@chris-wilson.co.uk>
11167 Date: Fri Aug 8 09:11:10 2008 +0100
11169 [matrix] Prefer a return parameter for _compute_determinant().
11171 Returning a double tends to be slightly more efficient than passing a
11172 pointer to fill, and is a lot easier to read.
11174 src/cairo-matrix.c | 13 ++++++-------
11175 src/cairo-path-stroke.c | 7 ++-----
11176 src/cairo-pen.c | 8 +-------
11177 src/cairoint.h | 4 ++--
11178 4 files changed, 11 insertions(+), 21 deletions(-)
11180 commit eabe572981e1e415171dbfde81c3bf94297355b4
11181 Author: Behdad Esfahbod <behdad@behdad.org>
11182 Date: Fri Aug 8 00:56:36 2008 -0400
11184 Document all new API
11186 Also validate clusters generated by font backends.
11188 doc/public/cairo-sections.txt | 5 +
11189 doc/public/tmpl/cairo-scaled-font.sgml | 18 +++
11190 doc/public/tmpl/cairo-text.sgml | 34 ++++++
11191 doc/public/tmpl/cairo-user-fonts.sgml | 5 +
11192 src/cairo-misc.c | 76 +++++++++++++-
11193 src/cairo-scaled-font.c | 182 +++++++++++++++++++++++++++++++-
11194 src/cairo.c | 135 +++++++++++++++---------
11195 src/cairo.h | 75 +++++++++++--
11196 src/cairoint.h | 17 +++
11197 9 files changed, 482 insertions(+), 65 deletions(-)
11199 commit 08e8a42ea149deea760b94b62d9690393ce7cfcd
11200 Author: Behdad Esfahbod <behdad@behdad.org>
11201 Date: Fri Aug 8 02:22:26 2008 -0400
11203 [test/user-font] Fix comments
11205 test/user-font.c | 4 ++--
11206 1 files changed, 2 insertions(+), 2 deletions(-)
11208 commit 38c5f0d49b2ce1a6146cbea5ec3376a52cac8e68
11209 Author: Behdad Esfahbod <behdad@behdad.org>
11210 Date: Fri Aug 8 02:18:25 2008 -0400
11212 [scaled-font-subsets] Fix UTF-8 mapping
11214 Prevously all show_text_glyphs() clusters were using ActualText. This
11217 I have a feeling that the following scenario is broken still though:
11219 - show_text_glyphs maps glyph 1 to some utf8 text different from
11220 what index_to_ucs4 will give for glyph 1. This will assign the
11221 utf8 text to glyph 1's ToUnicode.
11223 - show_glyphs shows glyph 1. Since cluster has no utf8 text, we
11224 won't use ActualText and fall back to ToUnicode. But the ToUnicode
11225 value assigned to glyph 1 is non-standard now. We should use
11228 I have not verified this hypothesis though.
11230 src/cairo-scaled-font-subsets.c | 9 +++++----
11231 1 files changed, 5 insertions(+), 4 deletions(-)
11233 commit bc4d363e9238da0908ce01d0c08c3f344bd9d34f
11234 Author: Behdad Esfahbod <behdad@behdad.org>
11235 Date: Fri Aug 8 01:27:41 2008 -0400
11237 [pdf-operators] Add note about clusters with no glyphs
11239 src/cairo-pdf-operators.c | 2 ++
11240 1 files changed, 2 insertions(+), 0 deletions(-)
11242 commit 1bc404e3460a32ba94b420725ecff25bda7a0c35
11243 Author: Behdad Esfahbod <behdad@behdad.org>
11244 Date: Fri Aug 8 01:27:12 2008 -0400
11246 Make utf8 handling in font subsets more consistent
11248 src/cairo-pdf-operators.c | 4 ++--
11249 src/cairo-scaled-font-subsets.c | 7 +++++--
11250 2 files changed, 7 insertions(+), 4 deletions(-)
11252 commit 849159ddd15b21b4feee05aebe82b3acfd94ba38
11253 Author: Behdad Esfahbod <behdad@behdad.org>
11254 Date: Fri Aug 8 00:54:54 2008 -0400
11256 [truetype] Fix gcc warning about possibly-infinite-loops
11258 src/cairo-truetype-subset.c | 11 ++++++-----
11259 1 files changed, 6 insertions(+), 5 deletions(-)
11261 commit 178789c37a2a6edaba14a453817b3f9338eab1bd
11262 Author: Behdad Esfahbod <behdad@behdad.org>
11263 Date: Fri Aug 8 00:52:47 2008 -0400
11265 [cairo-scaled-font-subsets] Make utf8 handling more robust
11267 src/cairo-scaled-font-subsets.c | 10 ++++------
11268 1 files changed, 4 insertions(+), 6 deletions(-)
11270 commit 597bfa922ae28ae4e7aa0ee72b856b5868799d4e
11271 Author: Behdad Esfahbod <behdad@behdad.org>
11272 Date: Thu Aug 7 22:48:38 2008 -0400
11274 [test/user-font] Document glyph-not-found situation
11276 test/user-font.c | 8 +++++---
11277 1 files changed, 5 insertions(+), 3 deletions(-)
11279 commit d9408041aa220c8a61e520de25bce9671ba4d0a9
11280 Author: Behdad Esfahbod <behdad@behdad.org>
11281 Date: Thu Aug 7 22:06:15 2008 -0400
11283 Add cairo_scaled_font_text_to_glyphs()
11285 And update user-font text_to_glyphs() method to match.
11287 Currently disable the win32-font text_to_glyphs(), until that one
11288 is updated. Or better yet, remove it and implement ucs4_to_index().
11289 It's the toy font API afterall.
11291 src/cairo-gstate.c | 35 ++++++---
11292 src/cairo-scaled-font.c | 183 +++++++++++++++++++++++++++++++++++++----------
11293 src/cairo-user-font.c | 38 +++++-----
11294 src/cairo-win32-font.c | 2 +-
11295 src/cairo.c | 59 +++++++++------
11296 src/cairo.h | 23 +++++-
11297 src/cairoint.h | 40 +++++-----
11298 test/user-font-proxy.c | 49 ++++++++++---
11299 8 files changed, 301 insertions(+), 128 deletions(-)
11301 commit b8fc845094e07ad2520a2c10f27c532bd3273720
11302 Author: Behdad Esfahbod <behdad@behdad.org>
11303 Date: Thu Aug 7 21:46:36 2008 -0400
11305 [cairo-scaled-font-subsets] Fix bug with utf8 handling
11307 src/cairo-scaled-font-subsets.c | 2 +-
11308 1 files changed, 1 insertions(+), 1 deletions(-)
11310 commit 6b3f6dc77abbc48d741b92cd62f93da68f00b9a2
11311 Author: Behdad Esfahbod <behdad@behdad.org>
11312 Date: Thu Aug 7 20:45:54 2008 -0400
11314 [unicode] Add _cairo_utf8_get_char_validated()
11316 src/cairo-unicode.c | 42 ++++++++++++++++++++++++++++++++++++++++--
11317 src/cairoint.h | 4 ++++
11318 2 files changed, 44 insertions(+), 2 deletions(-)
11320 commit 8c514a40b80e11cc904db3ce9ee353839321044e
11321 Author: Behdad Esfahbod <behdad@behdad.org>
11322 Date: Thu Aug 7 20:44:45 2008 -0400
11324 Add cairo_glyph/text_cluster_allocate/free
11326 These are needed by the upcoming cairo_scaled_font_text_to_glyphs()
11328 src/cairo-misc.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11329 src/cairo.h | 12 ++++++
11330 2 files changed, 116 insertions(+), 0 deletions(-)
11332 commit b01ad0835d25fbee91d037e4484ba652075ffb39
11333 Author: Behdad Esfahbod <behdad@behdad.org>
11334 Date: Thu Aug 7 15:44:11 2008 -0400
11336 [user-font] Add a cairo_t argument to cairo_user_scaled_font_init_func_t
11338 The init func does not actually need to draw anything, but having a cairo_t
11339 similar to that passed to render_glyph is handy for computing font extents.
11340 This is because cairo makes doing some things really hard (if not impossible)
11343 The user-font-proxy test case is a great example of how the added cairo_t
11344 makes life much easier.
11346 src/cairo-user-font.c | 44 ++++++++++++++++++++++++++------
11347 src/cairo.h | 8 ++++++
11348 test/user-font-proxy.c | 64 ++++++++++++++++++++++-------------------------
11349 test/user-font.c | 1 +
11350 4 files changed, 74 insertions(+), 43 deletions(-)
11352 commit d6ae23478ae6bde0714a50b2ed77e788f17cc03d
11353 Author: Behdad Esfahbod <behdad@behdad.org>
11354 Date: Thu Aug 7 15:43:21 2008 -0400
11356 Check for NULL pointer in cairo_set_scaled_font
11358 src/cairo.c | 5 +++++
11359 1 files changed, 5 insertions(+), 0 deletions(-)
11361 commit b67d34e960fa07cfafb13e3a5b5b4a63cfb024d3
11362 Author: Behdad Esfahbod <behdad@behdad.org>
11363 Date: Thu Aug 7 15:42:58 2008 -0400
11365 [gstate] Check for NULL font_face in _cairo_gstate_set_font_face
11367 src/cairo-gstate.c | 5 ++++-
11368 1 files changed, 4 insertions(+), 1 deletions(-)
11370 commit 7e57892983bbc639fe4a402a427b255e4d4ab746
11371 Author: Behdad Esfahbod <behdad@behdad.org>
11372 Date: Wed Aug 6 21:37:36 2008 -0400
11374 Add toy font constructor and getters
11378 cairo_toy_font_face_create()
11379 cairo_toy_font_face_get_family()
11380 cairo_toy_font_face_get_slant()
11381 cairo_toy_font_face_get_weight()
11383 doc/public/cairo-sections.txt | 4 +
11384 doc/public/tmpl/cairo-status.sgml | 2 +
11385 doc/public/tmpl/cairo-text.sgml | 38 +++++++
11386 src/cairo-font-face.c | 196 ++++++++++++++++++++++++++++++++++---
11387 src/cairo-gstate.c | 4 +-
11388 src/cairo-misc.c | 4 +
11389 src/cairo-surface.c | 2 +
11391 src/cairo.h | 24 +++++-
11392 src/cairoint.h | 10 +--
11393 test/.gitignore | 1 +
11394 test/Makefile.am | 3 +
11395 test/toy-font-face.c | 129 ++++++++++++++++++++++++
11396 test/user-font-proxy-pdf-ref.png | Bin 0 -> 10174 bytes
11397 test/user-font-proxy-ps-ref.png | Bin 8452 -> 7227 bytes
11398 test/user-font-proxy.c | 43 ++++----
11399 16 files changed, 421 insertions(+), 45 deletions(-)
11401 commit bca9a21e98c870cdb4695c9155517377757beaea
11402 Author: Behdad Esfahbod <behdad@behdad.org>
11403 Date: Wed Aug 6 20:40:23 2008 -0400
11405 [docs] Update private header list
11407 doc/public/Headers.mk | 1 +
11408 doc/public/Makefile.am | 1 +
11409 2 files changed, 2 insertions(+), 0 deletions(-)
11411 commit 4bb7388b65ea56287f877f8241caa7a189c0c519
11412 Author: Behdad Esfahbod <behdad@behdad.org>
11413 Date: Wed Aug 6 20:38:29 2008 -0400
11415 Remove unnecessary checks for CAIRO_STATUS_INVALID_STRING
11417 We check that all input text is valid UTF-8. Not sure why the code
11418 was being lenient to invalid strings.
11420 src/cairo-pdf-surface.c | 2 +-
11421 src/cairo-scaled-font-subsets.c | 4 ++--
11422 2 files changed, 3 insertions(+), 3 deletions(-)
11424 commit 5bac12252c79ea017457222b3cda2b82c8c33702
11425 Author: Chris Wilson <chris@chris-wilson.co.uk>
11426 Date: Fri Aug 8 01:47:36 2008 +0100
11428 [xlib] Free regions on failure.
11430 Fix leak of regions along error path.
11432 src/cairo-xlib-surface.c | 7 +++++--
11433 1 files changed, 5 insertions(+), 2 deletions(-)
11435 commit 16939e1a8623a3671bf5ce848841616a45f79df2
11436 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
11437 Date: Thu Aug 7 19:19:39 2008 -0400
11439 Center the group pattern transform around the device_transformed origin
11441 When popping a group, transform it by the ctm centered at the origin
11442 specified by the device_transform so that it ends up in the right place
11443 when we try to paint. This fixes the regressions caused by
11444 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5 as shown by the pdf backend.
11446 src/cairo.c | 12 +++++++++++-
11447 1 files changed, 11 insertions(+), 1 deletions(-)
11449 commit e8ddbd1a1425586eac0d40675127d529b7029ea1
11450 Author: Jeff Muizelaar <jrmuizel@jrmuizel-desktop.(none)>
11451 Date: Thu Aug 7 19:06:31 2008 -0400
11453 Add a test case showing the invariance of push/pop_group
11455 This shows the regressions caused by
11456 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5
11458 test/Makefile.am | 3 +
11459 test/clipped-group-ps-ref.png | Bin 0 -> 343 bytes
11460 test/clipped-group-ref.png | Bin 0 -> 350 bytes
11461 test/clipped-group.c | 96 +++++++++++++++++++++++++++++++++++++++++
11462 4 files changed, 99 insertions(+), 0 deletions(-)
11464 commit f916e2178b6f52e3b3600d100dfe75bfa4bf12cb
11465 Author: Chris Wilson <chris@chris-wilson.co.uk>
11466 Date: Thu Aug 7 23:54:25 2008 +0100
11468 [meta] Use the pre-computed device_transform_inverse.
11470 Avoid repeatedly inverting the same matrix by using the pre-computed
11473 src/cairo-meta-surface.c | 16 ++++++----------
11474 1 files changed, 6 insertions(+), 10 deletions(-)
11476 commit 523f7258014f9db421297d14804e71e1da9f9761
11477 Author: Chris Wilson <chris@chris-wilson.co.uk>
11478 Date: Thu Aug 7 22:00:30 2008 +0100
11480 [meta] Remove debugging assert.
11482 Remove an old assertion that no error occurred.
11484 src/cairo-meta-surface.c | 1 -
11485 1 files changed, 0 insertions(+), 1 deletions(-)
11487 commit 34eb420cc70f1d9df665d35dc9902a4313e7aace
11488 Author: Vladimir Vukicevic <vladimir@pobox.com>
11489 Date: Thu Aug 7 13:25:02 2008 -0700
11491 [misc] Remove trailing comma on enum
11493 src/cairoint.h | 2 +-
11494 1 files changed, 1 insertions(+), 1 deletions(-)
11496 commit afdf3917ee86a7d8ae17f556db96478682674a76
11497 Author: Chris Wilson <chris@chris-wilson.co.uk>
11498 Date: Wed Aug 6 09:19:02 2008 +0100
11500 [configure.in] Slight massage for recent Ubuntu autotools.
11502 Fix up a couple of minor complaints about possibly undefined macros,
11503 cached conditional values and suggested improvements.
11506 configure.in | 16 +++++++---------
11507 2 files changed, 9 insertions(+), 9 deletions(-)
11509 commit 7c1078b830ac7b88a56dd2afa5dc48234e3b6e84
11510 Author: Chris Wilson <chris@chris-wilson.co.uk>
11511 Date: Wed Aug 6 09:23:18 2008 +0100
11513 Check return from pixman_image_set_filter().
11515 Adding warn_unused_result to pixman detected a couple of instances where
11516 we abused the knowledge that the code currently can not fail, but in
11517 deference to its independent existence we should be more cautious.
11519 src/cairo-image-surface.c | 18 ++++++++++++++----
11520 src/cairo-pattern.c | 9 +++++++--
11521 2 files changed, 21 insertions(+), 6 deletions(-)
11523 commit 56619a16ddc6add30b4a5c51ce02d7030752429f
11524 Author: Chris Wilson <chris@chris-wilson.co.uk>
11525 Date: Thu Aug 7 08:25:37 2008 +0100
11527 [cairo-surface] Use the pre-computed device_transform_inverse.
11529 Avoid inverting the device_transform when copying the pattern for the
11530 destination surface by using the pre-computed inverse.
11532 src/cairo-surface.c | 11 ++---------
11533 1 files changed, 2 insertions(+), 9 deletions(-)
11535 commit 6a4ddb6f47c552f416e6dec069eb57ebe16005fd
11536 Author: Chris Wilson <chris@chris-wilson.co.uk>
11537 Date: Wed Aug 6 13:45:08 2008 +0100
11539 [pattern] Set the reference count for stack allocations to 0.
11541 Keep the reference count as zero for temporary, on-stack patterns in
11542 order to detect attempts to keep references beyond their scope. (And
11543 mismatched _init()/_destroy()).
11545 src/cairo-pattern.c | 16 +++++++++++++---
11546 1 files changed, 13 insertions(+), 3 deletions(-)
11548 commit ae7bdd7ee0642c5b0f2e1ea3dabf38e79cf18c0b
11549 Author: Chris Wilson <chris@chris-wilson.co.uk>
11550 Date: Wed Aug 6 13:00:21 2008 +0100
11552 [valgrind] More suppressions for XrmGetStringDatabase().
11554 Another variation in the callstack needs suppressing.
11556 test/.valgrind-suppressions | 32 ++++++++++++++++++++++++++++++++
11557 1 files changed, 32 insertions(+), 0 deletions(-)
11559 commit 64ba6c74dbc5464da3093867b4f26166da7fbaff
11560 Author: Behdad Esfahbod <behdad@behdad.org>
11561 Date: Wed Aug 6 18:37:03 2008 -0400
11563 Fix Ubuntu-specific issue with FC_LCD_NONE et al
11565 No idea if Ubuntu will ever learn not to modify public API of
11566 common libraries without any clue of what kind of problems they
11567 create by doing that. They could very well define
11568 FC_UBUNTU_LCD_FILTER if they wanted to, but no, they defined
11569 FC_LCD_FILTER as if it's an upstream thing. It wasn't.
11571 src/cairo-ft-font.c | 3 +++
11572 src/cairo-xlib-screen.c | 3 +++
11573 2 files changed, 6 insertions(+), 0 deletions(-)
11575 commit 1dc0f3a1ad2cfa7f910e4a729943fbddbb90637d
11576 Author: Behdad Esfahbod <behdad@behdad.org>
11577 Date: Wed Aug 6 02:14:59 2008 -0400
11579 [test/user-font] Document that Poppler is buggy with glyph 0
11581 test/user-font.c | 2 +-
11582 1 files changed, 1 insertions(+), 1 deletions(-)
11584 commit 0ec6c9ca6210649006e40d031a118c4c7ef437ea
11585 Author: Chris Wilson <chris@chris-wilson.co.uk>
11586 Date: Wed Aug 6 11:11:24 2008 +0100
11588 [pdf] Propagate status from emit_glyph()
11590 Propagate the error status from _cairo_pdf_operators_emit_glyph().
11592 src/cairo-pdf-operators.c | 9 ++++++---
11593 1 files changed, 6 insertions(+), 3 deletions(-)
11595 commit 2dfee9986c739b2fdadf551dd71e104df332b2b8
11596 Author: Chris Wilson <chris@chris-wilson.co.uk>
11597 Date: Wed Aug 6 10:51:34 2008 +0100
11599 [pdf] Fixup a couple of inverted tests.
11601 Check for NULL returns from malloc, instead of reporting errors and
11602 leaking on success.
11604 src/cairo-pdf-surface.c | 6 +++---
11605 1 files changed, 3 insertions(+), 3 deletions(-)
11607 commit 7ffd8bbcb0078fe305a6bc7a37f809c0c6e1011a
11608 Author: Chris Wilson <chris@chris-wilson.co.uk>
11609 Date: Wed Aug 6 00:36:47 2008 +0100
11611 [cairo-font-options] Add private alias for set_lcd_filter()
11613 check-plt was rightfully claiming about an internal use of a public
11614 symbol, so add the missing private alias.
11616 src/cairo-font-options.c | 1 +
11617 src/cairoint.h | 1 +
11618 2 files changed, 2 insertions(+), 0 deletions(-)
11620 commit 221599ab0fc1a2fa878659fe5bef88104e56a07c
11621 Author: Behdad Esfahbod <behdad@behdad.org>
11622 Date: Tue Aug 5 16:30:02 2008 -0400
11624 Finish off lcd-filter merge
11626 configure.in | 2 +-
11627 doc/public/tmpl/cairo-font-options.sgml | 29 ++++++++++++++++++
11628 doc/public/tmpl/cairo-text.sgml | 2 +
11629 src/cairo-font-options.c | 4 ++
11630 src/cairo-ft-font.c | 48 ++++++++++++++++++++----------
11632 6 files changed, 70 insertions(+), 17 deletions(-)
11634 commit 19b36fb88757e34e8340de175f3723e882b92de7
11635 Author: Behdad Esfahbod <behdad@behdad.org>
11636 Date: Tue Aug 5 14:54:55 2008 -0400
11640 src/Makefile.win32 | 32 ++++++++++++++++----------------
11641 1 files changed, 16 insertions(+), 16 deletions(-)
11643 commit 65d017a4063242d221365371301e1aab5b3c6299
11644 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11645 Date: Tue Aug 5 13:52:13 2008 +0200
11647 Add tests for the new LCD filter API
11649 test/Makefile.am | 4 ++
11650 test/font-options.c | 6 ++-
11651 test/text-antialias-subpixel-ref.png | Bin 1121 -> 974 bytes
11652 test/text-antialias-subpixel.c | 1 +
11653 test/text-lcd-filter-fir3-ref.png | Bin 0 -> 974 bytes
11654 test/text-lcd-filter-fir3.c | 85 ++++++++++++++++++++++++++++++
11655 test/text-lcd-filter-fir5-ref.png | Bin 0 -> 974 bytes
11656 test/text-lcd-filter-fir5.c | 85 ++++++++++++++++++++++++++++++
11657 test/text-lcd-filter-intra-pixel-ref.png | Bin 0 -> 974 bytes
11658 test/text-lcd-filter-intra-pixel.c | 85 ++++++++++++++++++++++++++++++
11659 test/text-lcd-filter-none-ref.png | Bin 0 -> 974 bytes
11660 test/text-lcd-filter-none.c | 85 ++++++++++++++++++++++++++++++
11661 12 files changed, 350 insertions(+), 1 deletions(-)
11663 commit 45ec5e77bb26b0f93b0b1e11bd3055e8c9611111
11664 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11665 Date: Wed Jan 23 00:05:00 2008 +0100
11667 Add symbols for setting the LCD filter type on font options
11669 doc/public/cairo-sections.txt | 3 +++
11670 1 files changed, 3 insertions(+), 0 deletions(-)
11672 commit a0cad6c398f5e30e3d10fb19fe51d4266b1c0b4c
11673 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11674 Date: Wed Jan 23 00:03:01 2008 +0100
11676 [cairo-ft] Interaction with Fontconfig to deal with the LCD filter type
11678 src/cairo-ft-font.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++-
11679 1 files changed, 71 insertions(+), 1 deletions(-)
11681 commit f64cf7fb098e8c9be8a454d4675e6a8b7fd22589
11682 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11683 Date: Wed Jan 23 00:00:53 2008 +0100
11685 [cairo-xlib] Support to retrieve the LCD filter type from the Xrm database
11687 src/cairo-xlib-screen.c | 28 ++++++++++++++++++++++++++++
11688 1 files changed, 28 insertions(+), 0 deletions(-)
11690 commit 28d18f3f936988483a47dd30f55ee2403bc006c3
11691 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11692 Date: Tue Jan 22 23:59:36 2008 +0100
11694 [cairo-ft] Fontconfig defines for LCD constants when using Fontconfig < 2.6
11696 This adds define for compatibility when without the new lcd filtering
11697 constants (Fontconfig patch not yet applied, see bug 13566).
11699 src/cairo-ft-font.c | 9 +++++++++
11700 src/cairo-xlib-screen.c | 9 +++++++++
11701 2 files changed, 18 insertions(+), 0 deletions(-)
11703 commit 0013f2c2696146e71f043437a4727a1b18706b09
11704 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11705 Date: Tue Jan 22 23:57:32 2008 +0100
11707 Add lcd filter type to the public API and font options
11709 New struct cairo_lcd_filter_t and new functions
11710 cairo_font_options_set_lcd_filter
11711 cairo_font_options_get_lcd_filter
11713 src/cairo-font-options.c | 47 ++++++++++++++++++++++++++++++++++++++++++++-
11714 src/cairo-types-private.h | 1 +
11715 src/cairo.h | 26 ++++++++++++++++++++++++
11716 3 files changed, 73 insertions(+), 1 deletions(-)
11718 commit 4b5e0ba7200159f732c815bea616367fc851f245
11719 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11720 Date: Tue Jan 22 23:53:17 2008 +0100
11722 [cairo-ft] LCD filtering patch coding style corrections
11724 src/cairo-ft-font.c | 493 ++++++++++++++++++++++++--------------------------
11725 1 files changed, 237 insertions(+), 256 deletions(-)
11727 commit 7f870035177da7aa63fa33dce837528f442d9ffe
11728 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
11729 Date: Tue Jan 22 23:51:32 2008 +0100
11731 [cairo-ft] LCD filtering patch from David Turner
11733 This is the patch David Turner wrote some times ago and can be found on
11734 http://david.freetype.org/lcd/cairo-1.2.4-lcd-filter-1.patch. It was
11735 somewhat modified for compatibility with cairo 1.5
11737 src/cairo-ft-font.c | 592 +++++++++++++++++++++++++++++++++++----------------
11738 1 files changed, 404 insertions(+), 188 deletions(-)
11740 commit acdc306905b4a39911fd58e9d72aa3db5e1b8760
11741 Author: Vladimir Vukicevic <vladimir@pobox.com>
11742 Date: Tue Aug 5 13:16:17 2008 -0700
11744 [win32] Adding cairo-features-win32.h to EXTRA_DIST
11746 src/Makefile.am | 2 +-
11747 1 files changed, 1 insertions(+), 1 deletions(-)
11749 commit 924a242f89ab1d86750512c8e4ee367c270ee07a
11750 Author: Vladimir Vukicevic <vladimir@pobox.com>
11751 Date: Tue Aug 5 12:57:51 2008 -0700
11753 [win32] Update win32 build, remove gcc dependency
11755 Makefile.win32 | 13 ++++++++++---
11756 src/Makefile.win32 | 20 ++++----------------
11757 src/cairo-features-win32.h | 40 ++++++++++++++++++++++++++++++++++++++++
11758 3 files changed, 54 insertions(+), 19 deletions(-)
11760 commit e1132d434e329c625667f6aff30634522108241e
11761 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
11762 Date: Wed Jul 30 13:05:01 2008 -0700
11764 Make cairo_scaled_font_glyph_extents() unconditionally zero the extents
11766 This makes cairo_scaled_font_glyph_extents() match a similar pattern of
11767 initialization in cairo_glyph_extents(). It also fixes the 'text-zero-len' test
11768 that was broken by 676b221326cacdd205c225bba8ac43378b4abb81.
11770 src/cairo-scaled-font.c | 16 ++++++++--------
11771 1 files changed, 8 insertions(+), 8 deletions(-)
11773 commit d560a3d96563d681f5c0d8ebea0d255ac35bbc99
11774 Author: Peter Weilbacher <mozilla@Weilbacher.org>
11775 Date: Fri Jul 25 11:19:11 2008 -0400
11779 src/cairo-os2-surface.c | 2 +-
11780 1 files changed, 1 insertions(+), 1 deletions(-)
11782 commit ba95b9dee8e6daddbeb0660d920c7b46801edc80
11783 Author: Behdad Esfahbod <behdad@behdad.org>
11784 Date: Mon Jul 21 16:34:10 2008 -0400
11786 [cairo-ft] Use FcFreeTypeCharIndex instead of FT_Get_Char_Index
11788 src/cairo-ft-font.c | 6 +++++-
11789 1 files changed, 5 insertions(+), 1 deletions(-)
11791 commit bc42989501e8e604cbf8eb5348d4eb86d5a7cc4b
11792 Author: Behdad Esfahbod <behdad@behdad.org>
11793 Date: Mon Jul 21 16:29:57 2008 -0400
11795 [configure.in] Cosmetic
11797 configure.in | 4 ++++
11798 1 files changed, 4 insertions(+), 0 deletions(-)
11800 commit 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5
11801 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
11802 Date: Mon Jul 21 22:24:42 2008 -0400
11804 Fix scaling with a device offset
11806 Apply the device offset transformation to the pattern before the ctm one.
11809 src/cairo-gstate.c | 5 +++--
11810 1 files changed, 3 insertions(+), 2 deletions(-)
11812 commit 3074ba02a1c7ebdef45f7514f2e9505fc664ae6e
11813 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
11814 Date: Mon Jul 21 22:08:46 2008 -0400
11816 Add a test for scaling a surface with device offset.
11818 test/Makefile.am | 2 +
11819 test/device-offset-scale-ref.png | Bin 0 -> 145 bytes
11820 test/device-offset-scale.c | 81 ++++++++++++++++++++++++++++++++++++++
11821 3 files changed, 83 insertions(+), 0 deletions(-)
11823 commit 96c9e2a1a8c96b22fe1ae1fb76e5885003148b68
11824 Author: Vladimir Vukicevic <vladimir@pobox.com>
11825 Date: Fri Jul 18 15:55:11 2008 -0700
11827 Fix cairo-quartz-image-surface compilation error
11829 src/cairo-quartz-image-surface.c | 10 +++++-----
11830 1 files changed, 5 insertions(+), 5 deletions(-)
11832 commit ec9337697ea8d9fb10576c42ef2c29ff27636f86
11833 Author: Carl Worth <cworth@cworth.org>
11834 Date: Thu Jul 17 19:31:11 2008 -0700
11836 cairo.h: Remove trailing comma in enumeration
11839 1 files changed, 1 insertions(+), 1 deletions(-)
11841 commit 5284f8cab488c12db0ff0b12a4485072138b8008
11842 Author: Frederic Plourde <frederic.plourde@polymtl.ca>
11843 Date: Thu Jul 17 13:56:22 2008 -0700
11845 [win32] Make cairo-perf-diff run on win32
11847 perf/Makefile.win32 | 4 +++
11848 perf/README | 21 +++++++++++++++
11849 perf/cairo-perf-diff | 6 +++-
11850 perf/cairo-perf-diff-files.c | 56 ++++++++++++++++++++++++++++++++++++++++-
11851 4 files changed, 84 insertions(+), 3 deletions(-)
11853 commit d61c7df1c0f9c69b0022c58efd001855551af7dd
11854 Author: Vladimir Vukicevic <vladimir@pobox.com>
11855 Date: Wed Jul 9 13:20:53 2008 -0700
11857 [quartz] Take snapshot instead of using CGImageCreateCopy
11859 CGImageCreateCopy doesn't copy the data provider, so it's possible to
11860 free the data underneath an image without snapshotting it first.
11862 src/cairo-quartz-surface.c | 30 +++++++++++++++++++++---------
11863 1 files changed, 21 insertions(+), 9 deletions(-)
11865 commit e534b0bed1bcf19017f76ee3a15bb26f42717b50
11866 Author: Vladimir Vukicevic <vladimir@pobox.com>
11867 Date: Wed Jul 9 13:06:23 2008 -0700
11869 [quartz] Protect against NULL from CGFontGetHMetricsPtr
11871 Seems to happen on 10.4 only for unknown reasons. Protect against a crash at least.
11873 src/cairo-quartz-font.c | 6 ++++++
11874 1 files changed, 6 insertions(+), 0 deletions(-)
11876 commit 7127089fe67690db997f86fd89b71820aa4fcdf0
11877 Author: Adrian Johnson <ajohnson@redneon.com>
11878 Date: Tue Jul 8 22:46:04 2008 +0930
11880 PDF/PS: Remember the current line style
11882 So we don't need to emit line style parameters that are already set.
11884 src/cairo-pdf-operators-private.h | 13 ++++++++++
11885 src/cairo-pdf-operators.c | 48 ++++++++++++++++++++++++++----------
11886 2 files changed, 47 insertions(+), 14 deletions(-)
11888 commit 837bf73f082f3bb0158b57cf7c456380531853b3
11889 Author: Adrian Johnson <ajohnson@redneon.com>
11890 Date: Tue Jul 8 22:00:15 2008 +0930
11892 Add PDF operators function to reset any remembered state
11894 src/cairo-pdf-operators-private.h | 3 +++
11895 src/cairo-pdf-operators.c | 15 +++++++++++++++
11896 src/cairo-pdf-surface.c | 4 ++++
11897 src/cairo-ps-surface.c | 5 +++++
11898 4 files changed, 27 insertions(+), 0 deletions(-)
11900 commit 9b302fac63e461d2239435d058c5a114b8aa21a7
11901 Author: Adrian Johnson <ajohnson@redneon.com>
11902 Date: Tue Jul 8 21:51:41 2008 +0930
11904 PDF: Oops - turn compression back on
11906 src/cairo-pdf-surface.c | 2 +-
11907 1 files changed, 1 insertions(+), 1 deletions(-)
11909 commit 50eb1e71f3199922f50992e53f045614177365f8
11910 Author: Adrian Johnson <ajohnson@redneon.com>
11911 Date: Tue Jul 8 21:36:19 2008 +0930
11913 PS: Ensure the color is re-emitted after resetting the clip path
11915 because the graphics state has been restored.
11917 src/cairo-ps-surface.c | 2 ++
11918 1 files changed, 2 insertions(+), 0 deletions(-)
11920 commit b082c15df649467e2bd51535802f27c762eee257
11921 Author: Adrian Johnson <ajohnson@redneon.com>
11922 Date: Tue Jul 8 21:18:45 2008 +0930
11924 PDF: Don't use a Form dictionary for the content stream
11926 because pdfTeX (and maybe other PDF consumers) can not handle it.
11928 Previously the content stream was an Form dictionary because at the
11929 time the content is written it is not known whether the content stream
11930 will be belong to the page or be an XObject in a knockout group. With
11931 the additional of the paginated surface function
11932 set_fallback_images_required() this information is now known at the
11933 time the content is emitted.
11935 src/cairo-pdf-surface.c | 21 ++++++++++++++++-----
11936 1 files changed, 16 insertions(+), 5 deletions(-)
11938 commit 4fcdc364cd3f9d7d5cd8026adac23a651b608781
11939 Author: Adrian Johnson <ajohnson@redneon.com>
11940 Date: Tue Jul 8 21:12:54 2008 +0930
11942 Add paginated surface backend function _set_fallback_images_required
11944 src/cairo-paginated-private.h | 8 ++++++++
11945 src/cairo-paginated-surface.c | 9 +++++++++
11946 2 files changed, 17 insertions(+), 0 deletions(-)
11948 commit 0c05aa60f5bfa4b6f280aedec684c20aed793a90
11949 Author: Adrian Johnson <ajohnson@redneon.com>
11950 Date: Tue Jul 8 21:12:28 2008 +0930
11952 PDF: Limit precision of Td operands
11954 As the translation is in text space, the full precision of a double
11955 for numbers close to zero is not required. Limit the precision to the
11956 same as for numbers > 1.
11958 src/cairo-pdf-operators.c | 6 ++++++
11959 1 files changed, 6 insertions(+), 0 deletions(-)
11961 commit d5c7b87ca989d3b4b5faeafc6e579b6c63d1e8dc
11962 Author: Adrian Johnson <ajohnson@redneon.com>
11963 Date: Tue Jul 8 20:57:57 2008 +0930
11965 PDF: Ensure clip is not emitted outside of stream
11967 Sylvain Munaut discovered a bug in
11968 _cairo_pdf_surface_emit_meta_surface() where the clip may be emitted
11969 after the stream is closed. Fix this by moving the call to
11970 _cairo_surface_set_clip() to before the stream is closed.
11972 src/cairo-pdf-surface.c | 9 +++++----
11973 1 files changed, 5 insertions(+), 4 deletions(-)
11975 commit 130cd29a700c858ef3c8a839479bd02b70403569
11976 Author: Adrian Johnson <ajohnson@redneon.com>
11977 Date: Tue Jul 8 20:55:38 2008 +0930
11979 PDF: remove meta surface group clean
11981 The group that was being cleaned up was removed in
11982 099810b6c39cc6b5529f740282b64185cf56c8d7
11984 src/cairo-pdf-surface.c | 7 +++----
11985 1 files changed, 3 insertions(+), 4 deletions(-)
11987 commit fe7973d60a53b5c7465fd616c515f8fc1ac6cb12
11988 Author: Chris Wilson <chris@chris-wilson.co.uk>
11989 Date: Sun Jul 6 15:15:15 2008 +0100
11991 [cairo-scaled-font-subsets] Fix memleak.
11993 Valgrind reported that sub_font_glyph->utf8 was not being freed along
11994 with the cairo_sub_font_glyph_t.
11996 src/cairo-scaled-font-subsets.c | 3 +++
11997 1 files changed, 3 insertions(+), 0 deletions(-)
11999 commit 07b39ee3c0f053598fdebdd160dc881566ad7fcd
12000 Author: Chris Wilson <chris@chris-wilson.co.uk>
12001 Date: Sun Jul 6 15:14:22 2008 +0100
12003 [cairo-scaled-font-subsets] Fix use of unitialised variable.
12005 Valgrind reported that pdf-operators tried to use an uninitialised
12006 subset_glyph->utf8_is_mapped.
12008 src/cairo-scaled-font-subsets.c | 1 +
12009 1 files changed, 1 insertions(+), 0 deletions(-)
12011 commit f92131c38a21a15a5adfbc831cf6eea7a749714d
12012 Author: Adrian Johnson <ajohnson@redneon.com>
12013 Date: Sat Jul 5 16:23:43 2008 +0930
12015 PS: Remember current color
12017 This allows PDF operators to merge text strings together when they are
12018 all the same color.
12020 src/cairo-ps-surface-private.h | 6 ++++++
12021 src/cairo-ps-surface.c | 34 +++++++++++++++++++++++++++++++---
12022 2 files changed, 37 insertions(+), 3 deletions(-)
12024 commit dac22cf2b9541c1da72e12a1fb66c5a58775f3b3
12025 Author: Adrian Johnson <ajohnson@redneon.com>
12026 Date: Sat Jul 5 16:22:35 2008 +0930
12028 PDF: Fix glyph positioning bug in Tj operator
12030 Previously this was not correctly checking the position of the first
12031 glyph and falling back to using TJ if the glyph was not at the the
12032 standard glyph advance.
12034 src/cairo-pdf-operators.c | 2 +-
12035 1 files changed, 1 insertions(+), 1 deletions(-)
12037 commit c9c4b0eded58e44e527806f24aa76e7874fb2111
12038 Author: Adrian Johnson <ajohnson@redneon.com>
12039 Date: Sat Jul 5 16:19:30 2008 +0930
12041 PDF: Fix glyph positioning bug in TJ operator
12043 Previously this was not correctly positioning the first glyph in a TJ
12044 string if the glyph was not at the the standard glyph advance.
12046 src/cairo-pdf-operators.c | 3 +--
12047 1 files changed, 1 insertions(+), 2 deletions(-)
12049 commit 0f748df6705731b94204d6dd0c903e18f1d4a8a5
12050 Author: Adrian Johnson <ajohnson@redneon.com>
12051 Date: Sat Jul 5 16:14:31 2008 +0930
12053 PS: Remember position when changing font
12055 Previously the PS emulation of the PDF operators would change the
12056 current position to the text line matrix instead of the the text
12057 matrix when changing the font.
12059 src/cairo-ps-surface.c | 18 ++++++++++--------
12060 1 files changed, 10 insertions(+), 8 deletions(-)
12062 commit 1c729f85edf967d086eeb85b9222466087e70da4
12063 Author: Behdad Esfahbod <behdad@behdad.org>
12064 Date: Thu Jul 3 19:15:53 2008 -0400
12066 [cairo-pattern] Fix crash in solid-pattern-surface cache
12068 Ickle knew something when he only extended cache size when we are
12069 committed to inserting something into the cache. I broke that while
12070 fixing other issues a while ago. This cache just doesn't want to
12071 give us any rest...
12073 src/cairo-pattern.c | 7 +++----
12074 1 files changed, 3 insertions(+), 4 deletions(-)
12076 commit 7c9536b653c062884e2a389d6d3428c42b86aae2
12077 Author: Behdad Esfahbod <behdad@behdad.org>
12078 Date: Thu Jul 3 18:05:27 2008 -0400
12080 [analysis-surface] Fix crashers introduced in my previous commit
12084 src/cairo-analysis-surface.c | 4 ++--
12085 1 files changed, 2 insertions(+), 2 deletions(-)
12087 commit 37ed55acef5ff9d6d053cfb76af8bdcd1f91edd5
12088 Author: Adrian Johnson <ajohnson@redneon.com>
12089 Date: Thu Jul 3 20:27:50 2008 +0930
12091 Add missing status checks
12093 src/cairo-pdf-operators.c | 5 +++++
12094 1 files changed, 5 insertions(+), 0 deletions(-)
12096 commit 85de817e097c83136fdf827c9202416c02d72bbb
12097 Author: Behdad Esfahbod <behdad@behdad.org>
12098 Date: Wed Jul 2 19:21:50 2008 -0400
12100 [analysis-surface] Fallback between show_glyphs and show_text_glyphs
12102 This is needed because analysis-surface takes any UNSUPPORTED returns
12103 as a signal for using image fallbacks. So the fallback mechanism in
12104 _cairo_surface_show_text_glyphs() is not enough. Reported by Adrian
12107 src/cairo-analysis-surface.c | 47 ++++++++++++++++++++++++++++++-----------
12108 src/cairo-surface.c | 8 ++++--
12109 2 files changed, 39 insertions(+), 16 deletions(-)
12111 commit d19d9b414946f668f0c073f39bc5e413cabdb069
12112 Author: Behdad Esfahbod <behdad@behdad.org>
12113 Date: Mon Jun 30 22:13:44 2008 -0400
12115 [cairo-pdf-operators] Fix backward cluster iteration
12117 It's trickier than it appears...
12119 There still remains the question of whether the loop should iterate
12120 utf8 forward and glyphs backward (as it does now), or iterate glyphs
12121 forward and utf8 backward.
12123 Doing utf8 forward has the benefit that glyphs appear in the PDF stream
12124 in the logical order of text. That may be a good thing.
12126 Doing glyphs forward has the benefit of most glyphs taking their natural
12127 width, providing for a more compact PDF output.
12129 Firefox 3 currently calls cairo_show_glyphs() with glyphs going
12130 right-to-left for RTL runs. That's like going utf8 forward.
12132 On the other hand, if we are fine doing glyphs backward, then we may as
12133 well remove the "backward" flag and ask callers of show_text_glyphs to
12134 produce glyph array going right to left for RTL runs. The idea behind
12135 having a backward flag in the first place was to allow keeping utf8 in
12136 logical order and glyphs in visual left-to-right order. If we don't
12137 do that in practice, there's no point in having the flag. Another design
12138 idea of the flag was to mark right-to-left runs explicitly so the backend
12139 can use this information. In that case we probably better rename it to
12140 "rtl" as the current semantics make it perfectly fine to set a LTR segment
12141 with backward flag on: just revers the glyph array...
12143 Anyway, the way to determine the right thing to do is to see how Acrobat
12144 extracts text for RTL text in logical vs visual order. Then we can decide
12145 what to do in the PDF backend and whether the flag is worth keeping.
12146 Going to experiment with that.
12148 src/cairo-pdf-operators.c | 8 ++++----
12149 1 files changed, 4 insertions(+), 4 deletions(-)
12151 commit c29029ce436709fc3f3ce651a92eebcee11f3203
12152 Author: Behdad Esfahbod <behdad@behdad.org>
12153 Date: Mon Jun 30 22:11:48 2008 -0400
12155 Remove _cairo_surface_show_glyphs() in favor of _cairo_surface_show_text_glyphs()
12157 src/cairo-paginated-surface.c | 43 ++--------------------------------
12158 src/cairo-surface.c | 22 +----------------
12159 src/cairoint.h | 8 ------
12160 src/test-meta-surface.c | 50 +++++++++++++++++++++++++++++-----------
12161 src/test-paginated-surface.c | 51 ++++++++++++++++++++++++++++++----------
12162 5 files changed, 79 insertions(+), 95 deletions(-)
12164 commit 17a5f10f5342ae6b946ad7491f6656a43df66aa3
12165 Author: Behdad Esfahbod <behdad@behdad.org>
12166 Date: Sun Jun 29 15:00:10 2008 -0400
12168 [show_text_glyphs] Allow clusters with zero text
12170 As Adrian points out, PDF can handle it, and it doesn't harm allowing.
12172 src/cairo.c | 9 +++++++--
12173 1 files changed, 7 insertions(+), 2 deletions(-)
12175 commit 686fa2600d25a2f69762b85435ce7f3a9907533b
12176 Author: Behdad Esfahbod <behdad@behdad.org>
12177 Date: Sun Jun 29 13:56:14 2008 -0400
12179 [PDF] Remove show_glyphs that was a wrapper to show_text_glyphs
12181 The cairo-surface layer already does that itself. Just set show_glyphs
12184 src/cairo-pdf-surface.c | 21 +--------------------
12185 1 files changed, 1 insertions(+), 20 deletions(-)
12187 commit 6227d808446a0212d3872be9d09d67e3ce644cd3
12188 Author: Chris Wilson <chris@chris-wilson.co.uk>
12189 Date: Sun Jun 29 14:32:17 2008 +0100
12191 [cairo-scaled-font-subsets] And free the allocated memory on failure.
12193 Why, oh why, did I only spot this when reading cairo-commit?
12195 src/cairo-scaled-font-subsets.c | 8 +++++++-
12196 1 files changed, 7 insertions(+), 1 deletions(-)
12198 commit c394b72ee99882882897776115b007f40a96fe95
12199 Author: Chris Wilson <chris@chris-wilson.co.uk>
12200 Date: Sun Jun 29 13:16:10 2008 +0100
12202 [cairo-scaled-font] Suppress compiler warning about unused variables.
12204 Use _cairo_error_throw() for the cases where we cannot propagate the
12207 src/cairo-scaled-font.c | 4 ++--
12208 1 files changed, 2 insertions(+), 2 deletions(-)
12210 commit 5b7903d5a75b10c924c91654e22a78650796ae63
12211 Author: Chris Wilson <chris@chris-wilson.co.uk>
12212 Date: Sun Jun 29 13:09:17 2008 +0100
12214 [cairo-scaled-font-subsets] Add missing malloc check.
12216 A minor oversight in d77b04fd0635c1648bb024b5308b715c220e1e74.
12218 src/cairo-scaled-font-subsets.c | 2 +-
12219 1 files changed, 1 insertions(+), 1 deletions(-)
12221 commit 22facbe66e5fd72c6c5ce780d3699fe7a63dc7fb
12222 Author: Adrian Johnson <ajohnson@redneon.com>
12223 Date: Sun Jun 29 19:55:41 2008 +0930
12225 Add show_text_glyphs to PDF surface
12227 src/cairo-pdf-surface-private.h | 5 ++
12228 src/cairo-pdf-surface.c | 97 +++++++++++++++++++++++++++++++-------
12229 2 files changed, 84 insertions(+), 18 deletions(-)
12231 commit 770b7c9a74e3497692020255686c5c5b4e38001e
12232 Author: Adrian Johnson <ajohnson@redneon.com>
12233 Date: Sun Jun 29 19:38:13 2008 +0930
12235 Add show_text_glyphs to PDF operators
12237 src/cairo-pdf-operators-private.h | 16 ++-
12238 src/cairo-pdf-operators.c | 293 +++++++++++++++++++++++++++++--------
12239 src/cairo-pdf-surface.c | 20 ++-
12240 src/cairo-ps-surface.c | 15 ++-
12241 4 files changed, 264 insertions(+), 80 deletions(-)
12243 commit 55dda8c64fc38cda75878f1a34eb1f86b1a445cb
12244 Author: Adrian Johnson <ajohnson@redneon.com>
12245 Date: Sun Jun 29 19:36:29 2008 +0930
12247 Remove unused map_glyphs_to_unicode functions
12249 src/cairo-ft-font.c | 35 -----------------
12250 src/cairo-win32-font.c | 96 ------------------------------------------------
12251 src/cairoint.h | 4 --
12252 3 files changed, 0 insertions(+), 135 deletions(-)
12254 commit 2012d4f7364f9efa0789996e7906f269d5d59d41
12255 Author: Adrian Johnson <ajohnson@redneon.com>
12256 Date: Sun Jun 29 19:36:10 2008 +0930
12258 Removed unused cairo_truetype_create_glyph_to_unicode_map()
12260 src/cairo-truetype-subset.c | 147 -------------------------------------------
12261 1 files changed, 0 insertions(+), 147 deletions(-)
12263 commit 154324f121e7aad8af474ac26e0e320cddd37579
12264 Author: Adrian Johnson <ajohnson@redneon.com>
12265 Date: Sun Jun 29 19:35:43 2008 +0930
12267 Use subset utf8 mapping to create the glyph names for PS fonts
12269 src/cairo-scaled-font-subsets.c | 36 ++++++++++++++++--------------------
12270 1 files changed, 16 insertions(+), 20 deletions(-)
12272 commit 2a21fafa078a2519dea7881b4553d74667c928f2
12273 Author: Adrian Johnson <ajohnson@redneon.com>
12274 Date: Sun Jun 29 19:35:12 2008 +0930
12276 Use subset utf8 mapping in PDF ToUnicode stream
12278 src/cairo-pdf-surface.c | 69 ++++++++++++++++++++++++++++++++---------------
12279 src/cairoint.h | 2 +-
12280 2 files changed, 48 insertions(+), 23 deletions(-)
12282 commit d77b04fd0635c1648bb024b5308b715c220e1e74
12283 Author: Adrian Johnson <ajohnson@redneon.com>
12284 Date: Sun Jun 29 19:33:58 2008 +0930
12286 Allow _cairo_scaled_font_subsets_map_glyph() to specify utf8 mapping
12288 src/cairo-pdf-operators.c | 1 +
12289 src/cairo-scaled-font-subsets-private.h | 14 +++-
12290 src/cairo-scaled-font-subsets.c | 112 ++++++++++++++++++++++++++++++-
12291 src/cairo-svg-surface.c | 1 +
12292 src/cairoint.h | 1 +
12293 5 files changed, 124 insertions(+), 5 deletions(-)
12295 commit f4d6e714a63ab44e388a06fba8d849f2ad7f0000
12296 Author: Adrian Johnson <ajohnson@redneon.com>
12297 Date: Sun Jun 29 19:32:19 2008 +0930
12299 Add _cairo_ucs4_to_utf8
12301 src/cairo-unicode.c | 39 +++++++++++++++++++++++++++++++++++++++
12302 src/cairoint.h | 4 ++++
12303 2 files changed, 43 insertions(+), 0 deletions(-)
12305 commit 2f99a294cd2367c4649428534b3429522448260c
12306 Author: Adrian Johnson <ajohnson@redneon.com>
12307 Date: Sun Jun 29 19:31:47 2008 +0930
12309 Add _cairo_truetype_index_to_ucs4()
12311 for doing reverse cmap lookups on truetype/opentype fonts one glyph at
12314 src/cairo-scaled-font-subsets-private.h | 22 +++++
12315 src/cairo-truetype-subset.c | 151 +++++++++++++++++++++++++++++++
12316 2 files changed, 173 insertions(+), 0 deletions(-)
12318 commit 95771d62c57c081fe350e0d33326aaa6a27139da
12319 Author: Adrian Johnson <ajohnson@redneon.com>
12320 Date: Sun Jun 29 19:31:23 2008 +0930
12322 Implement win32 index_to_ucs4 font backend function
12324 src/cairo-win32-font.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++
12325 1 files changed, 93 insertions(+), 0 deletions(-)
12327 commit 4619b0b309861daa64b9c3ced9fdea20c461edf2
12328 Author: Adrian Johnson <ajohnson@redneon.com>
12329 Date: Sun Jun 29 19:30:14 2008 +0930
12331 Add index_to_ucs4 font backend function and FT implementation
12333 src/cairo-ft-font.c | 31 +++++++++++++++++++++++++++++++
12334 src/cairoint.h | 7 ++++++-
12335 2 files changed, 37 insertions(+), 1 deletions(-)
12337 commit 54f63e7859baeff18f7345cf22630d6a9b709e1c
12338 Author: Adrian Johnson <ajohnson@redneon.com>
12339 Date: Sun Jun 29 19:28:39 2008 +0930
12341 PDF: Ensure text object is closed before emitting fill or stroke
12343 src/cairo-pdf-operators.c | 6 ++++++
12344 1 files changed, 6 insertions(+), 0 deletions(-)
12346 commit 4ffea75d908ef041fbc5aa1da9a5b725d3c24263
12347 Author: Behdad Esfahbod <behdad@behdad.org>
12348 Date: Fri Jun 27 11:18:22 2008 -0400
12350 Change cairo_text_cluster_t members signed
12352 Also reject clusters with no text.
12354 src/cairo.c | 19 ++++++++++---------
12355 src/cairo.h | 4 ++--
12356 2 files changed, 12 insertions(+), 11 deletions(-)
12358 commit 4530c0b0ecdd19cfcbcb6d21b1db426ab42793d9
12359 Author: Behdad Esfahbod <behdad@behdad.org>
12360 Date: Thu Jun 26 17:15:42 2008 -0400
12362 [meta-surface] Implement show_text_glyphs; Remove show_glyphs
12364 One is enough. The only downside is that meta-surface will consume
12365 32 more bytes per show_glyphs() call now. If that's a concern,
12366 the show_glyphs implementation can be added back.
12368 src/cairo-meta-surface-private.h | 13 +++-
12369 src/cairo-meta-surface.c | 131 ++++++++++++++++++++++++++-----------
12370 2 files changed, 101 insertions(+), 43 deletions(-)
12372 commit 93c3eebc6ec740317650e8ec166ae5311c12f0d7
12373 Author: Behdad Esfahbod <behdad@behdad.org>
12374 Date: Thu Jun 26 16:45:09 2008 -0400
12376 [paginated-surface] Implement show_text_glyphs
12378 src/cairo-paginated-surface.c | 60 ++++++++++++++++++++++++++++++++++++++++-
12379 1 files changed, 59 insertions(+), 1 deletions(-)
12381 commit 8f02cadf3dc0ed4aedfafad4644a5fdc9d3e8168
12382 Author: Behdad Esfahbod <behdad@behdad.org>
12383 Date: Thu Jun 26 16:44:59 2008 -0400
12385 [analysis-surface] Implement show_text_glyphs
12387 src/cairo-analysis-surface.c | 82 +++++++++++++++++++++++++++++++++++++++++-
12388 1 files changed, 81 insertions(+), 1 deletions(-)
12390 commit 047566fd526f7936a49b630ed47c570dd70e837f
12391 Author: Behdad Esfahbod <behdad@behdad.org>
12392 Date: Thu Jun 26 16:15:12 2008 -0400
12394 Add cairo_show_text_glyphs API
12398 cairo_text_cluster_t
12399 cairo_has_show_text_glyphs()
12400 cairo_show_text_glyphs()
12402 Add accompanying gstate and surface functions, and surface backend methods.
12403 No backends implement them just yet.
12405 doc/public/cairo-sections.txt | 3 +
12406 doc/public/tmpl/cairo-status.sgml | 1 +
12407 doc/public/tmpl/cairo-text.sgml | 31 ++++++++++
12408 src/cairo-gstate.c | 38 +++++++++----
12409 src/cairo-misc.c | 2 +
12410 src/cairo-scaled-font.c | 14 +++-
12411 src/cairo-surface.c | 110 +++++++++++++++++++++++++++++++------
12412 src/cairo.c | 109 +++++++++++++++++++++++++++++++++++-
12413 src/cairo.h | 22 +++++++-
12414 src/cairoint.h | 48 +++++++++++++++-
12415 10 files changed, 336 insertions(+), 42 deletions(-)
12417 commit dff0dd0c63e530e21471531299a8f260cf88f001
12418 Author: Behdad Esfahbod <behdad@behdad.org>
12419 Date: Thu Jun 26 15:58:06 2008 -0400
12421 Allow NULL output in _cairo_utf8_to_ucs4()
12423 The function can be used to validate UTF-8 text now.
12425 src/cairo-unicode.c | 23 +++++++++++++----------
12426 1 files changed, 13 insertions(+), 10 deletions(-)
12428 commit 883c972a9bc0aafb817a02c7b4a8c6f250796405
12429 Author: Behdad Esfahbod <behdad@behdad.org>
12430 Date: Thu Jun 26 16:08:39 2008 -0400
12432 [cairo-types] fix doc syntax
12434 src/cairo-types-private.h | 2 +-
12435 1 files changed, 1 insertions(+), 1 deletions(-)
12437 commit 787fb135663ebd9ab4a8d38da8fafc5e82d47ec5
12438 Author: Behdad Esfahbod <behdad@behdad.org>
12439 Date: Thu Jun 26 16:08:21 2008 -0400
12441 [xlib] Use _cairo_xlib_surface_create_internal() directly
12443 src/cairo-xlib-surface.c | 10 ++++++----
12444 1 files changed, 6 insertions(+), 4 deletions(-)
12446 commit ba62d2d30a960d921f6efe84e2d6dc93d0de6e39
12447 Author: Behdad Esfahbod <behdad@behdad.org>
12448 Date: Thu Jun 26 16:20:47 2008 -0400
12450 Update .gitignore files
12452 boilerplate/.gitignore | 1 +
12453 doc/public/.gitignore | 1 +
12454 test/.gitignore | 2 ++
12455 3 files changed, 4 insertions(+), 0 deletions(-)
12457 commit 425846dedbca749a4a19e8a8827887bb70201c8d
12458 Author: Behdad Esfahbod <behdad@behdad.org>
12459 Date: Tue Jun 24 15:09:33 2008 -0400
12461 Oops. Fix thinko in previous commit.
12464 1 files changed, 1 insertions(+), 1 deletions(-)
12466 commit 74789a702bf5c62bc0d0361f139b2c94f67d5c6e
12467 Author: Behdad Esfahbod <behdad@behdad.org>
12468 Date: Tue Jun 24 15:07:07 2008 -0400
12470 Cleanup _set_error functions a bit
12472 src/cairo-font-face.c | 2 ++
12473 src/cairo-pattern.c | 7 +++++--
12474 src/cairo-scaled-font.c | 4 ++--
12475 src/cairo-surface.c | 5 +++--
12476 src/cairo.c | 7 +++++--
12477 5 files changed, 17 insertions(+), 8 deletions(-)
12479 commit ace3a98a53ab596c83df5a163e580770b9771bf2
12480 Author: Behdad Esfahbod <behdad@behdad.org>
12481 Date: Tue Jun 24 15:02:14 2008 -0400
12483 Make sure cairo_int_status_t values fit in int8_t
12485 It was reported by Liu Yubao that cairo_status_t may be chosen to be
12486 an int8_t by the compiler, in that case cairo_int_status_t values
12487 assigned to cairo_status_t would overflow. Fix this by allocating
12488 the values in int8_t range, and add compile-time sanity checks.
12490 src/cairo-misc.c | 2 ++
12491 src/cairo-types-private.h | 13 ++++++++-----
12492 2 files changed, 10 insertions(+), 5 deletions(-)
12494 commit f32090fb34f93d42bd134ee7c007f60dd1cd1c13
12495 Author: Behdad Esfahbod <behdad@behdad.org>
12496 Date: Mon Jun 23 17:56:28 2008 -0400
12498 Return CAIRO_STATUS_NEGATIVE_COUNT if num_glyphs is negative
12500 src/cairo-scaled-font.c | 6 ++++++
12501 src/cairo.c | 15 +++++++++++++++
12502 2 files changed, 21 insertions(+), 0 deletions(-)
12504 commit 498f3ddf2e8f6b7c381c7153cbd39fa22c32ceea
12505 Author: Behdad Esfahbod <behdad@behdad.org>
12506 Date: Mon Jun 23 17:53:25 2008 -0400
12508 Add status CAIRO_STATUS_NEGATIVE_COUNT
12510 To be used for things like passing a negative number of glyphs
12511 to cairo_show_glyphs().
12513 doc/public/tmpl/cairo-status.sgml | 1 +
12514 doc/public/tmpl/cairo-user-fonts.sgml | 2 --
12515 src/cairo-misc.c | 2 ++
12516 src/cairo-surface.c | 1 +
12517 src/cairo.h | 4 +++-
12518 src/cairoint.h | 2 +-
12519 6 files changed, 8 insertions(+), 4 deletions(-)
12521 commit ce24588d1c5e82e598cdad68c910a64f64864c7b
12522 Author: Behdad Esfahbod <behdad@behdad.org>
12523 Date: Mon Jun 23 17:51:32 2008 -0400
12525 [doc] Update doc/public/Headers.mk
12527 doc/public/Headers.mk | 2 ++
12528 1 files changed, 2 insertions(+), 0 deletions(-)
12530 commit 676b221326cacdd205c225bba8ac43378b4abb81
12531 Author: Behdad Esfahbod <behdad@behdad.org>
12532 Date: Mon Jun 23 17:39:16 2008 -0400
12534 Protect against NULL glyphs array in text API
12536 We still don't do anything if num_glyphs is negative. Why isn't
12537 that argument unsigned int...
12539 src/cairo-scaled-font.c | 9 +++++++++
12540 src/cairo.c | 24 +++++++++++++++++++++---
12541 2 files changed, 30 insertions(+), 3 deletions(-)
12543 commit 233b387c29f2108a41fca14cc275337903117169
12544 Author: Behdad Esfahbod <behdad@behdad.org>
12545 Date: Mon Jun 23 00:30:04 2008 -0400
12547 Use #include "cairo-*." instead of #include <cairo-*.h>
12549 The rule is simple: <x.h> for system / other project includes,
12550 "x.h" for local includes.
12552 src/cairo-beos.h | 2 +-
12553 src/cairo-directfb.h | 2 +-
12554 src/cairo-ft-private.h | 4 ++--
12555 src/cairo-ft.h | 2 +-
12556 src/cairo-glitz.h | 2 +-
12557 src/cairo-mutex-impl-private.h | 2 +-
12558 src/cairo-mutex-type-private.h | 2 +-
12559 src/cairo-os2-private.h | 2 +-
12560 src/cairo-os2.h | 2 +-
12561 src/cairo-pdf.h | 2 +-
12562 src/cairo-ps.h | 2 +-
12563 src/cairo-quartz-image.h | 2 +-
12564 src/cairo-quartz-private.h | 2 +-
12565 src/cairo-quartz.h | 2 +-
12566 src/cairo-svg.h | 2 +-
12567 src/cairo-win32-private.h | 4 ++--
12568 src/cairo-win32.h | 2 +-
12569 src/cairo-xcb-xrender.h | 2 +-
12570 src/cairo-xcb.h | 2 +-
12571 src/cairo-xlib-xrender.h | 2 +-
12572 src/cairo-xlib.h | 2 +-
12573 src/cairo.h | 4 ++--
12574 22 files changed, 25 insertions(+), 25 deletions(-)
12576 commit 9fea50a1e6c15ad6a80c941f6ddaba768e84e951
12577 Author: Behdad Esfahbod <behdad@behdad.org>
12578 Date: Sun Jun 22 15:15:44 2008 -0400
12580 Rename _cairo_font_reset_static_data to _cairo_font_face_reset_static_data
12582 src/cairo-debug.c | 6 +++---
12583 src/cairo-font-face.c | 2 +-
12584 src/cairoint.h | 2 +-
12585 3 files changed, 5 insertions(+), 5 deletions(-)
12587 commit 7407362d705516262fed9f5bccfb8d3d5a26632f
12588 Author: Behdad Esfahbod <behdad@behdad.org>
12589 Date: Sun Jun 22 15:13:42 2008 -0400
12591 Rename cairo_quartz_scaled_font_backend to _cairo_quartz_scaled_font_backend
12593 src/cairo-quartz-font.c | 4 ++--
12594 src/cairoint.h | 4 ++--
12595 2 files changed, 4 insertions(+), 4 deletions(-)
12597 commit 4240794ea4d25bfa9c0edd10243a94ab00275387
12598 Author: Behdad Esfahbod <behdad@behdad.org>
12599 Date: Sun Jun 22 15:13:15 2008 -0400
12601 Rename cairo_win32_scaled_font_backend to _cairo_win32_scaled_font_backend
12603 src/cairo-win32-font.c | 8 ++++----
12604 src/cairoint.h | 4 ++--
12605 2 files changed, 6 insertions(+), 6 deletions(-)
12607 commit e09f20fe01f17f093acefd341a517fcb83b6ea1e
12608 Author: Behdad Esfahbod <behdad@behdad.org>
12609 Date: Sun Jun 22 14:50:08 2008 -0400
12611 [gstate] Fix huge-font path;fill fallback options
12613 src/cairo-gstate.c | 4 ++--
12614 1 files changed, 2 insertions(+), 2 deletions(-)
12616 commit d9784c8c37a2c6dbcccd3e96e746f32b12a2b468
12617 Author: Behdad Esfahbod <behdad@behdad.org>
12618 Date: Thu Jun 19 22:24:13 2008 -0400
12620 [cairo-xlib] Don't undither pseudocolor, doesn't look good
12622 src/cairo-xlib-surface.c | 20 +++++++-------------
12623 1 files changed, 7 insertions(+), 13 deletions(-)
12625 commit fe41d100aa5cddb56b8a5f043c01fdf1f1a1e4c5
12626 Author: Behdad Esfahbod <behdad@behdad.org>
12627 Date: Fri Jun 13 21:39:19 2008 -0400
12629 [cairo-xlib-surface] Fix core solid_fill_rectangles to do dithering
12631 Do this by tiling the surface form the solid pattern. The pattern in
12632 turn calls into xlib's create_solid_surface which returns a dithered
12635 This can get into infinite loop right now, because of the way solid
12636 surface cache tries to repaint cached surfaces.
12638 src/cairo-xlib-surface.c | 70 ++++++++++++++++++++++-----------------------
12639 1 files changed, 34 insertions(+), 36 deletions(-)
12641 commit abac0f96cb39b60a88433918d193f6d5091ea8d9
12642 Author: Behdad Esfahbod <behdad@behdad.org>
12643 Date: Fri Jun 13 21:37:45 2008 -0400
12645 [cairo-xlib-surface] Implement create_solid_pattern_surface
12647 If render is disabled, this will create a surface the size of the
12648 dither pattern and paint it with dithering.
12650 src/cairo-xlib-surface.c | 76 ++++++++++++++++++++++++++++++++++++++++++++--
12651 1 files changed, 73 insertions(+), 3 deletions(-)
12653 commit fb8f2b3854114a653d11263e8868eae042ee4b94
12654 Author: Behdad Esfahbod <behdad@behdad.org>
12655 Date: Fri Jun 13 02:35:30 2008 -0400
12657 [cairo-xlib-surface] Make _draw_image_surface handle arbitrary image formats
12659 This is not a useful change. Just committing because I already did it.
12661 src/cairo-xlib-surface.c | 42 +++++++++++++++++++++++++++---------------
12662 1 files changed, 27 insertions(+), 15 deletions(-)
12664 commit bc4b788ec187c84c2f8a6c0f68c1892ecaab3bcc
12665 Author: Behdad Esfahbod <behdad@behdad.org>
12666 Date: Fri Jun 13 02:44:37 2008 -0400
12668 [cairo-xlib-surface] In _get_image_surface only use pixman formats >= 24bpp
12670 Otherwise we can't do dithering. This drastically improves gradient rendering
12671 on 16bit displays, essentially making them indistinguishable from 32bit ones
12674 src/cairo-xlib-surface.c | 2 +-
12675 1 files changed, 1 insertions(+), 1 deletions(-)
12677 commit 5faf8663b228eafa60fee1f0a1ac9e9f9406134d
12678 Author: Behdad Esfahbod <behdad@behdad.org>
12679 Date: Fri Jun 13 00:46:01 2008 -0400
12681 [cairo-xlib-surface] Force buggy_repeat to TRUE if Render is not available
12683 So we use more core protocol paths.
12685 src/cairo-xlib-surface.c | 10 +++++++---
12686 1 files changed, 7 insertions(+), 3 deletions(-)
12688 commit e7c1fc5bf53b4adf16f2d0c7e613c848bede6824
12689 Author: Behdad Esfahbod <behdad@behdad.org>
12690 Date: Tue Mar 25 17:50:37 2008 +0430
12692 [xlib] Implement dithering
12694 Remove the intermediate rgb333 for PseudoColor and work on the
12695 cube directly. Also upgrade to a 6x6x6 cube instead of 5x5x5.
12696 Do dithering on both PseudoColor and TrueColor, using a 4x4 pattern.
12698 This only affects X servers with no XRender.
12700 src/cairo-xlib-private.h | 12 +++-
12701 src/cairo-xlib-surface.c | 189 ++++++++++++++++++++++++++++++++-------------
12702 src/cairo-xlib-visual.c | 103 +++++++++++++++++--------
12703 3 files changed, 215 insertions(+), 89 deletions(-)
12705 commit c0176dc54cf16a3a9504977d80184e4608783052
12706 Author: Behdad Esfahbod <behdad@behdad.org>
12707 Date: Fri Jun 13 00:43:31 2008 -0400
12709 [cairo-xlib-surface] Remove unused macro
12711 src/cairo-xlib-surface.c | 3 +--
12712 1 files changed, 1 insertions(+), 2 deletions(-)
12714 commit 93efdce43a05299abef4f2b8220d3b7d9869597b
12715 Author: Behdad Esfahbod <behdad@behdad.org>
12716 Date: Fri Jun 13 21:36:14 2008 -0400
12718 Add a create_solid_pattern_surface surface backend method
12720 This can be used by _cairo_pattern_acquire_surface_for_solid() to let
12721 the backend create custom surfaces for solid fill instead of a 1x1
12724 src/cairo-pattern.c | 10 ++--------
12725 src/cairo-surface.c | 37 +++++++++++++++++++++++++++++++++++++
12726 src/cairoint.h | 20 ++++++++++++++++++--
12727 3 files changed, 57 insertions(+), 10 deletions(-)
12729 commit ff1371a0a7494f986385730a82823cbf56790d5b
12730 Author: Behdad Esfahbod <behdad@behdad.org>
12731 Date: Thu Jun 19 21:06:07 2008 -0400
12733 [cairo-surface] Remove optional pattern argument from create_similar_solid()
12735 This was added in 41c6eebcd1fab94fd3a91d09f1ef6ee0d8c7a044, to avoid
12736 allocating short-lived patterns. However, this was error prune as the
12737 color information was duplicated in the pattern and could get out of
12738 sync. Indeed, it was out of sync before this commit in the call from
12741 By allocating the solid pattern on the stack we fix the original problem
12742 without creating new ones.
12744 src/cairo-clip.c | 3 +--
12745 src/cairo-glitz-surface.c | 3 +--
12746 src/cairo-pattern.c | 3 +--
12747 src/cairo-surface.c | 24 +++++++-----------------
12748 src/cairoint.h | 6 +-----
12749 5 files changed, 11 insertions(+), 28 deletions(-)
12751 commit 240cb59fe8706b1b0d3aae4a4ed3d13472033d1d
12752 Author: Behdad Esfahbod <behdad@behdad.org>
12753 Date: Thu Jun 19 19:49:23 2008 -0400
12755 [cairo-pattern] Clean up _cairo_pattern_acquire_surface_for_solid()
12757 src/cairo-pattern.c | 54 ++++++++++++++++++++++++++++++++------------------
12758 1 files changed, 34 insertions(+), 20 deletions(-)
12760 commit 2a592877110f34753da0b9e61d5c5f8c83f4ddd9
12761 Author: Behdad Esfahbod <behdad@behdad.org>
12762 Date: Thu Jun 19 19:28:49 2008 -0400
12766 src/cairo-surface.c | 2 +-
12767 1 files changed, 1 insertions(+), 1 deletions(-)
12769 commit b0d112756f1f8af7cf38d1e7542cb2e4453e7b07
12770 Author: Behdad Esfahbod <behdad@behdad.org>
12771 Date: Thu Jun 19 19:25:33 2008 -0400
12773 Remove opaque solid pattern COLOR_ALPHA optimization from call sites
12775 As we do this in _cairo_pattern_init_solid() now.
12777 src/cairo-glitz-surface.c | 5 +----
12778 src/cairo-pattern.c | 10 ++--------
12779 2 files changed, 3 insertions(+), 12 deletions(-)
12781 commit e93e9903241bc0996bfce7c43d030f33cd33730b
12782 Author: Behdad Esfahbod <behdad@behdad.org>
12783 Date: Thu Jun 19 19:22:02 2008 -0400
12785 [cairo-pattern] In init_solid() convert COLOR_ALPHA to COLOR if color is opaque
12787 Moving this further than, so it benefits all callers.
12789 src/cairo-pattern.c | 6 +++---
12790 1 files changed, 3 insertions(+), 3 deletions(-)
12792 commit 333a49d01d431a808c754cfa900e83a733010083
12793 Author: Behdad Esfahbod <behdad@behdad.org>
12794 Date: Thu Jun 19 19:18:57 2008 -0400
12796 [cairo-pattern] Don't call _cairo_stock_color() directly
12798 src/cairo-pattern.c | 9 ++-------
12799 1 files changed, 2 insertions(+), 7 deletions(-)
12801 commit 4eae72317f117941617b426daa682fa4f1bf3d25
12802 Author: Behdad Esfahbod <behdad@behdad.org>
12803 Date: Thu Jun 19 19:08:50 2008 -0400
12805 [cairo-pattern] Remove stale comment
12807 src/cairo-pattern.c | 1 -
12808 1 files changed, 0 insertions(+), 1 deletions(-)
12810 commit 52cf67a8f2c2ca2c5c233756cfa7f56855e67f27
12811 Author: Behdad Esfahbod <behdad@behdad.org>
12812 Date: Thu Jun 19 17:44:43 2008 -0400
12814 Rename cairo_* global vars to _cairo_*
12816 src/cairo-ft-font.c | 8 ++++----
12817 src/cairo-pattern.c | 2 +-
12818 src/cairo.c | 6 +++---
12819 src/cairoint.h | 6 +++---
12820 4 files changed, 11 insertions(+), 11 deletions(-)
12822 commit 9388cc71db8d6e019061f289c0a72ebaa3432c8c
12823 Author: Behdad Esfahbod <behdad@behdad.org>
12824 Date: Thu Jun 19 17:43:52 2008 -0400
12826 [src/check-def.sh] Make sure no global variables are named cairo_*
12828 Even if they are marked cairo_private.
12830 src/check-def.sh | 2 +-
12831 1 files changed, 1 insertions(+), 1 deletions(-)
12833 commit aef25b83450e3e17bedce2ffbae58f7b326e0f61
12834 Author: Behdad Esfahbod <behdad@behdad.org>
12835 Date: Thu Jun 19 17:31:10 2008 -0400
12837 [cairo-pattern] Fix solid surface cache to check for content match too
12839 The code in that cache is becoming uglier and uglier. But at least it
12840 works correctly again. Time for a rewrite.
12842 (Also move the destroy after unlocking)
12844 src/cairo-pattern.c | 20 +++++++++++++++-----
12845 1 files changed, 15 insertions(+), 5 deletions(-)
12847 commit 565644e616ea64f97769d8939beb155f4031da2f
12848 Author: Chris Wilson <chris@chris-wilson.co.uk>
12849 Date: Thu Jun 19 11:42:43 2008 +0100
12851 [cairo-pattern] Band-aid for the solid surface cache.
12853 Behdad noticed that the mixing of dissimilar surfaces within the cache
12855 (http://lists.cairographics.org/archives/cairo/2008-June/014348.html).
12857 This corrects the dereferencing of the evicted surface, but leaves open
12858 the question of the future of the cache.
12860 src/cairo-pattern.c | 9 +++++++--
12861 1 files changed, 7 insertions(+), 2 deletions(-)
12863 commit 47d8739ea198510919b2611c34a44aa3c63f3f59
12864 Author: Chris Wilson <chris@chris-wilson.co.uk>
12865 Date: Thu Jun 19 11:38:38 2008 +0100
12867 [test/xlib-surface-source] Build under --disable-xlib-xrender.
12869 Add an ifdef to support compiling without XRender.
12871 test/xlib-surface-source.c | 4 ++++
12872 1 files changed, 4 insertions(+), 0 deletions(-)
12874 commit 38c4bcc2da225b36455ee3da396305a7d93d4c1d
12875 Author: Chris Wilson <chris@chris-wilson.co.uk>
12876 Date: Thu Jun 19 09:44:58 2008 +0100
12878 [test/solid-pattern-cache-stress] Do what it says on the tin.
12880 Actually draw to the surface after setting the source in order to
12881 trigger use of the solid surface cache.
12883 test/Makefile.am | 1 +
12884 test/solid-pattern-cache-stress-ref.png | Bin 0 -> 107 bytes
12885 test/solid-pattern-cache-stress.c | 148 ++++++++++++++++++++++++-------
12886 3 files changed, 118 insertions(+), 31 deletions(-)
12888 commit 233ba271d626832c2a6332515e2301d68e6051e5
12889 Author: Behdad Esfahbod <behdad@behdad.org>
12890 Date: Wed Jun 18 20:14:42 2008 -0400
12892 [cairo-xlib-xrender] Simplify dummy XRender function stubs
12894 for the case of missing Xrender that is. This compiles
12897 src/cairo-xlib-xrender-private.h | 113 +++++++++++++++++---------------------
12898 1 files changed, 51 insertions(+), 62 deletions(-)
12900 commit d36347e0e2079840ebde0e83791fdce4844e2994
12901 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
12902 Date: Wed Jun 18 18:35:42 2008 +0300
12904 Bug: tessellator sometimes ends rightmost trapezoids too late
12906 Reported on the cairo mailing list:
12908 http://lists.cairographics.org/archives/cairo/2008-May/014233.html
12910 The tessellator would sometimes produce self-intersecting trapezoids
12911 because it would skip the last edge in the active list when deciding
12912 whether we can continue the current trapezoid or not.
12914 The bug never caused a problem with pixman based rasterisation
12915 because pixman stops filling in a trapezoid once it detects a self
12918 src/cairo-bentley-ottmann.c | 2 +-
12919 1 files changed, 1 insertions(+), 1 deletions(-)
12921 commit f2ea46edf4cec3d59f56d90c6f12b0896715022d
12922 Author: Chris Wilson <chris@chris-wilson.co.uk>
12923 Date: Thu Oct 11 22:51:09 2007 +0100
12925 [cairo-xlib-surface] Optimize away clip that covers the entire surface.
12927 Replace a clip rectangle that covers the entire surface with no
12928 clipping as this is quite a common operation when toolkits (i.e. GTK+)
12929 clear surfaces before drawing and avoids a redundant
12930 XRenderSetClipRectangles.
12932 src/cairo-xlib-surface.c | 18 +++++++++++++++++-
12933 1 files changed, 17 insertions(+), 1 deletions(-)
12935 commit b06bd9379a9841da1d1448534c320fb45e6d6d83
12936 Author: Chris Wilson <chris@chris-wilson.co.uk>
12937 Date: Wed May 28 20:32:40 2008 +0100
12939 [cairo-xlib-surface] Handle a NULL visual along core FillRectangles path.
12941 It is possible for an XRender capable surface to use
12942 _cairo_xlib_surface_solid_fill_rectangle() if the surface
12943 HAS_CREATE_PICTURE() && ! HAS_FILL_RECTANGLES(), in which case we need to
12944 handle the surface having no associated visual.
12946 Fixes test/xlib-expose-event.
12948 src/cairo-xlib-surface.c | 2 +-
12949 1 files changed, 1 insertions(+), 1 deletions(-)
12951 commit db32e5ffcc9b06aab623987ecb3b64b9aaf8eca2
12952 Author: Chris Wilson <chris@chris-wilson.co.uk>
12953 Date: Wed May 28 17:44:35 2008 +0100
12955 [check-def.sh] Ignore magic PPC symbols
12957 It appears that the PowerPC Linux ABI specifies a number of magic
12958 functions for register saves and restores which currently appear as
12959 exported symbols in the shared object. Ignore them.
12961 src/check-def.sh | 2 +-
12962 1 files changed, 1 insertions(+), 1 deletions(-)
12964 commit ad9a334e2c86ec3745d45f4d1f113999a731ed70
12965 Author: Chris Wilson <chris@chris-wilson.co.uk>
12966 Date: Wed May 28 15:42:09 2008 +0100
12968 Allocate the correct pattern type on the stack.
12970 Instead of allocating the union of all possible pattern types, just
12971 allocate the specific pattern as used by the function in order to trim
12972 the stack space consumption and flag potential misuse.
12974 src/cairo-clip.c | 4 ++--
12975 src/cairo-glitz-surface.c | 4 ++--
12976 src/cairo-ps-surface.c | 4 ++--
12977 src/cairo-quartz-surface.c | 6 +++---
12978 src/cairo-surface-fallback.c | 24 ++++++++++++------------
12979 src/cairo-win32-printing-surface.c | 5 +++--
12980 src/cairo-win32-surface.c | 4 ++--
12981 src/cairo-xcb-surface.c | 4 ++--
12982 src/cairo-xlib-surface.c | 4 ++--
12983 src/cairo.c | 4 ++--
12984 10 files changed, 32 insertions(+), 31 deletions(-)
12986 commit 74c1e9b5455cd14bfc077a5be2d45a47df666cd4
12987 Author: Chris Wilson <chris@chris-wilson.co.uk>
12988 Date: Sat May 10 08:11:54 2008 +0100
12990 Trivial warning fixes to silence the compiler.
12992 src/cairo-analysis-surface.c | 56 +++++++++++++++++++++++++++++++++++++----
12993 src/cairo-xlib-surface.c | 25 +++++++++---------
12994 2 files changed, 63 insertions(+), 18 deletions(-)
12996 commit b235050316256b15f9547f2f587847c6a561c76c
12997 Author: Chris Wilson <chris@chris-wilson.co.uk>
12998 Date: Fri May 9 11:26:39 2008 +0100
13000 [cairo-pattern] Generate an opaque solid colour if alpha >= 1.
13002 If the user supplies an alpha value of >= 1 to
13003 cairo_pattern_create_rgba(), substitute a call to
13004 cairo_pattern_create_rgb() instead.
13006 src/cairo-pattern.c | 3 +++
13007 1 files changed, 3 insertions(+), 0 deletions(-)
13009 commit 40e1aa60f2c0cd8c4b897c8e9806d1750632b43d
13010 Author: Chris Wilson <chris@chris-wilson.co.uk>
13011 Date: Thu May 8 20:48:19 2008 +0100
13013 [cairo-pattern] Try to repaint the evicted surface from the solid surface cache.
13015 Behdad Esfahbod complained that commit
13016 8457374c9cf350841a7c16f1ef1657aeb354e5c9 overwhelmed the function with
13017 added complexity and arbitrary limited a backend to one-quarter of the
13018 cache. The elegant solution, he outlined, was to look at the surface that
13019 would be evicted and if possible repaint it, instead of creating a
13020 replacement. This not only simplifies the code, reduces the number of
13021 checks performed to find a match (or victim) and allows the cache to be
13022 naturally shared between the various backends.
13024 src/cairo-pattern.c | 111 +++++++++++++++++++++++----------------------------
13025 1 files changed, 50 insertions(+), 61 deletions(-)
13027 commit ea79af728c2ac9c8ca8536010bb2b92cf366ab70
13028 Author: Chris Wilson <chris@chris-wilson.co.uk>
13029 Date: Thu May 8 17:23:44 2008 +0100
13031 [cairo-xlib] Scan for a glyphset to match a pending free glyph.
13033 In order to avoid re-rasterising a glyph that is pending an
13034 XRenderFreeGlyph, we first scan all glyphsets and their arrays of
13035 pending_free_glyphs for a matching glyph. The additional cost of
13036 scanning the extra arrays should be negligble as most fonts will only
13037 have the single array (which we would scan anyway) but we potentially
13038 save an expensive rasterisation and short-lived image surface.
13040 (As suggested by Behdad Esfahbod.)
13042 src/cairo-xlib-surface.c | 90 ++++++++++++++++++++++++++++++++++++---------
13043 1 files changed, 72 insertions(+), 18 deletions(-)
13045 commit c2963fa6c1f6da2117663d69505efb3bf2cc4145
13046 Author: Chris Wilson <chris@chris-wilson.co.uk>
13047 Date: Thu May 8 09:02:12 2008 +0100
13049 [cairo-boilerplate] Silence compiler warning.
13051 Mark the optstr argument as const to silence a compiler warning in
13054 boilerplate/cairo-boilerplate-getopt.c | 2 +-
13055 boilerplate/cairo-boilerplate-getopt.h | 2 +-
13056 2 files changed, 2 insertions(+), 2 deletions(-)
13058 commit ac44817c4a8464ed5c665cc8b20d1463cf8a5de3
13059 Author: Chris Wilson <chris@chris-wilson.co.uk>
13060 Date: Thu May 8 09:00:56 2008 +0100
13062 [cairo-perf] Only allocate arrays once.
13064 Store the array of times on the cairo_perf_t context to avoid
13065 reallocating it for every perf-case.
13067 perf/cairo-perf.c | 30 ++++++++++++++----------------
13068 perf/cairo-perf.h | 3 +++
13069 2 files changed, 17 insertions(+), 16 deletions(-)
13071 commit 335ed745898a3e110a4ffd1abd8f55edfb407639
13072 Author: Chris Wilson <chris@chris-wilson.co.uk>
13073 Date: Wed May 7 09:34:49 2008 +0100
13075 Enlarge the embedded arrays to eliminate frequent allocations.
13077 Enlarge the embedded arrays of edges and points for cairo_polygon_t and
13078 cairo_spline_t respectively, such that the frequent allocations are
13079 eliminated whilst running a firefox3 benchmark.
13081 src/cairo-polygon.c | 19 +++++--------------
13082 src/cairo-types-private.h | 4 ++--
13083 2 files changed, 7 insertions(+), 16 deletions(-)
13085 commit 963ff0b9485dbd4b3d5d1a65f6cdd73b170a6a79
13086 Author: Chris Wilson <chris@chris-wilson.co.uk>
13087 Date: Wed May 7 09:32:29 2008 +0100
13089 [cairo-pen] Embed a small array of vertices into cairo_pen_t.
13091 Eliminate allocation of the vertex array for the common cases.
13093 src/cairo-pen.c | 73 +++++++++++++++++++++++++++-----------------
13094 src/cairo-types-private.h | 3 +-
13095 2 files changed, 47 insertions(+), 29 deletions(-)
13097 commit d9b2e8f0045dcde8beafed7fe08728ae15194ffa
13098 Author: Chris Wilson <chris@chris-wilson.co.uk>
13099 Date: Wed May 7 09:20:17 2008 +0100
13101 [cairo-path-stroke] Avoid allocation for single rectangle.
13103 The most common case for path stroking is a single rectangle, so embed
13104 sufficient segments into the stroker to avoid an extra allocation.
13106 src/cairo-path-stroke.c | 41 ++++++++++++++++++++++++-----------------
13107 1 files changed, 24 insertions(+), 17 deletions(-)
13109 commit ba6b2d092ab45e9d28ab5c016315458d1ad670ff
13110 Author: Chris Wilson <chris@chris-wilson.co.uk>
13111 Date: Wed May 7 09:18:30 2008 +0100
13113 [cairo-hull] Attempt to allocate vertices on stack.
13115 First try to allocate the vertices using an on-stack array, otherwise, if
13116 we need more vertices than can be accomodated, fallback to using a heap
13119 src/cairo-hull.c | 40 +++++++++++++++++++---------------------
13120 1 files changed, 19 insertions(+), 21 deletions(-)
13122 commit b2eadb94f8e34d7c997b5ccfbca4d21e173fdd56
13123 Author: Chris Wilson <chris@chris-wilson.co.uk>
13124 Date: Tue Apr 29 11:56:21 2008 +0100
13126 [cairo] Cache freed gstates.
13128 Reduce the malloc pressure from frequent cairo_save()/cairo_restore() by
13129 caching the freed gstates in a list on the context.
13131 src/cairo-gstate.c | 66 ++++++++++++++------------------------------------
13132 src/cairo-private.h | 1 +
13133 src/cairo.c | 21 ++++++++++------
13134 src/cairoint.h | 4 +-
13135 4 files changed, 35 insertions(+), 57 deletions(-)
13137 commit c57b1eca18db12b8d56d73093d5cae28ed388298
13138 Merge: b9acf62... cba1543...
13139 Author: Søren Sandmann <sandmann@redhat.com>
13140 Date: Fri Jun 13 16:18:13 2008 -0400
13142 Merge branch 'region32'
13144 commit b9acf625d64f11253b5c8d32e890bb94e78809b4
13145 Author: Behdad Esfahbod <behdad@behdad.org>
13146 Date: Thu Jun 12 21:03:19 2008 -0400
13148 Make check-*.sh scripts more portable (#16299)
13150 doc/public/check-doc-coverage.sh | 20 +++++++++++---------
13151 doc/public/check-doc-syntax.sh | 2 +-
13152 src/check-cairoint.sh | 6 +++---
13153 src/check-def.sh | 10 ++++++----
13154 src/check-doc-syntax.sh | 24 +++++++++++++-----------
13155 src/check-headers.sh | 6 +++---
13156 src/check-plt.sh | 10 ++++++----
13157 7 files changed, 43 insertions(+), 35 deletions(-)
13159 commit d47142907f01ae610fa06987c20741ae1382a4b7
13160 Author: Behdad Esfahbod <behdad@behdad.org>
13161 Date: Tue Mar 25 17:33:47 2008 +0430
13163 [xlib-visual] Make the 5x5x5 color cube better approximate the rgb333 space
13165 That is, instead of uniformly spreading the colors at 0/4, 1/4, 2/4, 3/4, 4/4
13166 intensities, we do 0/7, 1.5/7, 3.5/7, 5.5/7, 7/7 now. Those better
13167 approximate the 0/7..7/7 of the rgb333 space that we first convert to.
13169 src/cairo-xlib-visual.c | 2 +-
13170 1 files changed, 1 insertions(+), 1 deletions(-)
13172 commit 4fcef1a490508f0b489a4035dd7951f3ae2e6649
13173 Author: Behdad Esfahbod <behdad@behdad.org>
13174 Date: Tue Mar 25 17:26:51 2008 +0430
13176 [xlib-visual] Allocate 8-entry gray ramp instead of 16-entry
13178 We convert to rgb333 before doing pseudo-color lookup, so we cannot
13179 get more than 8 gray levels anyway.
13181 src/cairo-xlib-visual.c | 8 +++-----
13182 1 files changed, 3 insertions(+), 5 deletions(-)
13184 commit cba1543c9274db5a84aab26a4d6642a1151106c1
13185 Author: Søren Sandmann <sandmann@redhat.com>
13186 Date: Mon Jun 9 03:30:26 2008 -0400
13188 Remove large-clip from xfail list
13190 test/Makefile.am | 1 -
13191 1 files changed, 0 insertions(+), 1 deletions(-)
13193 commit a95e81261f246874bab157dd83131a4f0baebe06
13194 Author: Søren Sandmann <sandmann@redhat.com>
13195 Date: Mon Jun 9 03:04:06 2008 -0400
13197 Require pixman 0.11.2 for 32 bit regions
13199 configure.in | 2 +-
13200 1 files changed, 1 insertions(+), 1 deletions(-)
13202 commit c3121543f87e372d18aaa5b8a132d28bcc4bf450
13203 Author: Søren Sandmann <sandmann@redhat.com>
13204 Date: Mon Jun 9 01:11:38 2008 -0400
13206 Fix xlib incarnation of the large-clip bug.
13208 Intersect the clip region with the bounds of the surface to prevent
13209 overflows when converting from 32 to 16 bits.
13211 src/cairo-xlib-surface.c | 29 ++++++++++++++++++++++++++---
13212 1 files changed, 26 insertions(+), 3 deletions(-)
13214 commit 75fdccc1db2d78a546528164054a54509dac1490
13215 Author: Søren Sandmann <sandmann@redhat.com>
13216 Date: Mon Jun 9 00:43:47 2008 -0400
13218 Use 32 bit pixman regions for cairo_region_t
13220 src/cairo-image-surface.c | 2 +-
13221 src/cairo-region-private.h | 2 +-
13222 src/cairo-region.c | 38 +++++++++++++++++++-------------------
13223 3 files changed, 21 insertions(+), 21 deletions(-)
13225 commit bd0cf0562349e88857943a521bf37fca5709f47e
13226 Author: Søren Sandmann <sandmann@redhat.com>
13227 Date: Mon Jun 9 00:09:25 2008 -0400
13229 Add the correct reference image for the large-clip test
13231 test/large-clip-ref.png | Bin 362 -> 350 bytes
13232 1 files changed, 0 insertions(+), 0 deletions(-)
13234 commit 60971fb5142dedc6d5248133bacf6e08b585abc4
13235 Author: Søren Sandmann <sandmann@redhat.com>
13236 Date: Sun Jun 8 17:48:19 2008 -0400
13238 New large-clip test
13240 This tests clipping to a rectangle that doesn't fit in 16 bits.
13242 test/Makefile.am | 3 ++
13243 test/large-clip-ref.png | Bin 0 -> 362 bytes
13244 test/large-clip.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++
13245 3 files changed, 61 insertions(+), 0 deletions(-)
13247 commit 4210bab61a1f680b0ca393e1f5fec0549ddcfcec
13248 Author: Behdad Esfahbod <behdad@behdad.org>
13249 Date: Tue Jun 10 02:17:21 2008 -0400
13251 [cairo-ft-font] Make font face caching work again
13253 Recent change to the cache key had broken all caching as we were always
13254 comparing unscaled->face.
13256 src/cairo-ft-font.c | 30 ++++++++++++++++++------------
13257 1 files changed, 18 insertions(+), 12 deletions(-)
13259 commit c5b1674349154049646b491cac571d93328b5e0c
13260 Author: Behdad Esfahbod <behdad@behdad.org>
13261 Date: Tue Jun 10 01:05:09 2008 -0400
13263 [cairo-ft-font] Fix thinko in _cairo_ft_unscaled_font_keys_equal()
13265 src/cairo-ft-font.c | 4 ++--
13266 1 files changed, 2 insertions(+), 2 deletions(-)
13268 commit 9e1b4704ce420cd5fd9377e3cb0f522297e00a1a
13269 Author: Behdad Esfahbod <behdad@behdad.org>
13270 Date: Mon Jun 9 15:21:18 2008 -0400
13272 [cairo-xlib-screen] Protect fontconfig call with CAIRO_HAS_FT_FONT
13274 src/cairo-xlib-screen.c | 2 ++
13275 1 files changed, 2 insertions(+), 0 deletions(-)
13277 commit c8fc587edea8619ecd30a170063e79f9d4183011
13278 Author: Adrian Johnson <ajohnson@redneon.com>
13279 Date: Mon Jun 9 23:14:47 2008 +0930
13281 Update user-font test PS/PDF ref images
13283 The PDF output no longer requires a PDF specific reference image. The
13284 lastest poppler from git is required to get the fix for a bug in Type
13287 test/user-font-pdf-ref.png | Bin 6388 -> 0 bytes
13288 test/user-font-ps-ref.png | Bin 0 -> 5043 bytes
13289 2 files changed, 0 insertions(+), 0 deletions(-)
13291 commit 42c212135d22654f9220a06779c7611fe6f0a714
13292 Author: Adrian Johnson <ajohnson@redneon.com>
13293 Date: Sun Jun 8 17:03:05 2008 +0930
13295 Implement PS Type 3 font image support
13297 There does not appear to be any way of emulating PDF inline images in
13298 PostScript so we call back to the PS or PDF surface to emit the image.
13300 src/cairo-pdf-surface.c | 44 +++++++++++++++++++++++++++-
13301 src/cairo-ps-surface.c | 49 ++++++++++++++++++++++++++++++-
13302 src/cairo-type3-glyph-surface-private.h | 9 ++++-
13303 src/cairo-type3-glyph-surface.c | 32 ++++----------------
13304 4 files changed, 104 insertions(+), 30 deletions(-)
13306 commit 5b05034cc9d943a5acb052763c1a595ac0e347fb
13307 Author: Adrian Johnson <ajohnson@redneon.com>
13308 Date: Sun Jun 8 16:57:58 2008 +0930
13310 Implement PS Type 3 font subsetting of user fonts
13312 src/cairo-ps-surface.c | 150 +++++++++---------------------------------------
13313 1 files changed, 28 insertions(+), 122 deletions(-)
13315 commit 100a34bea66545c4d962604ed9beefd3180e53fc
13316 Author: Adrian Johnson <ajohnson@redneon.com>
13317 Date: Sun Jun 8 17:11:39 2008 +0930
13319 Implement PDF Type 3 font subsetting of user fonts
13321 show_glyphs inside a Type 3 font currently results in a fallback
13322 image. Some refactoring is required before font subsets can be created
13323 while emitting all the font subsets.
13325 src/Makefile.am | 2 +
13326 src/cairo-pdf-surface.c | 133 ++-------
13327 src/cairo-scaled-font-subsets.c | 4 +-
13328 src/cairo-type3-glyph-surface-private.h | 69 +++++
13329 src/cairo-type3-glyph-surface.c | 465 +++++++++++++++++++++++++++++++
13330 src/cairo-types-private.h | 3 +-
13331 6 files changed, 568 insertions(+), 108 deletions(-)
13333 commit 1e1c05e58f808c07ac0e7c0a4ba2c6f8ccb18792
13334 Author: Adrian Johnson <ajohnson@redneon.com>
13335 Date: Sun Jun 8 16:50:34 2008 +0930
13337 Change _cairo_font_face_is_user() from static to cairo_private
13339 src/cairo-user-font-private.h | 45 +++++++++++++++++++++++++++++++++++++++++
13340 src/cairo-user-font.c | 3 +-
13341 2 files changed, 47 insertions(+), 1 deletions(-)
13343 commit d157e4861aabe9e154eb3f98106f1d86df36b396
13344 Author: Adrian Johnson <ajohnson@redneon.com>
13345 Date: Sat Jun 7 08:58:39 2008 +0930
13347 Fix win32-printing show_glyphs analysis
13349 src/cairo-win32-printing-surface.c | 32 +++++++++++++++++++-------------
13350 1 files changed, 19 insertions(+), 13 deletions(-)
13352 commit 06b15d2f2da2ffd841a6a88c9713424d416d7388
13353 Author: Behdad Esfahbod <behdad@behdad.org>
13354 Date: Thu Jun 5 22:58:57 2008 -0400
13356 [doc] Document user-font callback types
13358 src/cairo.h | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13359 1 files changed, 133 insertions(+), 0 deletions(-)
13361 commit 4c17a5ee1155cf2f1465d9b14b625a309bd108a2
13362 Author: Behdad Esfahbod <behdad@behdad.org>
13363 Date: Thu Jun 5 22:58:33 2008 -0400
13365 [configure.in] Change version to 1.7.1
13367 We branched weeks ago.
13369 configure.in | 10 +++++-----
13370 1 files changed, 5 insertions(+), 5 deletions(-)
13372 commit a87c94d24774b79e4bc51fc6814558ed4aa1ab77
13373 Author: Behdad Esfahbod <behdad@behdad.org>
13374 Date: Thu Jun 5 19:29:47 2008 -0400
13376 [user-font] Add XXX mark for text_to_glyphs memory allocation issue
13378 src/cairo-user-font.c | 1 +
13379 1 files changed, 1 insertions(+), 0 deletions(-)
13381 commit adcfe8335629e76f2ad12432d90d94fec12871c0
13382 Author: Behdad Esfahbod <behdad@behdad.org>
13383 Date: Thu Jun 5 19:19:27 2008 -0400
13385 [user-font] Reorder methods to the order they should appear in docs
13387 src/cairo-user-font.c | 52 ++++++++++++++++++++++++------------------------
13388 src/cairo.h | 22 ++++++++++----------
13389 2 files changed, 37 insertions(+), 37 deletions(-)
13391 commit 6702c7edc4a6e3e1129d8c6e6b4989ba2410add4
13392 Author: Behdad Esfahbod <behdad@behdad.org>
13393 Date: Thu Jun 5 18:42:50 2008 -0400
13395 [user-font] Let user decide to fall back to unicode_to_glyph in text_to_glyphs
13397 User does this by not setting *num_glyphs.
13399 src/cairo-user-font.c | 4 ++++
13400 1 files changed, 4 insertions(+), 0 deletions(-)
13402 commit 3b1b0746959956155dd33cf71989e7bcb63886f5
13403 Author: Behdad Esfahbod <behdad@behdad.org>
13404 Date: Thu Jun 5 18:32:54 2008 -0400
13406 [user-font] Add XXX mark about metrics-hinting the font extents
13408 src/cairo-user-font.c | 2 ++
13409 1 files changed, 2 insertions(+), 0 deletions(-)
13411 commit 60cf2ef8449e1fd09fe0f2d8c8dc5fa2bb855e5a
13412 Author: Behdad Esfahbod <behdad@behdad.org>
13413 Date: Thu Jun 5 15:44:37 2008 -0400
13415 [cairo-ft] Respect FC_FT_FACE element of pattern
13417 Based on patch from Stuart Parmenter. Now one can use
13418 cairo_ft_font_face_create_for_pattern() to create cairo-ft font
13419 faces using provided FT_Face but also requesting advanced
13420 options like emboldening and hinting.
13422 src/cairo-ft-font.c | 117 +++++++++++++++++++++++++++++++-------------------
13423 1 files changed, 72 insertions(+), 45 deletions(-)
13425 commit 4c5370dad87cb822a17905dd8dbb058fce11d132
13426 Author: Adrian Johnson <ajohnson@redneon.com>
13427 Date: Wed Jun 4 23:27:05 2008 +0930
13429 Update PDF/PS ref images of text-rotate and ft-show-glyphs-positioning
13431 test/ft-show-glyphs-positioning-pdf-ref.png | Bin 3114 -> 3133 bytes
13432 test/text-rotate-pdf-ref.png | Bin 0 -> 16639 bytes
13433 test/text-rotate-ps-ref.png | Bin 6796 -> 6851 bytes
13434 3 files changed, 0 insertions(+), 0 deletions(-)
13436 commit a922a0c5cf2c7862eba4db0b71bda75136a9012a
13437 Author: Adrian Johnson <ajohnson@redneon.com>
13438 Date: Wed Jun 4 22:59:53 2008 +0930
13440 Bit swap when writing FORMAT_A1 to PNG on little endian
13442 src/cairo-png.c | 3 +++
13443 1 files changed, 3 insertions(+), 0 deletions(-)
13445 commit 1d8596d5b068c383c236f312f7dc753911a5f9b7
13446 Author: Adrian Johnson <ajohnson@redneon.com>
13447 Date: Wed Jun 4 22:59:33 2008 +0930
13449 Optimize PDF operators show_glyphs() to use Tj operator
13451 The Tj operator displays a string of glyphs positioned at their glyph
13454 src/cairo-pdf-operators.c | 39 +++++++++++++++++++++++++++++++++++++--
13455 1 files changed, 37 insertions(+), 2 deletions(-)
13457 commit 71fe8c8881d495e8c1bd2ebbb8748761adc6bcd9
13458 Author: Adrian Johnson <ajohnson@redneon.com>
13459 Date: Wed Jun 4 22:57:43 2008 +0930
13461 PS: Make PDF emulation work with the new show_glyphs optimizations
13463 The implementation of the Tf, Td, and Tm operators has been extended
13464 to allow calling these operators in any order.
13466 src/cairo-ps-surface.c | 15 +++++++++------
13467 1 files changed, 9 insertions(+), 6 deletions(-)
13469 commit 83e4825fae85acb49ec032c0ddf51a615ee76a9e
13470 Author: Adrian Johnson <ajohnson@redneon.com>
13471 Date: Wed Jun 4 22:47:50 2008 +0930
13473 Rewrite _cairo_pdf_operators_show_glyphs()
13475 Rewrite the PDF operators show_glyphs() function to make it more
13476 maintainable and better optimized.
13478 The changes include:
13480 - Use a separate function to output each text operator and update the
13483 - Store glyphs in a buffer until they can be written out as one
13484 string. This reduces the complexity of the code for emitting glyph
13485 strings and significantly optimizes the output size as glyphs from
13486 multiple calls to show_glyphs() can be accumulated and written in one
13489 - The code now better handles rotated text. Previously, using rotated
13490 text resulted in the text matrix emitted for every glyph. Now rotated
13491 text can be emitted as strings in the some way as non rotated
13492 text. This is particulary useful for printing in landscape mode where
13493 all text on the page is rotated.
13495 src/cairo-pdf-operators-private.h | 28 ++-
13496 src/cairo-pdf-operators.c | 527 +++++++++++++++++++++++--------------
13497 2 files changed, 361 insertions(+), 194 deletions(-)
13499 commit f3d457db0c5cf79264bf48f0bef9209d68bd259f
13500 Author: Adrian Johnson <ajohnson@redneon.com>
13501 Date: Wed Jun 4 22:36:10 2008 +0930
13503 Store y_advance in cairo_scaled_font_subsets_glyph_t
13505 src/cairo-scaled-font-subsets-private.h | 1 +
13506 src/cairo-scaled-font-subsets.c | 10 ++++++++--
13507 2 files changed, 9 insertions(+), 2 deletions(-)
13509 commit 6139fdc1073c0fe1bc5a3809f15c2ee8b5028469
13510 Author: Adrian Johnson <ajohnson@redneon.com>
13511 Date: Tue Jun 3 20:56:11 2008 +0930
13513 PDF: Don't emit a new text object for every call to show_glyphs
13515 A text object is a series of text operations enclosed in a 'BT'/'ET'
13518 After a call to _cairo_pdf_operators_show_glyphs() the closing 'ET'
13519 will not be emitted. This allows subsequent calls to show_glyphs() to
13520 emit text into the same text object. A call to any other operator or
13521 _cairo_pdf_operators_flush() will close the text object.
13523 src/cairo-pdf-operators-private.h | 1 +
13524 src/cairo-pdf-operators.c | 27 +++++++++++++++++++++++----
13525 src/cairo-pdf-surface.c | 10 ++++++++++
13526 3 files changed, 34 insertions(+), 4 deletions(-)
13528 commit 6258f1a4e29e0457465e83bd5be1900a10c75473
13529 Author: Adrian Johnson <ajohnson@redneon.com>
13530 Date: Tue Jun 3 20:55:30 2008 +0930
13532 PDF: Remember the current color
13534 Don't emit the set fill or stroke color operator if the required fill
13535 or stroke color is already selected.
13537 src/cairo-pdf-surface-private.h | 7 ++++
13538 src/cairo-pdf-surface.c | 71 ++++++++++++++++++++++++++++----------
13539 2 files changed, 59 insertions(+), 19 deletions(-)
13541 commit fd42b74a4f35154d7c9a03b4f248801cd0b7c339
13542 Author: Adrian Johnson <ajohnson@redneon.com>
13543 Date: Tue Jun 3 20:55:03 2008 +0930
13545 Add _cairo_pdf_operators_flush()
13547 The optimizations planned for pdf-operators will mean that it will no
13548 longer emit complete operations on each call to
13549 fill/stroke/show_glyphs. For example a call to _show_glyphs() may not
13550 finish the text operation to allow a subsequent call to _show_glyphs()
13551 to be merged into the same text object.
13553 A flush function is required to force pdf_operators to complete the
13554 current operation before the pdf surface can emit any pdf operators.
13556 src/cairo-pdf-operators-private.h | 5 ++-
13557 src/cairo-pdf-operators.c | 24 +++++++++-
13558 src/cairo-pdf-surface.c | 92 ++++++++++++++++++++++++++++++++----
13559 src/cairo-ps-surface.c | 36 ++++++++++++++-
13560 4 files changed, 142 insertions(+), 15 deletions(-)
13562 commit e1bc97a7e506c16467d97a525b35722ea30027c3
13563 Author: Adrian Johnson <ajohnson@redneon.com>
13564 Date: Thu May 1 23:29:20 2008 +0930
13566 Disable UniqueID font check in Type 1 subset font
13568 Some Type 1 fonts have some PostScript code at the start of the font
13569 that checks if the font is already cached in the printer (based on the
13570 font UniqueID key). This breaks our subsetted font as it is not the
13571 same as the original font.
13573 Checking for and removing a random blob of PostScript is difficult so
13574 this patch takes the simpler approach of searching for the PS code
13575 that checks if the UniqueID dictionary entry exists
13581 this code leaves the value "true" or "false" on the PS interpreter
13582 stack depending on whether the "UniqueID" key exists.
13584 Then the patch inserts the PS code " pop false " after the above code
13585 to remove the old result and place "false" on the stack to make it
13586 appear that UniqueID does not exist.
13588 This approach should be able to handle any type of PostScript code
13589 that attempts to do something with the UniqueID value in the font
13592 src/cairo-type1-subset.c | 30 +++++++++++++++++++++++++++---
13593 1 files changed, 27 insertions(+), 3 deletions(-)
13595 commit 34c42202f0575be10a2e409fe66f1da95886353f
13596 Author: Adrian Johnson <ajohnson@redneon.com>
13597 Date: Thu May 1 22:55:07 2008 +0930
13599 Remove XUID key from subsetted Type 1 fonts
13601 Subsetted fonts must not share the same XUID as the original font.
13603 src/cairo-type1-subset.c | 11 ++++++-----
13604 1 files changed, 6 insertions(+), 5 deletions(-)
13606 commit 6ae1061508d6b14b128a8fbf7558d3a64f9551fa
13607 Author: Adrian Johnson <ajohnson@redneon.com>
13608 Date: Thu May 1 23:24:57 2008 +0930
13610 Remove UniqueID key from subsetted Type 1 fonts
13612 Subsetted fonts must not share the same UniqueID as the original
13615 src/cairo-type1-subset.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++
13616 1 files changed, 59 insertions(+), 0 deletions(-)
13618 commit e30cd617c89fa7511d2002a155d4ccdfa2ec9aa9
13619 Author: Adrian Johnson <ajohnson@redneon.com>
13620 Date: Tue May 13 21:41:56 2008 +0930
13622 Make font subsetting output fonts in order of the font subset id
13624 This ensures that PS/PDF output is always the same for the same cairo
13625 input. Previously the order of the embedded fonts depended on the hash
13626 key of the fonts which depended on the memory location of fonts.
13628 src/cairo-scaled-font-subsets.c | 58 +++++++++++++++++++++++++++------------
13629 1 files changed, 40 insertions(+), 18 deletions(-)
13631 commit 0dbb5c9f6222660b1083420419d0eaa71c809ac5
13632 Author: Adrian Johnson <ajohnson@redneon.com>
13633 Date: Sat May 31 20:15:04 2008 +0930
13635 Ensure eexec encryption in subsetted Type 1 font is compliant (#13679)
13637 In the eexec encryption used in Type 1 fonts, the first four bytes of
13638 ciphertext must not start with a white space character or contain an
13639 ASCII Hex character. Some fonts do not comply with this
13640 restriction. This may cause problems for some PDF consumers.
13642 Fix this by overwriting the four random bytes at the start of the
13643 decrypted cleartext with spaces. When re-encrypted the first four
13644 bytes of ciphertext will always be 0xf0, 0x83, 0xef, 0x00 which
13645 complies with the restrictions.
13647 src/cairo-type1-subset.c | 18 ++++++++++++++++++
13648 1 files changed, 18 insertions(+), 0 deletions(-)
13650 commit 2f4d8fd0717fc7158d49f7a14335bc13dd09d55a
13651 Author: Behdad Esfahbod <behdad@behdad.org>
13652 Date: Mon Jun 2 22:46:21 2008 -0400
13654 [cairo-gstate] Return immediately if clip bounds is empty
13656 src/cairo-gstate.c | 8 ++++++++
13657 1 files changed, 8 insertions(+), 0 deletions(-)
13659 commit 3f5051fab161da167fdedcdad0280da1f57a1828
13660 Author: Behdad Esfahbod <behdad@behdad.org>
13661 Date: Sun Jun 1 19:14:13 2008 -0400
13663 Fix now-detected doc formatting issues
13665 src/cairo-base85-stream.c | 3 ++-
13666 src/cairo-beos-surface.cpp | 2 +-
13667 src/cairo-deflate-stream.c | 3 ++-
13668 src/cairo-ft-font.c | 1 +
13669 src/cairo-meta-surface.c | 2 +-
13670 src/cairo-os2-surface.c | 4 ++--
13671 src/cairo-output-stream-private.h | 4 ++--
13672 src/cairo-paginated-private.h | 4 ++--
13673 src/cairo-path-fixed.c | 2 ++
13674 src/cairo-surface.c | 2 +-
13675 src/cairo-unicode.c | 3 ++-
13676 src/cairo-xcb-surface.c | 4 ++--
13677 src/cairo-xlib-surface.c | 4 ++--
13678 src/cairo.c | 27 +++++++++++++--------------
13679 src/cairo.h | 8 ++++----
13680 src/cairoint.h | 24 ++++++++++++------------
13681 16 files changed, 51 insertions(+), 46 deletions(-)
13683 commit 0c208f28268028fbb4fe2cc175131b279626975c
13684 Author: Behdad Esfahbod <behdad@behdad.org>
13685 Date: Sun Jun 1 19:13:49 2008 -0400
13687 [src/check-doc-syntax.sh] Detect malformatted functions at line start
13689 src/check-doc-syntax.sh | 6 +++---
13690 1 files changed, 3 insertions(+), 3 deletions(-)
13692 commit 3f02e0d74b9b04f6e8ad32d12768aafa0076bd97
13693 Author: Behdad Esfahbod <behdad@behdad.org>
13694 Date: Sun Jun 1 18:46:45 2008 -0400
13696 Fix newly detected doc syntax issues
13698 src/cairo-array.c | 6 +++---
13699 src/cairo-bentley-ottmann.c | 2 +-
13700 src/cairo-cache.c | 2 +-
13701 src/cairo-hash.c | 8 ++++----
13702 src/cairo-meta-surface.c | 2 +-
13703 src/cairo-pattern.c | 2 +-
13704 src/cairo-png.c | 10 +++++-----
13705 src/cairo-scaled-font-subsets-private.h | 26 +++++++++++++-------------
13706 src/cairo-scaled-font.c | 8 ++++----
13707 src/cairo-surface.c | 4 ++--
13708 src/cairo.c | 14 +++++++-------
13709 src/cairo.h | 8 ++++----
13710 12 files changed, 46 insertions(+), 46 deletions(-)
13712 commit b37c7557303e750c672648fe00922262d2a56a5a
13713 Author: Behdad Esfahbod <behdad@behdad.org>
13714 Date: Sun Jun 1 18:46:23 2008 -0400
13716 [src/check-doc-syntax.sh] Detect malformatted enums starting the line
13718 src/check-doc-syntax.sh | 2 +-
13719 1 files changed, 1 insertions(+), 1 deletions(-)
13721 commit 0ea7d5d6dbd7d48f7d88280dedeba2c1bc36d1ea
13722 Author: Behdad Esfahbod <behdad@behdad.org>
13723 Date: Sun Jun 1 15:32:42 2008 -0400
13725 [cairo-mutex] Remove debugging stuff that I accidentally committed
13727 We should add read mutex debugging facilities when the debugging
13728 infrastructure is in place.
13730 src/cairo-mutex-type-private.h | 21 +--------------------
13731 1 files changed, 1 insertions(+), 20 deletions(-)
13733 commit 54f1a426f75ed44ea2d67b605c78951798f4c1d1
13734 Author: Behdad Esfahbod <behdad@behdad.org>
13735 Date: Fri May 30 15:23:32 2008 -0400
13737 [cairo-xcb] Oops. Fix build.
13739 src/cairo-xcb-surface.c | 2 +-
13740 1 files changed, 1 insertions(+), 1 deletions(-)
13742 commit fbe7044f10c2d36f1ee4e1edd3d3289e0cad8779
13743 Author: Behdad Esfahbod <behdad@behdad.org>
13744 Date: Fri May 30 15:18:22 2008 -0400
13746 [user-font] Improve docs.
13748 src/cairo-user-font.c | 6 ++++++
13749 1 files changed, 6 insertions(+), 0 deletions(-)
13751 commit 45be1459b2b8f7fab124fe6c773944618bd5e046
13752 Author: Behdad Esfahbod <behdad@behdad.org>
13753 Date: Thu May 29 02:35:09 2008 -0400
13755 [user-font] Document all public functions
13757 Remains to do: callback types.
13759 src/cairo-user-font.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++---
13760 1 files changed, 118 insertions(+), 7 deletions(-)
13762 commit 9a05c0e7f46f5c6bd29354f53adf2fd340543414
13763 Author: Behdad Esfahbod <behdad@behdad.org>
13764 Date: Thu May 29 02:34:07 2008 -0400
13768 src/cairo-types-private.h | 2 +-
13769 1 files changed, 1 insertions(+), 1 deletions(-)
13771 commit d0bc3ca1a224bf6ff6578ea4bf3a5ebe9e4f52a1
13772 Author: Behdad Esfahbod <behdad@behdad.org>
13773 Date: Wed May 28 20:58:35 2008 -0400
13775 [doc] Add Index of 1.8 symbols
13777 doc/public/cairo-docs.xml | 3 +++
13778 1 files changed, 3 insertions(+), 0 deletions(-)
13780 commit 4e68140aca75536127a7efc983d9123fd7af4109
13781 Author: Behdad Esfahbod <behdad@behdad.org>
13782 Date: Wed May 28 20:57:36 2008 -0400
13784 [doc] Document remaining CAIRO_HAS_* macros
13786 I'm sure I had done them all before. No idea what happened.
13787 Perhaps gtk-doc was not seeing them as missing.
13789 doc/public/tmpl/cairo-ft.sgml | 3 ++-
13790 doc/public/tmpl/cairo-quartz-fonts.sgml | 3 ++-
13791 doc/public/tmpl/cairo-quartz.sgml | 3 ++-
13792 doc/public/tmpl/cairo-xlib.sgml | 3 ++-
13793 4 files changed, 8 insertions(+), 4 deletions(-)
13795 commit 65cc905c2f7707723858917d9d1e93566214b640
13796 Author: Behdad Esfahbod <behdad@behdad.org>
13797 Date: Wed May 28 20:54:38 2008 -0400
13799 [doc] Add stub for user-fonts
13801 doc/public/Headers.mk | 1 +
13802 doc/public/cairo-docs.xml | 1 +
13803 doc/public/cairo-sections.txt | 18 ++++
13804 doc/public/tmpl/cairo-user-fonts.sgml | 146 +++++++++++++++++++++++++++++++++
13805 4 files changed, 166 insertions(+), 0 deletions(-)
13807 commit a9b2461c41dba6bb097ee316f093d5b9d3fb6d56
13808 Author: Behdad Esfahbod <behdad@behdad.org>
13809 Date: Wed May 28 20:29:11 2008 -0400
13811 [user-font] Handle metrics-hinting font option
13813 src/cairo-user-font.c | 5 ++++-
13814 1 files changed, 4 insertions(+), 1 deletions(-)
13816 commit b0796bf200de86cb37e84c8241f8f72d8d5657d2
13817 Author: Behdad Esfahbod <behdad@behdad.org>
13818 Date: Wed May 28 20:20:46 2008 -0400
13820 [user-font] Cache extent-space scale in the scaled font
13822 src/cairo-user-font.c | 70 ++++++++++++++++++++++++++++++++-----------------
13823 1 files changed, 46 insertions(+), 24 deletions(-)
13825 commit abdf04c671235a120f23a1444a53893afdd949b0
13826 Author: Behdad Esfahbod <behdad@behdad.org>
13827 Date: Wed May 28 19:52:56 2008 -0400
13829 [user-font] Handle the case of a null render_glyph callback
13831 src/cairo-user-font.c | 9 ++++++---
13832 1 files changed, 6 insertions(+), 3 deletions(-)
13834 commit 50e6957e8089f9f0db36b1e44249f41041cf405d
13835 Author: Behdad Esfahbod <behdad@behdad.org>
13836 Date: Wed May 28 19:31:51 2008 -0400
13838 [user-font] Remove completed TODO item
13840 The user-font-proxy test case already does this.
13842 src/cairo-user-font.c | 2 --
13843 1 files changed, 0 insertions(+), 2 deletions(-)
13845 commit f2b385558b185a723ae0043ad1381621c17318d8
13846 Author: Behdad Esfahbod <behdad@behdad.org>
13847 Date: Wed May 28 19:30:39 2008 -0400
13849 [cairo-user-font] Add comment about possibly doing metrics-hinting
13851 src/cairo-user-font.c | 2 ++
13852 1 files changed, 2 insertions(+), 0 deletions(-)
13854 commit 9b1cbcde3272dac176bd9184ceb21c953c30517d
13855 Author: Behdad Esfahbod <behdad@behdad.org>
13856 Date: Wed May 28 19:27:58 2008 -0400
13858 [user-font] Handle antialiasing font option
13860 src/cairo-user-font.c | 23 ++++++++++++++++++-----
13861 1 files changed, 18 insertions(+), 5 deletions(-)
13863 commit e8e23862333f4be69e2afd9ee41c9a27817f9659
13864 Author: Behdad Esfahbod <behdad@behdad.org>
13865 Date: Wed May 28 19:10:09 2008 -0400
13867 Remove some bogus XXX marks
13869 These are all perfectly correct code. Most are simply there because when
13870 we support vertical text writing mode we need to update there, but that's
13871 pretty trivial. No special markers needed.
13873 /me is trying to make user-font clean of XXX and TODO marks
13875 src/cairo-arc.c | 1 -
13876 src/cairo-ft-font.c | 2 +-
13877 src/cairo-scaled-font.c | 4 ++--
13878 src/cairo-user-font.c | 4 ++--
13879 4 files changed, 5 insertions(+), 6 deletions(-)
13881 commit 4e1024114872a01fef01ec0b9136e09f4613e5d2
13882 Author: Behdad Esfahbod <behdad@behdad.org>
13883 Date: Wed May 28 17:12:51 2008 -0400
13887 src/cairo-mutex-type-private.h | 8 ++++----
13888 src/cairo-svg-surface.c | 2 +-
13889 src/cairo-types-private.h | 4 ++--
13890 src/cairo-xlib-surface.c | 24 ++++++++++++------------
13891 src/cairo.h | 16 ++++++++--------
13892 5 files changed, 27 insertions(+), 27 deletions(-)
13894 commit 78b9e2917857714bc1a712ea9d1a18af77000f78
13895 Author: Behdad Esfahbod <behdad@behdad.org>
13896 Date: Wed May 28 17:04:09 2008 -0400
13898 [cairo-xlib] Rewrite cairo_xlib_glyph_t as a union of cairo_glyph_t
13900 Someone reported on cairo list that on some system with gcc, he had the
13901 compile-time assertion failing, meaning that the following struct:
13904 unsigned long index;
13915 } cairo_xlib_glyph_t;
13917 had a different size from:
13920 unsigned long index;
13925 That looks quite a weird thing for a compiler to do. Anyway, rewriting
13926 our struct like this may help in those weird situations:
13930 unsigned long index;
13932 unsigned long index;
13936 } cairo_xlib_glyph_t;
13938 That's what we do now.
13940 src/cairo-xlib-surface.c | 34 +++++++++++++++-------------------
13941 1 files changed, 15 insertions(+), 19 deletions(-)
13943 commit 51885e9a1e6dcebe0ae72834770e9000063187bf
13944 Author: Behdad Esfahbod <behdad@behdad.org>
13945 Date: Wed May 28 16:52:19 2008 -0400
13947 [test/user-font.c] Fix compiler warnings
13949 test/user-font.c | 4 ++--
13950 1 files changed, 2 insertions(+), 2 deletions(-)
13952 commit 9b16b528dcfffc896cecbda87249ff09a7987eb7
13953 Author: Behdad Esfahbod <behdad@behdad.org>
13954 Date: Wed May 28 16:48:13 2008 -0400
13956 [cairo-unicode] Make unicode conversion funcs take const char *utf8
13958 Instead of the previous const unsigned char *utf8. This is in line
13959 with our public API now.
13961 src/cairo-scaled-font.c | 2 +-
13962 src/cairo-unicode.c | 34 ++++++++++++++++++----------------
13963 src/cairoint.h | 16 ++++++++--------
13964 3 files changed, 27 insertions(+), 25 deletions(-)
13966 commit df5ad168aa40ae0dfff8bf1b0830c9f4931d3b97
13967 Author: Behdad Esfahbod <behdad@behdad.org>
13968 Date: Wed May 28 16:47:55 2008 -0400
13970 [cairo-path-fixed] Fixe compiler warning
13972 src/cairo-path-fixed.c | 2 +-
13973 1 files changed, 1 insertions(+), 1 deletions(-)
13975 commit 6938f158983a62cd8041e19fa544f997cf49eecf
13976 Author: Behdad Esfahbod <behdad@behdad.org>
13977 Date: Wed May 28 16:47:37 2008 -0400
13979 [cairo-win32-surface] Remove unused variable
13981 src/cairo-win32-surface.c | 1 -
13982 1 files changed, 0 insertions(+), 1 deletions(-)
13984 commit 12646f81cafa01c04e864a98c4344e16d958e980
13985 Author: Behdad Esfahbod <behdad@behdad.org>
13986 Date: Wed May 28 16:46:55 2008 -0400
13988 [cairo-compiler-private] Make it build with wine
13990 One can build cairo with wine easily now:
13992 ./configure CC=winegcc LD=winegcc
13994 src/cairo-compiler-private.h | 2 +-
13995 1 files changed, 1 insertions(+), 1 deletions(-)
13997 commit b70e6e1d98021879edfed2cf8e29d18cdf37b71b
13998 Author: Behdad Esfahbod <behdad@behdad.org>
13999 Date: Wed May 28 16:09:56 2008 -0400
14001 One more remaining_glyphs compile fix
14003 src/cairo-win32-printing-surface.c | 3 ++-
14004 1 files changed, 2 insertions(+), 1 deletions(-)
14006 commit 907620608099f6840b64a17b75a1d7938e76d953
14007 Author: Behdad Esfahbod <behdad@behdad.org>
14008 Date: Wed May 28 16:08:37 2008 -0400
14010 Fix two more compile errors
14012 When adding remaining_glyphs argument to show_glyphs(), I missed
14015 src/cairo-win32-private.h | 3 ++-
14016 src/cairo-xcb-surface.c | 3 ++-
14017 2 files changed, 4 insertions(+), 2 deletions(-)
14019 commit 295dee36e3043fd63a2a93715f144aad92d16917
14020 Author: Behdad Esfahbod <behdad@behdad.org>
14021 Date: Wed May 28 13:10:07 2008 -0400
14023 [cairo-xlib] Use newly-added COMPILE_TIME_ASSERT
14025 src/cairo-xlib-surface.c | 2 +-
14026 1 files changed, 1 insertions(+), 1 deletions(-)
14028 commit 2e4d6acd09f0af5d51c4da5707b3430cdd54f0a5
14029 Author: Behdad Esfahbod <behdad@behdad.org>
14030 Date: Wed May 28 13:09:52 2008 -0400
14032 [cairoint.h] Add COMPILE_TIME_ASSERT()
14034 src/cairoint.h | 4 ++++
14035 1 files changed, 4 insertions(+), 0 deletions(-)
14037 commit 043ed895adb4f17912ae5c44d4c63ca6350d5b75
14038 Author: Behdad Esfahbod <behdad@behdad.org>
14039 Date: Wed May 28 13:09:43 2008 -0400
14041 [cairo-xlib] Fix compiler warning
14043 src/cairo-xlib-surface.c | 3 ++-
14044 1 files changed, 2 insertions(+), 1 deletions(-)
14046 commit 26aec31f244bbb4243dda629683bed045ec42734
14047 Author: Behdad Esfahbod <behdad@behdad.org>
14048 Date: Wed May 28 12:07:13 2008 -0400
14050 [src/check-def.sh] Don't report anything if skipping test
14052 src/check-def.sh | 5 ++---
14053 1 files changed, 2 insertions(+), 3 deletions(-)
14055 commit f07407335503e5612dcf07cc8f44e1781367d263
14056 Author: Behdad Esfahbod <behdad@behdad.org>
14057 Date: Wed May 28 12:01:38 2008 -0400
14059 [configure.in] Dont let a missing FcFini disable the freetype font backend!
14061 configure.in | 7 ++++---
14062 src/cairo-os2-surface.c | 2 ++
14063 2 files changed, 6 insertions(+), 3 deletions(-)
14065 commit d7ddde8a324c5bfd9ca00d1fbb47cd3f1730bbfb
14066 Author: Behdad Esfahbod <behdad@behdad.org>
14067 Date: Wed May 28 11:00:01 2008 -0400
14069 [cairo-user-font] Make backend struct static
14071 src/cairo-user-font.c | 4 ++--
14072 1 files changed, 2 insertions(+), 2 deletions(-)
14074 commit 3306aa5e8d162f90c2ae957a9d72c42ac1ce62d9
14075 Author: Behdad Esfahbod <behdad@behdad.org>
14076 Date: Wed May 28 10:59:35 2008 -0400
14078 [src/check-def.sh] Also check for public variables (#16129)
14080 src/check-def.sh | 4 ++--
14081 1 files changed, 2 insertions(+), 2 deletions(-)
14083 commit f3a3a0594d457dcc7d11b794afe8408aee07a1ee
14084 Author: Behdad Esfahbod <behdad@behdad.org>
14085 Date: Wed May 28 10:43:47 2008 -0400
14087 [cairo-xlib] Add recently-added byteswap macros (#16128)
14089 src/cairo-xlib-surface.c | 8 ++------
14090 1 files changed, 2 insertions(+), 6 deletions(-)
14092 commit 0bf941c9b25503047be6d01b134f9fe2597423fd
14093 Author: Behdad Esfahbod <behdad@behdad.org>
14094 Date: Wed May 28 10:43:22 2008 -0400
14096 Add support for byteswap macros bswap_16 and bswap_32
14098 configure.in | 2 +-
14099 src/cairo-wideint-type-private.h | 16 ++++++++++++++++
14100 2 files changed, 17 insertions(+), 1 deletions(-)
14102 commit 5c732badbc6148087cf99c906eb5f99c92ea0b92
14103 Author: Behdad Esfahbod <behdad@behdad.org>
14104 Date: Wed May 28 09:00:13 2008 -0400
14106 [src/check-def.sh] Improve test comment
14108 src/check-def.sh | 4 +++-
14109 1 files changed, 3 insertions(+), 1 deletions(-)
14111 commit e8dd97fde81a31c8875f03edbbcdb83da3830283
14112 Author: Behdad Esfahbod <behdad@behdad.org>
14113 Date: Tue May 27 23:07:04 2008 -0400
14115 [cairo-scaled-font] Fix assertion failure
14117 Revert 127c4b8e643560c029818509e20fc5ca87408611
14118 We assume that all scaled fonts with ref count 0 are in holdover cache.
14119 That commit was breaking this assumption.
14121 src/cairo-scaled-font.c | 15 +++++++--------
14122 1 files changed, 7 insertions(+), 8 deletions(-)
14124 commit 8c4f4a758bf4c1138f313d9cafa5564ac827b61d
14125 Author: Behdad Esfahbod <behdad@behdad.org>
14126 Date: Tue May 27 20:27:18 2008 -0400
14128 [cairo-gstate] Use clip, not surface, extents to drop invisible glyphs
14130 src/cairo-gstate.c | 2 +-
14131 1 files changed, 1 insertions(+), 1 deletions(-)
14133 commit c752bd665ae707edf207653f183b6d132dd0384e
14134 Author: Behdad Esfahbod <behdad@behdad.org>
14135 Date: Tue May 27 20:27:07 2008 -0400
14137 [cairo-gstate] Add _cairo_gstate_int_clip_extents()
14139 src/cairo-gstate.c | 21 ++++++++++++++++-----
14140 1 files changed, 16 insertions(+), 5 deletions(-)
14142 commit 0f07c45fa30279cb1aba6092bc84a859dd479054
14143 Author: Behdad Esfahbod <behdad@behdad.org>
14144 Date: Tue May 27 17:53:35 2008 -0400
14146 [test/user-font] Use user_data to access glyphs array
14148 This way the same callback code can be used to render multiple different
14149 glyph arrays. Change done for education purposes, otherwise doesn't
14150 make any difference in the test.
14152 test/user-font.c | 67 ++++++++++++++++++++++++++++++++++-------------------
14153 1 files changed, 43 insertions(+), 24 deletions(-)
14155 commit 626edfc333b77604b6955c12ae111d14c174034c
14156 Author: Behdad Esfahbod <behdad@behdad.org>
14157 Date: Mon May 26 20:28:23 2008 -0400
14159 [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities
14161 Essentially renaming cairo-mutex-type-private.h to cairo-mutex-impl-private.h
14162 and changing all its namespace from cairo_mutex to cairo_mutex_impl.
14163 cairo-mutex-type-private.h then does all the sanity checks on the
14164 implementation that used to be in cairo-mutex-private.h. Plus, defines macros
14165 for the cairo-mutex namespace to map to the cairo-mutex-impl namespace. This
14166 extra mapping layer allows for add debugging facilities.
14168 src/Makefile.am | 1 +
14169 src/cairo-mutex-impl-private.h | 226 +++++++++++++++++++++++++++++++++
14170 src/cairo-mutex-private.h | 129 ++------------------
14171 src/cairo-mutex-type-private.h | 269 +++++++++++++++++++---------------------
14172 src/cairo-mutex.c | 18 ++--
14173 5 files changed, 374 insertions(+), 269 deletions(-)
14175 commit 07fef4f4802639a2cb16284841635d1bcc9b8e8f
14176 Author: Ginn Chen <ginn.chen@sun.com>
14177 Date: Tue May 27 04:44:08 2008 -0400
14179 [cairo-xlib] Implement _cairo_xlib_surface_solid_fill_rectangles() (#11529)
14181 src/cairo-xlib-surface.c | 66 ++++++++++++++++++++++++++++++++++++++++++++-
14182 1 files changed, 64 insertions(+), 2 deletions(-)
14184 commit f90b155b5a59211bed7502b537dbf207b3d4bf5e
14185 Author: Behdad Esfahbod <behdad@behdad.org>
14186 Date: Tue May 27 04:41:03 2008 -0400
14188 [cairo-xlib] Delay using fallback if xrender is not available
14190 So we can use XCopyArea when Render is not available. Based on patch by
14193 src/cairo-xlib-surface.c | 6 +++---
14194 1 files changed, 3 insertions(+), 3 deletions(-)
14196 commit 30a16df29ba434d298d0c8d9dbb70c1b0a398f35
14197 Author: Behdad Esfahbod <behdad@behdad.org>
14198 Date: Mon May 26 19:56:09 2008 -0400
14200 [util/backtrace-symbols] Implement backtrace_symbols_fd()
14202 util/backtrace-symbols.c | 18 ++++++++++++++++++
14203 1 files changed, 18 insertions(+), 0 deletions(-)
14205 commit ce56e0cd0c0afc887bc0c4d46d51b934923f2d2c
14206 Author: Adrian Johnson <ajohnson@redneon.com>
14207 Date: Tue May 27 12:44:50 2008 +0930
14209 Add missing argument to _cairo_pdf_surface_show_glyphs()
14211 cf473f4a75ca0d3c815222287d7c144e72de5add missed the PDF surface when
14212 it added an argument to the show_glyphs() surface backend function.
14214 src/cairo-pdf-surface.c | 3 ++-
14215 1 files changed, 2 insertions(+), 1 deletions(-)
14217 commit 8d86e725ceb58fd93a9e9638f86636f5a4d88833
14218 Author: Behdad Esfahbod <behdad@behdad.org>
14219 Date: Sun May 25 02:30:14 2008 -0400
14221 [cairo-gstate] Add code for switching to path;fill for huge show_glyph()s
14223 For really huge font sizes, we can just do path;fill instead of
14224 show_glyphs, as show_glyphs would put excess pressure on the cache,
14225 and moreover, not all components below us correctly handle huge font
14226 sizes. I wanted to set the limit at 256. But alas, seems like cairo's
14227 rasterizer is something like ten times slower than freetype's for huge
14228 sizes. So, no win just yet. For now, do it for insanely-huge sizes,
14229 just to make sure we don't make anyone unhappy. When we get a really
14230 fast rasterizer in cairo, we may want to readjust this.
14232 src/cairo-gstate.c | 43 +++++++++++++++++++++++++++++++++++++------
14233 1 files changed, 37 insertions(+), 6 deletions(-)
14235 commit f5fbb8b24e381f3438e24340965ce2aeea56ac33
14236 Author: Behdad Esfahbod <behdad@behdad.org>
14237 Date: Sun May 25 01:53:44 2008 -0400
14241 src/cairo-scaled-font.c | 2 +-
14242 1 files changed, 1 insertions(+), 1 deletions(-)
14244 commit 238a3117f191c927abcce6b0f5c555d8f34af59c
14245 Author: Behdad Esfahbod <behdad@behdad.org>
14246 Date: Sun May 25 01:51:05 2008 -0400
14248 [cairo-scaled-font] Clean up recent locking changes
14250 Based on feedback from Keith.
14252 src/cairo-scaled-font-private.h | 2 +-
14253 src/cairo-scaled-font.c | 141 +++++++++++++++++++++------------------
14254 src/cairo-user-font.c | 4 +-
14255 src/cairoint.h | 4 +-
14256 4 files changed, 81 insertions(+), 70 deletions(-)
14258 commit 0621f412ff7986bc883a613d332f121da62e38fe
14259 Author: Behdad Esfahbod <behdad@behdad.org>
14260 Date: Sun May 25 00:55:36 2008 -0400
14262 [cairo-matrix] Move IS_FINITE(det) checks before det==0 checks
14264 I'm still getting floating point exceptions in test suite in a
14265 made-to-overflow test though. Not sure why isfinite() doesn't work.
14267 src/cairo-matrix.c | 6 +++---
14268 1 files changed, 3 insertions(+), 3 deletions(-)
14270 commit 9827dae57085f9452889499ff799c378abd5c60e
14271 Author: Behdad Esfahbod <behdad@behdad.org>
14272 Date: Sun May 25 00:17:43 2008 -0400
14274 [user-font] Fix fontmap locking
14276 After consulting with Keith Packard we came up with a farily simple
14277 solution. Documented in the code.
14279 src/cairo-scaled-font-private.h | 2 +
14280 src/cairo-scaled-font.c | 117 +++++++++++++++++++++++++++++++++++++-
14281 src/cairo-user-font.c | 20 +++----
14282 src/cairoint.h | 5 ++
14283 4 files changed, 129 insertions(+), 15 deletions(-)
14285 commit 96f7178226640226625c0e4db57257035e0b48c6
14286 Author: Behdad Esfahbod <behdad@behdad.org>
14287 Date: Sat May 24 23:28:15 2008 -0400
14289 [user-font] Lock the font mutex such that user doesn't accidentally use it yet
14291 src/cairo-user-font.c | 5 +++++
14292 1 files changed, 5 insertions(+), 0 deletions(-)
14294 commit 8dc1e6d945ca86b4af33ad9a5f627688fa15a5cc
14295 Author: Behdad Esfahbod <behdad@behdad.org>
14296 Date: Sat May 24 22:13:01 2008 -0400
14300 src/cairo-scaled-font.c | 2 +-
14301 1 files changed, 1 insertions(+), 1 deletions(-)
14303 commit 8ff0fa112da0d13da2596c4ca6815f5b441c9c7d
14304 Author: Behdad Esfahbod <behdad@behdad.org>
14305 Date: Sat May 24 22:11:41 2008 -0400
14309 src/cairo-scaled-font.c | 2 +-
14310 src/cairo-user-font.c | 2 +-
14311 2 files changed, 2 insertions(+), 2 deletions(-)
14313 commit a3d9918428daf96811b050c1e27b6330bbccd35e
14314 Author: Behdad Esfahbod <behdad@behdad.org>
14315 Date: Sat May 24 20:51:43 2008 -0400
14317 [user-font] Note possible locking issue
14319 src/cairo-user-font.c | 7 +++++++
14320 1 files changed, 7 insertions(+), 0 deletions(-)
14322 commit 4c1c9d33b1b89d8098c06bbb4d430811947ed86c
14323 Author: Behdad Esfahbod <behdad@behdad.org>
14324 Date: Sat May 24 20:48:38 2008 -0400
14326 [user-font] Release fontmap lock around user callback
14328 This makes the user-font-proxy to work now.
14330 src/cairo-user-font.c | 5 ++++-
14331 1 files changed, 4 insertions(+), 1 deletions(-)
14333 commit 127c4b8e643560c029818509e20fc5ca87408611
14334 Author: Behdad Esfahbod <behdad@behdad.org>
14335 Date: Sat May 24 20:48:07 2008 -0400
14337 [src/cairo-scaled-font] Only take fontmap mutex if touching it
14339 src/cairo-scaled-font.c | 17 +++++++++++------
14340 1 files changed, 11 insertions(+), 6 deletions(-)
14342 commit a715671c6f3bd2f6f692b79cba7d7f7bc49f06f9
14343 Author: Behdad Esfahbod <behdad@behdad.org>
14344 Date: Sat May 24 20:34:41 2008 -0400
14346 [test/user-font-proxy] New test using fonts inside a user-font
14348 PDF fails and needs some fixes in the PDF surface instead of a new
14351 test/Makefile.am | 4 +
14352 test/user-font-proxy-ps-ref.png | Bin 0 -> 8452 bytes
14353 test/user-font-proxy-ref.png | Bin 0 -> 18121 bytes
14354 test/user-font-proxy-svg-ref.png | Bin 0 -> 17902 bytes
14355 test/user-font-proxy.c | 190 ++++++++++++++++++++++++++++++++++++++
14356 5 files changed, 194 insertions(+), 0 deletions(-)
14358 commit c914377f35e1e3396571fc027b7f53854db7d896
14359 Author: Behdad Esfahbod <behdad@behdad.org>
14360 Date: Sat May 24 20:33:15 2008 -0400
14362 Add public API cairo_scaled_font_get_scale_matrix()
14364 doc/public/cairo-sections.txt | 1 +
14365 doc/public/tmpl/cairo-scaled-font.sgml | 9 +++++++++
14366 src/cairo-scaled-font.c | 24 ++++++++++++++++++++++++
14367 src/cairo.h | 4 ++++
14368 4 files changed, 38 insertions(+), 0 deletions(-)
14370 commit 90d62a0d33cd9e0736bb747d7f025a0fb1025732
14371 Author: Behdad Esfahbod <behdad@behdad.org>
14372 Date: Sat May 24 20:31:24 2008 -0400
14374 [src] Make make check pass
14376 src/cairo-surface.c | 1 +
14377 src/cairoint.h | 1 +
14378 2 files changed, 2 insertions(+), 0 deletions(-)
14380 commit 9cc147a142e98b49b7f8289a340f2e498970ef99
14381 Author: Jeff Muizelaar <jeff@infidigm.net>
14382 Date: Sat May 24 20:17:38 2008 -0400
14384 Avoid deadlock when clearing caches
14386 cairo_surface_destroy and _cairo_scaled_font_fini will call destroy closures
14387 which may call functions that attempt to acquire the mutex resulting in a
14388 deadlock. We fix this by releasing the lock for the call to
14389 cairo_surface_destroy or _cairo_scaled_font_fini.
14391 src/cairo-pattern.c | 17 ++++++++++++-----
14392 src/cairo-scaled-font.c | 19 +++++++++++++------
14393 2 files changed, 25 insertions(+), 11 deletions(-)
14395 commit 4957a7894741f5a1941dcc06cc5a3a0551afcdad
14396 Author: Behdad Esfahbod <behdad@behdad.org>
14397 Date: Sat May 24 15:16:44 2008 -0400
14399 [test/surface-finish-twice.c] Adapt to recent change that multiple finish is ok
14401 test/surface-finish-twice.c | 6 +++++-
14402 1 files changed, 5 insertions(+), 1 deletions(-)
14404 commit a30209402c7160af257e1ea027e9e2cdab5b5aec
14405 Author: Behdad Esfahbod <behdad@behdad.org>
14406 Date: Sat May 24 14:57:56 2008 -0400
14408 [cairo-gstate] Drop glyphs out of surface boundaries in show_glyphs()
14410 src/cairo-gstate.c | 93 ++++++++++++++++++++++++++++++++++++++++++---------
14411 1 files changed, 76 insertions(+), 17 deletions(-)
14413 commit 1b5e2144fb77ffeb0626dff558d9d82351279e0b
14414 Author: Behdad Esfahbod <behdad@behdad.org>
14415 Date: Sat May 24 14:57:31 2008 -0400
14417 [cairo-scaled-font] Implement _cairo_scaled_font_get_max_scale()
14419 src/cairo-scaled-font-private.h | 1 +
14420 src/cairo-scaled-font.c | 10 ++++++++++
14421 src/cairoint.h | 3 +++
14422 3 files changed, 14 insertions(+), 0 deletions(-)
14424 commit 479936ecea5d0e7cf3eee1aad6b016067f63e20b
14425 Author: Behdad Esfahbod <behdad@behdad.org>
14426 Date: Sat May 24 14:57:06 2008 -0400
14428 [cairoint] Sort prototypes
14430 src/cairoint.h | 39 ++++++++++++++++++++-------------------
14431 1 files changed, 20 insertions(+), 19 deletions(-)
14433 commit e638e7652f8be552b50927bd332e9f46dcd92ab7
14434 Author: Behdad Esfahbod <behdad@behdad.org>
14435 Date: Sat May 24 14:25:13 2008 -0400
14437 [cairo-xlib] Fix bug introduced in yesterday's code shuffling. Oops.
14439 src/cairo-xlib-surface.c | 2 +-
14440 1 files changed, 1 insertions(+), 1 deletions(-)
14442 commit 31c68e708f18c1f81efc3590346eeb684ef3702d
14443 Author: Behdad Esfahbod <behdad@behdad.org>
14444 Date: Sat May 24 13:17:31 2008 -0400
14446 [cairo-surface] Minor code reshuffling
14448 src/cairo-surface.c | 6 ++----
14449 1 files changed, 2 insertions(+), 4 deletions(-)
14451 commit c20072c88174a99bf4deb562f5b3bc07cc9e133d
14452 Author: Behdad Esfahbod <behdad@behdad.org>
14453 Date: Fri May 23 20:57:21 2008 -0400
14455 [cairo-xlib] Upon seeing glyphs with large position, just let fallback handle
14457 This now fixes the large-font test for xlib again.
14459 src/cairo-xlib-surface.c | 33 ++++++++++++---------------------
14460 1 files changed, 12 insertions(+), 21 deletions(-)
14462 commit e55252bd3b3ee8ad07aeda558dd469e98fedd620
14463 Author: Behdad Esfahbod <behdad@behdad.org>
14464 Date: Fri May 23 20:46:36 2008 -0400
14466 [cairo-xlib] Shift range of allowed glyph positions
14468 From -1024..15359, to -4096..122887. This still does not fix the
14469 large-font test as that uses a 10000 font. Working on a proper fix
14470 for glyph dropping now.
14472 src/cairo-xlib-surface.c | 4 ++--
14473 1 files changed, 2 insertions(+), 2 deletions(-)
14475 commit 74818d2b0002d2133a95019265a23a8fd8ba0217
14476 Author: Behdad Esfahbod <behdad@behdad.org>
14477 Date: Fri May 23 20:43:08 2008 -0400
14479 [cairo-xlib] Some code reshuffling, in preparation for a fix
14481 src/cairo-xlib-surface.c | 32 +++++++++++++++-----------------
14482 1 files changed, 15 insertions(+), 17 deletions(-)
14484 commit d947ee0ef68cbc371d058b13b98c013b82f794ba
14485 Author: Behdad Esfahbod <behdad@behdad.org>
14486 Date: Fri May 23 20:41:26 2008 -0400
14488 [test/large-font] Make the font REALLY LARGE
14490 10000 that is. xlib fails now again. Not because of glyph size issues.
14491 Because we skip rendering any glyphs with positions not in range -1024..15359.
14494 test/Makefile.am | 1 -
14495 test/large-font-ps-ref.png | Bin 5630 -> 0 bytes
14496 test/large-font-ref.png | Bin 9819 -> 6936 bytes
14497 test/large-font.c | 20 +++++---------------
14498 4 files changed, 5 insertions(+), 16 deletions(-)
14500 commit db1b18232b6854d14a1ee45a31bc2508ef36bc1a
14501 Author: Behdad Esfahbod <behdad@behdad.org>
14502 Date: Fri May 23 19:04:13 2008 -0400
14504 [cairo-xlib] Fix max-request size calculations
14506 First, XMaxRequestSize returns number of 4-byte words. So multiply by 4 is
14507 needed in all uses. Next, XRenderAddGlyphs uses BIG-REQUEST extension if
14508 available, so when checking for glyph size overflow, we should use
14509 XExtendedMaxRequestSize() first.
14511 Also use the right format when calculating glyph size.
14513 These changes combined, push the biggest font size that can be uploaded to the
14514 server from under 200 to about 5000.
14516 See bug #4339 for history.
14518 src/cairo-xlib-surface.c | 27 ++++++++++++---------------
14519 1 files changed, 12 insertions(+), 15 deletions(-)
14521 commit cf473f4a75ca0d3c815222287d7c144e72de5add
14522 Author: Behdad Esfahbod <behdad@behdad.org>
14523 Date: Fri May 23 19:57:48 2008 -0400
14525 [cairo-xlib] Fix show_glyphs when failing to upload a glyph
14527 Originally reported here:
14528 http://lists.cairographics.org/archives/cairo/2008-May/014032.html
14529 and analyized later in the thread.
14531 Change (font and surface) backend show_glyphs() API to take a
14532 int *remaining_glyphs argument. It's used to communicate to the caller,
14533 by way of setting remaining_glyphs and returning INT_STATUS_UNSUPPORTED,
14534 that some of the glyphs were shown but not the others. The xlib backend
14535 now correctly uses this to handle failure to upload a glyph to the server.
14536 So the large-font test passes now.
14538 An alternative approach could be to add some public value for glyphs
14539 indices that are not shown. -1 perhaps (the xlib backend already uses
14540 that value internally). Then instead of remaining_glyphs, a backend
14541 could simply set glyph indices of glyphs shown to that -1 value.
14543 src/cairo-analysis-surface.c | 10 ++++++----
14544 src/cairo-directfb-surface.c | 3 ++-
14545 src/cairo-meta-surface.c | 3 ++-
14546 src/cairo-paginated-surface.c | 3 ++-
14547 src/cairo-ps-surface.c | 3 ++-
14548 src/cairo-quartz-surface.c | 3 ++-
14549 src/cairo-scaled-font.c | 7 ++++++-
14550 src/cairo-surface.c | 17 +++++++++++++++--
14551 src/cairo-svg-surface.c | 3 ++-
14552 src/cairo-win32-font.c | 3 ++-
14553 src/cairo-win32-printing-surface.c | 3 ++-
14554 src/cairo-win32-surface.c | 3 ++-
14555 src/cairo-xcb-surface.c | 3 ++-
14556 src/cairo-xlib-surface.c | 28 +++++++++++++++++++++++-----
14557 src/cairoint.h | 6 ++++--
14558 src/test-meta-surface.c | 3 ++-
14559 src/test-paginated-surface.c | 3 ++-
14560 17 files changed, 78 insertions(+), 26 deletions(-)
14562 commit e66e198ab04f2e19093aad4ed9f9c24e2756b8a7
14563 Author: Behdad Esfahbod <behdad@behdad.org>
14564 Date: Fri May 23 17:11:43 2008 -0400
14566 [cairo-xlib] Remove unused variable
14568 src/cairo-xlib-surface.c | 2 --
14569 1 files changed, 0 insertions(+), 2 deletions(-)
14571 commit 1ccfc4afd573e1003319a06624aadff90d351e83
14572 Author: Carl Worth <cworth@cworth.org>
14573 Date: Fri May 23 08:14:00 2008 -0700
14575 Revert "BUGGY: Add surface_backend->acquire_source_image_transformed"
14577 This reverts commit ddcd6781a24463df5a1f25cd5ffdbce47f35cf2f.
14579 This was an experimental commit that was intended to be on a side
14580 branch but accidentally got committed and pushed to master. Sorry
14583 src/cairo-meta-surface.c | 40 ++++++----------------------------------
14584 src/cairo-pattern.c | 9 +++------
14585 src/cairo-surface.c | 20 --------------------
14586 src/cairoint.h | 12 ------------
14587 4 files changed, 9 insertions(+), 72 deletions(-)
14589 commit b957beb0df53a513b60cbcfc4e5e847980789b1f
14590 Author: Carl Worth <cworth@cworth.org>
14591 Date: Fri May 23 08:05:18 2008 -0700
14593 Add large-font test to exercise a cairo-xlib bug.
14595 The original bug report is here:
14597 corrupt glyph positions with large font
14598 https://bugzilla.redhat.com/show_bug.cgi?id=448104
14600 test/.gitignore | 1 +
14601 test/Makefile.am | 3 +
14602 test/large-font-ps-ref.png | Bin 0 -> 5630 bytes
14603 test/large-font-ref.png | Bin 0 -> 9819 bytes
14604 test/large-font.c | 93 ++++++++++++++++++++++++++++++++++++++++++++
14605 5 files changed, 97 insertions(+), 0 deletions(-)
14607 commit ddcd6781a24463df5a1f25cd5ffdbce47f35cf2f
14608 Author: Carl Worth <cworth@cworth.org>
14609 Date: Wed May 21 12:06:37 2008 -0700
14611 BUGGY: Add surface_backend->acquire_source_image_transformed
14613 This is an initial attempt at addressing the recently noticed
14614 fallback-resolution bug. It isn't working correctly yet.
14616 I'm just committing so that behdad can see what I'm up to.
14618 src/cairo-meta-surface.c | 40 ++++++++++++++++++++++++++++++++++------
14619 src/cairo-pattern.c | 9 ++++++---
14620 src/cairo-surface.c | 20 ++++++++++++++++++++
14621 src/cairoint.h | 12 ++++++++++++
14622 4 files changed, 72 insertions(+), 9 deletions(-)
14624 commit 8efb103600e9c034f8652f495d390d6a4178061e
14625 Author: Carl Worth <cworth@cworth.org>
14626 Date: Wed May 21 10:23:37 2008 -0700
14628 Extend fallback-resolution test to expose bug with groups
14630 Groups appear to always be rendered with a fallback resolution of
14631 72.0 ppi rather than the desired fallback resolution.
14633 test/fallback-resolution.c | 28 +++++++++++++++++++++++++++-
14634 1 files changed, 27 insertions(+), 1 deletions(-)
14636 commit 26eeb1c7ee2416e4029e1ceee7afe779cca6dfc5
14637 Author: Behdad Esfahbod <behdad@behdad.org>
14638 Date: Fri May 16 21:59:45 2008 -0400
14640 [cairo-surface] Allow flush and finish calls after surface is finished
14642 Flushing and finishing a surface after it has already been finished is a
14643 very well-defined operation: no-op. Allow and document that.
14645 src/cairo-surface.c | 33 +++++++++++----------------------
14646 1 files changed, 11 insertions(+), 22 deletions(-)
14648 commit 168447cc2b53e446bf8e67e2f457c54256bcbada
14649 Author: Behdad Esfahbod <behdad@behdad.org>
14650 Date: Thu May 15 20:09:17 2008 -0400
14652 [user-font] Use opaque colors such that PS backend gets tested
14654 Also update ref images. All backends pass now.
14656 test/user-font-pdf-ref.png | Bin 6085 -> 6388 bytes
14657 test/user-font-ref.png | Bin 6165 -> 6183 bytes
14658 test/user-font-svg-ref.png | Bin 6085 -> 6134 bytes
14659 test/user-font.c | 8 ++++----
14660 4 files changed, 4 insertions(+), 4 deletions(-)
14662 commit 556b16d6a20f11627c75c1365dea5a6332091779
14663 Author: Behdad Esfahbod <behdad@behdad.org>
14664 Date: Thu May 15 20:03:05 2008 -0400
14666 [cairo-traps] Fix overflow in traps_path code
14668 This was causing the user-font test failure in type1 subsetting
14669 code as the type1 code creates a font at size 1000.
14671 src/cairo-traps.c | 19 ++++++++++---------
14672 1 files changed, 10 insertions(+), 9 deletions(-)
14674 commit b355ac7a9fe8ecf550ec5f615969b82f0e45a6d6
14675 Author: Behdad Esfahbod <behdad@behdad.org>
14676 Date: Thu May 15 20:02:33 2008 -0400
14678 [cairo-fixed] Implement _cairo_fixed_mul_div()
14680 Computes a*b/c where a,b,c are cairo_fixed_t.
14682 src/cairo-fixed-private.h | 11 +++++++++++
14683 1 files changed, 11 insertions(+), 0 deletions(-)
14685 commit 84606a900f0664a0010034f5eb4bdaf159e77bfe
14686 Author: Behdad Esfahbod <behdad@behdad.org>
14687 Date: Thu May 15 19:41:49 2008 -0400
14689 [cairo-surface] Fix compiler warnings
14690 by adding new status value to switch.
14692 src/cairo-surface.c | 3 +++
14693 1 files changed, 3 insertions(+), 0 deletions(-)
14695 commit 142ba306047363af8343f29b2cf97c25919042e9
14696 Author: Behdad Esfahbod <behdad@behdad.org>
14697 Date: Thu May 15 18:50:55 2008 -0400
14699 [test/Makefile.am] Add 'make run' target
14701 It runs tests under a tool specified tool. For example:
14703 make run TOOL=gdb TESTS=user-font TARGETS=pdf
14705 test/Makefile.am | 20 ++++++++++++++------
14706 test/README | 19 +++++++++++++++++++
14707 2 files changed, 33 insertions(+), 6 deletions(-)
14709 commit 537ffa762833c990e4e4237f2dbae64c7e311662
14710 Author: Behdad Esfahbod <behdad@behdad.org>
14711 Date: Thu May 15 18:47:24 2008 -0400
14713 [cairo-xlib-surface.c] Fix memmove bug
14715 This was introduced in b7272e9e8e716b04752058855aeb74c42af0b395
14717 src/cairo-xlib-surface.c | 2 +-
14718 1 files changed, 1 insertions(+), 1 deletions(-)
14720 commit 4dd4d96fb11354e37f662eaabb1d874dbf47e368
14721 Author: Behdad Esfahbod <behdad@behdad.org>
14722 Date: Thu May 15 17:19:53 2008 -0400
14724 [cairo-surface] Add cairo_surface_get_fallback_resolution()
14726 doc/public/cairo-sections.txt | 1 +
14727 doc/public/tmpl/cairo-surface.sgml | 10 ++++++++++
14728 src/cairo-surface.c | 23 +++++++++++++++++++++++
14729 src/cairo.c | 3 +++
14730 src/cairo.h | 5 +++++
14731 src/cairoint.h | 4 ++++
14732 6 files changed, 46 insertions(+), 0 deletions(-)
14734 commit 2321b91cbad7f9531ab99a7b1875eba0dcc167db
14735 Author: Behdad Esfahbod <behdad@behdad.org>
14736 Date: Thu May 15 16:38:56 2008 -0400
14738 [cairo-pattern] Make a free() call conditional
14739 to emphasize that the pointer may be NULL
14741 src/cairo-pattern.c | 3 ++-
14742 1 files changed, 2 insertions(+), 1 deletions(-)
14744 commit 62652ecab7c3163d6b0cf9af3312806ae6bda21a
14745 Author: Behdad Esfahbod <behdad@behdad.org>
14746 Date: Thu May 15 13:28:03 2008 -0400
14748 [test/user-font] Another minor tweak to the font
14750 test/user-font-pdf-ref.png | Bin 6130 -> 6085 bytes
14751 test/user-font-ref.png | Bin 6202 -> 6165 bytes
14752 test/user-font-svg-ref.png | Bin 6130 -> 6085 bytes
14753 test/user-font.c | 2 +-
14754 4 files changed, 1 insertions(+), 1 deletions(-)
14756 commit df9deb1853ab199b576cd4313b80cb3dd536f74f
14757 Author: Behdad Esfahbod <behdad@behdad.org>
14758 Date: Thu May 15 13:13:30 2008 -0400
14760 [user-font] Set correct device-offset for rotated text
14762 Part of patch from Peter Clifton
14764 src/cairo-user-font.c | 5 +++--
14765 1 files changed, 3 insertions(+), 2 deletions(-)
14767 commit 16fe67ea19bca66ed68c263bb48a5fbd19993e3f
14768 Author: Behdad Esfahbod <behdad@behdad.org>
14769 Date: Tue May 13 16:10:28 2008 -0400
14771 [cairo-path-fixed] Implement full-matrix _cairo_path_fixed_transform()
14773 Based on patch from Peter Clifton.
14775 src/cairo-clip.c | 2 +-
14776 src/cairo-meta-surface.c | 2 +-
14777 src/cairo-path-fixed.c | 52 +++++++++++++++++++++++++++++++---------------
14778 src/cairoint.h | 4 +-
14779 4 files changed, 39 insertions(+), 21 deletions(-)
14781 commit f68fb2c747afd45252a333260cdb3bf9986d4a94
14782 Author: Behdad Esfahbod <behdad@behdad.org>
14783 Date: Tue May 13 11:42:23 2008 -0400
14785 [test/user-font] Add some more glyphs
14787 The glyph for 'z' now reveals a bug in PDF type1 code.
14789 test/user-font-pdf-ref.png | Bin 4549 -> 6130 bytes
14790 test/user-font-ref.png | Bin 4681 -> 6202 bytes
14791 test/user-font-svg-ref.png | Bin 4642 -> 6130 bytes
14792 test/user-font.c | 39 +++++++++++++++++++++------------------
14793 4 files changed, 21 insertions(+), 18 deletions(-)
14795 commit 569cc3041195db9408c9c6531dc35b6f77434a25
14796 Author: Behdad Esfahbod <behdad@behdad.org>
14797 Date: Sat May 10 14:58:11 2008 +0200
14799 [user-font] Normalize the space we compute extents in
14801 This way we wouldn't suffer from the limited precision of cairo_fixed_t.
14802 Bug reported by Peter Clifton on mailing list.
14804 src/cairo-user-font.c | 32 +++++++++++++++++++++++++++-----
14805 1 files changed, 27 insertions(+), 5 deletions(-)
14807 commit f1a0e9df0e390759afb7951afacb6d353ac812cf
14808 Author: Behdad Esfahbod <behdad@behdad.org>
14809 Date: Sat May 10 13:49:23 2008 +0200
14811 [user-font] Round glyph origin position
14813 src/cairo-user-font.c | 4 ++--
14814 1 files changed, 2 insertions(+), 2 deletions(-)
14816 commit 17f21ea3071ef5d7833c615271b18ae35673c349
14817 Author: Behdad Esfahbod <behdad@behdad.org>
14818 Date: Fri May 9 16:01:37 2008 +0200
14820 [cairo-user-font] Implement user fonts
14822 doc/public/tmpl/cairo-font-face.sgml | 1 +
14823 doc/public/tmpl/cairo-status.sgml | 3 +
14824 src/Makefile.am | 1 +
14825 src/cairo-misc.c | 4 +
14826 src/cairo-user-font.c | 486 ++++++++++++++++++++++++++++++++++
14827 src/cairo.h | 68 +++++-
14828 src/cairoint.h | 2 +-
14829 test/.gitignore | 1 +
14830 test/Makefile.am | 4 +
14831 test/user-font-pdf-ref.png | Bin 0 -> 4549 bytes
14832 test/user-font-ref.png | Bin 0 -> 4681 bytes
14833 test/user-font-svg-ref.png | Bin 0 -> 4642 bytes
14834 test/user-font.c | 236 ++++++++++++++++
14835 13 files changed, 803 insertions(+), 3 deletions(-)
14837 commit 9f2971440b59c311d88beeeb31e1d456489b107d
14838 Author: Behdad Esfahbod <behdad@behdad.org>
14839 Date: Sat May 10 01:19:41 2008 +0200
14841 [doc] Remove cairo-quartz-image-surface from docs
14843 Docs only include stable API.
14845 doc/public/cairo-docs.xml | 1 +
14846 doc/public/cairo-sections.txt | 9 +++------
14847 2 files changed, 4 insertions(+), 6 deletions(-)
14849 commit 74eea0f297a62be5aba84b7482832485d11995e1
14850 Author: Behdad Esfahbod <behdad@behdad.org>
14851 Date: Sat May 10 00:58:07 2008 +0200
14853 [cairo-quartz-image-surface] Remove one abuse of out-of-memory status
14855 Vlad, you need to stop throwing random OOM errors...
14857 src/cairo-quartz-image-surface.c | 3 ++-
14858 1 files changed, 2 insertions(+), 1 deletions(-)
14860 commit dca892c83ea7d115fba0ce66a69464c36cadf74c
14861 Author: Behdad Esfahbod <behdad@behdad.org>
14862 Date: Sat May 10 00:57:44 2008 +0200
14864 Fix gtk-doc warnings
14866 src/cairo-path-fixed.c | 2 +-
14867 src/cairo-quartz-font.c | 12 ++++++------
14868 src/cairo-quartz-image-surface.c | 12 ++++++------
14869 3 files changed, 13 insertions(+), 13 deletions(-)
14871 commit 1246ff8aec9054d1d550dd1401b67fac4035cce0
14872 Author: Behdad Esfahbod <behdad@behdad.org>
14873 Date: Fri May 9 17:14:02 2008 +0200
14875 [cairo-test] Implement cairo_test_log_path() to dump a cairo_path_t to logs
14877 Dumping paths is so hard in C. Shouldn't be. At least not when debugging...
14879 test/cairo-test.c | 31 +++++++++++++++++++++++++++++++
14880 test/cairo-test.h | 3 +++
14881 2 files changed, 34 insertions(+), 0 deletions(-)
14883 commit dc33760fcb67c41358bb073d63810b5a86099f43
14884 Author: Behdad Esfahbod <behdad@behdad.org>
14885 Date: Fri May 9 15:59:00 2008 +0200
14887 [cairo-scaled-font] In _cairo_scaled_glyph_lookup, better handle UNSUPPORTED
14889 If we ask for a glyph info piece and the backend doesn't provide it,
14890 we should return UNSUPPORTED, even if the backend returned SUCCESS
14891 (perhaps because the backend doesn't know about that particular piece
14894 src/cairo-scaled-font.c | 23 +++++++++++++++++++++++
14895 1 files changed, 23 insertions(+), 0 deletions(-)
14897 commit a63dc133779de9c623a85c5aefb5e3da01a8b7d6
14898 Author: Behdad Esfahbod <behdad@behdad.org>
14899 Date: Fri May 9 15:56:35 2008 +0200
14901 [cairo-scaled-font] Add a meta-surface member to scaled glyphs
14903 No one currently uses it.
14905 src/cairo-scaled-font.c | 17 +++++++++++++++++
14906 src/cairoint.h | 13 ++++++++++---
14907 2 files changed, 27 insertions(+), 3 deletions(-)
14909 commit 11a0884168afe341d53e5c86a49aa48a0142e6ef
14910 Author: Behdad Esfahbod <behdad@behdad.org>
14911 Date: Fri May 9 15:29:10 2008 +0200
14913 Add CAIRO_INTERNAL_SURFACE_TYPE_NULL and cairo_nul_surface_create()
14915 It creates a surface that does nothing. This can be used with
14916 cairo-analysis-surface, to compute bounds of cairo drawings without doing any
14919 src/cairo-analysis-surface-private.h | 4 ++
14920 src/cairo-analysis-surface.c | 55 ++++++++++++++++++++++++++++++++++
14921 src/cairo-types-private.h | 3 +-
14922 3 files changed, 61 insertions(+), 1 deletions(-)
14924 commit 08334be905edf5f557250e5946bd61391823da27
14925 Author: Behdad Esfahbod <behdad@behdad.org>
14926 Date: Fri May 9 15:32:57 2008 +0200
14928 [cairo-meta-surface] Add _cairo_meta_surface_get_path()
14930 Which generates the path for each cairo operation. If there's any paint,
14931 mask, or intersect-clip-path operations in the meta-surface, UNSUPPORTED
14934 Strokes are currently tesselated to traps, then traps converted to path.
14935 Should be made to use stroke_to_path() when we implement that.
14937 src/cairo-meta-surface-private.h | 4 ++
14938 src/cairo-meta-surface.c | 71 ++++++++++++++++++++++++++++++++++++++
14939 src/cairo.c | 7 +++-
14940 3 files changed, 80 insertions(+), 2 deletions(-)
14942 commit 674cba89fe6165d3dc9986c3d5f083867498e6c1
14943 Author: Behdad Esfahbod <behdad@behdad.org>
14944 Date: Fri May 9 15:31:45 2008 +0200
14946 [cairo-traps] Add _cairo_traps_path()
14948 It appends path for each trap to the path.
14950 src/cairo-traps.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
14951 src/cairoint.h | 4 ++++
14952 2 files changed, 50 insertions(+), 0 deletions(-)
14954 commit af1e168bbbbaddbf564c661111a74064fbbb5334
14955 Author: Behdad Esfahbod <behdad@behdad.org>
14956 Date: Fri May 9 15:25:40 2008 +0200
14958 [cairo-meta/analysis-surface] Make width/height of -1,-1 mean unbounded surface
14960 src/cairo-analysis-surface.c | 15 +++++++++++----
14961 src/cairo-meta-surface.c | 3 +++
14962 2 files changed, 14 insertions(+), 4 deletions(-)
14964 commit a6eb9be1066559233d51dbd17bcef18dd61e29fc
14965 Author: Behdad Esfahbod <behdad@behdad.org>
14966 Date: Fri May 9 14:46:22 2008 +0200
14968 [_cairo_surface_get_extents()] return UNSUPPORTED if surface has no bounds
14969 and set the extents to the infinite bounds.
14971 A surface has no bounds if it does not provide get_extents(), or if its
14972 get_extents() returns UNSUPPORTED.
14974 src/cairo-analysis-surface.c | 12 ++++++------
14975 src/cairo-surface.c | 21 +++++++++++++++++----
14976 src/cairoint.h | 10 +++++++---
14977 3 files changed, 30 insertions(+), 13 deletions(-)
14979 commit d37788f9953b296675860cd48a0b3c14be49c1da
14980 Author: Behdad Esfahbod <behdad@behdad.org>
14981 Date: Fri May 9 14:34:22 2008 +0200
14983 [cairo-analysis-surface] Initialize page bounding box
14985 If there was no operations played to the analysis surface, page_bbox
14986 was being left uninitialized.
14988 src/cairo-analysis-surface.c | 6 ++++++
14989 1 files changed, 6 insertions(+), 0 deletions(-)
14991 commit ee3672efdbb4d3ebd3e0bd9e2d63273ad1273e64
14992 Author: Behdad Esfahbod <behdad@behdad.org>
14993 Date: Fri May 9 14:05:04 2008 +0200
14995 [cairo-pattern] Extend infinite pattern extents to negative coordinates too
14997 With things like meta-surface, the assumption that coordinates are always
14998 non-negative make no sense. Extend the "infinite" extents accordingly.
15000 Also remove stale comment. extents->width/height are unsigned these days and
15001 cover the full range.
15003 src/cairo-pattern.c | 13 ++++---------
15004 1 files changed, 4 insertions(+), 9 deletions(-)
15006 commit f81b857e1ffa48559c794e2fb427413e3a88a271
15007 Author: Behdad Esfahbod <behdad@behdad.org>
15008 Date: Fri May 9 13:25:16 2008 +0200
15010 [cairo-paginated-surface] Clean up reference counting mess
15012 Previously the paginated constructor didn't reference the target surface, but
15013 simply assume ownership of the reference, and then unref it when shutting
15014 down. The callers to paginated constructor then, where just give away their
15015 reference to paginated and not unref the reference they were holding. While
15016 this works correctly, it's against the usual idioms that everyone is
15017 responsible for the reference they are holding, and should get their own
15018 reference if they need to keep an object alive. Fix it all.
15020 src/cairo-paginated-surface.c | 2 +-
15021 src/cairo-pdf-surface.c | 6 +++++-
15022 src/cairo-ps-surface.c | 5 ++++-
15023 src/cairo-svg-surface.c | 5 ++++-
15024 src/cairo-win32-printing-surface.c | 16 +++++++++++-----
15025 src/test-paginated-surface.c | 5 ++++-
15026 6 files changed, 29 insertions(+), 10 deletions(-)
15028 commit 440b339da793ba2f71f504328417aefc7d44ee7f
15029 Author: Behdad Esfahbod <behdad@behdad.org>
15030 Date: Fri May 9 13:23:02 2008 +0200
15032 [cairo-analysis-surface] Hold reference to target surface
15034 src/cairo-analysis-surface.c | 4 +++-
15035 1 files changed, 3 insertions(+), 1 deletions(-)
15037 commit 25700f5cd052e5353c868ba0311ff53850e3f549
15038 Author: Behdad Esfahbod <behdad@behdad.org>
15039 Date: Fri May 9 11:32:35 2008 +0200
15041 [cairo-ft-font.c] Throw error on font type mismatch and remove unused function
15043 src/cairo-ft-font.c | 16 ++++++++++------
15044 src/cairo-ft-private.h | 3 ---
15045 2 files changed, 10 insertions(+), 9 deletions(-)
15047 commit 2a1661fba9db1e263079e0ff101c628a443702e8
15048 Author: Behdad Esfahbod <behdad@behdad.org>
15049 Date: Fri May 9 11:31:54 2008 +0200
15051 [cairo-win32-font.c] Return error on font type mismatch
15053 src/cairo-win32-font.c | 27 +++++++++++++++++++++++++++
15054 1 files changed, 27 insertions(+), 0 deletions(-)
15056 commit 2a9bb6f78c8a0fa47908da7863979560230a62a2
15057 Author: Behdad Esfahbod <behdad@behdad.org>
15058 Date: Fri May 9 13:07:45 2008 +0200
15060 Add CAIRO_STATUS_FONT_TYPE_MISMATCH
15062 src/cairo-misc.c | 2 ++
15063 src/cairo.h | 4 +++-
15064 src/cairoint.h | 2 +-
15065 3 files changed, 6 insertions(+), 2 deletions(-)
15067 commit 4d77dfc78d2ea1925d0035080f57b68b0269a5f0
15068 Author: Behdad Esfahbod <behdad@behdad.org>
15069 Date: Fri May 9 11:27:55 2008 +0200
15071 [cairo-analysis-surface] Add _cairo_analysis_surface_[gs]et_ctm()
15073 The functionality was there. Just add getter/setter for the ctm.
15075 src/cairo-analysis-surface-private.h | 8 ++++++++
15076 src/cairo-analysis-surface.c | 20 ++++++++++++++++++++
15077 2 files changed, 28 insertions(+), 0 deletions(-)
15079 commit ad7cfb4af98e8bf7792dad0ef4fd772cd6f1d270
15080 Author: Behdad Esfahbod <behdad@behdad.org>
15081 Date: Fri May 9 13:20:02 2008 +0200
15083 [cairo-analysis-surface] Use _cairo_matrix_transform_bounding_box_fixed()
15084 and other conversion functions.
15086 src/cairo-analysis-surface.c | 29 +++++++----------------------
15087 1 files changed, 7 insertions(+), 22 deletions(-)
15089 commit bdfda97f191fa6ffa64abad5b6f035244d91f44c
15090 Author: Behdad Esfahbod <behdad@behdad.org>
15091 Date: Fri May 9 13:17:30 2008 +0200
15093 [cairo-matrix] Add _cairo_matrix_transform_bounding_box_fixed()
15095 src/cairo-matrix.c | 12 ++++++++++++
15096 src/cairoint.h | 5 +++++
15097 2 files changed, 17 insertions(+), 0 deletions(-)
15099 commit 6c9902fd746d70d9cc22c938f4ca68640e48bb73
15100 Author: Behdad Esfahbod <behdad@behdad.org>
15101 Date: Fri May 9 13:16:13 2008 +0200
15103 Add more consts to function signatures and remove stale prototype
15105 src/cairo-bentley-ottmann.c | 6 +++---
15106 src/cairo-traps.c | 10 ++++++----
15107 src/cairoint.h | 21 +++++++++------------
15108 3 files changed, 18 insertions(+), 19 deletions(-)
15110 commit 0e965c970bd310bd8f06cd59ed0cf631ae88659a
15111 Author: Behdad Esfahbod <behdad@behdad.org>
15112 Date: Fri May 9 13:13:52 2008 +0200
15114 [cairo-path-fixed] Add _cairo_path_fixed_append()
15116 src/cairo-path-fixed.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
15117 src/cairoint.h | 5 +++++
15118 2 files changed, 51 insertions(+), 0 deletions(-)
15120 commit e9b6bb06d60584a867256e52732aad25c9e137c5
15121 Author: Behdad Esfahbod <behdad@behdad.org>
15122 Date: Fri May 9 13:13:15 2008 +0200
15124 [cairo-path-fixed] Add a couple consts to function signatures
15126 src/cairo-path-fixed.c | 4 ++--
15127 src/cairoint.h | 4 ++--
15128 2 files changed, 4 insertions(+), 4 deletions(-)
15130 commit 2a3eec1731d0cfdbc1abc204c08ff14296f297ef
15131 Author: Behdad Esfahbod <behdad@behdad.org>
15132 Date: Fri May 9 13:10:44 2008 +0200
15134 [cairo-rectangle] Add new convenience functions for working with cairo_box_t
15136 _cairo_box_from_doubles, _cairo_box_to_doubles, _cairo_box_from_rectangle.
15138 src/cairo-rectangle.c | 35 ++++++++++++++++++++++++++++++++++-
15139 src/cairoint.h | 17 ++++++++++++++++-
15140 2 files changed, 50 insertions(+), 2 deletions(-)
15142 commit 6836b2b8bac0a0f5594e0c56629b075387fe1d22
15143 Author: Behdad Esfahbod <behdad@behdad.org>
15144 Date: Fri May 9 13:14:23 2008 +0200
15146 [cairoint.h] Fix file name in comments
15148 src/cairoint.h | 8 ++++----
15149 1 files changed, 4 insertions(+), 4 deletions(-)
15151 commit ca8b917102ddfad67300f907732dbd69a2c86957
15152 Author: Behdad Esfahbod <behdad@behdad.org>
15153 Date: Fri May 9 13:28:31 2008 +0200
15155 [cairo-surface] Call backend->flush even if backend->finish is null
15159 src/cairo-surface.c | 10 +++++-----
15160 1 files changed, 5 insertions(+), 5 deletions(-)
15162 commit 07cd614039cf7d3c776413ff26e94aa7dc27ea23
15163 Author: Behdad Esfahbod <behdad@behdad.org>
15164 Date: Fri May 9 15:27:40 2008 +0200
15166 [cairo-scaled-font] Tolerate null scaled_font->backend->fini
15168 src/cairo-scaled-font.c | 3 ++-
15169 1 files changed, 2 insertions(+), 1 deletions(-)
15171 commit 1f05cae0a9aaff23a4d80b309d30ed5047198113
15172 Author: Behdad Esfahbod <behdad@behdad.org>
15173 Date: Fri May 9 13:03:51 2008 +0200
15175 [cairo-font-face] Tolerate null font_face->backend->destroy()
15177 src/cairo-font-face.c | 3 ++-
15178 1 files changed, 2 insertions(+), 1 deletions(-)
15180 commit 96599225e2fd1f7d11071a19f1ceb2c33f2a453b
15181 Author: Behdad Esfahbod <behdad@behdad.org>
15182 Date: Fri May 9 11:36:33 2008 +0200
15184 Define CAIRO_RECT_INT_MIN/MAX such that ints do not overflow when converted to fixed
15186 There's not much point in having integers that will overflow.
15188 src/cairo-types-private.h | 8 ++++----
15189 1 files changed, 4 insertions(+), 4 deletions(-)
15191 commit eb63e5609ebb2b666f0cce552dec4c335f210baf
15192 Author: Behdad Esfahbod <behdad@behdad.org>
15193 Date: Fri May 9 13:00:28 2008 +0200
15195 [_cairo_surface_set_device_scale] zero xy and yx matrix entries
15199 src/cairo-surface.c | 4 ++++
15200 1 files changed, 4 insertions(+), 0 deletions(-)
15202 commit 80c59062675ad86d7201352140043f9e27d4b7d4
15203 Author: Behdad Esfahbod <behdad@behdad.org>
15204 Date: Fri May 9 12:59:07 2008 +0200
15206 [cairo-surface] Tone down a Caution comment
15208 We have tested the case of device transforms that have both translate and
15209 scale. So it basically works. We just are not sure that we handle it in
15210 all places (In fact we know we don't.)
15212 src/cairo-surface.c | 7 ++-----
15213 1 files changed, 2 insertions(+), 5 deletions(-)
15215 commit 901c56cba28f9eef3a7a27a25dfbb993b492518b
15216 Author: Behdad Esfahbod <behdad@behdad.org>
15217 Date: Fri May 9 11:35:08 2008 +0200
15219 [image surface] Rename cairo_image_surface_backend to _cairo_image_surface_backend
15221 src/cairo-image-surface.c | 6 +++---
15222 src/cairo-surface.c | 2 +-
15223 src/cairoint.h | 2 +-
15224 3 files changed, 5 insertions(+), 5 deletions(-)
15226 commit 5744b0b9a563e5cf329cc0ba31f96ff238d86210
15227 Author: Behdad Esfahbod <behdad@behdad.org>
15228 Date: Fri May 9 11:41:05 2008 +0200
15230 [cairo-deprecated.h] Remove mention of cairoint.h from public header
15232 src/cairo-deprecated.h | 4 ----
15233 1 files changed, 0 insertions(+), 4 deletions(-)
15235 commit 5f633580189fa48f5b650d3c63c585521bb833a9
15236 Author: Behdad Esfahbod <behdad@behdad.org>
15237 Date: Fri May 9 09:53:40 2008 -0400
15239 [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found
15241 src/cairo-lzw.c | 2 +-
15242 src/cairo-mutex-type-private.h | 32 ++++++++++++++++++++++----------
15243 src/cairo-output-stream.c | 6 ++++--
15244 src/cairo-paginated-private.h | 12 ++++++------
15245 src/cairo-surface.c | 4 ++--
15246 src/cairo.h | 12 ++++++------
15247 src/check-doc-syntax.sh | 40 ++++++++++++++--------------------------
15248 7 files changed, 55 insertions(+), 53 deletions(-)
15250 commit 7dce5360424a98e4100bd78e768c220959633145
15251 Author: Behdad Esfahbod <behdad@behdad.org>
15252 Date: Fri May 9 15:28:02 2008 +0200
15256 src/cairo-scaled-font.c | 3 ++-
15257 1 files changed, 2 insertions(+), 1 deletions(-)
15259 commit a3c091e29264eec2d3f881dd7c66796d1779d845
15260 Author: Behdad Esfahbod <behdad@behdad.org>
15261 Date: Thu May 8 18:18:17 2008 -0400
15263 [src/check-doc-syntax.sh] Use cairo_all_source_files if available
15265 src/check-doc-syntax.sh | 5 ++++-
15266 1 files changed, 4 insertions(+), 1 deletions(-)
15268 commit e39127627a71fc6655854804de36a802f73c0d42
15269 Author: Behdad Esfahbod <behdad@behdad.org>
15270 Date: Thu May 8 18:13:32 2008 -0400
15272 [Makefile.am] Rename cairo_all_source_file to cairo_all_source_files
15274 src/Makefile.am | 4 ++--
15275 1 files changed, 2 insertions(+), 2 deletions(-)
15277 commit d6654ce2a69c3ad30e437d50825166214a5411c2
15278 Author: Behdad Esfahbod <behdad@behdad.org>
15279 Date: Fri May 9 11:23:42 2008 +0200
15281 [Makefile.am] Sort source files
15283 src/Makefile.am | 2 +-
15284 1 files changed, 1 insertions(+), 1 deletions(-)
15286 commit b7272e9e8e716b04752058855aeb74c42af0b395
15287 Author: Chris Wilson <chris@chris-wilson.co.uk>
15288 Date: Thu May 1 19:46:58 2008 +0100
15290 [cairo-xlib] Batch XRenderFreeGlyphs
15292 For every glyph evicted from the cache we would allocate a very small
15293 structure to push onto the xlib work queue. This quickly becomes
15294 noticably for an app that consumes a lot of scaled fonts and glyphs,
15295 e.g. trying to draw text at various angles. So we maintain a small array
15296 of glyphs pending finalisation and issue the XRenderFreeGlyphs() once the
15299 src/cairo-xlib-surface.c | 95 +++++++++++++++++++++++++++++++++-------------
15300 1 files changed, 68 insertions(+), 27 deletions(-)
15302 commit 3428acf25db6c67ca48d619e98406a6bd4868880
15303 Author: Chris Wilson <chris@chris-wilson.co.uk>
15304 Date: Tue May 6 14:52:02 2008 +0100
15306 [cairo-scaled-font] Mark the scaled font as finished during destruction.
15308 During the destruction of every font used with an xlib surface, we send
15309 an XRenderFreeGlyphs() for every single glyph in the cache. These
15310 requests are redundant as the server-side glyphs will be released along
15311 with the XRenderFreeGlyphSet(), so we skip the individual glyph
15312 destruction if the font is marked as finished.
15314 src/cairo-scaled-font-private.h | 2 ++
15315 src/cairo-scaled-font.c | 5 +++++
15316 src/cairo-xlib-surface.c | 4 ++++
15317 3 files changed, 11 insertions(+), 0 deletions(-)
15319 commit 24284c5101363f8d418083e821c1bad88830dbcb
15320 Author: Chris Wilson <chris@chris-wilson.co.uk>
15321 Date: Thu May 1 18:05:08 2008 +0100
15323 [cairo-xlib] Enlarge the on-stack arrays.
15325 Grow the on-stack arrays for the XRectangles and XTrapezoids to the
15326 standard size in order to reduce the frequency of allocations.
15328 src/cairo-xlib-surface.c | 16 ++++++++--------
15329 1 files changed, 8 insertions(+), 8 deletions(-)
15331 commit fda95868020effcbc56ff687a763af650a758ba2
15332 Author: Chris Wilson <chris@chris-wilson.co.uk>
15333 Date: Thu May 1 15:44:22 2008 +0100
15335 [cairo-xlib] Cache standard xrender formats.
15337 XRender performs a round-trip in order to query the available formats on
15338 the xserver, before searching for a matching format. In order to save
15339 that round-trip and to avoid the short-lived allocation of the array of
15340 available formats, we cache the result on the display.
15342 src/cairo-xlib-display.c | 35 ++++++++++
15343 src/cairo-xlib-private.h | 7 ++
15344 src/cairo-xlib-surface.c | 159 +++++++++++++++++++++++-----------------------
15345 3 files changed, 122 insertions(+), 79 deletions(-)
15347 commit 8457374c9cf350841a7c16f1ef1657aeb354e5c9
15348 Author: Chris Wilson <chris@chris-wilson.co.uk>
15349 Date: Wed Apr 30 22:03:21 2008 +0100
15351 [cairo-pattern] Repaint existing cached similar solid surfaces.
15353 The current solid surface cache returns an existing similar surface only
15354 if it is an exact match for the desired colour. This gives a high hit
15355 rate for the original goal of drawing text, but fails when using a lot
15356 of colours - for example drawing a pie-chart, the mosaic perf case, or
15357 browsing the web. So instead of creating a new surface from scratch we
15358 can repaint an existing one, providing that we have sufficient surfaces
15359 already cached, i.e. if we are going to evict a surface, we may as well
15362 src/cairo-pattern.c | 62 +++++++++++++++++++++++++++++++++++++++++----------
15363 1 files changed, 50 insertions(+), 12 deletions(-)
15365 commit 4b3f9c7c7d6ba01cf02815994af7da663e85bb9b
15366 Author: Chris Wilson <chris@chris-wilson.co.uk>
15367 Date: Tue May 6 14:18:18 2008 +0100
15369 [cairo-arc] Protect against division-by-zero.
15371 Avoid a division-by-zero which can only happen if the start angle is
15372 exactly equal to the end angle.
15374 Fixes test/degenerate-arc.
15376 src/cairo-arc.c | 2 +-
15377 1 files changed, 1 insertions(+), 1 deletions(-)
15379 commit ff596c64fb08b9845e2176146ee129b60fe5775a
15380 Author: Chris Wilson <chris@chris-wilson.co.uk>
15381 Date: Tue May 6 10:58:57 2008 +0100
15383 [test] Add degenerate-arc
15385 This test case is to exercise the divide-by-zero error reported by
15386 Luiz Americo Pereira Camara <luizmed@oi.com.br>,
15387 http://lists.cairographics.org/archives/cairo/2008-May/014054.html.
15389 test/.gitignore | 1 +
15390 test/Makefile.am | 3 +
15391 test/degenerate-arc-ps-ref.png | Bin 0 -> 585 bytes
15392 test/degenerate-arc-ref.png | Bin 0 -> 616 bytes
15393 test/degenerate-arc.c | 82 ++++++++++++++++++++++++++++++++++++++++
15394 5 files changed, 86 insertions(+), 0 deletions(-)
15396 commit fed9d9060eb950a6692334a7ba3879009b597532
15397 Author: Chris Wilson <chris@chris-wilson.co.uk>
15398 Date: Tue May 6 11:31:14 2008 +0100
15400 [test/invalid-matrix] Disable floating point exception.
15402 test/invalid-matrix purposely feeds invalid numbers into cairo, in
15403 order to check its detection of garbage values. In doing so, cairo
15404 raises an Invalid exception, but as this is a direct result of an abuse
15405 of the API we can treat it as expected behaviour and ignore the
15408 configure.in | 2 +-
15409 test/invalid-matrix.c | 9 +++++++++
15410 2 files changed, 10 insertions(+), 1 deletions(-)
15412 commit 1755a2d27def853163f9c496c07ae79070c5002e
15413 Author: Chris Wilson <chris@chris-wilson.co.uk>
15414 Date: Tue May 6 10:29:20 2008 +0100
15416 [test] Enable floating point exceptions.
15418 Some platforms and applications enable floating point exceptions, so it
15419 seems sensible to run the test-suite with the most serious exceptions
15420 enabled - divide by zero, invalid result and overflow.
15422 configure.in | 9 ++++++---
15423 test/cairo-test.c | 7 +++++++
15424 2 files changed, 13 insertions(+), 3 deletions(-)
15426 commit bf49015202523c6e9f4130c3160e8b5c50f16db8
15427 Author: Chris Wilson <chris@chris-wilson.co.uk>
15428 Date: Tue May 6 10:19:59 2008 +0100
15430 [configure.in] Add lcov-1.6 to list of valid versions.
15432 Accept version 1.6 of lcov.
15434 configure.in | 2 +-
15435 1 files changed, 1 insertions(+), 1 deletions(-)
15437 commit 504132db6d9f08c36c9ae82f472caf422a032dfd
15438 Author: Adrian Johnson <ajohnson@redneon.com>
15439 Date: Sun May 4 23:05:01 2008 +0930
15441 win32-font: Check status in load_truetype_table
15443 src/cairo-win32-font.c | 4 +++-
15444 1 files changed, 3 insertions(+), 1 deletions(-)
15446 commit 2a7c5cd1ee3d3b75e4a65362d33d89c95f8eb03b
15447 Author: Adrian Johnson <ajohnson@redneon.com>
15448 Date: Sun May 4 23:01:48 2008 +0930
15450 Eliminate warning in win32 load_truetype_table with bitmap fonts
15452 Use cairo_win32_scaled_font_select_font() instead of
15453 _cairo_win32_scaled_font_select_unscaled_font() to select the font.
15454 Because _cairo_win32_scaled_font_select_unscaled_font() displays a
15455 warning when used with a bitmap font.
15457 src/cairo-win32-font.c | 4 ++--
15458 1 files changed, 2 insertions(+), 2 deletions(-)
15460 commit 7063e7b0bf1d33c4166dc3b73ec33f6d9a708ce3
15461 Author: Adrian Johnson <ajohnson@redneon.com>
15462 Date: Sun May 4 22:56:50 2008 +0930
15464 Fix bug in win32 font metrics with bitmap fonts
15466 The glyph width caculation was not compensating for the
15467 WIN32_FONT_LOGICAL_SCALE resulting in a glyph width and glyph advance
15468 32 times larger than it should be.
15470 src/cairo-win32-font.c | 2 +-
15471 1 files changed, 1 insertions(+), 1 deletions(-)
15473 commit d35d6eec24c1b7ab0a49149a51bf65ea8e223203
15474 Author: Adrian Johnson <ajohnson@redneon.com>
15475 Date: Sun May 4 22:54:02 2008 +0930
15477 Fix win32 bitmap font metrics when device scale != 1
15479 158d24412bba9 fixed win32 printing of bitmap fonts by forcing the use
15480 of fallback images. This exposed a bug in the win32 bitmap font
15481 metrics when a device scale is used that resulted in clipped glyphs.
15483 src/cairo-win32-font.c | 4 ++--
15484 1 files changed, 2 insertions(+), 2 deletions(-)
15486 commit 158d24412bba99a4f57907d7fd22a86aae6e87af
15487 Author: Adrian Johnson <ajohnson@redneon.com>
15488 Date: Sun May 4 22:46:41 2008 +0930
15490 Make win32-printing surface work with bitmap fonts
15492 The win32 printing surface has the same problem with bitmap fonts as
15493 it does with Type 1 fonts. ie ExtTextOutW() with glyph indices works
15494 for a display DC but not a printer DC.
15496 Fix this by forcing fallback for bitmap fonts.
15498 src/cairo-win32-font.c | 10 ++++++++++
15499 src/cairo-win32-printing-surface.c | 14 ++++++++++++++
15500 src/cairo-win32-private.h | 3 +++
15501 3 files changed, 27 insertions(+), 0 deletions(-)
15503 commit 547e2f552cff264b943803d3a1ff03d05bde35c0
15504 Author: Adrian Johnson <ajohnson@redneon.com>
15505 Date: Sun May 4 22:43:08 2008 +0930
15507 Fix win32-printing show_glyphs analysis for Type 1 fonts
15509 The analysis code needs to include the Type 1 font check that was
15510 previously adding the the rendering code.
15512 src/cairo-win32-printing-surface.c | 1 +
15513 1 files changed, 1 insertions(+), 0 deletions(-)
15515 commit 141bca74ba154d79fab49db74a51cd41f04e3a34
15516 Author: Adrian Johnson <ajohnson@redneon.com>
15517 Date: Sun May 4 22:40:49 2008 +0930
15519 Make cairo_win32_surface_get_dc work with win32 printing surface
15521 The win32 printing surface is a paginated surface so we need to get
15522 the paginated surface target to get to the win32_printing surface.
15524 src/cairo-win32-surface.c | 23 ++++++++++++++++++-----
15525 1 files changed, 18 insertions(+), 5 deletions(-)
15527 commit 8742429c7958bb7f87595b1c018b4da7856b2f92
15528 Author: Chris Wilson <chris@chris-wilson.co.uk>
15529 Date: Tue Apr 29 15:19:40 2008 +0100
15531 [test] Add test case for a leaky dashed rectangle.
15533 Franz Schmid reported on the mailing list,
15534 http://lists.cairographics.org/archives/cairo/2008-April/013912.html,
15535 an issue with drawing a dashed rubber band in Scribus. The problem
15536 appears when segments of the dashed rectangle are outside the image,
15537 with the errant dash connecting the ends of the visible segments.
15539 test/.gitignore | 1 +
15540 test/Makefile.am | 2 +
15541 test/leaky-dashed-rectangle-ref.png | Bin 0 -> 444 bytes
15542 test/leaky-dashed-rectangle.c | 92 +++++++++++++++++++++++++++++++++++
15543 4 files changed, 95 insertions(+), 0 deletions(-)
15545 commit afa4ff8df598b60ab75a95ceac9bc0dafedd3b22
15546 Author: Chris Wilson <chris@chris-wilson.co.uk>
15547 Date: Tue Apr 29 10:02:51 2008 +0100
15549 [check] Filter programlistings for check-doc-syntax.sh
15551 We do not want to enforce the gtk-doc markup in the preformated
15552 examples, so run the files through sed to filter out <programlisting>
15553 before checking with the error detecting regexp.
15555 src/check-doc-syntax.sh | 10 ++++++++--
15556 1 files changed, 8 insertions(+), 2 deletions(-)
15558 commit e94126fb678cecfc61e1b1afb62b8e75e2aec286
15559 Author: Chris Wilson <chris@chris-wilson.co.uk>
15560 Date: Tue Apr 29 09:20:30 2008 +0100
15562 [cairo-ft] Add a demonstration of how to handle the lifetime of the FT_Face.
15564 Extend the documentation for cairo_ft_font_face_create_for_ft_face() to
15565 demonstrate using cairo_font_face_set_user_data() to destroy the FT_Face
15566 after the final reference to the cairo_font_face_t has been dropped.
15568 src/cairo-ft-font.c | 16 ++++++++++++++++
15569 1 files changed, 16 insertions(+), 0 deletions(-)
15571 commit 78cb05a1b7b4160b8914c75479bd60d0b34b0663
15572 Author: Chris Wilson <chris@chris-wilson.co.uk>
15573 Date: Tue Apr 29 09:10:50 2008 +0100
15575 [cairo-ft-font] Fixup doc reference to cairo_ft_font_face_create_for_ft_face()
15577 The documentation referred to cairo_ft_font_face_create_for_face().
15579 src/cairo-ft-font.c | 2 +-
15580 1 files changed, 1 insertions(+), 1 deletions(-)
15582 commit f43e5e9ed975f40e4fab06cef89e40a18a5e170e
15583 Author: Chris Wilson <chris@chris-wilson.co.uk>
15584 Date: Tue Apr 29 09:09:22 2008 +0100
15586 [cairo-ft] Correct the function references in the docs.
15588 The docs reference cairo_ft_font_lock_face() instead of the correct
15589 cairo_ft_scaled_font_lock_face() (and friends).
15591 src/cairo-ft-font.c | 12 ++++++------
15592 1 files changed, 6 insertions(+), 6 deletions(-)
15594 commit 5d20479b99c187ee90ebce36b97a9064acff8f0d
15595 Author: Chris Wilson <chris@chris-wilson.co.uk>
15596 Date: Tue Apr 29 09:03:00 2008 +0100
15598 [test/ft-font-create-for-ft-face] Fix the lifetime issues of FT_Face.
15600 The font_face created from cairo_ft_font_face_create_for_ft_face()
15601 was being kept alive by a reference from the context beyond the
15602 lifetime of the parent cairo_scaled_font_t (which owned the FT_Face).
15603 Correct the example in the test code to remove this errant reference
15604 before cleaning up the fonts. (To be fair, to actually trigger a bug
15605 one has to evict the FT_Face from the cache before using the font_face
15606 - merely creating a cairo_scaled_font_t for every font on the system is
15609 test/ft-font-create-for-ft-face.c | 6 +++++-
15610 1 files changed, 5 insertions(+), 1 deletions(-)
15612 commit 00965edf49a989c56d1236807f5b2901bb157005
15613 Author: Chris Wilson <chris@chris-wilson.co.uk>
15614 Date: Tue Apr 29 08:59:37 2008 +0100
15616 [cairo-ft] Remove unused private aliases.
15618 cairo_ft_scaled_font_lock_face() and friends are unused internally
15619 (instead _cairo_ft_unscaled_font_lock_face() is used directly), so
15620 remove the unnecessary aliases.
15622 src/cairo-ft-font.c | 4 ++--
15623 src/cairo-ft-private.h | 3 ---
15624 2 files changed, 2 insertions(+), 5 deletions(-)
15626 commit 122a31a0757d0483f72af0cf3816a52bded5afb6
15627 Author: Vladimir Vukicevic <vladimir@pobox.com>
15628 Date: Sun Apr 27 15:20:43 2008 -0700
15630 [quartz] Fix CGFont leaks when creating quartz fonts
15632 The toy font constructor and the _with_atsu_font_id constructor were
15633 not properly managing the refcount of the CGFontRef.
15635 src/cairo-quartz-font.c | 9 ++++++++-
15636 1 files changed, 8 insertions(+), 1 deletions(-)
15638 commit 76e655e5084270b7e5a9ed153e50e2f544c9b46f
15639 Author: Adrian Johnson <ajohnson@redneon.com>
15640 Date: Sun Apr 27 22:59:22 2008 +0930
15642 Fix group-paint PDF test failure
15644 src/cairo-pdf-surface.c | 13 ++++++++++++-
15645 1 files changed, 12 insertions(+), 1 deletions(-)
15647 commit 5e102b06d1a3c62a1dd0f381fbd1123961bebdf8
15648 Author: Adrian Johnson <ajohnson@redneon.com>
15649 Date: Sun Apr 27 21:51:05 2008 +0930
15651 PDF: Fix unbalanced save/restore
15653 src/cairo-pdf-surface.c | 1 -
15654 1 files changed, 0 insertions(+), 1 deletions(-)
15656 commit 3a2a86721096a5efdec25a3ec041d9fc7eec6cf8
15657 Author: Adrian Johnson <ajohnson@redneon.com>
15658 Date: Sun Apr 27 17:49:04 2008 +0930
15660 PS: Fix gradients with one stop
15662 src/cairo-ps-surface.c | 26 ++++++++++++++++++++++++++
15663 1 files changed, 26 insertions(+), 0 deletions(-)
15665 commit f99d86e7082a59f2c6e53f021f8fd62973a0d1ef
15666 Author: Adrian Johnson <ajohnson@redneon.com>
15667 Date: Sun Apr 27 17:32:41 2008 +0930
15669 PDF: Fix gradients with one stop
15671 src/cairo-pdf-surface.c | 38 ++++++++++++++++++++++++++++++++------
15672 1 files changed, 32 insertions(+), 6 deletions(-)
15674 commit 6135ee716b4f2567f578fd023ba2d85c86cb7fda
15675 Author: Sebastien Pouliot <sebastien@ximian.com>
15676 Date: Fri Apr 25 18:43:01 2008 +0100
15678 [configure.in] Build fails on Solaris due to non-POSIX ctime_r()
15680 Check for a Solaris build host and adjust the CFLAGS to force POSIX
15683 (Fixes https://bugs.freedesktop.org/show_bug.cgi?id=15463.)
15685 configure.in | 14 +++++++++++++-
15686 1 files changed, 13 insertions(+), 1 deletions(-)
15688 commit b4b77cedc9db73f1ba8af16704302a4b2cc3f184
15689 Author: Chris Wilson <chris@chris-wilson.co.uk>
15690 Date: Mon Apr 21 22:50:59 2008 +0100
15692 [test/Makefile.am] EXTRA_DIST += create-from-png*-ref.png
15694 Add the new reference images for create-from-png to the distributable.
15696 test/Makefile.am | 7 ++++++-
15697 1 files changed, 6 insertions(+), 1 deletions(-)
15699 commit 63bba7e60c0c83f5456aa52611212264478148b4
15700 Author: Chris Wilson <chris@chris-wilson.co.uk>
15701 Date: Mon Apr 21 20:15:28 2008 +0100
15703 [cairo-png] Call png_set_filler() before png_read_update_info().
15705 Otherwise libpng gets very confused and we start scribbling over invalid
15706 memory whilst reading in the PNG.
15708 src/cairo-png.c | 3 ++-
15709 1 files changed, 2 insertions(+), 1 deletions(-)
15711 commit 20b1b33c0fc76d2ec2b4f83d9ce058429c4f49db
15712 Author: Chris Wilson <chris@chris-wilson.co.uk>
15713 Date: Mon Apr 21 19:54:48 2008 +0100
15715 [cairo-png] Recheck png_info after setting transformation options.
15717 After specifying how to transform the various colour modes into ones we
15718 can handle, re-read the image header to confirm that the output on
15719 reading the PNG will be RGB24 or ARGB32. This simplifies our logic
15720 considerably as we no longer have to second guess the colour space
15721 transformation that will be performed by libpng. (And allows for some
15724 src/cairo-png.c | 38 ++++++++++++++++++++------------------
15725 1 files changed, 20 insertions(+), 18 deletions(-)
15727 commit a313547f6d0ed060de7fc27dc2886ef09b8598d4
15728 Author: Chris Wilson <chris@chris-wilson.co.uk>
15729 Date: Mon Apr 21 19:44:11 2008 +0100
15731 [test/create-from-png] Check loading of various colour types.
15733 Check that when loading from index/gray/rgb PNGs, with and without
15734 alpha/transparency, that the correct surface is generated by read_png(),
15735 i.e. if the PNG contains an alpha channel then the image must be an
15738 test/create-from-png-alpha-ref.png | Bin 0 -> 150 bytes
15739 test/create-from-png-gray-alpha-ref.png | Bin 0 -> 142 bytes
15740 test/create-from-png-gray-ref.png | Bin 0 -> 124 bytes
15741 test/create-from-png-indexed-alpha-ref.png | Bin 0 -> 172 bytes
15742 test/create-from-png-indexed-ref.png | Bin 0 -> 159 bytes
15743 test/create-from-png-ref.png | Bin 100 -> 131 bytes
15744 test/create-from-png.c | 121 ++++++++++++++++++++++++++++
15745 7 files changed, 121 insertions(+), 0 deletions(-)
15747 commit f2f91db131e7c7df1e87bcd41ae17c07429bbcb8
15748 Author: Chris Wilson <chris@chris-wilson.co.uk>
15749 Date: Mon Apr 21 18:20:16 2008 +0100
15751 [cairo-png] Create an ARGB32 surface for paletted PNGs.
15753 jeremie54 reported a regression in the handling of transparent paletted
15754 PNGs beween 1.4.14 and 1.6.4. This was caused by the change to load
15755 opaque PNGs into a RGB24 image surface, which made the assumption that
15756 indexed PNGs were opaque. However, alpha/transparency in PNG is more
15757 complicated, as PNG uses a tRNS chunk to supply transparency data for
15758 paletted images and other image types that don't need a full alpha
15759 channel. Therefore if the PNG contains a tRNS chunk always generate an
15762 src/cairo-png.c | 19 ++++++++++++++-----
15763 1 files changed, 14 insertions(+), 5 deletions(-)
15765 commit ea6dbfd36f2182fda16cb82bca92007e0f7b8d77
15766 Author: Chris Wilson <chris@chris-wilson.co.uk>
15767 Date: Wed Apr 16 17:24:43 2008 +0100
15769 [cairo-meta-surface] Save and restore the original clip.
15771 When replaying the meta-surface to the target, we apply a stack-based
15772 clip to the surface. However, we did not remove this clip from the
15773 surface and so a pointer into our stack existed beyond the scope of
15776 Saving the original clip pointer and restoring it before leaving the
15777 function resolves the issue and appears to fix
15778 https://bugzilla.mozilla.org/show_bug.cgi?id=429071.
15780 src/cairo-meta-surface.c | 8 ++++++--
15781 1 files changed, 6 insertions(+), 2 deletions(-)
15783 commit a2c4fd057217b70c74a66076acc4f42f676192ae
15784 Author: Adrian Johnson <ajohnson@redneon.com>
15785 Date: Fri Apr 18 18:18:30 2008 +0930
15787 Add "Since: 1.6" to win32 printing surface
15789 src/cairo-win32-printing-surface.c | 2 ++
15790 1 files changed, 2 insertions(+), 0 deletions(-)
15792 commit 212357cb4c859bb29649f86e808f498efb6d7315
15793 Author: Robert O'Callahan <roc@ocallahan.org>
15794 Date: Fri Apr 18 06:15:26 2008 +0200
15796 Clone surface correctly when doing a deep clip copy
15798 The rect specifies the clip surface location within the owning surface;
15799 when cloned, the x/y should be 0 to get the entire surface.
15801 Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=409227
15803 src/cairo-clip.c | 4 ++--
15804 1 files changed, 2 insertions(+), 2 deletions(-)
15806 commit a0d71e5a38a5b6a9621da1ce773d591b6e500b1e
15807 Author: Chris Wilson <chris@chris-wilson.co.uk>
15808 Date: Wed Apr 16 14:31:25 2008 +0100
15810 [Makefile.am] Fix breakage in previous commit.
15812 I checked with --disable-pdf and with --disable-ps, but forgot to
15813 check with them both enabled. D'oh.
15815 src/Makefile.am | 9 ++++++---
15816 1 files changed, 6 insertions(+), 3 deletions(-)
15818 commit 472637da054ec90d8dc4b0095be6e9a134f507e0
15819 Author: Chris Wilson <chris@chris-wilson.co.uk>
15820 Date: Wed Apr 16 14:18:32 2008 +0100
15822 [Makefile.am] Add cairo-pdf-operators*.[ch] to ps_sources
15824 The postscript backends depends upon cairo-pdf-operators.c, so list it
15825 as a requirement in ps_sources. This enables the postscript backend to
15826 build even if the pdf backend is disable by the user during configure.
15828 (Fixes http://bugs.freedesktop.org/show_bug.cgi?id=15532.)
15830 src/Makefile.am | 3 ++-
15831 1 files changed, 2 insertions(+), 1 deletions(-)
15833 commit 12831201d2461ae4452d91ad42bf74881da12e04
15834 Author: Behdad Esfahbod <behdad@behdad.org>
15835 Date: Tue Apr 15 15:57:41 2008 -0400
15837 [doc/tutorial/src/singular.c] Fix a bug in delta computation
15839 doc/tutorial/src/singular.c | 38 +++++++++++++++++++++-----------------
15840 1 files changed, 21 insertions(+), 17 deletions(-)
15842 commit cafdd0161941413547d253c743c743323e790400
15843 Author: Behdad Esfahbod <behdad@behdad.org>
15844 Date: Tue Apr 15 13:33:50 2008 -0400
15846 [Makefile.am] Document why beos was removed from build, and remove some cruft
15848 src/Makefile.am | 8 +++-----
15849 1 files changed, 3 insertions(+), 5 deletions(-)
15851 commit 0e315b1e6092d7ba44a89076567257d68ab3e1f9
15852 Author: Chris Wilson <chris@chris-wilson.co.uk>
15853 Date: Mon Apr 14 20:32:29 2008 +0100
15855 [test/a8-mask] Perform the stride API checking once.
15857 The stride API is independent of the surface and does not need to be
15858 repeated for every surface.
15860 test/a8-mask.c | 97 +++++++++++++++++++++++++++++---------------------------
15861 1 files changed, 50 insertions(+), 47 deletions(-)
15863 commit 8b36ca085844ada8f13d0164719772b6bb78dff6
15864 Author: Chris Wilson <chris@chris-wilson.co.uk>
15865 Date: Mon Apr 14 20:32:29 2008 +0100
15867 [test/a1-mask] Perform the stride API checking once.
15869 The stride API is independent of the surface and does not need to be
15870 repeated for every surface.
15872 test/a1-mask.c | 99 ++++++++++++++++++++++++++++---------------------------
15873 1 files changed, 50 insertions(+), 49 deletions(-)
15875 commit fa5e87ad230db18be26b971dc0351abd342c7894
15876 Author: Chris Wilson <chris@chris-wilson.co.uk>
15877 Date: Mon Apr 14 20:11:44 2008 +0100
15879 [cairo-test] Spelling fixes in comments.
15881 Skim through the comments fixing trivial smelling pistakes.
15883 test/cairo-test.c | 7 +++----
15884 1 files changed, 3 insertions(+), 4 deletions(-)
15886 commit 8514d334442312774c8646dc46a630351cff83f5
15887 Author: Richard Hult <richard@imendio.com>
15888 Date: Mon Apr 14 16:55:23 2008 -0700
15890 Fix to install cairo-quartz-font.pc
15892 src/Makefile.am | 1 +
15893 1 files changed, 1 insertions(+), 0 deletions(-)
15895 commit 4ff59960f343f072efd10bfbfd78b8b2fbe1d4be
15896 Author: Kouhei Sutou <kou@cozmixng.org>
15897 Date: Mon Apr 14 16:53:37 2008 -0700
15899 Fix typo in documentation (missing stride argument)
15901 src/cairo-image-surface.c | 3 ++-
15902 1 files changed, 2 insertions(+), 1 deletions(-)
15904 commit e01072d4eae5a40f09a46373680d4ba6afa5c4e4
15905 Author: Carl Worth <cworth@cworth.org>
15906 Date: Mon Apr 14 16:52:40 2008 -0700
15908 RELEASING: Send announcement of major releases to pr@lwn.net as well
15910 RELEASING | 13 +++++++------
15911 1 files changed, 7 insertions(+), 6 deletions(-)
15913 commit 9db764c732ef6e3405866a60762592625aa94ca4
15914 Merge: d96fdd5... 44e6cdd...
15915 Author: Carl Worth <cworth@cworth.org>
15916 Date: Mon Apr 14 16:39:27 2008 -0700
15920 This gets us a fix for not linking with g++ from 1.6.4
15922 We don't take from 1.6.4 the revert of the addition of
15923 missing locking from the GC cache, (meanwhile, we've
15924 already got a corrected fix for this).
15928 src/cairo-xlib-screen.c
15930 commit d96fdd58abf8d6c8692dbb08ec54cdd80accba79
15931 Author: Adrian Johnson <ajohnson@redneon.com>
15932 Date: Sun Apr 13 22:16:52 2008 +0930
15934 win32: Fix broken printing of type1 fonts
15936 ExtTextOut() does not work with Type 1 font glyph indices when
15937 printing. The same code works fine when dst->dc is a display. It
15938 appears that ExtTextOut expects unicode character values when using
15939 Type 1 fonts and a printer DC.
15941 Fix this by making Type 1 fonts in the win32-printing surface use the
15942 fallback path for non Windows fonts. ie the glyphs will be emitted as
15945 src/cairo-win32-font.c | 10 ++++++++++
15946 src/cairo-win32-printing-surface.c | 1 +
15947 src/cairo-win32-private.h | 3 +++
15948 3 files changed, 14 insertions(+), 0 deletions(-)
15950 commit af94b8d2a312500d0f81697021ba2c653accfeee
15951 Author: Carl Worth <cworth@cworth.org>
15952 Date: Fri Apr 11 16:13:18 2008 -0700
15954 README: Note that quartz is no longer experimental
15957 1 files changed, 3 insertions(+), 3 deletions(-)
15959 commit ff5376563b1042ebea8a438acb309bcd8678cdc5
15960 Author: Chris Wilson <chris@chris-wilson.co.uk>
15961 Date: Fri Apr 11 23:47:07 2008 +0100
15963 [xlib] Clear the gc_needs_clip_reset after use.
15965 If you think this commit is reminiscent of
15966 40558cb15e5f7276a29847b00c9dae08b9d9380e, you would be right as it fixes
15967 exactly the same bug I made then and reintroduced in dc714106e156cb7901.
15969 So quoting 40558cb:
15970 After consuming the GC we need to unset the clip reset flag, so that
15971 if we try and get a new GC without first putting a fresh one we do not
15972 try to call XSetClipMask on a NULL GC.
15974 src/cairo-xlib-screen.c | 1 +
15975 1 files changed, 1 insertions(+), 0 deletions(-)
15977 commit 28a1dabed8cf50d9bec552bd9d3a18580c1c6711
15978 Author: Chris Wilson <chris@chris-wilson.co.uk>
15979 Date: Fri Apr 11 23:40:36 2008 +0100
15981 [test] Add a regression test for bug 10921
15983 This bug first was fixed in 40558cb15e5f7276a29847b00c9dae08b9d9380e,
15984 but then reintroduced in 9cfd82e87b60c0d65e9cafda026cb9a498874575, which
15985 became part of the 1.6.2 quick release.
15987 As penance to make sure I never repeat this same bug again, I offer this
15988 test case which exercises the XSetClipMask(NULL) path and hopefully
15989 simulates some 'typical' usage of cairo by GUI toolkits.
15991 test/.gitignore | 1 +
15992 test/Makefile.am | 2 +
15993 test/xlib-expose-event-ref.png | Bin 0 -> 40736 bytes
15994 test/xlib-expose-event.c | 275 ++++++++++++++++++++++++++++++++++++++++
15995 4 files changed, 278 insertions(+), 0 deletions(-)
15997 commit 44e6cdd9b1eb3330d3f4ef4929d0af50cd0010e5
15998 Author: Carl Worth <cworth@cworth.org>
15999 Date: Fri Apr 11 14:48:18 2008 -0700
16001 Increment version to 1.6.5 after the 1.6.4 release
16003 configure.in | 2 +-
16004 1 files changed, 1 insertions(+), 1 deletions(-)
16006 commit 08a804806355d99d7968976d6afb98bbc0f2613d
16007 Author: Carl Worth <cworth@cworth.org>
16008 Date: Fri Apr 11 14:33:12 2008 -0700
16010 Increment version to 1.6.4
16012 configure.in | 4 ++--
16013 1 files changed, 2 insertions(+), 2 deletions(-)
16015 commit a96176e12fa99b293453fa0321b1dfa4fd242917
16016 Author: Carl Worth <cworth@cworth.org>
16017 Date: Fri Apr 11 14:32:37 2008 -0700
16019 NEWS: Add notes for cairo 1.6.4
16021 NEWS | 29 +++++++++++++++++++++++++++++
16022 1 files changed, 29 insertions(+), 0 deletions(-)
16024 commit 32e576382bc08ffaf98ebfc11c96e1453c437bbe
16025 Author: Carl Worth <cworth@cworth.org>
16026 Date: Fri Apr 11 14:13:03 2008 -0700
16028 Prevent cairo from being linked unnecessarilly with g++
16030 The beos backend involves a source file written in C++.
16031 Apparently, automake sees the conditional inclusion of
16032 that source file and insists on doing the final link of
16033 cairo with g++ even though that file isn't being compiled
16036 We definitely don't want that as it makes libcairo link
16037 and depend on libstdc++ unnecessarily, (which can break
16038 distribution packaging when not expecting it, etc.).
16040 src/Makefile.am | 1 -
16041 1 files changed, 0 insertions(+), 1 deletions(-)
16043 commit 8f1c8d4b26d6da11101c51ef388d1dcc7177cfb4
16044 Author: Carl Worth <cworth@cworth.org>
16045 Date: Fri Apr 11 13:48:38 2008 -0700
16047 Revert "[xlib] Add locking around GC cache."
16049 This reverts commit 9cfd82e87b60c0d65e9cafda026cb9a498874575.
16051 The fix was broken as it introduced crashes by calling
16052 XSetClipMask with a NULL GC, (basically a reintroduction
16053 of the bug originally fixed here:
16055 7802de6d5edaf998c98b141870dc2c6b4c0f3e91
16057 Let's revert for sake of the release, and fix this correctly
16060 src/cairo-xlib-private.h | 1 -
16061 src/cairo-xlib-screen.c | 31 ++++++++++---------------------
16062 2 files changed, 10 insertions(+), 22 deletions(-)
16064 commit 75001079c1c6361f116409dc13263e87081637d1
16065 Merge: a5770c3... f57100a...
16066 Author: Carl Worth <cworth@cworth.org>
16067 Date: Fri Apr 11 10:08:14 2008 -0700
16069 Merge in origin/master, (a few changes in parallel to 1.6.2 release)
16071 commit a5770c3335fccd1591f2cd58ab950a6eba77f271
16072 Author: Carl Worth <cworth@cworth.org>
16073 Date: Fri Apr 11 10:05:18 2008 -0700
16075 Increment version to 1.6.3 after the 1.6.2 release
16077 configure.in | 2 +-
16078 1 files changed, 1 insertions(+), 1 deletions(-)
16080 commit 5bc6fd71398f8aa902fcffe2da5d1e70fb94aa8a
16081 Author: Carl Worth <cworth@cworth.org>
16082 Date: Fri Apr 11 09:52:28 2008 -0700
16084 Increment version to 1.6.2
16086 configure.in | 4 ++--
16087 1 files changed, 2 insertions(+), 2 deletions(-)
16089 commit 0c32497c3447d6d02d45a14ff4c400b6d1ea37da
16090 Author: Carl Worth <cworth@cworth.org>
16091 Date: Fri Apr 11 09:50:53 2008 -0700
16093 NEWS: Add notes for 1.6.2 release
16095 NEWS | 35 +++++++++++++++++++++++++++++++++++
16096 1 files changed, 35 insertions(+), 0 deletions(-)
16098 commit 9cfd82e87b60c0d65e9cafda026cb9a498874575
16099 Author: Chris Wilson <chris@chris-wilson.co.uk>
16100 Date: Thu Apr 10 14:49:47 2008 +0100
16102 [xlib] Add locking around GC cache.
16104 The per-screen cached of most-recently freed GCs lacks suitable locking
16105 for it to be threadsafe.
16106 (cherry picked from commit dc714106e156cb7901e376c0935922446ae9bcdf)
16108 src/cairo-xlib-private.h | 1 +
16109 src/cairo-xlib-screen.c | 31 +++++++++++++++++++++----------
16110 2 files changed, 22 insertions(+), 10 deletions(-)
16112 commit cf057c1e8603014033c079189369e91aecac2adf
16113 Author: Adrian Johnson <ajohnson@redneon.com>
16114 Date: Fri Apr 11 21:42:19 2008 +0930
16116 PS: Fix inefficient implementation of Tm/Td operators that was crashing printers
16118 The Td and Tm operator emulation were setting the font matrix like this:
16120 /some_font [xx yx xy yy x0 y0] selectfont
16122 where [xx yx xy yy] is the font matrix and [x0 y0] is the position of
16123 the first glyph to be drawn. This seemed to be the easiest way to
16124 emulate the Tm operator since the six arguments to Tm required by PDF
16125 are xx,yx,xy,yy,x0,y0.
16127 Before the switch to pdf-operators the font matrix was set like this:
16129 /somefont [xx yx xy yy 0 0] selectfont x0 y0 moveto
16131 The selectfont operator is equivalent to calling findfont, makefont,
16132 and setfont. The makefont operator creates a new font dictionary for
16133 specified font that contains the specified font matrix. The
16134 description of the makefont operator in the PostScript Language
16135 Reference Manual states:
16137 "The interpreter keeps track of font dictionaries recently created
16138 by makefont. Calling makefont multiple times with the same font and
16139 matrix will usually return the same font rather than create a new
16142 So the emulation of Tm and Td was creating a new font dictionary every
16143 time a text string was displayed due to the change in the translation
16144 components of the font matrix. Previously the font dictionary was
16145 re-used as with the translation components of the matrix set to zero,
16146 the font matrix did not change frequently.
16148 Some printers did not handle well the frequent creation a font
16149 dictionary every time a few glyphs were displayed.
16151 Fix this by ensuring the translation components of the font matrix
16152 used in the emulation of Tm and Td operators is always set to
16153 zero. Use moveto instead for the translation components.
16154 (cherry picked from commit c5814d2aa3cb68a13bc9cc8b6a47f660febcad71)
16156 src/cairo-ps-surface.c | 9 +++++----
16157 1 files changed, 5 insertions(+), 4 deletions(-)
16159 commit f57100acd4937486bfb69d38dfc72d42427e2851
16160 Author: Chris Wilson <chris@chris-wilson.co.uk>
16161 Date: Fri Apr 11 11:36:24 2008 +0100
16163 [test] Handle TEST_CONTENT_COLOR_ALPHA_FLATTENED similar surfaces.
16165 Convert the boilerplate specific flattened content value to the ordinary
16166 CAIRO_CONTENT_COLOR_ALPHA for use with cairo_push_group_with_content() -
16167 otherwise cairo rightfully flags an error and the test harness decides
16168 that the similar surface is not available.
16170 boilerplate/cairo-boilerplate.c | 14 ++++++++++----
16171 boilerplate/cairo-boilerplate.h | 3 +++
16172 perf/cairo-perf.c | 6 ++++--
16173 test/cairo-test.c | 8 +++-----
16174 4 files changed, 20 insertions(+), 11 deletions(-)
16176 commit e4fc5279cc490b8d7c1f611d73601e6782c944a5
16177 Author: Chris Wilson <chris@chris-wilson.co.uk>
16178 Date: Mon Mar 31 15:48:51 2008 +0100
16180 [cairo-font-options] Eliminate internal use of cairo_font_options_create()
16182 Within the library, we know the precise size of the struct and so can
16183 allocate temporary font options on the stack - eliminating the need
16184 to export an internal alias of cairo_font_options_(create|destory).
16186 src/cairo-font-options.c | 2 --
16187 src/cairo-surface.c | 9 +++------
16188 src/cairoint.h | 2 --
16189 3 files changed, 3 insertions(+), 10 deletions(-)
16191 commit b72fe9bb5ff20bfc3d30a8a4bb353e52818b5fb7
16192 Author: Chris Wilson <chris@chris-wilson.co.uk>
16193 Date: Thu Apr 10 16:48:42 2008 +0100
16195 [cairo-arc] Check that the context is not error before proceeding.
16197 We depend on values stored on the context that become invalid upon an
16198 error, so stop processing as soon as an error occurs. Prior to
16199 adjusting, the values returned from the error context, this would cause
16200 an infinite loop whilst calculating the number of segments required for
16203 src/cairo-arc.c | 3 +++
16204 1 files changed, 3 insertions(+), 0 deletions(-)
16206 commit f6834dacef3e6f798c54829b9a309c8f96ed39f5
16207 Author: Chris Wilson <chris@chris-wilson.co.uk>
16208 Date: Thu Apr 10 16:43:10 2008 +0100
16210 [cairo] Return defaults when the context is in error.
16212 Return the default values instead of zero for an error context. This
16213 helps to prevent application logic faults when using the values from
16214 the error context (for an example, see _cairo_arc_in_direction()).
16216 src/cairo.c | 16 ++++++++--------
16217 1 files changed, 8 insertions(+), 8 deletions(-)
16219 commit 68f53282b9a7ebf1bb2117b5a630237f458b99b0
16220 Author: Chris Wilson <chris@chris-wilson.co.uk>
16221 Date: Thu Apr 10 14:58:30 2008 +0100
16223 [xlib] Clear the Visual cache upon display closure.
16225 Clear the Visual cache, similarly to flushing the GC cache, upon
16228 src/cairo-xlib-screen.c | 16 +++++++++-------
16229 1 files changed, 9 insertions(+), 7 deletions(-)
16231 commit a2608cdde54dd677290da83cc9f8b98b139ff774
16232 Author: Chris Wilson <chris@chris-wilson.co.uk>
16233 Date: Thu Apr 10 14:56:12 2008 +0100
16235 [xlib] Convert the Visual cache to use the screen mutex.
16237 Use the per-screen mutex, introduced for the GC cache, to lock access to
16238 the Visual cache (instead of the per-display mutex).
16240 src/cairo-xlib-screen.c | 25 +++++++++++++------------
16241 1 files changed, 13 insertions(+), 12 deletions(-)
16243 commit dc714106e156cb7901e376c0935922446ae9bcdf
16244 Author: Chris Wilson <chris@chris-wilson.co.uk>
16245 Date: Thu Apr 10 14:49:47 2008 +0100
16247 [xlib] Add locking around GC cache.
16249 The per-screen cached of most-recently freed GCs lacks suitable locking
16250 for it to be threadsafe.
16252 src/cairo-xlib-private.h | 1 +
16253 src/cairo-xlib-screen.c | 31 +++++++++++++++++++++----------
16254 2 files changed, 22 insertions(+), 10 deletions(-)
16256 commit 9166686abd92f8b2c7067002b051220e2f8fe780
16257 Author: Adrian Johnson <ajohnson@redneon.com>
16258 Date: Fri Apr 11 22:50:52 2008 +0930
16260 Refresh text-rotate PS reference image
16262 test/text-rotate-ps-ref.png | Bin 6878 -> 6796 bytes
16263 1 files changed, 0 insertions(+), 0 deletions(-)
16265 commit c5814d2aa3cb68a13bc9cc8b6a47f660febcad71
16266 Author: Adrian Johnson <ajohnson@redneon.com>
16267 Date: Fri Apr 11 21:42:19 2008 +0930
16269 PS: Fix inefficient implementation of Tm/Td operators that was crashing printers
16271 The Td and Tm operator emulation were setting the font matrix like this:
16273 /some_font [xx yx xy yy x0 y0] selectfont
16275 where [xx yx xy yy] is the font matrix and [x0 y0] is the position of
16276 the first glyph to be drawn. This seemed to be the easiest way to
16277 emulate the Tm operator since the six arguments to Tm required by PDF
16278 are xx,yx,xy,yy,x0,y0.
16280 Before the switch to pdf-operators the font matrix was set like this:
16282 /somefont [xx yx xy yy 0 0] selectfont x0 y0 moveto
16284 The selectfont operator is equivalent to calling findfont, makefont,
16285 and setfont. The makefont operator creates a new font dictionary for
16286 specified font that contains the specified font matrix. The
16287 description of the makefont operator in the PostScript Language
16288 Reference Manual states:
16290 "The interpreter keeps track of font dictionaries recently created
16291 by makefont. Calling makefont multiple times with the same font and
16292 matrix will usually return the same font rather than create a new
16295 So the emulation of Tm and Td was creating a new font dictionary every
16296 time a text string was displayed due to the change in the translation
16297 components of the font matrix. Previously the font dictionary was
16298 re-used as with the translation components of the matrix set to zero,
16299 the font matrix did not change frequently.
16301 Some printers did not handle well the frequent creation a font
16302 dictionary every time a few glyphs were displayed.
16304 Fix this by ensuring the translation components of the font matrix
16305 used in the emulation of Tm and Td operators is always set to
16306 zero. Use moveto instead for the translation components.
16308 src/cairo-ps-surface.c | 9 +++++----
16309 1 files changed, 5 insertions(+), 4 deletions(-)
16311 commit 0ac8130ae3d74a09343f4b9a2d69f938910b4ab9
16312 Merge: eac9251... 11299ae...
16313 Author: Carl Worth <cworth@cworth.org>
16314 Date: Thu Apr 10 18:07:12 2008 -0700
16316 Merge in origin/master, (just a few 1.5.21 changes alongside 1.6.0 release)
16318 commit eac9251d9a78e8d7bf00098b367a5176ed7dbce6
16319 Author: Carl Worth <cworth@cworth.org>
16320 Date: Thu Apr 10 18:02:59 2008 -0700
16322 Increment version to 1.6.1 after 1.6.0 release
16324 configure.in | 2 +-
16325 1 files changed, 1 insertions(+), 1 deletions(-)
16327 commit 11299ae5c5374f0b754636635c0df82fd30e3ffc
16328 Author: Behdad Esfahbod <behdad@behdad.org>
16329 Date: Wed Apr 9 11:17:14 2008 -0500
16331 Add doc/tutorial/src/singular.c
16333 doc/tutorial/src/singular.c | 158 +++++++++++++++++++++++++++++++++++++++++++
16334 src/cairo-matrix.c | 4 +
16335 2 files changed, 162 insertions(+), 0 deletions(-)
16337 commit 089bf98df1708b77e0a66f52abb83856a93eff9d
16338 Author: Chris Wilson <chris@chris-wilson.co.uk>
16339 Date: Tue Apr 8 15:33:47 2008 +0100
16341 [test] Add group-paint
16343 The experience of running the entire test suite under cairo_push_group()
16344 did at least reveal that there was a potential bug in the pdf backend.
16345 This test is just the simplest of drawing operations - simply filling
16346 the similar surface with solid blue, and then blitting that surface to
16349 test/.gitignore | 1 +
16350 test/Makefile.am | 2 +
16351 test/group-paint-ref.png | Bin 0 -> 118 bytes
16352 test/group-paint.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++
16353 4 files changed, 60 insertions(+), 0 deletions(-)
16355 commit 39100439cad575b3c542bbe31eaea699ff76b3c8
16356 Author: Chris Wilson <chris@chris-wilson.co.uk>
16357 Date: Tue Apr 8 11:32:51 2008 +0100
16359 Check surface->status and finished in cairo_surface_write_to_png_stream
16361 Cut'n'paste from commit c1f765:
16362 Without these checks, a user could hit an assertion failure by passing
16363 a finished surface to cairo_surface_write_to_png_stream. Now we return
16364 a nice CAIRO_STATUS_SURFACE_FINISHED error in that case instead.
16366 src/cairo-png.c | 6 ++++++
16367 1 files changed, 6 insertions(+), 0 deletions(-)
16369 commit 935b0bbf6e260180298dcd5643b5db3fde7af1fd
16370 Author: Chris Wilson <chris@chris-wilson.co.uk>
16371 Date: Tue Apr 8 10:57:51 2008 +0100
16373 [test/filter-bilinear-extents] Memleak.
16375 Destroy the temporary image surface.
16377 test/filter-bilinear-extents.c | 2 ++
16378 1 files changed, 2 insertions(+), 0 deletions(-)
16380 commit c7cd5b30c4ef3ecf5c1f21257fcfac51308b701d
16381 Author: Carl Worth <cworth@cworth.org>
16382 Date: Tue Apr 8 03:11:50 2008 -0700
16384 Increment cairo version to 1.5.21 after the 1.5.20 snapshot
16386 configure.in | 2 +-
16387 1 files changed, 1 insertions(+), 1 deletions(-)