Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-01-28 | [doc] Make sure all macro names in docs are prefixed by % | Behdad Esfahbod | 1 | -2/+2 | |
2007-09-25 | Move GCC attributes wrapping into a separate header. | Chris Wilson | 1 | -0/+1 | |
The wrapping of GCC attributes (such as cairo_private) needs to be visible to any header file, including those that avoid cairoint.h such as cairo-boilerplate. To achieve this we move the pre-processor magic to its own header file and include it as required. | |||||
2007-08-23 | Remove include of cairoint.h from *-private.h header files. | Carl Worth | 1 | -1/+3 | |
These were recently added, (as part of sparse integration?), but they break boilerplate which reaches into at least cairo-types-private.h and cairo-scaled-font-private.h. But boilerplate cannot see cairoint.h or else it gets the internal sybol renaming, (with the INT_ prefix), and then all the test suite tests refuse to link. If this change reverts some recently-added functionality, (or cleanliness), then we'll just need to find some other way to add that back again without the breakage. | |||||
2007-08-22 | [Makefile.am] Add target sparse to run sparse static source code analyzer | Behdad Esfahbod | 1 | -3/+1 | |
There are still some bits not quite working. | |||||
2007-05-01 | [cairo-mutex] Rewrite defaults for CAIRO_MUTEX macros not defined by the ↵ | Behdad Esfahbod | 1 | -26/+67 | |
implementation to make them better match the design I have in mind, that I will document in a minute. They are a lot more readable and understandable now. | |||||
2007-05-01 | [cairo-mutex] Fix usage of CAIRO_MUTEX_DECLARE() | Behdad Esfahbod | 1 | -3/+1 | |
Previously cairo-mutex.c was abusing cairo-mutex-private.h by defining CAIRO_MUTEX_DECLARE before including it, and cairo-mutex-private.h was simply not overriding any available CAIRO_MUTEX_DECLARE. This is not the way it should be. cairo-mutex.c should instead define CAIRO_MUTEX_DECLARE and include cairo-mutex-list-private.h for itself. | |||||
2007-05-01 | [cairo-mutex] Make sure mutex implementation declares enough macros | Behdad Esfahbod | 1 | -0/+11 | |
We have defaults for the rest. | |||||
2007-05-01 | [cairo-mutex] Make CAIRO_MUTEX_INIT/FINI take mutex object, not pointer to it | Behdad Esfahbod | 1 | -1/+1 | |
This is more consistent with CAIRO_MUTEX_LOCK/UNLOCK. | |||||
2007-05-01 | [cairo-mutex] Make sure CAIRO_MUTEX_FINI() evaluates its argument once | Behdad Esfahbod | 1 | -1/+1 | |
2007-05-01 | [cairo-mutex] Rename macro arguments from "name" to "mutex" | Behdad Esfahbod | 1 | -3/+3 | |
2007-05-01 | [cairo-mutex-private.h] Move implementation-specific parts to ↵ | Behdad Esfahbod | 1 | -79/+2 | |
cairo-mutex-type-private.h This fixes the problem reported by Dave Yeo that boilerplate wasn't building: In file included from ../src/cairo-scaled-font-private.h:44, from cairo-boilerplate.c:65: ../src/cairo-mutex-private.h:183: error: syntax error before "extern" ../src/cairo-mutex-private.h:184: error: syntax error before "void" ../src/cairo-mutex-private.h:185: error: syntax error before "void" make[3]: *** [cairo-boilerplate.lo] Error 1 | |||||
2007-04-30 | [cairo-mutex] Fix CAIRO_MUTEX_FINALIZE definition to take parantheses | Behdad Esfahbod | 1 | -1/+1 | |
This was breaking build on some systems as reported by Adrian Johnson on the list. | |||||
2007-04-30 | Fix cygwin compile error | Adrian Johnson | 1 | -12/+0 | |
The WINVER macros need to be defined before including <windows.h>. As a result of some recent include file rearranging, <windows.h> was included indirectly before WINVER was defined. | |||||
2007-04-22 | [cairo-mutex] Add a poor man's mutex implementation in case of CAIRO_NO_MUTEX | Behdad Esfahbod | 1 | -5/+8 | |
just for fun. | |||||
2007-04-22 | [BeOS] Add mutex implementation | Behdad Esfahbod | 1 | -11/+6 | |
2007-04-22 | [cairo-mutex] Properly paranthesize macro arguments | Behdad Esfahbod | 1 | -6/+6 | |
2007-04-20 | Fix build break related to mutexes on OS/2 | Peter Weilbacher | 1 | -1/+1 | |
cairo_mutex_t is HTMX which is ULONG on OS/2, so we have to set the mutex itself to 0 and not the address... | |||||
2007-04-19 | [cairo-mutex] If no mutex implementation is found, should #error instead of ↵ | Behdad Esfahbod | 1 | -2/+2 | |
#warning otherwise we will cause compile errors before the sanity check macros get a chance to err. | |||||
2007-04-19 | [cairo-mutex] Switch to HAVE_WINDOWS_H to use Win32 mutexes | Behdad Esfahbod | 1 | -1/+1 | |
2007-04-19 | [cairo-commit] Update attribution headers in cairo-mutex-private.h | Behdad Esfahbod | 1 | -1/+2 | |
2007-04-19 | [cairo-mutex] Warn if no mutex definition found and let sanity macros err | Behdad Esfahbod | 1 | -3/+5 | |
about undefined CAIRO_MUTEX macros. | |||||
2007-04-19 | [cairo-mutex] Support non-reentrant compilation if CAIRO_NO_MUTEX defined | Behdad Esfahbod | 1 | -1/+9 | |
to 1. | |||||
2007-04-19 | [cairo-commit] Just warn for BeOS and let the sanity check macros err | Behdad Esfahbod | 1 | -7/+3 | |
about undefined CAIRO_MUTEX macros. | |||||
2007-04-19 | [cairo-mutex] Prefer "#if CAIRO_SOMETHING" over "#if defined CAIRO_SOMETHING" | Behdad Esfahbod | 1 | -2/+2 | |
2007-04-19 | [cairo-mutex] Add default implementation for CAIRO_MUTEX_INIT | Behdad Esfahbod | 1 | -4/+7 | |
that uses CAIRO_MUTEX_NIL_INITIALIZER. This used to be the implementation for pthread because pthread_mutex_init() is broken. See d48bb4fbe876a93199ba48fcf5f32734fbe18ba9. | |||||
2007-04-19 | [cairo-mutex] Add default no-op implementation for CAIRO_MUTEX_FINI | Behdad Esfahbod | 1 | -0/+6 | |
2007-04-19 | [cairo-mutex] Use CAIRO_MUTEX_NOOP when applicable | Behdad Esfahbod | 1 | -1/+1 | |
2007-04-19 | [cairo-mutex] Err if at least one of mutex macros are not defined | Behdad Esfahbod | 1 | -0/+23 | |
2007-04-19 | [cairo-mutex] Define and use CAIRO_MUTEX_USE_GENERIC_INITIALIZATION | Behdad Esfahbod | 1 | -0/+9 | |
We use the generic initialization if CAIRO_MUTEX_INITIALIZE is not defined. | |||||
2007-04-19 | [cairo-mutex] Define CAIRO_MUTEX_NOOP | Behdad Esfahbod | 1 | -0/+6 | |
2007-04-19 | [cairo-mutex] Inlucde cairo-features.h and config.h | Behdad Esfahbod | 1 | -0/+6 | |
Previously we were lucky enough to have them included before us | |||||
2007-04-19 | [cairo-mutex] Remove unneeded #undef CAIRO_MUTEX_EXTERNAL | Behdad Esfahbod | 1 | -8/+0 | |
2007-04-19 | Introduce CAIRO_MUTEX_FINALIZE as counter-part for CAIRO_MUTEX_INITIALIZE | Mathias Hasselmann | 1 | -1/+7 | |
2007-04-12 | Rename cairo-mutex-list.h to cairo-mutex-list-private.h | Carl Worth | 1 | -1/+1 | |
Also add it (and cairo-mutex-private.h) to Makefile.am where they should have been. | |||||
2007-03-20 | Move declaration of cairo_mutex_t to cairo-mutex-private.h | Mathias Hasselmann | 1 | -9/+44 | |
2007-03-20 | Initialize mutexes at central location. | Mathias Hasselmann | 1 | -0/+123 | |
All mutex declarations have been moved to cairo-mutex-list.h. This should avoid breaking of less frequently tested backends, when mutexes are introduced or when existing mutexes are renamed. Instead of initializing mutexes on library startup, mutexes are lazily initialized within the few entry points of now by calling CAIRO_MUTEX_INITIALIZE(). Currently only the OS/2 backend takes care about releasing global mutexes. Therefore there is no counter part of that macro for finalizing all global mutexes yet - but as cairo-backend-os2.c shows such a function would be quite easy to implement. |