Commit graph

11 commits

Author SHA1 Message Date
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
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
Vladimir Vukicevic
5c7d2d14d7 [fix] Avoid int overflow when allocating large buffers
This patch introduces three macros: _cairo_malloc_ab,
_cairo_malloc_abc, _cairo_malloc_ab_plus_c and replaces various calls
to malloc(a*b), malloc(a*b*c), and malloc(a*b+c) with them.  The macros
return NULL if int overflow would occur during the allocation.  See
CODING_STYLE for more information.
2007-06-29 09:46:08 -07:00
Carl Worth
5570bf0a9e CODING_STYLE: Fix misspellings. 2006-06-06 16:36:24 -07:00
Carl Worth
a21a2e935d CODING_STYLE: Add notes on avoiding trailing whitespace. 2006-06-06 16:28:15 -07:00
Christian Biesinger
6ba7772138 Globally rename "operator" to "op", to allow writing backends in C++
reviewed by: cworth
2005-12-16 03:02:35 +00:00
Carl Worth
c11f0376d4 Revise the description of indentation and tabs to be clear (I hope). 2005-08-23 12:48:17 +00:00
Carl Worth
9fd2f0a25c Add a missing word.
Note that the BadMatch bug has been resolved.
2005-07-07 01:15:21 +00:00
Carl Worth
97ac61700a Fix spelling errors. 2005-06-03 15:56:52 +00:00
Carl Worth
5699072035 Fix Freudian unwrapped line in paragraph describing why long lines should be wrapped. 2005-06-03 15:54:40 +00:00
Carl Worth
36beed9bf1 Add CODING_STYLE document to standardize on some style issues.
Standardize brace handling around all else clauses according to new CODING_STYLE guidelines.
2005-06-03 14:51:57 +00:00