commit d992c0cbff22c6e22eb03b6a926209ab436a832a Author: Emmanuele Bassi Date: Mon Sep 5 20:54:35 2011 +0100 Release Clutter 1.7.14 NEWS | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 65 insertions(+), 1 deletions(-) commit 9a78eacb72ad76aa5254b41dd7efbb9716e77547 Author: Emmanuele Bassi Date: Mon Sep 5 21:15:37 2011 +0100 build: Fix distcheck in cookbook/examples doc/cookbook/examples/Makefile.am | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) commit 967bd3ac5804aa9dd9bd308711381979d7c416a2 Author: Emmanuele Bassi Date: Mon Sep 5 15:26:27 2011 +0100 docs: Update test-easing and xinclude it into ClutterAnimation The easing test is a nice example of what ClutterAnimation and clutter_actor_animate() can do. The "tween ball to the pointer event coordinates" is a bit of a staple in animation libraries and their documentation. clutter/clutter-animation.c | 9 ++++ tests/interactive/test-easing.c | 90 +++++++++++++++++++------------------- 2 files changed, 54 insertions(+), 45 deletions(-) commit 7024f1cd021760dd3e9c891550a3b20f2627307e Author: Emmanuele Bassi Date: Mon Sep 5 15:25:46 2011 +0100 static-colors: Simplify the defines Use a "private" macro to simplify the defined static colors. clutter/clutter-color-static.h | 92 ++++++++++++++++++++------------------- 1 files changed, 47 insertions(+), 45 deletions(-) commit 359ed2b29fdc4f692e6cb6ff310c41ed7796139a Author: Emmanuele Bassi Date: Sun Sep 4 17:57:50 2011 +0100 text: Make :line-wrap actually work When we paint a ClutterText we ask the actor for a PangoLayout that fits inside the actor's allocation - both width and height. Sadly, whenever a height is set on a PangoLayout, Pango will wrap its contents - regardless of whether the layout should actually wrap or not. This means that in certain easy to exploit cases, Clutter will paint a Text actor with its contents wrapping even if the :wrap property is set to FALSE. In order to fix this we need to encode some more cases inside the ::paint implementation of ClutterText, and ask the cache for a layout that is sized as the allocation's width, but not as its height; we also need to perform a clip if we detect that the PangoLayout's logical size is going to overflow the allocated size. This clip might cause some performance issue, given that clipping breaks batching in the Cogl journal; hopefully all clips for text are going to be screen-aligned, so at the end of the batch it'll just scissor them out. http://bugzilla.clutter-project.org/show_bug.cgi?id=2339 clutter/clutter-text.c | 53 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 49 insertions(+), 4 deletions(-) commit 73d3026dd192f2bf102107d7c41c59d5d163ad08 Author: Dan Winship Date: Fri Sep 2 12:51:46 2011 -0400 clutter-flow-layout: fix non-0,0 offset allocation https://bugzilla.gnome.org/show_bug.cgi?id=649631 clutter/clutter-flow-layout.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 14242ce3b2386709394400deab81631c227d7473 Author: Shankar Prasad Date: Mon Sep 5 18:03:48 2011 +0530 updated Kannada Translation po/kn.po | 108 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 54 insertions(+), 54 deletions(-) commit f63f359f34bd4211453c5c0d8a5d43e94436608a Author: Shankar Prasad Date: Mon Sep 5 14:04:50 2011 +0530 Added and updated Kannada Translation po/kn.po | 2169 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 2169 insertions(+), 0 deletions(-) commit 6b1ff3fad481cbf9ab6fa2a3a4fe5af942e5b3ec Author: Marek Černocký Date: Sun Sep 4 19:35:49 2011 +0200 Updated Czech translation po/cs.po | 1118 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 565 insertions(+), 553 deletions(-) commit 973b7299b28b68795f0cc3a5f4be348f3f0c54d5 Author: Fran Dieguez Date: Sun Sep 4 18:18:55 2011 +0200 Updated galician translations po/clutter-1.0.pot | 1106 ++++++++++++++++++++++++++------------------------- po/gl.po | 1116 ++++++++++++++++++++++++++-------------------------- 2 files changed, 1122 insertions(+), 1100 deletions(-) commit 924b7e3309f0e487a3f7776e571696cbe4d1f63f Author: Chao-Hsiung Liao Date: Sun Sep 4 06:34:25 2011 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 2224 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/zh_TW.po | 1373 +++++++++++++++++++------------------ 2 files changed, 2915 insertions(+), 682 deletions(-) commit 37c58d61cd9c50bcccfee338a777795a11be2c89 Author: Daniel Nylander Date: Sat Sep 3 13:02:29 2011 +0200 Updated Swedish translation po/sv.po | 1240 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 639 insertions(+), 601 deletions(-) commit a676ae67f7245e8c3cac17ece6c8cedd0a12da54 Author: Emmanuele Bassi Date: Fri Sep 2 15:51:56 2011 +0100 docs: Fix up deprecation notice for BehaviourScale clutter/clutter-behaviour-scale.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4255a75940a1a87db3145cd3d50d33b779c82049 Author: Emmanuele Bassi Date: Fri Sep 2 15:49:05 2011 +0100 docs: Fix the ClutterTimeline:auto-reverse link clutter/clutter-timeline.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 79e152b7a0f1c6646f485dd17de4935c51778b86 Author: Emmanuele Bassi Date: Fri Sep 2 15:48:27 2011 +0100 docs: Inline test-constraints.c inside BindConstraint's description clutter/clutter-bind-constraint.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) commit bce27e45b0ecce89c16640755290b0dbe9e29392 Author: Emmanuele Bassi Date: Fri Sep 2 15:36:40 2011 +0100 test-constraints: Clean up the example Add some comments to detail what are we doing and why. tests/interactive/test-constraints.c | 59 +++++++++++++++++++++++++++------ 1 files changed, 48 insertions(+), 11 deletions(-) commit 0d6208f36e0c66e89635e2d586568bfa40102f8e Author: Emmanuele Bassi Date: Fri Sep 2 15:22:08 2011 +0100 docs: Inline test-drop.c into DropAction's description Also, mention that DropAction only works with DragAction. clutter/clutter-drop-action.c | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) commit 8775642e82f999d7fa49bcec8aa967d240c89c2d Author: Emmanuele Bassi Date: Fri Sep 2 14:50:07 2011 +0100 docs: Include test-drag as the DragAction example clutter/clutter-drag-action.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) commit 9c9926654cbb419dd6d8cd725d5c40e2cb86b832 Author: Emmanuele Bassi Date: Fri Sep 2 14:28:16 2011 +0100 docs: Remove the 1.8 index for Cally No new API has been added in during the 1.7 development cycle. doc/reference/cally/cally-docs.xml.in | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit 4b7552f0014c75d03d9889a3abeb8a93166ff59a Author: Emmanuele Bassi Date: Fri Sep 2 14:18:54 2011 +0100 docs: Add missing clutter_backend_get_cogl_context symbol doc/reference/clutter/clutter-sections.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 66607dec4de1676b970053defe33db9634ba6923 Author: Emmanuele Bassi Date: Fri Sep 2 13:58:34 2011 +0100 bind: Check that the source is not contained inside the actor Like commit d0439cfb586ca14282c89035119a4acbc0295df7 for AlignConstraint, let's check that the BindConstraint source is not a child or a grandchild of the actor attached to the Constraint. clutter/clutter-bind-constraint.c | 39 +++++++++++++++++++++++++++++++++++- 1 files changed, 37 insertions(+), 2 deletions(-) commit e6dbdb444d61dc2172d98566589ece846cbe03ce Author: Emmanuele Bassi Date: Fri Sep 2 13:56:25 2011 +0100 align: Check that source is not contained inside the actor AlignConstraint won't work if the source is a child or a grandchild of the ClutterActorMeta:actor to which it has been attached to: the allocation flows from the parent to its children, not the other way around; in order to avoid weirdness, we better document and check that when we set the actor and when we set the source. clutter/clutter-align-constraint.c | 39 ++++++++++++++++++++++++++++++++++- 1 files changed, 37 insertions(+), 2 deletions(-) commit 83060b30d17b7afa13b8ce59e824dd91274669c3 Author: Emmanuele Bassi Date: Fri Sep 2 13:54:57 2011 +0100 docs: Remove mentions of "frames" in Timeline We still have some really old naming lying around. clutter/clutter-timeline.c | 2 +- clutter/clutter-timeline.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 72caef0de010d1f6797c29157806a81e72c3f818 Author: Emmanuele Bassi Date: Fri Sep 2 11:01:36 2011 +0100 cookbooks/examples: Use g_signal_handlers_disconnect_by_func() The disconnect_matched() function is a bit too complicated, and its simpler wrapper disconnect_by_func() is functionally equivalent in the cases used by the cookbook examples. doc/cookbook/animations.xml | 8 ++------ doc/cookbook/examples/animations-reuse.c | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) commit 63a05fca9d570bc2829fe537859236da8934eda6 Author: Emmanuele Bassi Date: Thu Sep 1 17:12:46 2011 +0100 Lock the main context when modifying the repaint functions list The repaint functions list can (and should) be manipulated from different threads, but it currently doesn't prevent multiple threads from accessing it concurrently. We should have a simple lock and take it when adding and removing elements from the list; the invocation is still performed under the Big Clutter Lock™, so it doesn't require special handling. clutter/clutter-main.c | 82 ++++++++++++++++++++++++++++++++++---------- clutter/clutter-private.h | 3 ++ 2 files changed, 66 insertions(+), 19 deletions(-) commit 2557370445ccc841adddb369fe004ed2e91043e9 Author: Emmanuele Bassi Date: Thu Sep 1 16:06:04 2011 +0100 docs/cookbook: Update the introduction Clean up some wording. doc/cookbook/introduction.xml | 62 +++++++++++++++++++++++++++++++++++------ 1 files changed, 53 insertions(+), 9 deletions(-) commit b0f868edfdaebf9b0e32c88fce9ce2c487e27623 Author: Emmanuele Bassi Date: Thu Sep 1 13:51:20 2011 +0100 build: Install the cookbook examples code Use $(datadir)/clutter-1.0/cookbook/examples as the target directory. doc/cookbook/examples/Makefile.am | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit e03fb1e872ef96c0492efe3ce4cdcd09389d8481 Author: Emmanuele Bassi Date: Wed Aug 31 12:27:30 2011 +0100 docs/cookbook: Update copyright doc/cookbook/clutter-cookbook.xml.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2fdf73f64ab33aaa6de1d357705e7c0bd4ecf090 Author: Emmanuele Bassi Date: Wed Aug 31 12:23:01 2011 +0100 tests: Go back to the hover state on button-release If we get a button release, going back to the hover state is the most logical choice. tests/data/test-script-signals.json | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3bdd49dc191b9c037027349a5175dfa4a7692b66 Author: Emmanuele Bassi Date: Wed Aug 31 12:22:07 2011 +0100 docs/cookbook: Add script->state connection recipe Script definitions can connect a signal to a State transition; this is a useful thing to document with a recipe in the cookbook. doc/cookbook/examples/Makefile.am | 23 ++++-- doc/cookbook/examples/script-signals.c | 5 +- doc/cookbook/examples/script-states.c | 44 ++++++++++ doc/cookbook/examples/script-states.json | 92 +++++++++++++++++++++ doc/cookbook/script.xml | 127 ++++++++++++++++++++++++++++++ 5 files changed, 284 insertions(+), 7 deletions(-) commit b428c3981bad08869f8c7693af50f221637dae34 Author: Daniel Mustieles Date: Tue Aug 30 21:24:26 2011 +0200 Updated Spanish translation po/es.po | 1120 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 566 insertions(+), 554 deletions(-) commit 0aacbd47b7f8e44f7688365ee1a76149e6bbd565 Author: Robert Bragg Date: Tue Jul 12 23:03:41 2011 +0100 actor: make offscreen_redirect prop take flags + default off Because we have had several reports about significant performance regressions since we enabled offscreen redirection by default for handling correct opacity we are now turning this feature off by default. We feel that clutter should prioritize performance over correctness in this case. Correct opacity is still possible if required but the overhead of the numerous offscreen allocations as well as the cost of many render target switches per-frame seems too high relative the improvement in quality for many cases. On reviewing the offscreen_redirect property so we have a way to disable redirection by default we realized that it makes more sense for it to take a set of flags instead of an enum so we can potentially extend the number of things that might result in offscreen redirection. We removed the ability to say REDIRECT_ALWAYS_FOR_OPACITY, since it seems that implies you don't trust the implementation of an actor's has_overlaps() vfunc which doesn't seem right. The default value if actor::redirect_offscreen is now 0 which effectively means don't ever redirect the actor offscreen. clutter/clutter-actor.c | 84 +++++++++++++++--------------- clutter/clutter-actor.h | 10 +--- tests/conform/test-offscreen-redirect.c | 34 ++++++++++-- 3 files changed, 73 insertions(+), 55 deletions(-) commit d847d43f70d29be78b529b19046b453a05135fa3 Author: Emmanuele Bassi Date: Tue Aug 30 10:47:12 2011 +0100 actions/drag: Be more reliable when destroying the drag handle Whenever the drag handle gets destroyed mid-drag we need to cancel any current drag operation and reset the state of the DragAction. https://bugzilla.gnome.org/show_bug.cgi?id=657681 clutter/clutter-drag-action.c | 44 +++++++++++++++++++++++++++++++--------- 1 files changed, 34 insertions(+), 10 deletions(-) commit f1a7cd7c0f6e3b270d3efd21c36742a8953222ab Merge: 2212937 663bfd0 Author: Alejandro Piñeiro Date: Tue Aug 30 12:26:35 2011 +0200 Merge branch 'atkwindow' commit 2212937788a907fb0c673f72a48863d8b8c9da93 Author: Emmanuele Bassi Date: Mon Aug 29 23:29:07 2011 +0100 Post-release version bump to 1.7.13 configure.ac | 2 +- po/ca.po | 218 ++++++----- po/ca@valencia.po | 218 ++++++----- po/clutter-1.0.pot | 1104 ++++++++++++++++++++++++++-------------------------- po/cs.po | 218 ++++++----- po/de.po | 218 ++++++----- po/eo.po | 218 ++++++----- po/es.po | 1106 ++++++++++++++++++++++++++-------------------------- po/fr.po | 218 ++++++----- po/gl.po | 1100 ++++++++++++++++++++++++++-------------------------- po/id.po | 218 ++++++----- po/it.po | 218 ++++++----- po/nb.po | 1100 ++++++++++++++++++++++++++-------------------------- po/nl.po | 218 ++++++----- po/pa.po | 218 ++++++----- po/pl.po | 218 ++++++----- po/sl.po | 218 ++++++----- po/sv.po | 218 ++++++----- po/te.po | 218 ++++++----- po/uk.po | 218 ++++++----- po/zh_CN.po | 218 ++++++----- po/zh_TW.po | 218 ++++++----- 22 files changed, 4103 insertions(+), 4015 deletions(-) commit 663bfd0e85852aee23726c1a590daf54779cd40f Author: Alejandro Piñeiro Date: Wed Aug 10 19:19:33 2011 +0200 a11y: Using proper way to register to window events tests/accessibility/cally-atkevents-example.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 7635cb6f171514ba3422c058d97ba48cc18a1a1e Author: Alejandro Piñeiro Date: Wed Aug 10 13:06:14 2011 +0200 a11y: We don't need to explicitly manage window events clutter/cally/cally-util.c | 38 +------------------------------------- 1 files changed, 1 insertions(+), 37 deletions(-) commit a9690a4a5e8604652048f32e2ea188aa40e0ae95 Author: Alejandro Piñeiro Date: Wed Aug 10 13:02:26 2011 +0200 a11y: Using AtkWindow on cally-stage clutter/cally/cally-stage.c | 112 +++++++------------------------------------ configure.ac | 2 +- 2 files changed, 18 insertions(+), 96 deletions(-)