commit aa6ba2c706a5d53d8a994694d021edb0c07f03f2 Author: Emmanuele Bassi Date: Mon Mar 19 15:10:04 2012 +0000 Release Clutter 1.9.16 (1.10 release candidate 1) NEWS | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 65 insertions(+), 1 deletions(-) commit 28266a59ed9082fbf5ce453a498b61e833644786 Author: Emmanuele Bassi Date: Mon Mar 19 14:57:46 2012 +0000 docs: Fixes for the API reference clutter/clutter-event.h | 9 ++++----- doc/reference/clutter/clutter-sections.txt | 5 +++++ 2 files changed, 9 insertions(+), 5 deletions(-) commit 767b14fb2d1cc639cd65604049cfe3fc0abb108f Author: Emmanuele Bassi Date: Mon Mar 19 14:47:55 2012 +0000 conform/anchors: Fix a dubious test Changing the scale gravity should not affect the scale factors as well; it was just a side-effect of the wrong implementation of the setter. tests/conform/actor-anchors.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 5a77f814abfee368e4322d5dacbfce1869bc3149 Author: Emmanuele Bassi Date: Mon Mar 19 14:40:46 2012 +0000 x11/keymap: Silence deprecation warnings around a fallback We still use XKeycodeToKeysym() in a fallback path in case we're not running on a decent enough system; XKeycodeToKeysym() is deprecated as of version 1.12 of the X server, but since I don't want to copy a bunch of code from GDK or, god forbid, from Xlib, for a fallback path, it's probably more reasonable to just silence the compiler warnings - at least until we can drop all the X compatibility crap, and just use modern, or semi-modern, API. clutter/x11/clutter-keymap-x11.c | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) commit 09a317d23dc7d4785c31f8393b54392b5f473f60 Author: Emmanuele Bassi Date: Mon Mar 19 14:28:34 2012 +0000 x11: Add support for touch events For the time being, we just relay everything we get from the X server to the Clutter application. clutter/clutter-event-private.h | 3 + clutter/clutter-event.c | 12 ++ clutter/x11/clutter-backend-x11.c | 5 + clutter/x11/clutter-backend-x11.h | 1 + clutter/x11/clutter-device-manager-xi2.c | 177 +++++++++++++++++++++++++++++- clutter/x11/clutter-input-device-xi2.c | 10 ++ 6 files changed, 207 insertions(+), 1 deletions(-) commit d15b828cc5749772a46bee07277aa1694c67a1fd Author: Emmanuele Bassi Date: Mon Mar 19 13:47:19 2012 +0000 event: Add ClutterTouchEvent The ClutterTouchEvent structure contains the data relative to a touch event. clutter/clutter-enums.h | 18 ++++++++- clutter/clutter-event.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++ clutter/clutter-event.h | 55 ++++++++++++++++++++++++++ clutter/clutter-main.c | 9 ++++ clutter/clutter.symbols | 1 + 5 files changed, 179 insertions(+), 1 deletions(-) commit ab3582be1cca307350389ca6bcb326b4fce35d73 Author: Emmanuele Bassi Date: Mon Mar 19 12:19:26 2012 +0000 gdk: Relay scroll delta from GDK clutter/gdk/clutter-event-gdk.c | 3 +++ clutter/gdk/clutter-stage-gdk.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) commit 1c500f7de9d02c826e333e7dfd90aa8bb677d484 Author: Emmanuele Bassi Date: Mon Mar 19 14:27:54 2012 +0000 x11: Reset scroll valuators We need to clear up the state on enter and leave, as well as when the X server tells us that the device has changed. clutter/x11/clutter-device-manager-xi2.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 676a31743993915437da419551d7c5193f0b9f43 Author: Emmanuele Bassi Date: Mon Mar 19 12:16:53 2012 +0000 x11: Add support for scroll valuators on XInput2.2 clutter/clutter-device-manager-private.h | 23 ++++++ clutter/clutter-input-device.c | 96 ++++++++++++++++++++++++++ clutter/x11/clutter-backend-x11.c | 5 ++ clutter/x11/clutter-device-manager-xi2.c | 111 +++++++++++++++++++++++++++++- 4 files changed, 233 insertions(+), 2 deletions(-) commit 6b07f8a3df5647e752165af44bdea31619f7e8d1 Author: Emmanuele Bassi Date: Mon Mar 19 12:15:41 2012 +0000 event: Expose precise scrolling information Some events may contain precise scrolling information coming from devices like trackpads and touchscreens. ClutterEvent should allow setting and getting this information. clutter/clutter-enums.h | 7 ++++- clutter/clutter-event.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++ clutter/clutter-event.h | 8 +++++ clutter/clutter.symbols | 2 + 4 files changed, 87 insertions(+), 1 deletions(-) commit 4fcd32025580c35b2133369159f411ea508e3d3b Author: Emmanuele Bassi Date: Mon Mar 19 12:13:01 2012 +0000 Check for XInput 2.2 extension configure.ac | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) commit 28bfebc7ec27f01000c3ec1591d3117e8d7f0052 Author: Carles Ferrando Date: Mon Mar 19 01:15:12 2012 +0100 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 1693 +++++++++++++++++++++++++++++++---------------------- 1 files changed, 984 insertions(+), 709 deletions(-) commit 36f8314e320fcb2c489d76c53855a3d582b2ac79 Author: Gil Forcada Date: Mon Mar 19 01:15:07 2012 +0100 [l10n] Updated Catalan translation po/ca.po | 334 +++++++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 209 insertions(+), 125 deletions(-) commit ff10941ac752b5c662fb7983c532fac2599c051e Author: Bruno Brouard Date: Sun Mar 18 21:41:05 2012 +0100 Updated French translation po/fr.po | 1861 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 1069 insertions(+), 792 deletions(-) commit b0a0e5e177c8e5b76d3eb9a305ac3fb58305bf27 Author: Alexander Shopov Date: Sun Mar 18 20:29:17 2012 +0200 Updated Bulgarian translation po/bg.po | 442 +++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 263 insertions(+), 179 deletions(-) commit bf7f0a492eb1443e48fe6eb133ee92851e69de62 Author: Daniel Nylander Date: Sun Mar 18 11:04:34 2012 +0100 Updated Swedish translation po/sv.po | 1926 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 1125 insertions(+), 801 deletions(-) commit 103438cfe2b51f479c6f6ccce4afc1ba1b0406f0 Author: Emmanuele Bassi Date: Sun Mar 18 08:07:56 2012 +0000 actor: Add ::transitions-completed signal While you can get a per-transition notification of completion, it can be convenient to also have a way to notify that all the transitions involving an actor are complete. A simple signal triggered by the removal of the last transition fits the bill pretty neatly. clutter/clutter-actor.c | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) commit a37ec4bd34f549ac7c3614616940f2aef2de1ff1 Author: Jasper St. Pierre Date: Sun Mar 18 03:07:31 2012 -0400 script-parser: Fix build clutter/clutter-script-parser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4da8001cac3ba14286f99bc9e35e2ec24dee0421 Author: Marek Černocký Date: Sun Mar 18 07:57:52 2012 +0100 Updated Czech translation po/cs.po | 1181 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 643 insertions(+), 538 deletions(-) commit 5b6d9e0f2b10ac1abad22415493333a5e223ea31 Author: Adam Matoušek Date: Sun Mar 18 07:38:15 2012 +0100 Updated Czech translation po/cs.po | 1866 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 1033 insertions(+), 833 deletions(-) commit 4d42904fcc748df33adaa3b76f6d6fc664bf1842 Author: Lionel Landwerlin Date: Sat Mar 17 23:52:48 2012 +0000 x11/stage: fix multi-stage support When handling Configure events from the X server we update the internal copy of the window size. Unfortunately we may be updating the wrong stage implementation because we use the one related to the event translator (which is the first created stage). This patch fix flickering/redrawning issues with multi-stage by looking for the right stage implementation associated with an XEvent. Signed-off-by: Lionel Landwerlin clutter/x11/clutter-stage-x11.c | 37 +++++++++++++++++++++++++------------ 1 files changed, 25 insertions(+), 12 deletions(-) commit efac119cabe99425aeeb05e970cf4c2b76a45cab Author: Duarte Loreto Date: Sun Mar 18 00:19:04 2012 +0000 Updated Portuguese translation po/pt.po | 1686 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 986 insertions(+), 700 deletions(-) commit d5738b6bd4e40f36ca09cfd730968c8035d3ad62 Author: Emmanuele Bassi Date: Sat Mar 17 22:55:33 2012 +0000 script: Add 'context' to the translatable definitions This should cover all the possible options. clutter/clutter-script-parser.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit 837b6cf756f8683a8c69184d32d3ea10e41191b1 Author: Мирослав Николић Date: Sat Mar 17 20:45:56 2012 +0100 Updated Serbian translation po/sr.po | 463 ++++++++++++++++++++++++++++++++++---------------------- po/sr@latin.po | 463 ++++++++++++++++++++++++++++++++++---------------------- 2 files changed, 558 insertions(+), 368 deletions(-) commit 05f78306d18a5107d194445882cae5afae3eab7f Author: Emmanuele Bassi Date: Sat Mar 17 16:49:35 2012 +0000 actor: Avoid popping the easing state stack once too many If restore_easing_state() is called on the last easing state on the stack, clean up the stack, so that we don't leave stale pointers around to later segfault on. clutter/clutter-actor.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 229241b8757a0192f2c2ade3f0ce50f311aeea99 Author: Emmanuele Bassi Date: Sat Mar 17 16:46:38 2012 +0000 actor: Remove the implicit easing state save When setting the easing mode, duration, or delay without having ever called clutter_actor_save_easing_state(). It's confusing, and not really nice. In the future, we'll have a default easing state implicitly created by the actor itself, but for the time being explicitly opting in is preferrable. clutter/clutter-actor.c | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) commit b3b1994c132743c7f68f5aec811170ecc51b6c6c Author: Emmanuele Bassi Date: Sat Mar 17 16:38:06 2012 +0000 Use G_VALUE_INIT instead of { 0, } The macro avoids warnings from anal-retentive compilers. clutter/clutter-actor.c | 2 +- clutter/clutter-alpha.c | 4 ++-- clutter/clutter-animation.c | 12 ++++++------ clutter/clutter-animator.c | 6 +++--- clutter/clutter-binding-pool.c | 9 +++++++-- clutter/clutter-container.c | 4 ++-- clutter/clutter-interval.c | 6 +++--- clutter/clutter-layout-manager.c | 4 ++-- clutter/clutter-list-model.c | 4 ++-- clutter/clutter-model.c | 4 ++-- clutter/clutter-script-parser.c | 6 +++--- clutter/clutter-shader-effect.c | 2 +- clutter/clutter-state.c | 10 +++++----- 13 files changed, 39 insertions(+), 34 deletions(-) commit be5921e6fb8dc25db8c8da327c07c63d8ca3b2c3 Author: Aurimas Černius Date: Sat Mar 17 18:30:43 2012 +0200 Updated Lithuanian translation po/lt.po | 1096 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 607 insertions(+), 489 deletions(-) commit 82bc7285847ef50aae3d4e48907309ec509105ad Author: Emmanuele Bassi Date: Sat Mar 17 16:29:09 2012 +0000 Add initializer utilities for ClutterVertex Similar to what we did for ClutterActorBox. clutter/clutter-actor.c | 26 ++++++++++++++++++++++++-- clutter/clutter-types.h | 20 ++++++++++++++++++++ clutter/clutter.symbols | 1 + doc/reference/clutter/clutter-sections.txt | 2 ++ 4 files changed, 47 insertions(+), 2 deletions(-) commit 63f3eaab62ddd42af5b0d3511d3930232c496485 Author: Emmanuele Bassi Date: Sat Mar 17 16:17:39 2012 +0000 actor: Fix set_scale_with_gravity() Add a scale-gravity internal setter, and make set_scale_with_gravity() call it, along with the scale factor. clutter/clutter-actor.c | 67 +++++++++++++++++++++-------------------------- 1 files changed, 30 insertions(+), 37 deletions(-) commit 5e9d6f72577c788c24049d8057f856a0f669fa59 Author: Emmanuele Bassi Date: Sat Mar 17 15:27:26 2012 +0000 Add some utility initializers to ClutterActorBox clutter/clutter-actor-box.c | 58 +++++++++++++++++++++++++-- clutter/clutter-types.h | 28 +++++++++++++ clutter/clutter.symbols | 2 + doc/reference/clutter/clutter-sections.txt | 3 + 4 files changed, 86 insertions(+), 5 deletions(-) commit e1a31bb587b7e5b18d169c2db1c910cf323a9186 Author: Fran Diéguez Date: Sat Mar 17 15:04:38 2012 +0100 Updated Galician translations po/gl.po | 296 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 174 insertions(+), 122 deletions(-) commit b6f5609b2f3cc582e499e6d24ed05fe08807592d Author: Emmanuele Bassi Date: Fri Mar 16 23:10:28 2012 +0000 osx/stage: Synthesize an enter event on show If the pointer is inside the window frame when it's shown then we need to synthesize and emit a NSMouseEnterEvent ourselves, as Quartz won't do it for us. This is a bit of a blind commit - but it's taken from an equivalent patch that has been verified to work in GDK. clutter/osx/clutter-stage-osx.c | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) commit f7735ff1ad66444ede0fbc8e45447e7e0b4ce895 Author: Emmanuele Bassi Date: Fri Mar 16 18:10:34 2012 +0000 docs: Change the short description of ClutterActor The Actor class is not abstract any more. clutter/clutter-actor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e5e10b6a04486f6936265727b099390fd99f2f5a Author: Emmanuele Bassi Date: Fri Mar 16 17:30:26 2012 +0000 Annotate functionality added in 1.10 clutter/clutter-canvas.h | 3 +++ clutter/clutter-content.h | 3 +++ clutter/clutter-image.h | 6 ++++++ clutter/clutter-paint-node.h | 13 +++++++++++++ clutter/clutter-paint-nodes.h | 10 ++++++++++ clutter/clutter-property-transition.h | 4 ++++ clutter/clutter-transition.h | 7 +++++++ 7 files changed, 46 insertions(+), 0 deletions(-) commit 1df14c1bac2c903466d975946a4c29a892ed28c1 Author: Emmanuele Bassi Date: Fri Mar 16 16:16:40 2012 +0000 Debugging cleanups Add some more debugging notes to the layout and paint node output. clutter/clutter-actor.c | 51 +++++++++++++++++++-------------- clutter/clutter-paint-node-private.h | 2 +- clutter/clutter-paint-nodes.c | 38 ++++++++++++++++++++++++- 3 files changed, 66 insertions(+), 25 deletions(-) commit a7714e294ee26f52cabb96694ce871d2dffebe7e Author: Emmanuele Bassi Date: Fri Mar 16 16:13:11 2012 +0000 actor: Remove an has_allocation() check The get_content_box() method should always succeed; if the actor does not have an allocation, we are just going to return a 0-box. clutter/clutter-actor.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit de32ba1ddfa73901fea0146ec462754a420659b0 Author: Emmanuele Bassi Date: Fri Mar 16 15:05:42 2012 +0000 interactive/image-box: Clarify the label contents tests/interactive/test-image-box.c | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) commit 800b5b6ef7f45c280347a521c16682b16f051657 Author: Emmanuele Bassi Date: Fri Mar 16 14:26:28 2012 +0000 actor: Restore a lost queue_relayout() It got lost during a rebase conflict resolution. clutter/clutter-actor.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 72b202c7ed268ae3f5fe9d8b1a0d3b7a9b646ad5 Author: Piotr Drąg Date: Fri Mar 16 15:25:30 2012 +0100 Updated Polish translation po/pl.po | 296 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 174 insertions(+), 122 deletions(-) commit 9ac9fa903a3ff41790ed5442cf5e475b25d68dd5 Author: Bruce Cowan Date: Fri Mar 16 14:18:12 2012 +0000 Updated British English translation po/en_GB.po | 443 +++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 264 insertions(+), 179 deletions(-) commit 045beaff5a8d31e2a4e42ace9ad811ec1558720f Author: Piotr Drąg Date: Fri Mar 16 15:12:38 2012 +0100 Updated POTFILES.in po/POTFILES.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit b05717575cf17fec578ce0a4c26de788324ad08a Author: Nilamdyuti Goswami Date: Fri Mar 16 19:30:46 2012 +0530 Assamese translation updated po/as.po | 322 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 189 insertions(+), 133 deletions(-) commit cb69be6b97eaa62418d60540b4de532f544e631b Author: Matej Urbančič Date: Fri Mar 16 14:58:09 2012 +0100 Updated Slovenian translation po/sl.po | 307 ++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 181 insertions(+), 126 deletions(-) commit a7b076b7aaba761705ff861aaf70d26e0577efb5 Author: Daniel Mustieles Date: Fri Mar 16 14:13:57 2012 +0100 Updated Spanish translation po/es.po | 310 ++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 183 insertions(+), 127 deletions(-) commit a3007b9847e0ff527c1a11f111c6dfa491378858 Author: Emmanuele Bassi Date: Fri Mar 16 12:21:19 2012 +0000 build: Remove maintainer flags from cookbook/examples The code should be a tad more relaxed. doc/cookbook/examples/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cbed0484c01471e06a2302097e6f632d1e427c5b Author: Emmanuele Bassi Date: Fri Mar 16 12:19:33 2012 +0000 po: Update POTFILES.in po/POTFILES.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit ae554a5061b64ee7b4d157f91467c19ce74495fa Author: Emmanuele Bassi Date: Fri Mar 16 12:05:11 2012 +0000 Rename 'bilinear' scaling filter to 'trilinear' Yes, it's not really the proper GL name for a linear-on-every-axis of a texture plus linear-between-mipmap-levels minification filter, but it has three redeeming qualities as a name: - LINEAR_MIPMAP_LINEAR sucks, as it introduces GL concepts like mipmaps in the API naming, while we're trying to avoid that; - people using GL already know what 'trilinear' means in this context without going all Khronos on their asses; - we're using 2D textures anyway, so 'linear on two axes and linear between mipmap levels' can be effectively approximated to 'trilinear'. I mean, if even the OpenGL official wiki says: Unfortunately, what most people think of as "trilinear" is not linear filtering of a 3D texture, but what in OpenGL terms is GL_LINEAR mag filter and GL_LINEAR_MIPMAP_LINEAR in the min filter in a 2D texture. That is, it is bilinear filtering of each appropriate mipmap level, and doing a third linear filter between the adjacent mipmap levels. Hence the term "trilinear". -- http://www.opengl.org/wiki/Texture then the horse has already been flogged to death, and I don't intend to be accused of necrophilia and sadism by flogging it some more. Prior art: every single GL tutorial in the history of ever; CoreAnimation's scaling filter enumerations. If people want to start using 1D or 3D textures they they are probably going to be using Cogl API directly, and that has the GL naming scheme for minification and magnification filters anyway. clutter/clutter-actor.c | 2 +- clutter/clutter-enums.h | 7 ++++--- clutter/clutter-paint-nodes.c | 2 +- tests/interactive/test-canvas.c | 2 +- tests/interactive/test-image-box.c | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) commit b44290c4369e86f8fff19bf4ccbb0cb7a5268cdc Author: Emmanuele Bassi Date: Fri Mar 16 12:01:28 2012 +0000 docs: Add ClutterActorClass.paint_node() description clutter/clutter-actor.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8904f7cbe4525d0d458dbb9ad8c011113f13074a Author: Emmanuele Bassi Date: Fri Mar 16 11:57:34 2012 +0000 paint-nodes: Make part of the API internal At least for the time being, we only expose the parts of the API that we want to use internally and for new, out-of-tree Content implementations. The full PaintNode tree API will be made public in 1.12 once we branch master. clutter/clutter-paint-node-private.h | 50 +++++++++++++++++++++++++++- clutter/clutter-paint-node.c | 11 +++++- clutter/clutter-paint-node.h | 15 -------- clutter/clutter-paint-nodes.c | 36 ++++++++++--------- clutter/clutter-paint-nodes.h | 23 ------------- clutter/clutter.symbols | 11 ------ doc/reference/clutter/clutter-sections.txt | 18 ---------- 7 files changed, 78 insertions(+), 86 deletions(-) commit 74f5bbe5aa7a6a577666a672fd2b67b046c284a0 Author: Emmanuele Bassi Date: Thu Mar 15 19:08:20 2012 +0000 docs: Fixes for ClutterImage's API reference clutter/clutter-image.c | 2 ++ doc/reference/clutter/clutter-docs.xml.in | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit d123e4b701a458b8674bd5f3dca20de8dc70f017 Author: Emmanuele Bassi Date: Thu Mar 15 19:02:39 2012 +0000 Update release notes README.in | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 0a2ee1709b644cbead9a4540950e7a0d34ae1861 Author: Emmanuele Bassi Date: Thu Mar 15 18:26:42 2012 +0000 docs: Fixes for the API reference clutter/clutter-image.h | 16 ++++++++++++++++ doc/reference/clutter/clutter-sections.txt | 16 +++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) commit 90784a025af679a9c40c14ee90549dea4929497d Author: Emmanuele Bassi Date: Tue Mar 13 17:19:15 2012 +0000 interactive/image-box: Remove unneeded stuff tests/interactive/test-image-box.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 10e2f551f5d7a3f67b1481fefd673fef5da9a11e Author: Emmanuele Bassi Date: Mon Mar 12 16:19:08 2012 +0000 actor: Unconditionally emit ::paint It's a bit late in the game for changing the emission of the paint signal with actors that use paint nodes - mostly because we have both implicit paint nodes (background color, content) and explicit paint nodes (the paint_node virtual). When we branch for 1.12 we can revert this change. clutter/clutter-actor.c | 14 +++++++++++--- tests/conform/test-conform-main.c | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) commit d1fd53b29d7761e79b77c64c4b15dd339b1a3a84 Author: Emmanuele Bassi Date: Mon Mar 12 16:07:55 2012 +0000 po: Update POTFILES.in po/POTFILES.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 5432775eff1b8cacc895d8511b90c51cb441cddd Author: Emmanuele Bassi Date: Mon Mar 12 15:52:55 2012 +0000 paint-node: Make texture template pipeline clamp to edge It's safer, and consistent with the rest of Clutter, to make sure that the template pipeline we use for ClutterTextureNode has its wrap mode set to clamp-to-edge. clutter/clutter-paint-nodes.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 75e6560160034ac831965aa7870d710fc558641a Author: Emmanuele Bassi Date: Mon Mar 12 15:46:34 2012 +0000 image: Add set_area() method This method allows replacing an area inside the texture data used by a ClutterImage. clutter/clutter-image.c | 92 ++++++++++++++++++++++++++++ clutter/clutter-image.h | 22 ++++--- clutter/clutter.symbols | 1 + doc/reference/clutter/clutter-sections.txt | 1 + 4 files changed, 108 insertions(+), 8 deletions(-) commit 2be850f441f0c2da4df3b843b432472a8565d3ec Author: Emmanuele Bassi Date: Mon Mar 12 15:25:38 2012 +0000 image: Add get_texture() Allow retrieving the Cogl texture used by the ClutterImage. clutter/clutter-image.c | 25 +++++++++++++++++++++++++ clutter/clutter-image.h | 4 ++++ clutter/clutter.symbols | 1 + doc/reference/clutter/clutter-sections.txt | 1 + 4 files changed, 31 insertions(+), 0 deletions(-) commit 9845ce9d89655882a19b3079d76397fbcd35e677 Author: Emmanuele Bassi Date: Fri Mar 9 16:26:44 2012 +0000 actor: Fix RESIZE_ASPECT mode for the content box clutter/clutter-actor.c | 58 ++++++++++++++++++++++++++--------- tests/interactive/test-image-box.c | 20 +++++++++--- 2 files changed, 58 insertions(+), 20 deletions(-) commit b6403b01a14677d0ec88928f292aa1aa08b39283 Author: Emmanuele Bassi Date: Fri Mar 9 17:11:19 2012 +0000 Documentation fixes clutter/clutter-actor.c | 19 +++++++++---- clutter/clutter-enums.h | 12 ++++++++ clutter/clutter-image.c | 40 ++++++++++++++++++++++++++- doc/reference/clutter/clutter-sections.txt | 20 ++++++++++++++ 4 files changed, 83 insertions(+), 8 deletions(-) commit 1b4bfb04e5dc5f0a173b18d7c54b4d111f298604 Author: Emmanuele Bassi Date: Fri Mar 9 16:26:34 2012 +0000 interactive/image-box: Add a pure Image test, suitable for docs tests/interactive/Makefile.am | 4 +- tests/interactive/test-image-box.c | 100 ++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+), 1 deletions(-) commit 6c181b96e9f0699aea33fc27aa0e31819be7d326 Author: Emmanuele Bassi Date: Fri Mar 9 14:58:17 2012 +0000 interactive/image: Test ClutterImage Load up the image content using a GdkPixbuf; this means that the test is not compiled when --disable-gdk-pixbuf is passed. tests/interactive/Makefile.am | 8 +- tests/interactive/test-image.c | 252 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 258 insertions(+), 2 deletions(-) commit 6cb94b2de2b6fb575770123b276dfed556296a45 Author: Emmanuele Bassi Date: Fri Mar 9 14:56:58 2012 +0000 build: Check for gdk-pixbuf Some tests may need to load image data without going through ClutterTexture or Cogl, so let's add a configure switch and a conditional for gdk-pibxuf. configure.ac | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) commit f90330867e2677394283bc6c6a3a30b9252b5f13 Author: Emmanuele Bassi Date: Thu Mar 8 17:37:00 2012 +0000 Update clutter.symbols clutter/clutter.symbols | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) commit 23fad8589ca67696ef5328ff1c7c5a3cb28bc296 Author: Emmanuele Bassi Date: Thu Mar 8 17:19:58 2012 +0000 interactive/canvas: Set the scaling filters tests/interactive/test-canvas.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit fb106ece058ee43673f425b997e34886540ac751 Author: Emmanuele Bassi Date: Thu Mar 8 17:19:12 2012 +0000 Use the content scaling filters Both ClutterCanvas and ClutterImage should use the minification and magnification filters set on the actor, just like the use the content box and the paint opacity. clutter/clutter-canvas.c | 4 ++- clutter/clutter-image.c | 4 ++- clutter/clutter-paint-nodes.c | 58 ++++++++++++++++++++++++++++------------ clutter/clutter-paint-nodes.h | 4 ++- 4 files changed, 49 insertions(+), 21 deletions(-) commit 77729c73624537021da731250a82937a8216a995 Author: Emmanuele Bassi Date: Thu Mar 8 17:18:17 2012 +0000 actor: Add minification/magnification filters These settings are informative, and will only be used by the eventual content of an actor. clutter/clutter-actor.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++- clutter/clutter-actor.h | 8 +++ clutter/clutter-enums.h | 6 ++ 3 files changed, 133 insertions(+), 1 deletions(-) commit cadae5b3257b5f3c1455554036bd85e04e5dc399 Author: Emmanuele Bassi Date: Thu Mar 8 16:38:45 2012 +0000 Add ClutterImage, and image data content clutter/Makefile.am | 2 + clutter/clutter-image.c | 190 +++++++++++++++++++++++++++++++++++++++++++++++ clutter/clutter-image.h | 101 +++++++++++++++++++++++++ clutter/clutter.h | 1 + 4 files changed, 294 insertions(+), 0 deletions(-) commit f2b9c17a78d539dafbab2ad4922b22bb1978fd30 Author: Emmanuele Bassi Date: Thu Mar 8 16:38:30 2012 +0000 canvas: Fix single header inclusion guard clutter/clutter-canvas.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 0eeb61f3a890dbed51fa8d82c016572f5d3442b7 Author: Emmanuele Bassi Date: Thu Mar 8 15:47:16 2012 +0000 canvas: Add canvas size to the ::draw signal Instead of requiring a call to clutter_content_get_preferred_size(), we can simply pass the canvas size to the Canvas::draw signal. clutter/clutter-canvas.c | 24 +++++++++++++++--------- clutter/clutter-canvas.h | 4 +++- clutter/clutter-content.c | 4 ++-- clutter/clutter-marshal.list | 1 + tests/interactive/test-canvas.c | 11 ++++++----- 5 files changed, 27 insertions(+), 17 deletions(-) commit 07bb35bbe38392e46f92ad17049893ef752f5c55 Author: Emmanuele Bassi Date: Thu Mar 8 10:31:21 2012 +0000 Add ClutterCanvas, a drawing content clutter/Makefile.am | 2 + clutter/clutter-cairo-texture.h | 20 -- clutter/clutter-canvas.c | 507 ++++++++++++++++++++++++++++ clutter/clutter-canvas.h | 91 +++++ clutter/clutter-macros.h | 20 ++ clutter/clutter.h | 1 + clutter/clutter.symbols | 3 + doc/reference/clutter/clutter-docs.xml.in | 6 + doc/reference/clutter/clutter-sections.txt | 17 + doc/reference/clutter/clutter.types | 1 + tests/interactive/Makefile.am | 3 +- tests/interactive/test-canvas.c | 135 ++++++++ 12 files changed, 785 insertions(+), 21 deletions(-) commit e2f1153c462d955dbbab8bc981dc2fc77cae1cde Author: Emmanuele Bassi Date: Thu Mar 8 14:06:20 2012 +0000 paint-node: Remove redundant declarations clutter/clutter-paint-node.c | 2 ++ clutter/clutter-paint-nodes.c | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) commit 546a14ec3b7e17d51537ac19d83c1d7a86366fa5 Author: Emmanuele Bassi Date: Thu Mar 8 14:05:48 2012 +0000 content: Make get_preferred_size() public clutter/clutter-actor.c | 9 ++++++--- clutter/clutter-content-private.h | 4 ---- clutter/clutter-content.c | 14 +++++++++----- clutter/clutter-content.h | 3 +++ 4 files changed, 18 insertions(+), 12 deletions(-) commit 74765404dd93feeb3d0fde70a102f9fc843f293e Author: Emmanuele Bassi Date: Mon Mar 5 19:02:16 2012 +0000 conform: Skip actor-offscreen-redirect Until we figure out a way to make it succeed even without the paint signal emission. tests/conform/test-conform-main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 485b720a543002c2d1344452fb6d2de6ec418303 Author: Emmanuele Bassi Date: Mon Mar 5 19:01:30 2012 +0000 conform/text-cache: Use the stage paint signal The stage's paint signal is guaranteed to be emitted; ClutterText's paint signal is not. tests/conform/text-cache.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e54ee64380fa186b59538327c49dbcf6f7efd7a8 Author: Emmanuele Bassi Date: Mon Mar 5 18:32:16 2012 +0000 actor: Make paint_node() and ::paint mutually exclusive The ::paint signal is the old way to paint an actor; the paint_node() virtual function is the new way. It's still not possible to traverse the whole scene graph and build a render tree of PaintNode instances, but with this change we simultaneously cut out the ::paint signal emission from the critical path for actors that are using the new PaintNode-based API, and we retain backward compatibility in the interim period between 1.10 and 2.0. clutter/clutter-actor.c | 96 +++++++++++++++++++++++++++------------------- 1 files changed, 56 insertions(+), 40 deletions(-) commit a58be8aad15b0248578de11405832b23332a7d99 Author: Emmanuele Bassi Date: Mon Mar 5 18:32:02 2012 +0000 paint-nodes: Fix compiler warning clutter/clutter-paint-nodes.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ff7eb6c0a9b1920678bac45de039331c71f553c1 Author: Emmanuele Bassi Date: Mon Feb 20 10:09:58 2012 +0000 interactive/content: Define the size of the text geometry So that Clutter can decide whether or not to clip the text properly. tests/interactive/test-content.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 51cca132e0d91a5cc9db8407d8eee42992acd1e6 Author: Emmanuele Bassi Date: Mon Feb 20 10:09:05 2012 +0000 paint-nodes: Use logical extents for the TextNode::draw When we decide if we ought to clip, we should use the logical extents of the PangoLayout, just like we do for ClutterText. clutter/clutter-paint-nodes.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit fa77274e808e84f83f856e0d0a5ab997eb091d25 Author: Emmanuele Bassi Date: Sat Feb 4 12:58:40 2012 +0000 content: Turn attached and detached into signals The attached and detached virtual functions are now informative, and not normative - which means it's a good idea to provide them as signals. clutter/clutter-content.c | 54 +++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 insertions(+), 2 deletions(-) commit 2f0d29ad75f7d616e4d368d6da758d4b6b72c376 Author: Emmanuele Bassi Date: Sat Feb 4 12:49:49 2012 +0000 content: Make vfuncs optional The virtual functions on the ClutterContent interface should provide hooks for application code, not be the actual implementation. clutter/clutter-content.c | 83 +++++++++++++++++++++++--------------------- clutter/clutter-content.h | 11 ++---- 2 files changed, 47 insertions(+), 47 deletions(-) commit f4d8fb054a911aaa69aef9fa40ff4fec4e385b4c Author: Emmanuele Bassi Date: Fri Feb 3 13:51:29 2012 +0000 paint-node: Use JSON-GLib for debug serialization Instead of our homegrown string building; this at least ensures that we're generating proper data, instead of random strings. Plus, using JsonNode and JsonBuilder, we can ask the PaintNode subclasses to serialize themselves in a sensible way. clutter/clutter-paint-node-private.h | 3 + clutter/clutter-paint-node.c | 201 +++++++++++++++------------------- clutter/clutter-paint-nodes.c | 83 ++++++++++++++ 3 files changed, 175 insertions(+), 112 deletions(-) commit 2ee58519709eff8fd24b4a378f143f8377b8143b Author: Emmanuele Bassi Date: Thu Feb 2 14:51:17 2012 +0000 docs: Update the API reference Add all the new symbols. clutter/clutter-content.c | 2 +- doc/reference/clutter/Makefile.am | 1 + doc/reference/clutter/clutter-docs.xml.in | 10 + doc/reference/clutter/clutter-sections.txt | 266 ++++++++++++++++++++-------- doc/reference/clutter/clutter.types | 2 + 5 files changed, 205 insertions(+), 76 deletions(-) commit 6cddd697475cfd0610622b21a970f7c755968b0f Author: Emmanuele Bassi Date: Wed Feb 1 19:26:15 2012 +0000 docs: Update documentation on the paint sequence clutter/clutter-actor.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 77 insertions(+), 0 deletions(-) commit be4746b15f339c7959ff5a3df94b8f289c274ab3 Author: Emmanuele Bassi Date: Wed Feb 1 18:33:55 2012 +0000 Add ClutterContent ClutterContent is an interface for creating delegate objects that handle what an actor is going to paint. Since they are a newly added type, they only hook into the new PaintNode based API. The position and size of the content is controlled in part by the content's own preferred size, and by the ClutterContentGravity enumeration. clutter/Makefile.am | 3 + clutter/clutter-actor.c | 417 ++++++++++++++++++++++++++++++++++++- clutter/clutter-actor.h | 15 ++ clutter/clutter-content-private.h | 47 ++++ clutter/clutter-content.c | 248 ++++++++++++++++++++++ clutter/clutter-content.h | 100 +++++++++ clutter/clutter-enums.h | 36 ++++ clutter/clutter-types.h | 1 + clutter/clutter.h | 1 + tests/interactive/Makefile.am | 3 +- tests/interactive/test-content.c | 223 ++++++++++++++++++++ 11 files changed, 1091 insertions(+), 3 deletions(-) commit 6f0782e0a41deb34e8eeedd492d33f1efa8b3a90 Author: Emmanuele Bassi Date: Wed Feb 1 17:47:15 2012 +0000 actor: Add paint_node virtual function The ::paint-node virtual inside ClutterActor is what we want people to use when painting their actors. Right now, it's a new code path, that gets called while painting; the paint_node() implementation should only paint the actor itself, and not its children — they will get their own paint_node() called when needed. Internally, ClutterActor will automatically create a dummy PaintNode and paint the background color; then control will be handed out to the implementation on the class. This is required to maintain compatibility with the old ::paint signal emission. Once we are able to get rid of the paint (and pick) sequences, we'll switch to a fully retained render tree. clutter/clutter-actor.c | 69 ++++++++++++++++++++++++++++++++++++---------- clutter/clutter-actor.h | 7 +++- 2 files changed, 59 insertions(+), 17 deletions(-) commit b83dc6abfaed4ac16af2cad412d6382f5b0aa427 Author: Emmanuele Bassi Date: Wed Feb 1 15:51:27 2012 +0000 Add PaintNode, an element on the render object tree Now that we have a proper scene graph API, we should split out the rendering part from the logical and event handling part. ClutterPaintNode is a lightweight fundamental type that encodes only the paint operations: pipeline state and geometry. At its most simple, is a way to structure setting up the programmable pipeline using a CoglPipeline, and submitting Cogl primitives. The important take away from this API is that you are not allowed to call Cogl API like cogl_set_source() or cogl_primitive_draw() directly. The interesting approach to this is that, in the future, we should be able to move to a purely retained mode: we will decide which actors need to be painted, they will update their own branch of the render graph, and we'll take the render graph and build all the rendering commands from that. For the 1.x API, we will have to maintain invariants and the existing behaviour, but as soon as we can break API, the old paint signal will just go away, and Actors will only be allowed to manipulate the render tree. clutter/Makefile.am | 5 + clutter/clutter-paint-node-private.h | 115 ++++ clutter/clutter-paint-node.c | 1137 ++++++++++++++++++++++++++++++++++ clutter/clutter-paint-node.h | 95 +++ clutter/clutter-paint-nodes.c | 1124 +++++++++++++++++++++++++++++++++ clutter/clutter-paint-nodes.h | 161 +++++ clutter/clutter-types.h | 1 + clutter/clutter.h | 2 + 8 files changed, 2640 insertions(+), 0 deletions(-) commit 696017edf25bb2ae4c92cacb699e0c784cfc115d Author: Daniel Mustieles Date: Fri Mar 16 13:04:34 2012 +0100 Updated Spanish translation po/es.po | 394 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 214 insertions(+), 180 deletions(-) commit 0316dfc21303037843d9c1b9d0408dc06edb36b8 Author: Nilamdyuti Goswami Date: Fri Mar 16 12:54:23 2012 +0530 Assamese translation updated po/as.po | 396 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 215 insertions(+), 181 deletions(-) commit 024ebfc0cfd3eabe7c1d2793600e79f355877f15 Author: Fran Diéguez Date: Fri Mar 16 01:56:03 2012 +0100 Updated Galician translations po/gl.po | 388 +++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 210 insertions(+), 178 deletions(-) commit 291ec65a535fb4b4f883347e0fe4b5f325611185 Author: Matej Urbančič Date: Thu Mar 15 21:57:19 2012 +0100 Updated Slovenian translation po/sl.po | 390 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 210 insertions(+), 180 deletions(-) commit d56feaa523b1d5c03842bf437c0a39c11dba6a7c Author: Piotr Drąg Date: Thu Mar 15 20:53:33 2012 +0100 Updated Polish translation po/pl.po | 280 ++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 156 insertions(+), 124 deletions(-) commit bbb6f09bcf5e4dd4377b3f9e5f24fc4fa5ec9551 Author: Piotr Drąg Date: Thu Mar 15 20:47:06 2012 +0100 Updated POTFILES.in po/POTFILES.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit cbcc84022e3174e8cb3f0d08f93900666be8116d Author: Emmanuele Bassi Date: Thu Mar 15 17:51:22 2012 +0000 animator: Fix NULL check clutter/clutter-animator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fa9be0ba738d16a0b2330ad329c2484c357be70b Author: Emmanuele Bassi Date: Thu Mar 15 17:42:42 2012 +0000 interactive/texture-async: Use implicit animations tests/interactive/test-texture-async.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 7f1f9a50c1a631894f4292773ef135421fc7a65b Author: Emmanuele Bassi Date: Thu Mar 15 17:41:28 2012 +0000 actor: Remove G_SIGNAL_NO_RECURSE As it turns out, we do end up recursing inside the ::paint signal emission - especially inside the conformance test suite. This thoroughly sucks - and we'll only be able to fix it properly when we bump API for 2.0. clutter/clutter-actor.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 6a8d67a8ad292d68f9cf59467cf92bf4e7b49abe Author: Emmanuele Bassi Date: Thu Mar 15 17:32:53 2012 +0000 I should compile the changes I make clutter/clutter-actor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 5e652b91d65f2daa3c9bb88ec4d2fdfe9e71ac4f Author: Emmanuele Bassi Date: Thu Mar 15 17:31:36 2012 +0000 actor: Fix get_transition() method We now store a closure, not directly a ClutterTransition instance. clutter/clutter-actor.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 9e1ec8283894e4f4b354381cd989ab4c0df56af6 Author: Emmanuele Bassi Date: Thu Mar 15 16:57:18 2012 +0000 doc: Reference fixes clutter/clutter-actor.c | 2 +- doc/reference/clutter/clutter-sections.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) commit 0cf9ad82c4c8b9d4c1b6b1d6f9206303a43b3534 Author: Emmanuele Bassi Date: Thu Mar 15 16:53:19 2012 +0000 symbols: Update clutter/clutter.symbols | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4bd3583dbf59d1882d2b7704d6a1416176df80d6 Author: Emmanuele Bassi Date: Thu Mar 15 16:40:41 2012 +0000 actor: Add generic transition support ClutterActor should be able to hold all transitions, even the ones that have been explicitly created. This will allow to add new transitions types in the future, like the keyframe-based one, or the transition group. clutter/clutter-actor.c | 187 +++++++++++++++++++++++----- clutter/clutter-actor.h | 18 +++ clutter/clutter.symbols | 3 + doc/reference/clutter/clutter-sections.txt | 3 + 4 files changed, 179 insertions(+), 32 deletions(-) commit 3638c1efed449a07fb7e6d052ce4110db4b4feeb Author: Emmanuele Bassi Date: Thu Mar 15 13:53:56 2012 +0000 transition: Clear the animatable member when removing on complete clutter/clutter-transition.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 514466601e93421fad985975c7a1938452a60188 Author: Emmanuele Bassi Date: Thu Mar 15 13:52:09 2012 +0000 transition: Check the repeat count to remove on complete We can now ask the timeline for the current repeat, and if it's the last one, then we can safely detach the transition from the animatable instance. clutter/clutter-transition.c | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) commit 388f818f419b9aa745ca1d6ad6bd300c4b859df7 Author: Emmanuele Bassi Date: Thu Mar 15 13:50:28 2012 +0000 timeline: Add more state accessors It should be possible to ask a timeline what is its duration, taking into account eventual repeats, and which repeat is the one currently in progress. These two functions allow writing animations that depend on the current state of another timeline. clutter/clutter-timeline.c | 54 ++++++++++++++++++++++++++++ clutter/clutter-timeline.h | 5 +++ clutter/clutter.symbols | 2 + doc/reference/clutter/clutter-sections.txt | 2 + 4 files changed, 63 insertions(+), 0 deletions(-) commit 1511e588df3366034de9115741e23b5d43923ab2 Author: Emmanuele Bassi Date: Thu Mar 15 12:24:02 2012 +0000 actor: Add delay to the easing state It should be possible to set up the delay of a transition, but since we start the Transition instance before returning control to the caller, we cannot use clutter_actor_get_transition() to do it without something extra-awkward, like: transition = clutter_actor_get_transition (actor, "width"); clutter_timeline_stop (transition); clutter_timeline_set_delay (transition, 1000); clutter_timeline_start (transition); for each property involved. It's much easier to add a delay to the easing state of an actor. clutter/clutter-actor-private.h | 1 + clutter/clutter-actor.c | 60 ++++++++++++++++++++++++++++ clutter/clutter-actor.h | 3 + clutter/clutter.symbols | 2 + doc/reference/clutter/clutter-sections.txt | 11 +++++ 5 files changed, 77 insertions(+), 0 deletions(-) commit 303ebaea88778d8b184b2a63572d4a0eb323318a Author: Emmanuele Bassi Date: Thu Mar 15 11:25:52 2012 +0000 interactive/bin-layout: Use implicit animations tests/interactive/test-bin-layout.c | 26 ++++++++++---------------- 1 files changed, 10 insertions(+), 16 deletions(-) commit 389ee457472ed9e32bb78fed3ae9b2b5c2dc4585 Author: Emmanuele Bassi Date: Thu Mar 15 11:25:26 2012 +0000 interactive/actor: Do not use clutter_actor_animate() Use implicit animations instead. tests/interactive/test-actor.c | 59 ++++++++++++++++++++++----------------- 1 files changed, 33 insertions(+), 26 deletions(-) commit cb8dea0379d3d2fc8a7df0962eaadff8b245d5ad Author: Emmanuele Bassi Date: Thu Mar 15 11:24:46 2012 +0000 interactive/transitions: An easing demo without animate() Use the newly added implicit animations support in ClutterActor. tests/interactive/Makefile.am | 3 +- tests/interactive/test-transitions.c | 225 ++++++++++++++++++++++++++++++++++ 2 files changed, 227 insertions(+), 1 deletions(-) commit 043cf6b284d970fdf1555d95056d08b7e8a2900e Author: Emmanuele Bassi Date: Thu Mar 15 11:24:27 2012 +0000 docs: Update the API reference doc/reference/clutter/clutter-docs.xml.in | 2 + doc/reference/clutter/clutter-sections.txt | 41 ++++++++++++++++++++++++++++ doc/reference/clutter/clutter.types | 2 + 3 files changed, 45 insertions(+), 0 deletions(-) commit dda4db378c39dd50e41afd16c1a6697150b85395 Author: Emmanuele Bassi Date: Thu Mar 15 11:24:07 2012 +0000 symbols: Update clutter/clutter.symbols | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit 67113ed690bed69fe182f675d0951bf21047e026 Author: Emmanuele Bassi Date: Thu Mar 15 11:09:11 2012 +0000 actor: Implement implicit animatable properties Clutter is meant to be, and I quote from the README, a toolkit: for creating fast, compelling, portable, and dynamic graphical user interfaces and yet the default mode of operation for setting an actor's state on the scene graph (position, size, opacity, rotation, scaling, depth, etc.) is *not* dynamic. We assume a static UI, and then animate it. This is the wrong way to design an API for a toolkit meant to be used to create animated user interfaces. The default mode of operation should be to implicitly animate every state transition, and only allow skipping the animation if the user consciously decides to do so — i.e. the design tenet of the API should be to make The Right Thing™ by default, and make it really hard (or even impossible) to do The Wrong Thing™. So we should identify "animatable" properties, i.e. those properties that should be implicitly animated by ClutterActor, and use the animation framework we provide to tween the transitions between the current state and the desired state; the implicit animation should happen when setting these properties using the public accessors, and not through some added functionality. For instance, the following: clutter_actor_set_position (actor, newX, newY); should not make the actor jump to the (newX, newY) point; it should tween the actor's position between the current point and the desired point. Since we have to maintain backward compatibility with existing applications, we still need to mark the transitions explicitly, but we can be smart about it, and treat transition states as a stack that can be pushed and popped, e.g.: clutter_actor_save_easing_state (actor); clutter_actor_set_easing_duration (actor, 500); clutter_actor_set_position (actor, newX, newY); clutter_actor_set_opacity (actor, newOpacity); clutter_actor_restore_easing_state (actor); And we can even start stacking animations, e.g.: clutter_actor_save_easing_state (actor); clutter_actor_set_easing_duration (actor, 500); clutter_actor_set_position (actor, newX, newY); clutter_actor_save_easing_state (actor); clutter_actor_set_easing_duration (actor, 500); clutter_actor_set_easing_mode (actor, CLUTTER_LINEAR); clutter_actor_set_opacity (actor, newOpacity); clutter_actor_set_depth (actor, newDepth); clutter_actor_restore_easing_state (actor); clutter_actor_restore_easing_state (actor); And so on, and so forth. The implementation takes advantage of the newly added Transition API, which uses only ClutterTimeline sub-classes and ClutterInterval, to cut down the amount of signal emissions and memory management of object instances; as well of using the ClutterAnimatable interface for custom properties and interpolation of values. clutter/clutter-actor-private.h | 29 + clutter/clutter-actor.c | 1242 +++++++++++++++++++++++++++++++++++---- clutter/clutter-actor.h | 12 + clutter/clutter-private.h | 2 + 4 files changed, 1167 insertions(+), 118 deletions(-) commit 40bcbf9c0d5db711b2bce47459cca40e2cf27266 Author: Emmanuele Bassi Date: Thu Mar 15 11:06:00 2012 +0000 Add ClutterPropertyTransition ClutterPropertyTransition is a ClutterTransition that animates a property of a ClutterAnimatable implementation. clutter/Makefile.am | 2 + clutter/clutter-property-transition.c | 291 +++++++++++++++++++++++++++++++++ clutter/clutter-property-transition.h | 88 ++++++++++ clutter/clutter.h | 1 + 4 files changed, 382 insertions(+), 0 deletions(-) commit 0c8443f71a49b72fcea68e14cb30f6d381fdbc78 Author: Emmanuele Bassi Date: Thu Mar 15 11:04:31 2012 +0000 Add ClutterTransition ClutterTransition is a Timeline sub-class that allows interpolation of a value between the initial and final states held by a ClutterInterval. clutter/Makefile.am | 4 +- clutter/clutter-transition.c | 451 ++++++++++++++++++++++++++++++++++++++++++ clutter/clutter-transition.h | 110 ++++++++++ clutter/clutter.h | 1 + 4 files changed, 565 insertions(+), 1 deletions(-) commit e546d28771e4c001f9451efa04dae2226237c032 Author: Emmanuele Bassi Date: Thu Mar 15 11:08:38 2012 +0000 types: Declare new Transition classes clutter/clutter-types.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit beb91d76763b3b3aede1be1da8bc3c1f8184ed8a Author: Emmanuele Bassi Date: Thu Mar 15 11:02:30 2012 +0000 interval: Add variadic arguments for initial/final setters As a convenience for the C API. Language bindings should already be using the GValue variants. This commit also moves the custom progress functions out of the clutter-interval.c, as they are meant to be generic interpolation functions and not ClutterInterval-specific. clutter/clutter-interval.c | 277 +++++++++++++++++++++----------------------- clutter/clutter-interval.h | 33 +----- clutter/clutter-private.h | 7 + clutter/clutter-types.h | 28 +++++ clutter/clutter-util.c | 148 +++++++++++++++++++++++ 5 files changed, 322 insertions(+), 171 deletions(-) commit 06314e9ed8d85fc8fcebc418278b60f7a18c133c Author: Emmanuele Bassi Date: Thu Mar 15 17:00:38 2012 +0000 docs: Update reference symbols doc/reference/clutter/clutter-sections.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 8e48afd06644b9e258ea12ef76569d545686adfe Author: Chun-wei Fan Date: Thu Mar 15 16:55:55 2012 +0800 Fix "install" paths in VS 2010 property sheets build/win32/vs10/clutter.props | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 708d385866645a9c7d6b90d477aff7b693879bb2 Author: Emmanuele Bassi Date: Wed Mar 14 11:33:55 2012 +0000 actor: Annotate signals to enable some optimization The ::paint, ::queue-redraw, and ::queue-relayout signals should be marked as no-recurse and no-hooks; these signals are emitted *a lot* during each frame, and since GLib has a bunch of optimizations for signals with no closures, we should try and squeeze every single CPU cycle we can. clutter/clutter-actor.c | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit 5d26aeca34c83589cac6be0d7754316e16d045fd Author: Stefano Facchini Date: Tue Mar 13 18:22:19 2012 +0100 Install clutter-version.h clutter/Makefile.am | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit c4de95f27557f729a09e2ed9a86022d0b98229f2 Author: Chun-wei Fan Date: Mon Mar 5 10:32:44 2012 +0800 Dist clutter-version.h Dist clutter-version.h for use under non-autotools-based build environments (e.g. MSVC) as this header is now generic under the systems Clutter supports Checked with Emmanuele Bassi on IRC. clutter/Makefile.am | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 53e16b6019e49dd0c24d5f05187648ef2abfa6b7 Author: Chun-wei Fan Date: Thu Mar 8 17:11:35 2012 +0800 clutter-master-clock.c: Set frame_budget conditionally The frame_budget member of ClutterMasterClock is only enabled when CLUTTER_ENABLE_DEBUG is enabled, so fix the build with this. Checked with Emmanuele Bassi on IRC. clutter/clutter-master-clock.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit eaecd1efef6abbf6d344a56f1e02fda95c8ffd5a Author: Kenneth Nielsen Date: Tue Mar 13 09:08:31 2012 +0100 Updated Danish translation po/da.po | 886 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 460 insertions(+), 426 deletions(-) commit 80b4e7513273b38efbda187954a1773676c59490 Author: Antonio Fernandes C. Neto Date: Fri Mar 9 10:29:33 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 758 +++++++++++++++++++++++++++++++---------------------------- 1 files changed, 393 insertions(+), 365 deletions(-) commit 945caff989ab30598ebd74c0d19c9bbdcf6a71c1 Author: Emmanuele Bassi Date: Mon Mar 12 14:23:35 2012 +0000 Bump up the GDK dependency Commit ac6ce79aa389982c3e7113f6192f492a6e21b4b1 introduced a dependency on the latest GDK symbols, so we need to bump up the required version of GDK. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ac6ce79aa389982c3e7113f6192f492a6e21b4b1 Author: Stefano Facchini Date: Sat Mar 10 16:39:16 2012 +0100 gdk: add new device types (GDK_SOURCE_TOUCHSCREEN, GDK_SOURCE_TOUCHPAD) https://bugzilla.gnome.org/show_bug.cgi?id=671779 clutter/gdk/clutter-input-device-gdk.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 440c47e9410532df8ba70cc84ab65dffee4c02d5 Author: ManojKumar Giri Date: Mon Mar 12 17:44:54 2012 +0530 Updated Odia Translation po/or.po | 1774 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 1011 insertions(+), 763 deletions(-) commit a3be0e091986b8b027dea25970f5dfff1fa4c0df Author: Timo Jyrinki Date: Mon Mar 12 11:29:54 2012 +0200 Add partial Finnish translation po/fi.po | 2323 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 2323 insertions(+), 0 deletions(-) commit 66d1e311d698072b6d3af8c64325951c59071262 Author: Yuri Myasoedov Date: Sun Mar 11 23:36:53 2012 +0400 Updated Russian translation po/ru.po | 1915 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 1074 insertions(+), 841 deletions(-) commit 9707822eba76583abe35a71d3ffe3ddc4d92ba50 Author: Мирослав Николић Date: Sat Mar 10 23:07:27 2012 +0100 Updated Serbian translation po/sr.po | 783 +++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 783 +++++++++++++++++++++++++++++--------------------------- 2 files changed, 810 insertions(+), 756 deletions(-) commit 1ee842116ab44f488b9003ee5ca89631f14bd547 Author: Khoem Sokhem Date: Sat Mar 10 13:53:53 2012 +0100 Add initial Khmer translation po/km.po | 2276 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 2276 insertions(+), 0 deletions(-) commit 8216d961e710c3d32bd72ec8a4914116c0c15e85 Author: Gil Forcada Date: Sat Mar 10 13:44:09 2012 +0100 Updated Catalan translation po/ca.po | 1614 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 912 insertions(+), 702 deletions(-) commit 639a82ed01796f181c7a22e197d4087a5dbd73a0 Author: Ihar Hrachyshka Date: Fri Mar 9 21:55:55 2012 +0300 Updated Belarusian translation. po/be.po | 30 +++++++++++++++++++++++------- 1 files changed, 23 insertions(+), 7 deletions(-) commit ffc8fd2455301e0c5423a25fdcf235896d985825 Author: Piotr Drąg Date: Fri Mar 9 19:09:40 2012 +0100 Updated Polish translation po/pl.po | 1717 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 967 insertions(+), 750 deletions(-) commit 52b1d7186c4004d52ff652ddb5ed7443b343be7a Author: Florian Müllner Date: Fri Mar 9 16:17:52 2012 +0100 Add skeleton translations for RTL locales RTL locales need to translate the "default:LTR" string to have clutter_actor_get_text_direction() return the expected result; as GNOME Shell now makes use of that API, users of RTL locales would be up for an unpleasant surprise, so add all locales that translate "default:LTR" to "default:RTL" in GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=671736 po/ar.po | 2359 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/az_IR.po | 2358 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/fa.po | 2358 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ps.po | 2357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/ur.po | 2357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/yi.po | 2357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 14146 insertions(+), 0 deletions(-) commit 52f142c14c89357c6333ee1fa55fc5184f6551dc Author: Florian Müllner Date: Fri Mar 9 16:34:54 2012 +0100 Update Hebrew translations RTL locales need to translate the "default:LTR" string to have clutter_actor_get_text_direction() return the expected result; as GNOME Shell now makes use of that API, users of RTL locales would be up for an unpleasant surprise, so add the required translation. https://bugzilla.gnome.org/show_bug.cgi?id=671736 po/he.po | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit d303fdc22ddffe6782298e5b4de6c371b0584dac Author: Emmanuele Bassi Date: Fri Mar 9 17:32:46 2012 +0000 po: Update bug tracker in Makevars po/Makevars | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2b22b60e6ea1ca22d7052d9bfb1fc8acfec4ca81 Author: Tristan Van Berkom Date: Sat Mar 10 02:06:10 2012 +0900 Fixed leaking GValue content in clutter_animation_setup_valist(). Normally this leak goes unnoticed because basic fundamental types are typically used with clutter_actor_animate(), the leak shows up if boxed or object types are passed (such as ClutterVertex in the case I stumbled upon). clutter/clutter-animation.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 620e57ac1334424bd47579417815e67080d802c2 Author: Emmanuele Bassi Date: Thu Mar 8 14:07:15 2012 +0000 text: Use CoglFramebuffer API for the path-based clip clutter/clutter-text.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 4b0badba4aca44b4fcd52e2f26ec5608f4e93011 Author: Bruce Cowan Date: Fri Mar 9 16:24:35 2012 +0000 Updated British English translation po/en_GB.po | 1726 +++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 973 insertions(+), 753 deletions(-) commit 610ed1e1c510240ea54328d7dc36a9bad7ed80e8 Author: Fran Diéguez Date: Thu Mar 8 23:25:57 2012 +0100 Updated Galician translations po/gl.po | 530 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 273 insertions(+), 257 deletions(-) commit 4ff1cc08f8bf8c8962ac541c1a090f99331176ab Author: Alexander Shopov Date: Thu Mar 8 22:45:17 2012 +0200 Updated Bulgarian translation po/bg.po | 530 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 273 insertions(+), 257 deletions(-) commit 7b33f2fa1f6e1c4783c36f2316d4f0c852fb3d23 Author: Matej Urbančič Date: Thu Mar 8 15:42:14 2012 +0100 Updated Slovenian translation po/sl.po | 682 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 349 insertions(+), 333 deletions(-) commit e1c99ed3c487d6e441cb8155feee4768542bb913 Author: Chun-wei Fan Date: Thu Mar 8 17:44:02 2012 +0800 Fixup VS 2010 property sheets There are some properties which were not correctly set. My bad for not fixing these sooner. build/win32/vs10/clutter.props | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e2e49253b607a37d082f20a26b062513c2d29fa3 Author: Daniel Mustieles Date: Thu Mar 8 10:29:08 2012 +0100 Updated Spanish translation po/es.po | 637 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 328 insertions(+), 309 deletions(-) commit d279a1393855fb6d8230cd92c71603b5e8cb641a Author: Chun-wei Fan Date: Thu Mar 8 17:07:34 2012 +0800 Update VS property sheets "Install" the new headers that were introduced lately. build/win32/vs10/clutter.props | 4 ++++ build/win32/vs9/clutter.vsprops | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) commit 9a551689c21cc3de35253c7b2c90a4843aba59ad Author: Nilamdyuti Goswami Date: Thu Mar 8 14:12:50 2012 +0530 Assamese translation completed po/as.po | 637 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 328 insertions(+), 309 deletions(-) commit 86e8f35d66c4c5baca753066f75173491236a7c9 Author: Chao-Hsiung Liao Date: Thu Mar 8 15:53:04 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 912 +++++++++++++++++++++++++++++++---------------------------- po/zh_TW.po | 910 +++++++++++++++++++++++++++++++---------------------------- 2 files changed, 953 insertions(+), 869 deletions(-) commit 734a26fe97e6ff2270745504ab52152dcff27014 Author: Piotr Drąg Date: Thu Mar 8 00:04:55 2012 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 009b0297f1b3df08d73305466fbb0bbf01138d89 Author: Ihar Hrachyshka Date: Wed Mar 7 23:40:08 2012 +0300 Updated Belarusian translation. po/be.po | 758 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 384 insertions(+), 374 deletions(-) commit 32f57595feef4859ac506cb81a2f17781d554d83 Author: Joseph Scheuhammer Date: Thu Feb 2 16:23:00 2012 -0500 Add brightness/contrast effect The ClutterBrightnessContrastEffect effect class allows changing the brightness and contrast levels of an actor. Modified-by: Emmanuele Bassi Modified-by: Neil Roberts https://bugzilla.gnome.org/show_bug.cgi?id=656156 clutter/Makefile.am | 2 + clutter/clutter-brightness-contrast-effect.c | 643 ++++++++++++++++++++++++++ clutter/clutter-brightness-contrast-effect.h | 80 ++++ clutter/clutter.h | 1 + clutter/clutter.symbols | 8 + doc/reference/clutter/clutter-docs.xml.in | 1 + doc/reference/clutter/clutter-sections.txt | 20 + doc/reference/clutter/clutter.types | 1 + 8 files changed, 756 insertions(+), 0 deletions(-) commit 41f06138b451bbe51949d818fdc9963077eff59c Author: Emmanuele Bassi Date: Wed Mar 7 12:59:25 2012 +0000 cally/text: Constify string members clutter/cally/cally-text.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 90e5088a512e723c41dd59aeaace7e4f87ca14ac Author: Emmanuele Bassi Date: Wed Mar 7 12:35:57 2012 +0000 build: Increase the anal-retentiveness of the maintainer flags The new rules have already caught a couple of issues. configure.ac | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit de90be9586bdab941c4174a8a3fa74bd480d2555 Author: Emmanuele Bassi Date: Wed Mar 7 12:34:48 2012 +0000 build: Remove maintainer flags from test build Part of the test infrastructure relies on relaxed build conditions, so there's no point to enforce the anal retentive maintainer flags. tests/conform/Makefile.am | 2 +- tests/interactive/Makefile.am | 2 +- tests/performance/Makefile.am | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) commit 2567049ce3899ab8045afd540a333bcd22f6332c Author: Emmanuele Bassi Date: Wed Mar 7 12:34:06 2012 +0000 Fix missing/redundant declarations clutter/clutter-actor.c | 13 ++++++++----- clutter/clutter-animatable.c | 2 ++ clutter/clutter-animation.c | 2 ++ clutter/clutter-backend.c | 2 ++ clutter/clutter-bin-layout.c | 2 ++ clutter/clutter-box-layout.c | 2 ++ clutter/clutter-cairo-texture.c | 2 ++ clutter/clutter-constraint.c | 1 + clutter/clutter-deform-effect.c | 16 ++++++++-------- clutter/clutter-feature.c | 6 +++--- clutter/clutter-keysyms-table.c | 2 ++ clutter/clutter-list-model.c | 2 ++ clutter/clutter-main.c | 2 +- clutter/clutter-script.c | 2 +- clutter/clutter-settings.c | 1 + clutter/clutter-stage-manager.c | 2 ++ clutter/clutter-table-layout.c | 2 ++ clutter/clutter-texture.c | 5 +++-- clutter/clutter-timeline.c | 5 ++++- clutter/clutter-util.c | 4 +++- clutter/deprecated/clutter-frame-source.c | 6 ++++-- 21 files changed, 57 insertions(+), 24 deletions(-) commit 266ea8a3d99c877fb70b7d86fcfd6ad0cdf0b113 Author: Emmanuele Bassi Date: Wed Mar 7 12:32:32 2012 +0000 cally: Fix redundant declarations clutter/cally/cally-actor.c | 2 -- clutter/cally/cally-clone.c | 3 --- clutter/cally/cally-group.c | 2 -- clutter/cally/cally-rectangle.c | 3 --- clutter/cally/cally-root.c | 2 -- clutter/cally/cally-stage.c | 3 --- clutter/cally/cally-text.c | 2 -- clutter/cally/cally-texture.c | 3 --- clutter/cally/cally-util.c | 3 --- 9 files changed, 0 insertions(+), 23 deletions(-) commit 4da1c3efb8fcea58854ce6ff57856fec4ec1a427 Author: Emmanuele Bassi Date: Wed Mar 7 12:31:25 2012 +0000 snap-constraint: Fix typo that broke the get_edges() method We were declaring a get_edges() method, but the definition was called get_edge(). clutter/clutter-snap-constraint.c | 6 +++--- clutter/clutter.symbols | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 3a86d88b431e381d6b4ed50e38018ca545a975e7 Author: Emmanuele Bassi Date: Wed Mar 7 12:07:41 2012 +0000 x11/device-manager-core: Avoid a signed/unsigned comparison clutter/x11/clutter-device-manager-core-x11.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f5065059b7ab21b8ad28d30a006a038e3275b3b1 Author: Emmanuele Bassi Date: Wed Mar 7 12:07:15 2012 +0000 x11/keymap: Avoid a signed/unsigned comparison clutter/x11/clutter-keymap-x11.c | 6 +++--- clutter/x11/clutter-keymap-x11.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit f54a4532a4e703c4e925390ccdebeb5270da4272 Author: Emmanuele Bassi Date: Wed Mar 7 12:06:24 2012 +0000 x11/backend: Ensure that pre/post parse hooks are not exposed Not even as private methods. clutter/x11/clutter-backend-x11.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit e3aea910b1524933e6ea3ef95a19a6c970d46677 Author: Emmanuele Bassi Date: Wed Mar 7 12:04:44 2012 +0000 Try to avoid duplicate declarations for profile macros We can use the __COUNTER__ macro or, failing that, the __LINE__ macro to ensure that we don't declare dummy variables more than once with the same name. clutter/clutter-profile.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 9bc8c05db8500f435da057710000b21244cc5735 Author: Emmanuele Bassi Date: Wed Mar 7 12:04:25 2012 +0000 gdk: Add missing declaration of clutter_gdk_get_default_display() clutter/gdk/clutter-gdk.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit fc12c591c324a6070a1763e9d0c6ab9aeadbba52 Author: Fran Diéguez Date: Wed Mar 7 12:54:09 2012 +0100 Updated Galician translations po/gl.po | 558 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 284 insertions(+), 274 deletions(-) commit ee0f43b701124b929b806e2f4a963a229bf92f9b Author: Daniel Mustieles Date: Wed Mar 7 11:33:52 2012 +0100 Updated Spanish translation po/es.po | 638 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 323 insertions(+), 315 deletions(-) commit ca550bc5cd9f4b6056a43f32f48396db05b7813a Author: Alexander Shopov Date: Wed Mar 7 06:36:27 2012 +0200 Updated Bulgarian translation po/bg.po | 558 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 284 insertions(+), 274 deletions(-) commit 05813872f9179d8fbe6c4be6cea8f86a89edf3ff Author: Emmanuele Bassi Date: Fri Jan 27 12:30:04 2012 +0000 osx: Call finishLaunching on post-parse https://bugzilla.gnome.org/show_bug.cgi?id=668801 clutter/osx/clutter-backend-osx.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit cc25deade04b8f06d460292915f3ab6d2369d33c Author: Emmanuele Bassi Date: Tue Mar 6 15:39:29 2012 +0000 texture: Fix the async loop ceiling The comment says that we're going to load textures in a loop until we still have work to do, or if one iteration took more than 5 milliseconds, to avoid blowing up our frame budget, but the check is for 5 seconds, which is hardly a sensible value. clutter/clutter-texture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4849c02e330ce9db52564c812dc4a0316498b979 Author: Nilamdyuti Goswami Date: Tue Mar 6 21:07:26 2012 +0530 Assamese translation completed po/as.po | 366 +++++++++++++++++++++++++++++-------------------------------- 1 files changed, 174 insertions(+), 192 deletions(-) commit 4db4471528a33cc07c2b98e0d84e34018c6ee1ec Author: Emmanuele Bassi Date: Tue Mar 6 15:07:55 2012 +0000 interactive/text-field: Use :background-color Instead of a custom paint signal handler. tests/interactive/test-text-field.c | 31 +++---------------------------- 1 files changed, 3 insertions(+), 28 deletions(-) commit 477d399c31dc2c5e5af91ee3c561f0a40f21155b Author: Emmanuele Bassi Date: Tue Mar 6 15:06:52 2012 +0000 text: Use the background color when painting If the ClutterActor:background-color-set property is set to TRUE. clutter/clutter-text.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) commit 663d6179ffdb27ef25ee67e4b7d2e05a5d1216aa Author: Emmanuele Bassi Date: Tue Mar 6 15:05:36 2012 +0000 text: Center the cursor caret We remove 2 pixels from the height of the cursor, but we should also remove the same amount from the position on the y axis, so that the cursor caret appears centered in the allocated height. https://bugzilla.gnome.org/show_bug.cgi?id=655491 clutter/clutter-text.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 812fbee7ecba813b2d8c5511b974b15b004a975d Author: Matej Urbančič Date: Tue Mar 6 15:43:08 2012 +0100 Updated Slovenian translation po/sl.po | 458 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 234 insertions(+), 224 deletions(-) commit 764640419607b4918515f42722bb0950ea23d90c Author: Emmanuele Bassi Date: Tue Mar 6 14:23:33 2012 +0000 script: Support translatable strings for properties ClutterScript should be able to automatically call gettext() and friends on strings loaded from a UI definition, prior to passing the string to the object it is constructing. The basic implementation is trivial: - set a translation domain on the ClutterScript instance - mark the translatable strings inside the JSON data, like: "property" : { "translatable" : true, "string" : "a translatable string" } The hard part is now getting the tools we use to extract the translatable strings to understand the JSON format we use inside ClutterScript. clutter/clutter-script-parser.c | 58 +++++++++++++++++++++++ clutter/clutter-script-private.h | 3 + clutter/clutter-script.c | 93 ++++++++++++++++++++++++++++++++++++++ clutter/clutter-script.h | 6 +++ tests/data/test-script.json | 4 +- 5 files changed, 162 insertions(+), 2 deletions(-) commit 4a9414ff870ce74d3194425d30709124558eacd2 Author: Emmanuele Bassi Date: Tue Mar 6 14:22:43 2012 +0000 Annotate clutter_threads_add_repaint_func_full() clutter/clutter-main.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 1ac655b3942a51ff0b24228d9ecf264a51d52c87 Author: Emmanuele Bassi Date: Tue Mar 6 14:21:04 2012 +0000 Add missing enumeration type to clutter.symbols clutter/clutter.symbols | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c2e7704151be86bf26a47c63f2735f45394a08bd Author: Emmanuele Bassi Date: Tue Mar 6 13:50:10 2012 +0000 master-clock: Add frame budget diagnostic messages Let's keep a budget of 16.6 milliseconds per frame, and reduce it by the amount of time spent in each phase of the frame processing. If any phase goes over the allocated budget then we use the diagnostic mode facilities to warn the app developer. clutter/clutter-master-clock.c | 55 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 54 insertions(+), 1 deletions(-) commit bdf9f4958825fa7a9adf0bea16d4d079becb896f Author: Emmanuele Bassi Date: Tue Mar 6 12:55:27 2012 +0000 master-clock: Clean up the frame processing Split out every phase into its own function, to ensure that the sequence of operation is clear and easy to follow. clutter/clutter-master-clock.c | 237 +++++++++++++++++++++------------------- clutter/clutter-master-clock.h | 1 - 2 files changed, 124 insertions(+), 114 deletions(-) commit 229607464b287d6ea1ed1633d4e982768ccb18cc Author: Emmanuele Bassi Date: Tue Mar 6 12:09:00 2012 +0000 Improve repaint functions It is sometimes useful to be able to have better control on when a repaint function is called. Currently, all repaint functions are called prior to the stages update phase of the frame processing. We can introduce flags to represent the point in the frame update process in which we wish Clutter called the repaint function. As a bonus, we can also add a flag that causes adding a repaint function to spin the master clock. clutter/clutter-enums.h | 19 ++++++ clutter/clutter-main.c | 91 +++++++++++++++++++++++++--- clutter/clutter-main.h | 4 + clutter/clutter-master-clock.c | 8 ++- clutter/clutter-private.h | 2 +- clutter/clutter.symbols | 1 + doc/reference/clutter/clutter-sections.txt | 1 + 7 files changed, 113 insertions(+), 13 deletions(-) commit afda0c955e57bd511725bc8704a4e8cfec52462c Author: Emmanuele Bassi Date: Mon Mar 5 23:57:01 2012 +0000 Post-release version bump to 1.9.15 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)