commit 1d1cac02c0d57a568583a671cf0a6e5d4da17df9 Author: Emmanuele Bassi Date: Tue Jun 5 19:36:45 2012 +0100 Release Clutter 1.11.4 (snapshot) NEWS | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 101 insertions(+), 1 deletion(-) commit 7ed77e98fe9766b1909fe75b29b499e761ffb7d5 Author: Emmanuele Bassi Date: Tue Jun 5 19:40:07 2012 +0100 symbols: Add missing functions clutter/clutter.symbols | 2 ++ 1 file changed, 2 insertions(+) commit 0247d070166f4483f9e708129064fa53a49950dd Author: Emmanuele Bassi Date: Tue Jun 5 19:27:28 2012 +0100 docs: Add ClutterTimelineClass.stopped annotation clutter/clutter-timeline.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 7381050ab1f352d5c13b4b2a120c599550b72397 Author: Emmanuele Bassi Date: Mon Jun 4 23:16:30 2012 +0100 examples/threads: Modernize code Drop the usage of behaviours and alphas, and use transitions and implicit animations instead. examples/threads.c | 125 +++++++++++++++++++++++++++++----------------------- 1 file changed, 69 insertions(+), 56 deletions(-) commit 0acc85dab13775e1a521588d4f2f5b229e6dcac6 Author: Daniel Mustieles Date: Tue Jun 5 17:56:45 2012 +0200 Updated Spanish translation po/es.po | 432 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 249 insertions(+), 183 deletions(-) commit 43d40758bddee49d24ec14c28dd859bb7032145a Author: Tomeu Vizoso Date: Mon Jun 4 13:15:43 2012 +0200 tests: Add interactive test for touch events https://bugzilla.gnome.org/show_bug.cgi?id=677390 tests/interactive/Makefile.am | 3 +- tests/interactive/test-touch-events.c | 161 +++++++++++++++++++++++++++++++++ 2 files changed, 163 insertions(+), 1 deletion(-) commit 0ec01a2e42645b4fe9ce23335983d326249afff3 Author: Tomeu Vizoso Date: Mon Jun 4 13:15:13 2012 +0200 events: Deliver touch events to actors https://bugzilla.gnome.org/show_bug.cgi?id=677390 clutter/clutter-main.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit d7f68f64d37411bf764a096c5e50cb03c2112ce7 Author: Fran Diéguez Date: Tue Jun 5 15:51:07 2012 +0200 Updated Galician translations po/gl.po | 131 +++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 96 insertions(+), 35 deletions(-) commit 13b1b9c62f051c4b3fab97d23d130b892e9a0606 Author: Piotr Drąg Date: Tue Jun 5 15:24:57 2012 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit dae25d839edee004df76cf2ff9f3e988fdbf2845 Author: Bastian Winkler Date: Sun Jun 3 12:18:37 2012 +0200 examples: Add a grid-layout example A fairly complete example for ClutterGridLayout https://bugzilla.gnome.org/show_bug.cgi?id=677372 examples/Makefile.am | 1 + examples/grid-layout.c | 386 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 387 insertions(+) commit 1eb869ec8f893cfc9cd03576335bfac173f8fa3c Author: Bastian Winkler Date: Sun Jun 3 05:02:31 2012 +0200 Add ClutterGridLayout ClutterGridLayout is port of GtkGrid to a Clutter layout manager. All the logic is taken from gtkgrid.c, so all the credits should go to Matthias Clasen for writing this nice piece of code. ClutterGridLayout supports adding children with it's own methods GridLayout.attach() and GridLayout.attach_next_to() as well as Actor.add_child() and friends. The latter adds children in a similar fashion to ClutterBoxLayout https://bugzilla.gnome.org/show_bug.cgi?id=677372 clutter/Makefile.am | 2 + clutter/clutter-enums.h | 18 + clutter/clutter-grid-layout.c | 2199 ++++++++++++++++++++++++++++ clutter/clutter-grid-layout.h | 161 ++ clutter/clutter.h | 1 + clutter/clutter.symbols | 18 + doc/reference/clutter/clutter-docs.xml.in | 1 + doc/reference/clutter/clutter-sections.txt | 39 + doc/reference/clutter/clutter.types | 1 + 9 files changed, 2440 insertions(+) commit 8ef55e4e98c192d2d59e90fba8b2bffccdeae08c Author: Alexander Larsson Date: Tue Jun 5 10:55:17 2012 +0200 Don't allocate size for invisible BinLayout children README.in | 6 ++++++ clutter/clutter-bin-layout.c | 6 ++++++ 2 files changed, 12 insertions(+) commit c7c3d852250f15aec077b54ed5d9d493bd383762 Author: Bastian Winkler Date: Mon Jun 4 11:47:58 2012 +0200 box-layout: Deprecate expand/fill/align child properties These are covered by ClutterActor:[xy]-align and ClutterActor:[xy]-expand https://bugzilla.gnome.org/show_bug.cgi?id=677283 clutter/clutter-box-layout.c | 36 +++++++++++++++++++++++------------- clutter/clutter-box-layout.h | 6 ++++++ 2 files changed, 29 insertions(+), 13 deletions(-) commit f14c71cd3cdac442a660568fae7a0ec81a5dece1 Author: Bastian Winkler Date: Sat Jun 2 15:01:11 2012 +0200 examples: Updated box-layout example Updated test-box-layout to use modern API and move it to examples. https://bugzilla.gnome.org/show_bug.cgi?id=677283 examples/Makefile.am | 1 + examples/box-layout.c | 301 +++++++++++++++++++++++++++++++++++ tests/interactive/Makefile.am | 1 - tests/interactive/test-box-layout.c | 292 --------------------------------- 4 files changed, 302 insertions(+), 293 deletions(-) commit 157353ec3cfee0f2b6f3320d0aa119bd1681bd36 Author: Bastian Winkler Date: Fri Jun 1 16:43:11 2012 +0200 box-layout: Honor actor expand and alignment Check if the actor has needs to expand and use Actor.allocate() instead of Actor.allocate_align_fill() in that case. https://bugzilla.gnome.org/show_bug.cgi?id=677283 clutter/clutter-box-layout.c | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) commit 8e24de86b6f88f3bfd1e65cdfd845f330212d1c6 Author: Bastian Winkler Date: Fri Jun 1 16:49:51 2012 +0200 table-layout: Honor actors expand and alignment settings Check if the actor has needs to expand and use Actor.allocate() instead of Actor.allocate_align_fill in that case. https://bugzilla.gnome.org/show_bug.cgi?id=677284 clutter/clutter-table-layout.c | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) commit dbf45c680f510dbcd92f8bdb527dad111285d6b9 Author: Bastian Winkler Date: Sun Jun 3 13:55:30 2012 +0200 doc: Add ClutterLayoutManagerPrivate to doc sections https://bugzilla.gnome.org/show_bug.cgi?id=677384 doc/reference/clutter/clutter-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 65c8b11604e299ef2788a69a76df24d8a5ddb870 Author: Emmanuele Bassi Date: Mon Jun 4 10:34:22 2012 +0100 image: Add a data setter using GBytes The plain C bytes array, while convenient from a C perspective, is not well handled by language bindings: the length of the array is not specified, and it's only just implied by the image data size, rowstride, and pixel format. GBytes is a read-only bytes buffer that has an implicit length; we can use it as the storage medium so that language bindings can actually function correctly. clutter/clutter-image.c | 65 +++++++++++++++++++++++++++- clutter/clutter-image.h | 8 ++++ clutter/clutter.symbols | 1 + doc/reference/clutter/clutter-sections.txt | 1 + 4 files changed, 74 insertions(+), 1 deletion(-) commit dcae4909f3ef0d880761fa0f4aeb16e1008fa860 Author: Bruno Brouard Date: Sun Jun 3 13:51:19 2012 +0200 Updated French translation po/fr.po | 544 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 278 insertions(+), 266 deletions(-) commit 23daf302ae263cb085c97c5362469cb0298189b0 Author: Fran Diéguez Date: Sun Jun 3 03:23:40 2012 +0200 Updated Galician translations po/gl.po | 596 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 304 insertions(+), 292 deletions(-) commit d154a10fa0e206a013058a45955b2a582d1417c0 Author: Debarshi Ray Date: Mon May 14 00:57:57 2012 +0200 cookbook/examples: Don't mix up height and width while splitting Fixes: https://bugzilla.gnome.org/675998 doc/cookbook/examples/textures-split-go.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit b1fcc828be841fc29547435b0c8611105d7938b8 Author: Emmanuele Bassi Date: Thu May 31 10:06:05 2012 +0100 osx/backend: Chain up in create_context() This will ensure that we have a CoglContext, albeit the stub winsys one, on Mac. Tested-by: Roland Peffer Tested-by: Laszlo Pandy clutter/osx/clutter-backend-osx.c | 3 +++ 1 file changed, 3 insertions(+) commit 7f9c3976a1b87d81e0f65f17437825eff5311974 Author: Emanuele Aina Date: Tue May 29 17:40:51 2012 +0200 Fix width-for-height allocations https://bugzilla.gnome.org/show_bug.cgi?id=677039 clutter/clutter-actor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit de4d70af69a5e33421c468275a3e0e2dc7aaf624 Author: Emmanuele Bassi Date: Fri May 25 19:41:14 2012 -0400 timeline: Add a new "stopped" signal The ::stopped signal is emitted when the timeline has been completely exhausted or when the timeline has been programmatically stopped by using clutter_timeline_stop(); the notification at the end of the timeline run allows to write handlers without having to check whether the current repeat is the last one, like we are forced to do when using the ::completed signal. Based on the patch by: Jasper St. Pierre https://bugzilla.gnome.org/show_bug.cgi?id=676854 clutter/clutter-actor.c | 52 ++++++++++++++++----------------------- clutter/clutter-marshal.list | 1 + clutter/clutter-timeline.c | 56 ++++++++++++++++++++++++++++++++++++++---- clutter/clutter-timeline.h | 3 ++- clutter/clutter-transition.c | 25 ++++++++----------- examples/basic-actor.c | 9 ++++--- 6 files changed, 90 insertions(+), 56 deletions(-) commit 4634dde6134507ad6598bf4c0c97a70890aaf9dc Author: Emmanuele Bassi Date: Wed May 30 14:26:58 2012 +0100 actor: Stop transitions on remove_child() There's no point in having transitions running when removing a child, so we just stop them. https://bugzilla.gnome.org/show_bug.cgi?id=677098 clutter/clutter-actor.c | 47 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) commit 78e789007f505acfec731677e92973ef2b609d14 Author: Daniel Mustieles Date: Wed May 30 17:48:00 2012 +0200 Updated Spanish translation po/es.po | 564 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 285 insertions(+), 279 deletions(-) commit b9533cb397d1b272c7975c6e904fcd46894022fa Author: Emmanuele Bassi Date: Tue May 29 15:39:59 2012 +0100 actor: Finally fix RESIZE_ASPECT content gravity Ensure that resizing transitions smoothly when switching between major axis; the allocation aspect ratio is not important: it's the size of the allocation that dictates the major axis. clutter/clutter-actor.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit 7df4bfcf3bbce2a7b2b996e2922bd58bff30a1b2 Author: Bastian Winkler Date: Tue May 29 14:57:41 2012 +0200 box-layout: Remove unused BoxChild members These are leftovers from the old animation API an are unused now. https://bugzilla.gnome.org/show_bug.cgi?id=677086 clutter/clutter-box-layout.c | 5 ----- 1 file changed, 5 deletions(-) commit 93627c876d836eb84079f4a71161571b7d5e5bca Author: Bastian Winkler Date: Tue May 29 14:44:44 2012 +0200 examples: Allow optional animations in flow-layout Allow animations to demonstrate the LayoutManager animation API https://bugzilla.gnome.org/show_bug.cgi?id=677085 examples/flow-layout.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 4c3bb5e2de93697f2bb672d5c5829a1e5fc6a996 Author: Matej Urbančič Date: Tue May 29 20:04:11 2012 +0200 Updated Slovenian translation po/sl.po | 1282 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 665 insertions(+), 617 deletions(-) commit 1339b391326ce30e88c4476cfd4bc288c74c304f Author: Bastian Winkler Date: Thu May 24 20:25:22 2012 +0200 examples: Update layout-manager example to use the animations API https://bugzilla.gnome.org/show_bug.cgi?id=676827 examples/layout-manager.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit 793bde91430c53edd0b39989e59f9f77b562947e Author: Bastian Winkler Date: Thu May 24 17:32:11 2012 +0200 table-layout: Use the ClutterLayoutManager animation API ClutterTableLayout now only calls the animation API of ClutterLayoutManager https://bugzilla.gnome.org/show_bug.cgi?id=676827 clutter/clutter-table-layout.c | 195 ++++++++++------------------------------ 1 file changed, 47 insertions(+), 148 deletions(-) commit 58a1854b5729296dbd62071d190c528374e7e4f8 Author: Bastian Winkler Date: Thu May 24 17:31:44 2012 +0200 box-layout: Use the ClutterLayoutManager animation API ClutterBoxLayout now only calls the animation API of ClutterLayoutManager https://bugzilla.gnome.org/show_bug.cgi?id=676827 clutter/clutter-box-layout.c | 200 +++++++++++++----------------------------- 1 file changed, 60 insertions(+), 140 deletions(-) commit 320fb156b41fad5048b69acb7ca7a7e582b49182 Author: Bastian Winkler Date: Thu May 24 16:06:31 2012 +0200 flow-layout: Implement layout animations Allow to animate the child allocation using the ClutterLayoutManager animation API https://bugzilla.gnome.org/show_bug.cgi?id=676827 clutter/clutter-flow-layout.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 03ec016faa146410c12b88851f0428d035933dd4 Author: Bastian Winkler Date: Thu May 24 16:05:06 2012 +0200 bin-layout: Implement layout animations Allow to animate the child allocation using the ClutterLayoutManager animation API https://bugzilla.gnome.org/show_bug.cgi?id=676827 clutter/clutter-bin-layout.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 7f6b17bc504ca508554a5e2075af59125682e531 Author: Bastian Winkler Date: Thu May 24 15:45:07 2012 +0200 layout-manager: Add a new animation API It's similar to to the implicit animation API of ClutterActor and compatible to deprecated API of ClutterBoxLayout and ClutterTableLayout. It adds :use-animations, :easing-mode, :easing-duration and :easing-delay properties to control animations when allocation of a child has changed. Layout manager implementers should call use_animations = clutter_layout_manager_get_easing_state (manager, &mode, &duration, &delay); from the allocate() virtual function to access these values. https://bugzilla.gnome.org/show_bug.cgi?id=676827 clutter/clutter-layout-manager.c | 406 +++++++++++++++++++++++++++- clutter/clutter-layout-manager.h | 27 ++ clutter/clutter.symbols | 9 + doc/reference/clutter/clutter-sections.txt | 9 + 4 files changed, 449 insertions(+), 2 deletions(-) commit 734720ef0f849b1e31b01d3d376dfeb3b310ca5f Author: Bastian Winkler Date: Thu May 24 14:26:57 2012 +0200 layout-manager: Add a private struct to hold future properties In order to allow the abstract ClutterLayoutManager class to have own GObject properties we'll need a private structure. https://bugzilla.gnome.org/show_bug.cgi?id=676827 clutter/clutter-layout-manager.c | 10 ++++++++++ clutter/clutter-layout-manager.h | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) commit f9c29d50671d37cde455faaa06f2006950277a9e Author: Emmanuele Bassi Date: Mon May 28 15:33:01 2012 +0100 build: Move test-unit-names.h out of the dist Let it be generated at build time, as it should. https://bugzilla.gnome.org/show_bug.cgi?id=674365 tests/interactive/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8e9992de7c04b3e485bd4bcbd70bf51bd2d0e0e1 Author: Emmanuele Bassi Date: Mon May 28 14:07:04 2012 +0100 paint-volume: Use the correct coordinate for axis alignment The z coordinate of the origin should be checked against the same coordinate of the vertex behind it. Given that most actors are flat surfaces, this check should always succeed. https://bugzilla.gnome.org/show_bug.cgi?id=675396 clutter/clutter-paint-volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 58b13aa412ba63de2b49cb57167d2d6beb94c7cb Author: Bastian Winkler Date: Mon May 28 14:02:25 2012 +0200 text: Enable implicit color animations Implement the ClutterAnimatable interface to enable implicit animations for :color, :cursor-color, :selected-text-color and :selection-color. https://bugzilla.gnome.org/show_bug.cgi?id=676963 clutter/clutter-text.c | 277 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 215 insertions(+), 62 deletions(-) commit 129752e5606c652587db8c000a72fe80db889c7d Author: Emmanuele Bassi Date: Fri May 25 11:33:57 2012 +0100 event: Add convenience functions for Shift and Ctrl modifiers Instead of going through clutter_event_get_state() and checking if the modifier mask is set, we can provide simple convenience functions to do it for us. clutter/clutter-event.c | 32 ++++++++++++++++++++++++++++ clutter/clutter-event.h | 5 +++++ clutter/clutter.symbols | 2 ++ doc/reference/clutter/clutter-sections.txt | 2 ++ tests/interactive/test-text-field.c | 9 +++----- 5 files changed, 44 insertions(+), 6 deletions(-) commit 0230f97f609287e30642214f4945f0c3cbae62b5 Author: Chun-wei Fan Date: Thu May 24 23:34:36 2012 +0800 Visual C++ support: Copy clutter-gdk.h as well ... when the GDK backend is also built build/win32/vs10/clutter.props | 10 +- build/win32/vs10/clutter.sln | 16 +- build/win32/vs10/clutter.vcxprojin | 4 +- build/win32/vs9/clutter.sln | 344 ++++++++++++++++++------------------ build/win32/vs9/clutter.vsprops | 8 + build/win32/vs9/install.vcproj | 52 ++++++ 6 files changed, 251 insertions(+), 183 deletions(-) commit 26285416b2207bf4d9bbc4054dfb82663d51d843 Author: Chun-wei Fan Date: Thu May 24 22:27:57 2012 +0800 Visual C++ 2010: Fix x64 Release_GDK configs build/win32/vs10/clutter.sln | 4 ++-- build/win32/vs10/clutter.vcxprojin | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2878258fc099280d0c52ae56156d9ed772c4bcfc Author: Emmanuele Bassi Date: Thu May 24 12:08:58 2012 +0100 examples: Update drag and drop action code Use modern API and show idiomatic behaviour. examples/drag-action.c | 114 +++++++++++++++++++++++++++++++++--------------- examples/drop-action.c | 107 ++++++++++++++++++++++++++------------------- 2 files changed, 142 insertions(+), 79 deletions(-) commit a45d6455f741ec04f6d3b49ab43632878fb08814 Author: Alexandre Franke Date: Wed May 23 17:46:15 2012 +0200 Update French translation po/fr.po | 1185 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 616 insertions(+), 569 deletions(-) commit ee708d1cf8f2a74f34626e2da5b7b42a4d5cb0b7 Author: Mike Ruprecht Date: Tue May 22 14:25:19 2012 +0100 flow-layout: Check for all positive values When creating a FlowLayout container, setting a specific size on it, and adding a child to it, as per the attached testcase, it crashes. The line on the backtrace doesn't really make sense, but from looking over it, it appears that it's probably because priv->line_natural is NULL. The attached patch makes it so in this case, priv->line_natural is allocated. https://bugzilla.gnome.org/show_bug.cgi?id=676068 Signed-off-by: Emmanuele Bassi clutter/clutter-flow-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 403e1c7e708a7224a840dff6a6ed35722e049af8 Author: Emmanuele Bassi Date: Tue May 22 13:58:40 2012 +0100 modules: Use 0.10 branch for GStreamer packages build/clutter.modules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit be5eb2f163c6e6838f77ffd6178991a375122571 Author: Chun-wei Fan Date: Tue May 22 01:50:12 2012 +0800 vs9/clutter.sln: Fix missing build item build/win32/vs9/clutter.sln | 1 + 1 file changed, 1 insertion(+) commit ef1860d71d7c00bb521f36e8003866f8e5885742 Author: Chun-wei Fan Date: Wed May 16 17:36:38 2012 +0800 Bug 676150 GDK: Fix build on Windows -Don't include unistd.h and stdint.h unconditionally as not all Windows compilers have them around. -Only include cogl/cogl-xlib.h when it is really supported by Cogl and GDK. -sys/ioctl.h is not available on Windows (MinGW/MSVC). -Correct the call to cogl_renderer_set_winsys_id: (backend_cogl->cogl_renderer, COGL_WINSYS_ID_WGL) -> (renderer, COGL_WINSYS_ID_WGL) clutter/gdk/clutter-backend-gdk.c | 11 +++++++++-- clutter/gdk/clutter-device-manager-gdk.c | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) commit aeea9ee7785df7c07ef1af4f32f47dcd2e4cb22c Author: Bastian Winkler Date: Sat May 19 14:37:08 2012 +0200 actor: Add a custom scriptable "margin" property The property uses an array with the following CSS style syntax [ top, right, bottom, left ] or [ top, left/right, bottom ] or [ top/bottom, left/right ] or [ top/right/bottom/left ] https://bugzilla.gnome.org/show_bug.cgi?id=676367 clutter/clutter-actor.c | 88 ++++++++++++++++++++++++++++++++++++ tests/conform/script-parser.c | 44 ++++++++++++++++++ tests/conform/test-conform-main.c | 1 + tests/data/Makefile.am | 1 + tests/data/test-script-margin.json | 22 +++++++++ 5 files changed, 156 insertions(+) commit a2d40fcf8c2b839fc8a202442232a7398513a66a Author: Dominique Bureau Date: Fri May 11 13:26:50 2012 -0400 ClutterText: Cannot pass NULL string to clutter_text_set_text() Passing a NULL buffer to clutter_text_set_text() does not behave the same way as passing an empty string "" (as specified in the documentation). This was working as expected previously, but somehow the behaviour changed at some point and created 2 new issues: - Passing a NULL pointer will not reset the string - If the ClutterText is editable, it will segfault in strcmp Validations have been added to prevent this. https://bugzilla.gnome.org/show_bug.cgi?id=675890 clutter/clutter-text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dd61be7c2ea238432524dea16b04baf424c2cd36 Author: Tristan Van Berkom Date: Thu May 17 18:08:57 2012 -0400 ClutterDropAction: Avoid accessing priv->stage is not yet resolved. This fixes drop_action_unregister() to not call g_object_get_data() on priv->stage if not yet resolved. This can happen if the action's actor was destroyed before ever being mapped. clutter/clutter-drop-action.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2c5af0c868e5dfa851407c46c817af2793a9b4d7 Author: Emmanuele Bassi Date: Fri May 18 18:00:30 2012 +0100 scroll-actor: Check for point equality in the internal setter The public API should just accept any valid value; it's up to the internal setter to check if we're getting the same value as the one currently set. clutter/clutter-scroll-actor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 26c1d89d1975f382d4ed4e4d7959835fee991e5e Author: Bastien Nocera Date: Fri May 18 17:34:18 2012 +0100 scroll-actor: Fix ->transition not being reset When the transition was removed from the scroll-actor manually, to cancel a not-finished animation, the transition struct member wasn't reset to NULL. This fixes this problem, and removes the need for the struct member to be reset manually when animation has completed. https://bugzilla.gnome.org/show_bug.cgi?id=676334 clutter/clutter-scroll-actor.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit c9028cee48f804e5d19cd36b55447cb19e0fd811 Author: Emmanuele Bassi Date: Wed May 16 16:12:20 2012 +0100 Move scroll actor test to the examples Nothing specific to test, and the code is idiomatic enough to be used as an example. clutter/clutter-scroll-actor.c | 8 ++ examples/Makefile.am | 1 + examples/scroll-actor.c | 193 +++++++++++++++++++++++++++++++++ tests/interactive/Makefile.am | 1 - tests/interactive/test-scroll-actor.c | 179 ------------------------------ 5 files changed, 202 insertions(+), 180 deletions(-) commit 06d13985921f1a369a0d58cb8bee99e9621bdc3a Author: Bastian Winkler Date: Wed May 16 13:57:44 2012 +0200 table-layout: Remove unused animation helpers They aren't used since ClutterTableLayout switched to the implicit animations API. https://bugzilla.gnome.org/show_bug.cgi?id=676158 clutter/clutter-table-layout.c | 9 --------- 1 file changed, 9 deletions(-) commit ac05ad47bf17301031a25bd371a940fc1e38d5b2 Author: Chun-wei Fan Date: Wed May 16 18:58:53 2012 +0800 VS property sheets: Correct "install" process Fix the location where clutter-win32.h is "installed". build/win32/vs10/clutter.props | 4 ++-- build/win32/vs9/clutter.vsprops | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 1153e04766e8a0a31c566f079563d5b5db2780a4 Author: Chun-wei Fan Date: Wed May 16 18:36:51 2012 +0800 Visual C++ support: Fix clutter.def generation I forgot about the Visual C++ 2010 files... :| build/win32/vs10/clutter.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d5851c8bf98dd3cd6a313b87a4c91ff84c0aee9a Author: Chun-wei Fan Date: Wed May 16 18:35:27 2012 +0800 Visual C++ support: Fix clutter.def generation Some Windows-specific functions were not exported due to this problem. build/win32/vs9/clutter.vsprops | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 37e9215521a26e51c87fcafdc183633ee3227b60 Author: Chun-wei Fan Date: Wed May 16 17:21:10 2012 +0800 Visual C++ support: Avoid redefinition warnings CLUTTER_WINDOWING_GDK is defined in the (pre-configured) clutter-config.h, so don't define that in the Projects again. build/win32/vs10/clutter.vcxprojin | 8 ++++---- build/win32/vs9/clutter.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 1f7ff75a5c5824483b4072f285a52c64f3d9958b Author: Bastian Winkler Date: Tue May 15 01:44:51 2012 +0200 text: Add missing introspection annotations Add allow-none annotations where appropriate clutter/clutter-text.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0ef4cc3aed55035058fd2eab2394c79310aa78f5 Author: Bastian Winkler Date: Mon May 14 16:32:53 2012 +0200 keyframe-transition: Create a new interval if necessary When setting up the transition manually by calling clutter_keyframe_transition_set_key_frame (transition, n, keys); clutter_keyframe_transition_set_values (transition, n, values); clutter_keyframe_transition_set_modes (transition, n, modes); the frame doesn't have a valid interval when calling set_keys(), so we need to check its existence and create it if necessary. https://bugzilla.gnome.org/show_bug.cgi?id=676031 clutter/clutter-keyframe-transition.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 8a4489c48e19af071469e5bfbd492e5a94439ce2 Author: Bastian Winkler Date: Mon May 14 16:17:34 2012 +0200 keyframe-transition: Documentation fixes Update the documentation to use the right symbols https://bugzilla.gnome.org/show_bug.cgi?id=676032 clutter/clutter-keyframe-transition.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c54c3047f80274e9ab773541bc7d99c2d692778f Author: Emmanuele Bassi Date: Tue May 15 15:06:20 2012 +0100 scroll-actor: Paint children in pick mode Chaining up to the parent's implementation of pick() is not enough: we need to paint our children explicitly because of the compatibility mode checks we use to avoid breaking custom containers. https://bugzilla.gnome.org/show_bug.cgi?id=676088 clutter/clutter-scroll-actor.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 39a4929d75bb882551cd51632befd02c0c2fcf4b Author: Emmanuele Bassi Date: Mon May 14 10:33:13 2012 +0100 scroll-actor: Implement pick() We need to clip the children during picking as well as we do when painting, to avoid reactive children outside of the visible area receiving events. This also allows us to refactor some common code into proper functions. clutter/clutter-scroll-actor.c | 48 +++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 11 deletions(-) commit ee72d9b4af62d91dc16f853ff8165bba20169f52 Author: Chun-wei Fan Date: Mon May 14 16:18:13 2012 +0800 Visual C++ support: Add support to build GDK backend -Add configuration in Clutter projects to add option to build Clutter with the GDK3 backend in addition to the Win32 backend -Add another preconfigured clutter-config.h.win32_GDK which contains backend configs for both GDK3 and Win32 windowing and input. build/win32/vs10/clutter.props | 47 +++++- build/win32/vs10/clutter.sln | 174 +++++++++++++++++++++- build/win32/vs10/clutter.vcxproj.filtersin | 6 + build/win32/vs10/clutter.vcxprojin | 222 +++++++++++++++++++++++++++- build/win32/vs9/clutter.sln | 173 +++++++++++++++++++++- build/win32/vs9/clutter.vcprojin | 206 +++++++++++++++++++++++++- build/win32/vs9/clutter.vsprops | 33 ++++- clutter/Makefile.am | 1 + clutter/clutter-config.h.win32_GDK | 20 +++ 9 files changed, 858 insertions(+), 24 deletions(-) commit 193bf6123daac301636f1dc52dc1908564c6d1a4 Author: Emmanuele Bassi Date: Fri May 11 17:38:53 2012 +0100 examples/canvas: Resize the canvas on allocation changes This should show how to make a Canvas resize whenever the actor that uses it as content changes size. For good measure, it also shows how to coalesce multiple allocations into one Canvas resize through a timeout source. examples/canvas.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit ae32136fccf5774865ff86e33996d91daabe58a8 Author: Emmanuele Bassi Date: Fri May 11 17:37:20 2012 +0100 build: Drop version check on auto* Just use autoreconf, to avoid having to deal with changes in the version of autotools. If somebody has more recent autotools but the symbolic links used by autoreconf are still pointing to an old version then they can also fix their own installation, or get a better distribution. autogen.sh | 54 +++++++++++++----------------------------------------- 1 file changed, 13 insertions(+), 41 deletions(-) commit c70a7b94703000b0eac768e3fba9ae5fd2937f9e Author: Emmanuele Bassi Date: Fri May 11 13:48:41 2012 +0100 modules: Point to the correct branch of Cogl Clutter requires the cogl-1.10 branch of Cogl. build/clutter.modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb4f8168403e4509cdabdbd0b005fa1667fa71a3 Author: Emmanuele Bassi Date: Wed May 9 15:03:51 2012 +0100 actor: Include margin in explicit sizes for all cases When asking for the preferred width and height of an actor, in case only one of either the minimum or the natural width is set, the margin offsets should also be applied. clutter/clutter-actor.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 5ad1ec7cca49dfadb330c96f72d64b78d1f7e803 Author: Emmanuele Bassi Date: Tue May 8 10:51:14 2012 +0100 Put bind-constraint back into the interactive tests The bind-constraint.c example still uses clutter_actor_animate(), and it'd require some serious reworking to move it to ClutterPropertyTransition or to implicit animations. examples/Makefile.am | 1 - examples/bind-constraint.c | 246 ----------------------------- tests/interactive/Makefile.am | 3 +- tests/interactive/test-bind-constraint.c | 252 ++++++++++++++++++++++++++++++ 4 files changed, 254 insertions(+), 248 deletions(-) commit 4fef7eb68998c0b1414058a12e11b7421ab238d2 Author: Emmanuele Bassi Date: Tue May 8 16:13:26 2012 +0100 score: Add deprecation annotations to all docs A single deprecation to the long-desc is not enough. clutter/deprecated/clutter-score.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit c91cabdab16aeae9bd0bbc7c3d63d0949587cc7d Author: Emmanuele Bassi Date: Tue May 8 16:06:59 2012 +0100 score: Fix version of the deprecation annotations ClutterScore was deprecated in Clutter 1.8, not 1.10. clutter/deprecated/clutter-score.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 4d087f2c0ada4c7f5f6a9bd1aa86b337c05e9f1b Author: Emmanuele Bassi Date: Fri May 4 17:43:30 2012 +0100 examples: Add an example of layout manager The MultiLayout shows how to write a layout manager with two policies, and to use the easing state of a child to interpolate the allocation. examples/Makefile.am | 1 + examples/layout-manager.c | 409 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 410 insertions(+) commit b7c76a45bcab1d84d50e1144d5a9976f472ea503 Author: Emmanuele Bassi Date: Thu May 3 13:53:29 2012 +0100 Add rounded corners rectangle example using Canvas An old request: how to create a rectangle with rounded corners with Clutter; we use ClutterCanvas and Cairo because we want anti-aliased edges. examples/Makefile.am | 1 + examples/rounded-rectangle.c | 107 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) commit 2bb84d916928943288237f3f844213736eb61360 Author: Bastien Nocera Date: Thu May 3 18:58:12 2012 +0200 x11/device-manager-xi2: Fix assertions with touch When getting touch events, the device manager would try to pass an invalid device to translate_axes(). clutter_event_set_device() will only update event->touch.device for touch events, not event->motion.device, as used. Fixes Totem crashing on mouse motion/button press when using a touchpad. https://bugzilla.gnome.org/show_bug.cgi?id=675371 clutter/x11/clutter-device-manager-xi2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 217ff7c8fb359f129011aff08cb97ff8620f479c Author: Bastien Nocera Date: Thu May 3 18:56:45 2012 +0200 event: Fix copying touch events We were trying to copy motion axes instead of touch ones. https://bugzilla.gnome.org/show_bug.cgi?id=675371 clutter/clutter-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c9cea09dc89e925e78af9692082aa7f5169f1b6 Author: Emmanuele Bassi Date: Thu May 3 11:40:59 2012 +0100 docs: Update the configure switches in the README README.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 74afe8bbcdf7d611209c5c09891616eb076328bd Author: Emmanuele Bassi Date: Thu May 3 11:35:20 2012 +0100 Annotate deprecated get_type() functions Even if their usage is limited, it's good to consistently deprecate functions. clutter/deprecated/clutter-behaviour-depth.h | 1 + clutter/deprecated/clutter-behaviour-ellipse.h | 1 + clutter/deprecated/clutter-behaviour-opacity.h | 1 + clutter/deprecated/clutter-behaviour-path.h | 1 + clutter/deprecated/clutter-behaviour-rotate.h | 1 + clutter/deprecated/clutter-behaviour-scale.h | 1 + clutter/deprecated/clutter-behaviour.h | 1 + clutter/deprecated/clutter-box.h | 1 + clutter/deprecated/clutter-rectangle.h | 1 + clutter/deprecated/clutter-score.h | 1 + clutter/deprecated/clutter-shader.h | 3 +++ 11 files changed, 13 insertions(+) commit fcd341d23e24853041e754c47dff87914aaa42de Author: Emmanuele Bassi Date: Thu May 3 11:34:57 2012 +0100 cally: Disable deprecation warnings For ClutterGroup and ClutterRectangle. clutter/cally/cally-rectangle.c | 2 ++ clutter/cally/cally.c | 2 ++ 2 files changed, 4 insertions(+) commit e88e7cd41400557f92dd1a2c35276ac5e033c6a1 Author: Emmanuele Bassi Date: Thu May 3 11:28:04 2012 +0100 docs: Disable deprecations when building the object scanner We know it's going to be using deprecated symbols, since it has to introspect all the GObject classes we expose. doc/reference/clutter/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20f908e87f5277a0119db0ac683f348d91b180ab Author: Emmanuele Bassi Date: Thu May 3 11:27:22 2012 +0100 docs: Add annotation for ClutterEventSequence The last remaining undocumented symbol in the API reference according to gtk-doc. clutter/clutter-event.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 397f3228608b1c7c26f16767742851fb94ca7cc7 Author: Tristan Van Berkom Date: Wed May 2 18:08:02 2012 -0400 ClutterDropAction: Added "drop-cancel" signal. The drop-cancel signal allows the drop action to cleanup its state if the can-drop signal is refused. This is especially useful if the drop action (or its target actor) is managing any drop target animations. https://bugzilla.gnome.org/show_bug.cgi?id=675336 clutter/clutter-drop-action.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit a2f03d3adda3f4cc26425caeea0b3e97b1fa890f Author: Emmanuele Bassi Date: Wed May 2 18:40:38 2012 +0100 docs: Move the easing modes graphs to the AnimationMode docs clutter/clutter-enums.h | 8 ++++++-- clutter/deprecated/clutter-alpha.c | 5 ----- 2 files changed, 6 insertions(+), 7 deletions(-) commit 8a8cc20d9345739ea002aa57e2857ec1d0932d31 Author: Emmanuele Bassi Date: Wed May 2 18:38:20 2012 +0100 docs: Move ClutterAnimationMode's documentation Given that ClutterAnimation is going to be deprecated, we should move the ClutterAnimationMode enumeration to the ClutterTimeline section. doc/reference/clutter/clutter-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6b226e6c75e5f2e5d1dc3752e27198a8f337573 Author: Emmanuele Bassi Date: Wed May 2 18:37:36 2012 +0100 Move the easing modes test into the examples It's a pretty simple, self-contained example of how to use different easing modes, as well as the implicit animations API. examples/Makefile.am | 1 + examples/easing-modes.c | 234 +++++++++++++++++++++++++++++++++ tests/interactive/Makefile.am | 1 - tests/interactive/test-transitions.c | 241 ---------------------------------- 4 files changed, 235 insertions(+), 242 deletions(-) commit 3fab1e40263125d1677b38a215b949d71876e18a Author: Emmanuele Bassi Date: Wed May 2 12:45:45 2012 +0100 interactive/transitions: Modernize Drop deprecated API. tests/interactive/test-transitions.c | 38 ++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit ad27141556e6ff3612a40cc7d09515d8765fb514 Author: Emmanuele Bassi Date: Wed May 2 12:45:18 2012 +0100 interactive/binding-pool: Modernize Drop deprecated API. tests/interactive/test-binding-pool.c | 73 +++++++++++++++------------------ 1 file changed, 32 insertions(+), 41 deletions(-) commit 46409b4043403c828824ec223134f36c99575bdd Author: Emmanuele Bassi Date: Wed May 2 12:14:45 2012 +0100 Move FlowLayout test into examples There's nothing really test-worthy in the ClutterFlowLayout interactive test; it can be lifted pretty much as is, and placed into the examples. clutter/clutter-flow-layout.c | 8 ++ examples/Makefile.am | 1 + examples/flow-layout.c | 154 ++++++++++++++++++++++++++++++++ tests/interactive/Makefile.am | 1 - tests/interactive/test-flow-layout.c | 160 ---------------------------------- 5 files changed, 163 insertions(+), 161 deletions(-) commit b8f6ed184d3d332f83e1f695e47acb40998ecb4a Author: Emmanuele Bassi Date: Wed May 2 12:03:14 2012 +0100 interactive/flow-layout: Modernize code Drop deprecated API usage. tests/interactive/test-flow-layout.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit 97563b640ec5207f28dea3605269f72cc318cc20 Author: Emmanuele Bassi Date: Wed May 2 11:59:50 2012 +0100 build: Fix BUILD_TESTS condition check configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 704928a807a3b17029d092eef2b24c76ab7c7890 Author: Emmanuele Bassi Date: Tue May 1 18:51:19 2012 +0100 build: Allow disabling all tests and examples This should allow nicer build automation and cross-compilation support. The former --disable-conformance configure switch has been deprecated by the --disable-tests one, which is more encompassing as it disables the whole test suite. Makefile.am | 12 +++++++++++- configure.ac | 36 +++++++++++++++++++++++++----------- tests/Makefile.am | 16 +--------------- 3 files changed, 37 insertions(+), 27 deletions(-) commit 07c95ebf0c624e7791310a82965bede20bb24a36 Author: Emmanuele Bassi Date: Tue May 1 18:30:10 2012 +0100 Move examples from tests/interactive to a new top-level The example code that is meant to be XIncluded into the API reference should not be part of the interactive test suite: it's code that it is meant to be used as a reference implementation - whereas the interactive test suite should be allowed to be lean and test behaviour even in nasty ways. In short: the test suite should not be the place where we show off idiomatic code for educational purposes. Makefile.am | 2 +- clutter/clutter-actor.c | 2 +- clutter/clutter-bin-layout.c | 2 +- clutter/clutter-bind-constraint.c | 2 +- clutter/clutter-canvas.c | 2 +- clutter/clutter-constraint.c | 4 +- clutter/clutter-drag-action.c | 2 +- clutter/clutter-drop-action.c | 2 +- clutter/clutter-image.c | 2 +- clutter/clutter-main.c | 2 +- configure.ac | 2 + examples/Makefile.am | 39 ++++ examples/README | 10 + examples/basic-actor.c | 153 +++++++++++++++ examples/bin-layout.c | 307 +++++++++++++++++++++++++++++ examples/bind-constraint.c | 246 +++++++++++++++++++++++ examples/canvas.c | 133 +++++++++++++ examples/constraints.c | 90 +++++++++ examples/drag-action.c | 205 +++++++++++++++++++ examples/drop-action.c | 245 +++++++++++++++++++++++ examples/image-content.c | 116 +++++++++++ examples/threads.c | 274 ++++++++++++++++++++++++++ tests/interactive/Makefile.am | 12 +- tests/interactive/test-actor.c | 160 --------------- tests/interactive/test-bin-layout.c | 314 ------------------------------ tests/interactive/test-canvas.c | 139 ------------- tests/interactive/test-constraints.c | 253 ------------------------ tests/interactive/test-drag.c | 206 -------------------- tests/interactive/test-drop.c | 251 ------------------------ tests/interactive/test-image-box.c | 123 ------------ tests/interactive/test-snap-constraint.c | 93 --------- tests/interactive/test-threads.c | 281 -------------------------- 32 files changed, 1833 insertions(+), 1841 deletions(-) commit 64841d6498df01807dfa732935c27b2b1350e5a3 Author: Emmanuele Bassi Date: Tue May 1 14:04:37 2012 +0100 Post-release version bump to 1.11.3 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)