commit 0ea06529b2f90825cef57b2e6261beb630012dfa Author: Emmanuele Bassi Date: Wed Nov 20 23:52:22 2013 +0000 Release Clutter 1.14.6 (stable) NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 50 insertions(+), 2 deletions(-) commit f5ac9a7b972fe53968e128c615b05bda487a71f7 Author: Emmanuele Bassi Date: Wed Nov 20 23:51:32 2013 +0000 conform: Disable texture-fbo unit It's a pretty pointless test, which got dropped in newer releases of Clutter. tests/conform/test-conform-main.c | 1 - 1 file changed, 1 deletion(-) commit 48d8e1d48e0f77cec1a30423cdca4450b82b9d69 Author: Emmanuele Bassi Date: Thu Jul 4 16:32:58 2013 +0100 paint-nodes: Use the correct wrap mode for TextureNode If we allow content repeats on the texture nodes, then we need to use the "automatic" wrap mode for the texture layer in the pipeline, instead of the clamp-to-edge one. Reported-by: Matthew Watson Signed-off-by: Emmanuele Bassi (cherry picked from commit 5b614cda1cd6032d7a0b1d9823219bc336086246) Signed-off-by: Emmanuele Bassi clutter/clutter-paint-nodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe991ac7c0e257e19d34aa3b9800323aa828970a Author: Lionel Landwerlin Date: Tue Jul 9 16:46:35 2013 +0100 clutter-text: prevent text buffer creation if not needed When allocating or asking for preferred width/height on a ClutterText, it can notify a change on buffer/text/max-length if no text has been set. https://bugzilla.gnome.org/show_bug.cgi?id=703882 (cherry picked from commit eed94960562693e489354afb2a78a355301515fa) Signed-off-by: Emmanuele Bassi clutter/clutter-text.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 2fec31a5aa89c4e1d877f6252d43309f806f39f6 Author: Emmanuele Bassi Date: Fri Aug 16 10:17:15 2013 +0100 actor: Do not set remove-on-complete on implicit transitions The implicitly created transitions are removed when complete by the implicit transition machinery. The remove-on-complete hint is for user-provided transitions. https://bugzilla.gnome.org/show_bug.cgi?id=705739 (cherry picked from commit b50e1c3b628c0238da0d1ea89853b53ef06fa2ef) Signed-off-by: Emmanuele Bassi clutter/clutter-actor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 04faded71799f1e67dfc1cdf0d8c20e78da3d1b4 Author: Emmanuele Bassi Date: Fri Aug 16 10:15:57 2013 +0100 docs: Use the correct signal name ClutterTransition:remove-on-complete uses the ClutterTimeline::stopped signal, as it's the signal that tells us that the timeline's duration has fully elapsed. (cherry picked from commit edf00747ef3bb955ad48a2191cdec33524156298) Signed-off-by: Emmanuele Bassi clutter/clutter-transition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0632c424973dc12c03e5a3e9a0b7c89b2546fd66 Author: Florian Müllner Date: Fri Jul 5 16:54:07 2013 +0200 actor: Minor cleanup In clutter_allocate_align_fill(), x2/y2 may be set twice for no particular reason; save a couple of lines by not doing this. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 5bab9a8655346290f7ee0e4af972e3d085a6b818) Signed-off-by: Emmanuele Bassi clutter/clutter-actor.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit b2480914d183cc2b8f3aa80c9802c8de7d75014c Author: Florian Müllner Date: Sat Jul 6 01:27:38 2013 +0200 box-layout: Fix child offsets Currently, BoxLayout interprets the box passed into allocate() in a fairly peculiar way: - in the direction of the box, all space between [xy]1 and [xy]2 is distributed among children (e.g. children occupy the entire width/height of the box, offset by [xy]1) - in the opposite direction, expanded children receive space between [xy]1 and the height/width of the box (e.g. children occupy the width/height of the box minus [xy]1, offset by [xy]1) The second behavior doesn't make much sense, so adjust it to interpret the box parameter in the same way as the first one. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 5dd2dcf14ff4676ac4d84ef567d1bca1faaaab7a) Signed-off-by: Emmanuele Bassi clutter/clutter-box-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit def93f697c83704179cc2aaadb3955d566f24be5 Author: Florian Müllner Date: Sat Jul 6 01:38:28 2013 +0200 bin-layout: Fix offsets Just as BoxLayout, BinLayout uses an odd interpretation of the box passed into allocate(): to define a child area of (w x h) starting at (x, y), callers need to pass a box of (x, 2 * x + w, y, 2 * y + h). This behavior is just confusing, change it to use the full box for child allocations. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 40a1903db6dd80445275b3f73a53fd7b7df47017) Signed-off-by: Emmanuele Bassi clutter/clutter-bin-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0c5dbf375bd2294840167659c22c90bbedf00d5e Author: Florian Müllner Date: Sat Jul 6 02:11:42 2013 +0200 box-layout: Fix (legacy) expand/fill properties Whether a child should receive extra space should be determined by the expand property, not [xy]_fill (which just determine how additional space should be used). The behavior is already correct when using the ClutterActor:[xy]_expand properties, but needs fixing for the corresponding ClutterBoxLayoutChild property. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit 8e850ff3e4f02d37ec7ecc272eea540ffd29dbcf) Signed-off-by: Emmanuele Bassi clutter/clutter-box-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d877b17d5c71b977af227e29b7a58816ed523af0 Author: Florian Müllner Date: Tue Jul 9 02:57:12 2013 +0200 table-layout: Fix default values for expand/fill child properties Currently the default values according to their param spec don't match the actually used defaults, so update the former to reflect the actual behavior. https://bugzilla.gnome.org/show_bug.cgi?id=703809 (cherry picked from commit c14bd84eefd53c9df891e4d031455fbf75dbb4c3) Signed-off-by: Emmanuele Bassi clutter/clutter-table-layout.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 51ab8f36c0db72eb65d96da75ab10a43ff8c6785 Author: Jasper St. Pierre Date: Fri Jun 14 17:49:01 2013 -0400 box-layout: Fix RTL layout swapping with non-zero container offsets https://bugzilla.gnome.org/show_bug.cgi?id=706450 (cherry picked from commit 05f56affe19468e1e54281230cd23333f94cfebb) Signed-off-by: Emmanuele Bassi clutter/clutter-box-layout.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 3631ad44144985d62f7a9cd57e9be8c71b5157d0 Author: Jasper St. Pierre Date: Mon Sep 9 17:54:38 2013 -0400 box-layout: Fix floating point truncation when calculating a child's size The child size is a float, not an int. https://bugzilla.gnome.org/show_bug.cgi?id=707808 (cherry picked from commit ac70bd3503ee7adc9bf6938353e25e81e852bfaf) Signed-off-by: Emmanuele Bassi clutter/clutter-box-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e02990dbe56b67603fac20b9cb27b6989688268 Author: Lionel Landwerlin Date: Mon Sep 9 07:52:55 2013 +0100 click-action: disconnect signals and gsources on dispose https://bugzilla.gnome.org/show_bug.cgi?id=707774 (cherry picked from commit 5c035f2107cda24a074246d6b083296da2526c07) Signed-off-by: Emmanuele Bassi clutter/clutter-click-action.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit b45a1ded44dc585a9755cb9b55729931fd40c410 Author: Florian Müllner Date: Tue Sep 10 20:56:09 2013 +0200 text: Consider text direction when computing layout offsets Currently this is only the case when the actor's x-expand/x-align flags have been set and clutter_text_compute_layout_offsets() is used. https://bugzilla.gnome.org/show_bug.cgi?id=705779 (cherry picked from commit 986e46dc6677a708cd3db8abaf28f09cd2007c4b) Signed-off-by: Emmanuele Bassi clutter/clutter-text.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit ff5763c6e2044bcf355ef1026001e5e62726e0c2 Author: Emmanuele Bassi Date: Tue Sep 3 11:51:19 2013 +0100 device: Guard against divisions by zero The range of a device could be 0, so we need to bail out from the scaling during the axis translation. https://bugzilla.gnome.org/show_bug.cgi?id=707033 (cherry picked from commit fb8eacfb0256a211ca79366945c8f4eb4962be4e) Signed-off-by: Emmanuele Bassi clutter/clutter-input-device.c | 5 +++++ 1 file changed, 5 insertions(+) commit 80d3fbdb9ca2e996cc66c25ff37ddfe43a18434e Author: Lionel Landwerlin Date: Thu Sep 26 16:49:45 2013 +0100 drag-action: fix warning when setting drag-handle to null https://bugzilla.gnome.org/show_bug.cgi?id=708850 (cherry picked from commit 067fcc3690b0a354bf0a7b0692aab47fb68a0817) Signed-off-by: Emmanuele Bassi clutter/clutter-drag-action.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit e2aed8b5d81511e465d0f279a7a07ceb483a0bf5 Author: Florian Müllner Date: Fri Oct 4 21:41:46 2013 +0200 table-layout: Base space calculations on visible children This is what we already do in the actual size requests, it makes sense to do the same in the space calculations. https://bugzilla.gnome.org/show_bug.cgi?id=709434 (cherry picked from commit 3435d017e27755353123ca8f65bfe3c051102b48) Signed-off-by: Emmanuele Bassi clutter/clutter-table-layout.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 202fc7e528d7e8dca248a603f5593fefb400500d Author: Florian Müllner Date: Fri Oct 4 21:32:30 2013 +0200 table-layout: Fix size request when there are no visible rows/cols The calculation (n - 1) * spacing to compute the total spacing is only correct for n >= 1 - if there are no visible rows/cols, the required spacing is 0 rather than negative. https://bugzilla.gnome.org/show_bug.cgi?id=709434 (cherry picked from commit 44b1a808c8a74fd3b97367f4819fabcc46a1eb23) Signed-off-by: Emmanuele Bassi clutter/clutter-table-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2f99c6debe8847f305d52751fd9bb521700cd461 Author: Lionel Landwerlin Date: Wed Oct 9 18:39:59 2013 +0100 drag-action: don't mix touch and pointer events https://bugzilla.gnome.org/show_bug.cgi?id=709762 (cherry picked from commit ccd2d4c0a7a789e3aea410f9fafd494949fb0c87) Signed-off-by: Emmanuele Bassi clutter/clutter-drag-action.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 3b0bd7e47cb3370cc71a6a39e4fa19e8b25e9be9 Author: Emmanuele Bassi Date: Thu Oct 10 13:31:50 2013 +0100 image: Do not premultiply the blend color ClutterTextureNode will do that for us when converting the ClutterColor to a CoglColor, so we can simply pass a white color with the correct alpha channel. clutter/clutter-image.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3ebd8fd4fcbb7e4762394a6d212fa1a5760475d0 Author: Bastien Nocera Date: Fri Sep 27 15:00:57 2013 +0200 actor: Correct setting the offscreen-redirect property It's a flags property, not an enum one. https://bugzilla.gnome.org/show_bug.cgi?id=708922 clutter/clutter-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5e9a27cc998de1f721e04013ce95439b508bcea Author: Balázs Úr Date: Thu Sep 26 00:11:59 2013 +0200 Updated Hungarian translation po/hu.po | 630 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 316 insertions(+), 314 deletions(-) commit cfefcffbfa4c74fd1f5cced927d781b88f5a362b Author: Balázs Úr Date: Thu Sep 26 00:08:20 2013 +0200 Initial Hungarian translation po/hu.po | 2786 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2786 insertions(+) commit a37546db58dfc4d5c7dc88130b3c86aeba7cd4d0 Author: Ján Kyselica Date: Tue Aug 27 19:15:28 2013 +0200 Updated slovak translation po/sk.po | 1559 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 729 insertions(+), 830 deletions(-) commit 74f9d8a597acf0fd8458e3d6cb0475b8d9a0a6ba Author: Emmanuele Bassi Date: Thu Jun 27 16:42:40 2013 +0100 build: Enable Cogl support with Wayland The Wayland backend is based on Cogl, so we need to turn on the SUPPORT_COGL flag to avoid breaking the build; this always went unnoticed because we usually build the Wayland client backend with the X11 backend. Reported-by: Ross Burton (cherry picked from commit 1fb0295ba162507fb798b2b7030f0f45ff252f27) Signed-off-by: Emmanuele Bassi configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b416224d30ea5ace492f1497101a172a6fb32997 Author: Adel Gadllah Date: Tue Jun 25 15:04:19 2013 +0200 clutter-offscreen-effect: Allocate the cogl texture directly Cogl now lazy loads the textures so we cannot rely on getting NULL from cogl_texture_new_with_size so we have to allocate it by ourselves. https://bugzilla.redhat.com/show_bug.cgi?id=975171 clutter/clutter-offscreen-effect.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 23f9444795d7a3115d187cd0196421c4d642a62f Author: Cosimo Cecchi Date: Tue Jun 18 16:37:31 2013 -0700 text: relayout on cursor visibility change When the cursor visibility changes, we have to relayout the ClutterText actor instead of just redrawing it - as the cursor changes the PangoLayout size, a size request cycle is needed. https://bugzilla.gnome.org/show_bug.cgi?id=702610 clutter/clutter-text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f407ddf0d8717cee0ec19f152eef117921e96197 Author: Lionel Landwerlin Date: Tue Jun 11 14:01:30 2013 +0100 clutter-text: prevent reset of user set font descriptions on dpi changes When setting the font using clutter_text_set_font_description(), the font settings on a ClutterText actor can be reset when there is a dpi changes signaled by the backend. https://bugzilla.gnome.org/show_bug.cgi?id=702016 clutter/clutter-text.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit db1185318d96c206d522642bda6aa78d387ac2ff Author: Sjoerd Simons Date: Sat May 25 01:20:32 2013 +0200 gesture-action: begin gesture as soon as the number of touchpoints is reached 1ddef9576d87c98fafbcefe3108f04866630c2cd had its logic the wrong way round, a gesture should begin as soon as the requested number of touchpoints is reached. Correcting this fixes tap events https://bugzilla.gnome.org/show_bug.cgi?id=700980 clutter/clutter-gesture-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3520ac94ab1eba257c3214dcf01fc524fafdb6c2 Author: Samuel Degrande Date: Wed Jun 12 10:40:36 2013 +0100 deform-effect: Set cull-face mode on the correct pipeline Fix a function call to set the cull-face mode of the back_pipeline: the function was called on the 'front-pipeline' instead of the back-pipeline. clutter/clutter-deform-effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dbdedc727df902af823e212b320214a6d266cfe9 Author: Emmanuele Bassi Date: Wed Jun 12 10:27:37 2013 +0100 conform: Ensure that we don't leak references Especially on actors that are not parented and get destroyed. tests/conform/actor-graph.c | 26 ++++++++++++++++++-------- tests/conform/actor-invariants.c | 18 ++++++++++-------- 2 files changed, 28 insertions(+), 16 deletions(-) commit 093f58667447e6b536e10befb0738c74de2a866f Author: Craig R. Hughes Date: Thu Mar 28 14:01:04 2013 -0700 Extra ref leak in clutter_actor_set_child_at_index too https://bugzilla.gnome.org/show_bug.cgi?id=696813 clutter/clutter-actor.c | 1 + 1 file changed, 1 insertion(+) commit d82643c10bf26ec554cf6a8548a3cf507786bf0e Author: Craig R. Hughes Date: Thu Mar 28 13:51:41 2013 -0700 clutter_actor_set_child_above/below_sibling leaking a reference https://bugzilla.gnome.org/show_bug.cgi?id=696813 clutter/clutter-actor.c | 2 ++ 1 file changed, 2 insertions(+) commit fafd37796b11b94eb99e1b71104e81b3b6be4122 Author: Emmanuele Bassi Date: Wed Jun 12 10:01:50 2013 +0100 conform: Add suite for actor's meta objects tests/conform/Makefile.am | 1 + tests/conform/actor-meta.c | 41 +++++++++++++++++++++++++++++++++++++++ tests/conform/test-conform-main.c | 2 ++ 3 files changed, 44 insertions(+) commit 5885ffb2d91faabd65bdb81c6570261d18ccc220 Author: Emmanuele Bassi Date: Wed Jun 12 09:51:10 2013 +0100 actor: Fix has_constraints() and has_actions() When we changed the MetaGroup to handle internal effects, we updated has_effects(), but forgot to fix the equivalent has_constrains() and has_actions() method. Now, if we clear the constraints or the actions on an actor, and we call has_constraints() or has_actions(), we get an false positive. clutter/clutter-actor.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit e310c68d7b38d521e341f4e8a36f54303079d74e Author: Matthias Clasen Date: Mon Jun 10 21:41:24 2013 -0400 x11: trap errors when calling XIQueryDevice Devices can disappear at any time, causing XIQueryDevice to throw an error. At the same time, plug a memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=701974 clutter/x11/clutter-device-manager-xi2.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) commit a586c23ddcef9a11f6e343b4b6848cde2df54927 Author: Emmanuele Bassi Date: Mon May 6 15:46:25 2013 -0700 cally: Use a weak pointer to hold the key focus in CallyStage We want to avoid the pointer getting stale, and causing crashes. https://bugzilla.gnome.org/show_bug.cgi?id=692706 (cherry picked from commit 19391a9626b087bd4df452e8699d53caa54c350f) Signed-off-by: Emmanuele Bassi clutter/cally/cally-stage.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 05cf212088b1224b195381942075df7d7b5f9c97 Author: Lionel Landwerlin Date: Wed May 15 14:23:53 2013 +0100 conform: add offscreen effects fbo size check https://bugzilla.gnome.org/show_bug.cgi?id=699675 (cherry picked from commit d1041e1f4f5bedc6331e65a7faf60289f26f7fb0) Signed-off-by: Emmanuele Bassi tests/conform/Makefile.am | 1 + tests/conform/actor-offscreen-limit-max-size.c | 117 +++++++++++++++++++++++++ tests/conform/test-conform-main.c | 1 + 3 files changed, 119 insertions(+) commit 7f42f0e871494f460eef5bc92632ff720c3e3ea5 Author: Lionel Landwerlin Date: Sat May 4 17:37:33 2013 +0100 offscreen-effect: limit offscreen fbo size to the stage's size When using a ClutterOffscreenEffect, the size of the offscreen buffer allocated to perform the effect is currently computed using the paint volume of the actor it's attached to and in the case the paint volume cannot be computed, the effect falls back to using the stage's size. If you scale an actor enough so its paint volume is much bigger that the size of the stage, you can end up running out of memory (which leads to your application crashing). https://bugzilla.gnome.org/show_bug.cgi?id=699675 (cherry picked from commit 9c6f3793e832e03ec72c63cd11f28601bf760f5b) Signed-off-by: Emmanuele Bassi clutter/clutter-offscreen-effect.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit 92b605bb5c70094601cf317812194890d4128fe2 Author: Emmanuele Bassi Date: Wed May 15 06:44:55 2013 +0100 Post-release version bump to 1.14.5 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)