commit 9019a3754f99727a9f53d158f107ae183667cbee Author: Emmanuele Bassi Date: Mon Sep 3 22:27:57 2012 +0100 Release Clutter 1.11.14 (snapshot) NEWS | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 73 insertions(+), 1 deletion(-) commit d6b8dfb694da3780c871670dd476692a13860286 Author: Emmanuele Bassi Date: Mon Sep 3 22:34:22 2012 +0100 gdk: Fix include clutter/gdk/clutter-event-gdk.c | 1 + 1 file changed, 1 insertion(+) commit 6096b41d7c156318c04b9c8c13d4bfcee1a4dfd6 Author: Emmanuele Bassi Date: Mon Sep 3 22:21:44 2012 +0100 docs: Update with missing symbols doc/reference/clutter/clutter-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 99a7406d0198627aa0864b039dcabf691b537507 Author: Neil Roberts Date: Thu Jul 19 15:20:42 2012 +0100 evdev: Swap the numbers for the middle and right buttons The ordering of the evdev button numbers is the opposite of the order in Clutter (the middle button is 3 instead of 2) so we need to manually map the button numbers when creating a ClutterButtonEvent. https://bugzilla.gnome.org/show_bug.cgi?id=680255 clutter/evdev/clutter-device-manager-evdev.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit df0ab34499b45515a91fa9822588b81460299079 Author: Emmanuele Bassi Date: Mon Sep 3 21:56:39 2012 +0100 docs: Fix GestureAction.get_velocity() The velocity is in pixels per milliseconds, not microseconds. https://bugzilla.gnome.org/show_bug.cgi?id=683113 clutter/clutter-gesture-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6a0f7eb6132f23201856bcc9bd850622c2fb4d1 Author: Lionel Landwerlin Date: Tue Aug 21 15:26:30 2012 +0100 input-device: don't reset a device's stage until all touch points are gone 803b3bafb617c2df703aa8b834ff0df2f0c5c26c introduced a new issue for multi touch events. In the case where 2 touch events for 2 different touch points are processed in the same iteration, a call to _clutter_stage_remove_device() when processing the first event will remove the stage setting of the InputDevice. That means Clutter will skip the second event, because it can't find a stage to which relate the event, so no related actor and so no emission. To fix this we move the _clutter_stage_(add/remove)_device() calls into the input device. This way the input device can find out exactly when to call these functions (i.e. when no touch point were previously active or when no touch point remain active). https://bugzilla.gnome.org/show_bug.cgi?id=682362 clutter/clutter-device-manager-private.h | 11 ++--- clutter/clutter-input-device.c | 76 ++++++++++++++++++-------------- clutter/clutter-main.c | 10 +---- clutter/clutter-stage.c | 2 +- clutter/x11/clutter-device-manager-xi2.c | 6 --- 5 files changed, 52 insertions(+), 53 deletions(-) commit d5332d1e4c4852148fc0bf71bd3886157330dae6 Author: Tomeu Vizoso Date: Fri Aug 31 18:36:57 2012 +0200 stage: Remove tracking input devices, it's not used https://bugzilla.gnome.org/show_bug.cgi?id=683126 clutter/clutter-main.c | 4 +-- clutter/clutter-stage-private.h | 7 ----- clutter/clutter-stage.c | 38 --------------------------- clutter/gdk/clutter-event-gdk.c | 4 +-- clutter/osx/clutter-event-osx.c | 4 +-- clutter/win32/clutter-event-win32.c | 4 +-- clutter/x11/clutter-device-manager-core-x11.c | 4 +-- clutter/x11/clutter-device-manager-xi2.c | 4 +-- 8 files changed, 12 insertions(+), 57 deletions(-) commit fd375a7bc962517439303203cf7443caaf729e93 Author: Jasper St. Pierre Date: Thu Aug 30 21:02:38 2012 -0300 blur-effect: Fix the blur filter Make sure we don't sample the center twice, and don't sample things that aren't our immediate neighbors. https://bugzilla.gnome.org/show_bug.cgi?id=683076 clutter/clutter-blur-effect.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit fb9e0466c07db48bc68ac04ebf346bad5aee1ad4 Author: Emmanuele Bassi Date: Mon Sep 3 21:01:24 2012 +0100 examples/pan-action: Animate the content reset We can use the newly added support for implicit animations for the child transform. examples/pan-action.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 48a2846ab99a9c2fff2ec80342dbc2314eca04ad Author: Emmanuele Bassi Date: Mon Sep 3 21:00:40 2012 +0100 actor: Make :transform and :child-transform animatable Now that we can interpolate between two matrices, we can mark the matrix-based property as animatable. clutter/clutter-actor.c | 147 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 105 insertions(+), 42 deletions(-) commit 22ce4409b3f3994e3487617c01e96886c860dc9b Author: Emmanuele Bassi Date: Mon Sep 3 20:54:43 2012 +0100 Add interpolation for matrices Interpolating between two transformations expressed using a 3D matrix can be achieved by decomposing the matrices into their transformations and do a simple numeric interpolation between the initial and final states, like we do for other data types. Luckily for us, the CSS Transforms specification from the W3C provides the decomposition algorithm, using the "unmatrix" code taken from the book "Graphics Gems II, edited by Jim Arvo". Once the matrices have been decomposed, we can simply interpolate the transformations, and re-apply them onto the result matrix, using the facilities that Clutter provides for interpolating between two known GTypes. clutter/clutter-base-types.c | 99 +++++++++++- clutter/clutter-private.h | 39 +++++ clutter/clutter-types.h | 6 + clutter/clutter-util.c | 351 ++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 479 insertions(+), 16 deletions(-) commit cda4493f99c1d8699d4ddcd79d309f337292b8df Author: Neil Roberts Date: Mon Sep 3 15:11:22 2012 +0100 Include cogl/cogl-egl.h from clutter-egl-headers.h Since Cogl version 1.11.2, Cogl no longer includes the EGL headers from cogl.h if COGL_ENABLE_EXPERIMENTAL_2_0_API is defined. Instead the application needs to include cogl-egl.h so that we can avoid polluting the global namespace with X defines. Clutter defines the 2.0 define in its configure.ac and it is relying on Cogl to include the right EGL header in clutter-egl-headers.h so we need to change which header it includes. clutter/egl/clutter-egl-headers.h | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 03f4f1c69e7c66702cbed7e158a36668ae3683b9 Author: Emmanuele Bassi Date: Mon Sep 3 12:59:30 2012 +0100 actor: Remove existing implicit transition if duration is 0 When changing an implicit transition mid flight we may end up with an easing state with a duration of zero milliseconds; this leads to the implicit transition machinery setting the final state directly onto the actor. If there is a running transition, though, we need to remove it from the transitions table, otherwise it will keep running. This regression happened when the update_transition() internal function was merged into the create_transition() one. Tested-by: Lionel Landwerlin clutter/clutter-actor.c | 5 +++++ 1 file changed, 5 insertions(+) commit 2ef148a2c91bc5d09028549868e86d30ab267bac Author: Tomeu Vizoso Date: Fri Aug 31 12:50:12 2012 +0200 gesture-action: Add API for cancelling a gesture and getters for sequences and devices of current points. It can be used for accepting and rejecting sequences for system-wide gestures. https://bugzilla.gnome.org/show_bug.cgi?id=683090 clutter/clutter-gesture-action.c | 86 +++++++++++++++++++++++++++++++++++++++- clutter/clutter-gesture-action.h | 64 ++++++++++++++++++------------ clutter/clutter.symbols | 4 ++ 3 files changed, 127 insertions(+), 27 deletions(-) commit 38b82cb22c7968e0a33be56ec3b0d376e2baa08d Author: Jasper St. Pierre Date: Thu Aug 30 16:48:44 2012 -0300 brightness-contrast-effect: Don't actually run if it will have no effect Don't run the shader and redirect to an FBO if it won't actually do anything. This saves us on resources a ton. https://bugzilla.gnome.org/show_bug.cgi?id=683066 clutter/clutter-brightness-contrast-effect.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b2b22dbe6c246e45206ed6d4029f97594861e4dc Author: Emmanuele Bassi Date: Sun Sep 2 22:48:52 2012 +0100 x11/device-manager-xi2: Put XIPointerEmulated under conditionals There are a couple of debugging messages using XInput 2.2 symbols unconditionally, and it breaks builds on older systems. https://bugzilla.gnome.org/show_bug.cgi?id=683219 clutter/x11/clutter-device-manager-xi2.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 51f3eb06e30e196f8420d11dafa661f5a88335c8 Author: Piotr Drąg Date: Sat Sep 1 21:18:28 2012 +0200 Updated Polish translation po/pl.po | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b2a10b9a00884adcefe8ce20a420af074013fc47 Author: Ihar Hrachyshka Date: Thu Aug 30 16:04:38 2012 +0300 Updated Belarusian translation. po/be.po | 731 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 415 insertions(+), 316 deletions(-) commit a8468ac43aa9c2d562b02653ce23747f1817fb14 Author: Fran Diéguez Date: Wed Aug 29 00:06:38 2012 +0200 Updated Galician translations po/gl.po | 552 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 305 insertions(+), 247 deletions(-) commit 9fe251d9d4c3c7bc344fdb1cd8440cae30783a44 Author: Aurimas Černius Date: Tue Aug 28 21:55:07 2012 +0300 Updated Lithuanian translation po/lt.po | 479 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 244 insertions(+), 235 deletions(-) commit 02c8a7edf2a99983f41a82237198c3456582d0b3 Author: Piotr Drąg Date: Tue Aug 28 18:52:09 2012 +0200 Updated Polish translation po/pl.po | 365 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 199 insertions(+), 166 deletions(-) commit ac40bda0954a105e97a01e83daff458ba916aa79 Author: Daniel Mustieles Date: Tue Aug 28 16:06:08 2012 +0200 Updated Spanish translation po/es.po | 384 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 209 insertions(+), 175 deletions(-) commit 6e917f25d439f1fe2749bb11ce5212e13deb589e Author: Emmanuele Bassi Date: Tue Aug 28 14:46:40 2012 +0100 Update POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 9ca06d2895154eb2c985b85df186db3ade1a5e1e Author: Emanuele Aina Date: Sat Aug 25 16:23:23 2012 +0200 pan-action: add PanAction, to handle panning in scrollable actors PanAction is a GestureAction-subclass that implements the panning concept for scrollable actors, with the ability to emit interpolated signals to emulate the kinetic inertia of the panning. PanAction provides: • pan signal, notifying users of the panning gesture status; • pan-stopped signal, emitted at the end of the interpolated phase of the panning gesture, if enabled; • pan-axis property, to allow constraining the dragging to a specific axis; • interpolated property, to enable or disable the inertial behaviour; • deceleration property, to customize the rate at which the momentum of the panning will be slowed down; • acceleration-factor property, applied to the inertial momentum when starting the interpolated sequence. An interactive test is also provided. https://bugzilla.gnome.org/show_bug.cgi?id=681648 clutter/Makefile.am | 2 + clutter/clutter-enums.h | 19 + clutter/clutter-marshal.list | 1 + clutter/clutter-pan-action.c | 814 +++++++++++++++++++++++++++++ clutter/clutter-pan-action.h | 137 +++++ clutter/clutter.h | 1 + clutter/clutter.symbols | 13 + doc/reference/clutter/clutter-docs.xml.in | 1 + doc/reference/clutter/clutter-sections.txt | 29 + doc/reference/clutter/clutter.types | 1 + examples/Makefile.am | 1 + examples/pan-action.c | 127 +++++ 12 files changed, 1146 insertions(+) commit 436ebb2716b24743b3873aa7b330073c48793b86 Author: Emanuele Aina Date: Sat Aug 25 16:04:24 2012 +0200 gesture-action: add _get_motion_delta()/_get_velocity() Add some accessors to simplify common tasks for GestureAction users: • clutter_gesture_action_get_motion_delta() to get the delta on the X and Y axis in stage coordinates since the last motion event, and the scalar distance travelled; • clutter_gesture_action_get_velocity() to get an estimate of the speed of the last motion event along the X and Y axis and as a scalar value in pixels per millisecond. https://bugzilla.gnome.org/show_bug.cgi?id=681648 clutter/clutter-gesture-action.c | 121 ++++++++++++++++++++++++++++- clutter/clutter-gesture-action.h | 10 +++ clutter/clutter.symbols | 2 + doc/reference/clutter/clutter-sections.txt | 2 + 4 files changed, 131 insertions(+), 4 deletions(-) commit e8e91b62c896223d8f7bc4421862b87ef002a972 Author: Emanuele Aina Date: Sat Aug 25 16:02:34 2012 +0200 gesture-action: add allow-none annotations to getters https://bugzilla.gnome.org/show_bug.cgi?id=681648 clutter/clutter-gesture-action.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 5b8c6eb84208041245d551076645780753267795 Author: Nilamdyuti Goswami Date: Mon Aug 27 23:03:20 2012 +0530 Implemented FUEL entries to Assamese translation po/as.po | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit d332255111cb763542252a0ba9af249407b63287 Author: Andre Kuehne Date: Wed Jul 18 20:57:00 2012 +0200 Fix clutter_table_layout_pack row/column count incrementation. When appending (with a negative row/column parameter), the row/column count should be incremented by 1, not 2. This also fixes layout errors when using column/row spacing: The amount of extra space required was calculated incorrectly due to the wrong column count. https://bugzilla.gnome.org/show_bug.cgi?id=679990 clutter/clutter-table-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 59801ef854016cc85c6bcf8b6ed8a77081f433fb Author: Emanuele Aina Date: Fri Aug 10 20:47:46 2012 +0200 drag-action: fix press coords transform with drag_handle When setting a drag handle, transform the original press coordinates using the drag handle as reference instead of the associated actor. This causes the initial misplacement of drag handle in example/drag-action when holding down the Shift key: the handle gets placed at the main actor origin on the first drag event, instead of following the mouse pointer. All subsequent motion events already use the right actor when transforming the coordinates, thus they are not affected. https://bugzilla.gnome.org/show_bug.cgi?id=681746 clutter/clutter-drag-action.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7b6ce3fd88596003444f0bbe293a6b8b42d773e5 Author: Emanuele Aina Date: Mon Aug 27 15:24:34 2012 +0200 Add missing types to the reference manual list Signed-off-by: Emmanuele Bassi doc/reference/clutter/clutter.types | 3 +++ 1 file changed, 3 insertions(+) commit f4bd9a6a3b71092266515fe0f1cda86d4040ca56 Author: Emanuele Aina Date: Mon Aug 27 15:21:32 2012 +0200 Fix cookbook examples compilation Signed-off-by: Emmanuele Bassi doc/cookbook/examples/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8cf5c5959f4b199129147d72483038ab4732f131 Author: Lionel Landwerlin Date: Mon Aug 27 02:20:00 2012 +0100 rotate-action: fix wrong marshaller usage https://bugzilla.gnome.org/show_bug.cgi?id=682754 clutter/clutter-marshal.list | 2 +- clutter/clutter-rotate-action.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit fe92acd64999368d36815f5b1bc47d9e88300c42 Author: Lionel Landwerlin Date: Mon Aug 27 13:00:36 2012 +0100 actor-iter: fix prev()/next() annotations https://bugzilla.gnome.org/show_bug.cgi?id=682795 clutter/clutter-actor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3937a7c74c67e7ef0de149c7b536a5cd15aa3124 Author: Emmanuele Bassi Date: Mon Aug 27 12:24:20 2012 +0100 actor: Setting the child-transform invalidates the children's modelview We need to ensure that the children's cached modelview matrix gets invalidated when setting the :child-transform property on their parent. clutter/clutter-actor.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 1b155504c5a4c16e597656264e876f396b85beb4 Author: Emmanuele Bassi Date: Mon Aug 27 10:48:04 2012 +0100 actor: Call queue_redraw() when setting child-transform clutter/clutter-actor.c | 2 ++ 1 file changed, 2 insertions(+) commit 6bf0b983af0f2a3959458a7261778c35d09b9722 Author: Emmanuele Bassi Date: Sat Aug 25 10:38:12 2012 +0100 actor: Deprecate the pick signal Just like we did for the paint signal; a warning will be emitted if the diagnostic mode of GLib is enabled through the G_ENABLE_DIAGNOSTIC env var. clutter/clutter-actor.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit a66da2b1031ebc7a98acaf82af160a2c14a91b15 Author: Tom Tryfonidis Date: Sun Aug 26 23:05:49 2012 +0300 Updated Greek translation po/el.po | 848 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 461 insertions(+), 387 deletions(-) commit 3fb8648b8431eaa6e31116a3aa554748f1cf49f1 Author: Nilamdyuti Goswami Date: Sun Aug 26 21:37:26 2012 +0530 Assamese translation updated po/as.po | 523 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 275 insertions(+), 248 deletions(-) commit 0413e1a68d6ee72d72ffe0e0f65a0fb57f0fe8ac Author: Daniel Mustieles Date: Thu Aug 23 17:39:32 2012 +0200 Updated Spanish translation po/es.po | 81 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 39 deletions(-) commit f363097632fa93fddc9f269056fb8d505bf158c0 Author: Piotr Drąg Date: Wed Aug 22 22:13:57 2012 +0200 Updated Polish translation po/pl.po | 1845 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1053 insertions(+), 792 deletions(-) commit db5b664846dc6a86510493dc59271c47448a7083 Author: Chao-Hsiung Liao Date: Tue Aug 21 19:01:04 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 546 ++++++++++++++++++++++++++++++++---------------------------- po/zh_TW.po | 546 ++++++++++++++++++++++++++++++++---------------------------- 2 files changed, 586 insertions(+), 506 deletions(-) commit a7f28adce785b324d316a7912a5526d977ab79f5 Author: Andika Triwidada Date: Tue Aug 21 14:43:02 2012 +0700 Updated Indonesian translation po/id.po | 554 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 296 insertions(+), 258 deletions(-) commit 8f9b9713f2e451376730f08771a2250fa2a2845f Author: Chun-wei Fan Date: Tue Aug 21 15:26:48 2012 +0800 Visual C++: Don't disable warning C4819 The C4819 warnings appear due to a bug on Visual C++ when running on non-English locales, specifically CJK versions/locales of Windows. Re-enable this, like what is done in GLib, and add a note in the Visual C++ README.txt's to tell people about this, so that Cogl will be built correctly. build/win32/vs10/README.txt | 7 +++++++ build/win32/vs10/clutter.props | 2 +- build/win32/vs9/README.txt | 7 +++++++ build/win32/vs9/clutter.vsprops | 1 - 4 files changed, 15 insertions(+), 2 deletions(-) commit dffe168f00ef7bf3277ec8b81c7e28bb04fcc66b Author: Aurimas Černius Date: Mon Aug 20 22:53:36 2012 +0300 Updated Lithuanian translation po/lt.po | 1909 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1084 insertions(+), 825 deletions(-) commit de1b2996ca176a57a3651a26d9e9d0cc2d12b11a Author: Piotr Drąg Date: Mon Aug 20 21:49:00 2012 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 7b89b5de8c27a3d1800ce319e62cefc3276c9920 Author: Emmanuele Bassi Date: Mon Aug 20 20:31:07 2012 +0100 Post-release version bump to 1.11.13 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)