Commit graph

5741 commits

Author SHA1 Message Date
Behdad Esfahbod
66f0d56a8a [aclocal.enable.m4] Escape shell arguments 2008-09-11 15:31:28 -04:00
Behdad Esfahbod
90210ac4ac [autogen.sh] Quote ORIGDIR 2008-09-11 15:31:28 -04:00
Chris Wilson
e9e439a7a8 [test] Check for updated reference images.
Delete the results of previous runs if the reference images are more
recent.

There's still potential error if the conversion utility or its required
libraries are modified...
2008-09-11 12:58:48 +01:00
Adrian Johnson
e1c1bba3ff Update user-font-proxy PDF/PS ref images 2008-09-11 19:00:17 +09:30
Chris Wilson
140ffa6e27 [test] Fix order of deleting images vs checks.
The early-checks assume that the images are still available - so it helps
not to unlink them before comparing results to the previous run.
2008-09-11 10:00:57 +01:00
Adrian Johnson
1cf1b723c7 Return correct status 2008-09-11 18:36:55 +09:30
Adrian Johnson
15dd80c894 Don't overwrite previous status 2008-09-11 18:26:04 +09:30
Behdad Esfahbod
d1560bd687 Mark private symbol so 2008-09-11 04:23:05 -04:00
Behdad Esfahbod
2b4a26f097 [configure.ac] Add CAIRO_BEGINEND_DECLS 2008-09-11 04:21:29 -04:00
Behdad Esfahbod
b7a838261b Move m4 macros into build/aclocal.*.m4 files 2008-09-11 04:17:43 -04:00
Behdad Esfahbod
ac6e4b83e7 [configure.ac.enable] Use AS_CASE 2008-09-11 03:45:51 -04:00
Behdad Esfahbod
7c4fdafc8c [configure.ac.enable] Add some dnl's 2008-09-11 03:30:25 -04:00
Behdad Esfahbod
c358abfb15 [configure.ac.enable] Implement accumulators 2008-09-11 03:08:15 -04:00
Behdad Esfahbod
1efb5e0810 [configure.ac.enable] Don't collect .pc files for builtin features 2008-09-11 01:15:01 -04:00
Behdad Esfahbod
2bc53fb152 [configure.ac] Really fix pixman config 2008-09-11 01:04:13 -04:00
Behdad Esfahbod
f9a332c8fd [configure.ac] Fix pixman requires 2008-09-11 00:49:17 -04:00
Behdad Esfahbod
391bef58fc Add support for always-builtin features in the build system
Like image surface and user fonts.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
4a01b1d9c9 Build -uninstalled.pc files 2008-09-11 00:38:30 -04:00
Behdad Esfahbod
a18c75c3e9 [configure.ac.enable] More fixes for private features
Don't expect pkgconfig files for them.  Also, don't give them a chance
to install public headers.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
771ff1a06e [configure.ac.enable] Don't collect .pc files in win32 Makefile
We only generate them using autotools.  No point.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
c73f58e3a7 [doc] Don't include *.h as sources
No idea why this was done initially but other projects I checked did not
do it.
2008-09-11 00:38:29 -04:00
Adrian Johnson
d878924cf8 PS: execute type3 glyphs in their own dictionary
The PS emulation of the PDF text operators stores some data on the
user dict between calls to operators. When using the PDF text
operators in type 3 glyphs, the PDF operators were overwriting the
same data as the PDF operators in the page. Fix this by creating a new
dictionary to execute each type 3 glyph in.
2008-09-11 08:46:55 +09:30
Adrian Johnson
b56075ee51 Enable show_glyphs inside of in user-font glyphs 2008-09-11 08:41:39 +09:30
Adrian Johnson
c3663324fd Add _cairo_type3_glyph_surface_analyze_glyph()
This function emits the glyph to a null stream with the side effect
that other glyphs referenced by this user-font glyph will be added to
the font subsets.
2008-09-11 08:38:39 +09:30
Adrian Johnson
b74533b5a5 Add null output stream 2008-09-11 08:37:30 +09:30
Adrian Johnson
6772efcdf6 Put user fonts in a separate subset 2008-09-11 08:37:02 +09:30
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