mutter/clutter
Robert Bragg 7edcbaa1f9 cogl: improves header and coding style consistency
We've had complaints that our Cogl code/headers are a bit "special" so
this is a first pass at tidying things up by giving them some
consistency. These changes are all consistent with how new code in Cogl
is being written, but the style isn't consistently applied across all
code yet.

There are two parts to this patch; but since each one required a large
amount of effort to maintain tidy indenting it made sense to combine the
changes to reduce the time spent re indenting the same lines.

The first change is to use a consistent style for declaring function
prototypes in headers. Cogl headers now consistently use this style for
prototypes:

 return_type
 cogl_function_name (CoglType arg0,
                     CoglType arg1);

Not everyone likes this style, but it seems that most of the currently
active Cogl developers agree on it.

The second change is to constrain the use of redundant glib data types
in Cogl. Uses of gint, guint, gfloat, glong, gulong and gchar have all
been replaced with int, unsigned int, float, long, unsigned long and char
respectively. When talking about pixel data; use of guchar has been
replaced with guint8, otherwise unsigned char can be used.

The glib types that we continue to use for portability are gboolean,
gint{8,16,32,64}, guint{8,16,32,64} and gsize.

The general intention is that Cogl should look palatable to the widest
range of C programmers including those outside the Gnome community so
- especially for the public API - we want to minimize the number of
foreign looking typedefs.
2010-02-12 14:05:00 +00:00
..
cogl cogl: improves header and coding style consistency 2010-02-12 14:05:00 +00:00
eglnative Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
eglx Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
fruity Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
glx cogl: deprecates cogl_check_extension 2010-02-12 14:05:00 +00:00
json build: Use QUIET_GEN when building ClutterJson GIR 2009-10-18 17:11:42 +01:00
osx osx: Fix a warning on Snow Leopard 2009-11-06 11:48:42 +00:00
win32 win32: Use a dummy window to support delayed stage creation 2010-02-03 16:34:27 +00:00
x11 glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-actor.c never presume queuing redraws on invisible actors is redundant 2010-02-12 14:05:00 +00:00
clutter-actor.h actor: Add :has-pointer property 2010-01-20 00:38:08 +00:00
clutter-alpha.c script: Use a node when resolving an animation mode 2010-02-08 15:45:43 +00:00
clutter-alpha.h
clutter-animatable.c
clutter-animatable.h
clutter-animation.c script: Use a node when resolving an animation mode 2010-02-08 15:45:43 +00:00
clutter-animation.h
clutter-animator.c animator: Zero the AnimatorKey:value member 2010-02-08 17:55:29 +00:00
clutter-animator.h docs: Fixes for ClutterAnimator 2010-02-08 17:37:00 +00:00
clutter-backend.c uprof: make the Redrawing timer a child of the Master Clock 2010-02-10 15:04:53 +00:00
clutter-backend.h [backends] Remove the idea of offscreen stages from all backends 2009-10-16 18:58:47 +01:00
clutter-behaviour-depth.c
clutter-behaviour-depth.h
clutter-behaviour-ellipse.c
clutter-behaviour-ellipse.h Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-opacity.c behaviour: Clean up BehaviourOpacity 2010-02-02 12:54:51 +00:00
clutter-behaviour-opacity.h
clutter-behaviour-path.c
clutter-behaviour-path.h docs: Fix the 'Since' annotation for some functions 2009-11-19 11:51:21 +00:00
clutter-behaviour-rotate.c
clutter-behaviour-rotate.h
clutter-behaviour-scale.c Remove the last few fixed-point entry points 2009-06-19 16:38:35 +01:00
clutter-behaviour-scale.h
clutter-behaviour.c behaviour: Implement the implicit alpha parsing 2009-11-06 11:39:30 +00:00
clutter-behaviour.h
clutter-bezier.c [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
clutter-bezier.h
clutter-bin-layout.c Fix some compiler warnings 2010-02-09 16:58:03 +00:00
clutter-bin-layout.h
clutter-binding-pool.c Pass the interned string value to the binding callback 2009-11-17 21:32:17 +00:00
clutter-binding-pool.h
clutter-box-layout.c box-layout: Remove the allocations hash table 2009-12-23 10:36:46 +00:00
clutter-box-layout.h box-layout: Add knobs for controlling animations 2009-12-13 01:15:02 +00:00
clutter-box.c box: port a ClutterGroup::foreach fix to ClutterBox 2010-02-12 12:31:24 +00:00
clutter-box.h box: Add relative packing methods 2009-12-04 16:54:22 +00:00
clutter-cairo-texture.c
clutter-cairo-texture.h
clutter-child-meta.c
clutter-child-meta.h
clutter-clone.c clone: Set :source as CONSTRUCT 2009-10-22 15:51:06 +01:00
clutter-clone.h [docs] Bring down the undocumented symbols to 2% 2009-03-16 15:00:55 +00:00
clutter-color.c color: Fix HLS-to-RGB conversion 2009-10-26 16:29:31 +00:00
clutter-color.h
clutter-container.c
clutter-container.h
clutter-debug.h debug: Adds CLUTTER_DEBUG=disable-swap-events option 2010-02-09 22:19:41 +00:00
clutter-deprecated.h
clutter-device-manager.c docs: Documentation fixes for DeviceManager 2010-01-20 00:38:53 +00:00
clutter-device-manager.h docs: Update the API reference 2010-01-20 00:38:08 +00:00
clutter-enum-types.c.in
clutter-enum-types.h.in 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00
clutter-event.c Move all picking-related operations inside InputDevice 2010-01-20 00:38:08 +00:00
clutter-event.h device: Make InputDevice an object and subclass it for X11 2010-01-20 00:38:08 +00:00
clutter-feature.c feature: Make sure we have a GL context 2010-02-03 16:34:27 +00:00
clutter-feature.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-fixed-layout.c
clutter-fixed-layout.h
clutter-fixed.c
clutter-fixed.h
clutter-flow-layout.c Fix some compiler warnings 2010-02-09 16:58:03 +00:00
clutter-flow-layout.h
clutter-frame-source.c Whitespace fixes 2010-02-01 10:40:34 +00:00
clutter-frame-source.h
clutter-group.c never presume queuing redraws on invisible actors is redundant 2010-02-12 14:05:00 +00:00
clutter-group.h
clutter-id-pool.c
clutter-id-pool.h
clutter-input-device.c input-device: Do not pick() on NULL stages 2010-02-10 17:13:33 +00:00
clutter-input-device.h device: Add the :name property to InputDevice 2010-01-20 00:38:09 +00:00
clutter-interval.c Simple coding style fix for commit c5551184 2009-10-16 15:57:21 +01:00
clutter-interval.h
clutter-json.h.in
clutter-keysyms-table.h
clutter-keysyms.h
clutter-layout-manager.c layout-manager: Document the animation support 2009-12-23 10:37:10 +00:00
clutter-layout-manager.h layout: Let begin_animation() return the Alpha 2009-12-13 01:23:54 +00:00
clutter-layout-meta.c
clutter-layout-meta.h layout: Add padding to LayoutMeta 2009-12-02 11:36:25 +00:00
clutter-list-model.c
clutter-list-model.h
clutter-main.c Do a sanity check on _clutter_do_pick() arguments 2010-02-10 17:20:31 +00:00
clutter-main.h Remove clutter_set_default_text_direction() 2009-12-07 19:00:55 +00:00
clutter-marshal.list Add ClutterDeviceManager 2010-01-20 00:38:07 +00:00
clutter-master-clock.c glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-master-clock.h
clutter-media.c media: Add an API to specify which font should be used for subtitles 2010-01-11 13:04:16 +00:00
clutter-media.h media: Add an API to specify which font should be used for subtitles 2010-01-11 13:04:16 +00:00
clutter-model-private.h
clutter-model.c
clutter-model.h
clutter-path.c docs: Use % for defines not # 2010-02-04 21:10:02 +00:00
clutter-path.h
clutter-private.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-profile.c profiling: Allow limiting statisics just to picking 2010-01-08 20:19:50 +00:00
clutter-profile.h profiling: Allow limiting statisics just to picking 2010-01-08 20:19:50 +00:00
clutter-rectangle.c never presume queuing redraws on invisible actors is redundant 2010-02-12 14:05:00 +00:00
clutter-rectangle.h
clutter-score.c
clutter-score.h
clutter-script-parser.c script: Use a node when resolving an animation mode 2010-02-08 15:45:43 +00:00
clutter-script-private.h script: Use a node when resolving an animation mode 2010-02-08 15:45:43 +00:00
clutter-script.c script: Coding style clean-ups 2009-11-06 14:07:46 +00:00
clutter-script.h
clutter-scriptable.c
clutter-scriptable.h
clutter-shader-types.c
clutter-shader-types.h
clutter-shader.c
clutter-shader.h
clutter-stage-manager.c docs: Documentation fixes 2009-10-19 12:01:38 +01:00
clutter-stage-manager.h docs: Annotate StageManager 2009-12-02 11:38:04 +00:00
clutter-stage-window.c glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-stage-window.h glx backend: Adds support for GLX_INTEL_swap_event 2010-02-09 22:19:41 +00:00
clutter-stage.c never presume queuing redraws on invisible actors is redundant 2010-02-12 14:05:00 +00:00
clutter-stage.h [stage] Add set/get_minumum_size 2010-02-06 11:23:37 +00:00
clutter-text.c never presume queuing redraws on invisible actors is redundant 2010-02-12 14:05:00 +00:00
clutter-text.h text: Add :font-description 2010-02-03 14:38:13 +00:00
clutter-texture.c never presume queuing redraws on invisible actors is redundant 2010-02-12 14:05:00 +00:00
clutter-texture.h
clutter-timeline.c
clutter-timeline.h
clutter-timeout-interval.c Whitespace fixes 2010-02-01 10:40:34 +00:00
clutter-timeout-interval.h
clutter-timeout-pool.c Whitespace fixes 2010-02-01 10:40:34 +00:00
clutter-timeout-pool.h
clutter-types.h Add ClutterAnimator 2010-02-07 18:25:19 +00:00
clutter-units.c Merge branch 'bug-1846' 2009-10-16 15:55:05 +01:00
clutter-units.h
clutter-util.c Deprecate clutter_util_next_p2() 2010-02-06 10:49:33 +00:00
clutter-util.h Deprecate clutter_util_next_p2() 2010-02-06 10:49:33 +00:00
clutter-version.h.in Add run-time version checks 2009-10-30 11:02:35 +00:00
clutter.h Add ClutterAnimator 2010-02-07 18:25:19 +00:00
Makefile.am build: Tweak internal defines for building Clutter 2010-02-10 10:58:14 +00:00