1 commit 6b3aa86b1c5b2fce3e56b43142c4ec2664a37032
2 Author: Carl Worth <cworth@cworth.org>
3 Date: Thu Sep 25 15:48:14 2008 -0700
5 Increment cairo version to 1.8.0.
7 cairo-version.h | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 commit e1560eceab109a051926d04d9aa578c3c991fe88
11 Author: Carl Worth <cworth@cworth.org>
12 Date: Thu Sep 25 15:27:08 2008 -0700
14 NEWS: Add notes for the 1.8.0 release.
16 Heavily cribbed from 1.7.x snapshot NEWS of course.
18 NEWS | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
19 1 file changed, 166 insertions(+), 4 deletions(-)
21 commit 9a210ab228a3afa9d19b699b772893ea3303f38f
22 Author: Carl Worth <cworth@cworth.org>
23 Date: Thu Sep 25 15:53:44 2008 -0700
25 Add missing reference images REFERENCE_IMAGES list.
27 The standard ritual before being able to release.
29 test/Makefile.am | 9 +++++++++
30 1 file changed, 9 insertions(+)
32 commit 1d896aa9d89ff79239b3754da617201968072ea1
33 Author: Carl Worth <cworth@cworth.org>
34 Date: Thu Sep 25 15:40:28 2008 -0700
36 Actually remove cairo_has_show_text_glyphs
38 The release notes for 1.7.6 say that we had dropped this
39 function, but apparently we had only planned to do that
40 and didn't actually get around to it until now.
42 Thanks to the RELEASING insctructions which gave a diff
43 command that pointed out this problem.
45 doc/public/cairo-sections.txt | 1 -
46 doc/public/tmpl/cairo-text.sgml | 9 ---------
47 src/cairo-gstate.c | 8 +-------
48 src/cairo.c | 36 +++++-------------------------------
50 src/cairoint.h | 4 ----
51 6 files changed, 6 insertions(+), 55 deletions(-)
53 commit 483ab915c0fd891dffc0390ba4a1c96c1f06e30f
54 Author: Carl Worth <cworth@cworth.org>
55 Date: Thu Sep 25 15:25:54 2008 -0700
57 Remove excessive whitespace.
59 It looks sloppy (and wastes space) to have two blank lines
62 README.win32 | 10 ----------
63 1 file changed, 10 deletions(-)
65 commit e52f0fe8bdfea16dad5a32b646b57c7734e79e0f
66 Author: Carl Worth <cworth@cworth.org>
67 Date: Thu Sep 25 14:09:34 2008 -0700
69 Ignore test/png-test.png
71 Finally, "git status" is clean after "make distcheck".
74 1 file changed, 1 insertion(+)
76 commit c62b4c73863efa3948df8bdd57ac604ef6d195be
77 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
78 Date: Thu Sep 25 16:57:38 2008 -0400
80 [user-font-rescale] Do proper ref-counting of substitute font
82 The problem showed up on OS X because the freetype backend reuses font_face_t's
83 which kept the reference count high enough for long enough to avoid the problem.
85 test/user-font-rescale.c | 10 ++++++++--
86 1 file changed, 8 insertions(+), 2 deletions(-)
88 commit cd540dc22e1145781119fb9a973dd9ae6bb7401f
89 Author: Carl Worth <cworth@cworth.org>
90 Date: Thu Sep 25 13:37:53 2008 -0700
92 Update text-antialias-subpixel reference image.
94 Now that we reverted back to cairo's code for sub-pixel
95 text rendering, we need to update the reference image
98 test/text-antialias-subpixel-ref.png | Bin 974 -> 1102 bytes
99 1 file changed, 0 insertions(+), 0 deletions(-)
101 commit 5d887ad5dca5af0f8216830d1b04d08a5aba9bee
102 Author: Carl Worth <cworth@cworth.org>
103 Date: Thu Sep 25 13:31:20 2008 -0700
105 Remove all lcd_filter code.
107 We reverted the public API for setting lcd_filter font options
108 back in 1b42bc8033bc , but we had left the implementation which
109 would examine fontconfig and Xft properties for the option, and
110 which would call into freetype for subpixel glyph rasterization.
112 However, I recently realized, (and the test suite had been trying
113 to tell me for a while), that this approach would cause a
114 regression for users who were previously using sub-pixel text,
115 but without sub-pixel rendering built directly into freetype.
116 That's not acceptable, so all the code is coming out for now.
118 src/cairo-font-options.c | 51 +---
119 src/cairo-ft-font.c | 672 +++++++++++++--------------------------------
120 src/cairo-surface.c | 1 -
121 src/cairo-types-private.h | 26 --
122 src/cairo-xlib-screen.c | 28 --
124 6 files changed, 190 insertions(+), 595 deletions(-)
126 commit 3d32e7110ba1fedb0bec96238d14245579f5bce1
127 Author: Carl Worth <cworth@cworth.org>
128 Date: Thu Sep 25 02:58:01 2008 -0700
130 Note that we're using ghostscript 8.62 now for reference images.
134 I had actually forgotten we had documented this. If I had
135 remembered I could have put more meaningful messages with
136 some of my recent updates to ps-specific reference images.
139 1 file changed, 1 insertion(+), 1 deletion(-)
141 commit a172d87b4cbcc0bda9c376ab5c5cfdea2e20db63
142 Author: Carl Worth <cworth@cworth.org>
143 Date: Thu Sep 25 02:49:44 2008 -0700
145 Make device-offset-scale an XFAIL test due to SVG failure.
147 It's sad to have to do this. Back with commit 1a9809baa was the
148 original fix for device-offset-scale, (right after the test was
149 added), and it fixed it for all backends, including SVG. The fix
150 involved combining device_transform and CTM into the pattern matrix.
152 But then, we added the mask-transformed-image and
153 mask-transformed-similar tests, and commit 20be3182ef29 for fixing an
154 SVG-specific bug with masks. That fix involved subtracting away the
155 pattern matrix when emitting a mask to adhere to SVG semantics.
157 Unfortunately, this change also made the device-offset-scale test
158 start failing. A correct fix would probably subtract away only the CTM
159 portion and not the devive_transform. However, the
160 _cairo_svg_surface_mask function sees only a pattern matrix and
161 doesn't know how to separate it into CTM and device_transform pieces.
163 So fixing this will probably require a change to the surface-backend
164 interface. And since we're not willing to do that so close to a major
165 release, we're adding yet another XFAIL.
167 test/Makefile.am | 1 +
168 test/device-offset-scale.c | 3 ++-
169 2 files changed, 3 insertions(+), 1 deletion(-)
171 commit 36eef09b583077a899e446d5f28b5cc15335cf5f
172 Author: Carl Worth <cworth@cworth.org>
173 Date: Thu Sep 25 02:30:00 2008 -0700
175 Update pdf-specific reference images for mask test.
177 Something had changed to introduce some very minor rasterization
178 details around the circles.
180 test/mask-pdf-argb32-ref.png | Bin 7834 -> 8881 bytes
181 test/mask-pdf-rgb24-ref.png | Bin 7383 -> 8267 bytes
182 2 files changed, 0 insertions(+), 0 deletions(-)
184 commit 503506bf0dbfbc0be92f1461afa8683227732809
185 Author: Carl Worth <cworth@cworth.org>
186 Date: Thu Sep 25 02:16:47 2008 -0700
188 Add pdf-specific reference image for mask-transformed-similar
190 Thanks to help from Chris, we fixed the bug that was making this
191 test fail with the PDF backend. All that was left was differing
192 treatment of the edges of the image---easy enough to address
193 with a pdf-specific reference image.
195 test/mask-transformed-similar-pdf-ref.png | Bin 0 -> 4213 bytes
196 1 file changed, 0 insertions(+), 0 deletions(-)
198 commit 31ff6c863ff82bd7339a03297e4b5a9adea0b1c9
199 Author: Chris Wilson <chris@chris-wilson.co.uk>
200 Date: Thu Sep 25 09:47:58 2008 +0100
202 [pdf] Explicitly order the sequence of checks when analyzing masks
204 There is an implicit precedence when analyzing patterns for
205 compatibilty, in order of descending precedence:
209 needs meta-surface analysis
212 So wehen we have two patterns, we need to check both analysis statuses
213 simulataneously, in order to correctly report the combined status.
215 src/cairo-pdf-surface.c | 34 +++++++++++++++++++++++++---------
216 1 file changed, 25 insertions(+), 9 deletions(-)
218 commit 69635bc054a823afe1ca378fffac1b2daabdf594
219 Author: Carl Worth <cworth@cworth.org>
220 Date: Thu Sep 25 01:52:45 2008 -0700
222 Fix the analysis of mask operations (fixing mask-transformed-similar test case)
224 The primary bug here was some missing braces. The code was conditionally
225 assigning to backend_status, but then unconditionally checking for the
226 value assigned. The result was the leaking of an internal status value
227 (CAIRO_INT_STATUS_ANALYZE_META_SURFACE) which finally resulted in
228 an incomplete PDF file in the mask-transformed-similar test case.
230 While fixing this, also avoid re-using the backend_status variable so
231 much so that the code is more readable.
233 src/cairo-analysis-surface.c | 37 ++++++++++++++++++++++++++-----------
234 1 file changed, 26 insertions(+), 11 deletions(-)
236 commit 5599b08dfaf5897f58b3456732dc9c241502b4c4
237 Author: Carl Worth <cworth@cworth.org>
238 Date: Thu Sep 25 01:42:03 2008 -0700
240 Drop _cairo_analysis_surface prefix from some static functions
242 Since these functions are static we don't really need the full
243 name. And these two functions were both so long that they were
244 causing some serious line-wrap issues.
246 src/cairo-analysis-surface.c | 43 ++++++++++++++++++------------------------
247 1 file changed, 18 insertions(+), 25 deletions(-)
249 commit aae476807c079c6514fb7013092c5c303336d8df
250 Author: Carl Worth <cworth@cworth.org>
251 Date: Thu Sep 25 00:18:23 2008 -0700
253 Update ps-specific reference image for rotate-image-surface-paint
255 The only difference here is a tie-breaker condition for image-
256 sampling position. While we care about that when it's under our
257 control, (pixman rasterization), we don't have precise
258 requirements for ghostscript's sampling. So we can capture the
259 current result as a reference.
261 test/rotate-image-surface-paint-ps-ref.png | Bin 275 -> 212 bytes
262 1 file changed, 0 insertions(+), 0 deletions(-)
264 commit a501f8f6d84bcac12b48e226ab653ae237b1a603
265 Author: Carl Worth <cworth@cworth.org>
266 Date: Thu Sep 25 00:14:13 2008 -0700
268 Mark degenerate-path and miter-precision as XFAIL.
270 These two tests currently fail only for the PS backend,
271 but they've done so since before the last major release.
272 The final image result we're getting is definitely wrong
273 in both cases, but we have not yet been able to verify
274 if this is due to bugs in cairo (generating PostScript)
275 or in ghostscript (interpreting and rasterzing the
278 test/Makefile.am | 2 ++
279 test/degenerate-path.c | 3 ++-
280 test/miter-precision.c | 2 +-
281 3 files changed, 5 insertions(+), 2 deletions(-)
283 commit e279eeb7ddae445015ac1a582d4aab2e68f03c94
284 Author: Carl Worth <cworth@cworth.org>
285 Date: Thu Sep 25 00:08:03 2008 -0700
287 Make the bitmap-font an XFAIL.
289 We've had these PDF and PS failures here for a *long* time,
290 (before the last major release for sure). It's a bug, but
291 we expect it to be there, so advertise it that way.
293 test/Makefile.am | 1 +
294 test/bitmap-font.c | 3 ++-
295 2 files changed, 3 insertions(+), 1 deletion(-)
297 commit 261dd83b31adb4a6b4d80f626b9d5fde5eb4d8f6
298 Author: Carl Worth <cworth@cworth.org>
299 Date: Wed Sep 24 21:55:53 2008 -0700
301 Eliminate paranoid check for PNG_INTERLACE_NONE.
303 Commit 20b1b33c0fc7 added some "paranoid checks" to our png
304 loading code. One of these was checking that if png_get_IHDR
305 first reports an interlace value other than PNG_INTERLACE_NONE
306 that after we call png_set_interlace_handling then we do
307 get PNG_INTERLACE_NONE from the next call to png_get_IHDR.
309 However, libpng doesn't seem to actually have that behavior.
310 When testing cairo_image_surface_create_from_png with an
311 interlanced PNG file, (which the test suite happens not to
312 do---even now), the call to png_set_interlace_handling is
313 doing the trick, but the check for PNG_INTERLACE_NONE is
316 So, with the check in place, loading an interlaced PNG image
317 fails with CAIRO_STATUS_READ_ERROR. By simply removing
318 that check, an interlaced image loads just fine.
320 src/cairo-png.c | 2 +-
321 1 file changed, 1 insertion(+), 1 deletion(-)
323 commit 94d2820c6f64a2da13e6aeb4698198a3d4d0669b
324 Author: Carl Worth <cworth@cworth.org>
325 Date: Wed Sep 24 18:38:21 2008 -0700
327 Update ps-specific reference image for ft-text-vertical-layout-type3
329 Something, (gs interpreter version?), changed and caused a
330 very minor rasterization change.
332 test/ft-text-vertical-layout-type3-ps-ref.png | Bin 1867 -> 1804 bytes
333 1 file changed, 0 insertions(+), 0 deletions(-)
335 commit 8a49cfa03a23ed29ea0b310536a3d332af76332c
336 Author: Carl Worth <cworth@cworth.org>
337 Date: Wed Sep 24 18:34:43 2008 -0700
339 Update all reference images for ft-text-vertical-layout-type1.
341 This is one of those chronically fragile tests. I'm assuming
342 some font changed or something, because the glyph positions
343 shifted (consistently) across all the backend. Doesn't look
346 We'll really need to do proper bundling of all font data to
347 avoid issues like this.
349 test/ft-text-vertical-layout-type1-pdf-ref.png | Bin 3604 -> 3968 bytes
350 test/ft-text-vertical-layout-type1-ps-ref.png | Bin 1910 -> 1846 bytes
351 test/ft-text-vertical-layout-type1-ref.png | Bin 3960 -> 3980 bytes
352 test/ft-text-vertical-layout-type1-svg-ref.png | Bin 3934 -> 3973 bytes
353 4 files changed, 0 insertions(+), 0 deletions(-)
355 commit 3ae894a9fd5152821e1b427aff298c3f8ae00298
356 Author: Carl Worth <cworth@cworth.org>
357 Date: Wed Sep 24 18:29:00 2008 -0700
359 Update reference image for smask-text test.
361 Very minor rasterization differences crept in here
362 from somewhere. Of course, it would be easier to
363 identify from *where* if we documented all the versions
364 of the various external libraries used in creating
365 reference images. But for now, the versions on the
366 machine of the person making the release win.
368 test/smask-text-ref.png | Bin 1739 -> 1777 bytes
369 1 file changed, 0 insertions(+), 0 deletions(-)
371 commit ab406eeac1817e62d2c0a737db898ba56c3031ff
372 Author: Carl Worth <cworth@cworth.org>
373 Date: Wed Sep 24 18:24:46 2008 -0700
375 Add svg-specific reference image for user-font-rescale.
377 The difference here was just edge effects, (the kind of
378 thing that looks like glyph rasterization differences
379 but might in fact be due to minor rounding differences
380 in glyph positions). Either way, there's no problem
381 with respect to what the test is exercising.
383 test/user-font-rescale-svg-ref.png | Bin 0 -> 15741 bytes
384 1 file changed, 0 insertions(+), 0 deletions(-)
386 commit 453443d77acadc705a4b9ddeb96f853364c96ad2
387 Author: Chris Wilson <chris@chris-wilson.co.uk>
388 Date: Thu Sep 25 01:08:46 2008 +0100
390 [test] Write the OUTPUT filename to the log if we match the vector surface.
392 If the vector surface matches the output from last time, then the
393 rasterisation is skipped - but we need to write the expected OUTPUT
394 filename to the log so that the image is referenced from index.html.
396 test/cairo-test.c | 3 +++
397 1 file changed, 3 insertions(+)
399 commit e84ef3c54e0f95d321be8d8f47c5c9c60a2c6b3f
400 Author: Behdad Esfahbod <behdad@behdad.org>
401 Date: Wed Sep 24 20:00:30 2008 -0400
403 [.gitignore] Remove Makefile.*.config
405 I renamed those generated files to Makefile.*.features but forgot to
406 update ignore lists. Carl already added the new ones, but didn't
409 boilerplate/.gitignore | 2 --
410 src/.gitignore | 2 --
411 2 files changed, 4 deletions(-)
413 commit 62107b8015f0d359397a02d4f0fecf22647330b9
414 Author: Carl Worth <cworth@cworth.org>
415 Date: Wed Sep 24 16:51:44 2008 -0700
417 Mark several new tests added during 1.7 as XFAIL.
419 The following tests were added during the 1.7 cycle to
422 alpha-similar operator operator-alpha self-copy-overlap
424 In all cases, the identical bug existed in the last major
425 release, (1.6.4), so these are not new regressions, but merely
426 bugs that we're now aware of. The correct way to handle bugs
427 such as these is to mark them as expected failures (XFAIL).
429 test/Makefile.am | 4 ++++
430 test/alpha-similar.c | 3 ++-
431 test/operator-alpha.c | 3 ++-
432 test/operator.c | 3 ++-
433 test/self-copy-overlap.c | 3 ++-
434 5 files changed, 12 insertions(+), 4 deletions(-)
436 commit c3750cf2187e6b590a93761cb28ad63d2806f81d
437 Author: Carl Worth <cworth@cworth.org>
438 Date: Wed Sep 24 16:32:58 2008 -0700
440 Remove the device-offset testing (-25 cases) for the release.
442 The reasoning behind the -25 testing is that we want to ensure
443 that cairo provides translation invariance. However, for
444 many vector backends we use external rasterizers that don't
445 necessarily provide that translation invariance.
447 So this testing makes a bunch of failures appear that we don't
448 really care about, (and we don't even have a mechanism to turn
449 them off with custom reference images). For the release, I'm
450 just turning this off.
452 After the release, I plan to turn this back on, and then we could
453 fix this by ensuring that the vector output itself is unaffected
454 by a device offset, or by moving away from external rasterizers,
455 (see Chris's micro-gs work to test PostScript with cairo-based
458 test/cairo-test.c | 2 +-
459 1 file changed, 1 insertion(+), 1 deletion(-)
461 commit ea4d0bafb3d374e491f3956347c7510ea7b0d2b8
462 Author: Carl Worth <cworth@cworth.org>
463 Date: Wed Sep 24 16:25:38 2008 -0700
465 Add svg-specific reference image for mask-transformed-similar.
467 The only difference in this case is whether there is blurring
468 of the image around the edges. That's a rasterization issue
469 that we don't care about, (we're testing that the correct
470 transformation is applied).
472 test/mask-transformed-similar-svg-ref.png | Bin 0 -> 4051 bytes
473 1 file changed, 0 insertions(+), 0 deletions(-)
475 commit f939e46304093cad4d8bc3f545cc49a2888fd59f
476 Author: Carl Worth <cworth@cworth.org>
477 Date: Wed Sep 24 16:21:57 2008 -0700
479 Add pdf-specific reference images for gradient-constant-alpha.
481 Like many other gradient tests, we're just capturing the buggy
482 output of poppler here, (though this time I *did* verify with
483 Adobe acroread that our PDF output seems to be correct).
486 test/gradient-constant-alpha-pdf-argb32-ref.png | Bin 0 -> 116 bytes
487 test/gradient-constant-alpha-pdf-rgb24-ref.png | Bin 0 -> 115 bytes
488 3 files changed, 1 insertion(+)
490 commit 9335ad313fdc97c3c8d0e532319ac3f58c7f69fc
491 Author: Carl Worth <cworth@cworth.org>
492 Date: Wed Sep 24 16:20:35 2008 -0700
494 Ignore generated files.
496 I know that I didn't create these Makefile.win32.features files,
497 so I assume that they are the result of Behdad's build magic and
498 that he just forgot to add them to .gitignore.
500 boilerplate/.gitignore | 2 ++
501 build/.gitignore | 2 ++
502 src/.gitignore | 2 ++
503 3 files changed, 6 insertions(+)
505 commit 06594abc6b74a8260f92f7d9686f2ae5ce84e59f
506 Author: Carl Worth <cworth@cworth.org>
507 Date: Wed Sep 24 16:03:12 2008 -0700
509 Add pdf-specific reference images for fill-alpha-pattern.
511 These capture the current poppler output, (rather than the
512 ideal output). We're still waiting for poppler to start
513 using cairo gradients before this test will run through
514 cleanly. And even with these new reference images, there's
515 still some translation variance, so the -25 tests still
519 test/fill-alpha-pattern-pdf-argb32-ref.png | Bin 0 -> 3887 bytes
520 test/fill-alpha-pattern-pdf-rgb24-ref.png | Bin 0 -> 3840 bytes
521 3 files changed, 1 insertion(+)
523 commit 64541a58aeafece3956bbe4cc4ec3bc2226d3d2a
524 Author: Carl Worth <cworth@cworth.org>
525 Date: Wed Sep 24 15:52:05 2008 -0700
527 Add pdf- and ps-specific reference images for device-offset-fractional
529 We don't care about the specifics of rasterization in the viewer
530 here, (though it still might be worth being more careful about
531 how we set /Interpolate---but that's not the point of this test).
533 test/device-offset-fractional-pdf-ref.png | Bin 0 -> 277 bytes
534 test/device-offset-fractional-ps-ref.png | Bin 0 -> 201 bytes
535 2 files changed, 0 insertions(+), 0 deletions(-)
537 commit ba7ef8b40e5615de295932b654806345065019c1
538 Author: Chris Wilson <chris@chris-wilson.co.uk>
539 Date: Wed Sep 24 22:35:40 2008 +0100
541 [configure.ac] Bump poppler dependency to 0.9.2
543 poppler-0.9.2 is required for replaying user-fonts correctly.
545 configure.ac | 4 +++-
546 1 file changed, 3 insertions(+), 1 deletion(-)
548 commit dfe9f7093f9a226e58dc531b54b32a3f169fea96
549 Author: Chris Wilson <chris@chris-wilson.co.uk>
550 Date: Wed Sep 24 22:16:39 2008 +0100
552 Revert "[pdf] Tweak the mask analysis to avoid an assertion failure."
554 This reverts commit c9ec82f3a89cdd57277be6a9a6cb3e05d82fb206, which
555 notably caused regresions in the mask and clip-operator tests.
557 Obviously I'm not smart enough to fix bugs. Since the computer found the
558 assertion failure, I need to train the computer to fix the bugs as well.
560 src/cairo-pdf-surface.c | 9 ++-------
561 1 file changed, 2 insertions(+), 7 deletions(-)
563 commit ab682a6ff28ca89cc0dd8fd641a0bbc42487f613
564 Author: Behdad Esfahbod <behdad@behdad.org>
565 Date: Wed Sep 24 17:22:51 2008 -0400
567 Add README.win32, courtesy of Damian Frank
572 README.win32 | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
573 4 files changed, 74 insertions(+), 1 deletion(-)
575 commit 5a06ca852c909f8225d7b6e7f29668b0ac79898f
576 Author: Behdad Esfahbod <behdad@behdad.org>
577 Date: Wed Sep 24 17:16:15 2008 -0400
579 [Makefile.win32] Also report installing cairo-version.h and cairo-features.h
581 Those two files needs special care and hence are not listed in
582 enabled_cairo_sources.
584 src/Makefile.win32 | 4 +++-
585 1 file changed, 3 insertions(+), 1 deletion(-)
587 commit a91101df319e11eb3d6e38b5cfa85d9ac9e7d815
588 Author: Behdad Esfahbod <behdad@behdad.org>
589 Date: Wed Sep 24 17:15:44 2008 -0400
591 [Makefile.sources] Remove mention of cairo-features-win32.h
593 That file is not generated anymore. Instead, cairo-features.h is
594 generated from Makefile.win32 on the fly.
596 src/Makefile.sources | 4 ----
597 1 file changed, 4 deletions(-)
599 commit 55e06745a639d86921e48ff56aa0c375a46d6421
600 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
601 Date: Thu Sep 25 00:17:57 2008 +0300
603 [perf-suite] Explicitly read the results of rdtsc from edx:eax.
605 The =A format used to read a 64 bit result from rdtsc works on x86,
608 perf/cairo-perf-posix.c | 6 +++---
609 1 file changed, 3 insertions(+), 3 deletions(-)
611 commit 2fb59b3ebd885e109160326825325be3907ed48e
612 Author: Behdad Esfahbod <behdad@behdad.org>
613 Date: Wed Sep 24 17:09:54 2008 -0400
615 [Makefile.win32] Report which files to install
617 The win32 build system has no way to install anything, but it has
618 full knowledge of what needs to be installed (which headers). So
619 we now report files to be installed at the end of the build.
621 src/Makefile.win32 | 9 ++++++++-
622 1 file changed, 8 insertions(+), 1 deletion(-)
624 commit 6eee90784ea8174b346e389c2f61b599543685e4
625 Author: Behdad Esfahbod <behdad@behdad.org>
626 Date: Wed Sep 24 15:01:06 2008 -0400
628 Enable CAIRO_HAS_UTF8_TO_UTF16 if PDF_OPERATORS is enabled
630 We are being cheap and don't define the cairo_utf8_to_utf16 function
631 if no one is using it. Previously PS surface was not using it, but
632 after the pdf-operators merge, it was.
634 Before this commit, building with PS but without PDF failed. Fixing.
636 src/cairoint.h | 2 +-
637 1 file changed, 1 insertion(+), 1 deletion(-)
639 commit bb125689d3d3e623f84a02f4b6f2a0c8f5a7901f
640 Author: Behdad Esfahbod <behdad@behdad.org>
641 Date: Wed Sep 24 14:55:20 2008 -0400
643 Simplify preprocessor conditional syntax
645 We never do #ifdef-type conditions on CAIRO_HAS_* macros, because we
646 want to allow setting them to zero. Then if we need to enable a feature
647 if either of PS or PDF is enabled, the proper syntax is:
649 #if CAIRO_HAS_PS_SURFACE || CAIRO_HAS_PDF_SURFACE
651 This works because the preprocessor replaces any unknown identifiers with
652 zero. Some versions of gcc had a bug that got them very confused with
653 complex versions of the above. As a workaround for that I have been using
656 #if CAIRO_HAS_PS_SURFACE+0 || CAIRO_HAS_PDF_SURFACE+0
658 which magically worked around that bug. Or more recently replacing that
659 with the duplicated version:
661 #if CAIRO_HAS_PS_SURFACE
664 #if CAIRO_HAS_PDF_SURFACE
668 Both are uglier than the original. Since the gcc bug was very short lived
669 and there's lots of software out there relying on the original form to work,
670 moving back to the simple version seems harmless.
672 src/cairoint.h | 15 +++------------
673 1 file changed, 3 insertions(+), 12 deletions(-)
675 commit adece69ae362bdfb018f5886d76a792c44dafd7e
676 Author: Chris Wilson <chris@chris-wilson.co.uk>
677 Date: Wed Sep 24 19:17:22 2008 +0100
679 [test] Add a test case to question the mutability of sources.
681 Are patterns mutable? The image backend is quite happy to write and read
682 from the same surface, whereas the vector targets create snapshots... This
683 test case exploits that inconsistency.
685 Also the interested reader will note that not only does this demonstrate
686 translational invariance, but a discrepancy with similar surfaces.
688 test/.gitignore | 1 +
689 test/Makefile.am | 3 ++
690 test/self-copy-overlap-ref.png | Bin 0 -> 1140 bytes
691 test/self-copy-overlap-rgb24-ref.png | Bin 0 -> 608 bytes
692 test/self-copy-overlap.c | 56 ++++++++++++++++++++++++++++++++++
693 5 files changed, 60 insertions(+)
695 commit 88188eababa7c6dafeb064662a77b8f5f3719593
696 Author: Chris Wilson <chris@chris-wilson.co.uk>
697 Date: Wed Sep 24 09:49:09 2008 +0100
699 [test] Memleak in new mask-ctm-* tests.
701 Add the forgotten cairo_surface_destroy().
703 test/mask-transformed-image.c | 3 +++
704 test/mask-transformed-similar.c | 3 +++
705 2 files changed, 6 insertions(+)
707 commit 8f157303681a3d58471ffbe004bc140b7a3a48be
708 Author: Chris Wilson <chris@chris-wilson.co.uk>
709 Date: Wed Sep 24 18:39:29 2008 +0100
711 [test] Rename mask-ctm-* to avoid conflict with mask-ctm.
713 Using mask-ctm-image as a test name was causing a naming conflict with
714 mask-ctm, so rename the new tests.
716 test/.gitignore | 4 +-
717 test/Makefile.am | 8 +--
718 test/mask-ctm-image-ref.png | Bin 4516 -> 0 bytes
719 test/mask-ctm-image.c | 100 --------------------------------
720 test/mask-ctm-similar-ref.png | Bin 4516 -> 0 bytes
721 test/mask-ctm-similar.c | 102 ---------------------------------
722 test/mask-transformed-image-ref.png | Bin 0 -> 4516 bytes
723 test/mask-transformed-image.c | 100 ++++++++++++++++++++++++++++++++
724 test/mask-transformed-similar-ref.png | Bin 0 -> 4516 bytes
725 test/mask-transformed-similar.c | 102 +++++++++++++++++++++++++++++++++
726 10 files changed, 208 insertions(+), 208 deletions(-)
728 commit 444d44acde4ac73641c789c19ec7a3199211b594
729 Author: Chris Wilson <chris@chris-wilson.co.uk>
730 Date: Wed Sep 24 18:12:22 2008 +0100
732 [stroke] Cap trailing segment when skipping invisible segments.
734 If we do not maintain the current_face even for invisible dashed segments,
735 then we will generate spurious line segments when attempting to close the
736 path (ala leaky-dashed-rectangle).
738 This fixes the long standing regression introduced just prior to 1.6 and
739 captured in these bug reports:
740 http://lists.cairographics.org/archives/cairo/2008-April/013912.html
741 http://bugs.freedesktop.org/show_bug.cgi?id=17177
743 src/cairo-path-stroke.c | 8 ++++++++
744 1 file changed, 8 insertions(+)
746 commit 9fc745ae9fbbc24ce3f6fa5728c36fa6819b85a7
747 Author: Behdad Esfahbod <behdad@behdad.org>
748 Date: Wed Sep 24 13:17:22 2008 -0400
750 Revert "[build] Use mkdir -p portability macros"
752 This reverts commit 03c37f56b2d3ecc0e197194364b216183dacc24a.
754 The AC_PROG_MKDIR_P is also one of those autoconf macros defined
755 in newer versions only. Since we use mkdir -p in releasing scripts
756 only, it's not a big deal if it's not portable.
758 build/Makefile.am.releasing | 2 +-
759 build/configure.ac.tools | 1 -
760 2 files changed, 1 insertion(+), 2 deletions(-)
762 commit b5b1134c2c84996bd8e019d5908b18db876137dc
763 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
764 Date: Wed Sep 24 17:39:33 2008 +0100
766 [tessellator] Skip edges that lie outside the region of interest.
768 We don't need to tessellate edges strictly above or below the
769 the limits of the traps.
771 src/cairo-bentley-ottmann.c | 11 +++++++++++
772 1 file changed, 11 insertions(+)
774 commit 018a64bf7f3ccdf3982655c93701eafc99fd0b93
775 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
776 Date: Wed Sep 24 17:33:36 2008 +0100
778 [traps] Impose limits on traps for cairo_in_(fill|stroke)
780 We don't need to tessellate edges strictly above or below the
783 (Patch split and modified by Chris Wilson to apply to cairo_in_stroke()
784 as well - all bugs are his alone.)
786 src/cairo-gstate.c | 14 ++++++++++++++
787 1 file changed, 14 insertions(+)
789 commit 8c0ff8b5856a8a7cb61dffaad7d72ed2dcdb5cf3
790 Author: Chris Wilson <chris@chris-wilson.co.uk>
791 Date: Wed Sep 24 17:03:49 2008 +0100
793 [cairo] Define min-tolerance in terms of cairo_fixed_t
795 By using the cairo_fixed_t macros we can compute the correct minimum
796 tolerance for any configuration.
799 1 file changed, 1 insertion(+), 1 deletion(-)
801 commit c9ec82f3a89cdd57277be6a9a6cb3e05d82fb206
802 Author: Chris Wilson <chris@chris-wilson.co.uk>
803 Date: Wed Sep 24 15:01:25 2008 +0100
805 [pdf] Tweak the mask analysis to avoid an assertion failure.
807 Both the source and mask need to be analyzed and checked for an
808 UNSUPPORTED operation before determining the best course of action.
809 As before this is simply decided based on the requirements of the
812 src/cairo-pdf-surface.c | 9 +++++++--
813 1 file changed, 7 insertions(+), 2 deletions(-)
815 commit b9c92842d9c091e34738d14f7baf6f357a1f085c
816 Author: Chris Wilson <chris@chris-wilson.co.uk>
817 Date: Wed Sep 24 11:38:21 2008 +0100
819 [trap] Trivial reject if trapezoid is entirely above or below
821 Also check whether is vertically within limits.
823 src/cairo-traps.c | 4 ++++
824 1 file changed, 4 insertions(+)
826 commit 911d5f1a254f800fe18f4554b738006aa0a693a2
827 Author: Chris Wilson <chris@chris-wilson.co.uk>
828 Date: Wed Sep 24 11:34:27 2008 +0100
830 [traps] Adjust lines if either point is on the boundary.
832 If either point lies on the limit and the other outside, adjust the line
833 to be parallel to the boundary. This adjusts the previous test where both
834 points needed to be entirely outside.
836 src/cairo-traps.c | 8 ++++----
837 1 file changed, 4 insertions(+), 4 deletions(-)
839 commit 7357e80054b80a9906783ed910282bb79f31cdfd
840 Author: Chris Wilson <chris@chris-wilson.co.uk>
841 Date: Wed Sep 24 11:32:11 2008 +0100
845 Apply prior knowledge to limit the traps during clipping to avoid
846 generating extra work.
848 src/cairo-clip.c | 18 ++++++++++++++++--
849 1 file changed, 16 insertions(+), 2 deletions(-)
851 commit c36a242303c99f59ba210d6c0dae831b2efb83fc
852 Author: Chris Wilson <chris@chris-wilson.co.uk>
853 Date: Wed Sep 24 11:12:05 2008 +0100
855 [traps] Replace open-coding of box->rectangle->box
857 Use the utility functions _cairo_box_from_rectangle and
858 _cairo_box_round_to_rectangle() instead of open-coding. Simultaneously
859 tweak the whitespace so that all users of traps look similar.
861 src/cairo-analysis-surface.c | 47 +++++++++++-------------------------------
862 src/cairo-clip.c | 4 ++--
863 src/cairo-surface-fallback.c | 16 +++-----------
864 3 files changed, 17 insertions(+), 50 deletions(-)
866 commit 49b9a21e0bfeed5a1e2f33162a7b1c9e67de1d75
867 Author: Chris Wilson <chris@chris-wilson.co.uk>
868 Date: Wed Sep 24 01:56:44 2008 +0100
870 [test/any2ppm] Handle filenames with multiple-dots.
872 Use strrchr() to find the extension, as strchr() is fooled too easily.
874 As spotted by Carlos Garcia Campos.
876 test/any2ppm.c | 2 +-
877 1 file changed, 1 insertion(+), 1 deletion(-)
879 commit 651c6598c98118ba04bc4970557c24241b91dab0
880 Author: Chris Wilson <chris@chris-wilson.co.uk>
881 Date: Wed Sep 24 00:49:03 2008 +0100
883 [traps] Limit extents to imposed constraints.
885 When reporting the extents of the traps, constrain them to the imposed
886 limits. This is relied upon in the analysis-surface which sets the
887 limits on the traps (based on clip/surface extents) and then reports the
888 extents of the traps as the region of the operation.
890 src/cairo-traps.c | 15 ++++++++++++++-
891 1 file changed, 14 insertions(+), 1 deletion(-)
893 commit 0baf12f450e12b9f2fb4e55bfeb7738dd5145cbd
894 Author: Behdad Esfahbod <behdad@behdad.org>
895 Date: Tue Sep 23 19:18:00 2008 -0400
897 [scaled-font] Another typo fix in the comments
899 Both this and previous one kindly pointed out by Carl.
901 src/cairo-scaled-font.c | 2 +-
902 1 file changed, 1 insertion(+), 1 deletion(-)
904 commit 70207aadfdb580029c81ac87e2d1aa66cc6c5b30
905 Author: Behdad Esfahbod <behdad@behdad.org>
906 Date: Tue Sep 23 19:11:08 2008 -0400
908 [mutex] Fix typo in comments
910 src/cairo-mutex-impl-private.h | 2 +-
911 1 file changed, 1 insertion(+), 1 deletion(-)
913 commit 0a4a6213e2ab915098b6fdc8bd2652cd5026599c
914 Author: Chris Wilson <chris@chris-wilson.co.uk>
915 Date: Fri Sep 19 21:12:55 2008 +0100
917 [fill] Check for the most common rectilinear case first.
919 Avoid the iterative search for the extreme points by first checking the
920 most likely arrangement (as produced by cairo_rectangle() under no
923 src/cairo-path-fill.c | 18 +++++++++++-------
924 1 file changed, 11 insertions(+), 7 deletions(-)
926 commit 8f51ea4657d872f75e1a6493aadcc769fd3b9324
927 Author: Chris Wilson <chris@chris-wilson.co.uk>
928 Date: Tue Sep 23 23:19:02 2008 +0100
930 [pattern] Beware unsigned wrap-around with pathological surface patterns.
932 A surface pattern under an extreme transformation could lie entirely in
933 the negative quadrant. This would trigger the fixup such that it's lower
934 left corner was clamped to the origin, but the upper right corner was left
935 unchecked. This could result in the width,height being negative and
936 wrapping around to large values instead of being clamped to 0.
938 src/cairo-pattern.c | 4 ++--
939 1 file changed, 2 insertions(+), 2 deletions(-)
941 commit 3c6d3684e965523acdeec9f24ccf71bf4e974622
942 Author: Chris Wilson <chris@chris-wilson.co.uk>
943 Date: Tue Sep 23 22:52:42 2008 +0100
945 [test] Add a test case for create_similar(CONTENT_ALPHA)
947 Application of a pure-alpha similar source is inconsistently handled
948 across the backends. The PDF/PS backends allow the rgb channels to bleed
949 through and the SVG backend mixes in pure white.
951 test/.gitignore | 1 +
952 test/Makefile.am | 3 ++
953 test/alpha-similar-ref.png | Bin 0 -> 99 bytes
954 test/alpha-similar-rgb24-ref.png | Bin 0 -> 99 bytes
955 test/alpha-similar.c | 76 ++++++++++++++++++++++++++++++++++++++
956 5 files changed, 80 insertions(+)
958 commit 5e5408412694bf067e47d12c9c739801452d8f41
959 Author: Chris Wilson <chris@chris-wilson.co.uk>
960 Date: Tue Sep 23 21:49:37 2008 +0100
962 [test-meta] Use real meta-surface snapshot.
964 The meta-surface workaround an old bug, which is no longer present in the
965 tree and open-coded the surface snapshot. However, the workaround itself
966 was buggy (not respecting the surface content). The lesson to take away
967 from this is not to add workarounds in test code for bugs in the library!
969 src/test-meta-surface.c | 35 -----------------------------------
970 1 file changed, 35 deletions(-)
972 commit 03c37f56b2d3ecc0e197194364b216183dacc24a
973 Author: Behdad Esfahbod <behdad@behdad.org>
974 Date: Tue Sep 23 17:15:07 2008 -0400
976 [build] Use mkdir -p portability macros
978 build/Makefile.am.releasing | 2 +-
979 build/configure.ac.tools | 1 +
980 2 files changed, 2 insertions(+), 1 deletion(-)
982 commit ae0511fbbe6c01b5fe8dfa531b3eaa791314931f
983 Author: Chris Wilson <chris@chris-wilson.co.uk>
984 Date: Tue Sep 23 20:00:18 2008 +0100
986 [pdf] Do not modify the dashes in-place.
988 As PS has different semantics regarding a zero-length dash, we need to
989 adjust the dash array before emitting. However, we need to modify a copy
990 of the dash array since the same array may be used by the meta-surface
991 when replaying to an image fallback.
993 src/cairo-pdf-operators.c | 14 ++++++++++++--
994 1 file changed, 12 insertions(+), 2 deletions(-)
996 commit b7ab1fc791139f5d0fd38692b63514ed02bc8b51
997 Author: Chris Wilson <chris@chris-wilson.co.uk>
998 Date: Tue Sep 23 10:51:13 2008 +0100
1000 Return the real error status for set_user_data()
1002 Instead of returning a new NO_MEMORY error, return the status from the
1005 src/cairo-font-face.c | 2 +-
1006 src/cairo-pattern.c | 2 +-
1007 src/cairo-scaled-font.c | 2 +-
1008 src/cairo-surface.c | 2 +-
1010 5 files changed, 5 insertions(+), 5 deletions(-)
1012 commit 0204d2f4e2dd89f1fcf06f2d18e68f6ab7452f91
1013 Author: Adrian Johnson <ajohnson@redneon.com>
1014 Date: Tue Sep 23 22:38:55 2008 +0930
1016 Replace two boolean args with one enum arg
1018 The use of multiple booleans in a function call can make it easy to
1019 mix up the parameters.
1021 src/cairo-scaled-font-subsets.c | 31 +++++++++++++++++++++++--------
1022 1 file changed, 23 insertions(+), 8 deletions(-)
1024 commit 5a3f03623c7ac0414bafc490c927e1f2282839d1
1025 Author: Behdad Esfahbod <behdad@behdad.org>
1026 Date: Tue Sep 23 04:11:48 2008 -0400
1028 [Makefile.win32] Add comments about where to edit for customization
1030 Makefile.win32 | 3 +++
1031 build/Makefile.win32.common | 3 +++
1032 2 files changed, 6 insertions(+)
1034 commit afb32c7f076dbbe4c965fc02226208596f41f59e
1035 Author: Behdad Esfahbod <behdad@behdad.org>
1036 Date: Tue Sep 23 03:52:43 2008 -0400
1038 [src/Makefile.am.analysis] Fix out-of-tree build
1040 src/Makefile.am.analysis | 14 +++++++-------
1041 1 file changed, 7 insertions(+), 7 deletions(-)
1043 commit fba0211ed6f649b9d61a9f2b3d83096dd801cb14
1044 Author: Behdad Esfahbod <behdad@behdad.org>
1045 Date: Mon Sep 22 23:41:07 2008 -0400
1047 [Makefile.win32] Add makefile rules to generate cairo-features.h
1050 Makefile.win32 | 5 +----
1051 build/configure.ac.features | 20 ++++++++++++++++++++
1052 src/Makefile.am | 4 ++--
1053 4 files changed, 25 insertions(+), 6 deletions(-)
1055 commit 0bedbe78fe236cc9dabec87dea0f71714acfb76a
1056 Author: Behdad Esfahbod <behdad@behdad.org>
1057 Date: Mon Sep 22 22:34:57 2008 -0400
1059 [Makefile.win32] Misc cleanup
1061 build/Makefile.win32.common | 29 +++++++++++++++++++++--------
1062 src/Makefile.win32 | 8 ++++----
1063 2 files changed, 25 insertions(+), 12 deletions(-)
1065 commit ebb5eb57b7cab7e5fc4b3215969a459f49d95fbb
1066 Author: Behdad Esfahbod <behdad@behdad.org>
1067 Date: Mon Sep 22 21:18:09 2008 -0400
1069 Generate build/Makefile.win32.features
1071 Makefile.am | 10 +++++++-
1072 boilerplate/Makefile.am | 7 +++---
1073 build/Makefile.win32.common | 6 +++--
1074 build/aclocal.makefile.m4 | 57 +++++++++++++++++++++++++++++++------------
1075 build/configure.ac.features | 5 +++-
1076 src/Makefile.am | 8 +++---
1077 6 files changed, 67 insertions(+), 26 deletions(-)
1079 commit fd5cef50a7c856ef80b0a2191170c6a377071e78
1080 Author: Behdad Esfahbod <behdad@behdad.org>
1081 Date: Mon Sep 22 20:48:14 2008 -0400
1083 [aclocal] Add support for automake-only or win32-only makefiles
1085 build/aclocal.makefile.m4 | 66 ++++++++++++++++++++++++++++++++++++++-------
1086 1 file changed, 56 insertions(+), 10 deletions(-)
1088 commit 42e4103015981b874035fac4f5e70018568db0d9
1089 Author: Behdad Esfahbod <behdad@behdad.org>
1090 Date: Mon Sep 22 20:33:23 2008 -0400
1092 [aclocal] Don't do automake conditionals for builtin features
1094 build/aclocal.makefile.m4 | 4 ++--
1095 1 file changed, 2 insertions(+), 2 deletions(-)
1097 commit 79bc967a0dd1319035f0b915759eb86a49007f8d
1098 Author: Behdad Esfahbod <behdad@behdad.org>
1099 Date: Mon Sep 22 20:20:02 2008 -0400
1101 [build] Make including Makefile.win32.features files more robust
1103 By using top_srcdir if available. Make's include is relative to
1104 current dir, not the Makefile being processed. That makes it hard
1105 to include Makefile's relatively.
1107 build/aclocal.makefile.m4 | 2 +-
1108 1 file changed, 1 insertion(+), 1 deletion(-)
1110 commit e686a00da8a84d28b7a00698a4fd744cd4dfd867
1111 Author: Behdad Esfahbod <behdad@behdad.org>
1112 Date: Mon Sep 22 20:11:10 2008 -0400
1114 [build] Add CAIRO_CONFIG_MAKEFILE_PRIVATE
1116 build/aclocal.makefile.m4 | 24 ++++++++++++++++++------
1117 1 file changed, 18 insertions(+), 6 deletions(-)
1119 commit 0ac7a242f829bd31fd7fe12e886fba687ea6dc5e
1120 Author: Behdad Esfahbod <behdad@behdad.org>
1121 Date: Mon Sep 22 19:43:08 2008 -0400
1123 [build] Add Makefile.win32.common
1125 Makefile.win32 | 57 ++-----------------------------------------
1126 boilerplate/Makefile.win32 | 21 ++--------------
1127 build/Makefile.win32.common | 47 +++++++++++++++++++++++++++++++++++
1128 perf/Makefile.win32 | 26 ++------------------
1129 src/Makefile.win32 | 23 +++--------------
1130 test/Makefile.win32 | 22 ++---------------
1131 test/pdiff/Makefile.win32 | 6 ++---
1132 7 files changed, 60 insertions(+), 142 deletions(-)
1134 commit 984320dff11d42d698ff5355c6befe0c5d32df59
1135 Author: Behdad Esfahbod <behdad@behdad.org>
1136 Date: Mon Sep 22 19:29:17 2008 -0400
1138 [build] Don't define feature variables in Makefile.win32.features
1140 This is not the right place to do that as one also needs to adjust
1141 cairo-features.h. Working on a proper fix.
1143 build/aclocal.makefile.m4 | 27 ---------------------------
1144 build/configure.ac.features | 22 ----------------------
1145 2 files changed, 49 deletions(-)
1147 commit eb9ce580597b9ac639dd3dc15576774d753c44b6
1148 Author: Behdad Esfahbod <behdad@behdad.org>
1149 Date: Mon Sep 22 19:23:41 2008 -0400
1151 [build] Don't generate Makefile conditionals for default=always features
1153 build/aclocal.makefile.m4 | 7 +++++--
1154 1 file changed, 5 insertions(+), 2 deletions(-)
1156 commit caa3dbd61be8a46f576a60f00845269269200c99
1157 Author: Behdad Esfahbod <behdad@behdad.org>
1158 Date: Mon Sep 22 19:11:52 2008 -0400
1160 [build] Make Makefile.*.features files more readable
1162 By inserting a new line before each feature entry.
1164 build/aclocal.makefile.m4 | 2 +-
1165 1 file changed, 1 insertion(+), 1 deletion(-)
1167 commit 23b9767bb3b35995099ae9c7b3d84f18e7a76dcc
1168 Author: Behdad Esfahbod <behdad@behdad.org>
1169 Date: Mon Sep 22 17:34:36 2008 -0400
1171 Rename Makefile.*.config to Makefile.*.features as they should not be modified
1173 The .config naming was giving people the impression that they can modify it.
1174 That's not the case.
1176 autogen.sh | 6 +++---
1177 boilerplate/Makefile.am | 2 +-
1178 build/aclocal.makefile.m4 | 10 +++++-----
1179 doc/public/Makefile.am | 2 +-
1180 src/Makefile.am | 2 +-
1181 5 files changed, 11 insertions(+), 11 deletions(-)
1183 commit 20be3182ef29bb07ffac749f5cf1844b4781e1bb
1184 Author: Kai-Uwe Behrmann <ku.b@gmx.de>
1185 Date: Mon Sep 22 10:10:51 2008 +0100
1187 [svg] Counteract application of object matrix to mask.
1189 The expected behaviour for masking in Cairo is to set the mask according
1190 to the current active matrix and apply unchanged to the masked surface.
1192 In SVG, the mask element is bound to the masked object and thus the local
1193 matrix from that image object applies to the nested mask as well.
1195 Attached is a small patch for substracting the matrix of a image
1196 surface from the matrix of the mask to comply to Cairo's behaviour.
1197 I did not test for other stuff like vectors or text and would expect this
1201 src/cairo-svg-surface.c | 9 +++++----
1202 2 files changed, 6 insertions(+), 4 deletions(-)
1204 commit 223e7b9ed0053f9569df4bafc7688439aeb12572
1205 Author: Chris Wilson <chris@chris-wilson.co.uk>
1206 Date: Mon Sep 22 08:03:41 2008 +0100
1208 [test] Add an exercise for masking an image using the ctm.
1210 Quote Kai-Uwe Behrmann:
1211 "The expected behaviour for masking in Cairo is to set the mask according
1212 to the current active matrix and apply unchanged to a to be masked
1215 In SVG the mask element is bound to the masked object and thus the local
1216 matrix from that image object applies to the nested mask as well."
1218 This is a test case to exercise applying a mask to an image under
1219 separate transformations.
1221 Original patch by Kai-Uwe Behrmann, altered to run the test against all
1222 backends (where it causes poppler to crash on my machine <evil grin>).
1224 test/.gitignore | 2 +
1225 test/Makefile.am | 4 ++
1226 test/mask-ctm-image-ref.png | Bin 0 -> 4516 bytes
1227 test/mask-ctm-image.c | 100 ++++++++++++++++++++++++++++++++++++++++
1228 test/mask-ctm-similar-ref.png | Bin 0 -> 4516 bytes
1229 test/mask-ctm-similar.c | 102 +++++++++++++++++++++++++++++++++++++++++
1230 6 files changed, 208 insertions(+)
1232 commit 3a45ff0e2fd624e52ddbf2b36fa70231405d79fe
1233 Author: Behdad Esfahbod <behdad@behdad.org>
1234 Date: Sat Sep 20 18:35:10 2008 -0400
1236 Make checks happy again
1238 Minor syntax changes and improved check regexps.
1240 src/cairo-mutex-impl-private.h | 2 +-
1241 src/cairo-os2-surface.c | 4 ++--
1242 src/check-preprocessor-syntax.sh | 8 ++++----
1243 3 files changed, 7 insertions(+), 7 deletions(-)
1245 commit 9084f6baf6ab2ce9942b69720dac8201fd5e86cc
1246 Author: Behdad Esfahbod <behdad@behdad.org>
1247 Date: Sat Sep 20 18:24:37 2008 -0400
1249 [Makefile.win32] Fix various issues reported by Damian Frank
1251 We now compile cairo-system.c twice when building static library, but
1252 that's fine because cairo-systemc. includes no other code. Indeed
1253 that's why cairo-system.c was born in the first place.
1255 src/Makefile.win32 | 13 ++++---------
1256 1 file changed, 4 insertions(+), 9 deletions(-)
1258 commit 45609d840078288bf0fc096ee8bac642fed6674f
1259 Author: Behdad Esfahbod <behdad@behdad.org>
1260 Date: Sat Sep 20 18:17:19 2008 -0400
1262 Add cairo-system.c for platform system-specific code
1264 This is where DLL initialization/finalization should be done for example.
1265 Moved the one for win32. For OS/2 just left a comment as the code needs
1268 This change simplifies building shared and static libraries in the win32
1271 src/Makefile.sources | 1 +
1272 src/cairo-mutex-impl-private.h | 8 ++++
1273 src/cairo-os2-surface.c | 6 +++
1274 src/cairo-system.c | 97 ++++++++++++++++++++++++++++++++++++++++
1275 src/cairo-win32-surface.c | 28 ------------
1276 5 files changed, 112 insertions(+), 28 deletions(-)
1278 commit 9c2732395987a29ee764c575cce2b13e94152151
1279 Author: Behdad Esfahbod <behdad@behdad.org>
1280 Date: Sat Sep 20 18:05:01 2008 -0400
1282 [aclocal] In generated Makefile.win32.config, don't overwrite feature vars
1284 When I designed this first I thought people can define make vars on the
1285 command line to override default features. That works. However, it's
1286 natural to want to define the list of features in the toplevel Makefile
1287 and not on command line. So, we don't override user's var now. They
1288 can set a make feature var to 0 to disable it.
1290 build/aclocal.makefile.m4 | 5 ++++-
1291 build/configure.ac.features | 16 ++++++++--------
1292 2 files changed, 12 insertions(+), 9 deletions(-)
1294 commit 6d0d5e7ba07c084deafed7118f626415a6c23764
1295 Author: Behdad Esfahbod <behdad@behdad.org>
1296 Date: Sat Sep 20 17:52:19 2008 -0400
1298 Define cairo_public correctly for win32
1300 I'm conditioning on _MSC_VER. Is this accurate?
1301 Note that we never overwrite cairo_public. So one can define it to
1304 src/cairo.h | 6 +++++-
1305 src/cairoint.h | 4 ++++
1306 2 files changed, 9 insertions(+), 1 deletion(-)
1308 commit 11e96487d8994dd15b39b5ede5be189491f1c14a
1309 Author: Behdad Esfahbod <behdad@behdad.org>
1310 Date: Sat Sep 20 17:51:24 2008 -0400
1312 [Makefile.win32] Remove a few unused macro declarations
1314 An undefined PACKAGE_BUGREPORT is not properly handled where it's used.
1315 The other two were not being used after build system revamp.
1317 Makefile.win32 | 2 --
1318 1 file changed, 2 deletions(-)
1320 commit fee72c26afff2120315ebbab32708520307e7a5e
1321 Author: Behdad Esfahbod <behdad@behdad.org>
1322 Date: Sat Sep 20 17:20:36 2008 -0400
1324 Make sure feature macros are checked using #if, not #ifdef; add a test for it
1326 This is more robust to cases where people want to assign 0 to those variables.
1327 (win32/alternate build systems, etc)
1329 src/Makefile.am | 6 ++--
1330 src/cairo-atomic-private.h | 4 +--
1331 src/cairo-atomic.c | 2 +-
1332 src/cairo-directfb.h | 2 +-
1333 src/cairo-mutex-list-private.h | 2 +-
1334 src/cairo-quartz-private.h | 11 ++++----
1335 src/cairo-quartz.h | 4 +--
1336 src/cairo-win32.h | 8 ++++++
1337 src/cairoint.h | 13 +++++++--
1338 src/check-includes.sh | 58 --------------------------------------
1339 src/check-preprocessor-syntax.sh | 57 +++++++++++++++++++++++++++++++++++++
1340 11 files changed, 91 insertions(+), 76 deletions(-)
1342 commit e00565fa3c9579566abb31b71af3f13f44c45139
1343 Author: Behdad Esfahbod <behdad@behdad.org>
1344 Date: Sat Sep 20 15:38:29 2008 -0400
1346 [src/check-includes.sh] Check that there is no #include <cairo.*.h>
1348 The correct syntax to include cairo headers from other cairo headers and
1349 sources is using "...", not <...>. Check that.
1351 src/check-includes.sh | 34 ++++++++++++++++++++++------------
1352 1 file changed, 22 insertions(+), 12 deletions(-)
1354 commit 9c36a5f3f19ca5bb2e0bb23baeaa625ad6833ab4
1355 Author: Behdad Esfahbod <behdad@behdad.org>
1356 Date: Fri Sep 19 18:51:03 2008 -0400
1358 [src/Makefile.am.analysis] Check that all headers can be compiled standalone
1360 This ensures that each header includes all headers it depends on.
1361 This is now enforced by "make check".
1363 src/Makefile.am | 6 +++++-
1364 src/Makefile.am.analysis | 23 +++++++++++++++++------
1365 src/cairo-mutex-impl-private.h | 4 ----
1366 src/cairo-mutex-list-private.h | 5 +++++
1367 4 files changed, 27 insertions(+), 11 deletions(-)
1369 commit 2dd90a6c94559374d995475fff8ffff5d0d3ff6f
1370 Author: Behdad Esfahbod <behdad@behdad.org>
1371 Date: Fri Sep 19 18:45:44 2008 -0400
1373 [cairo-mutex] Move semicolons out of cairo-mutex-list-private.h
1375 Previously cairo-mutex-list-private.h assumed that every use of the file
1376 will produce a statement for each mutex by including a semicolon after
1377 each. But some uses (like enumerating all static mutexes in an array
1378 for example, can't be implemented with the semicolon in place. So, move
1379 the semicolon out to the users of the header file.
1381 src/cairo-mutex-list-private.h | 17 ++++++++---------
1382 src/cairo-mutex-private.h | 2 +-
1383 src/cairo-mutex.c | 6 +++---
1384 3 files changed, 12 insertions(+), 13 deletions(-)
1386 commit 8ae8189327f383fa033032d7d4280b91d650171d
1387 Author: Behdad Esfahbod <behdad@behdad.org>
1388 Date: Fri Sep 19 18:43:43 2008 -0400
1390 [configure.ac.warnings] Add -Wp,-D_FORTIFY_SOURCE=2 to warning flags
1392 It enables various checks in glibc and gcc preprocessor.
1394 build/configure.ac.warnings | 3 +++
1395 1 file changed, 3 insertions(+)
1397 commit 54b60dadb9f8393f834c4709b37ffb163a00445c
1398 Author: Behdad Esfahbod <behdad@behdad.org>
1399 Date: Fri Sep 19 18:42:54 2008 -0400
1401 [Makefile.am.common] Remove gcc precompiled headers in "make clean"
1403 Stale gcc precompiled headers can cause bugs very tricky to pin down.
1405 build/Makefile.am.common | 2 +-
1406 1 file changed, 1 insertion(+), 1 deletion(-)
1408 commit d84752605a4aee96fa872a97a50e59a44ee7051a
1409 Author: Behdad Esfahbod <behdad@behdad.org>
1410 Date: Fri Sep 19 17:17:03 2008 -0400
1412 Make sure (and check) that all private headers include some cairo header first
1414 The macros CAIRO_BEGIN_DECLS and CAIRO_END_DECLS are declared in two
1415 places: config.h and cairo.h. On Win32 build there is no config.h. So,
1416 we can't rely on pulling CAIRO_BEGIN_DECLS from there. Hence, we now:
1418 * Not add those declarations to config.h anymore,
1420 * Test that every cairo private header includes some other cairo
1421 header before any other includes.
1423 These two are fairly enough to ensure that cairo.h is seen from all
1424 private headers. There's still the case of headers not including
1425 any header file at all. I'll fix that later.
1427 build/aclocal.cairo.m4 | 13 ----------
1428 build/configure.ac.system | 2 --
1429 src/Makefile.am | 2 +-
1430 src/cairo-atomic-private.h | 4 +--
1431 src/cairo-compiler-private.h | 2 ++
1432 src/cairo-mutex-impl-private.h | 2 ++
1433 src/cairo-mutex-private.h | 4 ---
1434 src/cairo-os2-private.h | 6 ++---
1435 src/cairo-reference-count-private.h | 8 ------
1436 src/cairo-region-private.h | 8 ++++--
1437 src/cairo-types-private.h | 2 --
1438 src/cairo-wideint-type-private.h | 2 ++
1439 src/check-cairoint.sh | 22 ----------------
1440 src/check-includes.sh | 48 +++++++++++++++++++++++++++++++++++
1441 14 files changed, 66 insertions(+), 59 deletions(-)
1443 commit eb89bf049a4c2ab0946c45a1277bfd8b1519efa1
1444 Author: Behdad Esfahbod <behdad@behdad.org>
1445 Date: Fri Sep 19 16:52:59 2008 -0400
1447 Check for _MSC_VER in mutex implementation code
1449 Previously I made the mutex implementation code to use Windows mutexes
1450 conditional on HAVE_WINDOWS_H. This was suppposed to be a more wine-friendly
1451 version of checking for a Windows platform. However, it also meant that
1452 when compiling without config.h, one had to stuff a #define for HAVE_WINDOWS_H
1453 somewhere. Traditionally it was put in cairo-features-win32.h, and that
1454 practice was carried over even after my build system rewrite.
1456 Somewhere along the road I also decided that the mutex implementation header
1457 does not need to include anything other than config.h. So the hacked up
1458 HAVE_WINDOWS_H in cairo-features-win32.h was not being seen by its lone
1461 We now condition on any of HAVE_WINDOWS_H and _MSC_VER. So the hack can be
1464 build/configure.ac.features | 2 --
1465 src/cairo-mutex-impl-private.h | 2 +-
1466 2 files changed, 1 insertion(+), 3 deletions(-)
1468 commit 33b6d2b5eb4f5d424cec51970d9b72bef49a5fc8
1469 Author: Behdad Esfahbod <behdad@behdad.org>
1470 Date: Fri Sep 19 16:48:12 2008 -0400
1472 [src/check-cairoint.sh] Escape dot in regexp
1474 No why, just that it's more robust :).
1476 src/check-cairoint.sh | 2 +-
1477 1 file changed, 1 insertion(+), 1 deletion(-)
1479 commit d635c941b2d046c5edfef84ef870009069fb4004
1480 Author: Behdad Esfahbod <behdad@behdad.org>
1481 Date: Fri Sep 19 14:50:24 2008 -0400
1483 [image] Check for PACKAGE_BUGREPORT availability
1485 Building using win32, there is no config.h. So PACKAGE_BUGREPORT may
1488 src/cairo-image-surface.c | 5 ++++-
1489 1 file changed, 4 insertions(+), 1 deletion(-)
1491 commit a6c0ebee7aa9298af24859c37d8005eba772c4c6
1492 Author: Chris Wilson <chris@chris-wilson.co.uk>
1493 Date: Fri Sep 19 16:15:55 2008 +0100
1495 [tessellator] Only run sweep-line validator when debugging
1497 The tessellator is well-proven now. However, the sweep-line validator
1498 consumes around 50% of the total time required to draw the fractal
1499 Pythagoras tree (the leaves are sub-pixel rectangles, so lots of edges
1500 to sweep through). So disable the validator, but keep it available for
1503 src/cairo-bentley-ottmann.c | 17 ++++++++++-------
1504 1 file changed, 10 insertions(+), 7 deletions(-)
1506 commit 91f0b8b1eac967d4534201794c9ba7880ddfaa17
1507 Author: Chris Wilson <chris@chris-wilson.co.uk>
1508 Date: Fri Sep 19 13:29:01 2008 +0100
1510 [fill] Construct trap using rectangle directly.
1512 Avoid the overhead in sorting the edges within
1513 _cairo_traps_tessellate_convex_quad() by using our prior knowledge that we
1514 have a simple rectangle and construct the trap from the extreme points.
1516 src/cairo-path-fill.c | 16 ++++++++++++++--
1517 1 file changed, 14 insertions(+), 2 deletions(-)
1519 commit e749b58af827e4cc28353bcc6bc4b2ab8d47aaf6
1520 Author: Chris Wilson <chris@chris-wilson.co.uk>
1521 Date: Fri Sep 19 13:19:51 2008 +0100
1523 [test] Add rectilinear-fill
1525 Add a test-case to exercise pixel-aligned fills to verify the optimised
1528 test/.gitignore | 1 +
1529 test/Makefile.am | 2 +
1530 test/rectilinear-fill-ref.png | Bin 0 -> 162 bytes
1531 test/rectilinear-fill.c | 92 +++++++++++++++++++++++++++++++++++++++++
1532 4 files changed, 95 insertions(+)
1534 commit d5cd7ee74fb64b00597880a75b2e62065fac59b3
1535 Author: Chris Wilson <chris@chris-wilson.co.uk>
1536 Date: Fri Sep 19 13:22:51 2008 +0100
1538 [stroke] Optimise rectilinear strokes.
1540 Avoid the overhead of sorting the rectangle in
1541 _cairo_traps_tessellate_convex_quad() by constructing the trap directly
1542 from the line segment. This also has secondary effects in only passing
1543 the non-degenerate trap to _cairo_traps_add_trap().
1545 For rectilinear Hilbert curves this makes the rectilinear stoker over 4x
1548 src/cairo-path-stroke.c | 42 +++++++++++++++++++++++++-----------------
1549 src/cairo-traps.c | 18 ++++++++++++++++++
1550 src/cairoint.h | 5 +++++
1551 3 files changed, 48 insertions(+), 17 deletions(-)
1553 commit 9930eefbbd4448d598faff12fc0f7127555c8c94
1554 Author: Chris Wilson <chris@chris-wilson.co.uk>
1555 Date: Fri Sep 19 10:54:13 2008 +0100
1557 Simple perf tweaks for a rectilinear Hilbert curve.
1559 Some tweaks to avoid stack copies and branches that save ~25% in
1560 _cairo_traps_tessellate_convex_quad().
1562 src/cairo-bentley-ottmann.c | 36 ++++-----
1563 src/cairo-slope.c | 6 +-
1564 src/cairo-surface-fallback.c | 12 +--
1565 src/cairo-traps.c | 175 ++++++++++++++++--------------------------
1566 src/cairoint.h | 25 +++---
1567 5 files changed, 105 insertions(+), 149 deletions(-)
1569 commit 27ee8dd9c64ac0fd36ce7b58729ee732e3396ee1
1570 Author: Chris Wilson <chris@chris-wilson.co.uk>
1571 Date: Fri Sep 19 11:48:57 2008 +0100
1573 [trap] Fixup a double _cairo_traps_fini().
1575 The rectilinear stroke finalized the cairo_traps_t passed to it - which
1576 was then subsequently used without re-initialized. So instead of
1577 finalizing the structure, just remove any traps that we may have added
1578 (leaving the limits and memory intact).
1580 src/cairo-path-stroke.c | 5 ++---
1581 src/cairo-traps.c | 8 ++++++++
1582 src/cairoint.h | 3 +++
1583 3 files changed, 13 insertions(+), 3 deletions(-)
1585 commit b9c432862a25e4b18dfa2e7a2c5631cf9b235a21
1586 Author: Behdad Esfahbod <behdad@behdad.org>
1587 Date: Thu Sep 18 19:35:28 2008 -0400
1589 [Makefile.am.releasing] Make release-publish work with parallel build
1591 Carl had this confusing problem today making the snapshot, which was
1592 "make release-publish" erring. This commit reworks the release-publish
1593 machinery to enforce serialization of some of the tasks such that it
1594 works with make -j. Don't expect any speedup though as "make distcheck"
1595 is inherently sequential.
1597 build/Makefile.am.releasing | 30 +++++++++++++++++++++++-------
1598 1 file changed, 23 insertions(+), 7 deletions(-)
1600 commit 9eee0e935859082d8798846a8e6b16cbceb1f779
1601 Author: Behdad Esfahbod <behdad@behdad.org>
1602 Date: Thu Sep 18 18:33:05 2008 -0400
1604 [Makefile.am] Move sticky-bit clearing to dist-hook
1606 It's a more natural place. It also means that we just change permissions
1607 on the dist directory, not the user's source directory.
1609 build/Makefile.am.releasing | 22 +++++++++++++++-------
1610 1 file changed, 15 insertions(+), 7 deletions(-)
1612 commit bdaaf3574a596e3ab31d0bdf0f84667d868c10d1
1613 Author: Carl Worth <cworth@cworth.org>
1614 Date: Thu Sep 18 15:06:12 2008 -0700
1616 Increment version number to 1.7.7
1618 Just after the 1.7.6 snapshot went out.
1620 cairo-version.h | 2 +-
1621 1 file changed, 1 insertion(+), 1 deletion(-)
1623 commit 005dd8499bca9521ab934a56c68d2b85042359b7
1624 Author: Behdad Esfahbod <behdad@behdad.org>
1625 Date: Thu Sep 18 16:39:23 2008 -0400
1627 [src/Makefile.win32] Remove recursive cairo_headers var
1629 The cairo_headers variable in Makefile.win32 was unused and
1630 from before the new build system was put in place. One can
1631 use enabled_cairo_headers if need be.
1633 src/Makefile.win32 | 4 ----
1634 1 file changed, 4 deletions(-)
1636 commit 567be443a2add00b4ea9b888ee35aeac5b41dc16
1637 Author: Behdad Esfahbod <behdad@behdad.org>
1638 Date: Thu Sep 18 16:27:02 2008 -0400
1640 [configure.ac] Make sure version information do not end up in config.h
1642 By introducing $(top_srcdir)/cairo-version.h I tried to make it
1643 unnecessary to rebuild the entire library when the version changes.
1644 That comes handy around releases and when bisecting.
1646 However this was not working as the version info was also ending
1647 up in config.h and hence forcing a full rebuild upon change.
1648 I now undefine the PACKAGE_VERSION* macros that autoconf defines,
1649 so config.h does not change when cairo-version.h changes.
1651 build/configure.ac.version | 7 +++++++
1652 src/cairoint.h | 7 -------
1653 2 files changed, 7 insertions(+), 7 deletions(-)
1655 commit 73c70488f36b595fdfa47068309cc886bf0861ef
1656 Author: Behdad Esfahbod <behdad@behdad.org>
1657 Date: Thu Sep 18 15:56:53 2008 -0400
1659 [src/check-*.sh] Use computed list of source files instead of running "find"
1661 When the lists are available use them. They will be available to test
1664 src/Makefile.am | 6 ++++++
1665 src/check-cairoint.sh | 9 +++++++--
1666 src/check-headers.sh | 9 +++++++--
1667 3 files changed, 20 insertions(+), 4 deletions(-)
1669 commit 1ee675d6a00ecd70447459f098e469c71b748d77
1670 Author: Behdad Esfahbod <behdad@behdad.org>
1671 Date: Thu Sep 18 15:55:23 2008 -0400
1673 [src/check-doc/syntax.sh] Fix test for out-of-tree build
1675 Now that our build system can compute a list of all cairo files,
1676 we prefer to use that in the tests instead of running "find".
1677 However, we were not switching to $(srcdir) so the test was not
1678 finding source files in out-of-tree builds. Noticed that from
1679 the grep error in distcheck.
1681 src/check-doc-syntax.sh | 4 +++-
1682 1 file changed, 3 insertions(+), 1 deletion(-)
1684 commit dc260f1c0b432658cfa64e98c777609d0cbe7f3b
1685 Author: Behdad Esfahbod <behdad@behdad.org>
1686 Date: Thu Sep 18 15:35:03 2008 -0400
1688 [doc] Remove lcd_filter API from doc listing
1690 Carl removed the API but not the listing in the docs.
1691 The docs tests are passing again now.
1693 doc/public/cairo-sections.txt | 3 ---
1694 1 file changed, 3 deletions(-)
1696 commit d02fb0fd2044652255da0922f70199e7a84a31c1
1697 Author: Behdad Esfahbod <behdad@behdad.org>
1698 Date: Thu Sep 18 15:33:10 2008 -0400
1700 [doc/public/check-doc-coverage.sh] Make doc building needed for the test faster
1702 We used to do a full doc build to just to run the coverage test. That's
1703 way too slow to expect people to run regularly. Instead now we just do the
1704 source code scanning part of the doc build system that is just enough to
1705 know if all symbols are documented.
1707 A full doc build can be done as always by invoking "make doc", and indeed
1708 will be called as part of "make dist" or "make distcheck".
1710 doc/public/Makefile.am | 6 ++++--
1711 doc/public/check-doc-coverage.sh | 3 +++
1712 2 files changed, 7 insertions(+), 2 deletions(-)
1714 commit c6a7971a1e83d80050c4e2cfb42401a8d3c1b321
1715 Author: Behdad Esfahbod <behdad@behdad.org>
1716 Date: Thu Sep 18 15:28:43 2008 -0400
1718 [doc/public/check-doc-coverage.sh] Fix typo in checking cairo-undeclared.txt
1720 Copy/paste error meant we were not checking cairo-undeclared.txt there.
1721 Indeed the test was passing even though Carl forgot to remove lcd-fitlering
1722 API from docs. The test fails now.
1724 doc/public/check-doc-coverage.sh | 2 +-
1725 1 file changed, 1 insertion(+), 1 deletion(-)
1727 commit cf80c78f0cc14c5c07950dd0d0120954a446ab56
1728 Author: Carl Worth <cworth@cworth.org>
1729 Date: Thu Sep 18 12:12:42 2008 -0700
1731 Correct NEWS mention to talk about fontconfig setting not Xsetting.
1733 Thanks to Behdad for helping me get the terminology right.
1736 1 file changed, 1 insertion(+), 1 deletion(-)
1738 commit 7fa5e0eb3af005521da5e6bb43a92fadd392a867
1739 Author: Carl Worth <cworth@cworth.org>
1740 Date: Thu Sep 18 12:11:55 2008 -0700
1742 Add user-font-rescale-ps-ref.png to REFERENCE_IMAGES.
1744 As caught by make distcheck.
1746 test/Makefile.am | 1 +
1747 1 file changed, 1 insertion(+)
1749 commit f39c5b40c79b139f1efcfdf393e15e2aaedc5e36
1750 Author: Carl Worth <cworth@cworth.org>
1751 Date: Thu Sep 18 11:58:22 2008 -0700
1753 Increase cairo version to 1.7.6.
1755 We're finally going to get this overdue snapshot out.
1757 cairo-version.h | 2 +-
1758 1 file changed, 1 insertion(+), 1 deletion(-)
1760 commit e00d7941200cee1eefc9a8758702811b7d018cce
1761 Author: Carl Worth <cworth@cworth.org>
1762 Date: Thu Sep 18 11:55:28 2008 -0700
1764 NEWS: Add notes for 1.7.6 snapshot.
1766 Note 1.7 API changes: Remove lcd_filter, cairo_has_show_glyphs, and
1767 add cairo_text_cluster_flags_t. Also mention a few major bug fixes,
1768 Behdad's build-system rework, and Chris's customary robustness
1771 NEWS | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1772 1 file changed, 80 insertions(+), 4 deletions(-)
1774 commit 46ed92e699e902cb890f202c425603cdcc953106
1775 Author: Carl Worth <cworth@cworth.org>
1776 Date: Wed Sep 17 10:50:28 2008 -0700
1778 Remove text-lcd-filter tests
1780 The lcd_filter API is gone now, and these tests were all failing
1783 test/Makefile.am | 8 ---
1784 test/text-lcd-filter-fir3-ref.png | Bin 974 -> 0 bytes
1785 test/text-lcd-filter-fir3.c | 85 ------------------------------
1786 test/text-lcd-filter-fir5-ref.png | Bin 974 -> 0 bytes
1787 test/text-lcd-filter-fir5.c | 85 ------------------------------
1788 test/text-lcd-filter-intra-pixel-ref.png | Bin 974 -> 0 bytes
1789 test/text-lcd-filter-intra-pixel.c | 85 ------------------------------
1790 test/text-lcd-filter-none-ref.png | Bin 974 -> 0 bytes
1791 test/text-lcd-filter-none.c | 85 ------------------------------
1792 9 files changed, 348 deletions(-)
1794 commit 1b42bc8033bc4682c9688086c08ca3ad306a2ae8
1795 Author: Carl Worth <cworth@cworth.org>
1796 Date: Tue Sep 16 17:04:38 2008 -0700
1798 Make the lcd_filter API private
1800 During the cairo summit it was decided that this API is to freetype-
1801 specific to be in the general cairo interface for now. This will
1802 likely come back again soon as a cairo_ft-specific interface.
1804 doc/public/tmpl/cairo-font-options.sgml | 29 -----------------------------
1805 src/cairo-font-options.c | 11 +++++------
1806 src/cairo-types-private.h | 25 +++++++++++++++++++++++++
1807 src/cairo-xlib-screen.c | 2 +-
1808 src/cairo.h | 28 ----------------------------
1809 src/cairoint.h | 8 +++++++-
1810 test/font-options.c | 4 ----
1811 test/text-antialias-subpixel.c | 1 -
1812 8 files changed, 38 insertions(+), 70 deletions(-)
1814 commit 0ab14a6b218097721535e1d6d9b3341b7336bb70
1815 Author: Chris Wilson <chris@chris-wilson.co.uk>
1816 Date: Thu Sep 18 09:04:01 2008 +0100
1818 [polygon] Reduce number of branches.
1820 Minimise the number of conditionals taken whilst constructing the polygon.
1822 src/cairo-polygon.c | 71 +++++++++++++++------------------------------------
1823 src/cairoint.h | 14 +++++-----
1824 2 files changed, 27 insertions(+), 58 deletions(-)
1826 commit 24c51ee177436190d691507ab84aae6a70fc2962
1827 Author: Behdad Esfahbod <behdad@behdad.org>
1828 Date: Thu Sep 18 03:12:03 2008 -0400
1830 [acinclude.m4] Add compat macros for autoconf 2.59
1832 acinclude.m4 | 33 ++++++++++++++++++++++++++++++++-
1833 build/aclocal.cairo.m4 | 3 ---
1834 2 files changed, 32 insertions(+), 4 deletions(-)
1836 commit 61317dac18a78b7b8420f354a59be896d60dd05c
1837 Author: Behdad Esfahbod <behdad@behdad.org>
1838 Date: Thu Sep 18 02:42:38 2008 -0400
1840 [acinclude.m4] Define m4_foreach_w if not available
1842 Has been missing at least as of autoconf 2.59.
1844 acinclude.m4 | 9 +++++++--
1845 1 file changed, 7 insertions(+), 2 deletions(-)
1847 commit cb10dfe7153eeac749c64ce6a61f2fd3faf385d0
1848 Author: Behdad Esfahbod <behdad@behdad.org>
1849 Date: Thu Sep 18 00:30:57 2008 -0400
1851 Update tests to new cairo_text_cluster_flags_t API
1853 test/user-font-proxy.c | 19 +++++++++----------
1854 test/user-font-rescale.c | 6 ++----
1855 2 files changed, 11 insertions(+), 14 deletions(-)
1857 commit 1fe7088a113f8a9cb40d436f10af4967662cd02a
1858 Author: Behdad Esfahbod <behdad@behdad.org>
1859 Date: Thu Sep 18 00:26:07 2008 -0400
1861 [show_text_glyphs] Replace the bool backward with cairo_text_cluster_flags
1863 Chris rightfully complained that having a boolean function argument is
1864 new in cairo_show_text_glyphs, and indeed avoiding them has been one
1865 of the API design criteria for cairo. Trying to come up with alternatives,
1866 Owen suggested using a flag type which nicely solves the problem AND
1867 future-proofs such a complex API.
1869 Please welcome _flags_t APIs to cairo.h
1871 doc/public/cairo-sections.txt | 1 +
1872 doc/public/tmpl/cairo-scaled-font.sgml | 2 +-
1873 doc/public/tmpl/cairo-text.sgml | 9 ++++-
1874 doc/public/tmpl/cairo-user-fonts.sgml | 2 +-
1875 src/cairo-analysis-surface.c | 5 ++-
1876 src/cairo-gstate.c | 26 +++++++--------
1877 src/cairo-meta-surface-private.h | 2 +-
1878 src/cairo-meta-surface.c | 6 ++--
1879 src/cairo-misc.c | 4 +--
1880 src/cairo-paginated-surface.c | 4 +--
1881 src/cairo-pdf-operators-private.h | 2 +-
1882 src/cairo-pdf-operators.c | 14 ++++----
1883 src/cairo-pdf-surface-private.h | 2 +-
1884 src/cairo-pdf-surface.c | 6 ++--
1885 src/cairo-scaled-font.c | 44 ++++++++++++-------------
1886 src/cairo-surface.c | 8 ++---
1887 src/cairo-user-font.c | 23 +++++++------
1888 src/cairo.c | 19 +++++------
1889 src/cairo.h | 56 ++++++++++++++++++++------------
1890 src/cairoint.h | 48 +++++++++++++--------------
1891 src/test-meta-surface.c | 5 ++-
1892 src/test-paginated-surface.c | 5 ++-
1893 22 files changed, 152 insertions(+), 141 deletions(-)
1895 commit a8cd426a4c79a7165b312f550ecc6a87b61303a3
1896 Author: Behdad Esfahbod <behdad@behdad.org>
1897 Date: Thu Sep 18 00:25:02 2008 -0400
1899 [doc] Fix glob for doc sources
1901 doc/public/Makefile.am | 4 ++--
1902 1 file changed, 2 insertions(+), 2 deletions(-)
1904 commit 32d3bfdde826e0f92a619c8c157fd5467aff729d
1905 Author: Behdad Esfahbod <behdad@behdad.org>
1906 Date: Wed Sep 17 19:16:25 2008 -0400
1908 [configure.ac] Set pixman required version back to 0.12.0
1910 I accidentally committed and pushed changing that version to 0.11.0.
1913 1 file changed, 1 insertion(+), 1 deletion(-)
1915 commit 3867d99ad7be391704a2b0d3d4542bd23c82fd73
1916 Author: Behdad Esfahbod <behdad@behdad.org>
1917 Date: Wed Sep 17 17:54:40 2008 -0400
1919 [configure.ac] Err, don't pass argument to AC_PROG_LIBTOOL
1921 configure.ac | 4 ++--
1922 1 file changed, 2 insertions(+), 2 deletions(-)
1924 commit e55d5a76d75d78c8a1e9ac4e9f5eda32f378f413
1925 Author: Chris Wilson <chris@chris-wilson.co.uk>
1926 Date: Wed Sep 17 22:23:43 2008 +0100
1928 [ps] Silence compiler warning.
1930 src/cairo-ps-surface.c | 2 +-
1931 1 file changed, 1 insertion(+), 1 deletion(-)
1933 commit e83675dee14581c3938191a4bbaf3c4e091a4304
1934 Author: Chris Wilson <chris@chris-wilson.co.uk>
1935 Date: Wed Sep 17 22:12:35 2008 +0100
1937 [test] Add missing operator-alpha ref image.
1939 test/operator-alpha-rgb24-ref.png | Bin 0 -> 229 bytes
1940 1 file changed, 0 insertions(+), 0 deletions(-)
1942 commit 998310ef4d710bf1a9505038b0fa411b29c958ca
1943 Author: Chris Wilson <chris@chris-wilson.co.uk>
1944 Date: Wed Sep 17 22:07:00 2008 +0100
1946 [gcov] Use --coverage instead.
1948 --coverage is a synonym for "--fprofile-arcs --ftest-coverage" during
1949 compilation *and* "--lgcov" during linking. One might think this would
1950 be a perfect workaround for the broken debian libtool which stopped the
1951 linker seeing -lgcov - but they strip CFLAGS as well. Oh well.
1953 build/configure.ac.analysis | 6 ++++--
1954 1 file changed, 4 insertions(+), 2 deletions(-)
1956 commit d83a4d9905a68c3060e689015bffb03137fcbb0f
1957 Author: Chris Wilson <chris@chris-wilson.co.uk>
1958 Date: Wed Sep 17 21:19:48 2008 +0100
1960 [svg] Emit user-fonts.
1962 Iterate over the user fonts subsets and emit the scaled glyphs.
1964 src/cairo-svg-surface.c | 7 +++++++
1965 1 file changed, 7 insertions(+)
1967 commit eb39151fdc4e72f0836d6fbb5df54885352b3b87
1968 Author: Chris Wilson <chris@chris-wilson.co.uk>
1969 Date: Wed Sep 17 21:19:13 2008 +0100
1971 [scaled-fonts] Correct the order of scaled/user arguments.
1973 src/cairo-scaled-font-subsets.c | 4 ++--
1974 1 file changed, 2 insertions(+), 2 deletions(-)
1976 commit 85a4f0dcee6e6d954f0e458f1bd5b26ff1e70464
1977 Author: Chris Wilson <chris@chris-wilson.co.uk>
1978 Date: Wed Sep 17 01:05:16 2008 +0100
1980 Workaround undefined functions required by rsvg & poppler.
1982 If the native windowing system is disable (e.g. --disable-xlib) then the
1983 test suite fails to build since the vector converters typically depend
1984 upon gdk-pixbuf-2.0, which in turn depends upon a native gdk which
1985 requires cairo to be built with support for the native windowing system. A
1986 mess that should be resolved by separating rsvg and poppler into core and
1987 higher-level libraries, but which we can workaround by simply ignoring
1988 errors from undefined functions at link time.
1990 build/configure.ac.warnings | 7 +++++++
1991 test/Makefile.am | 3 +++
1992 2 files changed, 10 insertions(+)
1994 commit e6f66ef65bb347974e0ceb58351844ba63389a87
1995 Author: Søren Sandmann Pedersen <sandmann@redhat.com>
1996 Date: Wed Sep 17 15:15:14 2008 -0400
1998 Require pixman 0.12.0
2001 1 file changed, 1 insertion(+), 1 deletion(-)
2003 commit 86485e76b7e9ef1621dcd516266898246711c0ca
2004 Author: Søren Sandmann Pedersen <sandmann@redhat.com>
2005 Date: Wed Sep 17 15:14:16 2008 -0400
2007 [xlib] Use _cairo_matrix_to_pixman_matrix() to compute the XTransform
2009 The adjustments done to the pixman matrix also need to be done for
2010 XTransform. Since an XTransform is just a pixman_transform_t with
2011 another name, we can reuse the conversion function.
2013 src/cairo-xlib-surface.c | 19 ++++++-------------
2014 1 file changed, 6 insertions(+), 13 deletions(-)
2016 commit dbb692325b328011f2202fced750cc785edb82da
2017 Author: Chris Wilson <chris@chris-wilson.co.uk>
2018 Date: Wed Sep 17 19:09:16 2008 +0100
2020 [ps] Consume dictionary after where.
2022 where either pushes 'dict true' or 'false' so the true procedure needs to
2023 consume the dictionary as well - for our purposes we just pop it off the
2026 src/cairo-ps-surface.c | 6 +++---
2027 1 file changed, 3 insertions(+), 3 deletions(-)
2029 commit 7761a106ceac445212ff86d8c585374aa406a63f
2030 Author: Chris Wilson <chris@chris-wilson.co.uk>
2031 Date: Wed Sep 17 11:57:32 2008 +0100
2033 [test] Check set_operator()
2035 Draw a pair of rectangles with each operator in turn - seems to trigger an
2036 issue with the PDF/PS backends.
2038 test/.gitignore | 2 ++
2039 test/Makefile.am | 6 ++++
2040 test/operator-alpha-ref.png | Bin 0 -> 280 bytes
2041 test/operator-alpha.c | 74 +++++++++++++++++++++++++++++++++++++++++++
2042 test/operator-ref.png | Bin 0 -> 238 bytes
2043 test/operator-rgb24-ref.png | Bin 0 -> 217 bytes
2044 test/operator.c | 74 +++++++++++++++++++++++++++++++++++++++++++
2045 7 files changed, 156 insertions(+)
2047 commit 1de35c04e020a203169fda30591733056662abd5
2048 Author: Behdad Esfahbod <behdad@behdad.org>
2049 Date: Wed Sep 17 02:10:35 2008 -0400
2051 Revert "[Makefile.am] Add CAIRO_LIBS to check-link."
2053 This reverts commit a341cb5a98e3eadd5ccb47f9b1e696cb52f7ce9e.
2054 The change introduced in that commit should not be needed and libtool
2055 should just do the right thing. I cannot reproduce the problem
2056 Chris was having no matter how hard I tried.
2058 boilerplate/Makefile.am | 2 +-
2059 src/Makefile.am | 2 +-
2060 2 files changed, 2 insertions(+), 2 deletions(-)
2062 commit 511db7b9a83bdef181cc5d0dbb50103ffb1aeb0e
2063 Author: Behdad Esfahbod <behdad@behdad.org>
2064 Date: Tue Sep 16 23:16:21 2008 -0400
2066 [util/Makefile.am] Cleanup
2068 util/Makefile.am | 13 +++++--------
2069 1 file changed, 5 insertions(+), 8 deletions(-)
2071 commit d857c4d7653e06003b7b75fb92da988664b2545d
2072 Author: Behdad Esfahbod <behdad@behdad.org>
2073 Date: Tue Sep 16 19:56:47 2008 -0400
2075 [autogen.sh] Remove --enable-gtk-doc from configure options
2077 Cause cworth doesn't like it.
2080 1 file changed, 1 deletion(-)
2082 commit a5a18dbf610ef6562d7ee9d6d927d89af6839c60
2083 Author: Behdad Esfahbod <behdad@behdad.org>
2084 Date: Tue Sep 16 19:44:49 2008 -0400
2088 INSTALL | 67 ++++++++++++++++++++++++++++++++-------------------------------
2089 1 file changed, 34 insertions(+), 33 deletions(-)
2091 commit ff9a2af19e406807b3a962b930ec66b22a6a5974
2092 Author: Behdad Esfahbod <behdad@behdad.org>
2093 Date: Tue Sep 16 16:05:57 2008 -0400
2095 [test] Make test programs depend on check programs
2097 Since they use them when being run.
2099 test/Makefile.am | 2 ++
2100 1 file changed, 2 insertions(+)
2102 commit 9e2ef481aa86b01fbdc91d4908ad312bca85db89
2103 Author: Behdad Esfahbod <behdad@behdad.org>
2104 Date: Tue Sep 16 04:36:23 2008 -0400
2106 [configure.ac] Clean up report syntax
2108 build/configure.ac.features | 10 ++++++----
2109 1 file changed, 6 insertions(+), 4 deletions(-)
2111 commit 2161cb5baf1287a4a1a448f09e7fa885f635bfd1
2112 Author: Behdad Esfahbod <behdad@behdad.org>
2113 Date: Tue Sep 16 04:33:37 2008 -0400
2115 [configure.ac] Warn if no native surface backend is enabled, err if no native font
2117 build/aclocal.cairo.m4 | 1 +
2118 build/configure.ac.features | 50 ++++++++++++++++++++++++++++++++-----------
2119 2 files changed, 38 insertions(+), 13 deletions(-)
2121 commit a341cb5a98e3eadd5ccb47f9b1e696cb52f7ce9e
2122 Author: Chris Wilson <chris@chris-wilson.co.uk>
2123 Date: Tue Sep 16 13:07:12 2008 +0100
2125 [Makefile.am] Add CAIRO_LIBS to check-link.
2127 With --enable-gcov, make check aborts with gcov errors on check-link - it
2128 appears that -lgcov is magic and requires explicit invovation on the
2131 boilerplate/Makefile.am | 2 +-
2132 src/Makefile.am | 2 +-
2133 2 files changed, 2 insertions(+), 2 deletions(-)
2135 commit e880d0f956317c760c565cd69ea2966e7c7f24f1
2136 Author: Adrian Johnson <ajohnson@redneon.com>
2137 Date: Tue Sep 16 19:13:50 2008 +0930
2139 Change user-font-rescale test to use opaque colors
2141 The combination of the initial cairo_paint() and the translucent text
2142 colors were causing image fallbacks that prevented the PS type 3 font
2143 embedding from being tested.
2145 test/user-font-rescale-ps-ref.png | Bin 0 -> 8041 bytes
2146 test/user-font-rescale-ref.png | Bin 15679 -> 15937 bytes
2147 test/user-font-rescale.c | 6 +++---
2148 3 files changed, 3 insertions(+), 3 deletions(-)
2150 commit 840218e0a0747ae741258fad12d420ae59e59d1c
2151 Author: Behdad Esfahbod <behdad@behdad.org>
2152 Date: Tue Sep 16 03:55:12 2008 -0400
2154 [src/Makefile.am.analysis] Fix typos and improve scripts
2156 src/Makefile.am.analysis | 8 +++-----
2157 1 file changed, 3 insertions(+), 5 deletions(-)
2159 commit 49c8c62040cdeb6b280392da9355593e1e8292fe
2160 Author: Behdad Esfahbod <behdad@behdad.org>
2161 Date: Tue Sep 16 03:10:53 2008 -0400
2163 [src/Makefile.am.analysis] Split off from src/Makefile.am
2165 src/Makefile.am | 21 +--------------------
2166 src/Makefile.am.analysis | 21 +++++++++++++++++++++
2167 2 files changed, 22 insertions(+), 20 deletions(-)
2169 commit eb749d75632cfce6dfc56e6e28dac1cfcd8a66f9
2170 Author: Behdad Esfahbod <behdad@behdad.org>
2171 Date: Tue Sep 16 03:05:26 2008 -0400
2175 boilerplate/.gitignore | 4 ++++
2176 src/.gitignore | 1 +
2177 2 files changed, 5 insertions(+)
2179 commit a908fc04a7bd536edfcd0e620f0f70cb5655085f
2180 Author: Behdad Esfahbod <behdad@behdad.org>
2181 Date: Tue Sep 16 03:03:43 2008 -0400
2183 [boilerplate/Makefile.am] Distribute Makefile.win32.config
2185 boilerplate/Makefile.am | 2 ++
2186 src/Makefile.am | 3 +--
2187 2 files changed, 3 insertions(+), 2 deletions(-)
2189 commit 88a3998a1d7e251e77ca9f39071866142cb50aa9
2190 Author: Behdad Esfahbod <behdad@behdad.org>
2191 Date: Tue Sep 16 02:45:00 2008 -0400
2193 [aclocal] Fix pkgconfig file collection
2195 build/aclocal.makefile.m4 | 7 ++++---
2196 build/configure.ac.features | 4 ++--
2197 2 files changed, 6 insertions(+), 5 deletions(-)
2199 commit 8151c506700ad286f683797c6c0767f35edaa2de
2200 Author: Behdad Esfahbod <behdad@behdad.org>
2201 Date: Tue Sep 16 01:33:07 2008 -0400
2203 [*/Makefile.win32] Use Makefile.win32.config
2205 boilerplate/Makefile.win32 | 12 +++----
2206 src/Makefile.win32 | 77 +++-----------------------------------------
2207 2 files changed, 8 insertions(+), 81 deletions(-)
2209 commit 310908ce2d2e35ca332c0f16c466ee652bb1b5a6
2210 Author: Behdad Esfahbod <behdad@behdad.org>
2211 Date: Tue Sep 16 01:32:55 2008 -0400
2213 [Makefile.win32] Don't declare CAIRO_NO_MUTEX
2215 Makefile.win32 | 2 +-
2216 1 file changed, 1 insertion(+), 1 deletion(-)
2218 commit 6892daf77cd44dca988c7305d430659d08813beb
2219 Author: Behdad Esfahbod <behdad@behdad.org>
2220 Date: Tue Sep 16 01:29:47 2008 -0400
2222 Create cairo-features-win32.h
2224 build/aclocal.makefile.m4 | 34 ++++++++++++++++++++++++++++++----
2225 build/configure.ac.features | 30 ++++++++++++++++++++++++++++--
2226 src/Makefile.sources | 5 ++---
2227 src/cairo-features-win32.h | 14 --------------
2228 4 files changed, 60 insertions(+), 23 deletions(-)
2230 commit 20daa425d8c46b6885653d2433f6027e4990d618
2231 Author: Behdad Esfahbod <behdad@behdad.org>
2232 Date: Mon Sep 15 23:42:51 2008 -0400
2234 [configure.ac] Generate boilerplate/Makefile.am.config
2236 Same scheme as in src/
2239 boilerplate/Makefile.am | 87 ++-------
2240 boilerplate/Makefile.sources | 56 ++++++
2241 build/aclocal.enable.m4 | 29 ++-
2242 build/aclocal.makefile.m4 | 143 +++++++++++++++
2243 build/configure.ac.enable | 404 ------------------------------------------
2244 build/configure.ac.features | 351 ++++++++++++++++++++++++++++++++++++
2246 8 files changed, 595 insertions(+), 483 deletions(-)
2248 commit 1a3863688c0c09d047e5ee5b65e87c71c6393e3f
2249 Author: Chris Wilson <chris@chris-wilson.co.uk>
2250 Date: Tue Sep 16 03:00:21 2008 +0100
2252 [test/user-font-rescale] Tidy
2254 Behdad warned that the static UNICODE_TO_GLYPH converter was not portable,
2255 and needed to be replaced. And do a quick coding-style blitz.
2257 test/user-font-rescale.c | 174 ++++++++++++++++++++++++++--------------------
2258 1 file changed, 98 insertions(+), 76 deletions(-)
2260 commit be9df58b5d6415c516f3fe397c985230d7cc5bea
2261 Author: Chris Wilson <chris@chris-wilson.co.uk>
2262 Date: Tue Sep 16 02:40:33 2008 +0100
2264 [test/user-font-rescale] Fixup use of NAN
2266 Kill the use of the C99 feature, and replace with strtod("NaN").
2268 test/user-font-rescale.c | 5 ++---
2269 1 file changed, 2 insertions(+), 3 deletions(-)
2271 commit b4b65a7890c5b8d95f5bbc39d0f35a3d54088036
2272 Author: Behdad Esfahbod <behdad@behdad.org>
2273 Date: Mon Sep 15 21:50:27 2008 -0400
2275 Revert "[configure] Append -lz to LIBS"
2277 This reverts commit 9c207b24542edb2e8e388329471ab9e7d7d61ff9.
2279 I pushed a proper fix in last commit.
2281 configure.ac | 4 +---
2282 1 file changed, 1 insertion(+), 3 deletions(-)
2284 commit eb092eadbb3439b579866564eee003683f2abc5c
2285 Author: Behdad Esfahbod <behdad@behdad.org>
2286 Date: Mon Sep 15 21:45:25 2008 -0400
2288 [configure] Add non-pkgconfig cflags/libs before substitution
2290 build/configure.ac.enable | 8 +++++++-
2291 1 file changed, 7 insertions(+), 1 deletion(-)
2293 commit 09d7eb6c35da2819d9e254d8b7675eb39aa965c3
2294 Author: Behdad Esfahbod <behdad@behdad.org>
2295 Date: Mon Sep 15 19:54:35 2008 -0400
2297 [configure.ac.version] Quote m4_define arguments
2299 build/configure.ac.version | 12 ++++++------
2300 1 file changed, 6 insertions(+), 6 deletions(-)
2302 commit 60ab0f79f8d109fa662374f642d2961bb20a820b
2303 Author: Chris Wilson <chris@chris-wilson.co.uk>
2304 Date: Tue Sep 16 02:08:47 2008 +0100
2306 [pdf] Kill a compiler warning.
2308 Older versions of gcc complain about the use of a guard variable, and warn
2309 that solid_color may be used uninitialized. As it happens the guard
2310 variable is redundant and we can just use solid_color directly.
2312 src/cairo-pdf-surface.c | 10 +++-------
2313 1 file changed, 3 insertions(+), 7 deletions(-)
2315 commit e53fe3ec244833437fb35674258b983f9dcefa2d
2316 Author: Jeff Muizelaar <jeff@infidigm.net>
2317 Date: Tue Sep 16 01:45:10 2008 +0100
2319 [test] Add a test case for drawing glyphs with different metrics.
2321 The ability to draw glyphs with different metrics is useful when doing
2322 font substitution with fixed layout like in pdf and I eventually plan on
2323 adding code to poppler to do something similar.
2325 test/.gitignore | 1 +
2326 test/Makefile.am | 2 +
2327 test/user-font-rescale-ref.png | Bin 0 -> 15679 bytes
2328 test/user-font-rescale.c | 329 ++++++++++++++++++++++++++++++++++++++++
2329 4 files changed, 332 insertions(+)
2331 commit 9c207b24542edb2e8e388329471ab9e7d7d61ff9
2332 Author: Chris Wilson <chris@chris-wilson.co.uk>
2333 Date: Tue Sep 16 01:34:14 2008 +0100
2335 [configure] Append -lz to LIBS
2337 After going to the effort of detecting zlib for cairo-deflate-stream.c, it
2338 rather defects the purpose of the exercise (and the mingw32 build) if we
2339 forget to add the library to LIBS.
2341 configure.ac | 4 +++-
2342 1 file changed, 3 insertions(+), 1 deletion(-)
2344 commit 87094e8c78d99b0ae9fed287acaf8ba7abb4e43a
2345 Author: Chris Wilson <chris@chris-wilson.co.uk>
2346 Date: Tue Sep 16 01:09:45 2008 +0100
2348 [Makefile] Amend checks for horrible msys environment.
2350 automake-1.8 requires $(EXEEXT) for TESTS and feeds lt-check-*.c to
2351 check-cairoint.h. Workaround both misfeatures.
2353 src/Makefile.am | 2 +-
2354 src/check-cairoint.sh | 2 +-
2355 2 files changed, 2 insertions(+), 2 deletions(-)
2357 commit 7880ddd101e7a6f3f19d0d395c5881b188c11e49
2358 Author: Adrian Johnson <ajohnson@redneon.com>
2359 Date: Tue Sep 16 10:04:34 2008 +0930
2361 Fix scaling of glyphs in type3 subset glyphs
2363 src/cairo-type3-glyph-surface.c | 12 +++++++++---
2364 1 file changed, 9 insertions(+), 3 deletions(-)
2366 commit e31462d399dfad3b798efc56020cd9bb54c75dd9
2367 Author: Jeff Muizelaar <jeff@infidigm.net>
2368 Date: Mon Sep 15 19:31:28 2008 -0400
2370 Check for poppler_page_render instead of poppler_page_render_to_pixbuf
2372 We now use poppler_page_render for testing. Further, poppler can be built
2373 without poppler_page_render_to_pixbuf to avoid a dependency on gdk.
2376 1 file changed, 1 insertion(+), 1 deletion(-)
2378 commit fb0bf165950cf85add6c187e5ec432f8c07b2cc2
2379 Author: Behdad Esfahbod <behdad@behdad.org>
2380 Date: Mon Sep 15 19:21:03 2008 -0400
2382 [aclocal] Don't use m4_defn
2384 Apparently autoconf 2.59 on msys is not quite happy it
2386 build/aclocal.enable.m4 | 6 +++---
2387 1 file changed, 3 insertions(+), 3 deletions(-)
2389 commit 879b5c705726ce6d1a5035cfef41aba06b0cb4dc
2390 Author: Behdad Esfahbod <behdad@behdad.org>
2391 Date: Mon Sep 15 19:18:06 2008 -0400
2393 [aclocal] Move CAIRO_PARSE_VERSION to acinclude.m4
2395 It belongs there as it includes other files. It was breaking build
2396 on older autoconf it seems.
2398 acinclude.m4 | 13 +++++++++++++
2399 build/aclocal.cairo.m4 | 11 -----------
2400 2 files changed, 13 insertions(+), 11 deletions(-)
2402 commit 656b0e3ea7117ceb28080e1c8605254bbec92a75
2403 Author: Behdad Esfahbod <behdad@behdad.org>
2404 Date: Mon Sep 15 19:17:27 2008 -0400
2406 [configure.ac] Avoid sed -i (#17563)
2408 build/configure.ac.enable | 5 +++--
2409 1 file changed, 3 insertions(+), 2 deletions(-)
2411 commit 4619c76d2fc4285f2417e54870041cc07c968ce6
2412 Author: Behdad Esfahbod <behdad@behdad.org>
2413 Date: Mon Sep 15 18:51:50 2008 -0400
2415 [scaled_font] Improve readability
2417 src/cairo-scaled-font.c | 10 +++++-----
2418 1 file changed, 5 insertions(+), 5 deletions(-)
2420 commit e079ec03cb8c2272162db86ec263b893df40460a
2421 Author: Behdad Esfahbod <behdad@behdad.org>
2422 Date: Mon Sep 15 18:51:24 2008 -0400
2424 [scaled-font] Fix bug unlocking the wrong mutex (#16819)
2426 src/cairo-scaled-font.c | 2 +-
2427 1 file changed, 1 insertion(+), 1 deletion(-)
2429 commit 096408d80e2ca13deccea7930aeca9fbd1b5850e
2430 Author: Behdad Esfahbod <behdad@behdad.org>
2431 Date: Mon Sep 15 18:51:04 2008 -0400
2433 [scaled-font] Improve comment
2435 src/cairo-scaled-font.c | 2 +-
2436 1 file changed, 1 insertion(+), 1 deletion(-)
2438 commit bdb6f609d8a40e03fa9ceef65bc522d025732e7b
2439 Author: Behdad Esfahbod <behdad@behdad.org>
2440 Date: Mon Sep 15 18:03:50 2008 -0400
2442 [configure.ac] Build -uninstalled.pc files
2444 build/configure.ac.enable | 57 +++++++++++++++++++++------------------------
2445 1 file changed, 27 insertions(+), 30 deletions(-)
2447 commit 856fedd2359604ad2dca67c505e16111f23f1b61
2448 Author: Behdad Esfahbod <behdad@behdad.org>
2449 Date: Mon Sep 15 16:19:12 2008 -0400
2451 [doc] Make "make check" build without gtk-doc
2453 doc/public/Makefile.am | 9 ++++++---
2454 1 file changed, 6 insertions(+), 3 deletions(-)
2456 commit 2ab77236f87b435d41c5429b7b3059d10058e421
2457 Author: Behdad Esfahbod <behdad@behdad.org>
2458 Date: Mon Sep 15 15:48:57 2008 -0400
2460 [Makefile.am] Add util to SUBDIRS
2462 We do nothing by default there right now, but it's correct to include it
2463 anyway. And we will be installing utilities from there soon (cairo-trace for
2466 Makefile.am | 4 ++--
2467 1 file changed, 2 insertions(+), 2 deletions(-)
2469 commit b4bbcda1c31d10d199db86170bcf924947e59ff2
2470 Author: Behdad Esfahbod <behdad@behdad.org>
2471 Date: Mon Sep 15 15:47:53 2008 -0400
2473 [Makefile.am] Add doc back to SUBDIRS
2475 This reverts cac2ea0fcda2222f36ebd3414f91302dad691b85
2476 We need doc in SUBDIRS to install docs even if gtk-doc is not available.
2477 The real fix for the build issue without gtk-doc should go under doc/
2478 and is coming in a followup commit.
2480 Makefile.am | 6 +-----
2481 1 file changed, 1 insertion(+), 5 deletions(-)
2483 commit e4753c82ff1aeb404b1cbac9e891f4353fb882f3
2484 Author: Behdad Esfahbod <behdad@behdad.org>
2485 Date: Mon Sep 15 14:50:29 2008 -0400
2487 [src/README] s/Source.mk/Makefile.sources/
2490 1 file changed, 1 insertion(+), 1 deletion(-)
2492 commit 50f45d7768976b489df2d4eddc90ae2cdaf464db
2493 Author: Behdad Esfahbod <behdad@behdad.org>
2494 Date: Mon Sep 15 14:50:07 2008 -0400
2496 [src/Makefile.am] Add comment referring to Makefile.sources
2498 src/Makefile.am | 2 ++
2499 1 file changed, 2 insertions(+)
2501 commit b24d2e4214cc7a7ec59f6c6c2033b7315626f3f0
2502 Author: Chris Wilson <chris@chris-wilson.co.uk>
2503 Date: Mon Sep 15 17:17:30 2008 +0100
2505 [autogen] Delete Makefile.am.config
2507 Cause the Makefile.am.config to be regenerated every time as its contents
2508 may be invalid for the current run - e.g. if a developer is switching
2509 between branches with experimental surfaces.
2512 1 file changed, 1 insertion(+)
2514 commit 5c7c2b5187800fd09e659305d58f61f4945e62a5
2515 Author: Chris Wilson <chris@chris-wilson.co.uk>
2516 Date: Mon Sep 15 17:06:13 2008 +0100
2518 [test] Test handling of fractional device offsets.
2520 test/.gitignore | 1 +
2521 test/Makefile.am | 2 +
2522 test/device-offset-fractional-ref.png | Bin 0 -> 269 bytes
2523 test/device-offset-fractional.c | 80 +++++++++++++++++++++++++++++++++
2524 4 files changed, 83 insertions(+)
2526 commit 2617d68a7b7ccaa8d82fe225926a1bf5f160ed30
2527 Author: Chris Wilson <chris@chris-wilson.co.uk>
2528 Date: Mon Sep 15 17:07:11 2008 +0100
2530 [boilerplate] Restrict number of retries to create an error surface.
2532 Sometimes we just cannot get what we want, so give up - it's only an error
2535 boilerplate/cairo-boilerplate.c | 5 +++--
2536 1 file changed, 3 insertions(+), 2 deletions(-)
2538 commit 77b43da99f759fb970b90fd61eb3ace0f7224795
2539 Author: Chris Wilson <chris@chris-wilson.co.uk>
2540 Date: Mon Sep 15 15:52:27 2008 +0100
2542 [test] Fixup potential use of uninitialized test_image.
2544 In the churn of reordering the tests, some of the error paths were left
2545 unaltered - causing potential invalid dereferences.
2547 test/cairo-test.c | 2 --
2548 1 file changed, 2 deletions(-)
2550 commit 34f250643212146c964f7e1c30524a4d585af156
2551 Author: Chris Wilson <chris@chris-wilson.co.uk>
2552 Date: Mon Sep 15 15:41:36 2008 +0100
2554 [surface] Trivial rejection of fill/stroke if clip extents is zero
2556 Avoid tessellating the path if we know that the target extents is zero.
2557 Besides the rare occurrence when everything is clipped out, a zero-sized
2558 surface is often intended as a no-op surface for benchmarking.
2560 src/cairo-surface-fallback.c | 6 ++++++
2561 1 file changed, 6 insertions(+)
2563 commit cac2ea0fcda2222f36ebd3414f91302dad691b85
2564 Author: Chris Wilson <chris@chris-wilson.co.uk>
2565 Date: Sun Sep 14 11:20:25 2008 +0100
2567 [Makefile] Disable doc/ if we don't have gtk-doc.
2569 make check dies in the documentation even if we have explicitly disabled
2570 gtk-doc - so only enter doc/ with gtk-doc enabled.
2572 Makefile.am | 6 +++++-
2573 1 file changed, 5 insertions(+), 1 deletion(-)
2575 commit 4e731f7c907a3b5bf2da0d73a699bcf79c1f2c85
2576 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
2577 Date: Fri Sep 12 09:39:58 2008 +0300
2579 [test] Only test truetype-tables if we can.
2581 Doesn't build without CAIRO_HAS_FONT_SUBSET.
2583 test/truetype-tables.c | 4 ++--
2584 1 file changed, 2 insertions(+), 2 deletions(-)
2586 commit 93325a3f086914c6836d6ca81c777e738f0ae6a3
2587 Author: Behdad Esfahbod <behdad@behdad.org>
2588 Date: Thu Sep 11 19:12:31 2008 -0400
2590 [configure.ac.enable] Cleanup Makefile.*.config generation
2592 build/configure.ac.enable | 26 ++++++++++++++++++--------
2593 src/Makefile.am | 6 ------
2594 src/Makefile.sources | 2 +-
2595 3 files changed, 19 insertions(+), 15 deletions(-)
2597 commit 66d6cb642c936916e4b1bfcaa48e6fb345f6daf5
2598 Author: Behdad Esfahbod <behdad@behdad.org>
2599 Date: Thu Sep 11 18:06:57 2008 -0400
2601 [Makefile.am.common] Unify more common rules
2603 boilerplate/Makefile.am | 4 ----
2604 build/Makefile.am.common | 2 ++
2605 perf/Makefile.am | 1 -
2606 src/Makefile.am | 2 --
2607 test/Makefile.am | 3 +--
2608 util/Makefile.am | 2 +-
2609 6 files changed, 4 insertions(+), 10 deletions(-)
2611 commit 171a5edbff3d893f32601de563f34c2395a3a55c
2612 Author: Behdad Esfahbod <behdad@behdad.org>
2613 Date: Thu Sep 11 17:53:30 2008 -0400
2615 [boilerplate/Makefile.am] Add unneeded rule
2617 The check target by default depends on $(check_PROGRAMS).
2619 boilerplate/Makefile.am | 1 -
2620 1 file changed, 1 deletion(-)
2622 commit fe31c35d8672117a8586591abada4aa1b42a07ff
2623 Author: Behdad Esfahbod <behdad@behdad.org>
2624 Date: Thu Sep 11 17:31:07 2008 -0400
2626 [doc] Don't rebuild after every configure run
2628 The version.xml file was rebuilt all the time and forcing a full
2629 doc rebuild. Not anymore unless cairo-version.h was changed.
2632 doc/public/Makefile.am | 13 +++++++------
2633 doc/public/version.xml.in | 1 -
2634 3 files changed, 7 insertions(+), 8 deletions(-)
2636 commit 694fee9e7c3073613359d9734f64f65964c3aa53
2637 Author: Behdad Esfahbod <behdad@behdad.org>
2638 Date: Thu Sep 11 16:04:06 2008 -0400
2640 Update gtk-doc makefile fragment
2642 Also move it to build/.
2644 We still do not call gtkdocize from autogen.sh.
2648 build/Makefile.am.gtk-doc | 180 +++++++++++++++++++++++++++++++++++++++++++++
2649 build/configure.ac.tools | 4 -
2651 doc/public/Makefile.am | 6 +-
2652 gtk-doc.make | 157 ---------------------------------------
2653 7 files changed, 195 insertions(+), 165 deletions(-)
2655 commit de5b8bce37f2ddb87fca7ae6b844eec7fbbbc7e9
2656 Author: Behdad Esfahbod <behdad@behdad.org>
2657 Date: Thu Sep 11 15:49:09 2008 -0400
2661 Use a common build/Makefile.am.common file.
2663 Makefile.am | 13 ++++++++-----
2664 boilerplate/Makefile.am | 13 ++++++-------
2665 build/Makefile.am.common | 12 ++++++++++++
2666 doc/Makefile.am | 5 ++++-
2667 doc/public/Makefile.am | 7 +++----
2668 perf/Makefile.am | 10 ++++++----
2669 src/Makefile.am | 11 ++---------
2670 test/Makefile.am | 13 ++++++-------
2671 test/pdiff/Makefile.am | 10 ++++------
2672 util/Makefile.am | 8 ++++----
2673 10 files changed, 55 insertions(+), 47 deletions(-)
2675 commit 66f0d56a8a2c8dd3b4678d495d5652bfdfd690ea
2676 Author: Behdad Esfahbod <behdad@behdad.org>
2677 Date: Thu Sep 11 15:30:43 2008 -0400
2679 [aclocal.enable.m4] Escape shell arguments
2681 build/aclocal.enable.m4 | 17 ++++++++++-------
2682 1 file changed, 10 insertions(+), 7 deletions(-)
2684 commit 90210ac4ac7c70c58980fa3e70a9c16da6de6f75
2685 Author: Behdad Esfahbod <behdad@behdad.org>
2686 Date: Thu Sep 11 15:24:45 2008 -0400
2688 [autogen.sh] Quote ORIGDIR
2691 1 file changed, 1 insertion(+), 1 deletion(-)
2693 commit e9e439a7a84fab0b888029801f62ea8d7f0a2ecf
2694 Author: Chris Wilson <chris@chris-wilson.co.uk>
2695 Date: Thu Sep 11 10:33:23 2008 +0100
2697 [test] Check for updated reference images.
2699 Delete the results of previous runs if the reference images are more
2702 There's still potential error if the conversion utility or its required
2703 libraries are modified...
2705 test/cairo-test.c | 83 ++++++++++++++++++++++++++++++++++++++++-------------
2706 1 file changed, 63 insertions(+), 20 deletions(-)
2708 commit e1c1bba3ff2ad6271778203b82e14448e9418bf5
2709 Author: Adrian Johnson <ajohnson@redneon.com>
2710 Date: Thu Sep 11 19:00:17 2008 +0930
2712 Update user-font-proxy PDF/PS ref images
2714 test/user-font-proxy-pdf-ref.png | Bin 10174 -> 18111 bytes
2715 test/user-font-proxy-ps-ref.png | Bin 7227 -> 8171 bytes
2716 2 files changed, 0 insertions(+), 0 deletions(-)
2718 commit 140ffa6e271c6e27bafbaf5edc2f026dedf4ed49
2719 Author: Chris Wilson <chris@chris-wilson.co.uk>
2720 Date: Thu Sep 11 10:00:57 2008 +0100
2722 [test] Fix order of deleting images vs checks.
2724 The early-checks assume that the images are still available - so it helps
2725 not to unlink them before comparing results to the previous run.
2727 test/cairo-test.c | 5 ++---
2728 1 file changed, 2 insertions(+), 3 deletions(-)
2730 commit 1cf1b723c79c1359c5daccc38a90fa7b931ce818
2731 Author: Adrian Johnson <ajohnson@redneon.com>
2732 Date: Thu Sep 11 18:36:55 2008 +0930
2734 Return correct status
2736 src/cairo-pdf-surface.c | 2 +-
2737 1 file changed, 1 insertion(+), 1 deletion(-)
2739 commit 15dd80c89437f0ef2f2458e3d115778ac161b500
2740 Author: Adrian Johnson <ajohnson@redneon.com>
2741 Date: Thu Sep 11 18:26:04 2008 +0930
2743 Don't overwrite previous status
2745 src/cairo-pdf-surface.c | 8 ++++++--
2746 1 file changed, 6 insertions(+), 2 deletions(-)
2748 commit d1560bd68728c726b926d6460a466d073ed37285
2749 Author: Behdad Esfahbod <behdad@behdad.org>
2750 Date: Thu Sep 11 04:23:05 2008 -0400
2752 Mark private symbol so
2754 src/cairo-output-stream-private.h | 2 +-
2755 1 file changed, 1 insertion(+), 1 deletion(-)
2757 commit 2b4a26f0977f325df7d154e80030a152f340e000
2758 Author: Behdad Esfahbod <behdad@behdad.org>
2759 Date: Thu Sep 11 04:21:29 2008 -0400
2761 [configure.ac] Add CAIRO_BEGINEND_DECLS
2763 build/aclocal.cairo.m4 | 13 +++++++++++++
2764 build/configure.ac.system | 2 ++
2765 configure.ac | 10 ----------
2766 3 files changed, 15 insertions(+), 10 deletions(-)
2768 commit b7a838261bd2aace4466a725a8de08cdd4dccc9c
2769 Author: Behdad Esfahbod <behdad@behdad.org>
2770 Date: Thu Sep 11 04:17:43 2008 -0400
2772 Move m4 macros into build/aclocal.*.m4 files
2775 acinclude.m4 | 261 -------------------
2777 build/aclocal.cairo.m4 | 146 +++++++++++
2778 build/aclocal.enable.m4 | 439 ++++++++++++++++++++++++++++++++
2779 build/aclocal.float.m4 | 64 +++++
2780 build/aclocal.gtk-doc.m4 | 39 +++
2781 build/aclocal.pkg.m4 | 155 ++++++++++++
2782 build/configure.ac.enable | 447 ---------------------------------
2784 doc/public/tmpl/cairo-image.sgml | 1 -
2785 doc/public/tmpl/cairo-user-fonts.sgml | 1 -
2786 12 files changed, 847 insertions(+), 725 deletions(-)
2788 commit ac6e4b83e7eac8cf99849b3c4b60da7fdace8625
2789 Author: Behdad Esfahbod <behdad@behdad.org>
2790 Date: Thu Sep 11 03:44:17 2008 -0400
2792 [configure.ac.enable] Use AS_CASE
2794 build/configure.ac.enable | 16 ++++++++--------
2795 1 file changed, 8 insertions(+), 8 deletions(-)
2797 commit 7c4fdafc8cb9f80e338df7581af1a8f40771dc67
2798 Author: Behdad Esfahbod <behdad@behdad.org>
2799 Date: Thu Sep 11 03:30:25 2008 -0400
2801 [configure.ac.enable] Add some dnl's
2803 build/configure.ac.enable | 376 ++++++++++++++++++++++-----------------------
2804 1 file changed, 187 insertions(+), 189 deletions(-)
2806 commit c358abfb156ceb552ded2daad4068d6f0f0044a9
2807 Author: Behdad Esfahbod <behdad@behdad.org>
2808 Date: Thu Sep 11 03:08:15 2008 -0400
2810 [configure.ac.enable] Implement accumulators
2812 build/configure.ac.enable | 298 +++++++++++++++++++++++++++++++++------------
2813 1 file changed, 217 insertions(+), 81 deletions(-)
2815 commit 1efb5e0810025d560addbbf690fd4d65f9405b8f
2816 Author: Behdad Esfahbod <behdad@behdad.org>
2817 Date: Thu Sep 11 01:12:48 2008 -0400
2819 [configure.ac.enable] Don't collect .pc files for builtin features
2821 build/configure.ac.enable | 13 +++++++++++--
2822 1 file changed, 11 insertions(+), 2 deletions(-)
2824 commit 2bc53fb152ef4e6a443c177c7ac0cd2193c252ad
2825 Author: Behdad Esfahbod <behdad@behdad.org>
2826 Date: Thu Sep 11 01:04:13 2008 -0400
2828 [configure.ac] Really fix pixman config
2830 configure.ac | 9 ++++++---
2831 1 file changed, 6 insertions(+), 3 deletions(-)
2833 commit f9a332c8fda32136a99299ac73a1737028fa8795
2834 Author: Behdad Esfahbod <behdad@behdad.org>
2835 Date: Thu Sep 11 00:49:17 2008 -0400
2837 [configure.ac] Fix pixman requires
2839 configure.ac | 6 +++---
2840 1 file changed, 3 insertions(+), 3 deletions(-)
2842 commit 391bef58fcb301014adc8b06db7265c5c9b3bee3
2843 Author: Behdad Esfahbod <behdad@behdad.org>
2844 Date: Wed Sep 10 23:23:08 2008 -0400
2846 Add support for always-builtin features in the build system
2848 Like image surface and user fonts.
2850 build/configure.ac.enable | 43 +++++++++++++++++++++------------
2851 configure.ac | 30 +++++++++++------------
2852 doc/public/cairo-sections.txt | 2 ++
2853 doc/public/tmpl/cairo-image.sgml | 11 +++++++++
2854 doc/public/tmpl/cairo-user-fonts.sgml | 12 +++++++++
2855 5 files changed, 68 insertions(+), 30 deletions(-)
2857 commit 4a01b1d9c94beb4b3df9d4c7c8d7411c6afa1034
2858 Author: Behdad Esfahbod <behdad@behdad.org>
2859 Date: Wed Sep 10 21:36:27 2008 -0400
2861 Build -uninstalled.pc files
2864 build/configure.ac.enable | 28 +++++++++++++++++++++++++++-
2865 src/cairo-features-uninstalled.pc.in | 7 +++++++
2866 src/cairo-uninstalled.pc.in | 8 ++++++++
2867 4 files changed, 43 insertions(+), 1 deletion(-)
2869 commit a18c75c3e9a63dc23aaad0faf2e963973a306d65
2870 Author: Behdad Esfahbod <behdad@behdad.org>
2871 Date: Wed Sep 10 21:24:50 2008 -0400
2873 [configure.ac.enable] More fixes for private features
2875 Don't expect pkgconfig files for them. Also, don't give them a chance
2876 to install public headers.
2878 build/configure.ac.enable | 34 ++++++++++++++++++++++++++++------
2879 1 file changed, 28 insertions(+), 6 deletions(-)
2881 commit 771ff1a06e93255cd0015c59f5e4f33c25490546
2882 Author: Behdad Esfahbod <behdad@behdad.org>
2883 Date: Wed Sep 10 21:21:58 2008 -0400
2885 [configure.ac.enable] Don't collect .pc files in win32 Makefile
2887 We only generate them using autotools. No point.
2889 build/configure.ac.enable | 2 --
2890 1 file changed, 2 deletions(-)
2892 commit c73f58e3a7a83faa687a148d2363979f3e7d001f
2893 Author: Behdad Esfahbod <behdad@behdad.org>
2894 Date: Wed Sep 10 21:19:25 2008 -0400
2896 [doc] Don't include *.h as sources
2898 No idea why this was done initially but other projects I checked did not
2901 doc/public/Makefile.am | 2 +-
2902 1 file changed, 1 insertion(+), 1 deletion(-)
2904 commit d878924cf8ec2aea9a4f1bd27ac3a83566c0af5f
2905 Author: Adrian Johnson <ajohnson@redneon.com>
2906 Date: Thu Sep 11 08:46:55 2008 +0930
2908 PS: execute type3 glyphs in their own dictionary
2910 The PS emulation of the PDF text operators stores some data on the
2911 user dict between calls to operators. When using the PDF text
2912 operators in type 3 glyphs, the PDF operators were overwriting the
2913 same data as the PDF operators in the page. Fix this by creating a new
2914 dictionary to execute each type 3 glyph in.
2916 src/cairo-ps-surface.c | 3 ++-
2917 1 file changed, 2 insertions(+), 1 deletion(-)
2919 commit b56075ee51aaf570f85c1d59513e5e5116ae2b06
2920 Author: Adrian Johnson <ajohnson@redneon.com>
2921 Date: Thu Sep 11 08:41:39 2008 +0930
2923 Enable show_glyphs inside of in user-font glyphs
2925 src/cairo-pdf-surface.c | 24 ++++++++++++--
2926 src/cairo-ps-surface.c | 7 ++--
2927 src/cairo-type3-glyph-surface-private.h | 8 ++++-
2928 src/cairo-type3-glyph-surface.c | 53 ++++++++++++++++++++++++++++---
2929 4 files changed, 81 insertions(+), 11 deletions(-)
2931 commit c3663324fd417a281e9cd872aa1d60101ff4602b
2932 Author: Adrian Johnson <ajohnson@redneon.com>
2933 Date: Thu Sep 11 08:38:39 2008 +0930
2935 Add _cairo_type3_glyph_surface_analyze_glyph()
2937 This function emits the glyph to a null stream with the side effect
2938 that other glyphs referenced by this user-font glyph will be added to
2941 src/cairo-pdf-surface.c | 28 ++++++++++++++++++++++
2942 src/cairo-ps-surface.c | 30 ++++++++++++++++++++++++
2943 src/cairo-type3-glyph-surface-private.h | 4 ++++
2944 src/cairo-type3-glyph-surface.c | 39 +++++++++++++++++++++++++++++++
2945 4 files changed, 101 insertions(+)
2947 commit b74533b5a56c1d063f288343f2e8e484f3c6571f
2948 Author: Adrian Johnson <ajohnson@redneon.com>
2949 Date: Thu Sep 11 08:37:30 2008 +0930
2951 Add null output stream
2953 src/cairo-output-stream-private.h | 4 ++++
2954 src/cairo-output-stream.c | 23 +++++++++++++++++++++++
2955 2 files changed, 27 insertions(+)
2957 commit 6772efcdf6b6710c839ab58a7218866cc9f409b6
2958 Author: Adrian Johnson <ajohnson@redneon.com>
2959 Date: Thu Sep 11 08:37:02 2008 +0930
2961 Put user fonts in a separate subset
2963 src/cairo-pdf-surface.c | 6 ++++++
2964 src/cairo-ps-surface.c | 5 +++++
2965 src/cairo-scaled-font-subsets-private.h | 35 +++++++++++++++++++++++++++++++
2966 src/cairo-scaled-font-subsets.c | 23 ++++++++++++++++++--
2967 4 files changed, 67 insertions(+), 2 deletions(-)
2969 commit 59fafcee8d6f3b5ba81e0bb1d90eb65b8e5daf93
2970 Author: Behdad Esfahbod <behdad@behdad.org>
2971 Date: Wed Sep 10 18:22:07 2008 -0400
2973 [configure.ac.build] Keep private features private
2975 For private features:
2977 - Don't list them in cairo-features.h; Define them in config.h instead,
2978 - Don't generate/install a .pc file,
2979 - Don't warn if enabled.
2981 build/configure.ac.enable | 25 +++++++++++++++----------
2982 1 file changed, 15 insertions(+), 10 deletions(-)
2984 commit e0b4f8dc8fd9861359f913dd69daa0ffeb66907a
2985 Author: Carl Worth <cworth@cworth.org>
2986 Date: Wed Aug 27 16:13:57 2008 -0700
2988 Avoid missing enum warnings with pixman 0.11.9
2990 src/cairo-image-surface.c | 10 ++++++++++
2991 1 file changed, 10 insertions(+)
2993 commit bdcdc8400ef8c199eb7dea961ea13b75ae93176d
2994 Author: Carl Worth <cworth@cworth.org>
2995 Date: Wed Aug 27 15:54:15 2008 -0700
2997 Rename _init_pattern_with_snapshot to _cairo_pattern_init_snapshot
2999 src/cairo-meta-surface.c | 38 ++++++--------------------------------
3000 src/cairo-pattern.c | 30 ++++++++++++++++++++++++++++++
3001 src/cairoint.h | 4 ++++
3002 3 files changed, 40 insertions(+), 32 deletions(-)
3004 commit 9016504e2ab2718603838aa2504513fa5aeefd7e
3005 Author: Behdad Esfahbod <behdad@behdad.org>
3006 Date: Wed Sep 10 17:22:49 2008 -0400
3008 [configure.ac.enable] Don't report CFLAGS
3010 It's long and not that useful.
3012 build/configure.ac.enable | 3 ---
3013 1 file changed, 3 deletions(-)
3015 commit 4059d356b8c2c8175cd9e232d2c34aaabd1932b1
3016 Author: Behdad Esfahbod <behdad@behdad.org>
3017 Date: Wed Sep 10 17:22:05 2008 -0400
3019 [autogen.sh] Make libtoolize silent
3022 1 file changed, 1 insertion(+), 1 deletion(-)
3024 commit 8abb252b0e4fa3b77eb85dd0276ce5112b538c3d
3025 Author: Chris Wilson <chris@chris-wilson.co.uk>
3026 Date: Wed Sep 10 20:29:05 2008 +0100
3028 [test/Makefile.am] Update list of reference images.
3030 Remove the references to the deleted PS images and the premature
3031 addition of the PDF images.
3033 test/Makefile.am | 6 +-----
3034 1 file changed, 1 insertion(+), 5 deletions(-)
3036 commit e895ab81f397359ee0224cc6ec61737ff87a591d
3037 Author: Chris Wilson <chris@chris-wilson.co.uk>
3038 Date: Wed Sep 10 19:00:40 2008 +0100
3040 [test/Makefile.am] Remove reference to clip-operator-ps-argb32-ref.png
3042 The test passes using the general reference image since the PS now
3043 correctly uses the image fallback for the alpha gradients.
3045 test/Makefile.am | 1 -
3046 1 file changed, 1 deletion(-)
3048 commit 042ef899a26fbb008641a86ad7b14df42a1024cd
3049 Author: Behdad Esfahbod <behdad@behdad.org>
3050 Date: Wed Sep 10 13:57:17 2008 -0400
3052 [test/pdiff] Fix include syntax
3054 test/pdiff/pdiff.h | 2 +-
3055 1 file changed, 1 insertion(+), 1 deletion(-)
3057 commit 7709f51e1378fb39af01bf7c50762b3c6cc032f2
3058 Author: Chris Wilson <chris@chris-wilson.co.uk>
3059 Date: Wed Sep 10 18:30:45 2008 +0100
3061 [boilerplate] Include cairo-compiler-private.h
3063 Actually use the compiler specific diverts and defines.
3065 boilerplate/cairo-boilerplate.h | 2 ++
3066 1 file changed, 2 insertions(+)
3068 commit 84a7a9955c8af99bc2224ee630473bbee137598e
3069 Author: Chris Wilson <chris@chris-wilson.co.uk>
3070 Date: Wed Sep 10 18:23:31 2008 +0100
3072 [test] Typo in Makefile.am
3074 s/AC_CPPFLAGS/AM_CPPFLAGS/g
3076 test/pdiff/Makefile.am | 2 +-
3077 test/pdiff/pdiff.h | 2 +-
3078 2 files changed, 2 insertions(+), 2 deletions(-)
3080 commit bf62798b1284533e28b78717dac8070ca6d29e54
3081 Author: Chris Wilson <chris@chris-wilson.co.uk>
3082 Date: Wed Sep 10 18:21:50 2008 +0100
3084 [cairo-compiler-private.h] Divert popen to _popen for MSVC
3086 Microsoft uses _popen instead of popen - required to build the
3087 boilerplate but not actually used on Windows (by default)!
3089 src/cairo-compiler-private.h | 1 +
3090 1 file changed, 1 insertion(+)
3092 commit 5e5a2b9da70f559afa00bfd6e2011d573e729071
3093 Author: Behdad Esfahbod <behdad@behdad.org>
3094 Date: Wed Sep 10 12:41:57 2008 -0400
3096 More fixes for pkgconfig files
3098 Should all work now.
3100 build/configure.ac.enable | 44 ++++++++++++++++++++++++++++----------------
3101 src/cairo-features.pc.in | 10 +++++-----
3102 2 files changed, 33 insertions(+), 21 deletions(-)
3104 commit 43a42d0a195422260dbef0961e1cff34b1a36010
3105 Author: Behdad Esfahbod <behdad@behdad.org>
3106 Date: Wed Sep 10 12:41:32 2008 -0400
3108 [test/pdiff/Makefile.am] Another automake warning fix
3110 test/pdiff/Makefile.am | 2 +-
3111 1 file changed, 1 insertion(+), 1 deletion(-)
3113 commit 95214e80a55d362ece30d8f2cd513b2771aeaa3e
3114 Author: Behdad Esfahbod <behdad@behdad.org>
3115 Date: Wed Sep 10 12:19:21 2008 -0400
3117 [configure.ac.enable] Fix warning messages
3119 build/configure.ac.enable | 6 +++---
3120 1 file changed, 3 insertions(+), 3 deletions(-)
3122 commit 9dd9289c4ad517abf1d9013d5d6f85e418f9dd78
3123 Author: Behdad Esfahbod <behdad@behdad.org>
3124 Date: Wed Sep 10 12:18:27 2008 -0400
3126 Rename cairo-backend.pc.in to cairo-features.pc.in
3128 build/configure.ac.enable | 2 +-
3129 src/cairo-backend.pc.in | 12 ------------
3130 src/cairo-features.pc.in | 12 ++++++++++++
3131 3 files changed, 13 insertions(+), 13 deletions(-)
3133 commit cf71e7c39b431b5b85aefe0249c9870d240e390b
3134 Author: Behdad Esfahbod <behdad@behdad.org>
3135 Date: Wed Sep 10 12:15:20 2008 -0400
3137 [configure.ac.enable] Actually install pkgconfig files
3139 Oops. Reported by Shunichi Fuji.
3141 build/configure.ac.enable | 20 ++++++++++++--------
3142 1 file changed, 12 insertions(+), 8 deletions(-)
3144 commit c9a90a808db6bcc2ac8f03aeeed334931655ce90
3145 Author: Behdad Esfahbod <behdad@behdad.org>
3146 Date: Tue Sep 9 14:36:40 2008 -0400
3148 [autogen.sh] Make sure ChangeLog exists
3150 autogen.sh | 5 +++--
3151 1 file changed, 3 insertions(+), 2 deletions(-)
3153 commit 378b11aaf39496919fd10108c00946cffe1fafc4
3154 Author: Chris Wilson <chris@chris-wilson.co.uk>
3155 Date: Tue Sep 9 09:06:10 2008 +0100
3159 Update alpha value to non-divisable-by-256 number to expose a bug in
3160 pixman where it appears to be mixing in empty registers.
3162 test/fill-alpha-pattern-ps-ref.png | Bin 4519 -> 4380 bytes
3163 test/fill-alpha-pattern-ref.png | Bin 3855 -> 3653 bytes
3164 test/fill-alpha-pattern.c | 9 +++++----
3165 test/fill-alpha-ref.png | Bin 3182 -> 2989 bytes
3166 test/fill-alpha.c | 9 +++++----
3167 5 files changed, 10 insertions(+), 8 deletions(-)
3169 commit c20179b65ff887b4c5dc7f984ede1cb986de859d
3170 Author: Behdad Esfahbod <behdad@behdad.org>
3171 Date: Mon Sep 8 15:17:52 2008 -0400
3173 [{test,perf}/Makefile.am] Define html-local target instead of html
3175 Fixes automake warning.
3177 perf/Makefile.am | 4 ++--
3178 test/Makefile.am | 4 ++--
3179 2 files changed, 4 insertions(+), 4 deletions(-)
3181 commit 87dfceb9ec4d32077ad7961a6875793dc5d723f1
3182 Author: Behdad Esfahbod <behdad@behdad.org>
3183 Date: Mon Sep 8 15:13:07 2008 -0400
3185 [Makefile.am] Rename INCLUDES to AM_CPPFLAGS
3187 Fixes automake warnings
3189 boilerplate/Makefile.am | 2 +-
3190 doc/public/Makefile.am | 5 -----
3191 perf/Makefile.am | 2 +-
3192 src/Makefile.am | 10 +++++-----
3193 test/Makefile.am | 2 +-
3194 5 files changed, 8 insertions(+), 13 deletions(-)
3196 commit f84e7b6e656678e105171be12ef265ae60e4b1f7
3197 Author: Behdad Esfahbod <behdad@behdad.org>
3198 Date: Mon Sep 8 15:10:06 2008 -0400
3200 [configure.ac] Opt for more automake warnings and checks
3204 2 files changed, 2 insertions(+), 2 deletions(-)
3206 commit a374b349bfe5dc4afa23ceea8d808560c5d7ac84
3207 Author: Behdad Esfahbod <behdad@behdad.org>
3208 Date: Sun Sep 7 17:43:30 2008 -0400
3210 [configure.ac.enable] Make feature hooks take an ENABLED argument
3214 build/configure.ac.enable | 130 ++++++++++++++++++++++-----------------------
3215 1 file changed, 63 insertions(+), 67 deletions(-)
3217 commit 1affc3192bbc4db93213a7053255f6fbafbab8a8
3218 Author: Chris Wilson <chris@chris-wilson.co.uk>
3219 Date: Mon Sep 8 13:34:45 2008 +0100
3221 [test] Add fill-alpha-pattern.
3223 A slight variation on the simple fill-alpha theme is that if Company is
3224 truly seeing a regression where we dither, the error on a constant
3225 background will be small and might be missed by the test suite.
3227 test/.gitignore | 1 +
3228 test/Makefile.am | 3 ++
3229 test/fill-alpha-pattern-ps-ref.png | Bin 0 -> 4519 bytes
3230 test/fill-alpha-pattern-ref.png | Bin 0 -> 3855 bytes
3231 test/fill-alpha-pattern.c | 94 ++++++++++++++++++++++++++++++++++++
3232 5 files changed, 98 insertions(+)
3234 commit ee5e6c821fedaf8c374d41438e1ca8cf606cd57c
3235 Author: Chris Wilson <chris@chris-wilson.co.uk>
3236 Date: Mon Sep 8 12:34:36 2008 +0100
3238 [test] Add fill-alpha.
3240 Benjamin Otte reported "who broke rgba fills? they look dithered with
3243 This commit is the result of a skim through the test-suite which revealed
3244 no single test responsible for checking the basic operation of
3245 "set_rgba(); fill();".
3247 test/.gitignore | 1 +
3248 test/Makefile.am | 2 ++
3249 test/fill-alpha-ref.png | Bin 0 -> 3182 bytes
3250 test/fill-alpha.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++
3251 4 files changed, 92 insertions(+)
3253 commit cdee34c5b77b7d6b16bd0b8d22e25211064dbc23
3254 Author: Behdad Esfahbod <behdad@behdad.org>
3255 Date: Sun Sep 7 16:53:14 2008 -0400
3257 Back to using autoconf 2.58
3259 acinclude.m4 | 4 ++++
3260 build/configure.ac.enable | 12 ++++++------
3262 3 files changed, 11 insertions(+), 7 deletions(-)
3264 commit d478b3e1ef25ac9b19938bc8ee801afc9ebd89ae
3265 Author: Chris Wilson <chris@chris-wilson.co.uk>
3266 Date: Sun Sep 7 18:31:29 2008 +0100
3268 [cairoint.h] Update LAST_STATUS.
3270 src/cairoint.h | 2 +-
3271 1 file changed, 1 insertion(+), 1 deletion(-)
3273 commit 7960fc94dccdf4f4e7362e1cd69eeb3c132939e5
3274 Author: Chris Wilson <chris@chris-wilson.co.uk>
3275 Date: Sun Sep 7 12:56:14 2008 +0100
3277 [ps] Set used level to 3 only if we use native gradients.
3279 Set the used level after performing the checks that the native Type2/3
3280 gradients support the pattern.
3282 src/cairo-ps-surface.c | 3 ++-
3283 1 file changed, 2 insertions(+), 1 deletion(-)
3285 commit 7439c45039a2c4342f626864324a5b4989a3153d
3286 Author: Chris Wilson <chris@chris-wilson.co.uk>
3287 Date: Sun Sep 7 14:57:16 2008 +0100
3289 [ps] Only use fallback images if the gradient has non-constant alpha.
3291 If the gradient has constant alpha, then we can express it as a flattened
3292 linear gradient. Otherwise, should the opacity vary across the gradient we
3295 src/cairo-ps-surface.c | 14 ++++++++++++++
3296 test/.gitignore | 1 +
3297 test/Makefile.am | 1 -
3298 test/clip-operator-ps-argb32-ref.png | Bin 9102 -> 0 bytes
3299 test/clip-operator-ps-rgb24-ref.png | Bin 4620 -> 3624 bytes
3300 test/gradient-alpha-ps-argb32-ref.png | Bin 189 -> 134 bytes
3301 test/gradient-alpha-ps-rgb24-ref.png | Bin 179 -> 130 bytes
3302 test/gradient-constant-alpha-ps-ref.png | Bin 0 -> 124 bytes
3303 test/gradient-constant-alpha-ps-rgb24-ref.png | Bin 0 -> 124 bytes
3304 test/gradient-constant-alpha-ref.png | Bin 0 -> 117 bytes
3305 test/gradient-constant-alpha-rgb24-ref.png | Bin 0 -> 116 bytes
3306 test/operator-clear-ps-argb32-ref.png | Bin 1435 -> 0 bytes
3307 test/operator-source-ps-argb32-ref.png | Bin 3890 -> 0 bytes
3308 test/operator-source-ps-rgb24-ref.png | Bin 3181 -> 0 bytes
3309 14 files changed, 15 insertions(+), 1 deletion(-)
3311 commit 94fd60d5ec2ef7705a8dc53f74817c1e067ba8e6
3312 Author: Chris Wilson <chris@chris-wilson.co.uk>
3313 Date: Sun Sep 7 12:12:59 2008 +0100
3315 [test] Add gradient-constant-alpha.
3317 PostScript can handle alpha gradients, iff they have a constant alpha. So
3320 test/Makefile.am | 7 ++++
3321 test/gradient-constant-alpha.c | 69 ++++++++++++++++++++++++++++++++++++++++
3322 2 files changed, 76 insertions(+)
3324 commit a33f2f6962a5cb09eca60825fa1a022c3e00991c
3325 Author: Chris Wilson <chris@chris-wilson.co.uk>
3326 Date: Sun Sep 7 10:26:32 2008 +0100
3328 Revert "[ps] A flattened gradient is not linear."
3330 This reverts commit 85ed37da33522efa101eb508a4091bcfa24ae944.
3332 Adrian Johnson pointed out that iff the gradient has constant alpha then
3333 it can be flattened. Reverting this commit in order to restore the
3334 capability to handle gradient flattening.
3336 src/cairo-ps-surface.c | 46 ++++++++++++++++++--------------
3337 test/Makefile.am | 2 ++
3338 test/clip-operator-ps-argb32-ref.png | Bin 0 -> 9102 bytes
3339 test/clip-operator-ps-rgb24-ref.png | Bin 0 -> 4620 bytes
3340 test/gradient-alpha-ps-argb32-ref.png | Bin 0 -> 189 bytes
3341 test/gradient-alpha-ps-rgb24-ref.png | Bin 0 -> 179 bytes
3342 test/operator-clear-ps-argb32-ref.png | Bin 0 -> 1435 bytes
3343 test/operator-source-ps-argb32-ref.png | Bin 0 -> 3890 bytes
3344 test/operator-source-ps-rgb24-ref.png | Bin 0 -> 3181 bytes
3345 9 files changed, 28 insertions(+), 20 deletions(-)
3347 commit 1a6f2b08a16ffe2af28ddb3fcf0e7295226ad73d
3348 Author: Chris Wilson <chris@chris-wilson.co.uk>
3349 Date: Sun Sep 7 10:24:46 2008 +0100
3351 [ps] Support B PDF operator.
3353 Add the procedure definition for fill-stroke path operators, B and B*.
3355 src/cairo-ps-surface.c | 2 ++
3356 1 file changed, 2 insertions(+)
3358 commit ab3bb369d5d531446f4a5482672204dc479f10b2
3359 Author: Chris Wilson <chris@chris-wilson.co.uk>
3360 Date: Sun Sep 7 10:23:28 2008 +0100
3362 [ps] Add comments about design of output.
3364 Add some snippets from Adrian Johnson about how and why the PS output is
3365 factored in terms of PDF operators.
3367 src/cairo-ps-surface.c | 13 +++++++++++++
3368 1 file changed, 13 insertions(+)
3370 commit ddb529a59c96077dd29b3bcfbc9749cb2d6de703
3371 Author: Chris Wilson <chris@chris-wilson.co.uk>
3372 Date: Sun Sep 7 12:16:29 2008 +0100
3374 [configure.ac] Bump the required version.
3376 2.62!!! Hopefully Behdad will notice and rewrite his excellent build
3377 scripts to avoid m4_newline() and m4_expand().
3380 1 file changed, 1 insertion(+), 1 deletion(-)
3382 commit c3b05a796ed015350887cf8220b087058e493571
3383 Author: Behdad Esfahbod <behdad@behdad.org>
3384 Date: Sat Sep 6 18:02:21 2008 -0400
3386 [configure.ac.enable] Sanitize feature default value
3388 build/configure.ac.enable | 9 +++++++++
3389 1 file changed, 9 insertions(+)
3391 commit c881226afd03a95e9b94f497477315d69197c238
3392 Author: Behdad Esfahbod <behdad@behdad.org>
3393 Date: Sat Sep 6 17:26:51 2008 -0400
3395 [configure.ac.enable] Further break feature configuration hooks
3397 build/configure.ac.enable | 231 +++++++++++++++++++++++++++------------------
3398 1 file changed, 138 insertions(+), 93 deletions(-)
3400 commit 31b09965b7c6210e5602167e260fa21b4c310bd1
3401 Author: Behdad Esfahbod <behdad@behdad.org>
3402 Date: Sat Sep 6 16:59:41 2008 -0400
3404 [configure.ac.enable] Move macros around
3406 build/configure.ac.enable | 247 +++++++++++++++++++++++----------------------
3407 1 file changed, 128 insertions(+), 119 deletions(-)
3409 commit e19103e38d0a23e3d49c8a63945b80069e2d949b
3410 Author: Behdad Esfahbod <behdad@behdad.org>
3411 Date: Sat Sep 6 16:34:18 2008 -0400
3413 [configure.ac.enable] Redo cache invalidation to be automatic
3415 build/configure.ac.enable | 49 +++++++++++++++++++++++++++++++++------------
3416 1 file changed, 36 insertions(+), 13 deletions(-)
3418 commit d520d5432bb94eb664652b09322cd254987bde6c
3419 Author: Behdad Esfahbod <behdad@behdad.org>
3420 Date: Sat Sep 6 15:54:23 2008 -0400
3422 [configure.ac.enable] Simplify _CAIRO_ENABLE_FULL
3424 build/configure.ac.enable | 61 ++++++++++++++++++---------------------------
3425 1 file changed, 24 insertions(+), 37 deletions(-)
3427 commit ee97873e0dad3ac60f6c39fb46bb5a7bb7480ae7
3428 Author: Behdad Esfahbod <behdad@behdad.org>
3429 Date: Sat Sep 6 15:34:29 2008 -0400
3431 [configure.ac.bulid] Break feature config into smaller hooks
3433 build/configure.ac.enable | 38 ++++++++++++++++++++++----------------
3434 1 file changed, 22 insertions(+), 16 deletions(-)
3436 commit 3ed9787f4358048965bbc35acf958a75a95261dd
3437 Author: Behdad Esfahbod <behdad@behdad.org>
3438 Date: Sat Sep 6 15:27:24 2008 -0400
3440 [configure.ac.enable] Add CAIRO_FEATURE_IF_ENABLED
3442 build/configure.ac.enable | 16 +++++++++++-----
3443 1 file changed, 11 insertions(+), 5 deletions(-)
3445 commit aba88e3437d88ebdf5bbeba72f0130ff4297bcdc
3446 Author: Behdad Esfahbod <behdad@behdad.org>
3447 Date: Sat Sep 6 15:12:32 2008 -0400
3449 [configure.ac.enable] Move all feature configureation to a single hook
3451 To be broken up in followup commits.
3453 build/configure.ac.enable | 209 ++++++++++++++++++++++++---------------------
3454 1 file changed, 111 insertions(+), 98 deletions(-)
3456 commit 7d39e4cbd722e39396904a43798c4743321b174c
3457 Author: Behdad Esfahbod <behdad@behdad.org>
3458 Date: Sat Sep 6 15:10:24 2008 -0400
3460 [configure.ac.enable] Add all-powerful hook registration macro
3462 build/configure.ac.enable | 82 ++++++++++++++++++++++++++++++++++++++++-----
3463 1 file changed, 73 insertions(+), 9 deletions(-)
3465 commit 61ef0ebdc39828fd8f1e10de914694e22c6b6aa1
3466 Author: Behdad Esfahbod <behdad@behdad.org>
3467 Date: Sat Sep 6 14:51:57 2008 -0400
3472 1 file changed, 2 insertions(+)
3474 commit eddb3f6a849a22bed0946e0f5031133e82429812
3475 Author: Behdad Esfahbod <behdad@behdad.org>
3476 Date: Sat Sep 6 09:50:57 2008 -0400
3478 [configure.ac.enable] More macro cleanup
3481 build/configure.ac.enable | 218 ++++++++++++++++++++++++---------------------
3482 2 files changed, 119 insertions(+), 100 deletions(-)
3484 commit 96e45e6779320cb0bed2a8d5f601180167c8a706
3485 Author: Behdad Esfahbod <behdad@behdad.org>
3486 Date: Fri Sep 5 01:18:39 2008 -0400
3488 [configure.ac] Cosmetic
3490 build/configure.ac.enable | 41 +++++++++++++++++++++++++++--------------
3491 1 file changed, 27 insertions(+), 14 deletions(-)
3493 commit a37806a9da21a196e94dfa99500c3551ff119231
3494 Author: Behdad Esfahbod <behdad@behdad.org>
3495 Date: Fri Sep 5 01:07:30 2008 -0400
3497 [configure.ac] Quote version macros
3499 configure.ac | 4 ++--
3500 1 file changed, 2 insertions(+), 2 deletions(-)
3502 commit 4edda79e711c3d82b5596694abb307ffa3fe855b
3503 Author: Behdad Esfahbod <behdad@behdad.org>
3504 Date: Fri Sep 5 00:57:15 2008 -0400
3506 [configure.ac] Sanitize feature names
3508 build/configure.ac.enable | 18 +++++++++---------
3509 1 file changed, 9 insertions(+), 9 deletions(-)
3511 commit c2062dc8b73d031e596d0b6c0f6fcc76839eb251
3512 Author: Benjamin Otte <otte@gnome.org>
3513 Date: Sat Sep 6 22:26:56 2008 +0200
3515 [doc] get rid of various markers that aren't interpreted by gtk-doc
3517 doc/public/tmpl/cairo-version.sgml | 16 ++++++++--------
3518 1 file changed, 8 insertions(+), 8 deletions(-)
3520 commit d45b3168db2362eaaa8ee29fc653509bc8f67e65
3521 Author: Chris Wilson <chris@chris-wilson.co.uk>
3522 Date: Fri Sep 5 06:58:56 2008 +0100
3524 [ps] Use a color_t rather than open-code.
3526 Simplify the code by tracking the current solid color with a
3529 src/cairo-ps-surface-private.h | 5 +----
3530 src/cairo-ps-surface.c | 10 ++--------
3531 src/cairo-types-private.h | 18 ++++++++++++++++++
3532 src/cairoint.h | 18 ------------------
3533 4 files changed, 21 insertions(+), 30 deletions(-)
3535 commit 85ed37da33522efa101eb508a4091bcfa24ae944
3536 Author: Chris Wilson <chris@chris-wilson.co.uk>
3537 Date: Sat Sep 6 09:10:25 2008 +0100
3539 [ps] A flattened gradient is not linear.
3541 We cannot express an alpha-gradient as a simple linear interpolation
3542 between 2 flattened colors. So fallback.
3544 src/cairo-ps-surface.c | 46 ++++++++++++++------------------
3545 test/Makefile.am | 2 --
3546 test/clip-operator-ps-argb32-ref.png | Bin 9102 -> 0 bytes
3547 test/clip-operator-ps-rgb24-ref.png | Bin 4620 -> 0 bytes
3548 test/gradient-alpha-ps-argb32-ref.png | Bin 189 -> 0 bytes
3549 test/gradient-alpha-ps-rgb24-ref.png | Bin 179 -> 0 bytes
3550 test/operator-clear-ps-argb32-ref.png | Bin 1435 -> 0 bytes
3551 test/operator-source-ps-argb32-ref.png | Bin 3890 -> 0 bytes
3552 test/operator-source-ps-rgb24-ref.png | Bin 3181 -> 0 bytes
3553 9 files changed, 20 insertions(+), 28 deletions(-)
3555 commit c1c86afa877b80a284365bcdaee11986bdd7da1f
3556 Author: Chris Wilson <chris@chris-wilson.co.uk>
3557 Date: Fri Sep 5 05:04:09 2008 +0100
3559 [ps] Use floating point values when flattening color.
3561 Use the full-precision color values when computing the alpha-blended
3564 src/cairo-ps-surface.c | 24 +++++++++++-------------
3565 test/Makefile.am | 1 +
3566 test/over-around-source-ps-rgb24-ref.png | Bin 0 -> 538 bytes
3567 3 files changed, 12 insertions(+), 13 deletions(-)
3569 commit e583fb061d2302b94188aabd381c566ac833bd94
3570 Author: Chris Wilson <chris@chris-wilson.co.uk>
3571 Date: Thu Sep 4 13:47:05 2008 +0100
3573 [type1] Allocate the temporary subsetter on the stack.
3575 Avoid a reasonably small, short-lived malloc by allocating the
3576 cairo_type1_font_subset_t on the stack.
3578 src/cairo-type1-subset.c | 75 +++++++++++++++++++---------------------------
3579 1 file changed, 31 insertions(+), 44 deletions(-)
3581 commit 0cadd4ab027c3196c8bfa3361f2507ceb62c7876
3582 Author: Chris Wilson <chris@chris-wilson.co.uk>
3583 Date: Thu Sep 4 10:25:54 2008 +0100
3585 [CODING_STYLE] Add vim modeline
3587 Add my vim recipe that most closely matches the coding style. If you can
3588 improve it, please do so!
3590 CODING_STYLE | 16 +++++++++++++++-
3591 1 file changed, 15 insertions(+), 1 deletion(-)
3593 commit 22de0f6b8d3d680f29d781e1d71cf35a29cd26a9
3594 Author: Behdad Esfahbod <behdad@behdad.org>
3595 Date: Thu Sep 4 23:26:19 2008 -0400
3597 [configure.ac] Add some automake options
3600 1 file changed, 1 insertion(+), 1 deletion(-)
3602 commit 82c91ec681bbd4fa8e64c411a94570a20a341ef0
3603 Author: Behdad Esfahbod <behdad@behdad.org>
3604 Date: Thu Sep 4 23:25:57 2008 -0400
3606 [util] Fix an automake warning
3608 util/Makefile.am | 2 +-
3609 1 file changed, 1 insertion(+), 1 deletion(-)
3611 commit 965b0e51ec8e1f57aaa7f7cdd86ef8968f059b7b
3612 Author: Behdad Esfahbod <behdad@behdad.org>
3613 Date: Thu Sep 4 23:25:27 2008 -0400
3615 [test] Do not include "xmalloc.h" directly
3617 Not needed, it's renamed and included by boilerplate directly.
3619 test/buffer-diff.c | 1 -
3620 test/cairo-test.c | 1 -
3621 test/imagediff.c | 1 -
3622 test/pthread-show-text.c | 1 -
3623 4 files changed, 4 deletions(-)
3625 commit 620e19e849f3dcc5747abe5b6d1adca4a08df9c7
3626 Author: Behdad Esfahbod <behdad@behdad.org>
3627 Date: Thu Sep 4 23:09:58 2008 -0400
3629 [configure.ac] Add AM_PROG_CC_C_O
3631 Needed for per-target flags in test/Makefile.am
3633 build/configure.ac.tools | 1 +
3634 1 file changed, 1 insertion(+)
3636 commit 4edfdb4b15ff9f1eacaae0fb0739a54e51ca8742
3637 Author: Behdad Esfahbod <behdad@behdad.org>
3638 Date: Thu Sep 4 22:30:49 2008 -0400
3640 Rename build/*.ac to build/configure.ac.*.
3642 Also rename configure.in to configure.ac (finally)
3644 configure.in -> configure.ac
3645 build/analysis.ac -> build/configure.ac.analysis
3646 build/enable.ac -> build/configure.ac.enable
3647 build/system.ac -> build/configure.ac.system
3648 build/tools.ac -> build/configure.ac.tools
3649 build/version.ac -> build/configure.ac.version
3650 build/warnings.ac -> build/configure.ac.warnings
3653 build/analysis.ac | 76 -------
3654 build/configure.ac.analysis | 76 +++++++
3655 build/configure.ac.enable | 428 ++++++++++++++++++++++++++++++++++++++
3656 build/configure.ac.system | 74 +++++++
3657 build/configure.ac.tools | 28 +++
3658 build/configure.ac.version | 43 ++++
3659 build/configure.ac.warnings | 65 ++++++
3660 build/enable.ac | 428 --------------------------------------
3661 build/system.ac | 74 -------
3662 build/tools.ac | 28 ---
3663 build/version.ac | 43 ----
3664 build/warnings.ac | 65 ------
3665 configure.ac | 482 +++++++++++++++++++++++++++++++++++++++++++
3666 configure.in | 482 -------------------------------------------
3667 15 files changed, 1200 insertions(+), 1201 deletions(-)
3669 commit 49f060252a2f40c727909d9e55463f40dcea2cdf
3670 Author: Behdad Esfahbod <behdad@behdad.org>
3671 Date: Thu Sep 4 22:25:33 2008 -0400
3673 Rename build/*.mk to build/Makefile.am.*
3677 build/Analysis.mk -> build/Makefile.am.analysis
3678 build/ChangeLog.mk -> build/Makefile.am.changelog
3679 build/Releasing.mk -> build/Makefile.am.releasing
3682 build/Analysis.mk | 35 ----------
3683 build/ChangeLog.mk | 82 -----------------------
3684 build/Makefile.am.analysis | 35 ++++++++++
3685 build/Makefile.am.changelog | 82 +++++++++++++++++++++++
3686 build/Makefile.am.releasing | 153 +++++++++++++++++++++++++++++++++++++++++++
3687 build/Releasing.mk | 153 -------------------------------------------
3688 7 files changed, 273 insertions(+), 273 deletions(-)
3690 commit 7ad076442d70c239c963c574849b2fb352ccd63a
3691 Author: Behdad Esfahbod <behdad@behdad.org>
3692 Date: Thu Sep 4 22:21:29 2008 -0400
3694 Rename src/*.mk to src/Makefile.*
3698 src/Sources.mk -> src/Makefile.sources
3699 src/Config.mk -> src/Makefile.am.config
3700 src/Config.mk.win32 -> src/Makefile.win32.config
3703 build/enable.ac | 8 +-
3704 doc/public/Makefile.am | 2 +-
3705 src/.gitignore | 4 +-
3706 src/Makefile.am | 6 +-
3707 src/Makefile.sources | 246 ++++++++++++++++++++++++++++++++++++++++++++++++
3708 src/Makefile.win32 | 2 +-
3710 src/Sources.mk | 246 ------------------------------------------------
3711 9 files changed, 260 insertions(+), 260 deletions(-)
3713 commit 8da361470fb8a4e11c7292dbfc57e3dafef7b7f0
3714 Author: Behdad Esfahbod <behdad@behdad.org>
3715 Date: Thu Sep 4 21:59:27 2008 -0400
3717 [configure.in] Forbid arbitrary CAIRO_ patterns in the output
3719 acinclude.m4 | 11 +++++++++--
3720 build/enable.ac | 7 +++++++
3721 2 files changed, 16 insertions(+), 2 deletions(-)
3723 commit 33ed2fffb571fd50e07417d93ecaa288749b79d2
3724 Author: Behdad Esfahbod <behdad@behdad.org>
3725 Date: Thu Sep 4 21:13:39 2008 -0400
3727 [build/enable.ac] Add a feature "type" argument (font, surface, ...)
3729 build/enable.ac | 73 +++++++++++++++++++++++++++++++------------------------
3730 1 file changed, 41 insertions(+), 32 deletions(-)
3732 commit c8e75f10079e410cc1925000b14f6d1606216723
3733 Author: Behdad Esfahbod <behdad@behdad.org>
3734 Date: Thu Sep 4 21:13:17 2008 -0400
3736 [acinclude.m4] Disallow "_CAIRO" patterns in the output
3741 1 file changed, 2 insertions(+)
3743 commit 86ef1dff59c5f1f11b8a672c6d3a16babc8fd8f9
3744 Author: Behdad Esfahbod <behdad@behdad.org>
3745 Date: Thu Sep 4 19:50:32 2008 -0400
3747 [configure.in] Break CAIRO_BACKEND_ENABLE into feature-specific ones
3749 build/enable.ac | 48 +++++++++++++++++++++++++++++++++++++++++++++---
3750 configure.in | 37 +++++++++++++++++++------------------
3751 2 files changed, 64 insertions(+), 21 deletions(-)
3753 commit 4a96eb79ce75b60025c3da0a7782ffc2bd712ee7
3754 Author: Behdad Esfahbod <behdad@behdad.org>
3755 Date: Thu Sep 4 17:50:15 2008 -0400
3757 [build/enable.ac] Reformat for readability
3759 build/enable.ac | 216 ++++++++++++++++++++++++++++---------------------------
3760 1 file changed, 112 insertions(+), 104 deletions(-)
3762 commit c28882728cbdc7e70caa2a869ded2b4f180a2f33
3763 Author: Behdad Esfahbod <behdad@behdad.org>
3764 Date: Thu Sep 4 17:22:07 2008 -0400
3766 [configure.in] Remove unused variables
3768 build/enable.ac | 4 +---
3769 1 file changed, 1 insertion(+), 3 deletions(-)
3771 commit 47547cf05140a539fff0a2afb7e9d155e5d40f27
3772 Author: Behdad Esfahbod <behdad@behdad.org>
3773 Date: Thu Sep 4 16:41:51 2008 -0400
3775 [configure.in] Move report generation to build/enable.ac
3777 build/enable.ac | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
3778 configure.in | 57 +--------------------------
3779 2 files changed, 110 insertions(+), 65 deletions(-)
3781 commit 37f82a4d1b95586859552958306376fd72a4a1cd
3782 Author: Behdad Esfahbod <behdad@behdad.org>
3783 Date: Thu Sep 4 16:13:05 2008 -0400
3785 Get rid of CAIRO_LDADD in favor of CAIRO_LIBS
3787 build/analysis.ac | 2 +-
3788 build/enable.ac | 2 --
3789 src/Makefile.am | 2 +-
3790 3 files changed, 2 insertions(+), 4 deletions(-)
3792 commit 44155f7e5941351b224b60644632b55448369e49
3793 Author: Behdad Esfahbod <behdad@behdad.org>
3794 Date: Thu Sep 4 16:00:40 2008 -0400
3796 Cleanup configure.in macros
3798 acinclude.m4 | 107 ++++++++++++++++++++++++-----------
3799 build/enable.ac | 11 ++--
3800 build/system.ac | 122 ++++++++++++++++------------------------
3801 src/cairo-atomic-private.h | 13 +++--
3802 src/cairo-atomic.c | 2 +-
3803 src/cairo-mutex-list-private.h | 2 +-
3804 6 files changed, 139 insertions(+), 118 deletions(-)
3806 commit 0e01534bf0bd64af840ccfa8aeaa1ac1a7cb31b7
3807 Author: Behdad Esfahbod <behdad@behdad.org>
3808 Date: Thu Sep 4 09:13:49 2008 -0400
3810 [boilerplate] Rename xmalloc.[ch] to boilerplate namespace
3812 boilerplate/Makefile.am | 5 +-
3813 boilerplate/cairo-boilerplate-system.c | 147 ++++++++++++++++++++++++++++++++
3814 boilerplate/cairo-boilerplate-system.h | 51 +++++++++++
3815 boilerplate/cairo-boilerplate.h | 2 +-
3816 boilerplate/xmalloc.c | 147 --------------------------------
3817 boilerplate/xmalloc.h | 51 -----------
3818 6 files changed, 202 insertions(+), 201 deletions(-)
3820 commit c16b4520ecc9114a7052c7afc54b264b764e5be6
3821 Author: Behdad Esfahbod <behdad@behdad.org>
3822 Date: Thu Sep 4 09:07:52 2008 -0400
3824 [autogen.sh] Only search in build/*.ac
3827 1 file changed, 1 insertion(+), 1 deletion(-)
3829 commit f92c7c2b25b37bb7c64411222089b7198d6f6c7d
3830 Author: Chris Wilson <chris@chris-wilson.co.uk>
3831 Date: Thu Sep 4 03:06:58 2008 +0100
3833 [autogen] Check build/ for versions.
3835 Add the build/*.mk to extract_version() so that it correctly identifies
3839 1 file changed, 1 insertion(+), 1 deletion(-)
3841 commit 097c4ac022be6e1b86c0acf3e6a4f06d784dd661
3842 Author: Behdad Esfahbod <behdad@behdad.org>
3843 Date: Wed Sep 3 20:51:51 2008 -0400
3845 [Makefile.am] Use check_PROGRAMS
3847 boilerplate/Makefile.am | 2 +-
3848 src/Makefile.am | 3 +--
3849 2 files changed, 2 insertions(+), 3 deletions(-)
3851 commit 308a2ca928f8a36f07a758c443e77d0e2bdc02d0
3852 Author: Behdad Esfahbod <behdad@behdad.org>
3853 Date: Wed Sep 3 20:50:49 2008 -0400
3855 [doc/public/check-doc-coverage.sh] Also test cairo-undeclared
3857 doc/public/check-doc-coverage.sh | 14 +++++++-------
3858 1 file changed, 7 insertions(+), 7 deletions(-)
3860 commit b1ced45f064fca66e570d4f2b5e87a4c5160e17c
3861 Author: Behdad Esfahbod <behdad@behdad.org>
3862 Date: Wed Sep 3 20:50:26 2008 -0400
3864 [doc] Fix out-of-tree build
3866 build/enable.ac | 2 +-
3867 src/Makefile.am | 4 ++--
3868 2 files changed, 3 insertions(+), 3 deletions(-)
3870 commit 5c45aa130865f2b279ac0b391f2bd5833ff891bd
3871 Author: Behdad Esfahbod <behdad@behdad.org>
3872 Date: Wed Sep 3 20:06:26 2008 -0400
3874 [configure.in] Split in various files
3876 Now the configure.in file mostly holds the backend enabling logic.
3877 The usual cruft has been moved in smaller files named build/*.ac.
3879 acinclude.m4 | 93 +++++++
3880 build/analysis.ac | 76 ++++++
3881 build/enable.ac | 263 ++++++++++++++++++++
3882 build/system.ac | 98 ++++++++
3883 build/tools.ac | 28 +++
3884 build/version.ac | 43 ++++
3885 build/warnings.ac | 65 +++++
3886 configure.in | 717 ++---------------------------------------------------
3887 8 files changed, 688 insertions(+), 695 deletions(-)
3889 commit 06ec8b7743ab2a184b0c748a43ba67085920cbe6
3890 Author: Behdad Esfahbod <behdad@behdad.org>
3891 Date: Wed Sep 3 19:09:57 2008 -0400
3893 Move some top-level build files into build/
3896 Analysis.mk | 35 ------------
3897 ChangeLog.mk | 82 ----------------------------
3898 Makefile.am | 22 ++++----
3899 Releasing.mk | 153 ----------------------------------------------------
3900 build/.gitignore | 8 +++
3901 build/Analysis.mk | 35 ++++++++++++
3902 build/ChangeLog.mk | 82 ++++++++++++++++++++++++++++
3903 build/Releasing.mk | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3905 10 files changed, 290 insertions(+), 290 deletions(-)
3907 commit 2cf4b3161c19b9b0349bd2aa94855fd0822968be
3908 Author: Vladimir Vukicevic <vladimir@pobox.com>
3909 Date: Wed Sep 3 15:34:40 2008 -0700
3911 [quartz] move _cairo_quartz_create_cgimage to cairo-quartz-surface.c
3913 src/cairo-quartz-image-surface.c | 86 --------------------------------------
3914 src/cairo-quartz-surface.c | 86 +++++++++++++++++++++++++++++++++++++-
3915 2 files changed, 85 insertions(+), 87 deletions(-)
3917 commit e3fb4921a37ede88d3ecc6578ea96fcbb7776c0f
3918 Author: Behdad Esfahbod <behdad@behdad.org>
3919 Date: Wed Sep 3 17:53:15 2008 -0400
3921 [configure.in] No, OS X sed is broken in much more than one way, really
3923 configure.in | 16 ++++++++--------
3924 1 file changed, 8 insertions(+), 8 deletions(-)
3926 commit 62136640423b519aef8c40e5f5cadcfc676d7249
3927 Author: Behdad Esfahbod <behdad@behdad.org>
3928 Date: Wed Sep 3 17:21:05 2008 -0400
3930 [configure.in] Travis says this time it will work...
3932 configure.in | 16 ++++++++--------
3933 1 file changed, 8 insertions(+), 8 deletions(-)
3935 commit 190a328204ea87ffe4bc527a32a7cd503d0450bd
3936 Author: Behdad Esfahbod <behdad@behdad.org>
3937 Date: Wed Sep 3 17:15:07 2008 -0400
3939 [configure.in] I'm reminded that it's more portable to do -i first...
3941 configure.in | 4 ++--
3942 1 file changed, 2 insertions(+), 2 deletions(-)
3944 commit 55690639c7cdb3dd9c426d0a8e14d66f004a200d
3945 Author: Behdad Esfahbod <behdad@behdad.org>
3946 Date: Wed Sep 3 17:05:53 2008 -0400
3948 [configure.in] Don't use sed -e. Fixes build on Macs
3950 configure.in | 16 ++++++++--------
3951 1 file changed, 8 insertions(+), 8 deletions(-)
3953 commit df7e365662649b9c434f0b558eb881183faed282
3954 Author: Behdad Esfahbod <behdad@behdad.org>
3955 Date: Wed Sep 3 16:48:43 2008 -0400
3957 [configure.in] Oops, this m4 quoting is tricky. Another try.
3959 configure.in | 4 ++--
3960 1 file changed, 2 insertions(+), 2 deletions(-)
3962 commit f2f1653fcf7bbd56befe8d297dca5149b5536275
3963 Author: Behdad Esfahbod <behdad@behdad.org>
3964 Date: Wed Sep 3 16:40:35 2008 -0400
3966 [configure.in] m4 voodoo
3969 1 file changed, 1 insertion(+), 1 deletion(-)
3971 commit 3760a0192600f5c179d09273e89e018fdca894ec
3972 Author: Behdad Esfahbod <behdad@behdad.org>
3973 Date: Wed Sep 3 16:40:24 2008 -0400
3975 [configure.in] Use $SED instead of sed
3977 configure.in | 3 ++-
3978 1 file changed, 2 insertions(+), 1 deletion(-)
3980 commit 5ea2555c12e8a511759f8dbb4fe8b6f1d8b4af8d
3981 Author: Behdad Esfahbod <behdad@behdad.org>
3982 Date: Wed Sep 3 12:16:36 2008 -0400
3984 [Makefile.am] Move lcov rules to Analysis.mk
3986 Analysis.mk | 35 +++++++++++++++++++++++++++++
3987 Makefile.am | 72 ++++++++++++++---------------------------------------------
3988 2 files changed, 52 insertions(+), 55 deletions(-)
3990 commit c8f23c2fcc034f6a0cb62ed72659ce748ec3871d
3991 Author: Behdad Esfahbod <behdad@behdad.org>
3992 Date: Wed Sep 3 12:06:51 2008 -0400
3994 [Makefile.am] Move releasing rules to Releasing.mk
3996 Makefile.am | 150 ++------------------------------------------------------
3997 Releasing.mk | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3998 2 files changed, 157 insertions(+), 146 deletions(-)
4000 commit 99e2e2d0bbe8ec3b57576da7d72184fb1df230fa
4001 Author: Behdad Esfahbod <behdad@behdad.org>
4002 Date: Wed Sep 3 12:06:35 2008 -0400
4004 [src/Makefile.am] Minor fix in MAINTAINERCLEANFILES
4006 src/Makefile.am | 2 +-
4007 1 file changed, 1 insertion(+), 1 deletion(-)
4009 commit 2791d51f6e0c9ac7bfeb82ba158dd5465983121a
4010 Author: Behdad Esfahbod <behdad@behdad.org>
4011 Date: Wed Sep 3 11:41:07 2008 -0400
4013 [src/README] Refer to BIBLIOGRAPHY
4015 src/README | 11 +++++++++++
4016 1 file changed, 11 insertions(+)
4018 commit 8992312df016f5112a3e9907bd34fb153330f162
4019 Author: Chris Wilson <chris@chris-wilson.co.uk>
4020 Date: Wed Sep 3 16:12:53 2008 +0100
4022 [scaled-fonts] Cleanup a couple of valgrind warnings.
4024 Beware the propagation of uninitialised variables and forgotten error
4027 src/cairo-scaled-font-subsets.c | 38 ++++++++++++++++++++------------------
4028 src/cairo-truetype-subset.c | 5 ++---
4029 2 files changed, 22 insertions(+), 21 deletions(-)
4031 commit 855310bc1f226292646931add0a5e6e6604730ba
4032 Author: Behdad Esfahbod <behdad@behdad.org>
4033 Date: Wed Sep 3 11:31:48 2008 -0400
4035 [HACKING] Write some more paragraphs
4037 HACKING | 23 ++++++++++++++++++++++-
4038 1 file changed, 22 insertions(+), 1 deletion(-)
4040 commit 3b7726e3d460d961f3acc055f70778c0b3e1dce4
4041 Author: Chris Wilson <chris@chris-wilson.co.uk>
4042 Date: Wed Sep 3 14:06:43 2008 +0100
4044 [src/Makefile.am] s/libcairo_la_CFLAGS/INCLUDES/
4046 Update the custom rules after the overall to the build system.
4048 src/Makefile.am | 12 ++++++------
4049 1 file changed, 6 insertions(+), 6 deletions(-)
4051 commit c18cc5b44176ba0916a3fb9deb1548db149f01d4
4052 Author: Chris Wilson <chris@chris-wilson.co.uk>
4053 Date: Wed Sep 3 10:00:14 2008 +0100
4055 [src/Makefile.am] make check compile fix
4057 Minor typo preventing TESTS from building.
4059 src/Makefile.am | 2 +-
4060 1 file changed, 1 insertion(+), 1 deletion(-)
4062 commit cf212ddacaf012f506c680ebd10477018b7e936a
4063 Author: Behdad Esfahbod <behdad@behdad.org>
4064 Date: Tue Sep 2 22:05:06 2008 -0400
4066 Also test linking when cross-compiling
4068 We build the test. Just don't run it.
4070 boilerplate/Makefile.am | 1 +
4071 src/Makefile.am | 1 +
4072 2 files changed, 2 insertions(+)
4074 commit 78127c7fb43db9e020551b04d8f85e0bdcc4c894
4075 Author: Behdad Esfahbod <behdad@behdad.org>
4076 Date: Tue Sep 2 22:03:05 2008 -0400
4078 [boilerplate/check-link.c] Oops. Add it.
4080 boilerplate/check-link.c | 24 ++++++++++++++++++++++++
4081 1 file changed, 24 insertions(+)
4083 commit bd9743b318c0f3a76f72d2e05eb71eb918acdfae
4084 Author: Behdad Esfahbod <behdad@behdad.org>
4085 Date: Tue Sep 2 22:01:37 2008 -0400
4087 [HACKING] Improve win32 note.
4090 1 file changed, 1 insertion(+), 1 deletion(-)
4092 commit 0234fb9197edbba14a4cb8cc7dda1778f49e3fed
4093 Author: Behdad Esfahbod <behdad@behdad.org>
4094 Date: Tue Sep 2 22:00:05 2008 -0400
4096 [boilerplate/check-link.c] Check that we can link to the built boilerplate
4098 boilerplate/.gitignore | 1 +
4099 boilerplate/Makefile.am | 16 ++++++++++++----
4100 2 files changed, 13 insertions(+), 4 deletions(-)
4102 commit 7e45937e21101648fd8dc01e1684a0515c10715b
4103 Author: Behdad Esfahbod <behdad@behdad.org>
4104 Date: Tue Sep 2 21:56:37 2008 -0400
4106 [boilerplate] Add cairo_boilerplate_version[_string]() functions
4108 boilerplate/cairo-boilerplate.c | 18 ++++++++++++++++++
4109 boilerplate/cairo-boilerplate.h | 6 ++++++
4110 2 files changed, 24 insertions(+)
4112 commit a7951081f153934cbf93215c5e255b99ec3e1157
4113 Author: Behdad Esfahbod <behdad@behdad.org>
4114 Date: Tue Sep 2 21:50:08 2008 -0400
4116 Move _GNU_SOURCE declarations to where it's used
4118 Such that we don't rely on more GNU extensions accidentally.
4120 perf/Makefile.am | 5 -----
4121 perf/cairo-perf-posix.c | 2 ++
4122 perf/cairo-perf.c | 2 ++
4123 test/Makefile.am | 6 ------
4124 test/cairo-test.c | 2 ++
4125 test/invalid-matrix.c | 5 ++++-
4126 6 files changed, 10 insertions(+), 12 deletions(-)
4128 commit b4cee2bd88f36b2eddacfe91726b698ae61c819b
4129 Author: Behdad Esfahbod <behdad@behdad.org>
4130 Date: Tue Sep 2 21:35:53 2008 -0400
4132 [boilerplate] Remove obsolete reference to pixman
4134 boilerplate/Makefile.am | 1 -
4135 1 file changed, 1 deletion(-)
4137 commit e3d190c92f16c3b6cd3bf3791959c247b7aaa7ac
4138 Author: Behdad Esfahbod <behdad@behdad.org>
4139 Date: Tue Sep 2 21:35:18 2008 -0400
4141 [boilerplate] Cleanup
4143 boilerplate/Makefile.am | 5 -----
4144 boilerplate/xmalloc.c | 2 ++
4145 2 files changed, 2 insertions(+), 5 deletions(-)
4147 commit af0069c1c4599a93b1f55a0a4aa0b67d8d754c0d
4148 Author: Behdad Esfahbod <behdad@behdad.org>
4149 Date: Tue Sep 2 21:31:47 2008 -0400
4151 [autogen.sh] Create dummy src/Config.mk so we can bootstrap
4154 1 file changed, 3 insertions(+)
4156 commit 2823ebaa6e0a14c4270ec973467fc0f76dc34fd5
4157 Author: Behdad Esfahbod <behdad@behdad.org>
4158 Date: Tue Sep 2 20:59:38 2008 -0400
4160 [src/check-link.c] Simple test to check we can link to the built cairo.so
4163 src/.gitignore | 1 +
4164 src/Makefile.am | 30 ++++++++++++++++++++++++++----
4165 src/check-cairoint.sh | 2 +-
4166 src/check-link.c | 24 ++++++++++++++++++++++++
4167 5 files changed, 53 insertions(+), 5 deletions(-)
4169 commit 59262577708ddb656851624377efb2a671fa8ca3
4170 Author: Behdad Esfahbod <behdad@behdad.org>
4171 Date: Tue Sep 2 20:20:49 2008 -0400
4173 Revamp the build system.
4175 Quick summary of changes:
4177 - Move list of cairo source files out of src/Makefile.am and into
4180 - Generate files src/Config.mk and src/Config.mk.win32 that choose
4181 the right set of source files and headers based on configured
4182 backends and features. This drastically simplifies building
4183 using other build systems. The src/Makefile.win32 file needs
4184 to be updated to reflect these changes.
4186 - Add README files to various directories,
4188 - Add toplevel HACKING file.
4192 HACKING | 165 +++++++++++++
4195 boilerplate/.gitignore | 1 +
4196 configure.in | 136 +++++++----
4197 doc/public/Headers.mk | 52 -----
4198 doc/public/Makefile.am | 30 +--
4199 doc/public/README | 37 +++
4200 perf/.gitignore | 2 +
4201 src/.gitignore | 5 +-
4202 src/Makefile.am | 383 ++++---------------------------
4203 src/Makefile.win32 | 3 +-
4204 src/README | 58 +++++
4205 src/Sources.mk | 246 ++++++++++++++++++++
4206 src/cairo-cff-subset.c | 5 +
4207 src/cairo-clip-private.h | 3 +
4208 src/cairo-compiler-private.h | 6 +-
4209 src/cairo-freelist-private.h | 1 +
4210 src/cairo-misc.c | 68 ++++++
4211 src/cairo-mutex-impl-private.h | 6 -
4212 src/cairo-mutex-private.h | 4 +
4213 src/cairo-mutex-type-private.h | 6 -
4214 src/cairo-output-stream-private.h | 4 +
4215 src/cairo-path-fixed-private.h | 2 +
4216 src/cairo-pdf-operators-private.h | 1 -
4217 src/cairo-pdf-operators.c | 5 +
4218 src/cairo-ps-surface-private.h | 2 +
4219 src/cairo-reference-count-private.h | 4 +
4220 src/cairo-region-private.h | 1 +
4221 src/cairo-scaled-font-subsets-private.h | 10 +
4222 src/cairo-scaled-font-subsets.c | 5 +
4223 src/cairo-truetype-subset-private.h | 4 +
4224 src/cairo-truetype-subset.c | 4 +
4225 src/cairo-type1-fallback.c | 5 +
4226 src/cairo-type1-private.h | 6 +
4227 src/cairo-type1-subset.c | 10 +
4228 src/cairo-type3-glyph-surface-private.h | 6 +
4229 src/cairo-type3-glyph-surface.c | 5 +
4230 src/cairo-types-private.h | 29 +--
4231 src/cairo-user-font-private.h | 1 +
4232 src/cairo-win32.c | 98 --------
4233 src/cairo-xlib-xrender-private.h | 7 +-
4234 src/cairoint.h | 14 +-
4235 src/check-doc-syntax.sh | 2 +-
4236 test/.gitignore | 1 +
4237 test/Makefile.am | 3 +
4238 test/pdiff/.gitignore | 2 +
4239 util/README | 69 ++++++
4240 50 files changed, 932 insertions(+), 600 deletions(-)
4242 commit 5cb3e66305b25a3380f2ca5829ac81e4a27e76d0
4243 Author: Behdad Esfahbod <behdad@behdad.org>
4244 Date: Tue Sep 2 15:32:54 2008 -0400
4246 [configure.in] Create temp file in current dir
4248 Such that we can use the CAIRO_CONFIG_COMMANDS macro to regenerate
4249 files in $srcdir and still be readonly-source-tree happy if nothing
4250 changed in the target file.
4252 configure.in | 5 +++--
4253 1 file changed, 3 insertions(+), 2 deletions(-)
4255 commit e977f32346a602b9644a2c59e612896f34af2c74
4256 Author: Behdad Esfahbod <behdad@behdad.org>
4257 Date: Tue Sep 2 00:14:46 2008 -0400
4259 [configure.in] Create backend .pc files using CAIRO_CONFIG_COMMANDS
4261 configure.in | 26 +++++++++++++++++---------
4262 1 file changed, 17 insertions(+), 9 deletions(-)
4264 commit 1bdd6110f6d5df6556f201e06e519e68640e6215
4265 Author: Behdad Esfahbod <behdad@behdad.org>
4266 Date: Mon Sep 1 23:35:03 2008 -0400
4268 [configure.in] Consistently use _save_cflags/libs
4270 configure.in | 20 ++++++++++----------
4271 1 file changed, 10 insertions(+), 10 deletions(-)
4273 commit 004012f1bc2b5c359e3c00bb3c2e893c73fd5471
4274 Author: Behdad Esfahbod <behdad@behdad.org>
4275 Date: Mon Sep 1 23:28:39 2008 -0400
4277 [configure.in] Cache WARN_UNUSED_RESULT test results
4279 configure.in | 23 +++++++++++++----------
4280 1 file changed, 13 insertions(+), 10 deletions(-)
4282 commit ac246426148ddf9b33aa2b03cbafec867509e814
4283 Author: Behdad Esfahbod <behdad@behdad.org>
4284 Date: Mon Sep 1 22:58:57 2008 -0400
4286 [configure.in] Use warning-flag facilities for -fno-strict-aliasing
4288 configure.in | 6 +++---
4289 1 file changed, 3 insertions(+), 3 deletions(-)
4291 commit d28243785a234648c4c4c60faa44658041400f81
4292 Author: Behdad Esfahbod <behdad@behdad.org>
4293 Date: Mon Sep 1 22:52:44 2008 -0400
4295 [configure.in] Remove unused MMX checks
4297 Leftover from pixman days
4299 configure.in | 23 -----------------------
4300 1 file changed, 23 deletions(-)
4302 commit 74cd03be7085bf33dc122387df3e2fb25ee35c53
4303 Author: Behdad Esfahbod <behdad@behdad.org>
4304 Date: Mon Sep 1 22:49:16 2008 -0400
4306 [configure.in] Cache atomic-ops check results
4308 configure.in | 27 ++++++++++++++-------------
4309 1 file changed, 14 insertions(+), 13 deletions(-)
4311 commit 7af228ab836d1871160c3b89079bcd660bac2074
4312 Author: Behdad Esfahbod <behdad@behdad.org>
4313 Date: Mon Sep 1 22:37:28 2008 -0400
4315 [configure.in] Make unsupported-backend warning generation automatic
4317 configure.in | 40 ++++++++++------------------------------
4318 1 file changed, 10 insertions(+), 30 deletions(-)
4320 commit 7510aa803355faae3c8abe9fb79238185cb2ce95
4321 Author: Behdad Esfahbod <behdad@behdad.org>
4322 Date: Mon Sep 1 22:15:03 2008 -0400
4324 [configure.in] Define CAIRO_CONFIG_COMMANDS for easier file creation
4326 configure.in | 94 ++++++++++++++++++++++++++++------------------------------
4327 1 file changed, 46 insertions(+), 48 deletions(-)
4329 commit 5f1993c53a11d87ee0506287f206bd0e400b76e9
4330 Author: Behdad Esfahbod <behdad@behdad.org>
4331 Date: Mon Sep 1 21:51:05 2008 -0400
4333 [configure] Add user-fonts to list of configured components
4335 configure.in | 3 ++-
4336 1 file changed, 2 insertions(+), 1 deletion(-)
4338 commit 33859070975ebc164f4f02093a2fe3335ccdb855
4339 Author: Behdad Esfahbod <behdad@behdad.org>
4340 Date: Mon Sep 1 21:50:31 2008 -0400
4342 [configure.in] Don't include cairo-features.h in cairo-no-features.h
4344 No idea why I did before.
4347 1 file changed, 2 deletions(-)
4349 commit 5f571290db05858133634f3d075030e1b3a3d121
4350 Author: Behdad Esfahbod <behdad@behdad.org>
4351 Date: Mon Sep 1 21:49:59 2008 -0400
4353 [configure.in] Add CAIRO_BEGIN/END_DECLS to config.h
4355 configure.in | 10 ++++++++++
4356 1 file changed, 10 insertions(+)
4358 commit 2553579cc89d2ea2084983efd41b60ae5e32816b
4359 Author: Behdad Esfahbod <behdad@behdad.org>
4360 Date: Mon Sep 1 21:48:07 2008 -0400
4362 [doc] Clean up doc file names
4364 doc/public/cairo-docs.xml | 12 +++++-----
4365 doc/public/cairo-sections.txt | 52 ++++++++++++++++++++---------------------
4366 2 files changed, 32 insertions(+), 32 deletions(-)
4368 commit a5a896aae831e5224dd5bd4bc711f3212f738ba1
4369 Author: Behdad Esfahbod <behdad@behdad.org>
4370 Date: Thu Aug 28 19:36:12 2008 -0400
4374 doc/public/Makefile.am | 7 +++----
4375 doc/public/tmpl/cairo-version.sgml | 3 +--
4376 2 files changed, 4 insertions(+), 6 deletions(-)
4378 commit 7b2e8035f253e4667ebdb285d7b49aaece88f3b3
4379 Author: Chris Wilson <chris@chris-wilson.co.uk>
4380 Date: Tue Sep 2 10:54:13 2008 +0100
4382 [cairo-test] Fixup a few memleaks on failure.
4384 Free the test image before jumping to UNWIND_CAIRO.
4386 test/cairo-test.c | 5 +++++
4387 1 file changed, 5 insertions(+)
4389 commit a5d33bcbb43cd1738e45b803c1aa968aff55e7ab
4390 Author: Chris Wilson <chris@chris-wilson.co.uk>
4391 Date: Tue Sep 2 10:28:17 2008 +0100
4393 [xlib] Keep a pointer to the cairo_xlib_display_t on the surface.
4395 Cleanup the code somewhat by passing cairo_xlib_display_t around
4396 internally as opposed to a Display and then having to lookup the
4397 corresponding cairo_xlib_display_t each time.
4399 [To get a cairo_xlib_display_t from a Display is a list traversal under
4400 mutex (though the element we're looking for is most likely at the start),
4401 but to get the Display is just a lockless pointer dereference.]
4403 src/cairo-xlib-display.c | 29 +++++---------------
4404 src/cairo-xlib-private.h | 10 +++----
4405 src/cairo-xlib-screen.c | 14 +++-------
4406 src/cairo-xlib-surface-private.h | 1 +
4407 src/cairo-xlib-surface.c | 55 ++++++++++++++++++++++----------------
4408 5 files changed, 48 insertions(+), 61 deletions(-)
4410 commit 939b836bfa95df759aca96936bb9a6d89d3130b8
4411 Author: Chris Wilson <chris@chris-wilson.co.uk>
4412 Date: Tue Sep 2 10:08:04 2008 +0100
4414 [xlib] Use an embedded doubly-linked list for the close display hooks.
4416 Kill the allocation and linear search of the close display list on remove,
4417 by embedding a list node into the parent structure.
4419 Original patch by Karl Tomlinson <karlt+@karlt.net>, Mozilla Corporation.
4420 https://bugzilla.mozilla.org/show_bug.cgi?id=453199#c5
4422 src/cairo-xlib-display.c | 90 +++++++++++++++++---------------------
4423 src/cairo-xlib-private.h | 13 +++---
4424 src/cairo-xlib-surface-private.h | 1 +
4425 src/cairo-xlib-surface.c | 35 ++++++++++++---
4426 src/cairoint.h | 10 +++++
4427 5 files changed, 88 insertions(+), 61 deletions(-)
4429 commit 38f779afcb84d48a1a146eec11a6db5c484d3578
4430 Author: Chris Wilson <chris@chris-wilson.co.uk>
4431 Date: Tue Sep 2 09:12:44 2008 +0100
4433 [user-font] Propagate status return.
4435 An error return possible went unpropagated - fix that. Also whilst in the
4436 vicinity avoid the non-constant initialisation of the local variable
4437 before the antiquated compilers moan.
4439 src/cairo-user-font.c | 10 ++++++++--
4440 1 file changed, 8 insertions(+), 2 deletions(-)
4442 commit 83f390cfc5f594444413dfed3346e8412cb4c973
4443 Author: Chris Wilson <chris@chris-wilson.co.uk>
4444 Date: Mon Sep 1 18:23:00 2008 +0100
4446 [ps] Initialise has_creation_date.
4448 Slipped by check-valgrind, since the boilerplate always initialised it
4449 when explicitly setting the date.
4451 src/cairo-ps-surface.c | 1 +
4452 1 file changed, 1 insertion(+)
4454 commit e955b7399ef5741c8f2fda1c4aa73e02c2ce39d0
4455 Author: Chris Wilson <chris@chris-wilson.co.uk>
4456 Date: Mon Sep 1 15:33:05 2008 +0100
4458 Check that lvalue of BITSWAP8() is a uint8_t.
4460 The bit-swapping macro uses the full register for intermediate storage so
4461 we need to be careful to only read the low byte when using the result.
4463 [Only the use in ps-surface.c was incorrect, I just converted the other
4464 unsigned chars to uint8_t for consistency.]
4466 src/cairo-ft-font.c | 2 +-
4467 src/cairo-pdf-surface.c | 2 +-
4468 src/cairo-ps-surface.c | 23 +++++++++++------------
4469 src/cairo-scaled-font.c | 2 +-
4470 src/cairo-svg-surface.c | 4 ++--
4471 5 files changed, 16 insertions(+), 17 deletions(-)
4473 commit d756a4d6323d23cecb928822cdac7528859e7cf3
4474 Author: Vladimir Vukicevic <vladimir@pobox.com>
4475 Date: Thu Aug 28 23:58:29 2008 -0700
4477 [xlib] check for too-large surface size in create similar to avoid UNSUPPORTED loop
4479 src/cairo-xlib-surface.c | 3 +++
4480 1 file changed, 3 insertions(+)
4482 commit 894940b81f0272a2993d3a785fd505b3a4375e6e
4483 Author: Behdad Esfahbod <behdad@behdad.org>
4484 Date: Thu Aug 28 18:18:23 2008 -0400
4486 Some nasty tracks to make changing version number not cause a total rebuild
4488 Quite slick! This comes handy when git-bisect'ing. The canonical version
4489 number is in toplevel cairo-version.h now.
4493 cairo-version.h | 8 +++++
4495 src/Makefile.am | 2 ++
4496 src/cairo-misc.c | 44 --------------------------
4497 src/cairo-version.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++
4498 src/cairo-version.h | 12 +++++--
4499 8 files changed, 113 insertions(+), 52 deletions(-)
4501 commit ab5c528de2fc744d77c44ea1a9a3467f1ec5f81d
4502 Author: Behdad Esfahbod <behdad@behdad.org>
4503 Date: Thu Aug 28 17:36:43 2008 -0400
4505 Undefine PACKAGE* macros defined by autotools
4507 We use our own macros. This makes it easier for other build systems.
4509 src/cairoint.h | 7 +++++++
4510 1 file changed, 7 insertions(+)
4512 commit 47b3c9aa3f7860326e624a053675112a7ad24419
4513 Author: Behdad Esfahbod <behdad@behdad.org>
4514 Date: Thu Aug 28 17:29:32 2008 -0400
4516 Move version functions to cairo-misc.c
4518 src/cairo-misc.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
4519 src/cairo.c | 43 -------------------------------------------
4520 2 files changed, 44 insertions(+), 43 deletions(-)
4522 commit 89900525fb78b20c532b8d983c238896f6e4820c
4523 Author: Behdad Esfahbod <behdad@behdad.org>
4524 Date: Thu Aug 28 17:21:37 2008 -0400
4526 Move version number to src/cairo-version.h
4529 Makefile.win32 | 15 ++-------------
4530 RELEASING | 10 +++-------
4531 Version.mk | 10 ----------
4532 configure.in | 29 +++++-----------------------
4533 doc/public/cairo-sections.txt | 3 +++
4534 doc/public/tmpl/cairo-surface.sgml | 4 ++--
4535 doc/public/tmpl/cairo-version.sgml | 16 ++++++++++++++++
4536 src/Makefile.am | 1 +
4537 src/cairo-features-win32.h | 26 -------------------------
4538 src/cairo-image-surface.c | 3 ++-
4539 src/cairo-version.h | 8 ++++++++
4540 src/cairo.h | 37 ++++++++++++++++++++++++++++++------
4541 13 files changed, 74 insertions(+), 90 deletions(-)
4543 commit 82303d6170aa541a3dc8c2519c7cc1445fc18842
4544 Author: Behdad Esfahbod <behdad@behdad.org>
4545 Date: Thu Aug 28 14:40:56 2008 -0400
4547 [autogen.sh] Handle case of no aclocal found
4549 autogen.sh | 6 +++---
4550 1 file changed, 3 insertions(+), 3 deletions(-)
4552 commit 1c6556f6566b7bdfd2c8f46e8a6b6a35c9ae6891
4553 Author: Antoine Azar <cairo@antoineazar.com>
4554 Date: Thu Aug 28 11:06:40 2008 -0700
4556 Fixed cairo version in win32 makefile
4558 Makefile.win32 | 9 ++++++---
4559 1 file changed, 6 insertions(+), 3 deletions(-)
4561 commit 22552dae517c25e4eadd44e76d06469a4c95db93
4562 Author: Behdad Esfahbod <behdad@behdad.org>
4563 Date: Wed Aug 27 20:08:49 2008 -0400
4565 Rename _cairo_matrix_compute_scale_factors to _cairo_matrix_compute_basis_scale_factors
4567 src/cairo-ft-font.c | 2 +-
4568 src/cairo-matrix.c | 33 +++++++++++++++++++++++----------
4569 src/cairo-quartz-font.c | 6 +++---
4570 src/cairo-scaled-font.c | 2 +-
4571 src/cairo-user-font.c | 2 +-
4572 src/cairo-win32-font.c | 2 +-
4573 src/cairoint.h | 2 +-
4574 7 files changed, 31 insertions(+), 18 deletions(-)
4576 commit f7a91e5bd7f3b799287f136adfd8a7b04dacce64
4577 Author: Behdad Esfahbod <behdad@behdad.org>
4578 Date: Wed Aug 27 19:06:13 2008 -0400
4580 [configure.in] Autogenerate libtool version info
4582 For unstable version 1.7.5 we create libcairo.so.2.10705.0
4583 For stable version 1.8.5 we create libcairo.so.2.10800.5
4585 No more manual work.
4587 configure.in | 32 ++++++++++++++++++++------------
4588 1 file changed, 20 insertions(+), 12 deletions(-)
4590 commit df64e0e632bf180f83a64fb51e8e7da5eed503bf
4591 Author: Behdad Esfahbod <behdad@behdad.org>
4592 Date: Wed Aug 27 18:41:22 2008 -0400
4594 Cleanup libtool version handling
4596 In preparation to remove the manual numbering completely
4598 Makefile.am | 12 ++----------
4599 configure.in | 48 ++++++++++++++++++++++++------------------------
4600 src/Makefile.am | 4 ++--
4601 3 files changed, 28 insertions(+), 36 deletions(-)
4603 commit 50b2076a54c76e051305981280c7fe443f517d61
4604 Author: Behdad Esfahbod <behdad@behdad.org>
4605 Date: Wed Aug 27 17:59:13 2008 -0400
4607 [autogen.sh] Prefer glibtoolize to libtoolize if available
4609 Makes OS X users happy.
4613 2 files changed, 1 insertion(+), 7 deletions(-)
4615 commit 98942f99f3e10a1898a11d29e5f40f894d74c0a7
4616 Author: Behdad Esfahbod <behdad@behdad.org>
4617 Date: Wed Aug 27 17:53:02 2008 -0400
4619 [configure.in] Move library version information to Version.mk
4622 Version.mk | 10 ++++++++++
4623 configure.in | 13 +++++--------
4624 3 files changed, 16 insertions(+), 8 deletions(-)
4626 commit 2cf82eaf0d08e68b787bb0792da97e73d8d4ce38
4627 Author: Vladimir Vukicevic <vladimir@pobox.com>
4628 Date: Wed Aug 27 21:14:51 2008 -0700
4630 [xlib] Check CreatePixmap dimensions before calling, to avoid unnecessary size errors
4632 src/cairo-xlib-surface.c | 47 ++++++++++++++++++++++++++++++++--------------
4633 1 file changed, 33 insertions(+), 14 deletions(-)
4635 commit 719c17c293a6971ab1f79e4df95887350429f827
4636 Author: Behdad Esfahbod <behdad@behdad.org>
4637 Date: Wed Aug 27 17:08:52 2008 -0400
4639 [src/Makefile.am] Remove gcc dependency
4641 src/Makefile.am | 2 +-
4642 1 file changed, 1 insertion(+), 1 deletion(-)
4644 commit a8c0998baf17357ce962dec795c9d6134e76e94a
4645 Author: Chris Wilson <chris@chris-wilson.co.uk>
4646 Date: Wed Aug 27 14:58:53 2008 +0100
4648 [ps] Check tmpfile status after reading.
4650 Be paranoid and check to see if we encountered an error whilst reading the
4653 src/cairo-ps-surface.c | 3 +++
4654 1 file changed, 3 insertions(+)
4656 commit bd21b2f6307549d9ade94bbe3f32f92efae97f72
4657 Author: Chris Wilson <chris@chris-wilson.co.uk>
4658 Date: Tue Aug 26 21:06:26 2008 +0100
4660 [test] Ensure that the output is always saved.
4662 Do the saving of the output first before checking for various failures
4663 with respect to the reference images.
4665 test/cairo-test.c | 54 ++++++++++++++++++++++++++---------------------------
4666 1 file changed, 27 insertions(+), 27 deletions(-)
4668 commit de6742c5f190664556658e35f5ea5ede979671af
4669 Author: Chris Wilson <chris@chris-wilson.co.uk>
4670 Date: Tue Aug 26 18:41:22 2008 +0100
4672 [ps] Mark the hex data as unsigned char.
4674 Use unsigned char to avoid sign extensions issues when bit shifting.
4676 src/cairo-output-stream-private.h | 2 +-
4677 src/cairo-output-stream.c | 2 +-
4678 src/cairo-ps-surface.c | 2 +-
4679 src/cairo-scaled-font-subsets-private.h | 2 +-
4680 4 files changed, 4 insertions(+), 4 deletions(-)
4682 commit 92fcb9d2f7fa143d1f6707ead7d4a85e9f739bcb
4683 Author: Chris Wilson <chris@chris-wilson.co.uk>
4684 Date: Tue Aug 26 14:36:46 2008 +0100
4686 [configure.in] Autoconf strikes back
4688 Need to disable references to *.cpp to convince autoconf
4689 not to use the g++ linker (and fail miserably).
4691 boilerplate/Makefile.am | 2 +-
4692 1 file changed, 1 insertion(+), 1 deletion(-)
4694 commit 08ea9d1f2a2210a1f333f3425eb141c2f5f1399c
4695 Author: Chris Wilson <chris@chris-wilson.co.uk>
4696 Date: Fri Aug 22 23:09:13 2008 +0100
4698 [pdiff] Get the surface data pointer once.
4700 Don't call cairo_image_surface_get_data() for every single component of
4701 the two surfaces to compare.
4703 test/pdiff/pdiff.c | 38 ++++++++++++++++----------------------
4704 1 file changed, 16 insertions(+), 22 deletions(-)
4706 commit 590ccb900605f9bdf30f02f76b7dd622acb9a27d
4707 Author: Chris Wilson <chris@chris-wilson.co.uk>
4708 Date: Fri Aug 22 14:54:19 2008 +0100
4710 [ps] Convert a few residual CRLF to LF.
4712 Just a few CRLF eol-terminators remained, cluttering the output.
4714 src/cairo-ps-surface.c | 10 +++++-----
4715 1 file changed, 5 insertions(+), 5 deletions(-)
4717 commit 78758b6acc0d7eca6bd2919e5fb039599a6e9a52
4718 Author: Behdad Esfahbod <behdad@behdad.org>
4719 Date: Sat Aug 23 14:18:45 2008 -0400
4721 [Makefile.am] Add autogen.sh to dist. Oops!
4724 1 file changed, 1 insertion(+)
4726 commit 17a6d541f88bb5627da436c5e516049c3317098a
4727 Author: Chris Wilson <chris@chris-wilson.co.uk>
4728 Date: Thu Aug 21 08:20:31 2008 +0100
4730 [test] Explicity save a fail image.
4732 Be explicit about handling cached FAIL images, instead of relying on the
4733 sequences of failed matches as the files are an external resource and we
4734 can not guarantee their individual accessibility.
4736 Note this also changes the filename, so you may want to run:
4737 $ find -name '*-last.*' -print | xargs rm
4738 after this checkout.
4740 test/.gitignore | 2 +-
4741 test/Makefile.am | 4 ++--
4742 test/cairo-test.c | 22 +++++++++++-----------
4743 3 files changed, 14 insertions(+), 14 deletions(-)
4745 commit b9287e6669fde571a9f0cb57462cb3815fbd8d27
4746 Author: Chris Wilson <chris@chris-wilson.co.uk>
4747 Date: Wed Aug 20 19:44:30 2008 +0100
4749 [test] Cache last output and compare next time.
4751 Compare the current output against a previous run to determine if there
4752 has been any change since last time, and only run through imagediff if
4753 there has been. For the vector surfaces, we can check the vector output
4754 first and potentially skip the rasterisation. On my machine this reduces
4755 the time for a second run from 6 minutes to 2m30s. As most of the time,
4756 most test output will remain unchanged, so this seems to be a big win. On
4757 unix systems, hard linking is used to reduce the amount of storage space
4758 required - others will see about a three-fold increase in the amount of
4759 disk used. The directory continues to be a stress test for file selectors.
4761 In order to reduce the changes between runs, the current time is no longer
4762 written to the PNG files (justified by that it only exists as a debugging
4763 aid) and the boilerplate tweaks the PS surface so that the creation date
4764 is fixed. To fully realise the benefits here, we need to strip the
4765 creation time from all the reference images...
4767 The biggest problem with using the caches is that different runs of the
4768 test suite can go through different code paths, introducing potential
4769 Heisenbergs. If you suspect that caching is interfering with the test
4770 results, use 'make -C test clean-caches check'.
4772 boilerplate/cairo-boilerplate-pdf-private.h | 7 +-
4773 boilerplate/cairo-boilerplate-pdf.c | 18 +--
4774 boilerplate/cairo-boilerplate-ps-private.h | 3 +
4775 boilerplate/cairo-boilerplate-ps.c | 35 ++++-
4776 boilerplate/cairo-boilerplate-svg-private.h | 7 +-
4777 boilerplate/cairo-boilerplate-svg.c | 17 +--
4778 boilerplate/cairo-boilerplate-win32-printing.c | 2 +
4779 boilerplate/cairo-boilerplate.c | 105 ++++++++-----
4780 boilerplate/cairo-boilerplate.h | 5 +
4781 boilerplate/xmalloc.c | 14 ++
4782 boilerplate/xmalloc.h | 4 +
4784 src/cairo-png.c | 9 +-
4785 src/cairo-ps-surface-private.h | 2 +
4786 src/cairo-ps-surface.c | 5 +-
4787 test/.gitignore | 7 +-
4788 test/Makefile.am | 10 +-
4790 test/cairo-test.c | 186 +++++++++++++++++++++---
4791 19 files changed, 341 insertions(+), 103 deletions(-)
4793 commit 98bb04cf93549455583d95b693c01b243b712c61
4794 Author: Chris Wilson <chris@chris-wilson.co.uk>
4795 Date: Wed Aug 20 19:39:27 2008 +0100
4797 [ps] Check for end-of-stream after advancing character.
4799 Whilst writing the base85 stream we advance an extra character if we spot
4800 a '~', however we need to be paranoid that we have not stepped beyond the
4801 end of the data for this write.
4803 src/cairo-ps-surface.c | 5 ++++-
4804 1 file changed, 4 insertions(+), 1 deletion(-)
4806 commit b47c772934571ffcabc3ec9b3468f4ef1a6d6863
4807 Author: Chris Wilson <chris@chris-wilson.co.uk>
4808 Date: Wed Aug 20 19:37:56 2008 +0100
4810 [test/bufferdiff] Move unused code.
4812 Only imagediff calls png_diff, so it makes sense to move that function out
4813 of the cairo-test and into the utility.
4815 test/buffer-diff.c | 295 ----------------------------------------------------
4816 test/buffer-diff.h | 36 -------
4817 test/imagediff.c | 217 +++++++++++++++++++++++++++++++++++++-
4818 3 files changed, 216 insertions(+), 332 deletions(-)
4820 commit 186e7a2602cf140ac03b730b95ed10f25f9319c6
4821 Author: Alex Rostovtsev <tetromino@gmail.com>
4822 Date: Tue Aug 19 23:45:40 2008 +0100
4824 [png] Specify a no-op flush callback (NULL deref)
4826 libpng changed behaviour in v1.2.30 to call the png_ptr->output_flush_fn
4827 in png_write_end(). If no flush function is provided with
4828 png_set_write_fn(), libpng will use its default fflush() instead - which
4829 assumes that closure passed is a FILE* and not an arbitrary user pointer.
4831 Consequently, we must actually set a dummy output_flush_fn to avoid
4834 src/cairo-png.c | 9 ++++++++-
4835 1 file changed, 8 insertions(+), 1 deletion(-)
4837 commit 5712a2c619b265a7ede5cd32049bce456131c64b
4838 Author: Chris Wilson <chris@chris-wilson.co.uk>
4839 Date: Tue Aug 19 15:17:45 2008 +0100
4841 [test] Destroy test ouput image on failure.
4843 Add the missing cairo_surface_destroy(). Sigh, less haste more speed.
4845 test/cairo-test.c | 1 +
4846 1 file changed, 1 insertion(+)
4848 commit 0354457bedf278c6504856148c51495754d94ebb
4849 Author: Chris Wilson <chris@chris-wilson.co.uk>
4850 Date: Tue Aug 19 15:10:51 2008 +0100
4852 [test] Always write the test output to a png.
4854 Always write the test output to a png so that it can be copied and used as
4855 a reference image with CAIRO_REF_DIR.
4857 test/cairo-test.c | 16 +++++++++-------
4858 1 file changed, 9 insertions(+), 7 deletions(-)
4860 commit 86d221521bc187bc8ee4f81f840de2a5ce277207
4861 Author: Chris Wilson <chris@chris-wilson.co.uk>
4862 Date: Tue Aug 19 14:55:18 2008 +0100
4864 [test] Pass extended output name to ref_name_for_test().
4866 Having included some extra details in the test output PNG filename, we
4867 need to pass the extra information to
4868 cairo_ref_name_for_test_target_format() in order to find the match.
4870 test/cairo-test.c | 18 ++++++++++--------
4871 1 file changed, 10 insertions(+), 8 deletions(-)
4873 commit b30b1c5e2cdb3de62a20b13b7b699db1de32affb
4874 Author: Chris Wilson <chris@chris-wilson.co.uk>
4875 Date: Tue Aug 19 11:52:38 2008 +0100
4877 [perf] Continue testing after we fail to create a surface.
4879 Sometimes we cannot create a surface because it is larger than the screen.
4880 Ignore these non-fatal errors and move on to the next performance case.
4882 perf/cairo-perf.c | 13 ++++---------
4883 1 file changed, 4 insertions(+), 9 deletions(-)
4885 commit 776844eb9e4b0eb70621242212d732dfefcb6d8e
4886 Author: Chris Wilson <chris@chris-wilson.co.uk>
4887 Date: Mon Aug 18 18:50:00 2008 +0100
4889 [boilerplate] Daemonic conversion utility.
4891 In order to achieve substantial speed improvements the external conversion
4892 utilities are rewritten as a daemon that communicates with the test suite
4893 over a local socket. This is faster as it avoids the libtool and dynamic
4894 linker overhead for each invocation, the caches persist between tests and
4895 we no longer require a round trip through libpng.
4897 The daemon is started automatically by the test suite and if communication
4898 cannot be established then it falls back to using a pipe to a normal
4899 conversion utility. The daemon will then persist for 60 seconds waiting
4900 for further connections.
4902 Of course any memory leak (stares at poppler) is exacerbated.
4904 boilerplate/cairo-boilerplate-pdf.c | 63 ++--
4905 boilerplate/cairo-boilerplate-svg.c | 63 ++--
4906 boilerplate/cairo-boilerplate.c | 141 +++++++++
4907 boilerplate/cairo-boilerplate.h | 7 +
4909 test/.gitignore | 3 +
4910 test/Makefile.am | 7 +
4911 test/any2ppm.c | 594 +++++++++++++++++++++++++++++++++++
4912 8 files changed, 851 insertions(+), 36 deletions(-)
4914 commit 00bc650455219e41fa20d3ec99321f4cbe97cbf1
4915 Author: Behdad Esfahbod <behdad@behdad.org>
4916 Date: Mon Aug 18 14:52:43 2008 -0400
4918 Add new public API cairo_surface_has_show_text_glyphs()
4920 We added cairo_has_show_text_glyphs() before. Since this is really a
4921 surface property, should have the surface method too. Like we added
4922 cairo_surface_show_page()...
4924 doc/public/cairo-sections.txt | 1 +
4925 doc/public/tmpl/cairo-surface.sgml | 9 ++++++++
4926 src/cairo-analysis-surface.c | 2 +-
4927 src/cairo-gstate.c | 2 +-
4928 src/cairo-paginated-surface.c | 2 +-
4929 src/cairo-surface.c | 44 +++++++++++++++++++++++++++++++++++-
4932 src/cairoint.h | 4 +---
4933 src/test-meta-surface.c | 2 +-
4934 src/test-paginated-surface.c | 2 +-
4935 11 files changed, 65 insertions(+), 9 deletions(-)
4937 commit 4cd478b95f0ae803d1a0ab75197b1d389e2eba4c
4938 Author: Chris Wilson <chris@chris-wilson.co.uk>
4939 Date: Mon Aug 18 17:51:21 2008 +0100
4941 [test] Initialise test context.
4943 Fixup a couple more tests that do not initialise a test context for
4946 test/font-options.c | 19 +++++----------
4947 test/png.c | 64 +++++++++++++++++++++++++--------------------------
4948 test/user-data.c | 10 ++++++--
4949 3 files changed, 46 insertions(+), 47 deletions(-)
4951 commit cdd021b5fbeb53247e6e1aa7224a8faa60249dc7
4952 Author: Chris Wilson <chris@chris-wilson.co.uk>
4953 Date: Mon Aug 18 17:48:55 2008 +0100
4955 [boilerplate] Check exit code from system for trapped signals.
4957 If the external conversion utility was killed by a signal (e.g. the user
4958 sent SIGINT), raise that signal within our process as well. This means
4959 that a crash inside poppler or rsvg will be flagged as a crash inside the
4960 test suite, and makes interrupting the test suite far more responsive.
4962 boilerplate/cairo-boilerplate-pdf.c | 13 ++++++++++++-
4963 boilerplate/cairo-boilerplate-ps.c | 17 ++++++++++++++---
4964 boilerplate/cairo-boilerplate-svg.c | 13 ++++++++++++-
4965 3 files changed, 38 insertions(+), 5 deletions(-)
4967 commit 95575d7a6977a21960818f81aa267725edcd8d93
4968 Author: Chris Wilson <chris@chris-wilson.co.uk>
4969 Date: Mon Aug 18 17:13:25 2008 +0100
4971 [configure.in] Add release status
4973 Print out whether the current version represents a release, a development
4974 snapshot or is being compiled from git.
4976 configure.in | 9 ++++++++-
4977 1 file changed, 8 insertions(+), 1 deletion(-)
4979 commit da83f405caeb2474e0a46f85148b3944c61a5d49
4980 Author: Behdad Esfahbod <behdad@behdad.org>
4981 Date: Mon Aug 18 12:22:46 2008 -0400
4985 src/cairo-ft-font.c | 2 +-
4986 src/cairo-xlib-screen.c | 2 +-
4987 2 files changed, 2 insertions(+), 2 deletions(-)
4989 commit 5379af109ca65c40ea2b7a74b7660267da7c8d2f
4990 Author: Behdad Esfahbod <behdad@behdad.org>
4991 Date: Mon Aug 18 12:22:34 2008 -0400
4993 [cairo-ft] Add useless cairo_warn decorator
4995 src/cairo-ft-font.c | 2 +-
4996 1 file changed, 1 insertion(+), 1 deletion(-)
4998 commit c56385eacc076a149ffe0fb6690b7b128fdc9e50
4999 Author: Chris Wilson <chris@chris-wilson.co.uk>
5000 Date: Mon Aug 18 16:08:16 2008 +0100
5002 [test/make-html.pl] Don't include links to non-existent images.
5004 Some tests do not generate output images, so do not insert a link if we
5005 don't have an image.
5007 test/make-html.pl | 2 ++
5008 1 file changed, 2 insertions(+)
5010 commit 17fbb652b1c74ba0ccced48c14c63a4d24bb3891
5011 Author: Chris Wilson <chris@chris-wilson.co.uk>
5012 Date: Mon Aug 18 12:53:43 2008 +0100
5014 [test] Avoid redundant writes/reads of test surfaces via png.
5016 As Behdad suggested, we can dramatically speed up the test suite by
5017 short-circuiting the write to a png file, only to then immediately read it
5018 back in. So for the raster based surfaces, we avoid the round-trip through
5019 libpng by implementing a new boilerplate method to directly extract the image
5020 buffer from the test result. A secondary speedup is achieved by caching the
5021 most recent reference image.
5023 boilerplate/cairo-boilerplate-pdf-private.h | 5 +
5024 boilerplate/cairo-boilerplate-pdf.c | 26 ++
5025 boilerplate/cairo-boilerplate-ps-private.h | 5 +
5026 boilerplate/cairo-boilerplate-ps.c | 29 +-
5027 boilerplate/cairo-boilerplate-svg-private.h | 5 +
5028 boilerplate/cairo-boilerplate-svg.c | 26 ++
5029 .../cairo-boilerplate-test-surfaces-private.h | 5 +
5030 boilerplate/cairo-boilerplate-test-surfaces.c | 58 +++-
5031 boilerplate/cairo-boilerplate-win32-printing.c | 26 ++
5032 boilerplate/cairo-boilerplate-win32-private.h | 5 +
5033 boilerplate/cairo-boilerplate.c | 135 ++++++++
5034 boilerplate/cairo-boilerplate.h | 62 ++--
5035 test/buffer-diff.c | 327 ++++++++++++--------
5036 test/buffer-diff.h | 38 ++-
5037 test/cairo-test.c | 160 ++++++++--
5038 test/cairo-test.h | 4 +
5039 test/imagediff.c | 2 +-
5040 test/xlib-expose-event.c | 10 +-
5041 18 files changed, 721 insertions(+), 207 deletions(-)
5043 commit 9b0b55cea724f91eb2835294f929c49224bd0bac
5044 Author: Chris Wilson <chris@chris-wilson.co.uk>
5045 Date: Mon Aug 18 08:07:25 2008 +0100
5047 [test/leaky-dashed-rectangle] Add ref to bug report.
5049 Yevgen Muntyan has filed a bug report with the same symptoms as
5050 leaky-dashed-rectangle, so add a reminder for when it is finally fixed.
5052 test/leaky-dashed-rectangle.c | 2 ++
5053 1 file changed, 2 insertions(+)
5055 commit 212cbd3f1b089c1b1948072db515dbf81cc32580
5056 Author: Chris Wilson <chris@chris-wilson.co.uk>
5057 Date: Sun Aug 17 21:48:06 2008 +0100
5059 [test/user-font] Correct the lifetime of the user font face.
5061 By keeping a static reference to the user font face, it is erroneously kept
5062 alive during a call to cairo_debug_reset_static_data(). (A violation of
5063 the caller's contract to ensure that no active reference to a cairo object
5064 is held by the caller.)
5066 test/user-font.c | 91 +++++++++++++++++++++++++++---------------------------
5067 1 file changed, 46 insertions(+), 45 deletions(-)
5069 commit 19d721d84c550b091927d22e00b34291cedd92aa
5070 Author: Chris Wilson <chris@chris-wilson.co.uk>
5071 Date: Sun Aug 17 21:43:14 2008 +0100
5073 [cairo-compiler-private.h] Clear definition of __attribute__
5075 Avoid a redefinition error when playing silly tricks with 'cpp -U__GNUC__'.
5077 src/cairo-compiler-private.h | 1 +
5078 1 file changed, 1 insertion(+)
5080 commit 12d3d32f2251c78189cf3eaca61bc690ad17e1bb
5081 Author: Chris Wilson <chris@chris-wilson.co.uk>
5082 Date: Sun Aug 17 21:41:36 2008 +0100
5084 [Makefile.am] Support uno.
5086 For the extreme masochist only. At the moment, it only generate syntax
5087 errors, but the command line appears functional.
5089 src/Makefile.am | 6 ++++++
5090 1 file changed, 6 insertions(+)
5092 commit 6808174e72c923ebabe61846617496e25df92363
5093 Author: Chris Wilson <chris@chris-wilson.co.uk>
5094 Date: Sun Aug 17 20:28:34 2008 +0100
5096 [win32-font] Review error handling.
5098 The test-suite for win32 shows less than ideal error detection whilst
5099 running on mingw32. Looking at the code, I spotted a few places where the
5100 error propagation could be improved, and lo...
5102 src/cairo-win32-font.c | 244 ++++++++++++++++++++++++++----------------------
5103 1 file changed, 133 insertions(+), 111 deletions(-)
5105 commit 5ef52cd08f586d4ca0b30ff7d47575f0dfba9172
5106 Author: Chris Wilson <chris@chris-wilson.co.uk>
5107 Date: Sun Aug 17 18:01:15 2008 +0100
5109 [svg] Tweak base64_write_func().
5111 On a wild goose chase to eliminate a valgrind warning (caused by libpng,
5112 alas) tweak the code for a bit of simplification.
5114 src/cairo-svg-surface.c | 31 ++++++++++++++-----------------
5115 1 file changed, 14 insertions(+), 17 deletions(-)
5117 commit c745a622db7844ad0dc0da14446457eed1133eb5
5118 Author: Chris Wilson <chris@chris-wilson.co.uk>
5119 Date: Sun Aug 17 17:33:29 2008 +0100
5121 [test/toy-font-face] Use cairo_test_init/fini().
5123 Minor step to harmonise the test with the rest of the suite.
5125 test/toy-font-face.c | 17 +++++++----------
5126 1 file changed, 7 insertions(+), 10 deletions(-)
5128 commit 37bca38772af1ff206f6bba00f217dc59504ecca
5129 Author: Chris Wilson <chris@chris-wilson.co.uk>
5130 Date: Sun Aug 17 15:30:51 2008 +0100
5132 [test/create-from-png] Return the failure.
5134 Having checked all the possible PNG formats, report any failures.
5136 test/create-from-png.c | 3 +++
5137 1 file changed, 3 insertions(+)
5139 commit 3dc8e2dd0d42572c6e97af8bd676c02dded13d7f
5140 Author: Chris Wilson <chris@chris-wilson.co.uk>
5141 Date: Sun Aug 17 15:28:49 2008 +0100
5143 [boilerplate] Dead store elimination.
5145 Value stored to 'found' is never read.
5147 boilerplate/cairo-boilerplate.c | 9 ++++-----
5148 1 file changed, 4 insertions(+), 5 deletions(-)
5150 commit d5f90a241c24a7f10c8f03d2a830729f85bb2945
5151 Author: Chris Wilson <chris@chris-wilson.co.uk>
5152 Date: Sun Aug 17 15:08:57 2008 +0100
5154 [ft-font] Dead store elimination.
5156 Value stored to 'stride' is never read.
5158 src/cairo-ft-font.c | 3 +--
5159 1 file changed, 1 insertion(+), 2 deletions(-)
5161 commit 5109fdb1e6867439d45da5a7cc8effb9bcc75d85
5162 Author: Chris Wilson <chris@chris-wilson.co.uk>
5163 Date: Sun Aug 17 15:05:51 2008 +0100
5165 [xlib] Return the integer from XGetDefault().
5167 If the default value does not match a fontconfig constant, actually return
5170 src/cairo-xlib-screen.c | 3 +--
5171 1 file changed, 1 insertion(+), 2 deletions(-)
5173 commit 4f4621adbfa67fb61b02e7e650a59a96a8c974ef
5174 Author: Chris Wilson <chris@chris-wilson.co.uk>
5175 Date: Sun Aug 17 15:02:31 2008 +0100
5177 [scaled-font-subsets] Check for a failed malloc.
5179 Missing NULL check after malloc.
5181 src/cairo-scaled-font-subsets.c | 5 ++++-
5182 1 file changed, 4 insertions(+), 1 deletion(-)
5184 commit 418ebb09303aa4b9b212fad4b45e458332a3afde
5185 Author: Chris Wilson <chris@chris-wilson.co.uk>
5186 Date: Sun Aug 17 15:01:21 2008 +0100
5188 [scaled-font-subsets] Propagate error status from index_to_ucs4().
5190 Check for an error status from ->index_to_ucs4() and propagate.
5192 src/cairo-scaled-font-subsets.c | 9 +++++++--
5193 1 file changed, 7 insertions(+), 2 deletions(-)
5195 commit 2ab700f21af7a98d82e74fd4d04884b2b0ca1b20
5196 Author: Chris Wilson <chris@chris-wilson.co.uk>
5197 Date: Sun Aug 17 14:59:53 2008 +0100
5199 [type3-glyph] Propagate error from image emission.
5201 Return the error status from ->emit_image().
5203 src/cairo-type3-glyph-surface.c | 2 +-
5204 1 file changed, 1 insertion(+), 1 deletion(-)
5206 commit 0549fcfd85bed5b03c9eb4502042f6ce6f76f5a0
5207 Author: Chris Wilson <chris@chris-wilson.co.uk>
5208 Date: Sun Aug 17 14:57:03 2008 +0100
5210 [pdf-operators] Propagate status from end_text().
5212 Check for an error status after end_text().
5214 src/cairo-pdf-operators.c | 12 +++++++++---
5215 1 file changed, 9 insertions(+), 3 deletions(-)
5217 commit 96d45cfeeeb6dba94f134589486b894eeac82651
5218 Author: Chris Wilson <chris@chris-wilson.co.uk>
5219 Date: Sun Aug 17 14:55:30 2008 +0100
5221 [pdf-operators] Propagate error from emit_glyph_string*().
5223 Do not overwrite the error status if returned by either of the
5224 emit_glyph_string*() routines.
5226 src/cairo-pdf-operators.c | 10 +++++-----
5227 1 file changed, 5 insertions(+), 5 deletions(-)
5229 commit 63f64ff3369f3768fe80a1b002a1d057e3886d4c
5230 Author: Chris Wilson <chris@chris-wilson.co.uk>
5231 Date: Sun Aug 17 14:53:55 2008 +0100
5233 [pdf-operators] Propagate error from begin_actualtext().
5235 Check the status return from begin_actualtext().
5237 src/cairo-pdf-operators.c | 3 +++
5238 1 file changed, 3 insertions(+)
5240 commit 56c5f9954aca52327eedac3bc88a32ab4cbea619
5241 Author: Chris Wilson <chris@chris-wilson.co.uk>
5242 Date: Sun Aug 17 14:51:48 2008 +0100
5244 [pdf] Propagate error from open_stream() failure.
5246 Check status return for _cairo_pdf_surface_open_stream().
5248 src/cairo-pdf-surface.c | 3 +++
5249 1 file changed, 3 insertions(+)
5251 commit 311464ad50edfa2e6dfbe10b021041229cdebda6
5252 Author: Chris Wilson <chris@chris-wilson.co.uk>
5253 Date: Sun Aug 17 14:50:35 2008 +0100
5255 [pdf] Propagate status return.
5257 Check status return from type3_glyph_surface_emit_glyph().
5259 src/cairo-pdf-surface.c | 3 +++
5260 1 file changed, 3 insertions(+)
5262 commit b14c6ac685b45797657e406c5a02f94bffef4ffc
5263 Author: Chris Wilson <chris@chris-wilson.co.uk>
5264 Date: Sun Aug 17 14:49:02 2008 +0100
5266 [pdf] dead code elimination.
5268 Value stored to 'matrix' is never read.
5270 src/cairo-pdf-surface.c | 2 --
5271 1 file changed, 2 deletions(-)
5273 commit 97a2038c76978847127b164f639f41348badf5a6
5274 Author: Chris Wilson <chris@chris-wilson.co.uk>
5275 Date: Sun Aug 17 14:47:27 2008 +0100
5277 [ps] Dead store elimination.
5279 Value stored to 'matrix' is never read.
5281 src/cairo-ps-surface.c | 2 --
5282 1 file changed, 2 deletions(-)
5284 commit e3b6a0c89a814ce469bee8f5e186c318a41004fb
5285 Author: Chris Wilson <chris@chris-wilson.co.uk>
5286 Date: Sun Aug 17 14:44:44 2008 +0100
5288 [cairo-output-stream] Dead store.
5290 Value stored to 'p' is never read.
5292 src/cairo-output-stream.c | 1 -
5293 1 file changed, 1 deletion(-)
5295 commit 4517ef05200a11115c59acef9a20163544e69409
5296 Author: Chris Wilson <chris@chris-wilson.co.uk>
5297 Date: Sun Aug 17 14:34:54 2008 +0100
5299 [cairo-image-surface] Dead store.
5301 Value stored to 'ret' is never read.
5302 Value stored to 'mask_bpp' is never read.
5304 src/cairo-image-surface.c | 7 +------
5305 1 file changed, 1 insertion(+), 6 deletions(-)
5307 commit 4114a7bf065ab180a21617c0b71e9dfc9161298b
5308 Author: Chris Wilson <chris@chris-wilson.co.uk>
5309 Date: Sun Aug 17 14:33:38 2008 +0100
5311 [cairo-clip] Dead store.
5313 Value stored to 'status' is never read.
5315 src/cairo-clip.c | 2 --
5316 1 file changed, 2 deletions(-)
5318 commit 32843260ae303fafaecfabf07ed38108f369a5d2
5319 Author: Chris Wilson <chris@chris-wilson.co.uk>
5320 Date: Sun Aug 17 14:31:12 2008 +0100
5322 [cairo-scaled-font] Dead store.
5324 Value stored to 'status' is never read.
5326 src/cairo-scaled-font.c | 2 --
5327 1 file changed, 2 deletions(-)
5329 commit 6c0da32b068de2124993fa8932c450843eba77ff
5330 Author: Chris Wilson <chris@chris-wilson.co.uk>
5331 Date: Sun Aug 17 14:30:04 2008 +0100
5333 [cairo-scaled-font] Actually use bytes_per_row.
5335 bytes_per_row was precomputed but not actually used in the inner loop.
5337 src/cairo-scaled-font.c | 2 +-
5338 1 file changed, 1 insertion(+), 1 deletion(-)
5340 commit c7d803fc91f29763a51d398033a117b11fb09454
5341 Author: Chris Wilson <chris@chris-wilson.co.uk>
5342 Date: Sun Aug 17 14:03:33 2008 +0100
5344 [cairo-surface] Add the lcd_filter default to the nil surfaces.
5346 The nil surfaces did not correctly initialize the lcd filter font option
5347 to the default value.
5349 src/cairo-surface.c | 9 +++++----
5350 1 file changed, 5 insertions(+), 4 deletions(-)
5352 commit 3b2d49e567ec3de4df18189e22f2077a92d941f0
5353 Author: Chris Wilson <chris@chris-wilson.co.uk>
5354 Date: Sun Aug 17 14:01:57 2008 +0100
5356 Ensure ranges of wideint types are always defined.
5358 Define the range of the fixed types (int16, int32 etc) if the standard
5359 headers fail to provide the definitions.
5361 src/cairo-wideint-type-private.h | 31 ++++++++++++++++---------------
5362 1 file changed, 16 insertions(+), 15 deletions(-)
5364 commit 3d548f673bfa6dea63fcc00f775ae318a7f912a8
5365 Author: Chris Wilson <chris@chris-wilson.co.uk>
5366 Date: Sun Aug 17 13:40:32 2008 +0100
5368 [configure] Add -Werror to CC_TRY_FLAG
5370 g++ only warns about using C-only warning flags, but add -Werror promotes
5371 the warning to an error and enables correct detection of the unsupported
5375 1 file changed, 1 insertion(+), 1 deletion(-)
5377 commit 3501eef6988ebcef5b169b004615d54bcee15460
5378 Author: Chris Wilson <chris@chris-wilson.co.uk>
5379 Date: Sun Aug 17 12:13:14 2008 +0100
5381 [cairo-cache] Fixup doc comment.
5383 Missing % before the macro name in the comment.
5385 src/cairo-cache.c | 4 ++--
5386 1 file changed, 2 insertions(+), 2 deletions(-)
5388 commit 586dbaafe6ac8803c7d7b9ed38297486d47f60e9
5389 Author: Peter O'Gorman <pogma@thewrittenword.com>
5390 Date: Fri Aug 15 14:46:22 2008 -0500
5392 Compile with old compilers
5394 Some compilers fail to compile non-constant struct initializers.
5396 src/cairo-clip.c | 15 ++++++++++-----
5397 1 file changed, 10 insertions(+), 5 deletions(-)
5399 commit 3998040c1151ffbc3f8748ca430af5bd81ca92e4
5400 Author: Chris Wilson <chris@chris-wilson.co.uk>
5401 Date: Sun Aug 17 11:35:58 2008 +0100
5403 [cairo-cache] Simplify a status return to boolean.
5405 _cairo_cache_remove_random() just returned whether it found an entry to
5406 remove and so the code can be simplified by returning a boolean as opposed
5409 src/cairo-cache.c | 23 ++++++++---------------
5410 src/cairo-types-private.h | 1 -
5411 2 files changed, 8 insertions(+), 16 deletions(-)
5413 commit 841fe91c0e0ef0b88f84e8130b8e2afaa8abb610
5414 Author: Chris Wilson <chris@chris-wilson.co.uk>
5415 Date: Fri Aug 15 17:09:51 2008 +0100
5417 [ps] Promote char to an int to avoid valgrind warnings.
5419 valgrind warns about an uninitialized read after a single char is promoted
5420 to an int when passed to the printf. Silence the warning by using a
5421 explicitly promoting the output byte to a full int.
5423 src/cairo-ps-surface.c | 2 +-
5424 1 file changed, 1 insertion(+), 1 deletion(-)
5426 commit 8f567279869432b4748dda2fed5c30056c68d44c
5427 Author: Chris Wilson <chris@chris-wilson.co.uk>
5428 Date: Thu Aug 14 18:22:47 2008 +0100
5430 [perf] Beware $OS may not be set.
5432 Avoid a warning by ensuring that the two strings in the equality check are
5435 perf/cairo-perf-diff | 2 +-
5436 1 file changed, 1 insertion(+), 1 deletion(-)
5438 commit c44f2ab4d1c975dfc6ba2f8a271da6b578c08983
5439 Author: Chris Wilson <chris@chris-wilson.co.uk>
5440 Date: Thu Aug 14 18:21:22 2008 +0100
5442 [perf] Silence trivial compiler warning.
5444 The compiler complained about passing a non-string literal as the format
5445 to printf, so just to sanitize the code and keep the compiler happy, add
5446 the magic "%s" format.
5448 perf/cairo-perf-diff-files.c | 18 +++++++++---------
5449 1 file changed, 9 insertions(+), 9 deletions(-)
5451 commit db7e3cb85467496686289d1a666b4ca274524fdd
5452 Author: Chris Wilson <chris@chris-wilson.co.uk>
5453 Date: Thu Aug 14 16:30:54 2008 +0100
5455 [Makefile.am] Delete intermediates
5457 Clean up after calling 'gcc -save-temps'.
5459 boilerplate/Makefile.am | 4 ++++
5460 src/Makefile.am | 4 ++++
5461 test/Makefile.am | 1 +
5462 test/pdiff/Makefile.am | 4 ++++
5463 4 files changed, 13 insertions(+)
5465 commit 67326b728bca24dc02df7f144b9471636d5e1d4c
5466 Author: Chris Wilson <chris@chris-wilson.co.uk>
5467 Date: Thu Aug 14 16:25:49 2008 +0100
5469 [gitignore] Ignore *.[is]
5471 Playing with 'gcc -save-temps' understandably leaves behind large amounts
5474 src/.gitignore | 2 ++
5475 1 file changed, 2 insertions(+)
5477 commit bafcbc633a12ae50cbafd579a03d12260ac3e04a
5478 Author: Chris Wilson <chris@chris-wilson.co.uk>
5479 Date: Thu Nov 8 22:27:39 2007 +0000
5481 [cairo-scaled-font] Check the most recently used font used first.
5483 When searching for a matching font, check the most recently used font
5484 first. This optimizes the common case where pango calls save() and restore()
5485 around rendering each layout, but almost all consecutive layouts use the
5488 src/cairo-scaled-font.c | 120 ++++++++++++++++++++++++++++++++---------------
5489 1 file changed, 83 insertions(+), 37 deletions(-)
5491 commit a1e5d4037600b05024e25b83fa5f666967fb5f63
5492 Author: Behdad Esfahbod <behdad@behdad.org>
5493 Date: Sun Aug 17 00:11:34 2008 -0400
5495 [doc] Another typo fix
5498 1 file changed, 1 insertion(+), 1 deletion(-)
5500 commit 20d178c1c2f7da00993b31c6d2ae95b0cbba3f66
5501 Author: Behdad Esfahbod <behdad@behdad.org>
5502 Date: Sat Aug 16 21:27:03 2008 -0400
5506 src/cairo-scaled-font.c | 2 +-
5507 1 file changed, 1 insertion(+), 1 deletion(-)
5509 commit 7a0f29d2f35e31ad30f7dc67ec3e5c3ee06fec53
5510 Author: Chris Wilson <chris@chris-wilson.co.uk>
5511 Date: Thu Aug 14 11:57:36 2008 +0100
5513 [test] Update prototype of win32-printing create_surface()
5515 Missed the recent addition of the win32-printing surface to boilerplate.
5517 boilerplate/cairo-boilerplate-win32-printing.c | 3 +++
5518 boilerplate/cairo-boilerplate-win32-private.h | 13 ++++++++-----
5519 2 files changed, 11 insertions(+), 5 deletions(-)
5521 commit 63befc6ab124059a8078493345d21463c4609f41
5522 Author: Chris Wilson <chris@chris-wilson.co.uk>
5523 Date: Thu Aug 14 09:14:51 2008 +0100
5525 [xlib] Remove the key parameter from the close display hook.
5527 By inspecting all the users of the close display hooks, we can see that
5528 (a) the key is redundant and (b) the data is unique to the hook. This
5529 means we can trim the interface and stop the linear searches as soon as
5530 we've found the correct element.
5532 src/cairo-xlib-display.c | 13 ++++++-------
5533 src/cairo-xlib-private.h | 5 ++---
5534 src/cairo-xlib-surface.c | 5 +++--
5535 3 files changed, 11 insertions(+), 12 deletions(-)
5537 commit 84a541a041c6bb22c57517e267dc7adcfd7e84dc
5538 Author: Chris Wilson <chris@chris-wilson.co.uk>
5539 Date: Wed Nov 7 00:12:00 2007 +0000
5541 [cairo-xlib-surface] Remove status return for SUCCESS only function.
5543 Convert _cairo_xlib_surface_set_repeat() to a void return type, and
5544 update caller, as the function can only return CAIRO_STATUS_SUCCESS.
5546 src/cairo-xlib-surface.c | 16 ++++++----------
5547 1 file changed, 6 insertions(+), 10 deletions(-)
5549 commit 2699a986d3fe81d604c952513c62c896a95f1a3d
5550 Author: Chris Wilson <chris@chris-wilson.co.uk>
5551 Date: Thu Nov 8 11:47:31 2007 +0000
5553 [cairo-gstate] Guard against unsetting the font unnecessary.
5555 Only unset the current font if we change any of the font settings, i.e.
5556 font_face, font_options, font_matrix and ctm.
5558 src/cairo-gstate.c | 33 +++++++++++++++++++++++++--------
5559 1 file changed, 25 insertions(+), 8 deletions(-)
5561 commit 8552e76ee5b2da2f4c39f916981fad7873974506
5562 Author: Chris Wilson <chris@chris-wilson.co.uk>
5563 Date: Thu Aug 14 08:25:58 2008 +0100
5565 [xlib] Fix leak of pending_free_glyphs on CloseDisplay.
5567 Missing free of the pending_free_glyphs array in
5568 _cairo_xlib_surface_remove_scaled_font.
5570 src/cairo-xlib-surface.c | 3 +++
5571 1 file changed, 3 insertions(+)
5573 commit e3665bde5dbeef3473df95eed0b1550ee679765f
5574 Author: Chris Wilson <chris@chris-wilson.co.uk>
5575 Date: Wed Aug 13 17:41:40 2008 +0100
5577 [test/Makefile.am] Match *-out.{pdf,ps,svg}
5579 When cleaning files, limit the glob to only match *-out.{pdf,ps,svg} in
5580 order to distinguish the current practice of naming vector output files
5581 from possible future vector target/reference files.
5583 test/Makefile.am | 6 +++---
5584 1 file changed, 3 insertions(+), 3 deletions(-)
5586 commit 49ea4fbb25393d214a88678d0aa0e1e0c4ba9916
5587 Author: Chris Wilson <chris@chris-wilson.co.uk>
5588 Date: Wed Aug 13 16:45:32 2008 +0100
5590 [test/create-from-png-stream] Correct check for png loading error.
5592 The test for failure to load the image surface from the png stream
5593 incorrectly checked for a NULL surface, instead of the error surface.
5595 test/create-from-png-stream.c | 8 +++++---
5596 1 file changed, 5 insertions(+), 3 deletions(-)
5598 commit 93af67d7fd0fab93d8f9e1bc2de1c38aa65a7a59
5599 Author: Chris Wilson <chris@chris-wilson.co.uk>
5600 Date: Wed Aug 13 16:04:41 2008 +0100
5602 [test] Pass a 'complete' name to create_surface().
5604 Construct the test name to pass to the boilerplate creation routines such
5605 that it uniquely identifies the test in terms of test, target, content and
5606 pass (similar, offset, thread). This allows the vector targets to create
5607 output different output files for each test, whereas before, later tests
5608 would overwrite existing files making debugging more difficult.
5610 boilerplate/cairo-boilerplate-pdf.c | 3 +-
5611 boilerplate/cairo-boilerplate-ps.c | 3 +-
5612 boilerplate/cairo-boilerplate-svg.c | 3 +-
5613 boilerplate/cairo-boilerplate-win32-printing.c | 3 +-
5614 test/cairo-test.c | 69 +++++++++++-------------
5615 5 files changed, 35 insertions(+), 46 deletions(-)
5617 commit 517e532fb70df7ce5f1d5d9ebf94243ede1307da
5618 Author: Chris Wilson <chris@chris-wilson.co.uk>
5619 Date: Wed Aug 13 11:03:52 2008 +0100
5621 [test] Run fallback-resolution if we have at least one vector surface.
5623 Currently fallback-resolution is included in the test suite if we have all
5624 of the vector surfaces available. This commit enables individual support
5625 for the vector surfaces, so that the test can be run even if one or more
5626 of the surfaces are not available.
5628 test/Makefile.am | 10 +++++++---
5629 test/fallback-resolution.c | 26 ++++++++++++++++++++++++--
5630 2 files changed, 31 insertions(+), 5 deletions(-)
5632 commit d56ea9cc879650db0ad2e6b05e483f30f9f21566
5633 Author: Chris Wilson <chris@chris-wilson.co.uk>
5634 Date: Tue Aug 12 13:33:04 2008 +0100
5636 [test] Set CAIRO_TEST_UNTESTED to 77
5638 77 is the magic exit code used by automake to indicate a skipped test, so
5639 by using it we can get a slightly more informative test log.
5641 test/cairo-test.c | 13 -------------
5642 test/cairo-test.h | 4 ++--
5643 test/create-for-stream.c | 11 ++++++++++-
5644 test/fallback-resolution.c | 5 ++++-
5645 test/get-xrender-format.c | 35 ++++++++++++++++++++---------------
5646 test/multi-page.c | 10 +++++++---
5647 test/surface-source.c | 5 ++++-
5648 test/xlib-expose-event.c | 10 +++-------
5649 test/xlib-surface.c | 18 +++++++++---------
5650 9 files changed, 59 insertions(+), 52 deletions(-)
5652 commit f85a4aec1f94f8fbd8e4db770ff1f70c3286fc90
5653 Author: Chris Wilson <chris@chris-wilson.co.uk>
5654 Date: Thu Jan 10 13:04:52 2008 +0000
5656 [test] Export a function to check whether a target is enabled.
5658 Allow individuals tests to check whether a test target is enabled -
5659 useful for those tests that circumvent cairo_test() and perform
5662 test/cairo-test.c | 19 +++++++++++++++
5663 test/cairo-test.h | 4 ++++
5664 test/create-for-stream.c | 54 +++++++++++++++++++++++-------------------
5665 test/fallback-resolution.c | 31 +++++++++++++++---------
5666 test/get-xrender-format.c | 4 ++++
5667 test/multi-page.c | 56 ++++++++++++++++++++++++--------------------
5668 test/pdf-features.c | 4 ++++
5669 test/ps-features.c | 4 ++++
5670 test/svg-clip.c | 4 ++++
5671 test/svg-surface.c | 4 ++++
5672 test/xlib-expose-event.c | 4 ++++
5673 test/xlib-surface.c | 4 ++++
5674 12 files changed, 131 insertions(+), 61 deletions(-)
5676 commit 436c0c8be28546813139f391a62303d4c1894fc3
5677 Author: Chris Wilson <chris@chris-wilson.co.uk>
5678 Date: Mon Aug 11 21:12:45 2008 +0100
5680 [test] Preparatory work for running under memfault.
5682 In order to run under memfault, the framework is first extended to handle
5683 running concurrent tests - i.e. multi-threading. (Not that this is a
5684 requirement for memfault, instead it shares a common goal of storing
5685 per-test data). To that end all the global data is moved into a per-test
5686 context and the targets are adjusted to avoid overlap on shared, global
5687 resources (such as output files and frame buffers). In order to preserve
5688 the simplicity of the standard draw routines, the context is not passed
5689 explicitly as a parameter to the routines, but is instead attached to the
5690 cairo_t via the user_data.
5692 For the masochist, to enable the tests to be run across multiple threads
5693 simply set the environment variable CAIRO_TEST_NUM_THREADS to the desired
5696 In the long run, we can hope the need for memfault (runtime testing of
5697 error paths) will be mitigated by static analysis. A promising candidate
5698 for this task would appear to be http://hal.cs.berkeley.edu/cil/.
5700 boilerplate/cairo-boilerplate-beos-private.h | 6 +
5701 boilerplate/cairo-boilerplate-directfb-private.h | 3 +
5702 boilerplate/cairo-boilerplate-directfb.c | 5 +-
5703 boilerplate/cairo-boilerplate-getopt.c | 7 +-
5704 boilerplate/cairo-boilerplate-glitz-private.h | 9 +
5705 boilerplate/cairo-boilerplate-glitz.c | 68 +-
5706 boilerplate/cairo-boilerplate-pdf-private.h | 3 +
5707 boilerplate/cairo-boilerplate-pdf.c | 45 +-
5708 boilerplate/cairo-boilerplate-ps-private.h | 3 +
5709 boilerplate/cairo-boilerplate-ps.c | 54 +-
5710 boilerplate/cairo-boilerplate-quartz-private.h | 13 +-
5711 boilerplate/cairo-boilerplate-quartz.c | 3 +
5712 boilerplate/cairo-boilerplate-svg-private.h | 3 +
5713 boilerplate/cairo-boilerplate-svg.c | 45 +-
5714 .../cairo-boilerplate-test-surfaces-private.h | 9 +
5715 boilerplate/cairo-boilerplate-test-surfaces.c | 35 +-
5716 boilerplate/cairo-boilerplate-win32-private.h | 3 +
5717 boilerplate/cairo-boilerplate-win32.c | 3 +
5718 boilerplate/cairo-boilerplate-xcb-private.h | 3 +
5719 boilerplate/cairo-boilerplate-xcb.c | 11 +-
5720 boilerplate/cairo-boilerplate-xlib-private.h | 6 +
5721 boilerplate/cairo-boilerplate-xlib.c | 50 +-
5722 boilerplate/cairo-boilerplate.c | 41 +-
5723 boilerplate/cairo-boilerplate.h | 11 +-
5724 boilerplate/xmalloc.c | 10 +-
5726 perf/cairo-perf.c | 11 +-
5727 test/Makefile.am | 3 +-
5728 test/a1-image-sample.c | 2 +-
5729 test/a1-mask.c | 36 +-
5730 test/a1-traps-sample.c | 2 +-
5731 test/a8-mask.c | 36 +-
5732 test/big-line.c | 2 +-
5733 test/big-trap.c | 2 +-
5734 test/bilevel-image.c | 4 +-
5735 test/bitmap-font.c | 23 +-
5736 test/buffer-diff.c | 122 +++-
5737 test/buffer-diff.h | 9 +-
5738 test/cairo-test.c | 692 +++++++++++++-------
5739 test/cairo-test.h | 56 +-
5740 test/caps-joins-alpha.c | 2 +-
5741 test/caps-joins.c | 2 +-
5742 test/caps-sub-paths.c | 2 +-
5743 test/clip-all.c | 2 +-
5744 test/clip-empty.c | 2 +-
5745 test/clip-fill-rule-pixel-aligned.c | 2 +-
5746 test/clip-fill-rule.c | 2 +-
5747 test/clip-nesting.c | 2 +-
5748 test/clip-operator.c | 9 +-
5749 test/clip-push-group.c | 2 +-
5750 test/clip-twice.c | 2 +-
5751 test/clip-zero.c | 2 +-
5752 test/clipped-group.c | 2 +-
5753 test/close-path.c | 2 +-
5754 test/composite-integer-translate-over-repeat.c | 2 +-
5755 test/composite-integer-translate-over.c | 5 +-
5756 test/composite-integer-translate-source.c | 5 +-
5757 test/copy-path.c | 81 ++-
5758 test/create-for-stream.c | 42 +-
5759 test/create-from-png-stream.c | 12 +-
5760 test/create-from-png.c | 190 +++---
5761 test/dash-caps-joins.c | 2 +-
5762 test/dash-curve.c | 2 +-
5763 test/dash-no-dash.c | 2 +-
5764 test/dash-offset-negative.c | 2 +-
5765 test/dash-scale.c | 2 +-
5766 test/dash-state.c | 2 +-
5767 test/dash-zero-length.c | 2 +-
5768 test/degenerate-arc.c | 2 +-
5769 test/degenerate-path.c | 2 +-
5770 test/degenerate-pen.c | 2 +-
5771 test/device-offset-positive.c | 2 +-
5772 test/device-offset-scale.c | 2 +-
5773 test/device-offset.c | 2 +-
5774 test/extend-pad.c | 2 +-
5775 test/extend-reflect-similar.c | 7 +-
5776 test/extend-reflect.c | 5 +-
5777 test/extend-repeat-similar.c | 7 +-
5778 test/extend-repeat.c | 5 +-
5779 test/fallback-resolution.c | 7 +-
5780 test/fill-and-stroke-alpha-add.c | 2 +-
5781 test/fill-and-stroke-alpha.c | 2 +-
5782 test/fill-and-stroke.c | 2 +-
5783 test/fill-degenerate-sort-order.c | 2 +-
5784 test/fill-missed-stop.c | 2 +-
5785 test/fill-rule.c | 2 +-
5786 test/filter-bilinear-extents.c | 2 +-
5787 test/filter-nearest-offset.c | 4 +-
5788 test/finer-grained-fallbacks.c | 2 +-
5789 test/font-face-get-type.c | 17 +-
5790 test/font-matrix-translation.c | 14 +-
5791 test/ft-font-create-for-ft-face.c | 13 +-
5792 test/ft-show-glyphs-positioning.c | 2 +-
5793 test/ft-show-glyphs-table.c | 2 +-
5794 test/ft-text-antialias-none.c | 4 +-
5795 test/ft-text-vertical-layout-type1.c | 4 +-
5796 test/ft-text-vertical-layout-type3.c | 4 +-
5797 test/get-and-set.c | 8 +-
5798 test/get-clip.c | 66 +-
5799 test/get-group-target.c | 2 +-
5800 test/get-path-extents.c | 126 ++--
5801 test/get-xrender-format.c | 30 +-
5802 test/glyph-cache-pressure.c | 2 +-
5803 test/gradient-alpha.c | 2 +-
5804 test/gradient-zero-stops.c | 2 +-
5805 test/group-paint.c | 5 +-
5806 test/imagediff.c | 2 +-
5807 test/in-fill-empty-trapezoid.c | 20 +-
5808 test/in-fill-trapezoid.c | 11 +-
5809 test/infinite-join.c | 2 +-
5810 test/invalid-matrix.c | 7 +-
5811 test/large-clip.c | 2 +-
5812 test/large-font.c | 4 +-
5813 test/large-source.c | 2 +-
5814 test/leaky-dash.c | 2 +-
5815 test/leaky-dashed-rectangle.c | 2 +-
5816 test/leaky-polygon.c | 2 +-
5817 test/line-width-scale.c | 5 +-
5818 test/line-width-zero.c | 2 +-
5819 test/line-width.c | 2 +-
5820 test/linear-gradient-reflect.c | 2 +-
5821 test/linear-gradient.c | 4 +-
5822 test/long-dashed-lines.c | 3 +-
5823 test/long-lines.c | 21 +-
5824 test/mask-alpha.c | 2 +-
5825 test/mask-ctm.c | 4 +-
5826 test/mask-surface-ctm.c | 4 +-
5828 test/meta-surface-pattern.c | 3 +-
5829 test/miter-precision.c | 6 +-
5830 test/move-to-show-surface.c | 2 +-
5831 test/multi-page.c | 16 +-
5832 test/new-sub-path.c | 2 +-
5833 test/nil-surface.c | 13 +-
5834 test/operator-clear.c | 11 +-
5835 test/operator-source.c | 11 +-
5836 test/over-above-source.c | 2 +-
5837 test/over-around-source.c | 2 +-
5838 test/over-below-source.c | 2 +-
5839 test/over-between-source.c | 2 +-
5840 test/paint-repeat.c | 4 +-
5841 test/paint-source-alpha.c | 4 +-
5842 test/paint-with-alpha.c | 4 +-
5844 test/pattern-get-type.c | 25 +-
5845 test/pattern-getters.c | 13 +-
5846 test/pdf-features.c | 7 +-
5847 test/pixman-rotate.c | 2 +-
5848 test/ps-features.c | 7 +-
5849 test/pthread-show-text.c | 11 +-
5850 test/push-group.c | 2 +-
5851 test/radial-gradient.c | 2 +-
5852 test/random-intersections.c | 2 +-
5853 test/rectangle-rounding-error.c | 2 +-
5854 test/rectilinear-miter-limit.c | 2 +-
5855 test/rectilinear-stroke.c | 2 +-
5856 test/reflected-stroke.c | 2 +-
5857 test/rel-path.c | 9 +-
5858 test/rgb24-ignore-alpha.c | 2 +-
5859 test/rotate-image-surface-paint.c | 2 +-
5860 test/scale-down-source-surface-paint.c | 4 +-
5861 test/scale-source-surface-paint.c | 4 +-
5862 test/select-font-face.c | 2 +-
5863 test/select-font-no-show-text.c | 2 +-
5864 test/self-copy.c | 2 +-
5865 test/self-intersecting.c | 2 +-
5866 test/set-source.c | 2 +-
5867 test/show-text-current-point.c | 2 +-
5868 test/skew-extreme.c | 2 +-
5869 test/smask-fill.c | 3 +-
5870 test/smask-image-mask.c | 5 +-
5871 test/smask-mask.c | 3 +-
5872 test/smask-paint.c | 3 +-
5873 test/smask-stroke.c | 3 +-
5874 test/smask-text.c | 3 +-
5876 test/solid-pattern-cache-stress.c | 2 +-
5877 test/source-clip-scale.c | 2 +-
5878 test/source-clip.c | 2 +-
5879 test/source-surface-scale-paint.c | 4 +-
5880 test/stroke-ctm-caps.c | 2 +-
5881 test/stroke-image.c | 2 +-
5882 test/surface-finish-twice.c | 2 +-
5883 test/surface-pattern-big-scale-down.c | 2 +-
5884 test/surface-pattern-scale-down.c | 2 +-
5885 test/surface-pattern-scale-up.c | 2 +-
5886 test/surface-pattern.c | 2 +-
5887 test/surface-source.c | 2 +-
5888 test/svg-clip.c | 14 +-
5889 test/svg-surface.c | 15 +-
5890 test/text-antialias-gray.c | 4 +-
5891 test/text-antialias-none.c | 4 +-
5892 test/text-antialias-subpixel.c | 4 +-
5893 test/text-cache-crash.c | 4 +-
5894 test/text-lcd-filter-fir3.c | 4 +-
5895 test/text-lcd-filter-fir5.c | 4 +-
5896 test/text-lcd-filter-intra-pixel.c | 4 +-
5897 test/text-lcd-filter-none.c | 4 +-
5898 test/text-pattern.c | 2 +-
5899 test/text-rotate.c | 4 +-
5900 test/text-transform.c | 7 +-
5901 test/text-zero-len.c | 21 +-
5902 test/transforms.c | 2 +-
5903 test/translate-show-surface.c | 2 +-
5904 test/trap-clip.c | 27 +-
5905 test/truetype-tables.c | 10 +-
5906 test/unantialiased-shapes.c | 2 +-
5907 test/unbounded-operator.c | 9 +-
5908 test/user-font-proxy.c | 2 +-
5909 test/user-font.c | 2 +-
5910 test/xlib-expose-event.c | 32 +-
5911 test/xlib-surface.c | 40 +-
5912 test/zero-alpha.c | 2 +-
5913 213 files changed, 1732 insertions(+), 1079 deletions(-)
5915 commit c73b3e43e120065e40d8fc48c9bdbd88ebe8ab40
5916 Author: Chris Wilson <chris@chris-wilson.co.uk>
5917 Date: Tue Aug 12 21:21:20 2008 +0100
5919 [cairo-surface] Check for the error surface in _get_font_options()
5921 cairo_surface_get_font_options() has the side effect of initialising the
5922 font options on the surface, but fails to check that the surface is
5923 valid first. Therefore if we are passed a read-only error object, we will
5924 trigger a segmentation fault.
5926 Most likely this is the bug behind:
5927 http://bugs.freedesktop.org/show_bug.cgi?id=17096.
5929 src/cairo-surface.c | 7 ++++++-
5930 1 file changed, 6 insertions(+), 1 deletion(-)
5932 commit 922df7fc231b2499ce0651476083afe158a7639c
5933 Author: Adrian Johnson <ajohnson@redneon.com>
5934 Date: Tue Aug 12 07:34:24 2008 +0930
5936 Win32: Fix uninitialized variable
5938 src/cairo-win32-surface.c | 1 +
5939 1 file changed, 1 insertion(+)
5941 commit 31565677dbbc3212635ec95951a236e4243a2552
5942 Author: Chris Wilson <chris@chris-wilson.co.uk>
5943 Date: Mon Aug 11 18:21:53 2008 +0100
5945 [pattern] Unbounded patterns should have infinite extents.
5947 Fix a slight typo that produced negative sized extents instead of the
5950 src/cairo-pattern.c | 5 +++--
5951 1 file changed, 3 insertions(+), 2 deletions(-)
5953 commit 5ace0cb17a6e4719df1a32944595bd26a8f7f436
5954 Author: Chris Wilson <chris@chris-wilson.co.uk>
5955 Date: Mon Aug 11 17:28:20 2008 +0100
5957 [cairo-test] Exclude lcd-filter tests for vector targets.
5959 Add text-lcd-filter-* to vector_ignored_tests.
5961 test/cairo-test.c | 5 +++++
5962 1 file changed, 5 insertions(+)
5964 commit 52a8e528694aed3e918398e7d8e2d773eaa04c07
5965 Author: Behdad Esfahbod <behdad@behdad.org>
5966 Date: Mon Aug 11 15:28:04 2008 -0400
5968 [RELEASING] Document how to release with failing tests
5970 RELEASING | 10 ++++++++++
5971 1 file changed, 10 insertions(+)
5973 commit 75acb51a0940916f545f0ffba99ccf7669d0d745
5974 Author: Behdad Esfahbod <behdad@behdad.org>
5975 Date: Mon Aug 11 15:19:28 2008 -0400
5977 [configure.in] Post release version increment to 1.7.5
5980 1 file changed, 1 insertion(+), 1 deletion(-)
5982 commit 012a12a67b66f3809fa203f91ff8920936c25361
5983 Author: Behdad Esfahbod <behdad@behdad.org>
5984 Date: Mon Aug 11 13:54:55 2008 -0400
5986 [configure.in,NEWS] Release 1.7.4
5989 configure.in | 6 +++---
5990 2 files changed, 11 insertions(+), 3 deletions(-)
5992 commit b176b5c29d931bfab16601dcb89dd6b6728bc386
5993 Author: Behdad Esfahbod <behdad@behdad.org>
5994 Date: Mon Aug 11 15:06:10 2008 -0400
5996 [test/get-xrender-format.c] Don't fail if DISPLAY is not set
5998 test/get-xrender-format.c | 2 +-
5999 test/xlib-surface.c | 2 +-
6000 2 files changed, 2 insertions(+), 2 deletions(-)
6002 commit bbd5f03fd8b04b92c9f8f06a386894d88650c0b4
6003 Author: Behdad Esfahbod <behdad@behdad.org>
6004 Date: Mon Aug 11 14:28:00 2008 -0400
6006 [test/xlib-surface-source] Skip test if DISPLAY not set
6008 test/xlib-surface-source.c | 4 ++++
6009 1 file changed, 4 insertions(+)
6011 commit 5d307b58b9a056ee866ea56305900f2eaa88441a
6012 Author: Behdad Esfahbod <behdad@behdad.org>
6013 Date: Mon Aug 11 13:54:39 2008 -0400
6015 [doc] More template changes. Donno why they keep changing.
6017 doc/public/tmpl/cairo-font-options.sgml | 18 +++++++++---------
6018 doc/public/tmpl/cairo-status.sgml | 4 ++--
6019 doc/public/tmpl/cairo-text.sgml | 24 ++++++++++++------------
6020 3 files changed, 23 insertions(+), 23 deletions(-)
6022 commit 2c53acea0bc474fb46310384da5df0b32a675181
6023 Author: Behdad Esfahbod <behdad@behdad.org>
6024 Date: Mon Aug 11 13:54:26 2008 -0400
6026 [src/Makefile.am] Include missing header file
6028 src/Makefile.am | 1 +
6029 1 file changed, 1 insertion(+)
6031 commit 0e8afe87eca795be9e820ad73aed31deb1c0bf62
6032 Author: Behdad Esfahbod <behdad@behdad.org>
6033 Date: Mon Aug 11 13:09:46 2008 -0400
6035 [RELEASING] Mention git-shortlog
6037 RELEASING | 7 +++++--
6038 1 file changed, 5 insertions(+), 2 deletions(-)
6040 commit c6273564602e603d8caa59a7010ca5991ff1c03d
6041 Author: Behdad Esfahbod <behdad@behdad.org>
6042 Date: Mon Aug 11 12:12:32 2008 -0400
6044 [configure.in] Increment version to 1.7.3 post release
6047 1 file changed, 1 insertion(+), 1 deletion(-)
6049 commit 057a832f9e806f9321648e47ee314a62e82e6ba4
6050 Author: Behdad Esfahbod <behdad@behdad.org>
6051 Date: Mon Aug 11 03:28:32 2008 -0400
6053 [configure.in,NEWS] Release 1.7.2
6055 NEWS | 218 ++++++++++++++++++++++++++++++++++++++++++++++++----------
6057 2 files changed, 186 insertions(+), 38 deletions(-)
6059 commit 3dc2fc4cd953206313255b01aa382a8dbef50be1
6060 Author: Behdad Esfahbod <behdad@behdad.org>
6061 Date: Mon Aug 11 04:45:52 2008 -0400
6063 [doc] Update templates
6065 commit d266648276cbd293a5cfa82bdc323695517098d8
6066 Author: Chris Wilson <chris@chris-wilson.co.uk>
6067 Date: Mon Aug 11 08:40:22 2008 +0100
6069 [configure.in] Revert addition of MACRO_DIR()
6071 Without it we get a three line warning under Ubuntu. However, it just
6072 causes more problems than it is worth with older autoconf/automake.
6076 2 files changed, 1 insertion(+), 3 deletions(-)
6078 commit d073b6f1459cdc1584da1061b1f5d36c7981fbca
6079 Author: Behdad Esfahbod <behdad@behdad.org>
6080 Date: Mon Aug 11 01:58:32 2008 -0400
6082 [RELEASING] Update for cairo-features-win32.h
6085 1 file changed, 1 insertion(+), 1 deletion(-)
6087 commit 177729ba938d544e470625d519e9126023aac8d7
6088 Author: Behdad Esfahbod <behdad@behdad.org>
6089 Date: Mon Aug 11 01:54:21 2008 -0400
6091 [ChangeLog.mk] Revert 21ab44f11d3d20eead5d988c7a6cf48eebff08c7
6093 That commit made the ChangeLog regenration rule to depend on .git/HEAD,
6094 not .git/. However, the contents and timestamp of that file does not
6095 change when you commit something locally. Hence, ChangeLog could remain
6096 stale. Depending on .git/ does the job.
6099 1 file changed, 1 insertion(+), 1 deletion(-)
6101 commit 650a6a32762576063069d9c87dd23d9d0f30ea09
6102 Author: Behdad Esfahbod <behdad@behdad.org>
6103 Date: Mon Aug 11 01:48:10 2008 -0400
6105 [RELEASING] Easier to see API diff than log
6108 1 file changed, 1 insertion(+), 1 deletion(-)
6110 commit 6e4ed9ce84ba98be3050e5a6b0da2c65cfdc75fc
6111 Author: Behdad Esfahbod <behdad@behdad.org>
6112 Date: Mon Aug 11 01:44:54 2008 -0400
6116 src/cairo-scaled-font-subsets-private.h | 4 ++--
6117 1 file changed, 2 insertions(+), 2 deletions(-)
6119 commit 591d5160f810656bf394306570ed5154e4285a37
6120 Author: Behdad Esfahbod <behdad@behdad.org>
6121 Date: Mon Aug 11 01:41:37 2008 -0400
6123 [RELEASING] Update for external pixman
6125 RELEASING | 6 +++---
6126 1 file changed, 3 insertions(+), 3 deletions(-)
6128 commit 549dd9adb53aff95640a3c113887f04aa8c8de65
6129 Author: Behdad Esfahbod <behdad@behdad.org>
6130 Date: Mon Aug 11 01:40:27 2008 -0400
6132 [test] Update ref image list
6134 test/Makefile.am | 7 ++++++-
6135 1 file changed, 6 insertions(+), 1 deletion(-)
6137 commit f2db80bf9ef5c454da77beeb263193d46f6b3d8c
6138 Author: Behdad Esfahbod <behdad@behdad.org>
6139 Date: Sun Aug 10 23:39:44 2008 -0400
6141 [gstate] Revert Check for NULL font_face in _cairo_gstate_set_font_face
6143 Revert commit b67d34e960fa07cfafb13e3a5b5b4a63cfb024d3.
6144 cairo_set_font_face() is documented to accept NULL to restore default
6145 font face. Revert commit that made it reject NULL.
6147 src/cairo-gstate.c | 5 +----
6148 1 file changed, 1 insertion(+), 4 deletions(-)
6150 commit e797f6791ec17b490e9cddf8eddc695ec1631e3c
6151 Author: Behdad Esfahbod <behdad@behdad.org>
6152 Date: Sun Aug 10 23:39:28 2008 -0400
6154 [test/Makefil.am] Cosmetic
6156 test/Makefile.am | 2 +-
6157 1 file changed, 1 insertion(+), 1 deletion(-)
6159 commit fef03ef98a116021a688d9f39b80844bc1c332e6
6160 Author: Chris Wilson <chris@chris-wilson.co.uk>
6161 Date: Sun Aug 10 08:31:19 2008 +0100
6163 [xlib] Check for depth == 0 in create_surface_internal().
6165 Validate that we find an appropriate depth for the Xlib surface, before
6166 attempting to create the surface. This was manifesting itself with
6167 XInitImage() failures during _draw_image_surface() (actually detected as
6168 a segmentation fault in XPutPixel() due to an incomplete XImage). So we
6169 also add a couple of asserts to ensure that XInitImage() is successful -
6170 which to the best of our knowledge, they should always be.
6172 src/cairo-xlib-surface.c | 87 +++++++++++++++++++++++++++-------------------
6173 1 file changed, 52 insertions(+), 35 deletions(-)
6175 commit c014e51dc9288ca999b91ed078ee318bcd9fe4d1
6176 Author: Adrian Johnson <ajohnson@redneon.com>
6177 Date: Sun Aug 10 14:49:30 2008 +0930
6179 NEWS: Win32 font backend has been fixed
6182 1 file changed, 3 deletions(-)
6184 commit ac2781ec0820e9352b28335e7d9553926d069ff2
6185 Author: Vladimir Vukicevic <vladimir@pobox.com>
6186 Date: Sun Aug 10 05:05:28 2008 -0700
6188 [dfb] fix crashes due to cached glyphs going away during operation
6190 src/cairo-directfb-surface.c | 73 +++++++++++++++++++++++++++++++-----------
6191 1 file changed, 54 insertions(+), 19 deletions(-)
6193 commit 7fbda72137d8685718a8e8fe1d3af5b1d377521c
6194 Author: Vladimir Vukicevic <vladimir@pobox.com>
6195 Date: Sun Aug 10 05:05:27 2008 -0700
6197 [dfb] optimize DirectFB blits
6199 boilerplate/cairo-boilerplate-directfb.c | 28 ++-
6200 src/cairo-directfb-surface.c | 399 +++++++++---------------------
6201 2 files changed, 140 insertions(+), 287 deletions(-)
6203 commit a097bafd287ae3ee5ed3677a83b31d8d9d225a0c
6204 Author: Vladimir Vukicevic <vladimir@pobox.com>
6205 Date: Sun Aug 10 05:05:27 2008 -0700
6207 [dfb] correctly handle case of 0 boxes in clip region
6209 src/cairo-directfb-surface.c | 2 ++
6210 1 file changed, 2 insertions(+)
6212 commit a0cfd9962f5c7bbb047698d966923af30e9c3221
6213 Author: Vladimir Vukicevic <vladimir@slide.(none)>
6214 Date: Sun Aug 10 05:05:27 2008 -0700
6216 [dfb] Propagate clip correctly to surface returned from acquire_dest_image
6218 If the internal buffer is wrapped in an image surface in acquire_dest_image,
6219 that image surface needs the current clip region propagated to it. If not,
6220 then the clip needs to be applied at release_dest_image time.
6222 src/cairo-directfb-surface.c | 63 ++++++++++++++++++++++++++++++++++++------
6223 1 file changed, 54 insertions(+), 9 deletions(-)
6225 commit 71f010bb522dd9387d749703a170de026a3fa8d6
6226 Author: Vladimir Vukicevic <vladimir@slide.(none)>
6227 Date: Sun Aug 10 05:05:26 2008 -0700
6229 [dfb] convert RUN_CLIPPED macro to function with helpers
6231 This helps with debugging and prepares the way for some future
6234 src/cairo-directfb-surface.c | 241 ++++++++++++++++++++++++++++++++----------
6235 1 file changed, 186 insertions(+), 55 deletions(-)
6237 commit bc4635f07729d6a73054971f0e7ec04433f414da
6238 Author: Adrian Johnson <ajohnson@redneon.com>
6239 Date: Sun Aug 10 14:24:48 2008 +0930
6241 Update _cairo_scaled_font_subsets_map_glyph() docs
6243 src/cairo-scaled-font-subsets-private.h | 14 ++++++++++----
6244 1 file changed, 10 insertions(+), 4 deletions(-)
6246 commit 4c8317941815971f1d060243e1f6153df06866ca
6247 Author: Adrian Johnson <ajohnson@redneon.com>
6248 Date: Sun Aug 10 14:24:16 2008 +0930
6250 Win32-printing: Fix Type 1 font printing so fallback is not used
6252 Using glyph indices with Type 1 fonts on a printer DC does not work.
6253 Previously there was a temporary fix where Type 1 fonts were printed
6256 Now that _cairo_scaled_font_subsets_map_glyph() provides the reverse
6257 mapping of the glyph index fix this by converting the glyph indices
6258 back to the unicode values when printing Type 1 fonts.
6260 src/cairo-win32-printing-surface.c | 63 ++++++++++++++++++++++++++++++------
6261 src/cairo-win32-private.h | 1 +
6262 src/cairo-win32-surface.c | 22 ++++++++++++-
6263 3 files changed, 75 insertions(+), 11 deletions(-)
6265 commit b34c248b92b2d1544a23c20ecaa12f64792cb1d3
6266 Author: Adrian Johnson <ajohnson@redneon.com>
6267 Date: Sun Aug 10 14:18:52 2008 +0930
6269 Fix _cairo_sub_font_map_glyph() to return correct unicode value
6271 src/cairo-scaled-font-subsets.c | 8 ++++----
6272 1 file changed, 4 insertions(+), 4 deletions(-)
6274 commit d1c619bc7d51a8e96eaf391691bec142dbd34e0e
6275 Author: Adrian Johnson <ajohnson@redneon.com>
6276 Date: Sun Aug 10 14:17:01 2008 +0930
6278 win32-font: Make cairo_show_text() work again
6280 For now implement _ucs4_to_index() and leave _text_to_glyphs()
6283 src/cairo-win32-font.c | 34 ++++++++++++++++++++++++++++++++--
6284 1 file changed, 32 insertions(+), 2 deletions(-)
6286 commit e9933ba28cad1fc2219f145f5da47750b19acc7b
6287 Author: Behdad Esfahbod <behdad@behdad.org>
6288 Date: Fri Aug 8 17:12:07 2008 -0400
6290 [NEWS] Add some notes about recent happenings
6292 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
6293 1 file changed, 52 insertions(+)
6295 commit 8f6e52b0681384a5188277641d700f0e80e2c202
6296 Author: Behdad Esfahbod <behdad@behdad.org>
6297 Date: Fri Aug 8 17:10:35 2008 -0400
6299 [doc] Add short user-font section docs
6301 doc/public/tmpl/cairo-user-fonts.sgml | 7 ++++++-
6302 1 file changed, 6 insertions(+), 1 deletion(-)
6304 commit 5227897b17d04fc6b8604d84847f85a1deb0c1f2
6305 Author: Behdad Esfahbod <behdad@behdad.org>
6306 Date: Fri Aug 8 17:06:21 2008 -0400
6308 Add note about zero-glyph clusters
6311 1 file changed, 3 insertions(+)
6313 commit 322c3ef7f94c67d00c6113d0b8ae92a82b67e8a4
6314 Author: Chris Wilson <chris@chris-wilson.co.uk>
6315 Date: Fri Aug 8 10:09:55 2008 +0100
6317 [.gitignore] Update list of tests
6319 test/.gitignore | 7 +++++++
6320 1 file changed, 7 insertions(+)
6322 commit 893b50a98068fa3912c90c8b70c423a3da72a91c
6323 Author: Chris Wilson <chris@chris-wilson.co.uk>
6324 Date: Fri Aug 8 10:05:53 2008 +0100
6326 [test] Update reference image for leaky-dashed-rectangle.
6328 Bah, it seems someone fixed the code and the error lay in discrepancies
6329 with the antialiasing in the reference image.
6331 test/Makefile.am | 3 ++-
6332 test/leaky-dashed-rectangle-ps-ref.png | Bin 0 -> 444 bytes
6333 test/leaky-dashed-rectangle-ref.png | Bin 444 -> 366 bytes
6334 3 files changed, 2 insertions(+), 1 deletion(-)
6336 commit 49fb0e834ecf31ac61735e2e35a1b486d5290db6
6337 Author: Chris Wilson <chris@chris-wilson.co.uk>
6338 Date: Fri Aug 8 09:11:10 2008 +0100
6340 [matrix] Prefer a return parameter for _compute_determinant().
6342 Returning a double tends to be slightly more efficient than passing a
6343 pointer to fill, and is a lot easier to read.
6345 src/cairo-matrix.c | 13 ++++++-------
6346 src/cairo-path-stroke.c | 7 ++-----
6347 src/cairo-pen.c | 8 +-------
6348 src/cairoint.h | 4 ++--
6349 4 files changed, 11 insertions(+), 21 deletions(-)
6351 commit eabe572981e1e415171dbfde81c3bf94297355b4
6352 Author: Behdad Esfahbod <behdad@behdad.org>
6353 Date: Fri Aug 8 00:56:36 2008 -0400
6355 Document all new API
6357 Also validate clusters generated by font backends.
6359 doc/public/cairo-sections.txt | 5 +
6360 doc/public/tmpl/cairo-scaled-font.sgml | 18 ++++
6361 doc/public/tmpl/cairo-text.sgml | 34 ++++++
6362 doc/public/tmpl/cairo-user-fonts.sgml | 5 +
6363 src/cairo-misc.c | 76 ++++++++++++-
6364 src/cairo-scaled-font.c | 182 +++++++++++++++++++++++++++++++-
6365 src/cairo.c | 135 ++++++++++++++---------
6366 src/cairo.h | 75 +++++++++++--
6367 src/cairoint.h | 17 +++
6368 9 files changed, 482 insertions(+), 65 deletions(-)
6370 commit 08e8a42ea149deea760b94b62d9690393ce7cfcd
6371 Author: Behdad Esfahbod <behdad@behdad.org>
6372 Date: Fri Aug 8 02:22:26 2008 -0400
6374 [test/user-font] Fix comments
6376 test/user-font.c | 4 ++--
6377 1 file changed, 2 insertions(+), 2 deletions(-)
6379 commit 38c5f0d49b2ce1a6146cbea5ec3376a52cac8e68
6380 Author: Behdad Esfahbod <behdad@behdad.org>
6381 Date: Fri Aug 8 02:18:25 2008 -0400
6383 [scaled-font-subsets] Fix UTF-8 mapping
6385 Prevously all show_text_glyphs() clusters were using ActualText. This
6388 I have a feeling that the following scenario is broken still though:
6390 - show_text_glyphs maps glyph 1 to some utf8 text different from
6391 what index_to_ucs4 will give for glyph 1. This will assign the
6392 utf8 text to glyph 1's ToUnicode.
6394 - show_glyphs shows glyph 1. Since cluster has no utf8 text, we
6395 won't use ActualText and fall back to ToUnicode. But the ToUnicode
6396 value assigned to glyph 1 is non-standard now. We should use
6399 I have not verified this hypothesis though.
6401 src/cairo-scaled-font-subsets.c | 9 +++++----
6402 1 file changed, 5 insertions(+), 4 deletions(-)
6404 commit bc4d363e9238da0908ce01d0c08c3f344bd9d34f
6405 Author: Behdad Esfahbod <behdad@behdad.org>
6406 Date: Fri Aug 8 01:27:41 2008 -0400
6408 [pdf-operators] Add note about clusters with no glyphs
6410 src/cairo-pdf-operators.c | 2 ++
6411 1 file changed, 2 insertions(+)
6413 commit 1bc404e3460a32ba94b420725ecff25bda7a0c35
6414 Author: Behdad Esfahbod <behdad@behdad.org>
6415 Date: Fri Aug 8 01:27:12 2008 -0400
6417 Make utf8 handling in font subsets more consistent
6419 src/cairo-pdf-operators.c | 4 ++--
6420 src/cairo-scaled-font-subsets.c | 7 +++++--
6421 2 files changed, 7 insertions(+), 4 deletions(-)
6423 commit 849159ddd15b21b4feee05aebe82b3acfd94ba38
6424 Author: Behdad Esfahbod <behdad@behdad.org>
6425 Date: Fri Aug 8 00:54:54 2008 -0400
6427 [truetype] Fix gcc warning about possibly-infinite-loops
6429 src/cairo-truetype-subset.c | 11 ++++++-----
6430 1 file changed, 6 insertions(+), 5 deletions(-)
6432 commit 178789c37a2a6edaba14a453817b3f9338eab1bd
6433 Author: Behdad Esfahbod <behdad@behdad.org>
6434 Date: Fri Aug 8 00:52:47 2008 -0400
6436 [cairo-scaled-font-subsets] Make utf8 handling more robust
6438 src/cairo-scaled-font-subsets.c | 10 ++++------
6439 1 file changed, 4 insertions(+), 6 deletions(-)
6441 commit 597bfa922ae28ae4e7aa0ee72b856b5868799d4e
6442 Author: Behdad Esfahbod <behdad@behdad.org>
6443 Date: Thu Aug 7 22:48:38 2008 -0400
6445 [test/user-font] Document glyph-not-found situation
6447 test/user-font.c | 8 +++++---
6448 1 file changed, 5 insertions(+), 3 deletions(-)
6450 commit d9408041aa220c8a61e520de25bce9671ba4d0a9
6451 Author: Behdad Esfahbod <behdad@behdad.org>
6452 Date: Thu Aug 7 22:06:15 2008 -0400
6454 Add cairo_scaled_font_text_to_glyphs()
6456 And update user-font text_to_glyphs() method to match.
6458 Currently disable the win32-font text_to_glyphs(), until that one
6459 is updated. Or better yet, remove it and implement ucs4_to_index().
6460 It's the toy font API afterall.
6462 src/cairo-gstate.c | 35 +++++----
6463 src/cairo-scaled-font.c | 183 +++++++++++++++++++++++++++++++++++++----------
6464 src/cairo-user-font.c | 38 +++++-----
6465 src/cairo-win32-font.c | 2 +-
6466 src/cairo.c | 59 ++++++++-------
6467 src/cairo.h | 23 +++++-
6468 src/cairoint.h | 40 +++++------
6469 test/user-font-proxy.c | 49 ++++++++++---
6470 8 files changed, 301 insertions(+), 128 deletions(-)
6472 commit b8fc845094e07ad2520a2c10f27c532bd3273720
6473 Author: Behdad Esfahbod <behdad@behdad.org>
6474 Date: Thu Aug 7 21:46:36 2008 -0400
6476 [cairo-scaled-font-subsets] Fix bug with utf8 handling
6478 src/cairo-scaled-font-subsets.c | 2 +-
6479 1 file changed, 1 insertion(+), 1 deletion(-)
6481 commit 6b3f6dc77abbc48d741b92cd62f93da68f00b9a2
6482 Author: Behdad Esfahbod <behdad@behdad.org>
6483 Date: Thu Aug 7 20:45:54 2008 -0400
6485 [unicode] Add _cairo_utf8_get_char_validated()
6487 src/cairo-unicode.c | 42 ++++++++++++++++++++++++++++++++++++++++--
6488 src/cairoint.h | 4 ++++
6489 2 files changed, 44 insertions(+), 2 deletions(-)
6491 commit 8c514a40b80e11cc904db3ce9ee353839321044e
6492 Author: Behdad Esfahbod <behdad@behdad.org>
6493 Date: Thu Aug 7 20:44:45 2008 -0400
6495 Add cairo_glyph/text_cluster_allocate/free
6497 These are needed by the upcoming cairo_scaled_font_text_to_glyphs()
6499 src/cairo-misc.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
6500 src/cairo.h | 12 +++++++
6501 2 files changed, 116 insertions(+)
6503 commit b01ad0835d25fbee91d037e4484ba652075ffb39
6504 Author: Behdad Esfahbod <behdad@behdad.org>
6505 Date: Thu Aug 7 15:44:11 2008 -0400
6507 [user-font] Add a cairo_t argument to cairo_user_scaled_font_init_func_t
6509 The init func does not actually need to draw anything, but having a cairo_t
6510 similar to that passed to render_glyph is handy for computing font extents.
6511 This is because cairo makes doing some things really hard (if not impossible)
6514 The user-font-proxy test case is a great example of how the added cairo_t
6515 makes life much easier.
6517 src/cairo-user-font.c | 44 ++++++++++++++++++++++++++-------
6518 src/cairo.h | 8 ++++++
6519 test/user-font-proxy.c | 64 +++++++++++++++++++++++-------------------------
6520 test/user-font.c | 1 +
6521 4 files changed, 74 insertions(+), 43 deletions(-)
6523 commit d6ae23478ae6bde0714a50b2ed77e788f17cc03d
6524 Author: Behdad Esfahbod <behdad@behdad.org>
6525 Date: Thu Aug 7 15:43:21 2008 -0400
6527 Check for NULL pointer in cairo_set_scaled_font
6529 src/cairo.c | 5 +++++
6530 1 file changed, 5 insertions(+)
6532 commit b67d34e960fa07cfafb13e3a5b5b4a63cfb024d3
6533 Author: Behdad Esfahbod <behdad@behdad.org>
6534 Date: Thu Aug 7 15:42:58 2008 -0400
6536 [gstate] Check for NULL font_face in _cairo_gstate_set_font_face
6538 src/cairo-gstate.c | 5 ++++-
6539 1 file changed, 4 insertions(+), 1 deletion(-)
6541 commit 7e57892983bbc639fe4a402a427b255e4d4ab746
6542 Author: Behdad Esfahbod <behdad@behdad.org>
6543 Date: Wed Aug 6 21:37:36 2008 -0400
6545 Add toy font constructor and getters
6549 cairo_toy_font_face_create()
6550 cairo_toy_font_face_get_family()
6551 cairo_toy_font_face_get_slant()
6552 cairo_toy_font_face_get_weight()
6554 doc/public/cairo-sections.txt | 4 +
6555 doc/public/tmpl/cairo-status.sgml | 2 +
6556 doc/public/tmpl/cairo-text.sgml | 38 +++++++
6557 src/cairo-font-face.c | 196 ++++++++++++++++++++++++++++++++++---
6558 src/cairo-gstate.c | 4 +-
6559 src/cairo-misc.c | 4 +
6560 src/cairo-surface.c | 2 +
6562 src/cairo.h | 24 ++++-
6563 src/cairoint.h | 10 +-
6564 test/.gitignore | 1 +
6565 test/Makefile.am | 3 +
6566 test/toy-font-face.c | 129 ++++++++++++++++++++++++
6567 test/user-font-proxy-pdf-ref.png | Bin 0 -> 10174 bytes
6568 test/user-font-proxy-ps-ref.png | Bin 8452 -> 7227 bytes
6569 test/user-font-proxy.c | 43 ++++----
6570 16 files changed, 421 insertions(+), 45 deletions(-)
6572 commit bca9a21e98c870cdb4695c9155517377757beaea
6573 Author: Behdad Esfahbod <behdad@behdad.org>
6574 Date: Wed Aug 6 20:40:23 2008 -0400
6576 [docs] Update private header list
6578 doc/public/Headers.mk | 1 +
6579 doc/public/Makefile.am | 1 +
6580 2 files changed, 2 insertions(+)
6582 commit 4bb7388b65ea56287f877f8241caa7a189c0c519
6583 Author: Behdad Esfahbod <behdad@behdad.org>
6584 Date: Wed Aug 6 20:38:29 2008 -0400
6586 Remove unnecessary checks for CAIRO_STATUS_INVALID_STRING
6588 We check that all input text is valid UTF-8. Not sure why the code
6589 was being lenient to invalid strings.
6591 src/cairo-pdf-surface.c | 2 +-
6592 src/cairo-scaled-font-subsets.c | 4 ++--
6593 2 files changed, 3 insertions(+), 3 deletions(-)
6595 commit 5bac12252c79ea017457222b3cda2b82c8c33702
6596 Author: Chris Wilson <chris@chris-wilson.co.uk>
6597 Date: Fri Aug 8 01:47:36 2008 +0100
6599 [xlib] Free regions on failure.
6601 Fix leak of regions along error path.
6603 src/cairo-xlib-surface.c | 7 +++++--
6604 1 file changed, 5 insertions(+), 2 deletions(-)
6606 commit 16939e1a8623a3671bf5ce848841616a45f79df2
6607 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
6608 Date: Thu Aug 7 19:19:39 2008 -0400
6610 Center the group pattern transform around the device_transformed origin
6612 When popping a group, transform it by the ctm centered at the origin
6613 specified by the device_transform so that it ends up in the right place
6614 when we try to paint. This fixes the regressions caused by
6615 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5 as shown by the pdf backend.
6617 src/cairo.c | 12 +++++++++++-
6618 1 file changed, 11 insertions(+), 1 deletion(-)
6620 commit e8ddbd1a1425586eac0d40675127d529b7029ea1
6621 Author: Jeff Muizelaar <jrmuizel@jrmuizel-desktop.(none)>
6622 Date: Thu Aug 7 19:06:31 2008 -0400
6624 Add a test case showing the invariance of push/pop_group
6626 This shows the regressions caused by
6627 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5
6629 test/Makefile.am | 3 ++
6630 test/clipped-group-ps-ref.png | Bin 0 -> 343 bytes
6631 test/clipped-group-ref.png | Bin 0 -> 350 bytes
6632 test/clipped-group.c | 96 +++++++++++++++++++++++++++++++++++++++++
6633 4 files changed, 99 insertions(+)
6635 commit f916e2178b6f52e3b3600d100dfe75bfa4bf12cb
6636 Author: Chris Wilson <chris@chris-wilson.co.uk>
6637 Date: Thu Aug 7 23:54:25 2008 +0100
6639 [meta] Use the pre-computed device_transform_inverse.
6641 Avoid repeatedly inverting the same matrix by using the pre-computed
6644 src/cairo-meta-surface.c | 16 ++++++----------
6645 1 file changed, 6 insertions(+), 10 deletions(-)
6647 commit 523f7258014f9db421297d14804e71e1da9f9761
6648 Author: Chris Wilson <chris@chris-wilson.co.uk>
6649 Date: Thu Aug 7 22:00:30 2008 +0100
6651 [meta] Remove debugging assert.
6653 Remove an old assertion that no error occurred.
6655 src/cairo-meta-surface.c | 1 -
6656 1 file changed, 1 deletion(-)
6658 commit 34eb420cc70f1d9df665d35dc9902a4313e7aace
6659 Author: Vladimir Vukicevic <vladimir@pobox.com>
6660 Date: Thu Aug 7 13:25:02 2008 -0700
6662 [misc] Remove trailing comma on enum
6664 src/cairoint.h | 2 +-
6665 1 file changed, 1 insertion(+), 1 deletion(-)
6667 commit afdf3917ee86a7d8ae17f556db96478682674a76
6668 Author: Chris Wilson <chris@chris-wilson.co.uk>
6669 Date: Wed Aug 6 09:19:02 2008 +0100
6671 [configure.in] Slight massage for recent Ubuntu autotools.
6673 Fix up a couple of minor complaints about possibly undefined macros,
6674 cached conditional values and suggested improvements.
6677 configure.in | 16 +++++++---------
6678 2 files changed, 9 insertions(+), 9 deletions(-)
6680 commit 7c1078b830ac7b88a56dd2afa5dc48234e3b6e84
6681 Author: Chris Wilson <chris@chris-wilson.co.uk>
6682 Date: Wed Aug 6 09:23:18 2008 +0100
6684 Check return from pixman_image_set_filter().
6686 Adding warn_unused_result to pixman detected a couple of instances where
6687 we abused the knowledge that the code currently can not fail, but in
6688 deference to its independent existence we should be more cautious.
6690 src/cairo-image-surface.c | 18 ++++++++++++++----
6691 src/cairo-pattern.c | 9 +++++++--
6692 2 files changed, 21 insertions(+), 6 deletions(-)
6694 commit 56619a16ddc6add30b4a5c51ce02d7030752429f
6695 Author: Chris Wilson <chris@chris-wilson.co.uk>
6696 Date: Thu Aug 7 08:25:37 2008 +0100
6698 [cairo-surface] Use the pre-computed device_transform_inverse.
6700 Avoid inverting the device_transform when copying the pattern for the
6701 destination surface by using the pre-computed inverse.
6703 src/cairo-surface.c | 11 ++---------
6704 1 file changed, 2 insertions(+), 9 deletions(-)
6706 commit 6a4ddb6f47c552f416e6dec069eb57ebe16005fd
6707 Author: Chris Wilson <chris@chris-wilson.co.uk>
6708 Date: Wed Aug 6 13:45:08 2008 +0100
6710 [pattern] Set the reference count for stack allocations to 0.
6712 Keep the reference count as zero for temporary, on-stack patterns in
6713 order to detect attempts to keep references beyond their scope. (And
6714 mismatched _init()/_destroy()).
6716 src/cairo-pattern.c | 16 +++++++++++++---
6717 1 file changed, 13 insertions(+), 3 deletions(-)
6719 commit ae7bdd7ee0642c5b0f2e1ea3dabf38e79cf18c0b
6720 Author: Chris Wilson <chris@chris-wilson.co.uk>
6721 Date: Wed Aug 6 13:00:21 2008 +0100
6723 [valgrind] More suppressions for XrmGetStringDatabase().
6725 Another variation in the callstack needs suppressing.
6727 test/.valgrind-suppressions | 32 ++++++++++++++++++++++++++++++++
6728 1 file changed, 32 insertions(+)
6730 commit 64ba6c74dbc5464da3093867b4f26166da7fbaff
6731 Author: Behdad Esfahbod <behdad@behdad.org>
6732 Date: Wed Aug 6 18:37:03 2008 -0400
6734 Fix Ubuntu-specific issue with FC_LCD_NONE et al
6736 No idea if Ubuntu will ever learn not to modify public API of
6737 common libraries without any clue of what kind of problems they
6738 create by doing that. They could very well define
6739 FC_UBUNTU_LCD_FILTER if they wanted to, but no, they defined
6740 FC_LCD_FILTER as if it's an upstream thing. It wasn't.
6742 src/cairo-ft-font.c | 3 +++
6743 src/cairo-xlib-screen.c | 3 +++
6744 2 files changed, 6 insertions(+)
6746 commit 1dc0f3a1ad2cfa7f910e4a729943fbddbb90637d
6747 Author: Behdad Esfahbod <behdad@behdad.org>
6748 Date: Wed Aug 6 02:14:59 2008 -0400
6750 [test/user-font] Document that Poppler is buggy with glyph 0
6752 test/user-font.c | 2 +-
6753 1 file changed, 1 insertion(+), 1 deletion(-)
6755 commit 0ec6c9ca6210649006e40d031a118c4c7ef437ea
6756 Author: Chris Wilson <chris@chris-wilson.co.uk>
6757 Date: Wed Aug 6 11:11:24 2008 +0100
6759 [pdf] Propagate status from emit_glyph()
6761 Propagate the error status from _cairo_pdf_operators_emit_glyph().
6763 src/cairo-pdf-operators.c | 9 ++++++---
6764 1 file changed, 6 insertions(+), 3 deletions(-)
6766 commit 2dfee9986c739b2fdadf551dd71e104df332b2b8
6767 Author: Chris Wilson <chris@chris-wilson.co.uk>
6768 Date: Wed Aug 6 10:51:34 2008 +0100
6770 [pdf] Fixup a couple of inverted tests.
6772 Check for NULL returns from malloc, instead of reporting errors and
6775 src/cairo-pdf-surface.c | 6 +++---
6776 1 file changed, 3 insertions(+), 3 deletions(-)
6778 commit 7ffd8bbcb0078fe305a6bc7a37f809c0c6e1011a
6779 Author: Chris Wilson <chris@chris-wilson.co.uk>
6780 Date: Wed Aug 6 00:36:47 2008 +0100
6782 [cairo-font-options] Add private alias for set_lcd_filter()
6784 check-plt was rightfully claiming about an internal use of a public
6785 symbol, so add the missing private alias.
6787 src/cairo-font-options.c | 1 +
6788 src/cairoint.h | 1 +
6789 2 files changed, 2 insertions(+)
6791 commit 221599ab0fc1a2fa878659fe5bef88104e56a07c
6792 Author: Behdad Esfahbod <behdad@behdad.org>
6793 Date: Tue Aug 5 16:30:02 2008 -0400
6795 Finish off lcd-filter merge
6798 doc/public/tmpl/cairo-font-options.sgml | 29 +++++++++++++++++++
6799 doc/public/tmpl/cairo-text.sgml | 2 ++
6800 src/cairo-font-options.c | 4 +++
6801 src/cairo-ft-font.c | 48 ++++++++++++++++++++-----------
6803 6 files changed, 70 insertions(+), 17 deletions(-)
6805 commit 19b36fb88757e34e8340de175f3723e882b92de7
6806 Author: Behdad Esfahbod <behdad@behdad.org>
6807 Date: Tue Aug 5 14:54:55 2008 -0400
6811 src/Makefile.win32 | 32 ++++++++++++++++----------------
6812 1 file changed, 16 insertions(+), 16 deletions(-)
6814 commit 65d017a4063242d221365371301e1aab5b3c6299
6815 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6816 Date: Tue Aug 5 13:52:13 2008 +0200
6818 Add tests for the new LCD filter API
6820 test/Makefile.am | 4 ++
6821 test/font-options.c | 6 ++-
6822 test/text-antialias-subpixel-ref.png | Bin 1121 -> 974 bytes
6823 test/text-antialias-subpixel.c | 1 +
6824 test/text-lcd-filter-fir3-ref.png | Bin 0 -> 974 bytes
6825 test/text-lcd-filter-fir3.c | 85 ++++++++++++++++++++++++++++++
6826 test/text-lcd-filter-fir5-ref.png | Bin 0 -> 974 bytes
6827 test/text-lcd-filter-fir5.c | 85 ++++++++++++++++++++++++++++++
6828 test/text-lcd-filter-intra-pixel-ref.png | Bin 0 -> 974 bytes
6829 test/text-lcd-filter-intra-pixel.c | 85 ++++++++++++++++++++++++++++++
6830 test/text-lcd-filter-none-ref.png | Bin 0 -> 974 bytes
6831 test/text-lcd-filter-none.c | 85 ++++++++++++++++++++++++++++++
6832 12 files changed, 350 insertions(+), 1 deletion(-)
6834 commit 45ec5e77bb26b0f93b0b1e11bd3055e8c9611111
6835 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6836 Date: Wed Jan 23 00:05:00 2008 +0100
6838 Add symbols for setting the LCD filter type on font options
6840 doc/public/cairo-sections.txt | 3 +++
6841 1 file changed, 3 insertions(+)
6843 commit a0cad6c398f5e30e3d10fb19fe51d4266b1c0b4c
6844 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6845 Date: Wed Jan 23 00:03:01 2008 +0100
6847 [cairo-ft] Interaction with Fontconfig to deal with the LCD filter type
6849 src/cairo-ft-font.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++-
6850 1 file changed, 71 insertions(+), 1 deletion(-)
6852 commit f64cf7fb098e8c9be8a454d4675e6a8b7fd22589
6853 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6854 Date: Wed Jan 23 00:00:53 2008 +0100
6856 [cairo-xlib] Support to retrieve the LCD filter type from the Xrm database
6858 src/cairo-xlib-screen.c | 28 ++++++++++++++++++++++++++++
6859 1 file changed, 28 insertions(+)
6861 commit 28d18f3f936988483a47dd30f55ee2403bc006c3
6862 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6863 Date: Tue Jan 22 23:59:36 2008 +0100
6865 [cairo-ft] Fontconfig defines for LCD constants when using Fontconfig < 2.6
6867 This adds define for compatibility when without the new lcd filtering
6868 constants (Fontconfig patch not yet applied, see bug 13566).
6870 src/cairo-ft-font.c | 9 +++++++++
6871 src/cairo-xlib-screen.c | 9 +++++++++
6872 2 files changed, 18 insertions(+)
6874 commit 0013f2c2696146e71f043437a4727a1b18706b09
6875 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6876 Date: Tue Jan 22 23:57:32 2008 +0100
6878 Add lcd filter type to the public API and font options
6880 New struct cairo_lcd_filter_t and new functions
6881 cairo_font_options_set_lcd_filter
6882 cairo_font_options_get_lcd_filter
6884 src/cairo-font-options.c | 47 ++++++++++++++++++++++++++++++++++++++++++++-
6885 src/cairo-types-private.h | 1 +
6886 src/cairo.h | 26 +++++++++++++++++++++++++
6887 3 files changed, 73 insertions(+), 1 deletion(-)
6889 commit 4b5e0ba7200159f732c815bea616367fc851f245
6890 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6891 Date: Tue Jan 22 23:53:17 2008 +0100
6893 [cairo-ft] LCD filtering patch coding style corrections
6895 src/cairo-ft-font.c | 493 +++++++++++++++++++++++++--------------------------
6896 1 file changed, 237 insertions(+), 256 deletions(-)
6898 commit 7f870035177da7aa63fa33dce837528f442d9ffe
6899 Author: Sylvain Pasche <sylvain.pasche@gmail.com>
6900 Date: Tue Jan 22 23:51:32 2008 +0100
6902 [cairo-ft] LCD filtering patch from David Turner
6904 This is the patch David Turner wrote some times ago and can be found on
6905 http://david.freetype.org/lcd/cairo-1.2.4-lcd-filter-1.patch. It was
6906 somewhat modified for compatibility with cairo 1.5
6908 src/cairo-ft-font.c | 592 +++++++++++++++++++++++++++++++++++----------------
6909 1 file changed, 404 insertions(+), 188 deletions(-)
6911 commit acdc306905b4a39911fd58e9d72aa3db5e1b8760
6912 Author: Vladimir Vukicevic <vladimir@pobox.com>
6913 Date: Tue Aug 5 13:16:17 2008 -0700
6915 [win32] Adding cairo-features-win32.h to EXTRA_DIST
6917 src/Makefile.am | 2 +-
6918 1 file changed, 1 insertion(+), 1 deletion(-)
6920 commit 924a242f89ab1d86750512c8e4ee367c270ee07a
6921 Author: Vladimir Vukicevic <vladimir@pobox.com>
6922 Date: Tue Aug 5 12:57:51 2008 -0700
6924 [win32] Update win32 build, remove gcc dependency
6926 Makefile.win32 | 13 ++++++++++---
6927 src/Makefile.win32 | 20 ++++----------------
6928 src/cairo-features-win32.h | 40 ++++++++++++++++++++++++++++++++++++++++
6929 3 files changed, 54 insertions(+), 19 deletions(-)
6931 commit e1132d434e329c625667f6aff30634522108241e
6932 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
6933 Date: Wed Jul 30 13:05:01 2008 -0700
6935 Make cairo_scaled_font_glyph_extents() unconditionally zero the extents
6937 This makes cairo_scaled_font_glyph_extents() match a similar pattern of
6938 initialization in cairo_glyph_extents(). It also fixes the 'text-zero-len' test
6939 that was broken by 676b221326cacdd205c225bba8ac43378b4abb81.
6941 src/cairo-scaled-font.c | 16 ++++++++--------
6942 1 file changed, 8 insertions(+), 8 deletions(-)
6944 commit d560a3d96563d681f5c0d8ebea0d255ac35bbc99
6945 Author: Peter Weilbacher <mozilla@Weilbacher.org>
6946 Date: Fri Jul 25 11:19:11 2008 -0400
6950 src/cairo-os2-surface.c | 2 +-
6951 1 file changed, 1 insertion(+), 1 deletion(-)
6953 commit ba95b9dee8e6daddbeb0660d920c7b46801edc80
6954 Author: Behdad Esfahbod <behdad@behdad.org>
6955 Date: Mon Jul 21 16:34:10 2008 -0400
6957 [cairo-ft] Use FcFreeTypeCharIndex instead of FT_Get_Char_Index
6959 src/cairo-ft-font.c | 6 +++++-
6960 1 file changed, 5 insertions(+), 1 deletion(-)
6962 commit bc42989501e8e604cbf8eb5348d4eb86d5a7cc4b
6963 Author: Behdad Esfahbod <behdad@behdad.org>
6964 Date: Mon Jul 21 16:29:57 2008 -0400
6966 [configure.in] Cosmetic
6968 configure.in | 4 ++++
6969 1 file changed, 4 insertions(+)
6971 commit 1a9809baab5d8adf6ccf165e8f5d294b498c2fd5
6972 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
6973 Date: Mon Jul 21 22:24:42 2008 -0400
6975 Fix scaling with a device offset
6977 Apply the device offset transformation to the pattern before the ctm one.
6980 src/cairo-gstate.c | 5 +++--
6981 1 file changed, 3 insertions(+), 2 deletions(-)
6983 commit 3074ba02a1c7ebdef45f7514f2e9505fc664ae6e
6984 Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
6985 Date: Mon Jul 21 22:08:46 2008 -0400
6987 Add a test for scaling a surface with device offset.
6989 test/Makefile.am | 2 +
6990 test/device-offset-scale-ref.png | Bin 0 -> 145 bytes
6991 test/device-offset-scale.c | 81 ++++++++++++++++++++++++++++++++++++++
6992 3 files changed, 83 insertions(+)
6994 commit 96c9e2a1a8c96b22fe1ae1fb76e5885003148b68
6995 Author: Vladimir Vukicevic <vladimir@pobox.com>
6996 Date: Fri Jul 18 15:55:11 2008 -0700
6998 Fix cairo-quartz-image-surface compilation error
7000 src/cairo-quartz-image-surface.c | 10 +++++-----
7001 1 file changed, 5 insertions(+), 5 deletions(-)
7003 commit ec9337697ea8d9fb10576c42ef2c29ff27636f86
7004 Author: Carl Worth <cworth@cworth.org>
7005 Date: Thu Jul 17 19:31:11 2008 -0700
7007 cairo.h: Remove trailing comma in enumeration
7010 1 file changed, 1 insertion(+), 1 deletion(-)
7012 commit 5284f8cab488c12db0ff0b12a4485072138b8008
7013 Author: Frederic Plourde <frederic.plourde@polymtl.ca>
7014 Date: Thu Jul 17 13:56:22 2008 -0700
7016 [win32] Make cairo-perf-diff run on win32
7018 perf/Makefile.win32 | 4 +++
7019 perf/README | 21 ++++++++++++++++
7020 perf/cairo-perf-diff | 6 ++++-
7021 perf/cairo-perf-diff-files.c | 56 ++++++++++++++++++++++++++++++++++++++++--
7022 4 files changed, 84 insertions(+), 3 deletions(-)
7024 commit d61c7df1c0f9c69b0022c58efd001855551af7dd
7025 Author: Vladimir Vukicevic <vladimir@pobox.com>
7026 Date: Wed Jul 9 13:20:53 2008 -0700
7028 [quartz] Take snapshot instead of using CGImageCreateCopy
7030 CGImageCreateCopy doesn't copy the data provider, so it's possible to
7031 free the data underneath an image without snapshotting it first.
7033 src/cairo-quartz-surface.c | 30 +++++++++++++++++++++---------
7034 1 file changed, 21 insertions(+), 9 deletions(-)
7036 commit e534b0bed1bcf19017f76ee3a15bb26f42717b50
7037 Author: Vladimir Vukicevic <vladimir@pobox.com>
7038 Date: Wed Jul 9 13:06:23 2008 -0700
7040 [quartz] Protect against NULL from CGFontGetHMetricsPtr
7042 Seems to happen on 10.4 only for unknown reasons. Protect against a crash at least.
7044 src/cairo-quartz-font.c | 6 ++++++
7045 1 file changed, 6 insertions(+)
7047 commit 7127089fe67690db997f86fd89b71820aa4fcdf0
7048 Author: Adrian Johnson <ajohnson@redneon.com>
7049 Date: Tue Jul 8 22:46:04 2008 +0930
7051 PDF/PS: Remember the current line style
7053 So we don't need to emit line style parameters that are already set.
7055 src/cairo-pdf-operators-private.h | 13 ++++++++++
7056 src/cairo-pdf-operators.c | 48 ++++++++++++++++++++++++++-----------
7057 2 files changed, 47 insertions(+), 14 deletions(-)
7059 commit 837bf73f082f3bb0158b57cf7c456380531853b3
7060 Author: Adrian Johnson <ajohnson@redneon.com>
7061 Date: Tue Jul 8 22:00:15 2008 +0930
7063 Add PDF operators function to reset any remembered state
7065 src/cairo-pdf-operators-private.h | 3 +++
7066 src/cairo-pdf-operators.c | 15 +++++++++++++++
7067 src/cairo-pdf-surface.c | 4 ++++
7068 src/cairo-ps-surface.c | 5 +++++
7069 4 files changed, 27 insertions(+)
7071 commit 9b302fac63e461d2239435d058c5a114b8aa21a7
7072 Author: Adrian Johnson <ajohnson@redneon.com>
7073 Date: Tue Jul 8 21:51:41 2008 +0930
7075 PDF: Oops - turn compression back on
7077 src/cairo-pdf-surface.c | 2 +-
7078 1 file changed, 1 insertion(+), 1 deletion(-)
7080 commit 50eb1e71f3199922f50992e53f045614177365f8
7081 Author: Adrian Johnson <ajohnson@redneon.com>
7082 Date: Tue Jul 8 21:36:19 2008 +0930
7084 PS: Ensure the color is re-emitted after resetting the clip path
7086 because the graphics state has been restored.
7088 src/cairo-ps-surface.c | 2 ++
7089 1 file changed, 2 insertions(+)
7091 commit b082c15df649467e2bd51535802f27c762eee257
7092 Author: Adrian Johnson <ajohnson@redneon.com>
7093 Date: Tue Jul 8 21:18:45 2008 +0930
7095 PDF: Don't use a Form dictionary for the content stream
7097 because pdfTeX (and maybe other PDF consumers) can not handle it.
7099 Previously the content stream was an Form dictionary because at the
7100 time the content is written it is not known whether the content stream
7101 will be belong to the page or be an XObject in a knockout group. With
7102 the additional of the paginated surface function
7103 set_fallback_images_required() this information is now known at the
7104 time the content is emitted.
7106 src/cairo-pdf-surface.c | 21 ++++++++++++++++-----
7107 1 file changed, 16 insertions(+), 5 deletions(-)
7109 commit 4fcdc364cd3f9d7d5cd8026adac23a651b608781
7110 Author: Adrian Johnson <ajohnson@redneon.com>
7111 Date: Tue Jul 8 21:12:54 2008 +0930
7113 Add paginated surface backend function _set_fallback_images_required
7115 src/cairo-paginated-private.h | 8 ++++++++
7116 src/cairo-paginated-surface.c | 9 +++++++++
7117 2 files changed, 17 insertions(+)
7119 commit 0c05aa60f5bfa4b6f280aedec684c20aed793a90
7120 Author: Adrian Johnson <ajohnson@redneon.com>
7121 Date: Tue Jul 8 21:12:28 2008 +0930
7123 PDF: Limit precision of Td operands
7125 As the translation is in text space, the full precision of a double
7126 for numbers close to zero is not required. Limit the precision to the
7127 same as for numbers > 1.
7129 src/cairo-pdf-operators.c | 6 ++++++
7130 1 file changed, 6 insertions(+)
7132 commit d5c7b87ca989d3b4b5faeafc6e579b6c63d1e8dc
7133 Author: Adrian Johnson <ajohnson@redneon.com>
7134 Date: Tue Jul 8 20:57:57 2008 +0930
7136 PDF: Ensure clip is not emitted outside of stream
7138 Sylvain Munaut discovered a bug in
7139 _cairo_pdf_surface_emit_meta_surface() where the clip may be emitted
7140 after the stream is closed. Fix this by moving the call to
7141 _cairo_surface_set_clip() to before the stream is closed.
7143 src/cairo-pdf-surface.c | 9 +++++----
7144 1 file changed, 5 insertions(+), 4 deletions(-)
7146 commit 130cd29a700c858ef3c8a839479bd02b70403569
7147 Author: Adrian Johnson <ajohnson@redneon.com>
7148 Date: Tue Jul 8 20:55:38 2008 +0930
7150 PDF: remove meta surface group clean
7152 The group that was being cleaned up was removed in
7153 099810b6c39cc6b5529f740282b64185cf56c8d7
7155 src/cairo-pdf-surface.c | 7 +++----
7156 1 file changed, 3 insertions(+), 4 deletions(-)
7158 commit fe7973d60a53b5c7465fd616c515f8fc1ac6cb12
7159 Author: Chris Wilson <chris@chris-wilson.co.uk>
7160 Date: Sun Jul 6 15:15:15 2008 +0100
7162 [cairo-scaled-font-subsets] Fix memleak.
7164 Valgrind reported that sub_font_glyph->utf8 was not being freed along
7165 with the cairo_sub_font_glyph_t.
7167 src/cairo-scaled-font-subsets.c | 3 +++
7168 1 file changed, 3 insertions(+)
7170 commit 07b39ee3c0f053598fdebdd160dc881566ad7fcd
7171 Author: Chris Wilson <chris@chris-wilson.co.uk>
7172 Date: Sun Jul 6 15:14:22 2008 +0100
7174 [cairo-scaled-font-subsets] Fix use of unitialised variable.
7176 Valgrind reported that pdf-operators tried to use an uninitialised
7177 subset_glyph->utf8_is_mapped.
7179 src/cairo-scaled-font-subsets.c | 1 +
7180 1 file changed, 1 insertion(+)
7182 commit f92131c38a21a15a5adfbc831cf6eea7a749714d
7183 Author: Adrian Johnson <ajohnson@redneon.com>
7184 Date: Sat Jul 5 16:23:43 2008 +0930
7186 PS: Remember current color
7188 This allows PDF operators to merge text strings together when they are
7191 src/cairo-ps-surface-private.h | 6 ++++++
7192 src/cairo-ps-surface.c | 34 +++++++++++++++++++++++++++++++---
7193 2 files changed, 37 insertions(+), 3 deletions(-)
7195 commit dac22cf2b9541c1da72e12a1fb66c5a58775f3b3
7196 Author: Adrian Johnson <ajohnson@redneon.com>
7197 Date: Sat Jul 5 16:22:35 2008 +0930
7199 PDF: Fix glyph positioning bug in Tj operator
7201 Previously this was not correctly checking the position of the first
7202 glyph and falling back to using TJ if the glyph was not at the the
7203 standard glyph advance.
7205 src/cairo-pdf-operators.c | 2 +-
7206 1 file changed, 1 insertion(+), 1 deletion(-)
7208 commit c9c4b0eded58e44e527806f24aa76e7874fb2111
7209 Author: Adrian Johnson <ajohnson@redneon.com>
7210 Date: Sat Jul 5 16:19:30 2008 +0930
7212 PDF: Fix glyph positioning bug in TJ operator
7214 Previously this was not correctly positioning the first glyph in a TJ
7215 string if the glyph was not at the the standard glyph advance.
7217 src/cairo-pdf-operators.c | 3 +--
7218 1 file changed, 1 insertion(+), 2 deletions(-)
7220 commit 0f748df6705731b94204d6dd0c903e18f1d4a8a5
7221 Author: Adrian Johnson <ajohnson@redneon.com>
7222 Date: Sat Jul 5 16:14:31 2008 +0930
7224 PS: Remember position when changing font
7226 Previously the PS emulation of the PDF operators would change the
7227 current position to the text line matrix instead of the the text
7228 matrix when changing the font.
7230 src/cairo-ps-surface.c | 18 ++++++++++--------
7231 1 file changed, 10 insertions(+), 8 deletions(-)
7233 commit 1c729f85edf967d086eeb85b9222466087e70da4
7234 Author: Behdad Esfahbod <behdad@behdad.org>
7235 Date: Thu Jul 3 19:15:53 2008 -0400
7237 [cairo-pattern] Fix crash in solid-pattern-surface cache
7239 Ickle knew something when he only extended cache size when we are
7240 committed to inserting something into the cache. I broke that while
7241 fixing other issues a while ago. This cache just doesn't want to
7244 src/cairo-pattern.c | 7 +++----
7245 1 file changed, 3 insertions(+), 4 deletions(-)
7247 commit 7c9536b653c062884e2a389d6d3428c42b86aae2
7248 Author: Behdad Esfahbod <behdad@behdad.org>
7249 Date: Thu Jul 3 18:05:27 2008 -0400
7251 [analysis-surface] Fix crashers introduced in my previous commit
7255 src/cairo-analysis-surface.c | 4 ++--
7256 1 file changed, 2 insertions(+), 2 deletions(-)
7258 commit 37ed55acef5ff9d6d053cfb76af8bdcd1f91edd5
7259 Author: Adrian Johnson <ajohnson@redneon.com>
7260 Date: Thu Jul 3 20:27:50 2008 +0930
7262 Add missing status checks
7264 src/cairo-pdf-operators.c | 5 +++++
7265 1 file changed, 5 insertions(+)
7267 commit 85de817e097c83136fdf827c9202416c02d72bbb
7268 Author: Behdad Esfahbod <behdad@behdad.org>
7269 Date: Wed Jul 2 19:21:50 2008 -0400
7271 [analysis-surface] Fallback between show_glyphs and show_text_glyphs
7273 This is needed because analysis-surface takes any UNSUPPORTED returns
7274 as a signal for using image fallbacks. So the fallback mechanism in
7275 _cairo_surface_show_text_glyphs() is not enough. Reported by Adrian
7278 src/cairo-analysis-surface.c | 47 ++++++++++++++++++++++++++++++------------
7279 src/cairo-surface.c | 8 ++++---
7280 2 files changed, 39 insertions(+), 16 deletions(-)
7282 commit d19d9b414946f668f0c073f39bc5e413cabdb069
7283 Author: Behdad Esfahbod <behdad@behdad.org>
7284 Date: Mon Jun 30 22:13:44 2008 -0400
7286 [cairo-pdf-operators] Fix backward cluster iteration
7288 It's trickier than it appears...
7290 There still remains the question of whether the loop should iterate
7291 utf8 forward and glyphs backward (as it does now), or iterate glyphs
7292 forward and utf8 backward.
7294 Doing utf8 forward has the benefit that glyphs appear in the PDF stream
7295 in the logical order of text. That may be a good thing.
7297 Doing glyphs forward has the benefit of most glyphs taking their natural
7298 width, providing for a more compact PDF output.
7300 Firefox 3 currently calls cairo_show_glyphs() with glyphs going
7301 right-to-left for RTL runs. That's like going utf8 forward.
7303 On the other hand, if we are fine doing glyphs backward, then we may as
7304 well remove the "backward" flag and ask callers of show_text_glyphs to
7305 produce glyph array going right to left for RTL runs. The idea behind
7306 having a backward flag in the first place was to allow keeping utf8 in
7307 logical order and glyphs in visual left-to-right order. If we don't
7308 do that in practice, there's no point in having the flag. Another design
7309 idea of the flag was to mark right-to-left runs explicitly so the backend
7310 can use this information. In that case we probably better rename it to
7311 "rtl" as the current semantics make it perfectly fine to set a LTR segment
7312 with backward flag on: just revers the glyph array...
7314 Anyway, the way to determine the right thing to do is to see how Acrobat
7315 extracts text for RTL text in logical vs visual order. Then we can decide
7316 what to do in the PDF backend and whether the flag is worth keeping.
7317 Going to experiment with that.
7319 src/cairo-pdf-operators.c | 8 ++++----
7320 1 file changed, 4 insertions(+), 4 deletions(-)
7322 commit c29029ce436709fc3f3ce651a92eebcee11f3203
7323 Author: Behdad Esfahbod <behdad@behdad.org>
7324 Date: Mon Jun 30 22:11:48 2008 -0400
7326 Remove _cairo_surface_show_glyphs() in favor of _cairo_surface_show_text_glyphs()
7328 src/cairo-paginated-surface.c | 43 +++-------------------------------
7329 src/cairo-surface.c | 22 ++----------------
7330 src/cairoint.h | 8 -------
7331 src/test-meta-surface.c | 50 +++++++++++++++++++++++++++++-----------
7332 src/test-paginated-surface.c | 51 ++++++++++++++++++++++++++++++-----------
7333 5 files changed, 79 insertions(+), 95 deletions(-)
7335 commit 17a5f10f5342ae6b946ad7491f6656a43df66aa3
7336 Author: Behdad Esfahbod <behdad@behdad.org>
7337 Date: Sun Jun 29 15:00:10 2008 -0400
7339 [show_text_glyphs] Allow clusters with zero text
7341 As Adrian points out, PDF can handle it, and it doesn't harm allowing.
7343 src/cairo.c | 9 +++++++--
7344 1 file changed, 7 insertions(+), 2 deletions(-)
7346 commit 686fa2600d25a2f69762b85435ce7f3a9907533b
7347 Author: Behdad Esfahbod <behdad@behdad.org>
7348 Date: Sun Jun 29 13:56:14 2008 -0400
7350 [PDF] Remove show_glyphs that was a wrapper to show_text_glyphs
7352 The cairo-surface layer already does that itself. Just set show_glyphs
7355 src/cairo-pdf-surface.c | 21 +--------------------
7356 1 file changed, 1 insertion(+), 20 deletions(-)
7358 commit 6227d808446a0212d3872be9d09d67e3ce644cd3
7359 Author: Chris Wilson <chris@chris-wilson.co.uk>
7360 Date: Sun Jun 29 14:32:17 2008 +0100
7362 [cairo-scaled-font-subsets] And free the allocated memory on failure.
7364 Why, oh why, did I only spot this when reading cairo-commit?
7366 src/cairo-scaled-font-subsets.c | 8 +++++++-
7367 1 file changed, 7 insertions(+), 1 deletion(-)
7369 commit c394b72ee99882882897776115b007f40a96fe95
7370 Author: Chris Wilson <chris@chris-wilson.co.uk>
7371 Date: Sun Jun 29 13:16:10 2008 +0100
7373 [cairo-scaled-font] Suppress compiler warning about unused variables.
7375 Use _cairo_error_throw() for the cases where we cannot propagate the
7378 src/cairo-scaled-font.c | 4 ++--
7379 1 file changed, 2 insertions(+), 2 deletions(-)
7381 commit 5b7903d5a75b10c924c91654e22a78650796ae63
7382 Author: Chris Wilson <chris@chris-wilson.co.uk>
7383 Date: Sun Jun 29 13:09:17 2008 +0100
7385 [cairo-scaled-font-subsets] Add missing malloc check.
7387 A minor oversight in d77b04fd0635c1648bb024b5308b715c220e1e74.
7389 src/cairo-scaled-font-subsets.c | 2 +-
7390 1 file changed, 1 insertion(+), 1 deletion(-)
7392 commit 22facbe66e5fd72c6c5ce780d3699fe7a63dc7fb
7393 Author: Adrian Johnson <ajohnson@redneon.com>
7394 Date: Sun Jun 29 19:55:41 2008 +0930
7396 Add show_text_glyphs to PDF surface
7398 src/cairo-pdf-surface-private.h | 5 ++
7399 src/cairo-pdf-surface.c | 97 +++++++++++++++++++++++++++++++--------
7400 2 files changed, 84 insertions(+), 18 deletions(-)
7402 commit 770b7c9a74e3497692020255686c5c5b4e38001e
7403 Author: Adrian Johnson <ajohnson@redneon.com>
7404 Date: Sun Jun 29 19:38:13 2008 +0930
7406 Add show_text_glyphs to PDF operators
7408 src/cairo-pdf-operators-private.h | 16 +-
7409 src/cairo-pdf-operators.c | 293 +++++++++++++++++++++++++++++--------
7410 src/cairo-pdf-surface.c | 20 ++-
7411 src/cairo-ps-surface.c | 15 +-
7412 4 files changed, 264 insertions(+), 80 deletions(-)
7414 commit 55dda8c64fc38cda75878f1a34eb1f86b1a445cb
7415 Author: Adrian Johnson <ajohnson@redneon.com>
7416 Date: Sun Jun 29 19:36:29 2008 +0930
7418 Remove unused map_glyphs_to_unicode functions
7420 src/cairo-ft-font.c | 35 ------------------
7421 src/cairo-win32-font.c | 96 ------------------------------------------------
7422 src/cairoint.h | 4 --
7423 3 files changed, 135 deletions(-)
7425 commit 2012d4f7364f9efa0789996e7906f269d5d59d41
7426 Author: Adrian Johnson <ajohnson@redneon.com>
7427 Date: Sun Jun 29 19:36:10 2008 +0930
7429 Removed unused cairo_truetype_create_glyph_to_unicode_map()
7431 src/cairo-truetype-subset.c | 147 -------------------------------------------
7432 1 file changed, 147 deletions(-)
7434 commit 154324f121e7aad8af474ac26e0e320cddd37579
7435 Author: Adrian Johnson <ajohnson@redneon.com>
7436 Date: Sun Jun 29 19:35:43 2008 +0930
7438 Use subset utf8 mapping to create the glyph names for PS fonts
7440 src/cairo-scaled-font-subsets.c | 36 ++++++++++++++++--------------------
7441 1 file changed, 16 insertions(+), 20 deletions(-)
7443 commit 2a21fafa078a2519dea7881b4553d74667c928f2
7444 Author: Adrian Johnson <ajohnson@redneon.com>
7445 Date: Sun Jun 29 19:35:12 2008 +0930
7447 Use subset utf8 mapping in PDF ToUnicode stream
7449 src/cairo-pdf-surface.c | 69 ++++++++++++++++++++++++++++++++---------------
7450 src/cairoint.h | 2 +-
7451 2 files changed, 48 insertions(+), 23 deletions(-)
7453 commit d77b04fd0635c1648bb024b5308b715c220e1e74
7454 Author: Adrian Johnson <ajohnson@redneon.com>
7455 Date: Sun Jun 29 19:33:58 2008 +0930
7457 Allow _cairo_scaled_font_subsets_map_glyph() to specify utf8 mapping
7459 src/cairo-pdf-operators.c | 1 +
7460 src/cairo-scaled-font-subsets-private.h | 14 +++-
7461 src/cairo-scaled-font-subsets.c | 112 ++++++++++++++++++++++++++++++-
7462 src/cairo-svg-surface.c | 1 +
7463 src/cairoint.h | 1 +
7464 5 files changed, 124 insertions(+), 5 deletions(-)
7466 commit f4d6e714a63ab44e388a06fba8d849f2ad7f0000
7467 Author: Adrian Johnson <ajohnson@redneon.com>
7468 Date: Sun Jun 29 19:32:19 2008 +0930
7470 Add _cairo_ucs4_to_utf8
7472 src/cairo-unicode.c | 39 +++++++++++++++++++++++++++++++++++++++
7473 src/cairoint.h | 4 ++++
7474 2 files changed, 43 insertions(+)
7476 commit 2f99a294cd2367c4649428534b3429522448260c
7477 Author: Adrian Johnson <ajohnson@redneon.com>
7478 Date: Sun Jun 29 19:31:47 2008 +0930
7480 Add _cairo_truetype_index_to_ucs4()
7482 for doing reverse cmap lookups on truetype/opentype fonts one glyph at
7485 src/cairo-scaled-font-subsets-private.h | 22 +++++
7486 src/cairo-truetype-subset.c | 151 +++++++++++++++++++++++++++++++
7487 2 files changed, 173 insertions(+)
7489 commit 95771d62c57c081fe350e0d33326aaa6a27139da
7490 Author: Adrian Johnson <ajohnson@redneon.com>
7491 Date: Sun Jun 29 19:31:23 2008 +0930
7493 Implement win32 index_to_ucs4 font backend function
7495 src/cairo-win32-font.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++
7496 1 file changed, 93 insertions(+)
7498 commit 4619b0b309861daa64b9c3ced9fdea20c461edf2
7499 Author: Adrian Johnson <ajohnson@redneon.com>
7500 Date: Sun Jun 29 19:30:14 2008 +0930
7502 Add index_to_ucs4 font backend function and FT implementation
7504 src/cairo-ft-font.c | 31 +++++++++++++++++++++++++++++++
7505 src/cairoint.h | 7 ++++++-
7506 2 files changed, 37 insertions(+), 1 deletion(-)
7508 commit 54f63e7859baeff18f7345cf22630d6a9b709e1c
7509 Author: Adrian Johnson <ajohnson@redneon.com>
7510 Date: Sun Jun 29 19:28:39 2008 +0930
7512 PDF: Ensure text object is closed before emitting fill or stroke
7514 src/cairo-pdf-operators.c | 6 ++++++
7515 1 file changed, 6 insertions(+)
7517 commit 4ffea75d908ef041fbc5aa1da9a5b725d3c24263
7518 Author: Behdad Esfahbod <behdad@behdad.org>
7519 Date: Fri Jun 27 11:18:22 2008 -0400
7521 Change cairo_text_cluster_t members signed
7523 Also reject clusters with no text.
7525 src/cairo.c | 19 ++++++++++---------
7526 src/cairo.h | 4 ++--
7527 2 files changed, 12 insertions(+), 11 deletions(-)
7529 commit 4530c0b0ecdd19cfcbcb6d21b1db426ab42793d9
7530 Author: Behdad Esfahbod <behdad@behdad.org>
7531 Date: Thu Jun 26 17:15:42 2008 -0400
7533 [meta-surface] Implement show_text_glyphs; Remove show_glyphs
7535 One is enough. The only downside is that meta-surface will consume
7536 32 more bytes per show_glyphs() call now. If that's a concern,
7537 the show_glyphs implementation can be added back.
7539 src/cairo-meta-surface-private.h | 13 ++--
7540 src/cairo-meta-surface.c | 131 ++++++++++++++++++++++++++------------
7541 2 files changed, 101 insertions(+), 43 deletions(-)
7543 commit 93c3eebc6ec740317650e8ec166ae5311c12f0d7
7544 Author: Behdad Esfahbod <behdad@behdad.org>
7545 Date: Thu Jun 26 16:45:09 2008 -0400
7547 [paginated-surface] Implement show_text_glyphs
7549 src/cairo-paginated-surface.c | 60 ++++++++++++++++++++++++++++++++++++++++-
7550 1 file changed, 59 insertions(+), 1 deletion(-)
7552 commit 8f02cadf3dc0ed4aedfafad4644a5fdc9d3e8168
7553 Author: Behdad Esfahbod <behdad@behdad.org>
7554 Date: Thu Jun 26 16:44:59 2008 -0400
7556 [analysis-surface] Implement show_text_glyphs
7558 src/cairo-analysis-surface.c | 82 +++++++++++++++++++++++++++++++++++++++++-
7559 1 file changed, 81 insertions(+), 1 deletion(-)
7561 commit 047566fd526f7936a49b630ed47c570dd70e837f
7562 Author: Behdad Esfahbod <behdad@behdad.org>
7563 Date: Thu Jun 26 16:15:12 2008 -0400
7565 Add cairo_show_text_glyphs API
7569 cairo_text_cluster_t
7570 cairo_has_show_text_glyphs()
7571 cairo_show_text_glyphs()
7573 Add accompanying gstate and surface functions, and surface backend methods.
7574 No backends implement them just yet.
7576 doc/public/cairo-sections.txt | 3 +
7577 doc/public/tmpl/cairo-status.sgml | 1 +
7578 doc/public/tmpl/cairo-text.sgml | 31 +++++++++++
7579 src/cairo-gstate.c | 38 +++++++++----
7580 src/cairo-misc.c | 2 +
7581 src/cairo-scaled-font.c | 14 +++--
7582 src/cairo-surface.c | 110 +++++++++++++++++++++++++++++++------
7583 src/cairo.c | 109 ++++++++++++++++++++++++++++++++++--
7584 src/cairo.h | 22 +++++++-
7585 src/cairoint.h | 48 ++++++++++++++--
7586 10 files changed, 336 insertions(+), 42 deletions(-)
7588 commit dff0dd0c63e530e21471531299a8f260cf88f001
7589 Author: Behdad Esfahbod <behdad@behdad.org>
7590 Date: Thu Jun 26 15:58:06 2008 -0400
7592 Allow NULL output in _cairo_utf8_to_ucs4()
7594 The function can be used to validate UTF-8 text now.
7596 src/cairo-unicode.c | 23 +++++++++++++----------
7597 1 file changed, 13 insertions(+), 10 deletions(-)
7599 commit 883c972a9bc0aafb817a02c7b4a8c6f250796405
7600 Author: Behdad Esfahbod <behdad@behdad.org>
7601 Date: Thu Jun 26 16:08:39 2008 -0400
7603 [cairo-types] fix doc syntax
7605 src/cairo-types-private.h | 2 +-
7606 1 file changed, 1 insertion(+), 1 deletion(-)
7608 commit 787fb135663ebd9ab4a8d38da8fafc5e82d47ec5
7609 Author: Behdad Esfahbod <behdad@behdad.org>
7610 Date: Thu Jun 26 16:08:21 2008 -0400
7612 [xlib] Use _cairo_xlib_surface_create_internal() directly
7614 src/cairo-xlib-surface.c | 10 ++++++----
7615 1 file changed, 6 insertions(+), 4 deletions(-)
7617 commit ba62d2d30a960d921f6efe84e2d6dc93d0de6e39
7618 Author: Behdad Esfahbod <behdad@behdad.org>
7619 Date: Thu Jun 26 16:20:47 2008 -0400
7621 Update .gitignore files
7623 boilerplate/.gitignore | 1 +
7624 doc/public/.gitignore | 1 +
7625 test/.gitignore | 2 ++
7626 3 files changed, 4 insertions(+)
7628 commit 425846dedbca749a4a19e8a8827887bb70201c8d
7629 Author: Behdad Esfahbod <behdad@behdad.org>
7630 Date: Tue Jun 24 15:09:33 2008 -0400
7632 Oops. Fix thinko in previous commit.
7635 1 file changed, 1 insertion(+), 1 deletion(-)
7637 commit 74789a702bf5c62bc0d0361f139b2c94f67d5c6e
7638 Author: Behdad Esfahbod <behdad@behdad.org>
7639 Date: Tue Jun 24 15:07:07 2008 -0400
7641 Cleanup _set_error functions a bit
7643 src/cairo-font-face.c | 2 ++
7644 src/cairo-pattern.c | 7 +++++--
7645 src/cairo-scaled-font.c | 4 ++--
7646 src/cairo-surface.c | 5 +++--
7647 src/cairo.c | 7 +++++--
7648 5 files changed, 17 insertions(+), 8 deletions(-)
7650 commit ace3a98a53ab596c83df5a163e580770b9771bf2
7651 Author: Behdad Esfahbod <behdad@behdad.org>
7652 Date: Tue Jun 24 15:02:14 2008 -0400
7654 Make sure cairo_int_status_t values fit in int8_t
7656 It was reported by Liu Yubao that cairo_status_t may be chosen to be
7657 an int8_t by the compiler, in that case cairo_int_status_t values
7658 assigned to cairo_status_t would overflow. Fix this by allocating
7659 the values in int8_t range, and add compile-time sanity checks.
7661 src/cairo-misc.c | 2 ++
7662 src/cairo-types-private.h | 13 ++++++++-----
7663 2 files changed, 10 insertions(+), 5 deletions(-)
7665 commit f32090fb34f93d42bd134ee7c007f60dd1cd1c13
7666 Author: Behdad Esfahbod <behdad@behdad.org>
7667 Date: Mon Jun 23 17:56:28 2008 -0400
7669 Return CAIRO_STATUS_NEGATIVE_COUNT if num_glyphs is negative
7671 src/cairo-scaled-font.c | 6 ++++++
7672 src/cairo.c | 15 +++++++++++++++
7673 2 files changed, 21 insertions(+)
7675 commit 498f3ddf2e8f6b7c381c7153cbd39fa22c32ceea
7676 Author: Behdad Esfahbod <behdad@behdad.org>
7677 Date: Mon Jun 23 17:53:25 2008 -0400
7679 Add status CAIRO_STATUS_NEGATIVE_COUNT
7681 To be used for things like passing a negative number of glyphs
7682 to cairo_show_glyphs().
7684 doc/public/tmpl/cairo-status.sgml | 1 +
7685 doc/public/tmpl/cairo-user-fonts.sgml | 2 --
7686 src/cairo-misc.c | 2 ++
7687 src/cairo-surface.c | 1 +
7688 src/cairo.h | 4 +++-
7689 src/cairoint.h | 2 +-
7690 6 files changed, 8 insertions(+), 4 deletions(-)
7692 commit ce24588d1c5e82e598cdad68c910a64f64864c7b
7693 Author: Behdad Esfahbod <behdad@behdad.org>
7694 Date: Mon Jun 23 17:51:32 2008 -0400
7696 [doc] Update doc/public/Headers.mk
7698 doc/public/Headers.mk | 2 ++
7699 1 file changed, 2 insertions(+)
7701 commit 676b221326cacdd205c225bba8ac43378b4abb81
7702 Author: Behdad Esfahbod <behdad@behdad.org>
7703 Date: Mon Jun 23 17:39:16 2008 -0400
7705 Protect against NULL glyphs array in text API
7707 We still don't do anything if num_glyphs is negative. Why isn't
7708 that argument unsigned int...
7710 src/cairo-scaled-font.c | 9 +++++++++
7711 src/cairo.c | 24 +++++++++++++++++++++---
7712 2 files changed, 30 insertions(+), 3 deletions(-)
7714 commit 233b387c29f2108a41fca14cc275337903117169
7715 Author: Behdad Esfahbod <behdad@behdad.org>
7716 Date: Mon Jun 23 00:30:04 2008 -0400
7718 Use #include "cairo-*." instead of #include <cairo-*.h>
7720 The rule is simple: <x.h> for system / other project includes,
7721 "x.h" for local includes.
7723 src/cairo-beos.h | 2 +-
7724 src/cairo-directfb.h | 2 +-
7725 src/cairo-ft-private.h | 4 ++--
7726 src/cairo-ft.h | 2 +-
7727 src/cairo-glitz.h | 2 +-
7728 src/cairo-mutex-impl-private.h | 2 +-
7729 src/cairo-mutex-type-private.h | 2 +-
7730 src/cairo-os2-private.h | 2 +-
7731 src/cairo-os2.h | 2 +-
7732 src/cairo-pdf.h | 2 +-
7733 src/cairo-ps.h | 2 +-
7734 src/cairo-quartz-image.h | 2 +-
7735 src/cairo-quartz-private.h | 2 +-
7736 src/cairo-quartz.h | 2 +-
7737 src/cairo-svg.h | 2 +-
7738 src/cairo-win32-private.h | 4 ++--
7739 src/cairo-win32.h | 2 +-
7740 src/cairo-xcb-xrender.h | 2 +-
7741 src/cairo-xcb.h | 2 +-
7742 src/cairo-xlib-xrender.h | 2 +-
7743 src/cairo-xlib.h | 2 +-
7744 src/cairo.h | 4 ++--
7745 22 files changed, 25 insertions(+), 25 deletions(-)
7747 commit 9fea50a1e6c15ad6a80c941f6ddaba768e84e951
7748 Author: Behdad Esfahbod <behdad@behdad.org>
7749 Date: Sun Jun 22 15:15:44 2008 -0400
7751 Rename _cairo_font_reset_static_data to _cairo_font_face_reset_static_data
7753 src/cairo-debug.c | 6 +++---
7754 src/cairo-font-face.c | 2 +-
7755 src/cairoint.h | 2 +-
7756 3 files changed, 5 insertions(+), 5 deletions(-)
7758 commit 7407362d705516262fed9f5bccfb8d3d5a26632f
7759 Author: Behdad Esfahbod <behdad@behdad.org>
7760 Date: Sun Jun 22 15:13:42 2008 -0400
7762 Rename cairo_quartz_scaled_font_backend to _cairo_quartz_scaled_font_backend
7764 src/cairo-quartz-font.c | 4 ++--
7765 src/cairoint.h | 4 ++--
7766 2 files changed, 4 insertions(+), 4 deletions(-)
7768 commit 4240794ea4d25bfa9c0edd10243a94ab00275387
7769 Author: Behdad Esfahbod <behdad@behdad.org>
7770 Date: Sun Jun 22 15:13:15 2008 -0400
7772 Rename cairo_win32_scaled_font_backend to _cairo_win32_scaled_font_backend
7774 src/cairo-win32-font.c | 8 ++++----
7775 src/cairoint.h | 4 ++--
7776 2 files changed, 6 insertions(+), 6 deletions(-)
7778 commit e09f20fe01f17f093acefd341a517fcb83b6ea1e
7779 Author: Behdad Esfahbod <behdad@behdad.org>
7780 Date: Sun Jun 22 14:50:08 2008 -0400
7782 [gstate] Fix huge-font path;fill fallback options
7784 src/cairo-gstate.c | 4 ++--
7785 1 file changed, 2 insertions(+), 2 deletions(-)
7787 commit d9784c8c37a2c6dbcccd3e96e746f32b12a2b468
7788 Author: Behdad Esfahbod <behdad@behdad.org>
7789 Date: Thu Jun 19 22:24:13 2008 -0400
7791 [cairo-xlib] Don't undither pseudocolor, doesn't look good
7793 src/cairo-xlib-surface.c | 20 +++++++-------------
7794 1 file changed, 7 insertions(+), 13 deletions(-)
7796 commit fe41d100aa5cddb56b8a5f043c01fdf1f1a1e4c5
7797 Author: Behdad Esfahbod <behdad@behdad.org>
7798 Date: Fri Jun 13 21:39:19 2008 -0400
7800 [cairo-xlib-surface] Fix core solid_fill_rectangles to do dithering
7802 Do this by tiling the surface form the solid pattern. The pattern in
7803 turn calls into xlib's create_solid_surface which returns a dithered
7806 This can get into infinite loop right now, because of the way solid
7807 surface cache tries to repaint cached surfaces.
7809 src/cairo-xlib-surface.c | 70 ++++++++++++++++++++++------------------------
7810 1 file changed, 34 insertions(+), 36 deletions(-)
7812 commit abac0f96cb39b60a88433918d193f6d5091ea8d9
7813 Author: Behdad Esfahbod <behdad@behdad.org>
7814 Date: Fri Jun 13 21:37:45 2008 -0400
7816 [cairo-xlib-surface] Implement create_solid_pattern_surface
7818 If render is disabled, this will create a surface the size of the
7819 dither pattern and paint it with dithering.
7821 src/cairo-xlib-surface.c | 76 ++++++++++++++++++++++++++++++++++++++++++++--
7822 1 file changed, 73 insertions(+), 3 deletions(-)
7824 commit fb8f2b3854114a653d11263e8868eae042ee4b94
7825 Author: Behdad Esfahbod <behdad@behdad.org>
7826 Date: Fri Jun 13 02:35:30 2008 -0400
7828 [cairo-xlib-surface] Make _draw_image_surface handle arbitrary image formats
7830 This is not a useful change. Just committing because I already did it.
7832 src/cairo-xlib-surface.c | 42 +++++++++++++++++++++++++++---------------
7833 1 file changed, 27 insertions(+), 15 deletions(-)
7835 commit bc4b788ec187c84c2f8a6c0f68c1892ecaab3bcc
7836 Author: Behdad Esfahbod <behdad@behdad.org>
7837 Date: Fri Jun 13 02:44:37 2008 -0400
7839 [cairo-xlib-surface] In _get_image_surface only use pixman formats >= 24bpp
7841 Otherwise we can't do dithering. This drastically improves gradient rendering
7842 on 16bit displays, essentially making them indistinguishable from 32bit ones
7845 src/cairo-xlib-surface.c | 2 +-
7846 1 file changed, 1 insertion(+), 1 deletion(-)
7848 commit 5faf8663b228eafa60fee1f0a1ac9e9f9406134d
7849 Author: Behdad Esfahbod <behdad@behdad.org>
7850 Date: Fri Jun 13 00:46:01 2008 -0400
7852 [cairo-xlib-surface] Force buggy_repeat to TRUE if Render is not available
7854 So we use more core protocol paths.
7856 src/cairo-xlib-surface.c | 10 +++++++---
7857 1 file changed, 7 insertions(+), 3 deletions(-)
7859 commit e7c1fc5bf53b4adf16f2d0c7e613c848bede6824
7860 Author: Behdad Esfahbod <behdad@behdad.org>
7861 Date: Tue Mar 25 17:50:37 2008 +0430
7863 [xlib] Implement dithering
7865 Remove the intermediate rgb333 for PseudoColor and work on the
7866 cube directly. Also upgrade to a 6x6x6 cube instead of 5x5x5.
7867 Do dithering on both PseudoColor and TrueColor, using a 4x4 pattern.
7869 This only affects X servers with no XRender.
7871 src/cairo-xlib-private.h | 12 ++-
7872 src/cairo-xlib-surface.c | 189 ++++++++++++++++++++++++++++++++--------------
7873 src/cairo-xlib-visual.c | 103 +++++++++++++++++--------
7874 3 files changed, 215 insertions(+), 89 deletions(-)
7876 commit c0176dc54cf16a3a9504977d80184e4608783052
7877 Author: Behdad Esfahbod <behdad@behdad.org>
7878 Date: Fri Jun 13 00:43:31 2008 -0400
7880 [cairo-xlib-surface] Remove unused macro
7882 src/cairo-xlib-surface.c | 3 +--
7883 1 file changed, 1 insertion(+), 2 deletions(-)
7885 commit 93efdce43a05299abef4f2b8220d3b7d9869597b
7886 Author: Behdad Esfahbod <behdad@behdad.org>
7887 Date: Fri Jun 13 21:36:14 2008 -0400
7889 Add a create_solid_pattern_surface surface backend method
7891 This can be used by _cairo_pattern_acquire_surface_for_solid() to let
7892 the backend create custom surfaces for solid fill instead of a 1x1
7895 src/cairo-pattern.c | 10 ++--------
7896 src/cairo-surface.c | 37 +++++++++++++++++++++++++++++++++++++
7897 src/cairoint.h | 20 ++++++++++++++++++--
7898 3 files changed, 57 insertions(+), 10 deletions(-)
7900 commit ff1371a0a7494f986385730a82823cbf56790d5b
7901 Author: Behdad Esfahbod <behdad@behdad.org>
7902 Date: Thu Jun 19 21:06:07 2008 -0400
7904 [cairo-surface] Remove optional pattern argument from create_similar_solid()
7906 This was added in 41c6eebcd1fab94fd3a91d09f1ef6ee0d8c7a044, to avoid
7907 allocating short-lived patterns. However, this was error prune as the
7908 color information was duplicated in the pattern and could get out of
7909 sync. Indeed, it was out of sync before this commit in the call from
7912 By allocating the solid pattern on the stack we fix the original problem
7913 without creating new ones.
7915 src/cairo-clip.c | 3 +--
7916 src/cairo-glitz-surface.c | 3 +--
7917 src/cairo-pattern.c | 3 +--
7918 src/cairo-surface.c | 24 +++++++-----------------
7919 src/cairoint.h | 6 +-----
7920 5 files changed, 11 insertions(+), 28 deletions(-)
7922 commit 240cb59fe8706b1b0d3aae4a4ed3d13472033d1d
7923 Author: Behdad Esfahbod <behdad@behdad.org>
7924 Date: Thu Jun 19 19:49:23 2008 -0400
7926 [cairo-pattern] Clean up _cairo_pattern_acquire_surface_for_solid()
7928 src/cairo-pattern.c | 54 ++++++++++++++++++++++++++++++++-------------------
7929 1 file changed, 34 insertions(+), 20 deletions(-)
7931 commit 2a592877110f34753da0b9e61d5c5f8c83f4ddd9
7932 Author: Behdad Esfahbod <behdad@behdad.org>
7933 Date: Thu Jun 19 19:28:49 2008 -0400
7937 src/cairo-surface.c | 2 +-
7938 1 file changed, 1 insertion(+), 1 deletion(-)
7940 commit b0d112756f1f8af7cf38d1e7542cb2e4453e7b07
7941 Author: Behdad Esfahbod <behdad@behdad.org>
7942 Date: Thu Jun 19 19:25:33 2008 -0400
7944 Remove opaque solid pattern COLOR_ALPHA optimization from call sites
7946 As we do this in _cairo_pattern_init_solid() now.
7948 src/cairo-glitz-surface.c | 5 +----
7949 src/cairo-pattern.c | 10 ++--------
7950 2 files changed, 3 insertions(+), 12 deletions(-)
7952 commit e93e9903241bc0996bfce7c43d030f33cd33730b
7953 Author: Behdad Esfahbod <behdad@behdad.org>
7954 Date: Thu Jun 19 19:22:02 2008 -0400
7956 [cairo-pattern] In init_solid() convert COLOR_ALPHA to COLOR if color is opaque
7958 Moving this further than, so it benefits all callers.
7960 src/cairo-pattern.c | 6 +++---
7961 1 file changed, 3 insertions(+), 3 deletions(-)
7963 commit 333a49d01d431a808c754cfa900e83a733010083
7964 Author: Behdad Esfahbod <behdad@behdad.org>
7965 Date: Thu Jun 19 19:18:57 2008 -0400
7967 [cairo-pattern] Don't call _cairo_stock_color() directly
7969 src/cairo-pattern.c | 9 ++-------
7970 1 file changed, 2 insertions(+), 7 deletions(-)
7972 commit 4eae72317f117941617b426daa682fa4f1bf3d25
7973 Author: Behdad Esfahbod <behdad@behdad.org>
7974 Date: Thu Jun 19 19:08:50 2008 -0400
7976 [cairo-pattern] Remove stale comment
7978 src/cairo-pattern.c | 1 -
7979 1 file changed, 1 deletion(-)
7981 commit 52cf67a8f2c2ca2c5c233756cfa7f56855e67f27
7982 Author: Behdad Esfahbod <behdad@behdad.org>
7983 Date: Thu Jun 19 17:44:43 2008 -0400
7985 Rename cairo_* global vars to _cairo_*
7987 src/cairo-ft-font.c | 8 ++++----
7988 src/cairo-pattern.c | 2 +-
7989 src/cairo.c | 6 +++---
7990 src/cairoint.h | 6 +++---
7991 4 files changed, 11 insertions(+), 11 deletions(-)
7993 commit 9388cc71db8d6e019061f289c0a72ebaa3432c8c
7994 Author: Behdad Esfahbod <behdad@behdad.org>
7995 Date: Thu Jun 19 17:43:52 2008 -0400
7997 [src/check-def.sh] Make sure no global variables are named cairo_*
7999 Even if they are marked cairo_private.
8001 src/check-def.sh | 2 +-
8002 1 file changed, 1 insertion(+), 1 deletion(-)
8004 commit aef25b83450e3e17bedce2ffbae58f7b326e0f61
8005 Author: Behdad Esfahbod <behdad@behdad.org>
8006 Date: Thu Jun 19 17:31:10 2008 -0400
8008 [cairo-pattern] Fix solid surface cache to check for content match too
8010 The code in that cache is becoming uglier and uglier. But at least it
8011 works correctly again. Time for a rewrite.
8013 (Also move the destroy after unlocking)
8015 src/cairo-pattern.c | 20 +++++++++++++++-----
8016 1 file changed, 15 insertions(+), 5 deletions(-)
8018 commit 565644e616ea64f97769d8939beb155f4031da2f
8019 Author: Chris Wilson <chris@chris-wilson.co.uk>
8020 Date: Thu Jun 19 11:42:43 2008 +0100
8022 [cairo-pattern] Band-aid for the solid surface cache.
8024 Behdad noticed that the mixing of dissimilar surfaces within the cache
8026 (http://lists.cairographics.org/archives/cairo/2008-June/014348.html).
8028 This corrects the dereferencing of the evicted surface, but leaves open
8029 the question of the future of the cache.
8031 src/cairo-pattern.c | 9 +++++++--
8032 1 file changed, 7 insertions(+), 2 deletions(-)
8034 commit 47d8739ea198510919b2611c34a44aa3c63f3f59
8035 Author: Chris Wilson <chris@chris-wilson.co.uk>
8036 Date: Thu Jun 19 11:38:38 2008 +0100
8038 [test/xlib-surface-source] Build under --disable-xlib-xrender.
8040 Add an ifdef to support compiling without XRender.
8042 test/xlib-surface-source.c | 4 ++++
8043 1 file changed, 4 insertions(+)
8045 commit 38c4bcc2da225b36455ee3da396305a7d93d4c1d
8046 Author: Chris Wilson <chris@chris-wilson.co.uk>
8047 Date: Thu Jun 19 09:44:58 2008 +0100
8049 [test/solid-pattern-cache-stress] Do what it says on the tin.
8051 Actually draw to the surface after setting the source in order to
8052 trigger use of the solid surface cache.
8054 test/Makefile.am | 1 +
8055 test/solid-pattern-cache-stress-ref.png | Bin 0 -> 107 bytes
8056 test/solid-pattern-cache-stress.c | 148 ++++++++++++++++++++++++-------
8057 3 files changed, 118 insertions(+), 31 deletions(-)
8059 commit 233ba271d626832c2a6332515e2301d68e6051e5
8060 Author: Behdad Esfahbod <behdad@behdad.org>
8061 Date: Wed Jun 18 20:14:42 2008 -0400
8063 [cairo-xlib-xrender] Simplify dummy XRender function stubs
8065 for the case of missing Xrender that is. This compiles
8068 src/cairo-xlib-xrender-private.h | 119 +++++++++++++++++---------------------
8069 1 file changed, 54 insertions(+), 65 deletions(-)
8071 commit d36347e0e2079840ebde0e83791fdce4844e2994
8072 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
8073 Date: Wed Jun 18 18:35:42 2008 +0300
8075 Bug: tessellator sometimes ends rightmost trapezoids too late
8077 Reported on the cairo mailing list:
8079 http://lists.cairographics.org/archives/cairo/2008-May/014233.html
8081 The tessellator would sometimes produce self-intersecting trapezoids
8082 because it would skip the last edge in the active list when deciding
8083 whether we can continue the current trapezoid or not.
8085 The bug never caused a problem with pixman based rasterisation
8086 because pixman stops filling in a trapezoid once it detects a self
8089 src/cairo-bentley-ottmann.c | 2 +-
8090 1 file changed, 1 insertion(+), 1 deletion(-)
8092 commit f2ea46edf4cec3d59f56d90c6f12b0896715022d
8093 Author: Chris Wilson <chris@chris-wilson.co.uk>
8094 Date: Thu Oct 11 22:51:09 2007 +0100
8096 [cairo-xlib-surface] Optimize away clip that covers the entire surface.
8098 Replace a clip rectangle that covers the entire surface with no
8099 clipping as this is quite a common operation when toolkits (i.e. GTK+)
8100 clear surfaces before drawing and avoids a redundant
8101 XRenderSetClipRectangles.
8103 src/cairo-xlib-surface.c | 18 +++++++++++++++++-
8104 1 file changed, 17 insertions(+), 1 deletion(-)
8106 commit b06bd9379a9841da1d1448534c320fb45e6d6d83
8107 Author: Chris Wilson <chris@chris-wilson.co.uk>
8108 Date: Wed May 28 20:32:40 2008 +0100
8110 [cairo-xlib-surface] Handle a NULL visual along core FillRectangles path.
8112 It is possible for an XRender capable surface to use
8113 _cairo_xlib_surface_solid_fill_rectangle() if the surface
8114 HAS_CREATE_PICTURE() && ! HAS_FILL_RECTANGLES(), in which case we need to
8115 handle the surface having no associated visual.
8117 Fixes test/xlib-expose-event.
8119 src/cairo-xlib-surface.c | 2 +-
8120 1 file changed, 1 insertion(+), 1 deletion(-)
8122 commit db32e5ffcc9b06aab623987ecb3b64b9aaf8eca2
8123 Author: Chris Wilson <chris@chris-wilson.co.uk>
8124 Date: Wed May 28 17:44:35 2008 +0100
8126 [check-def.sh] Ignore magic PPC symbols
8128 It appears that the PowerPC Linux ABI specifies a number of magic
8129 functions for register saves and restores which currently appear as
8130 exported symbols in the shared object. Ignore them.
8132 src/check-def.sh | 2 +-
8133 1 file changed, 1 insertion(+), 1 deletion(-)
8135 commit ad9a334e2c86ec3745d45f4d1f113999a731ed70
8136 Author: Chris Wilson <chris@chris-wilson.co.uk>
8137 Date: Wed May 28 15:42:09 2008 +0100
8139 Allocate the correct pattern type on the stack.
8141 Instead of allocating the union of all possible pattern types, just
8142 allocate the specific pattern as used by the function in order to trim
8143 the stack space consumption and flag potential misuse.
8145 src/cairo-clip.c | 4 ++--
8146 src/cairo-glitz-surface.c | 4 ++--
8147 src/cairo-ps-surface.c | 4 ++--
8148 src/cairo-quartz-surface.c | 6 +++---
8149 src/cairo-surface-fallback.c | 24 ++++++++++++------------
8150 src/cairo-win32-printing-surface.c | 5 +++--
8151 src/cairo-win32-surface.c | 4 ++--
8152 src/cairo-xcb-surface.c | 4 ++--
8153 src/cairo-xlib-surface.c | 4 ++--
8154 src/cairo.c | 4 ++--
8155 10 files changed, 32 insertions(+), 31 deletions(-)
8157 commit 74c1e9b5455cd14bfc077a5be2d45a47df666cd4
8158 Author: Chris Wilson <chris@chris-wilson.co.uk>
8159 Date: Sat May 10 08:11:54 2008 +0100
8161 Trivial warning fixes to silence the compiler.
8163 src/cairo-analysis-surface.c | 56 +++++++++++++++++++++++++++++++++++++-----
8164 src/cairo-xlib-surface.c | 25 ++++++++++---------
8165 2 files changed, 63 insertions(+), 18 deletions(-)
8167 commit b235050316256b15f9547f2f587847c6a561c76c
8168 Author: Chris Wilson <chris@chris-wilson.co.uk>
8169 Date: Fri May 9 11:26:39 2008 +0100
8171 [cairo-pattern] Generate an opaque solid colour if alpha >= 1.
8173 If the user supplies an alpha value of >= 1 to
8174 cairo_pattern_create_rgba(), substitute a call to
8175 cairo_pattern_create_rgb() instead.
8177 src/cairo-pattern.c | 3 +++
8178 1 file changed, 3 insertions(+)
8180 commit 40e1aa60f2c0cd8c4b897c8e9806d1750632b43d
8181 Author: Chris Wilson <chris@chris-wilson.co.uk>
8182 Date: Thu May 8 20:48:19 2008 +0100
8184 [cairo-pattern] Try to repaint the evicted surface from the solid surface cache.
8186 Behdad Esfahbod complained that commit
8187 8457374c9cf350841a7c16f1ef1657aeb354e5c9 overwhelmed the function with
8188 added complexity and arbitrary limited a backend to one-quarter of the
8189 cache. The elegant solution, he outlined, was to look at the surface that
8190 would be evicted and if possible repaint it, instead of creating a
8191 replacement. This not only simplifies the code, reduces the number of
8192 checks performed to find a match (or victim) and allows the cache to be
8193 naturally shared between the various backends.
8195 src/cairo-pattern.c | 111 +++++++++++++++++++++++----------------------------
8196 1 file changed, 50 insertions(+), 61 deletions(-)
8198 commit ea79af728c2ac9c8ca8536010bb2b92cf366ab70
8199 Author: Chris Wilson <chris@chris-wilson.co.uk>
8200 Date: Thu May 8 17:23:44 2008 +0100
8202 [cairo-xlib] Scan for a glyphset to match a pending free glyph.
8204 In order to avoid re-rasterising a glyph that is pending an
8205 XRenderFreeGlyph, we first scan all glyphsets and their arrays of
8206 pending_free_glyphs for a matching glyph. The additional cost of
8207 scanning the extra arrays should be negligble as most fonts will only
8208 have the single array (which we would scan anyway) but we potentially
8209 save an expensive rasterisation and short-lived image surface.
8211 (As suggested by Behdad Esfahbod.)
8213 src/cairo-xlib-surface.c | 90 ++++++++++++++++++++++++++++++++++++----------
8214 1 file changed, 72 insertions(+), 18 deletions(-)
8216 commit c2963fa6c1f6da2117663d69505efb3bf2cc4145
8217 Author: Chris Wilson <chris@chris-wilson.co.uk>
8218 Date: Thu May 8 09:02:12 2008 +0100
8220 [cairo-boilerplate] Silence compiler warning.
8222 Mark the optstr argument as const to silence a compiler warning in
8225 boilerplate/cairo-boilerplate-getopt.c | 2 +-
8226 boilerplate/cairo-boilerplate-getopt.h | 2 +-
8227 2 files changed, 2 insertions(+), 2 deletions(-)
8229 commit ac44817c4a8464ed5c665cc8b20d1463cf8a5de3
8230 Author: Chris Wilson <chris@chris-wilson.co.uk>
8231 Date: Thu May 8 09:00:56 2008 +0100
8233 [cairo-perf] Only allocate arrays once.
8235 Store the array of times on the cairo_perf_t context to avoid
8236 reallocating it for every perf-case.
8238 perf/cairo-perf.c | 30 ++++++++++++++----------------
8239 perf/cairo-perf.h | 3 +++
8240 2 files changed, 17 insertions(+), 16 deletions(-)
8242 commit 335ed745898a3e110a4ffd1abd8f55edfb407639
8243 Author: Chris Wilson <chris@chris-wilson.co.uk>
8244 Date: Wed May 7 09:34:49 2008 +0100
8246 Enlarge the embedded arrays to eliminate frequent allocations.
8248 Enlarge the embedded arrays of edges and points for cairo_polygon_t and
8249 cairo_spline_t respectively, such that the frequent allocations are
8250 eliminated whilst running a firefox3 benchmark.
8252 src/cairo-polygon.c | 19 +++++--------------
8253 src/cairo-types-private.h | 4 ++--
8254 2 files changed, 7 insertions(+), 16 deletions(-)
8256 commit 963ff0b9485dbd4b3d5d1a65f6cdd73b170a6a79
8257 Author: Chris Wilson <chris@chris-wilson.co.uk>
8258 Date: Wed May 7 09:32:29 2008 +0100
8260 [cairo-pen] Embed a small array of vertices into cairo_pen_t.
8262 Eliminate allocation of the vertex array for the common cases.
8264 src/cairo-pen.c | 71 ++++++++++++++++++++++++++++-----------------
8265 src/cairo-types-private.h | 3 +-
8266 2 files changed, 46 insertions(+), 28 deletions(-)
8268 commit d9b2e8f0045dcde8beafed7fe08728ae15194ffa
8269 Author: Chris Wilson <chris@chris-wilson.co.uk>
8270 Date: Wed May 7 09:20:17 2008 +0100
8272 [cairo-path-stroke] Avoid allocation for single rectangle.
8274 The most common case for path stroking is a single rectangle, so embed
8275 sufficient segments into the stroker to avoid an extra allocation.
8277 src/cairo-path-stroke.c | 41 ++++++++++++++++++++++++-----------------
8278 1 file changed, 24 insertions(+), 17 deletions(-)
8280 commit ba6b2d092ab45e9d28ab5c016315458d1ad670ff
8281 Author: Chris Wilson <chris@chris-wilson.co.uk>
8282 Date: Wed May 7 09:18:30 2008 +0100
8284 [cairo-hull] Attempt to allocate vertices on stack.
8286 First try to allocate the vertices using an on-stack array, otherwise, if
8287 we need more vertices than can be accomodated, fallback to using a heap
8290 src/cairo-hull.c | 40 +++++++++++++++++++---------------------
8291 1 file changed, 19 insertions(+), 21 deletions(-)
8293 commit b2eadb94f8e34d7c997b5ccfbca4d21e173fdd56
8294 Author: Chris Wilson <chris@chris-wilson.co.uk>
8295 Date: Tue Apr 29 11:56:21 2008 +0100
8297 [cairo] Cache freed gstates.
8299 Reduce the malloc pressure from frequent cairo_save()/cairo_restore() by
8300 caching the freed gstates in a list on the context.
8302 src/cairo-gstate.c | 66 +++++++++++++++------------------------------------
8303 src/cairo-private.h | 1 +
8304 src/cairo.c | 21 +++++++++-------
8305 src/cairoint.h | 4 ++--
8306 4 files changed, 35 insertions(+), 57 deletions(-)
8308 commit c57b1eca18db12b8d56d73093d5cae28ed388298
8309 Merge: b9acf62 cba1543
8310 Author: Søren Sandmann <sandmann@redhat.com>
8311 Date: Fri Jun 13 16:18:13 2008 -0400
8313 Merge branch 'region32'
8315 commit b9acf625d64f11253b5c8d32e890bb94e78809b4
8316 Author: Behdad Esfahbod <behdad@behdad.org>
8317 Date: Thu Jun 12 21:03:19 2008 -0400
8319 Make check-*.sh scripts more portable (#16299)
8321 doc/public/check-doc-coverage.sh | 20 +++++++++++---------
8322 doc/public/check-doc-syntax.sh | 2 +-
8323 src/check-cairoint.sh | 6 +++---
8324 src/check-def.sh | 10 ++++++----
8325 src/check-doc-syntax.sh | 24 +++++++++++++-----------
8326 src/check-headers.sh | 6 +++---
8327 src/check-plt.sh | 10 ++++++----
8328 7 files changed, 43 insertions(+), 35 deletions(-)
8330 commit d47142907f01ae610fa06987c20741ae1382a4b7
8331 Author: Behdad Esfahbod <behdad@behdad.org>
8332 Date: Tue Mar 25 17:33:47 2008 +0430
8334 [xlib-visual] Make the 5x5x5 color cube better approximate the rgb333 space
8336 That is, instead of uniformly spreading the colors at 0/4, 1/4, 2/4, 3/4, 4/4
8337 intensities, we do 0/7, 1.5/7, 3.5/7, 5.5/7, 7/7 now. Those better
8338 approximate the 0/7..7/7 of the rgb333 space that we first convert to.
8340 src/cairo-xlib-visual.c | 2 +-
8341 1 file changed, 1 insertion(+), 1 deletion(-)
8343 commit 4fcef1a490508f0b489a4035dd7951f3ae2e6649
8344 Author: Behdad Esfahbod <behdad@behdad.org>
8345 Date: Tue Mar 25 17:26:51 2008 +0430
8347 [xlib-visual] Allocate 8-entry gray ramp instead of 16-entry
8349 We convert to rgb333 before doing pseudo-color lookup, so we cannot
8350 get more than 8 gray levels anyway.
8352 src/cairo-xlib-visual.c | 8 +++-----
8353 1 file changed, 3 insertions(+), 5 deletions(-)
8355 commit cba1543c9274db5a84aab26a4d6642a1151106c1
8356 Author: Søren Sandmann <sandmann@redhat.com>
8357 Date: Mon Jun 9 03:30:26 2008 -0400
8359 Remove large-clip from xfail list
8361 test/Makefile.am | 1 -
8362 1 file changed, 1 deletion(-)
8364 commit a95e81261f246874bab157dd83131a4f0baebe06
8365 Author: Søren Sandmann <sandmann@redhat.com>
8366 Date: Mon Jun 9 03:04:06 2008 -0400
8368 Require pixman 0.11.2 for 32 bit regions
8371 1 file changed, 1 insertion(+), 1 deletion(-)
8373 commit c3121543f87e372d18aaa5b8a132d28bcc4bf450
8374 Author: Søren Sandmann <sandmann@redhat.com>
8375 Date: Mon Jun 9 01:11:38 2008 -0400
8377 Fix xlib incarnation of the large-clip bug.
8379 Intersect the clip region with the bounds of the surface to prevent
8380 overflows when converting from 32 to 16 bits.
8382 src/cairo-xlib-surface.c | 29 ++++++++++++++++++++++++++---
8383 1 file changed, 26 insertions(+), 3 deletions(-)
8385 commit 75fdccc1db2d78a546528164054a54509dac1490
8386 Author: Søren Sandmann <sandmann@redhat.com>
8387 Date: Mon Jun 9 00:43:47 2008 -0400
8389 Use 32 bit pixman regions for cairo_region_t
8391 src/cairo-image-surface.c | 2 +-
8392 src/cairo-region-private.h | 2 +-
8393 src/cairo-region.c | 38 +++++++++++++++++++-------------------
8394 3 files changed, 21 insertions(+), 21 deletions(-)
8396 commit bd0cf0562349e88857943a521bf37fca5709f47e
8397 Author: Søren Sandmann <sandmann@redhat.com>
8398 Date: Mon Jun 9 00:09:25 2008 -0400
8400 Add the correct reference image for the large-clip test
8402 test/large-clip-ref.png | Bin 362 -> 350 bytes
8403 1 file changed, 0 insertions(+), 0 deletions(-)
8405 commit 60971fb5142dedc6d5248133bacf6e08b585abc4
8406 Author: Søren Sandmann <sandmann@redhat.com>
8407 Date: Sun Jun 8 17:48:19 2008 -0400
8411 This tests clipping to a rectangle that doesn't fit in 16 bits.
8413 test/Makefile.am | 3 +++
8414 test/large-clip-ref.png | Bin 0 -> 362 bytes
8415 test/large-clip.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++
8416 3 files changed, 61 insertions(+)
8418 commit 4210bab61a1f680b0ca393e1f5fec0549ddcfcec
8419 Author: Behdad Esfahbod <behdad@behdad.org>
8420 Date: Tue Jun 10 02:17:21 2008 -0400
8422 [cairo-ft-font] Make font face caching work again
8424 Recent change to the cache key had broken all caching as we were always
8425 comparing unscaled->face.
8427 src/cairo-ft-font.c | 30 ++++++++++++++++++------------
8428 1 file changed, 18 insertions(+), 12 deletions(-)
8430 commit c5b1674349154049646b491cac571d93328b5e0c
8431 Author: Behdad Esfahbod <behdad@behdad.org>
8432 Date: Tue Jun 10 01:05:09 2008 -0400
8434 [cairo-ft-font] Fix thinko in _cairo_ft_unscaled_font_keys_equal()
8436 src/cairo-ft-font.c | 4 ++--
8437 1 file changed, 2 insertions(+), 2 deletions(-)
8439 commit 9e1b4704ce420cd5fd9377e3cb0f522297e00a1a
8440 Author: Behdad Esfahbod <behdad@behdad.org>
8441 Date: Mon Jun 9 15:21:18 2008 -0400
8443 [cairo-xlib-screen] Protect fontconfig call with CAIRO_HAS_FT_FONT
8445 src/cairo-xlib-screen.c | 2 ++
8446 1 file changed, 2 insertions(+)
8448 commit c8fc587edea8619ecd30a170063e79f9d4183011
8449 Author: Adrian Johnson <ajohnson@redneon.com>
8450 Date: Mon Jun 9 23:14:47 2008 +0930
8452 Update user-font test PS/PDF ref images
8454 The PDF output no longer requires a PDF specific reference image. The
8455 lastest poppler from git is required to get the fix for a bug in Type
8458 test/user-font-pdf-ref.png | Bin 6388 -> 0 bytes
8459 test/user-font-ps-ref.png | Bin 0 -> 5043 bytes
8460 2 files changed, 0 insertions(+), 0 deletions(-)
8462 commit 42c212135d22654f9220a06779c7611fe6f0a714
8463 Author: Adrian Johnson <ajohnson@redneon.com>
8464 Date: Sun Jun 8 17:03:05 2008 +0930
8466 Implement PS Type 3 font image support
8468 There does not appear to be any way of emulating PDF inline images in
8469 PostScript so we call back to the PS or PDF surface to emit the image.
8471 src/cairo-pdf-surface.c | 44 ++++++++++++++++++++++++++-
8472 src/cairo-ps-surface.c | 49 ++++++++++++++++++++++++++++++-
8473 src/cairo-type3-glyph-surface-private.h | 9 ++++--
8474 src/cairo-type3-glyph-surface.c | 32 ++++----------------
8475 4 files changed, 104 insertions(+), 30 deletions(-)
8477 commit 5b05034cc9d943a5acb052763c1a595ac0e347fb
8478 Author: Adrian Johnson <ajohnson@redneon.com>
8479 Date: Sun Jun 8 16:57:58 2008 +0930
8481 Implement PS Type 3 font subsetting of user fonts
8483 src/cairo-ps-surface.c | 150 +++++++++---------------------------------------
8484 1 file changed, 28 insertions(+), 122 deletions(-)
8486 commit 100a34bea66545c4d962604ed9beefd3180e53fc
8487 Author: Adrian Johnson <ajohnson@redneon.com>
8488 Date: Sun Jun 8 17:11:39 2008 +0930
8490 Implement PDF Type 3 font subsetting of user fonts
8492 show_glyphs inside a Type 3 font currently results in a fallback
8493 image. Some refactoring is required before font subsets can be created
8494 while emitting all the font subsets.
8496 src/Makefile.am | 2 +
8497 src/cairo-pdf-surface.c | 133 ++-------
8498 src/cairo-scaled-font-subsets.c | 4 +-
8499 src/cairo-type3-glyph-surface-private.h | 69 +++++
8500 src/cairo-type3-glyph-surface.c | 465 +++++++++++++++++++++++++++++++
8501 src/cairo-types-private.h | 3 +-
8502 6 files changed, 568 insertions(+), 108 deletions(-)
8504 commit 1e1c05e58f808c07ac0e7c0a4ba2c6f8ccb18792
8505 Author: Adrian Johnson <ajohnson@redneon.com>
8506 Date: Sun Jun 8 16:50:34 2008 +0930
8508 Change _cairo_font_face_is_user() from static to cairo_private
8510 src/cairo-user-font-private.h | 45 +++++++++++++++++++++++++++++++++++++++++
8511 src/cairo-user-font.c | 3 ++-
8512 2 files changed, 47 insertions(+), 1 deletion(-)
8514 commit d157e4861aabe9e154eb3f98106f1d86df36b396
8515 Author: Adrian Johnson <ajohnson@redneon.com>
8516 Date: Sat Jun 7 08:58:39 2008 +0930
8518 Fix win32-printing show_glyphs analysis
8520 src/cairo-win32-printing-surface.c | 32 +++++++++++++++++++-------------
8521 1 file changed, 19 insertions(+), 13 deletions(-)
8523 commit 06b15d2f2da2ffd841a6a88c9713424d416d7388
8524 Author: Behdad Esfahbod <behdad@behdad.org>
8525 Date: Thu Jun 5 22:58:57 2008 -0400
8527 [doc] Document user-font callback types
8529 src/cairo.h | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8530 1 file changed, 133 insertions(+)
8532 commit 4c17a5ee1155cf2f1465d9b14b625a309bd108a2
8533 Author: Behdad Esfahbod <behdad@behdad.org>
8534 Date: Thu Jun 5 22:58:33 2008 -0400
8536 [configure.in] Change version to 1.7.1
8538 We branched weeks ago.
8540 configure.in | 10 +++++-----
8541 1 file changed, 5 insertions(+), 5 deletions(-)
8543 commit a87c94d24774b79e4bc51fc6814558ed4aa1ab77
8544 Author: Behdad Esfahbod <behdad@behdad.org>
8545 Date: Thu Jun 5 19:29:47 2008 -0400
8547 [user-font] Add XXX mark for text_to_glyphs memory allocation issue
8549 src/cairo-user-font.c | 1 +
8550 1 file changed, 1 insertion(+)
8552 commit adcfe8335629e76f2ad12432d90d94fec12871c0
8553 Author: Behdad Esfahbod <behdad@behdad.org>
8554 Date: Thu Jun 5 19:19:27 2008 -0400
8556 [user-font] Reorder methods to the order they should appear in docs
8558 src/cairo-user-font.c | 52 ++++++++++++++++++++++++-------------------------
8559 src/cairo.h | 22 ++++++++++-----------
8560 2 files changed, 37 insertions(+), 37 deletions(-)
8562 commit 6702c7edc4a6e3e1129d8c6e6b4989ba2410add4
8563 Author: Behdad Esfahbod <behdad@behdad.org>
8564 Date: Thu Jun 5 18:42:50 2008 -0400
8566 [user-font] Let user decide to fall back to unicode_to_glyph in text_to_glyphs
8568 User does this by not setting *num_glyphs.
8570 src/cairo-user-font.c | 4 ++++
8571 1 file changed, 4 insertions(+)
8573 commit 3b1b0746959956155dd33cf71989e7bcb63886f5
8574 Author: Behdad Esfahbod <behdad@behdad.org>
8575 Date: Thu Jun 5 18:32:54 2008 -0400
8577 [user-font] Add XXX mark about metrics-hinting the font extents
8579 src/cairo-user-font.c | 2 ++
8580 1 file changed, 2 insertions(+)
8582 commit 60cf2ef8449e1fd09fe0f2d8c8dc5fa2bb855e5a
8583 Author: Behdad Esfahbod <behdad@behdad.org>
8584 Date: Thu Jun 5 15:44:37 2008 -0400
8586 [cairo-ft] Respect FC_FT_FACE element of pattern
8588 Based on patch from Stuart Parmenter. Now one can use
8589 cairo_ft_font_face_create_for_pattern() to create cairo-ft font
8590 faces using provided FT_Face but also requesting advanced
8591 options like emboldening and hinting.
8593 src/cairo-ft-font.c | 117 +++++++++++++++++++++++++++++++--------------------
8594 1 file changed, 72 insertions(+), 45 deletions(-)
8596 commit 4c5370dad87cb822a17905dd8dbb058fce11d132
8597 Author: Adrian Johnson <ajohnson@redneon.com>
8598 Date: Wed Jun 4 23:27:05 2008 +0930
8600 Update PDF/PS ref images of text-rotate and ft-show-glyphs-positioning
8602 test/ft-show-glyphs-positioning-pdf-ref.png | Bin 3114 -> 3133 bytes
8603 test/text-rotate-pdf-ref.png | Bin 0 -> 16639 bytes
8604 test/text-rotate-ps-ref.png | Bin 6796 -> 6851 bytes
8605 3 files changed, 0 insertions(+), 0 deletions(-)
8607 commit a922a0c5cf2c7862eba4db0b71bda75136a9012a
8608 Author: Adrian Johnson <ajohnson@redneon.com>
8609 Date: Wed Jun 4 22:59:53 2008 +0930
8611 Bit swap when writing FORMAT_A1 to PNG on little endian
8613 src/cairo-png.c | 3 +++
8614 1 file changed, 3 insertions(+)
8616 commit 1d8596d5b068c383c236f312f7dc753911a5f9b7
8617 Author: Adrian Johnson <ajohnson@redneon.com>
8618 Date: Wed Jun 4 22:59:33 2008 +0930
8620 Optimize PDF operators show_glyphs() to use Tj operator
8622 The Tj operator displays a string of glyphs positioned at their glyph
8625 src/cairo-pdf-operators.c | 39 +++++++++++++++++++++++++++++++++++++--
8626 1 file changed, 37 insertions(+), 2 deletions(-)
8628 commit 71fe8c8881d495e8c1bd2ebbb8748761adc6bcd9
8629 Author: Adrian Johnson <ajohnson@redneon.com>
8630 Date: Wed Jun 4 22:57:43 2008 +0930
8632 PS: Make PDF emulation work with the new show_glyphs optimizations
8634 The implementation of the Tf, Td, and Tm operators has been extended
8635 to allow calling these operators in any order.
8637 src/cairo-ps-surface.c | 15 +++++++++------
8638 1 file changed, 9 insertions(+), 6 deletions(-)
8640 commit 83e4825fae85acb49ec032c0ddf51a615ee76a9e
8641 Author: Adrian Johnson <ajohnson@redneon.com>
8642 Date: Wed Jun 4 22:47:50 2008 +0930
8644 Rewrite _cairo_pdf_operators_show_glyphs()
8646 Rewrite the PDF operators show_glyphs() function to make it more
8647 maintainable and better optimized.
8649 The changes include:
8651 - Use a separate function to output each text operator and update the
8654 - Store glyphs in a buffer until they can be written out as one
8655 string. This reduces the complexity of the code for emitting glyph
8656 strings and significantly optimizes the output size as glyphs from
8657 multiple calls to show_glyphs() can be accumulated and written in one
8660 - The code now better handles rotated text. Previously, using rotated
8661 text resulted in the text matrix emitted for every glyph. Now rotated
8662 text can be emitted as strings in the some way as non rotated
8663 text. This is particulary useful for printing in landscape mode where
8664 all text on the page is rotated.
8666 src/cairo-pdf-operators-private.h | 28 +-
8667 src/cairo-pdf-operators.c | 527 +++++++++++++++++++++++--------------
8668 2 files changed, 361 insertions(+), 194 deletions(-)
8670 commit f3d457db0c5cf79264bf48f0bef9209d68bd259f
8671 Author: Adrian Johnson <ajohnson@redneon.com>
8672 Date: Wed Jun 4 22:36:10 2008 +0930
8674 Store y_advance in cairo_scaled_font_subsets_glyph_t
8676 src/cairo-scaled-font-subsets-private.h | 1 +
8677 src/cairo-scaled-font-subsets.c | 10 ++++++++--
8678 2 files changed, 9 insertions(+), 2 deletions(-)
8680 commit 6139fdc1073c0fe1bc5a3809f15c2ee8b5028469
8681 Author: Adrian Johnson <ajohnson@redneon.com>
8682 Date: Tue Jun 3 20:56:11 2008 +0930
8684 PDF: Don't emit a new text object for every call to show_glyphs
8686 A text object is a series of text operations enclosed in a 'BT'/'ET'
8689 After a call to _cairo_pdf_operators_show_glyphs() the closing 'ET'
8690 will not be emitted. This allows subsequent calls to show_glyphs() to
8691 emit text into the same text object. A call to any other operator or
8692 _cairo_pdf_operators_flush() will close the text object.
8694 src/cairo-pdf-operators-private.h | 1 +
8695 src/cairo-pdf-operators.c | 27 +++++++++++++++++++++++----
8696 src/cairo-pdf-surface.c | 10 ++++++++++
8697 3 files changed, 34 insertions(+), 4 deletions(-)
8699 commit 6258f1a4e29e0457465e83bd5be1900a10c75473
8700 Author: Adrian Johnson <ajohnson@redneon.com>
8701 Date: Tue Jun 3 20:55:30 2008 +0930
8703 PDF: Remember the current color
8705 Don't emit the set fill or stroke color operator if the required fill
8706 or stroke color is already selected.
8708 src/cairo-pdf-surface-private.h | 7 ++++
8709 src/cairo-pdf-surface.c | 71 ++++++++++++++++++++++++++++-----------
8710 2 files changed, 59 insertions(+), 19 deletions(-)
8712 commit fd42b74a4f35154d7c9a03b4f248801cd0b7c339
8713 Author: Adrian Johnson <ajohnson@redneon.com>
8714 Date: Tue Jun 3 20:55:03 2008 +0930
8716 Add _cairo_pdf_operators_flush()
8718 The optimizations planned for pdf-operators will mean that it will no
8719 longer emit complete operations on each call to
8720 fill/stroke/show_glyphs. For example a call to _show_glyphs() may not
8721 finish the text operation to allow a subsequent call to _show_glyphs()
8722 to be merged into the same text object.
8724 A flush function is required to force pdf_operators to complete the
8725 current operation before the pdf surface can emit any pdf operators.
8727 src/cairo-pdf-operators-private.h | 5 +-
8728 src/cairo-pdf-operators.c | 24 +++++++++-
8729 src/cairo-pdf-surface.c | 92 ++++++++++++++++++++++++++++++++-----
8730 src/cairo-ps-surface.c | 36 ++++++++++++++-
8731 4 files changed, 142 insertions(+), 15 deletions(-)
8733 commit e1bc97a7e506c16467d97a525b35722ea30027c3
8734 Author: Adrian Johnson <ajohnson@redneon.com>
8735 Date: Thu May 1 23:29:20 2008 +0930
8737 Disable UniqueID font check in Type 1 subset font
8739 Some Type 1 fonts have some PostScript code at the start of the font
8740 that checks if the font is already cached in the printer (based on the
8741 font UniqueID key). This breaks our subsetted font as it is not the
8742 same as the original font.
8744 Checking for and removing a random blob of PostScript is difficult so
8745 this patch takes the simpler approach of searching for the PS code
8746 that checks if the UniqueID dictionary entry exists
8752 this code leaves the value "true" or "false" on the PS interpreter
8753 stack depending on whether the "UniqueID" key exists.
8755 Then the patch inserts the PS code " pop false " after the above code
8756 to remove the old result and place "false" on the stack to make it
8757 appear that UniqueID does not exist.
8759 This approach should be able to handle any type of PostScript code
8760 that attempts to do something with the UniqueID value in the font
8763 src/cairo-type1-subset.c | 30 +++++++++++++++++++++++++++---
8764 1 file changed, 27 insertions(+), 3 deletions(-)
8766 commit 34c42202f0575be10a2e409fe66f1da95886353f
8767 Author: Adrian Johnson <ajohnson@redneon.com>
8768 Date: Thu May 1 22:55:07 2008 +0930
8770 Remove XUID key from subsetted Type 1 fonts
8772 Subsetted fonts must not share the same XUID as the original font.
8774 src/cairo-type1-subset.c | 11 ++++++-----
8775 1 file changed, 6 insertions(+), 5 deletions(-)
8777 commit 6ae1061508d6b14b128a8fbf7558d3a64f9551fa
8778 Author: Adrian Johnson <ajohnson@redneon.com>
8779 Date: Thu May 1 23:24:57 2008 +0930
8781 Remove UniqueID key from subsetted Type 1 fonts
8783 Subsetted fonts must not share the same UniqueID as the original
8786 src/cairo-type1-subset.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++
8787 1 file changed, 59 insertions(+)
8789 commit e30cd617c89fa7511d2002a155d4ccdfa2ec9aa9
8790 Author: Adrian Johnson <ajohnson@redneon.com>
8791 Date: Tue May 13 21:41:56 2008 +0930
8793 Make font subsetting output fonts in order of the font subset id
8795 This ensures that PS/PDF output is always the same for the same cairo
8796 input. Previously the order of the embedded fonts depended on the hash
8797 key of the fonts which depended on the memory location of fonts.
8799 src/cairo-scaled-font-subsets.c | 58 +++++++++++++++++++++++++++------------
8800 1 file changed, 40 insertions(+), 18 deletions(-)
8802 commit 0dbb5c9f6222660b1083420419d0eaa71c809ac5
8803 Author: Adrian Johnson <ajohnson@redneon.com>
8804 Date: Sat May 31 20:15:04 2008 +0930
8806 Ensure eexec encryption in subsetted Type 1 font is compliant (#13679)
8808 In the eexec encryption used in Type 1 fonts, the first four bytes of
8809 ciphertext must not start with a white space character or contain an
8810 ASCII Hex character. Some fonts do not comply with this
8811 restriction. This may cause problems for some PDF consumers.
8813 Fix this by overwriting the four random bytes at the start of the
8814 decrypted cleartext with spaces. When re-encrypted the first four
8815 bytes of ciphertext will always be 0xf0, 0x83, 0xef, 0x00 which
8816 complies with the restrictions.
8818 src/cairo-type1-subset.c | 18 ++++++++++++++++++
8819 1 file changed, 18 insertions(+)
8821 commit 2f4d8fd0717fc7158d49f7a14335bc13dd09d55a
8822 Author: Behdad Esfahbod <behdad@behdad.org>
8823 Date: Mon Jun 2 22:46:21 2008 -0400
8825 [cairo-gstate] Return immediately if clip bounds is empty
8827 src/cairo-gstate.c | 8 ++++++++
8828 1 file changed, 8 insertions(+)
8830 commit 3f5051fab161da167fdedcdad0280da1f57a1828
8831 Author: Behdad Esfahbod <behdad@behdad.org>
8832 Date: Sun Jun 1 19:14:13 2008 -0400
8834 Fix now-detected doc formatting issues
8836 src/cairo-base85-stream.c | 3 ++-
8837 src/cairo-beos-surface.cpp | 2 +-
8838 src/cairo-deflate-stream.c | 3 ++-
8839 src/cairo-ft-font.c | 1 +
8840 src/cairo-meta-surface.c | 2 +-
8841 src/cairo-os2-surface.c | 4 ++--
8842 src/cairo-output-stream-private.h | 4 ++--
8843 src/cairo-paginated-private.h | 4 ++--
8844 src/cairo-path-fixed.c | 2 ++
8845 src/cairo-surface.c | 2 +-
8846 src/cairo-unicode.c | 3 ++-
8847 src/cairo-xcb-surface.c | 4 ++--
8848 src/cairo-xlib-surface.c | 4 ++--
8849 src/cairo.c | 27 +++++++++++++--------------
8850 src/cairo.h | 8 ++++----
8851 src/cairoint.h | 24 ++++++++++++------------
8852 16 files changed, 51 insertions(+), 46 deletions(-)
8854 commit 0c208f28268028fbb4fe2cc175131b279626975c
8855 Author: Behdad Esfahbod <behdad@behdad.org>
8856 Date: Sun Jun 1 19:13:49 2008 -0400
8858 [src/check-doc-syntax.sh] Detect malformatted functions at line start
8860 src/check-doc-syntax.sh | 6 +++---
8861 1 file changed, 3 insertions(+), 3 deletions(-)
8863 commit 3f02e0d74b9b04f6e8ad32d12768aafa0076bd97
8864 Author: Behdad Esfahbod <behdad@behdad.org>
8865 Date: Sun Jun 1 18:46:45 2008 -0400
8867 Fix newly detected doc syntax issues
8869 src/cairo-array.c | 6 +++---
8870 src/cairo-bentley-ottmann.c | 2 +-
8871 src/cairo-cache.c | 2 +-
8872 src/cairo-hash.c | 8 ++++----
8873 src/cairo-meta-surface.c | 2 +-
8874 src/cairo-pattern.c | 2 +-
8875 src/cairo-png.c | 10 +++++-----
8876 src/cairo-scaled-font-subsets-private.h | 26 +++++++++++++-------------
8877 src/cairo-scaled-font.c | 8 ++++----
8878 src/cairo-surface.c | 4 ++--
8879 src/cairo.c | 14 +++++++-------
8880 src/cairo.h | 8 ++++----
8881 12 files changed, 46 insertions(+), 46 deletions(-)
8883 commit b37c7557303e750c672648fe00922262d2a56a5a
8884 Author: Behdad Esfahbod <behdad@behdad.org>
8885 Date: Sun Jun 1 18:46:23 2008 -0400
8887 [src/check-doc-syntax.sh] Detect malformatted enums starting the line
8889 src/check-doc-syntax.sh | 2 +-
8890 1 file changed, 1 insertion(+), 1 deletion(-)
8892 commit 0ea7d5d6dbd7d48f7d88280dedeba2c1bc36d1ea
8893 Author: Behdad Esfahbod <behdad@behdad.org>
8894 Date: Sun Jun 1 15:32:42 2008 -0400
8896 [cairo-mutex] Remove debugging stuff that I accidentally committed
8898 We should add read mutex debugging facilities when the debugging
8899 infrastructure is in place.
8901 src/cairo-mutex-type-private.h | 21 +--------------------
8902 1 file changed, 1 insertion(+), 20 deletions(-)
8904 commit 54f1a426f75ed44ea2d67b605c78951798f4c1d1
8905 Author: Behdad Esfahbod <behdad@behdad.org>
8906 Date: Fri May 30 15:23:32 2008 -0400
8908 [cairo-xcb] Oops. Fix build.
8910 src/cairo-xcb-surface.c | 2 +-
8911 1 file changed, 1 insertion(+), 1 deletion(-)
8913 commit fbe7044f10c2d36f1ee4e1edd3d3289e0cad8779
8914 Author: Behdad Esfahbod <behdad@behdad.org>
8915 Date: Fri May 30 15:18:22 2008 -0400
8917 [user-font] Improve docs.
8919 src/cairo-user-font.c | 6 ++++++
8920 1 file changed, 6 insertions(+)
8922 commit 45be1459b2b8f7fab124fe6c773944618bd5e046
8923 Author: Behdad Esfahbod <behdad@behdad.org>
8924 Date: Thu May 29 02:35:09 2008 -0400
8926 [user-font] Document all public functions
8928 Remains to do: callback types.
8930 src/cairo-user-font.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++---
8931 1 file changed, 118 insertions(+), 7 deletions(-)
8933 commit 9a05c0e7f46f5c6bd29354f53adf2fd340543414
8934 Author: Behdad Esfahbod <behdad@behdad.org>
8935 Date: Thu May 29 02:34:07 2008 -0400
8939 src/cairo-types-private.h | 2 +-
8940 1 file changed, 1 insertion(+), 1 deletion(-)
8942 commit d0bc3ca1a224bf6ff6578ea4bf3a5ebe9e4f52a1
8943 Author: Behdad Esfahbod <behdad@behdad.org>
8944 Date: Wed May 28 20:58:35 2008 -0400
8946 [doc] Add Index of 1.8 symbols
8948 doc/public/cairo-docs.xml | 3 +++
8949 1 file changed, 3 insertions(+)
8951 commit 4e68140aca75536127a7efc983d9123fd7af4109
8952 Author: Behdad Esfahbod <behdad@behdad.org>
8953 Date: Wed May 28 20:57:36 2008 -0400
8955 [doc] Document remaining CAIRO_HAS_* macros
8957 I'm sure I had done them all before. No idea what happened.
8958 Perhaps gtk-doc was not seeing them as missing.
8960 doc/public/tmpl/cairo-ft.sgml | 3 ++-
8961 doc/public/tmpl/cairo-quartz-fonts.sgml | 3 ++-
8962 doc/public/tmpl/cairo-quartz.sgml | 3 ++-
8963 doc/public/tmpl/cairo-xlib.sgml | 3 ++-
8964 4 files changed, 8 insertions(+), 4 deletions(-)
8966 commit 65cc905c2f7707723858917d9d1e93566214b640
8967 Author: Behdad Esfahbod <behdad@behdad.org>
8968 Date: Wed May 28 20:54:38 2008 -0400
8970 [doc] Add stub for user-fonts
8972 doc/public/Headers.mk | 1 +
8973 doc/public/cairo-docs.xml | 1 +
8974 doc/public/cairo-sections.txt | 18 ++++
8975 doc/public/tmpl/cairo-user-fonts.sgml | 146 +++++++++++++++++++++++++++++++++
8976 4 files changed, 166 insertions(+)
8978 commit a9b2461c41dba6bb097ee316f093d5b9d3fb6d56
8979 Author: Behdad Esfahbod <behdad@behdad.org>
8980 Date: Wed May 28 20:29:11 2008 -0400
8982 [user-font] Handle metrics-hinting font option
8984 src/cairo-user-font.c | 5 ++++-
8985 1 file changed, 4 insertions(+), 1 deletion(-)
8987 commit b0796bf200de86cb37e84c8241f8f72d8d5657d2
8988 Author: Behdad Esfahbod <behdad@behdad.org>
8989 Date: Wed May 28 20:20:46 2008 -0400
8991 [user-font] Cache extent-space scale in the scaled font
8993 src/cairo-user-font.c | 70 ++++++++++++++++++++++++++++++++-----------------
8994 1 file changed, 46 insertions(+), 24 deletions(-)
8996 commit abdf04c671235a120f23a1444a53893afdd949b0
8997 Author: Behdad Esfahbod <behdad@behdad.org>
8998 Date: Wed May 28 19:52:56 2008 -0400
9000 [user-font] Handle the case of a null render_glyph callback
9002 src/cairo-user-font.c | 9 ++++++---
9003 1 file changed, 6 insertions(+), 3 deletions(-)
9005 commit 50e6957e8089f9f0db36b1e44249f41041cf405d
9006 Author: Behdad Esfahbod <behdad@behdad.org>
9007 Date: Wed May 28 19:31:51 2008 -0400
9009 [user-font] Remove completed TODO item
9011 The user-font-proxy test case already does this.
9013 src/cairo-user-font.c | 2 --
9014 1 file changed, 2 deletions(-)
9016 commit f2b385558b185a723ae0043ad1381621c17318d8
9017 Author: Behdad Esfahbod <behdad@behdad.org>
9018 Date: Wed May 28 19:30:39 2008 -0400
9020 [cairo-user-font] Add comment about possibly doing metrics-hinting
9022 src/cairo-user-font.c | 2 ++
9023 1 file changed, 2 insertions(+)
9025 commit 9b1cbcde3272dac176bd9184ceb21c953c30517d
9026 Author: Behdad Esfahbod <behdad@behdad.org>
9027 Date: Wed May 28 19:27:58 2008 -0400
9029 [user-font] Handle antialiasing font option
9031 src/cairo-user-font.c | 23 ++++++++++++++++++-----
9032 1 file changed, 18 insertions(+), 5 deletions(-)
9034 commit e8e23862333f4be69e2afd9ee41c9a27817f9659
9035 Author: Behdad Esfahbod <behdad@behdad.org>
9036 Date: Wed May 28 19:10:09 2008 -0400
9038 Remove some bogus XXX marks
9040 These are all perfectly correct code. Most are simply there because when
9041 we support vertical text writing mode we need to update there, but that's
9042 pretty trivial. No special markers needed.
9044 /me is trying to make user-font clean of XXX and TODO marks
9046 src/cairo-arc.c | 1 -
9047 src/cairo-ft-font.c | 2 +-
9048 src/cairo-scaled-font.c | 4 ++--
9049 src/cairo-user-font.c | 4 ++--
9050 4 files changed, 5 insertions(+), 6 deletions(-)
9052 commit 4e1024114872a01fef01ec0b9136e09f4613e5d2
9053 Author: Behdad Esfahbod <behdad@behdad.org>
9054 Date: Wed May 28 17:12:51 2008 -0400
9058 src/cairo-mutex-type-private.h | 8 ++++----
9059 src/cairo-svg-surface.c | 2 +-
9060 src/cairo-types-private.h | 4 ++--
9061 src/cairo-xlib-surface.c | 24 ++++++++++++------------
9062 src/cairo.h | 16 ++++++++--------
9063 5 files changed, 27 insertions(+), 27 deletions(-)
9065 commit 78b9e2917857714bc1a712ea9d1a18af77000f78
9066 Author: Behdad Esfahbod <behdad@behdad.org>
9067 Date: Wed May 28 17:04:09 2008 -0400
9069 [cairo-xlib] Rewrite cairo_xlib_glyph_t as a union of cairo_glyph_t
9071 Someone reported on cairo list that on some system with gcc, he had the
9072 compile-time assertion failing, meaning that the following struct:
9075 unsigned long index;
9086 } cairo_xlib_glyph_t;
9088 had a different size from:
9091 unsigned long index;
9096 That looks quite a weird thing for a compiler to do. Anyway, rewriting
9097 our struct like this may help in those weird situations:
9101 unsigned long index;
9103 unsigned long index;
9107 } cairo_xlib_glyph_t;
9109 That's what we do now.
9111 src/cairo-xlib-surface.c | 34 +++++++++++++++-------------------
9112 1 file changed, 15 insertions(+), 19 deletions(-)
9114 commit 51885e9a1e6dcebe0ae72834770e9000063187bf
9115 Author: Behdad Esfahbod <behdad@behdad.org>
9116 Date: Wed May 28 16:52:19 2008 -0400
9118 [test/user-font.c] Fix compiler warnings
9120 test/user-font.c | 4 ++--
9121 1 file changed, 2 insertions(+), 2 deletions(-)
9123 commit 9b16b528dcfffc896cecbda87249ff09a7987eb7
9124 Author: Behdad Esfahbod <behdad@behdad.org>
9125 Date: Wed May 28 16:48:13 2008 -0400
9127 [cairo-unicode] Make unicode conversion funcs take const char *utf8
9129 Instead of the previous const unsigned char *utf8. This is in line
9130 with our public API now.
9132 src/cairo-scaled-font.c | 2 +-
9133 src/cairo-unicode.c | 34 ++++++++++++++++++----------------
9134 src/cairoint.h | 16 ++++++++--------
9135 3 files changed, 27 insertions(+), 25 deletions(-)
9137 commit df5ad168aa40ae0dfff8bf1b0830c9f4931d3b97
9138 Author: Behdad Esfahbod <behdad@behdad.org>
9139 Date: Wed May 28 16:47:55 2008 -0400
9141 [cairo-path-fixed] Fixe compiler warning
9143 src/cairo-path-fixed.c | 2 +-
9144 1 file changed, 1 insertion(+), 1 deletion(-)
9146 commit 6938f158983a62cd8041e19fa544f997cf49eecf
9147 Author: Behdad Esfahbod <behdad@behdad.org>
9148 Date: Wed May 28 16:47:37 2008 -0400
9150 [cairo-win32-surface] Remove unused variable
9152 src/cairo-win32-surface.c | 1 -
9153 1 file changed, 1 deletion(-)
9155 commit 12646f81cafa01c04e864a98c4344e16d958e980
9156 Author: Behdad Esfahbod <behdad@behdad.org>
9157 Date: Wed May 28 16:46:55 2008 -0400
9159 [cairo-compiler-private] Make it build with wine
9161 One can build cairo with wine easily now:
9163 ./configure CC=winegcc LD=winegcc
9165 src/cairo-compiler-private.h | 2 +-
9166 1 file changed, 1 insertion(+), 1 deletion(-)
9168 commit b70e6e1d98021879edfed2cf8e29d18cdf37b71b
9169 Author: Behdad Esfahbod <behdad@behdad.org>
9170 Date: Wed May 28 16:09:56 2008 -0400
9172 One more remaining_glyphs compile fix
9174 src/cairo-win32-printing-surface.c | 3 ++-
9175 1 file changed, 2 insertions(+), 1 deletion(-)
9177 commit 907620608099f6840b64a17b75a1d7938e76d953
9178 Author: Behdad Esfahbod <behdad@behdad.org>
9179 Date: Wed May 28 16:08:37 2008 -0400
9181 Fix two more compile errors
9183 When adding remaining_glyphs argument to show_glyphs(), I missed
9186 src/cairo-win32-private.h | 3 ++-
9187 src/cairo-xcb-surface.c | 3 ++-
9188 2 files changed, 4 insertions(+), 2 deletions(-)
9190 commit 295dee36e3043fd63a2a93715f144aad92d16917
9191 Author: Behdad Esfahbod <behdad@behdad.org>
9192 Date: Wed May 28 13:10:07 2008 -0400
9194 [cairo-xlib] Use newly-added COMPILE_TIME_ASSERT
9196 src/cairo-xlib-surface.c | 2 +-
9197 1 file changed, 1 insertion(+), 1 deletion(-)
9199 commit 2e4d6acd09f0af5d51c4da5707b3430cdd54f0a5
9200 Author: Behdad Esfahbod <behdad@behdad.org>
9201 Date: Wed May 28 13:09:52 2008 -0400
9203 [cairoint.h] Add COMPILE_TIME_ASSERT()
9205 src/cairoint.h | 4 ++++
9206 1 file changed, 4 insertions(+)
9208 commit 043ed895adb4f17912ae5c44d4c63ca6350d5b75
9209 Author: Behdad Esfahbod <behdad@behdad.org>
9210 Date: Wed May 28 13:09:43 2008 -0400
9212 [cairo-xlib] Fix compiler warning
9214 src/cairo-xlib-surface.c | 3 ++-
9215 1 file changed, 2 insertions(+), 1 deletion(-)
9217 commit 26aec31f244bbb4243dda629683bed045ec42734
9218 Author: Behdad Esfahbod <behdad@behdad.org>
9219 Date: Wed May 28 12:07:13 2008 -0400
9221 [src/check-def.sh] Don't report anything if skipping test
9223 src/check-def.sh | 5 ++---
9224 1 file changed, 2 insertions(+), 3 deletions(-)
9226 commit f07407335503e5612dcf07cc8f44e1781367d263
9227 Author: Behdad Esfahbod <behdad@behdad.org>
9228 Date: Wed May 28 12:01:38 2008 -0400
9230 [configure.in] Dont let a missing FcFini disable the freetype font backend!
9232 configure.in | 7 ++++---
9233 src/cairo-os2-surface.c | 2 ++
9234 2 files changed, 6 insertions(+), 3 deletions(-)
9236 commit d7ddde8a324c5bfd9ca00d1fbb47cd3f1730bbfb
9237 Author: Behdad Esfahbod <behdad@behdad.org>
9238 Date: Wed May 28 11:00:01 2008 -0400
9240 [cairo-user-font] Make backend struct static
9242 src/cairo-user-font.c | 4 ++--
9243 1 file changed, 2 insertions(+), 2 deletions(-)
9245 commit 3306aa5e8d162f90c2ae957a9d72c42ac1ce62d9
9246 Author: Behdad Esfahbod <behdad@behdad.org>
9247 Date: Wed May 28 10:59:35 2008 -0400
9249 [src/check-def.sh] Also check for public variables (#16129)
9251 src/check-def.sh | 4 ++--
9252 1 file changed, 2 insertions(+), 2 deletions(-)
9254 commit f3a3a0594d457dcc7d11b794afe8408aee07a1ee
9255 Author: Behdad Esfahbod <behdad@behdad.org>
9256 Date: Wed May 28 10:43:47 2008 -0400
9258 [cairo-xlib] Add recently-added byteswap macros (#16128)
9260 src/cairo-xlib-surface.c | 8 ++------
9261 1 file changed, 2 insertions(+), 6 deletions(-)
9263 commit 0bf941c9b25503047be6d01b134f9fe2597423fd
9264 Author: Behdad Esfahbod <behdad@behdad.org>
9265 Date: Wed May 28 10:43:22 2008 -0400
9267 Add support for byteswap macros bswap_16 and bswap_32
9270 src/cairo-wideint-type-private.h | 16 ++++++++++++++++
9271 2 files changed, 17 insertions(+), 1 deletion(-)
9273 commit 5c732badbc6148087cf99c906eb5f99c92ea0b92
9274 Author: Behdad Esfahbod <behdad@behdad.org>
9275 Date: Wed May 28 09:00:13 2008 -0400
9277 [src/check-def.sh] Improve test comment
9279 src/check-def.sh | 4 +++-
9280 1 file changed, 3 insertions(+), 1 deletion(-)
9282 commit e8dd97fde81a31c8875f03edbbcdb83da3830283
9283 Author: Behdad Esfahbod <behdad@behdad.org>
9284 Date: Tue May 27 23:07:04 2008 -0400
9286 [cairo-scaled-font] Fix assertion failure
9288 Revert 127c4b8e643560c029818509e20fc5ca87408611
9289 We assume that all scaled fonts with ref count 0 are in holdover cache.
9290 That commit was breaking this assumption.
9292 src/cairo-scaled-font.c | 15 +++++++--------
9293 1 file changed, 7 insertions(+), 8 deletions(-)
9295 commit 8c4f4a758bf4c1138f313d9cafa5564ac827b61d
9296 Author: Behdad Esfahbod <behdad@behdad.org>
9297 Date: Tue May 27 20:27:18 2008 -0400
9299 [cairo-gstate] Use clip, not surface, extents to drop invisible glyphs
9301 src/cairo-gstate.c | 2 +-
9302 1 file changed, 1 insertion(+), 1 deletion(-)
9304 commit c752bd665ae707edf207653f183b6d132dd0384e
9305 Author: Behdad Esfahbod <behdad@behdad.org>
9306 Date: Tue May 27 20:27:07 2008 -0400
9308 [cairo-gstate] Add _cairo_gstate_int_clip_extents()
9310 src/cairo-gstate.c | 21 ++++++++++++++++-----
9311 1 file changed, 16 insertions(+), 5 deletions(-)
9313 commit 0f07c45fa30279cb1aba6092bc84a859dd479054
9314 Author: Behdad Esfahbod <behdad@behdad.org>
9315 Date: Tue May 27 17:53:35 2008 -0400
9317 [test/user-font] Use user_data to access glyphs array
9319 This way the same callback code can be used to render multiple different
9320 glyph arrays. Change done for education purposes, otherwise doesn't
9321 make any difference in the test.
9323 test/user-font.c | 67 +++++++++++++++++++++++++++++++++++-------------------
9324 1 file changed, 43 insertions(+), 24 deletions(-)
9326 commit 626edfc333b77604b6955c12ae111d14c174034c
9327 Author: Behdad Esfahbod <behdad@behdad.org>
9328 Date: Mon May 26 20:28:23 2008 -0400
9330 [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities
9332 Essentially renaming cairo-mutex-type-private.h to cairo-mutex-impl-private.h
9333 and changing all its namespace from cairo_mutex to cairo_mutex_impl.
9334 cairo-mutex-type-private.h then does all the sanity checks on the
9335 implementation that used to be in cairo-mutex-private.h. Plus, defines macros
9336 for the cairo-mutex namespace to map to the cairo-mutex-impl namespace. This
9337 extra mapping layer allows for add debugging facilities.
9339 src/Makefile.am | 1 +
9340 src/cairo-mutex-impl-private.h | 226 +++++++++++++++++++++++++++++++++
9341 src/cairo-mutex-private.h | 129 ++-----------------
9342 src/cairo-mutex-type-private.h | 269 +++++++++++++++++++---------------------
9343 src/cairo-mutex.c | 18 +--
9344 5 files changed, 374 insertions(+), 269 deletions(-)
9346 commit 07fef4f4802639a2cb16284841635d1bcc9b8e8f
9347 Author: Ginn Chen <ginn.chen@sun.com>
9348 Date: Tue May 27 04:44:08 2008 -0400
9350 [cairo-xlib] Implement _cairo_xlib_surface_solid_fill_rectangles() (#11529)
9352 src/cairo-xlib-surface.c | 66 ++++++++++++++++++++++++++++++++++++++++++++--
9353 1 file changed, 64 insertions(+), 2 deletions(-)
9355 commit f90b155b5a59211bed7502b537dbf207b3d4bf5e
9356 Author: Behdad Esfahbod <behdad@behdad.org>
9357 Date: Tue May 27 04:41:03 2008 -0400
9359 [cairo-xlib] Delay using fallback if xrender is not available
9361 So we can use XCopyArea when Render is not available. Based on patch by
9364 src/cairo-xlib-surface.c | 6 +++---
9365 1 file changed, 3 insertions(+), 3 deletions(-)
9367 commit 30a16df29ba434d298d0c8d9dbb70c1b0a398f35
9368 Author: Behdad Esfahbod <behdad@behdad.org>
9369 Date: Mon May 26 19:56:09 2008 -0400
9371 [util/backtrace-symbols] Implement backtrace_symbols_fd()
9373 util/backtrace-symbols.c | 18 ++++++++++++++++++
9374 1 file changed, 18 insertions(+)
9376 commit ce56e0cd0c0afc887bc0c4d46d51b934923f2d2c
9377 Author: Adrian Johnson <ajohnson@redneon.com>
9378 Date: Tue May 27 12:44:50 2008 +0930
9380 Add missing argument to _cairo_pdf_surface_show_glyphs()
9382 cf473f4a75ca0d3c815222287d7c144e72de5add missed the PDF surface when
9383 it added an argument to the show_glyphs() surface backend function.
9385 src/cairo-pdf-surface.c | 3 ++-
9386 1 file changed, 2 insertions(+), 1 deletion(-)
9388 commit 8d86e725ceb58fd93a9e9638f86636f5a4d88833
9389 Author: Behdad Esfahbod <behdad@behdad.org>
9390 Date: Sun May 25 02:30:14 2008 -0400
9392 [cairo-gstate] Add code for switching to path;fill for huge show_glyph()s
9394 For really huge font sizes, we can just do path;fill instead of
9395 show_glyphs, as show_glyphs would put excess pressure on the cache,
9396 and moreover, not all components below us correctly handle huge font
9397 sizes. I wanted to set the limit at 256. But alas, seems like cairo's
9398 rasterizer is something like ten times slower than freetype's for huge
9399 sizes. So, no win just yet. For now, do it for insanely-huge sizes,
9400 just to make sure we don't make anyone unhappy. When we get a really
9401 fast rasterizer in cairo, we may want to readjust this.
9403 src/cairo-gstate.c | 43 +++++++++++++++++++++++++++++++++++++------
9404 1 file changed, 37 insertions(+), 6 deletions(-)
9406 commit f5fbb8b24e381f3438e24340965ce2aeea56ac33
9407 Author: Behdad Esfahbod <behdad@behdad.org>
9408 Date: Sun May 25 01:53:44 2008 -0400
9412 src/cairo-scaled-font.c | 2 +-
9413 1 file changed, 1 insertion(+), 1 deletion(-)
9415 commit 238a3117f191c927abcce6b0f5c555d8f34af59c
9416 Author: Behdad Esfahbod <behdad@behdad.org>
9417 Date: Sun May 25 01:51:05 2008 -0400
9419 [cairo-scaled-font] Clean up recent locking changes
9421 Based on feedback from Keith.
9423 src/cairo-scaled-font-private.h | 2 +-
9424 src/cairo-scaled-font.c | 141 +++++++++++++++++++++------------------
9425 src/cairo-user-font.c | 4 +-
9426 src/cairoint.h | 4 +-
9427 4 files changed, 81 insertions(+), 70 deletions(-)
9429 commit 0621f412ff7986bc883a613d332f121da62e38fe
9430 Author: Behdad Esfahbod <behdad@behdad.org>
9431 Date: Sun May 25 00:55:36 2008 -0400
9433 [cairo-matrix] Move IS_FINITE(det) checks before det==0 checks
9435 I'm still getting floating point exceptions in test suite in a
9436 made-to-overflow test though. Not sure why isfinite() doesn't work.
9438 src/cairo-matrix.c | 6 +++---
9439 1 file changed, 3 insertions(+), 3 deletions(-)
9441 commit 9827dae57085f9452889499ff799c378abd5c60e
9442 Author: Behdad Esfahbod <behdad@behdad.org>
9443 Date: Sun May 25 00:17:43 2008 -0400
9445 [user-font] Fix fontmap locking
9447 After consulting with Keith Packard we came up with a farily simple
9448 solution. Documented in the code.
9450 src/cairo-scaled-font-private.h | 2 +
9451 src/cairo-scaled-font.c | 117 +++++++++++++++++++++++++++++++++++++--
9452 src/cairo-user-font.c | 20 +++----
9453 src/cairoint.h | 5 ++
9454 4 files changed, 129 insertions(+), 15 deletions(-)
9456 commit 96f7178226640226625c0e4db57257035e0b48c6
9457 Author: Behdad Esfahbod <behdad@behdad.org>
9458 Date: Sat May 24 23:28:15 2008 -0400
9460 [user-font] Lock the font mutex such that user doesn't accidentally use it yet
9462 src/cairo-user-font.c | 5 +++++
9463 1 file changed, 5 insertions(+)
9465 commit 8dc1e6d945ca86b4af33ad9a5f627688fa15a5cc
9466 Author: Behdad Esfahbod <behdad@behdad.org>
9467 Date: Sat May 24 22:13:01 2008 -0400
9471 src/cairo-scaled-font.c | 2 +-
9472 1 file changed, 1 insertion(+), 1 deletion(-)
9474 commit 8ff0fa112da0d13da2596c4ca6815f5b441c9c7d
9475 Author: Behdad Esfahbod <behdad@behdad.org>
9476 Date: Sat May 24 22:11:41 2008 -0400
9480 src/cairo-scaled-font.c | 2 +-
9481 src/cairo-user-font.c | 2 +-
9482 2 files changed, 2 insertions(+), 2 deletions(-)
9484 commit a3d9918428daf96811b050c1e27b6330bbccd35e
9485 Author: Behdad Esfahbod <behdad@behdad.org>
9486 Date: Sat May 24 20:51:43 2008 -0400
9488 [user-font] Note possible locking issue
9490 src/cairo-user-font.c | 7 +++++++
9491 1 file changed, 7 insertions(+)
9493 commit 4c1c9d33b1b89d8098c06bbb4d430811947ed86c
9494 Author: Behdad Esfahbod <behdad@behdad.org>
9495 Date: Sat May 24 20:48:38 2008 -0400
9497 [user-font] Release fontmap lock around user callback
9499 This makes the user-font-proxy to work now.
9501 src/cairo-user-font.c | 5 ++++-
9502 1 file changed, 4 insertions(+), 1 deletion(-)
9504 commit 127c4b8e643560c029818509e20fc5ca87408611
9505 Author: Behdad Esfahbod <behdad@behdad.org>
9506 Date: Sat May 24 20:48:07 2008 -0400
9508 [src/cairo-scaled-font] Only take fontmap mutex if touching it
9510 src/cairo-scaled-font.c | 17 +++++++++++------
9511 1 file changed, 11 insertions(+), 6 deletions(-)
9513 commit a715671c6f3bd2f6f692b79cba7d7f7bc49f06f9
9514 Author: Behdad Esfahbod <behdad@behdad.org>
9515 Date: Sat May 24 20:34:41 2008 -0400
9517 [test/user-font-proxy] New test using fonts inside a user-font
9519 PDF fails and needs some fixes in the PDF surface instead of a new
9522 test/Makefile.am | 4 +
9523 test/user-font-proxy-ps-ref.png | Bin 0 -> 8452 bytes
9524 test/user-font-proxy-ref.png | Bin 0 -> 18121 bytes
9525 test/user-font-proxy-svg-ref.png | Bin 0 -> 17902 bytes
9526 test/user-font-proxy.c | 190 ++++++++++++++++++++++++++++++++++++++
9527 5 files changed, 194 insertions(+)
9529 commit c914377f35e1e3396571fc027b7f53854db7d896
9530 Author: Behdad Esfahbod <behdad@behdad.org>
9531 Date: Sat May 24 20:33:15 2008 -0400
9533 Add public API cairo_scaled_font_get_scale_matrix()
9535 doc/public/cairo-sections.txt | 1 +
9536 doc/public/tmpl/cairo-scaled-font.sgml | 9 +++++++++
9537 src/cairo-scaled-font.c | 24 ++++++++++++++++++++++++
9538 src/cairo.h | 4 ++++
9539 4 files changed, 38 insertions(+)
9541 commit 90d62a0d33cd9e0736bb747d7f025a0fb1025732
9542 Author: Behdad Esfahbod <behdad@behdad.org>
9543 Date: Sat May 24 20:31:24 2008 -0400
9545 [src] Make make check pass
9547 src/cairo-surface.c | 1 +
9548 src/cairoint.h | 1 +
9549 2 files changed, 2 insertions(+)
9551 commit 9cc147a142e98b49b7f8289a340f2e498970ef99
9552 Author: Jeff Muizelaar <jeff@infidigm.net>
9553 Date: Sat May 24 20:17:38 2008 -0400
9555 Avoid deadlock when clearing caches
9557 cairo_surface_destroy and _cairo_scaled_font_fini will call destroy closures
9558 which may call functions that attempt to acquire the mutex resulting in a
9559 deadlock. We fix this by releasing the lock for the call to
9560 cairo_surface_destroy or _cairo_scaled_font_fini.
9562 src/cairo-pattern.c | 17 ++++++++++++-----
9563 src/cairo-scaled-font.c | 19 +++++++++++++------
9564 2 files changed, 25 insertions(+), 11 deletions(-)
9566 commit 4957a7894741f5a1941dcc06cc5a3a0551afcdad
9567 Author: Behdad Esfahbod <behdad@behdad.org>
9568 Date: Sat May 24 15:16:44 2008 -0400
9570 [test/surface-finish-twice.c] Adapt to recent change that multiple finish is ok
9572 test/surface-finish-twice.c | 6 +++++-
9573 1 file changed, 5 insertions(+), 1 deletion(-)
9575 commit a30209402c7160af257e1ea027e9e2cdab5b5aec
9576 Author: Behdad Esfahbod <behdad@behdad.org>
9577 Date: Sat May 24 14:57:56 2008 -0400
9579 [cairo-gstate] Drop glyphs out of surface boundaries in show_glyphs()
9581 src/cairo-gstate.c | 93 ++++++++++++++++++++++++++++++++++++++++++----------
9582 1 file changed, 76 insertions(+), 17 deletions(-)
9584 commit 1b5e2144fb77ffeb0626dff558d9d82351279e0b
9585 Author: Behdad Esfahbod <behdad@behdad.org>
9586 Date: Sat May 24 14:57:31 2008 -0400
9588 [cairo-scaled-font] Implement _cairo_scaled_font_get_max_scale()
9590 src/cairo-scaled-font-private.h | 1 +
9591 src/cairo-scaled-font.c | 10 ++++++++++
9592 src/cairoint.h | 3 +++
9593 3 files changed, 14 insertions(+)
9595 commit 479936ecea5d0e7cf3eee1aad6b016067f63e20b
9596 Author: Behdad Esfahbod <behdad@behdad.org>
9597 Date: Sat May 24 14:57:06 2008 -0400
9599 [cairoint] Sort prototypes
9601 src/cairoint.h | 39 ++++++++++++++++++++-------------------
9602 1 file changed, 20 insertions(+), 19 deletions(-)
9604 commit e638e7652f8be552b50927bd332e9f46dcd92ab7
9605 Author: Behdad Esfahbod <behdad@behdad.org>
9606 Date: Sat May 24 14:25:13 2008 -0400
9608 [cairo-xlib] Fix bug introduced in yesterday's code shuffling. Oops.
9610 src/cairo-xlib-surface.c | 2 +-
9611 1 file changed, 1 insertion(+), 1 deletion(-)
9613 commit 31c68e708f18c1f81efc3590346eeb684ef3702d
9614 Author: Behdad Esfahbod <behdad@behdad.org>
9615 Date: Sat May 24 13:17:31 2008 -0400
9617 [cairo-surface] Minor code reshuffling
9619 src/cairo-surface.c | 6 ++----
9620 1 file changed, 2 insertions(+), 4 deletions(-)
9622 commit c20072c88174a99bf4deb562f5b3bc07cc9e133d
9623 Author: Behdad Esfahbod <behdad@behdad.org>
9624 Date: Fri May 23 20:57:21 2008 -0400
9626 [cairo-xlib] Upon seeing glyphs with large position, just let fallback handle
9628 This now fixes the large-font test for xlib again.
9630 src/cairo-xlib-surface.c | 33 ++++++++++++---------------------
9631 1 file changed, 12 insertions(+), 21 deletions(-)
9633 commit e55252bd3b3ee8ad07aeda558dd469e98fedd620
9634 Author: Behdad Esfahbod <behdad@behdad.org>
9635 Date: Fri May 23 20:46:36 2008 -0400
9637 [cairo-xlib] Shift range of allowed glyph positions
9639 From -1024..15359, to -4096..122887. This still does not fix the
9640 large-font test as that uses a 10000 font. Working on a proper fix
9641 for glyph dropping now.
9643 src/cairo-xlib-surface.c | 4 ++--
9644 1 file changed, 2 insertions(+), 2 deletions(-)
9646 commit 74818d2b0002d2133a95019265a23a8fd8ba0217
9647 Author: Behdad Esfahbod <behdad@behdad.org>
9648 Date: Fri May 23 20:43:08 2008 -0400
9650 [cairo-xlib] Some code reshuffling, in preparation for a fix
9652 src/cairo-xlib-surface.c | 32 +++++++++++++++-----------------
9653 1 file changed, 15 insertions(+), 17 deletions(-)
9655 commit d947ee0ef68cbc371d058b13b98c013b82f794ba
9656 Author: Behdad Esfahbod <behdad@behdad.org>
9657 Date: Fri May 23 20:41:26 2008 -0400
9659 [test/large-font] Make the font REALLY LARGE
9661 10000 that is. xlib fails now again. Not because of glyph size issues.
9662 Because we skip rendering any glyphs with positions not in range -1024..15359.
9665 test/Makefile.am | 1 -
9666 test/large-font-ps-ref.png | Bin 5630 -> 0 bytes
9667 test/large-font-ref.png | Bin 9819 -> 6936 bytes
9668 test/large-font.c | 20 +++++---------------
9669 4 files changed, 5 insertions(+), 16 deletions(-)
9671 commit db1b18232b6854d14a1ee45a31bc2508ef36bc1a
9672 Author: Behdad Esfahbod <behdad@behdad.org>
9673 Date: Fri May 23 19:04:13 2008 -0400
9675 [cairo-xlib] Fix max-request size calculations
9677 First, XMaxRequestSize returns number of 4-byte words. So multiply by 4 is
9678 needed in all uses. Next, XRenderAddGlyphs uses BIG-REQUEST extension if
9679 available, so when checking for glyph size overflow, we should use
9680 XExtendedMaxRequestSize() first.
9682 Also use the right format when calculating glyph size.
9684 These changes combined, push the biggest font size that can be uploaded to the
9685 server from under 200 to about 5000.
9687 See bug #4339 for history.
9689 src/cairo-xlib-surface.c | 27 ++++++++++++---------------
9690 1 file changed, 12 insertions(+), 15 deletions(-)
9692 commit cf473f4a75ca0d3c815222287d7c144e72de5add
9693 Author: Behdad Esfahbod <behdad@behdad.org>
9694 Date: Fri May 23 19:57:48 2008 -0400
9696 [cairo-xlib] Fix show_glyphs when failing to upload a glyph
9698 Originally reported here:
9699 http://lists.cairographics.org/archives/cairo/2008-May/014032.html
9700 and analyized later in the thread.
9702 Change (font and surface) backend show_glyphs() API to take a
9703 int *remaining_glyphs argument. It's used to communicate to the caller,
9704 by way of setting remaining_glyphs and returning INT_STATUS_UNSUPPORTED,
9705 that some of the glyphs were shown but not the others. The xlib backend
9706 now correctly uses this to handle failure to upload a glyph to the server.
9707 So the large-font test passes now.
9709 An alternative approach could be to add some public value for glyphs
9710 indices that are not shown. -1 perhaps (the xlib backend already uses
9711 that value internally). Then instead of remaining_glyphs, a backend
9712 could simply set glyph indices of glyphs shown to that -1 value.
9714 src/cairo-analysis-surface.c | 10 ++++++----
9715 src/cairo-directfb-surface.c | 3 ++-
9716 src/cairo-meta-surface.c | 3 ++-
9717 src/cairo-paginated-surface.c | 3 ++-
9718 src/cairo-ps-surface.c | 3 ++-
9719 src/cairo-quartz-surface.c | 3 ++-
9720 src/cairo-scaled-font.c | 7 ++++++-
9721 src/cairo-surface.c | 17 +++++++++++++++--
9722 src/cairo-svg-surface.c | 3 ++-
9723 src/cairo-win32-font.c | 3 ++-
9724 src/cairo-win32-printing-surface.c | 3 ++-
9725 src/cairo-win32-surface.c | 3 ++-
9726 src/cairo-xcb-surface.c | 3 ++-
9727 src/cairo-xlib-surface.c | 28 +++++++++++++++++++++++-----
9728 src/cairoint.h | 6 ++++--
9729 src/test-meta-surface.c | 3 ++-
9730 src/test-paginated-surface.c | 3 ++-
9731 17 files changed, 78 insertions(+), 26 deletions(-)
9733 commit e66e198ab04f2e19093aad4ed9f9c24e2756b8a7
9734 Author: Behdad Esfahbod <behdad@behdad.org>
9735 Date: Fri May 23 17:11:43 2008 -0400
9737 [cairo-xlib] Remove unused variable
9739 src/cairo-xlib-surface.c | 2 --
9740 1 file changed, 2 deletions(-)
9742 commit 1ccfc4afd573e1003319a06624aadff90d351e83
9743 Author: Carl Worth <cworth@cworth.org>
9744 Date: Fri May 23 08:14:00 2008 -0700
9746 Revert "BUGGY: Add surface_backend->acquire_source_image_transformed"
9748 This reverts commit ddcd6781a24463df5a1f25cd5ffdbce47f35cf2f.
9750 This was an experimental commit that was intended to be on a side
9751 branch but accidentally got committed and pushed to master. Sorry
9754 src/cairo-meta-surface.c | 40 ++++++----------------------------------
9755 src/cairo-pattern.c | 9 +++------
9756 src/cairo-surface.c | 20 --------------------
9757 src/cairoint.h | 12 ------------
9758 4 files changed, 9 insertions(+), 72 deletions(-)
9760 commit b957beb0df53a513b60cbcfc4e5e847980789b1f
9761 Author: Carl Worth <cworth@cworth.org>
9762 Date: Fri May 23 08:05:18 2008 -0700
9764 Add large-font test to exercise a cairo-xlib bug.
9766 The original bug report is here:
9768 corrupt glyph positions with large font
9769 https://bugzilla.redhat.com/show_bug.cgi?id=448104
9771 test/.gitignore | 1 +
9772 test/Makefile.am | 3 ++
9773 test/large-font-ps-ref.png | Bin 0 -> 5630 bytes
9774 test/large-font-ref.png | Bin 0 -> 9819 bytes
9775 test/large-font.c | 93 ++++++++++++++++++++++++++++++++++++++++++++
9776 5 files changed, 97 insertions(+)
9778 commit ddcd6781a24463df5a1f25cd5ffdbce47f35cf2f
9779 Author: Carl Worth <cworth@cworth.org>
9780 Date: Wed May 21 12:06:37 2008 -0700
9782 BUGGY: Add surface_backend->acquire_source_image_transformed
9784 This is an initial attempt at addressing the recently noticed
9785 fallback-resolution bug. It isn't working correctly yet.
9787 I'm just committing so that behdad can see what I'm up to.
9789 src/cairo-meta-surface.c | 40 ++++++++++++++++++++++++++++++++++------
9790 src/cairo-pattern.c | 9 ++++++---
9791 src/cairo-surface.c | 20 ++++++++++++++++++++
9792 src/cairoint.h | 12 ++++++++++++
9793 4 files changed, 72 insertions(+), 9 deletions(-)
9795 commit 8efb103600e9c034f8652f495d390d6a4178061e
9796 Author: Carl Worth <cworth@cworth.org>
9797 Date: Wed May 21 10:23:37 2008 -0700
9799 Extend fallback-resolution test to expose bug with groups
9801 Groups appear to always be rendered with a fallback resolution of
9802 72.0 ppi rather than the desired fallback resolution.
9804 test/fallback-resolution.c | 28 +++++++++++++++++++++++++++-
9805 1 file changed, 27 insertions(+), 1 deletion(-)
9807 commit 26eeb1c7ee2416e4029e1ceee7afe779cca6dfc5
9808 Author: Behdad Esfahbod <behdad@behdad.org>
9809 Date: Fri May 16 21:59:45 2008 -0400
9811 [cairo-surface] Allow flush and finish calls after surface is finished
9813 Flushing and finishing a surface after it has already been finished is a
9814 very well-defined operation: no-op. Allow and document that.
9816 src/cairo-surface.c | 33 +++++++++++----------------------
9817 1 file changed, 11 insertions(+), 22 deletions(-)
9819 commit 168447cc2b53e446bf8e67e2f457c54256bcbada
9820 Author: Behdad Esfahbod <behdad@behdad.org>
9821 Date: Thu May 15 20:09:17 2008 -0400
9823 [user-font] Use opaque colors such that PS backend gets tested
9825 Also update ref images. All backends pass now.
9827 test/user-font-pdf-ref.png | Bin 6085 -> 6388 bytes
9828 test/user-font-ref.png | Bin 6165 -> 6183 bytes
9829 test/user-font-svg-ref.png | Bin 6085 -> 6134 bytes
9830 test/user-font.c | 8 ++++----
9831 4 files changed, 4 insertions(+), 4 deletions(-)
9833 commit 556b16d6a20f11627c75c1365dea5a6332091779
9834 Author: Behdad Esfahbod <behdad@behdad.org>
9835 Date: Thu May 15 20:03:05 2008 -0400
9837 [cairo-traps] Fix overflow in traps_path code
9839 This was causing the user-font test failure in type1 subsetting
9840 code as the type1 code creates a font at size 1000.
9842 src/cairo-traps.c | 19 ++++++++++---------
9843 1 file changed, 10 insertions(+), 9 deletions(-)
9845 commit b355ac7a9fe8ecf550ec5f615969b82f0e45a6d6
9846 Author: Behdad Esfahbod <behdad@behdad.org>
9847 Date: Thu May 15 20:02:33 2008 -0400
9849 [cairo-fixed] Implement _cairo_fixed_mul_div()
9851 Computes a*b/c where a,b,c are cairo_fixed_t.
9853 src/cairo-fixed-private.h | 11 +++++++++++
9854 1 file changed, 11 insertions(+)
9856 commit 84606a900f0664a0010034f5eb4bdaf159e77bfe
9857 Author: Behdad Esfahbod <behdad@behdad.org>
9858 Date: Thu May 15 19:41:49 2008 -0400
9860 [cairo-surface] Fix compiler warnings
9861 by adding new status value to switch.
9863 src/cairo-surface.c | 3 +++
9864 1 file changed, 3 insertions(+)
9866 commit 142ba306047363af8343f29b2cf97c25919042e9
9867 Author: Behdad Esfahbod <behdad@behdad.org>
9868 Date: Thu May 15 18:50:55 2008 -0400
9870 [test/Makefile.am] Add 'make run' target
9872 It runs tests under a tool specified tool. For example:
9874 make run TOOL=gdb TESTS=user-font TARGETS=pdf
9876 test/Makefile.am | 20 ++++++++++++++------
9877 test/README | 19 +++++++++++++++++++
9878 2 files changed, 33 insertions(+), 6 deletions(-)
9880 commit 537ffa762833c990e4e4237f2dbae64c7e311662
9881 Author: Behdad Esfahbod <behdad@behdad.org>
9882 Date: Thu May 15 18:47:24 2008 -0400
9884 [cairo-xlib-surface.c] Fix memmove bug
9886 This was introduced in b7272e9e8e716b04752058855aeb74c42af0b395
9888 src/cairo-xlib-surface.c | 2 +-
9889 1 file changed, 1 insertion(+), 1 deletion(-)
9891 commit 4dd4d96fb11354e37f662eaabb1d874dbf47e368
9892 Author: Behdad Esfahbod <behdad@behdad.org>
9893 Date: Thu May 15 17:19:53 2008 -0400
9895 [cairo-surface] Add cairo_surface_get_fallback_resolution()
9897 doc/public/cairo-sections.txt | 1 +
9898 doc/public/tmpl/cairo-surface.sgml | 10 ++++++++++
9899 src/cairo-surface.c | 23 +++++++++++++++++++++++
9901 src/cairo.h | 5 +++++
9902 src/cairoint.h | 4 ++++
9903 6 files changed, 46 insertions(+)
9905 commit 2321b91cbad7f9531ab99a7b1875eba0dcc167db
9906 Author: Behdad Esfahbod <behdad@behdad.org>
9907 Date: Thu May 15 16:38:56 2008 -0400
9909 [cairo-pattern] Make a free() call conditional
9910 to emphasize that the pointer may be NULL
9912 src/cairo-pattern.c | 3 ++-
9913 1 file changed, 2 insertions(+), 1 deletion(-)
9915 commit 62652ecab7c3163d6b0cf9af3312806ae6bda21a
9916 Author: Behdad Esfahbod <behdad@behdad.org>
9917 Date: Thu May 15 13:28:03 2008 -0400
9919 [test/user-font] Another minor tweak to the font
9921 test/user-font-pdf-ref.png | Bin 6130 -> 6085 bytes
9922 test/user-font-ref.png | Bin 6202 -> 6165 bytes
9923 test/user-font-svg-ref.png | Bin 6130 -> 6085 bytes
9924 test/user-font.c | 2 +-
9925 4 files changed, 1 insertion(+), 1 deletion(-)
9927 commit df9deb1853ab199b576cd4313b80cb3dd536f74f
9928 Author: Behdad Esfahbod <behdad@behdad.org>
9929 Date: Thu May 15 13:13:30 2008 -0400
9931 [user-font] Set correct device-offset for rotated text
9933 Part of patch from Peter Clifton
9935 src/cairo-user-font.c | 5 +++--
9936 1 file changed, 3 insertions(+), 2 deletions(-)
9938 commit 16fe67ea19bca66ed68c263bb48a5fbd19993e3f
9939 Author: Behdad Esfahbod <behdad@behdad.org>
9940 Date: Tue May 13 16:10:28 2008 -0400
9942 [cairo-path-fixed] Implement full-matrix _cairo_path_fixed_transform()
9944 Based on patch from Peter Clifton.
9946 src/cairo-clip.c | 2 +-
9947 src/cairo-meta-surface.c | 2 +-
9948 src/cairo-path-fixed.c | 54 ++++++++++++++++++++++++++++++----------------
9949 src/cairoint.h | 4 ++--
9950 4 files changed, 40 insertions(+), 22 deletions(-)
9952 commit f68fb2c747afd45252a333260cdb3bf9986d4a94
9953 Author: Behdad Esfahbod <behdad@behdad.org>
9954 Date: Tue May 13 11:42:23 2008 -0400
9956 [test/user-font] Add some more glyphs
9958 The glyph for 'z' now reveals a bug in PDF type1 code.
9960 test/user-font-pdf-ref.png | Bin 4549 -> 6130 bytes
9961 test/user-font-ref.png | Bin 4681 -> 6202 bytes
9962 test/user-font-svg-ref.png | Bin 4642 -> 6130 bytes
9963 test/user-font.c | 39 +++++++++++++++++++++------------------
9964 4 files changed, 21 insertions(+), 18 deletions(-)
9966 commit 569cc3041195db9408c9c6531dc35b6f77434a25
9967 Author: Behdad Esfahbod <behdad@behdad.org>
9968 Date: Sat May 10 14:58:11 2008 +0200
9970 [user-font] Normalize the space we compute extents in
9972 This way we wouldn't suffer from the limited precision of cairo_fixed_t.
9973 Bug reported by Peter Clifton on mailing list.
9975 src/cairo-user-font.c | 32 +++++++++++++++++++++++++++-----
9976 1 file changed, 27 insertions(+), 5 deletions(-)
9978 commit f1a0e9df0e390759afb7951afacb6d353ac812cf
9979 Author: Behdad Esfahbod <behdad@behdad.org>
9980 Date: Sat May 10 13:49:23 2008 +0200
9982 [user-font] Round glyph origin position
9984 src/cairo-user-font.c | 4 ++--
9985 1 file changed, 2 insertions(+), 2 deletions(-)
9987 commit 17f21ea3071ef5d7833c615271b18ae35673c349
9988 Author: Behdad Esfahbod <behdad@behdad.org>
9989 Date: Fri May 9 16:01:37 2008 +0200
9991 [cairo-user-font] Implement user fonts
9993 doc/public/tmpl/cairo-font-face.sgml | 1 +
9994 doc/public/tmpl/cairo-status.sgml | 3 +
9995 src/Makefile.am | 1 +
9996 src/cairo-misc.c | 4 +
9997 src/cairo-user-font.c | 486 ++++++++++++++++++++++++++++++++++
9998 src/cairo.h | 68 ++++-
9999 src/cairoint.h | 2 +-
10000 test/.gitignore | 1 +
10001 test/Makefile.am | 4 +
10002 test/user-font-pdf-ref.png | Bin 0 -> 4549 bytes
10003 test/user-font-ref.png | Bin 0 -> 4681 bytes
10004 test/user-font-svg-ref.png | Bin 0 -> 4642 bytes
10005 test/user-font.c | 236 +++++++++++++++++
10006 13 files changed, 803 insertions(+), 3 deletions(-)
10008 commit 9f2971440b59c311d88beeeb31e1d456489b107d
10009 Author: Behdad Esfahbod <behdad@behdad.org>
10010 Date: Sat May 10 01:19:41 2008 +0200
10012 [doc] Remove cairo-quartz-image-surface from docs
10014 Docs only include stable API.
10016 doc/public/cairo-docs.xml | 1 +
10017 doc/public/cairo-sections.txt | 9 +++------
10018 2 files changed, 4 insertions(+), 6 deletions(-)
10020 commit 74eea0f297a62be5aba84b7482832485d11995e1
10021 Author: Behdad Esfahbod <behdad@behdad.org>
10022 Date: Sat May 10 00:58:07 2008 +0200
10024 [cairo-quartz-image-surface] Remove one abuse of out-of-memory status
10026 Vlad, you need to stop throwing random OOM errors...
10028 src/cairo-quartz-image-surface.c | 3 ++-
10029 1 file changed, 2 insertions(+), 1 deletion(-)
10031 commit dca892c83ea7d115fba0ce66a69464c36cadf74c
10032 Author: Behdad Esfahbod <behdad@behdad.org>
10033 Date: Sat May 10 00:57:44 2008 +0200
10035 Fix gtk-doc warnings
10037 src/cairo-path-fixed.c | 2 +-
10038 src/cairo-quartz-font.c | 12 ++++++------
10039 src/cairo-quartz-image-surface.c | 12 ++++++------
10040 3 files changed, 13 insertions(+), 13 deletions(-)
10042 commit 1246ff8aec9054d1d550dd1401b67fac4035cce0
10043 Author: Behdad Esfahbod <behdad@behdad.org>
10044 Date: Fri May 9 17:14:02 2008 +0200
10046 [cairo-test] Implement cairo_test_log_path() to dump a cairo_path_t to logs
10048 Dumping paths is so hard in C. Shouldn't be. At least not when debugging...
10050 test/cairo-test.c | 31 +++++++++++++++++++++++++++++++
10051 test/cairo-test.h | 3 +++
10052 2 files changed, 34 insertions(+)
10054 commit dc33760fcb67c41358bb073d63810b5a86099f43
10055 Author: Behdad Esfahbod <behdad@behdad.org>
10056 Date: Fri May 9 15:59:00 2008 +0200
10058 [cairo-scaled-font] In _cairo_scaled_glyph_lookup, better handle UNSUPPORTED
10060 If we ask for a glyph info piece and the backend doesn't provide it,
10061 we should return UNSUPPORTED, even if the backend returned SUCCESS
10062 (perhaps because the backend doesn't know about that particular piece
10065 src/cairo-scaled-font.c | 23 +++++++++++++++++++++++
10066 1 file changed, 23 insertions(+)
10068 commit a63dc133779de9c623a85c5aefb5e3da01a8b7d6
10069 Author: Behdad Esfahbod <behdad@behdad.org>
10070 Date: Fri May 9 15:56:35 2008 +0200
10072 [cairo-scaled-font] Add a meta-surface member to scaled glyphs
10074 No one currently uses it.
10076 src/cairo-scaled-font.c | 17 +++++++++++++++++
10077 src/cairoint.h | 13 ++++++++++---
10078 2 files changed, 27 insertions(+), 3 deletions(-)
10080 commit 11a0884168afe341d53e5c86a49aa48a0142e6ef
10081 Author: Behdad Esfahbod <behdad@behdad.org>
10082 Date: Fri May 9 15:29:10 2008 +0200
10084 Add CAIRO_INTERNAL_SURFACE_TYPE_NULL and cairo_nul_surface_create()
10086 It creates a surface that does nothing. This can be used with
10087 cairo-analysis-surface, to compute bounds of cairo drawings without doing any
10090 src/cairo-analysis-surface-private.h | 4 +++
10091 src/cairo-analysis-surface.c | 55 ++++++++++++++++++++++++++++++++++
10092 src/cairo-types-private.h | 3 +-
10093 3 files changed, 61 insertions(+), 1 deletion(-)
10095 commit 08334be905edf5f557250e5946bd61391823da27
10096 Author: Behdad Esfahbod <behdad@behdad.org>
10097 Date: Fri May 9 15:32:57 2008 +0200
10099 [cairo-meta-surface] Add _cairo_meta_surface_get_path()
10101 Which generates the path for each cairo operation. If there's any paint,
10102 mask, or intersect-clip-path operations in the meta-surface, UNSUPPORTED
10105 Strokes are currently tesselated to traps, then traps converted to path.
10106 Should be made to use stroke_to_path() when we implement that.
10108 src/cairo-meta-surface-private.h | 4 +++
10109 src/cairo-meta-surface.c | 71 ++++++++++++++++++++++++++++++++++++++
10110 src/cairo.c | 7 ++--
10111 3 files changed, 80 insertions(+), 2 deletions(-)
10113 commit 674cba89fe6165d3dc9986c3d5f083867498e6c1
10114 Author: Behdad Esfahbod <behdad@behdad.org>
10115 Date: Fri May 9 15:31:45 2008 +0200
10117 [cairo-traps] Add _cairo_traps_path()
10119 It appends path for each trap to the path.
10121 src/cairo-traps.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
10122 src/cairoint.h | 4 ++++
10123 2 files changed, 50 insertions(+)
10125 commit af1e168bbbbaddbf564c661111a74064fbbb5334
10126 Author: Behdad Esfahbod <behdad@behdad.org>
10127 Date: Fri May 9 15:25:40 2008 +0200
10129 [cairo-meta/analysis-surface] Make width/height of -1,-1 mean unbounded surface
10131 src/cairo-analysis-surface.c | 15 +++++++++++----
10132 src/cairo-meta-surface.c | 3 +++
10133 2 files changed, 14 insertions(+), 4 deletions(-)
10135 commit a6eb9be1066559233d51dbd17bcef18dd61e29fc
10136 Author: Behdad Esfahbod <behdad@behdad.org>
10137 Date: Fri May 9 14:46:22 2008 +0200
10139 [_cairo_surface_get_extents()] return UNSUPPORTED if surface has no bounds
10140 and set the extents to the infinite bounds.
10142 A surface has no bounds if it does not provide get_extents(), or if its
10143 get_extents() returns UNSUPPORTED.
10145 src/cairo-analysis-surface.c | 12 ++++++------
10146 src/cairo-surface.c | 21 +++++++++++++++++----
10147 src/cairoint.h | 10 +++++++---
10148 3 files changed, 30 insertions(+), 13 deletions(-)
10150 commit d37788f9953b296675860cd48a0b3c14be49c1da
10151 Author: Behdad Esfahbod <behdad@behdad.org>
10152 Date: Fri May 9 14:34:22 2008 +0200
10154 [cairo-analysis-surface] Initialize page bounding box
10156 If there was no operations played to the analysis surface, page_bbox
10157 was being left uninitialized.
10159 src/cairo-analysis-surface.c | 6 ++++++
10160 1 file changed, 6 insertions(+)
10162 commit ee3672efdbb4d3ebd3e0bd9e2d63273ad1273e64
10163 Author: Behdad Esfahbod <behdad@behdad.org>
10164 Date: Fri May 9 14:05:04 2008 +0200
10166 [cairo-pattern] Extend infinite pattern extents to negative coordinates too
10168 With things like meta-surface, the assumption that coordinates are always
10169 non-negative make no sense. Extend the "infinite" extents accordingly.
10171 Also remove stale comment. extents->width/height are unsigned these days and
10172 cover the full range.
10174 src/cairo-pattern.c | 13 ++++---------
10175 1 file changed, 4 insertions(+), 9 deletions(-)
10177 commit f81b857e1ffa48559c794e2fb427413e3a88a271
10178 Author: Behdad Esfahbod <behdad@behdad.org>
10179 Date: Fri May 9 13:25:16 2008 +0200
10181 [cairo-paginated-surface] Clean up reference counting mess
10183 Previously the paginated constructor didn't reference the target surface, but
10184 simply assume ownership of the reference, and then unref it when shutting
10185 down. The callers to paginated constructor then, where just give away their
10186 reference to paginated and not unref the reference they were holding. While
10187 this works correctly, it's against the usual idioms that everyone is
10188 responsible for the reference they are holding, and should get their own
10189 reference if they need to keep an object alive. Fix it all.
10191 src/cairo-paginated-surface.c | 2 +-
10192 src/cairo-pdf-surface.c | 6 +++++-
10193 src/cairo-ps-surface.c | 5 ++++-
10194 src/cairo-svg-surface.c | 5 ++++-
10195 src/cairo-win32-printing-surface.c | 16 +++++++++++-----
10196 src/test-paginated-surface.c | 5 ++++-
10197 6 files changed, 29 insertions(+), 10 deletions(-)
10199 commit 440b339da793ba2f71f504328417aefc7d44ee7f
10200 Author: Behdad Esfahbod <behdad@behdad.org>
10201 Date: Fri May 9 13:23:02 2008 +0200
10203 [cairo-analysis-surface] Hold reference to target surface
10205 src/cairo-analysis-surface.c | 4 +++-
10206 1 file changed, 3 insertions(+), 1 deletion(-)
10208 commit 25700f5cd052e5353c868ba0311ff53850e3f549
10209 Author: Behdad Esfahbod <behdad@behdad.org>
10210 Date: Fri May 9 11:32:35 2008 +0200
10212 [cairo-ft-font.c] Throw error on font type mismatch and remove unused function
10214 src/cairo-ft-font.c | 16 ++++++++++------
10215 src/cairo-ft-private.h | 3 ---
10216 2 files changed, 10 insertions(+), 9 deletions(-)
10218 commit 2a1661fba9db1e263079e0ff101c628a443702e8
10219 Author: Behdad Esfahbod <behdad@behdad.org>
10220 Date: Fri May 9 11:31:54 2008 +0200
10222 [cairo-win32-font.c] Return error on font type mismatch
10224 src/cairo-win32-font.c | 27 +++++++++++++++++++++++++++
10225 1 file changed, 27 insertions(+)
10227 commit 2a9bb6f78c8a0fa47908da7863979560230a62a2
10228 Author: Behdad Esfahbod <behdad@behdad.org>
10229 Date: Fri May 9 13:07:45 2008 +0200
10231 Add CAIRO_STATUS_FONT_TYPE_MISMATCH
10233 src/cairo-misc.c | 2 ++
10234 src/cairo.h | 4 +++-
10235 src/cairoint.h | 2 +-
10236 3 files changed, 6 insertions(+), 2 deletions(-)
10238 commit 4d77dfc78d2ea1925d0035080f57b68b0269a5f0
10239 Author: Behdad Esfahbod <behdad@behdad.org>
10240 Date: Fri May 9 11:27:55 2008 +0200
10242 [cairo-analysis-surface] Add _cairo_analysis_surface_[gs]et_ctm()
10244 The functionality was there. Just add getter/setter for the ctm.
10246 src/cairo-analysis-surface-private.h | 8 ++++++++
10247 src/cairo-analysis-surface.c | 20 ++++++++++++++++++++
10248 2 files changed, 28 insertions(+)
10250 commit ad7cfb4af98e8bf7792dad0ef4fd772cd6f1d270
10251 Author: Behdad Esfahbod <behdad@behdad.org>
10252 Date: Fri May 9 13:20:02 2008 +0200
10254 [cairo-analysis-surface] Use _cairo_matrix_transform_bounding_box_fixed()
10255 and other conversion functions.
10257 src/cairo-analysis-surface.c | 29 +++++++----------------------
10258 1 file changed, 7 insertions(+), 22 deletions(-)
10260 commit bdfda97f191fa6ffa64abad5b6f035244d91f44c
10261 Author: Behdad Esfahbod <behdad@behdad.org>
10262 Date: Fri May 9 13:17:30 2008 +0200
10264 [cairo-matrix] Add _cairo_matrix_transform_bounding_box_fixed()
10266 src/cairo-matrix.c | 12 ++++++++++++
10267 src/cairoint.h | 5 +++++
10268 2 files changed, 17 insertions(+)
10270 commit 6c9902fd746d70d9cc22c938f4ca68640e48bb73
10271 Author: Behdad Esfahbod <behdad@behdad.org>
10272 Date: Fri May 9 13:16:13 2008 +0200
10274 Add more consts to function signatures and remove stale prototype
10276 src/cairo-bentley-ottmann.c | 6 +++---
10277 src/cairo-traps.c | 10 ++++++----
10278 src/cairoint.h | 21 +++++++++------------
10279 3 files changed, 18 insertions(+), 19 deletions(-)
10281 commit 0e965c970bd310bd8f06cd59ed0cf631ae88659a
10282 Author: Behdad Esfahbod <behdad@behdad.org>
10283 Date: Fri May 9 13:13:52 2008 +0200
10285 [cairo-path-fixed] Add _cairo_path_fixed_append()
10287 src/cairo-path-fixed.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
10288 src/cairoint.h | 5 +++++
10289 2 files changed, 51 insertions(+)
10291 commit e9b6bb06d60584a867256e52732aad25c9e137c5
10292 Author: Behdad Esfahbod <behdad@behdad.org>
10293 Date: Fri May 9 13:13:15 2008 +0200
10295 [cairo-path-fixed] Add a couple consts to function signatures
10297 src/cairo-path-fixed.c | 4 ++--
10298 src/cairoint.h | 4 ++--
10299 2 files changed, 4 insertions(+), 4 deletions(-)
10301 commit 2a3eec1731d0cfdbc1abc204c08ff14296f297ef
10302 Author: Behdad Esfahbod <behdad@behdad.org>
10303 Date: Fri May 9 13:10:44 2008 +0200
10305 [cairo-rectangle] Add new convenience functions for working with cairo_box_t
10307 _cairo_box_from_doubles, _cairo_box_to_doubles, _cairo_box_from_rectangle.
10309 src/cairo-rectangle.c | 35 ++++++++++++++++++++++++++++++++++-
10310 src/cairoint.h | 17 ++++++++++++++++-
10311 2 files changed, 50 insertions(+), 2 deletions(-)
10313 commit 6836b2b8bac0a0f5594e0c56629b075387fe1d22
10314 Author: Behdad Esfahbod <behdad@behdad.org>
10315 Date: Fri May 9 13:14:23 2008 +0200
10317 [cairoint.h] Fix file name in comments
10319 src/cairoint.h | 8 ++++----
10320 1 file changed, 4 insertions(+), 4 deletions(-)
10322 commit ca8b917102ddfad67300f907732dbd69a2c86957
10323 Author: Behdad Esfahbod <behdad@behdad.org>
10324 Date: Fri May 9 13:28:31 2008 +0200
10326 [cairo-surface] Call backend->flush even if backend->finish is null
10330 src/cairo-surface.c | 10 +++++-----
10331 1 file changed, 5 insertions(+), 5 deletions(-)
10333 commit 07cd614039cf7d3c776413ff26e94aa7dc27ea23
10334 Author: Behdad Esfahbod <behdad@behdad.org>
10335 Date: Fri May 9 15:27:40 2008 +0200
10337 [cairo-scaled-font] Tolerate null scaled_font->backend->fini
10339 src/cairo-scaled-font.c | 3 ++-
10340 1 file changed, 2 insertions(+), 1 deletion(-)
10342 commit 1f05cae0a9aaff23a4d80b309d30ed5047198113
10343 Author: Behdad Esfahbod <behdad@behdad.org>
10344 Date: Fri May 9 13:03:51 2008 +0200
10346 [cairo-font-face] Tolerate null font_face->backend->destroy()
10348 src/cairo-font-face.c | 3 ++-
10349 1 file changed, 2 insertions(+), 1 deletion(-)
10351 commit 96599225e2fd1f7d11071a19f1ceb2c33f2a453b
10352 Author: Behdad Esfahbod <behdad@behdad.org>
10353 Date: Fri May 9 11:36:33 2008 +0200
10355 Define CAIRO_RECT_INT_MIN/MAX such that ints do not overflow when converted to fixed
10357 There's not much point in having integers that will overflow.
10359 src/cairo-types-private.h | 8 ++++----
10360 1 file changed, 4 insertions(+), 4 deletions(-)
10362 commit eb63e5609ebb2b666f0cce552dec4c335f210baf
10363 Author: Behdad Esfahbod <behdad@behdad.org>
10364 Date: Fri May 9 13:00:28 2008 +0200
10366 [_cairo_surface_set_device_scale] zero xy and yx matrix entries
10370 src/cairo-surface.c | 4 ++++
10371 1 file changed, 4 insertions(+)
10373 commit 80c59062675ad86d7201352140043f9e27d4b7d4
10374 Author: Behdad Esfahbod <behdad@behdad.org>
10375 Date: Fri May 9 12:59:07 2008 +0200
10377 [cairo-surface] Tone down a Caution comment
10379 We have tested the case of device transforms that have both translate and
10380 scale. So it basically works. We just are not sure that we handle it in
10381 all places (In fact we know we don't.)
10383 src/cairo-surface.c | 7 ++-----
10384 1 file changed, 2 insertions(+), 5 deletions(-)
10386 commit 901c56cba28f9eef3a7a27a25dfbb993b492518b
10387 Author: Behdad Esfahbod <behdad@behdad.org>
10388 Date: Fri May 9 11:35:08 2008 +0200
10390 [image surface] Rename cairo_image_surface_backend to _cairo_image_surface_backend
10392 src/cairo-image-surface.c | 6 +++---
10393 src/cairo-surface.c | 2 +-
10394 src/cairoint.h | 2 +-
10395 3 files changed, 5 insertions(+), 5 deletions(-)
10397 commit 5744b0b9a563e5cf329cc0ba31f96ff238d86210
10398 Author: Behdad Esfahbod <behdad@behdad.org>
10399 Date: Fri May 9 11:41:05 2008 +0200
10401 [cairo-deprecated.h] Remove mention of cairoint.h from public header
10403 src/cairo-deprecated.h | 4 ----
10404 1 file changed, 4 deletions(-)
10406 commit 5f633580189fa48f5b650d3c63c585521bb833a9
10407 Author: Behdad Esfahbod <behdad@behdad.org>
10408 Date: Fri May 9 09:53:40 2008 -0400
10410 [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found
10412 src/cairo-lzw.c | 2 +-
10413 src/cairo-mutex-type-private.h | 32 ++++++++++++++++++++++----------
10414 src/cairo-output-stream.c | 6 ++++--
10415 src/cairo-paginated-private.h | 12 ++++++------
10416 src/cairo-surface.c | 4 ++--
10417 src/cairo.h | 12 ++++++------
10418 src/check-doc-syntax.sh | 40 ++++++++++++++--------------------------
10419 7 files changed, 55 insertions(+), 53 deletions(-)
10421 commit 7dce5360424a98e4100bd78e768c220959633145
10422 Author: Behdad Esfahbod <behdad@behdad.org>
10423 Date: Fri May 9 15:28:02 2008 +0200
10427 src/cairo-scaled-font.c | 3 ++-
10428 1 file changed, 2 insertions(+), 1 deletion(-)
10430 commit a3c091e29264eec2d3f881dd7c66796d1779d845
10431 Author: Behdad Esfahbod <behdad@behdad.org>
10432 Date: Thu May 8 18:18:17 2008 -0400
10434 [src/check-doc-syntax.sh] Use cairo_all_source_files if available
10436 src/check-doc-syntax.sh | 5 ++++-
10437 1 file changed, 4 insertions(+), 1 deletion(-)
10439 commit e39127627a71fc6655854804de36a802f73c0d42
10440 Author: Behdad Esfahbod <behdad@behdad.org>
10441 Date: Thu May 8 18:13:32 2008 -0400
10443 [Makefile.am] Rename cairo_all_source_file to cairo_all_source_files
10445 src/Makefile.am | 4 ++--
10446 1 file changed, 2 insertions(+), 2 deletions(-)
10448 commit d6654ce2a69c3ad30e437d50825166214a5411c2
10449 Author: Behdad Esfahbod <behdad@behdad.org>
10450 Date: Fri May 9 11:23:42 2008 +0200
10452 [Makefile.am] Sort source files
10454 src/Makefile.am | 2 +-
10455 1 file changed, 1 insertion(+), 1 deletion(-)
10457 commit b7272e9e8e716b04752058855aeb74c42af0b395
10458 Author: Chris Wilson <chris@chris-wilson.co.uk>
10459 Date: Thu May 1 19:46:58 2008 +0100
10461 [cairo-xlib] Batch XRenderFreeGlyphs
10463 For every glyph evicted from the cache we would allocate a very small
10464 structure to push onto the xlib work queue. This quickly becomes
10465 noticably for an app that consumes a lot of scaled fonts and glyphs,
10466 e.g. trying to draw text at various angles. So we maintain a small array
10467 of glyphs pending finalisation and issue the XRenderFreeGlyphs() once the
10470 src/cairo-xlib-surface.c | 95 +++++++++++++++++++++++++++++++++-------------
10471 1 file changed, 68 insertions(+), 27 deletions(-)
10473 commit 3428acf25db6c67ca48d619e98406a6bd4868880
10474 Author: Chris Wilson <chris@chris-wilson.co.uk>
10475 Date: Tue May 6 14:52:02 2008 +0100
10477 [cairo-scaled-font] Mark the scaled font as finished during destruction.
10479 During the destruction of every font used with an xlib surface, we send
10480 an XRenderFreeGlyphs() for every single glyph in the cache. These
10481 requests are redundant as the server-side glyphs will be released along
10482 with the XRenderFreeGlyphSet(), so we skip the individual glyph
10483 destruction if the font is marked as finished.
10485 src/cairo-scaled-font-private.h | 2 ++
10486 src/cairo-scaled-font.c | 5 +++++
10487 src/cairo-xlib-surface.c | 4 ++++
10488 3 files changed, 11 insertions(+)
10490 commit 24284c5101363f8d418083e821c1bad88830dbcb
10491 Author: Chris Wilson <chris@chris-wilson.co.uk>
10492 Date: Thu May 1 18:05:08 2008 +0100
10494 [cairo-xlib] Enlarge the on-stack arrays.
10496 Grow the on-stack arrays for the XRectangles and XTrapezoids to the
10497 standard size in order to reduce the frequency of allocations.
10499 src/cairo-xlib-surface.c | 16 ++++++++--------
10500 1 file changed, 8 insertions(+), 8 deletions(-)
10502 commit fda95868020effcbc56ff687a763af650a758ba2
10503 Author: Chris Wilson <chris@chris-wilson.co.uk>
10504 Date: Thu May 1 15:44:22 2008 +0100
10506 [cairo-xlib] Cache standard xrender formats.
10508 XRender performs a round-trip in order to query the available formats on
10509 the xserver, before searching for a matching format. In order to save
10510 that round-trip and to avoid the short-lived allocation of the array of
10511 available formats, we cache the result on the display.
10513 src/cairo-xlib-display.c | 35 ++++++++++
10514 src/cairo-xlib-private.h | 7 ++
10515 src/cairo-xlib-surface.c | 159 +++++++++++++++++++++++-----------------------
10516 3 files changed, 122 insertions(+), 79 deletions(-)
10518 commit 8457374c9cf350841a7c16f1ef1657aeb354e5c9
10519 Author: Chris Wilson <chris@chris-wilson.co.uk>
10520 Date: Wed Apr 30 22:03:21 2008 +0100
10522 [cairo-pattern] Repaint existing cached similar solid surfaces.
10524 The current solid surface cache returns an existing similar surface only
10525 if it is an exact match for the desired colour. This gives a high hit
10526 rate for the original goal of drawing text, but fails when using a lot
10527 of colours - for example drawing a pie-chart, the mosaic perf case, or
10528 browsing the web. So instead of creating a new surface from scratch we
10529 can repaint an existing one, providing that we have sufficient surfaces
10530 already cached, i.e. if we are going to evict a surface, we may as well
10533 src/cairo-pattern.c | 62 +++++++++++++++++++++++++++++++++++++++++----------
10534 1 file changed, 50 insertions(+), 12 deletions(-)
10536 commit 4b3f9c7c7d6ba01cf02815994af7da663e85bb9b
10537 Author: Chris Wilson <chris@chris-wilson.co.uk>
10538 Date: Tue May 6 14:18:18 2008 +0100
10540 [cairo-arc] Protect against division-by-zero.
10542 Avoid a division-by-zero which can only happen if the start angle is
10543 exactly equal to the end angle.
10545 Fixes test/degenerate-arc.
10547 src/cairo-arc.c | 2 +-
10548 1 file changed, 1 insertion(+), 1 deletion(-)
10550 commit ff596c64fb08b9845e2176146ee129b60fe5775a
10551 Author: Chris Wilson <chris@chris-wilson.co.uk>
10552 Date: Tue May 6 10:58:57 2008 +0100
10554 [test] Add degenerate-arc
10556 This test case is to exercise the divide-by-zero error reported by
10557 Luiz Americo Pereira Camara <luizmed@oi.com.br>,
10558 http://lists.cairographics.org/archives/cairo/2008-May/014054.html.
10560 test/.gitignore | 1 +
10561 test/Makefile.am | 3 ++
10562 test/degenerate-arc-ps-ref.png | Bin 0 -> 585 bytes
10563 test/degenerate-arc-ref.png | Bin 0 -> 616 bytes
10564 test/degenerate-arc.c | 82 ++++++++++++++++++++++++++++++++++++++++
10565 5 files changed, 86 insertions(+)
10567 commit fed9d9060eb950a6692334a7ba3879009b597532
10568 Author: Chris Wilson <chris@chris-wilson.co.uk>
10569 Date: Tue May 6 11:31:14 2008 +0100
10571 [test/invalid-matrix] Disable floating point exception.
10573 test/invalid-matrix purposely feeds invalid numbers into cairo, in
10574 order to check its detection of garbage values. In doing so, cairo
10575 raises an Invalid exception, but as this is a direct result of an abuse
10576 of the API we can treat it as expected behaviour and ignore the
10579 configure.in | 2 +-
10580 test/invalid-matrix.c | 9 +++++++++
10581 2 files changed, 10 insertions(+), 1 deletion(-)
10583 commit 1755a2d27def853163f9c496c07ae79070c5002e
10584 Author: Chris Wilson <chris@chris-wilson.co.uk>
10585 Date: Tue May 6 10:29:20 2008 +0100
10587 [test] Enable floating point exceptions.
10589 Some platforms and applications enable floating point exceptions, so it
10590 seems sensible to run the test-suite with the most serious exceptions
10591 enabled - divide by zero, invalid result and overflow.
10593 configure.in | 9 ++++++---
10594 test/cairo-test.c | 7 +++++++
10595 2 files changed, 13 insertions(+), 3 deletions(-)
10597 commit bf49015202523c6e9f4130c3160e8b5c50f16db8
10598 Author: Chris Wilson <chris@chris-wilson.co.uk>
10599 Date: Tue May 6 10:19:59 2008 +0100
10601 [configure.in] Add lcov-1.6 to list of valid versions.
10603 Accept version 1.6 of lcov.
10605 configure.in | 2 +-
10606 1 file changed, 1 insertion(+), 1 deletion(-)
10608 commit 504132db6d9f08c36c9ae82f472caf422a032dfd
10609 Author: Adrian Johnson <ajohnson@redneon.com>
10610 Date: Sun May 4 23:05:01 2008 +0930
10612 win32-font: Check status in load_truetype_table
10614 src/cairo-win32-font.c | 4 +++-
10615 1 file changed, 3 insertions(+), 1 deletion(-)
10617 commit 2a7c5cd1ee3d3b75e4a65362d33d89c95f8eb03b
10618 Author: Adrian Johnson <ajohnson@redneon.com>
10619 Date: Sun May 4 23:01:48 2008 +0930
10621 Eliminate warning in win32 load_truetype_table with bitmap fonts
10623 Use cairo_win32_scaled_font_select_font() instead of
10624 _cairo_win32_scaled_font_select_unscaled_font() to select the font.
10625 Because _cairo_win32_scaled_font_select_unscaled_font() displays a
10626 warning when used with a bitmap font.
10628 src/cairo-win32-font.c | 4 ++--
10629 1 file changed, 2 insertions(+), 2 deletions(-)
10631 commit 7063e7b0bf1d33c4166dc3b73ec33f6d9a708ce3
10632 Author: Adrian Johnson <ajohnson@redneon.com>
10633 Date: Sun May 4 22:56:50 2008 +0930
10635 Fix bug in win32 font metrics with bitmap fonts
10637 The glyph width caculation was not compensating for the
10638 WIN32_FONT_LOGICAL_SCALE resulting in a glyph width and glyph advance
10639 32 times larger than it should be.
10641 src/cairo-win32-font.c | 2 +-
10642 1 file changed, 1 insertion(+), 1 deletion(-)
10644 commit d35d6eec24c1b7ab0a49149a51bf65ea8e223203
10645 Author: Adrian Johnson <ajohnson@redneon.com>
10646 Date: Sun May 4 22:54:02 2008 +0930
10648 Fix win32 bitmap font metrics when device scale != 1
10650 158d24412bba9 fixed win32 printing of bitmap fonts by forcing the use
10651 of fallback images. This exposed a bug in the win32 bitmap font
10652 metrics when a device scale is used that resulted in clipped glyphs.
10654 src/cairo-win32-font.c | 4 ++--
10655 1 file changed, 2 insertions(+), 2 deletions(-)
10657 commit 158d24412bba99a4f57907d7fd22a86aae6e87af
10658 Author: Adrian Johnson <ajohnson@redneon.com>
10659 Date: Sun May 4 22:46:41 2008 +0930
10661 Make win32-printing surface work with bitmap fonts
10663 The win32 printing surface has the same problem with bitmap fonts as
10664 it does with Type 1 fonts. ie ExtTextOutW() with glyph indices works
10665 for a display DC but not a printer DC.
10667 Fix this by forcing fallback for bitmap fonts.
10669 src/cairo-win32-font.c | 10 ++++++++++
10670 src/cairo-win32-printing-surface.c | 14 ++++++++++++++
10671 src/cairo-win32-private.h | 3 +++
10672 3 files changed, 27 insertions(+)
10674 commit 547e2f552cff264b943803d3a1ff03d05bde35c0
10675 Author: Adrian Johnson <ajohnson@redneon.com>
10676 Date: Sun May 4 22:43:08 2008 +0930
10678 Fix win32-printing show_glyphs analysis for Type 1 fonts
10680 The analysis code needs to include the Type 1 font check that was
10681 previously adding the the rendering code.
10683 src/cairo-win32-printing-surface.c | 1 +
10684 1 file changed, 1 insertion(+)
10686 commit 141bca74ba154d79fab49db74a51cd41f04e3a34
10687 Author: Adrian Johnson <ajohnson@redneon.com>
10688 Date: Sun May 4 22:40:49 2008 +0930
10690 Make cairo_win32_surface_get_dc work with win32 printing surface
10692 The win32 printing surface is a paginated surface so we need to get
10693 the paginated surface target to get to the win32_printing surface.
10695 src/cairo-win32-surface.c | 23 ++++++++++++++++++-----
10696 1 file changed, 18 insertions(+), 5 deletions(-)
10698 commit 8742429c7958bb7f87595b1c018b4da7856b2f92
10699 Author: Chris Wilson <chris@chris-wilson.co.uk>
10700 Date: Tue Apr 29 15:19:40 2008 +0100
10702 [test] Add test case for a leaky dashed rectangle.
10704 Franz Schmid reported on the mailing list,
10705 http://lists.cairographics.org/archives/cairo/2008-April/013912.html,
10706 an issue with drawing a dashed rubber band in Scribus. The problem
10707 appears when segments of the dashed rectangle are outside the image,
10708 with the errant dash connecting the ends of the visible segments.
10710 test/.gitignore | 1 +
10711 test/Makefile.am | 2 +
10712 test/leaky-dashed-rectangle-ref.png | Bin 0 -> 444 bytes
10713 test/leaky-dashed-rectangle.c | 92 +++++++++++++++++++++++++++++++++++
10714 4 files changed, 95 insertions(+)
10716 commit afa4ff8df598b60ab75a95ceac9bc0dafedd3b22
10717 Author: Chris Wilson <chris@chris-wilson.co.uk>
10718 Date: Tue Apr 29 10:02:51 2008 +0100
10720 [check] Filter programlistings for check-doc-syntax.sh
10722 We do not want to enforce the gtk-doc markup in the preformated
10723 examples, so run the files through sed to filter out <programlisting>
10724 before checking with the error detecting regexp.
10726 src/check-doc-syntax.sh | 10 ++++++++--
10727 1 file changed, 8 insertions(+), 2 deletions(-)
10729 commit e94126fb678cecfc61e1b1afb62b8e75e2aec286
10730 Author: Chris Wilson <chris@chris-wilson.co.uk>
10731 Date: Tue Apr 29 09:20:30 2008 +0100
10733 [cairo-ft] Add a demonstration of how to handle the lifetime of the FT_Face.
10735 Extend the documentation for cairo_ft_font_face_create_for_ft_face() to
10736 demonstrate using cairo_font_face_set_user_data() to destroy the FT_Face
10737 after the final reference to the cairo_font_face_t has been dropped.
10739 src/cairo-ft-font.c | 16 ++++++++++++++++
10740 1 file changed, 16 insertions(+)
10742 commit 78cb05a1b7b4160b8914c75479bd60d0b34b0663
10743 Author: Chris Wilson <chris@chris-wilson.co.uk>
10744 Date: Tue Apr 29 09:10:50 2008 +0100
10746 [cairo-ft-font] Fixup doc reference to cairo_ft_font_face_create_for_ft_face()
10748 The documentation referred to cairo_ft_font_face_create_for_face().
10750 src/cairo-ft-font.c | 2 +-
10751 1 file changed, 1 insertion(+), 1 deletion(-)
10753 commit f43e5e9ed975f40e4fab06cef89e40a18a5e170e
10754 Author: Chris Wilson <chris@chris-wilson.co.uk>
10755 Date: Tue Apr 29 09:09:22 2008 +0100
10757 [cairo-ft] Correct the function references in the docs.
10759 The docs reference cairo_ft_font_lock_face() instead of the correct
10760 cairo_ft_scaled_font_lock_face() (and friends).
10762 src/cairo-ft-font.c | 12 ++++++------
10763 1 file changed, 6 insertions(+), 6 deletions(-)
10765 commit 5d20479b99c187ee90ebce36b97a9064acff8f0d
10766 Author: Chris Wilson <chris@chris-wilson.co.uk>
10767 Date: Tue Apr 29 09:03:00 2008 +0100
10769 [test/ft-font-create-for-ft-face] Fix the lifetime issues of FT_Face.
10771 The font_face created from cairo_ft_font_face_create_for_ft_face()
10772 was being kept alive by a reference from the context beyond the
10773 lifetime of the parent cairo_scaled_font_t (which owned the FT_Face).
10774 Correct the example in the test code to remove this errant reference
10775 before cleaning up the fonts. (To be fair, to actually trigger a bug
10776 one has to evict the FT_Face from the cache before using the font_face
10777 - merely creating a cairo_scaled_font_t for every font on the system is
10780 test/ft-font-create-for-ft-face.c | 6 +++++-
10781 1 file changed, 5 insertions(+), 1 deletion(-)
10783 commit 00965edf49a989c56d1236807f5b2901bb157005
10784 Author: Chris Wilson <chris@chris-wilson.co.uk>
10785 Date: Tue Apr 29 08:59:37 2008 +0100
10787 [cairo-ft] Remove unused private aliases.
10789 cairo_ft_scaled_font_lock_face() and friends are unused internally
10790 (instead _cairo_ft_unscaled_font_lock_face() is used directly), so
10791 remove the unnecessary aliases.
10793 src/cairo-ft-font.c | 4 ++--
10794 src/cairo-ft-private.h | 3 ---
10795 2 files changed, 2 insertions(+), 5 deletions(-)
10797 commit 122a31a0757d0483f72af0cf3816a52bded5afb6
10798 Author: Vladimir Vukicevic <vladimir@pobox.com>
10799 Date: Sun Apr 27 15:20:43 2008 -0700
10801 [quartz] Fix CGFont leaks when creating quartz fonts
10803 The toy font constructor and the _with_atsu_font_id constructor were
10804 not properly managing the refcount of the CGFontRef.
10806 src/cairo-quartz-font.c | 9 ++++++++-
10807 1 file changed, 8 insertions(+), 1 deletion(-)
10809 commit 76e655e5084270b7e5a9ed153e50e2f544c9b46f
10810 Author: Adrian Johnson <ajohnson@redneon.com>
10811 Date: Sun Apr 27 22:59:22 2008 +0930
10813 Fix group-paint PDF test failure
10815 src/cairo-pdf-surface.c | 13 ++++++++++++-
10816 1 file changed, 12 insertions(+), 1 deletion(-)
10818 commit 5e102b06d1a3c62a1dd0f381fbd1123961bebdf8
10819 Author: Adrian Johnson <ajohnson@redneon.com>
10820 Date: Sun Apr 27 21:51:05 2008 +0930
10822 PDF: Fix unbalanced save/restore
10824 src/cairo-pdf-surface.c | 1 -
10825 1 file changed, 1 deletion(-)
10827 commit 3a2a86721096a5efdec25a3ec041d9fc7eec6cf8
10828 Author: Adrian Johnson <ajohnson@redneon.com>
10829 Date: Sun Apr 27 17:49:04 2008 +0930
10831 PS: Fix gradients with one stop
10833 src/cairo-ps-surface.c | 26 ++++++++++++++++++++++++++
10834 1 file changed, 26 insertions(+)
10836 commit f99d86e7082a59f2c6e53f021f8fd62973a0d1ef
10837 Author: Adrian Johnson <ajohnson@redneon.com>
10838 Date: Sun Apr 27 17:32:41 2008 +0930
10840 PDF: Fix gradients with one stop
10842 src/cairo-pdf-surface.c | 38 ++++++++++++++++++++++++++++++++------
10843 1 file changed, 32 insertions(+), 6 deletions(-)
10845 commit 6135ee716b4f2567f578fd023ba2d85c86cb7fda
10846 Author: Sebastien Pouliot <sebastien@ximian.com>
10847 Date: Fri Apr 25 18:43:01 2008 +0100
10849 [configure.in] Build fails on Solaris due to non-POSIX ctime_r()
10851 Check for a Solaris build host and adjust the CFLAGS to force POSIX
10854 (Fixes https://bugs.freedesktop.org/show_bug.cgi?id=15463.)
10856 configure.in | 14 +++++++++++++-
10857 1 file changed, 13 insertions(+), 1 deletion(-)
10859 commit b4b77cedc9db73f1ba8af16704302a4b2cc3f184
10860 Author: Chris Wilson <chris@chris-wilson.co.uk>
10861 Date: Mon Apr 21 22:50:59 2008 +0100
10863 [test/Makefile.am] EXTRA_DIST += create-from-png*-ref.png
10865 Add the new reference images for create-from-png to the distributable.
10867 test/Makefile.am | 7 ++++++-
10868 1 file changed, 6 insertions(+), 1 deletion(-)
10870 commit 63bba7e60c0c83f5456aa52611212264478148b4
10871 Author: Chris Wilson <chris@chris-wilson.co.uk>
10872 Date: Mon Apr 21 20:15:28 2008 +0100
10874 [cairo-png] Call png_set_filler() before png_read_update_info().
10876 Otherwise libpng gets very confused and we start scribbling over invalid
10877 memory whilst reading in the PNG.
10879 src/cairo-png.c | 3 ++-
10880 1 file changed, 2 insertions(+), 1 deletion(-)
10882 commit 20b1b33c0fc76d2ec2b4f83d9ce058429c4f49db
10883 Author: Chris Wilson <chris@chris-wilson.co.uk>
10884 Date: Mon Apr 21 19:54:48 2008 +0100
10886 [cairo-png] Recheck png_info after setting transformation options.
10888 After specifying how to transform the various colour modes into ones we
10889 can handle, re-read the image header to confirm that the output on
10890 reading the PNG will be RGB24 or ARGB32. This simplifies our logic
10891 considerably as we no longer have to second guess the colour space
10892 transformation that will be performed by libpng. (And allows for some
10895 src/cairo-png.c | 38 ++++++++++++++++++++------------------
10896 1 file changed, 20 insertions(+), 18 deletions(-)
10898 commit a313547f6d0ed060de7fc27dc2886ef09b8598d4
10899 Author: Chris Wilson <chris@chris-wilson.co.uk>
10900 Date: Mon Apr 21 19:44:11 2008 +0100
10902 [test/create-from-png] Check loading of various colour types.
10904 Check that when loading from index/gray/rgb PNGs, with and without
10905 alpha/transparency, that the correct surface is generated by read_png(),
10906 i.e. if the PNG contains an alpha channel then the image must be an
10909 test/create-from-png-alpha-ref.png | Bin 0 -> 150 bytes
10910 test/create-from-png-gray-alpha-ref.png | Bin 0 -> 142 bytes
10911 test/create-from-png-gray-ref.png | Bin 0 -> 124 bytes
10912 test/create-from-png-indexed-alpha-ref.png | Bin 0 -> 172 bytes
10913 test/create-from-png-indexed-ref.png | Bin 0 -> 159 bytes
10914 test/create-from-png-ref.png | Bin 100 -> 131 bytes
10915 test/create-from-png.c | 121 ++++++++++++++++++++++++++++
10916 7 files changed, 121 insertions(+)
10918 commit f2f91db131e7c7df1e87bcd41ae17c07429bbcb8
10919 Author: Chris Wilson <chris@chris-wilson.co.uk>
10920 Date: Mon Apr 21 18:20:16 2008 +0100
10922 [cairo-png] Create an ARGB32 surface for paletted PNGs.
10924 jeremie54 reported a regression in the handling of transparent paletted
10925 PNGs beween 1.4.14 and 1.6.4. This was caused by the change to load
10926 opaque PNGs into a RGB24 image surface, which made the assumption that
10927 indexed PNGs were opaque. However, alpha/transparency in PNG is more
10928 complicated, as PNG uses a tRNS chunk to supply transparency data for
10929 paletted images and other image types that don't need a full alpha
10930 channel. Therefore if the PNG contains a tRNS chunk always generate an
10933 src/cairo-png.c | 19 ++++++++++++++-----
10934 1 file changed, 14 insertions(+), 5 deletions(-)
10936 commit ea6dbfd36f2182fda16cb82bca92007e0f7b8d77
10937 Author: Chris Wilson <chris@chris-wilson.co.uk>
10938 Date: Wed Apr 16 17:24:43 2008 +0100
10940 [cairo-meta-surface] Save and restore the original clip.
10942 When replaying the meta-surface to the target, we apply a stack-based
10943 clip to the surface. However, we did not remove this clip from the
10944 surface and so a pointer into our stack existed beyond the scope of
10947 Saving the original clip pointer and restoring it before leaving the
10948 function resolves the issue and appears to fix
10949 https://bugzilla.mozilla.org/show_bug.cgi?id=429071.
10951 src/cairo-meta-surface.c | 8 ++++++--
10952 1 file changed, 6 insertions(+), 2 deletions(-)
10954 commit a2c4fd057217b70c74a66076acc4f42f676192ae
10955 Author: Adrian Johnson <ajohnson@redneon.com>
10956 Date: Fri Apr 18 18:18:30 2008 +0930
10958 Add "Since: 1.6" to win32 printing surface
10960 src/cairo-win32-printing-surface.c | 2 ++
10961 1 file changed, 2 insertions(+)
10963 commit 212357cb4c859bb29649f86e808f498efb6d7315
10964 Author: Robert O'Callahan <roc@ocallahan.org>
10965 Date: Fri Apr 18 06:15:26 2008 +0200
10967 Clone surface correctly when doing a deep clip copy
10969 The rect specifies the clip surface location within the owning surface;
10970 when cloned, the x/y should be 0 to get the entire surface.
10972 Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=409227
10974 src/cairo-clip.c | 4 ++--
10975 1 file changed, 2 insertions(+), 2 deletions(-)
10977 commit a0d71e5a38a5b6a9621da1ce773d591b6e500b1e
10978 Author: Chris Wilson <chris@chris-wilson.co.uk>
10979 Date: Wed Apr 16 14:31:25 2008 +0100
10981 [Makefile.am] Fix breakage in previous commit.
10983 I checked with --disable-pdf and with --disable-ps, but forgot to
10984 check with them both enabled. D'oh.
10986 src/Makefile.am | 9 ++++++---
10987 1 file changed, 6 insertions(+), 3 deletions(-)
10989 commit 472637da054ec90d8dc4b0095be6e9a134f507e0
10990 Author: Chris Wilson <chris@chris-wilson.co.uk>
10991 Date: Wed Apr 16 14:18:32 2008 +0100
10993 [Makefile.am] Add cairo-pdf-operators*.[ch] to ps_sources
10995 The postscript backends depends upon cairo-pdf-operators.c, so list it
10996 as a requirement in ps_sources. This enables the postscript backend to
10997 build even if the pdf backend is disable by the user during configure.
10999 (Fixes http://bugs.freedesktop.org/show_bug.cgi?id=15532.)
11001 src/Makefile.am | 3 ++-
11002 1 file changed, 2 insertions(+), 1 deletion(-)
11004 commit 12831201d2461ae4452d91ad42bf74881da12e04
11005 Author: Behdad Esfahbod <behdad@behdad.org>
11006 Date: Tue Apr 15 15:57:41 2008 -0400
11008 [doc/tutorial/src/singular.c] Fix a bug in delta computation
11010 doc/tutorial/src/singular.c | 38 +++++++++++++++++++++-----------------
11011 1 file changed, 21 insertions(+), 17 deletions(-)
11013 commit cafdd0161941413547d253c743c743323e790400
11014 Author: Behdad Esfahbod <behdad@behdad.org>
11015 Date: Tue Apr 15 13:33:50 2008 -0400
11017 [Makefile.am] Document why beos was removed from build, and remove some cruft
11019 src/Makefile.am | 8 +++-----
11020 1 file changed, 3 insertions(+), 5 deletions(-)
11022 commit 0e315b1e6092d7ba44a89076567257d68ab3e1f9
11023 Author: Chris Wilson <chris@chris-wilson.co.uk>
11024 Date: Mon Apr 14 20:32:29 2008 +0100
11026 [test/a8-mask] Perform the stride API checking once.
11028 The stride API is independent of the surface and does not need to be
11029 repeated for every surface.
11031 test/a8-mask.c | 97 +++++++++++++++++++++++++++++---------------------------
11032 1 file changed, 50 insertions(+), 47 deletions(-)
11034 commit 8b36ca085844ada8f13d0164719772b6bb78dff6
11035 Author: Chris Wilson <chris@chris-wilson.co.uk>
11036 Date: Mon Apr 14 20:32:29 2008 +0100
11038 [test/a1-mask] Perform the stride API checking once.
11040 The stride API is independent of the surface and does not need to be
11041 repeated for every surface.
11043 test/a1-mask.c | 99 ++++++++++++++++++++++++++++----------------------------
11044 1 file changed, 50 insertions(+), 49 deletions(-)
11046 commit fa5e87ad230db18be26b971dc0351abd342c7894
11047 Author: Chris Wilson <chris@chris-wilson.co.uk>
11048 Date: Mon Apr 14 20:11:44 2008 +0100
11050 [cairo-test] Spelling fixes in comments.
11052 Skim through the comments fixing trivial smelling pistakes.
11054 test/cairo-test.c | 7 +++----
11055 1 file changed, 3 insertions(+), 4 deletions(-)
11057 commit 8514d334442312774c8646dc46a630351cff83f5
11058 Author: Richard Hult <richard@imendio.com>
11059 Date: Mon Apr 14 16:55:23 2008 -0700
11061 Fix to install cairo-quartz-font.pc
11063 src/Makefile.am | 1 +
11064 1 file changed, 1 insertion(+)
11066 commit 4ff59960f343f072efd10bfbfd78b8b2fbe1d4be
11067 Author: Kouhei Sutou <kou@cozmixng.org>
11068 Date: Mon Apr 14 16:53:37 2008 -0700
11070 Fix typo in documentation (missing stride argument)
11072 src/cairo-image-surface.c | 3 ++-
11073 1 file changed, 2 insertions(+), 1 deletion(-)
11075 commit e01072d4eae5a40f09a46373680d4ba6afa5c4e4
11076 Author: Carl Worth <cworth@cworth.org>
11077 Date: Mon Apr 14 16:52:40 2008 -0700
11079 RELEASING: Send announcement of major releases to pr@lwn.net as well
11081 RELEASING | 13 +++++++------
11082 1 file changed, 7 insertions(+), 6 deletions(-)
11084 commit 9db764c732ef6e3405866a60762592625aa94ca4
11085 Merge: d96fdd5 44e6cdd
11086 Author: Carl Worth <cworth@cworth.org>
11087 Date: Mon Apr 14 16:39:27 2008 -0700
11091 This gets us a fix for not linking with g++ from 1.6.4
11093 We don't take from 1.6.4 the revert of the addition of
11094 missing locking from the GC cache, (meanwhile, we've
11095 already got a corrected fix for this).
11099 src/cairo-xlib-screen.c
11101 commit d96fdd58abf8d6c8692dbb08ec54cdd80accba79
11102 Author: Adrian Johnson <ajohnson@redneon.com>
11103 Date: Sun Apr 13 22:16:52 2008 +0930
11105 win32: Fix broken printing of type1 fonts
11107 ExtTextOut() does not work with Type 1 font glyph indices when
11108 printing. The same code works fine when dst->dc is a display. It
11109 appears that ExtTextOut expects unicode character values when using
11110 Type 1 fonts and a printer DC.
11112 Fix this by making Type 1 fonts in the win32-printing surface use the
11113 fallback path for non Windows fonts. ie the glyphs will be emitted as
11116 src/cairo-win32-font.c | 10 ++++++++++
11117 src/cairo-win32-printing-surface.c | 1 +
11118 src/cairo-win32-private.h | 3 +++
11119 3 files changed, 14 insertions(+)
11121 commit af94b8d2a312500d0f81697021ba2c653accfeee
11122 Author: Carl Worth <cworth@cworth.org>
11123 Date: Fri Apr 11 16:13:18 2008 -0700
11125 README: Note that quartz is no longer experimental
11128 1 file changed, 3 insertions(+), 3 deletions(-)
11130 commit ff5376563b1042ebea8a438acb309bcd8678cdc5
11131 Author: Chris Wilson <chris@chris-wilson.co.uk>
11132 Date: Fri Apr 11 23:47:07 2008 +0100
11134 [xlib] Clear the gc_needs_clip_reset after use.
11136 If you think this commit is reminiscent of
11137 40558cb15e5f7276a29847b00c9dae08b9d9380e, you would be right as it fixes
11138 exactly the same bug I made then and reintroduced in dc714106e156cb7901.
11140 So quoting 40558cb:
11141 After consuming the GC we need to unset the clip reset flag, so that
11142 if we try and get a new GC without first putting a fresh one we do not
11143 try to call XSetClipMask on a NULL GC.
11145 src/cairo-xlib-screen.c | 1 +
11146 1 file changed, 1 insertion(+)
11148 commit 28a1dabed8cf50d9bec552bd9d3a18580c1c6711
11149 Author: Chris Wilson <chris@chris-wilson.co.uk>
11150 Date: Fri Apr 11 23:40:36 2008 +0100
11152 [test] Add a regression test for bug 10921
11154 This bug first was fixed in 40558cb15e5f7276a29847b00c9dae08b9d9380e,
11155 but then reintroduced in 9cfd82e87b60c0d65e9cafda026cb9a498874575, which
11156 became part of the 1.6.2 quick release.
11158 As penance to make sure I never repeat this same bug again, I offer this
11159 test case which exercises the XSetClipMask(NULL) path and hopefully
11160 simulates some 'typical' usage of cairo by GUI toolkits.
11162 test/.gitignore | 1 +
11163 test/Makefile.am | 2 +
11164 test/xlib-expose-event-ref.png | Bin 0 -> 40736 bytes
11165 test/xlib-expose-event.c | 275 ++++++++++++++++++++++++++++++++++++++++
11166 4 files changed, 278 insertions(+)
11168 commit 44e6cdd9b1eb3330d3f4ef4929d0af50cd0010e5
11169 Author: Carl Worth <cworth@cworth.org>
11170 Date: Fri Apr 11 14:48:18 2008 -0700
11172 Increment version to 1.6.5 after the 1.6.4 release
11174 configure.in | 2 +-
11175 1 file changed, 1 insertion(+), 1 deletion(-)
11177 commit 08a804806355d99d7968976d6afb98bbc0f2613d
11178 Author: Carl Worth <cworth@cworth.org>
11179 Date: Fri Apr 11 14:33:12 2008 -0700
11181 Increment version to 1.6.4
11183 configure.in | 4 ++--
11184 1 file changed, 2 insertions(+), 2 deletions(-)
11186 commit a96176e12fa99b293453fa0321b1dfa4fd242917
11187 Author: Carl Worth <cworth@cworth.org>
11188 Date: Fri Apr 11 14:32:37 2008 -0700
11190 NEWS: Add notes for cairo 1.6.4
11192 NEWS | 29 +++++++++++++++++++++++++++++
11193 1 file changed, 29 insertions(+)
11195 commit 32e576382bc08ffaf98ebfc11c96e1453c437bbe
11196 Author: Carl Worth <cworth@cworth.org>
11197 Date: Fri Apr 11 14:13:03 2008 -0700
11199 Prevent cairo from being linked unnecessarilly with g++
11201 The beos backend involves a source file written in C++.
11202 Apparently, automake sees the conditional inclusion of
11203 that source file and insists on doing the final link of
11204 cairo with g++ even though that file isn't being compiled
11207 We definitely don't want that as it makes libcairo link
11208 and depend on libstdc++ unnecessarily, (which can break
11209 distribution packaging when not expecting it, etc.).
11211 src/Makefile.am | 1 -
11212 1 file changed, 1 deletion(-)
11214 commit 8f1c8d4b26d6da11101c51ef388d1dcc7177cfb4
11215 Author: Carl Worth <cworth@cworth.org>
11216 Date: Fri Apr 11 13:48:38 2008 -0700
11218 Revert "[xlib] Add locking around GC cache."
11220 This reverts commit 9cfd82e87b60c0d65e9cafda026cb9a498874575.
11222 The fix was broken as it introduced crashes by calling
11223 XSetClipMask with a NULL GC, (basically a reintroduction
11224 of the bug originally fixed here:
11226 7802de6d5edaf998c98b141870dc2c6b4c0f3e91
11228 Let's revert for sake of the release, and fix this correctly
11231 src/cairo-xlib-private.h | 1 -
11232 src/cairo-xlib-screen.c | 31 ++++++++++---------------------
11233 2 files changed, 10 insertions(+), 22 deletions(-)
11235 commit 75001079c1c6361f116409dc13263e87081637d1
11236 Merge: a5770c3 f57100a
11237 Author: Carl Worth <cworth@cworth.org>
11238 Date: Fri Apr 11 10:08:14 2008 -0700
11240 Merge in origin/master, (a few changes in parallel to 1.6.2 release)
11242 commit a5770c3335fccd1591f2cd58ab950a6eba77f271
11243 Author: Carl Worth <cworth@cworth.org>
11244 Date: Fri Apr 11 10:05:18 2008 -0700
11246 Increment version to 1.6.3 after the 1.6.2 release
11248 configure.in | 2 +-
11249 1 file changed, 1 insertion(+), 1 deletion(-)
11251 commit 5bc6fd71398f8aa902fcffe2da5d1e70fb94aa8a
11252 Author: Carl Worth <cworth@cworth.org>
11253 Date: Fri Apr 11 09:52:28 2008 -0700
11255 Increment version to 1.6.2
11257 configure.in | 4 ++--
11258 1 file changed, 2 insertions(+), 2 deletions(-)
11260 commit 0c32497c3447d6d02d45a14ff4c400b6d1ea37da
11261 Author: Carl Worth <cworth@cworth.org>
11262 Date: Fri Apr 11 09:50:53 2008 -0700
11264 NEWS: Add notes for 1.6.2 release
11266 NEWS | 35 +++++++++++++++++++++++++++++++++++
11267 1 file changed, 35 insertions(+)
11269 commit 9cfd82e87b60c0d65e9cafda026cb9a498874575
11270 Author: Chris Wilson <chris@chris-wilson.co.uk>
11271 Date: Thu Apr 10 14:49:47 2008 +0100
11273 [xlib] Add locking around GC cache.
11275 The per-screen cached of most-recently freed GCs lacks suitable locking
11276 for it to be threadsafe.
11277 (cherry picked from commit dc714106e156cb7901e376c0935922446ae9bcdf)
11279 src/cairo-xlib-private.h | 1 +
11280 src/cairo-xlib-screen.c | 31 +++++++++++++++++++++----------
11281 2 files changed, 22 insertions(+), 10 deletions(-)
11283 commit cf057c1e8603014033c079189369e91aecac2adf
11284 Author: Adrian Johnson <ajohnson@redneon.com>
11285 Date: Fri Apr 11 21:42:19 2008 +0930
11287 PS: Fix inefficient implementation of Tm/Td operators that was crashing printers
11289 The Td and Tm operator emulation were setting the font matrix like this:
11291 /some_font [xx yx xy yy x0 y0] selectfont
11293 where [xx yx xy yy] is the font matrix and [x0 y0] is the position of
11294 the first glyph to be drawn. This seemed to be the easiest way to
11295 emulate the Tm operator since the six arguments to Tm required by PDF
11296 are xx,yx,xy,yy,x0,y0.
11298 Before the switch to pdf-operators the font matrix was set like this:
11300 /somefont [xx yx xy yy 0 0] selectfont x0 y0 moveto
11302 The selectfont operator is equivalent to calling findfont, makefont,
11303 and setfont. The makefont operator creates a new font dictionary for
11304 specified font that contains the specified font matrix. The
11305 description of the makefont operator in the PostScript Language
11306 Reference Manual states:
11308 "The interpreter keeps track of font dictionaries recently created
11309 by makefont. Calling makefont multiple times with the same font and
11310 matrix will usually return the same font rather than create a new
11313 So the emulation of Tm and Td was creating a new font dictionary every
11314 time a text string was displayed due to the change in the translation
11315 components of the font matrix. Previously the font dictionary was
11316 re-used as with the translation components of the matrix set to zero,
11317 the font matrix did not change frequently.
11319 Some printers did not handle well the frequent creation a font
11320 dictionary every time a few glyphs were displayed.
11322 Fix this by ensuring the translation components of the font matrix
11323 used in the emulation of Tm and Td operators is always set to
11324 zero. Use moveto instead for the translation components.
11325 (cherry picked from commit c5814d2aa3cb68a13bc9cc8b6a47f660febcad71)
11327 src/cairo-ps-surface.c | 9 +++++----
11328 1 file changed, 5 insertions(+), 4 deletions(-)
11330 commit f57100acd4937486bfb69d38dfc72d42427e2851
11331 Author: Chris Wilson <chris@chris-wilson.co.uk>
11332 Date: Fri Apr 11 11:36:24 2008 +0100
11334 [test] Handle TEST_CONTENT_COLOR_ALPHA_FLATTENED similar surfaces.
11336 Convert the boilerplate specific flattened content value to the ordinary
11337 CAIRO_CONTENT_COLOR_ALPHA for use with cairo_push_group_with_content() -
11338 otherwise cairo rightfully flags an error and the test harness decides
11339 that the similar surface is not available.
11341 boilerplate/cairo-boilerplate.c | 14 ++++++++++----
11342 boilerplate/cairo-boilerplate.h | 3 +++
11343 perf/cairo-perf.c | 6 ++++--
11344 test/cairo-test.c | 8 +++-----
11345 4 files changed, 20 insertions(+), 11 deletions(-)
11347 commit e4fc5279cc490b8d7c1f611d73601e6782c944a5
11348 Author: Chris Wilson <chris@chris-wilson.co.uk>
11349 Date: Mon Mar 31 15:48:51 2008 +0100
11351 [cairo-font-options] Eliminate internal use of cairo_font_options_create()
11353 Within the library, we know the precise size of the struct and so can
11354 allocate temporary font options on the stack - eliminating the need
11355 to export an internal alias of cairo_font_options_(create|destory).
11357 src/cairo-font-options.c | 2 --
11358 src/cairo-surface.c | 9 +++------
11359 src/cairoint.h | 2 --
11360 3 files changed, 3 insertions(+), 10 deletions(-)
11362 commit b72fe9bb5ff20bfc3d30a8a4bb353e52818b5fb7
11363 Author: Chris Wilson <chris@chris-wilson.co.uk>
11364 Date: Thu Apr 10 16:48:42 2008 +0100
11366 [cairo-arc] Check that the context is not error before proceeding.
11368 We depend on values stored on the context that become invalid upon an
11369 error, so stop processing as soon as an error occurs. Prior to
11370 adjusting, the values returned from the error context, this would cause
11371 an infinite loop whilst calculating the number of segments required for
11374 src/cairo-arc.c | 3 +++
11375 1 file changed, 3 insertions(+)
11377 commit f6834dacef3e6f798c54829b9a309c8f96ed39f5
11378 Author: Chris Wilson <chris@chris-wilson.co.uk>
11379 Date: Thu Apr 10 16:43:10 2008 +0100
11381 [cairo] Return defaults when the context is in error.
11383 Return the default values instead of zero for an error context. This
11384 helps to prevent application logic faults when using the values from
11385 the error context (for an example, see _cairo_arc_in_direction()).
11387 src/cairo.c | 16 ++++++++--------
11388 1 file changed, 8 insertions(+), 8 deletions(-)
11390 commit 68f53282b9a7ebf1bb2117b5a630237f458b99b0
11391 Author: Chris Wilson <chris@chris-wilson.co.uk>
11392 Date: Thu Apr 10 14:58:30 2008 +0100
11394 [xlib] Clear the Visual cache upon display closure.
11396 Clear the Visual cache, similarly to flushing the GC cache, upon
11399 src/cairo-xlib-screen.c | 16 +++++++++-------
11400 1 file changed, 9 insertions(+), 7 deletions(-)
11402 commit a2608cdde54dd677290da83cc9f8b98b139ff774
11403 Author: Chris Wilson <chris@chris-wilson.co.uk>
11404 Date: Thu Apr 10 14:56:12 2008 +0100
11406 [xlib] Convert the Visual cache to use the screen mutex.
11408 Use the per-screen mutex, introduced for the GC cache, to lock access to
11409 the Visual cache (instead of the per-display mutex).
11411 src/cairo-xlib-screen.c | 25 +++++++++++++------------
11412 1 file changed, 13 insertions(+), 12 deletions(-)
11414 commit dc714106e156cb7901e376c0935922446ae9bcdf
11415 Author: Chris Wilson <chris@chris-wilson.co.uk>
11416 Date: Thu Apr 10 14:49:47 2008 +0100
11418 [xlib] Add locking around GC cache.
11420 The per-screen cached of most-recently freed GCs lacks suitable locking
11421 for it to be threadsafe.
11423 src/cairo-xlib-private.h | 1 +
11424 src/cairo-xlib-screen.c | 31 +++++++++++++++++++++----------
11425 2 files changed, 22 insertions(+), 10 deletions(-)
11427 commit 9166686abd92f8b2c7067002b051220e2f8fe780
11428 Author: Adrian Johnson <ajohnson@redneon.com>
11429 Date: Fri Apr 11 22:50:52 2008 +0930
11431 Refresh text-rotate PS reference image
11433 test/text-rotate-ps-ref.png | Bin 6878 -> 6796 bytes
11434 1 file changed, 0 insertions(+), 0 deletions(-)
11436 commit c5814d2aa3cb68a13bc9cc8b6a47f660febcad71
11437 Author: Adrian Johnson <ajohnson@redneon.com>
11438 Date: Fri Apr 11 21:42:19 2008 +0930
11440 PS: Fix inefficient implementation of Tm/Td operators that was crashing printers
11442 The Td and Tm operator emulation were setting the font matrix like this:
11444 /some_font [xx yx xy yy x0 y0] selectfont
11446 where [xx yx xy yy] is the font matrix and [x0 y0] is the position of
11447 the first glyph to be drawn. This seemed to be the easiest way to
11448 emulate the Tm operator since the six arguments to Tm required by PDF
11449 are xx,yx,xy,yy,x0,y0.
11451 Before the switch to pdf-operators the font matrix was set like this:
11453 /somefont [xx yx xy yy 0 0] selectfont x0 y0 moveto
11455 The selectfont operator is equivalent to calling findfont, makefont,
11456 and setfont. The makefont operator creates a new font dictionary for
11457 specified font that contains the specified font matrix. The
11458 description of the makefont operator in the PostScript Language
11459 Reference Manual states:
11461 "The interpreter keeps track of font dictionaries recently created
11462 by makefont. Calling makefont multiple times with the same font and
11463 matrix will usually return the same font rather than create a new
11466 So the emulation of Tm and Td was creating a new font dictionary every
11467 time a text string was displayed due to the change in the translation
11468 components of the font matrix. Previously the font dictionary was
11469 re-used as with the translation components of the matrix set to zero,
11470 the font matrix did not change frequently.
11472 Some printers did not handle well the frequent creation a font
11473 dictionary every time a few glyphs were displayed.
11475 Fix this by ensuring the translation components of the font matrix
11476 used in the emulation of Tm and Td operators is always set to
11477 zero. Use moveto instead for the translation components.
11479 src/cairo-ps-surface.c | 9 +++++----
11480 1 file changed, 5 insertions(+), 4 deletions(-)
11482 commit 0ac8130ae3d74a09343f4b9a2d69f938910b4ab9
11483 Merge: eac9251 11299ae
11484 Author: Carl Worth <cworth@cworth.org>
11485 Date: Thu Apr 10 18:07:12 2008 -0700
11487 Merge in origin/master, (just a few 1.5.21 changes alongside 1.6.0 release)
11489 commit eac9251d9a78e8d7bf00098b367a5176ed7dbce6
11490 Author: Carl Worth <cworth@cworth.org>
11491 Date: Thu Apr 10 18:02:59 2008 -0700
11493 Increment version to 1.6.1 after 1.6.0 release
11495 configure.in | 2 +-
11496 1 file changed, 1 insertion(+), 1 deletion(-)
11498 commit 11299ae5c5374f0b754636635c0df82fd30e3ffc
11499 Author: Behdad Esfahbod <behdad@behdad.org>
11500 Date: Wed Apr 9 11:17:14 2008 -0500
11502 Add doc/tutorial/src/singular.c
11504 doc/tutorial/src/singular.c | 158 +++++++++++++++++++++++++++++++++++++++++++
11505 src/cairo-matrix.c | 4 ++
11506 2 files changed, 162 insertions(+)
11508 commit 089bf98df1708b77e0a66f52abb83856a93eff9d
11509 Author: Chris Wilson <chris@chris-wilson.co.uk>
11510 Date: Tue Apr 8 15:33:47 2008 +0100
11512 [test] Add group-paint
11514 The experience of running the entire test suite under cairo_push_group()
11515 did at least reveal that there was a potential bug in the pdf backend.
11516 This test is just the simplest of drawing operations - simply filling
11517 the similar surface with solid blue, and then blitting that surface to
11520 test/.gitignore | 1 +
11521 test/Makefile.am | 2 ++
11522 test/group-paint-ref.png | Bin 0 -> 118 bytes
11523 test/group-paint.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++
11524 4 files changed, 60 insertions(+)
11526 commit 39100439cad575b3c542bbe31eaea699ff76b3c8
11527 Author: Chris Wilson <chris@chris-wilson.co.uk>
11528 Date: Tue Apr 8 11:32:51 2008 +0100
11530 Check surface->status and finished in cairo_surface_write_to_png_stream
11532 Cut'n'paste from commit c1f765:
11533 Without these checks, a user could hit an assertion failure by passing
11534 a finished surface to cairo_surface_write_to_png_stream. Now we return
11535 a nice CAIRO_STATUS_SURFACE_FINISHED error in that case instead.
11537 src/cairo-png.c | 6 ++++++
11538 1 file changed, 6 insertions(+)
11540 commit 935b0bbf6e260180298dcd5643b5db3fde7af1fd
11541 Author: Chris Wilson <chris@chris-wilson.co.uk>
11542 Date: Tue Apr 8 10:57:51 2008 +0100
11544 [test/filter-bilinear-extents] Memleak.
11546 Destroy the temporary image surface.
11548 test/filter-bilinear-extents.c | 2 ++
11549 1 file changed, 2 insertions(+)
11551 commit c7cd5b30c4ef3ecf5c1f21257fcfac51308b701d
11552 Author: Carl Worth <cworth@cworth.org>
11553 Date: Tue Apr 8 03:11:50 2008 -0700
11555 Increment cairo version to 1.5.21 after the 1.5.20 snapshot
11557 configure.in | 2 +-
11558 1 file changed, 1 insertion(+), 1 deletion(-)