commit ff0e09bc25070be426e1d45c00f9766437c277c9 Author: Emmanuele Bassi Date: Wed Sep 14 10:04:36 2011 +0100 Release Clutter 1.6.18 (release) NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 46 insertions(+), 2 deletions(-) commit 207a7bcfd6ffa2a9878fbb44684842856c118329 Author: Emmanuele Bassi Date: Wed Sep 14 10:03:26 2011 +0100 build: Link Cogl directly against libdl Cogl uses dlopen() directly but doesn't link against dl, thus linking against Clutter fails when using --as-needed. clutter/cogl/cogl/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 139a98a641acb451281d482a1209ad10d94ab9b6 Author: Emmanuele Bassi Date: Sat Apr 16 10:22:01 2011 +0100 animation: Use ::destroy with animate() ClutterAnimation uses the weak ref machinery of GObject when associated to ClutterActor by clutter_actor_animate() and friends - all the while taking a reference on the actor itself. In order to trigger the weak ref callback, external code would need to unref the Actor at least twice, which has slim chance of happening. Plus, the way to destroy an Actor is to call destroy(), not call unref(). The destruction sequence of ClutterActor emits the ::destroy signal, which should be used by classes to release external references the might be holding. My oh my, this sounds *exactly* the case! So, let's switch to using the ::destroy signal for clutter_actor_animate() and friends, since we know that the object bound to the Animation is an Actor, and has a ::destroy signal. This change has the added benefit of allowing destroying an actor as the result of the Animation::completed signal without getting a segfault or other bad things to happen. Obviously, the change does not affect other GObject classes, or Animation instances created using clutter_animation_new(); for those, the current "let's take a reference on the object to avoid it going away in-flight" mechanism should still suffice. Side note: it would be interesting if GObject had an interface for "destructible" objects, so that we could do a safe type check. I guess it's a Rainy Day Project(tm)... (cherry picked from commit 57ebce8039c0d82b144c6753246dcb0c6308a844) Signed-off-by: Emmanuele Bassi clutter/clutter-animation.c | 37 ++++++++++++++++++++++++------------- 1 files changed, 24 insertions(+), 13 deletions(-) commit f3532c3335d963402c5dc38d388c41e2491b0be4 Author: Chris Lord Date: Mon Mar 28 16:10:59 2011 +0100 actor: Ensure the validity of the queue_redraw_entry pointer In _clutter_actor_queue_redraw_with_clip, there was the possibility that the actor will add itself to the stage's redraw queue without keeping track of the allocated list member. In clutter_actor_unparent, the redraw queue entry was being invalidated before the mapped notify signal was being fired, meaning that queueing a redraw of an unmapped actor in the mapped notification callback could cause a crash. http://bugzilla.clutter-project.org/show_bug.cgi?id=2621 (cherry picked from commit f9d7650b97c3788763e14ce3b39f21f19edc41bb) Signed-off-by: Emmanuele Bassi clutter/clutter-actor.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit 5ba7c13f676738225bf92cc8c587ba9319960c56 Author: Emmanuele Bassi Date: Wed Jun 8 14:25:50 2011 +0100 Add some safety nets for NULL values https://bugzilla.gnome.org/show_bug.cgi?id=652034 clutter/clutter-actor.c | 7 +++++-- clutter/clutter-stage.c | 31 ++++++++++++++++--------------- 2 files changed, 21 insertions(+), 17 deletions(-) commit 76fc6d9483c5404cc2c3b067270e8db44f82612e Author: Neil Roberts Date: Thu Aug 4 19:04:11 2011 +0100 cogl-blend-string: Fix TEXTURE_N sources The parser couldn't cope with TEXTURE_N source arguments because the sources are checked in turn to find one that matches the beginning of the argument. The TEXTURE_N source was checked last so it would end up matching the regular 'TEXTURE' source and then the parser would choke when it tries to parse the trailing parts. This patch just moves the check for TEXTURE_ to the top. It also also changes it so that the argument only needs to be at least 8 characters long instead of 9. This is necessary because the parser doesn't consider the digits to be part of the name of the argument so while we are parsing 'TEXTURE_0' the length is only 8. Reviewed-by: Robert Bragg Backported from 92704124957 of Cogl master clutter/cogl/cogl/cogl-blend-string.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit c89e83e2198706b86bb549a14364095a9ff6b3ce Author: Lionel Landwerlin Date: Thu Jun 2 17:13:26 2011 +0100 evdev: enable devices by default Signed-off-by: Lionel Landwerlin https://bugzilla.gnome.org/show_bug.cgi?id=651717 clutter/evdev/clutter-device-manager-evdev.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 58d7a147dee28a9c81c87fa32e54cba6a4cc8a20 Author: Emmanuele Bassi Date: Mon Jul 18 13:45:55 2011 +0100 timeline: Cast elapsed time before emitting ::new-frame When emitting a new-frame signal, priv->elapsed_time is passed as a parameter. This is a gint64. The closure marshal uses an INT. On some platforms, this is not received correctly by signal handlers (they receive 0). One solution is to cast priv->elapsed_time to a gint when emitting the signal. We cannot change the signature of the signal without breaking ABI. https://bugzilla.gnome.org/show_bug.cgi?id=654066 (cherry picked from commit 1402c0511239ede27855a836fd9ca9cc8dbf969d) Signed-off-by: Emmanuele Bassi clutter/clutter-timeline.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 7b650e4d3be512855fc7be506d45a050f59fc77e Author: Damien Lespiau Date: Tue Jul 12 17:32:26 2011 +0100 text: Fix the default value of "editable" The "editable" property is documented to default to TRUE, but is initialized to FALSE in the _init() function. Third party code would be affected if we changed the default to be TRUE, so we have to change the default value in the GParamSpec. https://bugzilla.gnome.org/show_bug.cgi?id=654726 (cherry picked from commit 4d58534fbb49be6c39017df1d4a32a9184e28f68) Signed-off-by: Emmanuele Bassi clutter/clutter-text.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e0e9c3fc4f3f32c07e998807c383c5677cf71001 Author: Emmanuele Bassi Date: Mon Jul 18 13:49:45 2011 +0100 Compilation fixes for suncc Clutter 1.6.16 does not compile on Solaris due to the following syntax errors. Sun Studio compiler doesn't like using "return" with void functions, and there seems to be a parens issue in cogl-debug.h. https://bugzilla.gnome.org/show_bug.cgi?id=654718 clutter/clutter-main.c | 2 +- clutter/cogl/cogl/cogl-bitmap.c | 10 ++++++++-- clutter/cogl/cogl/cogl-debug.h | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) commit d4637af7e92b04372a7261ac0165826241fc0f0e Author: Bastian Winkler Date: Tue Jul 5 17:31:41 2011 +0200 snap-constraint: Fix allocation for CLUTTER_SNAP_EDGE_RIGHT Use source_with instead of source_height to calculate the the x1/x2 positions for CLUTTER_SNAP_EDGE_RIGHT https://bugzilla.gnome.org/show_bug.cgi?id=654024 clutter/clutter-snap-constraint.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 807eb9990d88181f48c67802acaf40be80ebc2d5 Author: Robert Bragg Date: Fri Jun 17 16:23:35 2011 +0100 group: Handle list modification while destroying children This makes the dispose code that destroys children resilient against priv->children being modified during child destruction. (cherry picked from commit ddc9eb5fa5326904852951a3fa00159bed75fde1) Signed-off-by: Emmanuele Bassi clutter/clutter-group.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) commit ed3004816e3fe81f3705f8cb469956ebf319ec32 Author: Damien Lespiau Date: Tue Jul 12 14:53:57 2011 +0100 pipeline: NULLify deprecated_get_layers_list on copy That list is tracking the layers for get_layers_list() and needs to be freed later on. However _copy() did not initialize it and we ended up trying to free some garbage pointer. Cherry picked from Cogl master 221850ec clutter/cogl/cogl/cogl-pipeline.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit c72afc27c67df5a9f0d8b0d0c4768b4386fe687b Author: Damien Lespiau Date: Wed Jul 6 19:18:22 2011 +0100 pipeline: Plug a leak of GLists _cogl_pipeline_get_layers() allocates a list on the pipeline to be able to get the pointer valid as long as possible and store that list in the pipeline object. You need to free that list when freeing the pipeline. Cherry picked from cogl master 711a817 clutter/cogl/cogl/cogl-pipeline.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 2cfe64db73c437f8115b6f056d083072df00434b Author: Neil Roberts Date: Wed Jul 6 12:45:26 2011 +0100 cogl-pipeline: Fix reference counting on promoting weak parents When a copy is made of a weak pipeline it tries to promote the weak parent by taking a reference on that weak pipeline's parent. However promote_weak_ancestors was instead always taking a reference on the first parent, regardless of whether it was weak. The corresponding revert_weak_ancestors function which is supposed to undo the effect of promote_weak_ancestors only unref'd the parent if was weak. This meant that any non-weak pipeline copy would end up leaking a reference on its parent. This patch changes both functions to have a similar loop. It loops through all of the parents of the pipeline until it finds one that is not weak and refs or unrefs the *parent* of that pipeline instead of the pipeline itself. This is cherry-picked from 17a558a386 on Cogl git master. clutter/cogl/cogl/cogl-pipeline.c | 39 +++++++++++++++++++----------------- 1 files changed, 21 insertions(+), 18 deletions(-) commit a8af207ddcf535f9b1d0a2e99999a9d68b06ea60 Author: Javier Jardón Date: Wed Jun 8 18:45:52 2011 +0100 clutter: Use const instead G_CONST_RETURN https://bugzilla.gnome.org/show_bug.cgi?id=652129 clutter/clutter-actor-meta-private.h | 2 +- clutter/clutter-actor-meta.c | 4 ++-- clutter/clutter-actor-meta.h | 2 +- clutter/clutter-actor-private.h | 2 +- clutter/clutter-actor.c | 4 ++-- clutter/clutter-actor.h | 2 +- clutter/clutter-animator.c | 2 +- clutter/clutter-animator.h | 2 +- clutter/clutter-backend.c | 2 +- clutter/clutter-backend.h | 2 +- clutter/clutter-binding-pool.c | 2 +- clutter/clutter-binding-pool.h | 2 +- clutter/clutter-color.c | 4 ++-- clutter/clutter-color.h | 4 ++-- clutter/clutter-event.c | 2 +- clutter/clutter-event.h | 2 +- clutter/clutter-input-device.c | 2 +- clutter/clutter-input-device.h | 2 +- clutter/clutter-interval.c | 2 +- clutter/clutter-interval.h | 2 +- clutter/clutter-model.c | 2 +- clutter/clutter-model.h | 2 +- clutter/clutter-private.h | 2 +- clutter/clutter-script.c | 2 +- clutter/clutter-script.h | 2 +- clutter/clutter-scriptable.c | 2 +- clutter/clutter-scriptable.h | 2 +- clutter/clutter-shader-types.c | 6 +++--- clutter/clutter-shader-types.h | 6 +++--- clutter/clutter-shader.c | 4 ++-- clutter/clutter-shader.h | 4 ++-- clutter/clutter-stage.c | 2 +- clutter/clutter-stage.h | 2 +- clutter/clutter-state.c | 8 ++++---- clutter/clutter-state.h | 8 ++++---- clutter/clutter-text.c | 4 ++-- clutter/clutter-text.h | 4 ++-- clutter/clutter-units.c | 2 +- clutter/clutter-units.h | 2 +- clutter/clutter-util.c | 2 +- clutter/glx/clutter-backend-glx.c | 2 +- clutter/x11/clutter-backend-x11.c | 2 +- clutter/x11/clutter-x11.h | 2 +- 43 files changed, 61 insertions(+), 61 deletions(-) commit b057ef89827301acef71f8348d3d95977abdda9f Author: Javier Jardón Date: Wed Jun 8 18:35:29 2011 +0100 cally: Use const instead G_CONST_RETURN https://bugzilla.gnome.org/show_bug.cgi?id=652129 clutter/cally/cally-actor.c | 18 +++++++++--------- clutter/cally/cally-clone.c | 6 +++--- clutter/cally/cally-rectangle.c | 6 +++--- clutter/cally/cally-stage.c | 12 ++++++------ clutter/cally/cally-text.c | 6 +++--- clutter/cally/cally-texture.c | 6 +++--- clutter/cally/cally-util.c | 8 ++++---- 7 files changed, 31 insertions(+), 31 deletions(-) commit c97bacaae107a2f134a442adf27d7956c5b07217 Author: Javier Jardón Date: Wed Jun 8 18:31:00 2011 +0100 cogl: Use const instead G_CONST_RETURN https://bugzilla.gnome.org/show_bug.cgi?id=652129 clutter/cogl/cogl/cogl-material-compat.c | 2 +- clutter/cogl/cogl/cogl-material-compat.h | 2 +- clutter/cogl/cogl/cogl-matrix.h | 2 +- clutter/cogl/cogl/cogl-pipeline-private.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 443d48907374d5f2e34fc492448e35d028428faa Author: Javier Jardón Date: Wed Jun 8 18:29:52 2011 +0100 docs: Use const instead G_CONST_RETURN https://bugzilla.gnome.org/show_bug.cgi?id=652129 doc/CODING_STYLE | 8 ++++---- doc/cookbook/examples/cb-button.c | 2 +- doc/cookbook/examples/cb-button.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) commit 1f3bfbfa54f76e4b479710e3794cfe5b8ff3d565 Author: Emmanuele Bassi Date: Tue Jun 14 14:28:28 2011 +0100 Post-release version bump to 1.6.17 configure.ac | 4 +- po/clutter-1.0.pot | 100 +++--- po/de.po | 98 +++--- po/fr.po | 98 +++--- po/gl.po | 98 +++--- po/id.po | 98 +++--- po/it.po | 98 +++--- po/nb.po | 1040 ++++++++++++++++++++++++++-------------------------- po/nl.po | 98 +++--- po/pa.po | 98 +++--- po/pl.po | 98 +++--- po/sv.po | 98 +++--- po/te.po | 98 +++--- po/uk.po | 98 +++--- po/zh_CN.po | 98 +++--- po/zh_TW.po | 98 +++--- 16 files changed, 1205 insertions(+), 1213 deletions(-)