Commit graph

5675 commits

Author SHA1 Message Date
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
Chris Wilson
c1c86afa87 [ps] Use floating point values when flattening color.
Use the full-precision color values when computing the alpha-blended
color.
2008-09-06 09:10:20 +01:00
Chris Wilson
e583fb061d [type1] Allocate the temporary subsetter on the stack.
Avoid a reasonably small, short-lived malloc by allocating the
cairo_type1_font_subset_t on the stack.
2008-09-06 08:14:43 +01:00
Chris Wilson
0cadd4ab02 [CODING_STYLE] Add vim modeline
Add my vim recipe that most closely matches the coding style. If you can
improve it, please do so!
2008-09-06 08:11:33 +01:00
Behdad Esfahbod
22de0f6b8d [configure.ac] Add some automake options 2008-09-04 23:26:19 -04:00
Behdad Esfahbod
82c91ec681 [util] Fix an automake warning 2008-09-04 23:25:57 -04:00
Behdad Esfahbod
965b0e51ec [test] Do not include "xmalloc.h" directly
Not needed, it's renamed and included by boilerplate directly.
2008-09-04 23:25:27 -04:00
Behdad Esfahbod
620e19e849 [configure.ac] Add AM_PROG_CC_C_O
Needed for per-target flags in test/Makefile.am
2008-09-04 23:09:58 -04:00
Behdad Esfahbod
4edfdb4b15 Rename build/*.ac to build/configure.ac.*.
Also rename configure.in to configure.ac (finally)

	configure.in		-> configure.ac
	build/analysis.ac	-> build/configure.ac.analysis
	build/enable.ac		-> build/configure.ac.enable
	build/system.ac		-> build/configure.ac.system
	build/tools.ac		-> build/configure.ac.tools
	build/version.ac	-> build/configure.ac.version
	build/warnings.ac	-> build/configure.ac.warnings
2008-09-04 22:33:52 -04:00
Behdad Esfahbod
49f060252a Rename build/*.mk to build/Makefile.am.*
Namely:

	build/Analysis.mk  -> build/Makefile.am.analysis
	build/ChangeLog.mk -> build/Makefile.am.changelog
	build/Releasing.mk -> build/Makefile.am.releasing
2008-09-04 22:27:03 -04:00
Behdad Esfahbod
7ad076442d Rename src/*.mk to src/Makefile.*
Namely:

	src/Sources.mk      -> src/Makefile.sources
	src/Config.mk       -> src/Makefile.am.config
	src/Config.mk.win32 -> src/Makefile.win32.config
2008-09-04 22:23:42 -04:00
Behdad Esfahbod
8da361470f [configure.in] Forbid arbitrary CAIRO_ patterns in the output 2008-09-04 21:59:27 -04:00
Behdad Esfahbod
33ed2fffb5 [build/enable.ac] Add a feature "type" argument (font, surface, ...) 2008-09-04 21:13:39 -04:00
Behdad Esfahbod
c8e75f1007 [acinclude.m4] Disallow "_CAIRO" patterns in the output
Eases m4 writing.
2008-09-04 21:13:17 -04:00
Behdad Esfahbod
86ef1dff59 [configure.in] Break CAIRO_BACKEND_ENABLE into feature-specific ones 2008-09-04 19:50:32 -04:00
Behdad Esfahbod
4a96eb79ce [build/enable.ac] Reformat for readability 2008-09-04 17:50:15 -04:00
Behdad Esfahbod
c28882728c [configure.in] Remove unused variables 2008-09-04 17:22:07 -04:00
Behdad Esfahbod
47547cf051 [configure.in] Move report generation to build/enable.ac 2008-09-04 16:41:51 -04:00
Behdad Esfahbod
37f82a4d1b Get rid of CAIRO_LDADD in favor of CAIRO_LIBS 2008-09-04 16:13:05 -04:00
Behdad Esfahbod
44155f7e59 Cleanup configure.in macros 2008-09-04 16:08:41 -04:00
Behdad Esfahbod
0e01534bf0 [boilerplate] Rename xmalloc.[ch] to boilerplate namespace 2008-09-04 15:53:33 -04:00
Behdad Esfahbod
c16b4520ec [autogen.sh] Only search in build/*.ac 2008-09-04 09:07:52 -04:00
Chris Wilson
f92c7c2b25 [autogen] Check build/ for versions.
Add the build/*.mk to extract_version() so that it correctly identifies
our requirements.
2008-09-04 03:06:58 +01:00
Behdad Esfahbod
097c4ac022 [Makefile.am] Use check_PROGRAMS 2008-09-03 20:52:17 -04:00
Behdad Esfahbod
308a2ca928 [doc/public/check-doc-coverage.sh] Also test cairo-undeclared 2008-09-03 20:52:17 -04:00
Behdad Esfahbod
b1ced45f06 [doc] Fix out-of-tree build 2008-09-03 20:52:12 -04:00
Behdad Esfahbod
5c45aa1308 [configure.in] Split in various files
Now the configure.in file mostly holds the backend enabling logic.
The usual cruft has been moved in smaller files named build/*.ac.
2008-09-03 20:06:26 -04:00
Behdad Esfahbod
06ec8b7743 Move some top-level build files into build/ 2008-09-03 19:09:57 -04:00
Vladimir Vukicevic
2cf4b3161c [quartz] move _cairo_quartz_create_cgimage to cairo-quartz-surface.c 2008-09-03 15:34:40 -07:00
Behdad Esfahbod
e3fb4921a3 [configure.in] No, OS X sed is broken in much more than one way, really 2008-09-03 17:53:15 -04:00
Behdad Esfahbod
6213664042 [configure.in] Travis says this time it will work... 2008-09-03 17:21:05 -04:00
Behdad Esfahbod
190a328204 [configure.in] I'm reminded that it's more portable to do -i first... 2008-09-03 17:15:07 -04:00
Behdad Esfahbod
55690639c7 [configure.in] Don't use sed -e. Fixes build on Macs 2008-09-03 17:05:53 -04:00
Behdad Esfahbod
df7e365662 [configure.in] Oops, this m4 quoting is tricky. Another try. 2008-09-03 16:48:43 -04:00
Behdad Esfahbod
f2f1653fcf [configure.in] m4 voodoo 2008-09-03 16:40:35 -04:00
Behdad Esfahbod
3760a01926 [configure.in] Use $SED instead of sed 2008-09-03 16:40:24 -04:00
Behdad Esfahbod
5ea2555c12 [Makefile.am] Move lcov rules to Analysis.mk 2008-09-03 12:16:36 -04:00
Behdad Esfahbod
c8f23c2fcc [Makefile.am] Move releasing rules to Releasing.mk 2008-09-03 12:06:51 -04:00
Behdad Esfahbod
99e2e2d0bb [src/Makefile.am] Minor fix in MAINTAINERCLEANFILES 2008-09-03 12:06:35 -04:00
Behdad Esfahbod
2791d51f6e [src/README] Refer to BIBLIOGRAPHY 2008-09-03 11:41:41 -04:00
Chris Wilson
8992312df0 [scaled-fonts] Cleanup a couple of valgrind warnings.
Beware the propagation of uninitialised variables and forgotten error
codes.
2008-09-03 16:33:49 +01:00