commit 62cffec9036f6a24736dc47914844fe9336c8ce4 Author: Emmanuele Bassi Date: Mon Apr 16 16:22:01 2012 +0100 Release Clutter 1.10.2 NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) commit 9d52fb06bbde5ce4b247e0819137f76d59b9d1b2 Author: Emmanuele Bassi Date: Sun Apr 15 13:02:42 2012 +0100 cally: Fix the pkg-config file Drop a bunch of variables that are not meant to be used by Cally; also, drop the wrong library name from the Libs key: Clutter has a single shared library, now. https://bugzilla.gnome.org/show_bug.cgi?id=674105 clutter/cally/cally.pc.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 89ab7bbb7e6b15dc79fb17faaf9f92079165fd50 Author: Emmanuele Bassi Date: Thu Apr 12 17:04:57 2012 +0100 actor: Clear MetaGroups when empty When removing the last Action, Constraint, or Effect, we should also be clearing the corresponding MetaGroup: code inside ClutterActor relies on NULL checks, and changing them all to check for NULL && n_items == 0 would not be fun. clutter/clutter-actor.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 8484a350b4548d6aa37106b1711faddaec42b57e Author: Emmanuele Bassi Date: Thu Apr 12 17:07:06 2012 +0100 actor: Check for mapped children in the default get_paint_volume() Unmapped children won't be painted so they should not contribute to the default paint volume computation. clutter/clutter-actor.c | 3 +++ 1 file changed, 3 insertions(+) commit 48bfac333df2f872cc58a4a41b2ed039465295f6 Author: Jasper St. Pierre Date: Fri Mar 30 11:19:02 2012 -0400 text: Bubble up a click and quit early for just static text Static text shouldn't need a cursor position or anything like that, and it always eats a button press event. https://bugzilla.gnome.org/show_bug.cgi?id=673190 clutter/clutter-text.c | 2 ++ 1 file changed, 2 insertions(+) commit 600307da78dcc5c69e5cb754e12e5d9a36e1ba5c Author: Peter Hutterer Date: Thu Apr 12 13:07:34 2012 +1000 Rename XINPUT_2_2 define to HAVE_XINPUT_2_2 configure.ac defines XINPUT_2_2 if XI 2.2 support was found. The code expects XINPUT_2_2 in the device manager, but HAVE_XINPUT_2_2 in the x11 backend. On newer X servers, the latter causes a BadValue when XIQueryDevice sends a different major/minor than gdk's device manager (gnome-control-center). Signed-off-by: Peter Hutterer https://bugzilla.gnome.org/show_bug.cgi?id=673961 clutter/x11/clutter-device-manager-xi2.c | 26 +++++++++++++------------- clutter/x11/clutter-input-device-xi2.c | 4 ++-- configure.ac | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) commit 32e6eb08aef7421ae3ce00b53a0b9c9a548098fb Author: Emmanuele Bassi Date: Wed Apr 11 13:57:06 2012 +0100 actor: Fix completed transitions logic We need to remove the transition only if the current repeat is equal to the number of repeats, and if the transition was marked as remove on complete. Otherwise, the transition has to remain where it is. clutter/clutter-actor.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit e2fa01ac9ae1c8f1805b000274f0b1bffa3ac484 Author: Emmanuele Bassi Date: Wed Apr 11 12:47:01 2012 +0100 Check before using pango_layout_get_character_count() Since it's in a debug code path, and 1.10 is the stable branch, we should not bump the dependency of Pango to 1.30. clutter/clutter-paint-nodes.c | 2 ++ 1 file changed, 2 insertions(+) commit 652f10e71850a0cf1a6be62cb4d05e5db7a8207f Author: Emmanuele Bassi Date: Tue Apr 10 13:37:04 2012 +0100 actor: Remove unnecessary relayout/redraw calls They will be handled internally. clutter/clutter-actor.c | 8 -------- 1 file changed, 8 deletions(-) commit 7941733f879b099ac64f266236a581951d8bc906 Author: Emmanuele Bassi Date: Tue Apr 10 12:58:17 2012 +0100 actor: Do not queue_redraw() in set_opacity() The opacity internal setter will do it for us, and it will take into consideration any eventual flatten effect applied to the actor. This unbreaks the actor-offscreen-redirect conformance test. clutter/clutter-actor.c | 2 -- 1 file changed, 2 deletions(-) commit bda3f00d423a15c345bf3981f305fd82be7233dd Author: Emmanuele Bassi Date: Tue Apr 10 12:12:50 2012 +0100 stage: Unset the natural size when fullscreening This ensures that constraints and signal handlers will go through the allocation and not through the cache after ::fullscreen has been emitted. clutter/clutter-stage.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 802cf54227bb3d2bff8d9769fbbcfd3f6d1c6197 Author: Emmanuele Bassi Date: Thu Mar 29 15:12:09 2012 +0100 interactive/bin-layout: Call save/restore easing state Don't do unprotected calls to set_easing_mode() and set_easing_duration(). tests/interactive/test-bin-layout.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit 9600e7945ccf4a67713fb343e64941b4507ddf5a Author: Emmanuele Bassi Date: Thu Mar 29 13:53:40 2012 +0100 actor: Make :content-gravity animatable Let's start making some non-trivial property animatable, like the content gravity. clutter/clutter-actor.c | 85 ++++++++++++++++++++++++++++++++---- tests/interactive/test-image-box.c | 2 + 2 files changed, 79 insertions(+), 8 deletions(-) commit 699f4f8d2ee1adf94bbea9f5965694650222bd87 Author: Emmanuele Bassi Date: Wed Mar 28 18:07:06 2012 +0100 actor: Minor optimization to avoid get_preferred_* When the easing state has a duration of zero milliseconds we can skip the entire create_transition() call inside set_width() and set_height(), to avoid what may be a costly call to get_preferred_*. clutter/clutter-actor.c | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) commit 9283eda3a3c7360059b21b7b7dea9bb4de9231f5 Author: Emmanuele Bassi Date: Wed Mar 28 16:39:30 2012 +0100 actor: Ensure we use the current easing duration and mode When updating a transition in flight, if the current easing state does not match the transition's. clutter/clutter-actor.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 0c86e11b9192be0c61c4e67135f2b16c355238b1 Author: Emmanuele Bassi Date: Wed Mar 28 13:21:58 2012 +0100 docs: Mention in-flight value changes clutter/clutter-actor.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit b17d56a35d47a2f66a89b133edb31328bd28883e Author: Emmanuele Bassi Date: Wed Mar 28 12:43:57 2012 +0100 actor: Check easing duration when updating in-flight transitions If we update a transition that is currently playing, we need to check the current easing state, and look at the eventual duration, in case the user wants to cancel the transition. clutter/clutter-actor.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 835849c7bbe6dca4831f733bb59962ab53520960 Author: Emmanuele Bassi Date: Wed Mar 28 11:52:01 2012 +0100 actor: Simplify setters of animatable properties Instead of checking the duration of the current easing state we should check if there's a transition in progress, and update it unconditionally. If there is no easing state, or the easing state has a duration of zero milliseconds, then create_transition() should bail out early and set the requested final state. This allows us to write: clutter_actor_save_easing_state (actor); clutter_actor_set_x (actor, 200); clutter_actor_restore_easing_state (actor); [...] clutter_actor_set_x (actor, 100); and have the second set_x() update the easing in progress, instead of being ignored. https://bugzilla.gnome.org/show_bug.cgi?id=672945 clutter/clutter-actor.c | 344 ++++++++++++++++++----------------------------- 1 file changed, 129 insertions(+), 215 deletions(-) commit acd630f49c7bcb639f2fcc24a26ee0085e1ca9aa Author: Emmanuele Bassi Date: Wed Mar 28 11:49:53 2012 +0100 interactive/transitions: Add missing easing state save/restore The test hasn't been updated after commit 229241b8, and was trying to change the easing state without creating one. tests/interactive/test-transitions.c | 4 ++++ 1 file changed, 4 insertions(+) commit cb4e3235b575d38aaf01ac66d6d3e27169461681 Author: Emmanuele Bassi Date: Mon Mar 26 18:34:15 2012 +0100 actor: Add debug annotation in add_transition() clutter/clutter-actor.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 0e96d2a4281e3798c313f421f9e696a52e581e25 Author: Emmanuele Bassi Date: Thu Mar 29 15:52:51 2012 +0100 actor: Make _clutter_actor_foreach_child() safe again We were using g_list_foreach() prior to the first Apocalypse, and that function is resilient against changes to the list while iterating it; since we are not using a GList any more, we need handle this case ourselves. clutter/clutter-actor.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit 0c2e0e75a0c3af7a4f59d640478fb6f2b75d8064 Author: Emmanuele Bassi Date: Sat Apr 7 23:07:59 2012 +0100 x11/device-manager-xi2: Remove heuristics for touchscreen devices Devices that have touch valuator classes will be touchscreens or touchpads; anything else should be ignored. clutter/x11/clutter-device-manager-xi2.c | 3 --- 1 file changed, 3 deletions(-) commit 25abc0bd739a127e7f6eb13485b99f85f1d3d4d8 Author: Stefano Facchini Date: Thu Mar 29 14:35:50 2012 +0200 canvas: avoid emission of "draw" signal when the size is zero This also avoids the warning Cogl-WARNING **: ./cogl-buffer.c:215: GL error (1285): Out of memory generated by cogl_buffer_map when the CoglBuffer has zero length. clutter/clutter-canvas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba9c93fd0bc222177bd8a7578a8870ffe29dcd2b Author: Emmanuele Bassi Date: Wed Apr 4 15:33:32 2012 +0100 osx: Fix build clutter/osx/clutter-backend-osx.c | 13 ++++++------- clutter/osx/clutter-backend-osx.h | 7 ++++++- clutter/osx/clutter-osx.h | 2 ++ clutter/osx/clutter-stage-osx.c | 33 ++++++++++++++++----------------- 4 files changed, 30 insertions(+), 25 deletions(-) commit 2acd4f2d4d7aa0d0351484e70fac85f5c8d62a50 Author: Owen W. Taylor Date: Mon Apr 9 12:09:59 2012 -0400 ClutterText: Fix length passed to clutter_text_buffer_set_text() clutter_text_buffer_set_text() expects a char count, not a byte count, so pass -1 rather than using strlen. https://bugzilla.gnome.org/show_bug.cgi?id=673783 clutter/clutter-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdb1109792aaca455628168e85e40f5ae046cddc Author: Jasper St. Pierre Date: Tue Mar 27 15:54:56 2012 -0300 actor: Invalidate the current state when popping easing states https://bugzilla.gnome.org/show_bug.cgi?id=672945 clutter/clutter-actor.c | 1 + 1 file changed, 1 insertion(+) commit cc515ab11cf91412cd99deac3e2945d7ed4e2dae Author: Emmanuele Bassi Date: Wed Mar 28 08:34:36 2012 +0100 table-layout: Fix [xy]_expand A copy and paste thinko. https://bugzilla.gnome.org/show_bug.cgi?id=672853 clutter/clutter-table-layout.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 4e80eeb5471d965c8db3b1d13d9c735e8c056434 Author: Emmanuele Bassi Date: Tue Mar 27 12:09:28 2012 +0100 Remove unused fields from LayoutInfo The x_expand and y_expand members would mess up the initialization of the constant LayoutInfo default structure. clutter/clutter-actor-private.h | 5 ----- 1 file changed, 5 deletions(-) commit dd658ea8386529fb15aa1944e61a79ad4c74d57f Author: Tristan Van Berkom Date: Tue Mar 27 16:57:03 2012 +0900 Properly manage timeline refcounting in clutter_animation_set_timeline() This patch fixes clutter to not crash when multiple animations share the same timeline and the actors are explicitly destroyed before the timeline completes (bug 672890) clutter/clutter-animation.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 1c7bc5811bebd765f335b63ec6cef3a7a5b106b0 Author: Neil Roberts Date: Fri Mar 23 16:34:17 2012 +0000 configure: Fix the -o operator in a call to test The disjunction operator was misspelt as -O which tests whether the following file is owned by the calling user. This doesn't take enough arguments so bash was showing an error and the test was always failing. This meant that NEED_XKB_UTILS was always false which should have broken the build but the Makefile was mistakenly including clutter-xkb-utils.c again if SUPPORT_WAYLAND is defined. See 1b77565e for reference. Reviewed-by: Emmanuele Bassi (cherry picked from commit 04f2be34b2cba22acdb497feb5ecbcc3233ccc6a) clutter/Makefile.am | 4 +--- configure.ac | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) commit 43a87276f7984dd3f1d2b4a57d812d0d35f8b881 Author: Emmanuele Bassi Date: Thu Mar 22 13:35:04 2012 +0000 Post-release version bump to 1.10.1 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)