mutter/clutter
Emmanuele Bassi 8a24ad83c9 Add macros for deprecating macros
We want to be able to deprecate macros, but right now the best we can do
is to wrap them with things like:

  #ifndef CLUTTER_DISABLE_DEPRECATED
  # define A_MACRO_I_WANT_TO_DEPRECATE ...
  #endif

Which requires adding a new symbol to the build, and will cause a build
error instead of a compiler/pre-processor warning.

Fortunately, we can use the _Pragma() keyword introduced by C99 and
supported by GCC to add a warning to the output, while leaving the macro
itself intact.

GCC does not have a "deprecated" pragma, so we have to use a generic
warning; this also means we cannot do nifty things like concatenating
strings and the like, as we do for the "deprecated" attribute.

The macro deprecation symbol should have the same affordances as the
function deprecation one, and evaluate to nothing if the required
version is lower than the current version; or if the global toggle for
deprecation warnings is in effect.
2015-07-11 10:18:18 +01:00
..
cally cally-actor: Don't assume X11 backend is used when supported 2015-03-23 11:00:00 +00:00
cex100 docs: Port backend-specific sections to markdown 2014-03-17 23:10:07 +00:00
cogl cogl: Pack ClutterStageCogl a bit more 2015-07-08 11:15:54 +01:00
deprecated Move ClutterModel to the deprecated area 2015-07-07 16:03:31 +01:00
egl egl: Add a way to pause the ClutterMasterClock 2014-05-19 15:48:39 -04:00
evdev evdev: Handle libinput touchpad swipe/pinch gesture events 2015-07-10 21:47:30 +02:00
gdk gdk: Use X11 API only when running under X11 2015-07-09 14:34:11 +01:00
mir docs: Fix a gtk-doc annotation in the Mir backend 2015-03-03 16:14:15 +00:00
osx osx: Clean up installed clutter-osx.h header 2014-12-15 16:51:05 +00:00
tslib Avoid needless event copies when queueing from a backend to a stage 2014-03-15 19:44:57 +00:00
wayland Fix scaling of pointer axis vectors 2014-05-28 10:20:13 +01:00
win32 clutter-event-win32.c: Avoid a Crash 2014-03-20 22:37:17 +08:00
x11 x11: don't create the libinput tapping property 2015-07-07 16:03:31 +01:00
clutter-action.c
clutter-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-actor-box.c docs: Fix syntax errors in annotations 2013-12-04 16:09:09 +00:00
clutter-actor-meta-private.h
clutter-actor-meta.c Use the new macros for adding private data 2013-07-03 18:04:32 +01:00
clutter-actor-meta.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-actor-private.h ClutterActor: expose setter for the opacity override 2015-02-21 00:26:40 +00:00
clutter-actor.c actor: Use CLUTTER_NEARBYINT instead of C integer casting 2015-07-10 14:33:25 +01:00
clutter-actor.h actor: Add bind_model_with_properties() 2015-07-10 11:26:34 +01:00
clutter-align-constraint.c constraints: Clamp updated allocation to the nearest pixel 2012-06-27 21:28:01 +01:00
clutter-align-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-animatable.c animatable: Disable deprecation warnings 2012-04-27 14:21:56 +01:00
clutter-animatable.h Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-autocleanups.h Add autocleanup macros for Clutter types 2015-07-07 16:03:31 +01:00
clutter-backend-private.h backend: Remove unnecessary private data structure 2015-07-08 11:10:45 +01:00
clutter-backend.c backend: Remove unnecessary private data structure 2015-07-08 11:10:45 +01:00
clutter-backend.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-base-types.c Deprecate ClutterGeometry 2013-04-04 11:53:39 +01:00
clutter-bezier.c debug: Clean up debugging notes 2011-10-17 10:24:25 +01:00
clutter-bezier.h
clutter-bin-layout.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-bin-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-bind-constraint.c Revert "bind-constraint: Update the preferred size" 2014-12-16 13:33:16 +00:00
clutter-bind-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-binding-pool.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-binding-pool.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-blur-effect.c blur-effect: Fix the blur filter 2012-09-03 21:18:43 +01:00
clutter-blur-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-box-layout.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-box-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-brightness-contrast-effect.c brightness-contrast-effect: Don't actually run if it will have no effect 2012-09-03 05:02:48 -03:00
clutter-brightness-contrast-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-cairo.c Fixes for the API reference 2012-04-27 12:30:48 +01:00
clutter-cairo.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-canvas.c Depend on a Cairo release with cairo_surface_set_device_scale() 2015-01-22 14:13:11 +00:00
clutter-canvas.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-child-meta.c
clutter-child-meta.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-click-action.c click-action: disconnect signals and gsources on dispose 2013-09-10 21:48:42 +01:00
clutter-click-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-clone.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-clone.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-cogl-compat.h Reduce our internal dependence on the Cogl 1.x api 2012-02-21 17:46:11 +00:00
clutter-color-static.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-color.c docs: Remove leftover DocBook tags 2015-03-12 20:22:57 +00:00
clutter-color.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-colorize-effect.c Pass a CoglContext when calling cogl_pipeline_new 2012-02-21 17:46:11 +00:00
clutter-colorize-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-config.h.in
clutter-config.h.win32 clutter-config.h.win32: Add CLUTTER_INPUT_NULL 2011-11-14 13:33:04 +08:00
clutter-config.h.win32_GDK Visual C++ support: Add support to build GDK backend 2012-05-14 16:18:13 +08:00
clutter-constraint-private.h constraint: Add the ability to update the preferred size 2014-12-16 00:37:06 +00:00
clutter-constraint.c constraint: Fix update_allocation()'s return value 2014-12-16 00:46:16 +00:00
clutter-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-container.c Use new introspection annotation syntax 2014-12-15 23:45:25 +00:00
clutter-container.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-content-private.h content: Make get_preferred_size() public 2012-03-16 12:33:37 +00:00
clutter-content.c canvas: Add canvas size to the ::draw signal 2012-03-16 12:33:37 +00:00
clutter-content.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-debug.h debug: Simple whitespace cleanups 2011-11-18 17:54:19 +00:00
clutter-deform-effect.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-deform-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-deprecated.h Move ClutterModel to the deprecated area 2015-07-07 16:03:31 +01:00
clutter-desaturate-effect.c Pass a CoglContext when calling cogl_pipeline_new 2012-02-21 17:46:11 +00:00
clutter-desaturate-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-device-manager-private.h input-device: Add vendor/product ID properties and getters 2015-01-09 17:01:22 +01:00
clutter-device-manager.c device-manager: Don't emit device-removed with a finalized instance 2013-11-21 19:34:14 +01:00
clutter-device-manager.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-drag-action.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-drag-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-drop-action.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-drop-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-easing.c timeline: Add cubic-bezier() progress functions 2012-07-19 22:13:24 -04:00
clutter-easing.h timeline: Add cubic-bezier() progress functions 2012-07-19 22:13:24 -04:00
clutter-effect-private.h
clutter-effect.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-enum-types.c.in Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-enum-types.h.in Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-enums.h event: Add pinch/swipe gesture event types and structs 2015-07-10 21:47:01 +02:00
clutter-event-private.h Add API to install an event filter 2013-11-14 14:32:17 -05:00
clutter-event-translator.c
clutter-event-translator.h
clutter-event.c clutter-event: Add API around touchpad gesture events 2015-07-10 21:47:30 +02:00
clutter-event.h clutter-event: Add API around touchpad gesture events 2015-07-10 21:47:30 +02:00
clutter-feature.c docs: Minimal fixes for the API reference 2015-03-03 15:53:04 +00:00
clutter-feature.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-fixed-layout.c fixed-layout: Remove the NO_LAYOUT flag set 2012-01-27 15:45:11 +00:00
clutter-fixed-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-flatten-effect.c
clutter-flatten-effect.h
clutter-flow-layout.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-flow-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-gesture-action-private.h gesture: Make threshold-trigger-edge public 2013-12-05 15:20:39 +00:00
clutter-gesture-action.c Re-introduce removed GestureAction method 2014-09-03 14:16:31 +01:00
clutter-gesture-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-grid-layout.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-grid-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-group.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-id-pool.c
clutter-id-pool.h
clutter-image.c docs: Fix a typo in ClutterImage example 2015-06-20 18:55:01 +02:00
clutter-image.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-input-device.c input-device: Reset the focused actor when it becomes unreactive 2015-02-06 09:42:17 -08:00
clutter-input-device.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-interval.c Use new introspection annotation syntax 2014-12-15 23:45:25 +00:00
clutter-interval.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-keyframe-transition.c Easing modes are not used when computing the value of a KeyframeTransition 2014-12-11 22:37:22 +00:00
clutter-keyframe-transition.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-keysyms-table.c Include "config.h" 2014-03-17 19:26:49 +00:00
clutter-keysyms-update.pl keysyms-update: Add deprecation guards to the deprecated header 2012-06-11 13:46:38 +01:00
clutter-keysyms.h keysyms: Update the list of key symbols 2015-01-03 20:05:22 +00:00
clutter-layout-manager.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-layout-manager.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-layout-meta.c
clutter-layout-meta.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-macros.h Add macros for deprecating macros 2015-07-11 10:18:18 +01:00
clutter-main.c event: Add pinch/swipe gesture event types and structs 2015-07-10 21:47:01 +02:00
clutter-main.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-marshal.list swipe-action: Introduce new ::swipe signal 2012-12-18 01:27:32 +00:00
clutter-master-clock-default.c Drop the UProf dependency 2015-03-03 17:44:15 +00:00
clutter-master-clock-default.h main: Make the MasterClock an interface 2015-02-17 18:55:23 +00:00
clutter-master-clock.c gdk: implement a MasterClock based on GdkFrameClock 2015-02-17 19:12:40 +00:00
clutter-master-clock.h main: Make the MasterClock an interface 2015-02-17 18:55:23 +00:00
clutter-offscreen-effect-private.h
clutter-offscreen-effect.c ClutterActor: expose setter for the opacity override 2015-02-21 00:26:40 +00:00
clutter-offscreen-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-page-turn-effect.c
clutter-page-turn-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-paint-node-private.h docs: Remove last stray DocBook tags 2014-03-18 14:15:01 +00:00
clutter-paint-node.c docs: Remove leftover DocBook tags 2015-03-12 20:22:57 +00:00
clutter-paint-node.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-paint-nodes.c docs: Remove leftover DocBook tags 2015-03-12 20:22:57 +00:00
clutter-paint-nodes.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-paint-volume-private.h
clutter-paint-volume.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-pan-action.c Add PanAxis mode that automatically pins scroll based on initial movement 2015-06-11 15:47:48 -03:00
clutter-pan-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-path-constraint.c Don't annotate with (transfer full) constructors of GInitiallyUnowned subclasses 2012-10-24 13:17:57 +02:00
clutter-path-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-path.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-path.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-private.h Remove unused pointer 2015-01-01 15:16:40 +00:00
clutter-property-transition.c Use the new macros for adding private data 2013-07-03 18:04:32 +01:00
clutter-property-transition.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-rotate-action.c GestureActions: Set threshold-trigger-edge at right time 2014-02-13 18:53:24 +01:00
clutter-rotate-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-script-parser.c script: Do not overwrite ObjectInfo fields 2014-12-14 23:05:17 +00:00
clutter-script-private.h script: Support ClutterPoint and ClutterSize 2012-04-27 12:30:46 +01:00
clutter-script.c docs: Remove leftover DocBook tags 2015-03-12 20:22:57 +00:00
clutter-script.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-scriptable.c
clutter-scriptable.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-scroll-actor.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-scroll-actor.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-settings-private.h clutter-settings: Mark window-scaling-factor as fixed when set by the app 2014-08-23 14:02:56 +02:00
clutter-settings.c Add missing include 2015-06-10 12:28:59 +01:00
clutter-settings.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-shader-effect.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-shader-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-shader-types.c introspection: assorted annotation fixes ported from Vala 2012-06-12 17:44:16 -07:00
clutter-shader-types.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-snap-constraint.c Bind constraints: Don't force redraws on source relayout 2013-11-26 11:12:12 -05:00
clutter-snap-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-stage-manager-private.h
clutter-stage-manager.c Fix missing/redundant declarations 2012-03-07 12:36:43 +00:00
clutter-stage-manager.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-stage-private.h Avoid needless event copies when queueing from a backend to a stage 2014-03-15 19:44:57 +00:00
clutter-stage-window.c stage-window: Add scaling factor accessors 2013-09-19 22:51:52 +01:00
clutter-stage-window.h docs: Remove last stray DocBook tags 2014-03-18 14:15:01 +00:00
clutter-stage.c docs: Fix typo in ClutterStage::deactivate 2015-05-01 16:51:12 +01:00
clutter-stage.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-swipe-action.c swipe-action: Fix typo 2015-05-26 19:05:20 +02:00
clutter-swipe-action.h docs: Remove last stray DocBook tags 2014-03-18 14:15:01 +00:00
clutter-tap-action.c GestureActions: Set threshold-trigger-edge at right time 2014-02-13 18:53:24 +01:00
clutter-tap-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-test-utils.c docs: Minimal fixes for the API reference 2015-03-03 15:53:04 +00:00
clutter-test-utils.h docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-text-buffer.c Use the new macros for adding private data 2013-07-03 18:04:32 +01:00
clutter-text-buffer.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-text.c Drop the UProf dependency 2015-03-03 17:44:15 +00:00
clutter-text.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-texture.h docs: Minimal fixes for the API reference 2015-03-03 15:53:04 +00:00
clutter-timeline.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-timeline.h Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-transition-group.c Use the new macros for adding private data 2013-07-03 18:04:32 +01:00
clutter-transition-group.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-transition.c Use new introspection annotation syntax 2014-12-15 23:45:25 +00:00
clutter-transition.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-types.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-units.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-units.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-util.c Add interpolation for matrices 2012-09-03 20:54:43 +01:00
clutter-version.h.in Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-zoom-action.c GestureActions: Set threshold-trigger-edge at right time 2014-02-13 18:53:24 +01:00
clutter-zoom-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter.h Add autocleanup macros for Clutter types 2015-07-07 16:03:31 +01:00
clutter.pc.in build: Add infrastructure for inserting Requires.private into pkg-config files 2012-01-11 12:23:46 +00:00
config.h.win32.in Fix on Last Commit of config.h.win32.in 2014-03-20 09:30:17 +08:00
Makefile.am Add autocleanup macros for Clutter types 2015-07-07 16:03:31 +01:00