commit 062491cf11bed7f818b75d2c205c4d9bb093f993 Author: Emmanuele Bassi Date: Mon Aug 20 19:41:36 2012 +0100 Release Clutter 1.11.12 (snapshot) NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 78 insertions(+), 1 deletion(-) commit 6716cd10e3d92103e626364378d1b3cddf6b0cd6 Author: Emmanuele Bassi Date: Mon Aug 20 19:41:21 2012 +0100 docs: Add ZoomAction symbols to the sections file doc/reference/clutter/clutter-sections.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 06ea2cf7b1d0a22985e3753e855b731cc52724a8 Author: Emmanuele Bassi Date: Mon Aug 20 18:56:20 2012 +0100 drag-action: Ensure that we can destroy the drag handle If the DragAction has a drag handle that gets destroyed inside the ::drag-end signal handler, the destruction sequence will trigger a callback we have in place to check if the handle is being destroyed mid-drag, e.g. from a ::drag-motion event. The callback on the drag handle destruction will check if we are still in the middle of a drag and emit the ::drag-end signal to allow cleaning up; the callback erroneously uses the drag handle as the argument for the emit_drag_end() function — instead of the actor to which the drag action has been attached. Also, by the time we emit the ::drag-end, we are not dragging the actor any more, so we shouldn't be emitted the ::drag-end signal twice. The fix is, thus, made of two parts: - reset the in_drag boolean before emitting the ::drag-end signal so that destroying the drag handle will not result in a double signal emission; - use the correct actor when calling emit_drag_end(). https://bugzilla.gnome.org/show_bug.cgi?id=681814 clutter/clutter-drag-action.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 449dca803423992b48d35c4c1a8ec272c3c401bf Author: Emmanuele Bassi Date: Mon Aug 20 18:29:31 2012 +0100 docs: Add ZoomAction to the API reference doc/reference/clutter/clutter-docs.xml.in | 1 + doc/reference/clutter/clutter.types | 1 + 2 files changed, 2 insertions(+) commit 84325057af82bb104180da01c8cb1789b71b4a9b Author: Lionel Landwerlin Date: Tue Aug 14 03:35:43 2012 +0100 Add zoom action https://bugzilla.gnome.org/show_bug.cgi?id=678427 clutter/Makefile.am | 6 +- clutter/clutter-enums.h | 19 +- clutter/clutter-marshal.list | 1 + clutter/clutter-zoom-action.c | 510 ++++++++++++++++++++++++++++++++++++++++++ clutter/clutter-zoom-action.h | 114 ++++++++++ clutter/clutter.h | 1 + clutter/clutter.symbols | 7 + 7 files changed, 655 insertions(+), 3 deletions(-) commit c4a0f911b08ad5bce25433b1db8dd83bf6b25c28 Author: Emmanuele Bassi Date: Mon Aug 20 17:58:30 2012 +0100 examples/box: Allow toggling animations We need to set the easing duration to a positive value to let the BoxLayout animate the allocation. examples/box-layout.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit d037890fc4a4d488a521af666ddcb3945fe64aff Author: Tristan Van Berkom Date: Tue Jul 31 12:29:49 2012 -0400 ClutterBoxLayout: Blessing with proper h4w geometry management The box layout was broken for height-for-width requests in the opposing orientation of the box. https://bugzilla.gnome.org/show_bug.cgi?id=679483 clutter/clutter-box-layout.c | 362 +++++++++++++++++++++++++++++-------------- 1 file changed, 247 insertions(+), 115 deletions(-) commit 8536314dbff5212e7afac29343ef67c46dfb30b2 Author: Emmanuele Bassi Date: Mon Aug 20 14:47:53 2012 +0100 bin-layout: Ensure that fixed position get a 0.0 alignment If the actor has a fixed position set, but it's not using the BinLayout alignment enumeration to set its alignment, then we force the alignment factor to 0.0; this is consistent with what happens with an explicit alignment of CLUTTER_BIN_ALIGNMENT_FIXED. https://bugzilla.gnome.org/show_bug.cgi?id=682265 clutter/clutter-bin-layout.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 044c04ea8bba9f4ca545fb0c76bf981f6bac7932 Author: Emmanuele Bassi Date: Mon Aug 20 14:28:17 2012 +0100 docs: Add ClutterAnimation migration docs doc/reference/clutter/Makefile.am | 10 +- doc/reference/clutter/clutter-docs.xml.in | 1 + .../clutter/migrating-ClutterAnimation.xml | 139 +++++++++++++++++++++ 3 files changed, 146 insertions(+), 4 deletions(-) commit 6771e3ea157d5eb32d851e13de501a001f48088f Author: Daniel Mustieles Date: Mon Aug 20 14:13:09 2012 +0200 Updated Spanish translation po/es.po | 554 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 297 insertions(+), 257 deletions(-) commit cccb3709dd8558fb33ffbedba270ce9baddffbd1 Author: Duarte Loreto Date: Sun Aug 19 22:31:02 2012 +0100 Updated Portuguese translation po/pt.po | 1825 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1035 insertions(+), 790 deletions(-) commit f996c6e061d9953d103f18b74eb4149dc1c85763 Author: Emmanuele Bassi Date: Sun Aug 19 17:57:32 2012 +0100 docs: Add missing symbols to the sections file doc/reference/clutter/clutter-sections.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ffe32426b8f664bef9b11c21e155c4b0aaf0cfe1 Author: Emmanuele Bassi Date: Thu Aug 16 17:10:50 2012 +0100 actor: Add the :child-transform property An additional transformation that is applied to the children of an actor before their own transformations, but not to the actor itself. clutter/clutter-actor-private.h | 3 + clutter/clutter-actor.c | 136 +++++++++++++++++++++++++++++++++++++++- clutter/clutter-actor.h | 6 ++ clutter/clutter.symbols | 4 +- 4 files changed, 146 insertions(+), 3 deletions(-) commit f7dd2d374661003e0855b5d33d270381895b1cbf Author: Emmanuele Bassi Date: Thu Aug 16 16:13:38 2012 +0100 matrix: Fix the init_with_matrix() implementation As usual, I swapped the memcpy() arguments around. clutter/clutter-base-types.c | 8 +++----- clutter/clutter-types.h | 12 ++++++------ 2 files changed, 9 insertions(+), 11 deletions(-) commit e9bcb4cf6ead0f7066de2e2eb14a4a5ad5f04a05 Author: Emmanuele Bassi Date: Fri Aug 17 19:52:56 2012 +0100 text: Clean up button press handling Event handling should only apply to editable ClutterText actors, but we also have the :selectable property to care about. The button/touch press should position the cursor inside an editable ClutterText; the :selectable property should be used to allow selecting the text, either through pointer or touch dragging, via the keyboard, or by multiple pointer clicks. If neither of these two conditions are met, the ClutterText should just propagate the event handling further. clutter/clutter-text.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit aeb7c6926b1ca05601b4adc3cfadd9d21ebbe183 Author: Emmanuele Bassi Date: Fri Aug 17 19:20:21 2012 +0100 Fix segfault when enabling debugging notes clutter/clutter-input-device.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit b8a00aa881b6882b6128cbea187a2f1ae68b3215 Author: Fran Diéguez Date: Fri Aug 17 23:13:25 2012 +0200 Updated Galician translations po/gl.po | 465 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 234 insertions(+), 231 deletions(-) commit f5a620ed3bd9d7d86bb51c8ec7c7102c016e89e2 Author: Jasper St. Pierre Date: Wed Jul 25 13:34:03 2012 -0300 clutter-text: Make sure to paint the background of a text actor https://bugzilla.gnome.org/show_bug.cgi?id=682070 clutter/clutter-text.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 4a2f35fb8823cc1e692359a69946085aec1a71df Author: Мирослав Николић Date: Fri Aug 17 09:34:36 2012 +0200 Updated Serbian translation po/sr.po | 448 ++++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 448 ++++++++++++++++++++++++++++++--------------------------- 2 files changed, 474 insertions(+), 422 deletions(-) commit 4a95e1d4a3805eabf96293b326798f022c1a25e6 Author: Fran Diéguez Date: Thu Aug 16 23:24:08 2012 +0200 Updated Galician translations po/gl.po | 58 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 17 deletions(-) commit 3a718133464de1139eaf2db548d9af33849f65dc Author: Nilamdyuti Goswami Date: Thu Aug 16 22:19:21 2012 +0530 Assamese translation updated po/as.po | 96 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 57 insertions(+), 39 deletions(-) commit f99d48a0c6f618720aba73c3bc7e18f6066cb1e9 Author: Giovanni Campagna Date: Sat Aug 4 00:13:04 2012 +0200 ClutterDragAction: allow constraining the movement of the dragged actor Allow setting a ClutterRect on the drag action and force the dragged actor's position to be always within that rectangle (relative to the actor's parent). https://bugzilla.gnome.org/show_bug.cgi?id=681168 clutter/clutter-drag-action.c | 119 ++++++++++++++++++++++++++++- clutter/clutter-drag-action.h | 8 ++ clutter/clutter.symbols | 2 + doc/reference/clutter/clutter-sections.txt | 2 + 4 files changed, 130 insertions(+), 1 deletion(-) commit b62797d23a43871fb97f548c571ffc95bd0c1d68 Author: Daniel Mustieles Date: Thu Aug 16 16:08:02 2012 +0200 Updated Spanish translation po/es.po | 409 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 208 insertions(+), 201 deletions(-) commit b6e8f9d61ef4e11ab04293498bf2c8d8e14adfe4 Author: Emmanuele Bassi Date: Thu Aug 16 11:37:20 2012 +0100 Remove (constructor) annotation ClutterMatrix is an alias to CoglMatrix, and g-ir-scanner complains if a function marked as a constructor does not return the correct type. clutter/clutter-base-types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 803b3bafb617c2df703aa8b834ff0df2f0c5c26c Author: Emmanuele Bassi Date: Wed Aug 15 17:15:06 2012 +0100 Associate the device to a stage on touch events Just like we do for crossing events, we need to update the stage pointer inside ClutterInputDevice on TOUCH_BEGIN and TOUCH_END. https://bugzilla.gnome.org/show_bug.cgi?id=681074 clutter/clutter-main.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 6a13a5bd3c00801b368df1638f856eee9e069fbd Author: Chao-Hsiung Liao Date: Wed Aug 15 15:07:15 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 410 +++++++++++++++++++++++++++++++----------------------------- po/zh_TW.po | 408 ++++++++++++++++++++++++++++++----------------------------- 2 files changed, 417 insertions(+), 401 deletions(-) commit ed51f0054ec796a65c31619446806c5b01f1142b Author: Daniel Korostil Date: Tue Aug 14 22:24:42 2012 +0300 Uploaded Ukranian po/uk.po | 1809 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1026 insertions(+), 783 deletions(-) commit 8fc5f72a337eeff52753bf4bf8edfedef8be338a Author: Nilamdyuti Goswami Date: Mon Aug 13 13:35:56 2012 +0530 Assamese translation updated po/as.po | 441 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 208 insertions(+), 233 deletions(-) commit 480fb65c42a9d1d91adfd074ef8d8937d6eae90f Author: Dirgita Date: Mon Aug 13 05:56:22 2012 +0700 Updated Indonesian translation po/id.po | 726 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 368 insertions(+), 358 deletions(-) commit 260d8fc0973f9a35d5252a8f6d6223190275f2ac Author: Emmanuele Bassi Date: Sun Aug 12 19:21:22 2012 +0100 backend: Include deprecated header To avoid compiler warnings. clutter/clutter-backend.c | 3 +++ 1 file changed, 3 insertions(+) commit 202d95d180713968ac807d9b446c1a89e6177433 Author: Emmanuele Bassi Date: Sun Aug 12 19:19:02 2012 +0100 rotate-action: Use the correct accumulator The boolean_handled accumulator will stop the signal emission if TRUE is returned by a signal handler; the boolean_continue accumulator will stop the signal emission if FALSE is returned. The first one is used for event-related signals, while the latter is used for action-related signals. clutter/clutter-rotate-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00f7fc4e58f52386a432613e409dde389b77d7bf Author: Emmanuele Bassi Date: Fri Aug 10 14:06:49 2012 +0100 stage: Do not use get_allocation_geometry() Second try, after testing. Tested-by: Rico Tzschichholz clutter/clutter-stage.c | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) commit 44661902bd28d08ce4ced16f65e0f992792012c9 Author: Emmanuele Bassi Date: Sun Aug 12 09:29:29 2012 +0100 Revert "stage: Do not use get_allocation_geometry()" This reverts commit ef1bb42a86263f766d49335fb09aa87655fa255d. Apparently, it broke GNOME Shell, so let's back it out first and try to figure out why. clutter/clutter-stage.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 93a43f879dc85f6103f01d3da04bef01a29d9eb6 Author: Emmanuele Bassi Date: Thu Aug 9 01:33:16 2012 +0100 Deprecate ClutterActor::paint Only the signal connection. When using G_ENABLE_DIAGNOSTIC there will be a warning for every signal connection. We should try and discourage people from ever using the paint signal ever again, until we can safely remove it in Clutter 2.0. clutter/clutter-actor.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit 3e4277c2e85d51dca327ec4c08ee2a31c1eb9883 Author: Emmanuele Bassi Date: Fri Aug 10 14:28:48 2012 +0100 base-types: Add (constructor) annotations The alloc() functions are the constructors for their types, so it's better to have the introspection data match the intent of the API. clutter/clutter-base-types.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 903452d2dfd357e1f6e59b94fc33c6a192415235 Author: Sjoerd Simons Date: Fri Jun 22 11:43:52 2012 +0200 interactive/touch-events: Optimize touch event drawing The current versions redraws all events on every redraw, which starts getting very slow quickly. Instead simply draw only the new events except when the cairo surface got reset, in that case redraw all events again. https://bugzilla.gnome.org/show_bug.cgi?id=681584 tests/interactive/test-touch-events.c | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) commit 5b7c61a026bc46a646fc28f147540669a9b555c2 Author: Emmanuele Bassi Date: Fri Aug 10 14:17:56 2012 +0100 actor: Deprecate Geometry-related API We cannot fully deprecate Geometry, because ClutterActor and ClutterText are actually using the type in signals and properties; but we can deprecate the API that uses this type, so that 2.0 will be able to avoid it entirely. clutter/clutter-actor.c | 90 -------------------------- clutter/clutter-actor.h | 2 - clutter/clutter-paint-volume.c | 2 +- clutter/deprecated/clutter-actor-deprecated.c | 93 +++++++++++++++++++++++++++ clutter/deprecated/clutter-actor.h | 4 ++ clutter/deprecated/clutter-rectangle.c | 3 +- 6 files changed, 100 insertions(+), 94 deletions(-) commit ef1bb42a86263f766d49335fb09aa87655fa255d Author: Emmanuele Bassi Date: Fri Aug 10 14:06:49 2012 +0100 stage: Do not use get_allocation_geometry() It's pointless, and it will be deprecated soon. clutter/clutter-stage.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit 699a1876d4ee63412b9348b695cf372d4e174a74 Author: Emmanuele Bassi Date: Fri Aug 10 14:06:14 2012 +0100 clone: Do not use get_allocation_geometry() Another nail in ClutterGeometry's coffin. clutter/clutter-clone.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 7a59b69f96891cd18ed2c52dd939c47e7a82767e Author: Emmanuele Bassi Date: Fri Aug 10 12:58:22 2012 +0100 actor: Deprecate :clip and introduce :clip-rect instead The :clip property still uses ClutterGeometry, which is a very bad rectangle type. Since we cannot change the type of the property compatibly, we should introduce a new property using ClutterRect instead. This also matches the ClutterActor.set_clip() API, which uses a decomposed rectangle with floating point values, like we do with set_position() and set_size(). clutter/clutter-actor.c | 130 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 93 insertions(+), 37 deletions(-) commit 9515cc5b94a127e59cd9da2b40954d2eaf38c372 Author: Emmanuele Bassi Date: Thu Aug 9 17:50:44 2012 +0100 docs: Fix the link to set_content_gravity() clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97755882c16adcbefa2065e4ab3b07d225e50fd4 Author: Emmanuele Bassi Date: Thu Aug 9 17:11:10 2012 +0100 bin-layout: Use ClutterActor:fixed-position-set Instead of only relying on the (now) deprecated BinAlignment.FIXED enumeration value, we just ask the actor if a fixed position has been explicitly set, under the assumption that if a developer decided to call set_x(), set_y(), or set_position() on an actor inside a BinLayout then she wanted the fixed position to be honoured. This removes the last (proper) use of the BinAlignment enumeration. clutter/clutter-bin-layout.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) commit f5760842773f9db3b6cca436b921b97b52699171 Author: Emmanuele Bassi Date: Thu Aug 9 16:56:19 2012 +0100 docs: Warn users of ClutterGeometry The Geometry type is an *awful* representation of a integer rectangle, as it uses unsigned integers for its size, leading to overflow issues when unioning and intersecting. We have better rectangle types in Cairo and Clutter, these days. clutter/clutter-types.h | 4 ++++ 1 file changed, 4 insertions(+) commit 46211a65db186e1af66cfa1e5ebaafddcb8a560c Author: Emmanuele Bassi Date: Thu Aug 9 16:55:41 2012 +0100 types: Add INIT_ZERO macro for ActorBox Last type that was missing this macro. clutter/clutter-types.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 97ed8e76d7c640e735372255f793881b614e1edb Author: Emmanuele Bassi Date: Thu Aug 9 16:54:37 2012 +0100 docs: Fix up deprecation notes for animate() Instead of pointing to PropertyTransition, point to the implicit animation support in ClutterActor. clutter/deprecated/clutter-animation.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 2c20de007124d24d7f43edf214e92eca60b73f66 Author: Nilamdyuti Goswami Date: Wed Aug 8 13:21:08 2012 +0530 Assamese translation updated po/as.po | 1817 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1024 insertions(+), 793 deletions(-) commit b58f00cb9a266aef640ebbb65d706ed609ae6452 Author: Emmanuele Bassi Date: Tue Aug 7 09:58:23 2012 +0100 Post-release version bump to 1.11.11 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)