commit f244d9383aa60ea3033585c167aa48e08c421c27 Author: Emmanuele Bassi Date: Thu Jun 18 16:30:16 2015 +0100 Release Clutter 1.23.2 NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) commit b5fd0fe7fe8ac0e63f62788256f968ced51a7aaa Author: Emmanuele Bassi Date: Thu Jun 18 16:29:26 2015 +0100 tests/interactive: Fix compiler warning Missing type for the closure argument. tests/interactive/test-pixmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0c75e178145c3296f05deefed34be3691b1ffb3b Author: Gustavo Noronha Silva Date: Wed Sep 11 12:33:57 2013 -0300 Add PanAxis mode that automatically pins scroll based on initial movement This code is inspired by the implementation of the same feature for the Mx toolkit's MxKineticScrollView. See commit 4d08771. https://bugzilla.gnome.org/show_bug.cgi?id=707982 clutter/clutter-enums.h | 6 +- clutter/clutter-pan-action.c | 120 +++++++++++++++++++++++++++++++------ clutter/clutter-pan-action.h | 5 ++ doc/reference/clutter-sections.txt | 1 + examples/pan-action.c | 58 ++++++++++++++++-- 5 files changed, 167 insertions(+), 23 deletions(-) commit 2105055a347c8a35d091cabe118983f621f26965 Author: Carlos Garnacho Date: Sat Jun 6 20:11:33 2015 +0200 gdk: Enable GDK_TOUCH_MASK on the stage window This allows touch events to be received and translated. https://bugzilla.gnome.org/show_bug.cgi?id=750496 clutter/gdk/clutter-stage-gdk.h | 1 + 1 file changed, 1 insertion(+) commit 7ed3714a94dbac1022b3e123e9243b501b01c6cd Author: Carlos Garnacho Date: Sat Jun 6 20:10:13 2015 +0200 gdk: Ignore synthesized leave events out of touch events Certain crossing modes notify about synthesized events, where the pointer didn't really leave the window. Unsetting the stage from the device at that time is incorrect, and will leave all remaining touches unable to pick coordinates, so silently eaten away. https://bugzilla.gnome.org/show_bug.cgi?id=750496 clutter/gdk/clutter-event-gdk.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2d5b5aa82aacab7cc523e5877afbb864592b7651 Author: Emmanuele Bassi Date: Wed Jun 10 12:02:13 2015 +0100 gdk: Add function to retrieve the GdkVisual Straight from Cogl. This allows us to propagate the GdkVisual Cogl and Clutter use to embedding toolkits, like GTK+. The function is annotated as being added to the 1.22 development cycle because it will be backported to the stable branch, so that downstream developers can package up a version of Clutter that does not crash on nVidia. https://bugzilla.gnome.org/show_bug.cgi?id=747489 clutter/gdk/clutter-backend-gdk.c | 48 ++++++++++++++++++++++++++++++++++++++ clutter/gdk/clutter-gdk.h | 3 +++ doc/reference/clutter-sections.txt | 1 + 3 files changed, 52 insertions(+) commit c91621e8c28bb190eaa9d59e08b180589a255cf3 Author: Emmanuele Bassi Date: Wed Jun 10 11:55:50 2015 +0100 gdk: Use the Cogl visual on Xlib winsys GDK 3.16 started selecting different visuals, to best comply with the requirements for OpenGL, and this has broken Clutter on GLX drivers that are fairly picky in how they select visuals and GLXFBConfig. GDK selects GLXFBConfig that do not include depth or stencil buffers; Cogl, on the other hand, needs both depth and stencil buffers, and keeps selecting the first available visual, assuming that the GLX driver will give us the best compliant one, as per specification. Sadly, some drivers will return incompatible configurations, and then bomb out when you try to embed Clutter inside GTK+, because of mismatched visuals. Cogl has an old, deprecated, Clutter-only API that allows us to retrieve the XVisualInfo mapping to the GLXFBConfig it uses; this means we should look up the GdkVisual for it when creating our own GdkWindows, instead of relying on the RGBA and system GdkVisuals exposed by GDK — at least on X11. https://bugzilla.gnome.org/show_bug.cgi?id=747489 clutter/gdk/clutter-stage-gdk.c | 50 ++++++++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 13 deletions(-) commit dd9e43e98ddf321cd05b735022c8ef53a241a633 Author: Emmanuele Bassi Date: Wed Jun 10 14:01:32 2015 +0100 build: No need to conditionally include -Wshadow Cogl is not in tree any more, and compiler warnings are properly addressed. configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 0eb300e2eeeedd4cc701ac58af5484155601fc9c Author: Emmanuele Bassi Date: Wed Jun 10 14:00:05 2015 +0100 build: Use the same pattern for the manual Mir check Ensure that the checks are similar and create similar results. configure.ac | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit 2fd47ce08e1017143f150ea26074bc138084683c Author: Emmanuele Bassi Date: Wed Jun 10 13:59:18 2015 +0100 build: Manually check for Wayland support in Cogl The Cogl pkg-config file does not specify the supported backends, which means we need to manually check for the platform, like we do for Mir. configure.ac | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit e5941ee810aa180e0993d75bd6984b146450309a Author: Emmanuele Bassi Date: Wed Jun 10 12:32:26 2015 +0100 build: Remove unused internal defines We don't use them any more in the code base. I swear I keep deleting them, and they keep popping back up. configure.ac | 12 ------------ 1 file changed, 12 deletions(-) commit c4fa3514adac288b52eaa2582acc722e5fa86e4a Author: Emmanuele Bassi Date: Wed Jun 10 12:31:51 2015 +0100 Use the public symbol for Wayland compositor support Instead of using a private one. This way, if things go out of sync, we'll notice immediately. clutter/clutter-backend.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit a1c4acf227c0f70d429e2cf49f4fe8351b3e87f8 Author: Emmanuele Bassi Date: Wed Jun 10 12:28:59 2015 +0100 Add missing include Some X11-related system header is leaking stdlib.h, so when we disable the X11 backend we get a compiler warning for atol(). clutter/clutter-settings.c | 2 ++ 1 file changed, 2 insertions(+) commit 896e43cbd5dda3babb829ee59fe5c209e7dfc35e Author: Emmanuele Bassi Date: Wed Apr 22 14:15:42 2015 +0100 gdk/device: Propagate more device details from GDK In order to do device matching we need to propagate more information, like the device_id (only on X11 with the XInput2 extension enabled), the vendor id, and the product id. https://bugzilla.gnome.org/show_bug.cgi?id=747951 clutter/gdk/clutter-input-device-gdk.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 71743ef660bc298da94c9a5963c40c3550ddc6b0 Author: Dima Ryazanov Date: Fri May 29 10:13:03 2015 +0100 Fix a compile error when the X11 backend is disabled When defining clutter_stage_gdk_update_foreign_event_mask, check for the same macros as when actually using it. Signed-off-by: Dima Ryazanov Reviewed-by: Emmanuele Bassi clutter/gdk/clutter-stage-gdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fbe2c74e1999b5eda7e5635a5ca527e0504f9d8b Author: Carlos Garnacho Date: Fri May 22 18:40:34 2015 +0200 swipe-action: Fix typo X coords are meant to compare with distance_x. clutter/clutter-swipe-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a4962c033674ce358e6ae2adc16c97a00cca9971 Author: Carlos Garnacho Date: Fri May 22 13:19:29 2015 +0200 swipe-action: Prepare for multifinger swipes Its ::gesture-end implementation used to check the press/release coordinates for the first touchpoint. On multifinger swipes, we can receive this vfunc called due to other touch sequence going first, so we'd get 0/0 as the release coordinates for this still active sequence, resulting in bogus directions. Instead, check the last event coordinates, that will be always correct regardless of whether the touchpoint 0 finished yet or not. https://bugzilla.gnome.org/show_bug.cgi?id=749739 clutter/clutter-swipe-action.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 67bf902022bfc042b55db87016d3a1b7cfba977a Author: Emmanuele Bassi Date: Tue May 19 13:19:48 2015 +0100 Move API reference down one level Since we only have one API reference, we can drop the clutter/ sub-level, and have all the files under doc/reference. .gitignore | 30 +- configure.ac | 3 +- doc/reference/Makefile.am | 170 +- doc/reference/actor-box.png | Bin 0 -> 17917 bytes doc/reference/actor-example.png | Bin 0 -> 4966 bytes doc/reference/animator-key-frames.png | Bin 0 -> 11936 bytes doc/reference/animator-key-frames.svg | 271 ++ doc/reference/bin-layout.png | Bin 0 -> 13424 bytes doc/reference/box-layout.png | Bin 0 -> 10557 bytes doc/reference/building-clutter.xml | 284 ++ doc/reference/clutter-docs.xml.in | 456 +++ doc/reference/clutter-overview.xml | 62 + doc/reference/clutter-sections.txt | 3780 ++++++++++++++++++++ doc/reference/clutter.types | 122 + doc/reference/clutter/Makefile.am | 169 - doc/reference/clutter/actor-box.png | Bin 17917 -> 0 bytes doc/reference/clutter/actor-example.png | Bin 4966 -> 0 bytes doc/reference/clutter/animator-key-frames.png | Bin 11936 -> 0 bytes doc/reference/clutter/animator-key-frames.svg | 271 -- doc/reference/clutter/bin-layout.png | Bin 13424 -> 0 bytes doc/reference/clutter/box-layout.png | Bin 10557 -> 0 bytes doc/reference/clutter/building-clutter.xml | 284 -- doc/reference/clutter/clutter-docs.xml.in | 456 --- doc/reference/clutter/clutter-overview.xml | 62 - doc/reference/clutter/clutter-sections.txt | 3780 -------------------- doc/reference/clutter/clutter.types | 122 - doc/reference/clutter/constraints-example.png | Bin 6199 -> 0 bytes doc/reference/clutter/easing-modes.png | Bin 51834 -> 0 bytes doc/reference/clutter/easing-modes.svg | 920 ----- doc/reference/clutter/event-flow.dia | Bin 4543 -> 0 bytes doc/reference/clutter/event-flow.png | Bin 53730 -> 0 bytes doc/reference/clutter/flow-layout.png | Bin 1850 -> 0 bytes doc/reference/clutter/glossary.xml | 142 - .../clutter/migrating-ClutterAnimation.xml | 139 - .../clutter/migrating-ClutterBehaviour.xml | 120 - doc/reference/clutter/migrating-ClutterEffect.xml | 137 - doc/reference/clutter/migrating-ClutterPath.xml | 167 - doc/reference/clutter/offscreen-redirect.png | Bin 4821 -> 0 bytes doc/reference/clutter/path-alpha-func.png | Bin 41123 -> 0 bytes doc/reference/clutter/running-clutter.xml | 385 -- doc/reference/clutter/table-layout.png | Bin 20058 -> 0 bytes doc/reference/constraints-example.png | Bin 0 -> 6199 bytes doc/reference/easing-modes.png | Bin 0 -> 51834 bytes doc/reference/easing-modes.svg | 920 +++++ doc/reference/event-flow.dia | Bin 0 -> 4543 bytes doc/reference/event-flow.png | Bin 0 -> 53730 bytes doc/reference/flow-layout.png | Bin 0 -> 1850 bytes doc/reference/glossary.xml | 142 + doc/reference/migrating-ClutterAnimation.xml | 139 + doc/reference/migrating-ClutterBehaviour.xml | 120 + doc/reference/migrating-ClutterEffect.xml | 137 + doc/reference/migrating-ClutterPath.xml | 167 + doc/reference/offscreen-redirect.png | Bin 0 -> 4821 bytes doc/reference/path-alpha-func.png | Bin 0 -> 41123 bytes doc/reference/running-clutter.xml | 385 ++ doc/reference/table-layout.png | Bin 0 -> 20058 bytes 56 files changed, 7170 insertions(+), 7172 deletions(-) commit c7bbe2a9f6ca0b86eb53f2824a7e1c9bc519d590 Author: Emmanuele Bassi Date: Tue May 19 13:14:05 2015 +0100 Remove the separate Cally API reference .gitignore | 13 --- configure.ac | 2 - doc/reference/cally/Makefile.am | 49 --------- doc/reference/cally/cally-docs.xml.in | 145 --------------------------- doc/reference/cally/cally-overview.xml | 74 -------------- doc/reference/cally/cally-sections.txt | 176 --------------------------------- doc/reference/cally/cally.types | 9 -- 7 files changed, 468 deletions(-) commit 6088437786b76bb3f3dc400ce6d57bedf33b1def Author: Emmanuele Bassi Date: Tue May 19 12:58:08 2015 +0100 docs: Merge Clutter and Cally API reference It's pretty much pointless to have two API references: • the Cally API reference is fairly small • the build system is already complicated as it is • GTK-Doc isn't smart enough to ignore sub-directories • Cally is not a separate library, just a separate namespace There are some issues with GTK-Doc not accepting multiple namespaces, but nothing seriously tragic. doc/reference/Makefile.am | 4 +- doc/reference/clutter/Makefile.am | 68 +++-------- doc/reference/clutter/clutter-docs.xml.in | 34 ++++++ doc/reference/clutter/clutter-sections.txt | 177 +++++++++++++++++++++++++++++ doc/reference/clutter/clutter.types | 50 +++++++- 5 files changed, 272 insertions(+), 61 deletions(-) commit c71dfa216290f92ec5f82564d75df0a5fbafab6a Author: Emmanuele Bassi Date: Tue May 19 12:36:28 2015 +0100 docs: Remove stray XML element We moved to Markdown a while ago, but a stray was left in. clutter/deprecated/clutter-texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27ea26cbafe7b414d4730718f9020609fe4ceec8 Author: Emmanuele Bassi Date: Tue May 19 11:53:10 2015 +0100 build: Clean up Cally's API reference Makefile doc/reference/cally/Makefile.am | 81 +++++++++-------------------------------- 1 file changed, 18 insertions(+), 63 deletions(-) commit 68df19790e4179c598d11d1b6143ecb625643734 Author: Emmanuele Bassi Date: Tue May 19 11:52:54 2015 +0100 docs: Add missing version symbols doc/reference/clutter/clutter-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit c99ce18efb8c21e6af3b2b2625abacc586ab2a65 Author: Emmanuele Bassi Date: Fri May 15 12:36:04 2015 +0100 actor: Guard against negative-sized allocations The allocate_align_fill() method may end up trying to allocate an actor with a negative size, due to rounding and floating point operations. https://bugzilla.gnome.org/show_bug.cgi?id=749420 clutter/clutter-actor.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit e72a1a44e6e339c55acecba67e2f99412982b832 Author: Emmanuele Bassi Date: Fri May 15 12:34:53 2015 +0100 actor: Ensure allocation adjustment is safe against zero sizes We already copy with negative end results, but there's no point in doing the work in the first place. clutter/clutter-actor.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 5dfd4445e23b662c40e97a9058bcca9899631ff8 Author: Marek Černocký Date: Mon May 18 13:56:25 2015 +0200 Updated Czech translation po/cs.po | 154 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 71 insertions(+), 83 deletions(-) commit 9268bb914462fc6a6a760daae61a645f405cb8b1 Author: Rui Matos Date: Sun May 17 00:50:56 2015 +0200 x11: Fix touchpad detection Commit 79849ef1d5fff9acd310cd68d59df0c7cf2cb28f had a typo in the device property format check. This property is formated in 8-bit items, not 32-bit. This went unnoticed till now because some touchpads were still being detected as such due to a second check below: else if (strstr (name, "touchpad") != NULL) source = CLUTTER_TOUCHPAD_DEVICE; https://bugzilla.gnome.org/show_bug.cgi?id=749482 clutter/x11/clutter-device-manager-xi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f329aed1d7c5b00be4d7e66285aeec328eb33ab Author: Emmanuele Bassi Date: Tue May 12 13:03:39 2015 +0100 docs: Fix 1.24 symbols reference title doc/reference/clutter/clutter-docs.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38f3d7770e94dbf7c99b77729e94fbc029f9289c Author: Emmanuele Bassi Date: Tue May 12 11:51:04 2015 +0100 build: Fix the URLs in the release email template Use https:// URI consistently, and point at the right location for the cookbook. build/autotools/Makefile.am.release | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit 8aea8bc463f446cb0f39ef3be12019a377daffc4