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
Behdad Esfahbod
855310bc1f
[HACKING] Write some more paragraphs
2008-09-03 11:32:17 -04:00
Chris Wilson
3b7726e3d4
[src/Makefile.am] s/libcairo_la_CFLAGS/INCLUDES/
...
Update the custom rules after the overall to the build system.
2008-09-03 14:07:37 +01:00
Chris Wilson
c18cc5b441
[src/Makefile.am] make check compile fix
...
Minor typo preventing TESTS from building.
2008-09-03 10:20:45 +01:00
Behdad Esfahbod
cf212ddaca
Also test linking when cross-compiling
...
We build the test. Just don't run it.
2008-09-02 22:05:06 -04:00
Behdad Esfahbod
78127c7fb4
[boilerplate/check-link.c] Oops. Add it.
2008-09-02 22:03:05 -04:00
Behdad Esfahbod
bd9743b318
[HACKING] Improve win32 note.
2008-09-02 22:01:37 -04:00
Behdad Esfahbod
0234fb9197
[boilerplate/check-link.c] Check that we can link to the built boilerplate
2008-09-02 22:00:05 -04:00
Behdad Esfahbod
7e45937e21
[boilerplate] Add cairo_boilerplate_version[_string]() functions
2008-09-02 21:56:37 -04:00
Behdad Esfahbod
a7951081f1
Move _GNU_SOURCE declarations to where it's used
...
Such that we don't rely on more GNU extensions accidentally.
2008-09-02 21:54:09 -04:00
Behdad Esfahbod
b4cee2bd88
[boilerplate] Remove obsolete reference to pixman
2008-09-02 21:36:20 -04:00
Behdad Esfahbod
e3d190c92f
[boilerplate] Cleanup
2008-09-02 21:35:18 -04:00
Behdad Esfahbod
af0069c1c4
[autogen.sh] Create dummy src/Config.mk so we can bootstrap
2008-09-02 21:31:47 -04:00
Behdad Esfahbod
2823ebaa6e
[src/check-link.c] Simple test to check we can link to the built cairo.so
2008-09-02 21:31:43 -04:00
Behdad Esfahbod
5926257770
Revamp the build system.
...
Quick summary of changes:
- Move list of cairo source files out of src/Makefile.am and into
src/Sources.mk,
- Generate files src/Config.mk and src/Config.mk.win32 that choose
the right set of source files and headers based on configured
backends and features. This drastically simplifies building
using other build systems. The src/Makefile.win32 file needs
to be updated to reflect these changes.
- Add README files to various directories,
- Add toplevel HACKING file.
2008-09-02 20:24:08 -04:00
Behdad Esfahbod
5cb3e66305
[configure.in] Create temp file in current dir
...
Such that we can use the CAIRO_CONFIG_COMMANDS macro to regenerate
files in $srcdir and still be readonly-source-tree happy if nothing
changed in the target file.
2008-09-02 20:24:07 -04:00
Behdad Esfahbod
e977f32346
[configure.in] Create backend .pc files using CAIRO_CONFIG_COMMANDS
2008-09-02 20:24:07 -04:00
Behdad Esfahbod
1bdd6110f6
[configure.in] Consistently use _save_cflags/libs
2008-09-02 20:24:06 -04:00
Behdad Esfahbod
004012f1bc
[configure.in] Cache WARN_UNUSED_RESULT test results
2008-09-02 20:24:05 -04:00
Behdad Esfahbod
ac24642614
[configure.in] Use warning-flag facilities for -fno-strict-aliasing
2008-09-02 20:24:05 -04:00
Behdad Esfahbod
d28243785a
[configure.in] Remove unused MMX checks
...
Leftover from pixman days
2008-09-02 20:24:04 -04:00
Behdad Esfahbod
74cd03be70
[configure.in] Cache atomic-ops check results
2008-09-02 20:24:04 -04:00
Behdad Esfahbod
7af228ab83
[configure.in] Make unsupported-backend warning generation automatic
2008-09-02 20:24:03 -04:00
Behdad Esfahbod
7510aa8033
[configure.in] Define CAIRO_CONFIG_COMMANDS for easier file creation
2008-09-02 20:24:02 -04:00
Behdad Esfahbod
5f1993c53a
[configure] Add user-fonts to list of configured components
2008-09-02 20:24:02 -04:00
Behdad Esfahbod
3385907097
[configure.in] Don't include cairo-features.h in cairo-no-features.h
...
No idea why I did before.
2008-09-02 20:24:01 -04:00
Behdad Esfahbod
5f571290db
[configure.in] Add CAIRO_BEGIN/END_DECLS to config.h
2008-09-02 20:24:00 -04:00
Behdad Esfahbod
2553579cc8
[doc] Clean up doc file names
2008-09-02 20:24:00 -04:00
Behdad Esfahbod
a5a896aae8
Update header glob
2008-09-02 20:23:59 -04:00
Chris Wilson
7b2e8035f2
[cairo-test] Fixup a few memleaks on failure.
...
Free the test image before jumping to UNWIND_CAIRO.
2008-09-02 10:54:13 +01:00
Chris Wilson
a5d33bcbb4
[xlib] Keep a pointer to the cairo_xlib_display_t on the surface.
...
Cleanup the code somewhat by passing cairo_xlib_display_t around
internally as opposed to a Display and then having to lookup the
corresponding cairo_xlib_display_t each time.
[To get a cairo_xlib_display_t from a Display is a list traversal under
mutex (though the element we're looking for is most likely at the start),
but to get the Display is just a lockless pointer dereference.]
2008-09-02 10:49:12 +01:00
Chris Wilson
939b836bfa
[xlib] Use an embedded doubly-linked list for the close display hooks.
...
Kill the allocation and linear search of the close display list on remove,
by embedding a list node into the parent structure.
Original patch by Karl Tomlinson <karlt+@karlt.net>, Mozilla Corporation.
https://bugzilla.mozilla.org/show_bug.cgi?id=453199#c5
2008-09-02 10:08:04 +01:00
Chris Wilson
38f779afcb
[user-font] Propagate status return.
...
An error return possible went unpropagated - fix that. Also whilst in the
vicinity avoid the non-constant initialisation of the local variable
before the antiquated compilers moan.
2008-09-02 09:17:33 +01:00
Chris Wilson
83f390cfc5
[ps] Initialise has_creation_date.
...
Slipped by check-valgrind, since the boilerplate always initialised it
when explicitly setting the date.
2008-09-01 18:24:15 +01:00
Chris Wilson
e955b7399e
Check that lvalue of BITSWAP8() is a uint8_t.
...
The bit-swapping macro uses the full register for intermediate storage so
we need to be careful to only read the low byte when using the result.
[Only the use in ps-surface.c was incorrect, I just converted the other
unsigned chars to uint8_t for consistency.]
2008-09-01 15:36:34 +01:00
Vladimir Vukicevic
d756a4d632
[xlib] check for too-large surface size in create similar to avoid UNSUPPORTED loop
2008-08-28 16:58:52 -07:00
Behdad Esfahbod
894940b81f
Some nasty tracks to make changing version number not cause a total rebuild
...
Quite slick! This comes handy when git-bisect'ing. The canonical version
number is in toplevel cairo-version.h now.
2008-08-28 18:18:23 -04:00
Behdad Esfahbod
ab5c528de2
Undefine PACKAGE* macros defined by autotools
...
We use our own macros. This makes it easier for other build systems.
2008-08-28 17:36:43 -04:00