Behdad Esfahbod
59fafcee8d
[configure.ac.build] Keep private features private
...
For private features:
- Don't list them in cairo-features.h; Define them in config.h instead,
- Don't generate/install a .pc file,
- Don't warn if enabled.
2008-09-10 18:23:45 -04:00
Carl Worth
e0b4f8dc8f
Avoid missing enum warnings with pixman 0.11.9
2008-09-10 14:54:18 -07:00
Carl Worth
bdcdc8400e
Rename _init_pattern_with_snapshot to _cairo_pattern_init_snapshot
2008-09-10 14:54:18 -07:00
Behdad Esfahbod
9016504e2a
[configure.ac.enable] Don't report CFLAGS
...
It's long and not that useful.
2008-09-10 17:22:49 -04:00
Behdad Esfahbod
4059d356b8
[autogen.sh] Make libtoolize silent
2008-09-10 17:22:05 -04:00
Chris Wilson
8abb252b0e
[test/Makefile.am] Update list of reference images.
...
Remove the references to the deleted PS images and the premature
addition of the PDF images.
2008-09-10 20:29:05 +01:00
Chris Wilson
e895ab81f3
[test/Makefile.am] Remove reference to clip-operator-ps-argb32-ref.png
...
The test passes using the general reference image since the PS now
correctly uses the image fallback for the alpha gradients.
2008-09-10 19:02:49 +01:00
Behdad Esfahbod
042ef899a2
[test/pdiff] Fix include syntax
2008-09-10 13:57:17 -04:00
Chris Wilson
7709f51e13
[boilerplate] Include cairo-compiler-private.h
...
Actually use the compiler specific diverts and defines.
2008-09-10 18:30:45 +01:00
Chris Wilson
84a7a9955c
[test] Typo in Makefile.am
...
s/AC_CPPFLAGS/AM_CPPFLAGS/g
2008-09-10 18:23:31 +01:00
Chris Wilson
bf62798b12
[cairo-compiler-private.h] Divert popen to _popen for MSVC
...
Microsoft uses _popen instead of popen - required to build the
boilerplate but not actually used on Windows (by default)!
2008-09-10 18:21:50 +01:00
Behdad Esfahbod
5e5a2b9da7
More fixes for pkgconfig files
...
Should all work now.
2008-09-10 12:41:57 -04:00
Behdad Esfahbod
43a42d0a19
[test/pdiff/Makefile.am] Another automake warning fix
2008-09-10 12:41:32 -04:00
Behdad Esfahbod
95214e80a5
[configure.ac.enable] Fix warning messages
2008-09-10 12:19:21 -04:00
Behdad Esfahbod
9dd9289c4a
Rename cairo-backend.pc.in to cairo-features.pc.in
2008-09-10 12:18:27 -04:00
Behdad Esfahbod
cf71e7c39b
[configure.ac.enable] Actually install pkgconfig files
...
Oops. Reported by Shunichi Fuji.
2008-09-10 12:15:20 -04:00
Behdad Esfahbod
c9a90a808d
[autogen.sh] Make sure ChangeLog exists
2008-09-09 14:37:10 -04:00
Chris Wilson
378b11aaf3
[test] fill-alpha
...
Update alpha value to non-divisable-by-256 number to expose a bug in
pixman where it appears to be mixing in empty registers.
2008-09-09 09:07:34 +01:00
Behdad Esfahbod
c20179b65f
[{test,perf}/Makefile.am] Define html-local target instead of html
...
Fixes automake warning.
2008-09-08 15:17:52 -04:00
Behdad Esfahbod
87dfceb9ec
[Makefile.am] Rename INCLUDES to AM_CPPFLAGS
...
Fixes automake warnings
2008-09-08 15:13:07 -04:00
Behdad Esfahbod
f84e7b6e65
[configure.ac] Opt for more automake warnings and checks
2008-09-08 15:10:06 -04:00
Behdad Esfahbod
a374b349bf
[configure.ac.enable] Make feature hooks take an ENABLED argument
...
Simplifies code.
2008-09-08 15:02:56 -04:00
Chris Wilson
1affc3192b
[test] Add fill-alpha-pattern.
...
A slight variation on the simple fill-alpha theme is that if Company is
truly seeing a regression where we dither, the error on a constant
background will be small and might be missed by the test suite.
2008-09-08 13:34:45 +01:00
Chris Wilson
ee5e6c821f
[test] Add fill-alpha.
...
Benjamin Otte reported "who broke rgba fills? they look dithered with
recent git."
This commit is the result of a skim through the test-suite which revealed
no single test responsible for checking the basic operation of
"set_rgba(); fill();".
2008-09-08 12:34:36 +01:00
Behdad Esfahbod
cdee34c5b7
Back to using autoconf 2.58
2008-09-07 17:01:33 -04:00
Chris Wilson
d478b3e1ef
[cairoint.h] Update LAST_STATUS.
2008-09-07 18:31:29 +01:00
Chris Wilson
7960fc94dc
[ps] Set used level to 3 only if we use native gradients.
...
Set the used level after performing the checks that the native Type2/3
gradients support the pattern.
2008-09-07 15:03:58 +01:00
Chris Wilson
7439c45039
[ps] Only use fallback images if the gradient has non-constant alpha.
...
If the gradient has constant alpha, then we can express it as a flattened
linear gradient. Otherwise, should the opacity vary across the gradient we
need to fallback.
2008-09-07 15:03:47 +01:00
Chris Wilson
94fd60d5ec
[test] Add gradient-constant-alpha.
...
PostScript can handle alpha gradients, iff they have a constant alpha. So
exercise that path.
2008-09-07 15:03:37 +01:00
Chris Wilson
a33f2f6962
Revert "[ps] A flattened gradient is not linear."
...
This reverts commit 85ed37da33 .
Adrian Johnson pointed out that iff the gradient has constant alpha then
it can be flattened. Reverting this commit in order to restore the
capability to handle gradient flattening.
2008-09-07 15:03:21 +01:00
Chris Wilson
1a6f2b08a1
[ps] Support B PDF operator.
...
Add the procedure definition for fill-stroke path operators, B and B*.
2008-09-07 15:02:21 +01:00
Chris Wilson
ab3bb369d5
[ps] Add comments about design of output.
...
Add some snippets from Adrian Johnson about how and why the PS output is
factored in terms of PDF operators.
2008-09-07 15:02:15 +01:00
Chris Wilson
ddb529a59c
[configure.ac] Bump the required version.
...
2.62!!! Hopefully Behdad will notice and rewrite his excellent build
scripts to avoid m4_newline() and m4_expand().
2008-09-07 12:16:29 +01:00
Behdad Esfahbod
c3b05a796e
[configure.ac.enable] Sanitize feature default value
2008-09-06 18:02:21 -04:00
Behdad Esfahbod
c881226afd
[configure.ac.enable] Further break feature configuration hooks
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
31b09965b7
[configure.ac.enable] Move macros around
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
e19103e38d
[configure.ac.enable] Redo cache invalidation to be automatic
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
d520d5432b
[configure.ac.enable] Simplify _CAIRO_ENABLE_FULL
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
ee97873e0d
[configure.ac.bulid] Break feature config into smaller hooks
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
3ed9787f43
[configure.ac.enable] Add CAIRO_FEATURE_IF_ENABLED
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
aba88e3437
[configure.ac.enable] Move all feature configureation to a single hook
...
To be broken up in followup commits.
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
7d39e4cbd7
[configure.ac.enable] Add all-powerful hook registration macro
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
61ef0ebdc3
[.gitignore] Update
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
eddb3f6a84
[configure.ac.enable] More macro cleanup
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
96e45e6779
[configure.ac] Cosmetic
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
a37806a9da
[configure.ac] Quote version macros
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
4edda79e71
[configure.ac] Sanitize feature names
2008-09-06 17:44:17 -04:00
Benjamin Otte
c2062dc8b7
[doc] get rid of various markers that aren't interpreted by gtk-doc
2008-09-06 22:29:47 +02:00
Chris Wilson
d45b3168db
[ps] Use a color_t rather than open-code.
...
Simplify the code by tracking the current solid color with a
cairo_color_t.
2008-09-06 09:10:30 +01:00
Chris Wilson
85ed37da33
[ps] A flattened gradient is not linear.
...
We cannot express an alpha-gradient as a simple linear interpolation
between 2 flattened colors. So fallback.
2008-09-06 09:10:25 +01:00