commit 7179bd44c869ffce17b6a135735dbaec5f5c4411 Author: Emmanuele Bassi Date: Tue Jan 24 15:20:35 2012 +0000 Release Clutter 1.9.8 (snapshot) NEWS | 24 ++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 25 insertions(+), 1 deletions(-) commit 18ec12a3b7d7a764c569c37aa280694f76403b41 Author: Emmanuele Bassi Date: Tue Jan 24 15:12:41 2012 +0000 cookbook: Start migrating to the new API Drop mentions of deprecated classes and API, and update the inline example code. Still some way to go, and the cookbook would probably benefit from having a recipe on how to use ClutterActor to build a scene. doc/cookbook/actors.xml | 9 ++---- doc/cookbook/animations.xml | 8 +++-- doc/cookbook/events.xml | 4 +- doc/cookbook/layouts.xml | 68 ++++++++++++++++++++---------------------- 4 files changed, 42 insertions(+), 47 deletions(-) commit 1c01554e6a06db0e6afc9a76deea99daa44f9fba Author: Emmanuele Bassi Date: Tue Jan 24 15:01:00 2012 +0000 cookbook: Begin porting examples to the new API Start dropping the usage of deprecated classes and API. doc/cookbook/examples/actors-composite-main.c | 2 +- doc/cookbook/examples/animations-moving-animator.c | 43 ++++++++++--------- doc/cookbook/examples/cb-button.c | 6 +-- doc/cookbook/examples/events-buttons-click.c | 18 +++++--- doc/cookbook/examples/events-mouse-scroll.c | 6 +- .../examples/layouts-bind-constraint-allocation.c | 12 +++-- doc/cookbook/examples/layouts-box.c | 41 ++++++++++--------- 7 files changed, 68 insertions(+), 60 deletions(-) commit 75549456fd7697bf8ad1e5aaa1776b87554bcc37 Author: Emmanuele Bassi Date: Tue Jan 24 14:52:33 2012 +0000 actor: use paint opacity to paint the background color clutter/clutter-actor.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 414f8c1a0f5fe66ed578ac32410b51e5c987d6d0 Author: Emmanuele Bassi Date: Tue Jan 24 14:20:07 2012 +0000 docs: Add missing function doc/reference/clutter/clutter-sections.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 825e1e62421e72d7fbfeb6d362264ca485ccf4de Author: Emmanuele Bassi Date: Tue Jan 24 14:13:53 2012 +0000 docs: Inlined examples break enums gtk-doc clutter/clutter-enums.h | 35 ++--------------------------------- 1 files changed, 2 insertions(+), 33 deletions(-) commit 8d8d4ae7e59d869c05251f9ad351f85e6784d136 Author: Emmanuele Bassi Date: Mon Jan 16 11:27:08 2012 +0000 script: Add loading from a resource GLib has gained support for compiling ancillary data files into the same binary blob as a library or as an executable. We should add this feature to ClutterScript, so that it's possible to bundle UI definitions with an application. clutter/clutter-script.c | 39 +++++++++++++++++++++++++++++++++++++++ clutter/clutter-script.h | 3 +++ clutter/clutter.symbols | 1 + configure.ac | 2 +- 4 files changed, 44 insertions(+), 1 deletions(-) commit 254ebd876556e1012947513d2855ab0c7fd83a1c Author: Emmanuele Bassi Date: Tue Jan 24 09:36:31 2012 +0000 actor: Remove unused function clutter/clutter-actor-private.h | 2 - clutter/clutter-actor.c | 59 +-------------------------------------- 2 files changed, 1 insertions(+), 60 deletions(-) commit 4330f45d0579cc20ecf049226cd399f985024a3c Author: Emmanuele Bassi Date: Mon Jan 23 18:00:01 2012 +0000 Override Container inside ClutterStage The only actor that results in a mix of the old Container API and the new Actor API is ClutterStage. By inheritance, a Stage is a Group, but we don't want it to behave like a Group - as it already overrides most of the Actor API, and the reason why it was made as a Group in the first place was convenience for adding/removing children. Given that touching Group to make it aware of the new Actor API has rapidly devolved into a struggle between a Demiurge that tries to avoid breakage and a Chaos that finds new and interesting ways to break ClutterGroup, let's declare API bankruptcy here and now. ClutterStage should override ClutterContainer methods, and use the layout management of ClutterFixedLayout as the proper class that it was meant to be ages ago. Let ClutterGroup rot in pieces. clutter/clutter-stage.c | 105 ++++++++++++++++++++++++++++++++++-- clutter/deprecated/clutter-group.c | 21 +------- 2 files changed, 102 insertions(+), 24 deletions(-) commit cfac97ffe105477c83c13504d8dbfd0b9933ca5e Author: Emmanuele Bassi Date: Sat Jan 21 23:06:49 2012 +0000 Allow mixing old and new API without falling apart Now that we reinstated Group to its "former glory", we need to ensure that applications using the deprecated containers with the new DOM API in ClutterActor can actually work - or, at least, not break horribly. This actually means making sure that ClutterStage and ClutterGroup can cope with the DOM, while retaining their old implementations, as well as their bizarre idiosyncrasies and their utter, utter brokenness. clutter/clutter-actor-private.h | 2 + clutter/clutter-actor.c | 546 ++++++++++++++++++++++++------------ clutter/clutter-enums.h | 49 +++- clutter/clutter-stage.c | 3 +- clutter/deprecated/clutter-group.c | 62 ++++- 5 files changed, 464 insertions(+), 198 deletions(-) commit f5de10c05fdfa995108f6ce26a04f9ac08a3eb1e Author: Emmanuele Bassi Date: Fri Jan 20 18:05:53 2012 +0000 interactive/actors: Update the venerable test-actors tests/interactive/test-actors.c | 44 +++++++++++++++++++++++---------------- 1 files changed, 26 insertions(+), 18 deletions(-) commit c7d8c097ecc947ad5c56a8d9d3b68666c3a9880e Author: Fran Diéguez Date: Mon Jan 23 00:34:20 2012 +0100 Updated Galician translations po/gl.po | 438 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 241 insertions(+), 197 deletions(-) commit 29384c114f5c27b47ce074e7fd36fea4d40a25dc Author: Emmanuele Bassi Date: Fri Jan 20 17:15:20 2012 +0000 actor: NULL-ify sibling fields when removing Let's try and avoid leaving around stale pointers. clutter/clutter-actor.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 27784de94166e7e507b7db7aaa16b5cec4826e4b Author: Rob Bradford Date: Mon Jan 16 11:55:32 2012 +0000 wayland: Update to changes in the SHM api The enum value for the SHM formats has changed to be more explicit about the format of the data. clutter/wayland/clutter-backend-wayland.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7d7d753a49656d14c7ecf7461aaf4d39bbafb2af Author: Emmanuele Bassi Date: Fri Jan 20 16:00:19 2012 +0000 group: Restore previous implementation Making Group just a proxy to Actor broke some behaviour that application and toolkit code was relying on. Let's keep Group around to fight another day. This commit fixes gnome-shell as far as I can test it. clutter/clutter-actor.c | 4 +- clutter/deprecated/clutter-group.c | 373 ++++++++++++++++++++++++++++++++---- 2 files changed, 340 insertions(+), 37 deletions(-) commit 3ff502fbb2d4d43813190141181060dd79801cd4 Author: Emmanuele Bassi Date: Fri Jan 20 14:55:57 2012 +0000 stage: Restore the chain up inside allocate() Group does not have a custom allocate() any more, so it would end up calling the default allocate() implementation provided by ClutterActor anyway. clutter/clutter-stage.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8ebf46d74c507055d741ac2c86fd6230b3e27515 Author: Emmanuele Bassi Date: Fri Jan 20 14:55:13 2012 +0000 actor: Remove default layout-manager It's creating more issues than what it's trying to solve. At least for the time being, let's not set one. clutter/clutter-actor.c | 51 +++++----------------------------------------- 1 files changed, 6 insertions(+), 45 deletions(-) commit bd348625c70a2f0f784d5780d3bda38f51fb347f Author: Emmanuele Bassi Date: Fri Jan 20 14:53:41 2012 +0000 group: Gut the implementation A Group is a just a ClutterActor with the layout-manager property set at instance initialization time. It doesn't need anything else from ClutterActor's vtable, except the slightly custom show_all/hide_all implementation, and a simplified get_paint_volume. clutter/deprecated/clutter-group.c | 138 +++++++++++------------------------- 1 files changed, 41 insertions(+), 97 deletions(-) commit 1afd3827c7c9e2e343ad0e8165d9d2ff4bd62b7f Author: Emmanuele Bassi Date: Fri Jan 20 12:04:48 2012 +0000 actor: Move underallocation warning to diagnostic mode This should keep down the warning messages — at least for the time being. clutter/clutter-actor.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit c760657903b8d1599e25e54fcca01a5f546eb9aa Author: Emmanuele Bassi Date: Fri Jan 20 12:02:49 2012 +0000 actor: Use internal add/remove child in reparent() Do not use the public API; reparent() used to use unparent() and set_parent(), so we need to maintain the old behaviour. clutter/clutter-actor.c | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) commit 683657cc301e928c1a9324d19285a3ecc2ea660e Author: Emmanuele Bassi Date: Thu Jan 19 14:01:20 2012 +0000 Post-release version bump to 1.9.7 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)