commit 0ab74e52da5122e231a504005417c70376a958e0 Author: Emmanuele Bassi Date: Mon Jun 25 23:52:07 2012 +0100 Release Clutter 1.11.6 NEWS | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.in | 6 ++++++ configure.ac | 2 +- 3 files changed, 74 insertions(+), 1 deletion(-) commit b6d5595470c4d4012f0f46417da7b72642ee70d6 Author: Emmanuele Bassi Date: Mon Jun 25 23:47:12 2012 +0100 docs: Add missing annotation for ClutterActorClass.touch_event clutter/clutter-actor.h | 1 + 1 file changed, 1 insertion(+) commit ececa27ad0e54e4541b38afff058d6085653d720 Author: Emmanuele Bassi Date: Mon Jun 25 23:44:11 2012 +0100 docs: Fix XInclude path of the BindConstraint example clutter/clutter-bind-constraint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c4abde369b015489d98d07c7c24d5a8bf870d5f Author: Jasper St. Pierre Date: Sun Jun 24 13:29:22 2012 -0400 stage: Make sure to free any pending queued redraws if we have any This fixes a memory leak when someone creates a stage and then immediately destroys it. clutter/clutter-stage.c | 5 +++++ 1 file changed, 5 insertions(+) commit ab88511133188ef8965ffb3ab4342bd1da27c2e8 Author: Emmanuele Bassi Date: Sun Jun 24 18:02:45 2012 +0100 stage: Remove an extra reference count The dispose sequence will keep the object alive, and we need to release the last reference held by the StageManager before releasing control to GObject. clutter/clutter-stage.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 550168eee31a41117be347dc67f845ff8700252d Author: Emmanuele Bassi Date: Thu Jun 21 17:15:44 2012 +0100 Clean up deprecated header inclusion The build should not add deprecated/ into the default INCLUDE paths, so that deprecated headers are clearly separated; this will make it easier to get rid of them when we branch out for 2.0. clutter/Makefile.am | 1 - clutter/clutter-interval.c | 3 ++- clutter/clutter-main.c | 1 - clutter/clutter-script.c | 2 +- clutter/clutter-stage.c | 1 - clutter/cogl/clutter-stage-cogl.c | 1 - clutter/osx/clutter-backend-osx.c | 1 - 7 files changed, 3 insertions(+), 7 deletions(-) commit 8fe8b9c89ee31dbd512bc628dbc0125a1e3bfea5 Author: Emmanuele Bassi Date: Fri Jun 22 12:12:33 2012 +0100 Move PathNode definitions into clutter-types.h Near ClutterKnot, so that we can easily remove both when we branch off for 2.0. clutter/clutter-path.h | 28 ---------------------------- clutter/clutter-types.h | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 28 deletions(-) commit 49dd99f9c1a7e41a6089c1897ce58ec7825d2f8b Author: Lionel Landwerlin Date: Mon Jun 18 02:03:58 2012 +0100 text: add touch events support https://bugzilla.gnome.org/show_bug.cgi?id=678278 clutter/clutter-text.c | 139 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 112 insertions(+), 27 deletions(-) commit 927624d92c3cd66e5a4e3c07e9d2d9c62c974908 Author: Lionel Landwerlin Date: Sun Jun 17 00:44:44 2012 +0100 input-device: add APIs to grab sequences of touch events https://bugzilla.gnome.org/show_bug.cgi?id=678279 clutter/clutter-device-manager-private.h | 2 + clutter/clutter-event.h | 10 -- clutter/clutter-input-device.c | 136 ++++++++++++++++++++++++++++ clutter/clutter-input-device.h | 12 ++- clutter/clutter-main.c | 22 ++++- clutter/clutter-types.h | 12 +++ clutter/clutter.symbols | 17 ++-- doc/reference/clutter/clutter-sections.txt | 3 + 8 files changed, 195 insertions(+), 19 deletions(-) commit 132e4b98d18e411a8323925a557936dbd0d840fa Author: Lionel Landwerlin Date: Wed Jun 13 16:02:05 2012 +0100 drag/drop actions: add touch event support https://bugzilla.gnome.org/show_bug.cgi?id=678049 clutter/clutter-drag-action.c | 92 +++++++++++++++++++++++++++++++-------- clutter/clutter-drop-action.c | 43 ++++++++++++------ clutter/clutter-stage-private.h | 22 +++++++--- clutter/clutter-stage.c | 84 ++++++++++++++++++++++++++++++----- 4 files changed, 191 insertions(+), 50 deletions(-) commit 1af7de8ac8b438b18dace38f883807eda77316ee Author: Lionel Landwerlin Date: Wed Jun 13 11:10:55 2012 +0100 actor: add touch event vfuncs https://bugzilla.gnome.org/show_bug.cgi?id=678047 clutter/clutter-actor.c | 26 ++++++++++++++++++++++++++ clutter/clutter-actor.h | 5 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) commit dd7c1ed64a4eae1cfc8b8cb7a2045f6a675f0dd5 Author: Alejandro Piñeiro Date: Tue Jun 5 14:56:31 2012 +0200 a11y: implementation for atk_text_get_text_[before/at/after]_offset Copy and paste of the implementation done at Gtk+ based on pango. This should be moved to a common library, like the old GailTextUtil. Ideally on pango itself. https://bugzilla.gnome.org/show_bug.cgi?id=677221 clutter/cally/cally-text.c | 764 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 713 insertions(+), 51 deletions(-) commit a571c2933b6c0f239aa8bf550aae15bee60d1816 Author: Tom Tryfonidis Date: Fri Jun 22 13:09:02 2012 +0300 Updated Greek translation po/el.po | 1449 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 795 insertions(+), 654 deletions(-) commit d2fff6e3c33f972b079928ae1e887669e3cd0ef2 Author: Bastian Winkler Date: Sat Jun 16 21:07:53 2012 +0200 actor: Make margin properties animatable Enable implicit animations for :margin-(top|right|bottom|left) properties. https://bugzilla.gnome.org/show_bug.cgi?id=678264 clutter/clutter-actor.c | 160 +++++++++++++++++++++++++++++++---------------- 1 file changed, 106 insertions(+), 54 deletions(-) commit 07605226432d701a87f656e152b24d494003867a Author: Dimitris Spingos Date: Thu Jun 21 12:06:23 2012 +0300 New Greek translation po/el.po | 2508 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2508 insertions(+) commit 98982331cb7709d90d0f0bc09621cd8fbb791fb0 Author: Emmanuele Bassi Date: Wed Jun 20 18:58:31 2012 +0100 conform/script: Add the return type for the margin test The compiler would default to 'int', and warn - and then warn again because the function would not return a value. tests/conform/script-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3ca87784ea52d6008fcd34bf85066cb7d8b8497 Author: Matthias Clasen Date: Wed Jun 20 07:19:05 2012 -0400 XI2: Avoid a crash in event translation It is possible that we get a DeviceChanged event for a device that is not in the hash table yet. E.g. I've seen this when using xrandr to change screen resolution. Prevent a crash in this case. https://bugzilla.gnome.org/review?bug=678439 clutter/x11/clutter-device-manager-xi2.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit d571719a3dbefbc12097d67fb13e6b0e2007efb3 Author: Andy Wingo Date: Wed Jun 20 10:26:49 2012 +0200 cairo: Always update texture after ClutterCairoTexture::draw * clutter/clutter-cairo-texture.c (clutter_cairo_texture_emit_draw): Always update the Cogl texture after emitting ::draw, since we control the dynamic extent in which drawing should happen on the cairo_t. Fixes #677966. clutter/deprecated/clutter-cairo-texture.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 286e7e28e8d25eabe69fb20842d560648aac916b Author: Emmanuele Bassi Date: Wed Jun 20 09:13:11 2012 +0100 Remove duplicate typedefs Redefining typedefs is allowed by C11 and by a GCC extension, but Clang doesn't really like it. clutter/clutter-types.h | 2 -- clutter/deprecated/clutter-animation.h | 1 - 2 files changed, 3 deletions(-) commit 3ad550200390388955b373503137f52ad5e3e271 Author: Emmanuele Bassi Date: Wed Jun 20 08:52:40 2012 +0100 interactive/touch-events: Protect x11-specific calls Use the CLUTTER_WINDOWING_X11 define to protect platform-specific calls like clutter_x11_enable_xinput(). https://bugzilla.gnome.org/show_bug.cgi?id=678423 tests/interactive/test-touch-events.c | 2 ++ 1 file changed, 2 insertions(+) commit 47f8be4d4b6fec011a8fbe85c324344f60b489f2 Author: Emmanuele Bassi Date: Wed Jun 20 08:50:48 2012 +0100 conform: Put xinput enabling under guards Calling clutter_x11_* API should be done only under the platform specific guards we provide with Clutter. https://bugzilla.gnome.org/show_bug.cgi?id=678423 tests/conform/test-conform-common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 5eb3fbf3cf89950d43d495fcd8e89d93731e8869 Author: Emmanuele Bassi Date: Tue Jun 19 14:43:40 2012 +0100 build: Add coverage support using lcov Unlike gcov, lcov provides a nice HTML output that allows immediate visualization of the current coverage. The updates of the build system have been taken from GLib, which has been using lcov for a while with good results. .gitignore | 4 +++ Makefile.am | 26 +++++++++++++++++++- configure.ac | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 104 insertions(+), 3 deletions(-) commit c4acae7752b2c8c95a03b324dbf40dd5007cafbf Author: Emmanuele Bassi Date: Tue Jun 19 14:17:05 2012 +0100 build: Remove gcov from the build We want to switch to lcov, so let's start with a clean slate. Makefile.am | 6 +----- build/Makefile.am | 2 -- build/autotools/Makefile.am | 1 - build/autotools/Makefile.am.gcov | 33 ---------------------------- build/gen-gcov.pl | 44 -------------------------------------- clutter/Makefile.am | 7 +----- configure.ac | 30 -------------------------- 7 files changed, 2 insertions(+), 121 deletions(-) commit b850696b311817a68e29bcf8735780cdd3b8fd4c Author: Emmanuele Bassi Date: Tue Jun 19 12:18:32 2012 +0100 interactive/touch-events: Add a missing return value The draw_touches() function must return a boolean value. https://bugzilla.gnome.org/show_bug.cgi?id=678391 tests/interactive/test-touch-events.c | 2 ++ 1 file changed, 2 insertions(+) commit eca725fe964542ea29e744a7f01f975f2567671a Author: Sasi Bhushan Boddepalli Date: Tue Jun 19 16:56:01 2012 +0530 Updated Telugu Translation po/te.po | 1394 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 751 insertions(+), 643 deletions(-) commit 6597245912ef241cd603d16d1b20645723a02ee2 Author: Emmanuele Bassi Date: Tue Jun 19 09:38:01 2012 +0100 build: Remove tarball upload to clutter-project.org Without being on the Intel network, you can't upload the tarball on clutter-project.org, so it'll have to be done manually from now on. build/autotools/Makefile.am.release | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit 7b07d4a7c52d93b4b931a189c572f07b7ef9f04f Author: Emmanuele Bassi Date: Mon Jun 18 23:00:08 2012 +0100 transition: Check if we're setting the same interval If we do, then don't bother. clutter/clutter-transition.c | 3 +++ 1 file changed, 3 insertions(+) commit b658023324c98b3ad4d40a9c2804b7f829a48366 Author: Emmanuele Bassi Date: Mon Jun 18 22:21:14 2012 +0100 property-transition: Lazily convert the interpolated value If the Interval used has a different type than the property we are animating through a PropertyTransition then we should transform the interpolated value before applying it, to avoid warnings down the line. clutter/clutter-property-transition.c | 39 +++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) commit c57cabd4c26d8d99559cf65593599a1737438952 Author: Emmanuele Bassi Date: Mon Jun 18 18:04:10 2012 +0100 conform/interval: Add transformation unit test Verify that it's possible to pass a transformable type to ClutterInterval. tests/conform/interval.c | 31 +++++++++++++++++++++++++++++++ tests/conform/test-conform-main.c | 1 + 2 files changed, 32 insertions(+) commit bebe90e565f852ad858927fd0befe81137bf1326 Author: Emmanuele Bassi Date: Mon Jun 18 17:54:06 2012 +0100 interval: Do not leak the result GValue The compute() method will cache the result, to avoid multiple allocations and copies; this means, though, that we need to unset the GValue when destroying the Interval. clutter/clutter-interval.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit cfc4e86b312d6ddfcdb2d783d65e619778bd3562 Author: Emmanuele Bassi Date: Mon Jun 18 17:53:26 2012 +0100 interval: Compute progress for signed char Not just for unsigned ones, though both are pretty pointless. clutter/clutter-interval.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 44642b6a57e753bbe0f68a7583917218c3e1b9f0 Author: Emmanuele Bassi Date: Mon Jun 18 17:52:37 2012 +0100 interval: Validate more fundamental types 64bit integers and floating point values should be validated as well. clutter/clutter-interval.c | 75 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) commit aacd28cc2115f663df2c18ee3f4cdac2e5dbf055 Author: Emmanuele Bassi Date: Mon Jun 18 17:51:48 2012 +0100 conform: Initial suite for ClutterInterval ClutterInterval is undertested, so we should start adding a unit test for it. tests/conform/Makefile.am | 1 + tests/conform/interval.c | 39 +++++++++++++++++++++++++++++++++++++ tests/conform/test-conform-main.c | 2 ++ 3 files changed, 42 insertions(+) commit 54e22590b95c54dcba066e9519b87e529d33cf7d Author: Emmanuele Bassi Date: Mon Jun 18 18:02:58 2012 +0100 interval: Remove unnecessary check Now that the interval can transform the initial and final values to the type declared when constructing it, there is no need to check for the value type inside set_initial_value() and set_final_value(). clutter/clutter-interval.c | 12 ------------ 1 file changed, 12 deletions(-) commit a0c620b1576a9d72a4f5dc517169778fadec7fa9 Author: Emmanuele Bassi Date: Mon Jun 18 11:07:39 2012 +0100 interval: Transform values on set, if needed It's possible that GValues passed to a ClutterInterval setter are not of the same type as the interval - for instance, if they come from language bindings, or from untrusted sources; we can use the same transformation functions we already use inside ClutterTransition to ensure that the ClutterInterval always stores values of the same type used to create the interval itself. clutter/clutter-interval.c | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) commit b525253c88ed6f0dd57e4397fe11f07760059056 Author: Alejandro Piñeiro Date: Mon Jun 18 11:28:45 2012 +0200 tests: a11y: updated atkevents after bug 675183 tests/accessibility/cally-atkevents-example.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 0d4d467dd55ac23151a32e52195d47b6ab7706ca Author: Alejandro Piñeiro Date: Mon Jun 18 11:30:25 2012 +0200 a11y: Remove key event listener hash table if no longer required https://bugzilla.gnome.org/show_bug.cgi?id=675183 clutter/cally/cally-util.c | 2 ++ 1 file changed, 2 insertions(+) commit cafcf14e0e199df65842359d95c6595de46ad32b Author: Alejandro Piñeiro Date: Wed May 9 17:10:55 2012 +0200 a11y: atk_add_key_event_listener listener_id should not return 0 as a valid value cally_util_add_key_event_listener first id returned was 0, but as the documentation says, this is a reserved value for a wrong id Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675183 clutter/cally/cally-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a88f73091b7606447418a63c62cb447f2ee63780 Author: Frédéric Péters Date: Tue Jun 12 08:25:05 2012 +0200 tests: link test-conformance against libm https://bugzilla.gnome.org/show_bug.cgi?id=677921 tests/conform/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 725f4a07f3fb04518646f792b64d3c7fa120091a Author: Emmanuele Bassi Date: Wed Jun 13 10:23:28 2012 +0100 canvas: Propagate Cairo errors when diagnostic mode is enabled It can be a useful debugging tool to report the eventual error state of the cairo_t after the ::draw signal emission ended. clutter/clutter-canvas.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit b4222db71de7a5588a4160a8699f295906181176 Author: Tomeu Vizoso Date: Thu Jun 14 11:17:05 2012 +0200 tests: Make sure we return 0 only on error tests/conform/events-touch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d72558d3caa1993dff3b8d81e2aabaae3d104a30 Author: Tomeu Vizoso Date: Wed Jun 13 12:37:02 2012 +0200 Stop casting ClutterTouchSequence* to ulong Use instead a hash table to link touch sequences to colors. tests/interactive/test-touch-events.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 60967127b441b610384f875556de34cc6205df70 Author: Emmanuele Bassi Date: Wed Jun 13 09:09:56 2012 +0100 docs: Mention the Timeline::stopped signal in the class description Now that we have the ::stopped signal, it would be good if the documentation mentioned it explicitly as the dual of the ::started signal. clutter/clutter-timeline.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit e01f9f330dc87f308d2a064eae4d7f75fe66ee8d Author: Emmanuele Bassi Date: Tue Jun 12 22:44:42 2012 +0100 timeline: Emit last ::completed before ::stopped The ::stopped signal should be emitted at the end of the Timeline, after the last ::completed signal emission, in order to have a proper chronological progress of signal emissions: started → new-frame → [ ... ] → completed → stopped This way, ::stopped can perform a proper teardown of the state set up during ::started, without interfering with the potential cyclical emission of ::completed. clutter/clutter-timeline.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 252eafa5206066062d8f9605fad9367e891c3e45 Author: Evan Nemerson Date: Tue Jun 12 15:41:39 2012 -0700 introspection: assorted annotation fixes ported from Vala https://bugzilla.gnome.org/show_bug.cgi?id=677778 clutter/clutter-binding-pool.c | 3 ++- clutter/clutter-color.c | 6 +++--- clutter/clutter-main.c | 4 ++-- clutter/clutter-shader-types.c | 22 +++++++++++----------- clutter/clutter-stage.c | 2 +- 5 files changed, 19 insertions(+), 18 deletions(-) commit 1bdd21481102fa8078cb3dd546bacdcd39e020e9 Author: Bastian Winkler Date: Tue Jun 12 14:30:00 2012 +0200 grid-layout: Insert new rows/columns at the appropriate position clutter/clutter-grid-layout.c | 2 ++ 1 file changed, 2 insertions(+) commit 7c8f761d43f17b2dafa9be930fc5d6409fc5ee0a Author: Bastian Winkler Date: Mon Jun 11 17:17:46 2012 +0200 grid-layout: Fix attach position for horizontal orientation Switch the attach position. A new child should be positioned right of it's previous sibling in ltr mode. clutter/clutter-grid-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ca3f8f013216efb0afa122c4781206b4aaefc15 Author: Ihar Hrachyshka Date: Tue Jun 12 18:10:27 2012 +0300 Updated Belarusian translation. po/be.po | 1326 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 734 insertions(+), 592 deletions(-) commit c73549f9d34ed13d2bdee7d976be582b51d3c99f Author: Emmanuele Bassi Date: Mon Jun 11 13:47:29 2012 +0100 Update keysyms headers clutter/clutter-keysyms.h | 4 ++++ clutter/deprecated/clutter-keysyms.h | 4 ++++ 2 files changed, 8 insertions(+) commit 716ee65a98a2ee779a6069e4a41b0186afa29f66 Author: Emmanuele Bassi Date: Mon Jun 11 13:46:38 2012 +0100 keysyms-update: Add deprecation guards to the deprecated header We still need to add them in case the header is directly included. clutter/clutter-keysyms-update.pl | 4 ++++ 1 file changed, 4 insertions(+) commit f6d169f36039a52b15338e164b3b600924400bd4 Author: Emmanuele Bassi Date: Mon Jun 11 10:21:36 2012 +0100 docs: Update the release notes for 1.12 README.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 7118bab23ca2e3cd86b85c393239da3c65185b03 Author: Emmanuele Bassi Date: Mon Jun 11 10:02:38 2012 +0100 docs: Change GridLayout's short description Clutter doesn't have widgets. clutter/clutter-grid-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 231f0cbd0c6704ed4d672709ca110f2b098852a2 Author: Emmanuele Bassi Date: Sun Jun 10 23:34:47 2012 +0100 docs: Document user_data argument for BindingActionFunc clutter/clutter-binding-pool.h | 1 + 1 file changed, 1 insertion(+) commit 847f9aef43b6f42a84b9b894acd5816aadc3ec79 Author: Emmanuele Bassi Date: Sun Jun 10 23:33:00 2012 +0100 docs: Add missing clutter_interval_is_valid symbol doc/reference/clutter/clutter-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 5eb07a301060225e2e33d7d8c5a61003dda7714d Author: Emmanuele Bassi Date: Sat Jun 9 10:38:09 2012 +0100 base-types: Don't free zero point and rect Calling clutter_point_free(clutter_point_zero()) or calling clutter_rect_free(clutter_rect_zero()) should be safe, exactly like it's safe to call those functions with a NULL argument. clutter/clutter-base-types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 17539bca95e14be051311995dbec3a2b75f00150 Author: Emmanuele Bassi Date: Sat Jun 9 10:35:56 2012 +0100 base-types: Add zero point and rect A constant ClutterPoint for (0, 0) and a constant degenerate ClutterRect can be useful as guards for pointers, freeing the NULL value to mean "unset". clutter/clutter-base-types.c | 42 ++++++++++++ clutter/clutter-types.h | 96 +++++++++++++++------------- clutter/clutter.symbols | 2 + doc/reference/clutter/clutter-sections.txt | 2 + 4 files changed, 96 insertions(+), 46 deletions(-) commit 24495918bbbb2b54f7ba3069690d69a6937d1426 Author: Emmanuele Bassi Date: Sat Jun 9 10:08:46 2012 +0100 docs: Further clarifications on implicit vs explicit animations The wording is a bit terse, so it's better to clarify it. clutter/clutter-actor.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 4c1bf6162a9c099dfccb4244bff6ac72d3f358b1 Author: Emmanuele Bassi Date: Sat Jun 9 09:53:14 2012 +0100 docs: Remove the old animation tutorial The animation tutorial was written in the Good Ol' 0.x days, and has barely been updated during the 1.x cycle; it only referenced low level or deprecated API, and the ClutterActor class description has a whole section on how to animate actors using both the implicit and the explicit animation API. doc/reference/clutter/Makefile.am | 2 - .../clutter/clutter-animation-tutorial.xml | 466 -------------------- doc/reference/clutter/clutter-docs.xml.in | 11 - 3 files changed, 479 deletions(-) commit 7043a3a1ed52448d2d952cb88cb0f28d75ef021e Author: Emmanuele Bassi Date: Fri Jun 8 18:39:01 2012 +0100 docs: Add notes on implicit vs. explicit animations The implicit animations only apply to properties that are documented as 'animatable'; the explicit animations apply to any property defined through GObject or ClutterAnimatable. clutter/clutter-actor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9412b1a4c3b440168db659bd928c5cca943c0ff7 Author: Emmanuele Bassi Date: Fri Jun 8 18:13:31 2012 +0100 actor: Provide an initial easing state For 1.x, we still have a duration of 0 msecs, but we have a valid easing state, so we can change the easing parameters without calling save and restore. clutter/clutter-actor.c | 5 +++++ 1 file changed, 5 insertions(+) commit 0a5967ef503aebf020fb084a13dd8b6851a7d813 Author: Evan Nemerson Date: Thu Jun 7 16:22:03 2012 -0700 binding-pool: add user_data parameter to ClutterBindingActionFunc https://bugzilla.gnome.org/show_bug.cgi?id=677659 clutter/clutter-binding-pool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cc01ebfe68f7ec622593ea9383df3ebc5c651aa8 Author: Daniel Mustieles Date: Sat Jun 9 11:54:54 2012 +0200 Updated Spanish translation po/es.po | 466 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 246 insertions(+), 220 deletions(-) commit 0616fbdb0486d8630df3e952c43f21fc0c58ef04 Author: Fran Diéguez Date: Fri Jun 8 20:03:55 2012 +0200 Updated Galician translations po/gl.po | 442 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 233 insertions(+), 209 deletions(-) commit b21cb294791f50285bbe86c7f1c8ec446370ffbe Author: Emmanuele Bassi Date: Fri Jun 8 17:33:30 2012 +0100 property-transition: Verify the interval on compute_value() By checking if the interval is valid inside compute_value() we can catch the cases where the interval values of a PropertyTransition are set after the transition has been added to an Animatable instance - i.e. the following code: let transition = new Clutter.PropertyTransition(); transition.set_property_name('opacity'); actor.add_transition('opacityAnim', transition); transition.set_to_value(0); should be equivalent to: let transition = new Clutter.PropertyTransition(); transition.set_property_name('opacity'); transition.set_to_value(0); actor.add_transition('opacityAnim', transition); instead of emitting a warning. clutter/clutter-property-transition.c | 55 +++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 20 deletions(-) commit 762053cd28058bc93d4d2d71b1da1a5599042c0a Author: Emmanuele Bassi Date: Fri Jun 8 17:32:51 2012 +0100 interval: Add is_valid() method The is_valid() method checks if the Interval has an initial and final values and it's not still uninitialized. clutter/clutter-interval.c | 24 ++++++++++++++++++++++++ clutter/clutter-interval.h | 3 +++ clutter/clutter.symbols | 1 + 3 files changed, 28 insertions(+) commit dfab05544371c7becc512607db6061094c3bfd13 Author: Emmanuele Bassi Date: Fri Jun 8 15:03:22 2012 +0100 interval: Add initial and final properties This allows creating a ClutterInterval from language bindings without using the setter functions. clutter/clutter-interval.c | 92 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 73 insertions(+), 19 deletions(-) commit 7660f5d0c60bf7de39f8ed0ea4ab07e1dc630a59 Author: Emmanuele Bassi Date: Fri Jun 8 14:24:57 2012 +0100 transition: Use current values if no interval is defined Once a ClutterPropertyTransition is attached to a ClutterAnimatable, if no interval is set we can simply use the current state of the property to define the from and to values. This allows the creation of property transitions from the current state of the Animatable instance without excessive verbosity. clutter/clutter-property-transition.c | 33 +++++++++++++++++++++++++++++++-- clutter/clutter-transition.c | 5 ++--- 2 files changed, 33 insertions(+), 5 deletions(-) commit 189a93677f0d0c710b3692fe88258a2675fd6f5c Author: Emmanuele Bassi Date: Fri Jun 8 14:13:36 2012 +0100 text: Chain up in the ScriptableIface implementation We need ClutterActor's implementation to run as well. clutter/clutter-text.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit c6e1d02fed98872a4bb74013a29c3e3bf04044f9 Author: Emmanuele Bassi Date: Fri Jun 8 12:49:07 2012 +0100 canvas: Use the actor's content repeat policy Similarly to what ClutterImage does. clutter/clutter-canvas.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 92fc2c760cf788979a57bbca74321c490011f60f Author: Emmanuele Bassi Date: Fri Jun 8 12:45:39 2012 +0100 image: Use the actor's content repeat policy When painting we can now use the ClutterActor content-repeat property to decide whether or not to repeat the texture data. clutter/clutter-image.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit e7aa21203c3f9f001fe04d5d55ba8e47dc0e6668 Author: Emmanuele Bassi Date: Fri Jun 8 12:44:28 2012 +0100 actor: Add content-repeat ClutterContent implementations may allow repeating their contents when painting; we should provide the repeat policy on the actor, like we do for scaling filters and content gravity. clutter/clutter-actor.c | 70 ++++++++++++++++++++++++++++ clutter/clutter-actor.h | 5 ++ clutter/clutter-enums.h | 18 +++++++ clutter/clutter.symbols | 3 ++ doc/reference/clutter/clutter-sections.txt | 5 +- 5 files changed, 100 insertions(+), 1 deletion(-) commit ec296646f6967a4860d2d54901a77ca046edba6d Author: Emmanuele Bassi Date: Thu Jun 7 18:02:25 2012 +0100 table: Deprecate the align, expand, and fill layout properties ClutterActor exposes their equivalent, and ClutterTableLayout honours them since commit 8e24de86b6f88f3bfd1e65cdfd845f330212d1c6. clutter/clutter-table-layout.c | 21 +++++++++++++++++++-- clutter/clutter-table-layout.h | 7 +++++++ 2 files changed, 26 insertions(+), 2 deletions(-) commit 75c3339c66a840733e4c6219d8286b66e8108a6d Author: Emmanuele Bassi Date: Thu Jun 7 16:14:21 2012 +0100 text: Use actor alignments when painting the layout ClutterActor's x-align and y-align properties should be used to control the alignment of the PangoLayout when painting it within a larger allocation, and the ClutterText has the x-expand or the y-expand flags set. clutter/clutter-text.c | 82 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 77 insertions(+), 5 deletions(-) commit c0b3e2e83aca99541ef5eeb15549a482ecf4f7d7 Author: Alexander Larsson Date: Fri Jun 8 11:29:43 2012 +0200 Don't allocate size to invisible BinLayout children This is similar to what other layouts do, and avoids problems with Gtk+ actor children which warn about being allocated not enough space. clutter/clutter-bin-layout.c | 3 +++ 1 file changed, 3 insertions(+) commit 76f1a42ef8eb1ff1cd29a4e1bf1393804d28de2a Author: Alexander Larsson Date: Thu Jun 7 16:44:08 2012 +0200 BinLayout: Always use fixed_x/y for FIXED if set We want to use the actually set value for x/y, not the current allocation, as that might be a transition from an earlier allocation animation. clutter/clutter-bin-layout.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit fd8dcfcc565f1f3130cbd1c1b59a870bda26d518 Author: Alexander Larsson Date: Thu Jun 7 16:32:01 2012 +0200 Ensure that fixed positions always start at 0,0 Fixed positions are defined to be initialized at 0,0 whenever enabled, by setting fixed_position_enabled to true, or by setting just one of x/y. This normally happens in the defaults, but we need to make sure it also happens if a fixed position was once set but then disabled. We do this by always resetting it back to 0,0 when fixed_position_set is unset. clutter/clutter-actor.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 962bcb12224685b3a93fe5b449331d5d477eaf87 Author: Alexander Larsson Date: Thu Jun 7 16:31:22 2012 +0200 Add _clutter_actor_peek_layout_info This will be needed later to get a layout_info without creating one if there is none already. clutter/clutter-actor-private.h | 1 + clutter/clutter-actor.c | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit 1ab6fc0b39abb646b787eb1d12b46c6cb967db8d Author: Emmanuele Bassi Date: Thu Jun 7 12:23:49 2012 +0100 conform/events-touch: Silently bail out if init failed This removes the need to conditionally run the test. tests/conform/events-touch.c | 33 ++++++++++++++++++++++++--------- tests/conform/test-conform-main.c | 11 ++--------- 2 files changed, 26 insertions(+), 18 deletions(-) commit 9371029a89d56a932c550efa43ad6c46e150896e Author: Emmanuele Bassi Date: Thu Jun 7 12:06:56 2012 +0100 actor: Improve debug message for create_transition() Add the property and easing state information. clutter/clutter-actor.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 42b933eeafc554e43c6e1579dcda6a4f8d7f39b4 Author: Emmanuele Bassi Date: Thu Jun 7 11:51:33 2012 +0100 debug: Group debug messages by timestamps Instead of showing the full timestamp for debugging messages that happen within a second, showing the delta from the previous full timestamp can be more useful when debugging; this allows immediately seeing the time difference, instead of doing the math in our heads. clutter/clutter-main.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit a3a2fbfd5a738ffeb2b8f55183ff49dc8e884342 Author: Emmanuele Bassi Date: Thu Jun 7 11:34:12 2012 +0100 actor: Improve the debug name Only for debug builds, the debug name should include a) actor name, b) type name, and c) pointer address. For non-debug builds we can live with the actor/type name. clutter/clutter-actor.c | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) commit b339b845cb7620e4784e3f03b944821bde17ab1d Author: Tomeu Vizoso Date: Thu Jun 7 11:08:49 2012 +0200 tests: Add unit test for touch event handling For now, it just generates a simple horizontal slide (by writing to /dev/uinput) and checks that the stage gets the events at the expected coordinates. The test won't run if it doesn't have read/write permissions to /dev/uinput. It also adds OS_LINUX to config.h. configure.ac | 5 + tests/conform/Makefile.am | 5 + tests/conform/events-touch.c | 379 +++++++++++++++++++++++++++++++++++ tests/conform/test-conform-common.c | 2 + tests/conform/test-conform-main.c | 9 + 5 files changed, 400 insertions(+) commit ebb61dea1fa7a8cf09f8ef3ce7d760442461cdb6 Author: Emmanuele Bassi Date: Wed Jun 6 13:39:50 2012 +0100 examples: Enable maintainer compiler flags Another step in keeping the example code up to date and correct. examples/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a54102379599945435a1f6a69e6708594661ad8b Author: Emmanuele Bassi Date: Wed Jun 6 13:39:47 2012 +0100 examples/layout: Initialize variables to avoid warnings examples/layout-manager.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 75ef676b1507d6fb86e2c52c0ba3c79a1ece4d70 Author: Emmanuele Bassi Date: Wed Jun 6 13:37:05 2012 +0100 examples: Build with deprecation warnings turned on We want to ensure that the examples stay valid and idiomatic; thus, we should build them with deprecation warnings turned on. examples/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c13290240c6087411835da1e6080ce3389714922 Author: Emmanuele Bassi Date: Wed Jun 6 13:37:02 2012 +0100 examples/constraints: Do not use deprecated API examples/constraints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4db310b1274408bbc76d2d199c921b59e2ea10ec Author: Emmanuele Bassi Date: Wed Jun 6 13:36:46 2012 +0100 examples/flow: Do not use deprecated API examples/flow-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 008afe80e38fd35576fc2f636e1a6aefe6e52853 Author: Emmanuele Bassi Date: Wed Jun 6 11:19:33 2012 +0100 docs: Fix wrong rotation-* properties name Copy and paste typos from the old documentation. clutter/clutter-actor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 38724e263910b9cdf4ca1b76753c1275788c5ed1 Author: Danielle Madeley Date: Tue Jun 5 15:00:48 2012 +1000 evdev: Use new xkbcommon include path Inspired by a similar patch in Wayland. clutter/evdev/clutter-xkb-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 784730db98d5c3b06458d2540ef8679507767c73 Author: Emmanuele Bassi Date: Tue Jun 5 19:52:13 2012 +0100 Post-release version bump to 1.11.5 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)